deemixer/public/js/bundle.js

50 lines
488 KiB
JavaScript
Raw Blame History

/*!
* Vue.js v2.6.11
* (c) 2014-2019 Evan You
* Released under the MIT License.
*/
var t=Object.freeze({});function e(t){return null==t}function n(t){return null!=t}function a(t){return!0===t}function r(t){return"string"==typeof t||"number"==typeof t||"symbol"==typeof t||"boolean"==typeof t}function i(t){return null!==t&&"object"==typeof t}var s=Object.prototype.toString;function o(t){return"[object Object]"===s.call(t)}function l(t){var e=parseFloat(String(t));return e>=0&&Math.floor(e)===e&&isFinite(t)}function c(t){return n(t)&&"function"==typeof t.then&&"function"==typeof t.catch}function u(t){return null==t?"":Array.isArray(t)||o(t)&&t.toString===s?JSON.stringify(t,null,2):String(t)}function d(t){var e=parseFloat(t);return isNaN(e)?t:e}function p(t,e){for(var n=Object.create(null),a=t.split(","),r=0;r<a.length;r++)n[a[r]]=!0;return e?function(t){return n[t.toLowerCase()]}:function(t){return n[t]}}var f=p("slot,component",!0),h=p("key,ref,slot,slot-scope,is");function v(t,e){if(t.length){var n=t.indexOf(e);if(n>-1)return t.splice(n,1)}}var m=Object.prototype.hasOwnProperty;function g(t,e){return m.call(t,e)}function _(t){var e=Object.create(null);return function(n){return e[n]||(e[n]=t(n))}}var y=/-(\w)/g,b=_((function(t){return t.replace(y,(function(t,e){return e?e.toUpperCase():""}))})),w=_((function(t){return t.charAt(0).toUpperCase()+t.slice(1)})),A=/\B([A-Z])/g,k=_((function(t){return t.replace(A,"-$1").toLowerCase()}));var C=Function.prototype.bind?function(t,e){return t.bind(e)}:function(t,e){function n(n){var a=arguments.length;return a?a>1?t.apply(e,arguments):t.call(e,n):t.call(e)}return n._length=t.length,n};function x(t,e){e=e||0;for(var n=t.length-e,a=new Array(n);n--;)a[n]=t[n+e];return a}function T(t,e){for(var n in e)t[n]=e[n];return t}function $(t){for(var e={},n=0;n<t.length;n++)t[n]&&T(e,t[n]);return e}function S(t,e,n){}var L=function(t,e,n){return!1},E=function(t){return t};function N(t,e){if(t===e)return!0;var n=i(t),a=i(e);if(!n||!a)return!n&&!a&&String(t)===String(e);try{var r=Array.isArray(t),s=Array.isArray(e);if(r&&s)return t.length===e.length&&t.every((function(t,n){return N(t,e[n])}));if(t instanceof Date&&e instanceof Date)return t.getTime()===e.getTime();if(r||s)return!1;var o=Object.keys(t),l=Object.keys(e);return o.length===l.length&&o.every((function(n){return N(t[n],e[n])}))}catch(t){return!1}}function D(t,e){for(var n=0;n<t.length;n++)if(N(t[n],e))return n;return-1}function P(t){var e=!1;return function(){e||(e=!0,t.apply(this,arguments))}}var I=["component","directive","filter"],O=["beforeCreate","created","beforeMount","mounted","beforeUpdate","updated","beforeDestroy","destroyed","activated","deactivated","errorCaptured","serverPrefetch"],R={optionMergeStrategies:Object.create(null),silent:!1,productionTip:!1,devtools:!1,performance:!1,errorHandler:null,warnHandler:null,ignoredElements:[],keyCodes:Object.create(null),isReservedTag:L,isReservedAttr:L,isUnknownElement:L,getTagNamespace:S,parsePlatformTagName:E,mustUseProp:L,async:!0,_lifecycleHooks:O},F=/a-zA-Z\u00B7\u00C0-\u00D6\u00D8-\u00F6\u00F8-\u037D\u037F-\u1FFF\u200C-\u200D\u203F-\u2040\u2070-\u218F\u2C00-\u2FEF\u3001-\uD7FF\uF900-\uFDCF\uFDF0-\uFFFD/;function M(t){var e=(t+"").charCodeAt(0);return 36===e||95===e}function j(t,e,n,a){Object.defineProperty(t,e,{value:n,enumerable:!!a,writable:!0,configurable:!0})}var B=new RegExp("[^"+F.source+".$_\\d]");var q,z="__proto__"in{},U="undefined"!=typeof window,H="undefined"!=typeof WXEnvironment&&!!WXEnvironment.platform,V=H&&WXEnvironment.platform.toLowerCase(),W=U&&window.navigator.userAgent.toLowerCase(),Q=W&&/msie|trident/.test(W),G=W&&W.indexOf("msie 9.0")>0,K=W&&W.indexOf("edge/")>0,Y=(W&&W.indexOf("android"),W&&/iphone|ipad|ipod|ios/.test(W)||"ios"===V),J=(W&&/chrome\/\d+/.test(W),W&&/phantomjs/.test(W),W&&W.match(/firefox\/(\d+)/)),X={}.watch,Z=!1;if(U)try{var tt={};Object.defineProperty(tt,"passive",{get:function(){Z=!0}}),window.addEventListener("test-passive",null,tt)}catch(t){}var et=function(){return void 0===q&&(q=!U&&!H&&"undefined"!=typeof global&&(global.process&&"server"===global.process.env.VUE_ENV)),q},nt=U&&window.__VUE_DEVTOOLS_GLOBAL_HOOK__;function at(t){return"function"==typeof t&&/native code/.test(t.toString())}var rt,it="undefined"!=typeof Symbol&&at(Symbol)&&"undefined"!=typeof Reflect&&at(Reflect.ownKeys);rt="undefined"!=typeof Set&&at(Set)?Set:function(){function t(){this.set=Object.create(null)}return t.prototype.has=function(t){return!0===this.set[t]},t.prototype.add=function(t){this.set[t]=!0},t.prototype.clear=function(){this.set=Object.create(null)},t}();var st=S,ot=0,lt=function(){this.id=ot++,this.subs=[]};lt.prototype.addSub=function(t){this.subs.push(t)},lt.prototype.removeSub=function(t){v(this.subs,t)},lt.prototype.depend=function(){lt.target&&lt.target.addDep(this)},lt.prototype.notify=function(){for(var t=this.subs.slice(),e=0,n=t.length;e<n;e++)t[e].update()},lt.target=null;var ct=[];function ut(t){ct.push(t),lt.target=t}function dt(){ct.pop(),lt.target=ct[ct.length-1]}var pt=function(t,e,n,a,r,i,s,o){this.tag=t,this.data=e,this.children=n,this.text=a,this.elm=r,this.ns=void 0,this.context=i,this.fnContext=void 0,this.fnOptions=void 0,this.fnScopeId=void 0,this.key=e&&e.key,this.componentOptions=s,this.componentInstance=void 0,this.parent=void 0,this.raw=!1,this.isStatic=!1,this.isRootInsert=!0,this.isComment=!1,this.isCloned=!1,this.isOnce=!1,this.asyncFactory=o,this.asyncMeta=void 0,this.isAsyncPlaceholder=!1},ft={child:{configurable:!0}};ft.child.get=function(){return this.componentInstance},Object.defineProperties(pt.prototype,ft);var ht=function(t){void 0===t&&(t="");var e=new pt;return e.text=t,e.isComment=!0,e};function vt(t){return new pt(void 0,void 0,void 0,String(t))}function mt(t){var e=new pt(t.tag,t.data,t.children&&t.children.slice(),t.text,t.elm,t.context,t.componentOptions,t.asyncFactory);return e.ns=t.ns,e.isStatic=t.isStatic,e.key=t.key,e.isComment=t.isComment,e.fnContext=t.fnContext,e.fnOptions=t.fnOptions,e.fnScopeId=t.fnScopeId,e.asyncMeta=t.asyncMeta,e.isCloned=!0,e}var gt=Array.prototype,_t=Object.create(gt);["push","pop","shift","unshift","splice","sort","reverse"].forEach((function(t){var e=gt[t];j(_t,t,(function(){for(var n=[],a=arguments.length;a--;)n[a]=arguments[a];var r,i=e.apply(this,n),s=this.__ob__;switch(t){case"push":case"unshift":r=n;break;case"splice":r=n.slice(2)}return r&&s.observeArray(r),s.dep.notify(),i}))}));var yt=Object.getOwnPropertyNames(_t),bt=!0;function wt(t){bt=t}var At=function(t){this.value=t,this.dep=new lt,this.vmCount=0,j(t,"__ob__",this),Array.isArray(t)?(z?function(t,e){t.__proto__=e}(t,_t):function(t,e,n){for(var a=0,r=n.length;a<r;a++){var i=n[a];j(t,i,e[i])}}(t,_t,yt),this.observeArray(t)):this.walk(t)};function kt(t,e){var n;if(i(t)&&!(t instanceof pt))return g(t,"__ob__")&&t.__ob__ instanceof At?n=t.__ob__:bt&&!et()&&(Array.isArray(t)||o(t))&&Object.isExtensible(t)&&!t._isVue&&(n=new At(t)),e&&n&&n.vmCount++,n}function Ct(t,e,n,a,r){var i=new lt,s=Object.getOwnPropertyDescriptor(t,e);if(!s||!1!==s.configurable){var o=s&&s.get,l=s&&s.set;o&&!l||2!==arguments.length||(n=t[e]);var c=!r&&kt(n);Object.defineProperty(t,e,{enumerable:!0,configurable:!0,get:function(){var e=o?o.call(t):n;return lt.target&&(i.depend(),c&&(c.dep.depend(),Array.isArray(e)&&$t(e))),e},set:function(e){var a=o?o.call(t):n;e===a||e!=e&&a!=a||o&&!l||(l?l.call(t,e):n=e,c=!r&&kt(e),i.notify())}})}}function xt(t,e,n){if(Array.isArray(t)&&l(e))return t.length=Math.max(t.length,e),t.splice(e,1,n),n;if(e in t&&!(e in Object.prototype))return t[e]=n,n;var a=t.__ob__;return t._isVue||a&&a.vmCount?n:a?(Ct(a.value,e,n),a.dep.notify(),n):(t[e]=n,n)}function Tt(t,e){if(Array.isArray(t)&&l(e))t.splice(e,1);else{var n=t.__ob__;t._isVue||n&&n.vmCount||g(t,e)&&(delete t[e],n&&n.dep.notify())}}function $t(t){for(var e=void 0,n=0,a=t.length;n<a;n++)(e=t[n])&&e.__ob__&&e.__ob__.dep.depend(),Array.isArray(e)&&$t(e)}At.prototype.walk=function(t){for(var e=Object.keys(t),n=0;n<e.length;n++)Ct(t,e[n])},At.prototype.observeArray=function(t){for(var e=0,n=t.length;e<n;e++)kt(t[e])};var St=R.optionMergeStrategies;function Lt(t,e){if(!e)return t;for(var n,a,r,i=it?Reflect.ownKeys(e):Object.keys(e),s=0;s<i.length;s++)"__ob__"!==(n=i[s])&&(a=t[n],r=e[n],g(t,n)?a!==r&&o(a)&&o(r)&&Lt(a,r):xt(t,n,r));return t}function Et(t,e,n){return n?function(){var a="function"==typeof e?e.call(n,n):e,r="function"==typeof t?t.call(n,n):t;return a?Lt(a,r):r}:e?t?function(){return Lt("function"==typeof e?e.call(this,this):e,"function"==typeof t?t.call(this,this):t)}:e:t}function Nt(t,e){var n=e?t?t.concat(e):Array.isArray(e)?e:[e]:t;return n?function(t){for(var e=[],n=0;n<t.length;n++)-1===e.indexOf(t[n])&&e.push(t[n]);return e}(n):n}function Dt(t,e,n,a){var r=Object.create(t||null);return e?T(r,e):r}St.data=function(t,e,n){return n?Et(t,e,n):e&&"function"!=typeof e?t:Et(t,e)},O.forEach((function(t){St[t]=Nt})),I.forEach((function(t){St[t+"s"]=Dt})),St.watch=function(t,e,n,a){if(t===X&&(t=void 0),e===X&&(e=void 0),!e)return Object.create(t||null);if(!t)return e;var r={};for(var i in T(r,t),e){var s=r[i],o=e[i];s&&!Array.isArray(s)&&(s=[s]),r[i]=s?s.concat(o):Array.isArray(o)?o:[o]}return r},St.props=St.methods=St.inject=St.computed=function(t,e,n,a){if(!t)return e;var r=Object.create(null);return T(r,t),e&&T(r,e),r},St.provide=Et;var Pt=function(t,e){return void 0===e?t:e};function It(t,e,n){if("function"==typeof e&&(e=e.options),function(t,e){var n=t.props;if(n){var a,r,i={};if(Array.isArray(n))for(a=n.length;a--;)"string"==typeof(r=n[a])&&(i[b(r)]={type:null});else if(o(n))for(var s in n)r=n[s],i[b(s)]=o(r)?r:{type:r};t.props=i}}(e),function(t,e){var n=t.inject;if(n){var a=t.inject={};if(Array.isArray(n))for(var r=0;r<n.length;r++)a[n[r]]={from:n[r]};else if(o(n))for(var i in n){var s=n[i];a[i]=o(s)?T({from:i},s):{from:s}}}}(e),function(t){var e=t.directives;if(e)for(var n in e){var a=e[n];"function"==typeof a&&(e[n]={bind:a,update:a})}}(e),!e._base&&(e.extends&&(t=It(t,e.extends,n)),e.mixins))for(var a=0,r=e.mixins.length;a<r;a++)t=It(t,e.mixins[a],n);var i,s={};for(i in t)l(i);for(i in e)g(t,i)||l(i);function l(a){var r=St[a]||Pt;s[a]=r(t[a],e[a],n,a)}return s}function Ot(t,e,n,a){if("string"==typeof n){var r=t[e];if(g(r,n))return r[n];var i=b(n);if(g(r,i))return r[i];var s=w(i);return g(r,s)?r[s]:r[n]||r[i]||r[s]}}function Rt(t,e,n,a){var r=e[t],i=!g(n,t),s=n[t],o=jt(Boolean,r.type);if(o>-1)if(i&&!g(r,"default"))s=!1;else if(""===s||s===k(t)){var l=jt(String,r.type);(l<0||o<l)&&(s=!0)}if(void 0===s){s=function(t,e,n){if(!g(e,"default"))return;var a=e.default;if(t&&t.$options.propsData&&void 0===t.$options.propsData[n]&&void 0!==t._props[n])return t._props[n];return"function"==typeof a&&"Function"!==Ft(e.type)?a.call(t):a}(a,r,t);var c=bt;wt(!0),kt(s),wt(c)}return s}function Ft(t){var e=t&&t.toString().match(/^\s*function (\w+)/);return e?e[1]:""}function Mt(t,e){return Ft(t)===Ft(e)}function jt(t,e){if(!Array.isArray(e))return Mt(e,t)?0:-1;for(var n=0,a=e.length;n<a;n++)if(Mt(e[n],t))return n;return-1}function Bt(t,e,n){ut();try{if(e)for(var a=e;a=a.$parent;){var r=a.$options.errorCaptured;if(r)for(var i=0;i<r.length;i++)try{if(!1===r[i].call(a,t,e,n))return}catch(t){zt(t,a,"errorCaptured hook")}}zt(t,e,n)}finally{dt()}}function qt(t,e,n,a,r){var i;try{(i=n?t.apply(e,n):t.call(e))&&!i._isVue&&c(i)&&!i._handled&&(i.catch((function(t){return Bt(t,a,r+" (Promise/async)")})),i._handled=!0)}catch(t){Bt(t,a,r)}return i}function zt(t,e,n){if(R.errorHandler)try{return R.errorHandler.call(null,t,e,n)}catch(e){e!==t&&Ut(e)}Ut(t)}function Ut(t,e,n){if(!U&&!H||"undefined"==typeof console)throw t;console.error(t)}var Ht,Vt=!1,Wt=[],Qt=!1;function Gt(){Qt=!1;var t=Wt.slice(0);Wt.length=0;for(var e=0;e<t.length;e++)t[e]()}if("undefined"!=typeof Promise&&at(Promise)){var Kt=Promise.resolve();Ht=function(){Kt.then(Gt),Y&&setTimeout(S)},Vt=!0}else if(Q||"undefined"==typeof MutationObserver||!at(MutationObserver)&&"[object MutationObserverConstructor]"!==MutationObserver.toString())Ht="undefined"!=typeof setImmediate&&at(setImmediate)?function(){setImmediate(Gt)}:function(){setTimeout(Gt,0)};else{var Yt=1,Jt=new MutationObserver(Gt),Xt=document.createTextNode(String(Yt));Jt.observe(Xt,{characterData:!0}),Ht=function(){Yt=(Yt+1)%2,Xt.data=String(Yt)},Vt=!0}function Zt(t,e){var n;if(Wt.push((function(){if(t)try{t.call(e)}catch(t){Bt(t,e,"nextTick")}else n&&n(e)})),Qt||(Qt=!0,Ht()),!t&&"undefined"!=typeof Promise)return new Promise((function(t){n=t}))}var te=new rt;function ee(t){!function t(e,n){var a,r,s=Array.isArray(e);if(!s&&!i(e)||Object.isFrozen(e)||e instanceof pt)return;if(e.__ob__){var o=e.__ob__.dep.id;if(n.has(o))return;n.add(o)}if(s)for(a=e.length;a--;)t(e[a],n);else for(r=Object.keys(e),a=r.length;a--;)t(e[r[a]],n)}(t,te),te.clear()}var ne=_((function(t){var e="&"===t.charAt(0),n="~"===(t=e?t.slice(1):t).charAt(0),a="!"===(t=n?t.slice(1):t).charAt(0);return{name:t=a?t.slice(1):t,once:n,capture:a,passive:e}}));function ae(t,e){function n(){var t=arguments,a=n.fns;if(!Array.isArray(a))return qt(a,null,arguments,e,"v-on handler");for(var r=a.slice(),i=0;i<r.length;i++)qt(r[i],null,t,e,"v-on handler")}return n.fns=t,n}function re(t,n,r,i,s,o){var l,c,u,d;for(l in t)c=t[l],u=n[l],d=ne(l),e(c)||(e(u)?(e(c.fns)&&(c=t[l]=ae(c,o)),a(d.once)&&(c=t[l]=s(d.name,c,d.capture)),r(d.name,c,d.capture,d.passive,d.params)):c!==u&&(u.fns=c,t[l]=u));for(l in n)e(t[l])&&i((d=ne(l)).name,n[l],d.capture)}function ie(t,r,i){var s;t instanceof pt&&(t=t.data.hook||(t.data.hook={}));var o=t[r];function l(){i.apply(this,arguments),v(s.fns,l)}e(o)?s=ae([l]):n(o.fns)&&a(o.merged)?(s=o).fns.push(l):s=ae([o,l]),s.merged=!0,t[r]=s}function se(t,e,a,r,i){if(n(e)){if(g(e,a))return t[a]=e[a],i||delete e[a],!0;if(g(e,r))return t[a]=e[r],i||delete e[r],!0}return!1}function oe(t){return r(t)?[vt(t)]:Array.isArray(t)?function t(i,s){var o,l,c,u,d=[];for(o=0;o<i.length;o++)e(l=i[o])||"boolean"==typeof l||(c=d.length-1,u=d[c],Array.isArray(l)?l.length>0&&(le((l=t(l,(s||"")+"_"+o))[0])&&le(u)&&(d[c]=vt(u.text+l[0].text),l.shift()),d.push.apply(d,l)):r(l)?le(u)?d[c]=vt(u.text+l):""!==l&&d.push(vt(l)):le(l)&&le(u)?d[c]=vt(u.text+l.text):(a(i._isVList)&&n(l.tag)&&e(l.key)&&n(s)&&(l.key="__vlist"+s+"_"+o+"__"),d.push(l)));return d}(t):void 0}function le(t){return n(t)&&n(t.text)&&!1===t.isComment}function ce(t,e){if(t){for(var n=Object.create(null),a=it?Reflect.ownKeys(t):Object.keys(t),r=0;r<a.length;r++){var i=a[r];if("__ob__"!==i){for(var s=t[i].from,o=e;o;){if(o._provided&&g(o._provided,s)){n[i]=o._provided[s];break}o=o.$parent}if(!o&&"default"in t[i]){var l=t[i].default;n[i]="function"==typeof l?l.call(e):l}}}return n}}function ue(t,e){if(!t||!t.length)return{};for(var n={},a=0,r=t.length;a<r;a++){var i=t[a],s=i.data;if(s&&s.attrs&&s.attrs.slot&&delete s.attrs.slot,i.context!==e&&i.fnContext!==e||!s||null==s.slot)(n.default||(n.default=[])).push(i);else{var o=s.slot,l=n[o]||(n[o]=[]);"template"===i.tag?l.push.apply(l,i.children||[]):l.push(i)}}for(var c in n)n[c].every(de)&&delete n[c];return n}function de(t){return t.isComment&&!t.asyncFactory||" "===t.text}function pe(e,n,a){var r,i=Object.keys(n).length>0,s=e?!!e.$stable:!i,o=e&&e.$key;if(e){if(e._normalized)return e._normalized;if(s&&a&&a!==t&&o===a.$key&&!i&&!a.$hasNormal)return a;for(var l in r={},e)e[l]&&"$"!==l[0]&&(r[l]=fe(n,l,e[l]))}else r={};for(var c in n)c in r||(r[c]=he(n,c));return e&&Object.isExtensible(e)&&(e._normalized=r),j(r,"$stable",s),j(r,"$key",o),j(r,"$hasNormal",i),r}function fe(t,e,n){var a=function(){var t=arguments.length?n.apply(null,arguments):n({});return(t=t&&"object"==typeof t&&!Array.isArray(t)?[t]:oe(t))&&(0===t.length||1===t.length&&t[0].isComment)?void 0:t};return n.proxy&&Object.defineProperty(t,e,{get:a,enumerable:!0,configurable:!0}),a}function he(t,e){return function(){return t[e]}}function ve(t,e){var a,r,s,o,l;if(Array.isArray(t)||"string"==typeof t)for(a=new Array(t.length),r=0,s=t.length;r<s;r++)a[r]=e(t[r],r);else if("number"==typeof t)for(a=new Array(t),r=0;r<t;r++)a[r]=e(r+1,r);else if(i(t))if(it&&t[Symbol.iterator]){a=[];for(var c=t[Symbol.iterator](),u=c.next();!u.done;)a.push(e(u.value,a.length)),u=c.next()}else for(o=Object.keys(t),a=new Array(o.length),r=0,s=o.length;r<s;r++)l=o[r],a[r]=e(t[l],l,r);return n(a)||(a=[]),a._isVList=!0,a}function me(t,e,n,a){var r,i=this.$scopedSlots[t];i?(n=n||{},a&&(n=T(T({},a),n)),r=i(n)||e):r=this.$slots[t]||e;var s=n&&n.slot;return s?this.$createElement("template",{slot:s},r):r}function ge(t){return Ot(this.$options,"filters",t)||E}function _e(t,e){return Array.isArray(t)?-1===t.indexOf(e):t!==e}function ye(t,e,n,a,r){var i=R.keyCodes[e]||n;return r&&a&&!R.keyCodes[e]?_e(r,a):i?_e(i,t):a?k(a)!==e:void 0}function be(t,e,n,a,r){if(n)if(i(n)){var s;Array.isArray(n)&&(n=$(n));var o=function(i){if("class"===i||"style"===i||h(i))s=t;else{var o=t.attrs&&t.attrs.type;s=a||R.mustUseProp(e,o,i)?t.domProps||(t.domProps={}):t.attrs||(t.attrs={})}var l=b(i),c=k(i);l in s||c in s||(s[i]=n[i],r&&((t.on||(t.on={}))["update:"+i]=function(t){n[i]=t}))};for(var l in n)o(l)}else;return t}function we(t,e){var n=this._staticTrees||(this._staticTrees=[]),a=n[t];return a&&!e||ke(a=n[t]=this.$options.staticRenderFns[t].call(this._renderProxy,null,this),"__static__"+t,!1),a}function Ae(t,e,n){return ke(t,"__once__"+e+(n?"_"+n:""),!0),t}function ke(t,e,n){if(Array.isArray(t))for(var a=0;a<t.length;a++)t[a]&&"string"!=typeof t[a]&&Ce(t[a],e+"_"+a,n);else Ce(t,e,n)}function Ce(t,e,n){t.isStatic=!0,t.key=e,t.isOnce=n}function xe(t,e){if(e)if(o(e)){var n=t.on=t.on?T({},t.on):{};for(var a in e){var r=n[a],i=e[a];n[a]=r?[].concat(r,i):i}}else;return t}function Te(t,e,n,a){e=e||{$stable:!n};for(var r=0;r<t.length;r++){var i=t[r];Array.isArray(i)?Te(i,e,n):i&&(i.proxy&&(i.fn.proxy=!0),e[i.key]=i.fn)}return a&&(e.$key=a),e}function $e(t,e){for(var n=0;n<e.length;n+=2){var a=e[n];"string"==typeof a&&a&&(t[e[n]]=e[n+1])}return t}function Se(t,e){return"string"==typeof t?e+t:t}function Le(t){t._o=Ae,t._n=d,t._s=u,t._l=ve,t._t=me,t._q=N,t._i=D,t._m=we,t._f=ge,t._k=ye,t._b=be,t._v=vt,t._e=ht,t._u=Te,t._g=xe,t._d=$e,t._p=Se}function Ee(e,n,r,i,s){var o,l=this,c=s.options;g(i,"_uid")?(o=Object.create(i))._original=i:(o=i,i=i._original);var u=a(c._compiled),d=!u;this.data=e,this.props=n,this.children=r,this.parent=i,this.listeners=e.on||t,this.injections=ce(c.inject,i),this.slots=function(){return l.$slots||pe(e.scopedSlots,l.$slots=ue(r,i)),l.$slots},Object.defineProperty(this,"scopedSlots",{enumerable:!0,get:function(){return pe(e.scopedSlots,this.slots())}}),u&&(this.$options=c,this.$slots=this.slots(),this.$scopedSlots=pe(e.scopedSlots,this.$slots)),c._scopeId?this._c=function(t,e,n,a){var r=Fe(o,t,e,n,a,d);return r&&!Array.isArray(r)&&(r.fnScopeId=c._scopeId,r.fnContext=i),r}:this._c=function(t,e,n,a){return Fe(o,t,e,n,a,d)}}function Ne(t,e,n,a,r){var i=mt(t);return i.fnContext=n,i.fnOptions=a,e.slot&&((i.data||(i.data={})).slot=e.slot),i}function De(t,e){for(var n in e)t[b(n)]=e[n]}Le(Ee.prototype);var Pe={init:function(t,e){if(t.componentInstance&&!t.componentInstance._isDestroyed&&t.data.keepAlive){var a=t;Pe.prepatch(a,a)}else{(t.componentInstance=function(t,e){var a={_isComponent:!0,_parentVnode:t,parent:e},r=t.data.inlineTemplate;n(r)&&(a.render=r.render,a.staticRenderFns=r.staticRenderFns);return new t.componentOptions.Ctor(a)}(t,Qe)).$mount(e?t.elm:void 0,e)}},prepatch:function(e,n){var a=n.componentOptions;!function(e,n,a,r,i){var s=r.data.scopedSlots,o=e.$scopedSlots,l=!!(s&&!s.$stable||o!==t&&!o.$stable||s&&e.$scopedSlots.$key!==s.$key),c=!!(i||e.$options._renderChildren||l);e.$options._parentVnode=r,e.$vnode=r,e._vnode&&(e._vnode.parent=r);if(e.$options._renderChildren=i,e.$attrs=r.data.attrs||t,e.$listeners=a||t,n&&e.$options.props){wt(!1);for(var u=e._props,d=e.$options._propKeys||[],p=0;p<d.length;p++){var f=d[p],h=e.$options.props;u[f]=Rt(f,h,n,e)}wt(!0),e.$options.propsData=n}a=a||t;var v=e.$options._parentListeners;e.$options._parentListeners=a,We(e,a,v),c&&(e.$slots=ue(i,r.context),e.$forceUpdate())}(n.componentInstance=e.componentInstance,a.propsData,a.listeners,n,a.children)},insert:function(t){var e,n=t.context,a=t.componentInstance;a._isMounted||(a._isMounted=!0,Je(a,"mounted")),t.data.keepAlive&&(n._isMounted?((e=a)._inactive=!1,Ze.push(e)):Ye(a,!0))},destroy:function(t){var e=t.componentInstance;e._isDestroyed||(t.data.keepAlive?function t(e,n){if(n&&(e._directInactive=!0,Ke(e)))return;if(!e._inactive){e._inactive=!0;for(var a=0;a<e.$children.length;a++)t(e.$children[a]);Je(e,"deactivated")}}(e,!0):e.$destroy())}},Ie=Object.keys(Pe);function Oe(r,s,o,l,u){if(!e(r)){var d=o.$options._base;if(i(r)&&(r=d.extend(r)),"function"==typeof r){var p;if(e(r.cid)&&void 0===(r=function(t,r){if(a(t.error)&&n(t.errorComp))return t.errorComp;if(n(t.resolved))return t.resolved;var s=je;s&&n(t.owners)&&-1===t.owners.indexOf(s)&&t.owners.push(s);if(a(t.loading)&&n(t.loadingComp))return t.loadingComp;if(s&&!n(t.owners)){var o=t.owners=[s],l=!0,u=null,d=null;s.$on("hook:destroyed",(function(){return v(o,s)}));var p=function(t){for(var e=0,n=o.length;e<n;e++)o[e].$forceUpdate();t&&(o.length=0,null!==u&&(clearTimeout(u),u=null),null!==d&&(clearTimeout(d),d=null))},f=P((function(e){t.resolved=Be(e,r),l?o.length=0:p(!0)})),h=P((function(e){n(t.errorComp)&&(t.error=!0,p(!0))})),m=t(f,h);return i(m)&&(c(m)?e(t.resolved)&&m.then(f,h):c(m.component)&&(m.component.then(f,h),n(m.error)&&(t.errorComp=Be(m.error,r)),n(m.loading)&&(t.loadingComp=Be(m.loading,r),0===m.delay?t.loading=!0:u=setTimeout((function(){u=null,e(t.resolved)&&e(t.error)&&(t.loading=!0,p(!1))}),m.delay||200)),n(m.timeout)&&(d=setTimeout((function(){d=null,e(t.resolved)&&h(null)}),m.timeout)))),l=!1,t.loading?t.loadingComp:t.resolved}}(p=r,d)))return function(t,e,n,a,r){var i=ht();return i.asyncFactory=t,i.asyncMeta={data:e,context:n,children:a,tag:r},i}(p,s,o,l,u);s=s||{},bn(r),n(s.model)&&function(t,e){var a=t.model&&t.model.prop||"value",r=t.model&&t.model.event||"input";(e.attrs||(e.attrs={}))[a]=e.model.value;var i=e.on||(e.on={}),s=i[r],o=e.model.callback;n(s)?(Array.isArray(s)?-1===s.indexOf(o):s!==o)&&(i[r]=[o].concat(s)):i[r]=o}(r.options,s);var f=function(t,a,r){var i=a.options.props;if(!e(i)){var s={},o=t.attrs,l=t.props;if(n(o)||n(l))for(var c in i){var u=k(c);se(s,l,c,u,!0)||se(s,o,c,u,!1)}return s}}(s,r);if(a(r.options.functional))return function(e,a,r,i,s){var o=e.options,l={},c=o.props;if(n(c))for(var u in c)l[u]=Rt(u,c,a||t);else n(r.attrs)&&De(l,r.attrs),n(r.props)&&De(l,r.props);var d=new Ee(r,l,s,i,e),p=o.render.call(null,d._c,d);if(p instanceof pt)return Ne(p,r,d.parent,o);if(Array.isArray(p)){for(var f=oe(p)||[],h=new Array(f.length),v=0;v<f.length;v++)h[v]=Ne(f[v],r,d.parent,o);return h}}(r,f,s,o,l);var h=s.on;if(s.on=s.nativeOn,a(r.options.abstract)){var m=s.slot;s={},m&&(s.slot=m)}!function(t){for(var e=t.hook||(t.hook={}),n=0;n<Ie.length;n++){var a=Ie[n],r=e[a],i=Pe[a];r===i||r&&r._merged||(e[a]=r?Re(i,r):i)}}(s);var g=r.options.name||u;return new pt("vue-component-"+r.cid+(g?"-"+g:""),s,void 0,void 0,void 0,o,{Ctor:r,propsData:f,listeners:h,tag:u,children:l},p)}}}function Re(t,e){var n=function(n,a){t(n,a),e(n,a)};return n._merged=!0,n}function Fe(t,s,o,l,c,u){return(Array.isArray(o)||r(o))&&(c=l,l=o,o=void 0),a(u)&&(c=2),function(t,r,s,o,l){if(n(s)&&n(s.__ob__))return ht();n(s)&&n(s.is)&&(r=s.is);if(!r)return ht();Array.isArray(o)&&"function"==typeof o[0]&&((s=s||{}).scopedSlots={default:o[0]},o.length=0);2===l?o=oe(o):1===l&&(o=function(t){for(var e=0;e<t.length;e++)if(Array.isArray(t[e]))return Array.prototype.concat.apply([],t);return t}(o));var c,u;if("string"==typeof r){var d;u=t.$vnode&&t.$vnode.ns||R.getTagNamespace(r),c=R.isReservedTag(r)?new pt(R.parsePlatformTagName(r),s,o,void 0,void 0,t):s&&s.pre||!n(d=Ot(t.$options,"components",r))?new pt(r,s,o,void 0,void 0,t):Oe(d,s,t,o,r)}else c=Oe(r,s,t,o);return Array.isArray(c)?c:n(c)?(n(u)&&function t(r,i,s){r.ns=i,"foreignObject"===r.tag&&(i=void 0,s=!0);if(n(r.children))for(var o=0,l=r.children.length;o<l;o++){var c=r.children[o];n(c.tag)&&(e(c.ns)||a(s)&&"svg"!==c.tag)&&t(c,i,s)}}(c,u),n(s)&&function(t){i(t.style)&&ee(t.style);i(t.class)&&ee(t.class)}(s),c):ht()}(t,s,o,l,c)}var Me,je=null;function Be(t,e){return(t.__esModule||it&&"Module"===t[Symbol.toStringTag])&&(t=t.default),i(t)?e.extend(t):t}function qe(t){return t.isComment&&t.asyncFactory}function ze(t){if(Array.isArray(t))for(var e=0;e<t.length;e++){var a=t[e];if(n(a)&&(n(a.componentOptions)||qe(a)))return a}}function Ue(t,e){Me.$on(t,e)}function He(t,e){Me.$off(t,e)}function Ve(t,e){var n=Me;return function a(){var r=e.apply(null,arguments);null!==r&&n.$off(t,a)}}function We(t,e,n){Me=t,re(e,n||{},Ue,He,Ve,t),Me=void 0}var Qe=null;function Ge(t){var e=Qe;return Qe=t,function(){Qe=e}}function Ke(t){for(;t&&(t=t.$parent);)if(t._inactive)return!0;return!1}function Ye(t,e){if(e){if(t._directInactive=!1,Ke(t))return}else if(t._directInactive)return;if(t._inactive||null===t._inactive){t._inactive=!1;for(var n=0;n<t.$children.length;n++)Ye(t.$children[n]);Je(t,"activated")}}function Je(t,e){ut();var n=t.$options[e],a=e+" hook";if(n)for(var r=0,i=n.length;r<i;r++)qt(n[r],t,null,t,a);t._hasHookEvent&&t.$emit("hook:"+e),dt()}var Xe=[],Ze=[],tn={},en=!1,nn=!1,an=0;var rn=0,sn=Date.now;if(U&&!Q){var on=window.performance;on&&"function"==typeof on.now&&sn()>document.createEvent("Event").timeStamp&&(sn=function(){return on.now()})}function ln(){var t,e;for(rn=sn(),nn=!0,Xe.sort((function(t,e){return t.id-e.id})),an=0;an<Xe.length;an++)(t=Xe[an]).before&&t.before(),e=t.id,tn[e]=null,t.run();var n=Ze.slice(),a=Xe.slice();an=Xe.length=Ze.length=0,tn={},en=nn=!1,function(t){for(var e=0;e<t.length;e++)t[e]._inactive=!0,Ye(t[e],!0)}(n),function(t){var e=t.length;for(;e--;){var n=t[e],a=n.vm;a._watcher===n&&a._isMounted&&!a._isDestroyed&&Je(a,"updated")}}(a),nt&&R.devtools&&nt.emit("flush")}var cn=0,un=function(t,e,n,a,r){this.vm=t,r&&(t._watcher=this),t._watchers.push(this),a?(this.deep=!!a.deep,this.user=!!a.user,this.lazy=!!a.lazy,this.sync=!!a.sync,this.before=a.before):this.deep=this.user=this.lazy=this.sync=!1,this.cb=n,this.id=++cn,this.active=!0,this.dirty=this.lazy,this.deps=[],this.newDeps=[],this.depIds=new rt,this.newDepIds=new rt,this.expression="","function"==typeof e?this.getter=e:(this.getter=function(t){if(!B.test(t)){var e=t.split(".");return function(t){for(var n=0;n<e.length;n++){if(!t)return;t=t[e[n]]}return t}}}(e),this.getter||(this.getter=S)),this.value=this.lazy?void 0:this.get()};un.prototype.get=function(){var t;ut(this);var e=this.vm;try{t=this.getter.call(e,e)}catch(t){if(!this.user)throw t;Bt(t,e,'getter for watcher "'+this.expression+'"')}finally{this.deep&&ee(t),dt(),this.cleanupDeps()}return t},un.prototype.addDep=function(t){var e=t.id;this.newDepIds.has(e)||(this.newDepIds.add(e),this.newDeps.push(t),this.depIds.has(e)||t.addSub(this))},un.prototype.cleanupDeps=function(){for(var t=this.deps.length;t--;){var e=this.deps[t];this.newDepIds.has(e.id)||e.removeSub(this)}var n=this.depIds;this.depIds=this.newDepIds,this.newDepIds=n,this.newDepIds.clear(),n=this.deps,this.deps=this.newDeps,this.newDeps=n,this.newDeps.length=0},un.prototype.update=function(){this.lazy?this.dirty=!0:this.sync?this.run():function(t){var e=t.id;if(null==tn[e]){if(tn[e]=!0,nn){for(var n=Xe.length-1;n>an&&Xe[n].id>t.id;)n--;Xe.splice(n+1,0,t)}else Xe.push(t);en||(en=!0,Zt(ln))}}(this)},un.prototype.run=function(){if(this.active){var t=this.get();if(t!==this.value||i(t)||this.deep){var e=this.value;if(this.value=t,this.user)try{this.cb.call(this.vm,t,e)}catch(t){Bt(t,this.vm,'callback for watcher "'+this.expression+'"')}else this.cb.call(this.vm,t,e)}}},un.prototype.evaluate=function(){this.value=this.get(),this.dirty=!1},un.prototype.depend=function(){for(var t=this.deps.length;t--;)this.deps[t].depend()},un.prototype.teardown=function(){if(this.active){this.vm._isBeingDestroyed||v(this.vm._watchers,this);for(var t=this.deps.length;t--;)this.deps[t].removeSub(this);this.active=!1}};var dn={enumerable:!0,configurable:!0,get:S,set:S};function pn(t,e,n){dn.get=function(){return this[e][n]},dn.set=function(t){this[e][n]=t},Object.defineProperty(t,n,dn)}function fn(t){t._watchers=[];var e=t.$options;e.props&&function(t,e){var n=t.$options.propsData||{},a=t._props={},r=t.$options._propKeys=[];t.$parent&&wt(!1);var i=function(i){r.push(i);var s=Rt(i,e,n,t);Ct(a,i,s),i in t||pn(t,"_props",i)};for(var s in e)i(s);wt(!0)}(t,e.props),e.methods&&function(t,e){t.$options.props;for(var n in e)t[n]="function"!=typeof e[n]?S:C(e[n],t)}(t,e.methods),e.data?function(t){var e=t.$options.data;o(e=t._data="function"==typeof e?function(t,e){ut();try{return t.call(e,e)}catch(t){return Bt(t,e,"data()"),{}}finally{dt()}}(e,t):e||{})||(e={});var n=Object.keys(e),a=t.$options.props,r=(t.$options.methods,n.length);for(;r--;){var i=n[r];a&&g(a,i)||M(i)||pn(t,"_data",i)}kt(e,!0)}(t):kt(t._data={},!0),e.computed&&function(t,e){var n=t._computedWatchers=Object.create(null),a=et();for(var r in e){var i=e[r],s="function"==typeof i?i:i.get;a||(n[r]=new un(t,s||S,S,hn)),r in t||vn(t,r,i)}}(t,e.computed),e.watch&&e.watch!==X&&function(t,e){for(var n in e){var a=e[n];if(Array.isArray(a))for(var r=0;r<a.length;r++)_n(t,n,a[r]);else _n(t,n,a)}}(t,e.watch)}var hn={lazy:!0};function vn(t,e,n){var a=!et();"function"==typeof n?(dn.get=a?mn(e):gn(n),dn.set=S):(dn.get=n.get?a&&!1!==n.cache?mn(e):gn(n.get):S,dn.set=n.set||S),Object.defineProperty(t,e,dn)}function mn(t){return function(){var e=this._computedWatchers&&this._computedWatchers[t];if(e)return e.dirty&&e.evaluate(),lt.target&&e.depend(),e.value}}function gn(t){return function(){return t.call(this,this)}}function _n(t,e,n,a){return o(n)&&(a=n,n=n.handler),"string"==typeof n&&(n=t[n]),t.$watch(e,n,a)}var yn=0;function bn(t){var e=t.options;if(t.super){var n=bn(t.super);if(n!==t.superOptions){t.superOptions=n;var a=function(t){var e,n=t.options,a=t.sealedOptions;for(var r in n)n[r]!==a[r]&&(e||(e={}),e[r]=n[r]);return e}(t);a&&T(t.extendOptions,a),(e=t.options=It(n,t.extendOptions)).name&&(e.components[e.name]=t)}}return e}function wn(t){this._init(t)}function An(t){t.cid=0;var e=1;t.extend=function(t){t=t||{};var n=this,a=n.cid,r=t._Ctor||(t._Ctor={});if(r[a])return r[a];var i=t.name||n.options.name,s=function(t){this._init(t)};return(s.prototype=Object.create(n.prototype)).constructor=s,s.cid=e++,s.options=It(n.options,t),s.super=n,s.options.props&&function(t){var e=t.options.props;for(var n in e)pn(t.prototype,"_props",n)}(s),s.options.computed&&function(t){var e=t.options.computed;for(var n in e)vn(t.prototype,n,e[n])}(s),s.extend=n.extend,s.mixin=n.mixin,s.use=n.use,I.forEach((function(t){s[t]=n[t]})),i&&(s.options.components[i]=s),s.superOptions=n.options,s.extendOptions=t,s.sealedOptions=T({},s.options),r[a]=s,s}}function kn(t){return t&&(t.Ctor.options.name||t.tag)}function Cn(t,e){return Array.isArray(t)?t.indexOf(e)>-1:"string"==typeof t?t.split(",").indexOf(e)>-1:(n=t,"[object RegExp]"===s.call(n)&&t.test(e));var n}function xn(t,e){var n=t.cache,a=t.keys,r=t._vnode;for(var i in n){var s=n[i];if(s){var o=kn(s.componentOptions);o&&!e(o)&&Tn(n,i,a,r)}}}function Tn(t,e,n,a){var r=t[e];!r||a&&r.tag===a.tag||r.componentInstance.$destroy(),t[e]=null,v(n,e)}!function(e){e.prototype._init=function(e){var n=this;n._uid=yn++,n._isVue=!0,e&&e._isComponent?function(t,e){var n=t.$options=Object.create(t.constructor.options),a=e._parentVnode;n.parent=e.parent,n._parentVnode=a;var r=a.componentOptions;n.propsData=r.propsData,n._parentListeners=r.listeners,n._renderChildren=r.children,n._componentTag=r.tag,e.render&&(n.render=e.render,n.staticRenderFns=e.staticRenderFns)}(n,e):n.$options=It(bn(n.constructor),e||{},n),n._renderProxy=n,n._self=n,function(t){var e=t.$options,n=e.parent;if(n&&!e.abstract){for(;n.$options.abstract&&n.$parent;)n=n.$parent;n.$children.push(t)}t.$parent=n,t.$root=n?n.$root:t,t.$children=[],t.$refs={},t._watcher=null,t._inactive=null,t._directInactive=!1,t._isMounted=!1,t._isDestroyed=!1,t._isBeingDestroyed=!1}(n),function(t){t._events=Object.create(null),t._hasHookEvent=!1;var e=t.$options._parentListeners;e&&We(t,e)}(n),function(e){e._vnode=null,e._staticTrees=null;var n=e.$options,a=e.$vnode=n._parentVnode,r=a&&a.context;e.$slots=ue(n._renderChildren,r),e.$scopedSlots=t,e._c=function(t,n,a,r){return Fe(e,t,n,a,r,!1)},e.$createElement=function(t,n,a,r){return Fe(e,t,n,a,r,!0)};var i=a&&a.data;Ct(e,"$attrs",i&&i.attrs||t,null,!0),Ct(e,"$listeners",n._parentListeners||t,null,!0)}(n),Je(n,"beforeCreate"),function(t){var e=ce(t.$options.inject,t);e&&(wt(!1),Object.keys(e).forEach((function(n){Ct(t,n,e[n])})),wt(!0))}(n),fn(n),function(t){var e=t.$options.provide;e&&(t._provided="function"==typeof e?e.call(t):e)}(n),Je(n,"created"),n.$options.el&&n.$mount(n.$options.el)}}(wn),function(t){var e={get:function(){return this._data}},n={get:function(){return this._props}};Object.defineProperty(t.prototype,"$data",e),Object.defineProperty(t.prototype,"$props",n),t.prototype.$set=xt,t.prototype.$delete=Tt,t.prototype.$watch=function(t,e,n){if(o(e))return _n(this,t,e,n);(n=n||{}).user=!0;var a=new un(this,t,e,n);if(n.immediate)try{e.call(this,a.value)}catch(t){Bt(t,this,'callback for immediate watcher "'+a.expression+'"')}return function(){a.teardown()}}}(wn),function(t){var e=/^hook:/;t.prototype.$on=function(t,n){var a=this;if(Array.isArray(t))for(var r=0,i=t.length;r<i;r++)a.$on(t[r],n);else(a._events[t]||(a._events[t]=[])).push(n),e.test(t)&&(a._hasHookEvent=!0);return a},t.prototype.$once=function(t,e){var n=this;function a(){n.$off(t,a),e.apply(n,arguments)}return a.fn=e,n.$on(t,a),n},t.prototype.$off=function(t,e){var n=this;if(!arguments.length)return n._events=Object.create(null),n;if(Array.isArray(t)){for(var a=0,r=t.length;a<r;a++)n.$off(t[a],e);return n}var i,s=n._events[t];if(!s)return n;if(!e)return n._events[t]=null,n;for(var o=s.length;o--;)if((i=s[o])===e||i.fn===e){s.splice(o,1);break}return n},t.prototype.$emit=function(t){var e=this,n=e._events[t];if(n){n=n.length>1?x(n):n;for(var a=x(arguments,1),r='event handler for "'+t+'"',i=0,s=n.length;i<s;i++)qt(n[i],e,a,e,r)}return e}}(wn),function(t){t.prototype._update=function(t,e){var n=this,a=n.$el,r=n._vnode,i=Ge(n);n._vnode=t,n.$el=r?n.__patch__(r,t):n.__patch__(n.$el,t,e,!1),i(),a&&(a.__vue__=null),n.$el&&(n.$el.__vue__=n),n.$vnode&&n.$parent&&n.$vnode===n.$parent._vnode&&(n.$parent.$el=n.$el)},t.prototype.$forceUpdate=function(){this._watcher&&this._watcher.update()},t.prototype.$destroy=function(){var t=this;if(!t._isBeingDestroyed){Je(t,"beforeDestroy"),t._isBeingDestroyed=!0;var e=t.$parent;!e||e._isBeingDestroyed||t.$options.abstract||v(e.$children,t),t._watcher&&t._watcher.teardown();for(var n=t._watchers.length;n--;)t._watchers[n].teardown();t._data.__ob__&&t._data.__ob__.vmCount--,t._isDestroyed=!0,t.__patch__(t._vnode,null),Je(t,"destroyed"),t.$off(),t.$el&&(t.$el.__vue__=null),t.$vnode&&(t.$vnode.parent=null)}}}(wn),function(t){Le(t.prototype),t.prototype.$nextTick=function(t){return Zt(t,this)},t.prototype._render=function(){var t,e=this,n=e.$options,a=n.render,r=n._parentVnode;r&&(e.$scopedSlots=pe(r.data.scopedSlots,e.$slots,e.$scopedSlots)),e.$vnode=r;try{je=e,t=a.call(e._renderProxy,e.$createElement)}catch(n){Bt(n,e,"render"),t=e._vnode}finally{je=null}return Array.isArray(t)&&1===t.length&&(t=t[0]),t instanceof pt||(t=ht()),t.parent=r,t}}(wn);var $n=[String,RegExp,Array],Sn={KeepAlive:{name:"keep-alive",abstract:!0,props:{include:$n,exclude:$n,max:[String,Number]},created:function(){this.cache=Object.create(null),this.keys=[]},destroyed:function(){for(var t in this.cache)Tn(this.cache,t,this.keys)},mounted:function(){var t=this;this.$watch("include",(function(e){xn(t,(function(t){return Cn(e,t)}))})),this.$watch("exclude",(function(e){xn(t,(function(t){return!Cn(e,t)}))}))},render:function(){var t=this.$slots.default,e=ze(t),n=e&&e.componentOptions;if(n){var a=kn(n),r=this.include,i=this.exclude;if(r&&(!a||!Cn(r,a))||i&&a&&Cn(i,a))return e;var s=this.cache,o=this.keys,l=null==e.key?n.Ctor.cid+(n.tag?"::"+n.tag:""):e.key;s[l]?(e.componentInstance=s[l].componentInstance,v(o,l),o.push(l)):(s[l]=e,o.push(l),this.max&&o.length>parseInt(this.max)&&Tn(s,o[0],o,this._vnode)),e.data.keepAlive=!0}return e||t&&t[0]}}};!function(t){var e={get:function(){return R}};Object.defineProperty(t,"config",e),t.util={warn:st,extend:T,mergeOptions:It,defineReactive:Ct},t.set=xt,t.delete=Tt,t.nextTick=Zt,t.observable=function(t){return kt(t),t},t.options=Object.create(null),I.forEach((function(e){t.options[e+"s"]=Object.create(null)})),t.options._base=t,T(t.options.components,Sn),function(t){t.use=function(t){var e=this._installedPlugins||(this._installedPlugins=[]);if(e.indexOf(t)>-1)return this;var n=x(arguments,1);return n.unshift(this),"function"==typeof t.install?t.install.apply(t,n):"function"==typeof t&&t.apply(null,n),e.push(t),this}}(t),function(t){t.mixin=function(t){return this.options=It(this.options,t),this}}(t),An(t),function(t){I.forEach((function(e){t[e]=function(t,n){return n?("component"===e&&o(n)&&(n.name=n.name||t,n=this.options._base.extend(n)),"directive"===e&&"function"==typeof n&&(n={bind:n,update:n}),this.options[e+"s"][t]=n,n):this.options[e+"s"][t]}}))}(t)}(wn),Object.defineProperty(wn.prototype,"$isServer",{get:et}),Object.defineProperty(wn.prototype,"$ssrContext",{get:function(){return this.$vnode&&this.$vnode.ssrContext}}),Object.defineProperty(wn,"FunctionalRenderContext",{value:Ee}),wn.version="2.6.11";var Ln=p("style,class"),En=p("input,textarea,option,select,progress"),Nn=function(t,e,n){return"value"===n&&En(t)&&"button"!==e||"selected"===n&&"option"===t||"checked"===n&&"input"===t||"muted"===n&&"video"===t},Dn=p("contenteditable,draggable,spellcheck"),Pn=p("events,caret,typing,plaintext-only"),In=p("allowfullscreen,async,autofocus,autoplay,checked,compact,controls,declare,default,defaultchecked,defaultmuted,defaultselected,defer,disabled,enabled,formnovalidate,hidden,indeterminate,inert,ismap,itemscope,loop,multiple,muted,nohref,noresize,noshade,novalidate,nowrap,open,pauseonexit,readonly,required,reversed,scoped,seamless,selected,sortable,translate,truespeed,typemustmatch,visible"),On="http://www.w3.org/1999/xlink",Rn=function(t){return":"===t.charAt(5)&&"xlink"===t.slice(0,5)},Fn=function(t){return Rn(t)?t.slice(6,t.length):""},Mn=function(t){return null==t||!1===t};function jn(t){for(var e=t.data,a=t,r=t;n(r.componentInstance);)(r=r.componentInstance._vnode)&&r.data&&(e=Bn(r.data,e));for(;n(a=a.parent);)a&&a.data&&(e=Bn(e,a.data));return function(t,e){if(n(t)||n(e))return qn(t,zn(e));return""}(e.staticClass,e.class)}function Bn(t,e){return{staticClass:qn(t.staticClass,e.staticClass),class:n(t.class)?[t.class,e.class]:e.class}}function qn(t,e){return t?e?t+" "+e:t:e||""}function zn(t){return Array.isArray(t)?function(t){for(var e,a="",r=0,i=t.length;r<i;r++)n(e=zn(t[r]))&&""!==e&&(a&&(a+=" "),a+=e);return a}(t):i(t)?function(t){var e="";for(var n in t)t[n]&&(e&&(e+=" "),e+=n);return e}(t):"string"==typeof t?t:""}var Un={svg:"http://www.w3.org/2000/svg",math:"http://www.w3.org/1998/Math/MathML"},Hn=p("html,body,base,head,link,meta,style,title,address,article,aside,footer,header,h1,h2,h3,h4,h5,h6,hgroup,nav,section,div,dd,dl,dt,figcaption,figure,picture,hr,img,li,main,ol,p,pre,ul,a,b,abbr,bdi,bdo,br,cite,code,data,dfn,em,i,kbd,mark,q,rp,rt,rtc,ruby,s,samp,small,span,strong,sub,sup,time,u,var,wbr,area,audio,map,track,video,embed,object,param,source,canvas,script,noscript,del,ins,caption,col,colgroup,table,thead,tbody,td,th,tr,button,datalist,fieldset,form,input,label,legend,meter,optgroup,option,output,progress,select,textarea,details,dialog,menu,menuitem,summary,content,element,shadow,template,blockquote,iframe,tfoot"),Vn=p("svg,animate,circle,clippath,cursor,defs,desc,ellipse,filter,font-face,foreignObject,g,glyph,image,line,marker,mask,missing-glyph,path,pattern,polygon,polyline,rect,switch,symbol,text,textpath,tspan,use,view",!0),Wn=function(t){return Hn(t)||Vn(t)};function Qn(t){return Vn(t)?"svg":"math"===t?"math":void 0}var Gn=Object.create(null);var Kn=p("text,number,password,search,email,tel,url");function Yn(t){if("string"==typeof t){var e=document.querySelector(t);return e||document.createElement("div")}return t}var Jn=Object.freeze({createElement:function(t,e){var n=document.createElement(t);return"select"!==t||e.data&&e.data.attrs&&void 0!==e.data.attrs.multiple&&n.setAttribute("multiple","multiple"),n},createElementNS:function(t,e){return document.createElementNS(Un[t],e)},createTextNode:function(t){return document.createTextNode(t)},createComment:function(t){return document.createComment(t)},insertBefore:function(t,e,n){t.insertBefore(e,n)},removeChild:function(t,e){t.removeChild(e)},appendChild:function(t,e){t.appendChild(e)},parentNode:function(t){return t.parentNode},nextSibling:function(t){return t.nextSibling},tagName:function(t){return t.tagName},setTextContent:function(t,e){t.textContent=e},setStyleScope:function(t,e){t.setAttribute(e,"")}}),Xn={create:function(t,e){Zn(e)},update:function(t,e){t.data.ref!==e.data.ref&&(Zn(t,!0),Zn(e))},destroy:function(t){Zn(t,!0)}};function Zn(t,e){var a=t.data.ref;if(n(a)){var r=t.context,i=t.componentInstance||t.elm,s=r.$refs;e?Array.isArray(s[a])?v(s[a],i):s[a]===i&&(s[a]=void 0):t.data.refInFor?Array.isArray(s[a])?s[a].indexOf(i)<0&&s[a].push(i):s[a]=[i]:s[a]=i}}var ta=new pt("",{},[]),ea=["create","activate","update","remove","destroy"];function na(t,r){return t.key===r.key&&(t.tag===r.tag&&t.isComment===r.isComment&&n(t.data)===n(r.data)&&function(t,e){if("input"!==t.tag)return!0;var a,r=n(a=t.data)&&n(a=a.attrs)&&a.type,i=n(a=e.data)&&n(a=a.attrs)&&a.type;return r===i||Kn(r)&&Kn(i)}(t,r)||a(t.isAsyncPlaceholder)&&t.asyncFactory===r.asyncFactory&&e(r.asyncFactory.error))}function aa(t,e,a){var r,i,s={};for(r=e;r<=a;++r)n(i=t[r].key)&&(s[i]=r);return s}var ra={create:ia,update:ia,destroy:function(t){ia(t,ta)}};function ia(t,e){(t.data.directives||e.data.directives)&&function(t,e){var n,a,r,i=t===ta,s=e===ta,o=oa(t.data.directives,t.context),l=oa(e.data.directives,e.context),c=[],u=[];for(n in l)a=o[n],r=l[n],a?(r.oldValue=a.value,r.oldArg=a.arg,ca(r,"update",e,t),r.def&&r.def.componentUpdated&&u.push(r)):(ca(r,"bind",e,t),r.def&&r.def.inserted&&c.push(r));if(c.length){var d=function(){for(var n=0;n<c.length;n++)ca(c[n],"inserted",e,t)};i?ie(e,"insert",d):d()}u.length&&ie(e,"postpatch",(function(){for(var n=0;n<u.length;n++)ca(u[n],"componentUpdated",e,t)}));if(!i)for(n in o)l[n]||ca(o[n],"unbind",t,t,s)}(t,e)}var sa=Object.create(null);function oa(t,e){var n,a,r=Object.create(null);if(!t)return r;for(n=0;n<t.length;n++)(a=t[n]).modifiers||(a.modifiers=sa),r[la(a)]=a,a.def=Ot(e.$options,"directives",a.name);return r}function la(t){return t.rawName||t.name+"."+Object.keys(t.modifiers||{}).join(".")}function ca(t,e,n,a,r){var i=t.def&&t.def[e];if(i)try{i(n.elm,t,n,a,r)}catch(a){Bt(a,n.context,"directive "+t.name+" "+e+" hook")}}var ua=[Xn,ra];function da(t,a){var r=a.componentOptions;if(!(n(r)&&!1===r.Ctor.options.inheritAttrs||e(t.data.attrs)&&e(a.data.attrs))){var i,s,o=a.elm,l=t.data.attrs||{},c=a.data.attrs||{};for(i in n(c.__ob__)&&(c=a.data.attrs=T({},c)),c)s=c[i],l[i]!==s&&pa(o,i,s);for(i in(Q||K)&&c.value!==l.value&&pa(o,"value",c.value),l)e(c[i])&&(Rn(i)?o.removeAttributeNS(On,Fn(i)):Dn(i)||o.removeAttribute(i))}}function pa(t,e,n){t.tagName.indexOf("-")>-1?fa(t,e,n):In(e)?Mn(n)?t.removeAttribute(e):(n="allowfullscreen"===e&&"EMBED"===t.tagName?"true":e,t.setAttribute(e,n)):Dn(e)?t.setAttribute(e,function(t,e){return Mn(e)||"false"===e?"false":"contenteditable"===t&&Pn(e)?e:"true"}(e,n)):Rn(e)?Mn(n)?t.removeAttributeNS(On,Fn(e)):t.setAttributeNS(On,e,n):fa(t,e,n)}function fa(t,e,n){if(Mn(n))t.removeAttribute(e);else{if(Q&&!G&&"TEXTAREA"===t.tagName&&"placeholder"===e&&""!==n&&!t.__ieph){var a=function(e){e.stopImmediatePropagation(),t.removeEventListener("input",a)};t.addEventListener("input",a),t.__ieph=!0}t.setAttribute(e,n)}}var ha={create:da,update:da};function va(t,a){var r=a.elm,i=a.data,s=t.data;if(!(e(i.staticClass)&&e(i.class)&&(e(s)||e(s.staticClass)&&e(s.class)))){var o=jn(a),l=r._transitionClasses;n(l)&&(o=qn(o,zn(l))),o!==r._prevClass&&(r.setAttribute("class",o),r._prevClass=o)}}var ma,ga,_a,ya,ba,wa,Aa={create:va,update:va},ka=/[\w).+\-_$\]]/;function Ca(t){var e,n,a,r,i,s=!1,o=!1,l=!1,c=!1,u=0,d=0,p=0,f=0;for(a=0;a<t.length;a++)if(n=e,e=t.charCodeAt(a),s)39===e&&92!==n&&(s=!1);else if(o)34===e&&92!==n&&(o=!1);else if(l)96===e&&92!==n&&(l=!1);else if(c)47===e&&92!==n&&(c=!1);else if(124!==e||124===t.charCodeAt(a+1)||124===t.charCodeAt(a-1)||u||d||p){switch(e){case 34:o=!0;break;case 39:s=!0;break;case 96:l=!0;break;case 40:p++;break;case 41:p--;break;case 91:d++;break;case 93:d--;break;case 123:u++;break;case 125:u--}if(47===e){for(var h=a-1,v=void 0;h>=0&&" "===(v=t.charAt(h));h--);v&&ka.test(v)||(c=!0)}}else void 0===r?(f=a+1,r=t.slice(0,a).trim()):m();function m(){(i||(i=[])).push(t.slice(f,a).trim()),f=a+1}if(void 0===r?r=t.slice(0,a).trim():0!==f&&m(),i)for(a=0;a<i.length;a++)r=xa(r,i[a]);return r}function xa(t,e){var n=e.indexOf("(");if(n<0)return'_f("'+e+'")('+t+")";var a=e.slice(0,n),r=e.slice(n+1);return'_f("'+a+'")('+t+(")"!==r?","+r:r)}function Ta(t,e){console.error("[Vue compiler]: "+t)}function $a(t,e){return t?t.map((function(t){return t[e]})).filter((function(t){return t})):[]}function Sa(t,e,n,a,r){(t.props||(t.props=[])).push(Fa({name:e,value:n,dynamic:r},a)),t.plain=!1}function La(t,e,n,a,r){(r?t.dynamicAttrs||(t.dynamicAttrs=[]):t.attrs||(t.attrs=[])).push(Fa({name:e,value:n,dynamic:r},a)),t.plain=!1}function Ea(t,e,n,a){t.attrsMap[e]=n,t.attrsList.push(Fa({name:e,value:n},a))}function Na(t,e,n,a,r,i,s,o){(t.directives||(t.directives=[])).push(Fa({name:e,rawName:n,value:a,arg:r,isDynamicArg:i,modifiers:s},o)),t.plain=!1}function Da(t,e,n){return n?"_p("+e+',"'+t+'")':t+e}function Pa(e,n,a,r,i,s,o,l){var c;(r=r||t).right?l?n="("+n+")==='click'?'contextmenu':("+n+")":"click"===n&&(n="contextmenu",delete r.right):r.middle&&(l?n="("+n+")==='click'?'mouseup':("+n+")":"click"===n&&(n="mouseup")),r.capture&&(delete r.capture,n=Da("!",n,l)),r.once&&(delete r.once,n=Da("~",n,l)),r.passive&&(delete r.passive,n=Da("&",n,l)),r.native?(delete r.native,c=e.nativeEvents||(e.nativeEvents={})):c=e.events||(e.events={});var u=Fa({value:a.trim(),dynamic:l},o);r!==t&&(u.modifiers=r);var d=c[n];Array.isArray(d)?i?d.unshift(u):d.push(u):c[n]=d?i?[u,d]:[d,u]:u,e.plain=!1}function Ia(t,e,n){var a=Oa(t,":"+e)||Oa(t,"v-bind:"+e);if(null!=a)return Ca(a);if(!1!==n){var r=Oa(t,e);if(null!=r)return JSON.stringify(r)}}function Oa(t,e,n){var a;if(null!=(a=t.attrsMap[e]))for(var r=t.attrsList,i=0,s=r.length;i<s;i++)if(r[i].name===e){r.splice(i,1);break}return n&&delete t.attrsMap[e],a}function Ra(t,e){for(var n=t.attrsList,a=0,r=n.length;a<r;a++){var i=n[a];if(e.test(i.name))return n.splice(a,1),i}}function Fa(t,e){return e&&(null!=e.start&&(t.start=e.start),null!=e.end&&(t.end=e.end)),t}function Ma(t,e,n){var a=n||{},r=a.number,i="$$v";a.trim&&(i="(typeof $$v === 'string'? $$v.trim(): $$v)"),r&&(i="_n("+i+")");var s=ja(e,i);t.model={value:"("+e+")",expression:JSON.stringify(e),callback:"function ($$v) {"+s+"}"}}function ja(t,e){var n=function(t){if(t=t.trim(),ma=t.length,t.indexOf("[")<0||t.lastIndexOf("]")<ma-1)return(ya=t.lastIndexOf("."))>-1?{exp:t.slice(0,ya),key:'"'+t.slice(ya+1)+'"'}:{exp:t,key:null};ga=t,ya=ba=wa=0;for(;!qa();)za(_a=Ba())?Ha(_a):91===_a&&Ua(_a);return{exp:t.slice(0,ba),key:t.slice(ba+1,wa)}}(t);return null===n.key?t+"="+e:"$set("+n.exp+", "+n.key+", "+e+")"}function Ba(){return ga.charCodeAt(++ya)}function qa(){return ya>=ma}function za(t){return 34===t||39===t}function Ua(t){var e=1;for(ba=ya;!qa();)if(za(t=Ba()))Ha(t);else if(91===t&&e++,93===t&&e--,0===e){wa=ya;break}}function Ha(t){for(var e=t;!qa()&&(t=Ba())!==e;);}var Va;function Wa(t,e,n){var a=Va;return function r(){var i=e.apply(null,arguments);null!==i&&Ka(t,r,n,a)}}var Qa=Vt&&!(J&&Number(J[1])<=53);function Ga(t,e,n,a){if(Qa){var r=rn,i=e;e=i._wrapper=function(t){if(t.target===t.currentTarget||t.timeStamp>=r||t.timeStamp<=0||t.target.ownerDocument!==document)return i.apply(this,arguments)}}Va.addEventListener(t,e,Z?{capture:n,passive:a}:n)}function Ka(t,e,n,a){(a||Va).removeEventListener(t,e._wrapper||e,n)}function Ya(t,a){if(!e(t.data.on)||!e(a.data.on)){var r=a.data.on||{},i=t.data.on||{};Va=a.elm,function(t){if(n(t.__r)){var e=Q?"change":"input";t[e]=[].concat(t.__r,t[e]||[]),delete t.__r}n(t.__c)&&(t.change=[].concat(t.__c,t.change||[]),delete t.__c)}(r),re(r,i,Ga,Ka,Wa,a.context),Va=void 0}}var Ja,Xa={create:Ya,update:Ya};function Za(t,a){if(!e(t.data.domProps)||!e(a.data.domProps)){var r,i,s=a.elm,o=t.data.domProps||{},l=a.data.domProps||{};for(r in n(l.__ob__)&&(l=a.data.domProps=T({},l)),o)r in l||(s[r]="");for(r in l){if(i=l[r],"textContent"===r||"innerHTML"===r){if(a.children&&(a.children.length=0),i===o[r])continue;1===s.childNodes.length&&s.removeChild(s.childNodes[0])}if("value"===r&&"PROGRESS"!==s.tagName){s._value=i;var c=e(i)?"":String(i);tr(s,c)&&(s.value=c)}else if("innerHTML"===r&&Vn(s.tagName)&&e(s.innerHTML)){(Ja=Ja||document.createElement("div")).innerHTML="<svg>"+i+"</svg>";for(var u=Ja.firstChild;s.firstChild;)s.removeChild(s.firstChild);for(;u.firstChild;)s.appendChild(u.firstChild)}else if(i!==o[r])try{s[r]=i}catch(t){}}}}function tr(t,e){return!t.composing&&("OPTION"===t.tagName||function(t,e){var n=!0;try{n=document.activeElement!==t}catch(t){}return n&&t.value!==e}(t,e)||function(t,e){var a=t.value,r=t._vModifiers;if(n(r)){if(r.number)return d(a)!==d(e);if(r.trim)return a.trim()!==e.trim()}return a!==e}(t,e))}var er={create:Za,update:Za},nr=_((function(t){var e={},n=/:(.+)/;return t.split(/;(?![^(]*\))/g).forEach((function(t){if(t){var a=t.split(n);a.length>1&&(e[a[0].trim()]=a[1].trim())}})),e}));function ar(t){var e=rr(t.style);return t.staticStyle?T(t.staticStyle,e):e}function rr(t){return Array.isArray(t)?$(t):"string"==typeof t?nr(t):t}var ir,sr=/^--/,or=/\s*!important$/,lr=function(t,e,n){if(sr.test(e))t.style.setProperty(e,n);else if(or.test(n))t.style.setProperty(k(e),n.replace(or,""),"important");else{var a=ur(e);if(Array.isArray(n))for(var r=0,i=n.length;r<i;r++)t.style[a]=n[r];else t.style[a]=n}},cr=["Webkit","Moz","ms"],ur=_((function(t){if(ir=ir||document.createElement("div").style,"filter"!==(t=b(t))&&t in ir)return t;for(var e=t.charAt(0).toUpperCase()+t.slice(1),n=0;n<cr.length;n++){var a=cr[n]+e;if(a in ir)return a}}));function dr(t,a){var r=a.data,i=t.data;if(!(e(r.staticStyle)&&e(r.style)&&e(i.staticStyle)&&e(i.style))){var s,o,l=a.elm,c=i.staticStyle,u=i.normalizedStyle||i.style||{},d=c||u,p=rr(a.data.style)||{};a.data.normalizedStyle=n(p.__ob__)?T({},p):p;var f=function(t,e){var n,a={};if(e)for(var r=t;r.componentInstance;)(r=r.componentInstance._vnode)&&r.data&&(n=ar(r.data))&&T(a,n);(n=ar(t.data))&&T(a,n);for(var i=t;i=i.parent;)i.data&&(n=ar(i.data))&&T(a,n);return a}(a,!0);for(o in d)e(f[o])&&lr(l,o,"");for(o in f)(s=f[o])!==d[o]&&lr(l,o,null==s?"":s)}}var pr={create:dr,update:dr},fr=/\s+/;function hr(t,e){if(e&&(e=e.trim()))if(t.classList)e.indexOf(" ")>-1?e.split(fr).forEach((function(e){return t.classList.add(e)})):t.classList.add(e);else{var n=" "+(t.getAttribute("class")||"")+" ";n.indexOf(" "+e+" ")<0&&t.setAttribute("class",(n+e).trim())}}function vr(t,e){if(e&&(e=e.trim()))if(t.classList)e.indexOf(" ")>-1?e.split(fr).forEach((function(e){return t.classList.remove(e)})):t.classList.remove(e),t.classList.length||t.removeAttribute("class");else{for(var n=" "+(t.getAttribute("class")||"")+" ",a=" "+e+" ";n.indexOf(a)>=0;)n=n.replace(a," ");(n=n.trim())?t.setAttribute("class",n):t.removeAttribute("class")}}function mr(t){if(t){if("object"==typeof t){var e={};return!1!==t.css&&T(e,gr(t.name||"v")),T(e,t),e}return"string"==typeof t?gr(t):void 0}}var gr=_((function(t){return{enterClass:t+"-enter",enterToClass:t+"-enter-to",enterActiveClass:t+"-enter-active",leaveClass:t+"-leave",leaveToClass:t+"-leave-to",leaveActiveClass:t+"-leave-active"}})),_r=U&&!G,yr="transition",br="transitionend",wr="animation",Ar="animationend";_r&&(void 0===window.ontransitionend&&void 0!==window.onwebkittransitionend&&(yr="WebkitTransition",br="webkitTransitionEnd"),void 0===window.onanimationend&&void 0!==window.onwebkitanimationend&&(wr="WebkitAnimation",Ar="webkitAnimationEnd"));var kr=U?window.requestAnimationFrame?window.requestAnimationFrame.bind(window):setTimeout:function(t){return t()};function Cr(t){kr((function(){kr(t)}))}function xr(t,e){var n=t._transitionClasses||(t._transitionClasses=[]);n.indexOf(e)<0&&(n.push(e),hr(t,e))}function Tr(t,e){t._transitionClasses&&v(t._transitionClasses,e),vr(t,e)}function $r(t,e,n){var a=Lr(t,e),r=a.type,i=a.timeout,s=a.propCount;if(!r)return n();var o="transition"===r?br:Ar,l=0,c=function(){t.removeEventListener(o,u),n()},u=function(e){e.target===t&&++l>=s&&c()};setTimeout((function(){l<s&&c()}),i+1),t.addEventListener(o,u)}var Sr=/\b(transform|all)(,|$)/;function Lr(t,e){var n,a=window.getComputedStyle(t),r=(a[yr+"Delay"]||"").split(", "),i=(a[yr+"Duration"]||"").split(", "),s=Er(r,i),o=(a[wr+"Delay"]||"").split(", "),l=(a[wr+"Duration"]||"").split(", "),c=Er(o,l),u=0,d=0;return"transition"===e?s>0&&(n="transition",u=s,d=i.length):"animation"===e?c>0&&(n="animation",u=c,d=l.length):d=(n=(u=Math.max(s,c))>0?s>c?"transition":"animation":null)?"transition"===n?i.length:l.length:0,{type:n,timeout:u,propCount:d,hasTransform:"transition"===n&&Sr.test(a[yr+"Property"])}}function Er(t,e){for(;t.length<e.length;)t=t.concat(t);return Math.max.apply(null,e.map((function(e,n){return Nr(e)+Nr(t[n])})))}function Nr(t){return 1e3*Number(t.slice(0,-1).replace(",","."))}function Dr(t,a){var r=t.elm;n(r._leaveCb)&&(r._leaveCb.cancelled=!0,r._leaveCb());var s=mr(t.data.transition);if(!e(s)&&!n(r._enterCb)&&1===r.nodeType){for(var o=s.css,l=s.type,c=s.enterClass,u=s.enterToClass,p=s.enterActiveClass,f=s.appearClass,h=s.appearToClass,v=s.appearActiveClass,m=s.beforeEnter,g=s.enter,_=s.afterEnter,y=s.enterCancelled,b=s.beforeAppear,w=s.appear,A=s.afterAppear,k=s.appearCancelled,C=s.duration,x=Qe,T=Qe.$vnode;T&&T.parent;)x=T.context,T=T.parent;var $=!x._isMounted||!t.isRootInsert;if(!$||w||""===w){var S=$&&f?f:c,L=$&&v?v:p,E=$&&h?h:u,N=$&&b||m,D=$&&"function"==typeof w?w:g,I=$&&A||_,O=$&&k||y,R=d(i(C)?C.enter:C),F=!1!==o&&!G,M=Or(D),j=r._enterCb=P((function(){F&&(Tr(r,E),Tr(r,L)),j.cancelled?(F&&Tr(r,S),O&&O(r)):I&&I(r),r._enterCb=null}));t.data.show||ie(t,"insert",(function(){var e=r.parentNode,n=e&&e._pending&&e._pending[t.key];n&&n.tag===t.tag&&n.elm._leaveCb&&n.elm._leaveCb(),D&&D(r,j)})),N&&N(r),F&&(xr(r,S),xr(r,L),Cr((function(){Tr(r,S),j.cancelled||(xr(r,E),M||(Ir(R)?setTimeout(j,R):$r(r,l,j)))}))),t.data.show&&(a&&a(),D&&D(r,j)),F||M||j()}}}function Pr(t,a){var r=t.elm;n(r._enterCb)&&(r._enterCb.cancelled=!0,r._enterCb());var s=mr(t.data.transition);if(e(s)||1!==r.nodeType)return a();if(!n(r._leaveCb)){var o=s.css,l=s.type,c=s.leaveClass,u=s.leaveToClass,p=s.leaveActiveClass,f=s.beforeLeave,h=s.leave,v=s.afterLeave,m=s.leaveCancelled,g=s.delayLeave,_=s.duration,y=!1!==o&&!G,b=Or(h),w=d(i(_)?_.leave:_),A=r._leaveCb=P((function(){r.parentNode&&r.parentNode._pending&&(r.parentNode._pending[t.key]=null),y&&(Tr(r,u),Tr(r,p)),A.cancelled?(y&&Tr(r,c),m&&m(r)):(a(),v&&v(r)),r._leaveCb=null}));g?g(k):k()}function k(){A.cancelled||(!t.data.show&&r.parentNode&&((r.parentNode._pending||(r.parentNode._pending={}))[t.key]=t),f&&f(r),y&&(xr(r,c),xr(r,p),Cr((function(){Tr(r,c),A.cancelled||(xr(r,u),b||(Ir(w)?setTimeout(A,w):$r(r,l,A)))}))),h&&h(r,A),y||b||A())}}function Ir(t){return"number"==typeof t&&!isNaN(t)}function Or(t){if(e(t))return!1;var a=t.fns;return n(a)?Or(Array.isArray(a)?a[0]:a):(t._length||t.length)>1}function Rr(t,e){!0!==e.data.show&&Dr(e)}var Fr=function(t){var i,s,o={},l=t.modules,c=t.nodeOps;for(i=0;i<ea.length;++i)for(o[ea[i]]=[],s=0;s<l.length;++s)n(l[s][ea[i]])&&o[ea[i]].push(l[s][ea[i]]);function u(t){var e=c.parentNode(t);n(e)&&c.removeChild(e,t)}function d(t,e,r,i,s,l,u){if(n(t.elm)&&n(l)&&(t=l[u]=mt(t)),t.isRootInsert=!s,!function(t,e,r,i){var s=t.data;if(n(s)){var l=n(t.componentInstance)&&s.keepAlive;if(n(s=s.hook)&&n(s=s.init)&&s(t,!1),n(t.componentInstance))return f(t,e),h(r,t.elm,i),a(l)&&function(t,e,a,r){var i,s=t;for(;s.componentInstance;)if(s=s.componentInstance._vnode,n(i=s.data)&&n(i=i.transition)){for(i=0;i<o.activate.length;++i)o.activate[i](ta,s);e.push(s);break}h(a,t.elm,r)}(t,e,r,i),!0}}(t,e,r,i)){var d=t.data,p=t.children,m=t.tag;n(m)?(t.elm=t.ns?c.createElementNS(t.ns,m):c.createElement(m,t),_(t),v(t,p,e),n(d)&&g(t,e),h(r,t.elm,i)):a(t.isComment)?(t.elm=c.createComment(t.text),h(r,t.elm,i)):(t.elm=c.createTextNode(t.text),h(r,t.elm,i))}}function f(t,e){n(t.data.pendingInsert)&&(e.push.apply(e,t.data.pendingInsert),t.data.pendingInsert=null),t.elm=t.componentInstance.$el,m(t)?(g(t,e),_(t)):(Zn(t),e.push(t))}function h(t,e,a){n(t)&&(n(a)?c.parentNode(a)===t&&c.insertBefore(t,e,a):c.appendChild(t,e))}function v(t,e,n){if(Array.isArray(e))for(var a=0;a<e.length;++a)d(e[a],n,t.elm,null,!0,e,a);else r(t.text)&&c.appendChild(t.elm,c.createTextNode(String(t.text)))}function m(t){for(;t.componentInstance;)t=t.componentInstance._vnode;return n(t.tag)}function g(t,e){for(var a=0;a<o.create.length;++a)o.create[a](ta,t);n(i=t.data.hook)&&(n(i.create)&&i.create(ta,t),n(i.insert)&&e.push(t))}function _(t){var e;if(n(e=t.fnScopeId))c.setStyleScope(t.elm,e);else for(var a=t;a;)n(e=a.context)&&n(e=e.$options._scopeId)&&c.setStyleScope(t.elm,e),a=a.parent;n(e=Qe)&&e!==t.context&&e!==t.fnContext&&n(e=e.$options._scopeId)&&c.setStyleScope(t.elm,e)}function y(t,e,n,a,r,i){for(;a<=r;++a)d(n[a],i,t,e,!1,n,a)}function b(t){var e,a,r=t.data;if(n(r))for(n(e=r.hook)&&n(e=e.destroy)&&e(t),e=0;e<o.destroy.length;++e)o.destroy[e](t);if(n(e=t.children))for(a=0;a<t.children.length;++a)b(t.children[a])}function w(t,e,a){for(;e<=a;++e){var r=t[e];n(r)&&(n(r.tag)?(A(r),b(r)):u(r.elm))}}function A(t,e){if(n(e)||n(t.data)){var a,r=o.remove.length+1;for(n(e)?e.listeners+=r:e=function(t,e){function n(){0==--n.listeners&&u(t)}return n.listeners=e,n}(t.elm,r),n(a=t.componentInstance)&&n(a=a._vnode)&&n(a.data)&&A(a,e),a=0;a<o.remove.length;++a)o.remove[a](t,e);n(a=t.data.hook)&&n(a=a.remove)?a(t,e):e()}else u(t.elm)}function k(t,e,a,r){for(var i=a;i<r;i++){var s=e[i];if(n(s)&&na(t,s))return i}}function C(t,r,i,s,l,u){if(t!==r){n(r.elm)&&n(s)&&(r=s[l]=mt(r));var p=r.elm=t.elm;if(a(t.isAsyncPlaceholder))n(r.asyncFactory.resolved)?$(t.elm,r,i):r.isAsyncPlaceholder=!0;else if(a(r.isStatic)&&a(t.isStatic)&&r.key===t.key&&(a(r.isCloned)||a(r.isOnce)))r.componentInstance=t.componentInstance;else{var f,h=r.data;n(h)&&n(f=h.hook)&&n(f=f.prepatch)&&f(t,r);var v=t.children,g=r.children;if(n(h)&&m(r)){for(f=0;f<o.update.length;++f)o.update[f](t,r);n(f=h.hook)&&n(f=f.update)&&f(t,r)}e(r.text)?n(v)&&n(g)?v!==g&&function(t,a,r,i,s){for(var o,l,u,p=0,f=0,h=a.length-1,v=a[0],m=a[h],g=r.length-1,_=r[0],b=r[g],A=!s;p<=h&&f<=g;)e(v)?v=a[++p]:e(m)?m=a[--h]:na(v,_)?(C(v,_,i,r,f),v=a[++p],_=r[++f]):na(m,b)?(C(m,b,i,r,g),m=a[--h],b=r[--g]):na(v,b)?(C(v,b,i,r,g),A&&c.insertBefore(t,v.elm,c.nextSibling(m.elm)),v=a[++p],b=r[--g]):na(m,_)?(C(m,_,i,r,f),A&&c.insertBefore(t,m.elm,v.elm),m=a[--h],_=r[++f]):(e(o)&&(o=aa(a,p,h)),e(l=n(_.key)?o[_.key]:k(_,a,p,h))?d(_,i,t,v.elm,!1,r,f):na(u=a[l],_)?(C(u,_,i,r,f),a[l]=void 0,A&&c.insertBefore(t,u.elm,v.elm)):d(_,i,t,v.elm,!1,r,f),_=r[++f]);p>h?y(t,e(r[g+1])?null:r[g+1].elm,r,f,g,i):f>g&&w(a,p,h)}(p,v,g,i,u):n(g)?(n(t.text)&&c.setTextContent(p,""),y(p,null,g,0,g.length-1,i)):n(v)?w(v,0,v.length-1):n(t.text)&&c.setTextContent(p,""):t.text!==r.text&&c.setTextContent(p,r.text),n(h)&&n(f=h.hook)&&n(f=f.postpatch)&&f(t,r)}}}function x(t,e,r){if(a(r)&&n(t.parent))t.parent.data.pendingInsert=e;else for(var i=0;i<e.length;++i)e[i].data.hook.insert(e[i])}var T=p("attrs,class,staticClass,staticStyle,key");function $(t,e,r,i){var s,o=e.tag,l=e.data,c=e.children;if(i=i||l&&l.pre,e.elm=t,a(e.isComment)&&n(e.asyncFactory))return e.isAsyncPlaceholder=!0,!0;if(n(l)&&(n(s=l.hook)&&n(s=s.init)&&s(e,!0),n(s=e.componentInstance)))return f(e,r),!0;if(n(o)){if(n(c))if(t.hasChildNodes())if(n(s=l)&&n(s=s.domProps)&&n(s=s.innerHTML)){if(s!==t.innerHTML)return!1}else{for(var u=!0,d=t.firstChild,p=0;p<c.length;p++){if(!d||!$(d,c[p],r,i)){u=!1;break}d=d.nextSibling}if(!u||d)return!1}else v(e,c,r);if(n(l)){var h=!1;for(var m in l)if(!T(m)){h=!0,g(e,r);break}!h&&l.class&&ee(l.class)}}else t.data!==e.text&&(t.data=e.text);return!0}return function(t,r,i,s){if(!e(r)){var l,u=!1,p=[];if(e(t))u=!0,d(r,p);else{var f=n(t.nodeType);if(!f&&na(t,r))C(t,r,p,null,null,s);else{if(f){if(1===t.nodeType&&t.hasAttribute("data-server-rendered")&&(t.removeAttribute("data-server-rendered"),i=!0),a(i)&&$(t,r,p))return x(r,p,!0),t;l=t,t=new pt(c.tagName(l).toLowerCase(),{},[],void 0,l)}var h=t.elm,v=c.parentNode(h);if(d(r,p,h._leaveCb?null:v,c.nextSibling(h)),n(r.parent))for(var g=r.parent,_=m(r);g;){for(var y=0;y<o.destroy.length;++y)o.destroy[y](g);if(g.elm=r.elm,_){for(var A=0;A<o.create.length;++A)o.create[A](ta,g);var k=g.data.hook.insert;if(k.merged)for(var T=1;T<k.fns.length;T++)k.fns[T]()}else Zn(g);g=g.parent}n(v)?w([t],0,0):n(t.tag)&&b(t)}}return x(r,p,u),r.elm}n(t)&&b(t)}}({nodeOps:Jn,modules:[ha,Aa,Xa,er,pr,U?{create:Rr,activate:Rr,remove:function(t,e){!0!==t.data.show?Pr(t,e):e()}}:{}].concat(ua)});G&&document.addEventListener("selectionchange",(function(){var t=document.activeElement;t&&t.vmodel&&Vr(t,"input")}));var Mr={inserted:function(t,e,n,a){"select"===n.tag?(a.elm&&!a.elm._vOptions?ie(n,"postpatch",(function(){Mr.componentUpdated(t,e,n)})):jr(t,e,n.context),t._vOptions=[].map.call(t.options,zr)):("textarea"===n.tag||Kn(t.type))&&(t._vModifiers=e.modifiers,e.modifiers.lazy||(t.addEventListener("compositionstart",Ur),t.addEventListener("compositionend",Hr),t.addEventListener("change",Hr),G&&(t.vmodel=!0)))},componentUpdated:function(t,e,n){if("select"===n.tag){jr(t,e,n.context);var a=t._vOptions,r=t._vOptions=[].map.call(t.options,zr);if(r.some((function(t,e){return!N(t,a[e])})))(t.multiple?e.value.some((function(t){return qr(t,r)})):e.value!==e.oldValue&&qr(e.value,r))&&Vr(t,"change")}}};function jr(t,e,n){Br(t,e),(Q||K)&&setTimeout((function(){Br(t,e)}),0)}function Br(t,e,n){var a=e.value,r=t.multiple;if(!r||Array.isArray(a)){for(var i,s,o=0,l=t.options.length;o<l;o++)if(s=t.options[o],r)i=D(a,zr(s))>-1,s.selected!==i&&(s.selected=i);else if(N(zr(s),a))return void(t.selectedIndex!==o&&(t.selectedIndex=o));r||(t.selectedIndex=-1)}}function qr(t,e){return e.every((function(e){return!N(e,t)}))}function zr(t){return"_value"in t?t._value:t.value}function Ur(t){t.target.composing=!0}function Hr(t){t.target.composing&&(t.target.composing=!1,Vr(t.target,"input"))}function Vr(t,e){var n=document.createEvent("HTMLEvents");n.initEvent(e,!0,!0),t.dispatchEvent(n)}function Wr(t){return!t.componentInstance||t.data&&t.data.transition?t:Wr(t.componentInstance._vnode)}var Qr={model:Mr,show:{bind:function(t,e,n){var a=e.value,r=(n=Wr(n)).data&&n.data.transition,i=t.__vOriginalDisplay="none"===t.style.display?"":t.style.display;a&&r?(n.data.show=!0,Dr(n,(function(){t.style.display=i}))):t.style.display=a?i:"none"},update:function(t,e,n){var a=e.value;!a!=!e.oldValue&&((n=Wr(n)).data&&n.data.transition?(n.data.show=!0,a?Dr(n,(function(){t.style.display=t.__vOriginalDisplay})):Pr(n,(function(){t.style.display="none"}))):t.style.display=a?t.__vOriginalDisplay:"none")},unbind:function(t,e,n,a,r){r||(t.style.display=t.__vOriginalDisplay)}}},Gr={name:String,appear:Boolean,css:Boolean,mode:String,type:String,enterClass:String,leaveClass:String,enterToClass:String,leaveToClass:String,enterActiveClass:String,leaveActiveClass:String,appearClass:String,appearActiveClass:String,appearToClass:String,duration:[Number,String,Object]};function Kr(t){var e=t&&t.componentOptions;return e&&e.Ctor.options.abstract?Kr(ze(e.children)):t}function Yr(t){var e={},n=t.$options;for(var a in n.propsData)e[a]=t[a];var r=n._parentListeners;for(var i in r)e[b(i)]=r[i];return e}function Jr(t,e){if(/\d-keep-alive$/.test(e.tag))return t("keep-alive",{props:e.componentOptions.propsData})}var Xr=function(t){return t.tag||qe(t)},Zr=function(t){return"show"===t.name},ti={name:"transition",props:Gr,abstract:!0,render:function(t){var e=this,n=this.$slots.default;if(n&&(n=n.filter(Xr)).length){var a=this.mode,i=n[0];if(function(t){for(;t=t.parent;)if(t.data.transition)return!0}(this.$vnode))return i;var s=Kr(i);if(!s)return i;if(this._leaving)return Jr(t,i);var o="__transition-"+this._uid+"-";s.key=null==s.key?s.isComment?o+"comment":o+s.tag:r(s.key)?0===String(s.key).indexOf(o)?s.key:o+s.key:s.key;var l=(s.data||(s.data={})).transition=Yr(this),c=this._vnode,u=Kr(c);if(s.data.directives&&s.data.directives.some(Zr)&&(s.data.show=!0),u&&u.data&&!function(t,e){return e.key===t.key&&e.tag===t.tag}(s,u)&&!qe(u)&&(!u.componentInstance||!u.componentInstance._vnode.isComment)){var d=u.data.transition=T({},l);if("out-in"===a)return this._leaving=!0,ie(d,"afterLeave",(function(){e._leaving=!1,e.$forceUpdate()})),Jr(t,i);if("in-out"===a){if(qe(s))return c;var p,f=function(){p()};ie(l,"afterEnter",f),ie(l,"enterCancelled",f),ie(d,"delayLeave",(function(t){p=t}))}}return i}}},ei=T({tag:String,moveClass:String},Gr);function ni(t){t.elm._moveCb&&t.elm._moveCb(),t.elm._enterCb&&t.elm._enterCb()}function ai(t){t.data.newPos=t.elm.getBoundingClientRect()}function ri(t){var e=t.data.pos,n=t.data.newPos,a=e.left-n.left,r=e.top-n.top;if(a||r){t.data.moved=!0;var i=t.elm.style;i.transform=i.WebkitTransform="translate("+a+"px,"+r+"px)",i.transitionDuration="0s"}}delete ei.mode;var ii={Transition:ti,TransitionGroup:{props:ei,beforeMount:function(){var t=this,e=this._update;this._update=function(n,a){var r=Ge(t);t.__patch__(t._vnode,t.kept,!1,!0),t._vnode=t.kept,r(),e.call(t,n,a)}},render:function(t){for(var e=this.tag||this.$vnode.data.tag||"span",n=Object.create(null),a=this.prevChildren=this.children,r=this.$slots.default||[],i=this.children=[],s=Yr(this),o=0;o<r.length;o++){var l=r[o];l.tag&&null!=l.key&&0!==String(l.key).indexOf("__vlist")&&(i.push(l),n[l.key]=l,(l.data||(l.data={})).transition=s)}if(a){for(var c=[],u=[],d=0;d<a.length;d++){var p=a[d];p.data.transition=s,p.data.pos=p.elm.getBoundingClientRect(),n[p.key]?c.push(p):u.push(p)}this.kept=t(e,null,c),this.removed=u}return t(e,null,i)},updated:function(){var t=this.prevChildren,e=this.moveClass||(this.name||"v")+"-move";t.length&&this.hasMove(t[0].elm,e)&&(t.forEach(ni),t.forEach(ai),t.forEach(ri),this._reflow=document.body.offsetHeight,t.forEach((function(t){if(t.data.moved){var n=t.elm,a=n.style;xr(n,e),a.transform=a.WebkitTransform=a.transitionDuration="",n.addEventListener(br,n._moveCb=function t(a){a&&a.target!==n||a&&!/transform$/.test(a.propertyName)||(n.removeEventListener(br,t),n._moveCb=null,Tr(n,e))})}})))},methods:{hasMove:function(t,e){if(!_r)return!1;if(this._hasMove)return this._hasMove;var n=t.cloneNode();t._transitionClasses&&t._transitionClasses.forEach((function(t){vr(n,t)})),hr(n,e),n.style.display="none",this.$el.appendChild(n);var a=Lr(n);return this.$el.removeChild(n),this._hasMove=a.hasTransform}}}};wn.config.mustUseProp=Nn,wn.config.isReservedTag=Wn,wn.config.isReservedAttr=Ln,wn.config.getTagNamespace=Qn,wn.config.isUnknownElement=function(t){if(!U)return!0;if(Wn(t))return!1;if(t=t.toLowerCase(),null!=Gn[t])return Gn[t];var e=document.createElement(t);return t.indexOf("-")>-1?Gn[t]=e.constructor===window.HTMLUnknownElement||e.constructor===window.HTMLElement:Gn[t]=/HTMLUnknownElement/.test(e.toString())},T(wn.options.directives,Qr),T(wn.options.components,ii),wn.prototype.__patch__=U?Fr:S,wn.prototype.$mount=function(t,e){return function(t,e,n){var a;return t.$el=e,t.$options.render||(t.$options.render=ht),Je(t,"beforeMount"),a=function(){t._update(t._render(),n)},new un(t,a,S,{before:function(){t._isMounted&&!t._isDestroyed&&Je(t,"beforeUpdate")}},!0),n=!1,null==t.$vnode&&(t._isMounted=!0,Je(t,"mounted")),t}(this,t=t&&U?Yn(t):void 0,e)},U&&setTimeout((function(){R.devtools&&nt&&nt.emit("init",wn)}),0);var si=/\{\{((?:.|\r?\n)+?)\}\}/g,oi=/[-.*+?^${}()|[\]\/\\]/g,li=_((function(t){var e=t[0].replace(oi,"\\$&"),n=t[1].replace(oi,"\\$&");return new RegExp(e+"((?:.|\\n)+?)"+n,"g")}));var ci={staticKeys:["staticClass"],transformNode:function(t,e){e.warn;var n=Oa(t,"class");n&&(t.staticClass=JSON.stringify(n));var a=Ia(t,"class",!1);a&&(t.classBinding=a)},genData:function(t){var e="";return t.staticClass&&(e+="staticClass:"+t.staticClass+","),t.classBinding&&(e+="class:"+t.classBinding+","),e}};var ui,di={staticKeys:["staticStyle"],transformNode:function(t,e){e.warn;var n=Oa(t,"style");n&&(t.staticStyle=JSON.stringify(nr(n)));var a=Ia(t,"style",!1);a&&(t.styleBinding=a)},genData:function(t){var e="";return t.staticStyle&&(e+="staticStyle:"+t.staticStyle+","),t.styleBinding&&(e+="style:("+t.styleBinding+"),"),e}},pi=function(t){return(ui=ui||document.createElement("div")).innerHTML=t,ui.textContent},fi=p("area,base,br,col,embed,frame,hr,img,input,isindex,keygen,link,meta,param,source,track,wbr"),hi=p("colgroup,dd,dt,li,options,p,td,tfoot,th,thead,tr,source"),vi=p("address,article,aside,base,blockquote,body,caption,col,colgroup,dd,details,dialog,div,dl,dt,fieldset,figcaption,figure,footer,form,h1,h2,h3,h4,h5,h6,head,header,hgroup,hr,html,legend,li,menuitem,meta,optgroup,option,param,rp,rt,source,style,summary,tbody,td,tfoot,th,thead,title,tr,track"),mi=/^\s*([^\s"'<>\/=]+)(?:\s*(=)\s*(?:"([^"]*)"+|'([^']*)'+|([^\s"'=<>`]+)))?/,gi=/^\s*((?:v-[\w-]+:|@|:|#)\[[^=]+\][^\s"'<>\/=]*)(?:\s*(=)\s*(?:"([^"]*)"+|'([^']*)'+|([^\s"'=<>`]+)))?/,_i="[a-zA-Z_][\\-\\.0-9_a-zA-Z"+F.source+"]*",yi="((?:"+_i+"\\:)?"+_i+")",bi=new RegExp("^<"+yi),wi=/^\s*(\/?)>/,Ai=new RegExp("^<\\/"+yi+"[^>]*>"),ki=/^<!DOCTYPE [^>]+>/i,Ci=/^<!\--/,xi=/^<!\[/,Ti=p("script,style,textarea",!0),$i={},Si={"&lt;":"<","&gt;":">","&quot;":'"',"&amp;":"&","&#10;":"\n","&#9;":"\t","&#39;":"'"},Li=/&(?:lt|gt|quot|amp|#39);/g,Ei=/&(?:lt|gt|quot|amp|#39|#10|#9);/g,Ni=p("pre,textarea",!0),Di=function(t,e){return t&&Ni(t)&&"\n"===e[0]};function Pi(t,e){var n=e?Ei:Li;return t.replace(n,(function(t){return Si[t]}))}var Ii,Oi,Ri,Fi,Mi,ji,Bi,qi,zi=/^@|^v-on:/,Ui=/^v-|^@|^:|^#/,Hi=/([\s\S]*?)\s+(?:in|of)\s+([\s\S]*)/,Vi=/,([^,\}\]]*)(?:,([^,\}\]]*))?$/,Wi=/^\(|\)$/g,Qi=/^\[.*\]$/,Gi=/:(.*)$/,Ki=/^:|^\.|^v-bind:/,Yi=/\.[^.\]]+(?=[^\]]*$)/g,Ji=/^v-slot(:|$)|^#/,Xi=/[\r\n]/,Zi=/\s+/g,ts=_(pi);function es(t,e,n){return{type:1,tag:t,attrsList:e,attrsMap:ls(e),rawAttrsMap:{},parent:n,children:[]}}function ns(t,e){Ii=e.warn||Ta,ji=e.isPreTag||L,Bi=e.mustUseProp||L,qi=e.getTagNamespace||L;e.isReservedTag;Ri=$a(e.modules,"transformNode"),Fi=$a(e.modules,"preTransformNode"),Mi=$a(e.modules,"postTransformNode"),Oi=e.delimiters;var n,a,r=[],i=!1!==e.preserveWhitespace,s=e.whitespace,o=!1,l=!1;function c(t){if(u(t),o||t.processed||(t=as(t,e)),r.length||t===n||n.if&&(t.elseif||t.else)&&is(n,{exp:t.elseif,block:t}),a&&!t.forbidden)if(t.elseif||t.else)s=t,(c=function(t){for(var e=t.length;e--;){if(1===t[e].type)return t[e];t.pop()}}(a.children))&&c.if&&is(c,{exp:s.elseif,block:s});else{if(t.slotScope){var i=t.slotTarget||'"default"';(a.scopedSlots||(a.scopedSlots={}))[i]=t}a.children.push(t),t.parent=a}var s,c;t.children=t.children.filter((function(t){return!t.slotScope})),u(t),t.pre&&(o=!1),ji(t.tag)&&(l=!1);for(var d=0;d<Mi.length;d++)Mi[d](t,e)}function u(t){if(!l)for(var e;(e=t.children[t.children.length-1])&&3===e.type&&" "===e.text;)t.children.pop()}return function(t,e){for(var n,a,r=[],i=e.expectHTML,s=e.isUnaryTag||L,o=e.canBeLeftOpenTag||L,l=0;t;){if(n=t,a&&Ti(a)){var c=0,u=a.toLowerCase(),d=$i[u]||($i[u]=new RegExp("([\\s\\S]*?)(</"+u+"[^>]*>)","i")),p=t.replace(d,(function(t,n,a){return c=a.length,Ti(u)||"noscript"===u||(n=n.replace(/<!\--([\s\S]*?)-->/g,"$1").replace(/<!\[CDATA\[([\s\S]*?)]]>/g,"$1")),Di(u,n)&&(n=n.slice(1)),e.chars&&e.chars(n),""}));l+=t.length-p.length,t=p,T(u,l-c,l)}else{var f=t.indexOf("<");if(0===f){if(Ci.test(t)){var h=t.indexOf("--\x3e");if(h>=0){e.shouldKeepComment&&e.comment(t.substring(4,h),l,l+h+3),k(h+3);continue}}if(xi.test(t)){var v=t.indexOf("]>");if(v>=0){k(v+2);continue}}var m=t.match(ki);if(m){k(m[0].length);continue}var g=t.match(Ai);if(g){var _=l;k(g[0].length),T(g[1],_,l);continue}var y=C();if(y){x(y),Di(y.tagName,t)&&k(1);continue}}var b=void 0,w=void 0,A=void 0;if(f>=0){for(w=t.slice(f);!(Ai.test(w)||bi.test(w)||Ci.test(w)||xi.test(w)||(A=w.indexOf("<",1))<0);)f+=A,w=t.slice(f);b=t.substring(0,f)}f<0&&(b=t),b&&k(b.length),e.chars&&b&&e.chars(b,l-b.length,l)}if(t===n){e.chars&&e.chars(t);break}}function k(e){l+=e,t=t.substring(e)}function C(){var e=t.match(bi);if(e){var n,a,r={tagName:e[1],attrs:[],start:l};for(k(e[0].length);!(n=t.match(wi))&&(a=t.match(gi)||t.match(mi));)a.start=l,k(a[0].length),a.end=l,r.attrs.push(a);if(n)return r.unarySlash=n[1],k(n[0].length),r.end=l,r}}function x(t){var n=t.tagName,l=t.unarySlash;i&&("p"===a&&vi(n)&&T(a),o(n)&&a===n&&T(n));for(var c=s(n)||!!l,u=t.attrs.length,d=new Array(u),p=0;p<u;p++){var f=t.attrs[p],h=f[3]||f[4]||f[5]||"",v="a"===n&&"href"===f[1]?e.shouldDecodeNewlinesForHref:e.shouldDecodeNewlines;d[p]={name:f[1],value:Pi(h,v)}}c||(r.push({tag:n,lowerCasedTag:n.toLowerCase(),attrs:d,start:t.start,end:t.end}),a=n),e.start&&e.start(n,d,c,t.start,t.end)}function T(t,n,i){var s,o;if(null==n&&(n=l),null==i&&(i=l),t)for(o=t.toLowerCase(),s=r.length-1;s>=0&&r[s].lowerCasedTag!==o;s--);else s=0;if(s>=0){for(var c=r.length-1;c>=s;c--)e.end&&e.end(r[c].tag,n,i);r.length=s,a=s&&r[s-1].tag}else"br"===o?e.start&&e.start(t,[],!0,n,i):"p"===o&&(e.start&&e.start(t,[],!1,n,i),e.end&&e.end(t,n,i))}T()}(t,{warn:Ii,expectHTML:e.expectHTML,isUnaryTag:e.isUnaryTag,canBeLeftOpenTag:e.canBeLeftOpenTag,shouldDecodeNewlines:e.shouldDecodeNewlines,shouldDecodeNewlinesForHref:e.shouldDecodeNewlinesForHref,shouldKeepComment:e.comments,outputSourceRange:e.outputSourceRange,start:function(t,i,s,u,d){var p=a&&a.ns||qi(t);Q&&"svg"===p&&(i=function(t){for(var e=[],n=0;n<t.length;n++){var a=t[n];cs.test(a.name)||(a.name=a.name.replace(us,""),e.push(a))}return e}(i));var f,h=es(t,i,a);p&&(h.ns=p),"style"!==(f=h).tag&&("script"!==f.tag||f.attrsMap.type&&"text/javascript"!==f.attrsMap.type)||et()||(h.forbidden=!0);for(var v=0;v<Fi.length;v++)h=Fi[v](h,e)||h;o||(!function(t){null!=Oa(t,"v-pre")&&(t.pre=!0)}(h),h.pre&&(o=!0)),ji(h.tag)&&(l=!0),o?function(t){var e=t.attrsList,n=e.length;if(n)for(var a=t.attrs=new Array(n),r=0;r<n;r++)a[r]={name:e[r].name,value:JSON.stringify(e[r].value)},null!=e[r].start&&(a[r].start=e[r].start,a[r].end=e[r].end);else t.pre||(t.plain=!0)}(h):h.processed||(rs(h),function(t){var e=Oa(t,"v-if");if(e)t.if=e,is(t,{exp:e,block:t});else{null!=Oa(t,"v-else")&&(t.else=!0);var n=Oa(t,"v-else-if");n&&(t.elseif=n)}}(h),function(t){null!=Oa(t,"v-once")&&(t.once=!0)}(h)),n||(n=h),s?c(h):(a=h,r.push(h))},end:function(t,e,n){var i=r[r.length-1];r.length-=1,a=r[r.length-1],c(i)},chars:function(t,e,n){if(a&&(!Q||"textarea"!==a.tag||a.attrsMap.placeholder!==t)){var r,c,u,d=a.children;if(t=l||t.trim()?"script"===(r=a).tag||"style"===r.tag?t:ts(t):d.length?s?"condense"===s&&Xi.test(t)?"":" ":i?" ":"":"")l||"condense"!==s||(t=t.replace(Zi," ")),!o&&" "!==t&&(c=function(t,e){var n=e?li(e):si;if(n.test(t)){for(var a,r,i,s=[],o=[],l=n.lastIndex=0;a=n.exec(t);){(r=a.index)>l&&(o.push(i=t.slice(l,r)),s.push(JSON.stringify(i)));var c=Ca(a[1].trim());s.push("_s("+c+")"),o.push({"@binding":c}),l=r+a[0].length}return l<t.length&&(o.push(i=t.slice(l)),s.push(JSON.stringify(i))),{expression:s.join("+"),tokens:o}}}(t,Oi))?u={type:2,expression:c.expression,tokens:c.tokens,text:t}:" "===t&&d.length&&" "===d[d.length-1].text||(u={type:3,text:t}),u&&d.push(u)}},comment:function(t,e,n){if(a){var r={type:3,text:t,isComment:!0};a.children.push(r)}}}),n}function as(t,e){var n,a;(a=Ia(n=t,"key"))&&(n.key=a),t.plain=!t.key&&!t.scopedSlots&&!t.attrsList.length,function(t){var e=Ia(t,"ref");e&&(t.ref=e,t.refInFor=function(t){var e=t;for(;e;){if(void 0!==e.for)return!0;e=e.parent}return!1}(t))}(t),function(t){var e;"template"===t.tag?(e=Oa(t,"scope"),t.slotScope=e||Oa(t,"slot-scope")):(e=Oa(t,"slot-scope"))&&(t.slotScope=e);var n=Ia(t,"slot");n&&(t.slotTarget='""'===n?'"default"':n,t.slotTargetDynamic=!(!t.attrsMap[":slot"]&&!t.attrsMap["v-bind:slot"]),"template"===t.tag||t.slotScope||La(t,"slot",n,function(t,e){return t.rawAttrsMap[":"+e]||t.rawAttrsMap["v-bind:"+e]||t.rawAttrsMap[e]}(t,"slot")));if("template"===t.tag){var a=Ra(t,Ji);if(a){var r=ss(a),i=r.name,s=r.dynamic;t.slotTarget=i,t.slotTargetDynamic=s,t.slotScope=a.value||"_empty_"}}else{var o=Ra(t,Ji);if(o){var l=t.scopedSlots||(t.scopedSlots={}),c=ss(o),u=c.name,d=c.dynamic,p=l[u]=es("template",[],t);p.slotTarget=u,p.slotTargetDynamic=d,p.children=t.children.filter((function(t){if(!t.slotScope)return t.parent=p,!0})),p.slotScope=o.value||"_empty_",t.children=[],t.plain=!1}}}(t),function(t){"slot"===t.tag&&(t.slotName=Ia(t,"name"))}(t),function(t){var e;(e=Ia(t,"is"))&&(t.component=e);null!=Oa(t,"inline-template")&&(t.inlineTemplate=!0)}(t);for(var r=0;r<Ri.length;r++)t=Ri[r](t,e)||t;return function(t){var e,n,a,r,i,s,o,l,c=t.attrsList;for(e=0,n=c.length;e<n;e++)if(a=r=c[e].name,i=c[e].value,Ui.test(a))if(t.hasBindings=!0,(s=os(a.replace(Ui,"")))&&(a=a.replace(Yi,"")),Ki.test(a))a=a.replace(Ki,""),i=Ca(i),(l=Qi.test(a))&&(a=a.slice(1,-1)),s&&(s.prop&&!l&&"innerHtml"===(a=b(a))&&(a="innerHTML"),s.camel&&!l&&(a=b(a)),s.sync&&(o=ja(i,"$event"),l?Pa(t,'"update:"+('+a+")",o,null,!1,0,c[e],!0):(Pa(t,"update:"+b(a),o,null,!1,0,c[e]),k(a)!==b(a)&&Pa(t,"update:"+k(a),o,null,!1,0,c[e])))),s&&s.prop||!t.component&&Bi(t.tag,t.attrsMap.type,a)?Sa(t,a,i,c[e],l):La(t,a,i,c[e],l);else if(zi.test(a))a=a.replace(zi,""),(l=Qi.test(a))&&(a=a.slice(1,-1)),Pa(t,a,i,s,!1,0,c[e],l);else{var u=(a=a.replace(Ui,"")).match(Gi),d=u&&u[1];l=!1,d&&(a=a.slice(0,-(d.length+1)),Qi.test(d)&&(d=d.slice(1,-1),l=!0)),Na(t,a,r,i,d,l,s,c[e])}else La(t,a,JSON.stringify(i),c[e]),!t.component&&"muted"===a&&Bi(t.tag,t.attrsMap.type,a)&&Sa(t,a,"true",c[e])}(t),t}function rs(t){var e;if(e=Oa(t,"v-for")){var n=function(t){var e=t.match(Hi);if(!e)return;var n={};n.for=e[2].trim();var a=e[1].trim().replace(Wi,""),r=a.match(Vi);r?(n.alias=a.replace(Vi,"").trim(),n.iterator1=r[1].trim(),r[2]&&(n.iterator2=r[2].trim())):n.alias=a;return n}(e);n&&T(t,n)}}function is(t,e){t.ifConditions||(t.ifConditions=[]),t.ifConditions.push(e)}function ss(t){var e=t.name.replace(Ji,"");return e||"#"!==t.name[0]&&(e="default"),Qi.test(e)?{name:e.slice(1,-1),dynamic:!0}:{name:'"'+e+'"',dynamic:!1}}function os(t){var e=t.match(Yi);if(e){var n={};return e.forEach((function(t){n[t.slice(1)]=!0})),n}}function ls(t){for(var e={},n=0,a=t.length;n<a;n++)e[t[n].name]=t[n].value;return e}var cs=/^xmlns:NS\d+/,us=/^NS\d+:/;function ds(t){return es(t.tag,t.attrsList.slice(),t.parent)}var ps=[ci,di,{preTransformNode:function(t,e){if("input"===t.tag){var n,a=t.attrsMap;if(!a["v-model"])return;if((a[":type"]||a["v-bind:type"])&&(n=Ia(t,"type")),a.type||n||!a["v-bind"]||(n="("+a["v-bind"]+").type"),n){var r=Oa(t,"v-if",!0),i=r?"&&("+r+")":"",s=null!=Oa(t,"v-else",!0),o=Oa(t,"v-else-if",!0),l=ds(t);rs(l),Ea(l,"type","checkbox"),as(l,e),l.processed=!0,l.if="("+n+")==='checkbox'"+i,is(l,{exp:l.if,block:l});var c=ds(t);Oa(c,"v-for",!0),Ea(c,"type","radio"),as(c,e),is(l,{exp:"("+n+")==='radio'"+i,block:c});var u=ds(t);return Oa(u,"v-for",!0),Ea(u,":type",n),as(u,e),is(l,{exp:r,block:u}),s?l.else=!0:o&&(l.elseif=o),l}}}}];var fs,hs,vs={expectHTML:!0,modules:ps,directives:{model:function(t,e,n){var a=e.value,r=e.modifiers,i=t.tag,s=t.attrsMap.type;if(t.component)return Ma(t,a,r),!1;if("select"===i)!function(t,e,n){var a='var $$selectedVal = Array.prototype.filter.call($event.target.options,function(o){return o.selected}).map(function(o){var val = "_value" in o ? o._value : o.value;return '+(n&&n.number?"_n(val)":"val")+"});";a=a+" "+ja(e,"$event.target.multiple ? $$selectedVal : $$selectedVal[0]"),Pa(t,"change",a,null,!0)}(t,a,r);else if("input"===i&&"checkbox"===s)!function(t,e,n){var a=n&&n.number,r=Ia(t,"value")||"null",i=Ia(t,"true-value")||"true",s=Ia(t,"false-value")||"false";Sa(t,"checked","Array.isArray("+e+")?_i("+e+","+r+")>-1"+("true"===i?":("+e+")":":_q("+e+","+i+")")),Pa(t,"change","var $$a="+e+",$$el=$event.target,$$c=$$el.checked?("+i+"):("+s+");if(Array.isArray($$a)){var $$v="+(a?"_n("+r+")":r)+",$$i=_i($$a,$$v);if($$el.checked){$$i<0&&("+ja(e,"$$a.concat([$$v])")+")}else{$$i>-1&&("+ja(e,"$$a.slice(0,$$i).concat($$a.slice($$i+1))")+")}}else{"+ja(e,"$$c")+"}",null,!0)}(t,a,r);else if("input"===i&&"radio"===s)!function(t,e,n){var a=n&&n.number,r=Ia(t,"value")||"null";Sa(t,"checked","_q("+e+","+(r=a?"_n("+r+")":r)+")"),Pa(t,"change",ja(e,r),null,!0)}(t,a,r);else if("input"===i||"textarea"===i)!function(t,e,n){var a=t.attrsMap.type,r=n||{},i=r.lazy,s=r.number,o=r.trim,l=!i&&"range"!==a,c=i?"change":"range"===a?"__r":"input",u="$event.target.value";o&&(u="$event.target.value.trim()");s&&(u="_n("+u+")");var d=ja(e,u);l&&(d="if($event.target.composing)return;"+d);Sa(t,"value","("+e+")"),Pa(t,c,d,null,!0),(o||s)&&Pa(t,"blur","$forceUpdate()")}(t,a,r);else if(!R.isReservedTag(i))return Ma(t,a,r),!1;return!0},text:function(t,e){e.value&&Sa(t,"textContent","_s("+e.value+")",e)},html:function(t,e){e.value&&Sa(t,"innerHTML","_s("+e.value+")",e)}},isPreTag:function(t){return"pre"===t},isUnaryTag:fi,mustUseProp:Nn,canBeLeftOpenTag:hi,isReservedTag:Wn,getTagNamespace:Qn,staticKeys:function(t){return t.reduce((function(t,e){return t.concat(e.staticKeys||[])}),[]).join(",")}(ps)},ms=_((function(t){return p("type,tag,attrsList,attrsMap,plain,parent,children,attrs,start,end,rawAttrsMap"+(t?","+t:""))}));function gs(t,e){t&&(fs=ms(e.staticKeys||""),hs=e.isReservedTag||L,function t(e){if(e.static=function(t){if(2===t.type)return!1;if(3===t.type)return!0;return!(!t.pre&&(t.hasBindings||t.if||t.for||f(t.tag)||!hs(t.tag)||function(t){for(;t.parent;){if("template"!==(t=t.parent).tag)return!1;if(t.for)return!0}return!1}(t)||!Object.keys(t).every(fs)))}(e),1===e.type){if(!hs(e.tag)&&"slot"!==e.tag&&null==e.attrsMap["inline-template"])return;for(var n=0,a=e.children.length;n<a;n++){var r=e.children[n];t(r),r.static||(e.static=!1)}if(e.ifConditions)for(var i=1,s=e.ifConditions.length;i<s;i++){var o=e.ifConditions[i].block;t(o),o.static||(e.static=!1)}}}(t),function t(e,n){if(1===e.type){if((e.static||e.once)&&(e.staticInFor=n),e.static&&e.children.length&&(1!==e.children.length||3!==e.children[0].type))return void(e.staticRoot=!0);if(e.staticRoot=!1,e.children)for(var a=0,r=e.children.length;a<r;a++)t(e.children[a],n||!!e.for);if(e.ifConditions)for(var i=1,s=e.ifConditions.length;i<s;i++)t(e.ifConditions[i].block,n)}}(t,!1))}var _s=/^([\w$_]+|\([^)]*?\))\s*=>|^function(?:\s+[\w$]+)?\s*\(/,ys=/\([^)]*?\);*$/,bs=/^[A-Za-z_$][\w$]*(?:\.[A-Za-z_$][\w$]*|\['[^']*?']|\["[^"]*?"]|\[\d+]|\[[A-Za-z_$][\w$]*])*$/,ws={esc:27,tab:9,enter:13,space:32,up:38,left:37,right:39,down:40,delete:[8,46]},As={esc:["Esc","Escape"],tab:"Tab",enter:"Enter",space:[" ","Spacebar"],up:["Up","ArrowUp"],left:["Left","ArrowLeft"],right:["Right","ArrowRight"],down:["Down","ArrowDown"],delete:["Backspace","Delete","Del"]},ks=function(t){return"if("+t+")return null;"},Cs={stop:"$event.stopPropagation();",prevent:"$event.preventDefault();",self:ks("$event.target !== $event.currentTarget"),ctrl:ks("!$event.ctrlKey"),shift:ks("!$event.shiftKey"),alt:ks("!$event.altKey"),meta:ks("!$event.metaKey"),left:ks("'button' in $event && $event.button !== 0"),middle:ks("'button' in $event && $event.button !== 1"),right:ks("'button' in $event && $event.button !== 2")};function xs(t,e){var n=e?"nativeOn:":"on:",a="",r="";for(var i in t){var s=Ts(t[i]);t[i]&&t[i].dynamic?r+=i+","+s+",":a+='"'+i+'":'+s+","}return a="{"+a.slice(0,-1)+"}",r?n+"_d("+a+",["+r.slice(0,-1)+"])":n+a}function Ts(t){if(!t)return"function(){}";if(Array.isArray(t))return"["+t.map((function(t){return Ts(t)})).join(",")+"]";var e=bs.test(t.value),n=_s.test(t.value),a=bs.test(t.value.replace(ys,""));if(t.modifiers){var r="",i="",s=[];for(var o in t.modifiers)if(Cs[o])i+=Cs[o],ws[o]&&s.push(o);else if("exact"===o){var l=t.modifiers;i+=ks(["ctrl","shift","alt","meta"].filter((function(t){return!l[t]})).map((function(t){return"$event."+t+"Key"})).join("||"))}else s.push(o);return s.length&&(r+=function(t){return"if(!$event.type.indexOf('key')&&"+t.map($s).join("&&")+")return null;"}(s)),i&&(r+=i),"function($event){"+r+(e?"return "+t.value+"($event)":n?"return ("+t.value+")($event)":a?"return "+t.value:t.value)+"}"}return e||n?t.value:"function($event){"+(a?"return "+t.value:t.value)+"}"}function $s(t){var e=parseInt(t,10);if(e)return"$event.keyCode!=="+e;var n=ws[t],a=As[t];return"_k($event.keyCode,"+JSON.stringify(t)+","+JSON.stringify(n)+",$event.key,"+JSON.stringify(a)+")"}var Ss={on:function(t,e){t.wrapListeners=function(t){return"_g("+t+","+e.value+")"}},bind:function(t,e){t.wrapData=function(n){return"_b("+n+",'"+t.tag+"',"+e.value+","+(e.modifiers&&e.modifiers.prop?"true":"false")+(e.modifiers&&e.modifiers.sync?",true":"")+")"}},cloak:S},Ls=function(t){this.options=t,this.warn=t.warn||Ta,this.transforms=$a(t.modules,"transformCode"),this.dataGenFns=$a(t.modules,"genData"),this.directives=T(T({},Ss),t.directives);var e=t.isReservedTag||L;this.maybeComponent=function(t){return!!t.component||!e(t.tag)},this.onceId=0,this.staticRenderFns=[],this.pre=!1};function Es(t,e){var n=new Ls(e);return{render:"with(this){return "+(t?Ns(t,n):'_c("div")')+"}",staticRenderFns:n.staticRenderFns}}function Ns(t,e){if(t.parent&&(t.pre=t.pre||t.parent.pre),t.staticRoot&&!t.staticProcessed)return Ds(t,e);if(t.once&&!t.onceProcessed)return Ps(t,e);if(t.for&&!t.forProcessed)return Os(t,e);if(t.if&&!t.ifProcessed)return Is(t,e);if("template"!==t.tag||t.slotTarget||e.pre){if("slot"===t.tag)return function(t,e){var n=t.slotName||'"default"',a=js(t,e),r="_t("+n+(a?","+a:""),i=t.attrs||t.dynamicAttrs?zs((t.attrs||[]).concat(t.dynamicAttrs||[]).map((function(t){return{name:b(t.name),value:t.value,dynamic:t.dynamic}}))):null,s=t.attrsMap["v-bind"];!i&&!s||a||(r+=",null");i&&(r+=","+i);s&&(r+=(i?"":",null")+","+s);return r+")"}(t,e);var n;if(t.component)n=function(t,e,n){var a=e.inlineTemplate?null:js(e,n,!0);return"_c("+t+","+Rs(e,n)+(a?","+a:"")+")"}(t.component,t,e);else{var a;(!t.plain||t.pre&&e.maybeComponent(t))&&(a=Rs(t,e));var r=t.inlineTemplate?null:js(t,e,!0);n="_c('"+t.tag+"'"+(a?","+a:"")+(r?","+r:"")+")"}for(var i=0;i<e.transforms.length;i++)n=e.transforms[i](t,n);return n}return js(t,e)||"void 0"}function Ds(t,e){t.staticProcessed=!0;var n=e.pre;return t.pre&&(e.pre=t.pre),e.staticRenderFns.push("with(this){return "+Ns(t,e)+"}"),e.pre=n,"_m("+(e.staticRenderFns.length-1)+(t.staticInFor?",true":"")+")"}function Ps(t,e){if(t.onceProcessed=!0,t.if&&!t.ifProcessed)return Is(t,e);if(t.staticInFor){for(var n="",a=t.parent;a;){if(a.for){n=a.key;break}a=a.parent}return n?"_o("+Ns(t,e)+","+e.onceId+++","+n+")":Ns(t,e)}return Ds(t,e)}function Is(t,e,n,a){return t.ifProcessed=!0,function t(e,n,a,r){if(!e.length)return r||"_e()";var i=e.shift();return i.exp?"("+i.exp+")?"+s(i.block)+":"+t(e,n,a,r):""+s(i.block);function s(t){return a?a(t,n):t.once?Ps(t,n):Ns(t,n)}}(t.ifConditions.slice(),e,n,a)}function Os(t,e,n,a){var r=t.for,i=t.alias,s=t.iterator1?","+t.iterator1:"",o=t.iterator2?","+t.iterator2:"";return t.forProcessed=!0,(a||"_l")+"(("+r+"),function("+i+s+o+"){return "+(n||Ns)(t,e)+"})"}function Rs(t,e){var n="{",a=function(t,e){var n=t.directives;if(!n)return;var a,r,i,s,o="directives:[",l=!1;for(a=0,r=n.length;a<r;a++){i=n[a],s=!0;var c=e.directives[i.name];c&&(s=!!c(t,i,e.warn)),s&&(l=!0,o+='{name:"'+i.name+'",rawName:"'+i.rawName+'"'+(i.value?",value:("+i.value+"),expression:"+JSON.stringify(i.value):"")+(i.arg?",arg:"+(i.isDynamicArg?i.arg:'"'+i.arg+'"'):"")+(i.modifiers?",modifiers:"+JSON.stringify(i.modifiers):"")+"},")}if(l)return o.slice(0,-1)+"]"}(t,e);a&&(n+=a+","),t.key&&(n+="key:"+t.key+","),t.ref&&(n+="ref:"+t.ref+","),t.refInFor&&(n+="refInFor:true,"),t.pre&&(n+="pre:true,"),t.component&&(n+='tag:"'+t.tag+'",');for(var r=0;r<e.dataGenFns.length;r++)n+=e.dataGenFns[r](t);if(t.attrs&&(n+="attrs:"+zs(t.attrs)+","),t.props&&(n+="domProps:"+zs(t.props)+","),t.events&&(n+=xs(t.events,!1)+","),t.nativeEvents&&(n+=xs(t.nativeEvents,!0)+","),t.slotTarget&&!t.slotScope&&(n+="slot:"+t.slotTarget+","),t.scopedSlots&&(n+=function(t,e,n){var a=t.for||Object.keys(e).some((function(t){var n=e[t];return n.slotTargetDynamic||n.if||n.for||Fs(n)})),r=!!t.if;if(!a)for(var i=t.parent;i;){if(i.slotScope&&"_empty_"!==i.slotScope||i.for){a=!0;break}i.if&&(r=!0),i=i.parent}var s=Object.keys(e).map((function(t){return Ms(e[t],n)})).join(",");return"scopedSlots:_u(["+s+"]"+(a?",null,true":"")+(!a&&r?",null,false,"+function(t){var e=5381,n=t.length;for(;n;)e=33*e^t.charCodeAt(--n);return e>>>0}(s):"")+")"}(t,t.scopedSlots,e)+","),t.model&&(n+="model:{value:"+t.model.value+",callback:"+t.model.callback+",expression:"+t.model.expression+"},"),t.inlineTemplate){var i=function(t,e){var n=t.children[0];if(n&&1===n.type){var a=Es(n,e.options);return"inlineTemplate:{render:function(){"+a.render+"},staticRenderFns:["+a.staticRenderFns.map((function(t){return"function(){"+t+"}"})).join(",")+"]}"}}(t,e);i&&(n+=i+",")}return n=n.replace(/,$/,"")+"}",t.dynamicAttrs&&(n="_b("+n+',"'+t.tag+'",'+zs(t.dynamicAttrs)+")"),t.wrapData&&(n=t.wrapData(n)),t.wrapListeners&&(n=t.wrapListeners(n)),n}function Fs(t){return 1===t.type&&("slot"===t.tag||t.children.some(Fs))}function Ms(t,e){var n=t.attrsMap["slot-scope"];if(t.if&&!t.ifProcessed&&!n)return Is(t,e,Ms,"null");if(t.for&&!t.forProcessed)return Os(t,e,Ms);var a="_empty_"===t.slotScope?"":String(t.slotScope),r="function("+a+"){return "+("template"===t.tag?t.if&&n?"("+t.if+")?"+(js(t,e)||"undefined")+":undefined":js(t,e)||"undefined":Ns(t,e))+"}",i=a?"":",proxy:true";return"{key:"+(t.slotTarget||'"default"')+",fn:"+r+i+"}"}function js(t,e,n,a,r){var i=t.children;if(i.length){var s=i[0];if(1===i.length&&s.for&&"template"!==s.tag&&"slot"!==s.tag){var o=n?e.maybeComponent(s)?",1":",0":"";return""+(a||Ns)(s,e)+o}var l=n?function(t,e){for(var n=0,a=0;a<t.length;a++){var r=t[a];if(1===r.type){if(Bs(r)||r.ifConditions&&r.ifConditions.some((function(t){return Bs(t.block)}))){n=2;break}(e(r)||r.ifConditions&&r.ifConditions.some((function(t){return e(t.block)})))&&(n=1)}}return n}(i,e.maybeComponent):0,c=r||qs;return"["+i.map((function(t){return c(t,e)})).join(",")+"]"+(l?","+l:"")}}function Bs(t){return void 0!==t.for||"template"===t.tag||"slot"===t.tag}function qs(t,e){return 1===t.type?Ns(t,e):3===t.type&&t.isComment?function(t){return"_e("+JSON.stringify(t.text)+")"}(t):function(t){return"_v("+(2===t.type?t.expression:Us(JSON.stringify(t.text)))+")"}(t)}function zs(t){for(var e="",n="",a=0;a<t.length;a++){var r=t[a],i=Us(r.value);r.dynamic?n+=r.name+","+i+",":e+='"'+r.name+'":'+i+","}return e="{"+e.slice(0,-1)+"}",n?"_d("+e+",["+n.slice(0,-1)+"])":e}function Us(t){return t.replace(/\u2028/g,"\\u2028").replace(/\u2029/g,"\\u2029")}new RegExp("\\b"+"do,if,for,let,new,try,var,case,else,with,await,break,catch,class,const,super,throw,while,yield,delete,export,import,return,switch,default,extends,finally,continue,debugger,function,arguments".split(",").join("\\b|\\b")+"\\b");function Hs(t,e){try{return new Function(t)}catch(n){return e.push({err:n,code:t}),S}}function Vs(t){var e=Object.create(null);return function(n,a,r){(a=T({},a)).warn;delete a.warn;var i=a.delimiters?String(a.delimiters)+n:n;if(e[i])return e[i];var s=t(n,a),o={},l=[];return o.render=Hs(s.render,l),o.staticRenderFns=s.staticRenderFns.map((function(t){return Hs(t,l)})),e[i]=o}}var Ws,Qs,Gs=(Ws=function(t,e){var n=ns(t.trim(),e);!1!==e.optimize&&gs(n,e);var a=Es(n,e);return{ast:n,render:a.render,staticRenderFns:a.staticRenderFns}},function(t){function e(e,n){var a=Object.create(t),r=[],i=[];if(n)for(var s in n.modules&&(a.modules=(t.modules||[]).concat(n.modules)),n.directives&&(a.directives=T(Object.create(t.directives||null),n.directives)),n)"modules"!==s&&"directives"!==s&&(a[s]=n[s]);a.warn=function(t,e,n){(n?i:r).push(t)};var o=Ws(e.trim(),a);return o.errors=r,o.tips=i,o}return{compile:e,compileToFunctions:Vs(e)}})(vs).compileToFunctions;function Ks(t){return(Qs=Qs||document.createElement("div")).innerHTML=t?'<a href="\n"/>':'<div a="\n"/>',Qs.innerHTML.indexOf("&#10;")>0}var Ys=!!U&&Ks(!1),Js=!!U&&Ks(!0),Xs=_((function(t){var e=Yn(t);return e&&e.innerHTML})),Zs=wn.prototype.$mount;wn.prototype.$mount=function(t,e){if((t=t&&Yn(t))===document.body||t===document.documentElement)return this;var n=this.$options;if(!n.render){var a=n.template;if(a)if("string"==typeof a)"#"===a.charAt(0)&&(a=Xs(a));else{if(!a.nodeType)return this;a=a.innerHTML}else t&&(a=function(t){if(t.outerHTML)return t.outerHTML;var e=document.createElement("div");return e.appendChild(t.cloneNode(!0)),e.innerHTML}(t));if(a){var r=Gs(a,{outputSourceRange:!1,shouldDecodeNewlines:Ys,shouldDecodeNewlinesForHref:Js,delimiters:n.delimiters,comments:n.comments},this),i=r.render,s=r.staticRenderFns;n.render=i,n.staticRenderFns=s}}return Zs.call(this,t,e)},wn.compile=Gs;const to=io.connect(window.location.href);to.on("connect",()=>{document.getElementById("start_app_placeholder").classList.add("loading_placeholder--hidden")});var eo=new wn;
/*!
* vue-router v3.3.4
* (c) 2020 Evan You
* @license MIT
*/function no(t){return Object.prototype.toString.call(t).indexOf("Error")>-1}function ao(t,e){return no(t)&&t._isRouter&&(null==e||t.type===e)}function ro(t,e){for(var n in e)t[n]=e[n];return t}var so={name:"RouterView",functional:!0,props:{name:{type:String,default:"default"}},render:function(t,e){var n=e.props,a=e.children,r=e.parent,i=e.data;i.routerView=!0;for(var s=r.$createElement,o=n.name,l=r.$route,c=r._routerViewCache||(r._routerViewCache={}),u=0,d=!1;r&&r._routerRoot!==r;){var p=r.$vnode?r.$vnode.data:{};p.routerView&&u++,p.keepAlive&&r._directInactive&&r._inactive&&(d=!0),r=r.$parent}if(i.routerViewDepth=u,d){var f=c[o],h=f&&f.component;return h?(f.configProps&&oo(h,i,f.route,f.configProps),s(h,i,a)):s()}var v=l.matched[u],m=v&&v.components[o];if(!v||!m)return c[o]=null,s();c[o]={component:m},i.registerRouteInstance=function(t,e){var n=v.instances[o];(e&&n!==t||!e&&n===t)&&(v.instances[o]=e)},(i.hook||(i.hook={})).prepatch=function(t,e){v.instances[o]=e.componentInstance},i.hook.init=function(t){t.data.keepAlive&&t.componentInstance&&t.componentInstance!==v.instances[o]&&(v.instances[o]=t.componentInstance)};var g=v.props&&v.props[o];return g&&(ro(c[o],{route:l,configProps:g}),oo(m,i,l,g)),s(m,i,a)}};function oo(t,e,n,a){var r=e.props=function(t,e){switch(typeof e){case"undefined":return;case"object":return e;case"function":return e(t);case"boolean":return e?t.params:void 0}}(n,a);if(r){r=e.props=ro({},r);var i=e.attrs=e.attrs||{};for(var s in r)t.props&&s in t.props||(i[s]=r[s],delete r[s])}}var lo=/[!'()*]/g,co=function(t){return"%"+t.charCodeAt(0).toString(16)},uo=/%2C/g,po=function(t){return encodeURIComponent(t).replace(lo,co).replace(uo,",")},fo=decodeURIComponent;function ho(t){var e={};return(t=t.trim().replace(/^(\?|#|&)/,""))?(t.split("&").forEach((function(t){var n=t.replace(/\+/g," ").split("="),a=fo(n.shift()),r=n.length>0?fo(n.join("=")):null;void 0===e[a]?e[a]=r:Array.isArray(e[a])?e[a].push(r):e[a]=[e[a],r]})),e):e}function vo(t){var e=t?Object.keys(t).map((function(e){var n=t[e];if(void 0===n)return"";if(null===n)return po(e);if(Array.isArray(n)){var a=[];return n.forEach((function(t){void 0!==t&&(null===t?a.push(po(e)):a.push(po(e)+"="+po(t)))})),a.join("&")}return po(e)+"="+po(n)})).filter((function(t){return t.length>0})).join("&"):null;return e?"?"+e:""}var mo=/\/?$/;function go(t,e,n,a){var r=a&&a.options.stringifyQuery,i=e.query||{};try{i=_o(i)}catch(t){}var s={name:e.name||t&&t.name,meta:t&&t.meta||{},path:e.path||"/",hash:e.hash||"",query:i,params:e.params||{},fullPath:wo(e,r),matched:t?bo(t):[]};return n&&(s.redirectedFrom=wo(n,r)),Object.freeze(s)}function _o(t){if(Array.isArray(t))return t.map(_o);if(t&&"object"==typeof t){var e={};for(var n in t)e[n]=_o(t[n]);return e}return t}var yo=go(null,{path:"/"});function bo(t){for(var e=[];t;)e.unshift(t),t=t.parent;return e}function wo(t,e){var n=t.path,a=t.query;void 0===a&&(a={});var r=t.hash;return void 0===r&&(r=""),(n||"/")+(e||vo)(a)+r}function Ao(t,e){return e===yo?t===e:!!e&&(t.path&&e.path?t.path.replace(mo,"")===e.path.replace(mo,"")&&t.hash===e.hash&&ko(t.query,e.query):!(!t.name||!e.name)&&(t.name===e.name&&t.hash===e.hash&&ko(t.query,e.query)&&ko(t.params,e.params)))}function ko(t,e){if(void 0===t&&(t={}),void 0===e&&(e={}),!t||!e)return t===e;var n=Object.keys(t),a=Object.keys(e);return n.length===a.length&&n.every((function(n){var a=t[n],r=e[n];return"object"==typeof a&&"object"==typeof r?ko(a,r):String(a)===String(r)}))}function Co(t,e,n){var a=t.charAt(0);if("/"===a)return t;if("?"===a||"#"===a)return e+t;var r=e.split("/");n&&r[r.length-1]||r.pop();for(var i=t.replace(/^\//,"").split("/"),s=0;s<i.length;s++){var o=i[s];".."===o?r.pop():"."!==o&&r.push(o)}return""!==r[0]&&r.unshift(""),r.join("/")}function xo(t){return t.replace(/\/\//g,"/")}var To=Array.isArray||function(t){return"[object Array]"==Object.prototype.toString.call(t)},$o=zo,So=Po,Lo=function(t,e){return Ro(Po(t,e),e)},Eo=Ro,No=qo,Do=new RegExp(["(\\\\.)","([\\/.])?(?:(?:\\:(\\w+)(?:\\(((?:\\\\.|[^\\\\()])+)\\))?|\\(((?:\\\\.|[^\\\\()])+)\\))([+*?])?|(\\*))"].join("|"),"g");function Po(t,e){for(var n,a=[],r=0,i=0,s="",o=e&&e.delimiter||"/";null!=(n=Do.exec(t));){var l=n[0],c=n[1],u=n.index;if(s+=t.slice(i,u),i=u+l.length,c)s+=c[1];else{var d=t[i],p=n[2],f=n[3],h=n[4],v=n[5],m=n[6],g=n[7];s&&(a.push(s),s="");var _=null!=p&&null!=d&&d!==p,y="+"===m||"*"===m,b="?"===m||"*"===m,w=n[2]||o,A=h||v;a.push({name:f||r++,prefix:p||"",delimiter:w,optional:b,repeat:y,partial:_,asterisk:!!g,pattern:A?Mo(A):g?".*":"[^"+Fo(w)+"]+?"})}}return i<t.length&&(s+=t.substr(i)),s&&a.push(s),a}function Io(t){return encodeURI(t).replace(/[\/?#]/g,(function(t){return"%"+t.charCodeAt(0).toString(16).toUpperCase()}))}function Oo(t){return encodeURI(t).replace(/[?#]/g,(function(t){return"%"+t.charCodeAt(0).toString(16).toUpperCase()}))}function Ro(t,e){for(var n=new Array(t.length),a=0;a<t.length;a++)"object"==typeof t[a]&&(n[a]=new RegExp("^(?:"+t[a].pattern+")$",Bo(e)));return function(e,a){for(var r="",i=e||{},s=(a||{}).pretty?Io:encodeURIComponent,o=0;o<t.length;o++){var l=t[o];if("string"!=typeof l){var c,u=i[l.name];if(null==u){if(l.optional){l.partial&&(r+=l.prefix);continue}throw new TypeError('Expected "'+l.name+'" to be defined')}if(To(u)){if(!l.repeat)throw new TypeError('Expected "'+l.name+'" to not repeat, but received `'+JSON.stringify(u)+"`");if(0===u.length){if(l.optional)continue;throw new TypeError('Expected "'+l.name+'" to not be empty')}for(var d=0;d<u.length;d++){if(c=s(u[d]),!n[o].test(c))throw new TypeError('Expected all "'+l.name+'" to match "'+l.pattern+'", but received `'+JSON.stringify(c)+"`");r+=(0===d?l.prefix:l.delimiter)+c}}else{if(c=l.asterisk?Oo(u):s(u),!n[o].test(c))throw new TypeError('Expected "'+l.name+'" to match "'+l.pattern+'", but received "'+c+'"');r+=l.prefix+c}}else r+=l}return r}}function Fo(t){return t.replace(/([.+*?=^!:${}()[\]|\/\\])/g,"\\$1")}function Mo(t){return t.replace(/([=!:$\/()])/g,"\\$1")}function jo(t,e){return t.keys=e,t}function Bo(t){return t&&t.sensitive?"":"i"}function qo(t,e,n){To(e)||(n=e||n,e=[]);for(var a=(n=n||{}).strict,r=!1!==n.end,i="",s=0;s<t.length;s++){var o=t[s];if("string"==typeof o)i+=Fo(o);else{var l=Fo(o.prefix),c="(?:"+o.pattern+")";e.push(o),o.repeat&&(c+="(?:"+l+c+")*"),i+=c=o.optional?o.partial?l+"("+c+")?":"(?:"+l+"("+c+"))?":l+"("+c+")"}}var u=Fo(n.delimiter||"/"),d=i.slice(-u.length)===u;return a||(i=(d?i.slice(0,-u.length):i)+"(?:"+u+"(?=$))?"),i+=r?"$":a&&d?"":"(?="+u+"|$)",jo(new RegExp("^"+i,Bo(n)),e)}function zo(t,e,n){return To(e)||(n=e||n,e=[]),n=n||{},t instanceof RegExp?function(t,e){var n=t.source.match(/\((?!\?)/g);if(n)for(var a=0;a<n.length;a++)e.push({name:a,prefix:null,delimiter:null,optional:!1,repeat:!1,partial:!1,asterisk:!1,pattern:null});return jo(t,e)}(t,e):To(t)?function(t,e,n){for(var a=[],r=0;r<t.length;r++)a.push(zo(t[r],e,n).source);return jo(new RegExp("(?:"+a.join("|")+")",Bo(n)),e)}(t,e,n):function(t,e,n){return qo(Po(t,n),e,n)}(t,e,n)}$o.parse=So,$o.compile=Lo,$o.tokensToFunction=Eo,$o.tokensToRegExp=No;var Uo=Object.create(null);function Ho(t,e,n){e=e||{};try{var a=Uo[t]||(Uo[t]=$o.compile(t));return"string"==typeof e.pathMatch&&(e[0]=e.pathMatch),a(e,{pretty:!0})}catch(t){return""}finally{delete e[0]}}function Vo(t,e,n,a){var r="string"==typeof t?{path:t}:t;if(r._normalized)return r;if(r.name){var i=(r=ro({},t)).params;return i&&"object"==typeof i&&(r.params=ro({},i)),r}if(!r.path&&r.params&&e){(r=ro({},r))._normalized=!0;var s=ro(ro({},e.params),r.params);if(e.name)r.name=e.name,r.params=s;else if(e.matched.length){var o=e.matched[e.matched.length-1].path;r.path=Ho(o,s,e.path)}return r}var l=function(t){var e="",n="",a=t.indexOf("#");a>=0&&(e=t.slice(a),t=t.slice(0,a));var r=t.indexOf("?");return r>=0&&(n=t.slice(r+1),t=t.slice(0,r)),{path:t,query:n,hash:e}}(r.path||""),c=e&&e.path||"/",u=l.path?Co(l.path,c,n||r.append):c,d=function(t,e,n){void 0===e&&(e={});var a,r=n||ho;try{a=r(t||"")}catch(t){a={}}for(var i in e)a[i]=e[i];return a}(l.query,r.query,a&&a.options.parseQuery),p=r.hash||l.hash;return p&&"#"!==p.charAt(0)&&(p="#"+p),{_normalized:!0,path:u,query:d,hash:p}}var Wo,Qo=function(){},Go={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(t){var e=this,n=this.$router,a=this.$route,r=n.resolve(this.to,a,this.append),i=r.location,s=r.route,o=r.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,f=null==this.activeClass?d:this.activeClass,h=null==this.exactActiveClass?p:this.exactActiveClass,v=s.redirectedFrom?go(null,Vo(s.redirectedFrom),null,n):s;l[h]=Ao(a,v),l[f]=this.exact?l[h]:function(t,e){return 0===t.path.replace(mo,"/").indexOf(e.path.replace(mo,"/"))&&(!e.hash||t.hash===e.hash)&&function(t,e){for(var n in e)if(!(n in t))return!1;return!0}(t.query,e.query)}(a,v);var m=l[h]?this.ariaCurrentValue:null,g=function(t){Ko(t)&&(e.replace?n.replace(i,Qo):n.push(i,Qo))},_={click:Ko};Array.isArray(this.event)?this.event.forEach((function(t){_[t]=g})):_[this.event]=g;var y={class:l},b=!this.$scopedSlots.$hasNormal&&this.$scopedSlots.default&&this.$scopedSlots.default({href:o,route:s,navigate:g,isActive:l[f],isExactActive:l[h]});if(b){if(1===b.length)return b[0];if(b.length>1||!b.length)return 0===b.length?t():t("span",{},b)}if("a"===this.tag)y.on=_,y.attrs={href:o,"aria-current":m};else{var w=function t(e){var n;if(e)for(var a=0;a<e.length;a++){if("a"===(n=e[a]).tag)return n;if(n.children&&(n=t(n.children)))return n}}(this.$slots.default);if(w){w.isStatic=!1;var A=w.data=ro({},w.data);for(var k in A.on=A.on||{},A.on){var C=A.on[k];k in _&&(A.on[k]=Array.isArray(C)?C:[C])}for(var x in _)x in A.on?A.on[x].push(_[x]):A.on[x]=g;var T=w.data.attrs=ro({},w.data.attrs);T.href=o,T["aria-current"]=m}else y.on=_}return t(this.tag,y,this.$slots.default)}};function Ko(t){if(!(t.metaKey||t.altKey||t.ctrlKey||t.shiftKey||t.defaultPrevented||void 0!==t.button&&0!==t.button)){if(t.currentTarget&&t.currentTarget.getAttribute){var e=t.currentTarget.getAttribute("target");if(/\b_blank\b/i.test(e))return}return t.preventDefault&&t.preventDefault(),!0}}var Yo="undefined"!=typeof window;function Jo(t,e,n,a){var r=e||[],i=n||Object.create(null),s=a||Object.create(null);t.forEach((function(t){!function t(e,n,a,r,i,s){var o=r.path,l=r.name,c=r.pathToRegexpOptions||{},u=function(t,e,n){n||(t=t.replace(/\/$/,""));if("/"===t[0])return t;if(null==e)return t;return xo(e.path+"/"+t)}(o,i,c.strict);"boolean"==typeof r.caseSensitive&&(c.sensitive=r.caseSensitive);var d={path:u,regex:Xo(u,c),components:r.components||{default:r.component},instances:{},name:l,parent:i,matchAs:s,redirect:r.redirect,beforeEnter:r.beforeEnter,meta:r.meta||{},props:null==r.props?{}:r.components?r.props:{default:r.props}};r.children&&r.children.forEach((function(r){var i=s?xo(s+"/"+r.path):void 0;t(e,n,a,r,d,i)}));n[d.path]||(e.push(d.path),n[d.path]=d);if(void 0!==r.alias)for(var p=Array.isArray(r.alias)?r.alias:[r.alias],f=0;f<p.length;++f){var h={path:p[f],children:r.children};t(e,n,a,h,i,d.path||"/")}l&&(a[l]||(a[l]=d))}(r,i,s,t)}));for(var o=0,l=r.length;o<l;o++)"*"===r[o]&&(r.push(r.splice(o,1)[0]),l--,o--);return{pathList:r,pathMap:i,nameMap:s}}function Xo(t,e){return $o(t,[],e)}function Zo(t,e){var n=Jo(t),a=n.pathList,r=n.pathMap,i=n.nameMap;function s(t,n,s){var o=Vo(t,n,!1,e),c=o.name;if(c){var u=i[c];if(!u)return l(null,o);var d=u.regex.keys.filter((function(t){return!t.optional})).map((function(t){return t.name}));if("object"!=typeof o.params&&(o.params={}),n&&"object"==typeof n.params)for(var p in n.params)!(p in o.params)&&d.indexOf(p)>-1&&(o.params[p]=n.params[p]);return o.path=Ho(u.path,o.params),l(u,o,s)}if(o.path){o.params={};for(var f=0;f<a.length;f++){var h=a[f],v=r[h];if(tl(v.regex,o.path,o.params))return l(v,o,s)}}return l(null,o)}function o(t,n){var a=t.redirect,r="function"==typeof a?a(go(t,n,null,e)):a;if("string"==typeof r&&(r={path:r}),!r||"object"!=typeof r)return l(null,n);var o=r,c=o.name,u=o.path,d=n.query,p=n.hash,f=n.params;if(d=o.hasOwnProperty("query")?o.query:d,p=o.hasOwnProperty("hash")?o.hash:p,f=o.hasOwnProperty("params")?o.params:f,c){i[c];return s({_normalized:!0,name:c,query:d,hash:p,params:f},void 0,n)}return u?s({_normalized:!0,path:Ho(function(t,e){return Co(t,e.parent?e.parent.path:"/",!0)}(u,t),f),query:d,hash:p},void 0,n):l(null,n)}function l(t,n,a){return t&&t.redirect?o(t,a||n):t&&t.matchAs?function(t,e,n){var a=s({_normalized:!0,path:Ho(n,e.params)});if(a){var r=a.matched,i=r[r.length-1];return e.params=a.params,l(i,e)}return l(null,e)}(0,n,t.matchAs):go(t,n,a,e)}return{match:s,addRoutes:function(t){Jo(t,a,r,i)}}}function tl(t,e,n){var a=e.match(t);if(!a)return!1;if(!n)return!0;for(var r=1,i=a.length;r<i;++r){var s=t.keys[r-1],o="string"==typeof a[r]?decodeURIComponent(a[r]):a[r];s&&(n[s.name||"pathMatch"]=o)}return!0}var el=Yo&&window.performance&&window.performance.now?window.performance:Date;function nl(){return el.now().toFixed(3)}var al=nl();function rl(){return al}function il(t){return al=t}var sl=Object.create(null);function ol(){"scrollRestoration"in window.history&&(window.history.scrollRestoration="manual");var t=window.location.protocol+"//"+window.location.host,e=window.location.href.replace(t,""),n=ro({},window.history.state);return n.key=rl(),window.history.replaceState(n,"",e),window.addEventListener("popstate",ul),function(){window.removeEventListener("popstate",ul)}}function ll(t,e,n,a){if(t.app){var r=t.options.scrollBehavior;r&&t.app.$nextTick((function(){var i=function(){var t=rl();if(t)return sl[t]}(),s=r.call(t,e,n,a?i:null);s&&("function"==typeof s.then?s.then((function(t){vl(t,i)})).catch((function(t){})):vl(s,i))}))}}function cl(){var t=rl();t&&(sl[t]={x:window.pageXOffset,y:window.pageYOffset})}function ul(t){cl(),t.state&&t.state.key&&il(t.state.key)}function dl(t){return fl(t.x)||fl(t.y)}function pl(t){return{x:fl(t.x)?t.x:window.pageXOffset,y:fl(t.y)?t.y:window.pageYOffset}}function fl(t){return"number"==typeof t}var hl=/^#\d/;function vl(t,e){var n,a="object"==typeof t;if(a&&"string"==typeof t.selector){var r=hl.test(t.selector)?document.getElementById(t.selector.slice(1)):document.querySelector(t.selector);if(r){var i=t.offset&&"object"==typeof t.offset?t.offset:{};e=function(t,e){var n=document.documentElement.getBoundingClientRect(),a=t.getBoundingClientRect();return{x:a.left-n.left-e.x,y:a.top-n.top-e.y}}(r,i={x:fl((n=i).x)?n.x:0,y:fl(n.y)?n.y:0})}else dl(t)&&(e=pl(t))}else a&&dl(t)&&(e=pl(t));e&&window.scrollTo(e.x,e.y)}var ml,gl=Yo&&((-1===(ml=window.navigator.userAgent).indexOf("Android 2.")&&-1===ml.indexOf("Android 4.0")||-1===ml.indexOf("Mobile Safari")||-1!==ml.indexOf("Chrome")||-1!==ml.indexOf("Windows Phone"))&&window.history&&"function"==typeof window.history.pushState);function _l(t,e){cl();var n=window.history;try{if(e){var a=ro({},n.state);a.key=rl(),n.replaceState(a,"",t)}else n.pushState({key:il(nl())},"",t)}catch(n){window.location[e?"replace":"assign"](t)}}function yl(t){_l(t,!0)}function bl(t,e,n){var a=function(r){r>=t.length?n():t[r]?e(t[r],(function(){a(r+1)})):a(r+1)};a(0)}function wl(t){return function(e,n,a){var r=!1,i=0,s=null;Al(t,(function(t,e,n,o){if("function"==typeof t&&void 0===t.cid){r=!0,i++;var l,c=xl((function(e){var r;((r=e).__esModule||Cl&&"Module"===r[Symbol.toStringTag])&&(e=e.default),t.resolved="function"==typeof e?e:Wo.extend(e),n.components[o]=e,--i<=0&&a()})),u=xl((function(t){var e="Failed to resolve async component "+o+": "+t;s||(s=no(t)?t:new Error(e),a(s))}));try{l=t(c,u)}catch(t){u(t)}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)}}})),r||a()}}function Al(t,e){return kl(t.map((function(t){return Object.keys(t.components).map((function(n){return e(t.components[n],t.instances[n],t,n)}))})))}function kl(t){return Array.prototype.concat.apply([],t)}var Cl="function"==typeof Symbol&&"symbol"==typeof Symbol.toStringTag;function xl(t){var e=!1;return function(){for(var n=[],a=arguments.length;a--;)n[a]=arguments[a];if(!e)return e=!0,t.apply(this,n)}}var Tl=1,$l=2,Sl=3,Ll=4;function El(t,e){return Dl(t,e,Tl,'Redirected when going from "'+t.fullPath+'" to "'+function(t){if("string"==typeof t)return t;if("path"in t)return t.path;var e={};return Pl.forEach((function(n){n in t&&(e[n]=t[n])})),JSON.stringify(e,null,2)}(e)+'" via a navigation guard.')}function Nl(t,e){return Dl(t,e,Sl,'Navigation cancelled from "'+t.fullPath+'" to "'+e.fullPath+'" with a new navigation.')}function Dl(t,e,n,a){var r=new Error(a);return r._isRouter=!0,r.from=t,r.to=e,r.type=n,r}var Pl=["params","query","hash"];var Il=function(t,e){this.router=t,this.base=function(t){if(!t)if(Yo){var e=document.querySelector("base");t=(t=e&&e.getAttribute("href")||"/").replace(/^https?:\/\/[^\/]+/,"")}else t="/";"/"!==t.charAt(0)&&(t="/"+t);return t.replace(/\/$/,"")}(e),this.current=yo,this.pending=null,this.ready=!1,this.readyCbs=[],this.readyErrorCbs=[],this.errorCbs=[],this.listeners=[]};function Ol(t,e,n,a){var r=Al(t,(function(t,a,r,i){var s=function(t,e){"function"!=typeof t&&(t=Wo.extend(t));return t.options[e]}(t,e);if(s)return Array.isArray(s)?s.map((function(t){return n(t,a,r,i)})):n(s,a,r,i)}));return kl(a?r.reverse():r)}function Rl(t,e){if(e)return function(){return t.apply(e,arguments)}}Il.prototype.listen=function(t){this.cb=t},Il.prototype.onReady=function(t,e){this.ready?t():(this.readyCbs.push(t),e&&this.readyErrorCbs.push(e))},Il.prototype.onError=function(t){this.errorCbs.push(t)},Il.prototype.transitionTo=function(t,e,n){var a=this,r=this.router.match(t,this.current);this.confirmTransition(r,(function(){var t=a.current;a.updateRoute(r),e&&e(r),a.ensureURL(),a.router.afterHooks.forEach((function(e){e&&e(r,t)})),a.ready||(a.ready=!0,a.readyCbs.forEach((function(t){t(r)})))}),(function(t){n&&n(t),t&&!a.ready&&(a.ready=!0,ao(t,Tl)?a.readyCbs.forEach((function(t){t(r)})):a.readyErrorCbs.forEach((function(e){e(t)})))}))},Il.prototype.confirmTransition=function(t,e,n){var a,r=this,i=this.current,s=function(t){!ao(t)&&no(t)&&(r.errorCbs.length?r.errorCbs.forEach((function(e){e(t)})):console.error(t)),n&&n(t)},o=t.matched.length-1,l=i.matched.length-1;if(Ao(t,i)&&o===l&&t.matched[o]===i.matched[l])return this.ensureURL(),s(Dl(a=i,t,Ll,'Avoided redundant navigation to current location: "'+a.fullPath+'".'));var c=function(t,e){var n,a=Math.max(t.length,e.length);for(n=0;n<a&&t[n]===e[n];n++);return{updated:e.slice(0,n),activated:e.slice(n),deactivated:t.slice(n)}}(this.current.matched,t.matched),u=c.updated,d=c.deactivated,p=c.activated,f=[].concat(function(t){return Ol(t,"beforeRouteLeave",Rl,!0)}(d),this.router.beforeHooks,function(t){return Ol(t,"beforeRouteUpdate",Rl)}(u),p.map((function(t){return t.beforeEnter})),wl(p));this.pending=t;var h=function(e,n){if(r.pending!==t)return s(Nl(i,t));try{e(t,i,(function(e){!1===e?(r.ensureURL(!0),s(function(t,e){return Dl(t,e,$l,'Navigation aborted from "'+t.fullPath+'" to "'+e.fullPath+'" via a navigation guard.')}(i,t))):no(e)?(r.ensureURL(!0),s(e)):"string"==typeof e||"object"==typeof e&&("string"==typeof e.path||"string"==typeof e.name)?(s(El(i,t)),"object"==typeof e&&e.replace?r.replace(e):r.push(e)):n(e)}))}catch(t){s(t)}};bl(f,h,(function(){var n=[];bl(function(t,e,n){return Ol(t,"beforeRouteEnter",(function(t,a,r,i){return function(t,e,n,a,r){return function(i,s,o){return t(i,s,(function(t){"function"==typeof t&&a.push((function(){!function t(e,n,a,r){n[a]&&!n[a]._isBeingDestroyed?e(n[a]):r()&&setTimeout((function(){t(e,n,a,r)}),16)}(t,e.instances,n,r)})),o(t)}))}}(t,r,i,e,n)}))}(p,n,(function(){return r.current===t})).concat(r.router.resolveHooks),h,(function(){if(r.pending!==t)return s(Nl(i,t));r.pending=null,e(t),r.router.app&&r.router.app.$nextTick((function(){n.forEach((function(t){t()}))}))}))}))},Il.prototype.updateRoute=function(t){this.current=t,this.cb&&this.cb(t)},Il.prototype.setupListeners=function(){},Il.prototype.teardownListeners=function(){this.listeners.forEach((function(t){t()})),this.listeners=[]};var Fl=function(t){function e(e,n){t.call(this,e,n),this._startLocation=Ml(this.base)}return t&&(e.__proto__=t),e.prototype=Object.create(t&&t.prototype),e.prototype.constructor=e,e.prototype.setupListeners=function(){var t=this;if(!(this.listeners.length>0)){var e=this.router,n=e.options.scrollBehavior,a=gl&&n;a&&this.listeners.push(ol());var r=function(){var n=t.current,r=Ml(t.base);t.current===yo&&r===t._startLocation||t.transitionTo(r,(function(t){a&&ll(e,t,n,!0)}))};window.addEventListener("popstate",r),this.listeners.push((function(){window.removeEventListener("popstate",r)}))}},e.prototype.go=function(t){window.history.go(t)},e.prototype.push=function(t,e,n){var a=this,r=this.current;this.transitionTo(t,(function(t){_l(xo(a.base+t.fullPath)),ll(a.router,t,r,!1),e&&e(t)}),n)},e.prototype.replace=function(t,e,n){var a=this,r=this.current;this.transitionTo(t,(function(t){yl(xo(a.base+t.fullPath)),ll(a.router,t,r,!1),e&&e(t)}),n)},e.prototype.ensureURL=function(t){if(Ml(this.base)!==this.current.fullPath){var e=xo(this.base+this.current.fullPath);t?_l(e):yl(e)}},e.prototype.getCurrentLocation=function(){return Ml(this.base)},e}(Il);function Ml(t){var e=decodeURI(window.location.pathname);return t&&0===e.toLowerCase().indexOf(t.toLowerCase())&&(e=e.slice(t.length)),(e||"/")+window.location.search+window.location.hash}var jl=function(t){function e(e,n,a){t.call(this,e,n),a&&function(t){var e=Ml(t);if(!/^\/#/.test(e))return window.location.replace(xo(t+"/#"+e)),!0}(this.base)||Bl()}return t&&(e.__proto__=t),e.prototype=Object.create(t&&t.prototype),e.prototype.constructor=e,e.prototype.setupListeners=function(){var t=this;if(!(this.listeners.length>0)){var e=this.router.options.scrollBehavior,n=gl&&e;n&&this.listeners.push(ol());var a=function(){var e=t.current;Bl()&&t.transitionTo(ql(),(function(a){n&&ll(t.router,a,e,!0),gl||Hl(a.fullPath)}))},r=gl?"popstate":"hashchange";window.addEventListener(r,a),this.listeners.push((function(){window.removeEventListener(r,a)}))}},e.prototype.push=function(t,e,n){var a=this,r=this.current;this.transitionTo(t,(function(t){Ul(t.fullPath),ll(a.router,t,r,!1),e&&e(t)}),n)},e.prototype.replace=function(t,e,n){var a=this,r=this.current;this.transitionTo(t,(function(t){Hl(t.fullPath),ll(a.router,t,r,!1),e&&e(t)}),n)},e.prototype.go=function(t){window.history.go(t)},e.prototype.ensureURL=function(t){var e=this.current.fullPath;ql()!==e&&(t?Ul(e):Hl(e))},e.prototype.getCurrentLocation=function(){return ql()},e}(Il);function Bl(){var t=ql();return"/"===t.charAt(0)||(Hl("/"+t),!1)}function ql(){var t=window.location.href,e=t.indexOf("#");if(e<0)return"";var n=(t=t.slice(e+1)).indexOf("?");if(n<0){var a=t.indexOf("#");t=a>-1?decodeURI(t.slice(0,a))+t.slice(a):decodeURI(t)}else t=decodeURI(t.slice(0,n))+t.slice(n);return t}function zl(t){var e=window.location.href,n=e.indexOf("#");return(n>=0?e.slice(0,n):e)+"#"+t}function Ul(t){gl?_l(zl(t)):window.location.hash=t}function Hl(t){gl?yl(zl(t)):window.location.replace(zl(t))}var Vl=function(t){function e(e,n){t.call(this,e,n),this.stack=[],this.index=-1}return t&&(e.__proto__=t),e.prototype=Object.create(t&&t.prototype),e.prototype.constructor=e,e.prototype.push=function(t,e,n){var a=this;this.transitionTo(t,(function(t){a.stack=a.stack.slice(0,a.index+1).concat(t),a.index++,e&&e(t)}),n)},e.prototype.replace=function(t,e,n){var a=this;this.transitionTo(t,(function(t){a.stack=a.stack.slice(0,a.index).concat(t),e&&e(t)}),n)},e.prototype.go=function(t){var e=this,n=this.index+t;if(!(n<0||n>=this.stack.length)){var a=this.stack[n];this.confirmTransition(a,(function(){e.index=n,e.updateRoute(a)}),(function(t){ao(t,Ll)&&(e.index=n)}))}},e.prototype.getCurrentLocation=function(){var t=this.stack[this.stack.length-1];return t?t.fullPath:"/"},e.prototype.ensureURL=function(){},e}(Il),Wl=function(t){void 0===t&&(t={}),this.app=null,this.apps=[],this.options=t,this.beforeHooks=[],this.resolveHooks=[],this.afterHooks=[],this.matcher=Zo(t.routes||[],this);var e=t.mode||"hash";switch(this.fallback="history"===e&&!gl&&!1!==t.fallback,this.fallback&&(e="hash"),Yo||(e="abstract"),this.mode=e,e){case"history":this.history=new Fl(this,t.base);break;case"hash":this.history=new jl(this,t.base,this.fallback);break;case"abstract":this.history=new Vl(this,t.base)}},Ql={currentRoute:{configurable:!0}};function Gl(t,e){return t.push(e),function(){var n=t.indexOf(e);n>-1&&t.splice(n,1)}}Wl.prototype.match=function(t,e,n){return this.matcher.match(t,e,n)},Ql.currentRoute.get=function(){return this.history&&this.history.current},Wl.prototype.init=function(t){var e=this;if(this.apps.push(t),t.$once("hook:destroyed",(function(){var n=e.apps.indexOf(t);n>-1&&e.apps.splice(n,1),e.app===t&&(e.app=e.apps[0]||null),e.app||e.history.teardownListeners()})),!this.app){this.app=t;var n=this.history;if(n instanceof Fl||n instanceof jl){var a=function(){n.setupListeners()};n.transitionTo(n.getCurrentLocation(),a,a)}n.listen((function(t){e.apps.forEach((function(e){e._route=t}))}))}},Wl.prototype.beforeEach=function(t){return Gl(this.beforeHooks,t)},Wl.prototype.beforeResolve=function(t){return Gl(this.resolveHooks,t)},Wl.prototype.afterEach=function(t){return Gl(this.afterHooks,t)},Wl.prototype.onReady=function(t,e){this.history.onReady(t,e)},Wl.prototype.onError=function(t){this.history.onError(t)},Wl.prototype.push=function(t,e,n){var a=this;if(!e&&!n&&"undefined"!=typeof Promise)return new Promise((function(e,n){a.history.push(t,e,n)}));this.history.push(t,e,n)},Wl.prototype.replace=function(t,e,n){var a=this;if(!e&&!n&&"undefined"!=typeof Promise)return new Promise((function(e,n){a.history.replace(t,e,n)}));this.history.replace(t,e,n)},Wl.prototype.go=function(t){this.history.go(t)},Wl.prototype.back=function(){this.go(-1)},Wl.prototype.forward=function(){this.go(1)},Wl.prototype.getMatchedComponents=function(t){var e=t?t.matched?t:this.resolve(t).route:this.currentRoute;return e?[].concat.apply([],e.matched.map((function(t){return Object.keys(t.components).map((function(e){return t.components[e]}))}))):[]},Wl.prototype.resolve=function(t,e,n){var a=Vo(t,e=e||this.history.current,n,this),r=this.match(a,e),i=r.redirectedFrom||r.fullPath;return{location:a,route:r,href:function(t,e,n){var a="hash"===n?"#"+e:e;return t?xo(t+"/"+a):a}(this.history.base,i,this.mode),normalizedTo:a,resolved:r}},Wl.prototype.addRoutes=function(t){this.matcher.addRoutes(t),this.history.current!==yo&&this.history.transitionTo(this.history.getCurrentLocation())},Object.defineProperties(Wl.prototype,Ql),Wl.install=function t(e){if(!t.installed||Wo!==e){t.installed=!0,Wo=e;var n=function(t){return void 0!==t},a=function(t,e){var a=t.$options._parentVnode;n(a)&&n(a=a.data)&&n(a=a.registerRouteInstance)&&a(t,e)};e.mixin({beforeCreate:function(){n(this.$options.router)?(this._routerRoot=this,this._router=this.$options.router,this._router.init(this),e.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(e.prototype,"$router",{get:function(){return this._routerRoot._router}}),Object.defineProperty(e.prototype,"$route",{get:function(){return this._routerRoot._route}}),e.component("RouterView",so),e.component("RouterLink",Go);var r=e.config.optionMergeStrategies;r.beforeRouteEnter=r.beforeRouteLeave=r.beforeRouteUpdate=r.created}},Wl.version="3.3.4",Yo&&window.Vue&&window.Vue.use(Wl);var Kl="object"==typeof global&&global&&global.Object===Object&&global,Yl="object"==typeof self&&self&&self.Object===Object&&self,Jl=Kl||Yl||Function("return this")(),Xl=Jl.Symbol,Zl=Object.prototype,tc=Zl.hasOwnProperty,ec=Zl.toString,nc=Xl?Xl.toStringTag:void 0;var ac=Object.prototype.toString;var rc=Xl?Xl.toStringTag:void 0;function ic(t){return null==t?void 0===t?"[object Undefined]":"[object Null]":rc&&rc in Object(t)?function(t){var e=tc.call(t,nc),n=t[nc];try{t[nc]=void 0;var a=!0}catch(t){}var r=ec.call(t);return a&&(e?t[nc]=n:delete t[nc]),r}(t):function(t){return ac.call(t)}(t)}function sc(t){return null!=t&&"object"==typeof t}function oc(t){return"symbol"==typeof t||sc(t)&&"[object Symbol]"==ic(t)}function lc(t,e){for(var n=-1,a=null==t?0:t.length,r=Array(a);++n<a;)r[n]=e(t[n],n,t);return r}var cc=Array.isArray,uc=Xl?Xl.prototype:void 0,dc=uc?uc.toString:void 0;function pc(t){if("string"==typeof t)return t;if(cc(t))return lc(t,pc)+"";if(oc(t))return dc?dc.call(t):"";var e=t+"";return"0"==e&&1/t==-1/0?"-0":e}function fc(t){var e=typeof t;return null!=t&&("object"==e||"function"==e)}function hc(t){return t}function vc(t){if(!fc(t))return!1;var e=ic(t);return"[object Function]"==e||"[object GeneratorFunction]"==e||"[object AsyncFunction]"==e||"[object Proxy]"==e}var mc=Jl["__core-js_shared__"],gc=function(){var t=/[^.]+$/.exec(mc&&mc.keys&&mc.keys.IE_PROTO||"");return t?"Symbol(src)_1."+t:""}();var _c=Function.prototype.toString;function yc(t){if(null!=t){try{return _c.call(t)}catch(t){}try{return t+""}catch(t){}}return""}var bc=/^\[object .+?Constructor\]$/,wc=Function.prototype,Ac=Object.prototype,kc=wc.toString,Cc=Ac.hasOwnProperty,xc=RegExp("^"+kc.call(Cc).replace(/[\\^$.*+?()[\]{}|]/g,"\\$&").replace(/hasOwnProperty|(function).*?(?=\\\()| for .+?(?=\\\])/g,"$1.*?")+"$");function Tc(t){return!(!fc(t)||(e=t,gc&&gc in e))&&(vc(t)?xc:bc).test(yc(t));var e}function $c(t,e){var n=function(t,e){return null==t?void 0:t[e]}(t,e);return Tc(n)?n:void 0}var Sc=$c(Jl,"WeakMap"),Lc=/^(?:0|[1-9]\d*)$/;function Ec(t,e){var n=typeof t;return!!(e=null==e?9007199254740991:e)&&("number"==n||"symbol"!=n&&Lc.test(t))&&t>-1&&t%1==0&&t<e}function Nc(t,e){return t===e||t!=t&&e!=e}function Dc(t){return"number"==typeof t&&t>-1&&t%1==0&&t<=9007199254740991}function Pc(t){return null!=t&&Dc(t.length)&&!vc(t)}var Ic=Object.prototype;function Oc(t){var e=t&&t.constructor;return t===("function"==typeof e&&e.prototype||Ic)}function Rc(t){return sc(t)&&"[object Arguments]"==ic(t)}var Fc=Object.prototype,Mc=Fc.hasOwnProperty,jc=Fc.propertyIsEnumerable,Bc=Rc(function(){return arguments}())?Rc:function(t){return sc(t)&&Mc.call(t,"callee")&&!jc.call(t,"callee")};var qc="object"==typeof exports&&exports&&!exports.nodeType&&exports,zc=qc&&"object"==typeof module&&module&&!module.nodeType&&module,Uc=zc&&zc.exports===qc?Jl.Buffer:void 0,Hc=(Uc?Uc.isBuffer:void 0)||function(){return!1},Vc={};function Wc(t){return function(e){return t(e)}}Vc["[object Float32Array]"]=Vc["[object Float64Array]"]=Vc["[object Int8Array]"]=Vc["[object Int16Array]"]=Vc["[object Int32Array]"]=Vc["[object Uint8Array]"]=Vc["[object Uint8ClampedArray]"]=Vc["[object Uint16Array]"]=Vc["[object Uint32Array]"]=!0,Vc["[object Arguments]"]=Vc["[object Array]"]=Vc["[object ArrayBuffer]"]=Vc["[object Boolean]"]=Vc["[object DataView]"]=Vc["[object Date]"]=Vc["[object Error]"]=Vc["[object Function]"]=Vc["[object Map]"]=Vc["[object Number]"]=Vc["[object Object]"]=Vc["[object RegExp]"]=Vc["[object Set]"]=Vc["[object String]"]=Vc["[object WeakMap]"]=!1;var Qc="object"==typeof exports&&exports&&!exports.nodeType&&exports,Gc=Qc&&"object"==typeof module&&module&&!module.nodeType&&module,Kc=Gc&&Gc.exports===Qc&&Kl.process,Yc=function(){try{var t=Gc&&Gc.require&&Gc.require("util").types;return t||Kc&&Kc.binding&&Kc.binding("util")}catch(t){}}(),Jc=Yc&&Yc.isTypedArray,Xc=Jc?Wc(Jc):function(t){return sc(t)&&Dc(t.length)&&!!Vc[ic(t)]},Zc=Object.prototype.hasOwnProperty;function tu(t,e){var n=cc(t),a=!n&&Bc(t),r=!n&&!a&&Hc(t),i=!n&&!a&&!r&&Xc(t),s=n||a||r||i,o=s?function(t,e){for(var n=-1,a=Array(t);++n<t;)a[n]=e(n);return a}(t.length,String):[],l=o.length;for(var c in t)!e&&!Zc.call(t,c)||s&&("length"==c||r&&("offset"==c||"parent"==c)||i&&("buffer"==c||"byteLength"==c||"byteOffset"==c)||Ec(c,l))||o.push(c);return o}var eu,nu,au=(eu=Object.keys,nu=Object,function(t){return eu(nu(t))}),ru=Object.prototype.hasOwnProperty;function iu(t){if(!Oc(t))return au(t);var e=[];for(var n in Object(t))ru.call(t,n)&&"constructor"!=n&&e.push(n);return e}function su(t){return Pc(t)?tu(t):iu(t)}var ou=/\.|\[(?:[^[\]]*|(["'])(?:(?!\1)[^\\]|\\.)*?\1)\]/,lu=/^\w*$/;function cu(t,e){if(cc(t))return!1;var n=typeof t;return!("number"!=n&&"symbol"!=n&&"boolean"!=n&&null!=t&&!oc(t))||(lu.test(t)||!ou.test(t)||null!=e&&t in Object(e))}var uu=$c(Object,"create");var du=Object.prototype.hasOwnProperty;var pu=Object.prototype.hasOwnProperty;function fu(t){var e=-1,n=null==t?0:t.length;for(this.clear();++e<n;){var a=t[e];this.set(a[0],a[1])}}function hu(t,e){for(var n=t.length;n--;)if(Nc(t[n][0],e))return n;return-1}fu.prototype.clear=function(){this.__data__=uu?uu(null):{},this.size=0},fu.prototype.delete=function(t){var e=this.has(t)&&delete this.__data__[t];return this.size-=e?1:0,e},fu.prototype.get=function(t){var e=this.__data__;if(uu){var n=e[t];return"__lodash_hash_undefined__"===n?void 0:n}return du.call(e,t)?e[t]:void 0},fu.prototype.has=function(t){var e=this.__data__;return uu?void 0!==e[t]:pu.call(e,t)},fu.prototype.set=function(t,e){var n=this.__data__;return this.size+=this.has(t)?0:1,n[t]=uu&&void 0===e?"__lodash_hash_undefined__":e,this};var vu=Array.prototype.splice;function mu(t){var e=-1,n=null==t?0:t.length;for(this.clear();++e<n;){var a=t[e];this.set(a[0],a[1])}}mu.prototype.clear=function(){this.__data__=[],this.size=0},mu.prototype.delete=function(t){var e=this.__data__,n=hu(e,t);return!(n<0)&&(n==e.length-1?e.pop():vu.call(e,n,1),--this.size,!0)},mu.prototype.get=function(t){var e=this.__data__,n=hu(e,t);return n<0?void 0:e[n][1]},mu.prototype.has=function(t){return hu(this.__data__,t)>-1},mu.prototype.set=function(t,e){var n=this.__data__,a=hu(n,t);return a<0?(++this.size,n.push([t,e])):n[a][1]=e,this};var gu=$c(Jl,"Map");function _u(t,e){var n,a,r=t.__data__;return("string"==(a=typeof(n=e))||"number"==a||"symbol"==a||"boolean"==a?"__proto__"!==n:null===n)?r["string"==typeof e?"string":"hash"]:r.map}function yu(t){var e=-1,n=null==t?0:t.length;for(this.clear();++e<n;){var a=t[e];this.set(a[0],a[1])}}yu.prototype.clear=function(){this.size=0,this.__data__={hash:new fu,map:new(gu||mu),string:new fu}},yu.prototype.delete=function(t){var e=_u(this,t).delete(t);return this.size-=e?1:0,e},yu.prototype.get=function(t){return _u(this,t).get(t)},yu.prototype.has=function(t){return _u(this,t).has(t)},yu.prototype.set=function(t,e){var n=_u(this,t),a=n.size;return n.set(t,e),this.size+=n.size==a?0:1,this};function bu(t,e){if("function"!=typeof t||null!=e&&"function"!=typeof e)throw new TypeError("Expected a function");var n=function(){var a=arguments,r=e?e.apply(this,a):a[0],i=n.cache;if(i.has(r))return i.get(r);var s=t.apply(this,a);return n.cache=i.set(r,s)||i,s};return n.cache=new(bu.Cache||yu),n}bu.Cache=yu;var wu=/[^.[\]]+|\[(?:(-?\d+(?:\.\d+)?)|(["'])((?:(?!\2)[^\\]|\\.)*?)\2)\]|(?=(?:\.|\[\])(?:\.|\[\]|$))/g,Au=/\\(\\)?/g,ku=function(t){var e=bu(t,(function(t){return 500===n.size&&n.clear(),t})),n=e.cache;return e}((function(t){var e=[];return 46===t.charCodeAt(0)&&e.push(""),t.replace(wu,(function(t,n,a,r){e.push(a?r.replace(Au,"$1"):n||t)})),e}));function Cu(t,e){return cc(t)?t:cu(t,e)?[t]:ku(function(t){return null==t?"":pc(t)}(t))}function xu(t){if("string"==typeof t||oc(t))return t;var e=t+"";return"0"==e&&1/t==-1/0?"-0":e}function Tu(t,e){for(var n=0,a=(e=Cu(e,t)).length;null!=t&&n<a;)t=t[xu(e[n++])];return n&&n==a?t:void 0}function $u(t){var e=this.__data__=new mu(t);this.size=e.size}$u.prototype.clear=function(){this.__data__=new mu,this.size=0},$u.prototype.delete=function(t){var e=this.__data__,n=e.delete(t);return this.size=e.size,n},$u.prototype.get=function(t){return this.__data__.get(t)},$u.prototype.has=function(t){return this.__data__.has(t)},$u.prototype.set=function(t,e){var n=this.__data__;if(n instanceof mu){var a=n.__data__;if(!gu||a.length<199)return a.push([t,e]),this.size=++n.size,this;n=this.__data__=new yu(a)}return n.set(t,e),this.size=n.size,this};var Su=Object.prototype.propertyIsEnumerable,Lu=Object.getOwnPropertySymbols,Eu=Lu?function(t){return null==t?[]:(t=Object(t),function(t,e){for(var n=-1,a=null==t?0:t.length,r=0,i=[];++n<a;){var s=t[n];e(s,n,t)&&(i[r++]=s)}return i}(Lu(t),(function(e){return Su.call(t,e)})))}:function(){return[]};function Nu(t){return function(t,e,n){var a=e(t);return cc(t)?a:function(t,e){for(var n=-1,a=e.length,r=t.length;++n<a;)t[r+n]=e[n];return t}(a,n(t))}(t,su,Eu)}var Du=$c(Jl,"DataView"),Pu=$c(Jl,"Promise"),Iu=$c(Jl,"Set"),Ou=yc(Du),Ru=yc(gu),Fu=yc(Pu),Mu=yc(Iu),ju=yc(Sc),Bu=ic;(Du&&"[object DataView]"!=Bu(new Du(new ArrayBuffer(1)))||gu&&"[object Map]"!=Bu(new gu)||Pu&&"[object Promise]"!=Bu(Pu.resolve())||Iu&&"[object Set]"!=Bu(new Iu)||Sc&&"[object WeakMap]"!=Bu(new Sc))&&(Bu=function(t){var e=ic(t),n="[object Object]"==e?t.constructor:void 0,a=n?yc(n):"";if(a)switch(a){case Ou:return"[object DataView]";case Ru:return"[object Map]";case Fu:return"[object Promise]";case Mu:return"[object Set]";case ju:return"[object WeakMap]"}return e});var qu=Bu,zu=Jl.Uint8Array;function Uu(t){var e=-1,n=null==t?0:t.length;for(this.__data__=new yu;++e<n;)this.add(t[e])}function Hu(t,e){for(var n=-1,a=null==t?0:t.length;++n<a;)if(e(t[n],n,t))return!0;return!1}Uu.prototype.add=Uu.prototype.push=function(t){return this.__data__.set(t,"__lodash_hash_undefined__"),this},Uu.prototype.has=function(t){return this.__data__.has(t)};function Vu(t,e,n,a,r,i){var s=1&n,o=t.length,l=e.length;if(o!=l&&!(s&&l>o))return!1;var c=i.get(t);if(c&&i.get(e))return c==e;var u=-1,d=!0,p=2&n?new Uu:void 0;for(i.set(t,e),i.set(e,t);++u<o;){var f=t[u],h=e[u];if(a)var v=s?a(h,f,u,e,t,i):a(f,h,u,t,e,i);if(void 0!==v){if(v)continue;d=!1;break}if(p){if(!Hu(e,(function(t,e){if(s=e,!p.has(s)&&(f===t||r(f,t,n,a,i)))return p.push(e);var s}))){d=!1;break}}else if(f!==h&&!r(f,h,n,a,i)){d=!1;break}}return i.delete(t),i.delete(e),d}function Wu(t){var e=-1,n=Array(t.size);return t.forEach((function(t,a){n[++e]=[a,t]})),n}function Qu(t){var e=-1,n=Array(t.size);return t.forEach((function(t){n[++e]=t})),n}var Gu=Xl?Xl.prototype:void 0,Ku=Gu?Gu.valueOf:void 0;var Yu=Object.prototype.hasOwnProperty;var Ju=Object.prototype.hasOwnProperty;function Xu(t,e,n,a,r,i){var s=cc(t),o=cc(e),l=s?"[object Array]":qu(t),c=o?"[object Array]":qu(e),u="[object Object]"==(l="[object Arguments]"==l?"[object Object]":l),d="[object Object]"==(c="[object Arguments]"==c?"[object Object]":c),p=l==c;if(p&&Hc(t)){if(!Hc(e))return!1;s=!0,u=!1}if(p&&!u)return i||(i=new $u),s||Xc(t)?Vu(t,e,n,a,r,i):function(t,e,n,a,r,i,s){switch(n){case"[object DataView]":if(t.byteLength!=e.byteLength||t.byteOffset!=e.byteOffset)return!1;t=t.buffer,e=e.buffer;case"[object ArrayBuffer]":return!(t.byteLength!=e.byteLength||!i(new zu(t),new zu(e)));case"[object Boolean]":case"[object Date]":case"[object Number]":return Nc(+t,+e);case"[object Error]":return t.name==e.name&&t.message==e.message;case"[object RegExp]":case"[object String]":return t==e+"";case"[object Map]":var o=Wu;case"[object Set]":var l=1&a;if(o||(o=Qu),t.size!=e.size&&!l)return!1;var c=s.get(t);if(c)return c==e;a|=2,s.set(t,e);var u=Vu(o(t),o(e),a,r,i,s);return s.delete(t),u;case"[object Symbol]":if(Ku)return Ku.call(t)==Ku.call(e)}return!1}(t,e,l,n,a,r,i);if(!(1&n)){var f=u&&Ju.call(t,"__wrapped__"),h=d&&Ju.call(e,"__wrapped__");if(f||h){var v=f?t.value():t,m=h?e.value():e;return i||(i=new $u),r(v,m,n,a,i)}}return!!p&&(i||(i=new $u),function(t,e,n,a,r,i){var s=1&n,o=Nu(t),l=o.length;if(l!=Nu(e).length&&!s)return!1;for(var c=l;c--;){var u=o[c];if(!(s?u in e:Yu.call(e,u)))return!1}var d=i.get(t);if(d&&i.get(e))return d==e;var p=!0;i.set(t,e),i.set(e,t);for(var f=s;++c<l;){var h=t[u=o[c]],v=e[u];if(a)var m=s?a(v,h,u,e,t,i):a(h,v,u,t,e,i);if(!(void 0===m?h===v||r(h,v,n,a,i):m)){p=!1;break}f||(f="constructor"==u)}if(p&&!f){var g=t.constructor,_=e.constructor;g==_||!("constructor"in t)||!("constructor"in e)||"function"==typeof g&&g instanceof g&&"function"==typeof _&&_ instanceof _||(p=!1)}return i.delete(t),i.delete(e),p}(t,e,n,a,r,i))}function Zu(t,e,n,a,r){return t===e||(null==t||null==e||!sc(t)&&!sc(e)?t!=t&&e!=e:Xu(t,e,n,a,Zu,r))}function td(t){return t==t&&!fc(t)}function ed(t,e){return function(n){return null!=n&&(n[t]===e&&(void 0!==e||t in Object(n)))}}function nd(t){var e=function(t){for(var e=su(t),n=e.length;n--;){var a=e[n],r=t[a];e[n]=[a,r,td(r)]}return e}(t);return 1==e.length&&e[0][2]?ed(e[0][0],e[0][1]):function(n){return n===t||function(t,e,n,a){var r=n.length,i=r,s=!a;if(null==t)return!i;for(t=Object(t);r--;){var o=n[r];if(s&&o[2]?o[1]!==t[o[0]]:!(o[0]in t))return!1}for(;++r<i;){var l=(o=n[r])[0],c=t[l],u=o[1];if(s&&o[2]){if(void 0===c&&!(l in t))return!1}else{var d=new $u;if(a)var p=a(c,u,l,t,e,d);if(!(void 0===p?Zu(u,c,3,a,d):p))return!1}}return!0}(n,t,e)}}function ad(t,e){return null!=t&&e in Object(t)}function rd(t,e){return null!=t&&function(t,e,n){for(var a=-1,r=(e=Cu(e,t)).length,i=!1;++a<r;){var s=xu(e[a]);if(!(i=null!=t&&n(t,s)))break;t=t[s]}return i||++a!=r?i:!!(r=null==t?0:t.length)&&Dc(r)&&Ec(s,r)&&(cc(t)||Bc(t))}(t,e,ad)}function id(t,e){return cu(t)&&td(e)?ed(xu(t),e):function(n){var a=function(t,e,n){var a=null==t?void 0:Tu(t,e);return void 0===a?n:a}(n,t);return void 0===a&&a===e?rd(n,t):Zu(e,a,3)}}function sd(t){return cu(t)?(e=xu(t),function(t){return null==t?void 0:t[e]}):function(t){return function(e){return Tu(e,t)}}(t);var e}function od(t){return"function"==typeof t?t:null==t?hc:"object"==typeof t?cc(t)?id(t[0],t[1]):nd(t):sd(t)}var ld,cd=function(t,e,n){for(var a=-1,r=Object(t),i=n(t),s=i.length;s--;){var o=i[ld?s:++a];if(!1===e(r[o],o,r))break}return t};var ud=function(t,e){return function(n,a){if(null==n)return n;if(!Pc(n))return t(n,a);for(var r=n.length,i=e?r:-1,s=Object(n);(e?i--:++i<r)&&!1!==a(s[i],i,s););return n}}((function(t,e){return t&&cd(t,e,su)}));var dd=Object.prototype.hasOwnProperty;function pd(t){if(null==t)return!0;if(Pc(t)&&(cc(t)||"string"==typeof t||"function"==typeof t.splice||Hc(t)||Xc(t)||Bc(t)))return!t.length;var e=qu(t);if("[object Map]"==e||"[object Set]"==e)return!t.size;if(Oc(t))return!iu(t).length;for(var n in t)if(dd.call(t,n))return!1;return!0}function fd(t,e){if(t!==e){var n=void 0!==t,a=null===t,r=t==t,i=oc(t),s=void 0!==e,o=null===e,l=e==e,c=oc(e);if(!o&&!c&&!i&&t>e||i&&s&&l&&!o&&!c||a&&s&&l||!n&&l||!r)return 1;if(!a&&!i&&!c&&t<e||c&&n&&r&&!a&&!i||o&&n&&r||!s&&r||!l)return-1}return 0}function hd(t,e,n){var a=-1;return e=lc(e.length?e:[hc],Wc(od)),function(t,e){var n=t.length;for(t.sort(e);n--;)t[n]=t[n].value;return t}(function(t,e){var n=-1,a=Pc(t)?Array(t.length):[];return ud(t,(function(t,r,i){a[++n]=e(t,r,i)})),a}(t,(function(t,n,r){return{criteria:lc(e,(function(e){return e(t)})),index:++a,value:t}})),(function(t,e){return function(t,e,n){for(var a=-1,r=t.criteria,i=e.criteria,s=r.length,o=n.length;++a<s;){var l=fd(r[a],i[a]);if(l)return a>=o?l:l*("desc"==n[a]?-1:1)}return t.index-e.index}(t,e,n)}))}var vd={sendAddToQueue:function(t,e=null){""!=t&&to.emit("addToQueue",{url:t,bitrate:e},()=>{})}};const md={name:"artist-tab",data:()=>({currentTab:"",sortKey:"release_date",sortOrder:"desc",title:"",image:"",type:"",link:"",head:null,body:null}),methods:{backTab:lp,albumView:op.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(t){t.stopPropagation(),vd.sendAddToQueue(t.currentTarget.dataset.link)},openQualityModal(t){this.$root.$emit("QualityModal:open",t.currentTarget.dataset.link)},sortBy(t){t==this.sortKey?this.sortOrder="asc"==this.sortOrder?"desc":"asc":(this.sortKey=t,this.sortOrder="asc")},changeTab(t){this.currentTab=t},getCurrentTab(){return this.currentTab},updateSelected(){window.currentStack.selected=this.currentTab},checkNewRelease(t){let e=new Date,n=new Date(t);return n.setDate(n.getDate()+3),e.setHours(0,0,0,0),e.getTime()<=n.getTime()},showArtist(t){this.reset();const{name:e,picture_xl:n,id:a,releases:r}=t;this.title=e,this.image=n,this.type="Artist",this.link="https://www.deezer.com/artist/"+a,""===this.currentTab&&(this.currentTab=Object.keys(r)[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:"",width:"32px"}],pd(r)?this.body=null:this.body=r}},computed:{showTable(){return this.body?(t=this.body[this.currentTab],e=this.sortKey,n=this.sortOrder,null==t?[]:(cc(e)||(e=null==e?[]:[e]),cc(n=a?void 0:n)||(n=null==n?[]:[n]),hd(t,e,n))):[];var t,e,n,a}},mounted(){this.$refs.root.style.display="block",console.log("artist mounted"),to.on("show_artist",this.showArtist),eo.$on("artistTab:updateSelected",this.updateSelected),eo.$on("artistTab:changeTab",this.changeTab)},beforeDestroy(){console.log("artist bef dest"),this.$refs.root.style.display="none"}};var gd=function(){var t=this,e=t.$createElement,n=t._self._c||e;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('"+t.image+"')"}},[n("h1",[t._v(t._s(t.title))]),t._v(" "),n("div",{staticClass:"fab right",attrs:{role:"button","aria-label":"download","data-link":t.link},on:{contextmenu:function(e){return e.preventDefault(),t.openQualityModal(e)},click:function(e){return e.stopPropagation(),t.addToQueue(e)}}},[n("i",{staticClass:"material-icons",attrs:{title:t.$t("globals.download_hint")}},[t._v("get_app")])])]),t._v(" "),n("div",{staticClass:"tab"},t._l(t.body,(function(e,a){return n("button",{key:a,staticClass:"selective",class:{active:a===t.currentTab},attrs:{href:"#artist_"+a},on:{click:function(e){return t.changeTab(a)}}},[t._v("\n\t\t\t"+t._s(t.$tc("globals.listTabs."+a,2))+"\n\t\t")])})),0),t._v(" "),n("table",{staticClass:"table"},[n("thead",[n("tr",t._l(t.head,(function(e){return n("th",{class:{"sort-asc":e.sortKey==t.sortKey&&"asc"==t.sortOrder,"sort-desc":e.sortKey==t.sortKey&&"desc"==t.sortOrder,sortable:e.sortKey,clickable:e.sortKey},style:{width:e.width?e.width:"auto"},on:{click:function(n){e.sortKey&&t.sortBy(e.sortKey)}}},[t._v("\n\t\t\t\t\t"+t._s(e.title)+"\n\t\t\t\t")])})),0)]),t._v(" "),n("tbody",t._l(t.showTable,(function(e){return n("tr",{key:e.id},[n("td",{staticClass:"inline-flex clickable",attrs:{"data-id":e.id},on:{click:t.albumView}},[n("img",{staticClass:"rounded coverart",staticStyle:{"margin-right":"16px",width:"56px",height:"56px"},attrs:{src:e.cover_small}}),t._v(" "),e.explicit_lyrics?n("i",{staticClass:"material-icons explicit_icon"},[t._v("\n\t\t\t\t\t\texplicit\n\t\t\t\t\t")]):t._e(),t._v("\n\t\t\t\t\t"+t._s(e.title)+"\n\t\t\t\t\t"),t.checkNewRelease(e.release_date)?n("i",{staticClass:"material-icons",staticStyle:{color:"#ff7300"}},[t._v("\n\t\t\t\t\t\tfiber_new\n\t\t\t\t\t")]):t._e()]),t._v(" "),n("td",[t._v(t._s(e.release_date))]),t._v(" "),n("td",{staticClass:"clickable",attrs:{"data-link":e.link},on:{click:function(e){return e.stopPropagation(),t.addToQueue(e)},contextmenu:function(e){return e.preventDefault(),t.openQualityModal(e)}}},[n("i",{staticClass:"material-icons",attrs:{title:t.$t("globals.download_hint")}},[t._v("\n\t\t\t\t\t\tfile_download\n\t\t\t\t\t")])])])})),0)]),t._v(" "),n("footer",[n("button",{staticClass:"back-button",on:{click:t.backTab}},[t._v(t._s(t.$t("globals.back")))])])])};gd._withStripped=!0;var _d=function(t,e,n,a,r,i,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=t.render,l.staticRenderFns=t.staticRenderFns,l._compiled=!0,r&&(l.functional=!0)),l._scopeId=a;{let t;if(e&&(t=function(t){e.call(this,s(t))}),void 0!==t)if(l.functional){const e=l.render;l.render=function(n,a){return t.call(a),e(n,a)}}else{const e=l.beforeCreate;l.beforeCreate=e?[].concat(e,t):[t]}}return l}({render:gd,staticRenderFns:[]},(function(t){t&&t("data-v-5a788dc3_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",map:{version:3,sources:[],names:[],mappings:"",file:"ArtistTab.vue"},media:void 0})}),md,void 0,!1,0,(function t(){const e=document.head||document.getElementsByTagName("head")[0],n=t.styles||(t.styles={}),a="undefined"!=typeof navigator&&/msie [6-9]\\b/.test(navigator.userAgent.toLowerCase());return function(t,r){if(document.querySelector('style[data-vue-ssr-id~="'+t+'"]'))return;const i=a?r.media||"default":t,s=n[i]||(n[i]={ids:[],parts:[],element:void 0});if(!s.ids.includes(t)){let n=r.source,o=s.ids.length;if(s.ids.push(t),a&&(s.element=s.element||document.querySelector("style[data-group="+i+"]")),!s.element){const t=s.element=document.createElement("style");t.type="text/css",r.media&&t.setAttribute("media",r.media),a&&(t.setAttribute("data-group",i),t.setAttribute("data-next-index","0")),e.appendChild(t)}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 t=document.createTextNode(n),e=s.element.childNodes;e[o]&&s.element.removeChild(e[o]),e.length?s.element.insertBefore(t,e[o]):s.element.appendChild(t)}}}}));function yd(t){let e=t.toLowerCase();if(e.startsWith("http")){if(e.indexOf("deezer.com")>=0||e.indexOf("open.spotify.com")>=0)return!0}else if(e.startsWith("spotify:"))return!0;return!1}function bd(t,e,n){var a;return function(){var r=this,i=arguments,s=function(){a=null,n||t.apply(r,i)},o=n&&!a;clearTimeout(a),a=setTimeout(s,e),o&&t.apply(r,i)}}var wd={isValidURL:yd,convertDuration:function(t){let e,n;return e=Math.floor(t/60),n=t-60*e,n<10&&(n="0"+n),e+":"+n},convertDurationSeparated:function(t){let e,n,a;return n=Math.floor(t/60),e=Math.floor(n/60),a=t-60*n,n-=60*e,[e,n,a]},numberWithDots:function(t){return t.toString().replace(/\B(?=(\d{3})+(?!\d))/g,".")},debounce:bd,COUNTRIES:{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 Ad={name:"tracklist-tab",data:()=>({title:"",metadata:"",release_date:"",label:"",explicit:!1,image:"",type:"empty",link:"",body:[]}),methods:{backTab:lp,artistView:op.bind(null,"artist"),albumView:op.bind(null,"album"),playPausePreview(t){eo.$emit("trackPreview:playPausePreview",t)},reset(){console.log("resetto"),this.title="Loading...",this.image="",this.metadata="",this.label="",this.release_date="",this.explicit=!1,this.type="empty",this.body=[]},addToQueue(t){vd.sendAddToQueue(t.currentTarget.dataset.link)},openQualityModal(t){this.$root.$emit("QualityModal:open",t.currentTarget.dataset.link)},toggleAll(t){this.body.forEach(e=>{"track"==e.type&&(e.selected=t.currentTarget.checked)})},selectedLinks(){var t=[];return this.body&&this.body.forEach(e=>{"track"==e.type&&e.selected&&t.push("spotifyPlaylist"==this.type?e.uri:e.link)}),t.join(";")},convertDuration:wd.convertDuration,showAlbum(t){this.reset();const{id:e,title:n,explicit_lyrics:a,label:r,artist:{name:i},tracks:s,tracks:{length:o},release_date:l,cover_xl:c}=t;this.type="album",this.link="https://www.deezer.com/album/"+e,this.title=n,this.explicit=a,this.label=r,this.metadata=`${i}${this.$tc("globals.listTabs.trackN",o)}`,this.release_date=l.substring(0,10),this.image=c,pd(s)?this.body=null:this.body=s},showPlaylist(t){this.reset(),console.log(t);const{id:e,title:n,picture_xl:a,creation_date:r,creator:{name:i},tracks:s,tracks:{length:o}}=t;this.type="playlist",this.link="https://www.deezer.com/playlist/"+e,this.title=n,this.image=a,this.release_date=r.substring(0,10),this.metadata=`${this.$t("globals.by",[i])}${this.$tc("globals.listTabs.trackN",o)}`,pd(s)?this.body=null:this.body=s},showSpotifyPlaylist(t){this.reset();const{uri:e,name:n,images:a,images:{length:r},owner:{display_name:i},tracks:s,tracks:{length:o}}=t;this.type="spotifyPlaylist",this.link=e,this.title=n,this.image=r?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",[i])}${this.$tc("globals.listTabs.trackN",o)}`,pd(s)?this.body=null:this.body=s},selectRow(t,e){e.selected=!e.selected}},mounted(){console.log("tracklist mounted"),this.$refs.root.style.display="block",eo.$on("tracklistTab:selectRow",this.selectRow),to.on("show_album",this.showAlbum),to.on("show_playlist",this.showPlaylist),to.on("show_spotifyplaylist",this.showSpotifyPlaylist)},beforeDestroy(){console.log("tracklist bef dest"),this.$refs.root.style.display="none"}};var kd=function(){var t=this,e=t.$createElement,n=t._self._c||e;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('"+t.image+"')"}},[n("h1",{staticClass:"inline-flex"},[t._v("\n\t\t\t"+t._s(t.title)+" "),t.explicit?n("i",{staticClass:"material-icons explicit_icon explicit_icon--right"},[t._v("explicit")]):t._e()]),t._v(" "),n("h2",{staticClass:"inline-flex"},[t.metadata?n("span",[t._v(t._s(t.metadata))]):t._e(),t._v(" "),t.release_date?n("span",{staticClass:"right"},[t._v(t._s(t.release_date))]):t._e()])]),t._v(" "),n("table",{staticClass:"table table--tracklist"},[n("thead",[n("tr",[t._m(0),t._v(" "),n("th",[t._v("#")]),t._v(" "),n("th",[t._v(t._s(t.$tc("globals.listTabs.title",1)))]),t._v(" "),n("th",[t._v(t._s(t.$tc("globals.listTabs.artist",1)))]),t._v(" "),"playlist"===t.type?n("th",[t._v(t._s(t.$tc("globals.listTabs.album",1)))]):t._e(),t._v(" "),t._m(1),t._v(" "),n("th",{staticClass:"table__icon table__cell--center clickable"},[n("input",{staticClass:"selectAll",attrs:{type:"checkbox"},on:{click:t.toggleAll}})])])]),t._v(" "),n("tbody",["spotifyPlaylist"!==t.type?[t._l(t.body,(function(e,a){return["track"==e.type?n("tr",{on:{click:function(n){return t.selectRow(a,e)}}},[n("td",{staticClass:"table__cell--x-small table__cell--center"},[n("div",{staticClass:"table__cell-content table__cell-content--vertical-center"},[n("i",t._g({staticClass:"material-icons",class:{preview_playlist_controls:e.preview,disabled:!e.preview},attrs:{"data-preview":e.preview,title:t.$t("globals.play_hint")}},{click:!!e.preview&&t.playPausePreview}),[t._v("\n\t\t\t\t\t\t\t\t\tplay_arrow\n\t\t\t\t\t\t\t\t")])])]),t._v(" "),n("td",{staticClass:"table__cell--small table__cell--center track_position"},[t._v("\n\t\t\t\t\t\t\t"+t._s("album"===t.type?e.track_position:t.body.indexOf(e)+1)+"\n\t\t\t\t\t\t")]),t._v(" "),n("td",{staticClass:"table__cell--large table__cell--with-icon"},[n("div",{staticClass:"table__cell-content table__cell-content--vertical-center"},[e.explicit_lyrics?n("i",{staticClass:"material-icons explicit_icon"},[t._v("\n\t\t\t\t\t\t\t\t\texplicit\n\t\t\t\t\t\t\t\t")]):t._e(),t._v("\n\t\t\t\t\t\t\t\t"+t._s(e.title+(e.title_version&&-1==e.title.indexOf(e.title_version)?" "+e.title_version:""))+"\n\t\t\t\t\t\t\t")])]),t._v(" "),n("td",{staticClass:"table__cell--medium table__cell--center clickable",attrs:{"data-id":e.artist.id},on:{click:t.artistView}},[t._v("\n\t\t\t\t\t\t\t"+t._s(e.artist.name)+"\n\t\t\t\t\t\t")]),t._v(" "),"playlist"==t.type?n("td",{staticClass:"table__cell--medium table__cell--center clickable",attrs:{"data-id":e.album.id},on:{click:t.albumView}},[t._v("\n\t\t\t\t\t\t\t"+t._s(e.album.title)+"\n\t\t\t\t\t\t")]):t._e(),t._v(" "),n("td",{staticClass:"table__cell--center",class:{"table__cell--small":"album"===t.type,"table__cell--x-small":"playlist"===t.type}},[t._v("\n\t\t\t\t\t\t\t"+t._s(t.convertDuration(e.duration))+"\n\t\t\t\t\t\t")]),t._v(" "),n("td",{staticClass:"table__icon table__cell--center"},[n("input",{directives:[{name:"model",rawName:"v-model",value:e.selected,expression:"track.selected"}],staticClass:"clickable",attrs:{type:"checkbox"},domProps:{checked:Array.isArray(e.selected)?t._i(e.selected,null)>-1:e.selected},on:{change:function(n){var a=e.selected,r=n.target,i=!!r.checked;if(Array.isArray(a)){var s=t._i(a,null);r.checked?s<0&&t.$set(e,"selected",a.concat([null])):s>-1&&t.$set(e,"selected",a.slice(0,s).concat(a.slice(s+1)))}else t.$set(e,"selected",i)}}})])]):"disc_separator"==e.type?n("tr",{staticClass:"table__row-no-highlight",staticStyle:{opacity:"0.54"}},[t._m(2,!0),t._v(" "),n("td",{staticClass:"table__cell--center"},[t._v("\n\t\t\t\t\t\t\t"+t._s(e.number)+"\n\t\t\t\t\t\t")]),t._v(" "),n("td",{attrs:{colspan:"4"}})]):t._e()]}))]:t._l(t.body,(function(e,a){return n("tr",[n("td",[e.preview_url?n("i",{class:"material-icons"+(e.preview_url?" preview_playlist_controls":""),attrs:{"data-preview":e.preview_url,title:t.$t("globals.play_hint")},on:{click:t.playPausePreview}},[t._v("\n\t\t\t\t\t\t\tplay_arrow\n\t\t\t\t\t\t")]):n("i",{staticClass:"material-icons disabled"},[t._v("play_arrow")])]),t._v(" "),n("td",[t._v(t._s(a+1))]),t._v(" "),n("td",{staticClass:"inline-flex"},[e.explicit?n("i",{staticClass:"material-icons explicit_icon"},[t._v("explicit")]):t._e(),t._v("\n\t\t\t\t\t\t"+t._s(e.name)+"\n\t\t\t\t\t")]),t._v(" "),n("td",[t._v(t._s(e.artists[0].name))]),t._v(" "),n("td",[t._v(t._s(e.album.name))]),t._v(" "),n("td",[t._v(t._s(t.convertDuration(Math.floor(e.duration_ms/1e3))))]),t._v(" "),n("td",[n("input",{directives:[{name:"model",rawName:"v-model",value:e.selected,expression:"track.selected"}],staticClass:"clickable",attrs:{type:"checkbox"},domProps:{checked:Array.isArray(e.selected)?t._i(e.selected,null)>-1:e.selected},on:{change:function(n){var a=e.selected,r=n.target,i=!!r.checked;if(Array.isArray(a)){var s=t._i(a,null);r.checked?s<0&&t.$set(e,"selected",a.concat([null])):s>-1&&t.$set(e,"selected",a.slice(0,s).concat(a.slice(s+1)))}else t.$set(e,"selected",i)}}})])])}))],2)]),t._v(" "),t.label?n("span",{staticStyle:{opacity:"0.4","margin-top":"8px",display:"inline-block","font-size":"13px"}},[t._v(t._s(t.label))]):t._e(),t._v(" "),n("footer",[n("button",{attrs:{"data-link":t.link},on:{contextmenu:function(e){return e.preventDefault(),t.openQualityModal(e)},click:function(e){return e.stopPropagation(),t.addToQueue(e)}}},[t._v("\n\t\t\t"+t._s(""+t.$t("globals.download",[t.$tc("globals.listTabs."+t.type,1)]))+"\n\t\t")]),t._v(" "),n("button",{staticClass:"with_icon",attrs:{"data-link":t.selectedLinks()},on:{contextmenu:function(e){return e.preventDefault(),t.openQualityModal(e)},click:function(e){return e.stopPropagation(),t.addToQueue(e)}}},[t._v("\n\t\t\t"+t._s(t.$t("tracklist.downloadSelection"))),n("i",{staticClass:"material-icons"},[t._v("file_download")])]),t._v(" "),n("button",{staticClass:"back-button",on:{click:t.backTab}},[t._v(t._s(t.$t("globals.back")))])])])};kd._withStripped=!0;var Cd=function(t,e,n,a,r,i,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=t.render,l.staticRenderFns=t.staticRenderFns,l._compiled=!0,r&&(l.functional=!0)),l._scopeId=a;{let t;if(e&&(t=function(t){e.call(this,s(t))}),void 0!==t)if(l.functional){const e=l.render;l.render=function(n,a){return t.call(a),e(n,a)}}else{const e=l.beforeCreate;l.beforeCreate=e?[].concat(e,t):[t]}}return l}({render:kd,staticRenderFns:[function(){var t=this.$createElement,e=this._self._c||t;return e("th",[e("i",{staticClass:"material-icons"},[this._v("music_note")])])},function(){var t=this.$createElement,e=this._self._c||t;return e("th",[e("i",{staticClass:"material-icons"},[this._v("timer")])])},function(){var t=this.$createElement,e=this._self._c||t;return e("td",[e("div",{staticClass:"table__cell-content table__cell-content--vertical-center",staticStyle:{opacity:"0.54"}},[e("i",{staticClass:"material-icons"},[this._v("album")])])])}]},(function(t){t&&t("data-v-04de0dda_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\n\n\n\n\n\n\n\n\n\n\n\n",map:{version:3,sources:[],names:[],mappings:"",file:"TracklistTab.vue"},media:void 0})}),Ad,void 0,!1,0,(function t(){const e=document.head||document.getElementsByTagName("head")[0],n=t.styles||(t.styles={}),a="undefined"!=typeof navigator&&/msie [6-9]\\b/.test(navigator.userAgent.toLowerCase());return function(t,r){if(document.querySelector('style[data-vue-ssr-id~="'+t+'"]'))return;const i=a?r.media||"default":t,s=n[i]||(n[i]={ids:[],parts:[],element:void 0});if(!s.ids.includes(t)){let n=r.source,o=s.ids.length;if(s.ids.push(t),a&&(s.element=s.element||document.querySelector("style[data-group="+i+"]")),!s.element){const t=s.element=document.createElement("style");t.type="text/css",r.media&&t.setAttribute("media",r.media),a&&(t.setAttribute("data-group",i),t.setAttribute("data-next-index","0")),e.appendChild(t)}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 t=document.createTextNode(n),e=s.element.childNodes;e[o]&&s.element.removeChild(e[o]),e.length?s.element.insertBefore(t,e[o]):s.element.appendChild(t)}}}}));const xd={name:"the-home-tab",data:()=>({playlists:[],albums:[]}),methods:{artistView:op.bind(null,"artist"),albumView:op.bind(null,"album"),playlistView:op.bind(null,"playlist"),openSettings(){document.getElementById("main_settings_tablink").click()},addToQueue(t){vd.sendAddToQueue(t.currentTarget.dataset.link)},openQualityModal(t){this.$root.$emit("QualityModal:open",t.currentTarget.dataset.link)},initHome(t){const{playlists:{data:e},albums:{data:n}}=t;this.playlists=e,this.albums=n}},mounted(){console.log("home mounted"),this.$refs.root.style.display="block",localStorage.getItem("arl")&&this.$refs.notLogged.classList.add("hide"),to.on("init_home",this.initHome)},beforeDestroy(){console.log("home bef dest"),this.$refs.root.style.display="none"}};var Td=function(){var t=this,e=t.$createElement,n=t._self._c||e;return n("div",{ref:"root",staticClass:"main_tabcontent",attrs:{id:"home_tab"}},[n("h2",{staticClass:"page_heading"},[t._v(t._s(t.$t("globals.welcome")))]),t._v(" "),n("section",{ref:"notLogged",staticClass:"home_section",attrs:{id:"home_not_logged_in"}},[n("p",{attrs:{id:"home_not_logged_text"}},[t._v(t._s(t.$t("home.needTologin")))]),t._v(" "),n("button",{attrs:{type:"button",name:"button"},on:{click:t.openSettings}},[t._v(t._s(t.$t("home.openSettings")))])]),t._v(" "),t.playlists.length?n("section",{staticClass:"home_section"},[n("h3",{staticClass:"section_heading"},[t._v(t._s(t.$t("home.sections.popularPlaylists")))]),t._v(" "),n("div",{staticClass:"release_grid"},t._l(t.playlists,(function(e){return n("div",{key:e.id,staticClass:"release clickable",attrs:{"data-id":e.id},on:{click:t.playlistView}},[n("div",{staticClass:"cover_container"},[n("img",{staticClass:"rounded coverart",attrs:{"aria-hidden":"true",src:e.picture_medium}}),t._v(" "),n("div",{staticClass:"download_overlay",attrs:{role:"button","aria-label":"download","data-link":e.link},on:{contextmenu:function(e){return e.preventDefault(),t.openQualityModal(e)},click:function(e){return e.stopPropagation(),t.addToQueue(e)}}},[n("i",{staticClass:"material-icons",attrs:{title:t.$t("globals.download_hint")}},[t._v("get_app")])])]),t._v(" "),n("p",{staticClass:"primary-text"},[t._v(t._s(e.title))]),t._v(" "),n("p",{staticClass:"secondary-text"},[t._v("\n\t\t\t\t\t"+t._s(t.$t("globals.by",[e.user.name])+" - "+t.$tc("globals.listTabs.trackN",e.nb_tracks))+"\n\t\t\t\t")])])})),0)]):t._e(),t._v(" "),t.albums.length?n("section",{staticClass:"home_section"},[n("h3",{staticClass:"section_heading"},[t._v(t._s(t.$t("home.sections.popularAlbums")))]),t._v(" "),n("div",{staticClass:"release_grid"},t._l(t.albums,(function(e){return n("div",{key:e.id,staticClass:"release clickable",attrs:{"data-id":e.id},on:{click:t.albumView}},[n("div",{staticClass:"cover_container"},[n("img",{staticClass:"rounded coverart",attrs:{"aria-hidden":"true",src:e.cover_medium}}),t._v(" "),n("div",{staticClass:"download_overlay",attrs:{role:"button","aria-label":"download","data-link":e.link},on:{contextmenu:function(e){return e.preventDefault(),t.openQualityModal(e)},click:function(e){return e.stopPropagation(),t.addToQueue(e)}}},[n("i",{staticClass:"material-icons",attrs:{title:t.$t("globals.download_hint")}},[t._v("get_app")])])]),t._v(" "),n("p",{staticClass:"primary-text"},[t._v(t._s(e.title))]),t._v(" "),n("p",{staticClass:"secondary-text"},[t._v(t._s(""+t.$t("globals.by",[e.artist.name])))])])})),0)]):t._e()])};Td._withStripped=!0;var $d=function(t,e,n,a,r,i,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=t.render,l.staticRenderFns=t.staticRenderFns,l._compiled=!0,r&&(l.functional=!0)),l._scopeId=a;{let t;if(e&&(t=function(t){e.call(this,s(t))}),void 0!==t)if(l.functional){const e=l.render;l.render=function(n,a){return t.call(a),e(n,a)}}else{const e=l.beforeCreate;l.beforeCreate=e?[].concat(e,t):[t]}}return l}({render:Td,staticRenderFns:[]},(function(t){t&&t("data-v-1a777f90_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})}),xd,void 0,!1,0,(function t(){const e=document.head||document.getElementsByTagName("head")[0],n=t.styles||(t.styles={}),a="undefined"!=typeof navigator&&/msie [6-9]\\b/.test(navigator.userAgent.toLowerCase());return function(t,r){if(document.querySelector('style[data-vue-ssr-id~="'+t+'"]'))return;const i=a?r.media||"default":t,s=n[i]||(n[i]={ids:[],parts:[],element:void 0});if(!s.ids.includes(t)){let n=r.source,o=s.ids.length;if(s.ids.push(t),a&&(s.element=s.element||document.querySelector("style[data-group="+i+"]")),!s.element){const t=s.element=document.createElement("style");t.type="text/css",r.media&&t.setAttribute("media",r.media),a&&(t.setAttribute("data-group",i),t.setAttribute("data-next-index","0")),e.appendChild(t)}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 t=document.createTextNode(n),e=s.element.childNodes;e[o]&&s.element.removeChild(e[o]),e.length?s.element.insertBefore(t,e[o]):s.element.appendChild(t)}}}}));const Sd={name:"the-charts-tab",data:()=>({country:"",id:0,countries:[],chart:[]}),methods:{artistView:op.bind(null,"artist"),albumView:op.bind(null,"album"),playPausePreview(t){eo.$emit("trackPreview:playPausePreview",t)},previewMouseEnter(t){eo.$emit("trackPreview:previewMouseEnter",t)},previewMouseLeave(t){eo.$emit("trackPreview:previewMouseLeave",t)},convertDuration:wd.convertDuration,addToQueue(t){t.stopPropagation(),vd.sendAddToQueue(t.currentTarget.dataset.link)},openQualityModal(t){this.$root.$emit("QualityModal:open",t.currentTarget.dataset.link)},getTrackList(t){document.getElementById("content").scrollTo(0,0);const{currentTarget:{dataset:{title:e}},currentTarget:{dataset:{id:n}}}=t;this.country=e,localStorage.setItem("chart",this.country),this.id=n,to.emit("getChartTracks",this.id)},setTracklist(t){this.chart=t},changeCountry(){this.country="",this.id=0},initCharts(t){if(this.countries=t,this.country=localStorage.getItem("chart")||"",!this.country)return;let e=0;for(;e<this.countries.length&&this.countries[e].title!=this.country;e++);e!==this.countries.length?(this.id=this.countries[e].id,to.emit("getChartTracks",this.id)):(this.country="",localStorage.setItem("chart",this.country))}},mounted(){console.log("charts mounted"),this.$refs.root.style.display="block",to.on("init_charts",this.initCharts),to.on("setChartTracks",this.setTracklist)},beforeDestroy(){console.log("charts bef dest"),this.$refs.root.style.display="none"}};var Ld=function(){var t=this,e=t.$createElement,n=t._self._c||e;return n("div",{ref:"root",staticClass:"main_tabcontent",attrs:{id:"charts_tab"}},[n("h2",{staticClass:"page_heading"},[t._v(t._s(t.$t("charts.title")))]),t._v(" "),""===t.country?n("div",{attrs:{id:"charts_selection"}},[n("div",{staticClass:"release_grid charts_grid"},[t._l(t.countries,(function(e){return["Worldwide"===e.title?n("div",{key:e.id,staticClass:"release clickable",attrs:{role:"button","aria-label":e.title,"data-title":e.title,"data-id":e.id},on:{click:t.getTrackList}},[n("img",{staticClass:"rounded coverart",attrs:{src:e.picture_medium}})]):t._e()]})),t._v(" "),t._l(t.countries,(function(e){return["Worldwide"!==e.title?n("div",{key:e.id,staticClass:"release clickable",attrs:{role:"button","aria-label":e.title,"data-title":e.title,"data-id":e.id},on:{click:t.getTrackList}},[n("img",{staticClass:"rounded coverart",attrs:{src:e.picture_medium}})]):t._e()]}))],2)]):n("div",{attrs:{id:"charts_table"}},[n("button",{on:{click:t.changeCountry}},[t._v(t._s(t.$t("charts.changeCountry")))]),t._v(" "),n("button",{attrs:{"data-link":"https://www.deezer.com/playlist/"+t.id},on:{contextmenu:function(e){return e.preventDefault(),t.openQualityModal(e)},click:function(e){return e.stopPropagation(),t.addToQueue(e)}}},[t._v("\n\t\t\t"+t._s(t.$t("charts.download"))+"\n\t\t")]),t._v(" "),n("table",{staticClass:"table table--charts"},[n("tbody",t._l(t.chart,(function(e){return n("tr",{staticClass:"track_row"},[n("td",{staticClass:"top-tracks-position",class:{first:1===e.position}},[t._v("\n\t\t\t\t\t\t"+t._s(e.position)+"\n\t\t\t\t\t")]),t._v(" "),n("td",{staticClass:"table__icon table__icon--big"},[n("a",{staticClass:"rounded",class:{"single-cover":e.preview},attrs:{href:"#","data-preview":e.preview},on:{click:t.playPausePreview}},[e.preview?n("i",{staticClass:"material-icons preview_controls",attrs:{title:t.$t("globals.play_hint")},on:{mouseenter:t.previewMouseEnter,mouseleave:t.previewMouseLeave}},[t._v("\n\t\t\t\t\t\t\t\tplay_arrow\n\t\t\t\t\t\t\t")]):t._e(),t._v(" "),n("img",{staticClass:"rounded coverart",attrs:{src:e.album.cover_small}})])]),t._v(" "),n("td",{staticClass:"table__cell--large breakline"},[t._v("\n\t\t\t\t\t\t"+t._s(e.title+(e.title_version&&-1==e.title.indexOf(e.title_version)?" "+e.title_version:""))+"\n\t\t\t\t\t")]),t._v(" "),n("td",{staticClass:"table__cell--medium table__cell--center breakline clickable",attrs:{"data-id":e.artist.id},on:{click:t.artistView}},[t._v("\n\t\t\t\t\t\t"+t._s(e.artist.name)+"\n\t\t\t\t\t")]),t._v(" "),n("td",{staticClass:"table__cell--medium table__cell--center breakline clickable",attrs:{"data-id":e.album.id},on:{click:t.albumView}},[t._v("\n\t\t\t\t\t\t"+t._s(e.album.title)+"\n\t\t\t\t\t")]),t._v(" "),n("td",{staticClass:"table__cell--small table__cell--center"},[t._v("\n\t\t\t\t\t\t"+t._s(t.convertDuration(e.duration))+"\n\t\t\t\t\t")]),t._v(" "),n("td",{staticClass:"table__cell--download",attrs:{"data-link":e.link,role:"button","aria-label":"download"},on:{contextmenu:function(e){return e.preventDefault(),t.openQualityModal(e)},click:function(e){return e.stopPropagation(),t.addToQueue(e)}}},[n("i",{staticClass:"material-icons",attrs:{title:t.$t("globals.download_hint")}},[t._v("get_app")])])])})),0)])])])};Ld._withStripped=!0;var Ed=function(t,e,n,a,r,i,s,o){const l=("function"==typeof n?n.options:n)||{};l.__file="C:\\Users\\Roberto\\Dev\\repos\\deemix-pyweb\\webui\\src\\components\\TheChartsTab.vue",l.render||(l.render=t.render,l.staticRenderFns=t.staticRenderFns,l._compiled=!0,r&&(l.functional=!0)),l._scopeId=a;{let t;if(e&&(t=function(t){e.call(this,s(t))}),void 0!==t)if(l.functional){const e=l.render;l.render=function(n,a){return t.call(a),e(n,a)}}else{const e=l.beforeCreate;l.beforeCreate=e?[].concat(e,t):[t]}}return l}({render:Ld,staticRenderFns:[]},(function(t){t&&t("data-v-162b3e2c_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:"TheChartsTab.vue"},media:void 0})}),Sd,void 0,!1,0,(function t(){const e=document.head||document.getElementsByTagName("head")[0],n=t.styles||(t.styles={}),a="undefined"!=typeof navigator&&/msie [6-9]\\b/.test(navigator.userAgent.toLowerCase());return function(t,r){if(document.querySelector('style[data-vue-ssr-id~="'+t+'"]'))return;const i=a?r.media||"default":t,s=n[i]||(n[i]={ids:[],parts:[],element:void 0});if(!s.ids.includes(t)){let n=r.source,o=s.ids.length;if(s.ids.push(t),a&&(s.element=s.element||document.querySelector("style[data-group="+i+"]")),!s.element){const t=s.element=document.createElement("style");t.type="text/css",r.media&&t.setAttribute("media",r.media),a&&(t.setAttribute("data-group",i),t.setAttribute("data-next-index","0")),e.appendChild(t)}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 t=document.createTextNode(n),e=s.element.childNodes;e[o]&&s.element.removeChild(e[o]),e.length?s.element.insertBefore(t,e[o]):s.element.appendChild(t)}}}})),Nd="undefined"!=typeof globalThis?globalThis:"undefined"!=typeof window?window:"undefined"!=typeof global?global:"undefined"!=typeof self?self:{};function Dd(t,e){return t(e={exports:{}},e.exports),e.exports}var Pd=Dd((function(t){
/*!
* Toastify js 1.8.0
* https://github.com/apvarun/toastify-js
* @license MIT licensed
*
* Copyright (C) 2018 Varun A P
*/
!function(e,n){t.exports?t.exports=n():e.Toastify=n()}(Nd,(function(t){var e=function(t){return new e.lib.init(t)};function n(t,e){return!(!t||"string"!=typeof e)&&!!(t.className&&t.className.trim().split(/\s+/gi).indexOf(e)>-1)}return e.lib=e.prototype={toastify:"1.8.0",constructor:e,init:function(t){return t||(t={}),this.options={},this.toastElement=null,this.options.text=t.text||"Hi there!",this.options.node=t.node,this.options.duration=0===t.duration?0:t.duration||3e3,this.options.selector=t.selector,this.options.callback=t.callback||function(){},this.options.destination=t.destination,this.options.newWindow=t.newWindow||!1,this.options.close=t.close||!1,this.options.gravity="bottom"===t.gravity?"toastify-bottom":"toastify-top",this.options.positionLeft=t.positionLeft||!1,this.options.position=t.position||"",this.options.backgroundColor=t.backgroundColor,this.options.avatar=t.avatar||"",this.options.className=t.className||"",this.options.stopOnFocus=void 0===t.stopOnFocus||t.stopOnFocus,this.options.onClick=t.onClick,this},buildToast:function(){if(!this.options)throw"Toastify is not initialized";var t=document.createElement("div");if(t.className="toastify on "+this.options.className,this.options.position?t.className+=" toastify-"+this.options.position:!0===this.options.positionLeft?(t.className+=" toastify-left",console.warn("Property `positionLeft` will be depreciated in further versions. Please use `position` instead.")):t.className+=" toastify-right",t.className+=" "+this.options.gravity,this.options.backgroundColor&&(t.style.background=this.options.backgroundColor),this.options.node&&this.options.node.nodeType===Node.ELEMENT_NODE)t.appendChild(this.options.node);else if(t.innerHTML=this.options.text,""!==this.options.avatar){var e=document.createElement("img");e.src=this.options.avatar,e.className="toastify-avatar","left"==this.options.position||!0===this.options.positionLeft?t.appendChild(e):t.insertAdjacentElement("beforeend",e)}if(!0===this.options.close){var n=document.createElement("span");n.innerHTML="&#10006;",n.className="toast-close",n.addEventListener("click",function(t){t.stopPropagation(),this.removeElement(this.toastElement),window.clearTimeout(this.toastElement.timeOutValue)}.bind(this));var a=window.innerWidth>0?window.innerWidth:screen.width;("left"==this.options.position||!0===this.options.positionLeft)&&a>360?t.insertAdjacentElement("afterbegin",n):t.appendChild(n)}if(this.options.stopOnFocus&&this.options.duration>0){const e=this;t.addEventListener("mouseover",(function(e){window.clearTimeout(t.timeOutValue)})),t.addEventListener("mouseleave",(function(){t.timeOutValue=window.setTimeout((function(){e.removeElement(t)}),e.options.duration)}))}return void 0!==this.options.destination&&t.addEventListener("click",function(t){t.stopPropagation(),!0===this.options.newWindow?window.open(this.options.destination,"_blank"):window.location=this.options.destination}.bind(this)),"function"==typeof this.options.onClick&&void 0===this.options.destination&&t.addEventListener("click",function(t){t.stopPropagation(),this.options.onClick()}.bind(this)),t},showToast:function(){var t;if(this.toastElement=this.buildToast(),!(t=void 0===this.options.selector?document.body:document.getElementById(this.options.selector)))throw"Root element is not defined";return t.insertBefore(this.toastElement,t.firstChild),e.reposition(),this.options.duration>0&&(this.toastElement.timeOutValue=window.setTimeout(function(){this.removeElement(this.toastElement)}.bind(this),this.options.duration)),this},hideToast:function(){this.toastElement.timeOutValue&&clearTimeout(this.toastElement.timeOutValue),this.removeElement(this.toastElement)},removeElement:function(t){t.className=t.className.replace(" on",""),window.setTimeout(function(){this.options.node&&this.options.node.parentNode&&this.options.node.parentNode.removeChild(this.options.node),t.parentNode&&t.parentNode.removeChild(t),this.options.callback.call(t),e.reposition()}.bind(this),400)}},e.reposition=function(){for(var t,e={top:15,bottom:15},a={top:15,bottom:15},r={top:15,bottom:15},i=document.getElementsByClassName("toastify"),s=0;s<i.length;s++){t=!0===n(i[s],"toastify-top")?"toastify-top":"toastify-bottom";var o=i[s].offsetHeight;t=t.substr(9,t.length-1);(window.innerWidth>0?window.innerWidth:screen.width)<=360?(i[s].style[t]=r[t]+"px",r[t]+=o+15):!0===n(i[s],"toastify-left")?(i[s].style[t]=e[t]+"px",e[t]+=o+15):(i[s].style[t]=a[t]+"px",a[t]+=o+15)}return this},e.lib.init.prototype=e.lib,e}))})),Id=Dd((function(t){
/*!
* jQuery JavaScript Library v3.5.1
* https://jquery.com/
*
* Includes Sizzle.js
* https://sizzlejs.com/
*
* Copyright JS Foundation and other contributors
* Released under the MIT license
* https://jquery.org/license
*
* Date: 2020-05-04T22:49Z
*/
!function(e,n){t.exports=e.document?n(e,!0):function(t){if(!t.document)throw new Error("jQuery requires a window with a document");return n(t)}}("undefined"!=typeof window?window:Nd,(function(t,e){var n=[],a=Object.getPrototypeOf,r=n.slice,i=n.flat?function(t){return n.flat.call(t)}:function(t){return n.concat.apply([],t)},s=n.push,o=n.indexOf,l={},c=l.toString,u=l.hasOwnProperty,d=u.toString,p=d.call(Object),f={},h=function(t){return"function"==typeof t&&"number"!=typeof t.nodeType},v=function(t){return null!=t&&t===t.window},m=t.document,g={type:!0,src:!0,nonce:!0,noModule:!0};function _(t,e,n){var a,r,i=(n=n||m).createElement("script");if(i.text=t,e)for(a in g)(r=e[a]||e.getAttribute&&e.getAttribute(a))&&i.setAttribute(a,r);n.head.appendChild(i).parentNode.removeChild(i)}function y(t){return null==t?t+"":"object"==typeof t||"function"==typeof t?l[c.call(t)]||"object":typeof t}var b=function(t,e){return new b.fn.init(t,e)};function w(t){var e=!!t&&"length"in t&&t.length,n=y(t);return!h(t)&&!v(t)&&("array"===n||0===e||"number"==typeof e&&e>0&&e-1 in t)}b.fn=b.prototype={jquery:"3.5.1",constructor:b,length:0,toArray:function(){return r.call(this)},get:function(t){return null==t?r.call(this):t<0?this[t+this.length]:this[t]},pushStack:function(t){var e=b.merge(this.constructor(),t);return e.prevObject=this,e},each:function(t){return b.each(this,t)},map:function(t){return this.pushStack(b.map(this,(function(e,n){return t.call(e,n,e)})))},slice:function(){return this.pushStack(r.apply(this,arguments))},first:function(){return this.eq(0)},last:function(){return this.eq(-1)},even:function(){return this.pushStack(b.grep(this,(function(t,e){return(e+1)%2})))},odd:function(){return this.pushStack(b.grep(this,(function(t,e){return e%2})))},eq:function(t){var e=this.length,n=+t+(t<0?e:0);return this.pushStack(n>=0&&n<e?[this[n]]:[])},end:function(){return this.prevObject||this.constructor()},push:s,sort:n.sort,splice:n.splice},b.extend=b.fn.extend=function(){var t,e,n,a,r,i,s=arguments[0]||{},o=1,l=arguments.length,c=!1;for("boolean"==typeof s&&(c=s,s=arguments[o]||{},o++),"object"==typeof s||h(s)||(s={}),o===l&&(s=this,o--);o<l;o++)if(null!=(t=arguments[o]))for(e in t)a=t[e],"__proto__"!==e&&s!==a&&(c&&a&&(b.isPlainObject(a)||(r=Array.isArray(a)))?(n=s[e],i=r&&!Array.isArray(n)?[]:r||b.isPlainObject(n)?n:{},r=!1,s[e]=b.extend(c,i,a)):void 0!==a&&(s[e]=a));return s},b.extend({expando:"jQuery"+("3.5.1"+Math.random()).replace(/\D/g,""),isReady:!0,error:function(t){throw new Error(t)},noop:function(){},isPlainObject:function(t){var e,n;return!(!t||"[object Object]"!==c.call(t))&&(!(e=a(t))||"function"==typeof(n=u.call(e,"constructor")&&e.constructor)&&d.call(n)===p)},isEmptyObject:function(t){var e;for(e in t)return!1;return!0},globalEval:function(t,e,n){_(t,{nonce:e&&e.nonce},n)},each:function(t,e){var n,a=0;if(w(t))for(n=t.length;a<n&&!1!==e.call(t[a],a,t[a]);a++);else for(a in t)if(!1===e.call(t[a],a,t[a]))break;return t},makeArray:function(t,e){var n=e||[];return null!=t&&(w(Object(t))?b.merge(n,"string"==typeof t?[t]:t):s.call(n,t)),n},inArray:function(t,e,n){return null==e?-1:o.call(e,t,n)},merge:function(t,e){for(var n=+e.length,a=0,r=t.length;a<n;a++)t[r++]=e[a];return t.length=r,t},grep:function(t,e,n){for(var a=[],r=0,i=t.length,s=!n;r<i;r++)!e(t[r],r)!==s&&a.push(t[r]);return a},map:function(t,e,n){var a,r,s=0,o=[];if(w(t))for(a=t.length;s<a;s++)null!=(r=e(t[s],s,n))&&o.push(r);else for(s in t)null!=(r=e(t[s],s,n))&&o.push(r);return i(o)},guid:1,support:f}),"function"==typeof Symbol&&(b.fn[Symbol.iterator]=n[Symbol.iterator]),b.each("Boolean Number String Function Array Date RegExp Object Error Symbol".split(" "),(function(t,e){l["[object "+e+"]"]=e.toLowerCase()}));var A=
/*!
* Sizzle CSS Selector Engine v2.3.5
* https://sizzlejs.com/
*
* Copyright JS Foundation and other contributors
* Released under the MIT license
* https://js.foundation/
*
* Date: 2020-03-14
*/
function(t){var e,n,a,r,i,s,o,l,c,u,d,p,f,h,v,m,g,_,y,b="sizzle"+1*new Date,w=t.document,A=0,k=0,C=lt(),x=lt(),T=lt(),$=lt(),S=function(t,e){return t===e&&(d=!0),0},L={}.hasOwnProperty,E=[],N=E.pop,D=E.push,P=E.push,I=E.slice,O=function(t,e){for(var n=0,a=t.length;n<a;n++)if(t[n]===e)return n;return-1},R="checked|selected|async|autofocus|autoplay|controls|defer|disabled|hidden|ismap|loop|multiple|open|readonly|required|scoped",F="[\\x20\\t\\r\\n\\f]",M="(?:\\\\[\\da-fA-F]{1,6}"+F+"?|\\\\[^\\r\\n\\f]|[\\w-]|[^\0-\\x7f])+",j="\\["+F+"*("+M+")(?:"+F+"*([*^$|!~]?=)"+F+"*(?:'((?:\\\\.|[^\\\\'])*)'|\"((?:\\\\.|[^\\\\\"])*)\"|("+M+"))|)"+F+"*\\]",B=":("+M+")(?:\\((('((?:\\\\.|[^\\\\'])*)'|\"((?:\\\\.|[^\\\\\"])*)\")|((?:\\\\.|[^\\\\()[\\]]|"+j+")*)|.*)\\)|)",q=new RegExp(F+"+","g"),z=new RegExp("^"+F+"+|((?:^|[^\\\\])(?:\\\\.)*)"+F+"+$","g"),U=new RegExp("^"+F+"*,"+F+"*"),H=new RegExp("^"+F+"*([>+~]|"+F+")"+F+"*"),V=new RegExp(F+"|>"),W=new RegExp(B),Q=new RegExp("^"+M+"$"),G={ID:new RegExp("^#("+M+")"),CLASS:new RegExp("^\\.("+M+")"),TAG:new RegExp("^("+M+"|[*])"),ATTR:new RegExp("^"+j),PSEUDO:new RegExp("^"+B),CHILD:new RegExp("^:(only|first|last|nth|nth-last)-(child|of-type)(?:\\("+F+"*(even|odd|(([+-]|)(\\d*)n|)"+F+"*(?:([+-]|)"+F+"*(\\d+)|))"+F+"*\\)|)","i"),bool:new RegExp("^(?:"+R+")$","i"),needsContext:new RegExp("^"+F+"*[>+~]|:(even|odd|eq|gt|lt|nth|first|last)(?:\\("+F+"*((?:-\\d)?\\d*)"+F+"*\\)|)(?=[^-]|$)","i")},K=/HTML$/i,Y=/^(?:input|select|textarea|button)$/i,J=/^h\d$/i,X=/^[^{]+\{\s*\[native \w/,Z=/^(?:#([\w-]+)|(\w+)|\.([\w-]+))$/,tt=/[+~]/,et=new RegExp("\\\\[\\da-fA-F]{1,6}"+F+"?|\\\\([^\\r\\n\\f])","g"),nt=function(t,e){var n="0x"+t.slice(1)-65536;return e||(n<0?String.fromCharCode(n+65536):String.fromCharCode(n>>10|55296,1023&n|56320))},at=/([\0-\x1f\x7f]|^-?\d)|^-$|[^\0-\x1f\x7f-\uFFFF\w-]/g,rt=function(t,e){return e?"\0"===t?"<22>":t.slice(0,-1)+"\\"+t.charCodeAt(t.length-1).toString(16)+" ":"\\"+t},it=function(){p()},st=bt((function(t){return!0===t.disabled&&"fieldset"===t.nodeName.toLowerCase()}),{dir:"parentNode",next:"legend"});try{P.apply(E=I.call(w.childNodes),w.childNodes),E[w.childNodes.length].nodeType}catch(t){P={apply:E.length?function(t,e){D.apply(t,I.call(e))}:function(t,e){for(var n=t.length,a=0;t[n++]=e[a++];);t.length=n-1}}}function ot(t,e,a,r){var i,o,c,u,d,h,g,_=e&&e.ownerDocument,w=e?e.nodeType:9;if(a=a||[],"string"!=typeof t||!t||1!==w&&9!==w&&11!==w)return a;if(!r&&(p(e),e=e||f,v)){if(11!==w&&(d=Z.exec(t)))if(i=d[1]){if(9===w){if(!(c=e.getElementById(i)))return a;if(c.id===i)return a.push(c),a}else if(_&&(c=_.getElementById(i))&&y(e,c)&&c.id===i)return a.push(c),a}else{if(d[2])return P.apply(a,e.getElementsByTagName(t)),a;if((i=d[3])&&n.getElementsByClassName&&e.getElementsByClassName)return P.apply(a,e.getElementsByClassName(i)),a}if(n.qsa&&!$[t+" "]&&(!m||!m.test(t))&&(1!==w||"object"!==e.nodeName.toLowerCase())){if(g=t,_=e,1===w&&(V.test(t)||H.test(t))){for((_=tt.test(t)&&gt(e.parentNode)||e)===e&&n.scope||((u=e.getAttribute("id"))?u=u.replace(at,rt):e.setAttribute("id",u=b)),o=(h=s(t)).length;o--;)h[o]=(u?"#"+u:":scope")+" "+yt(h[o]);g=h.join(",")}try{return P.apply(a,_.querySelectorAll(g)),a}catch(e){$(t,!0)}finally{u===b&&e.removeAttribute("id")}}}return l(t.replace(z,"$1"),e,a,r)}function lt(){var t=[];return function e(n,r){return t.push(n+" ")>a.cacheLength&&delete e[t.shift()],e[n+" "]=r}}function ct(t){return t[b]=!0,t}function ut(t){var e=f.createElement("fieldset");try{return!!t(e)}catch(t){return!1}finally{e.parentNode&&e.parentNode.removeChild(e),e=null}}function dt(t,e){for(var n=t.split("|"),r=n.length;r--;)a.attrHandle[n[r]]=e}function pt(t,e){var n=e&&t,a=n&&1===t.nodeType&&1===e.nodeType&&t.sourceIndex-e.sourceIndex;if(a)return a;if(n)for(;n=n.nextSibling;)if(n===e)return-1;return t?1:-1}function ft(t){return function(e){return"input"===e.nodeName.toLowerCase()&&e.type===t}}function ht(t){return function(e){var n=e.nodeName.toLowerCase();return("input"===n||"button"===n)&&e.type===t}}function vt(t){return function(e){return"form"in e?e.parentNode&&!1===e.disabled?"label"in e?"label"in e.parentNode?e.parentNode.disabled===t:e.disabled===t:e.isDisabled===t||e.isDisabled!==!t&&st(e)===t:e.disabled===t:"label"in e&&e.disabled===t}}function mt(t){return ct((function(e){return e=+e,ct((function(n,a){for(var r,i=t([],n.length,e),s=i.length;s--;)n[r=i[s]]&&(n[r]=!(a[r]=n[r]))}))}))}function gt(t){return t&&void 0!==t.getElementsByTagName&&t}for(e in n=ot.support={},i=ot.isXML=function(t){var e=t.namespaceURI,n=(t.ownerDocument||t).documentElement;return!K.test(e||n&&n.nodeName||"HTML")},p=ot.setDocument=function(t){var e,r,s=t?t.ownerDocument||t:w;return s!=f&&9===s.nodeType&&s.documentElement?(h=(f=s).documentElement,v=!i(f),w!=f&&(r=f.defaultView)&&r.top!==r&&(r.addEventListener?r.addEventListener("unload",it,!1):r.attachEvent&&r.attachEvent("onunload",it)),n.scope=ut((function(t){return h.appendChild(t).appendChild(f.createElement("div")),void 0!==t.querySelectorAll&&!t.querySelectorAll(":scope fieldset div").length})),n.attributes=ut((function(t){return t.className="i",!t.getAttribute("className")})),n.getElementsByTagName=ut((function(t){return t.appendChild(f.createComment("")),!t.getElementsByTagName("*").length})),n.getElementsByClassName=X.test(f.getElementsByClassName),n.getById=ut((function(t){return h.appendChild(t).id=b,!f.getElementsByName||!f.getElementsByName(b).length})),n.getById?(a.filter.ID=function(t){var e=t.replace(et,nt);return function(t){return t.getAttribute("id")===e}},a.find.ID=function(t,e){if(void 0!==e.getElementById&&v){var n=e.getElementById(t);return n?[n]:[]}}):(a.filter.ID=function(t){var e=t.replace(et,nt);return function(t){var n=void 0!==t.getAttributeNode&&t.getAttributeNode("id");return n&&n.value===e}},a.find.ID=function(t,e){if(void 0!==e.getElementById&&v){var n,a,r,i=e.getElementById(t);if(i){if((n=i.getAttributeNode("id"))&&n.value===t)return[i];for(r=e.getElementsByName(t),a=0;i=r[a++];)if((n=i.getAttributeNode("id"))&&n.value===t)return[i]}return[]}}),a.find.TAG=n.getElementsByTagName?function(t,e){return void 0!==e.getElementsByTagName?e.getElementsByTagName(t):n.qsa?e.querySelectorAll(t):void 0}:function(t,e){var n,a=[],r=0,i=e.getElementsByTagName(t);if("*"===t){for(;n=i[r++];)1===n.nodeType&&a.push(n);return a}return i},a.find.CLASS=n.getElementsByClassName&&function(t,e){if(void 0!==e.getElementsByClassName&&v)return e.getElementsByClassName(t)},g=[],m=[],(n.qsa=X.test(f.querySelectorAll))&&(ut((function(t){var e;h.appendChild(t).innerHTML="<a id='"+b+"'></a><select id='"+b+"-\r\\' msallowcapture=''><option selected=''></option></select>",t.querySelectorAll("[msallowcapture^='']").length&&m.push("[*^$]="+F+"*(?:''|\"\")"),t.querySelectorAll("[selected]").length||m.push("\\["+F+"*(?:value|"+R+")"),t.querySelectorAll("[id~="+b+"-]").length||m.push("~="),(e=f.createElement("input")).setAttribute("name",""),t.appendChild(e),t.querySelectorAll("[name='']").length||m.push("\\["+F+"*name"+F+"*="+F+"*(?:''|\"\")"),t.querySelectorAll(":checked").length||m.push(":checked"),t.querySelectorAll("a#"+b+"+*").length||m.push(".#.+[+~]"),t.querySelectorAll("\\\f"),m.push("[\\r\\n\\f]")})),ut((function(t){t.innerHTML="<a href='' disabled='disabled'></a><select disabled='disabled'><option/></select>";var e=f.createElement("input");e.setAttribute("type","hidden"),t.appendChild(e).setAttribute("name","D"),t.querySelectorAll("[name=d]").length&&m.push("name"+F+"*[*^$|!~]?="),2!==t.querySelectorAll(":enabled").length&&m.push(":enabled",":disabled"),h.appendChild(t).disabled=!0,2!==t.querySelectorAll(":disabled").length&&m.push(":enabled",":disabled"),t.querySelectorAll("*,:x"),m.push(",.*:")}))),(n.matchesSelector=X.test(_=h.matches||h.webkitMatchesSelector||h.mozMatchesSelector||h.oMatchesSelector||h.msMatchesSelector))&&ut((function(t){n.disconnectedMatch=_.call(t,"*"),_.call(t,"[s!='']:x"),g.push("!=",B)})),m=m.length&&new RegExp(m.join("|")),g=g.length&&new RegExp(g.join("|")),e=X.test(h.compareDocumentPosition),y=e||X.test(h.contains)?function(t,e){var n=9===t.nodeType?t.documentElement:t,a=e&&e.parentNode;return t===a||!(!a||1!==a.nodeType||!(n.contains?n.contains(a):t.compareDocumentPosition&&16&t.compareDocumentPosition(a)))}:function(t,e){if(e)for(;e=e.parentNode;)if(e===t)return!0;return!1},S=e?function(t,e){if(t===e)return d=!0,0;var a=!t.compareDocumentPosition-!e.compareDocumentPosition;return a||(1&(a=(t.ownerDocument||t)==(e.ownerDocument||e)?t.compareDocumentPosition(e):1)||!n.sortDetached&&e.compareDocumentPosition(t)===a?t==f||t.ownerDocument==w&&y(w,t)?-1:e==f||e.ownerDocument==w&&y(w,e)?1:u?O(u,t)-O(u,e):0:4&a?-1:1)}:function(t,e){if(t===e)return d=!0,0;var n,a=0,r=t.parentNode,i=e.parentNode,s=[t],o=[e];if(!r||!i)return t==f?-1:e==f?1:r?-1:i?1:u?O(u,t)-O(u,e):0;if(r===i)return pt(t,e);for(n=t;n=n.parentNode;)s.unshift(n);for(n=e;n=n.parentNode;)o.unshift(n);for(;s[a]===o[a];)a++;return a?pt(s[a],o[a]):s[a]==w?-1:o[a]==w?1:0},f):f},ot.matches=function(t,e){return ot(t,null,null,e)},ot.matchesSelector=function(t,e){if(p(t),n.matchesSelector&&v&&!$[e+" "]&&(!g||!g.test(e))&&(!m||!m.test(e)))try{var a=_.call(t,e);if(a||n.disconnectedMatch||t.document&&11!==t.document.nodeType)return a}catch(t){$(e,!0)}return ot(e,f,null,[t]).length>0},ot.contains=function(t,e){return(t.ownerDocument||t)!=f&&p(t),y(t,e)},ot.attr=function(t,e){(t.ownerDocument||t)!=f&&p(t);var r=a.attrHandle[e.toLowerCase()],i=r&&L.call(a.attrHandle,e.toLowerCase())?r(t,e,!v):void 0;return void 0!==i?i:n.attributes||!v?t.getAttribute(e):(i=t.getAttributeNode(e))&&i.specified?i.value:null},ot.escape=function(t){return(t+"").replace(at,rt)},ot.error=function(t){throw new Error("Syntax error, unrecognized expression: "+t)},ot.uniqueSort=function(t){var e,a=[],r=0,i=0;if(d=!n.detectDuplicates,u=!n.sortStable&&t.slice(0),t.sort(S),d){for(;e=t[i++];)e===t[i]&&(r=a.push(i));for(;r--;)t.splice(a[r],1)}return u=null,t},r=ot.getText=function(t){var e,n="",a=0,i=t.nodeType;if(i){if(1===i||9===i||11===i){if("string"==typeof t.textContent)return t.textContent;for(t=t.firstChild;t;t=t.nextSibling)n+=r(t)}else if(3===i||4===i)return t.nodeValue}else for(;e=t[a++];)n+=r(e);return n},(a=ot.selectors={cacheLength:50,createPseudo:ct,match:G,attrHandle:{},find:{},relative:{">":{dir:"parentNode",first:!0}," ":{dir:"parentNode"},"+":{dir:"previousSibling",first:!0},"~":{dir:"previousSibling"}},preFilter:{ATTR:function(t){return t[1]=t[1].replace(et,nt),t[3]=(t[3]||t[4]||t[5]||"").replace(et,nt),"~="===t[2]&&(t[3]=" "+t[3]+" "),t.slice(0,4)},CHILD:function(t){return t[1]=t[1].toLowerCase(),"nth"===t[1].slice(0,3)?(t[3]||ot.error(t[0]),t[4]=+(t[4]?t[5]+(t[6]||1):2*("even"===t[3]||"odd"===t[3])),t[5]=+(t[7]+t[8]||"odd"===t[3])):t[3]&&ot.error(t[0]),t},PSEUDO:function(t){var e,n=!t[6]&&t[2];return G.CHILD.test(t[0])?null:(t[3]?t[2]=t[4]||t[5]||"":n&&W.test(n)&&(e=s(n,!0))&&(e=n.indexOf(")",n.length-e)-n.length)&&(t[0]=t[0].slice(0,e),t[2]=n.slice(0,e)),t.slice(0,3))}},filter:{TAG:function(t){var e=t.replace(et,nt).toLowerCase();return"*"===t?function(){return!0}:function(t){return t.nodeName&&t.nodeName.toLowerCase()===e}},CLASS:function(t){var e=C[t+" "];return e||(e=new RegExp("(^|"+F+")"+t+"("+F+"|$)"))&&C(t,(function(t){return e.test("string"==typeof t.className&&t.className||void 0!==t.getAttribute&&t.getAttribute("class")||"")}))},ATTR:function(t,e,n){return function(a){var r=ot.attr(a,t);return null==r?"!="===e:!e||(r+="","="===e?r===n:"!="===e?r!==n:"^="===e?n&&0===r.indexOf(n):"*="===e?n&&r.indexOf(n)>-1:"$="===e?n&&r.slice(-n.length)===n:"~="===e?(" "+r.replace(q," ")+" ").indexOf(n)>-1:"|="===e&&(r===n||r.slice(0,n.length+1)===n+"-"))}},CHILD:function(t,e,n,a,r){var i="nth"!==t.slice(0,3),s="last"!==t.slice(-4),o="of-type"===e;return 1===a&&0===r?function(t){return!!t.parentNode}:function(e,n,l){var c,u,d,p,f,h,v=i!==s?"nextSibling":"previousSibling",m=e.parentNode,g=o&&e.nodeName.toLowerCase(),_=!l&&!o,y=!1;if(m){if(i){for(;v;){for(p=e;p=p[v];)if(o?p.nodeName.toLowerCase()===g:1===p.nodeType)return!1;h=v="only"===t&&!h&&"nextSibling"}return!0}if(h=[s?m.firstChild:m.lastChild],s&&_){for(y=(f=(c=(u=(d=(p=m)[b]||(p[b]={}))[p.uniqueID]||(d[p.uniqueID]={}))[t]||[])[0]===A&&c[1])&&c[2],p=f&&m.childNodes[f];p=++f&&p&&p[v]||(y=f=0)||h.pop();)if(1===p.nodeType&&++y&&p===e){u[t]=[A,f,y];break}}else if(_&&(y=f=(c=(u=(d=(p=e)[b]||(p[b]={}))[p.uniqueID]||(d[p.uniqueID]={}))[t]||[])[0]===A&&c[1]),!1===y)for(;(p=++f&&p&&p[v]||(y=f=0)||h.pop())&&((o?p.nodeName.toLowerCase()!==g:1!==p.nodeType)||!++y||(_&&((u=(d=p[b]||(p[b]={}))[p.uniqueID]||(d[p.uniqueID]={}))[t]=[A,y]),p!==e)););return(y-=r)===a||y%a==0&&y/a>=0}}},PSEUDO:function(t,e){var n,r=a.pseudos[t]||a.setFilters[t.toLowerCase()]||ot.error("unsupported pseudo: "+t);return r[b]?r(e):r.length>1?(n=[t,t,"",e],a.setFilters.hasOwnProperty(t.toLowerCase())?ct((function(t,n){for(var a,i=r(t,e),s=i.length;s--;)t[a=O(t,i[s])]=!(n[a]=i[s])})):function(t){return r(t,0,n)}):r}},pseudos:{not:ct((function(t){var e=[],n=[],a=o(t.replace(z,"$1"));return a[b]?ct((function(t,e,n,r){for(var i,s=a(t,null,r,[]),o=t.length;o--;)(i=s[o])&&(t[o]=!(e[o]=i))})):function(t,r,i){return e[0]=t,a(e,null,i,n),e[0]=null,!n.pop()}})),has:ct((function(t){return function(e){return ot(t,e).length>0}})),contains:ct((function(t){return t=t.replace(et,nt),function(e){return(e.textContent||r(e)).indexOf(t)>-1}})),lang:ct((function(t){return Q.test(t||"")||ot.error("unsupported lang: "+t),t=t.replace(et,nt).toLowerCase(),function(e){var n;do{if(n=v?e.lang:e.getAttribute("xml:lang")||e.getAttribute("lang"))return(n=n.toLowerCase())===t||0===n.indexOf(t+"-")}while((e=e.parentNode)&&1===e.nodeType);return!1}})),target:function(e){var n=t.location&&t.location.hash;return n&&n.slice(1)===e.id},root:function(t){return t===h},focus:function(t){return t===f.activeElement&&(!f.hasFocus||f.hasFocus())&&!!(t.type||t.href||~t.tabIndex)},enabled:vt(!1),disabled:vt(!0),checked:function(t){var e=t.nodeName.toLowerCase();return"input"===e&&!!t.checked||"option"===e&&!!t.selected},selected:function(t){return t.parentNode&&t.parentNode.selectedIndex,!0===t.selected},empty:function(t){for(t=t.firstChild;t;t=t.nextSibling)if(t.nodeType<6)return!1;return!0},parent:function(t){return!a.pseudos.empty(t)},header:function(t){return J.test(t.nodeName)},input:function(t){return Y.test(t.nodeName)},button:function(t){var e=t.nodeName.toLowerCase();return"input"===e&&"button"===t.type||"button"===e},text:function(t){var e;return"input"===t.nodeName.toLowerCase()&&"text"===t.type&&(null==(e=t.getAttribute("type"))||"text"===e.toLowerCase())},first:mt((function(){return[0]})),last:mt((function(t,e){return[e-1]})),eq:mt((function(t,e,n){return[n<0?n+e:n]})),even:mt((function(t,e){for(var n=0;n<e;n+=2)t.push(n);return t})),odd:mt((function(t,e){for(var n=1;n<e;n+=2)t.push(n);return t})),lt:mt((function(t,e,n){for(var a=n<0?n+e:n>e?e:n;--a>=0;)t.push(a);return t})),gt:mt((function(t,e,n){for(var a=n<0?n+e:n;++a<e;)t.push(a);return t}))}}).pseudos.nth=a.pseudos.eq,{radio:!0,checkbox:!0,file:!0,password:!0,image:!0})a.pseudos[e]=ft(e);for(e in{submit:!0,reset:!0})a.pseudos[e]=ht(e);function _t(){}function yt(t){for(var e=0,n=t.length,a="";e<n;e++)a+=t[e].value;return a}function bt(t,e,n){var a=e.dir,r=e.next,i=r||a,s=n&&"parentNode"===i,o=k++;return e.first?function(e,n,r){for(;e=e[a];)if(1===e.nodeType||s)return t(e,n,r);return!1}:function(e,n,l){var c,u,d,p=[A,o];if(l){for(;e=e[a];)if((1===e.nodeType||s)&&t(e,n,l))return!0}else for(;e=e[a];)if(1===e.nodeType||s)if(u=(d=e[b]||(e[b]={}))[e.uniqueID]||(d[e.uniqueID]={}),r&&r===e.nodeName.toLowerCase())e=e[a]||e;else{if((c=u[i])&&c[0]===A&&c[1]===o)return p[2]=c[2];if(u[i]=p,p[2]=t(e,n,l))return!0}return!1}}function wt(t){return t.length>1?function(e,n,a){for(var r=t.length;r--;)if(!t[r](e,n,a))return!1;return!0}:t[0]}function At(t,e,n,a,r){for(var i,s=[],o=0,l=t.length,c=null!=e;o<l;o++)(i=t[o])&&(n&&!n(i,a,r)||(s.push(i),c&&e.push(o)));return s}function kt(t,e,n,a,r,i){return a&&!a[b]&&(a=kt(a)),r&&!r[b]&&(r=kt(r,i)),ct((function(i,s,o,l){var c,u,d,p=[],f=[],h=s.length,v=i||function(t,e,n){for(var a=0,r=e.length;a<r;a++)ot(t,e[a],n);return n}(e||"*",o.nodeType?[o]:o,[]),m=!t||!i&&e?v:At(v,p,t,o,l),g=n?r||(i?t:h||a)?[]:s:m;if(n&&n(m,g,o,l),a)for(c=At(g,f),a(c,[],o,l),u=c.length;u--;)(d=c[u])&&(g[f[u]]=!(m[f[u]]=d));if(i){if(r||t){if(r){for(c=[],u=g.length;u--;)(d=g[u])&&c.push(m[u]=d);r(null,g=[],c,l)}for(u=g.length;u--;)(d=g[u])&&(c=r?O(i,d):p[u])>-1&&(i[c]=!(s[c]=d))}}else g=At(g===s?g.splice(h,g.length):g),r?r(null,s,g,l):P.apply(s,g)}))}function Ct(t){for(var e,n,r,i=t.length,s=a.relative[t[0].type],o=s||a.relative[" "],l=s?1:0,u=bt((function(t){return t===e}),o,!0),d=bt((function(t){return O(e,t)>-1}),o,!0),p=[function(t,n,a){var r=!s&&(a||n!==c)||((e=n).nodeType?u(t,n,a):d(t,n,a));return e=null,r}];l<i;l++)if(n=a.relative[t[l].type])p=[bt(wt(p),n)];else{if((n=a.filter[t[l].type].apply(null,t[l].matches))[b]){for(r=++l;r<i&&!a.relative[t[r].type];r++);return kt(l>1&&wt(p),l>1&&yt(t.slice(0,l-1).concat({value:" "===t[l-2].type?"*":""})).replace(z,"$1"),n,l<r&&Ct(t.slice(l,r)),r<i&&Ct(t=t.slice(r)),r<i&&yt(t))}p.push(n)}return wt(p)}return _t.prototype=a.filters=a.pseudos,a.setFilters=new _t,s=ot.tokenize=function(t,e){var n,r,i,s,o,l,c,u=x[t+" "];if(u)return e?0:u.slice(0);for(o=t,l=[],c=a.preFilter;o;){for(s in n&&!(r=U.exec(o))||(r&&(o=o.slice(r[0].length)||o),l.push(i=[])),n=!1,(r=H.exec(o))&&(n=r.shift(),i.push({value:n,type:r[0].replace(z," ")}),o=o.slice(n.length)),a.filter)!(r=G[s].exec(o))||c[s]&&!(r=c[s](r))||(n=r.shift(),i.push({value:n,type:s,matches:r}),o=o.slice(n.length));if(!n)break}return e?o.length:o?ot.error(t):x(t,l).slice(0)},o=ot.compile=function(t,e){var n,r=[],i=[],o=T[t+" "];if(!o){for(e||(e=s(t)),n=e.length;n--;)(o=Ct(e[n]))[b]?r.push(o):i.push(o);(o=T(t,function(t,e){var n=e.length>0,r=t.length>0,i=function(i,s,o,l,u){var d,h,m,g=0,_="0",y=i&&[],b=[],w=c,k=i||r&&a.find.TAG("*",u),C=A+=null==w?1:Math.random()||.1,x=k.length;for(u&&(c=s==f||s||u);_!==x&&null!=(d=k[_]);_++){if(r&&d){for(h=0,s||d.ownerDocument==f||(p(d),o=!v);m=t[h++];)if(m(d,s||f,o)){l.push(d);break}u&&(A=C)}n&&((d=!m&&d)&&g--,i&&y.push(d))}if(g+=_,n&&_!==g){for(h=0;m=e[h++];)m(y,b,s,o);if(i){if(g>0)for(;_--;)y[_]||b[_]||(b[_]=N.call(l));b=At(b)}P.apply(l,b),u&&!i&&b.length>0&&g+e.length>1&&ot.uniqueSort(l)}return u&&(A=C,c=w),y};return n?ct(i):i}(i,r))).selector=t}return o},l=ot.select=function(t,e,n,r){var i,l,c,u,d,p="function"==typeof t&&t,f=!r&&s(t=p.selector||t);if(n=n||[],1===f.length){if((l=f[0]=f[0].slice(0)).length>2&&"ID"===(c=l[0]).type&&9===e.nodeType&&v&&a.relative[l[1].type]){if(!(e=(a.find.ID(c.matches[0].replace(et,nt),e)||[])[0]))return n;p&&(e=e.parentNode),t=t.slice(l.shift().value.length)}for(i=G.needsContext.test(t)?0:l.length;i--&&(c=l[i],!a.relative[u=c.type]);)if((d=a.find[u])&&(r=d(c.matches[0].replace(et,nt),tt.test(l[0].type)&&gt(e.parentNode)||e))){if(l.splice(i,1),!(t=r.length&&yt(l)))return P.apply(n,r),n;break}}return(p||o(t,f))(r,e,!v,n,!e||tt.test(t)&&gt(e.parentNode)||e),n},n.sortStable=b.split("").sort(S).join("")===b,n.detectDuplicates=!!d,p(),n.sortDetached=ut((function(t){return 1&t.compareDocumentPosition(f.createElement("fieldset"))})),ut((function(t){return t.innerHTML="<a href='#'></a>","#"===t.firstChild.getAttribute("href")}))||dt("type|href|height|width",(function(t,e,n){if(!n)return t.getAttribute(e,"type"===e.toLowerCase()?1:2)})),n.attributes&&ut((function(t){return t.innerHTML="<input/>",t.firstChild.setAttribute("value",""),""===t.firstChild.getAttribute("value")}))||dt("value",(function(t,e,n){if(!n&&"input"===t.nodeName.toLowerCase())return t.defaultValue})),ut((function(t){return null==t.getAttribute("disabled")}))||dt(R,(function(t,e,n){var a;if(!n)return!0===t[e]?e.toLowerCase():(a=t.getAttributeNode(e))&&a.specified?a.value:null})),ot}(t);b.find=A,b.expr=A.selectors,b.expr[":"]=b.expr.pseudos,b.uniqueSort=b.unique=A.uniqueSort,b.text=A.getText,b.isXMLDoc=A.isXML,b.contains=A.contains,b.escapeSelector=A.escape;var k=function(t,e,n){for(var a=[],r=void 0!==n;(t=t[e])&&9!==t.nodeType;)if(1===t.nodeType){if(r&&b(t).is(n))break;a.push(t)}return a},C=function(t,e){for(var n=[];t;t=t.nextSibling)1===t.nodeType&&t!==e&&n.push(t);return n},x=b.expr.match.needsContext;function T(t,e){return t.nodeName&&t.nodeName.toLowerCase()===e.toLowerCase()}var $=/^<([a-z][^\/\0>:\x20\t\r\n\f]*)[\x20\t\r\n\f]*\/?>(?:<\/\1>|)$/i;function S(t,e,n){return h(e)?b.grep(t,(function(t,a){return!!e.call(t,a,t)!==n})):e.nodeType?b.grep(t,(function(t){return t===e!==n})):"string"!=typeof e?b.grep(t,(function(t){return o.call(e,t)>-1!==n})):b.filter(e,t,n)}b.filter=function(t,e,n){var a=e[0];return n&&(t=":not("+t+")"),1===e.length&&1===a.nodeType?b.find.matchesSelector(a,t)?[a]:[]:b.find.matches(t,b.grep(e,(function(t){return 1===t.nodeType})))},b.fn.extend({find:function(t){var e,n,a=this.length,r=this;if("string"!=typeof t)return this.pushStack(b(t).filter((function(){for(e=0;e<a;e++)if(b.contains(r[e],this))return!0})));for(n=this.pushStack([]),e=0;e<a;e++)b.find(t,r[e],n);return a>1?b.uniqueSort(n):n},filter:function(t){return this.pushStack(S(this,t||[],!1))},not:function(t){return this.pushStack(S(this,t||[],!0))},is:function(t){return!!S(this,"string"==typeof t&&x.test(t)?b(t):t||[],!1).length}});var L,E=/^(?:\s*(<[\w\W]+>)[^>]*|#([\w-]+))$/;(b.fn.init=function(t,e,n){var a,r;if(!t)return this;if(n=n||L,"string"==typeof t){if(!(a="<"===t[0]&&">"===t[t.length-1]&&t.length>=3?[null,t,null]:E.exec(t))||!a[1]&&e)return!e||e.jquery?(e||n).find(t):this.constructor(e).find(t);if(a[1]){if(e=e instanceof b?e[0]:e,b.merge(this,b.parseHTML(a[1],e&&e.nodeType?e.ownerDocument||e:m,!0)),$.test(a[1])&&b.isPlainObject(e))for(a in e)h(this[a])?this[a](e[a]):this.attr(a,e[a]);return this}return(r=m.getElementById(a[2]))&&(this[0]=r,this.length=1),this}return t.nodeType?(this[0]=t,this.length=1,this):h(t)?void 0!==n.ready?n.ready(t):t(b):b.makeArray(t,this)}).prototype=b.fn,L=b(m);var N=/^(?:parents|prev(?:Until|All))/,D={children:!0,contents:!0,next:!0,prev:!0};function P(t,e){for(;(t=t[e])&&1!==t.nodeType;);return t}b.fn.extend({has:function(t){var e=b(t,this),n=e.length;return this.filter((function(){for(var t=0;t<n;t++)if(b.contains(this,e[t]))return!0}))},closest:function(t,e){var n,a=0,r=this.length,i=[],s="string"!=typeof t&&b(t);if(!x.test(t))for(;a<r;a++)for(n=this[a];n&&n!==e;n=n.parentNode)if(n.nodeType<11&&(s?s.index(n)>-1:1===n.nodeType&&b.find.matchesSelector(n,t))){i.push(n);break}return this.pushStack(i.length>1?b.uniqueSort(i):i)},index:function(t){return t?"string"==typeof t?o.call(b(t),this[0]):o.call(this,t.jquery?t[0]:t):this[0]&&this[0].parentNode?this.first().prevAll().length:-1},add:function(t,e){return this.pushStack(b.uniqueSort(b.merge(this.get(),b(t,e))))},addBack:function(t){return this.add(null==t?this.prevObject:this.prevObject.filter(t))}}),b.each({parent:function(t){var e=t.parentNode;return e&&11!==e.nodeType?e:null},parents:function(t){return k(t,"parentNode")},parentsUntil:function(t,e,n){return k(t,"parentNode",n)},next:function(t){return P(t,"nextSibling")},prev:function(t){return P(t,"previousSibling")},nextAll:function(t){return k(t,"nextSibling")},prevAll:function(t){return k(t,"previousSibling")},nextUntil:function(t,e,n){return k(t,"nextSibling",n)},prevUntil:function(t,e,n){return k(t,"previousSibling",n)},siblings:function(t){return C((t.parentNode||{}).firstChild,t)},children:function(t){return C(t.firstChild)},contents:function(t){return null!=t.contentDocument&&a(t.contentDocument)?t.contentDocument:(T(t,"template")&&(t=t.content||t),b.merge([],t.childNodes))}},(function(t,e){b.fn[t]=function(n,a){var r=b.map(this,e,n);return"Until"!==t.slice(-5)&&(a=n),a&&"string"==typeof a&&(r=b.filter(a,r)),this.length>1&&(D[t]||b.uniqueSort(r),N.test(t)&&r.reverse()),this.pushStack(r)}}));var I=/[^\x20\t\r\n\f]+/g;function O(t){return t}function R(t){throw t}function F(t,e,n,a){var r;try{t&&h(r=t.promise)?r.call(t).done(e).fail(n):t&&h(r=t.then)?r.call(t,e,n):e.apply(void 0,[t].slice(a))}catch(t){n.apply(void 0,[t])}}b.Callbacks=function(t){t="string"==typeof t?function(t){var e={};return b.each(t.match(I)||[],(function(t,n){e[n]=!0})),e}(t):b.extend({},t);var e,n,a,r,i=[],s=[],o=-1,l=function(){for(r=r||t.once,a=e=!0;s.length;o=-1)for(n=s.shift();++o<i.length;)!1===i[o].apply(n[0],n[1])&&t.stopOnFalse&&(o=i.length,n=!1);t.memory||(n=!1),e=!1,r&&(i=n?[]:"")},c={add:function(){return i&&(n&&!e&&(o=i.length-1,s.push(n)),function e(n){b.each(n,(function(n,a){h(a)?t.unique&&c.has(a)||i.push(a):a&&a.length&&"string"!==y(a)&&e(a)}))}(arguments),n&&!e&&l()),this},remove:function(){return b.each(arguments,(function(t,e){for(var n;(n=b.inArray(e,i,n))>-1;)i.splice(n,1),n<=o&&o--})),this},has:function(t){return t?b.inArray(t,i)>-1:i.length>0},empty:function(){return i&&(i=[]),this},disable:function(){return r=s=[],i=n="",this},disabled:function(){return!i},lock:function(){return r=s=[],n||e||(i=n=""),this},locked:function(){return!!r},fireWith:function(t,n){return r||(n=[t,(n=n||[]).slice?n.slice():n],s.push(n),e||l()),this},fire:function(){return c.fireWith(this,arguments),this},fired:function(){return!!a}};return c},b.extend({Deferred:function(e){var n=[["notify","progress",b.Callbacks("memory"),b.Callbacks("memory"),2],["resolve","done",b.Callbacks("once memory"),b.Callbacks("once memory"),0,"resolved"],["reject","fail",b.Callbacks("once memory"),b.Callbacks("once memory"),1,"rejected"]],a="pending",r={state:function(){return a},always:function(){return i.done(arguments).fail(arguments),this},catch:function(t){return r.then(null,t)},pipe:function(){var t=arguments;return b.Deferred((function(e){b.each(n,(function(n,a){var r=h(t[a[4]])&&t[a[4]];i[a[1]]((function(){var t=r&&r.apply(this,arguments);t&&h(t.promise)?t.promise().progress(e.notify).done(e.resolve).fail(e.reject):e[a[0]+"With"](this,r?[t]:arguments)}))})),t=null})).promise()},then:function(e,a,r){var i=0;function s(e,n,a,r){return function(){var o=this,l=arguments,c=function(){var t,c;if(!(e<i)){if((t=a.apply(o,l))===n.promise())throw new TypeError("Thenable self-resolution");c=t&&("object"==typeof t||"function"==typeof t)&&t.then,h(c)?r?c.call(t,s(i,n,O,r),s(i,n,R,r)):(i++,c.call(t,s(i,n,O,r),s(i,n,R,r),s(i,n,O,n.notifyWith))):(a!==O&&(o=void 0,l=[t]),(r||n.resolveWith)(o,l))}},u=r?c:function(){try{c()}catch(t){b.Deferred.exceptionHook&&b.Deferred.exceptionHook(t,u.stackTrace),e+1>=i&&(a!==R&&(o=void 0,l=[t]),n.rejectWith(o,l))}};e?u():(b.Deferred.getStackHook&&(u.stackTrace=b.Deferred.getStackHook()),t.setTimeout(u))}}return b.Deferred((function(t){n[0][3].add(s(0,t,h(r)?r:O,t.notifyWith)),n[1][3].add(s(0,t,h(e)?e:O)),n[2][3].add(s(0,t,h(a)?a:R))})).promise()},promise:function(t){return null!=t?b.extend(t,r):r}},i={};return b.each(n,(function(t,e){var s=e[2],o=e[5];r[e[1]]=s.add,o&&s.add((function(){a=o}),n[3-t][2].disable,n[3-t][3].disable,n[0][2].lock,n[0][3].lock),s.add(e[3].fire),i[e[0]]=function(){return i[e[0]+"With"](this===i?void 0:this,arguments),this},i[e[0]+"With"]=s.fireWith})),r.promise(i),e&&e.call(i,i),i},when:function(t){var e=arguments.length,n=e,a=Array(n),i=r.call(arguments),s=b.Deferred(),o=function(t){return function(n){a[t]=this,i[t]=arguments.length>1?r.call(arguments):n,--e||s.resolveWith(a,i)}};if(e<=1&&(F(t,s.done(o(n)).resolve,s.reject,!e),"pending"===s.state()||h(i[n]&&i[n].then)))return s.then();for(;n--;)F(i[n],o(n),s.reject);return s.promise()}});var M=/^(Eval|Internal|Range|Reference|Syntax|Type|URI)Error$/;b.Deferred.exceptionHook=function(e,n){t.console&&t.console.warn&&e&&M.test(e.name)&&t.console.warn("jQuery.Deferred exception: "+e.message,e.stack,n)},b.readyException=function(e){t.setTimeout((function(){throw e}))};var j=b.Deferred();function B(){m.removeEventListener("DOMContentLoaded",B),t.removeEventListener("load",B),b.ready()}b.fn.ready=function(t){return j.then(t).catch((function(t){b.readyException(t)})),this},b.extend({isReady:!1,readyWait:1,ready:function(t){(!0===t?--b.readyWait:b.isReady)||(b.isReady=!0,!0!==t&&--b.readyWait>0||j.resolveWith(m,[b]))}}),b.ready.then=j.then,"complete"===m.readyState||"loading"!==m.readyState&&!m.documentElement.doScroll?t.setTimeout(b.ready):(m.addEventListener("DOMContentLoaded",B),t.addEventListener("load",B));var q=function(t,e,n,a,r,i,s){var o=0,l=t.length,c=null==n;if("object"===y(n))for(o in r=!0,n)q(t,e,o,n[o],!0,i,s);else if(void 0!==a&&(r=!0,h(a)||(s=!0),c&&(s?(e.call(t,a),e=null):(c=e,e=function(t,e,n){return c.call(b(t),n)})),e))for(;o<l;o++)e(t[o],n,s?a:a.call(t[o],o,e(t[o],n)));return r?t:c?e.call(t):l?e(t[0],n):i},z=/^-ms-/,U=/-([a-z])/g;function H(t,e){return e.toUpperCase()}function V(t){return t.replace(z,"ms-").replace(U,H)}var W=function(t){return 1===t.nodeType||9===t.nodeType||!+t.nodeType};function Q(){this.expando=b.expando+Q.uid++}Q.uid=1,Q.prototype={cache:function(t){var e=t[this.expando];return e||(e={},W(t)&&(t.nodeType?t[this.expando]=e:Object.defineProperty(t,this.expando,{value:e,configurable:!0}))),e},set:function(t,e,n){var a,r=this.cache(t);if("string"==typeof e)r[V(e)]=n;else for(a in e)r[V(a)]=e[a];return r},get:function(t,e){return void 0===e?this.cache(t):t[this.expando]&&t[this.expando][V(e)]},access:function(t,e,n){return void 0===e||e&&"string"==typeof e&&void 0===n?this.get(t,e):(this.set(t,e,n),void 0!==n?n:e)},remove:function(t,e){var n,a=t[this.expando];if(void 0!==a){if(void 0!==e){n=(e=Array.isArray(e)?e.map(V):(e=V(e))in a?[e]:e.match(I)||[]).length;for(;n--;)delete a[e[n]]}(void 0===e||b.isEmptyObject(a))&&(t.nodeType?t[this.expando]=void 0:delete t[this.expando])}},hasData:function(t){var e=t[this.expando];return void 0!==e&&!b.isEmptyObject(e)}};var G=new Q,K=new Q,Y=/^(?:\{[\w\W]*\}|\[[\w\W]*\])$/,J=/[A-Z]/g;function X(t,e,n){var a;if(void 0===n&&1===t.nodeType)if(a="data-"+e.replace(J,"-$&").toLowerCase(),"string"==typeof(n=t.getAttribute(a))){try{n=function(t){return"true"===t||"false"!==t&&("null"===t?null:t===+t+""?+t:Y.test(t)?JSON.parse(t):t)}(n)}catch(t){}K.set(t,e,n)}else n=void 0;return n}b.extend({hasData:function(t){return K.hasData(t)||G.hasData(t)},data:function(t,e,n){return K.access(t,e,n)},removeData:function(t,e){K.remove(t,e)},_data:function(t,e,n){return G.access(t,e,n)},_removeData:function(t,e){G.remove(t,e)}}),b.fn.extend({data:function(t,e){var n,a,r,i=this[0],s=i&&i.attributes;if(void 0===t){if(this.length&&(r=K.get(i),1===i.nodeType&&!G.get(i,"hasDataAttrs"))){for(n=s.length;n--;)s[n]&&0===(a=s[n].name).indexOf("data-")&&(a=V(a.slice(5)),X(i,a,r[a]));G.set(i,"hasDataAttrs",!0)}return r}return"object"==typeof t?this.each((function(){K.set(this,t)})):q(this,(function(e){var n;if(i&&void 0===e)return void 0!==(n=K.get(i,t))||void 0!==(n=X(i,t))?n:void 0;this.each((function(){K.set(this,t,e)}))}),null,e,arguments.length>1,null,!0)},removeData:function(t){return this.each((function(){K.remove(this,t)}))}}),b.extend({queue:function(t,e,n){var a;if(t)return e=(e||"fx")+"queue",a=G.get(t,e),n&&(!a||Array.isArray(n)?a=G.access(t,e,b.makeArray(n)):a.push(n)),a||[]},dequeue:function(t,e){e=e||"fx";var n=b.queue(t,e),a=n.length,r=n.shift(),i=b._queueHooks(t,e);"inprogress"===r&&(r=n.shift(),a--),r&&("fx"===e&&n.unshift("inprogress"),delete i.stop,r.call(t,(function(){b.dequeue(t,e)}),i)),!a&&i&&i.empty.fire()},_queueHooks:function(t,e){var n=e+"queueHooks";return G.get(t,n)||G.access(t,n,{empty:b.Callbacks("once memory").add((function(){G.remove(t,[e+"queue",n])}))})}}),b.fn.extend({queue:function(t,e){var n=2;return"string"!=typeof t&&(e=t,t="fx",n--),arguments.length<n?b.queue(this[0],t):void 0===e?this:this.each((function(){var n=b.queue(this,t,e);b._queueHooks(this,t),"fx"===t&&"inprogress"!==n[0]&&b.dequeue(this,t)}))},dequeue:function(t){return this.each((function(){b.dequeue(this,t)}))},clearQueue:function(t){return this.queue(t||"fx",[])},promise:function(t,e){var n,a=1,r=b.Deferred(),i=this,s=this.length,o=function(){--a||r.resolveWith(i,[i])};for("string"!=typeof t&&(e=t,t=void 0),t=t||"fx";s--;)(n=G.get(i[s],t+"queueHooks"))&&n.empty&&(a++,n.empty.add(o));return o(),r.promise(e)}});var Z=/[+-]?(?:\d*\.|)\d+(?:[eE][+-]?\d+|)/.source,tt=new RegExp("^(?:([+-])=|)("+Z+")([a-z%]*)$","i"),et=["Top","Right","Bottom","Left"],nt=m.documentElement,at=function(t){return b.contains(t.ownerDocument,t)},rt={composed:!0};nt.getRootNode&&(at=function(t){return b.contains(t.ownerDocument,t)||t.getRootNode(rt)===t.ownerDocument});var it=function(t,e){return"none"===(t=e||t).style.display||""===t.style.display&&at(t)&&"none"===b.css(t,"display")};function st(t,e,n,a){var r,i,s=20,o=a?function(){return a.cur()}:function(){return b.css(t,e,"")},l=o(),c=n&&n[3]||(b.cssNumber[e]?"":"px"),u=t.nodeType&&(b.cssNumber[e]||"px"!==c&&+l)&&tt.exec(b.css(t,e));if(u&&u[3]!==c){for(l/=2,c=c||u[3],u=+l||1;s--;)b.style(t,e,u+c),(1-i)*(1-(i=o()/l||.5))<=0&&(s=0),u/=i;u*=2,b.style(t,e,u+c),n=n||[]}return n&&(u=+u||+l||0,r=n[1]?u+(n[1]+1)*n[2]:+n[2],a&&(a.unit=c,a.start=u,a.end=r)),r}var ot={};function lt(t){var e,n=t.ownerDocument,a=t.nodeName,r=ot[a];return r||(e=n.body.appendChild(n.createElement(a)),r=b.css(e,"display"),e.parentNode.removeChild(e),"none"===r&&(r="block"),ot[a]=r,r)}function ct(t,e){for(var n,a,r=[],i=0,s=t.length;i<s;i++)(a=t[i]).style&&(n=a.style.display,e?("none"===n&&(r[i]=G.get(a,"display")||null,r[i]||(a.style.display="")),""===a.style.display&&it(a)&&(r[i]=lt(a))):"none"!==n&&(r[i]="none",G.set(a,"display",n)));for(i=0;i<s;i++)null!=r[i]&&(t[i].style.display=r[i]);return t}b.fn.extend({show:function(){return ct(this,!0)},hide:function(){return ct(this)},toggle:function(t){return"boolean"==typeof t?t?this.show():this.hide():this.each((function(){it(this)?b(this).show():b(this).hide()}))}});var ut=/^(?:checkbox|radio)$/i,dt=/<([a-z][^\/\0>\x20\t\r\n\f]*)/i,pt=/^$|^module$|\/(?:java|ecma)script/i;!function(){var t=m.createDocumentFragment().appendChild(m.createElement("div")),e=m.createElement("input");e.setAttribute("type","radio"),e.setAttribute("checked","checked"),e.setAttribute("name","t"),t.appendChild(e),f.checkClone=t.cloneNode(!0).cloneNode(!0).lastChild.checked,t.innerHTML="<textarea>x</textarea>",f.noCloneChecked=!!t.cloneNode(!0).lastChild.defaultValue,t.innerHTML="<option></option>",f.option=!!t.lastChild}();var ft={thead:[1,"<table>","</table>"],col:[2,"<table><colgroup>","</colgroup></table>"],tr:[2,"<table><tbody>","</tbody></table>"],td:[3,"<table><tbody><tr>","</tr></tbody></table>"],_default:[0,"",""]};function ht(t,e){var n;return n=void 0!==t.getElementsByTagName?t.getElementsByTagName(e||"*"):void 0!==t.querySelectorAll?t.querySelectorAll(e||"*"):[],void 0===e||e&&T(t,e)?b.merge([t],n):n}function vt(t,e){for(var n=0,a=t.length;n<a;n++)G.set(t[n],"globalEval",!e||G.get(e[n],"globalEval"))}ft.tbody=ft.tfoot=ft.colgroup=ft.caption=ft.thead,ft.th=ft.td,f.option||(ft.optgroup=ft.option=[1,"<select multiple='multiple'>","</select>"]);var mt=/<|&#?\w+;/;function gt(t,e,n,a,r){for(var i,s,o,l,c,u,d=e.createDocumentFragment(),p=[],f=0,h=t.length;f<h;f++)if((i=t[f])||0===i)if("object"===y(i))b.merge(p,i.nodeType?[i]:i);else if(mt.test(i)){for(s=s||d.appendChild(e.createElement("div")),o=(dt.exec(i)||["",""])[1].toLowerCase(),l=ft[o]||ft._default,s.innerHTML=l[1]+b.htmlPrefilter(i)+l[2],u=l[0];u--;)s=s.lastChild;b.merge(p,s.childNodes),(s=d.firstChild).textContent=""}else p.push(e.createTextNode(i));for(d.textContent="",f=0;i=p[f++];)if(a&&b.inArray(i,a)>-1)r&&r.push(i);else if(c=at(i),s=ht(d.appendChild(i),"script"),c&&vt(s),n)for(u=0;i=s[u++];)pt.test(i.type||"")&&n.push(i);return d}var _t=/^key/,yt=/^(?:mouse|pointer|contextmenu|drag|drop)|click/,bt=/^([^.]*)(?:\.(.+)|)/;function wt(){return!0}function At(){return!1}function kt(t,e){return t===function(){try{return m.activeElement}catch(t){}}()==("focus"===e)}function Ct(t,e,n,a,r,i){var s,o;if("object"==typeof e){for(o in"string"!=typeof n&&(a=a||n,n=void 0),e)Ct(t,o,n,a,e[o],i);return t}if(null==a&&null==r?(r=n,a=n=void 0):null==r&&("string"==typeof n?(r=a,a=void 0):(r=a,a=n,n=void 0)),!1===r)r=At;else if(!r)return t;return 1===i&&(s=r,(r=function(t){return b().off(t),s.apply(this,arguments)}).guid=s.guid||(s.guid=b.guid++)),t.each((function(){b.event.add(this,e,r,a,n)}))}function xt(t,e,n){n?(G.set(t,e,!1),b.event.add(t,e,{namespace:!1,handler:function(t){var a,i,s=G.get(this,e);if(1&t.isTrigger&&this[e]){if(s.length)(b.event.special[e]||{}).delegateType&&t.stopPropagation();else if(s=r.call(arguments),G.set(this,e,s),a=n(this,e),this[e](),s!==(i=G.get(this,e))||a?G.set(this,e,!1):i={},s!==i)return t.stopImmediatePropagation(),t.preventDefault(),i.value}else s.length&&(G.set(this,e,{value:b.event.trigger(b.extend(s[0],b.Event.prototype),s.slice(1),this)}),t.stopImmediatePropagation())}})):void 0===G.get(t,e)&&b.event.add(t,e,wt)}b.event={global:{},add:function(t,e,n,a,r){var i,s,o,l,c,u,d,p,f,h,v,m=G.get(t);if(W(t))for(n.handler&&(n=(i=n).handler,r=i.selector),r&&b.find.matchesSelector(nt,r),n.guid||(n.guid=b.guid++),(l=m.events)||(l=m.events=Object.create(null)),(s=m.handle)||(s=m.handle=function(e){return void 0!==b&&b.event.triggered!==e.type?b.event.dispatch.apply(t,arguments):void 0}),c=(e=(e||"").match(I)||[""]).length;c--;)f=v=(o=bt.exec(e[c])||[])[1],h=(o[2]||"").split(".").sort(),f&&(d=b.event.special[f]||{},f=(r?d.delegateType:d.bindType)||f,d=b.event.special[f]||{},u=b.extend({type:f,origType:v,data:a,handler:n,guid:n.guid,selector:r,needsContext:r&&b.expr.match.needsContext.test(r),namespace:h.join(".")},i),(p=l[f])||((p=l[f]=[]).delegateCount=0,d.setup&&!1!==d.setup.call(t,a,h,s)||t.addEventListener&&t.addEventListener(f,s)),d.add&&(d.add.call(t,u),u.handler.guid||(u.handler.guid=n.guid)),r?p.splice(p.delegateCount++,0,u):p.push(u),b.event.global[f]=!0)},remove:function(t,e,n,a,r){var i,s,o,l,c,u,d,p,f,h,v,m=G.hasData(t)&&G.get(t);if(m&&(l=m.events)){for(c=(e=(e||"").match(I)||[""]).length;c--;)if(f=v=(o=bt.exec(e[c])||[])[1],h=(o[2]||"").split(".").sort(),f){for(d=b.event.special[f]||{},p=l[f=(a?d.delegateType:d.bindType)||f]||[],o=o[2]&&new RegExp("(^|\\.)"+h.join("\\.(?:.*\\.|)")+"(\\.|$)"),s=i=p.length;i--;)u=p[i],!r&&v!==u.origType||n&&n.guid!==u.guid||o&&!o.test(u.namespace)||a&&a!==u.selector&&("**"!==a||!u.selector)||(p.splice(i,1),u.selector&&p.delegateCount--,d.remove&&d.remove.call(t,u));s&&!p.length&&(d.teardown&&!1!==d.teardown.call(t,h,m.handle)||b.removeEvent(t,f,m.handle),delete l[f])}else for(f in l)b.event.remove(t,f+e[c],n,a,!0);b.isEmptyObject(l)&&G.remove(t,"handle events")}},dispatch:function(t){var e,n,a,r,i,s,o=new Array(arguments.length),l=b.event.fix(t),c=(G.get(this,"events")||Object.create(null))[l.type]||[],u=b.event.special[l.type]||{};for(o[0]=l,e=1;e<arguments.length;e++)o[e]=arguments[e];if(l.delegateTarget=this,!u.preDispatch||!1!==u.preDispatch.call(this,l)){for(s=b.event.handlers.call(this,l,c),e=0;(r=s[e++])&&!l.isPropagationStopped();)for(l.currentTarget=r.elem,n=0;(i=r.handlers[n++])&&!l.isImmediatePropagationStopped();)l.rnamespace&&!1!==i.namespace&&!l.rnamespace.test(i.namespace)||(l.handleObj=i,l.data=i.data,void 0!==(a=((b.event.special[i.origType]||{}).handle||i.handler).apply(r.elem,o))&&!1===(l.result=a)&&(l.preventDefault(),l.stopPropagation()));return u.postDispatch&&u.postDispatch.call(this,l),l.result}},handlers:function(t,e){var n,a,r,i,s,o=[],l=e.delegateCount,c=t.target;if(l&&c.nodeType&&!("click"===t.type&&t.button>=1))for(;c!==this;c=c.parentNode||this)if(1===c.nodeType&&("click"!==t.type||!0!==c.disabled)){for(i=[],s={},n=0;n<l;n++)void 0===s[r=(a=e[n]).selector+" "]&&(s[r]=a.needsContext?b(r,this).index(c)>-1:b.find(r,this,null,[c]).length),s[r]&&i.push(a);i.length&&o.push({elem:c,handlers:i})}return c=this,l<e.length&&o.push({elem:c,handlers:e.slice(l)}),o},addProp:function(t,e){Object.defineProperty(b.Event.prototype,t,{enumerable:!0,configurable:!0,get:h(e)?function(){if(this.originalEvent)return e(this.originalEvent)}:function(){if(this.originalEvent)return this.originalEvent[t]},set:function(e){Object.defineProperty(this,t,{enumerable:!0,configurable:!0,writable:!0,value:e})}})},fix:function(t){return t[b.expando]?t:new b.Event(t)},special:{load:{noBubble:!0},click:{setup:function(t){var e=this||t;return ut.test(e.type)&&e.click&&T(e,"input")&&xt(e,"click",wt),!1},trigger:function(t){var e=this||t;return ut.test(e.type)&&e.click&&T(e,"input")&&xt(e,"click"),!0},_default:function(t){var e=t.target;return ut.test(e.type)&&e.click&&T(e,"input")&&G.get(e,"click")||T(e,"a")}},beforeunload:{postDispatch:function(t){void 0!==t.result&&t.originalEvent&&(t.originalEvent.returnValue=t.result)}}}},b.removeEvent=function(t,e,n){t.removeEventListener&&t.removeEventListener(e,n)},b.Event=function(t,e){if(!(this instanceof b.Event))return new b.Event(t,e);t&&t.type?(this.originalEvent=t,this.type=t.type,this.isDefaultPrevented=t.defaultPrevented||void 0===t.defaultPrevented&&!1===t.returnValue?wt:At,this.target=t.target&&3===t.target.nodeType?t.target.parentNode:t.target,this.currentTarget=t.currentTarget,this.relatedTarget=t.relatedTarget):this.type=t,e&&b.extend(this,e),this.timeStamp=t&&t.timeStamp||Date.now(),this[b.expando]=!0},b.Event.prototype={constructor:b.Event,isDefaultPrevented:At,isPropagationStopped:At,isImmediatePropagationStopped:At,isSimulated:!1,preventDefault:function(){var t=this.originalEvent;this.isDefaultPrevented=wt,t&&!this.isSimulated&&t.preventDefault()},stopPropagation:function(){var t=this.originalEvent;this.isPropagationStopped=wt,t&&!this.isSimulated&&t.stopPropagation()},stopImmediatePropagation:function(){var t=this.originalEvent;this.isImmediatePropagationStopped=wt,t&&!this.isSimulated&&t.stopImmediatePropagation(),this.stopPropagation()}},b.each({altKey:!0,bubbles:!0,cancelable:!0,changedTouches:!0,ctrlKey:!0,detail:!0,eventPhase:!0,metaKey:!0,pageX:!0,pageY:!0,shiftKey:!0,view:!0,char:!0,code:!0,charCode:!0,key:!0,keyCode:!0,button:!0,buttons:!0,clientX:!0,clientY:!0,offsetX:!0,offsetY:!0,pointerId:!0,pointerType:!0,screenX:!0,screenY:!0,targetTouches:!0,toElement:!0,touches:!0,which:function(t){var e=t.button;return null==t.which&&_t.test(t.type)?null!=t.charCode?t.charCode:t.keyCode:!t.which&&void 0!==e&&yt.test(t.type)?1&e?1:2&e?3:4&e?2:0:t.which}},b.event.addProp),b.each({focus:"focusin",blur:"focusout"},(function(t,e){b.event.special[t]={setup:function(){return xt(this,t,kt),!1},trigger:function(){return xt(this,t),!0},delegateType:e}})),b.each({mouseenter:"mouseover",mouseleave:"mouseout",pointerenter:"pointerover",pointerleave:"pointerout"},(function(t,e){b.event.special[t]={delegateType:e,bindType:e,handle:function(t){var n,a=this,r=t.relatedTarget,i=t.handleObj;return r&&(r===a||b.contains(a,r))||(t.type=i.origType,n=i.handler.apply(this,arguments),t.type=e),n}}})),b.fn.extend({on:function(t,e,n,a){return Ct(this,t,e,n,a)},one:function(t,e,n,a){return Ct(this,t,e,n,a,1)},off:function(t,e,n){var a,r;if(t&&t.preventDefault&&t.handleObj)return a=t.handleObj,b(t.delegateTarget).off(a.namespace?a.origType+"."+a.namespace:a.origType,a.selector,a.handler),this;if("object"==typeof t){for(r in t)this.off(r,e,t[r]);return this}return!1!==e&&"function"!=typeof e||(n=e,e=void 0),!1===n&&(n=At),this.each((function(){b.event.remove(this,t,n,e)}))}});var Tt=/<script|<style|<link/i,$t=/checked\s*(?:[^=]|=\s*.checked.)/i,St=/^\s*<!(?:\[CDATA\[|--)|(?:\]\]|--)>\s*$/g;function Lt(t,e){return T(t,"table")&&T(11!==e.nodeType?e:e.firstChild,"tr")&&b(t).children("tbody")[0]||t}function Et(t){return t.type=(null!==t.getAttribute("type"))+"/"+t.type,t}function Nt(t){return"true/"===(t.type||"").slice(0,5)?t.type=t.type.slice(5):t.removeAttribute("type"),t}function Dt(t,e){var n,a,r,i,s,o;if(1===e.nodeType){if(G.hasData(t)&&(o=G.get(t).events))for(r in G.remove(e,"handle events"),o)for(n=0,a=o[r].length;n<a;n++)b.event.add(e,r,o[r][n]);K.hasData(t)&&(i=K.access(t),s=b.extend({},i),K.set(e,s))}}function Pt(t,e){var n=e.nodeName.toLowerCase();"input"===n&&ut.test(t.type)?e.checked=t.checked:"input"!==n&&"textarea"!==n||(e.defaultValue=t.defaultValue)}function It(t,e,n,a){e=i(e);var r,s,o,l,c,u,d=0,p=t.length,v=p-1,m=e[0],g=h(m);if(g||p>1&&"string"==typeof m&&!f.checkClone&&$t.test(m))return t.each((function(r){var i=t.eq(r);g&&(e[0]=m.call(this,r,i.html())),It(i,e,n,a)}));if(p&&(s=(r=gt(e,t[0].ownerDocument,!1,t,a)).firstChild,1===r.childNodes.length&&(r=s),s||a)){for(l=(o=b.map(ht(r,"script"),Et)).length;d<p;d++)c=r,d!==v&&(c=b.clone(c,!0,!0),l&&b.merge(o,ht(c,"script"))),n.call(t[d],c,d);if(l)for(u=o[o.length-1].ownerDocument,b.map(o,Nt),d=0;d<l;d++)c=o[d],pt.test(c.type||"")&&!G.access(c,"globalEval")&&b.contains(u,c)&&(c.src&&"module"!==(c.type||"").toLowerCase()?b._evalUrl&&!c.noModule&&b._evalUrl(c.src,{nonce:c.nonce||c.getAttribute("nonce")},u):_(c.textContent.replace(St,""),c,u))}return t}function Ot(t,e,n){for(var a,r=e?b.filter(e,t):t,i=0;null!=(a=r[i]);i++)n||1!==a.nodeType||b.cleanData(ht(a)),a.parentNode&&(n&&at(a)&&vt(ht(a,"script")),a.parentNode.removeChild(a));return t}b.extend({htmlPrefilter:function(t){return t},clone:function(t,e,n){var a,r,i,s,o=t.cloneNode(!0),l=at(t);if(!(f.noCloneChecked||1!==t.nodeType&&11!==t.nodeType||b.isXMLDoc(t)))for(s=ht(o),a=0,r=(i=ht(t)).length;a<r;a++)Pt(i[a],s[a]);if(e)if(n)for(i=i||ht(t),s=s||ht(o),a=0,r=i.length;a<r;a++)Dt(i[a],s[a]);else Dt(t,o);return(s=ht(o,"script")).length>0&&vt(s,!l&&ht(t,"script")),o},cleanData:function(t){for(var e,n,a,r=b.event.special,i=0;void 0!==(n=t[i]);i++)if(W(n)){if(e=n[G.expando]){if(e.events)for(a in e.events)r[a]?b.event.remove(n,a):b.removeEvent(n,a,e.handle);n[G.expando]=void 0}n[K.expando]&&(n[K.expando]=void 0)}}}),b.fn.extend({detach:function(t){return Ot(this,t,!0)},remove:function(t){return Ot(this,t)},text:function(t){return q(this,(function(t){return void 0===t?b.text(this):this.empty().each((function(){1!==this.nodeType&&11!==this.nodeType&&9!==this.nodeType||(this.textContent=t)}))}),null,t,arguments.length)},append:function(){return It(this,arguments,(function(t){1!==this.nodeType&&11!==this.nodeType&&9!==this.nodeType||Lt(this,t).appendChild(t)}))},prepend:function(){return It(this,arguments,(function(t){if(1===this.nodeType||11===this.nodeType||9===this.nodeType){var e=Lt(this,t);e.insertBefore(t,e.firstChild)}}))},before:function(){return It(this,arguments,(function(t){this.parentNode&&this.parentNode.insertBefore(t,this)}))},after:function(){return It(this,arguments,(function(t){this.parentNode&&this.parentNode.insertBefore(t,this.nextSibling)}))},empty:function(){for(var t,e=0;null!=(t=this[e]);e++)1===t.nodeType&&(b.cleanData(ht(t,!1)),t.textContent="");return this},clone:function(t,e){return t=null!=t&&t,e=null==e?t:e,this.map((function(){return b.clone(this,t,e)}))},html:function(t){return q(this,(function(t){var e=this[0]||{},n=0,a=this.length;if(void 0===t&&1===e.nodeType)return e.innerHTML;if("string"==typeof t&&!Tt.test(t)&&!ft[(dt.exec(t)||["",""])[1].toLowerCase()]){t=b.htmlPrefilter(t);try{for(;n<a;n++)1===(e=this[n]||{}).nodeType&&(b.cleanData(ht(e,!1)),e.innerHTML=t);e=0}catch(t){}}e&&this.empty().append(t)}),null,t,arguments.length)},replaceWith:function(){var t=[];return It(this,arguments,(function(e){var n=this.parentNode;b.inArray(this,t)<0&&(b.cleanData(ht(this)),n&&n.replaceChild(e,this))}),t)}}),b.each({appendTo:"append",prependTo:"prepend",insertBefore:"before",insertAfter:"after",replaceAll:"replaceWith"},(function(t,e){b.fn[t]=function(t){for(var n,a=[],r=b(t),i=r.length-1,o=0;o<=i;o++)n=o===i?this:this.clone(!0),b(r[o])[e](n),s.apply(a,n.get());return this.pushStack(a)}}));var Rt=new RegExp("^("+Z+")(?!px)[a-z%]+$","i"),Ft=function(e){var n=e.ownerDocument.defaultView;return n&&n.opener||(n=t),n.getComputedStyle(e)},Mt=function(t,e,n){var a,r,i={};for(r in e)i[r]=t.style[r],t.style[r]=e[r];for(r in a=n.call(t),e)t.style[r]=i[r];return a},jt=new RegExp(et.join("|"),"i");function Bt(t,e,n){var a,r,i,s,o=t.style;return(n=n||Ft(t))&&(""!==(s=n.getPropertyValue(e)||n[e])||at(t)||(s=b.style(t,e)),!f.pixelBoxStyles()&&Rt.test(s)&&jt.test(e)&&(a=o.width,r=o.minWidth,i=o.maxWidth,o.minWidth=o.maxWidth=o.width=s,s=n.width,o.width=a,o.minWidth=r,o.maxWidth=i)),void 0!==s?s+"":s}function qt(t,e){return{get:function(){if(!t())return(this.get=e).apply(this,arguments);delete this.get}}}!function(){function e(){if(u){c.style.cssText="position:absolute;left:-11111px;width:60px;margin-top:1px;padding:0;border:0",u.style.cssText="position:relative;display:block;box-sizing:border-box;overflow:scroll;margin:auto;border:1px;padding:1px;width:60%;top:1%",nt.appendChild(c).appendChild(u);var e=t.getComputedStyle(u);a="1%"!==e.top,l=12===n(e.marginLeft),u.style.right="60%",s=36===n(e.right),r=36===n(e.width),u.style.position="absolute",i=12===n(u.offsetWidth/3),nt.removeChild(c),u=null}}function n(t){return Math.round(parseFloat(t))}var a,r,i,s,o,l,c=m.createElement("div"),u=m.createElement("div");u.style&&(u.style.backgroundClip="content-box",u.cloneNode(!0).style.backgroundClip="",f.clearCloneStyle="content-box"===u.style.backgroundClip,b.extend(f,{boxSizingReliable:function(){return e(),r},pixelBoxStyles:function(){return e(),s},pixelPosition:function(){return e(),a},reliableMarginLeft:function(){return e(),l},scrollboxSize:function(){return e(),i},reliableTrDimensions:function(){var e,n,a,r;return null==o&&(e=m.createElement("table"),n=m.createElement("tr"),a=m.createElement("div"),e.style.cssText="position:absolute;left:-11111px",n.style.height="1px",a.style.height="9px",nt.appendChild(e).appendChild(n).appendChild(a),r=t.getComputedStyle(n),o=parseInt(r.height)>3,nt.removeChild(e)),o}}))}();var zt=["Webkit","Moz","ms"],Ut=m.createElement("div").style,Ht={};function Vt(t){var e=b.cssProps[t]||Ht[t];return e||(t in Ut?t:Ht[t]=function(t){for(var e=t[0].toUpperCase()+t.slice(1),n=zt.length;n--;)if((t=zt[n]+e)in Ut)return t}(t)||t)}var Wt=/^(none|table(?!-c[ea]).+)/,Qt=/^--/,Gt={position:"absolute",visibility:"hidden",display:"block"},Kt={letterSpacing:"0",fontWeight:"400"};function Yt(t,e,n){var a=tt.exec(e);return a?Math.max(0,a[2]-(n||0))+(a[3]||"px"):e}function Jt(t,e,n,a,r,i){var s="width"===e?1:0,o=0,l=0;if(n===(a?"border":"content"))return 0;for(;s<4;s+=2)"margin"===n&&(l+=b.css(t,n+et[s],!0,r)),a?("content"===n&&(l-=b.css(t,"padding"+et[s],!0,r)),"margin"!==n&&(l-=b.css(t,"border"+et[s]+"Width",!0,r))):(l+=b.css(t,"padding"+et[s],!0,r),"padding"!==n?l+=b.css(t,"border"+et[s]+"Width",!0,r):o+=b.css(t,"border"+et[s]+"Width",!0,r));return!a&&i>=0&&(l+=Math.max(0,Math.ceil(t["offset"+e[0].toUpperCase()+e.slice(1)]-i-l-o-.5))||0),l}function Xt(t,e,n){var a=Ft(t),r=(!f.boxSizingReliable()||n)&&"border-box"===b.css(t,"boxSizing",!1,a),i=r,s=Bt(t,e,a),o="offset"+e[0].toUpperCase()+e.slice(1);if(Rt.test(s)){if(!n)return s;s="auto"}return(!f.boxSizingReliable()&&r||!f.reliableTrDimensions()&&T(t,"tr")||"auto"===s||!parseFloat(s)&&"inline"===b.css(t,"display",!1,a))&&t.getClientRects().length&&(r="border-box"===b.css(t,"boxSizing",!1,a),(i=o in t)&&(s=t[o])),(s=parseFloat(s)||0)+Jt(t,e,n||(r?"border":"content"),i,a,s)+"px"}function Zt(t,e,n,a,r){return new Zt.prototype.init(t,e,n,a,r)}b.extend({cssHooks:{opacity:{get:function(t,e){if(e){var n=Bt(t,"opacity");return""===n?"1":n}}}},cssNumber:{animationIterationCount:!0,columnCount:!0,fillOpacity:!0,flexGrow:!0,flexShrink:!0,fontWeight:!0,gridArea:!0,gridColumn:!0,gridColumnEnd:!0,gridColumnStart:!0,gridRow:!0,gridRowEnd:!0,gridRowStart:!0,lineHeight:!0,opacity:!0,order:!0,orphans:!0,widows:!0,zIndex:!0,zoom:!0},cssProps:{},style:function(t,e,n,a){if(t&&3!==t.nodeType&&8!==t.nodeType&&t.style){var r,i,s,o=V(e),l=Qt.test(e),c=t.style;if(l||(e=Vt(o)),s=b.cssHooks[e]||b.cssHooks[o],void 0===n)return s&&"get"in s&&void 0!==(r=s.get(t,!1,a))?r:c[e];"string"===(i=typeof n)&&(r=tt.exec(n))&&r[1]&&(n=st(t,e,r),i="number"),null!=n&&n==n&&("number"!==i||l||(n+=r&&r[3]||(b.cssNumber[o]?"":"px")),f.clearCloneStyle||""!==n||0!==e.indexOf("background")||(c[e]="inherit"),s&&"set"in s&&void 0===(n=s.set(t,n,a))||(l?c.setProperty(e,n):c[e]=n))}},css:function(t,e,n,a){var r,i,s,o=V(e);return Qt.test(e)||(e=Vt(o)),(s=b.cssHooks[e]||b.cssHooks[o])&&"get"in s&&(r=s.get(t,!0,n)),void 0===r&&(r=Bt(t,e,a)),"normal"===r&&e in Kt&&(r=Kt[e]),""===n||n?(i=parseFloat(r),!0===n||isFinite(i)?i||0:r):r}}),b.each(["height","width"],(function(t,e){b.cssHooks[e]={get:function(t,n,a){if(n)return!Wt.test(b.css(t,"display"))||t.getClientRects().length&&t.getBoundingClientRect().width?Xt(t,e,a):Mt(t,Gt,(function(){return Xt(t,e,a)}))},set:function(t,n,a){var r,i=Ft(t),s=!f.scrollboxSize()&&"absolute"===i.position,o=(s||a)&&"border-box"===b.css(t,"boxSizing",!1,i),l=a?Jt(t,e,a,o,i):0;return o&&s&&(l-=Math.ceil(t["offset"+e[0].toUpperCase()+e.slice(1)]-parseFloat(i[e])-Jt(t,e,"border",!1,i)-.5)),l&&(r=tt.exec(n))&&"px"!==(r[3]||"px")&&(t.style[e]=n,n=b.css(t,e)),Yt(0,n,l)}}})),b.cssHooks.marginLeft=qt(f.reliableMarginLeft,(function(t,e){if(e)return(parseFloat(Bt(t,"marginLeft"))||t.getBoundingClientRect().left-Mt(t,{marginLeft:0},(function(){return t.getBoundingClientRect().left})))+"px"})),b.each({margin:"",padding:"",border:"Width"},(function(t,e){b.cssHooks[t+e]={expand:function(n){for(var a=0,r={},i="string"==typeof n?n.split(" "):[n];a<4;a++)r[t+et[a]+e]=i[a]||i[a-2]||i[0];return r}},"margin"!==t&&(b.cssHooks[t+e].set=Yt)})),b.fn.extend({css:function(t,e){return q(this,(function(t,e,n){var a,r,i={},s=0;if(Array.isArray(e)){for(a=Ft(t),r=e.length;s<r;s++)i[e[s]]=b.css(t,e[s],!1,a);return i}return void 0!==n?b.style(t,e,n):b.css(t,e)}),t,e,arguments.length>1)}}),b.Tween=Zt,Zt.prototype={constructor:Zt,init:function(t,e,n,a,r,i){this.elem=t,this.prop=n,this.easing=r||b.easing._default,this.options=e,this.start=this.now=this.cur(),this.end=a,this.unit=i||(b.cssNumber[n]?"":"px")},cur:function(){var t=Zt.propHooks[this.prop];return t&&t.get?t.get(this):Zt.propHooks._default.get(this)},run:function(t){var e,n=Zt.propHooks[this.prop];return this.options.duration?this.pos=e=b.easing[this.easing](t,this.options.duration*t,0,1,this.options.duration):this.pos=e=t,this.now=(this.end-this.start)*e+this.start,this.options.step&&this.options.step.call(this.elem,this.now,this),n&&n.set?n.set(this):Zt.propHooks._default.set(this),this}},Zt.prototype.init.prototype=Zt.prototype,Zt.propHooks={_default:{get:function(t){var e;return 1!==t.elem.nodeType||null!=t.elem[t.prop]&&null==t.elem.style[t.prop]?t.elem[t.prop]:(e=b.css(t.elem,t.prop,""))&&"auto"!==e?e:0},set:function(t){b.fx.step[t.prop]?b.fx.step[t.prop](t):1!==t.elem.nodeType||!b.cssHooks[t.prop]&&null==t.elem.style[Vt(t.prop)]?t.elem[t.prop]=t.now:b.style(t.elem,t.prop,t.now+t.unit)}}},Zt.propHooks.scrollTop=Zt.propHooks.scrollLeft={set:function(t){t.elem.nodeType&&t.elem.parentNode&&(t.elem[t.prop]=t.now)}},b.easing={linear:function(t){return t},swing:function(t){return.5-Math.cos(t*Math.PI)/2},_default:"swing"},b.fx=Zt.prototype.init,b.fx.step={};var te,ee,ne,ae,re=/^(?:toggle|show|hide)$/,ie=/queueHooks$/;function se(){ee&&(!1===m.hidden&&t.requestAnimationFrame?t.requestAnimationFrame(se):t.setTimeout(se,b.fx.interval),b.fx.tick())}function oe(){return t.setTimeout((function(){te=void 0})),te=Date.now()}function le(t,e){var n,a=0,r={height:t};for(e=e?1:0;a<4;a+=2-e)r["margin"+(n=et[a])]=r["padding"+n]=t;return e&&(r.opacity=r.width=t),r}function ce(t,e,n){for(var a,r=(ue.tweeners[e]||[]).concat(ue.tweeners["*"]),i=0,s=r.length;i<s;i++)if(a=r[i].call(n,e,t))return a}function ue(t,e,n){var a,r,i=0,s=ue.prefilters.length,o=b.Deferred().always((function(){delete l.elem})),l=function(){if(r)return!1;for(var e=te||oe(),n=Math.max(0,c.startTime+c.duration-e),a=1-(n/c.duration||0),i=0,s=c.tweens.length;i<s;i++)c.tweens[i].run(a);return o.notifyWith(t,[c,a,n]),a<1&&s?n:(s||o.notifyWith(t,[c,1,0]),o.resolveWith(t,[c]),!1)},c=o.promise({elem:t,props:b.extend({},e),opts:b.extend(!0,{specialEasing:{},easing:b.easing._default},n),originalProperties:e,originalOptions:n,startTime:te||oe(),duration:n.duration,tweens:[],createTween:function(e,n){var a=b.Tween(t,c.opts,e,n,c.opts.specialEasing[e]||c.opts.easing);return c.tweens.push(a),a},stop:function(e){var n=0,a=e?c.tweens.length:0;if(r)return this;for(r=!0;n<a;n++)c.tweens[n].run(1);return e?(o.notifyWith(t,[c,1,0]),o.resolveWith(t,[c,e])):o.rejectWith(t,[c,e]),this}}),u=c.props;for(!function(t,e){var n,a,r,i,s;for(n in t)if(r=e[a=V(n)],i=t[n],Array.isArray(i)&&(r=i[1],i=t[n]=i[0]),n!==a&&(t[a]=i,delete t[n]),(s=b.cssHooks[a])&&"expand"in s)for(n in i=s.expand(i),delete t[a],i)n in t||(t[n]=i[n],e[n]=r);else e[a]=r}(u,c.opts.specialEasing);i<s;i++)if(a=ue.prefilters[i].call(c,t,u,c.opts))return h(a.stop)&&(b._queueHooks(c.elem,c.opts.queue).stop=a.stop.bind(a)),a;return b.map(u,ce,c),h(c.opts.start)&&c.opts.start.call(t,c),c.progress(c.opts.progress).done(c.opts.done,c.opts.complete).fail(c.opts.fail).always(c.opts.always),b.fx.timer(b.extend(l,{elem:t,anim:c,queue:c.opts.queue})),c}b.Animation=b.extend(ue,{tweeners:{"*":[function(t,e){var n=this.createTween(t,e);return st(n.elem,t,tt.exec(e),n),n}]},tweener:function(t,e){h(t)?(e=t,t=["*"]):t=t.match(I);for(var n,a=0,r=t.length;a<r;a++)n=t[a],ue.tweeners[n]=ue.tweeners[n]||[],ue.tweeners[n].unshift(e)},prefilters:[function(t,e,n){var a,r,i,s,o,l,c,u,d="width"in e||"height"in e,p=this,f={},h=t.style,v=t.nodeType&&it(t),m=G.get(t,"fxshow");for(a in n.queue||(null==(s=b._queueHooks(t,"fx")).unqueued&&(s.unqueued=0,o=s.empty.fire,s.empty.fire=function(){s.unqueued||o()}),s.unqueued++,p.always((function(){p.always((function(){s.unqueued--,b.queue(t,"fx").length||s.empty.fire()}))}))),e)if(r=e[a],re.test(r)){if(delete e[a],i=i||"toggle"===r,r===(v?"hide":"show")){if("show"!==r||!m||void 0===m[a])continue;v=!0}f[a]=m&&m[a]||b.style(t,a)}if((l=!b.isEmptyObject(e))||!b.isEmptyObject(f))for(a in d&&1===t.nodeType&&(n.overflow=[h.overflow,h.overflowX,h.overflowY],null==(c=m&&m.display)&&(c=G.get(t,"display")),"none"===(u=b.css(t,"display"))&&(c?u=c:(ct([t],!0),c=t.style.display||c,u=b.css(t,"display"),ct([t]))),("inline"===u||"inline-block"===u&&null!=c)&&"none"===b.css(t,"float")&&(l||(p.done((function(){h.display=c})),null==c&&(u=h.display,c="none"===u?"":u)),h.display="inline-block")),n.overflow&&(h.overflow="hidden",p.always((function(){h.overflow=n.overflow[0],h.overflowX=n.overflow[1],h.overflowY=n.overflow[2]}))),l=!1,f)l||(m?"hidden"in m&&(v=m.hidden):m=G.access(t,"fxshow",{display:c}),i&&(m.hidden=!v),v&&ct([t],!0),p.done((function(){for(a in v||ct([t]),G.remove(t,"fxshow"),f)b.style(t,a,f[a])}))),l=ce(v?m[a]:0,a,p),a in m||(m[a]=l.start,v&&(l.end=l.start,l.start=0))}],prefilter:function(t,e){e?ue.prefilters.unshift(t):ue.prefilters.push(t)}}),b.speed=function(t,e,n){var a=t&&"object"==typeof t?b.extend({},t):{complete:n||!n&&e||h(t)&&t,duration:t,easing:n&&e||e&&!h(e)&&e};return b.fx.off?a.duration=0:"number"!=typeof a.duration&&(a.duration in b.fx.speeds?a.duration=b.fx.speeds[a.duration]:a.duration=b.fx.speeds._default),null!=a.queue&&!0!==a.queue||(a.queue="fx"),a.old=a.complete,a.complete=function(){h(a.old)&&a.old.call(this),a.queue&&b.dequeue(this,a.queue)},a},b.fn.extend({fadeTo:function(t,e,n,a){return this.filter(it).css("opacity",0).show().end().animate({opacity:e},t,n,a)},animate:function(t,e,n,a){var r=b.isEmptyObject(t),i=b.speed(e,n,a),s=function(){var e=ue(this,b.extend({},t),i);(r||G.get(this,"finish"))&&e.stop(!0)};return s.finish=s,r||!1===i.queue?this.each(s):this.queue(i.queue,s)},stop:function(t,e,n){var a=function(t){var e=t.stop;delete t.stop,e(n)};return"string"!=typeof t&&(n=e,e=t,t=void 0),e&&this.queue(t||"fx",[]),this.each((function(){var e=!0,r=null!=t&&t+"queueHooks",i=b.timers,s=G.get(this);if(r)s[r]&&s[r].stop&&a(s[r]);else for(r in s)s[r]&&s[r].stop&&ie.test(r)&&a(s[r]);for(r=i.length;r--;)i[r].elem!==this||null!=t&&i[r].queue!==t||(i[r].anim.stop(n),e=!1,i.splice(r,1));!e&&n||b.dequeue(this,t)}))},finish:function(t){return!1!==t&&(t=t||"fx"),this.each((function(){var e,n=G.get(this),a=n[t+"queue"],r=n[t+"queueHooks"],i=b.timers,s=a?a.length:0;for(n.finish=!0,b.queue(this,t,[]),r&&r.stop&&r.stop.call(this,!0),e=i.length;e--;)i[e].elem===this&&i[e].queue===t&&(i[e].anim.stop(!0),i.splice(e,1));for(e=0;e<s;e++)a[e]&&a[e].finish&&a[e].finish.call(this);delete n.finish}))}}),b.each(["toggle","show","hide"],(function(t,e){var n=b.fn[e];b.fn[e]=function(t,a,r){return null==t||"boolean"==typeof t?n.apply(this,arguments):this.animate(le(e,!0),t,a,r)}})),b.each({slideDown:le("show"),slideUp:le("hide"),slideToggle:le("toggle"),fadeIn:{opacity:"show"},fadeOut:{opacity:"hide"},fadeToggle:{opacity:"toggle"}},(function(t,e){b.fn[t]=function(t,n,a){return this.animate(e,t,n,a)}})),b.timers=[],b.fx.tick=function(){var t,e=0,n=b.timers;for(te=Date.now();e<n.length;e++)(t=n[e])()||n[e]!==t||n.splice(e--,1);n.length||b.fx.stop(),te=void 0},b.fx.timer=function(t){b.timers.push(t),b.fx.start()},b.fx.interval=13,b.fx.start=function(){ee||(ee=!0,se())},b.fx.stop=function(){ee=null},b.fx.speeds={slow:600,fast:200,_default:400},b.fn.delay=function(e,n){return e=b.fx&&b.fx.speeds[e]||e,n=n||"fx",this.queue(n,(function(n,a){var r=t.setTimeout(n,e);a.stop=function(){t.clearTimeout(r)}}))},ne=m.createElement("input"),ae=m.createElement("select").appendChild(m.createElement("option")),ne.type="checkbox",f.checkOn=""!==ne.value,f.optSelected=ae.selected,(ne=m.createElement("input")).value="t",ne.type="radio",f.radioValue="t"===ne.value;var de,pe=b.expr.attrHandle;b.fn.extend({attr:function(t,e){return q(this,b.attr,t,e,arguments.length>1)},removeAttr:function(t){return this.each((function(){b.removeAttr(this,t)}))}}),b.extend({attr:function(t,e,n){var a,r,i=t.nodeType;if(3!==i&&8!==i&&2!==i)return void 0===t.getAttribute?b.prop(t,e,n):(1===i&&b.isXMLDoc(t)||(r=b.attrHooks[e.toLowerCase()]||(b.expr.match.bool.test(e)?de:void 0)),void 0!==n?null===n?void b.removeAttr(t,e):r&&"set"in r&&void 0!==(a=r.set(t,n,e))?a:(t.setAttribute(e,n+""),n):r&&"get"in r&&null!==(a=r.get(t,e))?a:null==(a=b.find.attr(t,e))?void 0:a)},attrHooks:{type:{set:function(t,e){if(!f.radioValue&&"radio"===e&&T(t,"input")){var n=t.value;return t.setAttribute("type",e),n&&(t.value=n),e}}}},removeAttr:function(t,e){var n,a=0,r=e&&e.match(I);if(r&&1===t.nodeType)for(;n=r[a++];)t.removeAttribute(n)}}),de={set:function(t,e,n){return!1===e?b.removeAttr(t,n):t.setAttribute(n,n),n}},b.each(b.expr.match.bool.source.match(/\w+/g),(function(t,e){var n=pe[e]||b.find.attr;pe[e]=function(t,e,a){var r,i,s=e.toLowerCase();return a||(i=pe[s],pe[s]=r,r=null!=n(t,e,a)?s:null,pe[s]=i),r}}));var fe=/^(?:input|select|textarea|button)$/i,he=/^(?:a|area)$/i;function ve(t){return(t.match(I)||[]).join(" ")}function me(t){return t.getAttribute&&t.getAttribute("class")||""}function ge(t){return Array.isArray(t)?t:"string"==typeof t&&t.match(I)||[]}b.fn.extend({prop:function(t,e){return q(this,b.prop,t,e,arguments.length>1)},removeProp:function(t){return this.each((function(){delete this[b.propFix[t]||t]}))}}),b.extend({prop:function(t,e,n){var a,r,i=t.nodeType;if(3!==i&&8!==i&&2!==i)return 1===i&&b.isXMLDoc(t)||(e=b.propFix[e]||e,r=b.propHooks[e]),void 0!==n?r&&"set"in r&&void 0!==(a=r.set(t,n,e))?a:t[e]=n:r&&"get"in r&&null!==(a=r.get(t,e))?a:t[e]},propHooks:{tabIndex:{get:function(t){var e=b.find.attr(t,"tabindex");return e?parseInt(e,10):fe.test(t.nodeName)||he.test(t.nodeName)&&t.href?0:-1}}},propFix:{for:"htmlFor",class:"className"}}),f.optSelected||(b.propHooks.selected={get:function(t){var e=t.parentNode;return e&&e.parentNode&&e.parentNode.selectedIndex,null},set:function(t){var e=t.parentNode;e&&(e.selectedIndex,e.parentNode&&e.parentNode.selectedIndex)}}),b.each(["tabIndex","readOnly","maxLength","cellSpacing","cellPadding","rowSpan","colSpan","useMap","frameBorder","contentEditable"],(function(){b.propFix[this.toLowerCase()]=this})),b.fn.extend({addClass:function(t){var e,n,a,r,i,s,o,l=0;if(h(t))return this.each((function(e){b(this).addClass(t.call(this,e,me(this)))}));if((e=ge(t)).length)for(;n=this[l++];)if(r=me(n),a=1===n.nodeType&&" "+ve(r)+" "){for(s=0;i=e[s++];)a.indexOf(" "+i+" ")<0&&(a+=i+" ");r!==(o=ve(a))&&n.setAttribute("class",o)}return this},removeClass:function(t){var e,n,a,r,i,s,o,l=0;if(h(t))return this.each((function(e){b(this).removeClass(t.call(this,e,me(this)))}));if(!arguments.length)return this.attr("class","");if((e=ge(t)).length)for(;n=this[l++];)if(r=me(n),a=1===n.nodeType&&" "+ve(r)+" "){for(s=0;i=e[s++];)for(;a.indexOf(" "+i+" ")>-1;)a=a.replace(" "+i+" "," ");r!==(o=ve(a))&&n.setAttribute("class",o)}return this},toggleClass:function(t,e){var n=typeof t,a="string"===n||Array.isArray(t);return"boolean"==typeof e&&a?e?this.addClass(t):this.removeClass(t):h(t)?this.each((function(n){b(this).toggleClass(t.call(this,n,me(this),e),e)})):this.each((function(){var e,r,i,s;if(a)for(r=0,i=b(this),s=ge(t);e=s[r++];)i.hasClass(e)?i.removeClass(e):i.addClass(e);else void 0!==t&&"boolean"!==n||((e=me(this))&&G.set(this,"__className__",e),this.setAttribute&&this.setAttribute("class",e||!1===t?"":G.get(this,"__className__")||""))}))},hasClass:function(t){var e,n,a=0;for(e=" "+t+" ";n=this[a++];)if(1===n.nodeType&&(" "+ve(me(n))+" ").indexOf(e)>-1)return!0;return!1}});var _e=/\r/g;b.fn.extend({val:function(t){var e,n,a,r=this[0];return arguments.length?(a=h(t),this.each((function(n){var r;1===this.nodeType&&(null==(r=a?t.call(this,n,b(this).val()):t)?r="":"number"==typeof r?r+="":Array.isArray(r)&&(r=b.map(r,(function(t){return null==t?"":t+""}))),(e=b.valHooks[this.type]||b.valHooks[this.nodeName.toLowerCase()])&&"set"in e&&void 0!==e.set(this,r,"value")||(this.value=r))}))):r?(e=b.valHooks[r.type]||b.valHooks[r.nodeName.toLowerCase()])&&"get"in e&&void 0!==(n=e.get(r,"value"))?n:"string"==typeof(n=r.value)?n.replace(_e,""):null==n?"":n:void 0}}),b.extend({valHooks:{option:{get:function(t){var e=b.find.attr(t,"value");return null!=e?e:ve(b.text(t))}},select:{get:function(t){var e,n,a,r=t.options,i=t.selectedIndex,s="select-one"===t.type,o=s?null:[],l=s?i+1:r.length;for(a=i<0?l:s?i:0;a<l;a++)if(((n=r[a]).selected||a===i)&&!n.disabled&&(!n.parentNode.disabled||!T(n.parentNode,"optgroup"))){if(e=b(n).val(),s)return e;o.push(e)}return o},set:function(t,e){for(var n,a,r=t.options,i=b.makeArray(e),s=r.length;s--;)((a=r[s]).selected=b.inArray(b.valHooks.option.get(a),i)>-1)&&(n=!0);return n||(t.selectedIndex=-1),i}}}}),b.each(["radio","checkbox"],(function(){b.valHooks[this]={set:function(t,e){if(Array.isArray(e))return t.checked=b.inArray(b(t).val(),e)>-1}},f.checkOn||(b.valHooks[this].get=function(t){return null===t.getAttribute("value")?"on":t.value})})),f.focusin="onfocusin"in t;var ye=/^(?:focusinfocus|focusoutblur)$/,be=function(t){t.stopPropagation()};b.extend(b.event,{trigger:function(e,n,a,r){var i,s,o,l,c,d,p,f,g=[a||m],_=u.call(e,"type")?e.type:e,y=u.call(e,"namespace")?e.namespace.split("."):[];if(s=f=o=a=a||m,3!==a.nodeType&&8!==a.nodeType&&!ye.test(_+b.event.triggered)&&(_.indexOf(".")>-1&&(y=_.split("."),_=y.shift(),y.sort()),c=_.indexOf(":")<0&&"on"+_,(e=e[b.expando]?e:new b.Event(_,"object"==typeof e&&e)).isTrigger=r?2:3,e.namespace=y.join("."),e.rnamespace=e.namespace?new RegExp("(^|\\.)"+y.join("\\.(?:.*\\.|)")+"(\\.|$)"):null,e.result=void 0,e.target||(e.target=a),n=null==n?[e]:b.makeArray(n,[e]),p=b.event.special[_]||{},r||!p.trigger||!1!==p.trigger.apply(a,n))){if(!r&&!p.noBubble&&!v(a)){for(l=p.delegateType||_,ye.test(l+_)||(s=s.parentNode);s;s=s.parentNode)g.push(s),o=s;o===(a.ownerDocument||m)&&g.push(o.defaultView||o.parentWindow||t)}for(i=0;(s=g[i++])&&!e.isPropagationStopped();)f=s,e.type=i>1?l:p.bindType||_,(d=(G.get(s,"events")||Object.create(null))[e.type]&&G.get(s,"handle"))&&d.apply(s,n),(d=c&&s[c])&&d.apply&&W(s)&&(e.result=d.apply(s,n),!1===e.result&&e.preventDefault());return e.type=_,r||e.isDefaultPrevented()||p._default&&!1!==p._default.apply(g.pop(),n)||!W(a)||c&&h(a[_])&&!v(a)&&((o=a[c])&&(a[c]=null),b.event.triggered=_,e.isPropagationStopped()&&f.addEventListener(_,be),a[_](),e.isPropagationStopped()&&f.removeEventListener(_,be),b.event.triggered=void 0,o&&(a[c]=o)),e.result}},simulate:function(t,e,n){var a=b.extend(new b.Event,n,{type:t,isSimulated:!0});b.event.trigger(a,null,e)}}),b.fn.extend({trigger:function(t,e){return this.each((function(){b.event.trigger(t,e,this)}))},triggerHandler:function(t,e){var n=this[0];if(n)return b.event.trigger(t,e,n,!0)}}),f.focusin||b.each({focus:"focusin",blur:"focusout"},(function(t,e){var n=function(t){b.event.simulate(e,t.target,b.event.fix(t))};b.event.special[e]={setup:function(){var a=this.ownerDocument||this.document||this,r=G.access(a,e);r||a.addEventListener(t,n,!0),G.access(a,e,(r||0)+1)},teardown:function(){var a=this.ownerDocument||this.document||this,r=G.access(a,e)-1;r?G.access(a,e,r):(a.removeEventListener(t,n,!0),G.remove(a,e))}}}));var we=t.location,Ae={guid:Date.now()},ke=/\?/;b.parseXML=function(e){var n;if(!e||"string"!=typeof e)return null;try{n=(new t.DOMParser).parseFromString(e,"text/xml")}catch(t){n=void 0}return n&&!n.getElementsByTagName("parsererror").length||b.error("Invalid XML: "+e),n};var Ce=/\[\]$/,xe=/\r?\n/g,Te=/^(?:submit|button|image|reset|file)$/i,$e=/^(?:input|select|textarea|keygen)/i;function Se(t,e,n,a){var r;if(Array.isArray(e))b.each(e,(function(e,r){n||Ce.test(t)?a(t,r):Se(t+"["+("object"==typeof r&&null!=r?e:"")+"]",r,n,a)}));else if(n||"object"!==y(e))a(t,e);else for(r in e)Se(t+"["+r+"]",e[r],n,a)}b.param=function(t,e){var n,a=[],r=function(t,e){var n=h(e)?e():e;a[a.length]=encodeURIComponent(t)+"="+encodeURIComponent(null==n?"":n)};if(null==t)return"";if(Array.isArray(t)||t.jquery&&!b.isPlainObject(t))b.each(t,(function(){r(this.name,this.value)}));else for(n in t)Se(n,t[n],e,r);return a.join("&")},b.fn.extend({serialize:function(){return b.param(this.serializeArray())},serializeArray:function(){return this.map((function(){var t=b.prop(this,"elements");return t?b.makeArray(t):this})).filter((function(){var t=this.type;return this.name&&!b(this).is(":disabled")&&$e.test(this.nodeName)&&!Te.test(t)&&(this.checked||!ut.test(t))})).map((function(t,e){var n=b(this).val();return null==n?null:Array.isArray(n)?b.map(n,(function(t){return{name:e.name,value:t.replace(xe,"\r\n")}})):{name:e.name,value:n.replace(xe,"\r\n")}})).get()}});var Le=/%20/g,Ee=/#.*$/,Ne=/([?&])_=[^&]*/,De=/^(.*?):[ \t]*([^\r\n]*)$/gm,Pe=/^(?:GET|HEAD)$/,Ie=/^\/\//,Oe={},Re={},Fe="*/".concat("*"),Me=m.createElement("a");function je(t){return function(e,n){"string"!=typeof e&&(n=e,e="*");var a,r=0,i=e.toLowerCase().match(I)||[];if(h(n))for(;a=i[r++];)"+"===a[0]?(a=a.slice(1)||"*",(t[a]=t[a]||[]).unshift(n)):(t[a]=t[a]||[]).push(n)}}function Be(t,e,n,a){var r={},i=t===Re;function s(o){var l;return r[o]=!0,b.each(t[o]||[],(function(t,o){var c=o(e,n,a);return"string"!=typeof c||i||r[c]?i?!(l=c):void 0:(e.dataTypes.unshift(c),s(c),!1)})),l}return s(e.dataTypes[0])||!r["*"]&&s("*")}function qe(t,e){var n,a,r=b.ajaxSettings.flatOptions||{};for(n in e)void 0!==e[n]&&((r[n]?t:a||(a={}))[n]=e[n]);return a&&b.extend(!0,t,a),t}Me.href=we.href,b.extend({active:0,lastModified:{},etag:{},ajaxSettings:{url:we.href,type:"GET",isLocal:/^(?:about|app|app-storage|.+-extension|file|res|widget):$/.test(we.protocol),global:!0,processData:!0,async:!0,contentType:"application/x-www-form-urlencoded; charset=UTF-8",accepts:{"*":Fe,text:"text/plain",html:"text/html",xml:"application/xml, text/xml",json:"application/json, text/javascript"},contents:{xml:/\bxml\b/,html:/\bhtml/,json:/\bjson\b/},responseFields:{xml:"responseXML",text:"responseText",json:"responseJSON"},converters:{"* text":String,"text html":!0,"text json":JSON.parse,"text xml":b.parseXML},flatOptions:{url:!0,context:!0}},ajaxSetup:function(t,e){return e?qe(qe(t,b.ajaxSettings),e):qe(b.ajaxSettings,t)},ajaxPrefilter:je(Oe),ajaxTransport:je(Re),ajax:function(e,n){"object"==typeof e&&(n=e,e=void 0),n=n||{};var a,r,i,s,o,l,c,u,d,p,f=b.ajaxSetup({},n),h=f.context||f,v=f.context&&(h.nodeType||h.jquery)?b(h):b.event,g=b.Deferred(),_=b.Callbacks("once memory"),y=f.statusCode||{},w={},A={},k="canceled",C={readyState:0,getResponseHeader:function(t){var e;if(c){if(!s)for(s={};e=De.exec(i);)s[e[1].toLowerCase()+" "]=(s[e[1].toLowerCase()+" "]||[]).concat(e[2]);e=s[t.toLowerCase()+" "]}return null==e?null:e.join(", ")},getAllResponseHeaders:function(){return c?i:null},setRequestHeader:function(t,e){return null==c&&(t=A[t.toLowerCase()]=A[t.toLowerCase()]||t,w[t]=e),this},overrideMimeType:function(t){return null==c&&(f.mimeType=t),this},statusCode:function(t){var e;if(t)if(c)C.always(t[C.status]);else for(e in t)y[e]=[y[e],t[e]];return this},abort:function(t){var e=t||k;return a&&a.abort(e),x(0,e),this}};if(g.promise(C),f.url=((e||f.url||we.href)+"").replace(Ie,we.protocol+"//"),f.type=n.method||n.type||f.method||f.type,f.dataTypes=(f.dataType||"*").toLowerCase().match(I)||[""],null==f.crossDomain){l=m.createElement("a");try{l.href=f.url,l.href=l.href,f.crossDomain=Me.protocol+"//"+Me.host!=l.protocol+"//"+l.host}catch(t){f.crossDomain=!0}}if(f.data&&f.processData&&"string"!=typeof f.data&&(f.data=b.param(f.data,f.traditional)),Be(Oe,f,n,C),c)return C;for(d in(u=b.event&&f.global)&&0==b.active++&&b.event.trigger("ajaxStart"),f.type=f.type.toUpperCase(),f.hasContent=!Pe.test(f.type),r=f.url.replace(Ee,""),f.hasContent?f.data&&f.processData&&0===(f.contentType||"").indexOf("application/x-www-form-urlencoded")&&(f.data=f.data.replace(Le,"+")):(p=f.url.slice(r.length),f.data&&(f.processData||"string"==typeof f.data)&&(r+=(ke.test(r)?"&":"?")+f.data,delete f.data),!1===f.cache&&(r=r.replace(Ne,"$1"),p=(ke.test(r)?"&":"?")+"_="+Ae.guid+++p),f.url=r+p),f.ifModified&&(b.lastModified[r]&&C.setRequestHeader("If-Modified-Since",b.lastModified[r]),b.etag[r]&&C.setRequestHeader("If-None-Match",b.etag[r])),(f.data&&f.hasContent&&!1!==f.contentType||n.contentType)&&C.setRequestHeader("Content-Type",f.contentType),C.setRequestHeader("Accept",f.dataTypes[0]&&f.accepts[f.dataTypes[0]]?f.accepts[f.dataTypes[0]]+("*"!==f.dataTypes[0]?", "+Fe+"; q=0.01":""):f.accepts["*"]),f.headers)C.setRequestHeader(d,f.headers[d]);if(f.beforeSend&&(!1===f.beforeSend.call(h,C,f)||c))return C.abort();if(k="abort",_.add(f.complete),C.done(f.success),C.fail(f.error),a=Be(Re,f,n,C)){if(C.readyState=1,u&&v.trigger("ajaxSend",[C,f]),c)return C;f.async&&f.timeout>0&&(o=t.setTimeout((function(){C.abort("timeout")}),f.timeout));try{c=!1,a.send(w,x)}catch(t){if(c)throw t;x(-1,t)}}else x(-1,"No Transport");function x(e,n,s,l){var d,p,m,w,A,k=n;c||(c=!0,o&&t.clearTimeout(o),a=void 0,i=l||"",C.readyState=e>0?4:0,d=e>=200&&e<300||304===e,s&&(w=function(t,e,n){for(var a,r,i,s,o=t.contents,l=t.dataTypes;"*"===l[0];)l.shift(),void 0===a&&(a=t.mimeType||e.getResponseHeader("Content-Type"));if(a)for(r in o)if(o[r]&&o[r].test(a)){l.unshift(r);break}if(l[0]in n)i=l[0];else{for(r in n){if(!l[0]||t.converters[r+" "+l[0]]){i=r;break}s||(s=r)}i=i||s}if(i)return i!==l[0]&&l.unshift(i),n[i]}(f,C,s)),!d&&b.inArray("script",f.dataTypes)>-1&&(f.converters["text script"]=function(){}),w=function(t,e,n,a){var r,i,s,o,l,c={},u=t.dataTypes.slice();if(u[1])for(s in t.converters)c[s.toLowerCase()]=t.converters[s];for(i=u.shift();i;)if(t.responseFields[i]&&(n[t.responseFields[i]]=e),!l&&a&&t.dataFilter&&(e=t.dataFilter(e,t.dataType)),l=i,i=u.shift())if("*"===i)i=l;else if("*"!==l&&l!==i){if(!(s=c[l+" "+i]||c["* "+i]))for(r in c)if((o=r.split(" "))[1]===i&&(s=c[l+" "+o[0]]||c["* "+o[0]])){!0===s?s=c[r]:!0!==c[r]&&(i=o[0],u.unshift(o[1]));break}if(!0!==s)if(s&&t.throws)e=s(e);else try{e=s(e)}catch(t){return{state:"parsererror",error:s?t:"No conversion from "+l+" to "+i}}}return{state:"success",data:e}}(f,w,C,d),d?(f.ifModified&&((A=C.getResponseHeader("Last-Modified"))&&(b.lastModified[r]=A),(A=C.getResponseHeader("etag"))&&(b.etag[r]=A)),204===e||"HEAD"===f.type?k="nocontent":304===e?k="notmodified":(k=w.state,p=w.data,d=!(m=w.error))):(m=k,!e&&k||(k="error",e<0&&(e=0))),C.status=e,C.statusText=(n||k)+"",d?g.resolveWith(h,[p,k,C]):g.rejectWith(h,[C,k,m]),C.statusCode(y),y=void 0,u&&v.trigger(d?"ajaxSuccess":"ajaxError",[C,f,d?p:m]),_.fireWith(h,[C,k]),u&&(v.trigger("ajaxComplete",[C,f]),--b.active||b.event.trigger("ajaxStop")))}return C},getJSON:function(t,e,n){return b.get(t,e,n,"json")},getScript:function(t,e){return b.get(t,void 0,e,"script")}}),b.each(["get","post"],(function(t,e){b[e]=function(t,n,a,r){return h(n)&&(r=r||a,a=n,n=void 0),b.ajax(b.extend({url:t,type:e,dataType:r,data:n,success:a},b.isPlainObject(t)&&t))}})),b.ajaxPrefilter((function(t){var e;for(e in t.headers)"content-type"===e.toLowerCase()&&(t.contentType=t.headers[e]||"")})),b._evalUrl=function(t,e,n){return b.ajax({url:t,type:"GET",dataType:"script",cache:!0,async:!1,global:!1,converters:{"text script":function(){}},dataFilter:function(t){b.globalEval(t,e,n)}})},b.fn.extend({wrapAll:function(t){var e;return this[0]&&(h(t)&&(t=t.call(this[0])),e=b(t,this[0].ownerDocument).eq(0).clone(!0),this[0].parentNode&&e.insertBefore(this[0]),e.map((function(){for(var t=this;t.firstElementChild;)t=t.firstElementChild;return t})).append(this)),this},wrapInner:function(t){return h(t)?this.each((function(e){b(this).wrapInner(t.call(this,e))})):this.each((function(){var e=b(this),n=e.contents();n.length?n.wrapAll(t):e.append(t)}))},wrap:function(t){var e=h(t);return this.each((function(n){b(this).wrapAll(e?t.call(this,n):t)}))},unwrap:function(t){return this.parent(t).not("body").each((function(){b(this).replaceWith(this.childNodes)})),this}}),b.expr.pseudos.hidden=function(t){return!b.expr.pseudos.visible(t)},b.expr.pseudos.visible=function(t){return!!(t.offsetWidth||t.offsetHeight||t.getClientRects().length)},b.ajaxSettings.xhr=function(){try{return new t.XMLHttpRequest}catch(t){}};var ze={0:200,1223:204},Ue=b.ajaxSettings.xhr();f.cors=!!Ue&&"withCredentials"in Ue,f.ajax=Ue=!!Ue,b.ajaxTransport((function(e){var n,a;if(f.cors||Ue&&!e.crossDomain)return{send:function(r,i){var s,o=e.xhr();if(o.open(e.type,e.url,e.async,e.username,e.password),e.xhrFields)for(s in e.xhrFields)o[s]=e.xhrFields[s];for(s in e.mimeType&&o.overrideMimeType&&o.overrideMimeType(e.mimeType),e.crossDomain||r["X-Requested-With"]||(r["X-Requested-With"]="XMLHttpRequest"),r)o.setRequestHeader(s,r[s]);n=function(t){return function(){n&&(n=a=o.onload=o.onerror=o.onabort=o.ontimeout=o.onreadystatechange=null,"abort"===t?o.abort():"error"===t?"number"!=typeof o.status?i(0,"error"):i(o.status,o.statusText):i(ze[o.status]||o.status,o.statusText,"text"!==(o.responseType||"text")||"string"!=typeof o.responseText?{binary:o.response}:{text:o.responseText},o.getAllResponseHeaders()))}},o.onload=n(),a=o.onerror=o.ontimeout=n("error"),void 0!==o.onabort?o.onabort=a:o.onreadystatechange=function(){4===o.readyState&&t.setTimeout((function(){n&&a()}))},n=n("abort");try{o.send(e.hasContent&&e.data||null)}catch(t){if(n)throw t}},abort:function(){n&&n()}}})),b.ajaxPrefilter((function(t){t.crossDomain&&(t.contents.script=!1)})),b.ajaxSetup({accepts:{script:"text/javascript, application/javascript, application/ecmascript, application/x-ecmascript"},contents:{script:/\b(?:java|ecma)script\b/},converters:{"text script":function(t){return b.globalEval(t),t}}}),b.ajaxPrefilter("script",(function(t){void 0===t.cache&&(t.cache=!1),t.crossDomain&&(t.type="GET")})),b.ajaxTransport("script",(function(t){var e,n;if(t.crossDomain||t.scriptAttrs)return{send:function(a,r){e=b("<script>").attr(t.scriptAttrs||{}).prop({charset:t.scriptCharset,src:t.url}).on("load error",n=function(t){e.remove(),n=null,t&&r("error"===t.type?404:200,t.type)}),m.head.appendChild(e[0])},abort:function(){n&&n()}}}));var He,Ve=[],We=/(=)\?(?=&|$)|\?\?/;b.ajaxSetup({jsonp:"callback",jsonpCallback:function(){var t=Ve.pop()||b.expando+"_"+Ae.guid++;return this[t]=!0,t}}),b.ajaxPrefilter("json jsonp",(function(e,n,a){var r,i,s,o=!1!==e.jsonp&&(We.test(e.url)?"url":"string"==typeof e.data&&0===(e.contentType||"").indexOf("application/x-www-form-urlencoded")&&We.test(e.data)&&"data");if(o||"jsonp"===e.dataTypes[0])return r=e.jsonpCallback=h(e.jsonpCallback)?e.jsonpCallback():e.jsonpCallback,o?e[o]=e[o].replace(We,"$1"+r):!1!==e.jsonp&&(e.url+=(ke.test(e.url)?"&":"?")+e.jsonp+"="+r),e.converters["script json"]=function(){return s||b.error(r+" was not called"),s[0]},e.dataTypes[0]="json",i=t[r],t[r]=function(){s=arguments},a.always((function(){void 0===i?b(t).removeProp(r):t[r]=i,e[r]&&(e.jsonpCallback=n.jsonpCallback,Ve.push(r)),s&&h(i)&&i(s[0]),s=i=void 0})),"script"})),f.createHTMLDocument=((He=m.implementation.createHTMLDocument("").body).innerHTML="<form></form><form></form>",2===He.childNodes.length),b.parseHTML=function(t,e,n){return"string"!=typeof t?[]:("boolean"==typeof e&&(n=e,e=!1),e||(f.createHTMLDocument?((a=(e=m.implementation.createHTMLDocument("")).createElement("base")).href=m.location.href,e.head.appendChild(a)):e=m),i=!n&&[],(r=$.exec(t))?[e.createElement(r[1])]:(r=gt([t],e,i),i&&i.length&&b(i).remove(),b.merge([],r.childNodes)));var a,r,i},b.fn.load=function(t,e,n){var a,r,i,s=this,o=t.indexOf(" ");return o>-1&&(a=ve(t.slice(o)),t=t.slice(0,o)),h(e)?(n=e,e=void 0):e&&"object"==typeof e&&(r="POST"),s.length>0&&b.ajax({url:t,type:r||"GET",dataType:"html",data:e}).done((function(t){i=arguments,s.html(a?b("<div>").append(b.parseHTML(t)).find(a):t)})).always(n&&function(t,e){s.each((function(){n.apply(this,i||[t.responseText,e,t])}))}),this},b.expr.pseudos.animated=function(t){return b.grep(b.timers,(function(e){return t===e.elem})).length},b.offset={setOffset:function(t,e,n){var a,r,i,s,o,l,c=b.css(t,"position"),u=b(t),d={};"static"===c&&(t.style.position="relative"),o=u.offset(),i=b.css(t,"top"),l=b.css(t,"left"),("absolute"===c||"fixed"===c)&&(i+l).indexOf("auto")>-1?(s=(a=u.position()).top,r=a.left):(s=parseFloat(i)||0,r=parseFloat(l)||0),h(e)&&(e=e.call(t,n,b.extend({},o))),null!=e.top&&(d.top=e.top-o.top+s),null!=e.left&&(d.left=e.left-o.left+r),"using"in e?e.using.call(t,d):("number"==typeof d.top&&(d.top+="px"),"number"==typeof d.left&&(d.left+="px"),u.css(d))}},b.fn.extend({offset:function(t){if(arguments.length)return void 0===t?this:this.each((function(e){b.offset.setOffset(this,t,e)}));var e,n,a=this[0];return a?a.getClientRects().length?(e=a.getBoundingClientRect(),n=a.ownerDocument.defaultView,{top:e.top+n.pageYOffset,left:e.left+n.pageXOffset}):{top:0,left:0}:void 0},position:function(){if(this[0]){var t,e,n,a=this[0],r={top:0,left:0};if("fixed"===b.css(a,"position"))e=a.getBoundingClientRect();else{for(e=this.offset(),n=a.ownerDocument,t=a.offsetParent||n.documentElement;t&&(t===n.body||t===n.documentElement)&&"static"===b.css(t,"position");)t=t.parentNode;t&&t!==a&&1===t.nodeType&&((r=b(t).offset()).top+=b.css(t,"borderTopWidth",!0),r.left+=b.css(t,"borderLeftWidth",!0))}return{top:e.top-r.top-b.css(a,"marginTop",!0),left:e.left-r.left-b.css(a,"marginLeft",!0)}}},offsetParent:function(){return this.map((function(){for(var t=this.offsetParent;t&&"static"===b.css(t,"position");)t=t.offsetParent;return t||nt}))}}),b.each({scrollLeft:"pageXOffset",scrollTop:"pageYOffset"},(function(t,e){var n="pageYOffset"===e;b.fn[t]=function(a){return q(this,(function(t,a,r){var i;if(v(t)?i=t:9===t.nodeType&&(i=t.defaultView),void 0===r)return i?i[e]:t[a];i?i.scrollTo(n?i.pageXOffset:r,n?r:i.pageYOffset):t[a]=r}),t,a,arguments.length)}})),b.each(["top","left"],(function(t,e){b.cssHooks[e]=qt(f.pixelPosition,(function(t,n){if(n)return n=Bt(t,e),Rt.test(n)?b(t).position()[e]+"px":n}))})),b.each({Height:"height",Width:"width"},(function(t,e){b.each({padding:"inner"+t,content:e,"":"outer"+t},(function(n,a){b.fn[a]=function(r,i){var s=arguments.length&&(n||"boolean"!=typeof r),o=n||(!0===r||!0===i?"margin":"border");return q(this,(function(e,n,r){var i;return v(e)?0===a.indexOf("outer")?e["inner"+t]:e.document.documentElement["client"+t]:9===e.nodeType?(i=e.documentElement,Math.max(e.body["scroll"+t],i["scroll"+t],e.body["offset"+t],i["offset"+t],i["client"+t])):void 0===r?b.css(e,n,o):b.style(e,n,r,o)}),e,s?r:void 0,s)}}))})),b.each(["ajaxStart","ajaxStop","ajaxComplete","ajaxError","ajaxSuccess","ajaxSend"],(function(t,e){b.fn[e]=function(t){return this.on(e,t)}})),b.fn.extend({bind:function(t,e,n){return this.on(t,null,e,n)},unbind:function(t,e){return this.off(t,null,e)},delegate:function(t,e,n,a){return this.on(e,t,n,a)},undelegate:function(t,e,n){return 1===arguments.length?this.off(t,"**"):this.off(e,t||"**",n)},hover:function(t,e){return this.mouseenter(t).mouseleave(e||t)}}),b.each("blur focus focusin focusout resize scroll click dblclick mousedown mouseup mousemove mouseover mouseout mouseenter mouseleave change select submit keydown keypress keyup contextmenu".split(" "),(function(t,e){b.fn[e]=function(t,n){return arguments.length>0?this.on(e,null,t,n):this.trigger(e)}}));var Qe=/^[\s\uFEFF\xA0]+|[\s\uFEFF\xA0]+$/g;b.proxy=function(t,e){var n,a,i;if("string"==typeof e&&(n=t[e],e=t,t=n),h(t))return a=r.call(arguments,2),(i=function(){return t.apply(e||this,a.concat(r.call(arguments)))}).guid=t.guid=t.guid||b.guid++,i},b.holdReady=function(t){t?b.readyWait++:b.ready(!0)},b.isArray=Array.isArray,b.parseJSON=JSON.parse,b.nodeName=T,b.isFunction=h,b.isWindow=v,b.camelCase=V,b.type=y,b.now=Date.now,b.isNumeric=function(t){var e=b.type(t);return("number"===e||"string"===e)&&!isNaN(t-parseFloat(t))},b.trim=function(t){return null==t?"":(t+"").replace(Qe,"")};var Ge=t.jQuery,Ke=t.$;return b.noConflict=function(e){return t.$===b&&(t.$=Ke),e&&t.jQuery===b&&(t.jQuery=Ge),b},void 0===e&&(t.jQuery=t.$=b),b}))}));let Od={};const Rd=function(t,e=null,n=!0,a=null){if(Od[a]){let r=Od[a],i=Id(`div.toastify[toast_id=${a}]`);t&&i.find(".toast-message").html(t),e&&(e="loading"==e?'<div class="circle-loader"></div>':`<i class="material-icons">${e}</i>`,i.find(".toast-icon").html(e)),null!==n&&n&&(i.addClass("dismissable"),setTimeout((function(){r.hideToast(),delete Od[a]}),3e3))}else{let r=Pd({text:`<span class="toast-icon">${e=null==e?"":"loading"==e?'<div class="circle-loader"></div>':`<i class="material-icons">${e}</i>`}</span><span class="toast-message">${t}</toast>`,duration:n?3e3:0,gravity:"bottom",position:"left",className:n?"dismissable":"",onClick:function(){let t=!0;if(a){let e=document.querySelector(`div.toastify[toast_id=${a}]`).classList;e&&(t=-1!=Array.from(e).indexOf("dismissable"))}r&&t&&r.hideToast()}}).showToast();a&&(Od[a]=r,Id(r.toastElement).attr("toast_id",a))}};to.on("toast",t=>{const{msg:e,icon:n,dismiss:a,id:r}=t;Rd(e,n||null,void 0===a||a,r||null)});const Fd={name:"the-favorites-tab",data:()=>({tracks:[],albums:[],artists:[],playlists:[],spotifyPlaylists:[]}),methods:{artistView:op.bind(null,"artist"),albumView:op.bind(null,"album"),playlistView:op.bind(null,"playlist"),spotifyPlaylistView:op.bind(null,"spotifyplaylist"),playPausePreview(t){EventBus.$emit("trackPreview:playPausePreview",t)},previewMouseEnter(t){EventBus.$emit("trackPreview:previewMouseEnter",t)},previewMouseLeave(t){EventBus.$emit("trackPreview:previewMouseLeave",t)},convertDuration:wd.convertDuration,handleFavoritesTabClick(t){const{target:e,target:{id:n}}=t;let a=null;switch(n){case"favorites_playlist_tab":a="playlist_favorites";break;case"favorites_album_tab":a="album_favorites";break;case"favorites_artist_tab":a="artist_favorites";break;case"favorites_track_tab":a="track_favorites"}a&&sp(e,"favorites",a)},addToQueue(t){t.stopPropagation(),vd.sendAddToQueue(t.currentTarget.dataset.link)},openQualityModal(t){this.$root.$emit("QualityModal:open",t.currentTarget.dataset.link)},updated_userSpotifyPlaylists(t){this.spotifyPlaylists=t},updated_userPlaylists(t){this.playlists=t},updated_userAlbums(t){this.albums=t},updated_userArtist(t){this.artists=t},updated_userTracks(t){this.tracks=t},reloadTabs(){this.$refs.reloadButton.classList.add("spin"),to.emit("update_userFavorites"),localStorage.getItem("spotifyUser")&&to.emit("update_userSpotifyPlaylists",localStorage.getItem("spotifyUser"))},updated_userFavorites(t){const{tracks:e,albums:n,artists:a,playlists:r}=t;this.tracks=e,this.albums=n,this.artists=a,this.playlists=r,this.$refs.reloadButton.addEventListener("animationiteration",()=>{this.$refs.reloadButton.classList.remove("spin"),Rd(this.$t("toasts.refreshFavs"),"done",!0)},{once:!0})},initFavorites(t){this.updated_userFavorites(t),document.getElementById("favorites_playlist_tab").click()}},mounted(){console.log("favorites mounted"),this.$refs.root.style.display="block",to.on("init_favorites",this.initFavorites),to.on("updated_userFavorites",this.updated_userFavorites),to.on("updated_userSpotifyPlaylists",this.updated_userSpotifyPlaylists),to.on("updated_userPlaylists",this.updated_userPlaylists),to.on("updated_userAlbums",this.updated_userAlbums),to.on("updated_userArtist",this.updated_userArtist),to.on("updated_userTracks",this.updated_userTracks)},beforeDestroy(){console.log("favorites bef dest"),this.$refs.root.style.display="none"}};var Md=function(){var t=this,e=t.$createElement,n=t._self._c||e;return n("div",{ref:"root",staticClass:"main_tabcontent",attrs:{id:"favorites_tab"},on:{click:t.handleFavoritesTabClick}},[n("h2",{staticClass:"page_heading"},[t._v("\n\t\t"+t._s(t.$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:t.reloadTabs}},[n("i",{staticClass:"material-icons"},[t._v("sync")])])]),t._v(" "),n("div",{staticClass:"section-tabs"},[n("div",{staticClass:"section-tabs__tab favorites_tablinks",attrs:{id:"favorites_playlist_tab"}},[t._v("\n\t\t\t"+t._s(t.$tc("globals.listTabs.playlist",2))+"\n\t\t")]),t._v(" "),n("div",{staticClass:"section-tabs__tab favorites_tablinks",attrs:{id:"favorites_album_tab"}},[t._v("\n\t\t\t"+t._s(t.$tc("globals.listTabs.album",2))+"\n\t\t")]),t._v(" "),n("div",{staticClass:"section-tabs__tab favorites_tablinks",attrs:{id:"favorites_artist_tab"}},[t._v("\n\t\t\t"+t._s(t.$tc("globals.listTabs.artist",2))+"\n\t\t")]),t._v(" "),n("div",{staticClass:"section-tabs__tab favorites_tablinks",attrs:{id:"favorites_track_tab"}},[t._v("\n\t\t\t"+t._s(t.$tc("globals.listTabs.track",2))+"\n\t\t")])]),t._v(" "),n("div",{staticClass:"favorites_tabcontent",attrs:{id:"playlist_favorites"}},[0==t.playlists.length?n("div",[n("h1",[t._v(t._s(t.$t("favorites.noPlaylists")))])]):t._e(),t._v(" "),t.playlists.length>0||t.spotifyPlaylists>0?n("div",{staticClass:"release_grid"},[t._l(t.playlists,(function(e){return n("div",{staticClass:"release clickable",attrs:{"data-id":e.id},on:{click:t.playlistView}},[n("div",{staticClass:"cover_container"},[n("img",{staticClass:"rounded coverart",attrs:{"aria-hidden":"true",src:e.picture_medium}}),t._v(" "),n("div",{staticClass:"download_overlay",attrs:{role:"button","aria-label":"download","data-link":e.link},on:{contextmenu:function(e){return e.preventDefault(),t.openQualityModal(e)},click:function(e){return e.stopPropagation(),t.addToQueue(e)}}},[n("i",{staticClass:"material-icons",attrs:{title:t.$t("globals.download_hint")}},[t._v("get_app")])])]),t._v(" "),n("p",{staticClass:"primary-text"},[t._v(t._s(e.title))]),t._v(" "),n("p",{staticClass:"secondary-text"},[t._v("\n\t\t\t\t\t"+t._s(t.$t("globals.by",[e.creator.name])+" - "+t.$tc("globals.listTabs.trackN",e.nb_tracks))+"\n\t\t\t\t")])])})),t._v(" "),t._l(t.spotifyPlaylists,(function(e){return n("div",{staticClass:"release clickable",attrs:{"data-id":e.id},on:{click:t.spotifyPlaylistView}},[n("div",{staticClass:"cover_container"},[n("img",{staticClass:"rounded coverart",attrs:{"aria-hidden":"true",src:e.picture_medium}}),t._v(" "),n("div",{staticClass:"download_overlay",attrs:{role:"button","aria-label":"download","data-link":e.link},on:{contextmenu:function(e){return e.preventDefault(),t.openQualityModal(e)},click:function(e){return e.stopPropagation(),t.addToQueue(e)}}},[n("i",{staticClass:"material-icons",attrs:{title:t.$t("globals.download_hint")}},[t._v("get_app")])])]),t._v(" "),n("p",{staticClass:"primary-text"},[t._v(t._s(e.title))]),t._v(" "),n("p",{staticClass:"secondary-text"},[t._v("\n\t\t\t\t\t"+t._s(t.$t("globals.by",[e.creator.name])+" - "+t.$tc("globals.listTabs.trackN",e.nb_tracks))+"\n\t\t\t\t")])])}))],2):t._e()]),t._v(" "),n("div",{staticClass:"favorites_tabcontent",attrs:{id:"album_favorites"}},[0==t.albums.length?n("div",[n("h1",[t._v(t._s(t.$t("favorites.noAlbums")))])]):t._e(),t._v(" "),t.albums.length>0?n("div",{staticClass:"release_grid"},t._l(t.albums,(function(e){return n("div",{staticClass:"release clickable",attrs:{"data-id":e.id},on:{click:t.albumView}},[n("div",{staticClass:"cover_container"},[n("img",{staticClass:"rounded coverart",attrs:{"aria-hidden":"true",src:e.cover_medium}}),t._v(" "),n("div",{staticClass:"download_overlay",attrs:{role:"button","aria-label":"download","data-link":e.link},on:{contextmenu:function(e){return e.preventDefault(),t.openQualityModal(e)},click:function(e){return e.stopPropagation(),t.addToQueue(e)}}},[n("i",{staticClass:"material-icons",attrs:{title:t.$t("globals.download_hint")}},[t._v("get_app")])])]),t._v(" "),n("p",{staticClass:"primary-text"},[t._v(t._s(e.title))]),t._v(" "),n("p",{staticClass:"secondary-text"},[t._v(t._s(""+t.$t("globals.by",[e.artist.name])))])])})),0):t._e()]),t._v(" "),n("div",{staticClass:"favorites_tabcontent",attrs:{id:"artist_favorites"}},[0==t.artists.length?n("div",[n("h1",[t._v(t._s(t.$t("favorites.noArtists")))])]):t._e(),t._v(" "),t.artists.length>0?n("div",{staticClass:"release_grid"},t._l(t.artists,(function(e){return n("div",{staticClass:"release clickable",attrs:{"data-id":e.id},on:{click:t.artistView}},[n("div",{staticClass:"cover_container"},[n("img",{staticClass:"circle coverart",attrs:{"aria-hidden":"true",src:e.picture_medium}}),t._v(" "),n("div",{staticClass:"download_overlay",attrs:{role:"button","aria-label":"download","data-link":e.link},on:{contextmenu:function(e){return e.preventDefault(),t.openQualityModal(e)},click:function(e){return e.stopPropagation(),t.addToQueue(e)}}},[n("i",{staticClass:"material-icons",attrs:{title:t.$t("globals.download_hint")}},[t._v("get_app")])])]),t._v(" "),n("p",{staticClass:"primary-text"},[t._v(t._s(e.name))])])})),0):t._e()]),t._v(" "),n("div",{staticClass:"favorites_tabcontent",attrs:{id:"track_favorites"}},[0==t.tracks.length?n("div",[n("h1",[t._v(t._s(t.$t("favorites.noTracks")))])]):t._e(),t._v(" "),t.tracks.length>0?n("table",{staticClass:"table"},t._l(t.tracks,(function(e){return n("tr",{staticClass:"track_row"},[n("td",{staticClass:"top-tracks-position",class:{first:1===e.position}},[t._v("\n\t\t\t\t\t"+t._s(e.position)+"\n\t\t\t\t")]),t._v(" "),n("td",[n("a",{staticClass:"rounded",class:{"single-cover":!!e.preview},attrs:{href:"#","data-preview":e.preview},on:{click:t.playPausePreview}},[e.preview?n("i",{staticClass:"material-icons preview_controls",attrs:{title:t.$t("globals.play_hint")},on:{mouseenter:t.previewMouseEnter,mouseleave:t.previewMouseLeave}},[t._v("\n\t\t\t\t\t\t\tplay_arrow\n\t\t\t\t\t\t")]):t._e(),t._v(" "),n("img",{staticClass:"rounded coverart",attrs:{src:e.album.cover_small}})])]),t._v(" "),n("td",{staticClass:"table__cell--large breakline"},[t._v("\n\t\t\t\t\t"+t._s(e.title+(e.title_version&&-1==e.title.indexOf(e.title_version)?" "+e.title_version:""))+"\n\t\t\t\t")]),t._v(" "),n("td",{staticClass:"table__cell--medium table__cell--center breakline clickable",attrs:{"data-id":e.artist.id},on:{click:t.artistView}},[t._v("\n\t\t\t\t\t"+t._s(e.artist.name)+"\n\t\t\t\t")]),t._v(" "),n("td",{staticClass:"table__cell--medium table__cell--center breakline clickable",attrs:{"data-id":e.album.id},on:{click:t.albumView}},[t._v("\n\t\t\t\t\t"+t._s(e.album.title)+"\n\t\t\t\t")]),t._v(" "),n("td",{staticClass:"table__cell--small"},[t._v("\n\t\t\t\t\t"+t._s(t.convertDuration(e.duration))+"\n\t\t\t\t")]),t._v(" "),n("td",{staticClass:"table__cell--download clickable",attrs:{"data-link":e.link,role:"button","aria-label":"download"},on:{contextmenu:function(e){return e.preventDefault(),t.openQualityModal(e)},click:function(e){return e.stopPropagation(),t.addToQueue(e)}}},[n("div",{staticClass:"table__cell-content table__cell-content--vertical-center"},[n("i",{staticClass:"material-icons",attrs:{title:t.$t("globals.download_hint")}},[t._v("get_app")])])])])})),0):t._e()])])};Md._withStripped=!0;var jd=function(t,e,n,a,r,i,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=t.render,l.staticRenderFns=t.staticRenderFns,l._compiled=!0,r&&(l.functional=!0)),l._scopeId=a;{let t;if(e&&(t=function(t){e.call(this,s(t))}),void 0!==t)if(l.functional){const e=l.render;l.render=function(n,a){return t.call(a),e(n,a)}}else{const e=l.beforeCreate;l.beforeCreate=e?[].concat(e,t):[t]}}return l}({render:Md,staticRenderFns:[]},(function(t){t&&t("data-v-cccb5978_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\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:"TheFavoritesTab.vue"},media:void 0})}),Fd,void 0,!1,0,(function t(){const e=document.head||document.getElementsByTagName("head")[0],n=t.styles||(t.styles={}),a="undefined"!=typeof navigator&&/msie [6-9]\\b/.test(navigator.userAgent.toLowerCase());return function(t,r){if(document.querySelector('style[data-vue-ssr-id~="'+t+'"]'))return;const i=a?r.media||"default":t,s=n[i]||(n[i]={ids:[],parts:[],element:void 0});if(!s.ids.includes(t)){let n=r.source,o=s.ids.length;if(s.ids.push(t),a&&(s.element=s.element||document.querySelector("style[data-group="+i+"]")),!s.element){const t=s.element=document.createElement("style");t.type="text/css",r.media&&t.setAttribute("media",r.media),a&&(t.setAttribute("data-group",i),t.setAttribute("data-next-index","0")),e.appendChild(t)}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 t=document.createTextNode(n),e=s.element.childNodes;e[o]&&s.element.removeChild(e[o]),e.length?s.element.insertBefore(t,e[o]):s.element.appendChild(t)}}}}));const Bd={name:"the-errors-tab",data:()=>({title:"",errors:[]}),methods:{reset(){this.title="",this.errors=[]},showErrors(t,e){this.title=t.artist+" - "+t.title,this.errors=t.errors,sp(e,"main","errors_tab")}},mounted(){console.log("errors mounted"),this.$refs.root.style.display="block",eo.$on("showTabErrors",this.showErrors),this.$root.$on("showTabErrors",this.showErrors)},beforeDestroy(){console.log("errors bef dest"),this.$refs.root.style.display="none"}};var qd=function(){var t=this,e=t.$createElement,n=t._self._c||e;return n("div",{ref:"root",staticClass:"main_tabcontent",attrs:{id:"errors_tab"}},[n("h1",[t._v(t._s(t.$t("errors.title",[t.title])))]),t._v(" "),n("table",{staticClass:"table table--tracklist"},[n("tr",[n("th",[t._v("ID")]),t._v(" "),n("th",[t._v(t._s(t.$tc("globals.listTabs.artist",1)))]),t._v(" "),n("th",[t._v(t._s(t.$tc("globals.listTabs.title",1)))]),t._v(" "),n("th",[t._v(t._s(t.$tc("globals.listTabs.error",1)))])]),t._v(" "),t._l(t.errors,(function(e){return n("tr",{key:e.data.id},[n("td",[t._v(t._s(e.data.id))]),t._v(" "),n("td",[t._v(t._s(e.data.artist))]),t._v(" "),n("td",[t._v(t._s(e.data.title))]),t._v(" "),n("td",[t._v(t._s(e.errid?t.$t("errors.ids."+e.errid):e.message))])])}))],2)])};qd._withStripped=!0;var zd=function(t,e,n,a,r,i,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=t.render,l.staticRenderFns=t.staticRenderFns,l._compiled=!0,r&&(l.functional=!0)),l._scopeId=a;{let t;if(e&&(t=function(t){e.call(this,s(t))}),void 0!==t)if(l.functional){const e=l.render;l.render=function(n,a){return t.call(a),e(n,a)}}else{const e=l.beforeCreate;l.beforeCreate=e?[].concat(e,t):[t]}}return l}({render:qd,staticRenderFns:[]},(function(t){t&&t("data-v-1d09b233_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",map:{version:3,sources:[],names:[],mappings:"",file:"TheErrorsTab.vue"},media:void 0})}),Bd,void 0,!1,0,(function t(){const e=document.head||document.getElementsByTagName("head")[0],n=t.styles||(t.styles={}),a="undefined"!=typeof navigator&&/msie [6-9]\\b/.test(navigator.userAgent.toLowerCase());return function(t,r){if(document.querySelector('style[data-vue-ssr-id~="'+t+'"]'))return;const i=a?r.media||"default":t,s=n[i]||(n[i]={ids:[],parts:[],element:void 0});if(!s.ids.includes(t)){let n=r.source,o=s.ids.length;if(s.ids.push(t),a&&(s.element=s.element||document.querySelector("style[data-group="+i+"]")),!s.element){const t=s.element=document.createElement("style");t.type="text/css",r.media&&t.setAttribute("media",r.media),a&&(t.setAttribute("data-group",i),t.setAttribute("data-next-index","0")),e.appendChild(t)}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 t=document.createTextNode(n),e=s.element.childNodes;e[o]&&s.element.removeChild(e[o]),e.length?s.element.insertBefore(t,e[o]):s.element.appendChild(t)}}}}));const Ud={name:"the-link-analyzer-tab",data:()=>({title:"",subtitle:"",image:"",data:{},type:"",link:"",id:"0",countries:[]}),methods:{artistView:op.bind(null,"artist"),albumView:op.bind(null,"album"),convertDuration:wd.convertDuration,reset(){this.title="Loading...",this.subtitle="",this.image="",this.data={},this.type="",this.link="",this.countries=[]},showTrack(t){const{title:e,title_version:n,album:{cover_xl:a},link:r,available_countries:i,id:s}=t;this.title=e+(n&&-1==e.indexOf(n)?" "+n:""),this.image=a,this.type="track",this.link=r,this.id=s,i.forEach(t=>{let e=[],n=[...t].map(t=>t.charCodeAt()+127397);e.push(String.fromCodePoint(...n)),e.push(wd.COUNTRIES[t]),this.countries.push(e)}),this.data=t},showAlbum(t){const{title:e,cover_xl:n,link:a,id:r}=t;this.title=e,this.image=n,this.type="album",this.link=a,this.data=t,this.id=r},notSupported(){this.link="error"}},mounted(){console.log("link analyzer mounted"),this.$refs.root.style.display="block",eo.$on("linkAnalyzerTab:reset",this.reset),to.on("analyze_track",this.showTrack),to.on("analyze_album",this.showAlbum),to.on("analyze_notSupported",this.notSupported)},beforeDestroy(){console.log("link analyzer bef dest"),this.$refs.root.style.display="none"}};var Hd=function(){var t=this,e=t.$createElement,n=t._self._c||e;return n("div",{ref:"root",staticClass:"main_tabcontent image_header",attrs:{id:"analyzer_tab"}},[n("h2",{staticClass:"page_heading page_heading--capitalize"},[t._v(t._s(t.$t("sidebar.linkAnalyzer")))]),t._v(" "),""==t.link?n("div",[n("p",[t._v("\n\t\t\t"+t._s(t.$t("linkAnalyzer.info"))+"\n\t\t")]),t._v(" "),n("p",[t._v("\n\t\t\t"+t._s(t.$t("linkAnalyzer.useful"))+"\n\t\t")])]):"error"==t.link?n("div",[n("h2",[t._v(t._s(t.$t("linkAnalyzer.linkNotSupported")))]),t._v(" "),n("p",[t._v(t._s(t.$t("linkAnalyzer.linkNotSupportedYet")))])]):n("div",[n("header",{staticClass:"inline-flex",style:{"background-image":"linear-gradient(to bottom, transparent 0%, var(--main-background) 100%), url('"+t.image+"')"}},[n("div",[n("h1",[t._v(t._s(t.title))]),t._v(" "),"track"==t.type?n("h2",[n("i18n",{attrs:{path:"globals.by",tag:"span"}},[n("span",{staticClass:"clickable",attrs:{place:"0","data-id":t.data.artist.id},on:{click:t.artistView}},[t._v(t._s(t.data.artist.name))])]),t._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:"0","data-id":t.data.album.id},on:{click:t.albumView}},[t._v(t._s(t.data.album.title))])])],1):"album"==t.type?n("h2",[n("i18n",{attrs:{path:"globals.by",tag:"span"}},[n("span",{staticClass:"clickable",attrs:{place:"0","data-id":t.data.artist.id},on:{click:t.artistView}},[t._v(t._s(t.data.artist.name))])]),t._v("\n\t\t\t\t\t"+t._s(" • "+t.$tc("globals.listTabs.trackN",t.data.nb_tracks))+"\n\t\t\t\t")],1):t._e()]),t._v(" "),n("div",{staticClass:"fab right",attrs:{role:"button","aria-label":"download","data-link":t.link},on:{contextmenu:function(e){return e.preventDefault(),t.openQualityModal(e)},click:function(e){return e.stopPropagation(),t.addToQueue(e)}}},[n("i",{staticClass:"material-icons",attrs:{title:t.$t("globals.download_hint")}},[t._v("get_app")])])]),t._v(" "),n("table",{staticClass:"table"},[t.data.id?n("tr",[n("td",[t._v(t._s(t.$t("linkAnalyzer.table.id")))]),t._v(" "),n("td",[t._v(t._s(t.data.id))])]):t._e(),t._v(" "),t.data.isrc?n("tr",[n("td",[t._v(t._s(t.$t("linkAnalyzer.table.isrc")))]),t._v(" "),n("td",[t._v(t._s(t.data.isrc))])]):t._e(),t._v(" "),t.data.upc?n("tr",[n("td",[t._v(t._s(t.$t("linkAnalyzer.table.upc")))]),t._v(" "),n("td",[t._v(t._s(t.data.upc))])]):t._e(),t._v(" "),t.data.duration?n("tr",[n("td",[t._v(t._s(t.$t("linkAnalyzer.table.duration")))]),t._v(" "),n("td",[t._v(t._s(t.convertDuration(t.data.duration)))])]):t._e(),t._v(" "),t.data.disk_number?n("tr",[n("td",[t._v(t._s(t.$t("linkAnalyzer.table.diskNumber")))]),t._v(" "),n("td",[t._v(t._s(t.data.disk_number))])]):t._e(),t._v(" "),t.data.track_position?n("tr",[n("td",[t._v(t._s(t.$t("linkAnalyzer.table.trackNumber")))]),t._v(" "),n("td",[t._v(t._s(t.data.track_position))])]):t._e(),t._v(" "),t.data.release_date?n("tr",[n("td",[t._v(t._s(t.$t("linkAnalyzer.table.releaseDate")))]),t._v(" "),n("td",[t._v(t._s(t.data.release_date))])]):t._e(),t._v(" "),t.data.bpm?n("tr",[n("td",[t._v(t._s(t.$t("linkAnalyzer.table.bpm")))]),t._v(" "),n("td",[t._v(t._s(t.data.bpm))])]):t._e(),t._v(" "),t.data.label?n("tr",[n("td",[t._v(t._s(t.$t("linkAnalyzer.table.label")))]),t._v(" "),n("td",[t._v(t._s(t.data.label))])]):t._e(),t._v(" "),t.data.record_type?n("tr",[n("td",[t._v(t._s(t.$t("linkAnalyzer.table.recordType")))]),t._v(" "),n("td",[t._v(t._s(t.$tc("globals.listTabs."+t.data.record_type,1)))])]):t._e(),t._v(" "),t.data.genres&&t.data.genres.data.length?n("tr",[n("td",[t._v(t._s(t.$t("linkAnalyzer.table.genres")))]),t._v(" "),n("td",[t._v(t._s(t.data.genres.data.map((function(t){return t.name})).join("; ")))])]):t._e()]),t._v(" "),"album"==t.type?n("div",[n("button",{attrs:{"data-id":t.id},on:{click:t.albumView}},[t._v(t._s(t.$t("linkAnalyzer.table.tracklist")))])]):t._e(),t._v(" "),t.countries.length?n("div",t._l(t.countries,(function(e){return n("p",[t._v(t._s(e[0])+" - "+t._s(e[1]))])})),0):t._e()])])};Hd._withStripped=!0;var Vd=function(t,e,n,a,r,i,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=t.render,l.staticRenderFns=t.staticRenderFns,l._compiled=!0,r&&(l.functional=!0)),l._scopeId=a;{let t;if(e&&(t=function(t){e.call(this,s(t))}),void 0!==t)if(l.functional){const e=l.render;l.render=function(n,a){return t.call(a),e(n,a)}}else{const e=l.beforeCreate;l.beforeCreate=e?[].concat(e,t):[t]}}return l}({render:Hd,staticRenderFns:[]},(function(t){t&&t("data-v-24ac9d8f_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",map:{version:3,sources:[],names:[],mappings:"",file:"TheLinkAnalyzerTab.vue"},media:void 0})}),Ud,void 0,!1,0,(function t(){const e=document.head||document.getElementsByTagName("head")[0],n=t.styles||(t.styles={}),a="undefined"!=typeof navigator&&/msie [6-9]\\b/.test(navigator.userAgent.toLowerCase());return function(t,r){if(document.querySelector('style[data-vue-ssr-id~="'+t+'"]'))return;const i=a?r.media||"default":t,s=n[i]||(n[i]={ids:[],parts:[],element:void 0});if(!s.ids.includes(t)){let n=r.source,o=s.ids.length;if(s.ids.push(t),a&&(s.element=s.element||document.querySelector("style[data-group="+i+"]")),!s.element){const t=s.element=document.createElement("style");t.type="text/css",r.media&&t.setAttribute("media",r.media),a&&(t.setAttribute("data-group",i),t.setAttribute("data-next-index","0")),e.appendChild(t)}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 t=document.createTextNode(n),e=s.element.childNodes;e[o]&&s.element.removeChild(e[o]),e.length?s.element.insertBefore(t,e[o]):s.element.appendChild(t)}}}}));const Wd={data:()=>({paypal:'<?xml version="1.0" encoding="iso-8859-1"?>\r\n\x3c!-- Generator: Adobe Illustrator 19.0.0, SVG Export Plug-In . SVG Version: 6.00 Build 0) --\x3e\r\n<svg version="1.1" id="Capa_1" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink"\r\n\t viewBox="0 0 512.001 512.001" style="enable-background:new 0 0 512.001 512.001;" xml:space="preserve">\r\n<path style="fill:#03A9F4;" d="M425.457,117.739c-3.121-1.838-6.961-1.966-10.197-0.341c-3.231,1.629-5.416,4.786-5.803,8.384\r\n\tc-0.384,3.499-0.981,6.997-1.728,10.667c-20.885,94.784-62.827,140.885-128.256,140.885h-96c-5.062,0.009-9.42,3.574-10.432,8.533\r\n\tl-32,149.995l-5.717,38.187c-3.287,17.365,8.125,34.107,25.489,37.394c1.915,0.362,3.858,0.549,5.807,0.558h64.213\r\n\tc14.718,0.045,27.55-10,31.04-24.299l25.941-103.701h55.659c65.685,0,111.083-52.373,127.829-147.477l0,0\r\n\tC482.356,191.238,464.068,143.856,425.457,117.739z"/>\r\n<path style="fill:#283593;" d="M405.339,38.017c-21.078-23.909-51.327-37.731-83.2-38.016h-176.64\r\n\tC119.064-0.141,96.558,19.2,92.721,45.355L37.873,411.243c-2.627,17.477,9.41,33.774,26.887,36.402\r\n\tc1.586,0.239,3.189,0.357,4.793,0.356h81.92c5.062-0.009,9.42-3.574,10.432-8.533l30.187-140.8h87.467\r\n\tc75.904,0,126.059-53.056,149.099-157.867c0.926-4.178,1.638-8.4,2.133-12.651C436.139,95.815,426.81,62.778,405.339,38.017z"/>\r\n<g>\r\n</g>\r\n<g>\r\n</g>\r\n<g>\r\n</g>\r\n<g>\r\n</g>\r\n<g>\r\n</g>\r\n<g>\r\n</g>\r\n<g>\r\n</g>\r\n<g>\r\n</g>\r\n<g>\r\n</g>\r\n<g>\r\n</g>\r\n<g>\r\n</g>\r\n<g>\r\n</g>\r\n<g>\r\n</g>\r\n<g>\r\n</g>\r\n<g>\r\n</g>\r\n</svg>',ethereum:'<svg viewBox="-116 0 512 512" xmlns="http://www.w3.org/2000/svg"><path d="m140.28125 333.582031-140.28125-66.734375 140.28125 245.152344 140.285156-245.152344zm0 0"/><path d="m265.289062 217.117188-125.007812-217.117188-125.148438 217.367188 125.148438-59.367188zm0 0"/><path d="m25.980469 245.535156 114.300781 54.140625 114.492188-54.230469-114.492188-54.136718zm0 0"/></svg>',bitcoin:'<svg viewBox="0 0 65 65" xmlns="http://www.w3.org/2000/svg">\n<path d="M37.4984 36.7246C37.7727 37.3718 37.822 38.0823 37.6813 38.9194C37.4984 39.8901 37.0763 40.6499 36.408 41.2408C35.7327 41.8106 35.0011 42.1552 34.1922 42.2326C33.3762 42.31 32.3843 42.2326 31.2166 42.0216L29.1977 41.6277C28.5294 41.494 28.1284 41.3955 27.9807 41.29C27.84 41.1915 27.7626 41.0508 27.7274 40.8539C27.7134 40.7061 27.7696 40.1856 27.9103 39.3485L29.0288 33.3691L32.6094 34.0304C34.1781 34.3329 35.3177 34.6987 36.0211 35.1207C36.7316 35.5428 37.217 36.0915 37.4984 36.7246ZM37.6883 24.1539C37.0552 23.8022 35.8453 23.4645 34.0726 23.1339L31.0477 22.5641L29.7815 29.2962L32.8134 29.8659C34.3962 30.1544 35.592 30.2458 36.401 30.1192C37.21 29.9855 37.8431 29.6971 38.3355 29.2399C38.8068 28.7967 39.1234 28.1988 39.25 27.4953C39.3907 26.7637 39.3203 26.1236 39.053 25.5327C38.7998 24.9629 38.3496 24.4916 37.6883 24.1539ZM64.5179 32.518C64.5179 50.2027 50.1886 64.518 32.5109 64.518C14.8402 64.518 0.517944 50.2027 0.517944 32.518C0.517944 14.8332 14.8402 0.51796 32.5109 0.51796C50.1886 0.51796 64.5179 14.8332 64.5179 32.518ZM45.6866 24.0625C45.1449 22.8807 44.2304 21.8818 42.9712 21.0587C42.4929 20.7351 41.8809 20.4538 41.2126 20.1935L42.1201 15.3326L37.4491 14.4533L36.5909 18.9976L33.5872 18.4349L34.4454 13.8906L29.7675 13.0113L28.9092 17.5626L21.7692 16.226L21.0587 20.0458L22.1491 20.2498C22.8807 20.3764 23.359 20.5382 23.5841 20.7211C23.8233 20.8899 23.964 21.108 24.0273 21.3542C24.0906 21.6004 24.0484 22.128 23.8936 22.9581L21.0095 38.3496C20.8618 39.1515 20.7211 39.665 20.5663 39.869C20.4115 40.073 20.2005 40.2278 19.9191 40.3052C19.6378 40.3825 19.1383 40.3544 18.4137 40.1996L17.3164 40.0168L16.6059 43.8224L23.7389 45.1449L22.8947 49.6892L27.5727 50.5685L28.4168 46.0242L31.0759 46.5166C31.1955 46.5448 31.301 46.5518 31.4206 46.5799L30.5764 51.1242L35.2473 51.9895L36.1759 47.0724C36.9849 47.0583 37.7094 46.988 38.3496 46.8824C40.0871 46.5377 41.5081 45.8272 42.6265 44.751C43.738 43.6958 44.4344 42.4296 44.7017 40.9594C44.9339 39.7213 44.8494 38.5536 44.4555 37.4702C44.0545 36.3588 43.4144 35.4373 42.5281 34.6916C41.9231 34.1711 40.9945 33.6224 39.7705 33.0596C41.0508 32.8697 42.113 32.5391 42.9642 32.0396C43.8224 31.5472 44.5188 30.9282 45.0534 30.1755C45.5951 29.4298 45.9609 28.5927 46.1227 27.6852C46.3759 26.4894 46.2282 25.2513 45.6866 24.0625Z"/>\n</svg>'}),mounted(){console.log("about mounted"),this.$refs.root.style.display="block"},beforeDestroy(){console.log("about bef dest"),this.$refs.root.style.display="none"}};var Qd=function(){var t=this,e=t.$createElement,n=t._self._c||e;return n("div",{ref:"root",staticClass:"main_tabcontent",attrs:{id:"about_tab"}},[n("h2",{staticClass:"page_heading"},[t._v(t._s(t.$t("sidebar.about")))]),t._v(" "),n("ul",[n("li",{domProps:{innerHTML:t._s(t.$t("about.usesLibrary"))}}),t._v(" "),n("li",{domProps:{innerHTML:t._s(t.$t("about.thanks"))}}),t._v(" "),n("li",{domProps:{innerHTML:t._s(t.$t("about.upToDate"))}})]),t._v(" "),n("h2",[t._v(t._s(t.$t("about.titles.usefulLinks")))]),t._v(" "),n("ul",{staticClass:"no-dots"},[n("li",[n("a",{attrs:{href:"https://deemix.app",target:"_blank"}},[t._v("🌍 "+t._s(t.$t("about.officialWebsite")))])]),t._v(" "),n("li",[n("a",{attrs:{href:"https://codeberg.org/RemixDev/deemix",target:"_blank"}},[t._v("🚀 "+t._s(t.$t("about.officialRepo")))])]),t._v(" "),n("li",[n("a",{attrs:{href:"https://codeberg.org/RemixDev/deemix-webui",target:"_blank"}},[t._v("💻 "+t._s(t.$t("about.officialWebuiRepo")))])]),t._v(" "),n("li",[n("a",{attrs:{href:"https://www.reddit.com/r/deemix",target:"_blank"}},[t._v("🤖 "+t._s(t.$t("about.officialSubreddit")))])]),t._v(" "),n("li",[n("a",{attrs:{href:"https://t.me/RemixDevNews",target:"_blank"}},[t._v("📰 "+t._s(t.$t("about.newsChannel")))])])]),t._v(" "),n("h2",[t._v("\n\t\t"+t._s(t.$t("about.titles.bugReports"))+"\n\t\t"),n("span",{staticClass:"subheading"},[t._v("\n\t\t\t"+t._s(t.$t("about.subtitles.bugReports"))+"\n\t\t")])]),t._v(" "),n("ul",[n("li",{domProps:{innerHTML:t._s(t.$t("about.questions"))}}),t._v(" "),n("li",[t._v("\n\t\t\t"+t._s(t.$t("about.beforeReporting"))+"\n\t\t")]),t._v(" "),n("li",{domProps:{innerHTML:t._s(t.$t("about.beSure"))}}),t._v(" "),n("li",[t._v("\n\t\t\t"+t._s(t.$t("about.duplicateReports"))+"\n\t\t")]),t._v(" "),n("li",{domProps:{innerHTML:t._s(t.$t("about.dontOpenIssues"))}})]),t._v(" "),n("h2",[t._v("\n\t\t"+t._s(t.$t("about.titles.contributing"))+"\n\t\t"),n("span",{staticClass:"subheading"},[t._v("\n\t\t\t"+t._s(t.$t("about.subtitles.contributing"))+"\n\t\t")])]),t._v(" "),n("ul",[n("li",{domProps:{innerHTML:t._s(t.$t("about.newUI"))}}),t._v(" "),n("li",[t._v("\n\t\t\t"+t._s(t.$t("about.acceptFeatures"))+"\n\t\t")]),t._v(" "),n("li",{domProps:{innerHTML:t._s(t.$t("about.contributeWebUI"))}}),t._v(" "),n("li",[t._v("\n\t\t\t"+t._s(t.$t("about.otherLanguages"))+"\n\t\t")]),t._v(" "),n("li",[t._v("\n\t\t\t"+t._s(t.$t("about.understandingCode"))+"\n\t\t")])]),t._v(" "),n("h2",[t._v("\n\t\t"+t._s(t.$t("about.titles.donations"))+"\n\t\t"),n("span",{staticClass:"subheading"},[t._v("\n\t\t\t"+t._s(t.$t("about.subtitles.donations"))+"\n\t\t")])]),t._v(" "),n("ul",[n("li",{domProps:{innerHTML:t._s(t.$t("about.itsFree"))}}),t._v(" "),n("li",[t._v("\n\t\t\t"+t._s(t.$t("about.notObligated"))+"\n\t\t")])]),t._v(" "),n("ul",[n("li",[n("i",{domProps:{innerHTML:t._s(t.paypal)}}),t._v(" "),n("strong",[t._v("PayPal:")]),t._v(" "),n("a",{attrs:{href:"https://paypal.me/RemixDev",target:"_blank"}},[t._v("PayPal.me/RemixDev")])]),t._v(" "),n("li",[n("i",{staticClass:"bitcoin",domProps:{innerHTML:t._s(t.bitcoin)}}),t._v(" "),n("strong",[t._v("Bitcoin:")]),t._v(" 1sdNymSJrMBWyHM4u2m9uco5nv6uV4Qs1\n\t\t")]),t._v(" "),n("li",[n("i",{staticClass:"ethereum",domProps:{innerHTML:t._s(t.ethereum)}}),t._v(" "),n("strong",[t._v("Ethereum:")]),t._v(" 0x1d2aa67e671485CD4062289772B662e0A6Ff976c\n\t\t")])]),t._v(" "),n("h2",[t._v(t._s(t.$t("about.titles.license")))]),t._v(" "),t._m(0),t._v(" "),n("p",{domProps:{innerHTML:t._s(t.$t("about.lincensedUnder"))}})])};Qd._withStripped=!0;var Gd=function(t,e,n,a,r,i,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=t.render,l.staticRenderFns=t.staticRenderFns,l._compiled=!0,r&&(l.functional=!0)),l._scopeId=a;{let t;if(e&&(t=function(t){e.call(this,s(t))}),void 0!==t)if(l.functional){const e=l.render;l.render=function(n,a){return t.call(a),e(n,a)}}else{const e=l.beforeCreate;l.beforeCreate=e?[].concat(e,t):[t]}}return l}({render:Qd,staticRenderFns:[function(){var t=this.$createElement,e=this._self._c||t;return e("p",[e("a",{attrs:{rel:"license",href:"https://www.gnu.org/licenses/gpl-3.0.en.html",target:"_blank"}},[e("img",{staticStyle:{"border-width":"0"},attrs:{alt:"GNU General Public License",src:"https://www.gnu.org/graphics/gplv3-127x51.png"}})])])}]},(function(t){t&&t("data-v-3c55d692_0",{source:"@charset \"UTF-8\";\nli[data-v-3c55d692],\np[data-v-3c55d692],\na[data-v-3c55d692] {\n letter-spacing: 0.4px;\n font-size: 20px;\n line-height: 1.2;\n}\ni[data-v-3c55d692] {\n vertical-align: middle;\n}\ni[data-v-3c55d692] svg {\n fill: white;\n width: 20px;\n}\n.bitcoin[data-v-3c55d692] svg {\n fill: #ff9900;\n}\n.ethereum[data-v-3c55d692] svg {\n fill: var(--foreground);\n}\n[data-v-3c55d692]:link {\n text-decoration: none;\n}\n#about_tab[data-v-3c55d692] {\n margin-bottom: 40px;\n}\nh2[data-v-3c55d692] {\n text-transform: capitalize;\n}\nh2[data-v-3c55d692]: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-3c55d692] {\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-3c55d692] {\n margin: 0 !important;\n}\nul li[data-v-3c55d692] {\n margin-bottom: 7px;\n}\nh2 + ul[data-v-3c55d692] {\n margin-top: 1rem;\n}\nul + ul[data-v-3c55d692] {\n margin-top: 1.25rem;\n}\nul.no-dots[data-v-3c55d692] {\n list-style-type: none;\n}\nul[data-v-3c55d692]:not(.no-dots) {\n list-style-type: none;\n}\nul:not(.no-dots) li[data-v-3c55d692] {\n position: relative;\n}\nul:not(.no-dots) li[data-v-3c55d692]::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;AC4GhB;;;EAGA,qBAAA;EACA,eAAA;EACA,gBAAA;AAAA;AAGA;EACA,sBAAA;AAAA;AAGA;EACA,WAAA;EACA,WAAA;AAAA;AAGA;EACA,aAAA;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;;AD/HA,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.bitcoin /deep/ svg {\n fill: #ff9900; }\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})}),Wd,"data-v-3c55d692",!1,0,(function t(){const e=document.head||document.getElementsByTagName("head")[0],n=t.styles||(t.styles={}),a="undefined"!=typeof navigator&&/msie [6-9]\\b/.test(navigator.userAgent.toLowerCase());return function(t,r){if(document.querySelector('style[data-vue-ssr-id~="'+t+'"]'))return;const i=a?r.media||"default":t,s=n[i]||(n[i]={ids:[],parts:[],element:void 0});if(!s.ids.includes(t)){let n=r.source,o=s.ids.length;if(s.ids.push(t),a&&(s.element=s.element||document.querySelector("style[data-group="+i+"]")),!s.element){const t=s.element=document.createElement("style");t.type="text/css",r.media&&t.setAttribute("media",r.media),a&&(t.setAttribute("data-group",i),t.setAttribute("data-next-index","0")),e.appendChild(t)}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 t=document.createTextNode(n),e=s.element.childNodes;e[o]&&s.element.removeChild(e[o]),e.length?s.element.insertBefore(t,e[o]):s.element.appendChild(t)}}}})),Kd={it:'<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 3 2">\n<rect width="1" height="2" fill="#009246"/>\n<rect width="1" height="2" x="1" fill="#fff"/>\n<rect width="1" height="2" x="2" fill="#ce2b37"/>\n</svg>',en:'<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 60 30">\n<clipPath id="t">\n<path d="M30,15 h30 v15 z v15 h-30 z h-30 v-15 z v-15 h30 z"/>\n</clipPath>\n<path d="M0,0 v30 h60 v-30 z" fill="#00247d"/>\n<path d="M0,0 L60,30 M60,0 L0,30" stroke="#fff" stroke-width="6"/>\n<path d="M0,0 L60,30 M60,0 L0,30" clip-path="url(#t)" stroke="#cf142b" stroke-width="4"/>\n<path d="M30,0 v30 M0,15 h60" stroke="#fff" stroke-width="10"/>\n<path d="M30,0 v30 M0,15 h60" stroke="#cf142b" stroke-width="6"/>\n</svg>'};const Yd={name:"the-settings-tab",data:()=>({flags:Kd,currentLocale:"en",locales:[],settings:{tags:{}},lastSettings:{},spotifyFeatures:{},lastCredentials:{},defaultSettings:{},lastUser:"",spotifyUser:"",slimDownloads:!1,previewVolume:window.vol,accountNum:0,accounts:[]}),beforeDestroy(){console.log("settings bef dest"),this.$refs.root.style.display="none"},mounted(){console.log("settings mounted"),this.$refs.root.style.display="block",this.locales=this.$i18n.availableLocales,eo.$on("settingsTab:revertSettings",this.revertSettings),eo.$on("settingsTab:revertCredentials",this.revertCredentials),this.$refs.loggedInInfo.classList.add("hide");let t=localStorage.getItem("locale");t&&(this.$i18n.locale=t,this.currentLocale=t);let e=localStorage.getItem("arl");e&&(this.$refs.loginInput.value=e.trim());let n=localStorage.getItem("accountNum");n&&(this.accountNum=n);let a=localStorage.getItem("spotifyUser");a&&(this.lastUser=a,this.spotifyUser=a,to.emit("update_userSpotifyPlaylists",a)),this.changeSlimDownloads="true"===localStorage.getItem("slimDownloads");let r=parseInt(localStorage.getItem("previewVolume"));isNaN(r)&&(r=80,localStorage.setItem("previewVolume",r)),window.vol.preview_max_volume=r,to.on("init_settings",this.initSettings),to.on("updateSettings",this.updateSettings),to.on("accountChanged",this.accountChanged),to.on("familyAccounts",this.initAccounts)},computed:{changeSlimDownloads:{get(){return this.slimDownloads},set(t){this.slimDownloads=t,document.getElementById("download_list").classList.toggle("slim",t),localStorage.setItem("slimDownloads",t)}}},methods:{revertSettings(){this.settings={...this.lastSettings}},revertCredentials(){this.spotifyCredentials={...this.lastCredentials},this.spotifyUser=(" "+this.lastUser).slice(1)},copyARLtoClipboard(){let t=this.$refs.loginInput;t.setAttribute("type","text"),t.select(),t.setSelectionRange(0,99999),document.execCommand("copy"),t.setAttribute("type","password"),Rd(this.$t("settings.toasts.ARLcopied"),"assignment")},changeLocale(t){this.$i18n.locale=t,this.currentLocale=t,localStorage.setItem("locale",t)},updateMaxVolume(){localStorage.setItem("previewVolume",this.previewVolume.preview_max_volume)},saveSettings(){this.lastSettings={...this.settings},this.lastCredentials={...this.spotifyFeatures};let t=!1;this.lastUser!=this.spotifyUser&&(this.lastUser=(" "+this.spotifyUser).slice(1),localStorage.setItem("spotifyUser",this.lastUser),t=!0),to.emit("saveSettings",this.lastSettings,this.lastCredentials,!!t&&this.lastUser)},loadSettings(t,e,n=null){n&&(this.defaultSettings={...n}),this.lastSettings={...t},this.lastCredentials={...e},this.settings=t,this.spotifyFeatures=e},login(){let t=this.$refs.loginInput.value.trim();""!=t&&t!=localStorage.getItem("arl")&&to.emit("login",t,!0,this.accountNum)},changeAccount(){to.emit("changeAccount",this.accountNum)},accountChanged(t,e){this.$refs.username.innerText=t.name,this.$refs.userpicture.src=`https://e-cdns-images.dzcdn.net/images/user/${t.picture}/125x125-000000-80-0-0.jpg`,this.accountNum=e,localStorage.setItem("accountNum",this.accountNum)},initAccounts(t){this.accounts=t},logout(){to.emit("logout")},initSettings(t,e,n){this.loadSettings(t,e,n),Rd(this.$t("settings.toasts.init"),"settings")},updateSettings(t,e){this.loadSettings(t,e),Rd(this.$t("settings.toasts.update"),"settings")},resetSettings(){this.settings={...this.defaultSettings}}}};var Jd=function(){var t=this,e=t.$createElement,n=t._self._c||e;return n("div",{ref:"root",staticClass:"main_tabcontent fixed_footer",attrs:{id:"settings_tab"}},[n("h2",{staticClass:"page_heading"},[t._v(t._s(t.$t("settings.title")))]),t._v(" "),n("div",{ref:"loggedInInfo",attrs:{id:"logged_in_info"}},[n("img",{ref:"userpicture",staticClass:"circle",attrs:{id:"settings_picture",src:"",alt:"Profile Picture"}}),t._v(" "),n("i18n",{attrs:{path:"settings.login.loggedIn",tag:"p"}},[n("strong",{ref:"username",attrs:{place:"username",id:"settings_username"}})]),t._v(" "),n("button",{attrs:{id:"settings_btn_logout"},on:{click:t.logout}},[t._v(t._s(t.$t("settings.login.logout")))]),t._v(" "),t.accounts.length?n("select",{directives:[{name:"model",rawName:"v-model",value:t.accountNum,expression:"accountNum"}],attrs:{id:"family_account"},on:{change:[function(e){var n=Array.prototype.filter.call(e.target.options,(function(t){return t.selected})).map((function(t){return"_value"in t?t._value:t.value}));t.accountNum=e.target.multiple?n:n[0]},t.changeAccount]}},t._l(t.accounts,(function(e,a){return n("option",{domProps:{value:a.toString()}},[t._v(t._s(e.BLOG_NAME))])})),0):t._e()],1),t._v(" "),n("div",{staticClass:"settings-group"},[n("h3",{staticClass:"settings-group__header settings-group__header--with-icon"},[n("i",{staticClass:"material-icons"},[t._v("person")]),t._v(t._s(t.$t("settings.login.title"))+"\n\t\t")]),t._v(" "),n("div",{staticClass:"inline-flex"},[n("input",{ref:"loginInput",attrs:{autocomplete:"off",type:"password",id:"login_input_arl",placeholder:"ARL"}}),t._v(" "),n("button",{attrs:{id:"settings_btn_copyArl"},on:{click:t.copyARLtoClipboard}},[n("i",{staticClass:"material-icons"},[t._v("assignment")])])]),t._v(" "),n("a",{attrs:{href:"https://codeberg.org/RemixDev/deemix/wiki/Getting-your-own-ARL",target:"_blank"}},[t._v("\n\t\t\t"+t._s(t.$t("settings.login.arl.question"))+"\n\t\t")]),t._v(" "),n("button",{staticStyle:{width:"100%"},attrs:{id:"settings_btn_updateArl"},on:{click:t.login}},[t._v("\n\t\t\t"+t._s(t.$t("settings.login.arl.update"))+"\n\t\t")])]),t._v(" "),n("div",{staticClass:"settings-group"},[n("h3",{staticClass:"settings-group__header settings-group__header--with-icon"},[n("i",{staticClass:"material-icons"},[t._v("language")]),t._v(t._s(t.$t("settings.languages"))+"\n\t\t")]),t._v(" "),n("div",t._l(t.locales,(function(e){return n("span",{key:e,staticClass:"locale-flag",class:{"locale-flag--current":t.currentLocale===e},domProps:{innerHTML:t._s(t.flags[e])},on:{click:function(n){return t.changeLocale(e)}}})})),0)]),t._v(" "),n("div",{staticClass:"settings-group"},[n("h3",{staticClass:"settings-group__header settings-group__header--with-icon"},[n("i",{staticClass:"material-icons"},[t._v("web")]),t._v(t._s(t.$t("settings.appearance.title"))+"\n\t\t")]),t._v(" "),n("label",{staticClass:"with_checkbox"},[n("input",{directives:[{name:"model",rawName:"v-model",value:t.changeSlimDownloads,expression:"changeSlimDownloads"}],attrs:{type:"checkbox"},domProps:{checked:Array.isArray(t.changeSlimDownloads)?t._i(t.changeSlimDownloads,null)>-1:t.changeSlimDownloads},on:{change:function(e){var n=t.changeSlimDownloads,a=e.target,r=!!a.checked;if(Array.isArray(n)){var i=t._i(n,null);a.checked?i<0&&(t.changeSlimDownloads=n.concat([null])):i>-1&&(t.changeSlimDownloads=n.slice(0,i).concat(n.slice(i+1)))}else t.changeSlimDownloads=r}}}),t._v(" "),n("span",{staticClass:"checkbox_text"},[t._v(t._s(t.$t("settings.appearance.slimDownloadTab")))])])]),t._v(" "),n("div",{staticClass:"settings-group"},[n("h3",{staticClass:"settings-group__header settings-group__header--with-icon"},[n("i",{staticClass:"material-icons"},[t._v("folder")]),t._v(t._s(t.$t("settings.downloadPath.title"))+"\n\t\t")]),t._v(" "),n("input",{directives:[{name:"model",rawName:"v-model",value:t.settings.downloadLocation,expression:"settings.downloadLocation"}],attrs:{type:"text"},domProps:{value:t.settings.downloadLocation},on:{input:function(e){e.target.composing||t.$set(t.settings,"downloadLocation",e.target.value)}}})]),t._v(" "),n("div",{staticClass:"settings-group"},[n("h3",{staticClass:"settings-group__header settings-group__header--with-icon"},[n("i",{staticClass:"material-icons"},[t._v("font_download")]),t._v(t._s(t.$t("settings.templates.title"))+"\n\t\t")]),t._v(" "),n("p",[t._v(t._s(t.$t("settings.templates.tracknameTemplate")))]),t._v(" "),n("input",{directives:[{name:"model",rawName:"v-model",value:t.settings.tracknameTemplate,expression:"settings.tracknameTemplate"}],attrs:{type:"text"},domProps:{value:t.settings.tracknameTemplate},on:{input:function(e){e.target.composing||t.$set(t.settings,"tracknameTemplate",e.target.value)}}}),t._v(" "),n("p",[t._v(t._s(t.$t("settings.templates.albumTracknameTemplate")))]),t._v(" "),n("input",{directives:[{name:"model",rawName:"v-model",value:t.settings.albumTracknameTemplate,expression:"settings.albumTracknameTemplate"}],attrs:{type:"text"},domProps:{value:t.settings.albumTracknameTemplate},on:{input:function(e){e.target.composing||t.$set(t.settings,"albumTracknameTemplate",e.target.value)}}}),t._v(" "),n("p",[t._v(t._s(t.$t("settings.templates.playlistTracknameTemplate")))]),t._v(" "),n("input",{directives:[{name:"model",rawName:"v-model",value:t.settings.playlistTracknameTemplate,expression:"settings.playlistTracknameTemplate"}],attrs:{type:"text"},domProps:{value:t.settings.playlistTracknameTemplate},on:{input:function(e){e.target.composing||t.$set(t.settings,"playlistTracknameTemplate",e.target.value)}}})]),t._v(" "),n("div",{staticClass:"settings-group"},[n("h3",{staticClass:"settings-group__header settings-group__header--with-icon"},[n("i",{staticClass:"material-icons"},[t._v("create_new_folder")]),t._v(t._s(t.$t("settings.folders.title"))+"\n\t\t")]),t._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:t.settings.createPlaylistFolder,expression:"settings.createPlaylistFolder"}],attrs:{type:"checkbox"},domProps:{checked:Array.isArray(t.settings.createPlaylistFolder)?t._i(t.settings.createPlaylistFolder,null)>-1:t.settings.createPlaylistFolder},on:{change:function(e){var n=t.settings.createPlaylistFolder,a=e.target,r=!!a.checked;if(Array.isArray(n)){var i=t._i(n,null);a.checked?i<0&&t.$set(t.settings,"createPlaylistFolder",n.concat([null])):i>-1&&t.$set(t.settings,"createPlaylistFolder",n.slice(0,i).concat(n.slice(i+1)))}else t.$set(t.settings,"createPlaylistFolder",r)}}}),t._v(" "),n("span",{staticClass:"checkbox_text"},[t._v(t._s(t.$t("settings.folders.createPlaylistFolder")))])]),t._v(" "),t.settings.createPlaylistFolder?n("div",{staticClass:"input_group"},[n("p",{staticClass:"input_group_text"},[t._v(t._s(t.$t("settings.folders.playlistNameTemplate")))]),t._v(" "),n("input",{directives:[{name:"model",rawName:"v-model",value:t.settings.playlistNameTemplate,expression:"settings.playlistNameTemplate"}],attrs:{type:"text"},domProps:{value:t.settings.playlistNameTemplate},on:{input:function(e){e.target.composing||t.$set(t.settings,"playlistNameTemplate",e.target.value)}}})]):t._e()]),t._v(" "),n("div",{staticClass:"settings-container__third"},[n("label",{staticClass:"with_checkbox"},[n("input",{directives:[{name:"model",rawName:"v-model",value:t.settings.createArtistFolder,expression:"settings.createArtistFolder"}],attrs:{type:"checkbox"},domProps:{checked:Array.isArray(t.settings.createArtistFolder)?t._i(t.settings.createArtistFolder,null)>-1:t.settings.createArtistFolder},on:{change:function(e){var n=t.settings.createArtistFolder,a=e.target,r=!!a.checked;if(Array.isArray(n)){var i=t._i(n,null);a.checked?i<0&&t.$set(t.settings,"createArtistFolder",n.concat([null])):i>-1&&t.$set(t.settings,"createArtistFolder",n.slice(0,i).concat(n.slice(i+1)))}else t.$set(t.settings,"createArtistFolder",r)}}}),t._v(" "),n("span",{staticClass:"checkbox_text"},[t._v(t._s(t.$t("settings.folders.createArtistFolder")))])]),t._v(" "),t.settings.createArtistFolder?n("div",{staticClass:"input_group"},[n("p",{staticClass:"input_group_text"},[t._v(t._s(t.$t("settings.folders.artistNameTemplate")))]),t._v(" "),n("input",{directives:[{name:"model",rawName:"v-model",value:t.settings.artistNameTemplate,expression:"settings.artistNameTemplate"}],attrs:{type:"text"},domProps:{value:t.settings.artistNameTemplate},on:{input:function(e){e.target.composing||t.$set(t.settings,"artistNameTemplate",e.target.value)}}})]):t._e()]),t._v(" "),n("div",{staticClass:"settings-container__third"},[n("label",{staticClass:"with_checkbox"},[n("input",{directives:[{name:"model",rawName:"v-model",value:t.settings.createAlbumFolder,expression:"settings.createAlbumFolder"}],attrs:{type:"checkbox"},domProps:{checked:Array.isArray(t.settings.createAlbumFolder)?t._i(t.settings.createAlbumFolder,null)>-1:t.settings.createAlbumFolder},on:{change:function(e){var n=t.settings.createAlbumFolder,a=e.target,r=!!a.checked;if(Array.isArray(n)){var i=t._i(n,null);a.checked?i<0&&t.$set(t.settings,"createAlbumFolder",n.concat([null])):i>-1&&t.$set(t.settings,"createAlbumFolder",n.slice(0,i).concat(n.slice(i+1)))}else t.$set(t.settings,"createAlbumFolder",r)}}}),t._v(" "),n("span",{staticClass:"checkbox_text"},[t._v(t._s(t.$t("settings.folders.createAlbumFolder")))])]),t._v(" "),t.settings.createAlbumFolder?n("div",{staticClass:"input_group"},[n("p",{staticClass:"input_group_text"},[t._v(t._s(t.$t("settings.folders.albumNameTemplate")))]),t._v(" "),n("input",{directives:[{name:"model",rawName:"v-model",value:t.settings.albumNameTemplate,expression:"settings.albumNameTemplate"}],attrs:{type:"text"},domProps:{value:t.settings.albumNameTemplate},on:{input:function(e){e.target.composing||t.$set(t.settings,"albumNameTemplate",e.target.value)}}})]):t._e()])]),t._v(" "),n("label",{staticClass:"with_checkbox"},[n("input",{directives:[{name:"model",rawName:"v-model",value:t.settings.createCDFolder,expression:"settings.createCDFolder"}],attrs:{type:"checkbox"},domProps:{checked:Array.isArray(t.settings.createCDFolder)?t._i(t.settings.createCDFolder,null)>-1:t.settings.createCDFolder},on:{change:function(e){var n=t.settings.createCDFolder,a=e.target,r=!!a.checked;if(Array.isArray(n)){var i=t._i(n,null);a.checked?i<0&&t.$set(t.settings,"createCDFolder",n.concat([null])):i>-1&&t.$set(t.settings,"createCDFolder",n.slice(0,i).concat(n.slice(i+1)))}else t.$set(t.settings,"createCDFolder",r)}}}),t._v(" "),n("span",{staticClass:"checkbox_text"},[t._v(t._s(t.$t("settings.folders.createCDFolder")))])]),t._v(" "),n("label",{staticClass:"with_checkbox"},[n("input",{directives:[{name:"model",rawName:"v-model",value:t.settings.createStructurePlaylist,expression:"settings.createStructurePlaylist"}],attrs:{type:"checkbox"},domProps:{checked:Array.isArray(t.settings.createStructurePlaylist)?t._i(t.settings.createStructurePlaylist,null)>-1:t.settings.createStructurePlaylist},on:{change:function(e){var n=t.settings.createStructurePlaylist,a=e.target,r=!!a.checked;if(Array.isArray(n)){var i=t._i(n,null);a.checked?i<0&&t.$set(t.settings,"createStructurePlaylist",n.concat([null])):i>-1&&t.$set(t.settings,"createStructurePlaylist",n.slice(0,i).concat(n.slice(i+1)))}else t.$set(t.settings,"createStructurePlaylist",r)}}}),t._v(" "),n("span",{staticClass:"checkbox_text"},[t._v(t._s(t.$t("settings.folders.createStructurePlaylist")))])]),t._v(" "),n("label",{staticClass:"with_checkbox"},[n("input",{directives:[{name:"model",rawName:"v-model",value:t.settings.createSingleFolder,expression:"settings.createSingleFolder"}],attrs:{type:"checkbox"},domProps:{checked:Array.isArray(t.settings.createSingleFolder)?t._i(t.settings.createSingleFolder,null)>-1:t.settings.createSingleFolder},on:{change:function(e){var n=t.settings.createSingleFolder,a=e.target,r=!!a.checked;if(Array.isArray(n)){var i=t._i(n,null);a.checked?i<0&&t.$set(t.settings,"createSingleFolder",n.concat([null])):i>-1&&t.$set(t.settings,"createSingleFolder",n.slice(0,i).concat(n.slice(i+1)))}else t.$set(t.settings,"createSingleFolder",r)}}}),t._v(" "),n("span",{staticClass:"checkbox_text"},[t._v(t._s(t.$t("settings.folders.createSingleFolder")))])])]),t._v(" "),n("div",{staticClass:"settings-group"},[n("h3",{staticClass:"settings-group__header settings-group__header--with-icon"},[n("i",{staticClass:"material-icons"},[t._v("title")]),t._v(t._s(t.$t("settings.trackTitles.title"))+"\n\t\t")]),t._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:t.settings.padTracks,expression:"settings.padTracks"}],attrs:{type:"checkbox"},domProps:{checked:Array.isArray(t.settings.padTracks)?t._i(t.settings.padTracks,null)>-1:t.settings.padTracks},on:{change:function(e){var n=t.settings.padTracks,a=e.target,r=!!a.checked;if(Array.isArray(n)){var i=t._i(n,null);a.checked?i<0&&t.$set(t.settings,"padTracks",n.concat([null])):i>-1&&t.$set(t.settings,"padTracks",n.slice(0,i).concat(n.slice(i+1)))}else t.$set(t.settings,"padTracks",r)}}}),t._v(" "),n("span",{staticClass:"checkbox_text"},[t._v(t._s(t.$t("settings.trackTitles.padTracks")))])])]),t._v(" "),n("div",{staticClass:"settings-container__third"},[n("div",{staticClass:"input_group"},[n("p",{staticClass:"input_group_text"},[t._v(t._s(t.$t("settings.trackTitles.paddingSize")))]),t._v(" "),n("input",{directives:[{name:"model",rawName:"v-model",value:t.settings.paddingSize,expression:"settings.paddingSize"}],attrs:{max:"10",type:"number"},domProps:{value:t.settings.paddingSize},on:{input:function(e){e.target.composing||t.$set(t.settings,"paddingSize",e.target.value)}}})])]),t._v(" "),n("div",{staticClass:"settings-container__third"},[n("div",{staticClass:"input_group"},[n("p",{staticClass:"input_group_text"},[t._v(t._s(t.$t("settings.trackTitles.illegalCharacterReplacer")))]),t._v(" "),n("input",{directives:[{name:"model",rawName:"v-model",value:t.settings.illegalCharacterReplacer,expression:"settings.illegalCharacterReplacer"}],attrs:{type:"text"},domProps:{value:t.settings.illegalCharacterReplacer},on:{input:function(e){e.target.composing||t.$set(t.settings,"illegalCharacterReplacer",e.target.value)}}})])])])]),t._v(" "),n("div",{staticClass:"settings-group"},[n("h3",{staticClass:"settings-group__header settings-group__header--with-icon"},[n("i",{staticClass:"material-icons"},[t._v("get_app")]),t._v(t._s(t.$t("settings.downloads.title"))+"\n\t\t")]),t._v(" "),n("div",{staticClass:"input_group"},[n("p",{staticClass:"input_group_text"},[t._v(t._s(t.$t("settings.downloads.queueConcurrency")))]),t._v(" "),n("input",{directives:[{name:"model",rawName:"v-model.number",value:t.settings.queueConcurrency,expression:"settings.queueConcurrency",modifiers:{number:!0}}],attrs:{type:"number"},domProps:{value:t.settings.queueConcurrency},on:{input:function(e){e.target.composing||t.$set(t.settings,"queueConcurrency",t._n(e.target.value))},blur:function(e){return t.$forceUpdate()}}})]),t._v(" "),n("div",{staticClass:"input_group"},[n("p",{staticClass:"input_group_text"},[t._v(t._s(t.$t("settings.downloads.maxBitrate.title")))]),t._v(" "),n("select",{directives:[{name:"model",rawName:"v-model",value:t.settings.maxBitrate,expression:"settings.maxBitrate"}],on:{change:function(e){var n=Array.prototype.filter.call(e.target.options,(function(t){return t.selected})).map((function(t){return"_value"in t?t._value:t.value}));t.$set(t.settings,"maxBitrate",e.target.multiple?n:n[0])}}},[n("option",{attrs:{value:"9"}},[t._v(t._s(t.$t("settings.downloads.maxBitrate.9")))]),t._v(" "),n("option",{attrs:{value:"3"}},[t._v(t._s(t.$t("settings.downloads.maxBitrate.3")))]),t._v(" "),n("option",{attrs:{value:"1"}},[t._v(t._s(t.$t("settings.downloads.maxBitrate.1")))])])]),t._v(" "),n("div",{staticClass:"input_group"},[n("p",{staticClass:"input_group_text"},[t._v(t._s(t.$t("settings.downloads.overwriteFile.title")))]),t._v(" "),n("select",{directives:[{name:"model",rawName:"v-model",value:t.settings.overwriteFile,expression:"settings.overwriteFile"}],on:{change:function(e){var n=Array.prototype.filter.call(e.target.options,(function(t){return t.selected})).map((function(t){return"_value"in t?t._value:t.value}));t.$set(t.settings,"overwriteFile",e.target.multiple?n:n[0])}}},[n("option",{attrs:{value:"y"}},[t._v(t._s(t.$t("settings.downloads.overwriteFile.y")))]),t._v(" "),n("option",{attrs:{value:"n"}},[t._v(t._s(t.$t("settings.downloads.overwriteFile.n")))]),t._v(" "),n("option",{attrs:{value:"t"}},[t._v(t._s(t.$t("settings.downloads.overwriteFile.t")))])])]),t._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:t.settings.fallbackBitrate,expression:"settings.fallbackBitrate"}],attrs:{type:"checkbox"},domProps:{checked:Array.isArray(t.settings.fallbackBitrate)?t._i(t.settings.fallbackBitrate,null)>-1:t.settings.fallbackBitrate},on:{change:function(e){var n=t.settings.fallbackBitrate,a=e.target,r=!!a.checked;if(Array.isArray(n)){var i=t._i(n,null);a.checked?i<0&&t.$set(t.settings,"fallbackBitrate",n.concat([null])):i>-1&&t.$set(t.settings,"fallbackBitrate",n.slice(0,i).concat(n.slice(i+1)))}else t.$set(t.settings,"fallbackBitrate",r)}}}),t._v(" "),n("span",{staticClass:"checkbox_text"},[t._v(t._s(t.$t("settings.downloads.fallbackBitrate")))])]),t._v(" "),n("label",{staticClass:"with_checkbox"},[n("input",{directives:[{name:"model",rawName:"v-model",value:t.settings.fallbackSearch,expression:"settings.fallbackSearch"}],attrs:{type:"checkbox"},domProps:{checked:Array.isArray(t.settings.fallbackSearch)?t._i(t.settings.fallbackSearch,null)>-1:t.settings.fallbackSearch},on:{change:function(e){var n=t.settings.fallbackSearch,a=e.target,r=!!a.checked;if(Array.isArray(n)){var i=t._i(n,null);a.checked?i<0&&t.$set(t.settings,"fallbackSearch",n.concat([null])):i>-1&&t.$set(t.settings,"fallbackSearch",n.slice(0,i).concat(n.slice(i+1)))}else t.$set(t.settings,"fallbackSearch",r)}}}),t._v(" "),n("span",{staticClass:"checkbox_text"},[t._v(t._s(t.$t("settings.downloads.fallbackSearch")))])])]),t._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:t.settings.logErrors,expression:"settings.logErrors"}],attrs:{type:"checkbox"},domProps:{checked:Array.isArray(t.settings.logErrors)?t._i(t.settings.logErrors,null)>-1:t.settings.logErrors},on:{change:function(e){var n=t.settings.logErrors,a=e.target,r=!!a.checked;if(Array.isArray(n)){var i=t._i(n,null);a.checked?i<0&&t.$set(t.settings,"logErrors",n.concat([null])):i>-1&&t.$set(t.settings,"logErrors",n.slice(0,i).concat(n.slice(i+1)))}else t.$set(t.settings,"logErrors",r)}}}),t._v(" "),n("span",{staticClass:"checkbox_text"},[t._v(t._s(t.$t("settings.downloads.logErrors")))])]),t._v(" "),n("label",{staticClass:"with_checkbox"},[n("input",{directives:[{name:"model",rawName:"v-model",value:t.settings.logSearched,expression:"settings.logSearched"}],attrs:{type:"checkbox"},domProps:{checked:Array.isArray(t.settings.logSearched)?t._i(t.settings.logSearched,null)>-1:t.settings.logSearched},on:{change:function(e){var n=t.settings.logSearched,a=e.target,r=!!a.checked;if(Array.isArray(n)){var i=t._i(n,null);a.checked?i<0&&t.$set(t.settings,"logSearched",n.concat([null])):i>-1&&t.$set(t.settings,"logSearched",n.slice(0,i).concat(n.slice(i+1)))}else t.$set(t.settings,"logSearched",r)}}}),t._v(" "),n("span",{staticClass:"checkbox_text"},[t._v(t._s(t.$t("settings.downloads.logSearched")))])])]),t._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:t.settings.syncedLyrics,expression:"settings.syncedLyrics"}],attrs:{type:"checkbox"},domProps:{checked:Array.isArray(t.settings.syncedLyrics)?t._i(t.settings.syncedLyrics,null)>-1:t.settings.syncedLyrics},on:{change:function(e){var n=t.settings.syncedLyrics,a=e.target,r=!!a.checked;if(Array.isArray(n)){var i=t._i(n,null);a.checked?i<0&&t.$set(t.settings,"syncedLyrics",n.concat([null])):i>-1&&t.$set(t.settings,"syncedLyrics",n.slice(0,i).concat(n.slice(i+1)))}else t.$set(t.settings,"syncedLyrics",r)}}}),t._v(" "),n("span",{staticClass:"checkbox_text"},[t._v(t._s(t.$t("settings.downloads.syncedLyrics")))])]),t._v(" "),n("label",{staticClass:"with_checkbox"},[n("input",{directives:[{name:"model",rawName:"v-model",value:t.settings.createM3U8File,expression:"settings.createM3U8File"}],attrs:{type:"checkbox"},domProps:{checked:Array.isArray(t.settings.createM3U8File)?t._i(t.settings.createM3U8File,null)>-1:t.settings.createM3U8File},on:{change:function(e){var n=t.settings.createM3U8File,a=e.target,r=!!a.checked;if(Array.isArray(n)){var i=t._i(n,null);a.checked?i<0&&t.$set(t.settings,"createM3U8File",n.concat([null])):i>-1&&t.$set(t.settings,"createM3U8File",n.slice(0,i).concat(n.slice(i+1)))}else t.$set(t.settings,"createM3U8File",r)}}}),t._v(" "),n("span",{staticClass:"checkbox_text"},[t._v(t._s(t.$t("settings.downloads.createM3U8File")))])])])]),t._v(" "),t.settings.createM3U8File?n("div",{staticClass:"input_group"},[n("p",{staticClass:"input_group_text"},[t._v(t._s(t.$t("settings.downloads.playlistFilenameTemplate")))]),t._v(" "),n("input",{directives:[{name:"model",rawName:"v-model",value:t.settings.playlistFilenameTemplate,expression:"settings.playlistFilenameTemplate"}],attrs:{type:"text"},domProps:{value:t.settings.playlistFilenameTemplate},on:{input:function(e){e.target.composing||t.$set(t.settings,"playlistFilenameTemplate",e.target.value)}}})]):t._e(),t._v(" "),n("label",{staticClass:"with_checkbox"},[n("input",{directives:[{name:"model",rawName:"v-model",value:t.settings.saveDownloadQueue,expression:"settings.saveDownloadQueue"}],attrs:{type:"checkbox"},domProps:{checked:Array.isArray(t.settings.saveDownloadQueue)?t._i(t.settings.saveDownloadQueue,null)>-1:t.settings.saveDownloadQueue},on:{change:function(e){var n=t.settings.saveDownloadQueue,a=e.target,r=!!a.checked;if(Array.isArray(n)){var i=t._i(n,null);a.checked?i<0&&t.$set(t.settings,"saveDownloadQueue",n.concat([null])):i>-1&&t.$set(t.settings,"saveDownloadQueue",n.slice(0,i).concat(n.slice(i+1)))}else t.$set(t.settings,"saveDownloadQueue",r)}}}),t._v(" "),n("span",{staticClass:"checkbox_text"},[t._v(t._s(t.$t("settings.downloads.saveDownloadQueue")))])])]),t._v(" "),n("div",{staticClass:"settings-group"},[n("h3",{staticClass:"settings-group__header settings-group__header--with-icon"},[n("i",{staticClass:"material-icons"},[t._v("album")]),t._v(t._s(t.$t("settings.covers.title"))+"\n\t\t")]),t._v(" "),n("label",{staticClass:"with_checkbox"},[n("input",{directives:[{name:"model",rawName:"v-model",value:t.settings.saveArtwork,expression:"settings.saveArtwork"}],attrs:{type:"checkbox"},domProps:{checked:Array.isArray(t.settings.saveArtwork)?t._i(t.settings.saveArtwork,null)>-1:t.settings.saveArtwork},on:{change:function(e){var n=t.settings.saveArtwork,a=e.target,r=!!a.checked;if(Array.isArray(n)){var i=t._i(n,null);a.checked?i<0&&t.$set(t.settings,"saveArtwork",n.concat([null])):i>-1&&t.$set(t.settings,"saveArtwork",n.slice(0,i).concat(n.slice(i+1)))}else t.$set(t.settings,"saveArtwork",r)}}}),t._v(" "),n("span",{staticClass:"checkbox_text"},[t._v(t._s(t.$t("settings.covers.saveArtwork")))])]),t._v(" "),t.settings.saveArtwork?n("div",{staticClass:"input_group"},[n("p",{staticClass:"input_group_text"},[t._v(t._s(t.$t("settings.covers.coverImageTemplate")))]),t._v(" "),n("input",{directives:[{name:"model",rawName:"v-model",value:t.settings.coverImageTemplate,expression:"settings.coverImageTemplate"}],attrs:{type:"text"},domProps:{value:t.settings.coverImageTemplate},on:{input:function(e){e.target.composing||t.$set(t.settings,"coverImageTemplate",e.target.value)}}})]):t._e(),t._v(" "),n("label",{staticClass:"with_checkbox"},[n("input",{directives:[{name:"model",rawName:"v-model",value:t.settings.saveArtworkArtist,expression:"settings.saveArtworkArtist"}],attrs:{type:"checkbox"},domProps:{checked:Array.isArray(t.settings.saveArtworkArtist)?t._i(t.settings.saveArtworkArtist,null)>-1:t.settings.saveArtworkArtist},on:{change:function(e){var n=t.settings.saveArtworkArtist,a=e.target,r=!!a.checked;if(Array.isArray(n)){var i=t._i(n,null);a.checked?i<0&&t.$set(t.settings,"saveArtworkArtist",n.concat([null])):i>-1&&t.$set(t.settings,"saveArtworkArtist",n.slice(0,i).concat(n.slice(i+1)))}else t.$set(t.settings,"saveArtworkArtist",r)}}}),t._v(" "),n("span",{staticClass:"checkbox_text"},[t._v(t._s(t.$t("settings.covers.saveArtworkArtist")))])]),t._v(" "),t.settings.saveArtworkArtist?n("div",{staticClass:"input_group"},[n("p",{staticClass:"input_group_text"},[t._v(t._s(t.$t("settings.covers.artistImageTemplate")))]),t._v(" "),n("input",{directives:[{name:"model",rawName:"v-model",value:t.settings.artistImageTemplate,expression:"settings.artistImageTemplate"}],attrs:{type:"text"},domProps:{value:t.settings.artistImageTemplate},on:{input:function(e){e.target.composing||t.$set(t.settings,"artistImageTemplate",e.target.value)}}})]):t._e(),t._v(" "),n("div",{staticClass:"input_group"},[n("p",{staticClass:"input_group_text"},[t._v(t._s(t.$t("settings.covers.localArtworkSize")))]),t._v(" "),n("input",{directives:[{name:"model",rawName:"v-model.number",value:t.settings.localArtworkSize,expression:"settings.localArtworkSize",modifiers:{number:!0}}],attrs:{type:"number",min:"100",max:"1800",step:"100"},domProps:{value:t.settings.localArtworkSize},on:{input:function(e){e.target.composing||t.$set(t.settings,"localArtworkSize",t._n(e.target.value))},blur:function(e){return t.$forceUpdate()}}})]),t._v(" "),n("div",{staticClass:"input_group"},[n("p",{staticClass:"input_group_text"},[t._v(t._s(t.$t("settings.covers.embeddedArtworkSize")))]),t._v(" "),n("input",{directives:[{name:"model",rawName:"v-model.number",value:t.settings.embeddedArtworkSize,expression:"settings.embeddedArtworkSize",modifiers:{number:!0}}],attrs:{type:"number",min:"100",max:"1800",step:"100"},domProps:{value:t.settings.embeddedArtworkSize},on:{input:function(e){e.target.composing||t.$set(t.settings,"embeddedArtworkSize",t._n(e.target.value))},blur:function(e){return t.$forceUpdate()}}})]),t._v(" "),n("div",{staticClass:"input_group"},[n("p",{staticClass:"input_group_text"},[t._v(t._s(t.$t("settings.covers.localArtworkFormat.title")))]),t._v(" "),n("select",{directives:[{name:"model",rawName:"v-model",value:t.settings.localArtworkFormat,expression:"settings.localArtworkFormat"}],on:{change:function(e){var n=Array.prototype.filter.call(e.target.options,(function(t){return t.selected})).map((function(t){return"_value"in t?t._value:t.value}));t.$set(t.settings,"localArtworkFormat",e.target.multiple?n:n[0])}}},[n("option",{attrs:{value:"jpg"}},[t._v(t._s(t.$t("settings.covers.localArtworkFormat.jpg")))]),t._v(" "),n("option",{attrs:{value:"png"}},[t._v(t._s(t.$t("settings.covers.localArtworkFormat.png")))]),t._v(" "),n("option",{attrs:{value:"jpg,png"}},[t._v(t._s(t.$t("settings.covers.localArtworkFormat.both")))])])]),t._v(" "),n("div",{staticClass:"input_group"},[n("p",{staticClass:"input_group_text"},[t._v(t._s(t.$t("settings.covers.jpegImageQuality")))]),t._v(" "),n("input",{directives:[{name:"model",rawName:"v-model.number",value:t.settings.jpegImageQuality,expression:"settings.jpegImageQuality",modifiers:{number:!0}}],attrs:{type:"number",min:"1",max:"100"},domProps:{value:t.settings.jpegImageQuality},on:{input:function(e){e.target.composing||t.$set(t.settings,"jpegImageQuality",t._n(e.target.value))},blur:function(e){return t.$forceUpdate()}}})])]),t._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"}},[t._v("bookmarks")]),t._v(t._s(t.$t("settings.tags.head"))+"\n\t\t")]),t._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:t.settings.tags.title,expression:"settings.tags.title"}],attrs:{type:"checkbox"},domProps:{checked:Array.isArray(t.settings.tags.title)?t._i(t.settings.tags.title,null)>-1:t.settings.tags.title},on:{change:function(e){var n=t.settings.tags.title,a=e.target,r=!!a.checked;if(Array.isArray(n)){var i=t._i(n,null);a.checked?i<0&&t.$set(t.settings.tags,"title",n.concat([null])):i>-1&&t.$set(t.settings.tags,"title",n.slice(0,i).concat(n.slice(i+1)))}else t.$set(t.settings.tags,"title",r)}}}),t._v(" "),n("span",{staticClass:"checkbox_text"},[t._v(t._s(t.$t("settings.tags.title")))])]),t._v(" "),n("label",{staticClass:"with_checkbox"},[n("input",{directives:[{name:"model",rawName:"v-model",value:t.settings.tags.artist,expression:"settings.tags.artist"}],attrs:{type:"checkbox"},domProps:{checked:Array.isArray(t.settings.tags.artist)?t._i(t.settings.tags.artist,null)>-1:t.settings.tags.artist},on:{change:function(e){var n=t.settings.tags.artist,a=e.target,r=!!a.checked;if(Array.isArray(n)){var i=t._i(n,null);a.checked?i<0&&t.$set(t.settings.tags,"artist",n.concat([null])):i>-1&&t.$set(t.settings.tags,"artist",n.slice(0,i).concat(n.slice(i+1)))}else t.$set(t.settings.tags,"artist",r)}}}),t._v(" "),n("span",{staticClass:"checkbox_text"},[t._v(t._s(t.$t("settings.tags.artist")))])]),t._v(" "),n("label",{staticClass:"with_checkbox"},[n("input",{directives:[{name:"model",rawName:"v-model",value:t.settings.tags.album,expression:"settings.tags.album"}],attrs:{type:"checkbox"},domProps:{checked:Array.isArray(t.settings.tags.album)?t._i(t.settings.tags.album,null)>-1:t.settings.tags.album},on:{change:function(e){var n=t.settings.tags.album,a=e.target,r=!!a.checked;if(Array.isArray(n)){var i=t._i(n,null);a.checked?i<0&&t.$set(t.settings.tags,"album",n.concat([null])):i>-1&&t.$set(t.settings.tags,"album",n.slice(0,i).concat(n.slice(i+1)))}else t.$set(t.settings.tags,"album",r)}}}),t._v(" "),n("span",{staticClass:"checkbox_text"},[t._v(t._s(t.$t("settings.tags.album")))])]),t._v(" "),n("label",{staticClass:"with_checkbox"},[n("input",{directives:[{name:"model",rawName:"v-model",value:t.settings.tags.cover,expression:"settings.tags.cover"}],attrs:{type:"checkbox"},domProps:{checked:Array.isArray(t.settings.tags.cover)?t._i(t.settings.tags.cover,null)>-1:t.settings.tags.cover},on:{change:function(e){var n=t.settings.tags.cover,a=e.target,r=!!a.checked;if(Array.isArray(n)){var i=t._i(n,null);a.checked?i<0&&t.$set(t.settings.tags,"cover",n.concat([null])):i>-1&&t.$set(t.settings.tags,"cover",n.slice(0,i).concat(n.slice(i+1)))}else t.$set(t.settings.tags,"cover",r)}}}),t._v(" "),n("span",{staticClass:"checkbox_text"},[t._v(t._s(t.$t("settings.tags.cover")))])]),t._v(" "),n("label",{staticClass:"with_checkbox"},[n("input",{directives:[{name:"model",rawName:"v-model",value:t.settings.tags.trackNumber,expression:"settings.tags.trackNumber"}],attrs:{type:"checkbox"},domProps:{checked:Array.isArray(t.settings.tags.trackNumber)?t._i(t.settings.tags.trackNumber,null)>-1:t.settings.tags.trackNumber},on:{change:function(e){var n=t.settings.tags.trackNumber,a=e.target,r=!!a.checked;if(Array.isArray(n)){var i=t._i(n,null);a.checked?i<0&&t.$set(t.settings.tags,"trackNumber",n.concat([null])):i>-1&&t.$set(t.settings.tags,"trackNumber",n.slice(0,i).concat(n.slice(i+1)))}else t.$set(t.settings.tags,"trackNumber",r)}}}),t._v(" "),n("span",{staticClass:"checkbox_text"},[t._v(t._s(t.$t("settings.tags.trackNumber")))])]),t._v(" "),n("label",{staticClass:"with_checkbox"},[n("input",{directives:[{name:"model",rawName:"v-model",value:t.settings.tags.trackTotal,expression:"settings.tags.trackTotal"}],attrs:{type:"checkbox"},domProps:{checked:Array.isArray(t.settings.tags.trackTotal)?t._i(t.settings.tags.trackTotal,null)>-1:t.settings.tags.trackTotal},on:{change:function(e){var n=t.settings.tags.trackTotal,a=e.target,r=!!a.checked;if(Array.isArray(n)){var i=t._i(n,null);a.checked?i<0&&t.$set(t.settings.tags,"trackTotal",n.concat([null])):i>-1&&t.$set(t.settings.tags,"trackTotal",n.slice(0,i).concat(n.slice(i+1)))}else t.$set(t.settings.tags,"trackTotal",r)}}}),t._v(" "),n("span",{staticClass:"checkbox_text"},[t._v(t._s(t.$t("settings.tags.trackTotal")))])]),t._v(" "),n("label",{staticClass:"with_checkbox"},[n("input",{directives:[{name:"model",rawName:"v-model",value:t.settings.tags.discNumber,expression:"settings.tags.discNumber"}],attrs:{type:"checkbox"},domProps:{checked:Array.isArray(t.settings.tags.discNumber)?t._i(t.settings.tags.discNumber,null)>-1:t.settings.tags.discNumber},on:{change:function(e){var n=t.settings.tags.discNumber,a=e.target,r=!!a.checked;if(Array.isArray(n)){var i=t._i(n,null);a.checked?i<0&&t.$set(t.settings.tags,"discNumber",n.concat([null])):i>-1&&t.$set(t.settings.tags,"discNumber",n.slice(0,i).concat(n.slice(i+1)))}else t.$set(t.settings.tags,"discNumber",r)}}}),t._v(" "),n("span",{staticClass:"checkbox_text"},[t._v(t._s(t.$t("settings.tags.discNumber")))])]),t._v(" "),n("label",{staticClass:"with_checkbox"},[n("input",{directives:[{name:"model",rawName:"v-model",value:t.settings.tags.discTotal,expression:"settings.tags.discTotal"}],attrs:{type:"checkbox"},domProps:{checked:Array.isArray(t.settings.tags.discTotal)?t._i(t.settings.tags.discTotal,null)>-1:t.settings.tags.discTotal},on:{change:function(e){var n=t.settings.tags.discTotal,a=e.target,r=!!a.checked;if(Array.isArray(n)){var i=t._i(n,null);a.checked?i<0&&t.$set(t.settings.tags,"discTotal",n.concat([null])):i>-1&&t.$set(t.settings.tags,"discTotal",n.slice(0,i).concat(n.slice(i+1)))}else t.$set(t.settings.tags,"discTotal",r)}}}),t._v(" "),n("span",{staticClass:"checkbox_text"},[t._v(t._s(t.$t("settings.tags.discTotal")))])]),t._v(" "),n("label",{staticClass:"with_checkbox"},[n("input",{directives:[{name:"model",rawName:"v-model",value:t.settings.tags.albumArtist,expression:"settings.tags.albumArtist"}],attrs:{type:"checkbox"},domProps:{checked:Array.isArray(t.settings.tags.albumArtist)?t._i(t.settings.tags.albumArtist,null)>-1:t.settings.tags.albumArtist},on:{change:function(e){var n=t.settings.tags.albumArtist,a=e.target,r=!!a.checked;if(Array.isArray(n)){var i=t._i(n,null);a.checked?i<0&&t.$set(t.settings.tags,"albumArtist",n.concat([null])):i>-1&&t.$set(t.settings.tags,"albumArtist",n.slice(0,i).concat(n.slice(i+1)))}else t.$set(t.settings.tags,"albumArtist",r)}}}),t._v(" "),n("span",{staticClass:"checkbox_text"},[t._v(t._s(t.$t("settings.tags.albumArtist")))])]),t._v(" "),n("label",{staticClass:"with_checkbox"},[n("input",{directives:[{name:"model",rawName:"v-model",value:t.settings.tags.genre,expression:"settings.tags.genre"}],attrs:{type:"checkbox"},domProps:{checked:Array.isArray(t.settings.tags.genre)?t._i(t.settings.tags.genre,null)>-1:t.settings.tags.genre},on:{change:function(e){var n=t.settings.tags.genre,a=e.target,r=!!a.checked;if(Array.isArray(n)){var i=t._i(n,null);a.checked?i<0&&t.$set(t.settings.tags,"genre",n.concat([null])):i>-1&&t.$set(t.settings.tags,"genre",n.slice(0,i).concat(n.slice(i+1)))}else t.$set(t.settings.tags,"genre",r)}}}),t._v(" "),n("span",{staticClass:"checkbox_text"},[t._v(t._s(t.$t("settings.tags.genre")))])]),t._v(" "),n("label",{staticClass:"with_checkbox"},[n("input",{directives:[{name:"model",rawName:"v-model",value:t.settings.tags.year,expression:"settings.tags.year"}],attrs:{type:"checkbox"},domProps:{checked:Array.isArray(t.settings.tags.year)?t._i(t.settings.tags.year,null)>-1:t.settings.tags.year},on:{change:function(e){var n=t.settings.tags.year,a=e.target,r=!!a.checked;if(Array.isArray(n)){var i=t._i(n,null);a.checked?i<0&&t.$set(t.settings.tags,"year",n.concat([null])):i>-1&&t.$set(t.settings.tags,"year",n.slice(0,i).concat(n.slice(i+1)))}else t.$set(t.settings.tags,"year",r)}}}),t._v(" "),n("span",{staticClass:"checkbox_text"},[t._v(t._s(t.$t("settings.tags.year")))])]),t._v(" "),n("label",{staticClass:"with_checkbox"},[n("input",{directives:[{name:"model",rawName:"v-model",value:t.settings.tags.date,expression:"settings.tags.date"}],attrs:{type:"checkbox"},domProps:{checked:Array.isArray(t.settings.tags.date)?t._i(t.settings.tags.date,null)>-1:t.settings.tags.date},on:{change:function(e){var n=t.settings.tags.date,a=e.target,r=!!a.checked;if(Array.isArray(n)){var i=t._i(n,null);a.checked?i<0&&t.$set(t.settings.tags,"date",n.concat([null])):i>-1&&t.$set(t.settings.tags,"date",n.slice(0,i).concat(n.slice(i+1)))}else t.$set(t.settings.tags,"date",r)}}}),t._v(" "),n("span",{staticClass:"checkbox_text"},[t._v(t._s(t.$t("settings.tags.date")))])])]),t._v(" "),n("div",{staticClass:"settings-container__half"},[n("label",{staticClass:"with_checkbox"},[n("input",{directives:[{name:"model",rawName:"v-model",value:t.settings.tags.explicit,expression:"settings.tags.explicit"}],attrs:{type:"checkbox"},domProps:{checked:Array.isArray(t.settings.tags.explicit)?t._i(t.settings.tags.explicit,null)>-1:t.settings.tags.explicit},on:{change:function(e){var n=t.settings.tags.explicit,a=e.target,r=!!a.checked;if(Array.isArray(n)){var i=t._i(n,null);a.checked?i<0&&t.$set(t.settings.tags,"explicit",n.concat([null])):i>-1&&t.$set(t.settings.tags,"explicit",n.slice(0,i).concat(n.slice(i+1)))}else t.$set(t.settings.tags,"explicit",r)}}}),t._v(" "),n("span",{staticClass:"checkbox_text"},[t._v(t._s(t.$t("settings.tags.explicit")))])]),t._v(" "),n("label",{staticClass:"with_checkbox"},[n("input",{directives:[{name:"model",rawName:"v-model",value:t.settings.tags.isrc,expression:"settings.tags.isrc"}],attrs:{type:"checkbox"},domProps:{checked:Array.isArray(t.settings.tags.isrc)?t._i(t.settings.tags.isrc,null)>-1:t.settings.tags.isrc},on:{change:function(e){var n=t.settings.tags.isrc,a=e.target,r=!!a.checked;if(Array.isArray(n)){var i=t._i(n,null);a.checked?i<0&&t.$set(t.settings.tags,"isrc",n.concat([null])):i>-1&&t.$set(t.settings.tags,"isrc",n.slice(0,i).concat(n.slice(i+1)))}else t.$set(t.settings.tags,"isrc",r)}}}),t._v(" "),n("span",{staticClass:"checkbox_text"},[t._v(t._s(t.$t("settings.tags.isrc")))])]),t._v(" "),n("label",{staticClass:"with_checkbox"},[n("input",{directives:[{name:"model",rawName:"v-model",value:t.settings.tags.length,expression:"settings.tags.length"}],attrs:{type:"checkbox"},domProps:{checked:Array.isArray(t.settings.tags.length)?t._i(t.settings.tags.length,null)>-1:t.settings.tags.length},on:{change:function(e){var n=t.settings.tags.length,a=e.target,r=!!a.checked;if(Array.isArray(n)){var i=t._i(n,null);a.checked?i<0&&t.$set(t.settings.tags,"length",n.concat([null])):i>-1&&t.$set(t.settings.tags,"length",n.slice(0,i).concat(n.slice(i+1)))}else t.$set(t.settings.tags,"length",r)}}}),t._v(" "),n("span",{staticClass:"checkbox_text"},[t._v(t._s(t.$t("settings.tags.length")))])]),t._v(" "),n("label",{staticClass:"with_checkbox"},[n("input",{directives:[{name:"model",rawName:"v-model",value:t.settings.tags.barcode,expression:"settings.tags.barcode"}],attrs:{type:"checkbox"},domProps:{checked:Array.isArray(t.settings.tags.barcode)?t._i(t.settings.tags.barcode,null)>-1:t.settings.tags.barcode},on:{change:function(e){var n=t.settings.tags.barcode,a=e.target,r=!!a.checked;if(Array.isArray(n)){var i=t._i(n,null);a.checked?i<0&&t.$set(t.settings.tags,"barcode",n.concat([null])):i>-1&&t.$set(t.settings.tags,"barcode",n.slice(0,i).concat(n.slice(i+1)))}else t.$set(t.settings.tags,"barcode",r)}}}),t._v(" "),n("span",{staticClass:"checkbox_text"},[t._v(t._s(t.$t("settings.tags.barcode")))])]),t._v(" "),n("label",{staticClass:"with_checkbox"},[n("input",{directives:[{name:"model",rawName:"v-model",value:t.settings.tags.bpm,expression:"settings.tags.bpm"}],attrs:{type:"checkbox"},domProps:{checked:Array.isArray(t.settings.tags.bpm)?t._i(t.settings.tags.bpm,null)>-1:t.settings.tags.bpm},on:{change:function(e){var n=t.settings.tags.bpm,a=e.target,r=!!a.checked;if(Array.isArray(n)){var i=t._i(n,null);a.checked?i<0&&t.$set(t.settings.tags,"bpm",n.concat([null])):i>-1&&t.$set(t.settings.tags,"bpm",n.slice(0,i).concat(n.slice(i+1)))}else t.$set(t.settings.tags,"bpm",r)}}}),t._v(" "),n("span",{staticClass:"checkbox_text"},[t._v(t._s(t.$t("settings.tags.bpm")))])]),t._v(" "),n("label",{staticClass:"with_checkbox"},[n("input",{directives:[{name:"model",rawName:"v-model",value:t.settings.tags.replayGain,expression:"settings.tags.replayGain"}],attrs:{type:"checkbox"},domProps:{checked:Array.isArray(t.settings.tags.replayGain)?t._i(t.settings.tags.replayGain,null)>-1:t.settings.tags.replayGain},on:{change:function(e){var n=t.settings.tags.replayGain,a=e.target,r=!!a.checked;if(Array.isArray(n)){var i=t._i(n,null);a.checked?i<0&&t.$set(t.settings.tags,"replayGain",n.concat([null])):i>-1&&t.$set(t.settings.tags,"replayGain",n.slice(0,i).concat(n.slice(i+1)))}else t.$set(t.settings.tags,"replayGain",r)}}}),t._v(" "),n("span",{staticClass:"checkbox_text"},[t._v(t._s(t.$t("settings.tags.replayGain")))])]),t._v(" "),n("label",{staticClass:"with_checkbox"},[n("input",{directives:[{name:"model",rawName:"v-model",value:t.settings.tags.label,expression:"settings.tags.label"}],attrs:{type:"checkbox"},domProps:{checked:Array.isArray(t.settings.tags.label)?t._i(t.settings.tags.label,null)>-1:t.settings.tags.label},on:{change:function(e){var n=t.settings.tags.label,a=e.target,r=!!a.checked;if(Array.isArray(n)){var i=t._i(n,null);a.checked?i<0&&t.$set(t.settings.tags,"label",n.concat([null])):i>-1&&t.$set(t.settings.tags,"label",n.slice(0,i).concat(n.slice(i+1)))}else t.$set(t.settings.tags,"label",r)}}}),t._v(" "),n("span",{staticClass:"checkbox_text"},[t._v(t._s(t.$t("settings.tags.label")))])]),t._v(" "),n("label",{staticClass:"with_checkbox"},[n("input",{directives:[{name:"model",rawName:"v-model",value:t.settings.tags.lyrics,expression:"settings.tags.lyrics"}],attrs:{type:"checkbox"},domProps:{checked:Array.isArray(t.settings.tags.lyrics)?t._i(t.settings.tags.lyrics,null)>-1:t.settings.tags.lyrics},on:{change:function(e){var n=t.settings.tags.lyrics,a=e.target,r=!!a.checked;if(Array.isArray(n)){var i=t._i(n,null);a.checked?i<0&&t.$set(t.settings.tags,"lyrics",n.concat([null])):i>-1&&t.$set(t.settings.tags,"lyrics",n.slice(0,i).concat(n.slice(i+1)))}else t.$set(t.settings.tags,"lyrics",r)}}}),t._v(" "),n("span",{staticClass:"checkbox_text"},[t._v(t._s(t.$t("settings.tags.lyrics")))])]),t._v(" "),n("label",{staticClass:"with_checkbox"},[n("input",{directives:[{name:"model",rawName:"v-model",value:t.settings.tags.copyright,expression:"settings.tags.copyright"}],attrs:{type:"checkbox"},domProps:{checked:Array.isArray(t.settings.tags.copyright)?t._i(t.settings.tags.copyright,null)>-1:t.settings.tags.copyright},on:{change:function(e){var n=t.settings.tags.copyright,a=e.target,r=!!a.checked;if(Array.isArray(n)){var i=t._i(n,null);a.checked?i<0&&t.$set(t.settings.tags,"copyright",n.concat([null])):i>-1&&t.$set(t.settings.tags,"copyright",n.slice(0,i).concat(n.slice(i+1)))}else t.$set(t.settings.tags,"copyright",r)}}}),t._v(" "),n("span",{staticClass:"checkbox_text"},[t._v(t._s(t.$t("settings.tags.copyright")))])]),t._v(" "),n("label",{staticClass:"with_checkbox"},[n("input",{directives:[{name:"model",rawName:"v-model",value:t.settings.tags.composer,expression:"settings.tags.composer"}],attrs:{type:"checkbox"},domProps:{checked:Array.isArray(t.settings.tags.composer)?t._i(t.settings.tags.composer,null)>-1:t.settings.tags.composer},on:{change:function(e){var n=t.settings.tags.composer,a=e.target,r=!!a.checked;if(Array.isArray(n)){var i=t._i(n,null);a.checked?i<0&&t.$set(t.settings.tags,"composer",n.concat([null])):i>-1&&t.$set(t.settings.tags,"composer",n.slice(0,i).concat(n.slice(i+1)))}else t.$set(t.settings.tags,"composer",r)}}}),t._v(" "),n("span",{staticClass:"checkbox_text"},[t._v(t._s(t.$t("settings.tags.composer")))])]),t._v(" "),n("label",{staticClass:"with_checkbox"},[n("input",{directives:[{name:"model",rawName:"v-model",value:t.settings.tags.involvedPeople,expression:"settings.tags.involvedPeople"}],attrs:{type:"checkbox"},domProps:{checked:Array.isArray(t.settings.tags.involvedPeople)?t._i(t.settings.tags.involvedPeople,null)>-1:t.settings.tags.involvedPeople},on:{change:function(e){var n=t.settings.tags.involvedPeople,a=e.target,r=!!a.checked;if(Array.isArray(n)){var i=t._i(n,null);a.checked?i<0&&t.$set(t.settings.tags,"involvedPeople",n.concat([null])):i>-1&&t.$set(t.settings.tags,"involvedPeople",n.slice(0,i).concat(n.slice(i+1)))}else t.$set(t.settings.tags,"involvedPeople",r)}}}),t._v(" "),n("span",{staticClass:"checkbox_text"},[t._v(t._s(t.$t("settings.tags.involvedPeople")))])])])])]),t._v(" "),n("div",{staticClass:"settings-group"},[n("h3",{staticClass:"settings-group__header settings-group__header--with-icon"},[n("i",{staticClass:"material-icons"},[t._v("list")]),t._v(t._s(t.$t("settings.other.title"))+"\n\t\t")]),t._v(" "),n("label",{staticClass:"with_checkbox"},[n("input",{directives:[{name:"model",rawName:"v-model",value:t.settings.tags.savePlaylistAsCompilation,expression:"settings.tags.savePlaylistAsCompilation"}],attrs:{type:"checkbox"},domProps:{checked:Array.isArray(t.settings.tags.savePlaylistAsCompilation)?t._i(t.settings.tags.savePlaylistAsCompilation,null)>-1:t.settings.tags.savePlaylistAsCompilation},on:{change:function(e){var n=t.settings.tags.savePlaylistAsCompilation,a=e.target,r=!!a.checked;if(Array.isArray(n)){var i=t._i(n,null);a.checked?i<0&&t.$set(t.settings.tags,"savePlaylistAsCompilation",n.concat([null])):i>-1&&t.$set(t.settings.tags,"savePlaylistAsCompilation",n.slice(0,i).concat(n.slice(i+1)))}else t.$set(t.settings.tags,"savePlaylistAsCompilation",r)}}}),t._v(" "),n("span",{staticClass:"checkbox_text"},[t._v(t._s(t.$t("settings.other.savePlaylistAsCompilation")))])]),t._v(" "),n("label",{staticClass:"with_checkbox"},[n("input",{directives:[{name:"model",rawName:"v-model",value:t.settings.tags.useNullSeparator,expression:"settings.tags.useNullSeparator"}],attrs:{type:"checkbox"},domProps:{checked:Array.isArray(t.settings.tags.useNullSeparator)?t._i(t.settings.tags.useNullSeparator,null)>-1:t.settings.tags.useNullSeparator},on:{change:function(e){var n=t.settings.tags.useNullSeparator,a=e.target,r=!!a.checked;if(Array.isArray(n)){var i=t._i(n,null);a.checked?i<0&&t.$set(t.settings.tags,"useNullSeparator",n.concat([null])):i>-1&&t.$set(t.settings.tags,"useNullSeparator",n.slice(0,i).concat(n.slice(i+1)))}else t.$set(t.settings.tags,"useNullSeparator",r)}}}),t._v(" "),n("span",{staticClass:"checkbox_text"},[t._v(t._s(t.$t("settings.other.useNullSeparator")))])]),t._v(" "),n("label",{staticClass:"with_checkbox"},[n("input",{directives:[{name:"model",rawName:"v-model",value:t.settings.tags.saveID3v1,expression:"settings.tags.saveID3v1"}],attrs:{type:"checkbox"},domProps:{checked:Array.isArray(t.settings.tags.saveID3v1)?t._i(t.settings.tags.saveID3v1,null)>-1:t.settings.tags.saveID3v1},on:{change:function(e){var n=t.settings.tags.saveID3v1,a=e.target,r=!!a.checked;if(Array.isArray(n)){var i=t._i(n,null);a.checked?i<0&&t.$set(t.settings.tags,"saveID3v1",n.concat([null])):i>-1&&t.$set(t.settings.tags,"saveID3v1",n.slice(0,i).concat(n.slice(i+1)))}else t.$set(t.settings.tags,"saveID3v1",r)}}}),t._v(" "),n("span",{staticClass:"checkbox_text"},[t._v(t._s(t.$t("settings.other.saveID3v1")))])]),t._v(" "),n("div",{staticClass:"input_group"},[n("p",{staticClass:"input_group_text"},[t._v(t._s(t.$t("settings.other.multiArtistSeparator.title")))]),t._v(" "),n("select",{directives:[{name:"model",rawName:"v-model",value:t.settings.tags.multiArtistSeparator,expression:"settings.tags.multiArtistSeparator"}],on:{change:function(e){var n=Array.prototype.filter.call(e.target.options,(function(t){return t.selected})).map((function(t){return"_value"in t?t._value:t.value}));t.$set(t.settings.tags,"multiArtistSeparator",e.target.multiple?n:n[0])}}},[n("option",{attrs:{value:"nothing"}},[t._v(t._s(t.$t("settings.other.multiArtistSeparator.nothing")))]),t._v(" "),n("option",{attrs:{value:"default"}},[t._v(t._s(t.$t("settings.other.multiArtistSeparator.default")))]),t._v(" "),n("option",{attrs:{value:"andFeat"}},[t._v(t._s(t.$t("settings.other.multiArtistSeparator.andFeat")))]),t._v(" "),n("option",{attrs:{value:" & "}},[t._v(t._s(t.$t("settings.other.multiArtistSeparator.using",[" & "])))]),t._v(" "),n("option",{attrs:{value:","}},[t._v(t._s(t.$t("settings.other.multiArtistSeparator.using",[","])))]),t._v(" "),n("option",{attrs:{value:", "}},[t._v(t._s(t.$t("settings.other.multiArtistSeparator.using",[", "])))]),t._v(" "),n("option",{attrs:{value:"/"}},[t._v(t._s(t.$t("settings.other.multiArtistSeparator.using",["/"])))]),t._v(" "),n("option",{attrs:{value:" / "}},[t._v(t._s(t.$t("settings.other.multiArtistSeparator.using",[" / "])))]),t._v(" "),n("option",{attrs:{value:";"}},[t._v(t._s(t.$t("settings.other.multiArtistSeparator.using",[";"])))]),t._v(" "),n("option",{attrs:{value:"; "}},[t._v(t._s(t.$t("settings.other.multiArtistSeparator.using",["; "])))])])]),t._v(" "),n("label",{staticClass:"with_checkbox"},[n("input",{directives:[{name:"model",rawName:"v-model",value:t.settings.tags.singleAlbumArtist,expression:"settings.tags.singleAlbumArtist"}],attrs:{type:"checkbox"},domProps:{checked:Array.isArray(t.settings.tags.singleAlbumArtist)?t._i(t.settings.tags.singleAlbumArtist,null)>-1:t.settings.tags.singleAlbumArtist},on:{change:function(e){var n=t.settings.tags.singleAlbumArtist,a=e.target,r=!!a.checked;if(Array.isArray(n)){var i=t._i(n,null);a.checked?i<0&&t.$set(t.settings.tags,"singleAlbumArtist",n.concat([null])):i>-1&&t.$set(t.settings.tags,"singleAlbumArtist",n.slice(0,i).concat(n.slice(i+1)))}else t.$set(t.settings.tags,"singleAlbumArtist",r)}}}),t._v(" "),n("span",{staticClass:"checkbox_text"},[t._v(t._s(t.$t("settings.other.singleAlbumArtist")))])]),t._v(" "),n("label",{staticClass:"with_checkbox"},[n("input",{directives:[{name:"model",rawName:"v-model",value:t.settings.albumVariousArtists,expression:"settings.albumVariousArtists"}],attrs:{type:"checkbox"},domProps:{checked:Array.isArray(t.settings.albumVariousArtists)?t._i(t.settings.albumVariousArtists,null)>-1:t.settings.albumVariousArtists},on:{change:function(e){var n=t.settings.albumVariousArtists,a=e.target,r=!!a.checked;if(Array.isArray(n)){var i=t._i(n,null);a.checked?i<0&&t.$set(t.settings,"albumVariousArtists",n.concat([null])):i>-1&&t.$set(t.settings,"albumVariousArtists",n.slice(0,i).concat(n.slice(i+1)))}else t.$set(t.settings,"albumVariousArtists",r)}}}),t._v(" "),n("span",{staticClass:"checkbox_text"},[t._v(t._s(t.$t("settings.other.albumVariousArtists")))])]),t._v(" "),n("label",{staticClass:"with_checkbox"},[n("input",{directives:[{name:"model",rawName:"v-model",value:t.settings.removeAlbumVersion,expression:"settings.removeAlbumVersion"}],attrs:{type:"checkbox"},domProps:{checked:Array.isArray(t.settings.removeAlbumVersion)?t._i(t.settings.removeAlbumVersion,null)>-1:t.settings.removeAlbumVersion},on:{change:function(e){var n=t.settings.removeAlbumVersion,a=e.target,r=!!a.checked;if(Array.isArray(n)){var i=t._i(n,null);a.checked?i<0&&t.$set(t.settings,"removeAlbumVersion",n.concat([null])):i>-1&&t.$set(t.settings,"removeAlbumVersion",n.slice(0,i).concat(n.slice(i+1)))}else t.$set(t.settings,"removeAlbumVersion",r)}}}),t._v(" "),n("span",{staticClass:"checkbox_text"},[t._v(t._s(t.$t("settings.other.removeAlbumVersion")))])]),t._v(" "),n("label",{staticClass:"with_checkbox"},[n("input",{directives:[{name:"model",rawName:"v-model",value:t.settings.removeDuplicateArtists,expression:"settings.removeDuplicateArtists"}],attrs:{type:"checkbox"},domProps:{checked:Array.isArray(t.settings.removeDuplicateArtists)?t._i(t.settings.removeDuplicateArtists,null)>-1:t.settings.removeDuplicateArtists},on:{change:function(e){var n=t.settings.removeDuplicateArtists,a=e.target,r=!!a.checked;if(Array.isArray(n)){var i=t._i(n,null);a.checked?i<0&&t.$set(t.settings,"removeDuplicateArtists",n.concat([null])):i>-1&&t.$set(t.settings,"removeDuplicateArtists",n.slice(0,i).concat(n.slice(i+1)))}else t.$set(t.settings,"removeDuplicateArtists",r)}}}),t._v(" "),n("span",{staticClass:"checkbox_text"},[t._v(t._s(t.$t("settings.other.removeDuplicateArtists")))])]),t._v(" "),n("div",{staticClass:"input_group"},[n("p",{staticClass:"input_group_text"},[t._v(t._s(t.$t("settings.other.dateFormat.title")))]),t._v(" "),n("select",{directives:[{name:"model",rawName:"v-model",value:t.settings.dateFormat,expression:"settings.dateFormat"}],on:{change:function(e){var n=Array.prototype.filter.call(e.target.options,(function(t){return t.selected})).map((function(t){return"_value"in t?t._value:t.value}));t.$set(t.settings,"dateFormat",e.target.multiple?n:n[0])}}},[n("option",{attrs:{value:"Y-M-D"}},[t._v(t._s(t.$t("settings.other.dateFormat.year")+"-"+t.$t("settings.other.dateFormat.month")+"-"+t.$t("settings.other.dateFormat.day")))]),t._v(" "),n("option",{attrs:{value:"Y-D-M"}},[t._v(t._s(t.$t("settings.other.dateFormat.year")+"-"+t.$t("settings.other.dateFormat.day")+"-"+t.$t("settings.other.dateFormat.month")))]),t._v(" "),n("option",{attrs:{value:"D-M-Y"}},[t._v(t._s(t.$t("settings.other.dateFormat.day")+"-"+t.$t("settings.other.dateFormat.month")+"-"+t.$t("settings.other.dateFormat.year")))]),t._v(" "),n("option",{attrs:{value:"M-D-Y"}},[t._v(t._s(t.$t("settings.other.dateFormat.month")+"-"+t.$t("settings.other.dateFormat.day")+"-"+t.$t("settings.other.dateFormat.year")))]),t._v(" "),n("option",{attrs:{value:"Y"}},[t._v(t._s(t.$t("settings.other.dateFormat.year")))])])]),t._v(" "),n("div",{staticClass:"input_group"},[n("p",{staticClass:"input_group_text"},[t._v(t._s(t.$t("settings.other.featuredToTitle.title")))]),t._v(" "),n("select",{directives:[{name:"model",rawName:"v-model",value:t.settings.featuredToTitle,expression:"settings.featuredToTitle"}],on:{change:function(e){var n=Array.prototype.filter.call(e.target.options,(function(t){return t.selected})).map((function(t){return"_value"in t?t._value:t.value}));t.$set(t.settings,"featuredToTitle",e.target.multiple?n:n[0])}}},[n("option",{attrs:{value:"0"}},[t._v(t._s(t.$t("settings.other.featuredToTitle.0")))]),t._v(" "),n("option",{attrs:{value:"1"}},[t._v(t._s(t.$t("settings.other.featuredToTitle.1")))]),t._v(" "),n("option",{attrs:{value:"3"}},[t._v(t._s(t.$t("settings.other.featuredToTitle.3")))]),t._v(" "),n("option",{attrs:{value:"2"}},[t._v(t._s(t.$t("settings.other.featuredToTitle.2")))])])]),t._v(" "),n("div",{staticClass:"input_group"},[n("p",{staticClass:"input_group_text"},[t._v(t._s(t.$t("settings.other.titleCasing")))]),t._v(" "),n("select",{directives:[{name:"model",rawName:"v-model",value:t.settings.titleCasing,expression:"settings.titleCasing"}],on:{change:function(e){var n=Array.prototype.filter.call(e.target.options,(function(t){return t.selected})).map((function(t){return"_value"in t?t._value:t.value}));t.$set(t.settings,"titleCasing",e.target.multiple?n:n[0])}}},[n("option",{attrs:{value:"nothing"}},[t._v(t._s(t.$t("settings.other.casing.nothing")))]),t._v(" "),n("option",{attrs:{value:"lower"}},[t._v(t._s(t.$t("settings.other.casing.lower")))]),t._v(" "),n("option",{attrs:{value:"upper"}},[t._v(t._s(t.$t("settings.other.casing.upper")))]),t._v(" "),n("option",{attrs:{value:"start"}},[t._v(t._s(t.$t("settings.other.casing.start")))]),t._v(" "),n("option",{attrs:{value:"sentence"}},[t._v(t._s(t.$t("settings.other.casing.sentence")))])])]),t._v(" "),n("div",{staticClass:"input_group"},[n("p",{staticClass:"input_group_text"},[t._v(t._s(t.$t("settings.other.artistCasing")))]),t._v(" "),n("select",{directives:[{name:"model",rawName:"v-model",value:t.settings.artistCasing,expression:"settings.artistCasing"}],on:{change:function(e){var n=Array.prototype.filter.call(e.target.options,(function(t){return t.selected})).map((function(t){return"_value"in t?t._value:t.value}));t.$set(t.settings,"artistCasing",e.target.multiple?n:n[0])}}},[n("option",{attrs:{value:"nothing"}},[t._v(t._s(t.$t("settings.other.casing.nothing")))]),t._v(" "),n("option",{attrs:{value:"lower"}},[t._v(t._s(t.$t("settings.other.casing.lower")))]),t._v(" "),n("option",{attrs:{value:"upper"}},[t._v(t._s(t.$t("settings.other.casing.upper")))]),t._v(" "),n("option",{attrs:{value:"start"}},[t._v(t._s(t.$t("settings.other.casing.start")))]),t._v(" "),n("option",{attrs:{value:"sentence"}},[t._v(t._s(t.$t("settings.other.casing.sentence")))])])]),t._v(" "),n("div",{staticClass:"input_group"},[n("p",{staticClass:"input_group_text"},[t._v(t._s(t.$t("settings.other.previewVolume")))]),t._v(" "),n("input",{directives:[{name:"model",rawName:"v-model.number",value:t.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:t.previewVolume.preview_max_volume},on:{change:t.updateMaxVolume,__r:function(e){t.$set(t.previewVolume,"preview_max_volume",t._n(e.target.value))},blur:function(e){return t.$forceUpdate()}}}),t._v(" "),n("span",[t._v(t._s(t.previewVolume.preview_max_volume)+"%")])]),t._v(" "),n("div",{staticClass:"input_group"},[n("p",{staticClass:"input_group_text"},[t._v(t._s(t.$t("settings.other.executeCommand.title")))]),t._v(" "),n("p",{staticClass:"secondary-text"},[t._v(t._s(t.$t("settings.other.executeCommand.description")))]),t._v(" "),n("input",{directives:[{name:"model",rawName:"v-model",value:t.settings.executeCommand,expression:"settings.executeCommand"}],attrs:{type:"text"},domProps:{value:t.settings.executeCommand},on:{input:function(e){e.target.composing||t.$set(t.settings,"executeCommand",e.target.value)}}})])]),t._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"}})]),t._v("\n\t\t\t"+t._s(t.$t("settings.spotify.title"))+"\n\t\t")]),t._v(" "),n("div",{staticClass:"input_group"},[n("p",{staticClass:"input_group_text"},[t._v(t._s(t.$t("settings.spotify.clientID")))]),t._v(" "),n("input",{directives:[{name:"model",rawName:"v-model",value:t.spotifyFeatures.clientId,expression:"spotifyFeatures.clientId"}],attrs:{type:"text"},domProps:{value:t.spotifyFeatures.clientId},on:{input:function(e){e.target.composing||t.$set(t.spotifyFeatures,"clientId",e.target.value)}}})]),t._v(" "),n("div",{staticClass:"input_group"},[n("p",{staticClass:"input_group_text"},[t._v(t._s(t.$t("settings.spotify.clientSecret")))]),t._v(" "),n("input",{directives:[{name:"model",rawName:"v-model",value:t.spotifyFeatures.clientSecret,expression:"spotifyFeatures.clientSecret"}],attrs:{type:"password"},domProps:{value:t.spotifyFeatures.clientSecret},on:{input:function(e){e.target.composing||t.$set(t.spotifyFeatures,"clientSecret",e.target.value)}}})]),t._v(" "),n("div",{staticClass:"input_group"},[n("p",{staticClass:"input_group_text"},[t._v(t._s(t.$t("settings.spotify.username")))]),t._v(" "),n("input",{directives:[{name:"model",rawName:"v-model",value:t.spotifyUser,expression:"spotifyUser"}],attrs:{type:"text"},domProps:{value:t.spotifyUser},on:{input:function(e){e.target.composing||(t.spotifyUser=e.target.value)}}})])]),t._v(" "),n("footer",[n("button",{on:{click:t.resetSettings}},[t._v(t._s(t.$t("settings.reset")))]),t._v(" "),n("button",{on:{click:t.saveSettings}},[t._v(t._s(t.$t("settings.save")))])])])};Jd._withStripped=!0;var Xd=function(t,e,n,a,r,i,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=t.render,l.staticRenderFns=t.staticRenderFns,l._compiled=!0,r&&(l.functional=!0)),l._scopeId=a;{let t;if(e&&(t=function(t){e.call(this,s(t))}),void 0!==t)if(l.functional){const e=l.render;l.render=function(n,a){return t.call(a),e(n,a)}}else{const e=l.beforeCreate;l.beforeCreate=e?[].concat(e,t):[t]}}return l}({render:Jd,staticRenderFns:[]},(function(t){t&&t("data-v-0dbd82a8_0",{source:".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:"AAojBA;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;;ACzjBA,6CAA6C",file:"TheSettingsTab.vue",sourcesContent:[null,".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})}),Yd,void 0,!1,0,(function t(){const e=document.head||document.getElementsByTagName("head")[0],n=t.styles||(t.styles={}),a="undefined"!=typeof navigator&&/msie [6-9]\\b/.test(navigator.userAgent.toLowerCase());return function(t,r){if(document.querySelector('style[data-vue-ssr-id~="'+t+'"]'))return;const i=a?r.media||"default":t,s=n[i]||(n[i]={ids:[],parts:[],element:void 0});if(!s.ids.includes(t)){let n=r.source,o=s.ids.length;if(s.ids.push(t),a&&(s.element=s.element||document.querySelector("style[data-group="+i+"]")),!s.element){const t=s.element=document.createElement("style");t.type="text/css",r.media&&t.setAttribute("media",r.media),a&&(t.setAttribute("data-group",i),t.setAttribute("data-next-index","0")),e.appendChild(t)}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 t=document.createTextNode(n),e=s.element.childNodes;e[o]&&s.element.removeChild(e[o]),e.length?s.element.insertBefore(t,e[o]):s.element.appendChild(t)}}}}));const Zd={props:{text:{type:String,required:!1,default:"Loading..."},id:{type:String,required:!1},hidden:{type:Boolean,required:!1,default:!1}}};var tp=function(t,e){var n=e._c;return n("div",{staticClass:"loading_placeholder",class:{"loading_placeholder--hidden":e.props.hidden},attrs:{id:e.props.id}},[n("span",{staticClass:"loading_placeholder__text"},[e._v(e._s(e.props.text))]),e._v(" "),e._m(0)])};tp._withStripped=!0;var ep=function(t,e,n,a,r,i,s,o){const l=("function"==typeof n?n.options:n)||{};return l.__file="C:\\Users\\Roberto\\Dev\\repos\\deemix-pyweb\\webui\\src\\components\\BaseLoadingPlaceholder.vue",l.render||(l.render=t.render,l.staticRenderFns=t.staticRenderFns,l._compiled=!0,r&&(l.functional=!0)),l._scopeId=a,l}({render:tp,staticRenderFns:[function(t,e){var n=e._c;return n("div",{staticClass:"lds-ring"},[n("div"),e._v(" "),n("div"),e._v(" "),n("div"),e._v(" "),n("div")])}]},0,Zd,void 0,!0);const np={name:"the-main-search-tab",components:{BaseLoadingPlaceholder:ep},data:()=>({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}}}),props:{scrolledSearchType:{type:String,required:!1}},mounted(){eo.$on("mainSearch:checkLoadMoreContent",this.checkLoadMoreContent),this.$root.$on("mainSearch:showNewResults",this.showNewResults),to.on("mainSearch",this.handleMainSearch),to.on("search",this.handleSearch)},beforeDestroy(){},methods:{artistView:op.bind(null,"artist"),albumView:op.bind(null,"album"),playlistView:op.bind(null,"playlist"),playPausePreview(t){eo.$emit("trackPreview:playPausePreview",t)},previewMouseEnter(t){eo.$emit("trackPreview:previewMouseEnter",t)},previewMouseLeave(t){eo.$emit("trackPreview:previewMouseLeave",t)},handleSearchTabClick(t){const{target:e,target:{id:n}}=t;let a=null;switch(n){case"search_all_tab":a="main_search";break;case"search_track_tab":a="track_search";break;case"search_album_tab":a="album_search";break;case"search_artist_tab":a="artist_search";break;case"search_playlist_tab":a="playlist_search"}a&&sp(e,"search",a)},handleClickTopResult(t){switch(this.results.allTab.TOP_RESULT[0].type){case"artist":this.artistView(t);break;case"album":this.albumView(t);break;case"playlist":this.playlistView(t)}},showNewResults(t,e){t!==this.results.query||"search_tab"==e?(document.getElementById("search_tab_content").style.display="none",to.emit("mainSearch",{term:t}),document.getElementById("content").style.display="none",document.getElementById("search_placeholder").classList.toggle("loading_placeholder--hidden")):(document.getElementById("search_tab_content").style.display="block",document.getElementById("main_search_tablink").click())},checkLoadMoreContent(t){0===this.results[t.split("_")[0]+"Tab"].data.length&&this.search(t.split("_")[0])},changeSearchTab(t){if("TOP_RESULT"===t)return;let e;switch(t){case"TRACK":e="search_track_tab";break;case"ALBUM":e="search_album_tab";break;case"ARTIST":e="search_artist_tab";break;case"PLAYLIST":e="search_playlist_tab"}document.getElementById(e).click()},addToQueue(t){vd.sendAddToQueue(t.currentTarget.dataset.link)},openQualityModal(t){this.$root.$emit("QualityModal:open",t.currentTarget.dataset.link)},numberWithDots:wd.numberWithDots,convertDuration:wd.convertDuration,search(t){to.emit("search",{term:this.results.query,type:t,start:this.results[t+"Tab"].next,nb:30})},scrolledSearch(t){let e=t+"Tab";this.results[e].next<this.results[e].total&&to.emit("search",{term:this.results.query,type:t,start:this.results[e].next,nb:30})},handleMainSearch(t){document.getElementById("content").style.display="",document.getElementById("search_placeholder").classList.toggle("loading_placeholder--hidden");let e={data:[],next:0,total:0,loaded:!1};this.results.allTab=t,this.results.trackTab={...e},this.results.albumTab={...e},this.results.artistTab={...e},this.results.playlistTab={...e},""==this.results.query&&document.getElementById("search_all_tab").click(),this.results.query=t.QUERY,document.getElementById("search_tab_content").style.display="block",document.getElementById("main_search_tablink").click()},handleSearch(t){const{next:e,total:n,type:a,data:r}=t;let i=a+"Tab",s=0;s=e?parseInt(e.match(/index=(\d*)/)[1]):n,this.results[i].total!=n&&(this.results[i].total=n),this.results[i].next!=s&&(this.results[i].next=s,this.results[i].data=this.results[i].data.concat(r)),this.results[i].loaded=!0}},watch:{scrolledSearchType(t){t&&this.scrolledSearch(t)}}};var ap=function(){var t=this,e=t.$createElement,n=t._self._c||e;return n("div",{ref:"root",staticClass:"main_tabcontent",attrs:{id:"search_tab"},on:{click:t.handleSearchTabClick}},[n("div",{class:{hide:""!=t.results.query}},[n("h2",[t._v(t._s(t.$t("search.startSearching")))]),t._v(" "),n("p",[t._v(t._s(t.$t("search.description")))])]),t._v(" "),n("div",{directives:[{name:"show",rawName:"v-show",value:""!==t.results.query,expression:"results.query !== ''"}]},[n("ul",{staticClass:"section-tabs"},[n("li",{staticClass:"section-tabs__tab search_tablinks",attrs:{id:"search_all_tab"}},[t._v(t._s(t.$t("globals.listTabs.all")))]),t._v(" "),n("li",{staticClass:"section-tabs__tab search_tablinks",attrs:{id:"search_track_tab"}},[t._v(t._s(t.$tc("globals.listTabs.track",2)))]),t._v(" "),n("li",{staticClass:"section-tabs__tab search_tablinks",attrs:{id:"search_album_tab"}},[t._v(t._s(t.$tc("globals.listTabs.album",2)))]),t._v(" "),n("li",{staticClass:"section-tabs__tab search_tablinks",attrs:{id:"search_artist_tab"}},[t._v("\n\t\t\t\t"+t._s(t.$tc("globals.listTabs.artist",2))+"\n\t\t\t")]),t._v(" "),n("li",{staticClass:"section-tabs__tab search_tablinks",attrs:{id:"search_playlist_tab"}},[t._v("\n\t\t\t\t"+t._s(t.$tc("globals.listTabs.playlist",2))+"\n\t\t\t")])]),t._v(" "),n("div",{attrs:{id:"search_tab_content"}},[n("div",{staticClass:"search_tabcontent",attrs:{id:"main_search"}},[t._l(t.results.allTab.ORDER,(function(e){return["TOP_RESULT"!=e&&t.results.allTab[e].data.length>0||t.results.allTab[e].length>0?n("section",{staticClass:"search_section"},[n("h2",{staticClass:"search_header",class:{top_result_header:"TOP_RESULT"===e},on:{click:function(n){return t.changeSearchTab(e)}}},[t._v("\n\t\t\t\t\t\t\t"+t._s(t.$tc("globals.listTabs."+e.toLowerCase(),2))+"\n\t\t\t\t\t\t")]),t._v(" "),"TOP_RESULT"==e?n("div",{staticClass:"top_result clickable",attrs:{"data-id":t.results.allTab.TOP_RESULT[0].id},on:{click:t.handleClickTopResult}},[n("div",{staticClass:"cover_container"},[n("img",{class:("artist"==t.results.allTab.TOP_RESULT[0].type?"circle":"rounded")+" coverart",attrs:{"aria-hidden":"true",src:t.results.allTab.TOP_RESULT[0].picture}}),t._v(" "),n("div",{staticClass:"download_overlay",attrs:{role:"button","aria-label":"download","data-link":t.results.allTab.TOP_RESULT[0].link},on:{contextmenu:function(e){return e.preventDefault(),t.openQualityModal(e)},click:function(e){return e.stopPropagation(),t.addToQueue(e)}}},[n("i",{staticClass:"material-icons",attrs:{title:t.$t("globals.download_hint")}},[t._v("get_app")])])]),t._v(" "),n("div",{staticClass:"info_box"},[n("p",{staticClass:"primary-text"},[t._v(t._s(t.results.allTab.TOP_RESULT[0].title))]),t._v(" "),n("p",{staticClass:"secondary-text"},[t._v("\n\t\t\t\t\t\t\t\t\t"+t._s("artist"==t.results.allTab.TOP_RESULT[0].type?t.$t("search.fans",[t.$n(t.results.allTab.TOP_RESULT[0].nb_fan)]):t.$t("globals.by",[t.results.allTab.TOP_RESULT[0].artist])+" - "+t.$tc("globals.listTabs.trackN",t.results.allTab.TOP_RESULT[0].nb_song))+"\n\t\t\t\t\t\t\t\t")]),t._v(" "),n("span",{staticClass:"tag"},[t._v(t._s(t.$tc("globals.listTabs."+t.results.allTab.TOP_RESULT[0].type,1)))])])]):"TRACK"==e?n("div",[n("table",{staticClass:"table table--tracks"},[n("tbody",t._l(t.results.allTab.TRACK.data.slice(0,6),(function(e){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/"+e.ALB_PICTURE+"/32x32-000000-80-0-0.jpg"}})]),t._v(" "),n("td",{staticClass:"table__cell table__cell--large breakline"},[n("div",{staticClass:"table__cell-content table__cell-content--vertical-center"},[1==e.EXPLICIT_LYRICS?n("i",{staticClass:"material-icons explicit_icon"},[t._v("\n\t\t\t\t\t\t\t\t\t\t\t\t\texplicit\n\t\t\t\t\t\t\t\t\t\t\t\t")]):t._e(),t._v("\n\t\t\t\t\t\t\t\t\t\t\t\t"+t._s(e.SNG_TITLE+(e.VERSION?" "+e.VERSION:""))+"\n\t\t\t\t\t\t\t\t\t\t\t")])]),t._v(" "),n("td",{staticClass:"table__cell table__cell--medium table__cell--center breakline"},t._l(e.ARTISTS,(function(e){return n("span",{staticClass:"clickable",attrs:{"data-id":e.ART_ID},on:{click:t.artistView}},[t._v(t._s(e.ART_NAME)+"\n\t\t\t\t\t\t\t\t\t\t\t")])})),0),t._v(" "),n("td",{staticClass:"table__cell--medium table__cell--center breakline clickable",attrs:{"data-id":e.ALB_ID},on:{click:t.albumView}},[t._v("\n\t\t\t\t\t\t\t\t\t\t\t"+t._s(e.ALB_TITLE)+"\n\t\t\t\t\t\t\t\t\t\t")]),t._v(" "),n("td",{staticClass:"table__cell table__cell--center"},[t._v("\n\t\t\t\t\t\t\t\t\t\t\t"+t._s(t.convertDuration(e.DURATION))+"\n\t\t\t\t\t\t\t\t\t\t")]),t._v(" "),n("td",{staticClass:"table__cell--download table__cell--center clickable",attrs:{"data-link":"https://www.deezer.com/track/"+e.SNG_ID,role:"button","aria-label":"download"},on:{contextmenu:function(e){return e.preventDefault(),t.openQualityModal(e)},click:function(e){return e.stopPropagation(),t.addToQueue(e)}}},[n("i",{staticClass:"material-icons",attrs:{title:t.$t("globals.download_hint")}},[t._v("\n\t\t\t\t\t\t\t\t\t\t\t\tget_app\n\t\t\t\t\t\t\t\t\t\t\t")])])])})),0)])]):"ARTIST"==e?n("div",{staticClass:"release_grid firstrow_only"},t._l(t.results.allTab.ARTIST.data.slice(0,10),(function(e){return n("div",{staticClass:"release clickable",attrs:{"data-id":e.ART_ID},on:{click:t.artistView}},[n("div",{staticClass:"cover_container"},[n("img",{staticClass:"circle coverart",attrs:{"aria-hidden":"true",src:"https://e-cdns-images.dzcdn.net/images/artist/"+e.ART_PICTURE+"/156x156-000000-80-0-0.jpg"}}),t._v(" "),n("div",{staticClass:"download_overlay",attrs:{role:"button","aria-label":"download","data-link":"https://deezer.com/artist/"+e.ART_ID},on:{contextmenu:function(e){return e.preventDefault(),t.openQualityModal(e)},click:function(e){return e.stopPropagation(),t.addToQueue(e)}}},[n("i",{staticClass:"material-icons",attrs:{title:t.$t("globals.download_hint")}},[t._v("get_app")])])]),t._v(" "),n("p",{staticClass:"primary-text"},[t._v(t._s(e.ART_NAME))]),t._v(" "),n("p",{staticClass:"secondary-text"},[t._v(t._s(t.$t("search.fans",[t.$n(e.NB_FAN)])))])])})),0):"ALBUM"==e?n("div",{staticClass:"release_grid firstrow_only"},t._l(t.results.allTab.ALBUM.data.slice(0,10),(function(e){return n("div",{staticClass:"release clickable",attrs:{"data-id":e.ALB_ID},on:{click:t.albumView}},[n("div",{staticClass:"cover_container"},[n("img",{staticClass:"rounded coverart",attrs:{"aria-hidden":"true",src:"https://e-cdns-images.dzcdn.net/images/cover/"+e.ALB_PICTURE+"/156x156-000000-80-0-0.jpg"}}),t._v(" "),n("div",{staticClass:"download_overlay",attrs:{role:"button","aria-label":"download","data-link":"https://deezer.com/album/"+e.ALB_ID},on:{contextmenu:function(e){return e.preventDefault(),t.openQualityModal(e)},click:function(e){return e.stopPropagation(),t.addToQueue(e)}}},[n("i",{staticClass:"material-icons",attrs:{title:t.$t("globals.download_hint")}},[t._v("get_app")])])]),t._v(" "),n("p",{staticClass:"primary-text inline-flex"},[-1!=[1,4].indexOf(e.EXPLICIT_ALBUM_CONTENT.EXPLICIT_LYRICS_STATUS)?n("i",{staticClass:"material-icons explicit_icon"},[t._v("explicit")]):t._e(),t._v("\n\t\t\t\t\t\t\t\t\t"+t._s(e.ALB_TITLE)+"\n\t\t\t\t\t\t\t\t")]),t._v(" "),n("p",{staticClass:"secondary-text"},[t._v("\n\t\t\t\t\t\t\t\t\t"+t._s(e.ART_NAME+" - "+t.$tc("globals.listTabs.trackN",e.NUMBER_TRACK))+"\n\t\t\t\t\t\t\t\t")])])})),0):"PLAYLIST"==e?n("div",{staticClass:"release_grid firstrow_only"},t._l(t.results.allTab.PLAYLIST.data.slice(0,10),(function(e){return n("div",{staticClass:"release clickable",attrs:{"data-id":e.PLAYLIST_ID},on:{click:t.playlistView}},[n("div",{staticClass:"cover_container"},[n("img",{staticClass:"rounded coverart",attrs:{"aria-hidden":"true",src:"https://e-cdns-images.dzcdn.net/images/"+e.PICTURE_TYPE+"/"+e.PLAYLIST_PICTURE+"/156x156-000000-80-0-0.jpg"}}),t._v(" "),n("div",{staticClass:"download_overlay",attrs:{role:"button","aria-label":"download","data-link":"https://deezer.com/playlist/"+e.PLAYLIST_ID},on:{contextmenu:function(e){return e.preventDefault(),t.openQualityModal(e)},click:function(e){return e.stopPropagation(),t.addToQueue(e)}}},[n("i",{staticClass:"material-icons",attrs:{title:t.$t("globals.download_hint")}},[t._v("get_app")])])]),t._v(" "),n("p",{staticClass:"primary-text"},[t._v(t._s(e.TITLE))]),t._v(" "),n("p",{staticClass:"secondary-text"},[t._v(t._s(t.$tc("globals.listTabs.trackN",e.NB_SONG)))])])})),0):t._e()]):t._e()]})),t._v(" "),t.results.allTab.ORDER.every((function(e){return"TOP_RESULT"==e?0==t.results.allTab[e].length:0==t.results.allTab[e].data.length}))?n("div",[n("h1",[t._v(t._s(t.$t("search.noResults")))])]):t._e()],2),t._v(" "),n("div",{staticClass:"search_tabcontent",attrs:{id:"track_search"}},[t.results.trackTab.loaded?0==t.results.trackTab.data.length?n("div",[n("h1",[t._v(t._s(t.$t("search.noResultsTrack")))])]):t._e():n("base-loading-placeholder"),t._v(" "),t.results.trackTab.data.length>0?n("table",{staticClass:"table table--tracks"},[n("thead",[n("tr",[n("th",{attrs:{colspan:"2"}},[t._v(t._s(t.$tc("globals.listTabs.title",1)))]),t._v(" "),n("th",[t._v(t._s(t.$tc("globals.listTabs.artist",1)))]),t._v(" "),n("th",[t._v(t._s(t.$tc("globals.listTabs.album",1)))]),t._v(" "),t._m(0),t._v(" "),n("th",{staticStyle:{width:"56px"}})])]),t._v(" "),n("tbody",t._l(t.results.trackTab.data,(function(e){return n("tr",[n("td",{staticClass:"table__icon table__icon--big"},[n("a",{class:"rounded"+(e.preview?" single-cover":""),attrs:{href:"#","data-preview":e.preview},on:{click:t.playPausePreview}},[e.preview?n("i",{staticClass:"material-icons preview_controls",attrs:{title:t.$t("globals.play_hint")},on:{mouseenter:t.previewMouseEnter,mouseleave:t.previewMouseLeave}},[t._v("\n\t\t\t\t\t\t\t\t\t\tplay_arrow\n\t\t\t\t\t\t\t\t\t")]):t._e(),t._v(" "),n("img",{staticClass:"rounded coverart",attrs:{src:e.album.cover_small}})])]),t._v(" "),n("td",{staticClass:"table__cell table__cell--large breakline"},[n("div",{staticClass:"table__cell-content table__cell-content--vertical-center"},[e.explicit_lyrics?n("i",{staticClass:"material-icons explicit_icon"},[t._v("\n\t\t\t\t\t\t\t\t\t\texplicit\n\t\t\t\t\t\t\t\t\t")]):t._e(),t._v("\n\t\t\t\t\t\t\t\t\t"+t._s(e.title+(e.title_version&&-1==e.title.indexOf(e.title_version)?" "+e.title_version:""))+"\n\t\t\t\t\t\t\t\t")])]),t._v(" "),n("td",{staticClass:"table__cell table__cell--medium table__cell--center breakline clickable",attrs:{"data-id":e.artist.id},on:{click:t.artistView}},[t._v("\n\t\t\t\t\t\t\t\t"+t._s(e.artist.name)+"\n\t\t\t\t\t\t\t")]),t._v(" "),n("td",{staticClass:"table__cell table__cell--medium table__cell--center breakline clickable",attrs:{"data-id":e.album.id},on:{click:t.albumView}},[t._v("\n\t\t\t\t\t\t\t\t"+t._s(e.album.title)+"\n\t\t\t\t\t\t\t")]),t._v(" "),n("td",{staticClass:"table__cell table__cell--small table__cell--center"},[t._v("\n\t\t\t\t\t\t\t\t"+t._s(t.convertDuration(e.duration))+"\n\t\t\t\t\t\t\t")]),t._v(" "),n("td",{staticClass:"table__cell--download table__cell--center clickable",attrs:{"data-link":e.link,role:"button","aria-label":"download"},on:{contextmenu:function(e){return e.preventDefault(),t.openQualityModal(e)},click:function(e){return e.stopPropagation(),t.addToQueue(e)}}},[n("i",{staticClass:"material-icons",attrs:{title:t.$t("globals.download_hint")}},[t._v("\n\t\t\t\t\t\t\t\t\tget_app\n\t\t\t\t\t\t\t\t")])])])})),0)]):t._e()],1),t._v(" "),n("div",{staticClass:"search_tabcontent",attrs:{id:"album_search"}},[t.results.albumTab.loaded?0==t.results.albumTab.data.length?n("div",[n("h1",[t._v(t._s(t.$t("search.noResultsAlbum")))])]):t._e():n("base-loading-placeholder"),t._v(" "),t.results.albumTab.data.length>0?n("div",{staticClass:"release_grid"},t._l(t.results.albumTab.data,(function(e){return n("div",{staticClass:"release clickable",attrs:{"data-id":e.id},on:{click:t.albumView}},[n("div",{staticClass:"cover_container"},[n("img",{staticClass:"rounded coverart",attrs:{"aria-hidden":"true",src:e.cover_medium}}),t._v(" "),n("div",{staticClass:"download_overlay",attrs:{role:"button","aria-label":"download","data-link":e.link},on:{contextmenu:function(e){return e.preventDefault(),t.openQualityModal(e)},click:function(e){return e.stopPropagation(),t.addToQueue(e)}}},[n("i",{staticClass:"material-icons",attrs:{title:t.$t("globals.download_hint")}},[t._v("get_app")])])]),t._v(" "),n("p",{staticClass:"primary-text inline-flex"},[e.explicit_lyrics?n("i",{staticClass:"material-icons explicit_icon"},[t._v("explicit")]):t._e(),t._v("\n\t\t\t\t\t\t\t"+t._s(e.title)+"\n\t\t\t\t\t\t")]),t._v(" "),n("p",{staticClass:"secondary-text"},[t._v("\n\t\t\t\t\t\t\t"+t._s(t.$t("globals.by",[e.artist.name])+" - "+t.$tc("globals.listTabs.trackN",e.nb_tracks))+"\n\t\t\t\t\t\t")])])})),0):t._e()],1),t._v(" "),n("div",{staticClass:"search_tabcontent",attrs:{id:"artist_search"}},[t.results.artistTab.loaded?0==t.results.artistTab.data.length?n("div",[n("h1",[t._v(t._s(t.$t("search.noResultsArtist")))])]):t._e():n("base-loading-placeholder"),t._v(" "),t.results.artistTab.data.length>0?n("div",{staticClass:"release_grid"},t._l(t.results.artistTab.data,(function(e){return n("div",{staticClass:"release clickable",attrs:{"data-id":e.id},on:{click:t.artistView}},[n("div",{staticClass:"cover_container"},[n("img",{staticClass:"circle coverart",attrs:{"aria-hidden":"true",src:e.picture_medium}}),t._v(" "),n("div",{staticClass:"download_overlay",attrs:{role:"button","aria-label":"download","data-link":e.link},on:{contextmenu:function(e){return e.preventDefault(),t.openQualityModal(e)},click:function(e){return e.stopPropagation(),t.addToQueue(e)}}},[n("i",{staticClass:"material-icons",attrs:{title:t.$t("globals.download_hint")}},[t._v("get_app")])])]),t._v(" "),n("p",{staticClass:"primary-text"},[t._v(t._s(e.name))]),t._v(" "),n("p",{staticClass:"secondary-text"},[t._v(t._s(t.$tc("globals.listTabs.releaseN",e.nb_album)))])])})),0):t._e()],1),t._v(" "),n("div",{staticClass:"search_tabcontent",attrs:{id:"playlist_search"}},[t.results.playlistTab.loaded?0==t.results.playlistTab.data.length?n("div",[n("h1",[t._v(t._s(t.$t("search.noResultsPlaylist")))])]):t._e():n("base-loading-placeholder"),t._v(" "),t.results.playlistTab.data.length>0?n("div",{staticClass:"release_grid"},t._l(t.results.playlistTab.data,(function(e){return n("div",{staticClass:"release clickable",attrs:{"data-id":e.id},on:{click:t.playlistView}},[n("div",{staticClass:"cover_container"},[n("img",{staticClass:"rounded coverart",attrs:{"aria-hidden":"true",src:e.picture_medium}}),t._v(" "),n("div",{staticClass:"download_overlay",attrs:{role:"button","aria-label":"download","data-link":e.link},on:{contextmenu:function(e){return e.preventDefault(),t.openQualityModal(e)},click:function(e){return e.stopPropagation(),t.addToQueue(e)}}},[n("i",{staticClass:"material-icons",attrs:{title:t.$t("globals.download_hint")}},[t._v("get_app")])])]),t._v(" "),n("p",{staticClass:"primary-text"},[t._v(t._s(e.title))]),t._v(" "),n("p",{staticClass:"secondary-text"},[t._v("\n\t\t\t\t\t\t\t"+t._s(t.$t("globals.by",[e.user.name])+" - "+t.$tc("globals.listTabs.trackN",e.nb_tracks))+"\n\t\t\t\t\t\t")])])})),0):t._e()],1)])])])};ap._withStripped=!0;var rp=function(t,e,n,a,r,i,s,o){const l=("function"==typeof n?n.options:n)||{};l.__file="C:\\Users\\Roberto\\Dev\\repos\\deemix-pyweb\\webui\\src\\components\\TheMainSearch.vue",l.render||(l.render=t.render,l.staticRenderFns=t.staticRenderFns,l._compiled=!0,r&&(l.functional=!0)),l._scopeId=a;{let t;if(e&&(t=function(t){e.call(this,s(t))}),void 0!==t)if(l.functional){const e=l.render;l.render=function(n,a){return t.call(a),e(n,a)}}else{const e=l.beforeCreate;l.beforeCreate=e?[].concat(e,t):[t]}}return l}({render:ap,staticRenderFns:[function(){var t=this.$createElement,e=this._self._c||t;return e("th",[e("i",{staticClass:"material-icons"},[this._v("\n\t\t\t\t\t\t\t\t\ttimer\n\t\t\t\t\t\t\t\t")])])}]},(function(t){t&&t("data-v-6f0f5bbc_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\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\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:"TheMainSearch.vue"},media:void 0})}),np,void 0,!1,0,(function t(){const e=document.head||document.getElementsByTagName("head")[0],n=t.styles||(t.styles={}),a="undefined"!=typeof navigator&&/msie [6-9]\\b/.test(navigator.userAgent.toLowerCase());return function(t,r){if(document.querySelector('style[data-vue-ssr-id~="'+t+'"]'))return;const i=a?r.media||"default":t,s=n[i]||(n[i]={ids:[],parts:[],element:void 0});if(!s.ids.includes(t)){let n=r.source,o=s.ids.length;if(s.ids.push(t),a&&(s.element=s.element||document.querySelector("style[data-group="+i+"]")),!s.element){const t=s.element=document.createElement("style");t.type="text/css",r.media&&t.setAttribute("media",r.media),a&&(t.setAttribute("data-group",i),t.setAttribute("data-next-index","0")),e.appendChild(t)}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 t=document.createTextNode(n),e=s.element.childNodes;e[o]&&s.element.removeChild(e[o]),e.length?s.element.insertBefore(t,e[o]):s.element.appendChild(t)}}}}));wn.use(Wl);const ip=new Wl({mode:"history",routes:[{path:"/",component:$d},{path:"/tracklist/:type/:id",name:"Tracklist",component:Cd},{path:"/artist/:id",name:"Artist",component:_d},{path:"/charts",name:"Charts",component:Ed},{path:"/favorites",name:"Favorites",component:jd},{path:"/errors",name:"Errors",component:zd},{path:"/link-analyzer",name:"Link Analyzer",component:Vd},{path:"/about",name:"About",component:Gd},{path:"/settings",name:"Settings",component:Xd},{path:"*",component:Cd}],scrollBehavior:(t,e,n)=>({x:0,y:0})});function sp(t,e,n){window.windows_stack=[],window.currentStack={};const a=document.getElementsByClassName(e+"_tabcontent");for(let t=0;t<a.length;t++)a[t]&&(a[t].style.display="none");const r=document.getElementsByClassName(e+"_tablinks");for(let t=0;t<r.length;t++)r[t].classList.remove("active");"settings_tab"===n&&"settings_tab"!==window.main_selected&&(eo.$emit("settingsTab:revertSettings"),eo.$emit("settingsTab:revertCredentials")),document.getElementById(n)&&(document.getElementById(n).style.display="block"),"main"===e?window.main_selected=n:"search"===e&&(window.search_selected=n),t.classList.add("active"),"search_tab"===window.main_selected&&-1!==["track_search","album_search","artist_search","playlist_search"].indexOf(window.search_selected)&&eo.$emit("mainSearch:checkLoadMoreContent",window.search_selected)}function op(t,e){const{currentTarget:{dataset:{id:n}}}=e,a="artist"===t,r=a?"Artist":"Tracklist",i=a?{id:n}:{type:t,id:n};ip.push({name:r,params:i})}function lp(){ip.back()}ip.beforeEach((t,e,n)=>{switch(console.log("before route change",t),t.name){case"Artist":to.emit("getTracklist",{type:"artist",id:t.params.id});break;case"Tracklist":to.emit("getTracklist",{type:t.params.type,id:t.params.id})}eo.$emit("trackPreview:stopStackedTabsPreview"),n()}),window.search_selected="",window.main_selected="",window.windows_stack=[],window.currentStack={};const cp={name:"the-sidebar",data:()=>({appOnline:null,activeTheme:"light",themes:["purple","dark","light"]}),mounted(){this.appOnline=navigator.onLine,window.addEventListener("online",()=>{this.appOnline=!0}),window.addEventListener("offline",()=>{this.appOnline=!1}),this.activeTheme=localStorage.getItem("selectedTheme")||"light"},methods:{changeTheme(t){t!==this.activeTheme&&(this.activeTheme=t,document.documentElement.setAttribute("data-theme",t),localStorage.setItem("selectedTheme",t),document.querySelectorAll("*").forEach(t=>{t.style.transition="all 200ms ease-in-out"}),document.documentElement.addEventListener("transitionend",(function t(){document.querySelectorAll("*").forEach(t=>{t.style.transition=""}),document.documentElement.removeEventListener("transitionend",t)})))},handleSidebarClick(t){const{target:e}=t;if(!(e.matches(".main_tablinks")||e.parentElement.matches(".main_tablinks")))return;let n=e.matches(".main_tablinks")?e:e.parentElement,a=null;switch(n.id){case"main_search_tablink":a="search_tab",this.$router.push({name:"Search"});break;case"main_home_tablink":a="home_tab",this.$router.push({name:"Home"});break;case"main_charts_tablink":a="charts_tab",this.$router.push({name:"Charts"});break;case"main_favorites_tablink":a="favorites_tab",this.$router.push({name:"Favorites"});break;case"main_analyzer_tablink":a="analyzer_tab",this.$router.push({name:"Link Analyzer"});break;case"main_settings_tablink":a="settings_tab",this.$router.push({name:"Settings"});break;case"main_about_tablink":a="about_tab",this.$router.push({name:"About"})}a&&sp(n,"main",a)}}};var up=function(){var t=this,e=t.$createElement,n=t._self._c||e;return n("aside",{attrs:{id:"sidebar",role:"navigation"},on:{click:t.handleSidebarClick}},[n("span",{staticClass:"main_tablinks",attrs:{id:"main_home_tablink",role:"link","aria-label":"home"}},[n("i",{staticClass:"material-icons side_icon"},[t._v("home")]),t._v(" "),n("span",{staticClass:"main_tablinks_text"},[t._v(t._s(t.$t("sidebar.home")))])]),t._v(" "),n("span",{staticClass:"main_tablinks",attrs:{id:"main_search_tablink",role:"link","aria-label":"search"}},[n("i",{staticClass:"material-icons side_icon"},[t._v("search")]),t._v(" "),n("span",{staticClass:"main_tablinks_text"},[t._v(t._s(t.$t("sidebar.search")))])]),t._v(" "),n("span",{staticClass:"main_tablinks",attrs:{id:"main_charts_tablink",role:"link","aria-label":"charts"}},[n("i",{staticClass:"material-icons side_icon"},[t._v("bubble_chart")]),t._v(" "),n("span",{staticClass:"main_tablinks_text"},[t._v(t._s(t.$t("sidebar.charts")))])]),t._v(" "),n("span",{staticClass:"main_tablinks",attrs:{id:"main_favorites_tablink",role:"link","aria-label":"favorites"}},[n("i",{staticClass:"material-icons side_icon"},[t._v("album")]),t._v(" "),n("span",{staticClass:"main_tablinks_text"},[t._v(t._s(t.$t("sidebar.favorites")))])]),t._v(" "),n("span",{staticClass:"main_tablinks",attrs:{id:"main_analyzer_tablink",role:"link","aria-label":"link analyzer"}},[n("i",{staticClass:"material-icons side_icon"},[t._v("link")]),t._v(" "),n("span",{staticClass:"main_tablinks_text"},[t._v(t._s(t.$t("sidebar.linkAnalyzer")))])]),t._v(" "),n("span",{staticClass:"main_tablinks",attrs:{id:"main_settings_tablink",role:"link","aria-label":"settings"}},[n("i",{staticClass:"material-icons side_icon"},[t._v("settings")]),t._v(" "),n("span",{staticClass:"main_tablinks_text"},[t._v(t._s(t.$t("sidebar.settings")))])]),t._v(" "),n("span",{staticClass:"main_tablinks",attrs:{id:"main_about_tablink",role:"link","aria-label":"info"}},[n("i",{staticClass:"material-icons side_icon"},[t._v("info")]),t._v(" "),n("span",{staticClass:"main_tablinks_text"},[t._v(t._s(t.$t("sidebar.about")))])]),t._v(" "),n("span",{staticClass:"main_tablinks",attrs:{id:"theme_selector",role:"link","aria-label":"theme selector"}},[n("i",{staticClass:"material-icons side_icon side_icon--theme"},[t._v("palette")]),t._v(" "),n("div",{attrs:{id:"theme_togglers"}},t._l(t.themes,(function(e){return n("div",{key:e,staticClass:"theme_toggler",class:[{"theme_toggler--active":t.activeTheme===e},"theme_toggler--"+e],on:{click:function(n){return t.changeTheme(e)}}})})),0)]),t._v(" "),n("div",{class:{online:t.appOnline,offline:!t.appOnline},attrs:{id:"network-status"}},[t.appOnline?n("i",{staticClass:"material-icons"},[t._v("wifi")]):n("i",{staticClass:"material-icons"},[n("svg",{attrs:{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24"}},[n("path",{attrs:{d:"M24 .01c0-.01 0-.01 0 0L0 0v24h24V.01zM0 0h24v24H0V0zm0 0h24v24H0V0z",fill:"none"}}),t._v(" "),n("path",{attrs:{d:"M22.99 9C19.15 5.16 13.8 3.76 8.84 4.78l2.52 2.52c3.47-.17 6.99 1.05 9.63 3.7l2-2zm-4 4c-1.29-1.29-2.84-2.13-4.49-2.56l3.53 3.53.96-.97zM2 3.05L5.07 6.1C3.6 6.82 2.22 7.78 1 9l1.99 2c1.24-1.24 2.67-2.16 4.2-2.77l2.24 2.24C7.81 10.89 6.27 11.73 5 13v.01L6.99 15c1.36-1.36 3.14-2.04 4.92-2.06L18.98 20l1.27-1.26L3.29 1.79 2 3.05zM9 17l3 3 3-3c-1.65-1.66-4.34-1.66-6 0z"}})])])])])};up._withStripped=!0;var dp=function(t,e,n,a,r,i,s,o){const l=("function"==typeof n?n.options:n)||{};l.__file="C:\\Users\\Roberto\\Dev\\repos\\deemix-pyweb\\webui\\src\\components\\TheSidebar.vue",l.render||(l.render=t.render,l.staticRenderFns=t.staticRenderFns,l._compiled=!0,r&&(l.functional=!0)),l._scopeId=a;{let t;if(e&&(t=function(t){e.call(this,s(t))}),void 0!==t)if(l.functional){const e=l.render;l.render=function(n,a){return t.call(a),e(n,a)}}else{const e=l.beforeCreate;l.beforeCreate=e?[].concat(e,t):[t]}}return l}({render:up,staticRenderFns:[]},(function(t){t&&t("data-v-769c18e5_0",{source:"\n#network-status[data-v-769c18e5] {\r\n\tdisplay: flex;\r\n\tjustify-content: center;\r\n\talign-items: center;\r\n\tposition: relative;\r\n\tmargin-top: auto;\r\n\tbottom: 0;\n}\n#network-status.online i.material-icons[data-v-769c18e5] {\r\n\tcolor: hsl(151, 100%, 31%);\n}\n#network-status.offline i.material-icons svg[data-v-769c18e5] {\r\n\tfill: red;\r\n\twidth: 1em;\r\n\theight: 1em;\n}\r\n",map:{version:3,sources:["C:\\Users\\Roberto\\Dev\\repos\\deemix-pyweb\\webui/C:\\Users\\Roberto\\Dev\\repos\\deemix-pyweb\\webui\\src\\components\\TheSidebar.vue"],names:[],mappings:";AA0DA;CACA,aAAA;CACA,uBAAA;CACA,mBAAA;CACA,kBAAA;CACA,gBAAA;CACA,SAAA;AACA;AAEA;CACA,0BAAA;AACA;AAEA;CACA,SAAA;CACA,UAAA;CACA,WAAA;AACA",file:"TheSidebar.vue",sourcesContent:['<template>\r\n\t<aside id="sidebar" role="navigation" @click="handleSidebarClick">\r\n\t\t<span id="main_home_tablink" class="main_tablinks" role="link" aria-label="home">\r\n\t\t\t<i class="material-icons side_icon">home</i>\r\n\t\t\t<span class="main_tablinks_text">{{ $t(\'sidebar.home\') }}</span>\r\n\t\t</span>\r\n\t\t<span id="main_search_tablink" class="main_tablinks" role="link" aria-label="search">\r\n\t\t\t<i class="material-icons side_icon">search</i>\r\n\t\t\t<span class="main_tablinks_text">{{ $t(\'sidebar.search\') }}</span>\r\n\t\t</span>\r\n\t\t<span id="main_charts_tablink" class="main_tablinks" role="link" aria-label="charts">\r\n\t\t\t<i class="material-icons side_icon">bubble_chart</i>\r\n\t\t\t<span class="main_tablinks_text">{{ $t(\'sidebar.charts\') }}</span>\r\n\t\t</span>\r\n\t\t<span id="main_favorites_tablink" class="main_tablinks" role="link" aria-label="favorites">\r\n\t\t\t<i class="material-icons side_icon">album</i>\r\n\t\t\t<span class="main_tablinks_text">{{ $t(\'sidebar.favorites\') }}</span>\r\n\t\t</span>\r\n\t\t<span id="main_analyzer_tablink" class="main_tablinks" role="link" aria-label="link analyzer">\r\n\t\t\t<i class="material-icons side_icon">link</i>\r\n\t\t\t<span class="main_tablinks_text">{{ $t(\'sidebar.linkAnalyzer\') }}</span>\r\n\t\t</span>\r\n\t\t<span id="main_settings_tablink" class="main_tablinks" role="link" aria-label="settings">\r\n\t\t\t<i class="material-icons side_icon">settings</i>\r\n\t\t\t<span class="main_tablinks_text">{{ $t(\'sidebar.settings\') }}</span>\r\n\t\t</span>\r\n\t\t<span id="main_about_tablink" class="main_tablinks" role="link" aria-label="info">\r\n\t\t\t<i class="material-icons side_icon">info</i>\r\n\t\t\t<span class="main_tablinks_text">{{ $t(\'sidebar.about\') }}</span>\r\n\t\t</span>\r\n\t\t<span id="theme_selector" class="main_tablinks" role="link" aria-label="theme selector">\r\n\t\t\t<i class="material-icons side_icon side_icon--theme">palette</i>\r\n\t\t\t<div id="theme_togglers">\r\n\t\t\t\t<div\r\n\t\t\t\t\tv-for="theme of themes"\r\n\t\t\t\t\t:key="theme"\r\n\t\t\t\t\tclass="theme_toggler"\r\n\t\t\t\t\t:class="[{ \'theme_toggler--active\': activeTheme === theme }, `theme_toggler--${theme}`]"\r\n\t\t\t\t\t@click="changeTheme(theme)"\r\n\t\t\t\t></div>\r\n\t\t\t</div>\r\n\t\t</span>\r\n\t\t<div id="network-status" :class="{ online: appOnline, offline: !appOnline }">\r\n\t\t\t<i v-if="appOnline" class="material-icons">wifi</i>\r\n\t\t\t<i v-else class="material-icons">\r\n\t\t\t\t\x3c!-- wifi_off icon not working, maybe need to include it? --\x3e\r\n\t\t\t\t<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24">\r\n\t\t\t\t\t<path d="M24 .01c0-.01 0-.01 0 0L0 0v24h24V.01zM0 0h24v24H0V0zm0 0h24v24H0V0z" fill="none" />\r\n\t\t\t\t\t<path\r\n\t\t\t\t\t\td="M22.99 9C19.15 5.16 13.8 3.76 8.84 4.78l2.52 2.52c3.47-.17 6.99 1.05 9.63 3.7l2-2zm-4 4c-1.29-1.29-2.84-2.13-4.49-2.56l3.53 3.53.96-.97zM2 3.05L5.07 6.1C3.6 6.82 2.22 7.78 1 9l1.99 2c1.24-1.24 2.67-2.16 4.2-2.77l2.24 2.24C7.81 10.89 6.27 11.73 5 13v.01L6.99 15c1.36-1.36 3.14-2.04 4.92-2.06L18.98 20l1.27-1.26L3.29 1.79 2 3.05zM9 17l3 3 3-3c-1.65-1.66-4.34-1.66-6 0z"\r\n\t\t\t\t\t/>\r\n\t\t\t\t</svg>\r\n\t\t\t</i>\r\n\t\t</div>\r\n\t</aside>\r\n</template>\r\n\r\n<style scoped>\r\n#network-status {\r\n\tdisplay: flex;\r\n\tjustify-content: center;\r\n\talign-items: center;\r\n\tposition: relative;\r\n\tmargin-top: auto;\r\n\tbottom: 0;\r\n}\r\n\r\n#network-status.online i.material-icons {\r\n\tcolor: hsl(151, 100%, 31%);\r\n}\r\n\r\n#network-status.offline i.material-icons svg {\r\n\tfill: red;\r\n\twidth: 1em;\r\n\theight: 1em;\r\n}\r\n</style>\r\n\r\n<script>\r\nimport { changeTab } from \'@js/tabs.js\'\r\n\r\nexport default {\r\n\tname: \'the-sidebar\',\r\n\tdata: () => ({\r\n\t\tappOnline: null,\r\n\t\tactiveTheme: \'light\',\r\n\t\tthemes: [\'purple\', \'dark\', \'light\']\r\n\t}),\r\n\tmounted() {\r\n\t\t/* === Online status handling === */\r\n\t\tthis.appOnline = navigator.onLine\r\n\r\n\t\twindow.addEventListener(\'online\', () => {\r\n\t\t\tthis.appOnline = true\r\n\t\t})\r\n\r\n\t\twindow.addEventListener(\'offline\', () => {\r\n\t\t\tthis.appOnline = false\r\n\t\t})\r\n\r\n\t\t/* === Current theme handling === */\r\n\t\tthis.activeTheme = localStorage.getItem(\'selectedTheme\') || \'light\'\r\n\t},\r\n\tmethods: {\r\n\t\tchangeTheme(newTheme) {\r\n\t\t\tif (newTheme === this.activeTheme) return\r\n\r\n\t\t\tthis.activeTheme = newTheme\r\n\t\t\tdocument.documentElement.setAttribute(\'data-theme\', newTheme)\r\n\t\t\tlocalStorage.setItem(\'selectedTheme\', newTheme)\r\n\r\n\t\t\t// Animating everything to have a smoother theme switch\r\n\t\t\tdocument.querySelectorAll(\'*\').forEach(el => {\r\n\t\t\t\tel.style.transition = \'all 200ms ease-in-out\'\r\n\t\t\t})\r\n\r\n\t\t\tdocument.documentElement.addEventListener(\'transitionend\', function transitionHandler() {\r\n\t\t\t\tdocument.querySelectorAll(\'*\').forEach(el => {\r\n\t\t\t\t\tel.style.transition = \'\'\r\n\t\t\t\t})\r\n\r\n\t\t\t\tdocument.documentElement.removeEventListener(\'transitionend\', transitionHandler)\r\n\t\t\t})\r\n\t\t},\r\n\t\t/**\r\n\t\t * Handles click Event on the sidebar and changes tab\r\n\t\t * according to clicked icon.\r\n\t\t * Uses event delegation\r\n\t\t * @param\t\t{Event}\t\tevent\r\n\t\t */\r\n\t\thandleSidebarClick(event) {\r\n\t\t\tconst { target } = event\r\n\r\n\t\t\tconst wantToChangeTab = target.matches(\'.main_tablinks\') || target.parentElement.matches(\'.main_tablinks\')\r\n\r\n\t\t\tif (!wantToChangeTab) return\r\n\r\n\t\t\tlet sidebarEl = target.matches(\'.main_tablinks\') ? target : target.parentElement\r\n\t\t\tlet targetID = sidebarEl.id\r\n\t\t\tlet selectedTab = null\r\n\r\n\t\t\tswitch (targetID) {\r\n\t\t\t\tcase \'main_search_tablink\':\r\n\t\t\t\t\tselectedTab = \'search_tab\'\r\n\t\t\t\t\tthis.$router.push({\r\n\t\t\t\t\t\tname: \'Search\'\r\n\t\t\t\t\t})\r\n\t\t\t\t\tbreak\r\n\t\t\t\tcase \'main_home_tablink\':\r\n\t\t\t\t\tselectedTab = \'home_tab\'\r\n\t\t\t\t\tthis.$router.push({\r\n\t\t\t\t\t\tname: \'Home\'\r\n\t\t\t\t\t})\r\n\t\t\t\t\tbreak\r\n\t\t\t\tcase \'main_charts_tablink\':\r\n\t\t\t\t\tselectedTab = \'charts_tab\'\r\n\t\t\t\t\tthis.$router.push({\r\n\t\t\t\t\t\tname: \'Charts\'\r\n\t\t\t\t\t})\r\n\t\t\t\t\tbreak\r\n\t\t\t\tcase \'main_favorites_tablink\':\r\n\t\t\t\t\tselectedTab = \'favorites_tab\'\r\n\t\t\t\t\tthis.$router.push({\r\n\t\t\t\t\t\tname: \'Favorites\'\r\n\t\t\t\t\t})\r\n\t\t\t\t\tbreak\r\n\t\t\t\tcase \'main_analyzer_tablink\':\r\n\t\t\t\t\tselectedTab = \'analyzer_tab\'\r\n\t\t\t\t\tthis.$router.push({\r\n\t\t\t\t\t\tname: \'Link Analyzer\'\r\n\t\t\t\t\t})\r\n\t\t\t\t\tbreak\r\n\t\t\t\tcase \'main_settings_tablink\':\r\n\t\t\t\t\tselectedTab = \'settings_tab\'\r\n\t\t\t\t\tthis.$router.push({\r\n\t\t\t\t\t\tname: \'Settings\'\r\n\t\t\t\t\t})\r\n\t\t\t\t\tbreak\r\n\t\t\t\tcase \'main_about_tablink\':\r\n\t\t\t\t\tselectedTab = \'about_tab\'\r\n\t\t\t\t\tthis.$router.push({\r\n\t\t\t\t\t\tname: \'About\'\r\n\t\t\t\t\t})\r\n\t\t\t\t\tbreak\r\n\r\n\t\t\t\tdefault:\r\n\t\t\t\t\tbreak\r\n\t\t\t}\r\n\r\n\t\t\tif (!selectedTab) return\r\n\r\n\t\t\tchangeTab(sidebarEl, \'main\', selectedTab)\r\n\t\t}\r\n\t}\r\n}\r\n<\/script>\r\n\r\n']},media:void 0})}),cp,"data-v-769c18e5",!1,0,(function t(){const e=document.head||document.getElementsByTagName("head")[0],n=t.styles||(t.styles={}),a="undefined"!=typeof navigator&&/msie [6-9]\\b/.test(navigator.userAgent.toLowerCase());return function(t,r){if(document.querySelector('style[data-vue-ssr-id~="'+t+'"]'))return;const i=a?r.media||"default":t,s=n[i]||(n[i]={ids:[],parts:[],element:void 0});if(!s.ids.includes(t)){let n=r.source,o=s.ids.length;if(s.ids.push(t),a&&(s.element=s.element||document.querySelector("style[data-group="+i+"]")),!s.element){const t=s.element=document.createElement("style");t.type="text/css",r.media&&t.setAttribute("media",r.media),a&&(t.setAttribute("data-group",i),t.setAttribute("data-next-index","0")),e.appendChild(t)}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 t=document.createTextNode(n),e=s.element.childNodes;e[o]&&s.element.removeChild(e[o]),e.length?s.element.insertBefore(t,e[o]):s.element.appendChild(t)}}}}));const pp={components:{TheMainSearch:rp},data:()=>({newScrolled:null}),methods:{handleContentScroll:bd((async function(){this.$refs.content.scrollTop+this.$refs.content.clientHeight<this.$refs.content.scrollHeight||"search_tab"===main_selected&&-1!==["track_search","album_search","artist_search","playlist_search"].indexOf(window.search_selected)&&(this.newScrolled=window.search_selected.split("_")[0],await this.$nextTick(),this.newScrolled=null)}),100)}};var fp=function(){var t=this.$createElement,e=this._self._c||t;return e("section",{ref:"content",attrs:{id:"content"},on:{scroll:this.handleContentScroll}},[e("div",{attrs:{id:"container"}},[e("router-view"),this._v(" "),e("TheMainSearch",{attrs:{"scrolled-search-type":this.newScrolled}})],1)])};fp._withStripped=!0;var hp=function(t,e,n,a,r,i,s,o){const l=("function"==typeof n?n.options:n)||{};l.__file="C:\\Users\\Roberto\\Dev\\repos\\deemix-pyweb\\webui\\src\\components\\TheContent.vue",l.render||(l.render=t.render,l.staticRenderFns=t.staticRenderFns,l._compiled=!0,r&&(l.functional=!0)),l._scopeId=a;{let t;if(e&&(t=function(t){e.call(this,s(t))}),void 0!==t)if(l.functional){const e=l.render;l.render=function(n,a){return t.call(a),e(n,a)}}else{const e=l.beforeCreate;l.beforeCreate=e?[].concat(e,t):[t]}}return l}({render:fp,staticRenderFns:[]},(function(t){t&&t("data-v-e1821e16_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",map:{version:3,sources:[],names:[],mappings:"",file:"TheContent.vue"},media:void 0})}),pp,void 0,!1,0,(function t(){const e=document.head||document.getElementsByTagName("head")[0],n=t.styles||(t.styles={}),a="undefined"!=typeof navigator&&/msie [6-9]\\b/.test(navigator.userAgent.toLowerCase());return function(t,r){if(document.querySelector('style[data-vue-ssr-id~="'+t+'"]'))return;const i=a?r.media||"default":t,s=n[i]||(n[i]={ids:[],parts:[],element:void 0});if(!s.ids.includes(t)){let n=r.source,o=s.ids.length;if(s.ids.push(t),a&&(s.element=s.element||document.querySelector("style[data-group="+i+"]")),!s.element){const t=s.element=document.createElement("style");t.type="text/css",r.media&&t.setAttribute("media",r.media),a&&(t.setAttribute("data-group",i),t.setAttribute("data-next-index","0")),e.appendChild(t)}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 t=document.createTextNode(n),e=s.element.childNodes;e[o]&&s.element.removeChild(e[o]),e.length?s.element.insertBefore(t,e[o]):s.element.appendChild(t)}}}}));const vp={methods:{handleSearchBarKeyup(t){if(13!==t.keyCode)return;let e=this.$refs.searchbar.value;if(yd(e))t.ctrlKey?this.$root.$emit("QualityModal:open",e):"analyzer_tab"===main_selected?(eo.$emit("linkAnalyzerTab:reset"),to.emit("analyzeLink",e)):vd.sendAddToQueue(e);else{if(""===e)return;this.$root.$emit("mainSearch:showNewResults",e,main_selected)}}}};var mp=function(){var t=this,e=t.$createElement,n=t._self._c||e;return n("header",{attrs:{id:"search"}},[t._m(0),t._v(" "),n("input",{ref:"searchbar",attrs:{id:"searchbar",autocomplete:"off",type:"search",name:"searchbar",value:"",placeholder:t.$t("searchbar"),autofocus:""},on:{keyup:function(e){return t.handleSearchBarKeyup(e)}}})])};mp._withStripped=!0;const gp={components:{TheContent:hp,TheSearchBar:function(t,e,n,a,r,i,s,o){const l=("function"==typeof n?n.options:n)||{};l.__file="C:\\Users\\Roberto\\Dev\\repos\\deemix-pyweb\\webui\\src\\components\\TheSearchBar.vue",l.render||(l.render=t.render,l.staticRenderFns=t.staticRenderFns,l._compiled=!0,r&&(l.functional=!0)),l._scopeId=a;{let t;if(e&&(t=function(t){e.call(this,s(t))}),void 0!==t)if(l.functional){const e=l.render;l.render=function(n,a){return t.call(a),e(n,a)}}else{const e=l.beforeCreate;l.beforeCreate=e?[].concat(e,t):[t]}}return l}({render:mp,staticRenderFns:[function(){var t=this.$createElement,e=this._self._c||t;return e("div",{staticClass:"search__icon"},[e("i",{staticClass:"material-icons"},[this._v("search")])])}]},(function(t){t&&t("data-v-46bf7184_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",map:{version:3,sources:[],names:[],mappings:"",file:"TheSearchBar.vue"},media:void 0})}),vp,void 0,!1,0,(function t(){const e=document.head||document.getElementsByTagName("head")[0],n=t.styles||(t.styles={}),a="undefined"!=typeof navigator&&/msie [6-9]\\b/.test(navigator.userAgent.toLowerCase());return function(t,r){if(document.querySelector('style[data-vue-ssr-id~="'+t+'"]'))return;const i=a?r.media||"default":t,s=n[i]||(n[i]={ids:[],parts:[],element:void 0});if(!s.ids.includes(t)){let n=r.source,o=s.ids.length;if(s.ids.push(t),a&&(s.element=s.element||document.querySelector("style[data-group="+i+"]")),!s.element){const t=s.element=document.createElement("style");t.type="text/css",r.media&&t.setAttribute("media",r.media),a&&(t.setAttribute("data-group",i),t.setAttribute("data-next-index","0")),e.appendChild(t)}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 t=document.createTextNode(n),e=s.element.childNodes;e[o]&&s.element.removeChild(e[o]),e.length?s.element.insertBefore(t,e[o]):s.element.appendChild(t)}}}})),BaseLoadingPlaceholder:ep}};var _p=function(){var t=this.$createElement,e=this._self._c||t;return e("div",{attrs:{id:"middle_section"}},[e("TheSearchBar"),this._v(" "),e("TheContent"),this._v(" "),e("BaseLoadingPlaceholder",{attrs:{id:"search_placeholder",text:"Searching...",hidden:!0}})],1)};_p._withStripped=!0;var yp=function(t,e,n,a,r,i,s,o){const l=("function"==typeof n?n.options:n)||{};l.__file="C:\\Users\\Roberto\\Dev\\repos\\deemix-pyweb\\webui\\src\\components\\TheMiddleSection.vue",l.render||(l.render=t.render,l.staticRenderFns=t.staticRenderFns,l._compiled=!0,r&&(l.functional=!0)),l._scopeId=a;{let t;if(e&&(t=function(t){e.call(this,s(t))}),void 0!==t)if(l.functional){const e=l.render;l.render=function(n,a){return t.call(a),e(n,a)}}else{const e=l.beforeCreate;l.beforeCreate=e?[].concat(e,t):[t]}}return l}({render:_p,staticRenderFns:[]},(function(t){t&&t("data-v-3be58f50_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",map:{version:3,sources:[],names:[],mappings:"",file:"TheMiddleSection.vue"},media:void 0})}),gp,void 0,!1,0,(function t(){const e=document.head||document.getElementsByTagName("head")[0],n=t.styles||(t.styles={}),a="undefined"!=typeof navigator&&/msie [6-9]\\b/.test(navigator.userAgent.toLowerCase());return function(t,r){if(document.querySelector('style[data-vue-ssr-id~="'+t+'"]'))return;const i=a?r.media||"default":t,s=n[i]||(n[i]={ids:[],parts:[],element:void 0});if(!s.ids.includes(t)){let n=r.source,o=s.ids.length;if(s.ids.push(t),a&&(s.element=s.element||document.querySelector("style[data-group="+i+"]")),!s.element){const t=s.element=document.createElement("style");t.type="text/css",r.media&&t.setAttribute("media",r.media),a&&(t.setAttribute("data-group",i),t.setAttribute("data-next-index","0")),e.appendChild(t)}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 t=document.createTextNode(n),e=s.element.childNodes;e[o]&&s.element.removeChild(e[o]),e.length?s.element.insertBefore(t,e[o]):s.element.appendChild(t)}}}}));const bp={data:()=>({cachedTabWidth:parseInt(localStorage.getItem("downloadTabWidth"))||300,queue:[],queueList:{},queueComplete:[]}),mounted(){to.on("startDownload",this.startDownload),to.on("init_downloadQueue",this.initQueue),to.on("addedToQueue",this.addToQueue),to.on("updateQueue",this.updateQueue),to.on("removedFromQueue",this.removeFromQueue),to.on("finishDownload",this.finishDownload),to.on("removedAllDownloads",this.removeAllDownloads),to.on("removedFinishedDownloads",this.removedFinishedDownloads),"true"===localStorage.getItem("slimDownloads")&&this.$refs.list.classList.add("slim"),"true"===localStorage.getItem("downloadTabOpen")&&(this.$refs.container.classList.remove("tab_hidden"),this.setTabWidth(this.cachedTabWidth)),document.addEventListener("mouseup",()=>{document.removeEventListener("mousemove",this.handleDrag)}),window.addEventListener("beforeunload",()=>{localStorage.setItem("downloadTabWidth",this.cachedTabWidth)})},methods:{setTabWidth(t){void 0===t?(this.$refs.container.style.width="",this.$refs.list.style.width=""):(this.$refs.container.style.width=t+"px",this.$refs.list.style.width=t+"px")},handleListClick(t){const{target:e}=t;if(!e.matches(".queue_icon[data-uuid]"))return;let n=e.innerText,a=Id(e).data("uuid");switch(n){case"remove":to.emit("removeFromQueue",a)}},initQueue(t){const{queue:e,queueComplete:n,currentItem:a,queueList:r}=t;n.length&&n.forEach(t=>{r[t].init=!0,this.addToQueue(r[t])}),a&&(r[a].init=!0,this.addToQueue(r[a],!0)),e.forEach(t=>{r[t].init=!0,this.addToQueue(r[t])})},addToQueue(t,e=!1){this.queueList[t.uuid]=t,t.downloaded+t.failed==t.size?-1==this.queueComplete.indexOf(t.uuid)&&this.queueComplete.push(t.uuid):-1==this.queue.indexOf(t.uuid)&&this.queue.push(t.uuid);let n=document.getElementById("download_"+t.uuid);if(void 0!==n&&null!=n||Id(this.$refs.list).append(`<div class="download_object" id="download_${t.uuid}" data-deezerid="${t.id}">\n\t\t\t\t\t\t<div class="download_info">\n\t\t\t\t\t\t\t<img width="75px" class="rounded coverart" src="${t.cover}" alt="Cover ${t.title}"/>\n\t\t\t\t\t\t\t<div class="download_info_data">\n\t\t\t\t\t\t\t\t<span class="download_line">${t.title}</span> <span class="download_slim_separator"> - </span>\n\t\t\t\t\t\t\t\t<span class="secondary-text">${t.artist}</span>\n\t\t\t\t\t\t\t</div>\n\t\t\t\t\t\t\t<div class="download_info_status">\n\t\t\t\t\t\t\t\t<span class="download_line"><span class="queue_downloaded">${t.downloaded+t.failed}</span>/${t.size}</span>\n\t\t\t\t\t\t\t</div>\n\t\t\t\t\t\t</div>\n\t\t\t\t\t\t<div class="download_bar">\n\t\t\t\t\t\t\t<div class="progress"><div id="bar_${t.uuid}" class="indeterminate"></div></div>\n\t\t\t\t\t\t\t<i class="material-icons queue_icon" data-uuid="${t.uuid}">remove</i>\n\t\t\t\t\t\t</div>\n\t\t\t\t\t</div>`),(t.progress>0||e)&&this.startDownload(t.uuid),Id("#bar_"+t.uuid).css("width",t.progress+"%"),t.failed>=1&&0==Id("#download_"+t.uuid+" .queue_failed").length&&Id("#download_"+t.uuid+" .download_info_status").append(`<span class="secondary-text inline-flex"><span class="download_slim_separator">(</span><span class="queue_failed_button inline-flex"><span class="queue_failed">${t.failed}</span><i class="material-icons">error_outline</i></span><span class="download_slim_separator">)</span></span>`),t.downloaded+t.failed==t.size){let e=Id("#download_"+t.uuid).find(".queue_icon");if(0==t.failed)e.text("done");else{let n=Id("#download_"+t.uuid).find(".queue_failed_button");e.addClass("clickable"),n.addClass("clickable"),e.bind("click",{item:t},this.showErrorsTab),n.bind("click",{item:t},this.showErrorsTab),t.failed>=t.size?e.text("error"):e.text("warning")}}t.init||Rd(this.$t("toasts.addedToQueue",[t.title]),"playlist_add_check")},updateQueue(t){const{uuid:e,downloaded:n,failed:a,progress:r,error:i,data:s,errid:o}=t;e&&this.queue.indexOf(e)>-1&&(n&&(this.queueList[e].downloaded++,Id("#download_"+e+" .queue_downloaded").text(this.queueList[e].downloaded+this.queueList[e].failed)),a&&(this.queueList[e].failed++,Id("#download_"+e+" .queue_downloaded").text(this.queueList[e].downloaded+this.queueList[e].failed),1==this.queueList[e].failed&&0==Id("#download_"+e+" .queue_failed").length?Id("#download_"+e+" .download_info_status").append('<span class="secondary-text inline-flex"><span class="download_slim_separator">(</span><span class="queue_failed_button inline-flex"><span class="queue_failed">1</span> <i class="material-icons">error_outline</i></span><span class="download_slim_separator">)</span></span>'):Id("#download_"+e+" .queue_failed").text(this.queueList[e].failed),this.queueList[e].errors.push({message:i,data:s,errid:o})),r&&(this.queueList[e].progress=r,Id("#bar_"+e).css("width",r+"%")))},removeFromQueue(t){let e=this.queue.indexOf(t);e>-1&&(this.queue.splice(e,1),Id("#download_"+this.queueList[t].uuid).remove(),delete this.queueList[t])},removeAllDownloads(t){if(this.queueComplete=[],""==t)this.queue=[],this.queueList={},Id(listEl).html("");else{this.queue=[t];let e=this.queueList[t];this.queueList={},this.queueList[t]=e,Id(".download_object").each((function(e){Id(this).attr("id")!="download_"+t&&Id(this).remove()}))}},removedFinishedDownloads(){this.queueComplete.forEach(t=>{Id("#download_"+t).remove()}),this.queueComplete=[]},toggleDownloadTab(t){this.setTabWidth(),this.$refs.container.style.transition="all 250ms ease-in-out";let e=this.$refs.container.classList.toggle("tab_hidden");e||this.setTabWidth(this.cachedTabWidth),localStorage.setItem("downloadTabOpen",!e)},cleanQueue(){to.emit("removeFinishedDownloads")},cancelQueue(){to.emit("cancelAllDownloads")},finishDownload(t){if(this.queue.indexOf(t)>-1){Rd(this.$t("toasts.finishDownload",[this.queueList[t].title]),"done"),Id("#bar_"+t).css("width","100%");let e=Id("#download_"+t).find(".queue_icon");if(0==this.queueList[t].failed)e.text("done");else{let n=Id("#download_"+t).find(".queue_failed_button");e.addClass("clickable"),n.addClass("clickable"),e.bind("click",{item:this.queueList[t]},this.showErrorsTab),n.bind("click",{item:this.queueList[t]},this.showErrorsTab),this.queueList[t].failed>=this.queueList[t].size?e.text("error"):e.text("warning")}let n=this.queue.indexOf(t);n>-1&&(this.queue.splice(n,1),this.queueComplete.push(t)),this.queue.length<=0&&Rd(this.$t("toasts.allDownloaded"),"done_all")}},openDownloadsFolder(){window.clientMode&&to.emit("openDownloadsFolder")},handleDrag(t){let e=window.innerWidth-t.pageX+2;e<250?e=250:e>500&&(e=500),this.cachedTabWidth=e,this.setTabWidth(e)},startDrag(){document.addEventListener("mousemove",this.handleDrag)},startDownload(t){Id("#bar_"+t).removeClass("indeterminate").addClass("determinate")},showErrorsTab(t){this.$root.$emit("showTabErrors",t.data.item,t.target)}}};var wp=function(){var t=this,e=t.$createElement,n=t._self._c||e;return n("div",{ref:"container",staticClass:"tab_hidden",attrs:{id:"download_tab_container","data-label":t.$t("downloads")},on:{transitionend:function(e){t.$refs.container.style.transition=""}}},[n("div",{ref:"dragHandler",attrs:{id:"download_tab_drag_handler"},on:{mousedown:function(e){return e.preventDefault(),t.startDrag(e)}}}),t._v(" "),n("i",{ref:"toggler",staticClass:"material-icons download_bar_icon",attrs:{id:"toggle_download_tab",title:t.$t("globals.toggle_download_tab_hint")},on:{click:function(e){return e.preventDefault(),t.toggleDownloadTab(e)}}}),t._v(" "),n("div",{attrs:{id:"queue_buttons"}},[n("i",{staticClass:"material-icons download_bar_icon hide",attrs:{id:"open_downloads_folder"},on:{click:t.openDownloadsFolder}},[t._v("\n\t\t\tfolder_open\n\t\t")]),t._v(" "),n("i",{staticClass:"material-icons download_bar_icon",attrs:{id:"clean_queue",title:t.$t("globals.clean_queue_hint")},on:{click:t.cleanQueue}},[t._v("clear_all")]),t._v(" "),n("i",{staticClass:"material-icons download_bar_icon",attrs:{id:"cancel_queue",title:t.$t("globals.cancel_queue_hint")},on:{click:t.cancelQueue}},[t._v("delete_sweep")])]),t._v(" "),n("div",{ref:"list",attrs:{id:"download_list"},on:{click:t.handleListClick}})])};wp._withStripped=!0;const Ap={components:{TheMiddleSection:yp,TheDownloadTab:function(t,e,n,a,r,i,s,o){const l=("function"==typeof n?n.options:n)||{};l.__file="C:\\Users\\Roberto\\Dev\\repos\\deemix-pyweb\\webui\\src\\components\\TheDownloadTab.vue",l.render||(l.render=t.render,l.staticRenderFns=t.staticRenderFns,l._compiled=!0,r&&(l.functional=!0)),l._scopeId=a;{let t;if(e&&(t=function(t){e.call(this,s(t))}),void 0!==t)if(l.functional){const e=l.render;l.render=function(n,a){return t.call(a),e(n,a)}}else{const e=l.beforeCreate;l.beforeCreate=e?[].concat(e,t):[t]}}return l}({render:wp,staticRenderFns:[]},(function(t){t&&t("data-v-276ee464_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\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\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:"TheDownloadTab.vue"},media:void 0})}),bp,void 0,!1,0,(function t(){const e=document.head||document.getElementsByTagName("head")[0],n=t.styles||(t.styles={}),a="undefined"!=typeof navigator&&/msie [6-9]\\b/.test(navigator.userAgent.toLowerCase());return function(t,r){if(document.querySelector('style[data-vue-ssr-id~="'+t+'"]'))return;const i=a?r.media||"default":t,s=n[i]||(n[i]={ids:[],parts:[],element:void 0});if(!s.ids.includes(t)){let n=r.source,o=s.ids.length;if(s.ids.push(t),a&&(s.element=s.element||document.querySelector("style[data-group="+i+"]")),!s.element){const t=s.element=document.createElement("style");t.type="text/css",r.media&&t.setAttribute("media",r.media),a&&(t.setAttribute("data-group",i),t.setAttribute("data-next-index","0")),e.appendChild(t)}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 t=document.createTextNode(n),e=s.element.childNodes;e[o]&&s.element.removeChild(e[o]),e.length?s.element.insertBefore(t,e[o]):s.element.appendChild(t)}}}}))}};var kp=function(){var t=this.$createElement,e=this._self._c||t;return e("main",{attrs:{id:"main_content"}},[e("TheMiddleSection"),this._v(" "),e("TheDownloadTab")],1)};kp._withStripped=!0;var Cp=function(t,e,n,a,r,i,s,o){const l=("function"==typeof n?n.options:n)||{};l.__file="C:\\Users\\Roberto\\Dev\\repos\\deemix-pyweb\\webui\\src\\components\\TheMainContent.vue",l.render||(l.render=t.render,l.staticRenderFns=t.staticRenderFns,l._compiled=!0,r&&(l.functional=!0)),l._scopeId=a;{let t;if(e&&(t=function(t){e.call(this,s(t))}),void 0!==t)if(l.functional){const e=l.render;l.render=function(n,a){return t.call(a),e(n,a)}}else{const e=l.beforeCreate;l.beforeCreate=e?[].concat(e,t):[t]}}return l}({render:kp,staticRenderFns:[]},(function(t){t&&t("data-v-15776af7_0",{source:"\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:"TheMainContent.vue"},media:void 0})}),Ap,void 0,!1,0,(function t(){const e=document.head||document.getElementsByTagName("head")[0],n=t.styles||(t.styles={}),a="undefined"!=typeof navigator&&/msie [6-9]\\b/.test(navigator.userAgent.toLowerCase());return function(t,r){if(document.querySelector('style[data-vue-ssr-id~="'+t+'"]'))return;const i=a?r.media||"default":t,s=n[i]||(n[i]={ids:[],parts:[],element:void 0});if(!s.ids.includes(t)){let n=r.source,o=s.ids.length;if(s.ids.push(t),a&&(s.element=s.element||document.querySelector("style[data-group="+i+"]")),!s.element){const t=s.element=document.createElement("style");t.type="text/css",r.media&&t.setAttribute("media",r.media),a&&(t.setAttribute("data-group",i),t.setAttribute("data-next-index","0")),e.appendChild(t)}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 t=document.createTextNode(n),e=s.element.childNodes;e[o]&&s.element.removeChild(e[o]),e.length?s.element.insertBefore(t,e[o]):s.element.appendChild(t)}}}}));const xp={data:()=>({previewStopped:!1}),mounted(){this.$refs.preview.volume=1,eo.$on("trackPreview:playPausePreview",this.playPausePreview),eo.$on("trackPreview:stopStackedTabsPreview",this.stopStackedTabsPreview),eo.$on("trackPreview:previewMouseEnter",this.previewMouseEnter),eo.$on("trackPreview:previewMouseLeave",this.previewMouseLeave)},methods:{async onCanPlay(){await this.$refs.preview.play(),this.previewStopped=!1,Id(this.$refs.preview).animate({volume:vol.preview_max_volume/100},500)},onTimeUpdate(){isNaN(this.$refs.preview.duration)||this.$refs.preview.currentTime<=this.$refs.preview.duration-1||(Id(this.$refs.preview).animate({volume:0},800),this.previewStopped=!0,Id("a[playing] > .preview_controls").css({opacity:0}),Id("*").removeAttr("playing"),Id(".preview_controls").text("play_arrow"),Id(".preview_playlist_controls").text("play_arrow"))},playPausePreview(t){t.preventDefault(),t.stopPropagation();const{currentTarget:e}=event;var n="I"==e.tagName?Id(e):Id(e).children("i");Id(e).attr("playing")?this.$refs.preview.paused?(this.$refs.preview.play(),this.previewStopped=!1,n.text("pause"),Id(this.$refs.preview).animate({volume:vol.preview_max_volume/100},500)):(this.previewStopped=!0,n.text("play_arrow"),Id(this.$refs.preview).animate({volume:0},250,"swing",()=>{this.$refs.preview.pause()})):(Id("*").removeAttr("playing"),Id(e).attr("playing",!0),Id(".preview_controls").text("play_arrow"),Id(".preview_playlist_controls").text("play_arrow"),Id(".preview_controls").css({opacity:0}),n.text("pause"),n.css({opacity:1}),this.previewStopped=!1,Id(this.$refs.preview).animate({volume:0},250,"swing",()=>{this.$refs.preview.pause(),Id("#preview-track_source").prop("src",Id(e).data("preview")),this.$refs.preview.load()}))},stopStackedTabsPreview(){Id(".preview_playlist_controls").filter((function(){return Id(this).attr("playing")})).length>0&&(Id(this.$refs.preview).animate({volume:0},800),this.previewStopped=!0,Id(".preview_playlist_controls").removeAttr("playing"),Id(".preview_playlist_controls").text("play_arrow"))},previewMouseEnter(t){Id(t.currentTarget).css({opacity:1})},previewMouseLeave(t){const{currentTarget:e}=t;(Id(e).parent().attr("playing")&&this.previewStopped||!Id(e).parent().attr("playing"))&&Id(e).css({opacity:0},200)}}};var Tp=function(){var t=this.$createElement,e=this._self._c||t;return e("audio",{ref:"preview",attrs:{id:"preview-track"},on:{canplay:this.onCanPlay,timeupdate:this.onTimeUpdate}},[e("source",{attrs:{id:"preview-track_source",src:"",type:"audio/mpeg"}})])};Tp._withStripped=!0;var $p=function(t,e,n,a,r,i,s,o){const l=("function"==typeof n?n.options:n)||{};l.__file="C:\\Users\\Roberto\\Dev\\repos\\deemix-pyweb\\webui\\src\\components\\TheTrackPreview.vue",l.render||(l.render=t.render,l.staticRenderFns=t.staticRenderFns,l._compiled=!0,r&&(l.functional=!0)),l._scopeId=a;{let t;if(e&&(t=function(t){e.call(this,s(t))}),void 0!==t)if(l.functional){const e=l.render;l.render=function(n,a){return t.call(a),e(n,a)}}else{const e=l.beforeCreate;l.beforeCreate=e?[].concat(e,t):[t]}}return l}({render:Tp,staticRenderFns:[]},(function(t){t&&t("data-v-1f62efc9_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",map:{version:3,sources:[],names:[],mappings:"",file:"TheTrackPreview.vue"},media:void 0})}),xp,void 0,!1,0,(function t(){const e=document.head||document.getElementsByTagName("head")[0],n=t.styles||(t.styles={}),a="undefined"!=typeof navigator&&/msie [6-9]\\b/.test(navigator.userAgent.toLowerCase());return function(t,r){if(document.querySelector('style[data-vue-ssr-id~="'+t+'"]'))return;const i=a?r.media||"default":t,s=n[i]||(n[i]={ids:[],parts:[],element:void 0});if(!s.ids.includes(t)){let n=r.source,o=s.ids.length;if(s.ids.push(t),a&&(s.element=s.element||document.querySelector("style[data-group="+i+"]")),!s.element){const t=s.element=document.createElement("style");t.type="text/css",r.media&&t.setAttribute("media",r.media),a&&(t.setAttribute("data-group",i),t.setAttribute("data-next-index","0")),e.appendChild(t)}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 t=document.createTextNode(n),e=s.element.childNodes;e[o]&&s.element.removeChild(e[o]),e.length?s.element.insertBefore(t,e[o]):s.element.appendChild(t)}}}}));const Sp={data:()=>({open:!1,url:""}),mounted(){this.$root.$on("QualityModal:open",this.openModal),this.$refs.modal.addEventListener("webkitAnimationEnd",this.handleAnimationEnd)},methods:{tryToDownloadTrack(t){const{target:e}=t;this.$refs.modal.classList.add("animated","fadeOut"),e.matches(".quality-button")&&vd.sendAddToQueue(this.url,e.dataset.qualityValue)},openModal(t){this.url=t,this.open=!0,this.$refs.modal.classList.add("animated","fadeIn")},handleAnimationEnd(t){const{animationName:e}=t;this.$refs.modal.classList.remove("animated",e),"fadeIn"!==e&&(this.open=!1)}}};var Lp=function(){var t=this,e=t.$createElement,n=t._self._c||e;return n("div",{directives:[{name:"show",rawName:"v-show",value:t.open,expression:"open"}],ref:"modal",staticClass:"smallmodal",attrs:{id:"modal_quality"},on:{click:function(e){return t.tryToDownloadTrack(e)}}},[n("div",{staticClass:"smallmodal-content"},[n("button",{staticClass:"quality-button",attrs:{"data-quality-value":"9"}},[t._v(t._s(t.$t("globals.download",["FLAC"])))]),t._v(" "),n("button",{staticClass:"quality-button",attrs:{"data-quality-value":"3"}},[t._v(t._s(t.$t("globals.download",["MP3 320kbps"])))]),t._v(" "),n("button",{staticClass:"quality-button",attrs:{"data-quality-value":"1"}},[t._v(t._s(t.$t("globals.download",["MP3 128kbps"])))]),t._v(" "),n("button",{staticClass:"quality-button",attrs:{"data-quality-value":"15"}},[t._v("\n\t\t\t"+t._s(t.$t("globals.download",["360 Reality Audio [HQ]"]))+"\n\t\t")]),t._v(" "),n("button",{staticClass:"quality-button",attrs:{"data-quality-value":"14"}},[t._v("\n\t\t\t"+t._s(t.$t("globals.download",["360 Reality Audio [MQ]"]))+"\n\t\t")]),t._v(" "),n("button",{staticClass:"quality-button",attrs:{"data-quality-value":"13"}},[t._v("\n\t\t\t"+t._s(t.$t("globals.download",["360 Reality Audio [LQ]"]))+"\n\t\t")])])])};Lp._withStripped=!0;const Ep={components:{TheSidebar:dp,TheMainContent:Cp,TheTrackPreview:$p,TheQualityModal:function(t,e,n,a,r,i,s,o){const l=("function"==typeof n?n.options:n)||{};l.__file="C:\\Users\\Roberto\\Dev\\repos\\deemix-pyweb\\webui\\src\\components\\TheQualityModal.vue",l.render||(l.render=t.render,l.staticRenderFns=t.staticRenderFns,l._compiled=!0,r&&(l.functional=!0)),l._scopeId=a;{let t;if(e&&(t=function(t){e.call(this,s(t))}),void 0!==t)if(l.functional){const e=l.render;l.render=function(n,a){return t.call(a),e(n,a)}}else{const e=l.beforeCreate;l.beforeCreate=e?[].concat(e,t):[t]}}return l}({render:Lp,staticRenderFns:[]},(function(t){t&&t("data-v-cf1c842e_0",{source:"\n.smallmodal {\r\n\tposition: fixed;\r\n\tz-index: 1250;\r\n\tleft: 0;\r\n\ttop: 0;\r\n\twidth: 100%;\r\n\theight: 100%;\r\n\toverflow: auto;\r\n\tbackground-color: hsla(0, 0%, 0%, 0.4);\r\n\tanimation-duration: 0.3s;\n}\n.smallmodal-content {\r\n\tbackground-color: transparent;\r\n\tmargin: auto;\r\n\twidth: var(--modal-content-width);\r\n\tposition: relative;\r\n\ttop: 50%;\r\n\ttransform: translateY(-50%);\n}\n.smallmodal-content button {\r\n\twidth: 100%;\r\n\tmargin-bottom: 8px;\n}\r\n",map:{version:3,sources:["C:\\Users\\Roberto\\Dev\\repos\\deemix-pyweb\\webui/C:\\Users\\Roberto\\Dev\\repos\\deemix-pyweb\\webui\\src\\components\\TheQualityModal.vue"],names:[],mappings:";AAmBA;CACA,eAAA;CACA,aAAA;CACA,OAAA;CACA,MAAA;CACA,WAAA;CACA,YAAA;CACA,cAAA;CACA,sCAAA;CACA,wBAAA;AACA;AAEA;CACA,6BAAA;CACA,YAAA;CACA,iCAAA;CACA,kBAAA;CACA,QAAA;CACA,2BAAA;AACA;AAEA;CACA,WAAA;CACA,kBAAA;AACA",file:"TheQualityModal.vue",sourcesContent:["<template>\r\n\t<div id=\"modal_quality\" class=\"smallmodal\" v-show=\"open\" @click=\"tryToDownloadTrack($event)\" ref=\"modal\">\r\n\t\t<div class=\"smallmodal-content\">\r\n\t\t\t<button class=\"quality-button\" data-quality-value=\"9\">{{ $t('globals.download', ['FLAC']) }}</button>\r\n\t\t\t<button class=\"quality-button\" data-quality-value=\"3\">{{ $t('globals.download', ['MP3 320kbps']) }}</button>\r\n\t\t\t<button class=\"quality-button\" data-quality-value=\"1\">{{ $t('globals.download', ['MP3 128kbps']) }}</button>\r\n\t\t\t<button class=\"quality-button\" data-quality-value=\"15\">\r\n\t\t\t\t{{ $t('globals.download', ['360 Reality Audio [HQ]']) }}\r\n\t\t\t</button>\r\n\t\t\t<button class=\"quality-button\" data-quality-value=\"14\">\r\n\t\t\t\t{{ $t('globals.download', ['360 Reality Audio [MQ]']) }}\r\n\t\t\t</button>\r\n\t\t\t<button class=\"quality-button\" data-quality-value=\"13\">\r\n\t\t\t\t{{ $t('globals.download', ['360 Reality Audio [LQ]']) }}\r\n\t\t\t</button>\r\n\t\t</div>\r\n\t</div>\r\n</template>\r\n<style>\r\n.smallmodal {\r\n\tposition: fixed;\r\n\tz-index: 1250;\r\n\tleft: 0;\r\n\ttop: 0;\r\n\twidth: 100%;\r\n\theight: 100%;\r\n\toverflow: auto;\r\n\tbackground-color: hsla(0, 0%, 0%, 0.4);\r\n\tanimation-duration: 0.3s;\r\n}\r\n\r\n.smallmodal-content {\r\n\tbackground-color: transparent;\r\n\tmargin: auto;\r\n\twidth: var(--modal-content-width);\r\n\tposition: relative;\r\n\ttop: 50%;\r\n\ttransform: translateY(-50%);\r\n}\r\n\r\n.smallmodal-content button {\r\n\twidth: 100%;\r\n\tmargin-bottom: 8px;\r\n}\r\n</style>\r\n<script>\r\nimport Downloads from '@/utils/downloads'\r\n\r\nexport default {\r\n\tdata: () => ({\r\n\t\topen: false,\r\n\t\turl: ''\r\n\t}),\r\n\tmounted() {\r\n\t\tthis.$root.$on('QualityModal:open', this.openModal)\r\n\r\n\t\tthis.$refs.modal.addEventListener('webkitAnimationEnd', this.handleAnimationEnd)\r\n\t},\r\n\tmethods: {\r\n\t\ttryToDownloadTrack(event) {\r\n\t\t\tconst { target } = event\r\n\r\n\t\t\tthis.$refs.modal.classList.add('animated', 'fadeOut')\r\n\r\n\t\t\t// If true, the click did not happen on a button but outside\r\n\t\t\tif (!target.matches('.quality-button')) return\r\n\r\n\t\t\tDownloads.sendAddToQueue(this.url, target.dataset.qualityValue)\r\n\t\t},\r\n\t\topenModal(link) {\r\n\t\t\tthis.url = link\r\n\t\t\tthis.open = true\r\n\t\t\tthis.$refs.modal.classList.add('animated', 'fadeIn')\r\n\t\t},\r\n\t\thandleAnimationEnd(event) {\r\n\t\t\tconst { animationName } = event\r\n\r\n\t\t\tthis.$refs.modal.classList.remove('animated', animationName)\r\n\r\n\t\t\tif (animationName === 'fadeIn') return\r\n\r\n\t\t\tthis.open = false\r\n\t\t}\r\n\t}\r\n}\r\n<\/script>\r\n"]},media:void 0})}),Sp,void 0,!1,0,(function t(){const e=document.head||document.getElementsByTagName("head")[0],n=t.styles||(t.styles={}),a="undefined"!=typeof navigator&&/msie [6-9]\\b/.test(navigator.userAgent.toLowerCase());return function(t,r){if(document.querySelector('style[data-vue-ssr-id~="'+t+'"]'))return;const i=a?r.media||"default":t,s=n[i]||(n[i]={ids:[],parts:[],element:void 0});if(!s.ids.includes(t)){let n=r.source,o=s.ids.length;if(s.ids.push(t),a&&(s.element=s.element||document.querySelector("style[data-group="+i+"]")),!s.element){const t=s.element=document.createElement("style");t.type="text/css",r.media&&t.setAttribute("media",r.media),a&&(t.setAttribute("data-group",i),t.setAttribute("data-next-index","0")),e.appendChild(t)}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 t=document.createTextNode(n),e=s.element.childNodes;e[o]&&s.element.removeChild(e[o]),e.length?s.element.insertBefore(t,e[o]):s.element.appendChild(t)}}}})),BaseLoadingPlaceholder:ep}};var Np=function(){var t=this.$createElement,e=this._self._c||t;return e("div",{staticStyle:{height:"inherit"}},[e("BaseLoadingPlaceholder",{attrs:{id:"start_app_placeholder",text:"Connecting to the server..."}}),this._v(" "),e("TheSidebar"),this._v(" "),e("TheMainContent"),this._v(" "),e("TheTrackPreview"),this._v(" "),e("TheQualityModal")],1)};Np._withStripped=!0;var Dp=function(t,e,n,a,r,i,s,o){const l=("function"==typeof n?n.options:n)||{};l.__file="C:\\Users\\Roberto\\Dev\\repos\\deemix-pyweb\\webui\\src\\components\\App.vue",l.render||(l.render=t.render,l.staticRenderFns=t.staticRenderFns,l._compiled=!0,r&&(l.functional=!0)),l._scopeId=a;{let t;if(e&&(t=function(t){e.call(this,s(t))}),void 0!==t)if(l.functional){const e=l.render;l.render=function(n,a){return t.call(a),e(n,a)}}else{const e=l.beforeCreate;l.beforeCreate=e?[].concat(e,t):[t]}}return l}({render:Np,staticRenderFns:[]},(function(t){t&&t("data-v-6007eb3c_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",map:{version:3,sources:[],names:[],mappings:"",file:"App.vue"},media:void 0})}),Ep,void 0,!1,0,(function t(){const e=document.head||document.getElementsByTagName("head")[0],n=t.styles||(t.styles={}),a="undefined"!=typeof navigator&&/msie [6-9]\\b/.test(navigator.userAgent.toLowerCase());return function(t,r){if(document.querySelector('style[data-vue-ssr-id~="'+t+'"]'))return;const i=a?r.media||"default":t,s=n[i]||(n[i]={ids:[],parts:[],element:void 0});if(!s.ids.includes(t)){let n=r.source,o=s.ids.length;if(s.ids.push(t),a&&(s.element=s.element||document.querySelector("style[data-group="+i+"]")),!s.element){const t=s.element=document.createElement("style");t.type="text/css",r.media&&t.setAttribute("media",r.media),a&&(t.setAttribute("data-group",i),t.setAttribute("data-next-index","0")),e.appendChild(t)}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 t=document.createTextNode(n),e=s.element.childNodes;e[o]&&s.element.removeChild(e[o]),e.length?s.element.insertBefore(t,e[o]):s.element.appendChild(t)}}}})),Pp=["style","currency","currencyDisplay","useGrouping","minimumIntegerDigits","minimumFractionDigits","maximumFractionDigits","minimumSignificantDigits","maximumSignificantDigits","localeMatcher","formatMatcher","unit"];
/*!
* vue-i18n v8.18.2
* (c) 2020 kazuya kawaguchi
* Released under the MIT License.
*/function Ip(t,e){"undefined"!=typeof console&&(console.warn("[vue-i18n] "+t),e&&console.warn(e.stack))}var Op=Array.isArray;function Rp(t){return null!==t&&"object"==typeof t}function Fp(t){return"string"==typeof t}var Mp=Object.prototype.toString;function jp(t){return"[object Object]"===Mp.call(t)}function Bp(t){return null==t}function qp(){for(var t=[],e=arguments.length;e--;)t[e]=arguments[e];var n=null,a=null;return 1===t.length?Rp(t[0])||Array.isArray(t[0])?a=t[0]:"string"==typeof t[0]&&(n=t[0]):2===t.length&&("string"==typeof t[0]&&(n=t[0]),(Rp(t[1])||Array.isArray(t[1]))&&(a=t[1])),{locale:n,params:a}}function zp(t){return JSON.parse(JSON.stringify(t))}function Up(t,e){return!!~t.indexOf(e)}var Hp=Object.prototype.hasOwnProperty;function Vp(t,e){return Hp.call(t,e)}function Wp(t){for(var e=arguments,n=Object(t),a=1;a<arguments.length;a++){var r=e[a];if(null!=r){var i=void 0;for(i in r)Vp(r,i)&&(Rp(r[i])?n[i]=Wp(n[i],r[i]):n[i]=r[i])}}return n}function Qp(t,e){if(t===e)return!0;var n=Rp(t),a=Rp(e);if(!n||!a)return!n&&!a&&String(t)===String(e);try{var r=Array.isArray(t),i=Array.isArray(e);if(r&&i)return t.length===e.length&&t.every((function(t,n){return Qp(t,e[n])}));if(r||i)return!1;var s=Object.keys(t),o=Object.keys(e);return s.length===o.length&&s.every((function(n){return Qp(t[n],e[n])}))}catch(t){return!1}}var Gp={beforeCreate:function(){var t=this.$options;if(t.i18n=t.i18n||(t.__i18n?{}:null),t.i18n){if(t.i18n instanceof Cf){if(t.__i18n)try{var e={};t.__i18n.forEach((function(t){e=Wp(e,JSON.parse(t))})),Object.keys(e).forEach((function(n){t.i18n.mergeLocaleMessage(n,e[n])}))}catch(t){}this._i18n=t.i18n,this._i18nWatcher=this._i18n.watchI18nData()}else if(jp(t.i18n)){var n=this.$root&&this.$root.$i18n&&this.$root.$i18n instanceof Cf?this.$root.$i18n:null;if(n&&(t.i18n.root=this.$root,t.i18n.formatter=n.formatter,t.i18n.fallbackLocale=n.fallbackLocale,t.i18n.formatFallbackMessages=n.formatFallbackMessages,t.i18n.silentTranslationWarn=n.silentTranslationWarn,t.i18n.silentFallbackWarn=n.silentFallbackWarn,t.i18n.pluralizationRules=n.pluralizationRules,t.i18n.preserveDirectiveContent=n.preserveDirectiveContent),t.__i18n)try{var a={};t.__i18n.forEach((function(t){a=Wp(a,JSON.parse(t))})),t.i18n.messages=a}catch(t){}var r=t.i18n.sharedMessages;r&&jp(r)&&(t.i18n.messages=Wp(t.i18n.messages,r)),this._i18n=new Cf(t.i18n),this._i18nWatcher=this._i18n.watchI18nData(),(void 0===t.i18n.sync||t.i18n.sync)&&(this._localeWatcher=this.$i18n.watchLocale()),n&&n.onComponentInstanceCreated(this._i18n)}}else this.$root&&this.$root.$i18n&&this.$root.$i18n instanceof Cf?this._i18n=this.$root.$i18n:t.parent&&t.parent.$i18n&&t.parent.$i18n instanceof Cf&&(this._i18n=t.parent.$i18n)},beforeMount:function(){var t=this.$options;t.i18n=t.i18n||(t.__i18n?{}:null),t.i18n?(t.i18n instanceof Cf||jp(t.i18n))&&(this._i18n.subscribeDataChanging(this),this._subscribing=!0):(this.$root&&this.$root.$i18n&&this.$root.$i18n instanceof Cf||t.parent&&t.parent.$i18n&&t.parent.$i18n instanceof Cf)&&(this._i18n.subscribeDataChanging(this),this._subscribing=!0)},beforeDestroy:function(){if(this._i18n){var t=this;this.$nextTick((function(){t._subscribing&&(t._i18n.unsubscribeDataChanging(t),delete t._subscribing),t._i18nWatcher&&(t._i18nWatcher(),t._i18n.destroyVM(),delete t._i18nWatcher),t._localeWatcher&&(t._localeWatcher(),delete t._localeWatcher)}))}}},Kp={name:"i18n",functional:!0,props:{tag:{type:[String,Boolean],default:"span"},path:{type:String,required:!0},locale:{type:String},places:{type:[Array,Object]}},render:function(t,e){var n=e.data,a=e.parent,r=e.props,i=e.slots,s=a.$i18n;if(s){var o=r.path,l=r.locale,c=r.places,u=i(),d=s.i(o,l,function(t){var e;for(e in t)if("default"!==e)return!1;return Boolean(e)}(u)||c?function(t,e){var n=e?function(t){return Array.isArray(t)?t.reduce(Jp,{}):Object.assign({},t)}(e):{};if(!t)return n;var a=(t=t.filter((function(t){return t.tag||""!==t.text.trim()}))).every(Xp);return t.reduce(a?Yp:Jp,n)}(u.default,c):u),p=r.tag&&!0!==r.tag||!1===r.tag?r.tag:"span";return p?t(p,n,d):d}}};function Yp(t,e){return e.data&&e.data.attrs&&e.data.attrs.place&&(t[e.data.attrs.place]=e),t}function Jp(t,e,n){return t[n]=e,t}function Xp(t){return Boolean(t.data&&t.data.attrs&&t.data.attrs.place)}var Zp,tf={name:"i18n-n",functional:!0,props:{tag:{type:[String,Boolean],default:"span"},value:{type:Number,required:!0},format:{type:[String,Object]},locale:{type:String}},render:function(t,e){var n=e.props,a=e.parent,r=e.data,i=a.$i18n;if(!i)return null;var s=null,o=null;Fp(n.format)?s=n.format:Rp(n.format)&&(n.format.key&&(s=n.format.key),o=Object.keys(n.format).reduce((function(t,e){var a;return Up(Pp,e)?Object.assign({},t,((a={})[e]=n.format[e],a)):t}),null));var l=n.locale||i.locale,c=i._ntp(n.value,l,s,o),u=c.map((function(t,e){var n,a=r.scopedSlots&&r.scopedSlots[t.type];return a?a(((n={})[t.type]=t.value,n.index=e,n.parts=c,n)):t.value})),d=n.tag&&!0!==n.tag||!1===n.tag?n.tag:"span";return d?t(d,{attrs:r.attrs,class:r.class,staticClass:r.staticClass},u):u}};function ef(t,e,n){rf(t,n)&&sf(t,e,n)}function nf(t,e,n,a){if(rf(t,n)){var r=n.context.$i18n;(function(t,e){var n=e.context;return t._locale===n.$i18n.locale})(t,n)&&Qp(e.value,e.oldValue)&&Qp(t._localeMessage,r.getLocaleMessage(r.locale))||sf(t,e,n)}}function af(t,e,n,a){if(n.context){var r=n.context.$i18n||{};e.modifiers.preserve||r.preserveDirectiveContent||(t.textContent=""),t._vt=void 0,delete t._vt,t._locale=void 0,delete t._locale,t._localeMessage=void 0,delete t._localeMessage}else Ip("Vue instance does not exists in VNode context")}function rf(t,e){var n=e.context;return n?!!n.$i18n||(Ip("VueI18n instance does not exists in Vue instance"),!1):(Ip("Vue instance does not exists in VNode context"),!1)}function sf(t,e,n){var a,r,i=function(t){var e,n,a,r;Fp(t)?e=t:jp(t)&&(e=t.path,n=t.locale,a=t.args,r=t.choice);return{path:e,locale:n,args:a,choice:r}}(e.value),s=i.path,o=i.locale,l=i.args,c=i.choice;if(s||o||l)if(s){var u=n.context;t._vt=t.textContent=null!=c?(a=u.$i18n).tc.apply(a,[s,c].concat(of(o,l))):(r=u.$i18n).t.apply(r,[s].concat(of(o,l))),t._locale=u.$i18n.locale,t._localeMessage=u.$i18n.getLocaleMessage(u.$i18n.locale)}else Ip("`path` is required in v-t directive");else Ip("value type not supported")}function of(t,e){var n=[];return t&&n.push(t),e&&(Array.isArray(e)||jp(e))&&n.push(e),n}function lf(t){lf.installed=!0;(Zp=t).version&&Number(Zp.version.split(".")[0]);!function(t){t.prototype.hasOwnProperty("$i18n")||Object.defineProperty(t.prototype,"$i18n",{get:function(){return this._i18n}}),t.prototype.$t=function(t){for(var e=[],n=arguments.length-1;n-- >0;)e[n]=arguments[n+1];var a=this.$i18n;return a._t.apply(a,[t,a.locale,a._getMessages(),this].concat(e))},t.prototype.$tc=function(t,e){for(var n=[],a=arguments.length-2;a-- >0;)n[a]=arguments[a+2];var r=this.$i18n;return r._tc.apply(r,[t,r.locale,r._getMessages(),this,e].concat(n))},t.prototype.$te=function(t,e){var n=this.$i18n;return n._te(t,n.locale,n._getMessages(),e)},t.prototype.$d=function(t){for(var e,n=[],a=arguments.length-1;a-- >0;)n[a]=arguments[a+1];return(e=this.$i18n).d.apply(e,[t].concat(n))},t.prototype.$n=function(t){for(var e,n=[],a=arguments.length-1;a-- >0;)n[a]=arguments[a+1];return(e=this.$i18n).n.apply(e,[t].concat(n))}}(Zp),Zp.mixin(Gp),Zp.directive("t",{bind:ef,update:nf,unbind:af}),Zp.component(Kp.name,Kp),Zp.component(tf.name,tf),Zp.config.optionMergeStrategies.i18n=function(t,e){return void 0===e?t:e}}var cf=function(){this._caches=Object.create(null)};cf.prototype.interpolate=function(t,e){if(!e)return[t];var n=this._caches[t];return n||(n=function(t){var e=[],n=0,a="";for(;n<t.length;){var r=t[n++];if("{"===r){a&&e.push({type:"text",value:a}),a="";var i="";for(r=t[n++];void 0!==r&&"}"!==r;)i+=r,r=t[n++];var s="}"===r,o=uf.test(i)?"list":s&&df.test(i)?"named":"unknown";e.push({value:i,type:o})}else"%"===r?"{"!==t[n]&&(a+=r):a+=r}return a&&e.push({type:"text",value:a}),e}(t),this._caches[t]=n),function(t,e){var n=[],a=0,r=Array.isArray(e)?"list":Rp(e)?"named":"unknown";if("unknown"===r)return n;for(;a<t.length;){var i=t[a];switch(i.type){case"text":n.push(i.value);break;case"list":n.push(e[parseInt(i.value,10)]);break;case"named":"named"===r&&n.push(e[i.value])}a++}return n}(n,e)};var uf=/^(?:\d)+/,df=/^(?:\w)+/;var pf=[];pf[0]={ws:[0],ident:[3,0],"[":[4],eof:[7]},pf[1]={ws:[1],".":[2],"[":[4],eof:[7]},pf[2]={ws:[2],ident:[3,0],0:[3,0],number:[3,0]},pf[3]={ident:[3,0],0:[3,0],number:[3,0],ws:[1,1],".":[2,1],"[":[4,1],eof:[7,1]},pf[4]={"'":[5,0],'"':[6,0],"[":[4,2],"]":[1,3],eof:8,else:[4,0]},pf[5]={"'":[4,0],eof:8,else:[5,0]},pf[6]={'"':[4,0],eof:8,else:[6,0]};var ff=/^\s?(?:true|false|-?[\d.]+|'[^']*'|"[^"]*")\s?$/;function hf(t){if(null==t)return"eof";switch(t.charCodeAt(0)){case 91:case 93:case 46:case 34:case 39:return t;case 95:case 36:case 45:return"ident";case 9:case 10:case 13:case 160:case 65279:case 8232:case 8233:return"ws"}return"ident"}function vf(t){var e,n=t.trim();return("0"!==t.charAt(0)||!isNaN(t))&&(e=n,ff.test(e)?function(t){var e=t.charCodeAt(0);return e!==t.charCodeAt(t.length-1)||34!==e&&39!==e?t:t.slice(1,-1)}(n):"*"+n)}var mf=function(){this._cache=Object.create(null)};mf.prototype.parsePath=function(t){var e=this._cache[t];return e||(e=function(t){var e,n,a,r,i,s,o,l=[],c=-1,u=0,d=0,p=[];function f(){var e=t[c+1];if(5===u&&"'"===e||6===u&&'"'===e)return c++,a="\\"+e,p[0](),!0}for(p[1]=function(){void 0!==n&&(l.push(n),n=void 0)},p[0]=function(){void 0===n?n=a:n+=a},p[2]=function(){p[0](),d++},p[3]=function(){if(d>0)d--,u=4,p[0]();else{if(d=0,void 0===n)return!1;if(!1===(n=vf(n)))return!1;p[1]()}};null!==u;)if(c++,"\\"!==(e=t[c])||!f()){if(r=hf(e),8===(i=(o=pf[u])[r]||o.else||8))return;if(u=i[0],(s=p[i[1]])&&(a=void 0===(a=i[2])?e:a,!1===s()))return;if(7===u)return l}}(t))&&(this._cache[t]=e),e||[]},mf.prototype.getPathValue=function(t,e){if(!Rp(t))return null;var n=this.parsePath(e);if(0===n.length)return null;for(var a=n.length,r=t,i=0;i<a;){var s=r[n[i]];if(void 0===s)return null;r=s,i++}return r};var gf,_f=/<\/?[\w\s="/.':;#-\/]+>/,yf=/(?:@(?:\.[a-z]+)?:(?:[\w\-_|.]+|\([\w\-_|.]+\)))/g,bf=/^@(?:\.([a-z]+))?:/,wf=/[()]/g,Af={upper:function(t){return t.toLocaleUpperCase()},lower:function(t){return t.toLocaleLowerCase()},capitalize:function(t){return""+t.charAt(0).toLocaleUpperCase()+t.substr(1)}},kf=new cf,Cf=function(t){var e=this;void 0===t&&(t={}),!Zp&&"undefined"!=typeof window&&window.Vue&&lf(window.Vue);var n=t.locale||"en-US",a=!1!==t.fallbackLocale&&(t.fallbackLocale||"en-US"),r=t.messages||{},i=t.dateTimeFormats||{},s=t.numberFormats||{};this._vm=null,this._formatter=t.formatter||kf,this._modifiers=t.modifiers||{},this._missing=t.missing||null,this._root=t.root||null,this._sync=void 0===t.sync||!!t.sync,this._fallbackRoot=void 0===t.fallbackRoot||!!t.fallbackRoot,this._formatFallbackMessages=void 0!==t.formatFallbackMessages&&!!t.formatFallbackMessages,this._silentTranslationWarn=void 0!==t.silentTranslationWarn&&t.silentTranslationWarn,this._silentFallbackWarn=void 0!==t.silentFallbackWarn&&!!t.silentFallbackWarn,this._dateTimeFormatters={},this._numberFormatters={},this._path=new mf,this._dataListeners=[],this._componentInstanceCreatedListener=t.componentInstanceCreatedListener||null,this._preserveDirectiveContent=void 0!==t.preserveDirectiveContent&&!!t.preserveDirectiveContent,this.pluralizationRules=t.pluralizationRules||{},this._warnHtmlInMessage=t.warnHtmlInMessage||"off",this._postTranslation=t.postTranslation||null,this.getChoiceIndex=function(t,n){var a=Object.getPrototypeOf(e);if(a&&a.getChoiceIndex)return a.getChoiceIndex.call(e,t,n);var r,i;return e.locale in e.pluralizationRules?e.pluralizationRules[e.locale].apply(e,[t,n]):(r=t,i=n,r=Math.abs(r),2===i?r?r>1?1:0:1:r?Math.min(r,2):0)},this._exist=function(t,n){return!(!t||!n)&&(!Bp(e._path.getPathValue(t,n))||!!t[n])},"warn"!==this._warnHtmlInMessage&&"error"!==this._warnHtmlInMessage||Object.keys(r).forEach((function(t){e._checkLocaleMessage(t,e._warnHtmlInMessage,r[t])})),this._initVM({locale:n,fallbackLocale:a,messages:r,dateTimeFormats:i,numberFormats:s})},xf={vm:{configurable:!0},messages:{configurable:!0},dateTimeFormats:{configurable:!0},numberFormats:{configurable:!0},availableLocales:{configurable:!0},locale:{configurable:!0},fallbackLocale:{configurable:!0},formatFallbackMessages:{configurable:!0},missing:{configurable:!0},formatter:{configurable:!0},silentTranslationWarn:{configurable:!0},silentFallbackWarn:{configurable:!0},preserveDirectiveContent:{configurable:!0},warnHtmlInMessage:{configurable:!0},postTranslation:{configurable:!0}};Cf.prototype._checkLocaleMessage=function(t,e,n){var a=function(t,e,n,r){if(jp(n))Object.keys(n).forEach((function(i){var s=n[i];jp(s)?(r.push(i),r.push("."),a(t,e,s,r),r.pop(),r.pop()):(r.push(i),a(t,e,s,r),r.pop())}));else if(Array.isArray(n))n.forEach((function(n,i){jp(n)?(r.push("["+i+"]"),r.push("."),a(t,e,n,r),r.pop(),r.pop()):(r.push("["+i+"]"),a(t,e,n,r),r.pop())}));else if(Fp(n)){if(_f.test(n)){var i="Detected HTML in message '"+n+"' of keypath '"+r.join("")+"' at '"+e+"'. Consider component interpolation with '<i18n>' to avoid XSS. See https://bit.ly/2ZqJzkp";"warn"===t?Ip(i):"error"===t&&function(t,e){"undefined"!=typeof console&&(console.error("[vue-i18n] "+t),e&&console.error(e.stack))}(i)}}};a(e,t,n,[])},Cf.prototype._initVM=function(t){var e=Zp.config.silent;Zp.config.silent=!0,this._vm=new Zp({data:t}),Zp.config.silent=e},Cf.prototype.destroyVM=function(){this._vm.$destroy()},Cf.prototype.subscribeDataChanging=function(t){this._dataListeners.push(t)},Cf.prototype.unsubscribeDataChanging=function(t){!function(t,e){if(t.length){var n=t.indexOf(e);if(n>-1)t.splice(n,1)}}(this._dataListeners,t)},Cf.prototype.watchI18nData=function(){var t=this;return this._vm.$watch("$data",(function(){for(var e=t._dataListeners.length;e--;)Zp.nextTick((function(){t._dataListeners[e]&&t._dataListeners[e].$forceUpdate()}))}),{deep:!0})},Cf.prototype.watchLocale=function(){if(!this._sync||!this._root)return null;var t=this._vm;return this._root.$i18n.vm.$watch("locale",(function(e){t.$set(t,"locale",e),t.$forceUpdate()}),{immediate:!0})},Cf.prototype.onComponentInstanceCreated=function(t){this._componentInstanceCreatedListener&&this._componentInstanceCreatedListener(t,this)},xf.vm.get=function(){return this._vm},xf.messages.get=function(){return zp(this._getMessages())},xf.dateTimeFormats.get=function(){return zp(this._getDateTimeFormats())},xf.numberFormats.get=function(){return zp(this._getNumberFormats())},xf.availableLocales.get=function(){return Object.keys(this.messages).sort()},xf.locale.get=function(){return this._vm.locale},xf.locale.set=function(t){this._vm.$set(this._vm,"locale",t)},xf.fallbackLocale.get=function(){return this._vm.fallbackLocale},xf.fallbackLocale.set=function(t){this._localeChainCache={},this._vm.$set(this._vm,"fallbackLocale",t)},xf.formatFallbackMessages.get=function(){return this._formatFallbackMessages},xf.formatFallbackMessages.set=function(t){this._formatFallbackMessages=t},xf.missing.get=function(){return this._missing},xf.missing.set=function(t){this._missing=t},xf.formatter.get=function(){return this._formatter},xf.formatter.set=function(t){this._formatter=t},xf.silentTranslationWarn.get=function(){return this._silentTranslationWarn},xf.silentTranslationWarn.set=function(t){this._silentTranslationWarn=t},xf.silentFallbackWarn.get=function(){return this._silentFallbackWarn},xf.silentFallbackWarn.set=function(t){this._silentFallbackWarn=t},xf.preserveDirectiveContent.get=function(){return this._preserveDirectiveContent},xf.preserveDirectiveContent.set=function(t){this._preserveDirectiveContent=t},xf.warnHtmlInMessage.get=function(){return this._warnHtmlInMessage},xf.warnHtmlInMessage.set=function(t){var e=this,n=this._warnHtmlInMessage;if(this._warnHtmlInMessage=t,n!==t&&("warn"===t||"error"===t)){var a=this._getMessages();Object.keys(a).forEach((function(t){e._checkLocaleMessage(t,e._warnHtmlInMessage,a[t])}))}},xf.postTranslation.get=function(){return this._postTranslation},xf.postTranslation.set=function(t){this._postTranslation=t},Cf.prototype._getMessages=function(){return this._vm.messages},Cf.prototype._getDateTimeFormats=function(){return this._vm.dateTimeFormats},Cf.prototype._getNumberFormats=function(){return this._vm.numberFormats},Cf.prototype._warnDefault=function(t,e,n,a,r,i){if(!Bp(n))return n;if(this._missing){var s=this._missing.apply(null,[t,e,a,r]);if(Fp(s))return s}if(this._formatFallbackMessages){var o=qp.apply(void 0,r);return this._render(e,i,o.params,e)}return e},Cf.prototype._isFallbackRoot=function(t){return!t&&!Bp(this._root)&&this._fallbackRoot},Cf.prototype._isSilentFallbackWarn=function(t){return this._silentFallbackWarn instanceof RegExp?this._silentFallbackWarn.test(t):this._silentFallbackWarn},Cf.prototype._isSilentFallback=function(t,e){return this._isSilentFallbackWarn(e)&&(this._isFallbackRoot()||t!==this.fallbackLocale)},Cf.prototype._isSilentTranslationWarn=function(t){return this._silentTranslationWarn instanceof RegExp?this._silentTranslationWarn.test(t):this._silentTranslationWarn},Cf.prototype._interpolate=function(t,e,n,a,r,i,s){if(!e)return null;var o,l=this._path.getPathValue(e,n);if(Array.isArray(l)||jp(l))return l;if(Bp(l)){if(!jp(e))return null;if(!Fp(o=e[n]))return null}else{if(!Fp(l))return null;o=l}return(o.indexOf("@:")>=0||o.indexOf("@.")>=0)&&(o=this._link(t,e,o,a,"raw",i,s)),this._render(o,r,i,n)},Cf.prototype._link=function(t,e,n,a,r,i,s){var o=n,l=o.match(yf);for(var c in l)if(l.hasOwnProperty(c)){var u=l[c],d=u.match(bf),p=d[0],f=d[1],h=u.replace(p,"").replace(wf,"");if(Up(s,h))return o;s.push(h);var v=this._interpolate(t,e,h,a,"raw"===r?"string":r,"raw"===r?void 0:i,s);if(this._isFallbackRoot(v)){if(!this._root)throw Error("unexpected error");var m=this._root.$i18n;v=m._translate(m._getMessages(),m.locale,m.fallbackLocale,h,a,r,i)}v=this._warnDefault(t,h,v,a,Array.isArray(i)?i:[i],r),this._modifiers.hasOwnProperty(f)?v=this._modifiers[f](v):Af.hasOwnProperty(f)&&(v=Af[f](v)),s.pop(),o=v?o.replace(u,v):o}return o},Cf.prototype._render=function(t,e,n,a){var r=this._formatter.interpolate(t,n,a);return r||(r=kf.interpolate(t,n,a)),"string"!==e||Fp(r)?r:r.join("")},Cf.prototype._appendItemToChain=function(t,e,n){var a=!1;return Up(t,e)||(a=!0,e&&(a="!"!==e[e.length-1],e=e.replace(/!/g,""),t.push(e),n&&n[e]&&(a=n[e]))),a},Cf.prototype._appendLocaleToChain=function(t,e,n){var a,r=e.split("-");do{var i=r.join("-");a=this._appendItemToChain(t,i,n),r.splice(-1,1)}while(r.length&&!0===a);return a},Cf.prototype._appendBlockToChain=function(t,e,n){for(var a=!0,r=0;r<e.length&&"boolean"==typeof a;r++){var i=e[r];Fp(i)&&(a=this._appendLocaleToChain(t,i,n))}return a},Cf.prototype._getLocaleChain=function(t,e){if(""===t)return[];this._localeChainCache||(this._localeChainCache={});var n=this._localeChainCache[t];if(!n){e||(e=this.fallbackLocale),n=[];for(var a,r=[t];Op(r);)r=this._appendBlockToChain(n,r,e);(r=Fp(a=Op(e)?e:Rp(e)?e.default?e.default:null:e)?[a]:a)&&this._appendBlockToChain(n,r,null),this._localeChainCache[t]=n}return n},Cf.prototype._translate=function(t,e,n,a,r,i,s){for(var o,l=this._getLocaleChain(e,n),c=0;c<l.length;c++){var u=l[c];if(!Bp(o=this._interpolate(u,t[u],a,r,i,s,[a])))return o}return null},Cf.prototype._t=function(t,e,n,a){for(var r,i=[],s=arguments.length-4;s-- >0;)i[s]=arguments[s+4];if(!t)return"";var o=qp.apply(void 0,i),l=o.locale||e,c=this._translate(n,l,this.fallbackLocale,t,a,"string",o.params);if(this._isFallbackRoot(c)){if(!this._root)throw Error("unexpected error");return(r=this._root).$t.apply(r,[t].concat(i))}return c=this._warnDefault(l,t,c,a,i,"string"),this._postTranslation&&null!=c&&(c=this._postTranslation(c,t)),c},Cf.prototype.t=function(t){for(var e,n=[],a=arguments.length-1;a-- >0;)n[a]=arguments[a+1];return(e=this)._t.apply(e,[t,this.locale,this._getMessages(),null].concat(n))},Cf.prototype._i=function(t,e,n,a,r){var i=this._translate(n,e,this.fallbackLocale,t,a,"raw",r);if(this._isFallbackRoot(i)){if(!this._root)throw Error("unexpected error");return this._root.$i18n.i(t,e,r)}return this._warnDefault(e,t,i,a,[r],"raw")},Cf.prototype.i=function(t,e,n){return t?(Fp(e)||(e=this.locale),this._i(t,e,this._getMessages(),null,n)):""},Cf.prototype._tc=function(t,e,n,a,r){for(var i,s=[],o=arguments.length-5;o-- >0;)s[o]=arguments[o+5];if(!t)return"";void 0===r&&(r=1);var l={count:r,n:r},c=qp.apply(void 0,s);return c.params=Object.assign(l,c.params),s=null===c.locale?[c.params]:[c.locale,c.params],this.fetchChoice((i=this)._t.apply(i,[t,e,n,a].concat(s)),r)},Cf.prototype.fetchChoice=function(t,e){if(!t&&!Fp(t))return null;var n=t.split("|");return n[e=this.getChoiceIndex(e,n.length)]?n[e].trim():t},Cf.prototype.tc=function(t,e){for(var n,a=[],r=arguments.length-2;r-- >0;)a[r]=arguments[r+2];return(n=this)._tc.apply(n,[t,this.locale,this._getMessages(),null,e].concat(a))},Cf.prototype._te=function(t,e,n){for(var a=[],r=arguments.length-3;r-- >0;)a[r]=arguments[r+3];var i=qp.apply(void 0,a).locale||e;return this._exist(n[i],t)},Cf.prototype.te=function(t,e){return this._te(t,this.locale,this._getMessages(),e)},Cf.prototype.getLocaleMessage=function(t){return zp(this._vm.messages[t]||{})},Cf.prototype.setLocaleMessage=function(t,e){"warn"!==this._warnHtmlInMessage&&"error"!==this._warnHtmlInMessage||this._checkLocaleMessage(t,this._warnHtmlInMessage,e),this._vm.$set(this._vm.messages,t,e)},Cf.prototype.mergeLocaleMessage=function(t,e){"warn"!==this._warnHtmlInMessage&&"error"!==this._warnHtmlInMessage||this._checkLocaleMessage(t,this._warnHtmlInMessage,e),this._vm.$set(this._vm.messages,t,Wp({},this._vm.messages[t]||{},e))},Cf.prototype.getDateTimeFormat=function(t){return zp(this._vm.dateTimeFormats[t]||{})},Cf.prototype.setDateTimeFormat=function(t,e){this._vm.$set(this._vm.dateTimeFormats,t,e),this._clearDateTimeFormat(t,e)},Cf.prototype.mergeDateTimeFormat=function(t,e){this._vm.$set(this._vm.dateTimeFormats,t,Wp(this._vm.dateTimeFormats[t]||{},e)),this._clearDateTimeFormat(t,e)},Cf.prototype._clearDateTimeFormat=function(t,e){for(var n in e){var a=t+"__"+n;this._dateTimeFormatters.hasOwnProperty(a)&&delete this._dateTimeFormatters[a]}},Cf.prototype._localizeDateTime=function(t,e,n,a,r){for(var i=e,s=a[i],o=this._getLocaleChain(e,n),l=0;l<o.length;l++){var c=o[l];if(i=c,!Bp(s=a[c])&&!Bp(s[r]))break}if(Bp(s)||Bp(s[r]))return null;var u=s[r],d=i+"__"+r,p=this._dateTimeFormatters[d];return p||(p=this._dateTimeFormatters[d]=new Intl.DateTimeFormat(i,u)),p.format(t)},Cf.prototype._d=function(t,e,n){if(!n)return new Intl.DateTimeFormat(e).format(t);var a=this._localizeDateTime(t,e,this.fallbackLocale,this._getDateTimeFormats(),n);if(this._isFallbackRoot(a)){if(!this._root)throw Error("unexpected error");return this._root.$i18n.d(t,n,e)}return a||""},Cf.prototype.d=function(t){for(var e=[],n=arguments.length-1;n-- >0;)e[n]=arguments[n+1];var a=this.locale,r=null;return 1===e.length?Fp(e[0])?r=e[0]:Rp(e[0])&&(e[0].locale&&(a=e[0].locale),e[0].key&&(r=e[0].key)):2===e.length&&(Fp(e[0])&&(r=e[0]),Fp(e[1])&&(a=e[1])),this._d(t,a,r)},Cf.prototype.getNumberFormat=function(t){return zp(this._vm.numberFormats[t]||{})},Cf.prototype.setNumberFormat=function(t,e){this._vm.$set(this._vm.numberFormats,t,e),this._clearNumberFormat(t,e)},Cf.prototype.mergeNumberFormat=function(t,e){this._vm.$set(this._vm.numberFormats,t,Wp(this._vm.numberFormats[t]||{},e)),this._clearNumberFormat(t,e)},Cf.prototype._clearNumberFormat=function(t,e){for(var n in e){var a=t+"__"+n;this._numberFormatters.hasOwnProperty(a)&&delete this._numberFormatters[a]}},Cf.prototype._getNumberFormatter=function(t,e,n,a,r,i){for(var s=e,o=a[s],l=this._getLocaleChain(e,n),c=0;c<l.length;c++){var u=l[c];if(s=u,!Bp(o=a[u])&&!Bp(o[r]))break}if(Bp(o)||Bp(o[r]))return null;var d,p=o[r];if(i)d=new Intl.NumberFormat(s,Object.assign({},p,i));else{var f=s+"__"+r;(d=this._numberFormatters[f])||(d=this._numberFormatters[f]=new Intl.NumberFormat(s,p))}return d},Cf.prototype._n=function(t,e,n,a){if(!Cf.availabilities.numberFormat)return"";if(!n)return(a?new Intl.NumberFormat(e,a):new Intl.NumberFormat(e)).format(t);var r=this._getNumberFormatter(t,e,this.fallbackLocale,this._getNumberFormats(),n,a),i=r&&r.format(t);if(this._isFallbackRoot(i)){if(!this._root)throw Error("unexpected error");return this._root.$i18n.n(t,Object.assign({},{key:n,locale:e},a))}return i||""},Cf.prototype.n=function(t){for(var e=[],n=arguments.length-1;n-- >0;)e[n]=arguments[n+1];var a=this.locale,r=null,i=null;return 1===e.length?Fp(e[0])?r=e[0]:Rp(e[0])&&(e[0].locale&&(a=e[0].locale),e[0].key&&(r=e[0].key),i=Object.keys(e[0]).reduce((function(t,n){var a;return Up(Pp,n)?Object.assign({},t,((a={})[n]=e[0][n],a)):t}),null)):2===e.length&&(Fp(e[0])&&(r=e[0]),Fp(e[1])&&(a=e[1])),this._n(t,a,r,i)},Cf.prototype._ntp=function(t,e,n,a){if(!Cf.availabilities.numberFormat)return[];if(!n)return(a?new Intl.NumberFormat(e,a):new Intl.NumberFormat(e)).formatToParts(t);var r=this._getNumberFormatter(t,e,this.fallbackLocale,this._getNumberFormats(),n,a),i=r&&r.formatToParts(t);if(this._isFallbackRoot(i)){if(!this._root)throw Error("unexpected error");return this._root.$i18n._ntp(t,e,n,a)}return i||[]},Object.defineProperties(Cf.prototype,xf),Object.defineProperty(Cf,"availabilities",{get:function(){if(!gf){var t="undefined"!=typeof Intl;gf={dateTimeFormat:t&&void 0!==Intl.DateTimeFormat,numberFormat:t&&void 0!==Intl.NumberFormat}}return gf}}),Cf.install=lf,Cf.version="8.18.2";const Tf={globals:{welcome:"Benvenuto su deemix",back:"indietro",loading:"caricamento",download:"Scarica {0}",by:"di {0}",in:"in {0}",download_hint:"Scarica",play_hint:"Riproduci",toggle_download_tab_hint:"Espandi/Riduci",clean_queue_hint:"Pulisci Lista",cancel_queue_hint:"Cancella tutti i download",listTabs:{all:"tutto",top_result:"miglior risultato",album:"album",artist:"artista | artisti",single:"singolo | singoli",title:"titolo | titoli",track:"brano | brani",trackN:"0 brani | {n} brano | {n} brani",releaseN:"0 dischi | {n} disco | {n} dischi",playlist:"playlist",compile:"compilation",ep:"ep",spotifyPlaylist:"playlist spotify",releaseDate:"data di uscita",error:"errore",empty:""}},about:{titles:{usefulLinks:"Link Utili",bugReports:"Segnalazione di bug",contributing:"Contribuire al progetto",donations:"Donazioni",license:"Licenza"},subtitles:{bugReports:"C'è qualcosa di deemix che non funziona? Faccelo sapere!",contributing:"Vuoi contribuire a questo progetto? Puoi farlo in più modi!",donations:"Vuoi dare una mano economicamente? Puoi fare una donazione!"},usesLibrary:"Questa app utilizza la libreria <strong>deemix</strong>, che puoi utilizzare per creare la tua Interfaccia Utente per deemix.",thanks:"Un ringraziamento a <strong>rtonno</strong>, <strong>uhwot</strong> e <strong>lollilol</strong> per l'aiuto che mi stanno dando in questo progetto e a <strong>BasCurtiz</strong> e <strong>scarvimane</strong> per aver creato l'icona.",upToDate:'Stay up to date with the updates by following the <a href="https://t.me/RemixDevNews" target="_blank">news channel</a> on Telegram.',upToDate:'Rimani al passo con gli ultimi aggiornamenti seguendo il <a href="https://t.me/RemixDevNews" target="_blank">canale delle news</a> su Telegram.',officialWebsite:"Sito Ufficiale",officialRepo:"Repository Ufficiale della Libreria",officialWebuiRepo:"Repository Ufficiale dell'Interfaccia Web",officialSubreddit:"Subreddit Ufficiale",newsChannel:"Canale delle news",questions:'Se dovessi avere domande o problemi con l\'app, cerca prima una soluzione nel <a href="https://www.reddit.com/r/deemix" target="_blank">subreddit ufficiale</a>. Se non trovi nulla, puoi postare li il tuo problema.',beforeReporting:"Prima di segnalare un problema controlla che quella che stai usando sia l'ultima versione dell'app e che ciò che vuoi segnalare sia effettivamente un problema e non qualcosa che non funziona solamente a te.",beSure:"Assicurati che il problema sia riproducibile su altri PC e <strong>NON</strong> segnalare un problema che è già stato segnalato.",duplicateReports:"Le segnalazioni doppie verranno chiuse, tienilo presente.",dontOpenIssues:"<strong>NON</strong> aprire issues per porre domande, per quello esiste un subreddit.",newUI:'Se te la cavi in python puoi provare a creare una nuova Interfaccia Utente per l\'app usando la libreria base, oppure puoi correggere dei problemi nella libreria con una pull request nella <a href="https://codeberg.org/RemixDev/deemix" target="_blank">repo</a>.',acceptFeatures:"Accetto anche funzionalità, ma non cose complesse, dato che possono essere implementate direttamente nell'app invece che nella libreria.",otherLanguages:"Se te la cavi in altri linguaggi di programmazione, puoi provare a scrivere deemix in quei linguaggi!",understandingCode:"Serve aiuto per capire il codice? Scrivi a RemixDev su Telegram o Reddit",contributeWebUI:'Se te la cavi con Vue.js (JavaScript), HTML o CSS, puoi contribuire alla <a href="https://codeberg.org/RemixDev/deemix-webui" target="_blank">WebUI</a>.',itsFree:"Ricordati che <strong>questo è un progetto gratuito</strong> e che <strong>dovresti supportare gli artisti che ami</strong> prima di supportare gli sviluppatori.",notObligated:"Non sentirti obbligato a donare, mi stai simpatico lo stesso!",lincensedUnder:'Questo lavoro è sotto la licenza\n\t\t\t<a rel="license" href="https://www.gnu.org/licenses/gpl-3.0.en.html" target="_blank"\n\t\t\t\t>GNU General Public License 3.0</a\n\t\t\t>.'},charts:{title:"Classifiche",changeCountry:"Cambia Paese",download:"Scarica Classifica"},errors:{title:"Errori riguardanti {0}",ids:{invalidURL:"URL non riconosciuto",unsupportedURL:"URL non ancora supportato",ISRCnotOnDeezer:"Questo ISRC non è disponibile su Deezer",notYourPrivatePlaylist:"Non puoi scaricare le playlist private degli altri.",spotifyDisabled:"Spotify Features non è impostato correttamente.",trackNotOnDeezer:"Brano non trovato su Deezer!",albumNotOnDeezer:"Album non trovato su Deezer!",notOnDeezer:"Brano non disponibile su Deezer!",notEncoded:"Brano non ancora codificato!",notEncodedNoAlternative:"Brano non ancora codificato e nessuna alternativa trovata!",wrongBitrate:"Brano non trovato con il bitrate specificato.",wrongBitrateNoAlternative:"Brano non trovato con il bitrate specificato e nessuna alternativa trovata!",no360RA:"Brano non disponibile in Reality Audio 360.",notAvailable:"Brano non presente sui server di Deezer!",notAvailableNoAlternative:"Brano non presente sui server di Deezer e nessuna alternativa trovata!"}},favorites:{title:"Preferiti",noPlaylists:"Nessuna Playlist preferita trovata",noAlbums:"Nessun Album preferito trovato",noArtists:"Nessun Artista preferito trovato",noTracks:"Nessun Brano preferito trovato"},home:{needTologin:"Devi accedere al tuo account Deezer, fino a quel momento non potrai scaricare nulla.",openSettings:"Apri le impostazioni",sections:{popularPlaylists:"Playlist Popolari",popularAlbums:"Album più riprodotti"}},linkAnalyzer:{info:"Puoi utilizzare questa sezione per avere più informazioni riguardanti il link che stai cercando di scaricare.",useful:"Ciò può esserti utile se stai cercando di scaricare brani che non sono disponibili nel tuo Paese e vuoi sapere in quale Paese sono invece disponibili, per esempio.",linkNotSupported:"Questo link non è ancora supportato",linkNotSupportedYet:"Sembra che questo link non sia ancora supportato, prova ad analizzarne un altro.",table:{id:"ID",isrc:"ISRC",upc:"UPC",duration:"Durata",diskNumber:"Numero Disco",trackNumber:"Numero Traccia",releaseDate:"Data di uscita",bpm:"BPM",label:"Etichetta",recordType:"Tipologia di registrazione",genres:"Generi",tracklist:"Lista tracce"}},search:{startSearching:"Inizia a cercare!",description:"Puoi cercare un brano, un intero album, un artista, una playlist.... quello che vuoi! Puoi anche incollare un link di Deezer",fans:"{0} fan",noResults:"Nessun risultato",noResultsTrack:"Nessun brano trovato",noResultsAlbum:"Nessun album trovato",noResultsArtist:"Nessun artista trovato",noResultsPlaylist:"Nessuna playlist trovata"},searchbar:"Cerca qualsiasi cosa (o incolla semplicemente un link)",downloads:"download",toasts:{addedToQueue:"{0} aggiunto alla coda",alreadyInQueue:"{0} è già nella coda!",finishDownload:"{0} ha finito di scaricarsi.",allDownloaded:"Tutti i download completati!",refreshFavs:"Preferiti ricaricati!",loggingIn:"Effettuando il login",loggedIn:"Login effettuato",alreadyLogged:"Sei già loggato",loginFailed:"Impossibile loggarsi",loggedOut:"Disconnesso",cancellingCurrentItem:"Cancellando download corrente.",currentItemCancelled:"Download corrente cancellato.",startAddingArtist:"Aggiungendo gli album di {0} alla coda",finishAddingArtist:"Aggiunto gli album di {0} alla coda",startConvertingSpotifyPlaylist:"Convertendo i brani da spotify a deezer",finishConvertingSpotifyPlaylist:"Playlist di spotify convertita"},settings:{title:"Impostazioni",languages:"Lingue",login:{title:"Login",loggedIn:"Sei loggato come {username}",arl:{question:"Come ottengo il mio ARL?",update:"Aggiorna ARL"},logout:"Disconnettiti"},appearance:{title:"Aspetto",slimDownloadTab:"Tab dei download slim"},downloadPath:{title:"Cartella di download"},templates:{title:"Template",tracknameTemplate:"Template nome brano",albumTracknameTemplate:"Template nome brano negli Album",playlistTracknameTemplate:"Template nome brano nelle Playlist"},folders:{title:"Cartelle",createPlaylistFolder:"Crea cartelle per le Playlist",playlistNameTemplate:"Template nome della cartella Playlist",createArtistFolder:"Crea cartelle per gli Artisti",artistNameTemplate:"Template nome della cartella Artista",createAlbumFolder:"Crea cartelle per gli Album",albumNameTemplate:"Template nome della cartella Album",createCDFolder:"Crea cartelle per i CD",createStructurePlaylist:"Crea la struttura di cartelle per le Playlist",createSingleFolder:"Crea la struttura di cartelle per i brani singoli"},trackTitles:{title:"Titoli brani",padTracks:"Aggiungi zeri ai numeri di traccia",paddingSize:"Sovrascrivi il numero di zeri da aggiungere",illegalCharacterReplacer:"Rimpiazza caratteri illegali con"},downloads:{title:"Download",queueConcurrency:"Download simultanei",maxBitrate:{title:"Bitrate preferito",9:"FLAC 1411kbps",3:"MP3 320kbps",1:"MP3 128kbps"},overwriteFile:{title:"Dovrei sovrascrivere i file già scaricati?",y:"Si, sovrascrivi i file",n:"No, non sovrascrivere i file",t:"Sovrascrivi solo i tag"},fallbackBitrate:"Utilizza bitrate più bassi se il bitrate preferito non è disponibile",fallbackSearch:"Cerca il brano se il link originale non è disponibile",logErrors:"Crea file di log per gli errori",logSearched:"Crea file di log per le alternative cercate",syncedLyrics:"Crea i file .lyr (Testi Sincronizzati)",createM3U8File:"Crea i file playlist",playlistFilenameTemplate:"Template nome del file playlist",saveDownloadQueue:"Salva la coda di download quando chiudi l'app"},covers:{title:"Copertine",saveArtwork:"Salva copertina album",coverImageTemplate:"Template nome copertina album",saveArtworkArtist:"Salva copertina artista",artistImageTemplate:"Template nome copertina artista",localArtworkSize:"Dimensioni copertine locali",embeddedArtworkSize:"Dimensioni copertine incorporate",localArtworkFormat:{title:"Come vuoi salvare le copertine locali?",jpg:"In jpeg",png:"In png",both:"Sia in jpeg che in png"},jpegImageQuality:"Qualità immagine JPEG"},tags:{head:"Quali tag salvare",title:"Titolo",artist:"Artista",album:"Album",cover:"Copertina",trackNumber:"Numero Traccia",trackTotal:"Tracce Totali",discNumber:"Numero Disco",discTotal:"Dischi Totali",albumArtist:"Artista dell'album",genre:"Genere",year:"Anno",date:"Data",explicit:"Testo Esplicito",isrc:"ISRC",length:"Durata Traccia",barcode:"Barcode dell'album (UPC)",bpm:"BPM",replayGain:"Replay gain",label:"Casa Discografica",lyrics:"Testo non Sincronizzato",copyright:"Copyright",composer:"Compositori",involvedPeople:"Persone Coinvolte"},other:{title:"Altro",savePlaylistAsCompilation:"Salva le playlist come Compilation",useNullSeparator:"Usa il carattere NULL come separatore",saveID3v1:"Salva anche l'ID3v1",multiArtistSeparator:{title:"Come vuoi separare gli artisti?",nothing:"Salva solo l'artista principale",default:"Usando la specificazione standard",andFeat:"Usando & e feat.",using:'Usando "{0}"'},singleAlbumArtist:"Salva solo l'artista dell'album principale",albumVariousArtists:'Lascia "Artisti Vari" negli artisti dell\'album',removeAlbumVersion:'Rimuovi "Album Version" dal titolo del brano',removeDuplicateArtists:"Rimuovi le combinazioni di artisti",dateFormat:{title:"Formato della data per i file FLAC",year:"AAAA",month:"MM",day:"GG"},featuredToTitle:{title:"Cosa dovrei fare con i feat?",0:"Niente",1:"Rimuovili dal titolo",3:"Rimuovili dal titolo e dal nome dell'album",2:"Spostali sul titolo"},titleCasing:"Formato testo dei titoli",artistCasing:"Formato testo degli artisti",casing:{nothing:"Non cambiare",lower:"TUTTO MAIUSCOLO",upper:"tutto minuscolo",start:"Prima Lettera Maiuscola",sentence:"Come una frase"},previewVolume:"Volume Anteprime",executeCommand:{title:"Comando da eseguire dopo il download",description:"Lascia vuoto per nessuna azione"}},spotify:{title:"Spotify Features",clientID:"Spotify clientID",clientSecret:"Spotify Client Secret",username:"Spotify username"},reset:"Reimposta Default",save:"Salva",toasts:{init:"Impostazioni caricate!",update:"Impostazioni aggiornate!",ARLcopied:"ARL copiato negli appunti"}},sidebar:{home:"home",search:"ricerca",charts:"classifiche",favorites:"preferiti",linkAnalyzer:"analizza link",settings:"impostazioni",about:"info"},tracklist:{downloadSelection:"Scarica selezionati"}},$f={globals:{welcome:"Welcome to deemix",back:"back",loading:"loading",download:"Download {0}",by:"by {0}",in:"in {0}",download_hint:"Download",play_hint:"Play",toggle_download_tab_hint:"Expand/Collapse",clean_queue_hint:"Clear Finished",cancel_queue_hint:"Cancel All",listTabs:{empty:"",all:"all",top_result:"top result",album:"album | albums",artist:"artist | artists",single:"single | singles",title:"title | titles",track:"track | tracks",trackN:"0 tracks | {n} track | {n} tracks",releaseN:"0 releases | {n} release | {n} releases",playlist:"playlist | playlists",compile:"compilation | compilations",ep:"ep | eps",spotifyPlaylist:"spotify playlist | spotify playlists",releaseDate:"release date",error:"error"}},about:{titles:{usefulLinks:"Useful Links",bugReports:"Bug Reports",contributing:"Contributing",donations:"Donations",license:"License"},subtitles:{bugReports:"Is there something that isn't working in deemix? Tell us!",contributing:"You want to contribute to this project? You can do it in different ways!",donations:"You want to contribute monetarily? You could make a donation!"},usesLibrary:"This app uses the <strong>deemix</strong> library, which you can use to make your own UI for deemix.",thanks:"Thanks to <strong>rtonno</strong>, <strong>uhwot</strong> and <strong>lollilol</strong> for helping me with this project and to <strong>BasCurtiz</strong> and <strong>scarvimane</strong> for making the icon.",upToDate:'Stay up to date with the updates by following the <a href="https://t.me/RemixDevNews" target="_blank">news channel</a> on Telegram.',officialWebsite:"Official Website",officialRepo:"Official Library Repository",officialWebuiRepo:"Official WebUI Repository",officialSubreddit:"Official Subreddit",newsChannel:"News Channel",questions:'If you have questions or problems with the app, search for a solution in the <a href="https://www.reddit.com/r/deemix" target="_blank">subreddit</a> first. Then, if you don\'t find anything you can make a post with your issue on the subreddit.',beforeReporting:"Before reporting a bug make sure you're running the latest version of the app and that what you want to report is actually a bug and not something that's wrong only on your end.",beSure:"Make sure the bug is reproducible on another machines and also <strong>DO NOT</strong> report a bug if it's been\talready reported.",duplicateReports:"Duplicate bug reports will be closed, so keep an eye out on that.",dontOpenIssues:"<strong>DO NOT</strong> open issues for asking questions, there is a subreddit for that.",newUI:'If you\'re fluent in python you could try to make a new UI for the app using the base library, or fix bugs in the library with a pull request on the <a href="https://codeberg.org/RemixDev/deemix" target="_blank">repo</a>.',acceptFeatures:"I accept features as well, but no complex things, as they can be implementend directly in the app and not the library.",otherLanguages:"If you're fluent in another programming language you could try to port deemix into other programming languages!",understandingCode:"You need help understanding the code? Just hit RemixDev up on Telegram or Reddit.",contributeWebUI:'If you know Vue.js (JavaScript), HTML or CSS you could contribute to the <a href="https://codeberg.org/RemixDev/deemix-webui" target="_blank">WebUI</a>.',itsFree:"You shoud remember that <strong>this is a free project</strong> and <strong>you should support the artists you love</strong> before supporting the developers.",notObligated:"Don't feel obligated to donate, I appreciate you anyway!",lincensedUnder:'This work is licensed under a\n\t\t\t<a rel="license" href="https://www.gnu.org/licenses/gpl-3.0.en.html" target="_blank"\n\t\t\t\t>GNU General Public License 3.0</a\n\t\t\t>.'},charts:{title:"Charts",changeCountry:"Change Country",download:"Download Chart"},errors:{title:"Errors for {0}",ids:{invalidURL:"URL not recognized",unsupportedURL:"URL not supported yet",ISRCnotOnDeezer:"Track ISRC is not available on deezer",notYourPrivatePlaylist:"You can't download others private playlists.",spotifyDisabled:"Spotify Features is not setted up correctly.",trackNotOnDeezer:"Track not found on deezer!",albumNotOnDeezer:"Album not found on deezer!",notOnDeezer:"Track not available on Deezer!",notEncoded:"Track not yet encoded!",notEncodedNoAlternative:"Track not yet encoded and no alternative found!",wrongBitrate:"Track not found at desired bitrate.",wrongBitrateNoAlternative:"Track not found at desired bitrate and no alternative found!",no360RA:"Track is not available in Reality Audio 360.",notAvailable:"Track not available on deezer's servers!",notAvailableNoAlternative:"Track not available on deezer's servers and no alternative found!"}},favorites:{title:"Favorites",noPlaylists:"No Playlists found",noAlbums:"No Favorite Albums found",noArtists:"No Favorite Artists found",noTracks:"No Favorite Tracks found"},home:{needTologin:"You need to log into your Deezer account before you can start downloading.",openSettings:"Open Settings",sections:{popularPlaylists:"Popular playlists",popularAlbums:"Most streamed albums"}},linkAnalyzer:{info:"You can use this section to find out more information about the link you are trying to download.",useful:"This is useful if you're trying to download some tracks that are not available in your country and want to know where they are available, for instance.",linkNotSupported:"This link is not yet supported",linkNotSupportedYet:"Seems like this link is not yet supported, try analyzing another one.",table:{id:"ID",isrc:"ISRC",upc:"UPC",duration:"Duration",diskNumber:"Disk Number",trackNumber:"Track Number",releaseDate:"Release Date",bpm:"BPM",label:"Label",recordType:"Record Type",genres:"Genres",tracklist:"Tracklist"}},search:{startSearching:"Start searching!",description:"You can search a track, a whole album, an artist, a playlist.... everything! You can also paste a Deezer link",fans:"{0} fans",noResults:"No results",noResultsTrack:"No Tracks found",noResultsAlbum:"No Albums found",noResultsArtist:"No Artists found",noResultsPlaylist:"No Playlists found"},searchbar:"Search anything you want (or just paste a link)",downloads:"downloads",toasts:{addedToQueue:"{0} added to queue",alreadyInQueue:"{0} is already in queue!",finishDownload:"{0} finished downloading.",allDownloaded:"All downloads completed!",refreshFavs:"Refresh completed!",loggingIn:"Logging in",loggedIn:"Logged in",alreadyLogged:"Already logged in",loginFailed:"Couldn't log in",loggedOut:"Logged out",cancellingCurrentItem:"Cancelling current item.",currentItemCancelled:"Current item cancelled.",startAddingArtist:"Adding {0} albums to queue",finishAddingArtist:"Added {0} albums to queue",startConvertingSpotifyPlaylist:"Converting spotify tracks to deezer tracks",finishConvertingSpotifyPlaylist:"Spotify playlist converted"},settings:{title:"Settings",languages:"Languages",login:{title:"Login",loggedIn:"You are logged in as {username}",arl:{question:"How do I get my own ARL?",update:"Update ARL"},logout:"Logout"},appearance:{title:"Appearance",slimDownloadTab:"Slim download tab"},downloadPath:{title:"Download Path"},templates:{title:"Templates",tracknameTemplate:"Trackname template",albumTracknameTemplate:"Album track template",playlistTracknameTemplate:"Playlist track template"},folders:{title:"Folders",createPlaylistFolder:"Create folder for playlists",playlistNameTemplate:"Playlist folder template",createArtistFolder:"Create folder for artist",artistNameTemplate:"Artist folder template",createAlbumFolder:"Create folder for album",albumNameTemplate:"Album folder template",createCDFolder:"Create folder for CDs",createStructurePlaylist:"Create folder structure for playlists",createSingleFolder:"Create folder structure for singles"},trackTitles:{title:"Track titles",padTracks:"Pad tracks",paddingSize:"Overwrite padding size",illegalCharacterReplacer:"Illegal Character replacer"},downloads:{title:"Downloads",queueConcurrency:"Concurrent Downloads",maxBitrate:{title:"Preferred Bitrate",9:"FLAC 1411kbps",3:"MP3 320kbps",1:"MP3 128kbps"},overwriteFile:{title:"Should I overwrite the files?",y:"Yes, overwrite the file",n:"No, don't overwrite the file",t:"Overwrite only the tags"},fallbackBitrate:"Bitrate fallback",fallbackSearch:"Search fallback",logErrors:"Create log files for errors",logSearched:"Create log files for searched tracks",createM3U8File:"Create playlist file",syncedLyrics:"Create .lyr files (Sync Lyrics)",playlistFilenameTemplate:"Playlist filename template",saveDownloadQueue:"Save download queue when closing the app"},covers:{title:"Album covers",saveArtwork:"Save Covers",coverImageTemplate:"Cover name template",saveArtworkArtist:"Save artist image",artistImageTemplate:"Artist image template",localArtworkSize:"Local artwork size",embeddedArtworkSize:"Embedded artwork size",localArtworkFormat:{title:"What format do you want the local artwork to be?",jpg:"A jpeg image",png:"A png image",both:"Both a jpeg and a png"},jpegImageQuality:"JPEG image quality"},tags:{head:"Which tags to save",title:"Title",artist:"Artist",album:"Album",cover:"Cover",trackNumber:"Track Number",trackTotal:"Track Total",discNumber:"Disc Number",discTotal:"Disc Total",albumArtist:"Album Artist",genre:"Genre",year:"Year",date:"Date",explicit:"Explicit Lyrics",isrc:"ISRC",length:"Track Length",barcode:"Album Barcode (UPC)",bpm:"BPM",replayGain:"Replay Gain",label:"Album Label",lyrics:"Unsynchronized Lyrics",copyright:"Copyright",composer:"Composer",involvedPeople:"Involved People"},other:{title:"Other",savePlaylistAsCompilation:"Save playlists as compilation",useNullSeparator:"Use null separator",saveID3v1:"Save ID3v1 as well",multiArtistSeparator:{title:"How would you like to separate your artists?",nothing:"Save only the main artist",default:"Using standard specification",andFeat:"Using & and feat.",using:'Using "{0}"'},singleAlbumArtist:"Save only the main album artist",albumVariousArtists:'Keep "Various Artists" in the Album Artists',removeAlbumVersion:'Remove "Album Version" from track title',removeDuplicateArtists:"Remove combinations of artists",dateFormat:{title:"Date format for FLAC files",year:"YYYY",month:"MM",day:"DD"},featuredToTitle:{title:"What should I do with featured artists?",0:"Nothing",1:"Remove it from the title",3:"Remove it from the title and the album title",2:"Move it to the title"},titleCasing:"Title casing",artistCasing:"Artist casing",casing:{nothing:"Keep unchanged",lower:"lowercase",upper:"UPPERCASE",start:"Start Of Each Word",sentence:"Like a sentence"},previewVolume:"Preview Volume",executeCommand:{title:"Command to execute after download",description:"Leave blank for no action"}},spotify:{title:"Spotify Features",clientID:"Spotify clientID",clientSecret:"Spotify Client Secret",username:"Spotify username"},reset:"Reset to Default",save:"Save",toasts:{init:"Settings loaded!",update:"Settings updated!",ARLcopied:"ARL copied to clipboard"}},sidebar:{home:"home",search:"search",charts:"charts",favorites:"favorites",linkAnalyzer:"link analyzer",settings:"settings",about:"about"},tracklist:{downloadSelection:"Download selection"}};wn.use(Cf);document.querySelector("html").setAttribute("lang","en");const Sf=new Cf({locale:"en",fallbackLocale:"en",messages:{it:Tf,en:$f}});window.vol={preview_max_volume:100},document.addEventListener("DOMContentLoaded",(function(){new wn({router:ip,i18n:Sf,render:t=>t(Dp)}).$mount("#app"),sp(document.getElementById("main_home_tablink"),"main","home_tab")})),window.addEventListener("pywebviewready",(function(){window.clientMode=!0,document.querySelector("#open_downloads_folder").classList.remove("hide")})),to.on("message",(function(t){console.log(t)})),to.on("logging_in",(function(){Rd(Sf.t("toasts.loggingIn"),"loading",!1,"login-toast")})),to.on("init_autologin",(function(){let t=localStorage.getItem("arl"),e=localStorage.getItem("accountNum");t&&(t=t.trim(),0!=e?to.emit("login",t,!0,e):to.emit("login",t))})),to.on("logged_in",(function(t){switch(t.status){case 1:case 3:Rd(Sf.t("toasts.loggedIn"),"done",!0,"login-toast"),t.arl&&(localStorage.setItem("arl",t.arl),Id("#login_input_arl").val(t.arl)),Id("#open_login_prompt").hide(),t.user&&(Id("#settings_username").text(t.user.name),Id("#settings_picture").attr("src",`https://e-cdns-images.dzcdn.net/images/user/${t.user.picture}/125x125-000000-80-0-0.jpg`),document.getElementById("logged_in_info").classList.remove("hide")),document.getElementById("home_not_logged_in").classList.add("hide");break;case 2:Rd(Sf.t("toasts.alreadyLogged"),"done",!0,"login-toast"),t.user&&(Id("#settings_username").text(t.user.name),Id("#settings_picture").attr("src",`https://e-cdns-images.dzcdn.net/images/user/${t.user.picture}/125x125-000000-80-0-0.jpg`),document.getElementById("logged_in_info").classList.remove("hide")),document.getElementById("home_not_logged_in").classList.add("hide");break;case 0:Rd(Sf.t("toasts.loginFailed"),"close",!0,"login-toast"),localStorage.removeItem("arl"),Id("#login_input_arl").val(""),Id("#open_login_prompt").show(),document.getElementById("logged_in_info").classList.add("hide"),Id("#settings_username").text("Not Logged"),Id("#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")}})),to.on("logged_out",(function(){Rd(Sf.t("toasts.loggedOut"),"done",!0,"login-toast"),localStorage.removeItem("arl"),Id("#login_input_arl").val(""),Id("#open_login_prompt").show(),document.getElementById("logged_in_info").classList.add("hide"),Id("#settings_username").text("Not Logged"),Id("#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")})),to.on("cancellingCurrentItem",(function(t){Rd(Sf.t("toasts.cancellingCurrentItem"),"loading",!1,"cancelling_"+t)})),to.on("currentItemCancelled",(function(t){Rd(Sf.t("toasts.currentItemCancelled"),"done",!0,"cancelling_"+t)})),to.on("startAddingArtist",(function(t){Rd(Sf.t("toasts.startAddingArtist",[t.name]),"loading",!1,"artist_"+t.id)})),to.on("finishAddingArtist",(function(t){Rd(Sf.t("toasts.finishAddingArtist",[t.name]),"done",!0,"artist_"+t.id)})),to.on("startConvertingSpotifyPlaylist",(function(t){Rd(Sf.t("toasts.startConvertingSpotifyPlaylist"),"loading",!1,"spotifyplaylist_"+t)})),to.on("finishConvertingSpotifyPlaylist",(function(t){Rd(Sf.t("toasts.finishConvertingSpotifyPlaylist"),"done",!0,"spotifyplaylist_"+t)})),to.on("errorMessage",(function(t){Rd(t,"error")})),to.on("queueError",(function(t){t.errid?Rd(Sf.t("errors.ids."+t.errid),"error"):Rd(t.error,"error")})),to.on("alreadyInQueue",(function(t){Rd(Sf.t("toasts.alreadyInQueue",[t.title]),"playlist_add_check")}));