mirror of
https://github.com/owntone/owntone-server.git
synced 2024-12-28 08:05:56 -05:00
9bd68ca306
RSS podcasts can now be removed. Moreover, the remove option is not shown anymore to non-RSS podcasts.
62 lines
831 KiB
JavaScript
62 lines
831 KiB
JavaScript
var Bb=Object.defineProperty,Hb=Object.defineProperties;var Ub=Object.getOwnPropertyDescriptors;var la=Object.getOwnPropertySymbols;var wf=Object.prototype.hasOwnProperty,Cf=Object.prototype.propertyIsEnumerable;var bf=(e,t,n)=>t in e?Bb(e,t,{enumerable:!0,configurable:!0,writable:!0,value:n}):e[t]=n,Xe=(e,t)=>{for(var n in t||(t={}))wf.call(t,n)&&bf(e,n,t[n]);if(la)for(var n of la(t))Cf.call(t,n)&&bf(e,n,t[n]);return e},Vn=(e,t)=>Hb(e,Ub(t));var Bu=(e,t)=>{var n={};for(var r in e)wf.call(e,r)&&t.indexOf(r)<0&&(n[r]=e[r]);if(e!=null&&la)for(var r of la(e))t.indexOf(r)<0&&Cf.call(e,r)&&(n[r]=e[r]);return n};const qb=function(){const t=document.createElement("link").relList;if(t&&t.supports&&t.supports("modulepreload"))return;for(const o of document.querySelectorAll('link[rel="modulepreload"]'))r(o);new MutationObserver(o=>{for(const s of o)if(s.type==="childList")for(const i of s.addedNodes)i.tagName==="LINK"&&i.rel==="modulepreload"&&r(i)}).observe(document,{childList:!0,subtree:!0});function n(o){const s={};return o.integrity&&(s.integrity=o.integrity),o.referrerpolicy&&(s.referrerPolicy=o.referrerpolicy),o.crossorigin==="use-credentials"?s.credentials="include":o.crossorigin==="anonymous"?s.credentials="omit":s.credentials="same-origin",s}function r(o){if(o.ep)return;o.ep=!0;const s=n(o);fetch(o.href,s)}};qb();function ql(e,t){const n=Object.create(null),r=e.split(",");for(let o=0;o<r.length;o++)n[r[o]]=!0;return t?o=>!!n[o.toLowerCase()]:o=>!!n[o]}const Wb="Infinity,undefined,NaN,isFinite,isNaN,parseFloat,parseInt,decodeURI,decodeURIComponent,encodeURI,encodeURIComponent,Math,Number,Date,Array,Object,Boolean,String,RegExp,Map,Set,JSON,Intl,BigInt",Gb=ql(Wb),Kb="itemscope,allowfullscreen,formnovalidate,ismap,nomodule,novalidate,readonly",Zb=ql(Kb);function i_(e){return!!e||e===""}function ao(e){if(qe(e)){const t={};for(let n=0;n<e.length;n++){const r=e[n],o=Ot(r)?Xb(r):ao(r);if(o)for(const s in o)t[s]=o[s]}return t}else{if(Ot(e))return e;if(Nt(e))return e}}const Yb=/;(?![^(]*\))/g,Jb=/:(.+)/;function Xb(e){const t={};return e.split(Yb).forEach(n=>{if(n){const r=n.split(Jb);r.length>1&&(t[r[0].trim()]=r[1].trim())}}),t}function Ye(e){let t="";if(Ot(e))t=e;else if(qe(e))for(let n=0;n<e.length;n++){const r=Ye(e[n]);r&&(t+=r+" ")}else if(Nt(e))for(const n in e)e[n]&&(t+=n+" ");return t.trim()}function Qb(e){if(!e)return null;let{class:t,style:n}=e;return t&&!Ot(t)&&(e.class=Ye(t)),n&&(e.style=ao(n)),e}function e0(e,t){if(e.length!==t.length)return!1;let n=!0;for(let r=0;n&&r<e.length;r++)n=eo(e[r],t[r]);return n}function eo(e,t){if(e===t)return!0;let n=zf(e),r=zf(t);if(n||r)return n&&r?e.getTime()===t.getTime():!1;if(n=Ai(e),r=Ai(t),n||r)return e===t;if(n=qe(e),r=qe(t),n||r)return n&&r?e0(e,t):!1;if(n=Nt(e),r=Nt(t),n||r){if(!n||!r)return!1;const o=Object.keys(e).length,s=Object.keys(t).length;if(o!==s)return!1;for(const i in e){const a=e.hasOwnProperty(i),l=t.hasOwnProperty(i);if(a&&!l||!a&&l||!eo(e[i],t[i]))return!1}}return String(e)===String(t)}function Wl(e,t){return e.findIndex(n=>eo(n,t))}const v=e=>Ot(e)?e:e==null?"":qe(e)||Nt(e)&&(e.toString===l_||!tt(e.toString))?JSON.stringify(e,a_,2):String(e),a_=(e,t)=>t&&t.__v_isRef?a_(e,t.value):us(t)?{[`Map(${t.size})`]:[...t.entries()].reduce((n,[r,o])=>(n[`${r} =>`]=o,n),{})}:Oo(t)?{[`Set(${t.size})`]:[...t.values()]}:Nt(t)&&!qe(t)&&!u_(t)?String(t):t,yt={},ls=[],or=()=>{},t0=()=>!1,n0=/^on[^a-z]/,Ri=e=>n0.test(e),Od=e=>e.startsWith("onUpdate:"),Rt=Object.assign,Pd=(e,t)=>{const n=e.indexOf(t);n>-1&&e.splice(n,1)},r0=Object.prototype.hasOwnProperty,mt=(e,t)=>r0.call(e,t),qe=Array.isArray,us=e=>Ni(e)==="[object Map]",Oo=e=>Ni(e)==="[object Set]",zf=e=>Ni(e)==="[object Date]",tt=e=>typeof e=="function",Ot=e=>typeof e=="string",Ai=e=>typeof e=="symbol",Nt=e=>e!==null&&typeof e=="object",Dd=e=>Nt(e)&&tt(e.then)&&tt(e.catch),l_=Object.prototype.toString,Ni=e=>l_.call(e),o0=e=>Ni(e).slice(8,-1),u_=e=>Ni(e)==="[object Object]",Fd=e=>Ot(e)&&e!=="NaN"&&e[0]!=="-"&&""+parseInt(e,10)===e,li=ql(",key,ref,ref_for,ref_key,onVnodeBeforeMount,onVnodeMounted,onVnodeBeforeUpdate,onVnodeUpdated,onVnodeBeforeUnmount,onVnodeUnmounted"),Gl=e=>{const t=Object.create(null);return n=>t[n]||(t[n]=e(n))},s0=/-(\w)/g,Ln=Gl(e=>e.replace(s0,(t,n)=>n?n.toUpperCase():"")),i0=/\B([A-Z])/g,pr=Gl(e=>e.replace(i0,"-$1").toLowerCase()),Vi=Gl(e=>e.charAt(0).toUpperCase()+e.slice(1)),ui=Gl(e=>e?`on${Vi(e)}`:""),ps=(e,t)=>!Object.is(e,t),cs=(e,t)=>{for(let n=0;n<e.length;n++)e[n](t)},bl=(e,t,n)=>{Object.defineProperty(e,t,{configurable:!0,enumerable:!1,value:n})},to=e=>{const t=parseFloat(e);return isNaN(t)?e:t};let xf;const a0=()=>xf||(xf=typeof globalThis!="undefined"?globalThis:typeof self!="undefined"?self:typeof window!="undefined"?window:typeof global!="undefined"?global:{});let On;class Id{constructor(t=!1){this.active=!0,this.effects=[],this.cleanups=[],!t&&On&&(this.parent=On,this.index=(On.scopes||(On.scopes=[])).push(this)-1)}run(t){if(this.active){const n=On;try{return On=this,t()}finally{On=n}}}on(){On=this}off(){On=this.parent}stop(t){if(this.active){let n,r;for(n=0,r=this.effects.length;n<r;n++)this.effects[n].stop();for(n=0,r=this.cleanups.length;n<r;n++)this.cleanups[n]();if(this.scopes)for(n=0,r=this.scopes.length;n<r;n++)this.scopes[n].stop(!0);if(this.parent&&!t){const o=this.parent.scopes.pop();o&&o!==this&&(this.parent.scopes[this.index]=o,o.index=this.index)}this.active=!1}}}function l0(e){return new Id(e)}function c_(e,t=On){t&&t.active&&t.effects.push(e)}function u0(){return On}function c0(e){On&&On.cleanups.push(e)}const Md=e=>{const t=new Set(e);return t.w=0,t.n=0,t},d_=e=>(e.w&no)>0,m_=e=>(e.n&no)>0,d0=({deps:e})=>{if(e.length)for(let t=0;t<e.length;t++)e[t].w|=no},m0=e=>{const{deps:t}=e;if(t.length){let n=0;for(let r=0;r<t.length;r++){const o=t[r];d_(o)&&!m_(o)?o.delete(e):t[n++]=o,o.w&=~no,o.n&=~no}t.length=n}},Ac=new WeakMap;let Qs=0,no=1;const Tc=30;let nr;const zo=Symbol(""),Oc=Symbol("");class ji{constructor(t,n=null,r){this.fn=t,this.scheduler=n,this.active=!0,this.deps=[],this.parent=void 0,c_(this,r)}run(){if(!this.active)return this.fn();let t=nr,n=Xr;for(;t;){if(t===this)return;t=t.parent}try{return this.parent=nr,nr=this,Xr=!0,no=1<<++Qs,Qs<=Tc?d0(this):kf(this),this.fn()}finally{Qs<=Tc&&m0(this),no=1<<--Qs,nr=this.parent,Xr=n,this.parent=void 0,this.deferStop&&this.stop()}}stop(){nr===this?this.deferStop=!0:this.active&&(kf(this),this.onStop&&this.onStop(),this.active=!1)}}function kf(e){const{deps:t}=e;if(t.length){for(let n=0;n<t.length;n++)t[n].delete(e);t.length=0}}function f0(e,t){e.effect&&(e=e.effect.fn);const n=new ji(e);t&&(Rt(n,t),t.scope&&c_(n,t.scope)),(!t||!t.lazy)&&n.run();const r=n.run.bind(n);return r.effect=n,r}function p0(e){e.effect.stop()}let Xr=!0;const f_=[];function Po(){f_.push(Xr),Xr=!1}function Do(){const e=f_.pop();Xr=e===void 0?!0:e}function Rn(e,t,n){if(Xr&&nr){let r=Ac.get(e);r||Ac.set(e,r=new Map);let o=r.get(n);o||r.set(n,o=Md()),p_(o)}}function p_(e,t){let n=!1;Qs<=Tc?m_(e)||(e.n|=no,n=!d_(e)):n=!e.has(nr),n&&(e.add(nr),nr.deps.push(e))}function Ar(e,t,n,r,o,s){const i=Ac.get(e);if(!i)return;let a=[];if(t==="clear")a=[...i.values()];else if(n==="length"&&qe(e))i.forEach((l,c)=>{(c==="length"||c>=r)&&a.push(l)});else switch(n!==void 0&&a.push(i.get(n)),t){case"add":qe(e)?Fd(n)&&a.push(i.get("length")):(a.push(i.get(zo)),us(e)&&a.push(i.get(Oc)));break;case"delete":qe(e)||(a.push(i.get(zo)),us(e)&&a.push(i.get(Oc)));break;case"set":us(e)&&a.push(i.get(zo));break}if(a.length===1)a[0]&&Pc(a[0]);else{const l=[];for(const c of a)c&&l.push(...c);Pc(Md(l))}}function Pc(e,t){const n=qe(e)?e:[...e];for(const r of n)r.computed&&Sf(r);for(const r of n)r.computed||Sf(r)}function Sf(e,t){(e!==nr||e.allowRecurse)&&(e.scheduler?e.scheduler():e.run())}const h0=ql("__proto__,__v_isRef,__isVue"),h_=new Set(Object.getOwnPropertyNames(Symbol).filter(e=>e!=="arguments"&&e!=="caller").map(e=>Symbol[e]).filter(Ai)),_0=Kl(),g0=Kl(!1,!0),y0=Kl(!0),v0=Kl(!0,!0),Ef=b0();function b0(){const e={};return["includes","indexOf","lastIndexOf"].forEach(t=>{e[t]=function(...n){const r=ut(this);for(let s=0,i=this.length;s<i;s++)Rn(r,"get",s+"");const o=r[t](...n);return o===-1||o===!1?r[t](...n.map(ut)):o}}),["push","pop","shift","unshift","splice"].forEach(t=>{e[t]=function(...n){Po();const r=ut(this)[t].apply(this,n);return Do(),r}}),e}function Kl(e=!1,t=!1){return function(r,o,s){if(o==="__v_isReactive")return!e;if(o==="__v_isReadonly")return e;if(o==="__v_isShallow")return t;if(o==="__v_raw"&&s===(e?t?C_:w_:t?b_:v_).get(r))return r;const i=qe(r);if(!e&&i&&mt(Ef,o))return Reflect.get(Ef,o,s);const a=Reflect.get(r,o,s);return(Ai(o)?h_.has(o):h0(o))||(e||Rn(r,"get",o),t)?a:qt(a)?i&&Fd(o)?a:a.value:Nt(a)?e?Rd(a):Fo(a):a}}const w0=__(),C0=__(!0);function __(e=!1){return function(n,r,o,s){let i=n[r];if(hs(i)&&qt(i)&&!qt(o))return!1;if(!e&&!hs(o)&&(wl(o)||(o=ut(o),i=ut(i)),!qe(n)&&qt(i)&&!qt(o)))return i.value=o,!0;const a=qe(n)&&Fd(r)?Number(r)<n.length:mt(n,r),l=Reflect.set(n,r,o,s);return n===ut(s)&&(a?ps(o,i)&&Ar(n,"set",r,o):Ar(n,"add",r,o)),l}}function z0(e,t){const n=mt(e,t);e[t];const r=Reflect.deleteProperty(e,t);return r&&n&&Ar(e,"delete",t,void 0),r}function x0(e,t){const n=Reflect.has(e,t);return(!Ai(t)||!h_.has(t))&&Rn(e,"has",t),n}function k0(e){return Rn(e,"iterate",qe(e)?"length":zo),Reflect.ownKeys(e)}const g_={get:_0,set:w0,deleteProperty:z0,has:x0,ownKeys:k0},y_={get:y0,set(e,t){return!0},deleteProperty(e,t){return!0}},S0=Rt({},g_,{get:g0,set:C0}),E0=Rt({},y_,{get:v0}),Ld=e=>e,Zl=e=>Reflect.getPrototypeOf(e);function ua(e,t,n=!1,r=!1){e=e.__v_raw;const o=ut(e),s=ut(t);n||(t!==s&&Rn(o,"get",t),Rn(o,"get",s));const{has:i}=Zl(o),a=r?Ld:n?jd:Ti;if(i.call(o,t))return a(e.get(t));if(i.call(o,s))return a(e.get(s));e!==o&&e.get(t)}function ca(e,t=!1){const n=this.__v_raw,r=ut(n),o=ut(e);return t||(e!==o&&Rn(r,"has",e),Rn(r,"has",o)),e===o?n.has(e):n.has(e)||n.has(o)}function da(e,t=!1){return e=e.__v_raw,!t&&Rn(ut(e),"iterate",zo),Reflect.get(e,"size",e)}function $f(e){e=ut(e);const t=ut(this);return Zl(t).has.call(t,e)||(t.add(e),Ar(t,"add",e,e)),this}function Af(e,t){t=ut(t);const n=ut(this),{has:r,get:o}=Zl(n);let s=r.call(n,e);s||(e=ut(e),s=r.call(n,e));const i=o.call(n,e);return n.set(e,t),s?ps(t,i)&&Ar(n,"set",e,t):Ar(n,"add",e,t),this}function Tf(e){const t=ut(this),{has:n,get:r}=Zl(t);let o=n.call(t,e);o||(e=ut(e),o=n.call(t,e)),r&&r.call(t,e);const s=t.delete(e);return o&&Ar(t,"delete",e,void 0),s}function Of(){const e=ut(this),t=e.size!==0,n=e.clear();return t&&Ar(e,"clear",void 0,void 0),n}function ma(e,t){return function(r,o){const s=this,i=s.__v_raw,a=ut(i),l=t?Ld:e?jd:Ti;return!e&&Rn(a,"iterate",zo),i.forEach((c,d)=>r.call(o,l(c),l(d),s))}}function fa(e,t,n){return function(...r){const o=this.__v_raw,s=ut(o),i=us(s),a=e==="entries"||e===Symbol.iterator&&i,l=e==="keys"&&i,c=o[e](...r),d=n?Ld:t?jd:Ti;return!t&&Rn(s,"iterate",l?Oc:zo),{next(){const{value:f,done:m}=c.next();return m?{value:f,done:m}:{value:a?[d(f[0]),d(f[1])]:d(f),done:m}},[Symbol.iterator](){return this}}}}function Mr(e){return function(...t){return e==="delete"?!1:this}}function $0(){const e={get(s){return ua(this,s)},get size(){return da(this)},has:ca,add:$f,set:Af,delete:Tf,clear:Of,forEach:ma(!1,!1)},t={get(s){return ua(this,s,!1,!0)},get size(){return da(this)},has:ca,add:$f,set:Af,delete:Tf,clear:Of,forEach:ma(!1,!0)},n={get(s){return ua(this,s,!0)},get size(){return da(this,!0)},has(s){return ca.call(this,s,!0)},add:Mr("add"),set:Mr("set"),delete:Mr("delete"),clear:Mr("clear"),forEach:ma(!0,!1)},r={get(s){return ua(this,s,!0,!0)},get size(){return da(this,!0)},has(s){return ca.call(this,s,!0)},add:Mr("add"),set:Mr("set"),delete:Mr("delete"),clear:Mr("clear"),forEach:ma(!0,!0)};return["keys","values","entries",Symbol.iterator].forEach(s=>{e[s]=fa(s,!1,!1),n[s]=fa(s,!0,!1),t[s]=fa(s,!1,!0),r[s]=fa(s,!0,!0)}),[e,n,t,r]}const[A0,T0,O0,P0]=$0();function Yl(e,t){const n=t?e?P0:O0:e?T0:A0;return(r,o,s)=>o==="__v_isReactive"?!e:o==="__v_isReadonly"?e:o==="__v_raw"?r:Reflect.get(mt(n,o)&&o in r?n:r,o,s)}const D0={get:Yl(!1,!1)},F0={get:Yl(!1,!0)},I0={get:Yl(!0,!1)},M0={get:Yl(!0,!0)},v_=new WeakMap,b_=new WeakMap,w_=new WeakMap,C_=new WeakMap;function L0(e){switch(e){case"Object":case"Array":return 1;case"Map":case"Set":case"WeakMap":case"WeakSet":return 2;default:return 0}}function R0(e){return e.__v_skip||!Object.isExtensible(e)?0:L0(o0(e))}function Fo(e){return hs(e)?e:Jl(e,!1,g_,D0,v_)}function z_(e){return Jl(e,!1,S0,F0,b_)}function Rd(e){return Jl(e,!0,y_,I0,w_)}function N0(e){return Jl(e,!0,E0,M0,C_)}function Jl(e,t,n,r,o){if(!Nt(e)||e.__v_raw&&!(t&&e.__v_isReactive))return e;const s=o.get(e);if(s)return s;const i=R0(e);if(i===0)return e;const a=new Proxy(e,i===2?r:n);return o.set(e,a),a}function xo(e){return hs(e)?xo(e.__v_raw):!!(e&&e.__v_isReactive)}function hs(e){return!!(e&&e.__v_isReadonly)}function wl(e){return!!(e&&e.__v_isShallow)}function Nd(e){return xo(e)||hs(e)}function ut(e){const t=e&&e.__v_raw;return t?ut(t):e}function Vd(e){return bl(e,"__v_skip",!0),e}const Ti=e=>Nt(e)?Fo(e):e,jd=e=>Nt(e)?Rd(e):e;function Bd(e){Xr&&nr&&(e=ut(e),p_(e.dep||(e.dep=Md())))}function Xl(e,t){e=ut(e),e.dep&&Pc(e.dep)}function qt(e){return!!(e&&e.__v_isRef===!0)}function wn(e){return k_(e,!1)}function x_(e){return k_(e,!0)}function k_(e,t){return qt(e)?e:new V0(e,t)}class V0{constructor(t,n){this.__v_isShallow=n,this.dep=void 0,this.__v_isRef=!0,this._rawValue=n?t:ut(t),this._value=n?t:Ti(t)}get value(){return Bd(this),this._value}set value(t){t=this.__v_isShallow?t:ut(t),ps(t,this._rawValue)&&(this._rawValue=t,this._value=this.__v_isShallow?t:Ti(t),Xl(this))}}function j0(e){Xl(e)}function ds(e){return qt(e)?e.value:e}const B0={get:(e,t,n)=>ds(Reflect.get(e,t,n)),set:(e,t,n,r)=>{const o=e[t];return qt(o)&&!qt(n)?(o.value=n,!0):Reflect.set(e,t,n,r)}};function Hd(e){return xo(e)?e:new Proxy(e,B0)}class H0{constructor(t){this.dep=void 0,this.__v_isRef=!0;const{get:n,set:r}=t(()=>Bd(this),()=>Xl(this));this._get=n,this._set=r}get value(){return this._get()}set value(t){this._set(t)}}function U0(e){return new H0(e)}function ci(e){const t=qe(e)?new Array(e.length):{};for(const n in e)t[n]=S_(e,n);return t}class q0{constructor(t,n,r){this._object=t,this._key=n,this._defaultValue=r,this.__v_isRef=!0}get value(){const t=this._object[this._key];return t===void 0?this._defaultValue:t}set value(t){this._object[this._key]=t}}function S_(e,t,n){const r=e[t];return qt(r)?r:new q0(e,t,n)}class W0{constructor(t,n,r,o){this._setter=n,this.dep=void 0,this.__v_isRef=!0,this._dirty=!0,this.effect=new ji(t,()=>{this._dirty||(this._dirty=!0,Xl(this))}),this.effect.computed=this,this.effect.active=this._cacheable=!o,this.__v_isReadonly=r}get value(){const t=ut(this);return Bd(t),(t._dirty||!t._cacheable)&&(t._dirty=!1,t._value=t.effect.run()),t._value}set value(t){this._setter(t)}}function G0(e,t,n=!1){let r,o;const s=tt(e);return s?(r=e,o=or):(r=e.get,o=e.set),new W0(r,o,s||!o,n)}const di=[];function E_(e,...t){Po();const n=di.length?di[di.length-1].component:null,r=n&&n.appContext.config.warnHandler,o=K0();if(r)hr(r,n,11,[e+t.join(""),n&&n.proxy,o.map(({vnode:s})=>`at <${yg(n,s.type)}>`).join(`
|
|
`),o]);else{const s=[`[Vue warn]: ${e}`,...t];o.length&&s.push(`
|
|
`,...Z0(o)),console.warn(...s)}Do()}function K0(){let e=di[di.length-1];if(!e)return[];const t=[];for(;e;){const n=t[0];n&&n.vnode===e?n.recurseCount++:t.push({vnode:e,recurseCount:0});const r=e.component&&e.component.parent;e=r&&r.vnode}return t}function Z0(e){const t=[];return e.forEach((n,r)=>{t.push(...r===0?[]:[`
|
|
`],...Y0(n))}),t}function Y0({vnode:e,recurseCount:t}){const n=t>0?`... (${t} recursive calls)`:"",r=e.component?e.component.parent==null:!1,o=` at <${yg(e.component,e.type,r)}`,s=">"+n;return e.props?[o,...J0(e.props),s]:[o+s]}function J0(e){const t=[],n=Object.keys(e);return n.slice(0,3).forEach(r=>{t.push(...$_(r,e[r]))}),n.length>3&&t.push(" ..."),t}function $_(e,t,n){return Ot(t)?(t=JSON.stringify(t),n?t:[`${e}=${t}`]):typeof t=="number"||typeof t=="boolean"||t==null?n?t:[`${e}=${t}`]:qt(t)?(t=$_(e,ut(t.value),!0),n?t:[`${e}=Ref<`,t,">"]):tt(t)?[`${e}=fn${t.name?`<${t.name}>`:""}`]:(t=ut(t),n?t:[`${e}=`,t])}function hr(e,t,n,r){let o;try{o=r?e(...r):e()}catch(s){Io(s,t,n)}return o}function In(e,t,n,r){if(tt(e)){const s=hr(e,t,n,r);return s&&Dd(s)&&s.catch(i=>{Io(i,t,n)}),s}const o=[];for(let s=0;s<e.length;s++)o.push(In(e[s],t,n,r));return o}function Io(e,t,n,r=!0){const o=t?t.vnode:null;if(t){let s=t.parent;const i=t.proxy,a=n;for(;s;){const c=s.ec;if(c){for(let d=0;d<c.length;d++)if(c[d](e,i,a)===!1)return}s=s.parent}const l=t.appContext.config.errorHandler;if(l){hr(l,null,10,[e,i,a]);return}}X0(e,n,o,r)}function X0(e,t,n,r=!0){console.error(e)}let Cl=!1,Dc=!1;const Fn=[];let kr=0;const mi=[];let ei=null,Qo=0;const fi=[];let Br=null,es=0;const A_=Promise.resolve();let Ud=null,Fc=null;function Ql(e){const t=Ud||A_;return e?t.then(this?e.bind(this):e):t}function Q0(e){let t=kr+1,n=Fn.length;for(;t<n;){const r=t+n>>>1;Oi(Fn[r])<e?t=r+1:n=r}return t}function qd(e){(!Fn.length||!Fn.includes(e,Cl&&e.allowRecurse?kr+1:kr))&&e!==Fc&&(e.id==null?Fn.push(e):Fn.splice(Q0(e.id),0,e),T_())}function T_(){!Cl&&!Dc&&(Dc=!0,Ud=A_.then(P_))}function ew(e){const t=Fn.indexOf(e);t>kr&&Fn.splice(t,1)}function O_(e,t,n,r){qe(e)?n.push(...e):(!t||!t.includes(e,e.allowRecurse?r+1:r))&&n.push(e),T_()}function tw(e){O_(e,ei,mi,Qo)}function Wd(e){O_(e,Br,fi,es)}function eu(e,t=null){if(mi.length){for(Fc=t,ei=[...new Set(mi)],mi.length=0,Qo=0;Qo<ei.length;Qo++)ei[Qo]();ei=null,Qo=0,Fc=null,eu(e,t)}}function zl(e){if(eu(),fi.length){const t=[...new Set(fi)];if(fi.length=0,Br){Br.push(...t);return}for(Br=t,Br.sort((n,r)=>Oi(n)-Oi(r)),es=0;es<Br.length;es++)Br[es]();Br=null,es=0}}const Oi=e=>e.id==null?1/0:e.id;function P_(e){Dc=!1,Cl=!0,eu(e),Fn.sort((n,r)=>Oi(n)-Oi(r));const t=or;try{for(kr=0;kr<Fn.length;kr++){const n=Fn[kr];n&&n.active!==!1&&hr(n,null,14)}}finally{kr=0,Fn.length=0,zl(),Cl=!1,Ud=null,(Fn.length||mi.length||fi.length)&&P_(e)}}let ts,pa=[];function D_(e,t){var n,r;ts=e,ts?(ts.enabled=!0,pa.forEach(({event:o,args:s})=>ts.emit(o,...s)),pa=[]):typeof window!="undefined"&&window.HTMLElement&&!(!((r=(n=window.navigator)===null||n===void 0?void 0:n.userAgent)===null||r===void 0)&&r.includes("jsdom"))?((t.__VUE_DEVTOOLS_HOOK_REPLAY__=t.__VUE_DEVTOOLS_HOOK_REPLAY__||[]).push(s=>{D_(s,t)}),setTimeout(()=>{ts||(t.__VUE_DEVTOOLS_HOOK_REPLAY__=null,pa=[])},3e3)):pa=[]}function nw(e,t,...n){if(e.isUnmounted)return;const r=e.vnode.props||yt;let o=n;const s=t.startsWith("update:"),i=s&&t.slice(7);if(i&&i in r){const d=`${i==="modelValue"?"model":i}Modifiers`,{number:f,trim:m}=r[d]||yt;m&&(o=n.map(p=>p.trim())),f&&(o=n.map(to))}let a,l=r[a=ui(t)]||r[a=ui(Ln(t))];!l&&s&&(l=r[a=ui(pr(t))]),l&&In(l,e,6,o);const c=r[a+"Once"];if(c){if(!e.emitted)e.emitted={};else if(e.emitted[a])return;e.emitted[a]=!0,In(c,e,6,o)}}function F_(e,t,n=!1){const r=t.emitsCache,o=r.get(e);if(o!==void 0)return o;const s=e.emits;let i={},a=!1;if(!tt(e)){const l=c=>{const d=F_(c,t,!0);d&&(a=!0,Rt(i,d))};!n&&t.mixins.length&&t.mixins.forEach(l),e.extends&&l(e.extends),e.mixins&&e.mixins.forEach(l)}return!s&&!a?(r.set(e,null),null):(qe(s)?s.forEach(l=>i[l]=null):Rt(i,s),r.set(e,i),i)}function tu(e,t){return!e||!Ri(t)?!1:(t=t.slice(2).replace(/Once$/,""),mt(e,t[0].toLowerCase()+t.slice(1))||mt(e,pr(t))||mt(e,t))}let on=null,nu=null;function Pi(e){const t=on;return on=e,nu=e&&e.type.__scopeId||null,t}function rw(e){nu=e}function ow(){nu=null}const sw=e=>P;function P(e,t=on,n){if(!t||e._n)return e;const r=(...o)=>{r._d&&jc(-1);const s=Pi(t),i=e(...o);return Pi(s),r._d&&jc(1),i};return r._n=!0,r._c=!0,r._d=!0,r}function ll(e){const{type:t,vnode:n,proxy:r,withProxy:o,props:s,propsOptions:[i],slots:a,attrs:l,emit:c,render:d,renderCache:f,data:m,setupState:p,ctx:h,inheritAttrs:_}=e;let g,b;const w=Pi(e);try{if(n.shapeFlag&4){const z=o||r;g=Pn(d.call(z,z,f,s,p,m,h)),b=l}else{const z=t;g=Pn(z.length>1?z(s,{attrs:l,slots:a,emit:c}):z(s,null)),b=t.props?l:aw(l)}}catch(z){_i.length=0,Io(z,e,1),g=C(ln)}let x=g;if(b&&_!==!1){const z=Object.keys(b),{shapeFlag:E}=x;z.length&&E&7&&(i&&z.some(Od)&&(b=lw(b,i)),x=gr(x,b))}return n.dirs&&(x=gr(x),x.dirs=x.dirs?x.dirs.concat(n.dirs):n.dirs),n.transition&&(x.transition=n.transition),g=x,Pi(w),g}function iw(e){let t;for(let n=0;n<e.length;n++){const r=e[n];if(oo(r)){if(r.type!==ln||r.children==="v-if"){if(t)return;t=r}}else return}return t}const aw=e=>{let t;for(const n in e)(n==="class"||n==="style"||Ri(n))&&((t||(t={}))[n]=e[n]);return t},lw=(e,t)=>{const n={};for(const r in e)(!Od(r)||!(r.slice(9)in t))&&(n[r]=e[r]);return n};function uw(e,t,n){const{props:r,children:o,component:s}=e,{props:i,children:a,patchFlag:l}=t,c=s.emitsOptions;if(t.dirs||t.transition)return!0;if(n&&l>=0){if(l&1024)return!0;if(l&16)return r?Pf(r,i,c):!!i;if(l&8){const d=t.dynamicProps;for(let f=0;f<d.length;f++){const m=d[f];if(i[m]!==r[m]&&!tu(c,m))return!0}}}else return(o||a)&&(!a||!a.$stable)?!0:r===i?!1:r?i?Pf(r,i,c):!0:!!i;return!1}function Pf(e,t,n){const r=Object.keys(t);if(r.length!==Object.keys(e).length)return!0;for(let o=0;o<r.length;o++){const s=r[o];if(t[s]!==e[s]&&!tu(n,s))return!0}return!1}function Gd({vnode:e,parent:t},n){for(;t&&t.subTree===e;)(e=t.vnode).el=n,t=t.parent}const I_=e=>e.__isSuspense,cw={name:"Suspense",__isSuspense:!0,process(e,t,n,r,o,s,i,a,l,c){e==null?mw(t,n,r,o,s,i,a,l,c):fw(e,t,n,r,o,i,a,l,c)},hydrate:pw,create:Kd,normalize:hw},dw=cw;function Di(e,t){const n=e.props&&e.props[t];tt(n)&&n()}function mw(e,t,n,r,o,s,i,a,l){const{p:c,o:{createElement:d}}=l,f=d("div"),m=e.suspense=Kd(e,o,r,t,f,n,s,i,a,l);c(null,m.pendingBranch=e.ssContent,f,null,r,m,s,i),m.deps>0?(Di(e,"onPending"),Di(e,"onFallback"),c(null,e.ssFallback,t,n,r,null,s,i),ms(m,e.ssFallback)):m.resolve()}function fw(e,t,n,r,o,s,i,a,{p:l,um:c,o:{createElement:d}}){const f=t.suspense=e.suspense;f.vnode=t,t.el=e.el;const m=t.ssContent,p=t.ssFallback,{activeBranch:h,pendingBranch:_,isInFallback:g,isHydrating:b}=f;if(_)f.pendingBranch=m,fr(m,_)?(l(_,m,f.hiddenContainer,null,o,f,s,i,a),f.deps<=0?f.resolve():g&&(l(h,p,n,r,o,null,s,i,a),ms(f,p))):(f.pendingId++,b?(f.isHydrating=!1,f.activeBranch=_):c(_,o,f),f.deps=0,f.effects.length=0,f.hiddenContainer=d("div"),g?(l(null,m,f.hiddenContainer,null,o,f,s,i,a),f.deps<=0?f.resolve():(l(h,p,n,r,o,null,s,i,a),ms(f,p))):h&&fr(m,h)?(l(h,m,n,r,o,f,s,i,a),f.resolve(!0)):(l(null,m,f.hiddenContainer,null,o,f,s,i,a),f.deps<=0&&f.resolve()));else if(h&&fr(m,h))l(h,m,n,r,o,f,s,i,a),ms(f,m);else if(Di(t,"onPending"),f.pendingBranch=m,f.pendingId++,l(null,m,f.hiddenContainer,null,o,f,s,i,a),f.deps<=0)f.resolve();else{const{timeout:w,pendingId:x}=f;w>0?setTimeout(()=>{f.pendingId===x&&f.fallback(p)},w):w===0&&f.fallback(p)}}function Kd(e,t,n,r,o,s,i,a,l,c,d=!1){const{p:f,m,um:p,n:h,o:{parentNode:_,remove:g}}=c,b=to(e.props&&e.props.timeout),w={vnode:e,parent:t,parentComponent:n,isSVG:i,container:r,hiddenContainer:o,anchor:s,deps:0,pendingId:0,timeout:typeof b=="number"?b:-1,activeBranch:null,pendingBranch:null,isInFallback:!0,isHydrating:d,isUnmounted:!1,effects:[],resolve(x=!1){const{vnode:z,activeBranch:E,pendingBranch:T,pendingId:V,effects:F,parentComponent:A,container:M}=w;if(w.isHydrating)w.isHydrating=!1;else if(!x){const q=E&&T.transition&&T.transition.mode==="out-in";q&&(E.transition.afterLeave=()=>{V===w.pendingId&&m(T,M,B,0)});let{anchor:B}=w;E&&(B=h(E),p(E,A,w,!0)),q||m(T,M,B,0)}ms(w,T),w.pendingBranch=null,w.isInFallback=!1;let W=w.parent,R=!1;for(;W;){if(W.pendingBranch){W.effects.push(...F),R=!0;break}W=W.parent}R||Wd(F),w.effects=[],Di(z,"onResolve")},fallback(x){if(!w.pendingBranch)return;const{vnode:z,activeBranch:E,parentComponent:T,container:V,isSVG:F}=w;Di(z,"onFallback");const A=h(E),M=()=>{!w.isInFallback||(f(null,x,V,A,T,null,F,a,l),ms(w,x))},W=x.transition&&x.transition.mode==="out-in";W&&(E.transition.afterLeave=M),w.isInFallback=!0,p(E,T,null,!0),W||M()},move(x,z,E){w.activeBranch&&m(w.activeBranch,x,z,E),w.container=x},next(){return w.activeBranch&&h(w.activeBranch)},registerDep(x,z){const E=!!w.pendingBranch;E&&w.deps++;const T=x.vnode.el;x.asyncDep.catch(V=>{Io(V,x,0)}).then(V=>{if(x.isUnmounted||w.isUnmounted||w.pendingId!==x.suspenseId)return;x.asyncResolved=!0;const{vnode:F}=x;Bc(x,V,!1),T&&(F.el=T);const A=!T&&x.subTree.el;z(x,F,_(T||x.subTree.el),T?null:h(x.subTree),w,i,l),A&&g(A),Gd(x,F.el),E&&--w.deps===0&&w.resolve()})},unmount(x,z){w.isUnmounted=!0,w.activeBranch&&p(w.activeBranch,n,x,z),w.pendingBranch&&p(w.pendingBranch,n,x,z)}};return w}function pw(e,t,n,r,o,s,i,a,l){const c=t.suspense=Kd(t,r,n,e.parentNode,document.createElement("div"),null,o,s,i,a,!0),d=l(e,c.pendingBranch=t.ssContent,n,c,s,i);return c.deps===0&&c.resolve(),d}function hw(e){const{shapeFlag:t,children:n}=e,r=t&32;e.ssContent=Df(r?n.default:n),e.ssFallback=r?Df(n.fallback):C(ln)}function Df(e){let t;if(tt(e)){const n=To&&e._c;n&&(e._d=!1,S()),e=e(),n&&(e._d=!0,t=Cn,ug())}return qe(e)&&(e=iw(e)),e=Pn(e),t&&!e.dynamicChildren&&(e.dynamicChildren=t.filter(n=>n!==e)),e}function M_(e,t){t&&t.pendingBranch?qe(e)?t.effects.push(...e):t.effects.push(e):Wd(e)}function ms(e,t){e.activeBranch=t;const{vnode:n,parentComponent:r}=e,o=n.el=t.el;r&&r.subTree===n&&(r.vnode.el=o,Gd(r,o))}function pi(e,t){if(Zt){let n=Zt.provides;const r=Zt.parent&&Zt.parent.provides;r===n&&(n=Zt.provides=Object.create(r)),n[e]=t}}function sr(e,t,n=!1){const r=Zt||on;if(r){const o=r.parent==null?r.vnode.appContext&&r.vnode.appContext.provides:r.parent.provides;if(o&&e in o)return o[e];if(arguments.length>1)return n&&tt(t)?t.call(r.proxy):t}}function _w(e,t){return Bi(e,null,t)}function L_(e,t){return Bi(e,null,{flush:"post"})}function gw(e,t){return Bi(e,null,{flush:"sync"})}const Ff={};function Mt(e,t,n){return Bi(e,t,n)}function Bi(e,t,{immediate:n,deep:r,flush:o,onTrack:s,onTrigger:i}=yt){const a=Zt;let l,c=!1,d=!1;if(qt(e)?(l=()=>e.value,c=wl(e)):xo(e)?(l=()=>e,r=!0):qe(e)?(d=!0,c=e.some(b=>xo(b)||wl(b)),l=()=>e.map(b=>{if(qt(b))return b.value;if(xo(b))return Co(b);if(tt(b))return hr(b,a,2)})):tt(e)?t?l=()=>hr(e,a,2):l=()=>{if(!(a&&a.isUnmounted))return f&&f(),In(e,a,3,[m])}:l=or,t&&r){const b=l;l=()=>Co(b())}let f,m=b=>{f=g.onStop=()=>{hr(b,a,4)}};if(gs)return m=or,t?n&&In(t,a,3,[l(),d?[]:void 0,m]):l(),or;let p=d?[]:Ff;const h=()=>{if(!!g.active)if(t){const b=g.run();(r||c||(d?b.some((w,x)=>ps(w,p[x])):ps(b,p)))&&(f&&f(),In(t,a,3,[b,p===Ff?void 0:p,m]),p=b)}else g.run()};h.allowRecurse=!!t;let _;o==="sync"?_=h:o==="post"?_=()=>Qt(h,a&&a.suspense):_=()=>tw(h);const g=new ji(l,_);return t?n?h():p=g.run():o==="post"?Qt(g.run.bind(g),a&&a.suspense):g.run(),()=>{g.stop(),a&&a.scope&&Pd(a.scope.effects,g)}}function yw(e,t,n){const r=this.proxy,o=Ot(e)?e.includes(".")?R_(r,e):()=>r[e]:e.bind(r,r);let s;tt(t)?s=t:(s=t.handler,n=t);const i=Zt;so(this);const a=Bi(o,s.bind(r),n);return i?so(i):Qr(),a}function R_(e,t){const n=t.split(".");return()=>{let r=e;for(let o=0;o<n.length&&r;o++)r=r[n[o]];return r}}function Co(e,t){if(!Nt(e)||e.__v_skip||(t=t||new Set,t.has(e)))return e;if(t.add(e),qt(e))Co(e.value,t);else if(qe(e))for(let n=0;n<e.length;n++)Co(e[n],t);else if(Oo(e)||us(e))e.forEach(n=>{Co(n,t)});else if(u_(e))for(const n in e)Co(e[n],t);return e}function Zd(){const e={isMounted:!1,isLeaving:!1,isUnmounting:!1,leavingVNodes:new Map};return Mo(()=>{e.isMounted=!0}),iu(()=>{e.isUnmounting=!0}),e}const jn=[Function,Array],vw={name:"BaseTransition",props:{mode:String,appear:Boolean,persisted:Boolean,onBeforeEnter:jn,onEnter:jn,onAfterEnter:jn,onEnterCancelled:jn,onBeforeLeave:jn,onLeave:jn,onAfterLeave:jn,onLeaveCancelled:jn,onBeforeAppear:jn,onAppear:jn,onAfterAppear:jn,onAppearCancelled:jn},setup(e,{slots:t}){const n=ar(),r=Zd();let o;return()=>{const s=t.default&&ru(t.default(),!0);if(!s||!s.length)return;let i=s[0];if(s.length>1){for(const _ of s)if(_.type!==ln){i=_;break}}const a=ut(e),{mode:l}=a;if(r.isLeaving)return Hu(i);const c=If(i);if(!c)return Hu(i);const d=_s(c,a,r,n);Ao(c,d);const f=n.subTree,m=f&&If(f);let p=!1;const{getTransitionKey:h}=c.type;if(h){const _=h();o===void 0?o=_:_!==o&&(o=_,p=!0)}if(m&&m.type!==ln&&(!fr(c,m)||p)){const _=_s(m,a,r,n);if(Ao(m,_),l==="out-in")return r.isLeaving=!0,_.afterLeave=()=>{r.isLeaving=!1,n.update()},Hu(i);l==="in-out"&&c.type!==ln&&(_.delayLeave=(g,b,w)=>{const x=N_(r,m);x[String(m.key)]=m,g._leaveCb=()=>{b(),g._leaveCb=void 0,delete d.delayedLeave},d.delayedLeave=w})}return i}}},Yd=vw;function N_(e,t){const{leavingVNodes:n}=e;let r=n.get(t.type);return r||(r=Object.create(null),n.set(t.type,r)),r}function _s(e,t,n,r){const{appear:o,mode:s,persisted:i=!1,onBeforeEnter:a,onEnter:l,onAfterEnter:c,onEnterCancelled:d,onBeforeLeave:f,onLeave:m,onAfterLeave:p,onLeaveCancelled:h,onBeforeAppear:_,onAppear:g,onAfterAppear:b,onAppearCancelled:w}=t,x=String(e.key),z=N_(n,e),E=(F,A)=>{F&&In(F,r,9,A)},T=(F,A)=>{const M=A[1];E(F,A),qe(F)?F.every(W=>W.length<=1)&&M():F.length<=1&&M()},V={mode:s,persisted:i,beforeEnter(F){let A=a;if(!n.isMounted)if(o)A=_||a;else return;F._leaveCb&&F._leaveCb(!0);const M=z[x];M&&fr(e,M)&&M.el._leaveCb&&M.el._leaveCb(),E(A,[F])},enter(F){let A=l,M=c,W=d;if(!n.isMounted)if(o)A=g||l,M=b||c,W=w||d;else return;let R=!1;const q=F._enterCb=B=>{R||(R=!0,B?E(W,[F]):E(M,[F]),V.delayedLeave&&V.delayedLeave(),F._enterCb=void 0)};A?T(A,[F,q]):q()},leave(F,A){const M=String(e.key);if(F._enterCb&&F._enterCb(!0),n.isUnmounting)return A();E(f,[F]);let W=!1;const R=F._leaveCb=q=>{W||(W=!0,A(),q?E(h,[F]):E(p,[F]),F._leaveCb=void 0,z[M]===e&&delete z[M])};z[M]=e,m?T(m,[F,R]):R()},clone(F){return _s(F,t,n,r)}};return V}function Hu(e){if(Ui(e))return e=gr(e),e.children=null,e}function If(e){return Ui(e)?e.children?e.children[0]:void 0:e}function Ao(e,t){e.shapeFlag&6&&e.component?Ao(e.component.subTree,t):e.shapeFlag&128?(e.ssContent.transition=t.clone(e.ssContent),e.ssFallback.transition=t.clone(e.ssFallback)):e.transition=t}function ru(e,t=!1,n){let r=[],o=0;for(let s=0;s<e.length;s++){let i=e[s];const a=n==null?i.key:String(n)+String(i.key!=null?i.key:s);i.type===Ge?(i.patchFlag&128&&o++,r=r.concat(ru(i.children,t,a))):(t||i.type!==ln)&&r.push(a!=null?gr(i,{key:a}):i)}if(o>1)for(let s=0;s<r.length;s++)r[s].patchFlag=-2;return r}function Hi(e){return tt(e)?{setup:e,name:e.name}:e}const ko=e=>!!e.type.__asyncLoader;function bw(e){tt(e)&&(e={loader:e});const{loader:t,loadingComponent:n,errorComponent:r,delay:o=200,timeout:s,suspensible:i=!0,onError:a}=e;let l=null,c,d=0;const f=()=>(d++,l=null,m()),m=()=>{let p;return l||(p=l=t().catch(h=>{if(h=h instanceof Error?h:new Error(String(h)),a)return new Promise((_,g)=>{a(h,()=>_(f()),()=>g(h),d+1)});throw h}).then(h=>p!==l&&l?l:(h&&(h.__esModule||h[Symbol.toStringTag]==="Module")&&(h=h.default),c=h,h)))};return Hi({name:"AsyncComponentWrapper",__asyncLoader:m,get __asyncResolved(){return c},setup(){const p=Zt;if(c)return()=>Uu(c,p);const h=w=>{l=null,Io(w,p,13,!r)};if(i&&p.suspense||gs)return m().then(w=>()=>Uu(w,p)).catch(w=>(h(w),()=>r?C(r,{error:w}):null));const _=wn(!1),g=wn(),b=wn(!!o);return o&&setTimeout(()=>{b.value=!1},o),s!=null&&setTimeout(()=>{if(!_.value&&!g.value){const w=new Error(`Async component timed out after ${s}ms.`);h(w),g.value=w}},s),m().then(()=>{_.value=!0,p.parent&&Ui(p.parent.vnode)&&qd(p.parent.update)}).catch(w=>{h(w),g.value=w}),()=>{if(_.value&&c)return Uu(c,p);if(g.value&&r)return C(r,{error:g.value});if(n&&!b.value)return C(n)}}})}function Uu(e,{vnode:{ref:t,props:n,children:r,shapeFlag:o},parent:s}){const i=C(e,n,r);return i.ref=t,i}const Ui=e=>e.type.__isKeepAlive,ww={name:"KeepAlive",__isKeepAlive:!0,props:{include:[String,RegExp,Array],exclude:[String,RegExp,Array],max:[String,Number]},setup(e,{slots:t}){const n=ar(),r=n.ctx;if(!r.renderer)return()=>{const w=t.default&&t.default();return w&&w.length===1?w[0]:w};const o=new Map,s=new Set;let i=null;const a=n.suspense,{renderer:{p:l,m:c,um:d,o:{createElement:f}}}=r,m=f("div");r.activate=(w,x,z,E,T)=>{const V=w.component;c(w,x,z,0,a),l(V.vnode,w,x,z,V,a,E,w.slotScopeIds,T),Qt(()=>{V.isDeactivated=!1,V.a&&cs(V.a);const F=w.props&&w.props.onVnodeMounted;F&&bn(F,V.parent,w)},a)},r.deactivate=w=>{const x=w.component;c(w,m,null,1,a),Qt(()=>{x.da&&cs(x.da);const z=w.props&&w.props.onVnodeUnmounted;z&&bn(z,x.parent,w),x.isDeactivated=!0},a)};function p(w){qu(w),d(w,n,a,!0)}function h(w){o.forEach((x,z)=>{const E=$l(x.type);E&&(!w||!w(E))&&_(z)})}function _(w){const x=o.get(w);!i||x.type!==i.type?p(x):i&&qu(i),o.delete(w),s.delete(w)}Mt(()=>[e.include,e.exclude],([w,x])=>{w&&h(z=>ti(w,z)),x&&h(z=>!ti(x,z))},{flush:"post",deep:!0});let g=null;const b=()=>{g!=null&&o.set(g,Wu(n.subTree))};return Mo(b),su(b),iu(()=>{o.forEach(w=>{const{subTree:x,suspense:z}=n,E=Wu(x);if(w.type===E.type){qu(E);const T=E.component.da;T&&Qt(T,z);return}p(w)})}),()=>{if(g=null,!t.default)return null;const w=t.default(),x=w[0];if(w.length>1)return i=null,w;if(!oo(x)||!(x.shapeFlag&4)&&!(x.shapeFlag&128))return i=null,x;let z=Wu(x);const E=z.type,T=$l(ko(z)?z.type.__asyncResolved||{}:E),{include:V,exclude:F,max:A}=e;if(V&&(!T||!ti(V,T))||F&&T&&ti(F,T))return i=z,x;const M=z.key==null?E:z.key,W=o.get(M);return z.el&&(z=gr(z),x.shapeFlag&128&&(x.ssContent=z)),g=M,W?(z.el=W.el,z.component=W.component,z.transition&&Ao(z,z.transition),z.shapeFlag|=512,s.delete(M),s.add(M)):(s.add(M),A&&s.size>parseInt(A,10)&&_(s.values().next().value)),z.shapeFlag|=256,i=z,I_(x.type)?x:z}}},Cw=ww;function ti(e,t){return qe(e)?e.some(n=>ti(n,t)):Ot(e)?e.split(",").includes(t):e.test?e.test(t):!1}function V_(e,t){B_(e,"a",t)}function j_(e,t){B_(e,"da",t)}function B_(e,t,n=Zt){const r=e.__wdc||(e.__wdc=()=>{let o=n;for(;o;){if(o.isDeactivated)return;o=o.parent}return e()});if(ou(t,r,n),n){let o=n.parent;for(;o&&o.parent;)Ui(o.parent.vnode)&&zw(r,t,n,o),o=o.parent}}function zw(e,t,n,r){const o=ou(t,e,r,!0);As(()=>{Pd(r[t],o)},n)}function qu(e){let t=e.shapeFlag;t&256&&(t-=256),t&512&&(t-=512),e.shapeFlag=t}function Wu(e){return e.shapeFlag&128?e.ssContent:e}function ou(e,t,n=Zt,r=!1){if(n){const o=n[e]||(n[e]=[]),s=t.__weh||(t.__weh=(...i)=>{if(n.isUnmounted)return;Po(),so(n);const a=In(t,n,e,i);return Qr(),Do(),a});return r?o.unshift(s):o.push(s),s}}const Pr=e=>(t,n=Zt)=>(!gs||e==="sp")&&ou(e,t,n),H_=Pr("bm"),Mo=Pr("m"),U_=Pr("bu"),su=Pr("u"),iu=Pr("bum"),As=Pr("um"),q_=Pr("sp"),W_=Pr("rtg"),G_=Pr("rtc");function K_(e,t=Zt){ou("ec",e,t)}function kt(e,t){const n=on;if(n===null)return e;const r=uu(n)||n.proxy,o=e.dirs||(e.dirs=[]);for(let s=0;s<t.length;s++){let[i,a,l,c=yt]=t[s];tt(i)&&(i={mounted:i,updated:i}),i.deep&&Co(a),o.push({dir:i,instance:r,value:a,oldValue:void 0,arg:l,modifiers:c})}return e}function dr(e,t,n,r){const o=e.dirs,s=t&&t.dirs;for(let i=0;i<o.length;i++){const a=o[i];s&&(a.oldValue=s[i].value);let l=a.dir[r];l&&(Po(),In(l,n,8,[e.el,a,e,t]),Do())}}const Jd="components",xw="directives";function O(e,t){return Xd(Jd,e,!0,t)||e}const Z_=Symbol();function Y_(e){return Ot(e)?Xd(Jd,e,!1)||e:e||Z_}function au(e){return Xd(xw,e)}function Xd(e,t,n=!0,r=!1){const o=on||Zt;if(o){const s=o.type;if(e===Jd){const a=$l(s,!1);if(a&&(a===t||a===Ln(t)||a===Vi(Ln(t))))return s}const i=Mf(o[e]||s[e],t)||Mf(o.appContext[e],t);return!i&&r?s:i}}function Mf(e,t){return e&&(e[t]||e[Ln(t)]||e[Vi(Ln(t))])}function Ct(e,t,n,r){let o;const s=n&&n[r];if(qe(e)||Ot(e)){o=new Array(e.length);for(let i=0,a=e.length;i<a;i++)o[i]=t(e[i],i,void 0,s&&s[i])}else if(typeof e=="number"){o=new Array(e);for(let i=0;i<e;i++)o[i]=t(i+1,i,void 0,s&&s[i])}else if(Nt(e))if(e[Symbol.iterator])o=Array.from(e,(i,a)=>t(i,a,void 0,s&&s[a]));else{const i=Object.keys(e);o=new Array(i.length);for(let a=0,l=i.length;a<l;a++){const c=i[a];o[a]=t(e[c],c,a,s&&s[a])}}else o=[];return n&&(n[r]=o),o}function qi(e,t){for(let n=0;n<t.length;n++){const r=t[n];if(qe(r))for(let o=0;o<r.length;o++)e[r[o].name]=r[o].fn;else r&&(e[r.name]=r.fn)}return e}function xt(e,t,n={},r,o){if(on.isCE||on.parent&&ko(on.parent)&&on.parent.isCE)return C("slot",t==="default"?null:{name:t},r&&r());let s=e[t];s&&s._c&&(s._d=!1),S();const i=s&&J_(s(n)),a=xe(Ge,{key:n.key||`_${t}`},i||(r?r():[]),i&&e._===1?64:-2);return!o&&a.scopeId&&(a.slotScopeIds=[a.scopeId+"-s"]),s&&s._c&&(s._d=!0),a}function J_(e){return e.some(t=>oo(t)?!(t.type===ln||t.type===Ge&&!J_(t.children)):!0)?e:null}function kw(e){const t={};for(const n in e)t[ui(n)]=e[n];return t}const Ic=e=>e?pg(e)?uu(e)||e.proxy:Ic(e.parent):null,xl=Rt(Object.create(null),{$:e=>e,$el:e=>e.vnode.el,$data:e=>e.data,$props:e=>e.props,$attrs:e=>e.attrs,$slots:e=>e.slots,$refs:e=>e.refs,$parent:e=>Ic(e.parent),$root:e=>Ic(e.root),$emit:e=>e.emit,$options:e=>Q_(e),$forceUpdate:e=>e.f||(e.f=()=>qd(e.update)),$nextTick:e=>e.n||(e.n=Ql.bind(e.proxy)),$watch:e=>yw.bind(e)}),Mc={get({_:e},t){const{ctx:n,setupState:r,data:o,props:s,accessCache:i,type:a,appContext:l}=e;let c;if(t[0]!=="$"){const p=i[t];if(p!==void 0)switch(p){case 1:return r[t];case 2:return o[t];case 4:return n[t];case 3:return s[t]}else{if(r!==yt&&mt(r,t))return i[t]=1,r[t];if(o!==yt&&mt(o,t))return i[t]=2,o[t];if((c=e.propsOptions[0])&&mt(c,t))return i[t]=3,s[t];if(n!==yt&&mt(n,t))return i[t]=4,n[t];Lc&&(i[t]=0)}}const d=xl[t];let f,m;if(d)return t==="$attrs"&&Rn(e,"get",t),d(e);if((f=a.__cssModules)&&(f=f[t]))return f;if(n!==yt&&mt(n,t))return i[t]=4,n[t];if(m=l.config.globalProperties,mt(m,t))return m[t]},set({_:e},t,n){const{data:r,setupState:o,ctx:s}=e;return o!==yt&&mt(o,t)?(o[t]=n,!0):r!==yt&&mt(r,t)?(r[t]=n,!0):mt(e.props,t)||t[0]==="$"&&t.slice(1)in e?!1:(s[t]=n,!0)},has({_:{data:e,setupState:t,accessCache:n,ctx:r,appContext:o,propsOptions:s}},i){let a;return!!n[i]||e!==yt&&mt(e,i)||t!==yt&&mt(t,i)||(a=s[0])&&mt(a,i)||mt(r,i)||mt(xl,i)||mt(o.config.globalProperties,i)},defineProperty(e,t,n){return n.get!=null?e._.accessCache[t]=0:mt(n,"value")&&this.set(e,t,n.value,null),Reflect.defineProperty(e,t,n)}},Sw=Rt({},Mc,{get(e,t){if(t!==Symbol.unscopables)return Mc.get(e,t,e)},has(e,t){return t[0]!=="_"&&!Gb(t)}});let Lc=!0;function Ew(e){const t=Q_(e),n=e.proxy,r=e.ctx;Lc=!1,t.beforeCreate&&Lf(t.beforeCreate,e,"bc");const{data:o,computed:s,methods:i,watch:a,provide:l,inject:c,created:d,beforeMount:f,mounted:m,beforeUpdate:p,updated:h,activated:_,deactivated:g,beforeDestroy:b,beforeUnmount:w,destroyed:x,unmounted:z,render:E,renderTracked:T,renderTriggered:V,errorCaptured:F,serverPrefetch:A,expose:M,inheritAttrs:W,components:R,directives:q,filters:B}=t;if(c&&$w(c,r,null,e.appContext.config.unwrapInjectedRef),i)for(const ue in i){const ge=i[ue];tt(ge)&&(r[ue]=ge.bind(n))}if(o){const ue=o.call(n,n);Nt(ue)&&(e.data=Fo(ue))}if(Lc=!0,s)for(const ue in s){const ge=s[ue],Le=tt(ge)?ge.bind(n,n):tt(ge.get)?ge.get.bind(n,n):or,He=!tt(ge)&&tt(ge.set)?ge.set.bind(n):or,he=Tt({get:Le,set:He});Object.defineProperty(r,ue,{enumerable:!0,configurable:!0,get:()=>he.value,set:J=>he.value=J})}if(a)for(const ue in a)X_(a[ue],r,n,ue);if(l){const ue=tt(l)?l.call(n):l;Reflect.ownKeys(ue).forEach(ge=>{pi(ge,ue[ge])})}d&&Lf(d,e,"c");function Q(ue,ge){qe(ge)?ge.forEach(Le=>ue(Le.bind(n))):ge&&ue(ge.bind(n))}if(Q(H_,f),Q(Mo,m),Q(U_,p),Q(su,h),Q(V_,_),Q(j_,g),Q(K_,F),Q(G_,T),Q(W_,V),Q(iu,w),Q(As,z),Q(q_,A),qe(M))if(M.length){const ue=e.exposed||(e.exposed={});M.forEach(ge=>{Object.defineProperty(ue,ge,{get:()=>n[ge],set:Le=>n[ge]=Le})})}else e.exposed||(e.exposed={});E&&e.render===or&&(e.render=E),W!=null&&(e.inheritAttrs=W),R&&(e.components=R),q&&(e.directives=q)}function $w(e,t,n=or,r=!1){qe(e)&&(e=Rc(e));for(const o in e){const s=e[o];let i;Nt(s)?"default"in s?i=sr(s.from||o,s.default,!0):i=sr(s.from||o):i=sr(s),qt(i)&&r?Object.defineProperty(t,o,{enumerable:!0,configurable:!0,get:()=>i.value,set:a=>i.value=a}):t[o]=i}}function Lf(e,t,n){In(qe(e)?e.map(r=>r.bind(t.proxy)):e.bind(t.proxy),t,n)}function X_(e,t,n,r){const o=r.includes(".")?R_(n,r):()=>n[r];if(Ot(e)){const s=t[e];tt(s)&&Mt(o,s)}else if(tt(e))Mt(o,e.bind(n));else if(Nt(e))if(qe(e))e.forEach(s=>X_(s,t,n,r));else{const s=tt(e.handler)?e.handler.bind(n):t[e.handler];tt(s)&&Mt(o,s,e)}}function Q_(e){const t=e.type,{mixins:n,extends:r}=t,{mixins:o,optionsCache:s,config:{optionMergeStrategies:i}}=e.appContext,a=s.get(t);let l;return a?l=a:!o.length&&!n&&!r?l=t:(l={},o.length&&o.forEach(c=>kl(l,c,i,!0)),kl(l,t,i)),s.set(t,l),l}function kl(e,t,n,r=!1){const{mixins:o,extends:s}=t;s&&kl(e,s,n,!0),o&&o.forEach(i=>kl(e,i,n,!0));for(const i in t)if(!(r&&i==="expose")){const a=Aw[i]||n&&n[i];e[i]=a?a(e[i],t[i]):t[i]}return e}const Aw={data:Rf,props:yo,emits:yo,methods:yo,computed:yo,beforeCreate:cn,created:cn,beforeMount:cn,mounted:cn,beforeUpdate:cn,updated:cn,beforeDestroy:cn,beforeUnmount:cn,destroyed:cn,unmounted:cn,activated:cn,deactivated:cn,errorCaptured:cn,serverPrefetch:cn,components:yo,directives:yo,watch:Ow,provide:Rf,inject:Tw};function Rf(e,t){return t?e?function(){return Rt(tt(e)?e.call(this,this):e,tt(t)?t.call(this,this):t)}:t:e}function Tw(e,t){return yo(Rc(e),Rc(t))}function Rc(e){if(qe(e)){const t={};for(let n=0;n<e.length;n++)t[e[n]]=e[n];return t}return e}function cn(e,t){return e?[...new Set([].concat(e,t))]:t}function yo(e,t){return e?Rt(Rt(Object.create(null),e),t):t}function Ow(e,t){if(!e)return t;if(!t)return e;const n=Rt(Object.create(null),e);for(const r in t)n[r]=cn(e[r],t[r]);return n}function Pw(e,t,n,r=!1){const o={},s={};bl(s,lu,1),e.propsDefaults=Object.create(null),eg(e,t,o,s);for(const i in e.propsOptions[0])i in o||(o[i]=void 0);n?e.props=r?o:z_(o):e.type.props?e.props=o:e.props=s,e.attrs=s}function Dw(e,t,n,r){const{props:o,attrs:s,vnode:{patchFlag:i}}=e,a=ut(o),[l]=e.propsOptions;let c=!1;if((r||i>0)&&!(i&16)){if(i&8){const d=e.vnode.dynamicProps;for(let f=0;f<d.length;f++){let m=d[f];if(tu(e.emitsOptions,m))continue;const p=t[m];if(l)if(mt(s,m))p!==s[m]&&(s[m]=p,c=!0);else{const h=Ln(m);o[h]=Nc(l,a,h,p,e,!1)}else p!==s[m]&&(s[m]=p,c=!0)}}}else{eg(e,t,o,s)&&(c=!0);let d;for(const f in a)(!t||!mt(t,f)&&((d=pr(f))===f||!mt(t,d)))&&(l?n&&(n[f]!==void 0||n[d]!==void 0)&&(o[f]=Nc(l,a,f,void 0,e,!0)):delete o[f]);if(s!==a)for(const f in s)(!t||!mt(t,f)&&!0)&&(delete s[f],c=!0)}c&&Ar(e,"set","$attrs")}function eg(e,t,n,r){const[o,s]=e.propsOptions;let i=!1,a;if(t)for(let l in t){if(li(l))continue;const c=t[l];let d;o&&mt(o,d=Ln(l))?!s||!s.includes(d)?n[d]=c:(a||(a={}))[d]=c:tu(e.emitsOptions,l)||(!(l in r)||c!==r[l])&&(r[l]=c,i=!0)}if(s){const l=ut(n),c=a||yt;for(let d=0;d<s.length;d++){const f=s[d];n[f]=Nc(o,l,f,c[f],e,!mt(c,f))}}return i}function Nc(e,t,n,r,o,s){const i=e[n];if(i!=null){const a=mt(i,"default");if(a&&r===void 0){const l=i.default;if(i.type!==Function&&tt(l)){const{propsDefaults:c}=o;n in c?r=c[n]:(so(o),r=c[n]=l.call(null,t),Qr())}else r=l}i[0]&&(s&&!a?r=!1:i[1]&&(r===""||r===pr(n))&&(r=!0))}return r}function tg(e,t,n=!1){const r=t.propsCache,o=r.get(e);if(o)return o;const s=e.props,i={},a=[];let l=!1;if(!tt(e)){const d=f=>{l=!0;const[m,p]=tg(f,t,!0);Rt(i,m),p&&a.push(...p)};!n&&t.mixins.length&&t.mixins.forEach(d),e.extends&&d(e.extends),e.mixins&&e.mixins.forEach(d)}if(!s&&!l)return r.set(e,ls),ls;if(qe(s))for(let d=0;d<s.length;d++){const f=Ln(s[d]);Nf(f)&&(i[f]=yt)}else if(s)for(const d in s){const f=Ln(d);if(Nf(f)){const m=s[d],p=i[f]=qe(m)||tt(m)?{type:m}:m;if(p){const h=Bf(Boolean,p.type),_=Bf(String,p.type);p[0]=h>-1,p[1]=_<0||h<_,(h>-1||mt(p,"default"))&&a.push(f)}}}const c=[i,a];return r.set(e,c),c}function Nf(e){return e[0]!=="$"}function Vf(e){const t=e&&e.toString().match(/^\s*function (\w+)/);return t?t[1]:e===null?"null":""}function jf(e,t){return Vf(e)===Vf(t)}function Bf(e,t){return qe(t)?t.findIndex(n=>jf(n,e)):tt(t)&&jf(t,e)?0:-1}const ng=e=>e[0]==="_"||e==="$stable",Qd=e=>qe(e)?e.map(Pn):[Pn(e)],Fw=(e,t,n)=>{if(t._n)return t;const r=P((...o)=>Qd(t(...o)),n);return r._c=!1,r},rg=(e,t,n)=>{const r=e._ctx;for(const o in e){if(ng(o))continue;const s=e[o];if(tt(s))t[o]=Fw(o,s,r);else if(s!=null){const i=Qd(s);t[o]=()=>i}}},og=(e,t)=>{const n=Qd(t);e.slots.default=()=>n},Iw=(e,t)=>{if(e.vnode.shapeFlag&32){const n=t._;n?(e.slots=ut(t),bl(t,"_",n)):rg(t,e.slots={})}else e.slots={},t&&og(e,t);bl(e.slots,lu,1)},Mw=(e,t,n)=>{const{vnode:r,slots:o}=e;let s=!0,i=yt;if(r.shapeFlag&32){const a=t._;a?n&&a===1?s=!1:(Rt(o,t),!n&&a===1&&delete o._):(s=!t.$stable,rg(t,o)),i=t}else t&&(og(e,t),i={default:1});if(s)for(const a in o)!ng(a)&&!(a in i)&&delete o[a]};function sg(){return{app:null,config:{isNativeTag:t0,performance:!1,globalProperties:{},optionMergeStrategies:{},errorHandler:void 0,warnHandler:void 0,compilerOptions:{}},mixins:[],components:{},directives:{},provides:Object.create(null),optionsCache:new WeakMap,propsCache:new WeakMap,emitsCache:new WeakMap}}let Lw=0;function Rw(e,t){return function(r,o=null){tt(r)||(r=Object.assign({},r)),o!=null&&!Nt(o)&&(o=null);const s=sg(),i=new Set;let a=!1;const l=s.app={_uid:Lw++,_component:r,_props:o,_container:null,_context:s,_instance:null,version:Cg,get config(){return s.config},set config(c){},use(c,...d){return i.has(c)||(c&&tt(c.install)?(i.add(c),c.install(l,...d)):tt(c)&&(i.add(c),c(l,...d))),l},mixin(c){return s.mixins.includes(c)||s.mixins.push(c),l},component(c,d){return d?(s.components[c]=d,l):s.components[c]},directive(c,d){return d?(s.directives[c]=d,l):s.directives[c]},mount(c,d,f){if(!a){const m=C(r,o);return m.appContext=s,d&&t?t(m,c):e(m,c,f),a=!0,l._container=c,c.__vue_app__=l,uu(m.component)||m.component.proxy}},unmount(){a&&(e(null,l._container),delete l._container.__vue_app__)},provide(c,d){return s.provides[c]=d,l}};return l}}function Sl(e,t,n,r,o=!1){if(qe(e)){e.forEach((m,p)=>Sl(m,t&&(qe(t)?t[p]:t),n,r,o));return}if(ko(r)&&!o)return;const s=r.shapeFlag&4?uu(r.component)||r.component.proxy:r.el,i=o?null:s,{i:a,r:l}=e,c=t&&t.r,d=a.refs===yt?a.refs={}:a.refs,f=a.setupState;if(c!=null&&c!==l&&(Ot(c)?(d[c]=null,mt(f,c)&&(f[c]=null)):qt(c)&&(c.value=null)),tt(l))hr(l,a,12,[i,d]);else{const m=Ot(l),p=qt(l);if(m||p){const h=()=>{if(e.f){const _=m?d[l]:l.value;o?qe(_)&&Pd(_,s):qe(_)?_.includes(s)||_.push(s):m?(d[l]=[s],mt(f,l)&&(f[l]=d[l])):(l.value=[s],e.k&&(d[e.k]=l.value))}else m?(d[l]=i,mt(f,l)&&(f[l]=i)):p&&(l.value=i,e.k&&(d[e.k]=i))};i?(h.id=-1,Qt(h,n)):h()}}}let Lr=!1;const ha=e=>/svg/.test(e.namespaceURI)&&e.tagName!=="foreignObject",_a=e=>e.nodeType===8;function Nw(e){const{mt:t,p:n,o:{patchProp:r,createText:o,nextSibling:s,parentNode:i,remove:a,insert:l,createComment:c}}=e,d=(b,w)=>{if(!w.hasChildNodes()){n(null,b,w),zl(),w._vnode=b;return}Lr=!1,f(w.firstChild,b,null,null,null),zl(),w._vnode=b,Lr&&console.error("Hydration completed but contains mismatches.")},f=(b,w,x,z,E,T=!1)=>{const V=_a(b)&&b.data==="[",F=()=>_(b,w,x,z,E,V),{type:A,ref:M,shapeFlag:W,patchFlag:R}=w,q=b.nodeType;w.el=b,R===-2&&(T=!1,w.dynamicChildren=null);let B=null;switch(A){case ro:q!==3?w.children===""?(l(w.el=o(""),i(b),b),B=b):B=F():(b.data!==w.children&&(Lr=!0,b.data=w.children),B=s(b));break;case ln:q!==8||V?B=F():B=s(b);break;case So:if(q!==1&&q!==3)B=F();else{B=b;const se=!w.children.length;for(let Q=0;Q<w.staticCount;Q++)se&&(w.children+=B.nodeType===1?B.outerHTML:B.data),Q===w.staticCount-1&&(w.anchor=B),B=s(B);return B}break;case Ge:V?B=h(b,w,x,z,E,T):B=F();break;default:if(W&1)q!==1||w.type.toLowerCase()!==b.tagName.toLowerCase()?B=F():B=m(b,w,x,z,E,T);else if(W&6){w.slotScopeIds=E;const se=i(b);if(t(w,se,null,x,z,ha(se),T),B=V?g(b):s(b),B&&_a(B)&&B.data==="teleport end"&&(B=s(B)),ko(w)){let Q;V?(Q=C(Ge),Q.anchor=B?B.previousSibling:se.lastChild):Q=b.nodeType===3?vt(""):C("div"),Q.el=b,w.component.subTree=Q}}else W&64?q!==8?B=F():B=w.type.hydrate(b,w,x,z,E,T,e,p):W&128&&(B=w.type.hydrate(b,w,x,z,ha(i(b)),E,T,e,f))}return M!=null&&Sl(M,null,z,w),B},m=(b,w,x,z,E,T)=>{T=T||!!w.dynamicChildren;const{type:V,props:F,patchFlag:A,shapeFlag:M,dirs:W}=w,R=V==="input"&&W||V==="option";if(R||A!==-1){if(W&&dr(w,null,x,"created"),F)if(R||!T||A&48)for(const B in F)(R&&B.endsWith("value")||Ri(B)&&!li(B))&&r(b,B,null,F[B],!1,void 0,x);else F.onClick&&r(b,"onClick",null,F.onClick,!1,void 0,x);let q;if((q=F&&F.onVnodeBeforeMount)&&bn(q,x,w),W&&dr(w,null,x,"beforeMount"),((q=F&&F.onVnodeMounted)||W)&&M_(()=>{q&&bn(q,x,w),W&&dr(w,null,x,"mounted")},z),M&16&&!(F&&(F.innerHTML||F.textContent))){let B=p(b.firstChild,w,b,x,z,E,T);for(;B;){Lr=!0;const se=B;B=B.nextSibling,a(se)}}else M&8&&b.textContent!==w.children&&(Lr=!0,b.textContent=w.children)}return b.nextSibling},p=(b,w,x,z,E,T,V)=>{V=V||!!w.dynamicChildren;const F=w.children,A=F.length;for(let M=0;M<A;M++){const W=V?F[M]:F[M]=Pn(F[M]);if(b)b=f(b,W,z,E,T,V);else{if(W.type===ro&&!W.children)continue;Lr=!0,n(null,W,x,null,z,E,ha(x),T)}}return b},h=(b,w,x,z,E,T)=>{const{slotScopeIds:V}=w;V&&(E=E?E.concat(V):V);const F=i(b),A=p(s(b),w,F,x,z,E,T);return A&&_a(A)&&A.data==="]"?s(w.anchor=A):(Lr=!0,l(w.anchor=c("]"),F,A),A)},_=(b,w,x,z,E,T)=>{if(Lr=!0,w.el=null,T){const A=g(b);for(;;){const M=s(b);if(M&&M!==A)a(M);else break}}const V=s(b),F=i(b);return a(b),n(null,w,F,V,x,z,ha(F),E),V},g=b=>{let w=0;for(;b;)if(b=s(b),b&&_a(b)&&(b.data==="["&&w++,b.data==="]")){if(w===0)return s(b);w--}return b};return[d,f]}const Qt=M_;function ig(e){return lg(e)}function ag(e){return lg(e,Nw)}function lg(e,t){const n=a0();n.__VUE__=!0;const{insert:r,remove:o,patchProp:s,createElement:i,createText:a,createComment:l,setText:c,setElementText:d,parentNode:f,nextSibling:m,setScopeId:p=or,cloneNode:h,insertStaticContent:_}=e,g=($,L,Y,le=null,ce=null,ye=null,Ce=!1,pe=null,j=!!L.dynamicChildren)=>{if($===L)return;$&&!fr($,L)&&(le=be($),me($,ce,ye,!0),$=null),L.patchFlag===-2&&(j=!1,L.dynamicChildren=null);const{type:U,ref:$e,shapeFlag:ze}=L;switch(U){case ro:b($,L,Y,le);break;case ln:w($,L,Y,le);break;case So:$==null&&x(L,Y,le,Ce);break;case Ge:q($,L,Y,le,ce,ye,Ce,pe,j);break;default:ze&1?T($,L,Y,le,ce,ye,Ce,pe,j):ze&6?B($,L,Y,le,ce,ye,Ce,pe,j):(ze&64||ze&128)&&U.process($,L,Y,le,ce,ye,Ce,pe,j,Ie)}$e!=null&&ce&&Sl($e,$&&$.ref,ye,L||$,!L)},b=($,L,Y,le)=>{if($==null)r(L.el=a(L.children),Y,le);else{const ce=L.el=$.el;L.children!==$.children&&c(ce,L.children)}},w=($,L,Y,le)=>{$==null?r(L.el=l(L.children||""),Y,le):L.el=$.el},x=($,L,Y,le)=>{[$.el,$.anchor]=_($.children,L,Y,le,$.el,$.anchor)},z=({el:$,anchor:L},Y,le)=>{let ce;for(;$&&$!==L;)ce=m($),r($,Y,le),$=ce;r(L,Y,le)},E=({el:$,anchor:L})=>{let Y;for(;$&&$!==L;)Y=m($),o($),$=Y;o(L)},T=($,L,Y,le,ce,ye,Ce,pe,j)=>{Ce=Ce||L.type==="svg",$==null?V(L,Y,le,ce,ye,Ce,pe,j):M($,L,ce,ye,Ce,pe,j)},V=($,L,Y,le,ce,ye,Ce,pe)=>{let j,U;const{type:$e,props:ze,shapeFlag:De,transition:Ne,patchFlag:We,dirs:nt}=$;if($.el&&h!==void 0&&We===-1)j=$.el=h($.el);else{if(j=$.el=i($.type,ye,ze&&ze.is,ze),De&8?d(j,$.children):De&16&&A($.children,j,null,le,ce,ye&&$e!=="foreignObject",Ce,pe),nt&&dr($,null,le,"created"),ze){for(const y in ze)y!=="value"&&!li(y)&&s(j,y,null,ze[y],ye,$.children,le,ce,oe);"value"in ze&&s(j,"value",null,ze.value),(U=ze.onVnodeBeforeMount)&&bn(U,le,$)}F(j,$,$.scopeId,Ce,le)}nt&&dr($,null,le,"beforeMount");const k=(!ce||ce&&!ce.pendingBranch)&&Ne&&!Ne.persisted;k&&Ne.beforeEnter(j),r(j,L,Y),((U=ze&&ze.onVnodeMounted)||k||nt)&&Qt(()=>{U&&bn(U,le,$),k&&Ne.enter(j),nt&&dr($,null,le,"mounted")},ce)},F=($,L,Y,le,ce)=>{if(Y&&p($,Y),le)for(let ye=0;ye<le.length;ye++)p($,le[ye]);if(ce){let ye=ce.subTree;if(L===ye){const Ce=ce.vnode;F($,Ce,Ce.scopeId,Ce.slotScopeIds,ce.parent)}}},A=($,L,Y,le,ce,ye,Ce,pe,j=0)=>{for(let U=j;U<$.length;U++){const $e=$[U]=pe?Ur($[U]):Pn($[U]);g(null,$e,L,Y,le,ce,ye,Ce,pe)}},M=($,L,Y,le,ce,ye,Ce)=>{const pe=L.el=$.el;let{patchFlag:j,dynamicChildren:U,dirs:$e}=L;j|=$.patchFlag&16;const ze=$.props||yt,De=L.props||yt;let Ne;Y&&mo(Y,!1),(Ne=De.onVnodeBeforeUpdate)&&bn(Ne,Y,L,$),$e&&dr(L,$,Y,"beforeUpdate"),Y&&mo(Y,!0);const We=ce&&L.type!=="foreignObject";if(U?W($.dynamicChildren,U,pe,Y,le,We,ye):Ce||Le($,L,pe,null,Y,le,We,ye,!1),j>0){if(j&16)R(pe,L,ze,De,Y,le,ce);else if(j&2&&ze.class!==De.class&&s(pe,"class",null,De.class,ce),j&4&&s(pe,"style",ze.style,De.style,ce),j&8){const nt=L.dynamicProps;for(let k=0;k<nt.length;k++){const y=nt[k],I=ze[y],K=De[y];(K!==I||y==="value")&&s(pe,y,I,K,ce,$.children,Y,le,oe)}}j&1&&$.children!==L.children&&d(pe,L.children)}else!Ce&&U==null&&R(pe,L,ze,De,Y,le,ce);((Ne=De.onVnodeUpdated)||$e)&&Qt(()=>{Ne&&bn(Ne,Y,L,$),$e&&dr(L,$,Y,"updated")},le)},W=($,L,Y,le,ce,ye,Ce)=>{for(let pe=0;pe<L.length;pe++){const j=$[pe],U=L[pe],$e=j.el&&(j.type===Ge||!fr(j,U)||j.shapeFlag&70)?f(j.el):Y;g(j,U,$e,null,le,ce,ye,Ce,!0)}},R=($,L,Y,le,ce,ye,Ce)=>{if(Y!==le){for(const pe in le){if(li(pe))continue;const j=le[pe],U=Y[pe];j!==U&&pe!=="value"&&s($,pe,U,j,Ce,L.children,ce,ye,oe)}if(Y!==yt)for(const pe in Y)!li(pe)&&!(pe in le)&&s($,pe,Y[pe],null,Ce,L.children,ce,ye,oe);"value"in le&&s($,"value",Y.value,le.value)}},q=($,L,Y,le,ce,ye,Ce,pe,j)=>{const U=L.el=$?$.el:a(""),$e=L.anchor=$?$.anchor:a("");let{patchFlag:ze,dynamicChildren:De,slotScopeIds:Ne}=L;Ne&&(pe=pe?pe.concat(Ne):Ne),$==null?(r(U,Y,le),r($e,Y,le),A(L.children,Y,$e,ce,ye,Ce,pe,j)):ze>0&&ze&64&&De&&$.dynamicChildren?(W($.dynamicChildren,De,Y,ce,ye,Ce,pe),(L.key!=null||ce&&L===ce.subTree)&&em($,L,!0)):Le($,L,Y,$e,ce,ye,Ce,pe,j)},B=($,L,Y,le,ce,ye,Ce,pe,j)=>{L.slotScopeIds=pe,$==null?L.shapeFlag&512?ce.ctx.activate(L,Y,le,Ce,j):se(L,Y,le,ce,ye,Ce,j):Q($,L,j)},se=($,L,Y,le,ce,ye,Ce)=>{const pe=$.component=fg($,le,ce);if(Ui($)&&(pe.ctx.renderer=Ie),hg(pe),pe.asyncDep){if(ce&&ce.registerDep(pe,ue),!$.el){const j=pe.subTree=C(ln);w(null,j,L,Y)}return}ue(pe,$,L,Y,ce,ye,Ce)},Q=($,L,Y)=>{const le=L.component=$.component;if(uw($,L,Y))if(le.asyncDep&&!le.asyncResolved){ge(le,L,Y);return}else le.next=L,ew(le.update),le.update();else L.el=$.el,le.vnode=L},ue=($,L,Y,le,ce,ye,Ce)=>{const pe=()=>{if($.isMounted){let{next:$e,bu:ze,u:De,parent:Ne,vnode:We}=$,nt=$e,k;mo($,!1),$e?($e.el=We.el,ge($,$e,Ce)):$e=We,ze&&cs(ze),(k=$e.props&&$e.props.onVnodeBeforeUpdate)&&bn(k,Ne,$e,We),mo($,!0);const y=ll($),I=$.subTree;$.subTree=y,g(I,y,f(I.el),be(I),$,ce,ye),$e.el=y.el,nt===null&&Gd($,y.el),De&&Qt(De,ce),(k=$e.props&&$e.props.onVnodeUpdated)&&Qt(()=>bn(k,Ne,$e,We),ce)}else{let $e;const{el:ze,props:De}=L,{bm:Ne,m:We,parent:nt}=$,k=ko(L);if(mo($,!1),Ne&&cs(Ne),!k&&($e=De&&De.onVnodeBeforeMount)&&bn($e,nt,L),mo($,!0),ze&&Ae){const y=()=>{$.subTree=ll($),Ae(ze,$.subTree,$,ce,null)};k?L.type.__asyncLoader().then(()=>!$.isUnmounted&&y()):y()}else{const y=$.subTree=ll($);g(null,y,Y,le,$,ce,ye),L.el=y.el}if(We&&Qt(We,ce),!k&&($e=De&&De.onVnodeMounted)){const y=L;Qt(()=>bn($e,nt,y),ce)}(L.shapeFlag&256||nt&&ko(nt.vnode)&&nt.vnode.shapeFlag&256)&&$.a&&Qt($.a,ce),$.isMounted=!0,L=Y=le=null}},j=$.effect=new ji(pe,()=>qd(U),$.scope),U=$.update=()=>j.run();U.id=$.uid,mo($,!0),U()},ge=($,L,Y)=>{L.component=$;const le=$.vnode.props;$.vnode=L,$.next=null,Dw($,L.props,le,Y),Mw($,L.children,Y),Po(),eu(void 0,$.update),Do()},Le=($,L,Y,le,ce,ye,Ce,pe,j=!1)=>{const U=$&&$.children,$e=$?$.shapeFlag:0,ze=L.children,{patchFlag:De,shapeFlag:Ne}=L;if(De>0){if(De&128){he(U,ze,Y,le,ce,ye,Ce,pe,j);return}else if(De&256){He(U,ze,Y,le,ce,ye,Ce,pe,j);return}}Ne&8?($e&16&&oe(U,ce,ye),ze!==U&&d(Y,ze)):$e&16?Ne&16?he(U,ze,Y,le,ce,ye,Ce,pe,j):oe(U,ce,ye,!0):($e&8&&d(Y,""),Ne&16&&A(ze,Y,le,ce,ye,Ce,pe,j))},He=($,L,Y,le,ce,ye,Ce,pe,j)=>{$=$||ls,L=L||ls;const U=$.length,$e=L.length,ze=Math.min(U,$e);let De;for(De=0;De<ze;De++){const Ne=L[De]=j?Ur(L[De]):Pn(L[De]);g($[De],Ne,Y,null,ce,ye,Ce,pe,j)}U>$e?oe($,ce,ye,!0,!1,ze):A(L,Y,le,ce,ye,Ce,pe,j,ze)},he=($,L,Y,le,ce,ye,Ce,pe,j)=>{let U=0;const $e=L.length;let ze=$.length-1,De=$e-1;for(;U<=ze&&U<=De;){const Ne=$[U],We=L[U]=j?Ur(L[U]):Pn(L[U]);if(fr(Ne,We))g(Ne,We,Y,null,ce,ye,Ce,pe,j);else break;U++}for(;U<=ze&&U<=De;){const Ne=$[ze],We=L[De]=j?Ur(L[De]):Pn(L[De]);if(fr(Ne,We))g(Ne,We,Y,null,ce,ye,Ce,pe,j);else break;ze--,De--}if(U>ze){if(U<=De){const Ne=De+1,We=Ne<$e?L[Ne].el:le;for(;U<=De;)g(null,L[U]=j?Ur(L[U]):Pn(L[U]),Y,We,ce,ye,Ce,pe,j),U++}}else if(U>De)for(;U<=ze;)me($[U],ce,ye,!0),U++;else{const Ne=U,We=U,nt=new Map;for(U=We;U<=De;U++){const Me=L[U]=j?Ur(L[U]):Pn(L[U]);Me.key!=null&&nt.set(Me.key,U)}let k,y=0;const I=De-We+1;let K=!1,ee=0;const fe=new Array(I);for(U=0;U<I;U++)fe[U]=0;for(U=Ne;U<=ze;U++){const Me=$[U];if(y>=I){me(Me,ce,ye,!0);continue}let re;if(Me.key!=null)re=nt.get(Me.key);else for(k=We;k<=De;k++)if(fe[k-We]===0&&fr(Me,L[k])){re=k;break}re===void 0?me(Me,ce,ye,!0):(fe[re-We]=U+1,re>=ee?ee=re:K=!0,g(Me,L[re],Y,null,ce,ye,Ce,pe,j),y++)}const Se=K?Vw(fe):ls;for(k=Se.length-1,U=I-1;U>=0;U--){const Me=We+U,re=L[Me],de=Me+1<$e?L[Me+1].el:le;fe[U]===0?g(null,re,Y,de,ce,ye,Ce,pe,j):K&&(k<0||U!==Se[k]?J(re,Y,de,2):k--)}}},J=($,L,Y,le,ce=null)=>{const{el:ye,type:Ce,transition:pe,children:j,shapeFlag:U}=$;if(U&6){J($.component.subTree,L,Y,le);return}if(U&128){$.suspense.move(L,Y,le);return}if(U&64){Ce.move($,L,Y,Ie);return}if(Ce===Ge){r(ye,L,Y);for(let ze=0;ze<j.length;ze++)J(j[ze],L,Y,le);r($.anchor,L,Y);return}if(Ce===So){z($,L,Y);return}if(le!==2&&U&1&&pe)if(le===0)pe.beforeEnter(ye),r(ye,L,Y),Qt(()=>pe.enter(ye),ce);else{const{leave:ze,delayLeave:De,afterLeave:Ne}=pe,We=()=>r(ye,L,Y),nt=()=>{ze(ye,()=>{We(),Ne&&Ne()})};De?De(ye,We,nt):nt()}else r(ye,L,Y)},me=($,L,Y,le=!1,ce=!1)=>{const{type:ye,props:Ce,ref:pe,children:j,dynamicChildren:U,shapeFlag:$e,patchFlag:ze,dirs:De}=$;if(pe!=null&&Sl(pe,null,Y,$,!0),$e&256){L.ctx.deactivate($);return}const Ne=$e&1&&De,We=!ko($);let nt;if(We&&(nt=Ce&&Ce.onVnodeBeforeUnmount)&&bn(nt,L,$),$e&6)ie($.component,Y,le);else{if($e&128){$.suspense.unmount(Y,le);return}Ne&&dr($,null,L,"beforeUnmount"),$e&64?$.type.remove($,L,Y,ce,Ie,le):U&&(ye!==Ge||ze>0&&ze&64)?oe(U,L,Y,!1,!0):(ye===Ge&&ze&384||!ce&&$e&16)&&oe(j,L,Y),le&&we($)}(We&&(nt=Ce&&Ce.onVnodeUnmounted)||Ne)&&Qt(()=>{nt&&bn(nt,L,$),Ne&&dr($,null,L,"unmounted")},Y)},we=$=>{const{type:L,el:Y,anchor:le,transition:ce}=$;if(L===Ge){H(Y,le);return}if(L===So){E($);return}const ye=()=>{o(Y),ce&&!ce.persisted&&ce.afterLeave&&ce.afterLeave()};if($.shapeFlag&1&&ce&&!ce.persisted){const{leave:Ce,delayLeave:pe}=ce,j=()=>Ce(Y,ye);pe?pe($.el,ye,j):j()}else ye()},H=($,L)=>{let Y;for(;$!==L;)Y=m($),o($),$=Y;o(L)},ie=($,L,Y)=>{const{bum:le,scope:ce,update:ye,subTree:Ce,um:pe}=$;le&&cs(le),ce.stop(),ye&&(ye.active=!1,me(Ce,$,L,Y)),pe&&Qt(pe,L),Qt(()=>{$.isUnmounted=!0},L),L&&L.pendingBranch&&!L.isUnmounted&&$.asyncDep&&!$.asyncResolved&&$.suspenseId===L.pendingId&&(L.deps--,L.deps===0&&L.resolve())},oe=($,L,Y,le=!1,ce=!1,ye=0)=>{for(let Ce=ye;Ce<$.length;Ce++)me($[Ce],L,Y,le,ce)},be=$=>$.shapeFlag&6?be($.component.subTree):$.shapeFlag&128?$.suspense.next():m($.anchor||$.el),je=($,L,Y)=>{$==null?L._vnode&&me(L._vnode,null,null,!0):g(L._vnode||null,$,L,null,null,null,Y),zl(),L._vnode=$},Ie={p:g,um:me,m:J,r:we,mt:se,mc:A,pc:Le,pbc:W,n:be,o:e};let Ee,Ae;return t&&([Ee,Ae]=t(Ie)),{render:je,hydrate:Ee,createApp:Rw(je,Ee)}}function mo({effect:e,update:t},n){e.allowRecurse=t.allowRecurse=n}function em(e,t,n=!1){const r=e.children,o=t.children;if(qe(r)&&qe(o))for(let s=0;s<r.length;s++){const i=r[s];let a=o[s];a.shapeFlag&1&&!a.dynamicChildren&&((a.patchFlag<=0||a.patchFlag===32)&&(a=o[s]=Ur(o[s]),a.el=i.el),n||em(i,a))}}function Vw(e){const t=e.slice(),n=[0];let r,o,s,i,a;const l=e.length;for(r=0;r<l;r++){const c=e[r];if(c!==0){if(o=n[n.length-1],e[o]<c){t[r]=o,n.push(r);continue}for(s=0,i=n.length-1;s<i;)a=s+i>>1,e[n[a]]<c?s=a+1:i=a;c<e[n[s]]&&(s>0&&(t[r]=n[s-1]),n[s]=r)}}for(s=n.length,i=n[s-1];s-- >0;)n[s]=i,i=t[i];return n}const jw=e=>e.__isTeleport,hi=e=>e&&(e.disabled||e.disabled===""),Hf=e=>typeof SVGElement!="undefined"&&e instanceof SVGElement,Vc=(e,t)=>{const n=e&&e.to;return Ot(n)?t?t(n):null:n},Bw={__isTeleport:!0,process(e,t,n,r,o,s,i,a,l,c){const{mc:d,pc:f,pbc:m,o:{insert:p,querySelector:h,createText:_,createComment:g}}=c,b=hi(t.props);let{shapeFlag:w,children:x,dynamicChildren:z}=t;if(e==null){const E=t.el=_(""),T=t.anchor=_("");p(E,n,r),p(T,n,r);const V=t.target=Vc(t.props,h),F=t.targetAnchor=_("");V&&(p(F,V),i=i||Hf(V));const A=(M,W)=>{w&16&&d(x,M,W,o,s,i,a,l)};b?A(n,T):V&&A(V,F)}else{t.el=e.el;const E=t.anchor=e.anchor,T=t.target=e.target,V=t.targetAnchor=e.targetAnchor,F=hi(e.props),A=F?n:T,M=F?E:V;if(i=i||Hf(T),z?(m(e.dynamicChildren,z,A,o,s,i,a),em(e,t,!0)):l||f(e,t,A,M,o,s,i,a,!1),b)F||ga(t,n,E,c,1);else if((t.props&&t.props.to)!==(e.props&&e.props.to)){const W=t.target=Vc(t.props,h);W&&ga(t,W,null,c,0)}else F&&ga(t,T,V,c,1)}},remove(e,t,n,r,{um:o,o:{remove:s}},i){const{shapeFlag:a,children:l,anchor:c,targetAnchor:d,target:f,props:m}=e;if(f&&s(d),(i||!hi(m))&&(s(c),a&16))for(let p=0;p<l.length;p++){const h=l[p];o(h,t,n,!0,!!h.dynamicChildren)}},move:ga,hydrate:Hw};function ga(e,t,n,{o:{insert:r},m:o},s=2){s===0&&r(e.targetAnchor,t,n);const{el:i,anchor:a,shapeFlag:l,children:c,props:d}=e,f=s===2;if(f&&r(i,t,n),(!f||hi(d))&&l&16)for(let m=0;m<c.length;m++)o(c[m],t,n,2);f&&r(a,t,n)}function Hw(e,t,n,r,o,s,{o:{nextSibling:i,parentNode:a,querySelector:l}},c){const d=t.target=Vc(t.props,l);if(d){const f=d._lpa||d.firstChild;if(t.shapeFlag&16)if(hi(t.props))t.anchor=c(i(e),t,a(e),n,r,o,s),t.targetAnchor=f;else{t.anchor=i(e);let m=f;for(;m;)if(m=i(m),m&&m.nodeType===8&&m.data==="teleport anchor"){t.targetAnchor=m,d._lpa=t.targetAnchor&&i(t.targetAnchor);break}c(f,t,d,n,r,o,s)}}return t.anchor&&i(t.anchor)}const lo=Bw,Ge=Symbol(void 0),ro=Symbol(void 0),ln=Symbol(void 0),So=Symbol(void 0),_i=[];let Cn=null;function S(e=!1){_i.push(Cn=e?null:[])}function ug(){_i.pop(),Cn=_i[_i.length-1]||null}let To=1;function jc(e){To+=e}function cg(e){return e.dynamicChildren=To>0?Cn||ls:null,ug(),To>0&&Cn&&Cn.push(e),e}function D(e,t,n,r,o,s){return cg(u(e,t,n,r,o,s,!0))}function xe(e,t,n,r,o){return cg(C(e,t,n,r,o,!0))}function oo(e){return e?e.__v_isVNode===!0:!1}function fr(e,t){return e.type===t.type&&e.key===t.key}function Uw(e){}const lu="__vInternal",dg=({key:e})=>e!=null?e:null,ul=({ref:e,ref_key:t,ref_for:n})=>e!=null?Ot(e)||qt(e)||tt(e)?{i:on,r:e,k:t,f:!!n}:e:null;function u(e,t=null,n=null,r=0,o=null,s=e===Ge?0:1,i=!1,a=!1){const l={__v_isVNode:!0,__v_skip:!0,type:e,props:t,key:t&&dg(t),ref:t&&ul(t),scopeId:nu,slotScopeIds:null,children:n,component:null,suspense:null,ssContent:null,ssFallback:null,dirs:null,transition:null,el:null,anchor:null,target:null,targetAnchor:null,staticCount:0,shapeFlag:s,patchFlag:r,dynamicProps:o,dynamicChildren:null,appContext:null};return a?(tm(l,n),s&128&&e.normalize(l)):n&&(l.shapeFlag|=Ot(n)?8:16),To>0&&!i&&Cn&&(l.patchFlag>0||s&6)&&l.patchFlag!==32&&Cn.push(l),l}const C=qw;function qw(e,t=null,n=null,r=0,o=null,s=!1){if((!e||e===Z_)&&(e=ln),oo(e)){const a=gr(e,t,!0);return n&&tm(a,n),To>0&&!s&&Cn&&(a.shapeFlag&6?Cn[Cn.indexOf(e)]=a:Cn.push(a)),a.patchFlag|=-2,a}if(tC(e)&&(e=e.__vccOpts),t){t=mg(t);let{class:a,style:l}=t;a&&!Ot(a)&&(t.class=Ye(a)),Nt(l)&&(Nd(l)&&!qe(l)&&(l=Rt({},l)),t.style=ao(l))}const i=Ot(e)?1:I_(e)?128:jw(e)?64:Nt(e)?4:tt(e)?2:0;return u(e,t,n,r,o,i,s,!0)}function mg(e){return e?Nd(e)||lu in e?Rt({},e):e:null}function gr(e,t,n=!1){const{props:r,ref:o,patchFlag:s,children:i}=e,a=t?nm(r||{},t):r;return{__v_isVNode:!0,__v_skip:!0,type:e.type,props:a,key:a&&dg(a),ref:t&&t.ref?n&&o?qe(o)?o.concat(ul(t)):[o,ul(t)]:ul(t):o,scopeId:e.scopeId,slotScopeIds:e.slotScopeIds,children:i,target:e.target,targetAnchor:e.targetAnchor,staticCount:e.staticCount,shapeFlag:e.shapeFlag,patchFlag:t&&e.type!==Ge?s===-1?16:s|16:s,dynamicProps:e.dynamicProps,dynamicChildren:e.dynamicChildren,appContext:e.appContext,dirs:e.dirs,transition:e.transition,component:e.component,suspense:e.suspense,ssContent:e.ssContent&&gr(e.ssContent),ssFallback:e.ssFallback&&gr(e.ssFallback),el:e.el,anchor:e.anchor}}function vt(e=" ",t=0){return C(ro,null,e,t)}function Ww(e,t){const n=C(So,null,e);return n.staticCount=t,n}function X(e="",t=!1){return t?(S(),xe(ln,null,e)):C(ln,null,e)}function Pn(e){return e==null||typeof e=="boolean"?C(ln):qe(e)?C(Ge,null,e.slice()):typeof e=="object"?Ur(e):C(ro,null,String(e))}function Ur(e){return e.el===null||e.memo?e:gr(e)}function tm(e,t){let n=0;const{shapeFlag:r}=e;if(t==null)t=null;else if(qe(t))n=16;else if(typeof t=="object")if(r&65){const o=t.default;o&&(o._c&&(o._d=!1),tm(e,o()),o._c&&(o._d=!0));return}else{n=32;const o=t._;!o&&!(lu in t)?t._ctx=on:o===3&&on&&(on.slots._===1?t._=1:(t._=2,e.patchFlag|=1024))}else tt(t)?(t={default:t,_ctx:on},n=32):(t=String(t),r&64?(n=16,t=[vt(t)]):n=8);e.children=t,e.shapeFlag|=n}function nm(...e){const t={};for(let n=0;n<e.length;n++){const r=e[n];for(const o in r)if(o==="class")t.class!==r.class&&(t.class=Ye([t.class,r.class]));else if(o==="style")t.style=ao([t.style,r.style]);else if(Ri(o)){const s=t[o],i=r[o];i&&s!==i&&!(qe(s)&&s.includes(i))&&(t[o]=s?[].concat(s,i):i)}else o!==""&&(t[o]=r[o])}return t}function bn(e,t,n,r=null){In(e,t,7,[n,r])}const Gw=sg();let Kw=0;function fg(e,t,n){const r=e.type,o=(t?t.appContext:e.appContext)||Gw,s={uid:Kw++,vnode:e,type:r,parent:t,appContext:o,root:null,next:null,subTree:null,effect:null,update:null,scope:new Id(!0),render:null,proxy:null,exposed:null,exposeProxy:null,withProxy:null,provides:t?t.provides:Object.create(o.provides),accessCache:null,renderCache:[],components:null,directives:null,propsOptions:tg(r,o),emitsOptions:F_(r,o),emit:null,emitted:null,propsDefaults:yt,inheritAttrs:r.inheritAttrs,ctx:yt,data:yt,props:yt,attrs:yt,slots:yt,refs:yt,setupState:yt,setupContext:null,suspense:n,suspenseId:n?n.pendingId:0,asyncDep:null,asyncResolved:!1,isMounted:!1,isUnmounted:!1,isDeactivated:!1,bc:null,c:null,bm:null,m:null,bu:null,u:null,um:null,bum:null,da:null,a:null,rtg:null,rtc:null,ec:null,sp:null};return s.ctx={_:s},s.root=t?t.root:s,s.emit=nw.bind(null,s),e.ce&&e.ce(s),s}let Zt=null;const ar=()=>Zt||on,so=e=>{Zt=e,e.scope.on()},Qr=()=>{Zt&&Zt.scope.off(),Zt=null};function pg(e){return e.vnode.shapeFlag&4}let gs=!1;function hg(e,t=!1){gs=t;const{props:n,children:r}=e.vnode,o=pg(e);Pw(e,n,o,t),Iw(e,r);const s=o?Zw(e,t):void 0;return gs=!1,s}function Zw(e,t){const n=e.type;e.accessCache=Object.create(null),e.proxy=Vd(new Proxy(e.ctx,Mc));const{setup:r}=n;if(r){const o=e.setupContext=r.length>1?gg(e):null;so(e),Po();const s=hr(r,e,0,[e.props,o]);if(Do(),Qr(),Dd(s)){if(s.then(Qr,Qr),t)return s.then(i=>{Bc(e,i,t)}).catch(i=>{Io(i,e,0)});e.asyncDep=s}else Bc(e,s,t)}else _g(e,t)}function Bc(e,t,n){tt(t)?e.type.__ssrInlineRender?e.ssrRender=t:e.render=t:Nt(t)&&(e.setupState=Hd(t)),_g(e,n)}let El,Hc;function Yw(e){El=e,Hc=t=>{t.render._rc&&(t.withProxy=new Proxy(t.ctx,Sw))}}const Jw=()=>!El;function _g(e,t,n){const r=e.type;if(!e.render){if(!t&&El&&!r.render){const o=r.template;if(o){const{isCustomElement:s,compilerOptions:i}=e.appContext.config,{delimiters:a,compilerOptions:l}=r,c=Rt(Rt({isCustomElement:s,delimiters:a},i),l);r.render=El(o,c)}}e.render=r.render||or,Hc&&Hc(e)}so(e),Po(),Ew(e),Do(),Qr()}function Xw(e){return new Proxy(e.attrs,{get(t,n){return Rn(e,"get","$attrs"),t[n]}})}function gg(e){const t=r=>{e.exposed=r||{}};let n;return{get attrs(){return n||(n=Xw(e))},slots:e.slots,emit:e.emit,expose:t}}function uu(e){if(e.exposed)return e.exposeProxy||(e.exposeProxy=new Proxy(Hd(Vd(e.exposed)),{get(t,n){if(n in t)return t[n];if(n in xl)return xl[n](e)}}))}const Qw=/(?:^|[-_])(\w)/g,eC=e=>e.replace(Qw,t=>t.toUpperCase()).replace(/[-_]/g,"");function $l(e,t=!0){return tt(e)?e.displayName||e.name:e.name||t&&e.__name}function yg(e,t,n=!1){let r=$l(t);if(!r&&t.__file){const o=t.__file.match(/([^/\\]+)\.\w+$/);o&&(r=o[1])}if(!r&&e&&e.parent){const o=s=>{for(const i in s)if(s[i]===t)return i};r=o(e.components||e.parent.type.components)||o(e.appContext.components)}return r?eC(r):n?"App":"Anonymous"}function tC(e){return tt(e)&&"__vccOpts"in e}const Tt=(e,t)=>G0(e,t,gs);function nC(){return null}function rC(){return null}function oC(e){}function sC(e,t){return null}function iC(){return vg().slots}function aC(){return vg().attrs}function vg(){const e=ar();return e.setupContext||(e.setupContext=gg(e))}function lC(e,t){const n=qe(e)?e.reduce((r,o)=>(r[o]={},r),{}):e;for(const r in t){const o=n[r];o?qe(o)||tt(o)?n[r]={type:o,default:t[r]}:o.default=t[r]:o===null&&(n[r]={default:t[r]})}return n}function uC(e,t){const n={};for(const r in e)t.includes(r)||Object.defineProperty(n,r,{enumerable:!0,get:()=>e[r]});return n}function cC(e){const t=ar();let n=e();return Qr(),Dd(n)&&(n=n.catch(r=>{throw so(t),r})),[n,()=>so(t)]}function zn(e,t,n){const r=arguments.length;return r===2?Nt(t)&&!qe(t)?oo(t)?C(e,null,[t]):C(e,t):C(e,null,t):(r>3?n=Array.prototype.slice.call(arguments,2):r===3&&oo(n)&&(n=[n]),C(e,t,n))}const bg=Symbol(""),dC=()=>{{const e=sr(bg);return e||E_("Server rendering context not provided. Make sure to only call useSSRContext() conditionally in the server build."),e}};function mC(){}function fC(e,t,n,r){const o=n[r];if(o&&wg(o,e))return o;const s=t();return s.memo=e.slice(),n[r]=s}function wg(e,t){const n=e.memo;if(n.length!=t.length)return!1;for(let r=0;r<n.length;r++)if(ps(n[r],t[r]))return!1;return To>0&&Cn&&Cn.push(e),!0}const Cg="3.2.37",pC={createComponentInstance:fg,setupComponent:hg,renderComponentRoot:ll,setCurrentRenderingInstance:Pi,isVNode:oo,normalizeVNode:Pn},hC=pC,_C=null,gC=null,yC="http://www.w3.org/2000/svg",wo=typeof document!="undefined"?document:null,Uf=wo&&wo.createElement("template"),vC={insert:(e,t,n)=>{t.insertBefore(e,n||null)},remove:e=>{const t=e.parentNode;t&&t.removeChild(e)},createElement:(e,t,n,r)=>{const o=t?wo.createElementNS(yC,e):wo.createElement(e,n?{is:n}:void 0);return e==="select"&&r&&r.multiple!=null&&o.setAttribute("multiple",r.multiple),o},createText:e=>wo.createTextNode(e),createComment:e=>wo.createComment(e),setText:(e,t)=>{e.nodeValue=t},setElementText:(e,t)=>{e.textContent=t},parentNode:e=>e.parentNode,nextSibling:e=>e.nextSibling,querySelector:e=>wo.querySelector(e),setScopeId(e,t){e.setAttribute(t,"")},cloneNode(e){const t=e.cloneNode(!0);return"_value"in e&&(t._value=e._value),t},insertStaticContent(e,t,n,r,o,s){const i=n?n.previousSibling:t.lastChild;if(o&&(o===s||o.nextSibling))for(;t.insertBefore(o.cloneNode(!0),n),!(o===s||!(o=o.nextSibling)););else{Uf.innerHTML=r?`<svg>${e}</svg>`:e;const a=Uf.content;if(r){const l=a.firstChild;for(;l.firstChild;)a.appendChild(l.firstChild);a.removeChild(l)}t.insertBefore(a,n)}return[i?i.nextSibling:t.firstChild,n?n.previousSibling:t.lastChild]}};function bC(e,t,n){const r=e._vtc;r&&(t=(t?[t,...r]:[...r]).join(" ")),t==null?e.removeAttribute("class"):n?e.setAttribute("class",t):e.className=t}function wC(e,t,n){const r=e.style,o=Ot(n);if(n&&!o){for(const s in n)Uc(r,s,n[s]);if(t&&!Ot(t))for(const s in t)n[s]==null&&Uc(r,s,"")}else{const s=r.display;o?t!==n&&(r.cssText=n):t&&e.removeAttribute("style"),"_vod"in e&&(r.display=s)}}const qf=/\s*!important$/;function Uc(e,t,n){if(qe(n))n.forEach(r=>Uc(e,t,r));else if(n==null&&(n=""),t.startsWith("--"))e.setProperty(t,n);else{const r=CC(e,t);qf.test(n)?e.setProperty(pr(r),n.replace(qf,""),"important"):e[r]=n}}const Wf=["Webkit","Moz","ms"],Gu={};function CC(e,t){const n=Gu[t];if(n)return n;let r=Ln(t);if(r!=="filter"&&r in e)return Gu[t]=r;r=Vi(r);for(let o=0;o<Wf.length;o++){const s=Wf[o]+r;if(s in e)return Gu[t]=s}return t}const Gf="http://www.w3.org/1999/xlink";function zC(e,t,n,r,o){if(r&&t.startsWith("xlink:"))n==null?e.removeAttributeNS(Gf,t.slice(6,t.length)):e.setAttributeNS(Gf,t,n);else{const s=Zb(t);n==null||s&&!i_(n)?e.removeAttribute(t):e.setAttribute(t,s?"":n)}}function xC(e,t,n,r,o,s,i){if(t==="innerHTML"||t==="textContent"){r&&i(r,o,s),e[t]=n==null?"":n;return}if(t==="value"&&e.tagName!=="PROGRESS"&&!e.tagName.includes("-")){e._value=n;const l=n==null?"":n;(e.value!==l||e.tagName==="OPTION")&&(e.value=l),n==null&&e.removeAttribute(t);return}let a=!1;if(n===""||n==null){const l=typeof e[t];l==="boolean"?n=i_(n):n==null&&l==="string"?(n="",a=!0):l==="number"&&(n=0,a=!0)}try{e[t]=n}catch{}a&&e.removeAttribute(t)}const[zg,kC]=(()=>{let e=Date.now,t=!1;if(typeof window!="undefined"){Date.now()>document.createEvent("Event").timeStamp&&(e=performance.now.bind(performance));const n=navigator.userAgent.match(/firefox\/(\d+)/i);t=!!(n&&Number(n[1])<=53)}return[e,t]})();let qc=0;const SC=Promise.resolve(),EC=()=>{qc=0},$C=()=>qc||(SC.then(EC),qc=zg());function Sr(e,t,n,r){e.addEventListener(t,n,r)}function AC(e,t,n,r){e.removeEventListener(t,n,r)}function TC(e,t,n,r,o=null){const s=e._vei||(e._vei={}),i=s[t];if(r&&i)i.value=r;else{const[a,l]=OC(t);if(r){const c=s[t]=PC(r,o);Sr(e,a,c,l)}else i&&(AC(e,a,i,l),s[t]=void 0)}}const Kf=/(?:Once|Passive|Capture)$/;function OC(e){let t;if(Kf.test(e)){t={};let n;for(;n=e.match(Kf);)e=e.slice(0,e.length-n[0].length),t[n[0].toLowerCase()]=!0}return[pr(e.slice(2)),t]}function PC(e,t){const n=r=>{const o=r.timeStamp||zg();(kC||o>=n.attached-1)&&In(DC(r,n.value),t,5,[r])};return n.value=e,n.attached=$C(),n}function DC(e,t){if(qe(t)){const n=e.stopImmediatePropagation;return e.stopImmediatePropagation=()=>{n.call(e),e._stopped=!0},t.map(r=>o=>!o._stopped&&r&&r(o))}else return t}const Zf=/^on[a-z]/,FC=(e,t,n,r,o=!1,s,i,a,l)=>{t==="class"?bC(e,r,o):t==="style"?wC(e,n,r):Ri(t)?Od(t)||TC(e,t,n,r,i):(t[0]==="."?(t=t.slice(1),!0):t[0]==="^"?(t=t.slice(1),!1):IC(e,t,r,o))?xC(e,t,r,s,i,a,l):(t==="true-value"?e._trueValue=r:t==="false-value"&&(e._falseValue=r),zC(e,t,r,o))};function IC(e,t,n,r){return r?!!(t==="innerHTML"||t==="textContent"||t in e&&Zf.test(t)&&tt(n)):t==="spellcheck"||t==="draggable"||t==="translate"||t==="form"||t==="list"&&e.tagName==="INPUT"||t==="type"&&e.tagName==="TEXTAREA"||Zf.test(t)&&Ot(n)?!1:t in e}function xg(e,t){const n=Hi(e);class r extends cu{constructor(s){super(n,s,t)}}return r.def=n,r}const MC=e=>xg(e,Lg),LC=typeof HTMLElement!="undefined"?HTMLElement:class{};class cu extends LC{constructor(t,n={},r){super(),this._def=t,this._props=n,this._instance=null,this._connected=!1,this._resolved=!1,this._numberProps=null,this.shadowRoot&&r?r(this._createVNode(),this.shadowRoot):this.attachShadow({mode:"open"})}connectedCallback(){this._connected=!0,this._instance||this._resolveDef()}disconnectedCallback(){this._connected=!1,Ql(()=>{this._connected||(Gc(null,this.shadowRoot),this._instance=null)})}_resolveDef(){if(this._resolved)return;this._resolved=!0;for(let r=0;r<this.attributes.length;r++)this._setAttr(this.attributes[r].name);new MutationObserver(r=>{for(const o of r)this._setAttr(o.attributeName)}).observe(this,{attributes:!0});const t=r=>{const{props:o,styles:s}=r,i=!qe(o),a=o?i?Object.keys(o):o:[];let l;if(i)for(const c in this._props){const d=o[c];(d===Number||d&&d.type===Number)&&(this._props[c]=to(this._props[c]),(l||(l=Object.create(null)))[c]=!0)}this._numberProps=l;for(const c of Object.keys(this))c[0]!=="_"&&this._setProp(c,this[c],!0,!1);for(const c of a.map(Ln))Object.defineProperty(this,c,{get(){return this._getProp(c)},set(d){this._setProp(c,d)}});this._applyStyles(s),this._update()},n=this._def.__asyncLoader;n?n().then(t):t(this._def)}_setAttr(t){let n=this.getAttribute(t);this._numberProps&&this._numberProps[t]&&(n=to(n)),this._setProp(Ln(t),n,!1)}_getProp(t){return this._props[t]}_setProp(t,n,r=!0,o=!0){n!==this._props[t]&&(this._props[t]=n,o&&this._instance&&this._update(),r&&(n===!0?this.setAttribute(pr(t),""):typeof n=="string"||typeof n=="number"?this.setAttribute(pr(t),n+""):n||this.removeAttribute(pr(t))))}_update(){Gc(this._createVNode(),this.shadowRoot)}_createVNode(){const t=C(this._def,Rt({},this._props));return this._instance||(t.ce=n=>{this._instance=n,n.isCE=!0,n.emit=(o,...s)=>{this.dispatchEvent(new CustomEvent(o,{detail:s}))};let r=this;for(;r=r&&(r.parentNode||r.host);)if(r instanceof cu){n.parent=r._instance;break}}),t}_applyStyles(t){t&&t.forEach(n=>{const r=document.createElement("style");r.textContent=n,this.shadowRoot.appendChild(r)})}}function RC(e="$style"){{const t=ar();if(!t)return yt;const n=t.type.__cssModules;if(!n)return yt;const r=n[e];return r||yt}}function NC(e){const t=ar();if(!t)return;const n=()=>Wc(t.subTree,e(t.proxy));L_(n),Mo(()=>{const r=new MutationObserver(n);r.observe(t.subTree.el.parentNode,{childList:!0}),As(()=>r.disconnect())})}function Wc(e,t){if(e.shapeFlag&128){const n=e.suspense;e=n.activeBranch,n.pendingBranch&&!n.isHydrating&&n.effects.push(()=>{Wc(n.activeBranch,t)})}for(;e.component;)e=e.component.subTree;if(e.shapeFlag&1&&e.el)Yf(e.el,t);else if(e.type===Ge)e.children.forEach(n=>Wc(n,t));else if(e.type===So){let{el:n,anchor:r}=e;for(;n&&(Yf(n,t),n!==r);)n=n.nextSibling}}function Yf(e,t){if(e.nodeType===1){const n=e.style;for(const r in t)n.setProperty(`--${r}`,t[r])}}const Rr="transition",Ns="animation",Wt=(e,{slots:t})=>zn(Yd,Sg(e),t);Wt.displayName="Transition";const kg={name:String,type:String,css:{type:Boolean,default:!0},duration:[String,Number,Object],enterFromClass:String,enterActiveClass:String,enterToClass:String,appearFromClass:String,appearActiveClass:String,appearToClass:String,leaveFromClass:String,leaveActiveClass:String,leaveToClass:String},VC=Wt.props=Rt({},Yd.props,kg),fo=(e,t=[])=>{qe(e)?e.forEach(n=>n(...t)):e&&e(...t)},Jf=e=>e?qe(e)?e.some(t=>t.length>1):e.length>1:!1;function Sg(e){const t={};for(const R in e)R in kg||(t[R]=e[R]);if(e.css===!1)return t;const{name:n="v",type:r,duration:o,enterFromClass:s=`${n}-enter-from`,enterActiveClass:i=`${n}-enter-active`,enterToClass:a=`${n}-enter-to`,appearFromClass:l=s,appearActiveClass:c=i,appearToClass:d=a,leaveFromClass:f=`${n}-leave-from`,leaveActiveClass:m=`${n}-leave-active`,leaveToClass:p=`${n}-leave-to`}=e,h=jC(o),_=h&&h[0],g=h&&h[1],{onBeforeEnter:b,onEnter:w,onEnterCancelled:x,onLeave:z,onLeaveCancelled:E,onBeforeAppear:T=b,onAppear:V=w,onAppearCancelled:F=x}=t,A=(R,q,B)=>{Hr(R,q?d:a),Hr(R,q?c:i),B&&B()},M=(R,q)=>{R._isLeaving=!1,Hr(R,f),Hr(R,p),Hr(R,m),q&&q()},W=R=>(q,B)=>{const se=R?V:w,Q=()=>A(q,R,B);fo(se,[q,Q]),Xf(()=>{Hr(q,R?l:s),xr(q,R?d:a),Jf(se)||Qf(q,r,_,Q)})};return Rt(t,{onBeforeEnter(R){fo(b,[R]),xr(R,s),xr(R,i)},onBeforeAppear(R){fo(T,[R]),xr(R,l),xr(R,c)},onEnter:W(!1),onAppear:W(!0),onLeave(R,q){R._isLeaving=!0;const B=()=>M(R,q);xr(R,f),$g(),xr(R,m),Xf(()=>{!R._isLeaving||(Hr(R,f),xr(R,p),Jf(z)||Qf(R,r,g,B))}),fo(z,[R,B])},onEnterCancelled(R){A(R,!1),fo(x,[R])},onAppearCancelled(R){A(R,!0),fo(F,[R])},onLeaveCancelled(R){M(R),fo(E,[R])}})}function jC(e){if(e==null)return null;if(Nt(e))return[Ku(e.enter),Ku(e.leave)];{const t=Ku(e);return[t,t]}}function Ku(e){return to(e)}function xr(e,t){t.split(/\s+/).forEach(n=>n&&e.classList.add(n)),(e._vtc||(e._vtc=new Set)).add(t)}function Hr(e,t){t.split(/\s+/).forEach(r=>r&&e.classList.remove(r));const{_vtc:n}=e;n&&(n.delete(t),n.size||(e._vtc=void 0))}function Xf(e){requestAnimationFrame(()=>{requestAnimationFrame(e)})}let BC=0;function Qf(e,t,n,r){const o=e._endId=++BC,s=()=>{o===e._endId&&r()};if(n)return setTimeout(s,n);const{type:i,timeout:a,propCount:l}=Eg(e,t);if(!i)return r();const c=i+"end";let d=0;const f=()=>{e.removeEventListener(c,m),s()},m=p=>{p.target===e&&++d>=l&&f()};setTimeout(()=>{d<l&&f()},a+1),e.addEventListener(c,m)}function Eg(e,t){const n=window.getComputedStyle(e),r=h=>(n[h]||"").split(", "),o=r(Rr+"Delay"),s=r(Rr+"Duration"),i=ep(o,s),a=r(Ns+"Delay"),l=r(Ns+"Duration"),c=ep(a,l);let d=null,f=0,m=0;t===Rr?i>0&&(d=Rr,f=i,m=s.length):t===Ns?c>0&&(d=Ns,f=c,m=l.length):(f=Math.max(i,c),d=f>0?i>c?Rr:Ns:null,m=d?d===Rr?s.length:l.length:0);const p=d===Rr&&/\b(transform|all)(,|$)/.test(n[Rr+"Property"]);return{type:d,timeout:f,propCount:m,hasTransform:p}}function ep(e,t){for(;e.length<t.length;)e=e.concat(e);return Math.max(...t.map((n,r)=>tp(n)+tp(e[r])))}function tp(e){return Number(e.slice(0,-1).replace(",","."))*1e3}function $g(){return document.body.offsetHeight}const Ag=new WeakMap,Tg=new WeakMap,HC={name:"TransitionGroup",props:Rt({},VC,{tag:String,moveClass:String}),setup(e,{slots:t}){const n=ar(),r=Zd();let o,s;return su(()=>{if(!o.length)return;const i=e.moveClass||`${e.name||"v"}-move`;if(!KC(o[0].el,n.vnode.el,i))return;o.forEach(qC),o.forEach(WC);const a=o.filter(GC);$g(),a.forEach(l=>{const c=l.el,d=c.style;xr(c,i),d.transform=d.webkitTransform=d.transitionDuration="";const f=c._moveCb=m=>{m&&m.target!==c||(!m||/transform$/.test(m.propertyName))&&(c.removeEventListener("transitionend",f),c._moveCb=null,Hr(c,i))};c.addEventListener("transitionend",f)})}),()=>{const i=ut(e),a=Sg(i);let l=i.tag||Ge;o=s,s=t.default?ru(t.default()):[];for(let c=0;c<s.length;c++){const d=s[c];d.key!=null&&Ao(d,_s(d,a,r,n))}if(o)for(let c=0;c<o.length;c++){const d=o[c];Ao(d,_s(d,a,r,n)),Ag.set(d,d.el.getBoundingClientRect())}return C(l,null,s)}}},UC=HC;function qC(e){const t=e.el;t._moveCb&&t._moveCb(),t._enterCb&&t._enterCb()}function WC(e){Tg.set(e,e.el.getBoundingClientRect())}function GC(e){const t=Ag.get(e),n=Tg.get(e),r=t.left-n.left,o=t.top-n.top;if(r||o){const s=e.el.style;return s.transform=s.webkitTransform=`translate(${r}px,${o}px)`,s.transitionDuration="0s",e}}function KC(e,t,n){const r=e.cloneNode();e._vtc&&e._vtc.forEach(i=>{i.split(/\s+/).forEach(a=>a&&r.classList.remove(a))}),n.split(/\s+/).forEach(i=>i&&r.classList.add(i)),r.style.display="none";const o=t.nodeType===1?t:t.parentNode;o.appendChild(r);const{hasTransform:s}=Eg(r);return o.removeChild(r),s}const io=e=>{const t=e.props["onUpdate:modelValue"]||!1;return qe(t)?n=>cs(t,n):t};function ZC(e){e.target.composing=!0}function np(e){const t=e.target;t.composing&&(t.composing=!1,t.dispatchEvent(new Event("input")))}const kn={created(e,{modifiers:{lazy:t,trim:n,number:r}},o){e._assign=io(o);const s=r||o.props&&o.props.type==="number";Sr(e,t?"change":"input",i=>{if(i.target.composing)return;let a=e.value;n&&(a=a.trim()),s&&(a=to(a)),e._assign(a)}),n&&Sr(e,"change",()=>{e.value=e.value.trim()}),t||(Sr(e,"compositionstart",ZC),Sr(e,"compositionend",np),Sr(e,"change",np))},mounted(e,{value:t}){e.value=t==null?"":t},beforeUpdate(e,{value:t,modifiers:{lazy:n,trim:r,number:o}},s){if(e._assign=io(s),e.composing||document.activeElement===e&&e.type!=="range"&&(n||r&&e.value.trim()===t||(o||e.type==="number")&&to(e.value)===t))return;const i=t==null?"":t;e.value!==i&&(e.value=i)}},Tr={deep:!0,created(e,t,n){e._assign=io(n),Sr(e,"change",()=>{const r=e._modelValue,o=ys(e),s=e.checked,i=e._assign;if(qe(r)){const a=Wl(r,o),l=a!==-1;if(s&&!l)i(r.concat(o));else if(!s&&l){const c=[...r];c.splice(a,1),i(c)}}else if(Oo(r)){const a=new Set(r);s?a.add(o):a.delete(o),i(a)}else i(Og(e,s))})},mounted:rp,beforeUpdate(e,t,n){e._assign=io(n),rp(e,t,n)}};function rp(e,{value:t,oldValue:n},r){e._modelValue=t,qe(t)?e.checked=Wl(t,r.props.value)>-1:Oo(t)?e.checked=t.has(r.props.value):t!==n&&(e.checked=eo(t,Og(e,!0)))}const rm={created(e,{value:t},n){e.checked=eo(t,n.props.value),e._assign=io(n),Sr(e,"change",()=>{e._assign(ys(e))})},beforeUpdate(e,{value:t,oldValue:n},r){e._assign=io(r),t!==n&&(e.checked=eo(t,r.props.value))}},om={deep:!0,created(e,{value:t,modifiers:{number:n}},r){const o=Oo(t);Sr(e,"change",()=>{const s=Array.prototype.filter.call(e.options,i=>i.selected).map(i=>n?to(ys(i)):ys(i));e._assign(e.multiple?o?new Set(s):s:s[0])}),e._assign=io(r)},mounted(e,{value:t}){op(e,t)},beforeUpdate(e,t,n){e._assign=io(n)},updated(e,{value:t}){op(e,t)}};function op(e,t){const n=e.multiple;if(!(n&&!qe(t)&&!Oo(t))){for(let r=0,o=e.options.length;r<o;r++){const s=e.options[r],i=ys(s);if(n)qe(t)?s.selected=Wl(t,i)>-1:s.selected=t.has(i);else if(eo(ys(s),t)){e.selectedIndex!==r&&(e.selectedIndex=r);return}}!n&&e.selectedIndex!==-1&&(e.selectedIndex=-1)}}function ys(e){return"_value"in e?e._value:e.value}function Og(e,t){const n=t?"_trueValue":"_falseValue";return n in e?e[n]:t}const Pg={created(e,t,n){ya(e,t,n,null,"created")},mounted(e,t,n){ya(e,t,n,null,"mounted")},beforeUpdate(e,t,n,r){ya(e,t,n,r,"beforeUpdate")},updated(e,t,n,r){ya(e,t,n,r,"updated")}};function Dg(e,t){switch(e){case"SELECT":return om;case"TEXTAREA":return kn;default:switch(t){case"checkbox":return Tr;case"radio":return rm;default:return kn}}}function ya(e,t,n,r,o){const i=Dg(e.tagName,n.props&&n.props.type)[o];i&&i(e,t,n,r)}function YC(){kn.getSSRProps=({value:e})=>({value:e}),rm.getSSRProps=({value:e},t)=>{if(t.props&&eo(t.props.value,e))return{checked:!0}},Tr.getSSRProps=({value:e},t)=>{if(qe(e)){if(t.props&&Wl(e,t.props.value)>-1)return{checked:!0}}else if(Oo(e)){if(t.props&&e.has(t.props.value))return{checked:!0}}else if(e)return{checked:!0}},Pg.getSSRProps=(e,t)=>{if(typeof t.type!="string")return;const n=Dg(t.type.toUpperCase(),t.props&&t.props.type);if(n.getSSRProps)return n.getSSRProps(e,t)}}const JC=["ctrl","shift","alt","meta"],XC={stop:e=>e.stopPropagation(),prevent:e=>e.preventDefault(),self:e=>e.target!==e.currentTarget,ctrl:e=>!e.ctrlKey,shift:e=>!e.shiftKey,alt:e=>!e.altKey,meta:e=>!e.metaKey,left:e=>"button"in e&&e.button!==0,middle:e=>"button"in e&&e.button!==1,right:e=>"button"in e&&e.button!==2,exact:(e,t)=>JC.some(n=>e[`${n}Key`]&&!t.includes(n))},_t=(e,t)=>(n,...r)=>{for(let o=0;o<t.length;o++){const s=XC[t[o]];if(s&&s(n,t))return}return e(n,...r)},QC={esc:"escape",space:" ",up:"arrow-up",left:"arrow-left",right:"arrow-right",down:"arrow-down",delete:"backspace"},Dn=(e,t)=>n=>{if(!("key"in n))return;const r=pr(n.key);if(t.some(o=>o===r||QC[o]===r))return e(n)},vs={beforeMount(e,{value:t},{transition:n}){e._vod=e.style.display==="none"?"":e.style.display,n&&t?n.beforeEnter(e):Vs(e,t)},mounted(e,{value:t},{transition:n}){n&&t&&n.enter(e)},updated(e,{value:t,oldValue:n},{transition:r}){!t!=!n&&(r?t?(r.beforeEnter(e),Vs(e,!0),r.enter(e)):r.leave(e,()=>{Vs(e,!1)}):Vs(e,t))},beforeUnmount(e,{value:t}){Vs(e,t)}};function Vs(e,t){e.style.display=t?e._vod:"none"}function ez(){vs.getSSRProps=({value:e})=>{if(!e)return{style:{display:"none"}}}}const Fg=Rt({patchProp:FC},vC);let gi,sp=!1;function Ig(){return gi||(gi=ig(Fg))}function Mg(){return gi=sp?gi:ag(Fg),sp=!0,gi}const Gc=(...e)=>{Ig().render(...e)},Lg=(...e)=>{Mg().hydrate(...e)},Rg=(...e)=>{const t=Ig().createApp(...e),{mount:n}=t;return t.mount=r=>{const o=Ng(r);if(!o)return;const s=t._component;!tt(s)&&!s.render&&!s.template&&(s.template=o.innerHTML),o.innerHTML="";const i=n(o,!1,o instanceof SVGElement);return o instanceof Element&&(o.removeAttribute("v-cloak"),o.setAttribute("data-v-app","")),i},t},tz=(...e)=>{const t=Mg().createApp(...e),{mount:n}=t;return t.mount=r=>{const o=Ng(r);if(o)return n(o,!0,o instanceof SVGElement)},t};function Ng(e){return Ot(e)?document.querySelector(e):e}let ip=!1;const nz=()=>{ip||(ip=!0,YC(),ez())},rz=()=>{};var oz=Object.freeze(Object.defineProperty({__proto__:null,compile:rz,EffectScope:Id,ReactiveEffect:ji,customRef:U0,effect:f0,effectScope:l0,getCurrentScope:u0,isProxy:Nd,isReactive:xo,isReadonly:hs,isRef:qt,isShallow:wl,markRaw:Vd,onScopeDispose:c0,proxyRefs:Hd,reactive:Fo,readonly:Rd,ref:wn,shallowReactive:z_,shallowReadonly:N0,shallowRef:x_,stop:p0,toRaw:ut,toRef:S_,toRefs:ci,triggerRef:j0,unref:ds,camelize:Ln,capitalize:Vi,normalizeClass:Ye,normalizeProps:Qb,normalizeStyle:ao,toDisplayString:v,toHandlerKey:ui,BaseTransition:Yd,Comment:ln,Fragment:Ge,KeepAlive:Cw,Static:So,Suspense:dw,Teleport:lo,Text:ro,callWithAsyncErrorHandling:In,callWithErrorHandling:hr,cloneVNode:gr,compatUtils:gC,computed:Tt,createBlock:xe,createCommentVNode:X,createElementBlock:D,createElementVNode:u,createHydrationRenderer:ag,createPropsRestProxy:uC,createRenderer:ig,createSlots:qi,createStaticVNode:Ww,createTextVNode:vt,createVNode:C,defineAsyncComponent:bw,defineComponent:Hi,defineEmits:rC,defineExpose:oC,defineProps:nC,get devtools(){return ts},getCurrentInstance:ar,getTransitionRawChildren:ru,guardReactiveProps:mg,h:zn,handleError:Io,initCustomFormatter:mC,inject:sr,isMemoSame:wg,isRuntimeOnly:Jw,isVNode:oo,mergeDefaults:lC,mergeProps:nm,nextTick:Ql,onActivated:V_,onBeforeMount:H_,onBeforeUnmount:iu,onBeforeUpdate:U_,onDeactivated:j_,onErrorCaptured:K_,onMounted:Mo,onRenderTracked:G_,onRenderTriggered:W_,onServerPrefetch:q_,onUnmounted:As,onUpdated:su,openBlock:S,popScopeId:ow,provide:pi,pushScopeId:rw,queuePostFlushCb:Wd,registerRuntimeCompiler:Yw,renderList:Ct,renderSlot:xt,resolveComponent:O,resolveDirective:au,resolveDynamicComponent:Y_,resolveFilter:_C,resolveTransitionHooks:_s,setBlockTracking:jc,setDevtoolsHook:D_,setTransitionHooks:Ao,ssrContextKey:bg,ssrUtils:hC,toHandlers:kw,transformVNodeArgs:Uw,useAttrs:aC,useSSRContext:dC,useSlots:iC,useTransitionState:Zd,version:Cg,warn:E_,watch:Mt,watchEffect:_w,watchPostEffect:L_,watchSyncEffect:gw,withAsyncContext:cC,withCtx:P,withDefaults:sC,withDirectives:kt,withMemo:fC,withScopeId:sw,Transition:Wt,TransitionGroup:UC,VueElement:cu,createApp:Rg,createSSRApp:tz,defineCustomElement:xg,defineSSRCustomElement:MC,hydrate:Lg,initDirectivesForSSR:nz,render:Gc,useCssModule:RC,useCssVars:NC,vModelCheckbox:Tr,vModelDynamic:Pg,vModelRadio:rm,vModelSelect:om,vModelText:kn,vShow:vs,withKeys:Dn,withModifiers:_t},Symbol.toStringTag,{value:"Module"}));/*!
|
|
* @intlify/shared v9.1.10
|
|
* (c) 2022 kazuya kawaguchi
|
|
* Released under the MIT License.
|
|
*/const sz=typeof Symbol=="function"&&typeof Symbol.toStringTag=="symbol",Dr=e=>sz?Symbol(e):e,iz=(e,t,n)=>az({l:e,k:t,s:n}),az=e=>JSON.stringify(e).replace(/\u2028/g,"\\u2028").replace(/\u2029/g,"\\u2029").replace(/\u0027/g,"\\u0027"),en=e=>typeof e=="number"&&isFinite(e),lz=e=>im(e)==="[object Date]",Al=e=>im(e)==="[object RegExp]",du=e=>ft(e)&&Object.keys(e).length===0;function uz(e,t){typeof console!="undefined"&&(console.warn("[intlify] "+e),t&&console.warn(t.stack))}const pn=Object.assign;let ap;const sm=()=>ap||(ap=typeof globalThis!="undefined"?globalThis:typeof self!="undefined"?self:typeof window!="undefined"?window:typeof global!="undefined"?global:{});function lp(e){return e.replace(/</g,"<").replace(/>/g,">").replace(/"/g,""").replace(/'/g,"'")}const cz=Object.prototype.hasOwnProperty;function Vg(e,t){return cz.call(e,t)}const sn=Array.isArray,mn=e=>typeof e=="function",Ke=e=>typeof e=="string",Yt=e=>typeof e=="boolean",hn=e=>e!==null&&typeof e=="object",jg=Object.prototype.toString,im=e=>jg.call(e),ft=e=>im(e)==="[object Object]",dz=e=>e==null?"":sn(e)||ft(e)&&e.toString===jg?JSON.stringify(e,null,2):String(e);/*!
|
|
* @intlify/message-resolver v9.1.10
|
|
* (c) 2022 kazuya kawaguchi
|
|
* Released under the MIT License.
|
|
*/const mz=Object.prototype.hasOwnProperty;function fz(e,t){return mz.call(e,t)}const cl=e=>e!==null&&typeof e=="object",uo=[];uo[0]={w:[0],i:[3,0],["["]:[4],o:[7]};uo[1]={w:[1],["."]:[2],["["]:[4],o:[7]};uo[2]={w:[2],i:[3,0],["0"]:[3,0]};uo[3]={i:[3,0],["0"]:[3,0],w:[1,1],["."]:[2,1],["["]:[4,1],o:[7,1]};uo[4]={["'"]:[5,0],['"']:[6,0],["["]:[4,2],["]"]:[1,3],o:8,l:[4,0]};uo[5]={["'"]:[4,0],o:8,l:[5,0]};uo[6]={['"']:[4,0],o:8,l:[6,0]};const pz=/^\s?(?:true|false|-?[\d.]+|'[^']*'|"[^"]*")\s?$/;function hz(e){return pz.test(e)}function _z(e){const t=e.charCodeAt(0),n=e.charCodeAt(e.length-1);return t===n&&(t===34||t===39)?e.slice(1,-1):e}function gz(e){if(e==null)return"o";switch(e.charCodeAt(0)){case 91:case 93:case 46:case 34:case 39:return e;case 95:case 36:case 45:return"i";case 9:case 10:case 13:case 160:case 65279:case 8232:case 8233:return"w"}return"i"}function yz(e){const t=e.trim();return e.charAt(0)==="0"&&isNaN(parseInt(e))?!1:hz(t)?_z(t):"*"+t}function vz(e){const t=[];let n=-1,r=0,o=0,s,i,a,l,c,d,f;const m=[];m[0]=()=>{i===void 0?i=a:i+=a},m[1]=()=>{i!==void 0&&(t.push(i),i=void 0)},m[2]=()=>{m[0](),o++},m[3]=()=>{if(o>0)o--,r=4,m[0]();else{if(o=0,i===void 0||(i=yz(i),i===!1))return!1;m[1]()}};function p(){const h=e[n+1];if(r===5&&h==="'"||r===6&&h==='"')return n++,a="\\"+h,m[0](),!0}for(;r!==null;)if(n++,s=e[n],!(s==="\\"&&p())){if(l=gz(s),f=uo[r],c=f[l]||f.l||8,c===8||(r=c[0],c[1]!==void 0&&(d=m[c[1]],d&&(a=s,d()===!1))))return;if(r===7)return t}}const up=new Map;function Tl(e,t){if(!cl(e))return null;let n=up.get(t);if(n||(n=vz(t),n&&up.set(t,n)),!n)return null;const r=n.length;let o=e,s=0;for(;s<r;){const i=o[n[s]];if(i===void 0)return null;o=i,s++}return o}function Kc(e){if(!cl(e))return e;for(const t in e)if(!!fz(e,t))if(!t.includes("."))cl(e[t])&&Kc(e[t]);else{const n=t.split("."),r=n.length-1;let o=e;for(let s=0;s<r;s++)n[s]in o||(o[n[s]]={}),o=o[n[s]];o[n[r]]=e[t],delete e[t],cl(o[n[r]])&&Kc(o[n[r]])}return e}/*!
|
|
* @intlify/runtime v9.1.10
|
|
* (c) 2022 kazuya kawaguchi
|
|
* Released under the MIT License.
|
|
*/const bz=e=>e,wz=e=>"",Cz="text",zz=e=>e.length===0?"":e.join(""),xz=dz;function cp(e,t){return e=Math.abs(e),t===2?e?e>1?1:0:1:e?Math.min(e,2):0}function kz(e){const t=en(e.pluralIndex)?e.pluralIndex:-1;return e.named&&(en(e.named.count)||en(e.named.n))?en(e.named.count)?e.named.count:en(e.named.n)?e.named.n:t:t}function Sz(e,t){t.count||(t.count=e),t.n||(t.n=e)}function Ez(e={}){const t=e.locale,n=kz(e),r=hn(e.pluralRules)&&Ke(t)&&mn(e.pluralRules[t])?e.pluralRules[t]:cp,o=hn(e.pluralRules)&&Ke(t)&&mn(e.pluralRules[t])?cp:void 0,s=g=>g[r(n,g.length,o)],i=e.list||[],a=g=>i[g],l=e.named||{};en(e.pluralIndex)&&Sz(n,l);const c=g=>l[g];function d(g){const b=mn(e.messages)?e.messages(g):hn(e.messages)?e.messages[g]:!1;return b||(e.parent?e.parent.message(g):wz)}const f=g=>e.modifiers?e.modifiers[g]:bz,m=ft(e.processor)&&mn(e.processor.normalize)?e.processor.normalize:zz,p=ft(e.processor)&&mn(e.processor.interpolate)?e.processor.interpolate:xz,h=ft(e.processor)&&Ke(e.processor.type)?e.processor.type:Cz,_={list:a,named:c,plural:s,linked:(g,b)=>{const w=d(g)(_);return Ke(b)?f(b)(w):w},message:d,type:h,interpolate:p,normalize:m};return _}/*!
|
|
* @intlify/message-compiler v9.1.10
|
|
* (c) 2022 kazuya kawaguchi
|
|
* Released under the MIT License.
|
|
*/function Bg(e,t,n={}){const{domain:r,messages:o,args:s}=n,i=e,a=new SyntaxError(String(i));return a.code=e,t&&(a.location=t),a.domain=r,a}/*!
|
|
* @intlify/devtools-if v9.1.10
|
|
* (c) 2022 kazuya kawaguchi
|
|
* Released under the MIT License.
|
|
*/const Hg={I18nInit:"i18n:init",FunctionTranslate:"function:translate"};/*!
|
|
* @intlify/core-base v9.1.10
|
|
* (c) 2022 kazuya kawaguchi
|
|
* Released under the MIT License.
|
|
*/let Fi=null;function $z(e){Fi=e}function Az(e,t,n){Fi&&Fi.emit(Hg.I18nInit,{timestamp:Date.now(),i18n:e,version:t,meta:n})}const Tz=Oz(Hg.FunctionTranslate);function Oz(e){return t=>Fi&&Fi.emit(e,t)}const Pz="9.1.10",mu=-1,dp="";function Dz(){return{upper:e=>Ke(e)?e.toUpperCase():e,lower:e=>Ke(e)?e.toLowerCase():e,capitalize:e=>Ke(e)?`${e.charAt(0).toLocaleUpperCase()}${e.substr(1)}`:e}}let Fz,Ug=null;const mp=e=>{Ug=e},Iz=()=>Ug;let fp=0;function Mz(e={}){const t=Ke(e.version)?e.version:Pz,n=Ke(e.locale)?e.locale:"en-US",r=sn(e.fallbackLocale)||ft(e.fallbackLocale)||Ke(e.fallbackLocale)||e.fallbackLocale===!1?e.fallbackLocale:n,o=ft(e.messages)?e.messages:{[n]:{}},s=ft(e.datetimeFormats)?e.datetimeFormats:{[n]:{}},i=ft(e.numberFormats)?e.numberFormats:{[n]:{}},a=pn({},e.modifiers||{},Dz()),l=e.pluralRules||{},c=mn(e.missing)?e.missing:null,d=Yt(e.missingWarn)||Al(e.missingWarn)?e.missingWarn:!0,f=Yt(e.fallbackWarn)||Al(e.fallbackWarn)?e.fallbackWarn:!0,m=!!e.fallbackFormat,p=!!e.unresolving,h=mn(e.postTranslation)?e.postTranslation:null,_=ft(e.processor)?e.processor:null,g=Yt(e.warnHtmlMessage)?e.warnHtmlMessage:!0,b=!!e.escapeParameter,w=mn(e.messageCompiler)?e.messageCompiler:Fz,x=mn(e.onWarn)?e.onWarn:uz,z=e,E=hn(z.__datetimeFormatters)?z.__datetimeFormatters:new Map,T=hn(z.__numberFormatters)?z.__numberFormatters:new Map,V=hn(z.__meta)?z.__meta:{};fp++;const F={version:t,cid:fp,locale:n,fallbackLocale:r,messages:o,datetimeFormats:s,numberFormats:i,modifiers:a,pluralRules:l,missing:c,missingWarn:d,fallbackWarn:f,fallbackFormat:m,unresolving:p,postTranslation:h,processor:_,warnHtmlMessage:g,escapeParameter:b,messageCompiler:w,onWarn:x,__datetimeFormatters:E,__numberFormatters:T,__meta:V};return __INTLIFY_PROD_DEVTOOLS__&&Az(F,t,V),F}function am(e,t,n,r,o){const{missing:s,onWarn:i}=e;if(s!==null){const a=s(e,n,t,o);return Ke(a)?a:t}else return t}function Wi(e,t,n){const r=e;r.__localeChainCache||(r.__localeChainCache=new Map);let o=r.__localeChainCache.get(n);if(!o){o=[];let s=[n];for(;sn(s);)s=pp(o,s,t);const i=sn(t)?t:ft(t)?t.default?t.default:null:t;s=Ke(i)?[i]:i,sn(s)&&pp(o,s,!1),r.__localeChainCache.set(n,o)}return o}function pp(e,t,n){let r=!0;for(let o=0;o<t.length&&Yt(r);o++){const s=t[o];Ke(s)&&(r=Lz(e,t[o],n))}return r}function Lz(e,t,n){let r;const o=t.split("-");do{const s=o.join("-");r=Rz(e,s,n),o.splice(-1,1)}while(o.length&&r===!0);return r}function Rz(e,t,n){let r=!1;if(!e.includes(t)&&(r=!0,t)){r=t[t.length-1]!=="!";const o=t.replace(/!/g,"");e.push(o),(sn(n)||ft(n))&&n[o]&&(r=n[o])}return r}function js(e,t,n){const r=e;r.__localeChainCache=new Map,Wi(e,n,t)}function is(e){return Bg(e,null,void 0)}const hp=()=>"",mr=e=>mn(e);function _p(e,...t){const{fallbackFormat:n,postTranslation:r,unresolving:o,fallbackLocale:s,messages:i}=e,[a,l]=Zc(...t),c=Yt(l.missingWarn)?l.missingWarn:e.missingWarn,d=Yt(l.fallbackWarn)?l.fallbackWarn:e.fallbackWarn,f=Yt(l.escapeParameter)?l.escapeParameter:e.escapeParameter,m=!!l.resolvedMessage,p=Ke(l.default)||Yt(l.default)?Yt(l.default)?a:l.default:n?a:"",h=n||p!=="",_=Ke(l.locale)?l.locale:e.locale;f&&Nz(l);let[g,b,w]=m?[a,_,i[_]||{}]:Vz(e,a,_,s,d,c),x=a;if(!m&&!(Ke(g)||mr(g))&&h&&(g=p,x=g),!m&&(!(Ke(g)||mr(g))||!Ke(b)))return o?mu:a;let z=!1;const E=()=>{z=!0},T=mr(g)?g:qg(e,a,b,g,x,E);if(z)return g;const V=Hz(e,b,w,l),F=Ez(V),A=jz(e,T,F),M=r?r(A):A;if(__INTLIFY_PROD_DEVTOOLS__){const W={timestamp:Date.now(),key:Ke(a)?a:mr(g)?g.key:"",locale:b||(mr(g)?g.locale:""),format:Ke(g)?g:mr(g)?g.source:"",message:M};W.meta=pn({},e.__meta,Iz()||{}),Tz(W)}return M}function Nz(e){sn(e.list)?e.list=e.list.map(t=>Ke(t)?lp(t):t):hn(e.named)&&Object.keys(e.named).forEach(t=>{Ke(e.named[t])&&(e.named[t]=lp(e.named[t]))})}function Vz(e,t,n,r,o,s){const{messages:i,onWarn:a}=e,l=Wi(e,r,n);let c={},d,f=null;const m="translate";for(let p=0;p<l.length&&(d=l[p],c=i[d]||{},(f=Tl(c,t))===null&&(f=c[t]),!(Ke(f)||mn(f)));p++){const h=am(e,t,d,s,m);h!==t&&(f=h)}return[f,d,c]}function qg(e,t,n,r,o,s){const{messageCompiler:i,warnHtmlMessage:a}=e;if(mr(r)){const c=r;return c.locale=c.locale||n,c.key=c.key||t,c}const l=i(r,Bz(e,n,o,r,a,s));return l.locale=n,l.key=t,l.source=r,l}function jz(e,t,n){return t(n)}function Zc(...e){const[t,n,r]=e,o={};if(!Ke(t)&&!en(t)&&!mr(t))throw is(14);const s=en(t)?String(t):(mr(t),t);return en(n)?o.plural=n:Ke(n)?o.default=n:ft(n)&&!du(n)?o.named=n:sn(n)&&(o.list=n),en(r)?o.plural=r:Ke(r)?o.default=r:ft(r)&&pn(o,r),[s,o]}function Bz(e,t,n,r,o,s){return{warnHtmlMessage:o,onError:i=>{throw s&&s(i),i},onCacheKey:i=>iz(t,n,i)}}function Hz(e,t,n,r){const{modifiers:o,pluralRules:s}=e,a={locale:t,modifiers:o,pluralRules:s,messages:l=>{const c=Tl(n,l);if(Ke(c)){let d=!1;const m=qg(e,l,t,c,l,()=>{d=!0});return d?hp:m}else return mr(c)?c:hp}};return e.processor&&(a.processor=e.processor),r.list&&(a.list=r.list),r.named&&(a.named=r.named),en(r.plural)&&(a.pluralIndex=r.plural),a}function gp(e,...t){const{datetimeFormats:n,unresolving:r,fallbackLocale:o,onWarn:s}=e,{__datetimeFormatters:i}=e,[a,l,c,d]=Yc(...t),f=Yt(c.missingWarn)?c.missingWarn:e.missingWarn;Yt(c.fallbackWarn)?c.fallbackWarn:e.fallbackWarn;const m=!!c.part,p=Ke(c.locale)?c.locale:e.locale,h=Wi(e,o,p);if(!Ke(a)||a==="")return new Intl.DateTimeFormat(p).format(l);let _={},g,b=null;const w="datetime format";for(let E=0;E<h.length&&(g=h[E],_=n[g]||{},b=_[a],!ft(b));E++)am(e,a,g,f,w);if(!ft(b)||!Ke(g))return r?mu:a;let x=`${g}__${a}`;du(d)||(x=`${x}__${JSON.stringify(d)}`);let z=i.get(x);return z||(z=new Intl.DateTimeFormat(g,pn({},b,d)),i.set(x,z)),m?z.formatToParts(l):z.format(l)}function Yc(...e){const[t,n,r,o]=e;let s={},i={},a;if(Ke(t)){if(!/\d{4}-\d{2}-\d{2}(T.*)?/.test(t))throw is(16);a=new Date(t);try{a.toISOString()}catch{throw is(16)}}else if(lz(t)){if(isNaN(t.getTime()))throw is(15);a=t}else if(en(t))a=t;else throw is(14);return Ke(n)?s.key=n:ft(n)&&(s=n),Ke(r)?s.locale=r:ft(r)&&(i=r),ft(o)&&(i=o),[s.key||"",a,s,i]}function yp(e,t,n){const r=e;for(const o in n){const s=`${t}__${o}`;!r.__datetimeFormatters.has(s)||r.__datetimeFormatters.delete(s)}}function vp(e,...t){const{numberFormats:n,unresolving:r,fallbackLocale:o,onWarn:s}=e,{__numberFormatters:i}=e,[a,l,c,d]=Jc(...t),f=Yt(c.missingWarn)?c.missingWarn:e.missingWarn;Yt(c.fallbackWarn)?c.fallbackWarn:e.fallbackWarn;const m=!!c.part,p=Ke(c.locale)?c.locale:e.locale,h=Wi(e,o,p);if(!Ke(a)||a==="")return new Intl.NumberFormat(p).format(l);let _={},g,b=null;const w="number format";for(let E=0;E<h.length&&(g=h[E],_=n[g]||{},b=_[a],!ft(b));E++)am(e,a,g,f,w);if(!ft(b)||!Ke(g))return r?mu:a;let x=`${g}__${a}`;du(d)||(x=`${x}__${JSON.stringify(d)}`);let z=i.get(x);return z||(z=new Intl.NumberFormat(g,pn({},b,d)),i.set(x,z)),m?z.formatToParts(l):z.format(l)}function Jc(...e){const[t,n,r,o]=e;let s={},i={};if(!en(t))throw is(14);const a=t;return Ke(n)?s.key=n:ft(n)&&(s=n),Ke(r)?s.locale=r:ft(r)&&(i=r),ft(o)&&(i=o),[s.key||"",a,s,i]}function bp(e,t,n){const r=e;for(const o in n){const s=`${t}__${o}`;!r.__numberFormatters.has(s)||r.__numberFormatters.delete(s)}}typeof __INTLIFY_PROD_DEVTOOLS__!="boolean"&&(sm().__INTLIFY_PROD_DEVTOOLS__=!1);function Uz(){return Wg().__VUE_DEVTOOLS_GLOBAL_HOOK__}function Wg(){return typeof navigator!="undefined"&&typeof window!="undefined"?window:typeof global!="undefined"?global:{}}const qz=typeof Proxy=="function",Wz="devtools-plugin:setup",Gz="plugin:settings:set";let Ho,Xc;function Kz(){var e;return Ho!==void 0||(typeof window!="undefined"&&window.performance?(Ho=!0,Xc=window.performance):typeof global!="undefined"&&((e=global.perf_hooks)===null||e===void 0?void 0:e.performance)?(Ho=!0,Xc=global.perf_hooks.performance):Ho=!1),Ho}function Zz(){return Kz()?Xc.now():Date.now()}class Yz{constructor(t,n){this.target=null,this.targetQueue=[],this.onQueue=[],this.plugin=t,this.hook=n;const r={};if(t.settings)for(const i in t.settings){const a=t.settings[i];r[i]=a.defaultValue}const o=`__vue-devtools-plugin-settings__${t.id}`;let s=Object.assign({},r);try{const i=localStorage.getItem(o),a=JSON.parse(i);Object.assign(s,a)}catch{}this.fallbacks={getSettings(){return s},setSettings(i){try{localStorage.setItem(o,JSON.stringify(i))}catch{}s=i},now(){return Zz()}},n&&n.on(Gz,(i,a)=>{i===this.plugin.id&&this.fallbacks.setSettings(a)}),this.proxiedOn=new Proxy({},{get:(i,a)=>this.target?this.target.on[a]:(...l)=>{this.onQueue.push({method:a,args:l})}}),this.proxiedTarget=new Proxy({},{get:(i,a)=>this.target?this.target[a]:a==="on"?this.proxiedOn:Object.keys(this.fallbacks).includes(a)?(...l)=>(this.targetQueue.push({method:a,args:l,resolve:()=>{}}),this.fallbacks[a](...l)):(...l)=>new Promise(c=>{this.targetQueue.push({method:a,args:l,resolve:c})})})}async setRealTarget(t){this.target=t;for(const n of this.onQueue)this.target.on[n.method](...n.args);for(const n of this.targetQueue)n.resolve(await this.target[n.method](...n.args))}}function Jz(e,t){const n=e,r=Wg(),o=Uz(),s=qz&&n.enableEarlyProxy;if(o&&(r.__VUE_DEVTOOLS_PLUGIN_API_AVAILABLE__||!s))o.emit(Wz,e,t);else{const i=s?new Yz(n,o):null;(r.__VUE_DEVTOOLS_PLUGINS__=r.__VUE_DEVTOOLS_PLUGINS__||[]).push({pluginDescriptor:n,setupFn:t,proxy:i}),i&&t(i.proxiedTarget)}}/*!
|
|
* vue-i18n v9.1.10
|
|
* (c) 2022 kazuya kawaguchi
|
|
* Released under the MIT License.
|
|
*/const Xz="9.1.10";function Qz(){typeof __INTLIFY_PROD_DEVTOOLS__!="boolean"&&(sm().__INTLIFY_PROD_DEVTOOLS__=!1)}function qn(e,...t){return Bg(e,null,void 0)}const Zu="__INTLIFY_META__",Qc=Dr("__transrateVNode"),ed=Dr("__datetimeParts"),td=Dr("__numberParts");Dr("__enableEmitter");Dr("__disableEmitter");const ex=Dr("__setPluralRules");Dr("__intlifyMeta");const Gg=Dr("__injectWithOption");let wp=0;function Cp(e){return(t,n,r,o)=>e(n,r,ar()||void 0,o)}function Kg(e,t){const{messages:n,__i18n:r}=t,o=ft(n)?n:sn(r)?{}:{[e]:{}};if(sn(r)&&r.forEach(({locale:s,resource:i})=>{s?(o[s]=o[s]||{},Ol(i,o[s])):Ol(i,o)}),t.flatJson)for(const s in o)Vg(o,s)&&Kc(o[s]);return o}const va=e=>!hn(e)||sn(e);function Ol(e,t){if(va(e)||va(t))throw qn(20);for(const n in e)Vg(e,n)&&(va(e[n])||va(t[n])?t[n]=e[n]:Ol(e[n],t[n]))}const tx=()=>{const e=ar();return e&&e.type[Zu]?{[Zu]:e.type[Zu]}:null};function Zg(e={}){const{__root:t}=e,n=t===void 0;let r=Yt(e.inheritLocale)?e.inheritLocale:!0;const o=wn(t&&r?t.locale.value:Ke(e.locale)?e.locale:"en-US"),s=wn(t&&r?t.fallbackLocale.value:Ke(e.fallbackLocale)||sn(e.fallbackLocale)||ft(e.fallbackLocale)||e.fallbackLocale===!1?e.fallbackLocale:o.value),i=wn(Kg(o.value,e)),a=wn(ft(e.datetimeFormats)?e.datetimeFormats:{[o.value]:{}}),l=wn(ft(e.numberFormats)?e.numberFormats:{[o.value]:{}});let c=t?t.missingWarn:Yt(e.missingWarn)||Al(e.missingWarn)?e.missingWarn:!0,d=t?t.fallbackWarn:Yt(e.fallbackWarn)||Al(e.fallbackWarn)?e.fallbackWarn:!0,f=t?t.fallbackRoot:Yt(e.fallbackRoot)?e.fallbackRoot:!0,m=!!e.fallbackFormat,p=mn(e.missing)?e.missing:null,h=mn(e.missing)?Cp(e.missing):null,_=mn(e.postTranslation)?e.postTranslation:null,g=Yt(e.warnHtmlMessage)?e.warnHtmlMessage:!0,b=!!e.escapeParameter;const w=t?t.modifiers:ft(e.modifiers)?e.modifiers:{};let x=e.pluralRules||t&&t.pluralRules,z;function E(){return Mz({version:Xz,locale:o.value,fallbackLocale:s.value,messages:i.value,datetimeFormats:a.value,numberFormats:l.value,modifiers:w,pluralRules:x,missing:h===null?void 0:h,missingWarn:c,fallbackWarn:d,fallbackFormat:m,unresolving:!0,postTranslation:_===null?void 0:_,warnHtmlMessage:g,escapeParameter:b,__datetimeFormatters:ft(z)?z.__datetimeFormatters:void 0,__numberFormatters:ft(z)?z.__numberFormatters:void 0,__v_emitter:ft(z)?z.__v_emitter:void 0,__meta:{framework:"vue"}})}z=E(),js(z,o.value,s.value);function T(){return[o.value,s.value,i.value,a.value,l.value]}const V=Tt({get:()=>o.value,set:j=>{o.value=j,z.locale=o.value}}),F=Tt({get:()=>s.value,set:j=>{s.value=j,z.fallbackLocale=s.value,js(z,o.value,j)}}),A=Tt(()=>i.value),M=Tt(()=>a.value),W=Tt(()=>l.value);function R(){return mn(_)?_:null}function q(j){_=j,z.postTranslation=j}function B(){return p}function se(j){j!==null&&(h=Cp(j)),p=j,z.missing=h}function Q(j,U,$e,ze,De,Ne){T();let We;if(__INTLIFY_PROD_DEVTOOLS__)try{mp(tx()),We=j(z)}finally{mp(null)}else We=j(z);if(en(We)&&We===mu){const[nt,k]=U();return t&&f?ze(t):De(nt)}else{if(Ne(We))return We;throw qn(14)}}function ue(...j){return Q(U=>_p(U,...j),()=>Zc(...j),"translate",U=>U.t(...j),U=>U,U=>Ke(U))}function ge(...j){const[U,$e,ze]=j;if(ze&&!hn(ze))throw qn(15);return ue(U,$e,pn({resolvedMessage:!0},ze||{}))}function Le(...j){return Q(U=>gp(U,...j),()=>Yc(...j),"datetime format",U=>U.d(...j),()=>dp,U=>Ke(U))}function He(...j){return Q(U=>vp(U,...j),()=>Jc(...j),"number format",U=>U.n(...j),()=>dp,U=>Ke(U))}function he(j){return j.map(U=>Ke(U)?C(ro,null,U,0):U)}const me={normalize:he,interpolate:j=>j,type:"vnode"};function we(...j){return Q(U=>{let $e;const ze=U;try{ze.processor=me,$e=_p(ze,...j)}finally{ze.processor=null}return $e},()=>Zc(...j),"translate",U=>U[Qc](...j),U=>[C(ro,null,U,0)],U=>sn(U))}function H(...j){return Q(U=>vp(U,...j),()=>Jc(...j),"number format",U=>U[td](...j),()=>[],U=>Ke(U)||sn(U))}function ie(...j){return Q(U=>gp(U,...j),()=>Yc(...j),"datetime format",U=>U[ed](...j),()=>[],U=>Ke(U)||sn(U))}function oe(j){x=j,z.pluralRules=x}function be(j,U){const $e=Ke(U)?U:o.value,ze=Ee($e);return Tl(ze,j)!==null}function je(j){let U=null;const $e=Wi(z,s.value,o.value);for(let ze=0;ze<$e.length;ze++){const De=i.value[$e[ze]]||{},Ne=Tl(De,j);if(Ne!=null){U=Ne;break}}return U}function Ie(j){const U=je(j);return U!=null?U:t?t.tm(j)||{}:{}}function Ee(j){return i.value[j]||{}}function Ae(j,U){i.value[j]=U,z.messages=i.value}function $(j,U){i.value[j]=i.value[j]||{},Ol(U,i.value[j]),z.messages=i.value}function L(j){return a.value[j]||{}}function Y(j,U){a.value[j]=U,z.datetimeFormats=a.value,yp(z,j,U)}function le(j,U){a.value[j]=pn(a.value[j]||{},U),z.datetimeFormats=a.value,yp(z,j,U)}function ce(j){return l.value[j]||{}}function ye(j,U){l.value[j]=U,z.numberFormats=l.value,bp(z,j,U)}function Ce(j,U){l.value[j]=pn(l.value[j]||{},U),z.numberFormats=l.value,bp(z,j,U)}return wp++,t&&(Mt(t.locale,j=>{r&&(o.value=j,z.locale=j,js(z,o.value,s.value))}),Mt(t.fallbackLocale,j=>{r&&(s.value=j,z.fallbackLocale=j,js(z,o.value,s.value))})),{id:wp,locale:V,fallbackLocale:F,get inheritLocale(){return r},set inheritLocale(j){r=j,j&&t&&(o.value=t.locale.value,s.value=t.fallbackLocale.value,js(z,o.value,s.value))},get availableLocales(){return Object.keys(i.value).sort()},messages:A,datetimeFormats:M,numberFormats:W,get modifiers(){return w},get pluralRules(){return x||{}},get isGlobal(){return n},get missingWarn(){return c},set missingWarn(j){c=j,z.missingWarn=c},get fallbackWarn(){return d},set fallbackWarn(j){d=j,z.fallbackWarn=d},get fallbackRoot(){return f},set fallbackRoot(j){f=j},get fallbackFormat(){return m},set fallbackFormat(j){m=j,z.fallbackFormat=m},get warnHtmlMessage(){return g},set warnHtmlMessage(j){g=j,z.warnHtmlMessage=j},get escapeParameter(){return b},set escapeParameter(j){b=j,z.escapeParameter=j},t:ue,rt:ge,d:Le,n:He,te:be,tm:Ie,getLocaleMessage:Ee,setLocaleMessage:Ae,mergeLocaleMessage:$,getDateTimeFormat:L,setDateTimeFormat:Y,mergeDateTimeFormat:le,getNumberFormat:ce,setNumberFormat:ye,mergeNumberFormat:Ce,getPostTranslationHandler:R,setPostTranslationHandler:q,getMissingHandler:B,setMissingHandler:se,[Qc]:we,[td]:H,[ed]:ie,[ex]:oe,[Gg]:e.__injectWithOption}}const lm={tag:{type:[String,Object]},locale:{type:String},scope:{type:String,validator:e=>e==="parent"||e==="global",default:"parent"},i18n:{type:Object}},zp={name:"i18n-t",props:pn({keypath:{type:String,required:!0},plural:{type:[Number,String],validator:e=>en(e)||!isNaN(e)}},lm),setup(e,t){const{slots:n,attrs:r}=t,o=e.i18n||um({useScope:e.scope,__useComponent:!0}),s=Object.keys(n).filter(i=>i!=="_");return()=>{const i={};e.locale&&(i.locale=e.locale),e.plural!==void 0&&(i.plural=Ke(e.plural)?+e.plural:e.plural);const a=nx(t,s),l=o[Qc](e.keypath,a,i),c=pn({},r);return Ke(e.tag)||hn(e.tag)?zn(e.tag,c,l):zn(Ge,c,l)}}};function nx({slots:e},t){return t.length===1&&t[0]==="default"?e.default?e.default():[]:t.reduce((n,r)=>{const o=e[r];return o&&(n[r]=o()),n},{})}function Yg(e,t,n,r){const{slots:o,attrs:s}=t;return()=>{const i={part:!0};let a={};e.locale&&(i.locale=e.locale),Ke(e.format)?i.key=e.format:hn(e.format)&&(Ke(e.format.key)&&(i.key=e.format.key),a=Object.keys(e.format).reduce((f,m)=>n.includes(m)?pn({},f,{[m]:e.format[m]}):f,{}));const l=r(e.value,i,a);let c=[i.key];sn(l)?c=l.map((f,m)=>{const p=o[f.type];return p?p({[f.type]:f.value,index:m,parts:l}):[f.value]}):Ke(l)&&(c=[l]);const d=pn({},s);return Ke(e.tag)||hn(e.tag)?zn(e.tag,d,c):zn(Ge,d,c)}}const rx=["localeMatcher","style","unit","unitDisplay","currency","currencyDisplay","useGrouping","numberingSystem","minimumIntegerDigits","minimumFractionDigits","maximumFractionDigits","minimumSignificantDigits","maximumSignificantDigits","notation","formatMatcher"],xp={name:"i18n-n",props:pn({value:{type:Number,required:!0},format:{type:[String,Object]}},lm),setup(e,t){const n=e.i18n||um({useScope:"parent",__useComponent:!0});return Yg(e,t,rx,(...r)=>n[td](...r))}},ox=["dateStyle","timeStyle","fractionalSecondDigits","calendar","dayPeriod","numberingSystem","localeMatcher","timeZone","hour12","hourCycle","formatMatcher","weekday","era","year","month","day","hour","minute","second","timeZoneName"],kp={name:"i18n-d",props:pn({value:{type:[Number,Date],required:!0},format:{type:[String,Object]}},lm),setup(e,t){const n=e.i18n||um({useScope:"parent",__useComponent:!0});return Yg(e,t,ox,(...r)=>n[ed](...r))}};function sx(e,t){const n=e;if(e.mode==="composition")return n.__getInstance(t)||e.global;{const r=n.__getInstance(t);return r!=null?r.__composer:e.global.__composer}}function ix(e){const t=(n,{instance:r,value:o,modifiers:s})=>{if(!r||!r.$)throw qn(22);const i=sx(e,r.$),a=ax(o);n.textContent=i.t(...lx(a))};return{beforeMount:t,beforeUpdate:t}}function ax(e){if(Ke(e))return{path:e};if(ft(e)){if(!("path"in e))throw qn(19,"path");return e}else throw qn(20)}function lx(e){const{path:t,locale:n,args:r,choice:o,plural:s}=e,i={},a=r||{};return Ke(n)&&(i.locale=n),en(o)&&(i.plural=o),en(s)&&(i.plural=s),[t,a,i]}function ux(e,t,...n){const r=ft(n[0])?n[0]:{},o=!!r.useI18nComponentName;(Yt(r.globalInstall)?r.globalInstall:!0)&&(e.component(o?"i18n":zp.name,zp),e.component(xp.name,xp),e.component(kp.name,kp)),e.directive("t",ix(t))}function cx(e={}){const t=!!e.globalInjection,n=new Map,r=Zg(e),o=Dr(""),s={get mode(){return"composition"},async install(i,...a){i.__VUE_I18N_SYMBOL__=o,i.provide(i.__VUE_I18N_SYMBOL__,s),t&&hx(i,s.global),ux(i,s,...a)},get global(){return r},__instances:n,__getInstance(i){return n.get(i)||null},__setInstance(i,a){n.set(i,a)},__deleteInstance(i){n.delete(i)}};return s}function um(e={}){const t=ar();if(t==null)throw qn(16);if(!t.appContext.app.__VUE_I18N_SYMBOL__)throw qn(17);const n=sr(t.appContext.app.__VUE_I18N_SYMBOL__);if(!n)throw qn(22);const r=n.mode==="composition"?n.global:n.global.__composer,o=du(e)?"__i18n"in t.type?"local":"global":e.useScope?e.useScope:"local";if(o==="global"){let a=hn(e.messages)?e.messages:{};"__i18nGlobal"in t.type&&(a=Kg(r.locale.value,{messages:a,__i18n:t.type.__i18nGlobal}));const l=Object.keys(a);if(l.length&&l.forEach(c=>{r.mergeLocaleMessage(c,a[c])}),hn(e.datetimeFormats)){const c=Object.keys(e.datetimeFormats);c.length&&c.forEach(d=>{r.mergeDateTimeFormat(d,e.datetimeFormats[d])})}if(hn(e.numberFormats)){const c=Object.keys(e.numberFormats);c.length&&c.forEach(d=>{r.mergeNumberFormat(d,e.numberFormats[d])})}return r}if(o==="parent"){let a=dx(n,t,e.__useComponent);return a==null&&(a=r),a}if(n.mode==="legacy")throw qn(18);const s=n;let i=s.__getInstance(t);if(i==null){const a=t.type,l=pn({},e);a.__i18n&&(l.__i18n=a.__i18n),r&&(l.__root=r),i=Zg(l),mx(s,t),s.__setInstance(t,i)}return i}function dx(e,t,n=!1){let r=null;const o=t.root;let s=t.parent;for(;s!=null;){const i=e;if(e.mode==="composition")r=i.__getInstance(s);else{const a=i.__getInstance(s);a!=null&&(r=a.__composer),n&&r&&!r[Gg]&&(r=null)}if(r!=null||o===s)break;s=s.parent}return r}function mx(e,t,n){Mo(()=>{},t),As(()=>{e.__deleteInstance(t)},t)}const fx=["locale","fallbackLocale","availableLocales"],px=["t","rt","d","n","tm"];function hx(e,t){const n=Object.create(null);fx.forEach(r=>{const o=Object.getOwnPropertyDescriptor(t,r);if(!o)throw qn(22);const s=qt(o.value)?{get(){return o.value.value},set(i){o.value.value=i}}:{get(){return o.get&&o.get()}};Object.defineProperty(n,r,s)}),e.config.globalProperties.$i18n=n,px.forEach(r=>{const o=Object.getOwnPropertyDescriptor(t,r);if(!o||!o.value)throw qn(22);Object.defineProperty(e.config.globalProperties,`$${r}`,o)})}Qz();if(__INTLIFY_PROD_DEVTOOLS__){const e=sm();e.__INTLIFY__=!0,$z(e.__INTLIFY_DEVTOOLS_GLOBAL_HOOK__)}var _x={de:{data:{kind:{file:e=>{const{normalize:t}=e;return t(["Datei"])},url:e=>{const{normalize:t}=e;return t(["URL"])},spotify:e=>{const{normalize:t}=e;return t(["Spotify"])},pipe:e=>{const{normalize:t}=e;return t(["Stream"])}}},dialog:{cancel:e=>{const{normalize:t}=e;return t(["Abbrechen"])},add:{rss:{add:e=>{const{normalize:t}=e;return t(["Hinzuf\xFCgen"])},cancel:e=>{const{normalize:t}=e;return t(["Abbrechen"])},help:e=>{const{normalize:t}=e;return t(["Hinzuf\xFCgen eines Podcasts f\xFChrt zur Anlage einer RSS-Playlist, so kann Owntone das Podcast-Abo verwalten."])},placeholder:e=>{const{normalize:t}=e;return t(["https://url-to-rss"])},processing:e=>{const{normalize:t}=e;return t(["Verarbeite\u2026"])},title:e=>{const{normalize:t}=e;return t(["F\xFCge Podcast RSS-Feed-Url hinzu"])}},stream:{add:e=>{const{normalize:t}=e;return t(["Hinzuf\xFCgen"])},cancel:e=>{const{normalize:t}=e;return t(["Abbrechen"])},loading:e=>{const{normalize:t}=e;return t(["Lade\u2026"])},placeholder:e=>{const{normalize:t}=e;return t(["https://url-to-stream"])},play:e=>{const{normalize:t}=e;return t(["Spielen"])},title:e=>{const{normalize:t}=e;return t(["Stream-URL hinzuf\xFCgen"])}}},album:{"add-next":e=>{const{normalize:t}=e;return t(["Als n\xE4chstes hinzuf\xFCgen"])},add:e=>{const{normalize:t}=e;return t(["Hinzuf\xFCgen"])},"added-on":e=>{const{normalize:t}=e;return t(["Hinzugef\xFCgt am"])},artist:e=>{const{normalize:t}=e;return t(["Album K\xFCnstler"])},duration:e=>{const{normalize:t}=e;return t(["Dauer"])},"mark-as-played":e=>{const{normalize:t}=e;return t(["Markiere als gespielt"])},play:e=>{const{normalize:t}=e;return t(["Spielen"])},"release-date":e=>{const{normalize:t}=e;return t(["Ver\xF6ffentlichungsdatum"])},"remove-podcast":e=>{const{normalize:t}=e;return t(["Entferne podcast"])},tracks:e=>{const{normalize:t}=e;return t(["Track Nummer"])},type:e=>{const{normalize:t}=e;return t(["Art"])},year:e=>{const{normalize:t}=e;return t(["Jahr"])}},artist:{"add-next":e=>{const{normalize:t}=e;return t(["Als n\xE4chstes hinzuf\xFCgen"])},add:e=>{const{normalize:t}=e;return t(["Hinzuf\xFCgen"])},"added-on":e=>{const{normalize:t}=e;return t(["Hinzugef\xFCgt am"])},albums:e=>{const{normalize:t}=e;return t(["Alben"])},play:e=>{const{normalize:t}=e;return t(["Spielen"])},tracks:e=>{const{normalize:t}=e;return t(["Tracks"])},type:e=>{const{normalize:t}=e;return t(["Art"])}},composer:{"add-next":e=>{const{normalize:t}=e;return t(["Als n\xE4chstes hinzuf\xFCgen"])},add:e=>{const{normalize:t}=e;return t(["Hinzuf\xFCgen"])},albums:e=>{const{normalize:t}=e;return t(["Alben"])},duration:e=>{const{normalize:t}=e;return t(["Dauer"])},play:e=>{const{normalize:t}=e;return t(["Spielen"])},tracks:e=>{const{normalize:t}=e;return t(["Tracks"])}},directory:{"add-next":e=>{const{normalize:t}=e;return t(["Als n\xE4chstes hinzuf\xFCgen"])},add:e=>{const{normalize:t}=e;return t(["Hinzuf\xFCgen"])},play:e=>{const{normalize:t}=e;return t(["Spielen"])}},genre:{"add-next":e=>{const{normalize:t}=e;return t(["Als n\xE4chstes hinzuf\xFCgen"])},add:e=>{const{normalize:t}=e;return t(["Hinzuf\xFCgen"])},albums:e=>{const{normalize:t}=e;return t(["Alben"])},duration:e=>{const{normalize:t}=e;return t(["Dauer"])},play:e=>{const{normalize:t}=e;return t(["Spielen"])},tracks:e=>{const{normalize:t}=e;return t(["Tracks"])}},playlist:{"add-next":e=>{const{normalize:t}=e;return t(["Als n\xE4chstes hinzuf\xFCgen"])},add:e=>{const{normalize:t}=e;return t(["Hinzuf\xFCgen"])},play:e=>{const{normalize:t}=e;return t(["Spielen"])},"track-count":e=>{const{normalize:t}=e;return t(["Tracknummer"])},type:e=>{const{normalize:t}=e;return t(["Art"])},save:{cancel:e=>{const{normalize:t}=e;return t(["Abbrechen"])},save:e=>{const{normalize:t}=e;return t(["Speichern"])},saving:e=>{const{normalize:t}=e;return t(["Speichere\u2026"])},title:e=>{const{normalize:t}=e;return t(["Warteschlange als Playlist speichern"])}}},"queue-item":{"album-artist":e=>{const{normalize:t}=e;return t(["Album-K\xFCnstler"])},album:e=>{const{normalize:t}=e;return t(["Album"])},bitrate:e=>{const{normalize:t,interpolate:n,named:r}=e;return t(["|"," ",n(r("rate"))," kbit/s"])},channels:e=>{const{normalize:t,interpolate:n,named:r}=e;return t(["|"," ",n(r("channels"))])},composer:e=>{const{normalize:t}=e;return t(["Komponist"])},duration:e=>{const{normalize:t}=e;return t(["Dauer"])},genre:e=>{const{normalize:t}=e;return t(["Genre"])},path:e=>{const{normalize:t}=e;return t(["Pfad"])},play:e=>{const{normalize:t}=e;return t(["Spielen"])},position:e=>{const{normalize:t}=e;return t(["Disc / Track"])},quality:e=>{const{normalize:t}=e;return t(["Qualit\xE4t"])},remove:e=>{const{normalize:t}=e;return t(["Entfernen"])},samplerate:e=>{const{normalize:t,interpolate:n,named:r}=e;return t(["|"," ",n(r("rate"))," Hz"])},"spotify-album":e=>{const{normalize:t}=e;return t(["Album"])},"spotify-artist":e=>{const{normalize:t}=e;return t(["K\xFCnstler"])},type:e=>{const{normalize:t}=e;return t(["Art"])},year:e=>{const{normalize:t}=e;return t(["Jahr"])}},"remote-pairing":{cancel:e=>{const{normalize:t}=e;return t(["Abbrechen"])},pair:e=>{const{normalize:t}=e;return t(["Remote paaren"])},title:e=>{const{normalize:t}=e;return t(["Remote-Paarungs-Anfrage"])}},spotify:{album:{"add-next":e=>{const{normalize:t}=e;return t(["Als n\xE4chstes hinzuf\xFCgen"])},add:e=>{const{normalize:t}=e;return t(["Hinzuf\xFCgen"])},"album-artist":e=>{const{normalize:t}=e;return t(["Album-K\xFCnstler"])},play:e=>{const{normalize:t}=e;return t(["Spielen"])},"release-date":e=>{const{normalize:t}=e;return t(["Ver\xF6ffentlichungsdatum"])},type:e=>{const{normalize:t}=e;return t(["Art"])}},artist:{"add-next":e=>{const{normalize:t}=e;return t(["Als n\xE4chstes hinzuf\xFCgen"])},add:e=>{const{normalize:t}=e;return t(["Hinzuf\xFCgen"])},genres:e=>{const{normalize:t}=e;return t(["Genres"])},play:e=>{const{normalize:t}=e;return t(["Spielen"])},popularity:e=>{const{normalize:t}=e;return t(["Popularit\xE4t / Followers"])}},playlist:{"add-next":e=>{const{normalize:t}=e;return t(["Als n\xE4chstes hinzuf\xFCgen"])},add:e=>{const{normalize:t}=e;return t(["Hinzuf\xFCgen"])},owner:e=>{const{normalize:t}=e;return t(["Besitzer"])},path:e=>{const{normalize:t}=e;return t(["Pfad"])},play:e=>{const{normalize:t}=e;return t(["Spielen"])},tracks:e=>{const{normalize:t}=e;return t(["Tracks"])}},track:{"add-next":e=>{const{normalize:t}=e;return t(["Als n\xE4chstes hinzuf\xFCgen"])},add:e=>{const{normalize:t}=e;return t(["Hinzuf\xFCgen"])},"album-artist":e=>{const{normalize:t}=e;return t(["Album-K\xFCnstler"])},album:e=>{const{normalize:t}=e;return t(["Album"])},duration:e=>{const{normalize:t}=e;return t(["Dauer"])},path:e=>{const{normalize:t}=e;return t(["Pfad"])},play:e=>{const{normalize:t}=e;return t(["Spielen"])},position:e=>{const{normalize:t}=e;return t(["Disc / Track"])},"release-date":e=>{const{normalize:t}=e;return t(["Ver\xF6ffentlichungsdatum"])}}},track:{"add-next":e=>{const{normalize:t}=e;return t(["Als n\xE4chstes hinzuf\xFCgen"])},add:e=>{const{normalize:t}=e;return t(["Hinzuf\xFCgen"])},"added-on":e=>{const{normalize:t}=e;return t(["Hinzugef\xFCgt am"])},"album-artist":e=>{const{normalize:t}=e;return t(["Album-K\xFCnstler"])},album:e=>{const{normalize:t}=e;return t(["Album"])},bitrate:e=>{const{normalize:t,interpolate:n,named:r}=e;return t([" ","|"," ",n(r("rate"))," Kb/s"])},channels:e=>{const{normalize:t,interpolate:n,named:r}=e;return t([" ","|"," ",n(r("channels"))])},comment:e=>{const{normalize:t}=e;return t(["Kommentar"])},composer:e=>{const{normalize:t}=e;return t(["Komponist"])},duration:e=>{const{normalize:t}=e;return t(["Dauer"])},genre:e=>{const{normalize:t}=e;return t(["Genre"])},"mark-as-new":e=>{const{normalize:t}=e;return t(["Markiere als neu"])},"mark-as-played":e=>{const{normalize:t}=e;return t(["Markiere als gespielt"])},path:e=>{const{normalize:t}=e;return t(["Pfad"])},play:e=>{const{normalize:t}=e;return t(["Spielen"])},position:e=>{const{normalize:t}=e;return t(["Disc / Track"])},quality:e=>{const{normalize:t}=e;return t(["Qualit\xE4t"])},"rating-value":e=>{const{normalize:t,interpolate:n,named:r}=e;return t([n(r("rating"))," / 10"])},rating:e=>{const{normalize:t}=e;return t(["Bewertung"])},"release-date":e=>{const{normalize:t}=e;return t(["Ver\xF6ffentlichungsdatum"])},samplerate:e=>{const{normalize:t,interpolate:n,named:r}=e;return t([" ","|"," ",n(r("rate"))," Hz"])},"spotify-album":e=>{const{normalize:t}=e;return t(["Album"])},"spotify-artist":e=>{const{normalize:t}=e;return t(["K\xFCnstler"])},type:e=>{const{normalize:t}=e;return t(["Art"])},year:e=>{const{normalize:t}=e;return t(["Jahr"])}},update:{all:e=>{const{normalize:t}=e;return t(["Alles neu einlesen"])},cancel:e=>{const{normalize:t}=e;return t(["Abbrechen"])},feeds:e=>{const{normalize:t}=e;return t(["Nur RSS-Feeds neu einlesen"])},info:e=>{const{normalize:t}=e;return t(["Suche nach neuen, gel\xF6schten und ver\xE4nderten Dateien"])},local:e=>{const{normalize:t}=e;return t(["Nur lokale Bibliothek neu einlesen"])},progress:e=>{const{normalize:t}=e;return t(["Bibliothek wird neu eingelesen\u2026"])},"rescan-metadata":e=>{const{normalize:t}=e;return t(["Metadata von unver\xE4nderten Dateien neu einlesen"])},rescan:e=>{const{normalize:t}=e;return t(["Neu einlesen"])},spotify:e=>{const{normalize:t}=e;return t(["Nur Spotify neu einlesen"])},title:e=>{const{normalize:t}=e;return t(["Bibliothek neu einlesen"])}}},language:{de:e=>{const{normalize:t}=e;return t(["Deutsch"])},en:e=>{const{normalize:t}=e;return t(["Englisch (English)"])},fr:e=>{const{normalize:t}=e;return t(["Franz\xF6sisch (Fran\xE7ais)"])}},list:{albums:{"info-1":e=>{const{normalize:t}=e;return t(["Diesen Podcast dauerhaft aus der Bibliothek l\xF6schen?"])},"info-2":e=>{const{normalize:t}=e;return t(["Dies wir auch RSS-Playlisten l\xF6schen "])},remove:e=>{const{normalize:t}=e;return t(["Entfernen"])},"remove-podcast":e=>{const{normalize:t}=e;return t(["Entferne podcast"])}},spotify:{"not-playable-track":e=>{const{normalize:t}=e;return t(["Track kann nicht gespielt werden"])},"restriction-reason":e=>{const{normalize:t,interpolate:n,named:r}=e;return t([", Beschr\xE4nkungsgrund: ",n(r("reason"))])}}},media:{kind:{album:e=>{const{normalize:t}=e;return t(["Album"])},audiobook:e=>{const{normalize:t}=e;return t(["H\xF6rbuch"])},music:e=>{const{normalize:t}=e;return t(["Musik"])},podcast:e=>{const{normalize:t}=e;return t(["Podcast"])}}},navigation:{about:e=>{const{normalize:t}=e;return t(["\xDCber"])},albums:e=>{const{normalize:t}=e;return t(["Alben"])},artists:e=>{const{normalize:t}=e;return t(["K\xFCnstler"])},audiobooks:e=>{const{normalize:t}=e;return t(["H\xF6rb\xFCcher"])},"now-playing":e=>{const{normalize:t,interpolate:n,named:r}=e;return t([" - ",n(r("album"))])},"stream-error":e=>{const{normalize:t}=e;return t(["HTTP-stream-Fehler: Stream kann nicht geladen werden oder wurde wg. Netzwerkfehler gestopt"])},stream:e=>{const{normalize:t}=e;return t(["HTTP-stream"])},volume:e=>{const{normalize:t}=e;return t(["Lautst\xE4rke"])},files:e=>{const{normalize:t}=e;return t(["Dateien"])},genres:e=>{const{normalize:t}=e;return t(["Genres"])},music:e=>{const{normalize:t}=e;return t(["Musik"])},playlists:e=>{const{normalize:t}=e;return t(["Playlisten"])},podcasts:e=>{const{normalize:t}=e;return t(["Podcasts"])},radio:e=>{const{normalize:t}=e;return t(["Radio"])},search:e=>{const{normalize:t}=e;return t(["Suche"])},settings:e=>{const{normalize:t}=e;return t(["Einstellungen"])},spotify:e=>{const{normalize:t}=e;return t(["Spotify"])},title:e=>{const{normalize:t}=e;return t(["OwnTone"])},"update-library":e=>{const{normalize:t}=e;return t(["Bibliothek neu einlesen"])}},page:{about:{albums:e=>{const{normalize:t}=e;return t(["Albums"])},artists:e=>{const{normalize:t}=e;return t(["K\xFCnstler"])},"built-with":e=>{const{normalize:t}=e;return t(['Oberfl\xE4che erstellt mit <a href="https://bulma.io">Bulma</a>, <a href="https://materialdesignicons.com/">Material Design Icons</a>, <a href="https://vuejs.org/">Vue.js</a>, <a href="https://github.com/mzabriskie/axios">axios</a> und <a href="https://github.com/owntone/owntone-server/network/dependencies">anderem</a>.'])},"compiled-with":e=>{const{normalize:t,interpolate:n,named:r}=e;return t(["Compiliert mit Unterst\xFCtzung von ",n(r("options")),"."])},library:e=>{const{normalize:t}=e;return t(["Bibliothek"])},"total-playtime":e=>{const{normalize:t}=e;return t(["Gesamte Spielzeit"])},tracks:e=>{const{normalize:t}=e;return t(["Tracks"])},update:e=>{const{normalize:t}=e;return t(["Neu einlesen"])},"updated-on":e=>{const{normalize:t,interpolate:n,named:r}=e;return t(["vor ",n(r("time"))])},updated:e=>{const{normalize:t}=e;return t(["Neu eingelesen"])},uptime:e=>{const{normalize:t}=e;return t(["Laufzeit"])},version:e=>{const{normalize:t,interpolate:n,named:r}=e;return t(["Version ",n(r("version"))])}},album:{shuffle:e=>{const{normalize:t}=e;return t(["Zufallswiedergabe"])},"track-count":e=>{const{normalize:t,interpolate:n,named:r}=e;return t([n(r("count"))," Tracks"])}},albums:{count:e=>{const{normalize:t,interpolate:n,named:r}=e;return t([n(r("count"))," Slbums"])},filter:e=>{const{normalize:t}=e;return t(["Filter"])},"hide-singles-help":e=>{const{normalize:t}=e;return t(["Nach Aktivierung werden keine Singles und Alben angezeigt, die nur in Playlisten enthalten sind."])},"hide-singles":e=>{const{normalize:t}=e;return t(["Nach Aktivierung werden keine Singles angezeigt"])},"hide-spotify-help":e=>{const{normalize:t}=e;return t(["Nach Aktivierung werden keine Alben angezeigt, die nur in der Spotify-Bibliothek enthalten sind."])},"hide-spotify":e=>{const{normalize:t}=e;return t(["Verbirgt Spotify-Alben"])},title:e=>{const{normalize:t}=e;return t(["Alben"])},"sort-by":{title:e=>{const{normalize:t}=e;return t(["Sortieren nach"])},name:e=>{const{normalize:t}=e;return t(["Name"])},"recently-added":e=>{const{normalize:t}=e;return t(["K\xFCrzlich hinzugef\xFCgt"])},"recently-released":e=>{const{normalize:t}=e;return t(["K\xFCrzlich erschienen"])}}},artist:{"album-count":e=>{const{normalize:t,interpolate:n,named:r}=e;return t([n(r("count"))," Alben"])},shuffle:e=>{const{normalize:t}=e;return t(["Zufallswiedergabe"])},"track-count":e=>{const{normalize:t,interpolate:n,named:r}=e;return t([n(r("count"))," Tracks"])},"sort-by":{title:e=>{const{normalize:t}=e;return t(["Sortieren nach"])},name:e=>{const{normalize:t}=e;return t(["Name"])},rating:e=>{const{normalize:t}=e;return t(["Bewertung"])},"release-date":e=>{const{normalize:t}=e;return t(["Erscheinungsdatum"])}}},artists:{count:e=>{const{normalize:t,interpolate:n,named:r}=e;return t([n(r("count"))," K\xFCnstler"])},filter:e=>{const{normalize:t}=e;return t(["Filter"])},"sort-by":{title:e=>{const{normalize:t}=e;return t(["Sortieren nach"])},name:e=>{const{normalize:t}=e;return t(["Namen"])},"recently-added":e=>{const{normalize:t}=e;return t(["K\xFCrzlich hinzugef\xFCgt"])}},"hide-singles-help":e=>{const{normalize:t}=e;return t(["Nach Aktivierung werden keine Singles und Alben angezeigt, die nur in Playlisten enthalten sind."])},"hide-singles":e=>{const{normalize:t}=e;return t(["Nach Aktivierung werden keine Singles angezeigt"])},"hide-spotify-help":e=>{const{normalize:t}=e;return t(["Nach Aktivierung werden keine Alben angezeigt, die nur in der Spotify-Bibliothek enthalten sind."])},"hide-spotify":e=>{const{normalize:t}=e;return t(["Verbirgt K\xFCnstler auf Spotify"])},title:e=>{const{normalize:t}=e;return t(["K\xFCnstler"])}},audiobooks:{album:{play:e=>{const{normalize:t}=e;return t(["Spielen"])},"track-count":e=>{const{normalize:t,interpolate:n,named:r}=e;return t([n(r("count"))," Tracks"])}},albums:{count:e=>{const{normalize:t,interpolate:n,named:r}=e;return t([n(r("count"))," H\xF6rb\xFCcher"])},title:e=>{const{normalize:t}=e;return t(["H\xF6rb\xFCcher"])}},artist:{"album-count":e=>{const{normalize:t,interpolate:n,named:r}=e;return t([n(r("count"))," Alben"])},play:e=>{const{normalize:t}=e;return t(["Spielen"])}},artists:{count:e=>{const{normalize:t,interpolate:n,named:r}=e;return t([n(r("count"))," Autoren"])},title:e=>{const{normalize:t}=e;return t(["Autoren"])}},tabs:{authors:e=>{const{normalize:t}=e;return t(["Autoren"])},audiobooks:e=>{const{normalize:t}=e;return t(["H\xF6rb\xFCcher"])}}},browse:{albums:e=>{const{normalize:t}=e;return t(["Alben"])},"show-more":e=>{const{normalize:t}=e;return t(["Zeige mehr"])},tracks:e=>{const{normalize:t}=e;return t(["Tracks"])},"recently-added":{albums:e=>{const{normalize:t}=e;return t(["Alben"])},title:e=>{const{normalize:t}=e;return t(["K\xFCrzlich hinzugef\xFCgt"])}},"recently-played":{title:e=>{const{normalize:t}=e;return t(["K\xFCrzlich gespielt"])},tracks:e=>{const{normalize:t}=e;return t(["Tracks"])}},tabs:{albums:e=>{const{normalize:t}=e;return t(["Alben"])},artists:e=>{const{normalize:t}=e;return t(["K\xFCnstler"])},browse:e=>{const{normalize:t}=e;return t(["Ausw\xE4hlen"])},composers:e=>{const{normalize:t}=e;return t(["Komponisten"])},genres:e=>{const{normalize:t}=e;return t(["Genres"])},spotify:e=>{const{normalize:t}=e;return t(["Spotify"])}}},composer:{"album-count":e=>{const{normalize:t,interpolate:n,named:r}=e;return t([n(r("count"))," Alben"])},shuffle:e=>{const{normalize:t}=e;return t(["Zufallswiedergabe"])},"track-count":e=>{const{normalize:t,interpolate:n,named:r}=e;return t([n(r("count"))," Tracks"])},"sort-by":{title:e=>{const{normalize:t}=e;return t(["Sortieren nach"])},name:e=>{const{normalize:t}=e;return t(["Name"])},rating:e=>{const{normalize:t}=e;return t(["Bewertung"])}}},composers:{count:e=>{const{normalize:t,interpolate:n,named:r}=e;return t([n(r("count"))," Komponisten"])},title:e=>{const{normalize:t}=e;return t(["Komponisten"])}},files:{play:e=>{const{normalize:t}=e;return t(["Spielen"])},title:e=>{const{normalize:t}=e;return t(["Dateien"])}},genre:{"album-count":e=>{const{normalize:t,interpolate:n,named:r}=e;return t([n(r("count"))," Alben"])},shuffle:e=>{const{normalize:t}=e;return t(["Zufallswiedergabe"])},"track-count":e=>{const{normalize:t,interpolate:n,named:r}=e;return t([n(r("count"))," Tracks"])},"sort-by":{title:e=>{const{normalize:t}=e;return t(["Sortieren nach"])},name:e=>{const{normalize:t}=e;return t(["Name"])},rating:e=>{const{normalize:t}=e;return t(["Bewertung"])}}},genres:{count:e=>{const{normalize:t,interpolate:n,named:r}=e;return t([n(r("count"))," Genres"])},title:e=>{const{normalize:t}=e;return t(["Genres"])}},"now-playing":{info:e=>{const{normalize:t}=e;return t(["Tracks durch Ausw\xE4hlen aus der Bibliothek anf\xFCgen"])},title:e=>{const{normalize:t}=e;return t(["Deine Playliste ist leer."])}},playlist:{length:e=>{const{normalize:t,interpolate:n,named:r}=e;return t([n(r("length"))," Tracks"])},shuffle:e=>{const{normalize:t}=e;return t(["Zufallswiedergabe"])},"track-count":e=>{const{normalize:t,interpolate:n,named:r}=e;return t([n(r("count"))," Tracks"])}},playlists:{count:e=>{const{normalize:t,interpolate:n,named:r}=e;return t([n(r("count"))," Playlisten"])}},podcast:{play:e=>{const{normalize:t}=e;return t(["Spielen"])},remove:e=>{const{normalize:t}=e;return t(["Entfernen"])},"remove-info-1":e=>{const{normalize:t}=e;return t(["Diesen Podcast wirklich dauerhaft aus der Bibliothek l\xF6schen?"])},"remove-info-2":e=>{const{normalize:t}=e;return t(["Damit wird auch die RSS-Playliste gel\xF6scht. "])},"remove-podcast":e=>{const{normalize:t}=e;return t(["Entferne podcast"])},"track-count":e=>{const{normalize:t,interpolate:n,named:r}=e;return t([n(r("count"))," Tracks"])}},podcasts:{add:e=>{const{normalize:t}=e;return t(["Hinzuf\xFCgen"])},count:e=>{const{normalize:t,interpolate:n,named:r}=e;return t([n(r("count"))," Podcasts"])},"mark-all-played":e=>{const{normalize:t}=e;return t(["Alle abgespielten markieren"])},"new-episodes":e=>{const{normalize:t}=e;return t(["Neue Episoden"])},title:e=>{const{normalize:t}=e;return t(["Podcasts"])},update:e=>{const{normalize:t}=e;return t(["Neu einlesen"])}},queue:{"add-stream":e=>{const{normalize:t}=e;return t(["Stream hinzuf\xFCgen"])},clear:e=>{const{normalize:t}=e;return t(["Alle entfernen"])},count:e=>{const{normalize:t,interpolate:n,named:r}=e;return t([n(r("count"))," Tracks"])},edit:e=>{const{normalize:t}=e;return t(["Bearbeiten"])},"hide-previous":e=>{const{normalize:t}=e;return t(["Vorherige verbergen"])},title:e=>{const{normalize:t}=e;return t(["Warteschlange"])},save:e=>{const{normalize:t}=e;return t(["Speichern"])}},radio:{count:e=>{const{normalize:t,interpolate:n,named:r}=e;return t([n(r("count"))," Stationen"])},title:e=>{const{normalize:t}=e;return t(["Radio"])}},search:{albums:e=>{const{normalize:t}=e;return t(["Alben"])},artists:e=>{const{normalize:t}=e;return t(["K\xFCnstler"])},audiobooks:e=>{const{normalize:t}=e;return t(["H\xF6rb\xFCcher"])},composers:e=>{const{normalize:t}=e;return t(["Komponisten"])},help:e=>{const{normalize:t}=e;return t(['Tip: Du kannst mit einer Smart-Playlist-Abfrage-Sprache nach <a href="https://owntone.github.io/owntone-server/smart-playlists/" target="_blank">Ausdr\xFCcken</a> suchen wenn Du dem Ausdruck ein <code>query:</code> voranstellst.'])},"no-albums":e=>{const{normalize:t}=e;return t(["Keine Alben gefunden"])},"no-artists":e=>{const{normalize:t}=e;return t(["Keine K\xFCnstler gefunden"])},"no-audiobooks":e=>{const{normalize:t}=e;return t(["Keine H\xF6rb\xFCcher gefunden"])},"no-composers":e=>{const{normalize:t}=e;return t(["Keine Komponisten gefunden"])},"no-playlists":e=>{const{normalize:t}=e;return t(["Keine Playlisten gefunden"])},"no-podcasts":e=>{const{normalize:t}=e;return t(["Keine Podcasts gefunden"])},"no-tracks":e=>{const{normalize:t}=e;return t(["Keine Tracks gefunden"])},playlists:e=>{const{normalize:t}=e;return t(["Playlisten"])},podcasts:e=>{const{normalize:t}=e;return t(["Podcasts"])},"show-albums":e=>{const{normalize:t,interpolate:n,named:r}=e;return t(["Zeige alle ",n(r("count"))," Alben"])},"show-artists":e=>{const{normalize:t,interpolate:n,named:r}=e;return t(["Zeige alle ",n(r("count"))," K\xFCnstler"])},"show-audiobooks":e=>{const{normalize:t,interpolate:n,named:r}=e;return t(["Zeige alle ",n(r("count"))," H\xF6rb\xFCcher"])},"show-composers":e=>{const{normalize:t,interpolate:n,named:r}=e;return t(["Zeige alle ",n(r("count"))," Komponisten"])},"show-playlists":e=>{const{normalize:t,interpolate:n,named:r}=e;return t(["Zeige alle ",n(r("count"))," Playlisten"])},"show-podcasts":e=>{const{normalize:t,interpolate:n,named:r}=e;return t(["Zeige alle ",n(r("count"))," Podcasts"])},"show-tracks":e=>{const{normalize:t,interpolate:n,named:r}=e;return t(["Zeige alle ",n(r("count"))," Tracks"])},tracks:e=>{const{normalize:t}=e;return t(["Tracks"])},tabs:{library:e=>{const{normalize:t}=e;return t(["Bibliothek"])},spotify:e=>{const{normalize:t}=e;return t(["Spotify"])}}},settings:{artwork:{artwork:e=>{const{normalize:t}=e;return t(["Artwork"])},coverartarchive:e=>{const{normalize:t}=e;return t(["Cover Art Archive"])},discogs:e=>{const{normalize:t}=e;return t(["Discogs"])},"explanation-1":e=>{const{normalize:t}=e;return t(["OwnTone verarbeitet PNG- und JPEG-Artwork, welches in einer eigenen Datei in der Bibliothek, in die Dateien eingebettet oder online von Radiostationen bereitgestellt werden kann."])},"explanation-2":e=>{const{normalize:t}=e;return t(["Zus\xE4tzlich kann auf folgende Artwork-Anbieter zugegriffen werden:"])},spotify:e=>{const{normalize:t}=e;return t(["Spotify"])}},devices:{"no-active-pairing":e=>{const{normalize:t}=e;return t(["Keine aktive Pairing-Anfrage"])},"pairing-request":e=>{const{normalize:t}=e;return t(["Remote-Pairing-Anfrage von "])},pairing:e=>{const{normalize:t}=e;return t(["Pairing Remote"])},send:e=>{const{normalize:t}=e;return t(["Senden"])},"speaker-pairing-info":e=>{const{normalize:t}=e;return t(["Wenn der Laufsprecher PIN-basiertes Pairing verlangt, aktiviere ihn hier und gib dann den hier PIN an, der am Lautsprecher angezeigt wird."])},"speaker-pairing":e=>{const{normalize:t}=e;return t(["Lautsprecher-Pairing und Ger\xE4teverifikation"])},"verification-code":e=>{const{normalize:t}=e;return t(["Verifikationscode eingeben"])},verify:e=>{const{normalize:t}=e;return t(["Verifizieren"])}},general:{"album-lists":e=>{const{normalize:t}=e;return t(["Album-Listen"])},audiobooks:e=>{const{normalize:t}=e;return t(["H\xF6rb\xFCcher"])},files:e=>{const{normalize:t}=e;return t(["Audiodateien"])},language:e=>{const{normalize:t}=e;return t(["Sprache"])},music:e=>{const{normalize:t}=e;return t(["Musik"])},"navigation-item-selection-info":e=>{const{normalize:t}=e;return t(["Wenn mehr Dateien ausgew\xE4hlt werden, als der Bildschirm anzeigen kann, verschwindet das Burger-Men\xFC."])},"navigation-item-selection":e=>{const{normalize:t}=e;return t(["W\xE4hle hier die Eintr\xE4ge des oberen Navigationsmen\xFCs "])},"navigation-items":e=>{const{normalize:t}=e;return t(["Navigationsmen\xFCs"])},"now-playing-page":e=>{const{normalize:t}=e;return t(["Aktuell l\xE4uft-Seite"])},playlists:e=>{const{normalize:t}=e;return t(["Playlisten"])},podcasts:e=>{const{normalize:t}=e;return t(["Podcasts"])},radio:e=>{const{normalize:t}=e;return t(["Radio"])},"recently-added-page-info":e=>{const{normalize:t}=e;return t(['Beschr\xE4nkte die Zahl der Alben auf der "k\xFCrzlich hinzugef\xFCgt"-Seite'])},"recently-added-page":e=>{const{normalize:t}=e;return t(["K\xFCrzlich hinzugef\xFCgt-Seite"])},search:e=>{const{normalize:t}=e;return t(["Suche"])},"show-composer-genres-info-1":e=>{const{normalize:t}=e;return t(['Komma-separierte Liste der Genres, wo der Komponist auf der "Aktuell l\xE4uft"-Seite angezeigt werden soll'])},"show-composer-genres-info-2":e=>{const{normalize:t}=e;return t(["Leer lassen, um ihn immer anzuzeigen."])},"show-composer-genres-info-3":e=>{const{normalize:t}=e;return t(['Der Genre-Tag des aktuellen Tracks wird abgeglichen als Teil-String des Genre-Tags. Z.B. "classical, soundtrack" wird den Komponisten beim Genre-Tag "Contemporary Classical" anzeigen'])},"show-composer-genres":e=>{const{normalize:t}=e;return t(["Zeige den Komponisten f\xFCr die aufgelisteten Genres an"])},"show-composer-info":e=>{const{normalize:t}=e;return t(['Wenn aktiviert, wird der Komponist auf der "Aktuell l\xE4uft"-Seite angezeigt.'])},"show-composer":e=>{const{normalize:t}=e;return t(["Komponisten anzeigen"])},"show-coverart":e=>{const{normalize:t}=e;return t(["Zeige Cover-Artwork in der Albumliste"])},"show-path":e=>{const{normalize:t}=e;return t(['Dateipfad auf der "Aktuell l\xE4uft"-Seite anzeigen'])}},services:{lastfm:{"grant-access":e=>{const{normalize:t}=e;return t(["<b>Last.fm</b> - melde Dich mit Deinem Last.fm-Usernamen und Password an, um Scrobbeln zu aktivieren"])},info:e=>{const{normalize:t}=e;return t(["OwnTone wird Usernamen und Passwort von last.fm nicht speichern, nur den Sitzungs-Schl\xFCssel. Dieser l\xE4uft nicht ab."])},title:e=>{const{normalize:t}=e;return t(["Last.fm"])},"no-support":e=>{const{normalize:t}=e;return t(["OwnTone wurde ohne Unterst\xFCtzung f\xFCr Last.fm erstellt."])},"stop-scrobbling":e=>{const{normalize:t}=e;return t(["Stop Scrobbling"])}},spotify:{"no-support":e=>{const{normalize:t}=e;return t(["OwnTone wurde entweder ohne Unterst\xFCtzung f\xFCr Spotify erstellt oder libspotify ist nicht installiert."])},"logged-as":e=>{const{normalize:t}=e;return t(["Angemeldet als "])},requirements:e=>{const{normalize:t}=e;return t(["Spotify Premium Abo erforderlich."])},scopes:e=>{const{normalize:t}=e;return t(["Zugriff auf die Spotify Web-Api erm\xF6glicht scannen der Spotify-Blibliothek. Erforderliche scopes sind: "])},user:e=>{const{normalize:t}=e;return t(["Zugriff gestattet f\xFCr "])},authorize:e=>{const{normalize:t}=e;return t(["Authorisiere Web-API-Zugriff"])},credentials:e=>{const{normalize:t}=e;return t([" - Anmelden mit dem Spotify Username und Passwort"])},"grant-access":e=>{const{normalize:t}=e;return t(["<b>Spotify Web-API</b> - Zugriff auf die Spotify Web-API gestatten"])},"help-1":e=>{const{normalize:t}=e;return t(["libspotify erm\xF6glicht OwnTone, Spotify-Tracks abzuspielen."])},"help-2":e=>{const{normalize:t}=e;return t(["OwnTone speichert das Passwort nicht, aber wird \xFCber libspotify dennoch einen automatischen Login \xFCber ein Login-Token erm\xF6glichen."])},reauthorize:e=>{const{normalize:t}=e;return t(["Bitte den Zugriff der Web-API durch setzen folgender Zugriffsrechte f\xFCr Owntone: "])},title:e=>{const{normalize:t}=e;return t(["Spotify"])}},login:e=>{const{normalize:t}=e;return t(["Einloggen"])},logout:e=>{const{normalize:t}=e;return t(["Ausloggen"])}},tabs:{artwork:e=>{const{normalize:t}=e;return t(["Artwork"])},general:e=>{const{normalize:t}=e;return t(["Allgemein"])},"online-services":e=>{const{normalize:t}=e;return t(["Online-Services"])},"remotes-and-outputs":e=>{const{normalize:t}=e;return t(["Fernbedienungen und Ausg\xE4nge"])}}},spotify:{album:{shuffle:e=>{const{normalize:t}=e;return t(["Zufallswiedergabe"])},"track-count":e=>{const{normalize:t,interpolate:n,named:r}=e;return t([n(r("count"))," Tracks"])}},artist:{"album-count":e=>{const{normalize:t,interpolate:n,named:r}=e;return t([n(r("count"))," Alben"])},shuffle:e=>{const{normalize:t}=e;return t(["Zufallswiedergabe"])}},browse:{"featured-playlists":e=>{const{normalize:t}=e;return t(["Ausgezeichnete Playlisten"])},"new-releases":e=>{const{normalize:t}=e;return t(["Neuvorstellung"])},"show-more":e=>{const{normalize:t}=e;return t(["Zeige mehr"])}},playlist:{count:e=>{const{normalize:t,interpolate:n,named:r}=e;return t([n(r("count"))," Tracks"])},shuffle:e=>{const{normalize:t}=e;return t(["Zufallswiedergabe"])}},search:{albums:e=>{const{normalize:t}=e;return t(["Alben"])},artists:e=>{const{normalize:t}=e;return t(["K\xFCnstler"])},"no-albums":e=>{const{normalize:t}=e;return t(["Keine Alben gefunden"])},"no-artists":e=>{const{normalize:t}=e;return t(["Keine K\xFCnstler gefunden"])},"no-playlists":e=>{const{normalize:t}=e;return t(["Keine Playlisten gefunden"])},"no-tracks":e=>{const{normalize:t}=e;return t(["Keine Tracks gefunden"])},playlists:e=>{const{normalize:t}=e;return t(["Playlisten"])},"show-all-albums":e=>{const{normalize:t,interpolate:n,named:r}=e;return t(["Zeige alle ",n(r("count"))," Alben"])},"show-all-artists":e=>{const{normalize:t,interpolate:n,named:r}=e;return t(["Zeige alle ",n(r("count"))," K\xFCnstler"])},"show-all-playlists":e=>{const{normalize:t,interpolate:n,named:r}=e;return t(["Zeige alle ",n(r("count"))," Playlisten"])},"show-all-tracks":e=>{const{normalize:t,interpolate:n,named:r}=e;return t(["Zeige alle ",n(r("count"))," Tracks"])},tracks:e=>{const{normalize:t}=e;return t(["Tracks"])}}}},setting:{"not-saved":e=>{const{normalize:t}=e;return t([" (Fehler beim Speichern der Einstellungen)"])},saved:e=>{const{normalize:t}=e;return t([" (Einstellungen gesichert)"])}},server:{"connection-failed":e=>{const{normalize:t}=e;return t(["Fehler bei Verbindung zum OwnTone-Server"])},"missing-port":e=>{const{normalize:t}=e;return t(["Fehlender Websocket-Port"])},"request-failed":e=>{const{normalize:t,interpolate:n,named:r}=e;return t(["Anfrage gescheitert (Status: ",n(r("status"))," ",n(r("cause"))," ",n(r("url")),")"])},"queue-saved":e=>{const{normalize:t,interpolate:n,named:r}=e;return t(["Warteschlange zu Playlist ",n(r("name"))," gesichert"])},"appended-tracks":e=>{const{normalize:t,interpolate:n,named:r}=e;return t([n(r("count"))," Tracks an die Abspielliste angeh\xE4ngt"])},"empty-queue":e=>{const{normalize:t}=e;return t(["Warteschlange ist leer"])}},"group-by-list":{today:e=>{const{normalize:t}=e;return t(["Heute"])},"last-week":e=>{const{normalize:t}=e;return t(["Letzte Woche"])},"last-month":e=>{const{normalize:t}=e;return t(["Letzer Monat"])}},filter:{mono:e=>{const{normalize:t}=e;return t(["Mono"])},stereo:e=>{const{normalize:t}=e;return t(["Stereo"])},channels:e=>{const{normalize:t,interpolate:n,named:r}=e;return t([n(r("count"))," Kan\xE4le"])}}},en:{data:{kind:{file:e=>{const{normalize:t}=e;return t(["File"])},url:e=>{const{normalize:t}=e;return t(["URL"])},spotify:e=>{const{normalize:t}=e;return t(["Spotify"])},pipe:e=>{const{normalize:t}=e;return t(["Stream"])}}},dialog:{cancel:e=>{const{normalize:t}=e;return t(["Cancel"])},add:{rss:{add:e=>{const{normalize:t}=e;return t(["Add"])},cancel:e=>{const{normalize:t}=e;return t(["Cancel"])},help:e=>{const{normalize:t}=e;return t(["Adding a podcast includes creating an RSS playlist, that will allow OwnTone to manage the podcast subscription."])},placeholder:e=>{const{normalize:t}=e;return t(["https://url-to-rss"])},processing:e=>{const{normalize:t}=e;return t(["Processing\u2026"])},title:e=>{const{normalize:t}=e;return t(["Add Podcast RSS feed URL"])}},stream:{add:e=>{const{normalize:t}=e;return t(["Add"])},cancel:e=>{const{normalize:t}=e;return t(["Cancel"])},loading:e=>{const{normalize:t}=e;return t(["Loading\u2026"])},placeholder:e=>{const{normalize:t}=e;return t(["https://url-to-stream"])},play:e=>{const{normalize:t}=e;return t(["Play"])},title:e=>{const{normalize:t}=e;return t(["Add Stream URL"])}}},album:{"add-next":e=>{const{normalize:t}=e;return t(["Add Next"])},add:e=>{const{normalize:t}=e;return t(["Add"])},"added-on":e=>{const{normalize:t}=e;return t(["Added on"])},artist:e=>{const{normalize:t}=e;return t(["Album artist"])},duration:e=>{const{normalize:t}=e;return t(["Duration"])},"mark-as-played":e=>{const{normalize:t}=e;return t(["Mark as played"])},play:e=>{const{normalize:t}=e;return t(["Play"])},"release-date":e=>{const{normalize:t}=e;return t(["Release date"])},"remove-podcast":e=>{const{normalize:t}=e;return t(["Remove podcast"])},tracks:e=>{const{normalize:t}=e;return t(["Track count"])},type:e=>{const{normalize:t}=e;return t(["Type"])},year:e=>{const{normalize:t}=e;return t(["Year"])}},artist:{"add-next":e=>{const{normalize:t}=e;return t(["Add Next"])},add:e=>{const{normalize:t}=e;return t(["Add"])},"added-on":e=>{const{normalize:t}=e;return t(["Added On"])},albums:e=>{const{normalize:t}=e;return t(["Albums"])},play:e=>{const{normalize:t}=e;return t(["Play"])},tracks:e=>{const{normalize:t}=e;return t(["Tracks"])},type:e=>{const{normalize:t}=e;return t(["Type"])}},composer:{"add-next":e=>{const{normalize:t}=e;return t(["Add Next"])},add:e=>{const{normalize:t}=e;return t(["Add"])},albums:e=>{const{normalize:t}=e;return t(["Albums"])},duration:e=>{const{normalize:t}=e;return t(["Duration"])},play:e=>{const{normalize:t}=e;return t(["Play"])},tracks:e=>{const{normalize:t}=e;return t(["Tracks"])}},directory:{"add-next":e=>{const{normalize:t}=e;return t(["Add Next"])},add:e=>{const{normalize:t}=e;return t(["Add"])},play:e=>{const{normalize:t}=e;return t(["Play"])}},genre:{"add-next":e=>{const{normalize:t}=e;return t(["Add Next"])},add:e=>{const{normalize:t}=e;return t(["Add"])},albums:e=>{const{normalize:t}=e;return t(["Albums"])},duration:e=>{const{normalize:t}=e;return t(["Duration"])},play:e=>{const{normalize:t}=e;return t(["Play"])},tracks:e=>{const{normalize:t}=e;return t(["Tracks"])}},playlist:{"add-next":e=>{const{normalize:t}=e;return t(["Add Next"])},add:e=>{const{normalize:t}=e;return t(["Add"])},play:e=>{const{normalize:t}=e;return t(["Play"])},"track-count":e=>{const{normalize:t}=e;return t(["Track Count"])},type:e=>{const{normalize:t}=e;return t(["Type"])},save:{cancel:e=>{const{normalize:t}=e;return t(["Cancel"])},save:e=>{const{normalize:t}=e;return t(["Save"])},saving:e=>{const{normalize:t}=e;return t(["Saving\u2026"])},title:e=>{const{normalize:t}=e;return t(["Save queue to playlist"])}}},"queue-item":{"album-artist":e=>{const{normalize:t}=e;return t(["Album Artist"])},album:e=>{const{normalize:t}=e;return t(["Album"])},bitrate:e=>{const{normalize:t,interpolate:n,named:r}=e;return t([" ","|"," ",n(r("rate"))," kbit/s"])},channels:e=>{const{normalize:t,interpolate:n,named:r}=e;return t([" ","|"," ",n(r("channels"))])},composer:e=>{const{normalize:t}=e;return t(["Composer"])},duration:e=>{const{normalize:t}=e;return t(["Duration"])},genre:e=>{const{normalize:t}=e;return t(["Genre"])},path:e=>{const{normalize:t}=e;return t(["Path"])},play:e=>{const{normalize:t}=e;return t(["Play"])},position:e=>{const{normalize:t}=e;return t(["Disc / Track"])},quality:e=>{const{normalize:t}=e;return t(["Quality"])},remove:e=>{const{normalize:t}=e;return t(["Remove"])},samplerate:e=>{const{normalize:t,interpolate:n,named:r}=e;return t([" ","|"," ",n(r("rate"))," Hz"])},"spotify-album":e=>{const{normalize:t}=e;return t(["album"])},"spotify-artist":e=>{const{normalize:t}=e;return t(["artist"])},type:e=>{const{normalize:t}=e;return t(["Type"])},year:e=>{const{normalize:t}=e;return t(["Year"])}},"remote-pairing":{cancel:e=>{const{normalize:t}=e;return t(["Cancel"])},pair:e=>{const{normalize:t}=e;return t(["Pair Remote"])},title:e=>{const{normalize:t}=e;return t(["Remote pairing request"])}},spotify:{album:{"add-next":e=>{const{normalize:t}=e;return t(["Add Next"])},add:e=>{const{normalize:t}=e;return t(["Add"])},"album-artist":e=>{const{normalize:t}=e;return t(["Album Artist"])},play:e=>{const{normalize:t}=e;return t(["Play"])},"release-date":e=>{const{normalize:t}=e;return t(["Release Date"])},type:e=>{const{normalize:t}=e;return t(["Type"])}},artist:{"add-next":e=>{const{normalize:t}=e;return t(["Add Next"])},add:e=>{const{normalize:t}=e;return t(["Add"])},genres:e=>{const{normalize:t}=e;return t(["Genres"])},play:e=>{const{normalize:t}=e;return t(["Play"])},popularity:e=>{const{normalize:t}=e;return t(["Popularity / Followers"])}},playlist:{"add-next":e=>{const{normalize:t}=e;return t(["Add Next"])},add:e=>{const{normalize:t}=e;return t(["Add"])},owner:e=>{const{normalize:t}=e;return t(["Owner"])},path:e=>{const{normalize:t}=e;return t(["Path"])},play:e=>{const{normalize:t}=e;return t(["Play"])},tracks:e=>{const{normalize:t}=e;return t(["Tracks"])}},track:{"add-next":e=>{const{normalize:t}=e;return t(["Add Next"])},add:e=>{const{normalize:t}=e;return t(["Add"])},"album-artist":e=>{const{normalize:t}=e;return t(["Album Artist"])},album:e=>{const{normalize:t}=e;return t(["Album"])},duration:e=>{const{normalize:t}=e;return t(["Duration"])},path:e=>{const{normalize:t}=e;return t(["Path"])},play:e=>{const{normalize:t}=e;return t(["Play"])},position:e=>{const{normalize:t}=e;return t(["Disc / Track"])},"release-date":e=>{const{normalize:t}=e;return t(["Release Date"])}}},track:{"add-next":e=>{const{normalize:t}=e;return t(["Add Next"])},add:e=>{const{normalize:t}=e;return t(["Add"])},"added-on":e=>{const{normalize:t}=e;return t(["Added On"])},"album-artist":e=>{const{normalize:t}=e;return t(["Album Artist"])},album:e=>{const{normalize:t}=e;return t(["Album"])},bitrate:e=>{const{normalize:t,interpolate:n,named:r}=e;return t([" ","|"," ",n(r("rate"))," kbit/s"])},channels:e=>{const{normalize:t,interpolate:n,named:r}=e;return t([" ","|"," ",n(r("channels"))])},comment:e=>{const{normalize:t}=e;return t(["Comment"])},composer:e=>{const{normalize:t}=e;return t(["Composer"])},duration:e=>{const{normalize:t}=e;return t(["Duration"])},genre:e=>{const{normalize:t}=e;return t(["Genre"])},"mark-as-new":e=>{const{normalize:t}=e;return t(["Mark as new"])},"mark-as-played":e=>{const{normalize:t}=e;return t(["Mark as played"])},path:e=>{const{normalize:t}=e;return t(["Path"])},play:e=>{const{normalize:t}=e;return t(["Play"])},position:e=>{const{normalize:t}=e;return t(["Disc / Track"])},quality:e=>{const{normalize:t}=e;return t(["Quality"])},"rating-value":e=>{const{normalize:t,interpolate:n,named:r}=e;return t([n(r("rating"))," / 10"])},rating:e=>{const{normalize:t}=e;return t(["Rating"])},"release-date":e=>{const{normalize:t}=e;return t(["Release Date"])},samplerate:e=>{const{normalize:t,interpolate:n,named:r}=e;return t([" ","|"," ",n(r("rate"))," Hz"])},"spotify-album":e=>{const{normalize:t}=e;return t(["album"])},"spotify-artist":e=>{const{normalize:t}=e;return t(["artist"])},type:e=>{const{normalize:t}=e;return t(["Type"])},year:e=>{const{normalize:t}=e;return t(["Year"])}},update:{all:e=>{const{normalize:t}=e;return t(["Update everything"])},cancel:e=>{const{normalize:t}=e;return t(["Cancel"])},feeds:e=>{const{normalize:t}=e;return t(["Only update RSS feeds"])},info:e=>{const{normalize:t}=e;return t(["Scan for new, deleted and modified files"])},local:e=>{const{normalize:t}=e;return t(["Only update local library"])},progress:e=>{const{normalize:t}=e;return t(["Library update in progress\u2026"])},"rescan-metadata":e=>{const{normalize:t}=e;return t(["Rescan metadata of unmodified files"])},rescan:e=>{const{normalize:t}=e;return t(["Rescan"])},spotify:e=>{const{normalize:t}=e;return t(["Only update Spotify"])},title:e=>{const{normalize:t}=e;return t(["Library update"])}}},language:{de:e=>{const{normalize:t}=e;return t(["German (Deutsch)"])},en:e=>{const{normalize:t}=e;return t(["English"])},fr:e=>{const{normalize:t}=e;return t(["French (Fran\xE7ais)"])}},list:{albums:{"info-1":e=>{const{normalize:t}=e;return t(["Permanently remove this podcast from your library?"])},"info-2":e=>{const{normalize:t}=e;return t(["This will also remove the RSS playlist "])},remove:e=>{const{normalize:t}=e;return t(["Remove"])},"remove-podcast":e=>{const{normalize:t}=e;return t(["Remove podcast"])}},spotify:{"not-playable-track":e=>{const{normalize:t}=e;return t(["Track is not playable"])},"restriction-reason":e=>{const{normalize:t,interpolate:n,named:r}=e;return t([", restriction reason: ",n(r("reason"))])}}},media:{kind:{album:e=>{const{normalize:t}=e;return t(["Album"])},audiobook:e=>{const{normalize:t}=e;return t(["Audiobook"])},music:e=>{const{normalize:t}=e;return t(["Music"])},podcast:e=>{const{normalize:t}=e;return t(["Podcast"])}}},navigation:{about:e=>{const{normalize:t}=e;return t(["About"])},albums:e=>{const{normalize:t}=e;return t(["Albums"])},artists:e=>{const{normalize:t}=e;return t(["Artists"])},audiobooks:e=>{const{normalize:t}=e;return t(["Audiobooks"])},"now-playing":e=>{const{normalize:t,interpolate:n,named:r}=e;return t([" - ",n(r("album"))])},"stream-error":e=>{const{normalize:t}=e;return t(["HTTP stream error: failed to load stream or stopped loading due to network problem"])},stream:e=>{const{normalize:t}=e;return t(["HTTP stream"])},volume:e=>{const{normalize:t}=e;return t(["Volume"])},files:e=>{const{normalize:t}=e;return t(["Files"])},genres:e=>{const{normalize:t}=e;return t(["Genres"])},music:e=>{const{normalize:t}=e;return t(["Music"])},playlists:e=>{const{normalize:t}=e;return t(["Playlists"])},podcasts:e=>{const{normalize:t}=e;return t(["Podcasts"])},radio:e=>{const{normalize:t}=e;return t(["Radio"])},search:e=>{const{normalize:t}=e;return t(["Search"])},settings:e=>{const{normalize:t}=e;return t(["Settings"])},spotify:e=>{const{normalize:t}=e;return t(["Spotify"])},title:e=>{const{normalize:t}=e;return t(["OwnTone"])},"update-library":e=>{const{normalize:t}=e;return t(["Update Library"])}},page:{about:{albums:e=>{const{normalize:t}=e;return t(["Albums"])},artists:e=>{const{normalize:t}=e;return t(["Artists"])},"built-with":e=>{const{normalize:t}=e;return t(['Web interface built with <a href="https://bulma.io">Bulma</a>, <a href="https://materialdesignicons.com/">Material Design Icons</a>, <a href="https://vuejs.org/">Vue.js</a>, <a href="https://github.com/mzabriskie/axios">axios</a> and <a href="https://github.com/owntone/owntone-server/network/dependencies">more</a>.'])},"compiled-with":e=>{const{normalize:t,interpolate:n,named:r}=e;return t(["Compiled with support for ",n(r("options")),"."])},library:e=>{const{normalize:t}=e;return t(["Library"])},"total-playtime":e=>{const{normalize:t}=e;return t(["Total playtime"])},tracks:e=>{const{normalize:t}=e;return t(["Tracks"])},update:e=>{const{normalize:t}=e;return t(["Update"])},"updated-on":e=>{const{normalize:t,interpolate:n,named:r}=e;return t([n(r("time"))," ago"])},updated:e=>{const{normalize:t}=e;return t(["Updated"])},uptime:e=>{const{normalize:t}=e;return t(["Uptime"])},version:e=>{const{normalize:t,interpolate:n,named:r}=e;return t(["Version ",n(r("version"))])}},album:{shuffle:e=>{const{normalize:t}=e;return t(["Shuffle"])},"track-count":e=>{const{normalize:t,interpolate:n,named:r}=e;return t([n(r("count"))," tracks"])}},albums:{count:e=>{const{normalize:t,interpolate:n,named:r}=e;return t([n(r("count"))," albums"])},filter:e=>{const{normalize:t}=e;return t(["Filter"])},"hide-singles-help":e=>{const{normalize:t}=e;return t(["If active, hides singles and albums with tracks that only appear in playlists."])},"hide-singles":e=>{const{normalize:t}=e;return t(["Hide singles"])},"hide-spotify-help":e=>{const{normalize:t}=e;return t(["If active, hides albums that only appear in your Spotify library."])},"hide-spotify":e=>{const{normalize:t}=e;return t(["Hide albums from Spotify"])},title:e=>{const{normalize:t}=e;return t(["Albums"])},"sort-by":{title:e=>{const{normalize:t}=e;return t(["Sort by"])},name:e=>{const{normalize:t}=e;return t(["Name"])},"recently-added":e=>{const{normalize:t}=e;return t(["Recently added"])},"recently-released":e=>{const{normalize:t}=e;return t(["Recently released"])}}},artist:{"album-count":e=>{const{normalize:t,interpolate:n,named:r}=e;return t([n(r("count"))," albums"])},shuffle:e=>{const{normalize:t}=e;return t(["Shuffle"])},"track-count":e=>{const{normalize:t,interpolate:n,named:r}=e;return t([n(r("count"))," tracks"])},"sort-by":{title:e=>{const{normalize:t}=e;return t(["Sort by"])},name:e=>{const{normalize:t}=e;return t(["Name"])},rating:e=>{const{normalize:t}=e;return t(["Rating"])},"release-date":e=>{const{normalize:t}=e;return t(["Release date"])}}},artists:{count:e=>{const{normalize:t,interpolate:n,named:r}=e;return t([n(r("count"))," artists"])},filter:e=>{const{normalize:t}=e;return t(["Filter"])},"sort-by":{title:e=>{const{normalize:t}=e;return t(["Sort by"])},name:e=>{const{normalize:t}=e;return t(["Name"])},"recently-added":e=>{const{normalize:t}=e;return t(["Recently added"])}},"hide-singles-help":e=>{const{normalize:t}=e;return t(["If active, hides artists that only appear on singles or playlists."])},"hide-singles":e=>{const{normalize:t}=e;return t(["Hide singles"])},"hide-spotify-help":e=>{const{normalize:t}=e;return t(["If active, hides artists that only appear in your Spotify library."])},"hide-spotify":e=>{const{normalize:t}=e;return t(["Hide artists from Spotify"])},title:e=>{const{normalize:t}=e;return t(["Artists"])}},audiobooks:{album:{play:e=>{const{normalize:t}=e;return t(["Play"])},"track-count":e=>{const{normalize:t,interpolate:n,named:r}=e;return t([n(r("count"))," tracks"])}},albums:{count:e=>{const{normalize:t,interpolate:n,named:r}=e;return t([n(r("count"))," audiobooks"])},title:e=>{const{normalize:t}=e;return t(["Audiobooks"])}},artist:{"album-count":e=>{const{normalize:t,interpolate:n,named:r}=e;return t([n(r("count"))," albums"])},play:e=>{const{normalize:t}=e;return t(["Play"])}},artists:{count:e=>{const{normalize:t,interpolate:n,named:r}=e;return t([n(r("count"))," authors"])},title:e=>{const{normalize:t}=e;return t(["Authors"])}},tabs:{authors:e=>{const{normalize:t}=e;return t(["Authors"])},audiobooks:e=>{const{normalize:t}=e;return t(["Audiobooks"])}}},browse:{albums:e=>{const{normalize:t}=e;return t(["albums"])},"show-more":e=>{const{normalize:t}=e;return t(["Show more"])},tracks:e=>{const{normalize:t}=e;return t(["tracks"])},"recently-added":{albums:e=>{const{normalize:t}=e;return t(["albums"])},title:e=>{const{normalize:t}=e;return t(["Recently added"])}},"recently-played":{title:e=>{const{normalize:t}=e;return t(["Recently played"])},tracks:e=>{const{normalize:t}=e;return t(["tracks"])}},tabs:{albums:e=>{const{normalize:t}=e;return t(["Albums"])},artists:e=>{const{normalize:t}=e;return t(["Artists"])},browse:e=>{const{normalize:t}=e;return t(["Browse"])},composers:e=>{const{normalize:t}=e;return t(["Composers"])},genres:e=>{const{normalize:t}=e;return t(["Genres"])},spotify:e=>{const{normalize:t}=e;return t(["Spotify"])}}},composer:{"album-count":e=>{const{normalize:t,interpolate:n,named:r}=e;return t([n(r("count"))," albums"])},shuffle:e=>{const{normalize:t}=e;return t(["Shuffle"])},"track-count":e=>{const{normalize:t,interpolate:n,named:r}=e;return t([n(r("count"))," tracks"])},"sort-by":{title:e=>{const{normalize:t}=e;return t(["Sort by"])},name:e=>{const{normalize:t}=e;return t(["Name"])},rating:e=>{const{normalize:t}=e;return t(["Rating"])}}},composers:{count:e=>{const{normalize:t,interpolate:n,named:r}=e;return t([n(r("count"))," composers"])},title:e=>{const{normalize:t}=e;return t(["Composers"])}},files:{play:e=>{const{normalize:t}=e;return t(["Play"])},title:e=>{const{normalize:t}=e;return t(["Files"])}},genre:{"album-count":e=>{const{normalize:t,interpolate:n,named:r}=e;return t([n(r("count"))," albums"])},shuffle:e=>{const{normalize:t}=e;return t(["Shuffle"])},"track-count":e=>{const{normalize:t,interpolate:n,named:r}=e;return t([n(r("count"))," tracks"])},"sort-by":{title:e=>{const{normalize:t}=e;return t(["Sort by"])},name:e=>{const{normalize:t}=e;return t(["Name"])},rating:e=>{const{normalize:t}=e;return t(["Rating"])}}},genres:{count:e=>{const{normalize:t,interpolate:n,named:r}=e;return t([n(r("count"))," genres"])},title:e=>{const{normalize:t}=e;return t(["Genres"])}},"now-playing":{info:e=>{const{normalize:t}=e;return t(["Add some tracks by browsing your library"])},title:e=>{const{normalize:t}=e;return t(["Your play queue is empty"])}},playlist:{length:e=>{const{normalize:t,interpolate:n,named:r}=e;return t([n(r("length"))," tracks"])},shuffle:e=>{const{normalize:t}=e;return t(["Shuffle"])},"track-count":e=>{const{normalize:t,interpolate:n,named:r}=e;return t([n(r("count"))," tracks"])}},playlists:{count:e=>{const{normalize:t,interpolate:n,named:r}=e;return t([n(r("count"))," playlists"])}},podcast:{play:e=>{const{normalize:t}=e;return t(["Play"])},remove:e=>{const{normalize:t}=e;return t(["Remove"])},"remove-info-1":e=>{const{normalize:t}=e;return t(["Permanently remove this podcast from your library?"])},"remove-info-2":e=>{const{normalize:t}=e;return t(["This will also remove the RSS playlist "])},"remove-podcast":e=>{const{normalize:t}=e;return t(["Remove podcast"])},"track-count":e=>{const{normalize:t,interpolate:n,named:r}=e;return t([n(r("count"))," tracks"])}},podcasts:{add:e=>{const{normalize:t}=e;return t(["Add"])},count:e=>{const{normalize:t,interpolate:n,named:r}=e;return t([n(r("count"))," podcasts"])},"mark-all-played":e=>{const{normalize:t}=e;return t(["Mark All Played"])},"new-episodes":e=>{const{normalize:t}=e;return t(["New Episodes"])},title:e=>{const{normalize:t}=e;return t(["Podcasts"])},update:e=>{const{normalize:t}=e;return t(["Update"])}},queue:{"add-stream":e=>{const{normalize:t}=e;return t(["Add stream"])},clear:e=>{const{normalize:t}=e;return t(["Clear"])},count:e=>{const{normalize:t,interpolate:n,named:r}=e;return t([n(r("count"))," tracks"])},edit:e=>{const{normalize:t}=e;return t(["Edit"])},"hide-previous":e=>{const{normalize:t}=e;return t(["Hide previous"])},title:e=>{const{normalize:t}=e;return t(["Queue"])},save:e=>{const{normalize:t}=e;return t(["Save"])}},radio:{count:e=>{const{normalize:t,interpolate:n,named:r}=e;return t([n(r("count"))," stations"])},title:e=>{const{normalize:t}=e;return t(["Radio"])}},search:{albums:e=>{const{normalize:t}=e;return t(["Albums"])},artists:e=>{const{normalize:t}=e;return t(["Artists"])},audiobooks:e=>{const{normalize:t}=e;return t(["Audiobooks"])},composers:e=>{const{normalize:t}=e;return t(["Composers"])},help:e=>{const{normalize:t}=e;return t(['Tip: you can search by a smart playlist query language <a href="https://owntone.github.io/owntone-server/smart-playlists/" target="_blank">expression</a> if you prefix it with <code>query:</code>.'])},"no-albums":e=>{const{normalize:t}=e;return t(["No albums found"])},"no-artists":e=>{const{normalize:t}=e;return t(["No artists found"])},"no-audiobooks":e=>{const{normalize:t}=e;return t(["No audiobooks found"])},"no-composers":e=>{const{normalize:t}=e;return t(["No composers found"])},"no-playlists":e=>{const{normalize:t}=e;return t(["No playlists found"])},"no-podcasts":e=>{const{normalize:t}=e;return t(["No podcasts found"])},"no-tracks":e=>{const{normalize:t}=e;return t(["No tracks found"])},playlists:e=>{const{normalize:t}=e;return t(["Playlists"])},podcasts:e=>{const{normalize:t}=e;return t(["Podcasts"])},"show-albums":e=>{const{normalize:t,interpolate:n,named:r}=e;return t(["Show all ",n(r("count"))," albums"])},"show-artists":e=>{const{normalize:t,interpolate:n,named:r}=e;return t(["Show all ",n(r("count"))," artists"])},"show-audiobooks":e=>{const{normalize:t,interpolate:n,named:r}=e;return t(["Show all ",n(r("count"))," audiobooks"])},"show-composers":e=>{const{normalize:t,interpolate:n,named:r}=e;return t(["Show all ",n(r("count"))," composers"])},"show-playlists":e=>{const{normalize:t,interpolate:n,named:r}=e;return t(["Show all ",n(r("count"))," playlists"])},"show-podcasts":e=>{const{normalize:t,interpolate:n,named:r}=e;return t(["Show all ",n(r("count"))," podcasts"])},"show-tracks":e=>{const{normalize:t,interpolate:n,named:r}=e;return t(["Show all ",n(r("count"))," tracks"])},tracks:e=>{const{normalize:t}=e;return t(["Tracks"])},tabs:{library:e=>{const{normalize:t}=e;return t(["Library"])},spotify:e=>{const{normalize:t}=e;return t(["Spotify"])}}},settings:{artwork:{artwork:e=>{const{normalize:t}=e;return t(["Artwork"])},coverartarchive:e=>{const{normalize:t}=e;return t(["Cover Art Archive"])},discogs:e=>{const{normalize:t}=e;return t(["Discogs"])},"explanation-1":e=>{const{normalize:t}=e;return t(["OwnTone supports PNG and JPEG artwork which is either placed as separate image files in the library, embedded in the media files or made available online by radio stations."])},"explanation-2":e=>{const{normalize:t}=e;return t(["In addition to that, you can enable fetching artwork from the following artwork providers:"])},spotify:e=>{const{normalize:t}=e;return t(["Spotify"])}},devices:{"no-active-pairing":e=>{const{normalize:t}=e;return t(["No active pairing request."])},"pairing-request":e=>{const{normalize:t}=e;return t(["Remote pairing request from "])},pairing:e=>{const{normalize:t}=e;return t(["Remote Pairing"])},send:e=>{const{normalize:t}=e;return t(["Send"])},"speaker-pairing-info":e=>{const{normalize:t}=e;return t(["If your speaker requires pairing then activate it below and enter the PIN that it displays."])},"speaker-pairing":e=>{const{normalize:t}=e;return t(["Speaker pairing and device verification"])},"verification-code":e=>{const{normalize:t}=e;return t(["Enter verification code"])},verify:e=>{const{normalize:t}=e;return t(["Verify"])}},general:{"album-lists":e=>{const{normalize:t}=e;return t(["Album Lists"])},audiobooks:e=>{const{normalize:t}=e;return t(["Audiobooks"])},files:e=>{const{normalize:t}=e;return t(["Audio Files"])},language:e=>{const{normalize:t}=e;return t(["Language"])},music:e=>{const{normalize:t}=e;return t(["Music"])},"navigation-item-selection-info":e=>{const{normalize:t}=e;return t(["If you select more items than can be shown on your screen then the burger menu will disappear."])},"navigation-item-selection":e=>{const{normalize:t}=e;return t(["Select the top navigation bar menu items"])},"navigation-items":e=>{const{normalize:t}=e;return t(["Navigation Bar"])},"now-playing-page":e=>{const{normalize:t}=e;return t(["Now playing page"])},playlists:e=>{const{normalize:t}=e;return t(["Playlists"])},podcasts:e=>{const{normalize:t}=e;return t(["Podcasts"])},radio:e=>{const{normalize:t}=e;return t(["Radio"])},"recently-added-page-info":e=>{const{normalize:t}=e;return t(['Limit the number of albums shown on the "Recently Added" page'])},"recently-added-page":e=>{const{normalize:t}=e;return t(["Recently added page"])},search:e=>{const{normalize:t}=e;return t(["Search"])},"show-composer-genres-info-1":e=>{const{normalize:t}=e;return t(['Comma separated list of genres the composer should be displayed on the "Now playing page"'])},"show-composer-genres-info-2":e=>{const{normalize:t}=e;return t(["Leave empty to always show the composer."])},"show-composer-genres-info-3":e=>{const{normalize:t}=e;return t(['The genre tag of the current track is matched by checking, if one of the defined genres are included. For example setting to "classical, soundtrack" will show the composer for tracks with a genre tag of "Contemporary Classical"'])},"show-composer-genres":e=>{const{normalize:t}=e;return t(["Show composer only for listed genres"])},"show-composer-info":e=>{const{normalize:t}=e;return t(['If enabled the composer of the current playing track is shown on the "Now playing page"'])},"show-composer":e=>{const{normalize:t}=e;return t(["Show composer"])},"show-coverart":e=>{const{normalize:t}=e;return t(["Show cover artwork in album list"])},"show-path":e=>{const{normalize:t}=e;return t(['Show filepath on the "Now playing" page'])}},services:{lastfm:{"grant-access":e=>{const{normalize:t}=e;return t(["<b>Last.fm</b> - Login with your Last.fm username and password to enable scrobbling"])},info:e=>{const{normalize:t}=e;return t(["OwnTone will not store your Last.fm username/password, only the session key. The session key does not expire."])},title:e=>{const{normalize:t}=e;return t(["Last.fm"])},"no-support":e=>{const{normalize:t}=e;return t(["OwnTone was built without support for Last.fm."])},"stop-scrobbling":e=>{const{normalize:t}=e;return t(["Stop scrobbling"])}},spotify:{"no-support":e=>{const{normalize:t}=e;return t(["OwnTone was either built without support for Spotify or libspotify is not installed."])},"logged-as":e=>{const{normalize:t}=e;return t(["Logged in as "])},requirements:e=>{const{normalize:t}=e;return t(["You must have a Spotify premium account."])},scopes:e=>{const{normalize:t}=e;return t(["Access to the Spotify Web API enables scanning of your Spotify library. Required scopes are: "])},user:e=>{const{normalize:t}=e;return t(["Access granted for "])},authorize:e=>{const{normalize:t}=e;return t(["Authorize Web API access"])},credentials:e=>{const{normalize:t}=e;return t([" - Login with your Spotify username and password"])},"grant-access":e=>{const{normalize:t}=e;return t(["<b>Spotify Web API</b> - Grant access to the Spotify Web API"])},"help-1":e=>{const{normalize:t}=e;return t(["libspotify enables OwnTone to play Spotify tracks."])},"help-2":e=>{const{normalize:t}=e;return t(["OwnTone will not store your password, but will still be able to log you in automatically afterwards, because libspotify saves a login token."])},reauthorize:e=>{const{normalize:t}=e;return t(["Please reauthorize Web API access to grant OwnTone the following additional access rights: "])},title:e=>{const{normalize:t}=e;return t(["Spotify"])}},login:e=>{const{normalize:t}=e;return t(["Login"])},logout:e=>{const{normalize:t}=e;return t(["Logout"])}},tabs:{artwork:e=>{const{normalize:t}=e;return t(["Artwork"])},general:e=>{const{normalize:t}=e;return t(["General"])},"online-services":e=>{const{normalize:t}=e;return t(["Online Services"])},"remotes-and-outputs":e=>{const{normalize:t}=e;return t(["Remotes and Outputs"])}}},spotify:{album:{shuffle:e=>{const{normalize:t}=e;return t(["Shuffle"])},"track-count":e=>{const{normalize:t,interpolate:n,named:r}=e;return t([n(r("count"))," tracks"])}},artist:{"album-count":e=>{const{normalize:t,interpolate:n,named:r}=e;return t([n(r("count"))," albums"])},shuffle:e=>{const{normalize:t}=e;return t(["Shuffle"])}},browse:{"featured-playlists":e=>{const{normalize:t}=e;return t(["Featured Playlists"])},"new-releases":e=>{const{normalize:t}=e;return t(["New Releases"])},"show-more":e=>{const{normalize:t}=e;return t(["Show More"])}},playlist:{count:e=>{const{normalize:t,interpolate:n,named:r}=e;return t([n(r("count"))," tracks"])},shuffle:e=>{const{normalize:t}=e;return t(["Shuffle"])}},search:{albums:e=>{const{normalize:t}=e;return t(["Albums"])},artists:e=>{const{normalize:t}=e;return t(["Artists"])},"no-albums":e=>{const{normalize:t}=e;return t(["No albums found"])},"no-artists":e=>{const{normalize:t}=e;return t(["No artists found"])},"no-playlists":e=>{const{normalize:t}=e;return t(["No playlists found"])},"no-tracks":e=>{const{normalize:t}=e;return t(["No tracks found"])},playlists:e=>{const{normalize:t}=e;return t(["Playlists"])},"show-all-albums":e=>{const{normalize:t,interpolate:n,named:r}=e;return t(["Show all ",n(r("count"))," albums"])},"show-all-artists":e=>{const{normalize:t,interpolate:n,named:r}=e;return t(["Show all ",n(r("count"))," artists"])},"show-all-playlists":e=>{const{normalize:t,interpolate:n,named:r}=e;return t(["Show all ",n(r("count"))," playlists"])},"show-all-tracks":e=>{const{normalize:t,interpolate:n,named:r}=e;return t(["Show all ",n(r("count"))," tracks"])},tracks:e=>{const{normalize:t}=e;return t(["Tracks"])}}}},setting:{"not-saved":e=>{const{normalize:t}=e;return t([" (error saving setting)"])},saved:e=>{const{normalize:t}=e;return t([" (setting saved)"])}},server:{"connection-failed":e=>{const{normalize:t}=e;return t(["Failed to connect to OwnTone server"])},"missing-port":e=>{const{normalize:t}=e;return t(["Missing websocket port"])},"request-failed":e=>{const{normalize:t,interpolate:n,named:r}=e;return t(["Request failed (status: ",n(r("status"))," ",n(r("cause"))," ",n(r("url")),")"])},"queue-saved":e=>{const{normalize:t,interpolate:n,named:r}=e;return t(["Queue saved to playlist ",n(r("name"))])},"appended-tracks":e=>{const{normalize:t,interpolate:n,named:r}=e;return t([n(r("count"))," tracks appended to the queue"])},"empty-queue":e=>{const{normalize:t}=e;return t(["Queue is empty"])}},"group-by-list":{today:e=>{const{normalize:t}=e;return t(["Today"])},"last-week":e=>{const{normalize:t}=e;return t(["Last week"])},"last-month":e=>{const{normalize:t}=e;return t(["Last month"])}},filter:{mono:e=>{const{normalize:t}=e;return t(["mono"])},stereo:e=>{const{normalize:t}=e;return t(["stereo"])},channels:e=>{const{normalize:t,interpolate:n,named:r}=e;return t([n(r("count"))," channels"])}}},fr:{data:{kind:{file:e=>{const{normalize:t}=e;return t(["Fichier"])},url:e=>{const{normalize:t}=e;return t(["URL"])},spotify:e=>{const{normalize:t}=e;return t(["Spotify"])},pipe:e=>{const{normalize:t}=e;return t(["Flux"])}}},dialog:{cancel:e=>{const{normalize:t}=e;return t(["Annuler"])},add:{rss:{add:e=>{const{normalize:t}=e;return t(["Ajouter"])},cancel:e=>{const{normalize:t}=e;return t(["Annuler"])},help:e=>{const{normalize:t}=e;return t(["L\u2019ajout d\u2019un podcast inclut la cr\xE9ation d\u2019une liste de lecture RSS, qui permettra \xE0 OwnTone de g\xE9rer l\u2019abonnement au podcast."])},placeholder:e=>{const{normalize:t}=e;return t(["https://url-du-flux-rss"])},processing:e=>{const{normalize:t}=e;return t(["Traitement en cours\u2026"])},title:e=>{const{normalize:t}=e;return t(["Ajouter l\u2019URL du flux RSS du podcast"])}},stream:{add:e=>{const{normalize:t}=e;return t(["Ajouter"])},cancel:e=>{const{normalize:t}=e;return t(["Annuler"])},loading:e=>{const{normalize:t}=e;return t(["Chargement\u2026"])},placeholder:e=>{const{normalize:t}=e;return t(["https://url-du-flux"])},play:e=>{const{normalize:t}=e;return t(["Lire"])},title:e=>{const{normalize:t}=e;return t(["Ajouter l\u2019URL du flux"])}}},album:{"add-next":e=>{const{normalize:t}=e;return t(["Ajouter ensuite"])},add:e=>{const{normalize:t}=e;return t(["Ajouter"])},"added-on":e=>{const{normalize:t}=e;return t(["Ajout\xE9 le"])},artist:e=>{const{normalize:t}=e;return t(["Artiste de l\u2019album"])},duration:e=>{const{normalize:t}=e;return t(["Dur\xE9e"])},"mark-as-played":e=>{const{normalize:t}=e;return t(["Marquer comme lu"])},play:e=>{const{normalize:t}=e;return t(["Lire"])},"release-date":e=>{const{normalize:t}=e;return t(["Date de sortie"])},"remove-podcast":e=>{const{normalize:t}=e;return t(["Supprimer le podcast"])},tracks:e=>{const{normalize:t}=e;return t(["Pistes"])},type:e=>{const{normalize:t}=e;return t(["Type"])},year:e=>{const{normalize:t}=e;return t(["Ann\xE9e"])}},artist:{"add-next":e=>{const{normalize:t}=e;return t(["Ajouter ensuite"])},add:e=>{const{normalize:t}=e;return t(["Ajouter"])},"added-on":e=>{const{normalize:t}=e;return t(["Ajout\xE9 le"])},albums:e=>{const{normalize:t}=e;return t(["Albums"])},play:e=>{const{normalize:t}=e;return t(["Lire"])},tracks:e=>{const{normalize:t}=e;return t(["Pistes"])},type:e=>{const{normalize:t}=e;return t(["Type"])}},composer:{"add-next":e=>{const{normalize:t}=e;return t(["Ajouter ensuite"])},add:e=>{const{normalize:t}=e;return t(["Ajouter"])},albums:e=>{const{normalize:t}=e;return t(["Albums"])},duration:e=>{const{normalize:t}=e;return t(["Dur\xE9e"])},play:e=>{const{normalize:t}=e;return t(["Lire"])},tracks:e=>{const{normalize:t}=e;return t(["Pistes"])}},directory:{"add-next":e=>{const{normalize:t}=e;return t(["Ajouter ensuite"])},add:e=>{const{normalize:t}=e;return t(["Ajouter"])},play:e=>{const{normalize:t}=e;return t(["Lire"])}},genre:{"add-next":e=>{const{normalize:t}=e;return t(["Ajouter ensuite"])},add:e=>{const{normalize:t}=e;return t(["Ajouter"])},albums:e=>{const{normalize:t}=e;return t(["Albums"])},duration:e=>{const{normalize:t}=e;return t(["Dur\xE9e"])},play:e=>{const{normalize:t}=e;return t(["Lire"])},tracks:e=>{const{normalize:t}=e;return t(["Pistes"])}},playlist:{"add-next":e=>{const{normalize:t}=e;return t(["Ajouter ensuite"])},add:e=>{const{normalize:t}=e;return t(["Ajouter"])},play:e=>{const{normalize:t}=e;return t(["Lire"])},"track-count":e=>{const{normalize:t}=e;return t(["Pistes"])},type:e=>{const{normalize:t}=e;return t(["Type"])},save:{cancel:e=>{const{normalize:t}=e;return t(["Annuler"])},save:e=>{const{normalize:t}=e;return t(["Enregistrer"])},saving:e=>{const{normalize:t}=e;return t(["Enregistrement en cours\u2026"])},title:e=>{const{normalize:t}=e;return t(["Enregistrer la file d\u2019attente dans une liste de lecture"])}}},"queue-item":{"album-artist":e=>{const{normalize:t}=e;return t(["Artiste de l\u2019album"])},album:e=>{const{normalize:t}=e;return t(["Album"])},bitrate:e=>{const{normalize:t,interpolate:n,named:r}=e;return t([" ","|"," ",n(r("rate"))," kbit/s"])},channels:e=>{const{normalize:t,interpolate:n,named:r}=e;return t([" ","|"," ",n(r("channels"))])},composer:e=>{const{normalize:t}=e;return t(["Compositeur"])},duration:e=>{const{normalize:t}=e;return t(["Dur\xE9e"])},genre:e=>{const{normalize:t}=e;return t(["Genre"])},path:e=>{const{normalize:t}=e;return t(["Emplacement"])},play:e=>{const{normalize:t}=e;return t(["Lire"])},position:e=>{const{normalize:t}=e;return t(["Disque / Piste"])},quality:e=>{const{normalize:t}=e;return t(["Qualit\xE9"])},remove:e=>{const{normalize:t}=e;return t(["Supprimer"])},samplerate:e=>{const{normalize:t,interpolate:n,named:r}=e;return t([" ","|"," ",n(r("rate"))," Hz"])},"spotify-album":e=>{const{normalize:t}=e;return t(["album"])},"spotify-artist":e=>{const{normalize:t}=e;return t(["artiste"])},type:e=>{const{normalize:t}=e;return t(["Type"])},year:e=>{const{normalize:t}=e;return t(["Ann\xE9e"])}},"remote-pairing":{cancel:e=>{const{normalize:t}=e;return t(["Annuler"])},pair:e=>{const{normalize:t}=e;return t(["Jumeler la t\xE9l\xE9commande"])},title:e=>{const{normalize:t}=e;return t(["Demande de jumelage de t\xE9l\xE9commande"])}},spotify:{album:{"add-next":e=>{const{normalize:t}=e;return t(["Ajouter ensuite"])},add:e=>{const{normalize:t}=e;return t(["Ajouter"])},"album-artist":e=>{const{normalize:t}=e;return t(["Artiste de l\u2019album"])},play:e=>{const{normalize:t}=e;return t(["Lire"])},"release-date":e=>{const{normalize:t}=e;return t(["Date de sortie"])},type:e=>{const{normalize:t}=e;return t(["Type"])}},artist:{"add-next":e=>{const{normalize:t}=e;return t(["Ajouter ensuite"])},add:e=>{const{normalize:t}=e;return t(["Ajouter"])},genres:e=>{const{normalize:t}=e;return t(["Genres"])},play:e=>{const{normalize:t}=e;return t(["Lire"])},popularity:e=>{const{normalize:t}=e;return t(["Popularit\xE9 / Abonnements"])}},playlist:{"add-next":e=>{const{normalize:t}=e;return t(["Ajouter ensuite"])},add:e=>{const{normalize:t}=e;return t(["Ajouter"])},owner:e=>{const{normalize:t}=e;return t(["Propri\xE9taire"])},path:e=>{const{normalize:t}=e;return t(["Emplacement"])},play:e=>{const{normalize:t}=e;return t(["Lire"])},tracks:e=>{const{normalize:t}=e;return t(["Pistes"])}},track:{"add-next":e=>{const{normalize:t}=e;return t(["Ajouter ensuite"])},add:e=>{const{normalize:t}=e;return t(["Ajouter"])},"album-artist":e=>{const{normalize:t}=e;return t(["Artiste de l\u2019album"])},album:e=>{const{normalize:t}=e;return t(["Album"])},duration:e=>{const{normalize:t}=e;return t(["Dur\xE9e"])},path:e=>{const{normalize:t}=e;return t(["Emplacement"])},play:e=>{const{normalize:t}=e;return t(["Lire"])},position:e=>{const{normalize:t}=e;return t(["Disque / Piste"])},"release-date":e=>{const{normalize:t}=e;return t(["Date de sortie"])}}},track:{"add-next":e=>{const{normalize:t}=e;return t(["Ajouter ensuite"])},add:e=>{const{normalize:t}=e;return t(["Ajouter"])},"added-on":e=>{const{normalize:t}=e;return t(["Ajout\xE9 le"])},"album-artist":e=>{const{normalize:t}=e;return t(["Artiste de l\u2019album"])},album:e=>{const{normalize:t}=e;return t(["Album"])},bitrate:e=>{const{normalize:t,interpolate:n,named:r}=e;return t([" ","|"," ",n(r("rate"))," kbit/s"])},channels:e=>{const{normalize:t,interpolate:n,named:r}=e;return t([" ","|"," ",n(r("channels"))])},comment:e=>{const{normalize:t}=e;return t(["Commentaire"])},composer:e=>{const{normalize:t}=e;return t(["Compositeur"])},duration:e=>{const{normalize:t}=e;return t(["Dur\xE9e"])},genre:e=>{const{normalize:t}=e;return t(["Genre"])},"mark-as-new":e=>{const{normalize:t}=e;return t(["Marquer comme nouveau"])},"mark-as-played":e=>{const{normalize:t}=e;return t(["Marquer comme lu"])},path:e=>{const{normalize:t}=e;return t(["Emplacement"])},play:e=>{const{normalize:t}=e;return t(["Lire"])},position:e=>{const{normalize:t}=e;return t(["Disque / Piste"])},quality:e=>{const{normalize:t}=e;return t(["Qualit\xE9"])},"rating-value":e=>{const{normalize:t,interpolate:n,named:r}=e;return t([n(r("rating"))," / 10"])},rating:e=>{const{normalize:t}=e;return t(["Classement"])},"release-date":e=>{const{normalize:t}=e;return t(["Date de sortie"])},samplerate:e=>{const{normalize:t,interpolate:n,named:r}=e;return t([" ","|"," ",n(r("rate"))," Hz"])},"spotify-album":e=>{const{normalize:t}=e;return t(["album"])},"spotify-artist":e=>{const{normalize:t}=e;return t(["artiste"])},type:e=>{const{normalize:t}=e;return t(["Type"])},year:e=>{const{normalize:t}=e;return t(["Ann\xE9e"])}},update:{all:e=>{const{normalize:t}=e;return t(["Tout actualiser"])},cancel:e=>{const{normalize:t}=e;return t(["Annuler"])},feeds:e=>{const{normalize:t}=e;return t(["Actualiser uniquement les flux RSS"])},info:e=>{const{normalize:t}=e;return t(["Recherche les fichiers ajout\xE9s, supprim\xE9s et modifi\xE9s"])},local:e=>{const{normalize:t}=e;return t(["Actualiser uniquement la biblioth\xE8que locale"])},progress:e=>{const{normalize:t}=e;return t(["Actualisation de la biblioth\xE8que en cours\u2026"])},"rescan-metadata":e=>{const{normalize:t}=e;return t(["Analyser les m\xE9tadonn\xE9es des fichiers non modifi\xE9s"])},rescan:e=>{const{normalize:t}=e;return t(["Analyser"])},spotify:e=>{const{normalize:t}=e;return t(["Actualiser uniquement Spotify"])},title:e=>{const{normalize:t}=e;return t(["Actualisation de la biblioth\xE8que"])}}},language:{de:e=>{const{normalize:t}=e;return t(["Allemand (Deutsch)"])},en:e=>{const{normalize:t}=e;return t(["Anglais (English)"])},fr:e=>{const{normalize:t}=e;return t(["Fran\xE7ais"])}},list:{albums:{"info-1":e=>{const{normalize:t}=e;return t(["Supprimer d\xE9finitivement ce podcast de votre biblioth\xE8que\xA0?"])},"info-2":e=>{const{normalize:t}=e;return t(["Cela supprimera \xE9galement la liste de lecture RSS "])},remove:e=>{const{normalize:t}=e;return t(["Supprimer"])},"remove-podcast":e=>{const{normalize:t}=e;return t(["Supprimer le podcast"])}},spotify:{"not-playable-track":e=>{const{normalize:t}=e;return t(["La piste ne peut pas \xEAtre lue"])},"restriction-reason":e=>{const{normalize:t,interpolate:n,named:r}=e;return t([", raison de la restriction\xA0: ",n(r("reason"))])}}},media:{kind:{album:e=>{const{normalize:t}=e;return t(["Album"])},audiobook:e=>{const{normalize:t}=e;return t(["Livre audio"])},music:e=>{const{normalize:t}=e;return t(["Musique"])},podcast:e=>{const{normalize:t}=e;return t(["Podcast"])}}},navigation:{about:e=>{const{normalize:t}=e;return t(["\xC0 propos"])},albums:e=>{const{normalize:t}=e;return t(["Albums"])},artists:e=>{const{normalize:t}=e;return t(["Artistes"])},audiobooks:e=>{const{normalize:t}=e;return t(["Livres audio"])},"now-playing":e=>{const{normalize:t,interpolate:n,named:r}=e;return t([" - ",n(r("album"))])},"stream-error":e=>{const{normalize:t}=e;return t(["Erreur du flux HTTP\xA0: \xE9chec du chargement du flux ou arr\xEAt du chargement en raison d\u2019un probl\xE8me r\xE9seau"])},stream:e=>{const{normalize:t}=e;return t(["Flux HTTP"])},volume:e=>{const{normalize:t}=e;return t(["Volume"])},files:e=>{const{normalize:t}=e;return t(["Fichiers"])},genres:e=>{const{normalize:t}=e;return t(["Genres"])},music:e=>{const{normalize:t}=e;return t(["Musique"])},playlists:e=>{const{normalize:t}=e;return t(["Listes de lecture"])},podcasts:e=>{const{normalize:t}=e;return t(["Podcasts"])},radio:e=>{const{normalize:t}=e;return t(["Radio"])},search:e=>{const{normalize:t}=e;return t(["Recherche"])},settings:e=>{const{normalize:t}=e;return t(["R\xE9glages"])},spotify:e=>{const{normalize:t}=e;return t(["Spotify"])},title:e=>{const{normalize:t}=e;return t(["OwnTone"])},"update-library":e=>{const{normalize:t}=e;return t(["Actualiser la biblioth\xE8que"])}},page:{about:{albums:e=>{const{normalize:t}=e;return t(["Albums"])},artists:e=>{const{normalize:t}=e;return t(["Artistes"])},"built-with":e=>{const{normalize:t}=e;return t(['Interface utilisateur construite avec <a href="https://bulma.io">Bulma</a>, <a href="https://materialdesignicons.com/">Material Design Icons</a>, <a href="https://vuejs.org/">Vue.js</a>, <a href="https://github.com/mzabriskie/axios">axios</a> et <a href="https://github.com/owntone/owntone-server/network/dependencies">plus</a>.'])},"compiled-with":e=>{const{normalize:t,interpolate:n,named:r}=e;return t(["Compil\xE9 avec les options ",n(r("options")),"."])},library:e=>{const{normalize:t}=e;return t(["Biblioth\xE8que"])},"total-playtime":e=>{const{normalize:t}=e;return t(["Dur\xE9e totale de lecture"])},tracks:e=>{const{normalize:t}=e;return t(["Pistes"])},update:e=>{const{normalize:t}=e;return t(["Actualiser"])},"updated-on":e=>{const{normalize:t,interpolate:n,named:r}=e;return t(["il y a ",n(r("time"))])},updated:e=>{const{normalize:t}=e;return t(["Mis \xE0 jour"])},uptime:e=>{const{normalize:t}=e;return t(["Temps de fonctionnement"])},name:e=>{const{normalize:t,interpolate:n,named:r}=e;return t(["Version ",n(r("version"))])}},album:{shuffle:e=>{const{normalize:t}=e;return t(["Lecture al\xE9atoire"])},"track-count":e=>{const{normalize:t,interpolate:n,named:r}=e;return t([n(r("count"))," pistes"])}},albums:{count:e=>{const{normalize:t,interpolate:n,named:r}=e;return t([n(r("count"))," albums"])},filter:e=>{const{normalize:t}=e;return t(["Filtre"])},"hide-singles-help":e=>{const{normalize:t}=e;return t(["Si actif, masque les singles et les albums dont les pistes n\u2019apparaissent que dans les listes de lecture."])},"hide-singles":e=>{const{normalize:t}=e;return t(["Masquer les singles"])},"hide-spotify-help":e=>{const{normalize:t}=e;return t(["Si actif, masque les albums qui n\u2019apparaissent que dans votre biblioth\xE8que Spotify."])},"hide-spotify":e=>{const{normalize:t}=e;return t(["Masquer les albums de Spotify"])},title:e=>{const{normalize:t}=e;return t(["Albums"])},"sort-by":{title:e=>{const{normalize:t}=e;return t(["Trier par"])},name:e=>{const{normalize:t}=e;return t(["Nom"])},"recently-added":e=>{const{normalize:t}=e;return t(["Ajouts r\xE9cents"])},"recently-released":e=>{const{normalize:t}=e;return t(["Sorties r\xE9centes"])}}},artist:{"album-count":e=>{const{normalize:t,interpolate:n,named:r}=e;return t([n(r("count"))," albums"])},shuffle:e=>{const{normalize:t}=e;return t(["Lecture al\xE9atoire"])},"track-count":e=>{const{normalize:t,interpolate:n,named:r}=e;return t([n(r("count"))," pistes"])},"sort-by":{title:e=>{const{normalize:t}=e;return t(["Trier par"])},name:e=>{const{normalize:t}=e;return t(["Nom"])},rating:e=>{const{normalize:t}=e;return t(["Classement"])},"release-date":e=>{const{normalize:t}=e;return t(["Date de sortie"])}}},artists:{count:e=>{const{normalize:t,interpolate:n,named:r}=e;return t([n(r("count"))," artists"])},filter:e=>{const{normalize:t}=e;return t(["Filtre"])},"sort-by":{title:e=>{const{normalize:t}=e;return t(["Trier par"])},name:e=>{const{normalize:t}=e;return t(["Nom"])},"recently-added":e=>{const{normalize:t}=e;return t(["Ajouts r\xE9cents"])}},"hide-singles-help":e=>{const{normalize:t}=e;return t(["Si actif, masque les artistes qui n\u2019apparaissent que dans des singles ou des listes de lecture."])},"hide-singles":e=>{const{normalize:t}=e;return t(["Masquer les singles"])},"hide-spotify-help":e=>{const{normalize:t}=e;return t(["Si actif, masque les artistes qui n\u2019apparaissent que dans votre biblioth\xE8que Spotify."])},"hide-spotify":e=>{const{normalize:t}=e;return t(["Masquer les artistes de Spotify"])},title:e=>{const{normalize:t}=e;return t(["Artistes"])}},audiobooks:{album:{play:e=>{const{normalize:t}=e;return t(["Lire"])},"track-count":e=>{const{normalize:t,interpolate:n,named:r}=e;return t([n(r("count"))," pistes"])}},albums:{count:e=>{const{normalize:t,interpolate:n,named:r}=e;return t([n(r("count"))," livres audio"])},title:e=>{const{normalize:t}=e;return t(["Livres audio"])}},artist:{"album-count":e=>{const{normalize:t,interpolate:n,named:r}=e;return t([n(r("count"))," albums"])},play:e=>{const{normalize:t}=e;return t(["Lire"])}},artists:{count:e=>{const{normalize:t,interpolate:n,named:r}=e;return t([n(r("count"))," auteurs"])},title:e=>{const{normalize:t}=e;return t(["Auteurs"])}},tabs:{authors:e=>{const{normalize:t}=e;return t(["Auteurs"])},audiobooks:e=>{const{normalize:t}=e;return t(["Livres audio"])}}},browse:{albums:e=>{const{normalize:t}=e;return t(["albums"])},"show-more":e=>{const{normalize:t}=e;return t(["Afficher plus"])},tracks:e=>{const{normalize:t}=e;return t(["pistes"])},"recently-added":{albums:e=>{const{normalize:t}=e;return t(["albums"])},title:e=>{const{normalize:t}=e;return t(["Ajouts r\xE9cents"])}},"recently-played":{title:e=>{const{normalize:t}=e;return t(["Lectures r\xE9centes"])},tracks:e=>{const{normalize:t}=e;return t(["pistes"])}},tabs:{albums:e=>{const{normalize:t}=e;return t(["Albums"])},artists:e=>{const{normalize:t}=e;return t(["Artistes"])},browse:e=>{const{normalize:t}=e;return t(["Parcourir"])},composers:e=>{const{normalize:t}=e;return t(["Compositeurs"])},genres:e=>{const{normalize:t}=e;return t(["Genres"])},spotify:e=>{const{normalize:t}=e;return t(["Spotify"])}}},composer:{"album-count":e=>{const{normalize:t,interpolate:n,named:r}=e;return t([n(r("count"))," albums"])},shuffle:e=>{const{normalize:t}=e;return t(["Lecture al\xE9atoire"])},"track-count":e=>{const{normalize:t,interpolate:n,named:r}=e;return t([n(r("count"))," pistes"])},"sort-by":{title:e=>{const{normalize:t}=e;return t(["Trier par"])},name:e=>{const{normalize:t}=e;return t(["Nom"])},rating:e=>{const{normalize:t}=e;return t(["Classement"])}}},composers:{count:e=>{const{normalize:t,interpolate:n,named:r}=e;return t([n(r("count"))," compositeurs"])},title:e=>{const{normalize:t}=e;return t(["Compositeurs"])}},files:{play:e=>{const{normalize:t}=e;return t(["Lire"])},title:e=>{const{normalize:t}=e;return t(["Fichiers"])}},genre:{"album-count":e=>{const{normalize:t,interpolate:n,named:r}=e;return t([n(r("count"))," albums"])},shuffle:e=>{const{normalize:t}=e;return t(["Lecture al\xE9atoire"])},"track-count":e=>{const{normalize:t,interpolate:n,named:r}=e;return t([n(r("count"))," pistes"])},"sort-by":{title:e=>{const{normalize:t}=e;return t(["Trier par"])},name:e=>{const{normalize:t}=e;return t(["Nom"])},rating:e=>{const{normalize:t}=e;return t(["Classement"])}}},genres:{count:e=>{const{normalize:t,interpolate:n,named:r}=e;return t([n(r("count"))," genres"])},title:e=>{const{normalize:t}=e;return t(["Genres"])}},"now-playing":{info:e=>{const{normalize:t}=e;return t(["Ajoutez des pistes en parcourant votre biblioth\xE8que"])},title:e=>{const{normalize:t}=e;return t(["La file d\u2019attente est vide"])}},playlist:{length:e=>{const{normalize:t,interpolate:n,named:r}=e;return t([n(r("length"))," pistes"])},shuffle:e=>{const{normalize:t}=e;return t(["Lecture al\xE9atoire"])},"track-count":e=>{const{normalize:t,interpolate:n,named:r}=e;return t([n(r("count"))," pistes"])}},playlists:{count:e=>{const{normalize:t,interpolate:n,named:r}=e;return t([n(r("count"))," listes de lecture"])}},podcast:{play:e=>{const{normalize:t}=e;return t(["Lire"])},remove:e=>{const{normalize:t}=e;return t(["Supprimer"])},"remove-info-1":e=>{const{normalize:t}=e;return t(["Supprimer ce podcast de mani\xE8re permanente de la biblioth\xE8que\xA0?"])},"remove-info-2":e=>{const{normalize:t}=e;return t(["Cela supprimera \xE9galement la liste de lecture RSS "])},"remove-podcast":e=>{const{normalize:t}=e;return t(["Supprimer le podcast"])},"track-count":e=>{const{normalize:t,interpolate:n,named:r}=e;return t([n(r("count"))," pistes"])}},podcasts:{add:e=>{const{normalize:t}=e;return t(["Ajouter"])},count:e=>{const{normalize:t,interpolate:n,named:r}=e;return t([n(r("count"))," podcasts"])},"mark-all-played":e=>{const{normalize:t}=e;return t(["Marquer comme lus"])},"new-episodes":e=>{const{normalize:t}=e;return t(["Nouveaux \xE9pisodes"])},title:e=>{const{normalize:t}=e;return t(["Podcasts"])},update:e=>{const{normalize:t}=e;return t(["Actualiser"])}},queue:{"add-stream":e=>{const{normalize:t}=e;return t(["Ajouter un flux"])},clear:e=>{const{normalize:t}=e;return t(["Effacer"])},count:e=>{const{normalize:t,interpolate:n,named:r}=e;return t([n(r("count"))," pistes"])},edit:e=>{const{normalize:t}=e;return t(["\xC9diter"])},"hide-previous":e=>{const{normalize:t}=e;return t(["Masquer l\u2019historique"])},queue:e=>{const{normalize:t}=e;return t(["File d\u2019attente"])},save:e=>{const{normalize:t}=e;return t(["Enregistrer"])}},radio:{count:e=>{const{normalize:t,interpolate:n,named:r}=e;return t([n(r("count"))," stations"])},title:e=>{const{normalize:t}=e;return t(["Radio"])}},search:{albums:e=>{const{normalize:t}=e;return t(["Albums"])},artists:e=>{const{normalize:t}=e;return t(["Artistes"])},audiobooks:e=>{const{normalize:t}=e;return t(["Livres audio"])},composers:e=>{const{normalize:t}=e;return t(["Compositeurs"])},help:e=>{const{normalize:t}=e;return t(['Astuce\xA0: en pr\xE9fixant votre requ\xEAte avec <code>query:</code>, vous pouvez effectuer une recherche avec une <a href="https://owntone.github.io/owntone-server/smart-playlists/" target="_blank">expression</a> du langage de requ\xEAte de liste de lecture intelligente.'])},"no-albums":e=>{const{normalize:t}=e;return t(["Aucun album trouv\xE9"])},"no-artists":e=>{const{normalize:t}=e;return t(["Aucun artiste trouv\xE9"])},"no-audiobooks":e=>{const{normalize:t}=e;return t(["Aucun livre audio trouv\xE9"])},"no-composers":e=>{const{normalize:t}=e;return t(["Aucun compositeur trouv\xE9"])},"no-playlists":e=>{const{normalize:t}=e;return t(["Aucune liste de lecture trouv\xE9e"])},"no-podcasts":e=>{const{normalize:t}=e;return t(["Aucune podcast trouv\xE9"])},"no-tracks":e=>{const{normalize:t}=e;return t(["Aucune piste trouv\xE9e"])},playlists:e=>{const{normalize:t}=e;return t(["Listes de lecture"])},podcasts:e=>{const{normalize:t}=e;return t(["Podcasts"])},"show-albums":e=>{const{normalize:t,interpolate:n,named:r}=e;return t(["Afficher les ",n(r("count"))," albums"])},"show-artists":e=>{const{normalize:t,interpolate:n,named:r}=e;return t(["Afficher les ",n(r("count"))," artistes"])},"show-audiobooks":e=>{const{normalize:t,interpolate:n,named:r}=e;return t(["Afficher les ",n(r("count"))," livres audio"])},"show-composers":e=>{const{normalize:t,interpolate:n,named:r}=e;return t(["Afficher les ",n(r("count"))," compositeurs"])},"show-playlists":e=>{const{normalize:t,interpolate:n,named:r}=e;return t(["Afficher les ",n(r("count"))," listes de lecture"])},"show-podcasts":e=>{const{normalize:t,interpolate:n,named:r}=e;return t(["Afficher les ",n(r("count"))," podcasts"])},"show-tracks":e=>{const{normalize:t,interpolate:n,named:r}=e;return t(["Afficher les ",n(r("count"))," pistes"])},tracks:e=>{const{normalize:t}=e;return t(["Pistes"])},tabs:{library:e=>{const{normalize:t}=e;return t(["Biblioth\xE8que"])},spotify:e=>{const{normalize:t}=e;return t(["Spotify"])}}},settings:{artwork:{artwork:e=>{const{normalize:t}=e;return t(["Illustrations"])},coverartarchive:e=>{const{normalize:t}=e;return t(["Cover Art Archive"])},discogs:e=>{const{normalize:t}=e;return t(["Discogs"])},"explanation-1":e=>{const{normalize:t}=e;return t(["Prend en charge les illustrations au format PNG et JPEG qui sont soit plac\xE9es dans la biblioth\xE8que en tant que fichiers image s\xE9par\xE9s, soit int\xE9gr\xE9es dans les fichiers m\xE9dia, soit mises \xE0 disposition en ligne par les stations de radio."])},"explanation-2":e=>{const{normalize:t}=e;return t(["En outre, vous pouvez activer la r\xE9cup\xE9ration des illustrations \xE0 partir des fournisseurs d\u2019illustrations suivants\xA0:"])},spotify:e=>{const{normalize:t}=e;return t(["Spotify"])}},devices:{"no-active-pairing":e=>{const{normalize:t}=e;return t(["Aucune demande de jumelage active."])},"pairing-request":e=>{const{normalize:t}=e;return t(["Demande de jumelage de t\xE9l\xE9commande "])},pairing:e=>{const{normalize:t}=e;return t(["Jumelage de t\xE9l\xE9commande"])},send:e=>{const{normalize:t}=e;return t(["Envoyer"])},"speaker-pairing-info":e=>{const{normalize:t}=e;return t(["Si votre enceinte n\xE9cessite un jumelage, activez-la ci-dessous et entrez le code PIN qu\u2019elle affiche."])},"speaker-pairing":e=>{const{normalize:t}=e;return t(["Jumelage d\u2019enceinte et v\xE9rification d\u2019appareil"])},"verification-code":e=>{const{normalize:t}=e;return t(["Code de v\xE9rification"])},verify:e=>{const{normalize:t}=e;return t(["V\xE9rifier"])}},general:{"album-lists":e=>{const{normalize:t}=e;return t(["Listes d\u2019album"])},audiobooks:e=>{const{normalize:t}=e;return t(["Livres audio"])},files:e=>{const{normalize:t}=e;return t(["Fichiers audio"])},language:e=>{const{normalize:t}=e;return t(["Langue"])},music:e=>{const{normalize:t}=e;return t(["Musique"])},"navigation-item-selection-info":e=>{const{normalize:t}=e;return t(["Si vous s\xE9lectionnez plus d\u2019\xE9l\xE9ments que ce qui peut \xEAtre affich\xE9 sur votre \xE9cran, le menu dispara\xEEtra."])},"navigation-item-selection":e=>{const{normalize:t}=e;return t(["S\xE9lectionnez les \xE9l\xE9ments de la barre de navigation sup\xE9rieure"])},"navigation-items":e=>{const{normalize:t}=e;return t(["Barre de navigation"])},"now-playing-page":e=>{const{normalize:t}=e;return t(["Page \xAB\xA0En cours de lecture\xA0\xBB"])},playlists:e=>{const{normalize:t}=e;return t(["Listes de lecture"])},podcasts:e=>{const{normalize:t}=e;return t(["Podcasts"])},radio:e=>{const{normalize:t}=e;return t(["Radio"])},"recently-added-page-info":e=>{const{normalize:t}=e;return t(["Limiter le nombre d\u2019album affich\xE9s dans la section \xAB\xA0Ajouts r\xE9cents\xA0\xBB"])},"recently-added-page":e=>{const{normalize:t}=e;return t(["Page \xAB\xA0Ajouts r\xE9cents\xA0\xBB"])},search:e=>{const{normalize:t}=e;return t(["Search"])},"show-composer-genres-info-1":e=>{const{normalize:t}=e;return t(["Liste des genres, s\xE9par\xE9s par des virgules, que le compositeur doit afficher sur la page \xAB\xA0En cours de lecture\xA0\xBB."])},"show-composer-genres-info-2":e=>{const{normalize:t}=e;return t(["Laissez vide pour toujours afficher le compositeur."])},"show-composer-genres-info-3":e=>{const{normalize:t}=e;return t(['L\u2019\xE9tiquette de genre de la piste actuelle est compar\xE9e en v\xE9rifiant si l\u2019un des genres d\xE9finis est inclus. Par exemple, en choisissant "classique, bande sonore", le compositeur pour les pistes dont l\u2019\xE9tiquette de genre est "classique contemporain" sera affich\xE9.'])},"show-composer-genres":e=>{const{normalize:t}=e;return t(["Afficher le compositeur uniquement pour les genres list\xE9s"])},"show-composer-info":e=>{const{normalize:t}=e;return t(["Si actif, le compositeur de la piste en cours de lecture est affich\xE9 sur la page \xAB\xA0En cours de lecture\xA0\xBB"])},"show-composer":e=>{const{normalize:t}=e;return t(["Afficher le compositeur"])},"show-coverart":e=>{const{normalize:t}=e;return t(["Afficher les illustration dans la liste d\u2019albums"])},"show-path":e=>{const{normalize:t}=e;return t(["Afficher le chemin du fichier sur la page \xAB\xA0En cours de lecture\xA0\xBB"])}},services:{lastfm:{"grant-access":e=>{const{normalize:t}=e;return t(["<b>Last.fm</b> - Connectez-vous avec votre nom d\u2019utilisateur et votre mot de passe Last.fm pour activer le scrobbling."])},info:e=>{const{normalize:t}=e;return t(["Le nom d\u2019utilisateur et le mot de passe Last.fm ne sont pas enregistr\xE9s, uniquement la cl\xE9 de session. La cl\xE9 de session n\u2019expire pas."])},title:e=>{const{normalize:t}=e;return t(["Last.fm"])},"no-support":e=>{const{normalize:t}=e;return t(["L\u2019option Last.fm n\u2019est pas pr\xE9sente."])},"stop-scrobbling":e=>{const{normalize:t}=e;return t(["Arr\xEAter le scrobbling"])}},spotify:{"no-support":e=>{const{normalize:t}=e;return t(["L\u2019option Spotify n\u2019est pas pr\xE9sente."])},"logged-as":e=>{const{normalize:t}=e;return t(["Connect\xE9 en tant que "])},requirements:e=>{const{normalize:t}=e;return t(["Vous devez poss\xE9der un compte Spotify Premium."])},scopes:e=>{const{normalize:t}=e;return t(["L\u2019acc\xE8s \xE0 l\u2019API de Spotify permet l\u2019analyse de votre biblioth\xE8que Spotify. Les champs d\u2019application requis sont les suivants\xA0:"])},user:e=>{const{normalize:t}=e;return t(["Acc\xE8s autoris\xE9 pour "])},authorize:e=>{const{normalize:t}=e;return t(["Autoriser l\u2019acc\xE8s \xE0 l\u2019API"])},credentials:e=>{const{normalize:t}=e;return t([" - Connectez-vous avec votre nom d\u2019utilisateur et mot de passe Spotify"])},"grant-access":e=>{const{normalize:t}=e;return t(["<b>Spotify</b> - Accordez l\u2019acc\xE8s \xE0 l\u2019API de Spotify"])},"help-1":e=>{const{normalize:t}=e;return t(["La biblioth\xE8que libspotify permet de lire les pistes de Spotify."])},"help-2":e=>{const{normalize:t}=e;return t(["Votre nom d\u2019utilisateur et votre mot de passe Spotify ne sont pas enregistr\xE9s, uniquement le jeton de connexion."])},reauthorize:e=>{const{normalize:t}=e;return t(["Veuillez autoriser \xE0 nouveau l\u2019acc\xE8s \xE0 l\u2019API pour accorder \xE0 OwnTone les droits d\u2019acc\xE8s suppl\xE9mentaires suivants\xA0:"])},title:e=>{const{normalize:t}=e;return t(["Spotify"])}},login:e=>{const{normalize:t}=e;return t(["Se connecter"])},logout:e=>{const{normalize:t}=e;return t(["Se d\xE9connecter"])}},tabs:{artwork:e=>{const{normalize:t}=e;return t(["Illustrations"])},general:e=>{const{normalize:t}=e;return t(["G\xE9n\xE9ral"])},"online-services":e=>{const{normalize:t}=e;return t(["Services en ligne"])},"remotes-and-outputs":e=>{const{normalize:t}=e;return t(["T\xE9l\xE9commandes et sorties"])}}},spotify:{album:{shuffle:e=>{const{normalize:t}=e;return t(["Lecture al\xE9atoire"])},"track-count":e=>{const{normalize:t,interpolate:n,named:r}=e;return t([n(r("count"))," pistes"])}},artist:{"album-count":e=>{const{normalize:t,interpolate:n,named:r}=e;return t([n(r("count"))," albums"])},shuffle:e=>{const{normalize:t}=e;return t(["Lecture al\xE9atoire"])}},browse:{"featured-playlists":e=>{const{normalize:t}=e;return t(["Listes de lecture en vedette"])},"new-releases":e=>{const{normalize:t}=e;return t(["Nouvelle sorties"])},"show-more":e=>{const{normalize:t}=e;return t(["Afficher plus"])}},playlist:{count:e=>{const{normalize:t,interpolate:n,named:r}=e;return t([n(r("count"))," pistes"])},shuffle:e=>{const{normalize:t}=e;return t(["Lecture al\xE9atoire"])}},search:{albums:e=>{const{normalize:t}=e;return t(["Albums"])},artists:e=>{const{normalize:t}=e;return t(["Artistes"])},"no-albums":e=>{const{normalize:t}=e;return t(["Aucun album trouv\xE9"])},"no-artists":e=>{const{normalize:t}=e;return t(["Aucun artiste trouv\xE9"])},"no-playlists":e=>{const{normalize:t}=e;return t(["Aucune liste de lecture trouv\xE9e"])},"no-tracks":e=>{const{normalize:t}=e;return t(["Aucune piste trouv\xE9e"])},playlists:e=>{const{normalize:t}=e;return t(["Listes de lecture"])},"show-all-albums":e=>{const{normalize:t,interpolate:n,named:r}=e;return t(["Afficher les ",n(r("count"))," albums"])},"show-all-artists":e=>{const{normalize:t,interpolate:n,named:r}=e;return t(["Afficher les ",n(r("count"))," artistes"])},"show-all-playlists":e=>{const{normalize:t,interpolate:n,named:r}=e;return t(["Afficher les ",n(r("count"))," listes de lecture"])},"show-all-tracks":e=>{const{normalize:t,interpolate:n,named:r}=e;return t(["Afficher les ",n(r("count"))," pistes"])},tracks:e=>{const{normalize:t}=e;return t(["Pistes"])}}}},setting:{"not-saved":e=>{const{normalize:t}=e;return t([" (erreur \xE0 l\u2019enregistrement du r\xE9glage)"])},saved:e=>{const{normalize:t}=e;return t([" (r\xE9glage enregistr\xE9)"])}},server:{"connection-failed":e=>{const{normalize:t}=e;return t(["\xC9chec de connexion au serveur"])},"missing-port":e=>{const{normalize:t}=e;return t(["Port websocket manquant"])},"request-failed":e=>{const{normalize:t,interpolate:n,named:r}=e;return t(["La requ\xEAte a \xE9chou\xE9 (status: ",n(r("status"))," ",n(r("cause"))," ",n(r("url")),")"])},"queue-saved":e=>{const{normalize:t,interpolate:n,named:r}=e;return t(["La file d\u2019attente enregistr\xE9e dans la liste de lecture ",n(r("name"))])},"appended-tracks":e=>{const{normalize:t,interpolate:n,named:r}=e;return t([n(r("count"))," pistes ajout\xE9es \xE0 la file d\u2019attente"])},"empty-queue":e=>{const{normalize:t}=e;return t(["La file d\u2019attente est vide"])}},"group-by-list":{today:e=>{const{normalize:t}=e;return t(["Aujourd\u2019hui"])},"last-week":e=>{const{normalize:t}=e;return t(["La semaine derni\xE8re"])},"last-month":e=>{const{normalize:t}=e;return t(["Le mois dernier"])}},filter:{mono:e=>{const{normalize:t}=e;return t(["mono"])},stereo:e=>{const{normalize:t}=e;return t(["st\xE9r\xE9o"])},channels:e=>{const{normalize:t,interpolate:n,named:r}=e;return t([n(r("count"))," canaux"])}}}},Gi=cx({legacy:!1,globalInjection:!0,availableLocales:"fr",locale:navigator.language,fallbackLocale:"en",fallbackWarn:!1,missingWarn:!1,messages:_x});/*!
|
|
* vuex v4.0.2
|
|
* (c) 2021 Evan You
|
|
* @license MIT
|
|
*/var gx="store";function Ts(e,t){Object.keys(e).forEach(function(n){return t(e[n],n)})}function yx(e){return e!==null&&typeof e=="object"}function vx(e){return e&&typeof e.then=="function"}function bx(e,t){return function(){return e(t)}}function Jg(e,t,n){return t.indexOf(e)<0&&(n&&n.prepend?t.unshift(e):t.push(e)),function(){var r=t.indexOf(e);r>-1&&t.splice(r,1)}}function Xg(e,t){e._actions=Object.create(null),e._mutations=Object.create(null),e._wrappedGetters=Object.create(null),e._modulesNamespaceMap=Object.create(null);var n=e.state;fu(e,n,[],e._modules.root,!0),cm(e,n,t)}function cm(e,t,n){var r=e._state;e.getters={},e._makeLocalGettersCache=Object.create(null);var o=e._wrappedGetters,s={};Ts(o,function(i,a){s[a]=bx(i,e),Object.defineProperty(e.getters,a,{get:function(){return s[a]()},enumerable:!0})}),e._state=Fo({data:t}),e.strict&&kx(e),r&&n&&e._withCommit(function(){r.data=null})}function fu(e,t,n,r,o){var s=!n.length,i=e._modules.getNamespace(n);if(r.namespaced&&(e._modulesNamespaceMap[i],e._modulesNamespaceMap[i]=r),!s&&!o){var a=dm(t,n.slice(0,-1)),l=n[n.length-1];e._withCommit(function(){a[l]=r.state})}var c=r.context=wx(e,i,n);r.forEachMutation(function(d,f){var m=i+f;Cx(e,m,d,c)}),r.forEachAction(function(d,f){var m=d.root?f:i+f,p=d.handler||d;zx(e,m,p,c)}),r.forEachGetter(function(d,f){var m=i+f;xx(e,m,d,c)}),r.forEachChild(function(d,f){fu(e,t,n.concat(f),d,o)})}function wx(e,t,n){var r=t==="",o={dispatch:r?e.dispatch:function(s,i,a){var l=Pl(s,i,a),c=l.payload,d=l.options,f=l.type;return(!d||!d.root)&&(f=t+f),e.dispatch(f,c)},commit:r?e.commit:function(s,i,a){var l=Pl(s,i,a),c=l.payload,d=l.options,f=l.type;(!d||!d.root)&&(f=t+f),e.commit(f,c,d)}};return Object.defineProperties(o,{getters:{get:r?function(){return e.getters}:function(){return Qg(e,t)}},state:{get:function(){return dm(e.state,n)}}}),o}function Qg(e,t){if(!e._makeLocalGettersCache[t]){var n={},r=t.length;Object.keys(e.getters).forEach(function(o){if(o.slice(0,r)===t){var s=o.slice(r);Object.defineProperty(n,s,{get:function(){return e.getters[o]},enumerable:!0})}}),e._makeLocalGettersCache[t]=n}return e._makeLocalGettersCache[t]}function Cx(e,t,n,r){var o=e._mutations[t]||(e._mutations[t]=[]);o.push(function(i){n.call(e,r.state,i)})}function zx(e,t,n,r){var o=e._actions[t]||(e._actions[t]=[]);o.push(function(i){var a=n.call(e,{dispatch:r.dispatch,commit:r.commit,getters:r.getters,state:r.state,rootGetters:e.getters,rootState:e.state},i);return vx(a)||(a=Promise.resolve(a)),e._devtoolHook?a.catch(function(l){throw e._devtoolHook.emit("vuex:error",l),l}):a})}function xx(e,t,n,r){e._wrappedGetters[t]||(e._wrappedGetters[t]=function(s){return n(r.state,r.getters,s.state,s.getters)})}function kx(e){Mt(function(){return e._state.data},function(){},{deep:!0,flush:"sync"})}function dm(e,t){return t.reduce(function(n,r){return n[r]},e)}function Pl(e,t,n){return yx(e)&&e.type&&(n=t,t=e,e=e.type),{type:e,payload:t,options:n}}var Sx="vuex bindings",Sp="vuex:mutations",Yu="vuex:actions",Uo="vuex",Ex=0;function $x(e,t){Jz({id:"org.vuejs.vuex",app:e,label:"Vuex",homepage:"https://next.vuex.vuejs.org/",logo:"https://vuejs.org/images/icons/favicon-96x96.png",packageName:"vuex",componentStateTypes:[Sx]},function(n){n.addTimelineLayer({id:Sp,label:"Vuex Mutations",color:Ep}),n.addTimelineLayer({id:Yu,label:"Vuex Actions",color:Ep}),n.addInspector({id:Uo,label:"Vuex",icon:"storage",treeFilterPlaceholder:"Filter stores..."}),n.on.getInspectorTree(function(r){if(r.app===e&&r.inspectorId===Uo)if(r.filter){var o=[];ry(o,t._modules.root,r.filter,""),r.rootNodes=o}else r.rootNodes=[ny(t._modules.root,"")]}),n.on.getInspectorState(function(r){if(r.app===e&&r.inspectorId===Uo){var o=r.nodeId;Qg(t,o),r.state=Ox(Dx(t._modules,o),o==="root"?t.getters:t._makeLocalGettersCache,o)}}),n.on.editInspectorState(function(r){if(r.app===e&&r.inspectorId===Uo){var o=r.nodeId,s=r.path;o!=="root"&&(s=o.split("/").filter(Boolean).concat(s)),t._withCommit(function(){r.set(t._state.data,s,r.state.value)})}}),t.subscribe(function(r,o){var s={};r.payload&&(s.payload=r.payload),s.state=o,n.notifyComponentUpdate(),n.sendInspectorTree(Uo),n.sendInspectorState(Uo),n.addTimelineEvent({layerId:Sp,event:{time:Date.now(),title:r.type,data:s}})}),t.subscribeAction({before:function(r,o){var s={};r.payload&&(s.payload=r.payload),r._id=Ex++,r._time=Date.now(),s.state=o,n.addTimelineEvent({layerId:Yu,event:{time:r._time,title:r.type,groupId:r._id,subtitle:"start",data:s}})},after:function(r,o){var s={},i=Date.now()-r._time;s.duration={_custom:{type:"duration",display:i+"ms",tooltip:"Action duration",value:i}},r.payload&&(s.payload=r.payload),s.state=o,n.addTimelineEvent({layerId:Yu,event:{time:Date.now(),title:r.type,groupId:r._id,subtitle:"end",data:s}})}})})}var Ep=8702998,Ax=6710886,Tx=16777215,ey={label:"namespaced",textColor:Tx,backgroundColor:Ax};function ty(e){return e&&e!=="root"?e.split("/").slice(-2,-1)[0]:"Root"}function ny(e,t){return{id:t||"root",label:ty(t),tags:e.namespaced?[ey]:[],children:Object.keys(e._children).map(function(n){return ny(e._children[n],t+n+"/")})}}function ry(e,t,n,r){r.includes(n)&&e.push({id:r||"root",label:r.endsWith("/")?r.slice(0,r.length-1):r||"Root",tags:t.namespaced?[ey]:[]}),Object.keys(t._children).forEach(function(o){ry(e,t._children[o],n,r+o+"/")})}function Ox(e,t,n){t=n==="root"?t:t[n];var r=Object.keys(t),o={state:Object.keys(e.state).map(function(i){return{key:i,editable:!0,value:e.state[i]}})};if(r.length){var s=Px(t);o.getters=Object.keys(s).map(function(i){return{key:i.endsWith("/")?ty(i):i,editable:!1,value:nd(function(){return s[i]})}})}return o}function Px(e){var t={};return Object.keys(e).forEach(function(n){var r=n.split("/");if(r.length>1){var o=t,s=r.pop();r.forEach(function(i){o[i]||(o[i]={_custom:{value:{},display:i,tooltip:"Module",abstract:!0}}),o=o[i]._custom.value}),o[s]=nd(function(){return e[n]})}else t[n]=nd(function(){return e[n]})}),t}function Dx(e,t){var n=t.split("/").filter(function(r){return r});return n.reduce(function(r,o,s){var i=r[o];if(!i)throw new Error('Missing module "'+o+'" for path "'+t+'".');return s===n.length-1?i:i._children},t==="root"?e:e.root._children)}function nd(e){try{return e()}catch(t){return t}}var lr=function(t,n){this.runtime=n,this._children=Object.create(null),this._rawModule=t;var r=t.state;this.state=(typeof r=="function"?r():r)||{}},oy={namespaced:{configurable:!0}};oy.namespaced.get=function(){return!!this._rawModule.namespaced};lr.prototype.addChild=function(t,n){this._children[t]=n};lr.prototype.removeChild=function(t){delete this._children[t]};lr.prototype.getChild=function(t){return this._children[t]};lr.prototype.hasChild=function(t){return t in this._children};lr.prototype.update=function(t){this._rawModule.namespaced=t.namespaced,t.actions&&(this._rawModule.actions=t.actions),t.mutations&&(this._rawModule.mutations=t.mutations),t.getters&&(this._rawModule.getters=t.getters)};lr.prototype.forEachChild=function(t){Ts(this._children,t)};lr.prototype.forEachGetter=function(t){this._rawModule.getters&&Ts(this._rawModule.getters,t)};lr.prototype.forEachAction=function(t){this._rawModule.actions&&Ts(this._rawModule.actions,t)};lr.prototype.forEachMutation=function(t){this._rawModule.mutations&&Ts(this._rawModule.mutations,t)};Object.defineProperties(lr.prototype,oy);var Lo=function(t){this.register([],t,!1)};Lo.prototype.get=function(t){return t.reduce(function(n,r){return n.getChild(r)},this.root)};Lo.prototype.getNamespace=function(t){var n=this.root;return t.reduce(function(r,o){return n=n.getChild(o),r+(n.namespaced?o+"/":"")},"")};Lo.prototype.update=function(t){sy([],this.root,t)};Lo.prototype.register=function(t,n,r){var o=this;r===void 0&&(r=!0);var s=new lr(n,r);if(t.length===0)this.root=s;else{var i=this.get(t.slice(0,-1));i.addChild(t[t.length-1],s)}n.modules&&Ts(n.modules,function(a,l){o.register(t.concat(l),a,r)})};Lo.prototype.unregister=function(t){var n=this.get(t.slice(0,-1)),r=t[t.length-1],o=n.getChild(r);!o||!o.runtime||n.removeChild(r)};Lo.prototype.isRegistered=function(t){var n=this.get(t.slice(0,-1)),r=t[t.length-1];return n?n.hasChild(r):!1};function sy(e,t,n){if(t.update(n),n.modules)for(var r in n.modules){if(!t.getChild(r))return;sy(e.concat(r),t.getChild(r),n.modules[r])}}function Fx(e){return new En(e)}var En=function(t){var n=this;t===void 0&&(t={});var r=t.plugins;r===void 0&&(r=[]);var o=t.strict;o===void 0&&(o=!1);var s=t.devtools;this._committing=!1,this._actions=Object.create(null),this._actionSubscribers=[],this._mutations=Object.create(null),this._wrappedGetters=Object.create(null),this._modules=new Lo(t),this._modulesNamespaceMap=Object.create(null),this._subscribers=[],this._makeLocalGettersCache=Object.create(null),this._devtools=s;var i=this,a=this,l=a.dispatch,c=a.commit;this.dispatch=function(m,p){return l.call(i,m,p)},this.commit=function(m,p,h){return c.call(i,m,p,h)},this.strict=o;var d=this._modules.root.state;fu(this,d,[],this._modules.root),cm(this,d),r.forEach(function(f){return f(n)})},mm={state:{configurable:!0}};En.prototype.install=function(t,n){t.provide(n||gx,this),t.config.globalProperties.$store=this;var r=this._devtools!==void 0?this._devtools:!1;r&&$x(t,this)};mm.state.get=function(){return this._state.data};mm.state.set=function(e){};En.prototype.commit=function(t,n,r){var o=this,s=Pl(t,n,r),i=s.type,a=s.payload,l={type:i,payload:a},c=this._mutations[i];!c||(this._withCommit(function(){c.forEach(function(f){f(a)})}),this._subscribers.slice().forEach(function(d){return d(l,o.state)}))};En.prototype.dispatch=function(t,n){var r=this,o=Pl(t,n),s=o.type,i=o.payload,a={type:s,payload:i},l=this._actions[s];if(!!l){try{this._actionSubscribers.slice().filter(function(d){return d.before}).forEach(function(d){return d.before(a,r.state)})}catch{}var c=l.length>1?Promise.all(l.map(function(d){return d(i)})):l[0](i);return new Promise(function(d,f){c.then(function(m){try{r._actionSubscribers.filter(function(p){return p.after}).forEach(function(p){return p.after(a,r.state)})}catch{}d(m)},function(m){try{r._actionSubscribers.filter(function(p){return p.error}).forEach(function(p){return p.error(a,r.state,m)})}catch{}f(m)})})}};En.prototype.subscribe=function(t,n){return Jg(t,this._subscribers,n)};En.prototype.subscribeAction=function(t,n){var r=typeof t=="function"?{before:t}:t;return Jg(r,this._actionSubscribers,n)};En.prototype.watch=function(t,n,r){var o=this;return Mt(function(){return t(o.state,o.getters)},n,Object.assign({},r))};En.prototype.replaceState=function(t){var n=this;this._withCommit(function(){n._state.data=t})};En.prototype.registerModule=function(t,n,r){r===void 0&&(r={}),typeof t=="string"&&(t=[t]),this._modules.register(t,n),fu(this,this.state,t,this._modules.get(t),r.preserveState),cm(this,this.state)};En.prototype.unregisterModule=function(t){var n=this;typeof t=="string"&&(t=[t]),this._modules.unregister(t),this._withCommit(function(){var r=dm(n.state,t.slice(0,-1));delete r[t[t.length-1]]}),Xg(this)};En.prototype.hasModule=function(t){return typeof t=="string"&&(t=[t]),this._modules.isRegistered(t)};En.prototype.hotUpdate=function(t){this._modules.update(t),Xg(this,!0)};En.prototype._withCommit=function(t){var n=this._committing;this._committing=!0,t(),this._committing=n};Object.defineProperties(En.prototype,mm);const iy="UPDATE_CONFIG",ay="UPDATE_SETTINGS",pu="UPDATE_SETTINGS_OPTION",ly="UPDATE_LIBRARY_STATS",uy="UPDATE_LIBRARY_AUDIOBOOKS_COUNT",cy="UPDATE_LIBRARY_PODCASTS_COUNT",dy="UPDATE_LIBRARY_RSS_COUNT",my="UPDATE_OUTPUTS",fm="UPDATE_PLAYER_STATUS",fy="UPDATE_QUEUE",py="UPDATE_LASTFM",hy="UPDATE_SPOTIFY",_y="UPDATE_PAIRING",pm="SPOTIFY_NEW_RELEASES",hm="SPOTIFY_FEATURED_PLAYLISTS",$p="ADD_NOTIFICATION",rd="DELETE_NOTIFICATION",od="SEARCH_PATH",_m="ADD_RECENT_SEARCH",gy="COMPOSER_TRACKS_SORT",yy="GENRE_TRACKS_SORT",hu="HIDE_SINGLES",gm="HIDE_SPOTIFY",vy="ARTISTS_SORT",by="ARTIST_ALBUMS_SORT",wy="ARTIST_TRACKS_SORT",Cy="ALBUMS_SORT",zy="SHOW_ONLY_NEXT_ITEMS",bs="SHOW_BURGER_MENU",ws="SHOW_PLAYER_MENU",Ki="SHOW_UPDATE_DIALOG",ym="UPDATE_DIALOG_SCAN_KIND";var at=Fx({state(){return{config:{websocket_port:0,version:"",buildoptions:[]},settings:{categories:[]},library:{artists:0,albums:0,songs:0,db_playtime:0,updating:!1},audiobooks_count:{},podcasts_count:{},rss_count:{},outputs:[],player:{state:"stop",repeat:"off",consume:!1,shuffle:!1,volume:0,item_id:0,item_length_ms:0,item_progress_ms:0},queue:{version:0,count:0,items:[]},lastfm:{},spotify:{},pairing:{},spotify_new_releases:[],spotify_featured_playlists:[],notifications:{next_id:1,list:[]},search_path:"/search/library",recent_searches:[],composer_tracks_sort:1,genre_tracks_sort:1,hide_singles:!1,hide_spotify:!1,artists_sort:1,artist_albums_sort:1,artist_tracks_sort:1,albums_sort:1,show_only_next_items:!1,show_burger_menu:!1,show_player_menu:!1,show_update_dialog:!1,update_dialog_scan_kind:""}},getters:{now_playing:e=>{const t=e.queue.items.find(function(n){return n.id===e.player.item_id});return t===void 0?{}:t},settings_webinterface:e=>e.settings?e.settings.categories.find(t=>t.name==="webinterface"):null,settings_option_recently_added_limit:(e,t)=>{if(t.settings_webinterface){const n=t.settings_webinterface.options.find(r=>r.name==="recently_added_limit");if(n)return n.value}return 100},settings_option_show_composer_now_playing:(e,t)=>{if(t.settings_webinterface){const n=t.settings_webinterface.options.find(r=>r.name==="show_composer_now_playing");if(n)return n.value}return!1},settings_option_show_composer_for_genre:(e,t)=>{if(t.settings_webinterface){const n=t.settings_webinterface.options.find(r=>r.name==="show_composer_for_genre");if(n)return n.value}return null},settings_option_show_filepath_now_playing:(e,t)=>{if(t.settings_webinterface){const n=t.settings_webinterface.options.find(r=>r.name==="show_filepath_now_playing");if(n)return n.value}return!1},settings_category:e=>t=>e.settings.categories.find(n=>n.name===t),settings_option:e=>(t,n)=>{const r=e.settings.categories.find(o=>o.name===t);return r?r.options.find(o=>o.name===n):{}}},mutations:{[iy](e,t){e.config=t},[ay](e,t){e.settings=t},[pu](e,t){const r=e.settings.categories.find(o=>o.name===t.category).options.find(o=>o.name===t.name);r.value=t.value},[ly](e,t){e.library=t},[uy](e,t){e.audiobooks_count=t},[cy](e,t){e.podcasts_count=t},[dy](e,t){e.rss_count=t},[my](e,t){e.outputs=t},[fm](e,t){e.player=t},[fy](e,t){e.queue=t},[py](e,t){e.lastfm=t},[hy](e,t){e.spotify=t},[_y](e,t){e.pairing=t},[pm](e,t){e.spotify_new_releases=t},[hm](e,t){e.spotify_featured_playlists=t},[$p](e,t){if(t.topic){const n=e.notifications.list.findIndex(r=>r.topic===t.topic);if(n>=0){e.notifications.list.splice(n,1,t);return}}e.notifications.list.push(t)},[rd](e,t){const n=e.notifications.list.indexOf(t);n!==-1&&e.notifications.list.splice(n,1)},[od](e,t){e.search_path=t},[_m](e,t){const n=e.recent_searches.findIndex(r=>r===t);n>=0&&e.recent_searches.splice(n,1),e.recent_searches.splice(0,0,t),e.recent_searches.length>5&&e.recent_searches.pop()},[gy](e,t){e.composer_tracks_sort=t},[yy](e,t){e.genre_tracks_sort=t},[hu](e,t){e.hide_singles=t},[gm](e,t){e.hide_spotify=t},[vy](e,t){e.artists_sort=t},[by](e,t){e.artist_albums_sort=t},[wy](e,t){e.artist_tracks_sort=t},[Cy](e,t){e.albums_sort=t},[zy](e,t){e.show_only_next_items=t},[bs](e,t){e.show_burger_menu=t},[ws](e,t){e.show_player_menu=t},[Ki](e,t){e.show_update_dialog=t},[ym](e,t){e.update_dialog_scan_kind=t}},actions:{add_notification({commit:e,state:t},n){const r={id:t.notifications.next_id++,type:n.type,text:n.text,topic:n.topic,timeout:n.timeout};e($p,r),n.timeout>0&&setTimeout(()=>{e(rd,r)},n.timeout)}}});/*!
|
|
* vue-router v4.0.16
|
|
* (c) 2022 Eduardo San Martin Morote
|
|
* @license MIT
|
|
*/const xy=typeof Symbol=="function"&&typeof Symbol.toStringTag=="symbol",Os=e=>xy?Symbol(e):"_vr_"+e,Ix=Os("rvlm"),Ap=Os("rvd"),vm=Os("r"),ky=Os("rl"),sd=Os("rvl"),ns=typeof window!="undefined";function Mx(e){return e.__esModule||xy&&e[Symbol.toStringTag]==="Module"}const wt=Object.assign;function Ju(e,t){const n={};for(const r in t){const o=t[r];n[r]=Array.isArray(o)?o.map(e):e(o)}return n}const yi=()=>{},Lx=/\/$/,Rx=e=>e.replace(Lx,"");function Xu(e,t,n="/"){let r,o={},s="",i="";const a=t.indexOf("?"),l=t.indexOf("#",a>-1?a:0);return a>-1&&(r=t.slice(0,a),s=t.slice(a+1,l>-1?l:t.length),o=e(s)),l>-1&&(r=r||t.slice(0,l),i=t.slice(l,t.length)),r=Bx(r!=null?r:t,n),{fullPath:r+(s&&"?")+s+i,path:r,query:o,hash:i}}function Nx(e,t){const n=t.query?e(t.query):"";return t.path+(n&&"?")+n+(t.hash||"")}function Tp(e,t){return!t||!e.toLowerCase().startsWith(t.toLowerCase())?e:e.slice(t.length)||"/"}function Vx(e,t,n){const r=t.matched.length-1,o=n.matched.length-1;return r>-1&&r===o&&Cs(t.matched[r],n.matched[o])&&Sy(t.params,n.params)&&e(t.query)===e(n.query)&&t.hash===n.hash}function Cs(e,t){return(e.aliasOf||e)===(t.aliasOf||t)}function Sy(e,t){if(Object.keys(e).length!==Object.keys(t).length)return!1;for(const n in e)if(!jx(e[n],t[n]))return!1;return!0}function jx(e,t){return Array.isArray(e)?Op(e,t):Array.isArray(t)?Op(t,e):e===t}function Op(e,t){return Array.isArray(t)?e.length===t.length&&e.every((n,r)=>n===t[r]):e.length===1&&e[0]===t}function Bx(e,t){if(e.startsWith("/"))return e;if(!e)return t;const n=t.split("/"),r=e.split("/");let o=n.length-1,s,i;for(s=0;s<r.length;s++)if(i=r[s],!(o===1||i==="."))if(i==="..")o--;else break;return n.slice(0,o).join("/")+"/"+r.slice(s-(s===r.length?1:0)).join("/")}var Ii;(function(e){e.pop="pop",e.push="push"})(Ii||(Ii={}));var vi;(function(e){e.back="back",e.forward="forward",e.unknown=""})(vi||(vi={}));function Hx(e){if(!e)if(ns){const t=document.querySelector("base");e=t&&t.getAttribute("href")||"/",e=e.replace(/^\w+:\/\/[^\/]+/,"")}else e="/";return e[0]!=="/"&&e[0]!=="#"&&(e="/"+e),Rx(e)}const Ux=/^[^#]+#/;function qx(e,t){return e.replace(Ux,"#")+t}function Wx(e,t){const n=document.documentElement.getBoundingClientRect(),r=e.getBoundingClientRect();return{behavior:t.behavior,left:r.left-n.left-(t.left||0),top:r.top-n.top-(t.top||0)}}const _u=()=>({left:window.pageXOffset,top:window.pageYOffset});function Gx(e){let t;if("el"in e){const n=e.el,r=typeof n=="string"&&n.startsWith("#"),o=typeof n=="string"?r?document.getElementById(n.slice(1)):document.querySelector(n):n;if(!o)return;t=Wx(o,e)}else t=e;"scrollBehavior"in document.documentElement.style?window.scrollTo(t):window.scrollTo(t.left!=null?t.left:window.pageXOffset,t.top!=null?t.top:window.pageYOffset)}function Pp(e,t){return(history.state?history.state.position-t:-1)+e}const id=new Map;function Kx(e,t){id.set(e,t)}function Zx(e){const t=id.get(e);return id.delete(e),t}let Yx=()=>location.protocol+"//"+location.host;function Ey(e,t){const{pathname:n,search:r,hash:o}=t,s=e.indexOf("#");if(s>-1){let a=o.includes(e.slice(s))?e.slice(s).length:1,l=o.slice(a);return l[0]!=="/"&&(l="/"+l),Tp(l,"")}return Tp(n,e)+r+o}function Jx(e,t,n,r){let o=[],s=[],i=null;const a=({state:m})=>{const p=Ey(e,location),h=n.value,_=t.value;let g=0;if(m){if(n.value=p,t.value=m,i&&i===h){i=null;return}g=_?m.position-_.position:0}else r(p);o.forEach(b=>{b(n.value,h,{delta:g,type:Ii.pop,direction:g?g>0?vi.forward:vi.back:vi.unknown})})};function l(){i=n.value}function c(m){o.push(m);const p=()=>{const h=o.indexOf(m);h>-1&&o.splice(h,1)};return s.push(p),p}function d(){const{history:m}=window;!m.state||m.replaceState(wt({},m.state,{scroll:_u()}),"")}function f(){for(const m of s)m();s=[],window.removeEventListener("popstate",a),window.removeEventListener("beforeunload",d)}return window.addEventListener("popstate",a),window.addEventListener("beforeunload",d),{pauseListeners:l,listen:c,destroy:f}}function Dp(e,t,n,r=!1,o=!1){return{back:e,current:t,forward:n,replaced:r,position:window.history.length,scroll:o?_u():null}}function Xx(e){const{history:t,location:n}=window,r={value:Ey(e,n)},o={value:t.state};o.value||s(r.value,{back:null,current:r.value,forward:null,position:t.length-1,replaced:!0,scroll:null},!0);function s(l,c,d){const f=e.indexOf("#"),m=f>-1?(n.host&&document.querySelector("base")?e:e.slice(f))+l:Yx()+e+l;try{t[d?"replaceState":"pushState"](c,"",m),o.value=c}catch(p){console.error(p),n[d?"replace":"assign"](m)}}function i(l,c){const d=wt({},t.state,Dp(o.value.back,l,o.value.forward,!0),c,{position:o.value.position});s(l,d,!0),r.value=l}function a(l,c){const d=wt({},o.value,t.state,{forward:l,scroll:_u()});s(d.current,d,!0);const f=wt({},Dp(r.value,l,null),{position:d.position+1},c);s(l,f,!1),r.value=l}return{location:r,state:o,push:a,replace:i}}function Qx(e){e=Hx(e);const t=Xx(e),n=Jx(e,t.state,t.location,t.replace);function r(s,i=!0){i||n.pauseListeners(),history.go(s)}const o=wt({location:"",base:e,go:r,createHref:qx.bind(null,e)},t,n);return Object.defineProperty(o,"location",{enumerable:!0,get:()=>t.location.value}),Object.defineProperty(o,"state",{enumerable:!0,get:()=>t.state.value}),o}function e2(e){return e=location.host?e||location.pathname+location.search:"",e.includes("#")||(e+="#"),Qx(e)}function t2(e){return typeof e=="string"||e&&typeof e=="object"}function $y(e){return typeof e=="string"||typeof e=="symbol"}const Nr={path:"/",name:void 0,params:{},query:{},hash:"",fullPath:"/",matched:[],meta:{},redirectedFrom:void 0},Ay=Os("nf");var Fp;(function(e){e[e.aborted=4]="aborted",e[e.cancelled=8]="cancelled",e[e.duplicated=16]="duplicated"})(Fp||(Fp={}));function zs(e,t){return wt(new Error,{type:e,[Ay]:!0},t)}function Vr(e,t){return e instanceof Error&&Ay in e&&(t==null||!!(e.type&t))}const Ip="[^/]+?",n2={sensitive:!1,strict:!1,start:!0,end:!0},r2=/[.+*?^${}()[\]/\\]/g;function o2(e,t){const n=wt({},n2,t),r=[];let o=n.start?"^":"";const s=[];for(const c of e){const d=c.length?[]:[90];n.strict&&!c.length&&(o+="/");for(let f=0;f<c.length;f++){const m=c[f];let p=40+(n.sensitive?.25:0);if(m.type===0)f||(o+="/"),o+=m.value.replace(r2,"\\$&"),p+=40;else if(m.type===1){const{value:h,repeatable:_,optional:g,regexp:b}=m;s.push({name:h,repeatable:_,optional:g});const w=b||Ip;if(w!==Ip){p+=10;try{new RegExp(`(${w})`)}catch(z){throw new Error(`Invalid custom RegExp for param "${h}" (${w}): `+z.message)}}let x=_?`((?:${w})(?:/(?:${w}))*)`:`(${w})`;f||(x=g&&c.length<2?`(?:/${x})`:"/"+x),g&&(x+="?"),o+=x,p+=20,g&&(p+=-8),_&&(p+=-20),w===".*"&&(p+=-50)}d.push(p)}r.push(d)}if(n.strict&&n.end){const c=r.length-1;r[c][r[c].length-1]+=.7000000000000001}n.strict||(o+="/?"),n.end?o+="$":n.strict&&(o+="(?:/|$)");const i=new RegExp(o,n.sensitive?"":"i");function a(c){const d=c.match(i),f={};if(!d)return null;for(let m=1;m<d.length;m++){const p=d[m]||"",h=s[m-1];f[h.name]=p&&h.repeatable?p.split("/"):p}return f}function l(c){let d="",f=!1;for(const m of e){(!f||!d.endsWith("/"))&&(d+="/"),f=!1;for(const p of m)if(p.type===0)d+=p.value;else if(p.type===1){const{value:h,repeatable:_,optional:g}=p,b=h in c?c[h]:"";if(Array.isArray(b)&&!_)throw new Error(`Provided param "${h}" is an array but it is not repeatable (* or + modifiers)`);const w=Array.isArray(b)?b.join("/"):b;if(!w)if(g)m.length<2&&e.length>1&&(d.endsWith("/")?d=d.slice(0,-1):f=!0);else throw new Error(`Missing required param "${h}"`);d+=w}}return d}return{re:i,score:r,keys:s,parse:a,stringify:l}}function s2(e,t){let n=0;for(;n<e.length&&n<t.length;){const r=t[n]-e[n];if(r)return r;n++}return e.length<t.length?e.length===1&&e[0]===40+40?-1:1:e.length>t.length?t.length===1&&t[0]===40+40?1:-1:0}function i2(e,t){let n=0;const r=e.score,o=t.score;for(;n<r.length&&n<o.length;){const s=s2(r[n],o[n]);if(s)return s;n++}if(Math.abs(o.length-r.length)===1){if(Mp(r))return 1;if(Mp(o))return-1}return o.length-r.length}function Mp(e){const t=e[e.length-1];return e.length>0&&t[t.length-1]<0}const a2={type:0,value:""},l2=/[a-zA-Z0-9_]/;function u2(e){if(!e)return[[]];if(e==="/")return[[a2]];if(!e.startsWith("/"))throw new Error(`Invalid path "${e}"`);function t(p){throw new Error(`ERR (${n})/"${c}": ${p}`)}let n=0,r=n;const o=[];let s;function i(){s&&o.push(s),s=[]}let a=0,l,c="",d="";function f(){!c||(n===0?s.push({type:0,value:c}):n===1||n===2||n===3?(s.length>1&&(l==="*"||l==="+")&&t(`A repeatable param (${c}) must be alone in its segment. eg: '/:ids+.`),s.push({type:1,value:c,regexp:d,repeatable:l==="*"||l==="+",optional:l==="*"||l==="?"})):t("Invalid state to consume buffer"),c="")}function m(){c+=l}for(;a<e.length;){if(l=e[a++],l==="\\"&&n!==2){r=n,n=4;continue}switch(n){case 0:l==="/"?(c&&f(),i()):l===":"?(f(),n=1):m();break;case 4:m(),n=r;break;case 1:l==="("?n=2:l2.test(l)?m():(f(),n=0,l!=="*"&&l!=="?"&&l!=="+"&&a--);break;case 2:l===")"?d[d.length-1]=="\\"?d=d.slice(0,-1)+l:n=3:d+=l;break;case 3:f(),n=0,l!=="*"&&l!=="?"&&l!=="+"&&a--,d="";break;default:t("Unknown state");break}}return n===2&&t(`Unfinished custom RegExp for param "${c}"`),f(),i(),o}function c2(e,t,n){const r=o2(u2(e.path),n),o=wt(r,{record:e,parent:t,children:[],alias:[]});return t&&!o.record.aliasOf==!t.record.aliasOf&&t.children.push(o),o}function d2(e,t){const n=[],r=new Map;t=Rp({strict:!1,end:!0,sensitive:!1},t);function o(d){return r.get(d)}function s(d,f,m){const p=!m,h=f2(d);h.aliasOf=m&&m.record;const _=Rp(t,d),g=[h];if("alias"in d){const x=typeof d.alias=="string"?[d.alias]:d.alias;for(const z of x)g.push(wt({},h,{components:m?m.record.components:h.components,path:z,aliasOf:m?m.record:h}))}let b,w;for(const x of g){const{path:z}=x;if(f&&z[0]!=="/"){const E=f.record.path,T=E[E.length-1]==="/"?"":"/";x.path=f.record.path+(z&&T+z)}if(b=c2(x,f,_),m?m.alias.push(b):(w=w||b,w!==b&&w.alias.push(b),p&&d.name&&!Lp(b)&&i(d.name)),"children"in h){const E=h.children;for(let T=0;T<E.length;T++)s(E[T],b,m&&m.children[T])}m=m||b,l(b)}return w?()=>{i(w)}:yi}function i(d){if($y(d)){const f=r.get(d);f&&(r.delete(d),n.splice(n.indexOf(f),1),f.children.forEach(i),f.alias.forEach(i))}else{const f=n.indexOf(d);f>-1&&(n.splice(f,1),d.record.name&&r.delete(d.record.name),d.children.forEach(i),d.alias.forEach(i))}}function a(){return n}function l(d){let f=0;for(;f<n.length&&i2(d,n[f])>=0&&(d.record.path!==n[f].record.path||!Ty(d,n[f]));)f++;n.splice(f,0,d),d.record.name&&!Lp(d)&&r.set(d.record.name,d)}function c(d,f){let m,p={},h,_;if("name"in d&&d.name){if(m=r.get(d.name),!m)throw zs(1,{location:d});_=m.record.name,p=wt(m2(f.params,m.keys.filter(w=>!w.optional).map(w=>w.name)),d.params),h=m.stringify(p)}else if("path"in d)h=d.path,m=n.find(w=>w.re.test(h)),m&&(p=m.parse(h),_=m.record.name);else{if(m=f.name?r.get(f.name):n.find(w=>w.re.test(f.path)),!m)throw zs(1,{location:d,currentLocation:f});_=m.record.name,p=wt({},f.params,d.params),h=m.stringify(p)}const g=[];let b=m;for(;b;)g.unshift(b.record),b=b.parent;return{name:_,path:h,params:p,matched:g,meta:h2(g)}}return e.forEach(d=>s(d)),{addRoute:s,resolve:c,removeRoute:i,getRoutes:a,getRecordMatcher:o}}function m2(e,t){const n={};for(const r of t)r in e&&(n[r]=e[r]);return n}function f2(e){return{path:e.path,redirect:e.redirect,name:e.name,meta:e.meta||{},aliasOf:void 0,beforeEnter:e.beforeEnter,props:p2(e),children:e.children||[],instances:{},leaveGuards:new Set,updateGuards:new Set,enterCallbacks:{},components:"components"in e?e.components||{}:{default:e.component}}}function p2(e){const t={},n=e.props||!1;if("component"in e)t.default=n;else for(const r in e.components)t[r]=typeof n=="boolean"?n:n[r];return t}function Lp(e){for(;e;){if(e.record.aliasOf)return!0;e=e.parent}return!1}function h2(e){return e.reduce((t,n)=>wt(t,n.meta),{})}function Rp(e,t){const n={};for(const r in e)n[r]=r in t?t[r]:e[r];return n}function Ty(e,t){return t.children.some(n=>n===e||Ty(e,n))}const Oy=/#/g,_2=/&/g,g2=/\//g,y2=/=/g,v2=/\?/g,Py=/\+/g,b2=/%5B/g,w2=/%5D/g,Dy=/%5E/g,C2=/%60/g,Fy=/%7B/g,z2=/%7C/g,Iy=/%7D/g,x2=/%20/g;function bm(e){return encodeURI(""+e).replace(z2,"|").replace(b2,"[").replace(w2,"]")}function k2(e){return bm(e).replace(Fy,"{").replace(Iy,"}").replace(Dy,"^")}function ad(e){return bm(e).replace(Py,"%2B").replace(x2,"+").replace(Oy,"%23").replace(_2,"%26").replace(C2,"`").replace(Fy,"{").replace(Iy,"}").replace(Dy,"^")}function S2(e){return ad(e).replace(y2,"%3D")}function E2(e){return bm(e).replace(Oy,"%23").replace(v2,"%3F")}function $2(e){return e==null?"":E2(e).replace(g2,"%2F")}function Dl(e){try{return decodeURIComponent(""+e)}catch{}return""+e}function A2(e){const t={};if(e===""||e==="?")return t;const r=(e[0]==="?"?e.slice(1):e).split("&");for(let o=0;o<r.length;++o){const s=r[o].replace(Py," "),i=s.indexOf("="),a=Dl(i<0?s:s.slice(0,i)),l=i<0?null:Dl(s.slice(i+1));if(a in t){let c=t[a];Array.isArray(c)||(c=t[a]=[c]),c.push(l)}else t[a]=l}return t}function Np(e){let t="";for(let n in e){const r=e[n];if(n=S2(n),r==null){r!==void 0&&(t+=(t.length?"&":"")+n);continue}(Array.isArray(r)?r.map(s=>s&&ad(s)):[r&&ad(r)]).forEach(s=>{s!==void 0&&(t+=(t.length?"&":"")+n,s!=null&&(t+="="+s))})}return t}function T2(e){const t={};for(const n in e){const r=e[n];r!==void 0&&(t[n]=Array.isArray(r)?r.map(o=>o==null?null:""+o):r==null?r:""+r)}return t}function Bs(){let e=[];function t(r){return e.push(r),()=>{const o=e.indexOf(r);o>-1&&e.splice(o,1)}}function n(){e=[]}return{add:t,list:()=>e,reset:n}}function qr(e,t,n,r,o){const s=r&&(r.enterCallbacks[o]=r.enterCallbacks[o]||[]);return()=>new Promise((i,a)=>{const l=f=>{f===!1?a(zs(4,{from:n,to:t})):f instanceof Error?a(f):t2(f)?a(zs(2,{from:t,to:f})):(s&&r.enterCallbacks[o]===s&&typeof f=="function"&&s.push(f),i())},c=e.call(r&&r.instances[o],t,n,l);let d=Promise.resolve(c);e.length<3&&(d=d.then(l)),d.catch(f=>a(f))})}function Qu(e,t,n,r){const o=[];for(const s of e)for(const i in s.components){let a=s.components[i];if(!(t!=="beforeRouteEnter"&&!s.instances[i]))if(O2(a)){const c=(a.__vccOpts||a)[t];c&&o.push(qr(c,n,r,s,i))}else{let l=a();o.push(()=>l.then(c=>{if(!c)return Promise.reject(new Error(`Couldn't resolve component "${i}" at "${s.path}"`));const d=Mx(c)?c.default:c;s.components[i]=d;const m=(d.__vccOpts||d)[t];return m&&qr(m,n,r,s,i)()}))}}return o}function O2(e){return typeof e=="object"||"displayName"in e||"props"in e||"__vccOpts"in e}function Vp(e){const t=sr(vm),n=sr(ky),r=Tt(()=>t.resolve(ds(e.to))),o=Tt(()=>{const{matched:l}=r.value,{length:c}=l,d=l[c-1],f=n.matched;if(!d||!f.length)return-1;const m=f.findIndex(Cs.bind(null,d));if(m>-1)return m;const p=jp(l[c-2]);return c>1&&jp(d)===p&&f[f.length-1].path!==p?f.findIndex(Cs.bind(null,l[c-2])):m}),s=Tt(()=>o.value>-1&&I2(n.params,r.value.params)),i=Tt(()=>o.value>-1&&o.value===n.matched.length-1&&Sy(n.params,r.value.params));function a(l={}){return F2(l)?t[ds(e.replace)?"replace":"push"](ds(e.to)).catch(yi):Promise.resolve()}return{route:r,href:Tt(()=>r.value.href),isActive:s,isExactActive:i,navigate:a}}const P2=Hi({name:"RouterLink",compatConfig:{MODE:3},props:{to:{type:[String,Object],required:!0},replace:Boolean,activeClass:String,exactActiveClass:String,custom:Boolean,ariaCurrentValue:{type:String,default:"page"}},useLink:Vp,setup(e,{slots:t}){const n=Fo(Vp(e)),{options:r}=sr(vm),o=Tt(()=>({[Bp(e.activeClass,r.linkActiveClass,"router-link-active")]:n.isActive,[Bp(e.exactActiveClass,r.linkExactActiveClass,"router-link-exact-active")]:n.isExactActive}));return()=>{const s=t.default&&t.default(n);return e.custom?s:zn("a",{"aria-current":n.isExactActive?e.ariaCurrentValue:null,href:n.href,onClick:n.navigate,class:o.value},s)}}}),D2=P2;function F2(e){if(!(e.metaKey||e.altKey||e.ctrlKey||e.shiftKey)&&!e.defaultPrevented&&!(e.button!==void 0&&e.button!==0)){if(e.currentTarget&&e.currentTarget.getAttribute){const t=e.currentTarget.getAttribute("target");if(/\b_blank\b/i.test(t))return}return e.preventDefault&&e.preventDefault(),!0}}function I2(e,t){for(const n in t){const r=t[n],o=e[n];if(typeof r=="string"){if(r!==o)return!1}else if(!Array.isArray(o)||o.length!==r.length||r.some((s,i)=>s!==o[i]))return!1}return!0}function jp(e){return e?e.aliasOf?e.aliasOf.path:e.path:""}const Bp=(e,t,n)=>e!=null?e:t!=null?t:n,M2=Hi({name:"RouterView",inheritAttrs:!1,props:{name:{type:String,default:"default"},route:Object},compatConfig:{MODE:3},setup(e,{attrs:t,slots:n}){const r=sr(sd),o=Tt(()=>e.route||r.value),s=sr(Ap,0),i=Tt(()=>o.value.matched[s]);pi(Ap,s+1),pi(Ix,i),pi(sd,o);const a=wn();return Mt(()=>[a.value,i.value,e.name],([l,c,d],[f,m,p])=>{c&&(c.instances[d]=l,m&&m!==c&&l&&l===f&&(c.leaveGuards.size||(c.leaveGuards=m.leaveGuards),c.updateGuards.size||(c.updateGuards=m.updateGuards))),l&&c&&(!m||!Cs(c,m)||!f)&&(c.enterCallbacks[d]||[]).forEach(h=>h(l))},{flush:"post"}),()=>{const l=o.value,c=i.value,d=c&&c.components[e.name],f=e.name;if(!d)return Hp(n.default,{Component:d,route:l});const m=c.props[e.name],p=m?m===!0?l.params:typeof m=="function"?m(l):m:null,_=zn(d,wt({},p,t,{onVnodeUnmounted:g=>{g.component.isUnmounted&&(c.instances[f]=null)},ref:a}));return Hp(n.default,{Component:_,route:l})||_}}});function Hp(e,t){if(!e)return null;const n=e(t);return n.length===1?n[0]:n}const L2=M2;function R2(e){const t=d2(e.routes,e),n=e.parseQuery||A2,r=e.stringifyQuery||Np,o=e.history,s=Bs(),i=Bs(),a=Bs(),l=x_(Nr);let c=Nr;ns&&e.scrollBehavior&&"scrollRestoration"in history&&(history.scrollRestoration="manual");const d=Ju.bind(null,H=>""+H),f=Ju.bind(null,$2),m=Ju.bind(null,Dl);function p(H,ie){let oe,be;return $y(H)?(oe=t.getRecordMatcher(H),be=ie):be=H,t.addRoute(be,oe)}function h(H){const ie=t.getRecordMatcher(H);ie&&t.removeRoute(ie)}function _(){return t.getRoutes().map(H=>H.record)}function g(H){return!!t.getRecordMatcher(H)}function b(H,ie){if(ie=wt({},ie||l.value),typeof H=="string"){const Ae=Xu(n,H,ie.path),$=t.resolve({path:Ae.path},ie),L=o.createHref(Ae.fullPath);return wt(Ae,$,{params:m($.params),hash:Dl(Ae.hash),redirectedFrom:void 0,href:L})}let oe;if("path"in H)oe=wt({},H,{path:Xu(n,H.path,ie.path).path});else{const Ae=wt({},H.params);for(const $ in Ae)Ae[$]==null&&delete Ae[$];oe=wt({},H,{params:f(H.params)}),ie.params=f(ie.params)}const be=t.resolve(oe,ie),je=H.hash||"";be.params=d(m(be.params));const Ie=Nx(r,wt({},H,{hash:k2(je),path:be.path})),Ee=o.createHref(Ie);return wt({fullPath:Ie,hash:je,query:r===Np?T2(H.query):H.query||{}},be,{redirectedFrom:void 0,href:Ee})}function w(H){return typeof H=="string"?Xu(n,H,l.value.path):wt({},H)}function x(H,ie){if(c!==H)return zs(8,{from:ie,to:H})}function z(H){return V(H)}function E(H){return z(wt(w(H),{replace:!0}))}function T(H){const ie=H.matched[H.matched.length-1];if(ie&&ie.redirect){const{redirect:oe}=ie;let be=typeof oe=="function"?oe(H):oe;return typeof be=="string"&&(be=be.includes("?")||be.includes("#")?be=w(be):{path:be},be.params={}),wt({query:H.query,hash:H.hash,params:H.params},be)}}function V(H,ie){const oe=c=b(H),be=l.value,je=H.state,Ie=H.force,Ee=H.replace===!0,Ae=T(oe);if(Ae)return V(wt(w(Ae),{state:je,force:Ie,replace:Ee}),ie||oe);const $=oe;$.redirectedFrom=ie;let L;return!Ie&&Vx(r,be,oe)&&(L=zs(16,{to:$,from:be}),He(be,be,!0,!1)),(L?Promise.resolve(L):A($,be)).catch(Y=>Vr(Y)?Vr(Y,2)?Y:Le(Y):ue(Y,$,be)).then(Y=>{if(Y){if(Vr(Y,2))return V(wt(w(Y.to),{state:je,force:Ie,replace:Ee}),ie||$)}else Y=W($,be,!0,Ee,je);return M($,be,Y),Y})}function F(H,ie){const oe=x(H,ie);return oe?Promise.reject(oe):Promise.resolve()}function A(H,ie){let oe;const[be,je,Ie]=N2(H,ie);oe=Qu(be.reverse(),"beforeRouteLeave",H,ie);for(const Ae of be)Ae.leaveGuards.forEach($=>{oe.push(qr($,H,ie))});const Ee=F.bind(null,H,ie);return oe.push(Ee),qo(oe).then(()=>{oe=[];for(const Ae of s.list())oe.push(qr(Ae,H,ie));return oe.push(Ee),qo(oe)}).then(()=>{oe=Qu(je,"beforeRouteUpdate",H,ie);for(const Ae of je)Ae.updateGuards.forEach($=>{oe.push(qr($,H,ie))});return oe.push(Ee),qo(oe)}).then(()=>{oe=[];for(const Ae of H.matched)if(Ae.beforeEnter&&!ie.matched.includes(Ae))if(Array.isArray(Ae.beforeEnter))for(const $ of Ae.beforeEnter)oe.push(qr($,H,ie));else oe.push(qr(Ae.beforeEnter,H,ie));return oe.push(Ee),qo(oe)}).then(()=>(H.matched.forEach(Ae=>Ae.enterCallbacks={}),oe=Qu(Ie,"beforeRouteEnter",H,ie),oe.push(Ee),qo(oe))).then(()=>{oe=[];for(const Ae of i.list())oe.push(qr(Ae,H,ie));return oe.push(Ee),qo(oe)}).catch(Ae=>Vr(Ae,8)?Ae:Promise.reject(Ae))}function M(H,ie,oe){for(const be of a.list())be(H,ie,oe)}function W(H,ie,oe,be,je){const Ie=x(H,ie);if(Ie)return Ie;const Ee=ie===Nr,Ae=ns?history.state:{};oe&&(be||Ee?o.replace(H.fullPath,wt({scroll:Ee&&Ae&&Ae.scroll},je)):o.push(H.fullPath,je)),l.value=H,He(H,ie,oe,Ee),Le()}let R;function q(){R||(R=o.listen((H,ie,oe)=>{const be=b(H),je=T(be);if(je){V(wt(je,{replace:!0}),be).catch(yi);return}c=be;const Ie=l.value;ns&&Kx(Pp(Ie.fullPath,oe.delta),_u()),A(be,Ie).catch(Ee=>Vr(Ee,12)?Ee:Vr(Ee,2)?(V(Ee.to,be).then(Ae=>{Vr(Ae,20)&&!oe.delta&&oe.type===Ii.pop&&o.go(-1,!1)}).catch(yi),Promise.reject()):(oe.delta&&o.go(-oe.delta,!1),ue(Ee,be,Ie))).then(Ee=>{Ee=Ee||W(be,Ie,!1),Ee&&(oe.delta?o.go(-oe.delta,!1):oe.type===Ii.pop&&Vr(Ee,20)&&o.go(-1,!1)),M(be,Ie,Ee)}).catch(yi)}))}let B=Bs(),se=Bs(),Q;function ue(H,ie,oe){Le(H);const be=se.list();return be.length?be.forEach(je=>je(H,ie,oe)):console.error(H),Promise.reject(H)}function ge(){return Q&&l.value!==Nr?Promise.resolve():new Promise((H,ie)=>{B.add([H,ie])})}function Le(H){return Q||(Q=!H,q(),B.list().forEach(([ie,oe])=>H?oe(H):ie()),B.reset()),H}function He(H,ie,oe,be){const{scrollBehavior:je}=e;if(!ns||!je)return Promise.resolve();const Ie=!oe&&Zx(Pp(H.fullPath,0))||(be||!oe)&&history.state&&history.state.scroll||null;return Ql().then(()=>je(H,ie,Ie)).then(Ee=>Ee&&Gx(Ee)).catch(Ee=>ue(Ee,H,ie))}const he=H=>o.go(H);let J;const me=new Set;return{currentRoute:l,addRoute:p,removeRoute:h,hasRoute:g,getRoutes:_,resolve:b,options:e,push:z,replace:E,go:he,back:()=>he(-1),forward:()=>he(1),beforeEach:s.add,beforeResolve:i.add,afterEach:a.add,onError:se.add,isReady:ge,install(H){const ie=this;H.component("RouterLink",D2),H.component("RouterView",L2),H.config.globalProperties.$router=ie,Object.defineProperty(H.config.globalProperties,"$route",{enumerable:!0,get:()=>ds(l)}),ns&&!J&&l.value===Nr&&(J=!0,z(o.location).catch(je=>{}));const oe={};for(const je in Nr)oe[je]=Tt(()=>l.value[je]);H.provide(vm,ie),H.provide(ky,Fo(oe)),H.provide(sd,l);const be=H.unmount;me.add(H),H.unmount=function(){me.delete(H),me.size<1&&(c=Nr,R&&R(),R=null,l.value=Nr,J=!1,Q=!1),be()}}}}function qo(e){return e.reduce((t,n)=>t.then(()=>n()),Promise.resolve())}function N2(e,t){const n=[],r=[],o=[],s=Math.max(t.matched.length,e.matched.length);for(let i=0;i<s;i++){const a=t.matched[i];a&&(e.matched.find(c=>Cs(c,a))?r.push(a):n.push(a));const l=e.matched[i];l&&(t.matched.find(c=>Cs(c,l))||o.push(l))}return[n,r,o]}var ve=(e,t)=>{const n=e.__vccOpts||e;for(const[r,o]of t)n[r]=o;return n};const V2={name:"ContentWithHeading",data(){return{options_visible:!1}},mounted(){this.$slots.options&&(this.observer=new IntersectionObserver(this.onElementObserved,{rootMargin:"-82px 0px 0px 0px",threshold:1}),this.observer.observe(this.$refs.options_ref))},methods:{onElementObserved(e){e.forEach(({target:t,isIntersecting:n})=>{this.options_visible=n})},scroll_to_top:function(){window.scrollTo({top:0,behavior:"smooth"})},scroll_to_content:function(){this.$route.meta.has_tabs?this.$scrollTo("#top",{offset:-140}):this.$scrollTo("#top",{offset:-110})},visibilityChanged:function(e){this.options_visible=e}}},j2={class:"section fd-content"},B2={class:"container"},H2={class:"columns is-centered"},U2={class:"column is-four-fifths"},q2={key:0},W2={ref:"options_ref",style:{height:"1px"}},G2={class:"buttons is-centered",style:{"margin-bottom":"6px","margin-top":"16px"}},K2={class:"icon is-small"},Z2={class:"icon is-small"},Y2={id:"top",class:"level"},J2={class:"level-left"},X2={class:"level-item has-text-centered-mobile"},Q2={class:"level-right has-text-centered-mobile"},ek={style:{"margin-top":"16px"}};function tk(e,t,n,r,o,s){const i=O("mdicon");return S(),D("section",j2,[u("div",B2,[u("div",H2,[u("div",U2,[e.$slots.options?(S(),D("section",q2,[u("div",W2,null,512),xt(e.$slots,"options"),u("nav",G2,[o.options_visible?(S(),D("a",{key:1,class:"button is-small is-white",onClick:t[1]||(t[1]=(...a)=>s.scroll_to_content&&s.scroll_to_content(...a))},[u("span",Z2,[C(i,{name:"chevron-up",size:"16"})])])):(S(),D("a",{key:0,class:"button is-small is-white",onClick:t[0]||(t[0]=(...a)=>s.scroll_to_top&&s.scroll_to_top(...a))},[u("span",K2,[C(i,{name:"chevron-down",size:"16"})])]))])])):X("",!0),u("div",{class:Ye({"fd-content-with-option":e.$slots.options})},[u("nav",Y2,[u("div",J2,[u("div",X2,[u("div",null,[xt(e.$slots,"heading-left")])])]),u("div",Q2,[xt(e.$slots,"heading-right")])]),xt(e.$slots,"content"),u("div",ek,[xt(e.$slots,"footer")])],2)])])])])}var pt=ve(V2,[["render",tk]]),an=typeof globalThis!="undefined"?globalThis:typeof window!="undefined"?window:typeof global!="undefined"?global:typeof self!="undefined"?self:{};function My(e){return e&&e.__esModule&&Object.prototype.hasOwnProperty.call(e,"default")?e.default:e}function Ly(e){if(e.__esModule)return e;var t=Object.defineProperty({},"__esModule",{value:!0});return Object.keys(e).forEach(function(n){var r=Object.getOwnPropertyDescriptor(e,n);Object.defineProperty(t,n,r.get?r:{enumerable:!0,get:function(){return e[n]}})}),t}var wm={exports:{}},Ry=function(t,n){return function(){for(var o=new Array(arguments.length),s=0;s<o.length;s++)o[s]=arguments[s];return t.apply(n,o)}},nk=Ry,Cm=Object.prototype.toString,zm=function(e){return function(t){var n=Cm.call(t);return e[n]||(e[n]=n.slice(8,-1).toLowerCase())}}(Object.create(null));function Ro(e){return e=e.toLowerCase(),function(n){return zm(n)===e}}function xm(e){return Array.isArray(e)}function Fl(e){return typeof e=="undefined"}function rk(e){return e!==null&&!Fl(e)&&e.constructor!==null&&!Fl(e.constructor)&&typeof e.constructor.isBuffer=="function"&&e.constructor.isBuffer(e)}var Ny=Ro("ArrayBuffer");function ok(e){var t;return typeof ArrayBuffer!="undefined"&&ArrayBuffer.isView?t=ArrayBuffer.isView(e):t=e&&e.buffer&&Ny(e.buffer),t}function sk(e){return typeof e=="string"}function ik(e){return typeof e=="number"}function Vy(e){return e!==null&&typeof e=="object"}function dl(e){if(zm(e)!=="object")return!1;var t=Object.getPrototypeOf(e);return t===null||t===Object.prototype}var ak=Ro("Date"),lk=Ro("File"),uk=Ro("Blob"),ck=Ro("FileList");function km(e){return Cm.call(e)==="[object Function]"}function dk(e){return Vy(e)&&km(e.pipe)}function mk(e){var t="[object FormData]";return e&&(typeof FormData=="function"&&e instanceof FormData||Cm.call(e)===t||km(e.toString)&&e.toString()===t)}var fk=Ro("URLSearchParams");function pk(e){return e.trim?e.trim():e.replace(/^\s+|\s+$/g,"")}function hk(){return typeof navigator!="undefined"&&(navigator.product==="ReactNative"||navigator.product==="NativeScript"||navigator.product==="NS")?!1:typeof window!="undefined"&&typeof document!="undefined"}function Sm(e,t){if(!(e===null||typeof e=="undefined"))if(typeof e!="object"&&(e=[e]),xm(e))for(var n=0,r=e.length;n<r;n++)t.call(null,e[n],n,e);else for(var o in e)Object.prototype.hasOwnProperty.call(e,o)&&t.call(null,e[o],o,e)}function ld(){var e={};function t(o,s){dl(e[s])&&dl(o)?e[s]=ld(e[s],o):dl(o)?e[s]=ld({},o):xm(o)?e[s]=o.slice():e[s]=o}for(var n=0,r=arguments.length;n<r;n++)Sm(arguments[n],t);return e}function _k(e,t,n){return Sm(t,function(o,s){n&&typeof o=="function"?e[s]=nk(o,n):e[s]=o}),e}function gk(e){return e.charCodeAt(0)===65279&&(e=e.slice(1)),e}function yk(e,t,n,r){e.prototype=Object.create(t.prototype,r),e.prototype.constructor=e,n&&Object.assign(e.prototype,n)}function vk(e,t,n){var r,o,s,i={};t=t||{};do{for(r=Object.getOwnPropertyNames(e),o=r.length;o-- >0;)s=r[o],i[s]||(t[s]=e[s],i[s]=!0);e=Object.getPrototypeOf(e)}while(e&&(!n||n(e,t))&&e!==Object.prototype);return t}function bk(e,t,n){e=String(e),(n===void 0||n>e.length)&&(n=e.length),n-=t.length;var r=e.indexOf(t,n);return r!==-1&&r===n}function wk(e){if(!e)return null;var t=e.length;if(Fl(t))return null;for(var n=new Array(t);t-- >0;)n[t]=e[t];return n}var Ck=function(e){return function(t){return e&&t instanceof e}}(typeof Uint8Array!="undefined"&&Object.getPrototypeOf(Uint8Array)),tn={isArray:xm,isArrayBuffer:Ny,isBuffer:rk,isFormData:mk,isArrayBufferView:ok,isString:sk,isNumber:ik,isObject:Vy,isPlainObject:dl,isUndefined:Fl,isDate:ak,isFile:lk,isBlob:uk,isFunction:km,isStream:dk,isURLSearchParams:fk,isStandardBrowserEnv:hk,forEach:Sm,merge:ld,extend:_k,trim:pk,stripBOM:gk,inherits:yk,toFlatObject:vk,kindOf:zm,kindOfTest:Ro,endsWith:bk,toArray:wk,isTypedArray:Ck,isFileList:ck},Wo=tn;function Up(e){return encodeURIComponent(e).replace(/%3A/gi,":").replace(/%24/g,"$").replace(/%2C/gi,",").replace(/%20/g,"+").replace(/%5B/gi,"[").replace(/%5D/gi,"]")}var jy=function(t,n,r){if(!n)return t;var o;if(r)o=r(n);else if(Wo.isURLSearchParams(n))o=n.toString();else{var s=[];Wo.forEach(n,function(l,c){l===null||typeof l=="undefined"||(Wo.isArray(l)?c=c+"[]":l=[l],Wo.forEach(l,function(f){Wo.isDate(f)?f=f.toISOString():Wo.isObject(f)&&(f=JSON.stringify(f)),s.push(Up(c)+"="+Up(f))}))}),o=s.join("&")}if(o){var i=t.indexOf("#");i!==-1&&(t=t.slice(0,i)),t+=(t.indexOf("?")===-1?"?":"&")+o}return t},zk=tn;function gu(){this.handlers=[]}gu.prototype.use=function(t,n,r){return this.handlers.push({fulfilled:t,rejected:n,synchronous:r?r.synchronous:!1,runWhen:r?r.runWhen:null}),this.handlers.length-1};gu.prototype.eject=function(t){this.handlers[t]&&(this.handlers[t]=null)};gu.prototype.forEach=function(t){zk.forEach(this.handlers,function(r){r!==null&&t(r)})};var xk=gu,kk=tn,Sk=function(t,n){kk.forEach(t,function(o,s){s!==n&&s.toUpperCase()===n.toUpperCase()&&(t[n]=o,delete t[s])})},By=tn;function xs(e,t,n,r,o){Error.call(this),this.message=e,this.name="AxiosError",t&&(this.code=t),n&&(this.config=n),r&&(this.request=r),o&&(this.response=o)}By.inherits(xs,Error,{toJSON:function(){return{message:this.message,name:this.name,description:this.description,number:this.number,fileName:this.fileName,lineNumber:this.lineNumber,columnNumber:this.columnNumber,stack:this.stack,config:this.config,code:this.code,status:this.response&&this.response.status?this.response.status:null}}});var Hy=xs.prototype,Uy={};["ERR_BAD_OPTION_VALUE","ERR_BAD_OPTION","ECONNABORTED","ETIMEDOUT","ERR_NETWORK","ERR_FR_TOO_MANY_REDIRECTS","ERR_DEPRECATED","ERR_BAD_RESPONSE","ERR_BAD_REQUEST","ERR_CANCELED"].forEach(function(e){Uy[e]={value:e}});Object.defineProperties(xs,Uy);Object.defineProperty(Hy,"isAxiosError",{value:!0});xs.from=function(e,t,n,r,o,s){var i=Object.create(Hy);return By.toFlatObject(e,i,function(l){return l!==Error.prototype}),xs.call(i,e.message,t,n,r,o),i.name=e.name,s&&Object.assign(i,s),i};var Ps=xs,qy={silentJSONParsing:!0,forcedJSONParsing:!0,clarifyTimeoutError:!1},Yn=tn;function Ek(e,t){t=t||new FormData;var n=[];function r(s){return s===null?"":Yn.isDate(s)?s.toISOString():Yn.isArrayBuffer(s)||Yn.isTypedArray(s)?typeof Blob=="function"?new Blob([s]):Buffer.from(s):s}function o(s,i){if(Yn.isPlainObject(s)||Yn.isArray(s)){if(n.indexOf(s)!==-1)throw Error("Circular reference detected in "+i);n.push(s),Yn.forEach(s,function(l,c){if(!Yn.isUndefined(l)){var d=i?i+"."+c:c,f;if(l&&!i&&typeof l=="object"){if(Yn.endsWith(c,"{}"))l=JSON.stringify(l);else if(Yn.endsWith(c,"[]")&&(f=Yn.toArray(l))){f.forEach(function(m){!Yn.isUndefined(m)&&t.append(d,r(m))});return}}o(l,d)}}),n.pop()}else t.append(i,r(s))}return o(e),t}var Wy=Ek,ec=Ps,$k=function(t,n,r){var o=r.config.validateStatus;!r.status||!o||o(r.status)?t(r):n(new ec("Request failed with status code "+r.status,[ec.ERR_BAD_REQUEST,ec.ERR_BAD_RESPONSE][Math.floor(r.status/100)-4],r.config,r.request,r))},ba=tn,Ak=ba.isStandardBrowserEnv()?function(){return{write:function(n,r,o,s,i,a){var l=[];l.push(n+"="+encodeURIComponent(r)),ba.isNumber(o)&&l.push("expires="+new Date(o).toGMTString()),ba.isString(s)&&l.push("path="+s),ba.isString(i)&&l.push("domain="+i),a===!0&&l.push("secure"),document.cookie=l.join("; ")},read:function(n){var r=document.cookie.match(new RegExp("(^|;\\s*)("+n+")=([^;]*)"));return r?decodeURIComponent(r[3]):null},remove:function(n){this.write(n,"",Date.now()-864e5)}}}():function(){return{write:function(){},read:function(){return null},remove:function(){}}}(),Tk=function(t){return/^([a-z][a-z\d+\-.]*:)?\/\//i.test(t)},Ok=function(t,n){return n?t.replace(/\/+$/,"")+"/"+n.replace(/^\/+/,""):t},Pk=Tk,Dk=Ok,Gy=function(t,n){return t&&!Pk(n)?Dk(t,n):n},tc=tn,Fk=["age","authorization","content-length","content-type","etag","expires","from","host","if-modified-since","if-unmodified-since","last-modified","location","max-forwards","proxy-authorization","referer","retry-after","user-agent"],Ik=function(t){var n={},r,o,s;return t&&tc.forEach(t.split(`
|
|
`),function(a){if(s=a.indexOf(":"),r=tc.trim(a.substr(0,s)).toLowerCase(),o=tc.trim(a.substr(s+1)),r){if(n[r]&&Fk.indexOf(r)>=0)return;r==="set-cookie"?n[r]=(n[r]?n[r]:[]).concat([o]):n[r]=n[r]?n[r]+", "+o:o}}),n},qp=tn,Mk=qp.isStandardBrowserEnv()?function(){var t=/(msie|trident)/i.test(navigator.userAgent),n=document.createElement("a"),r;function o(s){var i=s;return t&&(n.setAttribute("href",i),i=n.href),n.setAttribute("href",i),{href:n.href,protocol:n.protocol?n.protocol.replace(/:$/,""):"",host:n.host,search:n.search?n.search.replace(/^\?/,""):"",hash:n.hash?n.hash.replace(/^#/,""):"",hostname:n.hostname,port:n.port,pathname:n.pathname.charAt(0)==="/"?n.pathname:"/"+n.pathname}}return r=o(window.location.href),function(i){var a=qp.isString(i)?o(i):i;return a.protocol===r.protocol&&a.host===r.host}}():function(){return function(){return!0}}(),ud=Ps,Lk=tn;function Ky(e){ud.call(this,e==null?"canceled":e,ud.ERR_CANCELED),this.name="CanceledError"}Lk.inherits(Ky,ud,{__CANCEL__:!0});var yu=Ky,Rk=function(t){var n=/^([-+\w]{1,25})(:?\/\/|:)/.exec(t);return n&&n[1]||""},Hs=tn,Nk=$k,Vk=Ak,jk=jy,Bk=Gy,Hk=Ik,Uk=Mk,qk=qy,zr=Ps,Wk=yu,Gk=Rk,Wp=function(t){return new Promise(function(r,o){var s=t.data,i=t.headers,a=t.responseType,l;function c(){t.cancelToken&&t.cancelToken.unsubscribe(l),t.signal&&t.signal.removeEventListener("abort",l)}Hs.isFormData(s)&&Hs.isStandardBrowserEnv()&&delete i["Content-Type"];var d=new XMLHttpRequest;if(t.auth){var f=t.auth.username||"",m=t.auth.password?unescape(encodeURIComponent(t.auth.password)):"";i.Authorization="Basic "+btoa(f+":"+m)}var p=Bk(t.baseURL,t.url);d.open(t.method.toUpperCase(),jk(p,t.params,t.paramsSerializer),!0),d.timeout=t.timeout;function h(){if(!!d){var b="getAllResponseHeaders"in d?Hk(d.getAllResponseHeaders()):null,w=!a||a==="text"||a==="json"?d.responseText:d.response,x={data:w,status:d.status,statusText:d.statusText,headers:b,config:t,request:d};Nk(function(E){r(E),c()},function(E){o(E),c()},x),d=null}}if("onloadend"in d?d.onloadend=h:d.onreadystatechange=function(){!d||d.readyState!==4||d.status===0&&!(d.responseURL&&d.responseURL.indexOf("file:")===0)||setTimeout(h)},d.onabort=function(){!d||(o(new zr("Request aborted",zr.ECONNABORTED,t,d)),d=null)},d.onerror=function(){o(new zr("Network Error",zr.ERR_NETWORK,t,d,d)),d=null},d.ontimeout=function(){var w=t.timeout?"timeout of "+t.timeout+"ms exceeded":"timeout exceeded",x=t.transitional||qk;t.timeoutErrorMessage&&(w=t.timeoutErrorMessage),o(new zr(w,x.clarifyTimeoutError?zr.ETIMEDOUT:zr.ECONNABORTED,t,d)),d=null},Hs.isStandardBrowserEnv()){var _=(t.withCredentials||Uk(p))&&t.xsrfCookieName?Vk.read(t.xsrfCookieName):void 0;_&&(i[t.xsrfHeaderName]=_)}"setRequestHeader"in d&&Hs.forEach(i,function(w,x){typeof s=="undefined"&&x.toLowerCase()==="content-type"?delete i[x]:d.setRequestHeader(x,w)}),Hs.isUndefined(t.withCredentials)||(d.withCredentials=!!t.withCredentials),a&&a!=="json"&&(d.responseType=t.responseType),typeof t.onDownloadProgress=="function"&&d.addEventListener("progress",t.onDownloadProgress),typeof t.onUploadProgress=="function"&&d.upload&&d.upload.addEventListener("progress",t.onUploadProgress),(t.cancelToken||t.signal)&&(l=function(b){!d||(o(!b||b&&b.type?new Wk:b),d.abort(),d=null)},t.cancelToken&&t.cancelToken.subscribe(l),t.signal&&(t.signal.aborted?l():t.signal.addEventListener("abort",l))),s||(s=null);var g=Gk(p);if(g&&["http","https","file"].indexOf(g)===-1){o(new zr("Unsupported protocol "+g+":",zr.ERR_BAD_REQUEST,t));return}d.send(s)})},Kk=null,Jt=tn,Gp=Sk,Kp=Ps,Zk=qy,Yk=Wy,Jk={"Content-Type":"application/x-www-form-urlencoded"};function Zp(e,t){!Jt.isUndefined(e)&&Jt.isUndefined(e["Content-Type"])&&(e["Content-Type"]=t)}function Xk(){var e;return(typeof XMLHttpRequest!="undefined"||typeof process!="undefined"&&Object.prototype.toString.call(process)==="[object process]")&&(e=Wp),e}function Qk(e,t,n){if(Jt.isString(e))try{return(t||JSON.parse)(e),Jt.trim(e)}catch(r){if(r.name!=="SyntaxError")throw r}return(n||JSON.stringify)(e)}var vu={transitional:Zk,adapter:Xk(),transformRequest:[function(t,n){if(Gp(n,"Accept"),Gp(n,"Content-Type"),Jt.isFormData(t)||Jt.isArrayBuffer(t)||Jt.isBuffer(t)||Jt.isStream(t)||Jt.isFile(t)||Jt.isBlob(t))return t;if(Jt.isArrayBufferView(t))return t.buffer;if(Jt.isURLSearchParams(t))return Zp(n,"application/x-www-form-urlencoded;charset=utf-8"),t.toString();var r=Jt.isObject(t),o=n&&n["Content-Type"],s;if((s=Jt.isFileList(t))||r&&o==="multipart/form-data"){var i=this.env&&this.env.FormData;return Yk(s?{"files[]":t}:t,i&&new i)}else if(r||o==="application/json")return Zp(n,"application/json"),Qk(t);return t}],transformResponse:[function(t){var n=this.transitional||vu.transitional,r=n&&n.silentJSONParsing,o=n&&n.forcedJSONParsing,s=!r&&this.responseType==="json";if(s||o&&Jt.isString(t)&&t.length)try{return JSON.parse(t)}catch(i){if(s)throw i.name==="SyntaxError"?Kp.from(i,Kp.ERR_BAD_RESPONSE,this,null,this.response):i}return t}],timeout:0,xsrfCookieName:"XSRF-TOKEN",xsrfHeaderName:"X-XSRF-TOKEN",maxContentLength:-1,maxBodyLength:-1,env:{FormData:Kk},validateStatus:function(t){return t>=200&&t<300},headers:{common:{Accept:"application/json, text/plain, */*"}}};Jt.forEach(["delete","get","head"],function(t){vu.headers[t]={}});Jt.forEach(["post","put","patch"],function(t){vu.headers[t]=Jt.merge(Jk)});var Em=vu,eS=tn,tS=Em,nS=function(t,n,r){var o=this||tS;return eS.forEach(r,function(i){t=i.call(o,t,n)}),t},Zy=function(t){return!!(t&&t.__CANCEL__)},Yp=tn,nc=nS,rS=Zy,oS=Em,sS=yu;function rc(e){if(e.cancelToken&&e.cancelToken.throwIfRequested(),e.signal&&e.signal.aborted)throw new sS}var iS=function(t){rc(t),t.headers=t.headers||{},t.data=nc.call(t,t.data,t.headers,t.transformRequest),t.headers=Yp.merge(t.headers.common||{},t.headers[t.method]||{},t.headers),Yp.forEach(["delete","get","head","post","put","patch","common"],function(o){delete t.headers[o]});var n=t.adapter||oS.adapter;return n(t).then(function(o){return rc(t),o.data=nc.call(t,o.data,o.headers,t.transformResponse),o},function(o){return rS(o)||(rc(t),o&&o.response&&(o.response.data=nc.call(t,o.response.data,o.response.headers,t.transformResponse))),Promise.reject(o)})},$n=tn,Yy=function(t,n){n=n||{};var r={};function o(d,f){return $n.isPlainObject(d)&&$n.isPlainObject(f)?$n.merge(d,f):$n.isPlainObject(f)?$n.merge({},f):$n.isArray(f)?f.slice():f}function s(d){if($n.isUndefined(n[d])){if(!$n.isUndefined(t[d]))return o(void 0,t[d])}else return o(t[d],n[d])}function i(d){if(!$n.isUndefined(n[d]))return o(void 0,n[d])}function a(d){if($n.isUndefined(n[d])){if(!$n.isUndefined(t[d]))return o(void 0,t[d])}else return o(void 0,n[d])}function l(d){if(d in n)return o(t[d],n[d]);if(d in t)return o(void 0,t[d])}var c={url:i,method:i,data:i,baseURL:a,transformRequest:a,transformResponse:a,paramsSerializer:a,timeout:a,timeoutMessage:a,withCredentials:a,adapter:a,responseType:a,xsrfCookieName:a,xsrfHeaderName:a,onUploadProgress:a,onDownloadProgress:a,decompress:a,maxContentLength:a,maxBodyLength:a,beforeRedirect:a,transport:a,httpAgent:a,httpsAgent:a,cancelToken:a,socketPath:a,responseEncoding:a,validateStatus:l};return $n.forEach(Object.keys(t).concat(Object.keys(n)),function(f){var m=c[f]||s,p=m(f);$n.isUndefined(p)&&m!==l||(r[f]=p)}),r},Jy={version:"0.27.2"},aS=Jy.version,Wr=Ps,$m={};["object","boolean","number","function","string","symbol"].forEach(function(e,t){$m[e]=function(r){return typeof r===e||"a"+(t<1?"n ":" ")+e}});var Jp={};$m.transitional=function(t,n,r){function o(s,i){return"[Axios v"+aS+"] Transitional option '"+s+"'"+i+(r?". "+r:"")}return function(s,i,a){if(t===!1)throw new Wr(o(i," has been removed"+(n?" in "+n:"")),Wr.ERR_DEPRECATED);return n&&!Jp[i]&&(Jp[i]=!0,console.warn(o(i," has been deprecated since v"+n+" and will be removed in the near future"))),t?t(s,i,a):!0}};function lS(e,t,n){if(typeof e!="object")throw new Wr("options must be an object",Wr.ERR_BAD_OPTION_VALUE);for(var r=Object.keys(e),o=r.length;o-- >0;){var s=r[o],i=t[s];if(i){var a=e[s],l=a===void 0||i(a,s,e);if(l!==!0)throw new Wr("option "+s+" must be "+l,Wr.ERR_BAD_OPTION_VALUE);continue}if(n!==!0)throw new Wr("Unknown option "+s,Wr.ERR_BAD_OPTION)}}var uS={assertOptions:lS,validators:$m},Xy=tn,cS=jy,Xp=xk,Qp=iS,bu=Yy,dS=Gy,Qy=uS,Go=Qy.validators;function ks(e){this.defaults=e,this.interceptors={request:new Xp,response:new Xp}}ks.prototype.request=function(t,n){typeof t=="string"?(n=n||{},n.url=t):n=t||{},n=bu(this.defaults,n),n.method?n.method=n.method.toLowerCase():this.defaults.method?n.method=this.defaults.method.toLowerCase():n.method="get";var r=n.transitional;r!==void 0&&Qy.assertOptions(r,{silentJSONParsing:Go.transitional(Go.boolean),forcedJSONParsing:Go.transitional(Go.boolean),clarifyTimeoutError:Go.transitional(Go.boolean)},!1);var o=[],s=!0;this.interceptors.request.forEach(function(p){typeof p.runWhen=="function"&&p.runWhen(n)===!1||(s=s&&p.synchronous,o.unshift(p.fulfilled,p.rejected))});var i=[];this.interceptors.response.forEach(function(p){i.push(p.fulfilled,p.rejected)});var a;if(!s){var l=[Qp,void 0];for(Array.prototype.unshift.apply(l,o),l=l.concat(i),a=Promise.resolve(n);l.length;)a=a.then(l.shift(),l.shift());return a}for(var c=n;o.length;){var d=o.shift(),f=o.shift();try{c=d(c)}catch(m){f(m);break}}try{a=Qp(c)}catch(m){return Promise.reject(m)}for(;i.length;)a=a.then(i.shift(),i.shift());return a};ks.prototype.getUri=function(t){t=bu(this.defaults,t);var n=dS(t.baseURL,t.url);return cS(n,t.params,t.paramsSerializer)};Xy.forEach(["delete","get","head","options"],function(t){ks.prototype[t]=function(n,r){return this.request(bu(r||{},{method:t,url:n,data:(r||{}).data}))}});Xy.forEach(["post","put","patch"],function(t){function n(r){return function(s,i,a){return this.request(bu(a||{},{method:t,headers:r?{"Content-Type":"multipart/form-data"}:{},url:s,data:i}))}}ks.prototype[t]=n(),ks.prototype[t+"Form"]=n(!0)});var mS=ks,fS=yu;function Ss(e){if(typeof e!="function")throw new TypeError("executor must be a function.");var t;this.promise=new Promise(function(o){t=o});var n=this;this.promise.then(function(r){if(!!n._listeners){var o,s=n._listeners.length;for(o=0;o<s;o++)n._listeners[o](r);n._listeners=null}}),this.promise.then=function(r){var o,s=new Promise(function(i){n.subscribe(i),o=i}).then(r);return s.cancel=function(){n.unsubscribe(o)},s},e(function(o){n.reason||(n.reason=new fS(o),t(n.reason))})}Ss.prototype.throwIfRequested=function(){if(this.reason)throw this.reason};Ss.prototype.subscribe=function(t){if(this.reason){t(this.reason);return}this._listeners?this._listeners.push(t):this._listeners=[t]};Ss.prototype.unsubscribe=function(t){if(!!this._listeners){var n=this._listeners.indexOf(t);n!==-1&&this._listeners.splice(n,1)}};Ss.source=function(){var t,n=new Ss(function(o){t=o});return{token:n,cancel:t}};var pS=Ss,hS=function(t){return function(r){return t.apply(null,r)}},_S=tn,gS=function(t){return _S.isObject(t)&&t.isAxiosError===!0},eh=tn,yS=Ry,ml=mS,vS=Yy,bS=Em;function ev(e){var t=new ml(e),n=yS(ml.prototype.request,t);return eh.extend(n,ml.prototype,t),eh.extend(n,t),n.create=function(o){return ev(vS(e,o))},n}var Sn=ev(bS);Sn.Axios=ml;Sn.CanceledError=yu;Sn.CancelToken=pS;Sn.isCancel=Zy;Sn.VERSION=Jy.version;Sn.toFormData=Wy;Sn.AxiosError=Ps;Sn.Cancel=Sn.CanceledError;Sn.all=function(t){return Promise.all(t)};Sn.spread=hS;Sn.isAxiosError=gS;wm.exports=Sn;wm.exports.default=Sn;var Te=wm.exports;const{t:rs}=Gi.global;Te.interceptors.response.use(function(e){return e},function(e){return console.log(Gi),e.request.status&&e.request.responseURL&&at.dispatch("add_notification",{text:rs("server.request-failed",{status:e.request.status,cause:e.request.statusText,url:e.request.responseURL}),type:"danger"}),Promise.reject(e)});var Z={config(){return Te.get("./api/config")},settings(){return Te.get("./api/settings")},settings_update(e,t){return Te.put("./api/settings/"+e+"/"+t.name,t)},library_stats(){return Te.get("./api/library")},library_update(e){const t={};return e&&(t.scan_kind=e),Te.put("./api/update",void 0,{params:t})},library_rescan(e){const t={};return e&&(t.scan_kind=e),Te.put("./api/rescan",void 0,{params:t})},library_count(e){return Te.get("./api/library/count?expression="+e)},queue(){return Te.get("./api/queue")},queue_clear(){return Te.put("./api/queue/clear")},queue_remove(e){return Te.delete("./api/queue/items/"+e)},queue_move(e,t){return Te.put("./api/queue/items/"+e+"?new_position="+t)},queue_add(e){return Te.post("./api/queue/items/add?uris="+e).then(t=>(at.dispatch("add_notification",{text:rs("server.appended-tracks",{count:t.data.count}),type:"info",timeout:2e3}),Promise.resolve(t)))},queue_add_next(e){let t=0;return at.getters.now_playing&&at.getters.now_playing.id&&(t=at.getters.now_playing.position+1),Te.post("./api/queue/items/add?uris="+e+"&position="+t).then(n=>(at.dispatch("add_notification",{text:rs("server.appended-tracks",{count:n.data.count}),type:"info",timeout:2e3}),Promise.resolve(n)))},queue_expression_add(e){const t={};return t.expression=e,Te.post("./api/queue/items/add",void 0,{params:t}).then(n=>(at.dispatch("add_notification",{text:rs("server.appended-tracks",{count:n.data.count}),type:"info",timeout:2e3}),Promise.resolve(n)))},queue_expression_add_next(e){const t={};return t.expression=e,t.position=0,at.getters.now_playing&&at.getters.now_playing.id&&(t.position=at.getters.now_playing.position+1),Te.post("./api/queue/items/add",void 0,{params:t}).then(n=>(at.dispatch("add_notification",{text:rs("server.appended-tracks",{count:n.data.count}),type:"info",timeout:2e3}),Promise.resolve(n)))},queue_save_playlist(e){return Te.post("./api/queue/save",void 0,{params:{name:e}}).then(t=>(at.dispatch("add_notification",{text:rs("server.queue-saved",{name:e}),type:"info",timeout:2e3}),Promise.resolve(t)))},player_status(){return Te.get("./api/player")},player_play_uri(e,t,n=void 0){const r={};return r.uris=e,r.shuffle=t?"true":"false",r.clear="true",r.playback="start",r.playback_from_position=n,Te.post("./api/queue/items/add",void 0,{params:r})},player_play_expression(e,t,n=void 0){const r={};return r.expression=e,r.shuffle=t?"true":"false",r.clear="true",r.playback="start",r.playback_from_position=n,Te.post("./api/queue/items/add",void 0,{params:r})},player_play(e={}){return Te.put("./api/player/play",void 0,{params:e})},player_playpos(e){return Te.put("./api/player/play?position="+e)},player_playid(e){return Te.put("./api/player/play?item_id="+e)},player_pause(){return Te.put("./api/player/pause")},player_stop(){return Te.put("./api/player/stop")},player_next(){return Te.put("./api/player/next")},player_previous(){return Te.put("./api/player/previous")},player_shuffle(e){const t=e?"true":"false";return Te.put("./api/player/shuffle?state="+t)},player_consume(e){const t=e?"true":"false";return Te.put("./api/player/consume?state="+t)},player_repeat(e){return Te.put("./api/player/repeat?state="+e)},player_volume(e){return Te.put("./api/player/volume?volume="+e)},player_output_volume(e,t){return Te.put("./api/player/volume?volume="+t+"&output_id="+e)},player_seek_to_pos(e){return Te.put("./api/player/seek?position_ms="+e)},player_seek(e){return Te.put("./api/player/seek?seek_ms="+e)},outputs(){return Te.get("./api/outputs")},output_update(e,t){return Te.put("./api/outputs/"+e,t)},output_toggle(e){return Te.put("./api/outputs/"+e+"/toggle")},library_artists(e=void 0){return Te.get("./api/library/artists",{params:{media_kind:e}})},library_artist(e){return Te.get("./api/library/artists/"+e)},library_artist_albums(e){return Te.get("./api/library/artists/"+e+"/albums")},library_albums(e=void 0){return Te.get("./api/library/albums",{params:{media_kind:e}})},library_album(e){return Te.get("./api/library/albums/"+e)},library_album_tracks(e,t={limit:-1,offset:0}){return Te.get("./api/library/albums/"+e+"/tracks",{params:t})},library_album_track_update(e,t){return Te.put("./api/library/albums/"+e+"/tracks",void 0,{params:t})},library_genres(e=void 0){return Te.get("./api/library/genres",{params:{media_kind:e}})},library_genre(e){return Te.get(`./api/library/genres/${encodeURIComponent(e)}`)},library_genre_albums(e){const t={type:"albums",expression:`genre is "${e}" and media_kind is music`};return Te.get("./api/search",{params:t})},library_genre_tracks(e){const t={type:"tracks",expression:`genre is "${e}" and media_kind is music`};return Te.get("./api/search",{params:t})},library_radio_streams(){const e={type:"tracks",media_kind:"music",expression:"data_kind is url and song_length = 0"};return Te.get("./api/search",{params:e})},library_composers(e=void 0){return Te.get("./api/library/composers",{params:{media_kind:e}})},library_composer(e){return Te.get(`./api/library/composers/${encodeURIComponent(e)}`)},library_composer_albums(e){const t={type:"albums",expression:`composer is "${e}" and media_kind is music`};return Te.get("./api/search",{params:t})},library_composer_tracks(e){const t={type:"tracks",expression:`composer is "${e}" and media_kind is music`};return Te.get("./api/search",{params:t})},library_artist_tracks(e){if(e){const t={type:"tracks",expression:'songartistid is "'+e+'"'};return Te.get("./api/search",{params:t})}},library_podcasts_new_episodes(){const e={type:"tracks",expression:"media_kind is podcast and play_count = 0 ORDER BY time_added DESC"};return Te.get("./api/search",{params:e})},library_podcast_episodes(e){const t={type:"tracks",expression:'media_kind is podcast and songalbumid is "'+e+'" ORDER BY date_released DESC'};return Te.get("./api/search",{params:t})},library_add(e){return Te.post("./api/library/add",void 0,{params:{url:e}})},library_playlist_delete(e){return Te.delete("./api/library/playlists/"+e,void 0)},library_playlists(){return Te.get("./api/library/playlists")},library_playlist_folder(e=0){return Te.get("./api/library/playlists/"+e+"/playlists")},library_playlist(e){return Te.get("./api/library/playlists/"+e)},library_playlist_tracks(e){return Te.get("./api/library/playlists/"+e+"/tracks")},library_track(e){return Te.get("./api/library/tracks/"+e)},library_track_playlists(e){return Te.get("./api/library/tracks/"+e+"/playlists")},library_track_update(e,t={}){return Te.put("./api/library/tracks/"+e,void 0,{params:t})},library_files(e=void 0){const t={directory:e};return Te.get("./api/library/files",{params:t})},search(e){return Te.get("./api/search",{params:e})},spotify(){return Te.get("./api/spotify")},spotify_login(e){return Te.post("./api/spotify-login",e)},spotify_logout(){return Te.get("./api/spotify-logout")},lastfm(){return Te.get("./api/lastfm")},lastfm_login(e){return Te.post("./api/lastfm-login",e)},lastfm_logout(e){return Te.get("./api/lastfm-logout")},pairing(){return Te.get("./api/pairing")},pairing_kickoff(e){return Te.post("./api/pairing",e)},artwork_url_append_size_params(e,t=600,n=600){return e&&e.startsWith("/")?e.includes("?")?e+"&maxwidth="+t+"&maxheight="+n:e+"?maxwidth="+t+"&maxheight="+n:e}};const wS={name:"ListItemQueueItem",props:["item","position","current_position","show_only_next_items","edit_mode"],computed:{state(){return this.$store.state.player},is_next(){return this.current_position<0||this.position>=this.current_position}},methods:{play:function(){Z.player_play({item_id:this.item.id})}}},CS={key:0,class:"media"},zS={key:0,class:"media-left"},xS={class:"icon has-text-grey fd-is-movable handle"},kS=["textContent"],SS=["textContent"],ES=["textContent"],$S={class:"media-right"};function AS(e,t,n,r,o,s){const i=O("mdicon");return s.is_next||!n.show_only_next_items?(S(),D("div",CS,[n.edit_mode?(S(),D("div",zS,[u("span",xS,[C(i,{name:"drag-horizontal",size:"16"})])])):X("",!0),u("div",{class:"media-content fd-has-action is-clipped",onClick:t[0]||(t[0]=(...a)=>s.play&&s.play(...a))},[u("h1",{class:Ye(["title is-6",{"has-text-primary":n.item.id===s.state.item_id,"has-text-grey-light":!s.is_next}]),textContent:v(n.item.title)},null,10,kS),u("h2",{class:Ye(["subtitle is-7",{"has-text-primary":n.item.id===s.state.item_id,"has-text-grey-light":!s.is_next,"has-text-grey":s.is_next&&n.item.id!==s.state.item_id}])},[u("b",{textContent:v(n.item.artist)},null,8,SS)],2),u("h2",{class:Ye(["subtitle is-7",{"has-text-primary":n.item.id===s.state.item_id,"has-text-grey-light":!s.is_next,"has-text-grey":s.is_next&&n.item.id!==s.state.item_id}]),textContent:v(n.item.album)},null,10,ES)]),u("div",$S,[xt(e.$slots,"actions")])])):X("",!0)}var TS=ve(wS,[["render",AS]]),tv={exports:{}};(function(e){var t=function(){var n="https://api.spotify.com/v1",r=null,o=null,s=function(m,p){return m.abort=p,m},i=function(m,p){var h;if(o!==null){var _=o.defer();m(function(g){_.resolve(g)},function(g){_.reject(g)}),h=_.promise}else window.Promise&&(h=new window.Promise(m));return h?new s(h,p):null},a=function(){var m=Array.prototype.slice.call(arguments),p=m[0],h=m.slice(1);return p=p||{},h.forEach(function(_){for(var g in _)_.hasOwnProperty(g)&&(p[g]=_[g])}),p},l=function(m,p){var h="";for(var _ in p)if(p.hasOwnProperty(_)){var g=p[_];h+=encodeURIComponent(_)+"="+encodeURIComponent(g)+"&"}return h.length>0&&(h=h.substring(0,h.length-1),m=m+"?"+h),m},c=function(m,p){var h=new XMLHttpRequest,_=function(g,b){function w(T){g&&g(T),p&&p(null,T)}function x(){b&&b(h),p&&p(h,null)}var z=m.type||"GET";if(h.open(z,l(m.url,m.params)),r&&h.setRequestHeader("Authorization","Bearer "+r),h.onreadystatechange=function(){if(h.readyState===4){var T=null;try{T=h.responseText?JSON.parse(h.responseText):""}catch(V){console.error(V)}h.status>=200&&h.status<300?w(T):x()}},z==="GET")h.send(null);else{var E=null;m.postData&&(m.contentType==="image/jpeg"?(E=m.postData,h.setRequestHeader("Content-Type",m.contentType)):(E=JSON.stringify(m.postData),h.setRequestHeader("Content-Type","application/json"))),h.send(E)}};return p?(_(),null):i(_,function(){h.abort()})},d=function(m,p,h,_){var g={},b=null;typeof p=="object"?(g=p,b=h):typeof p=="function"&&(b=p);var w=m.type||"GET";return w!=="GET"&&m.postData&&!_?m.postData=a(m.postData,g):m.params=a(m.params,g),c(m,b)},f=function(){};return f.prototype={constructor:t},f.prototype.getGeneric=function(m,p){var h={url:m};return d(h,p)},f.prototype.getMe=function(m,p){var h={url:n+"/me"};return d(h,m,p)},f.prototype.getMySavedTracks=function(m,p){var h={url:n+"/me/tracks"};return d(h,m,p)},f.prototype.addToMySavedTracks=function(m,p,h){var _={url:n+"/me/tracks",type:"PUT",postData:m};return d(_,p,h)},f.prototype.removeFromMySavedTracks=function(m,p,h){var _={url:n+"/me/tracks",type:"DELETE",postData:m};return d(_,p,h)},f.prototype.containsMySavedTracks=function(m,p,h){var _={url:n+"/me/tracks/contains",params:{ids:m.join(",")}};return d(_,p,h)},f.prototype.getMySavedAlbums=function(m,p){var h={url:n+"/me/albums"};return d(h,m,p)},f.prototype.addToMySavedAlbums=function(m,p,h){var _={url:n+"/me/albums",type:"PUT",postData:m};return d(_,p,h)},f.prototype.removeFromMySavedAlbums=function(m,p,h){var _={url:n+"/me/albums",type:"DELETE",postData:m};return d(_,p,h)},f.prototype.containsMySavedAlbums=function(m,p,h){var _={url:n+"/me/albums/contains",params:{ids:m.join(",")}};return d(_,p,h)},f.prototype.getMyTopArtists=function(m,p){var h={url:n+"/me/top/artists"};return d(h,m,p)},f.prototype.getMyTopTracks=function(m,p){var h={url:n+"/me/top/tracks"};return d(h,m,p)},f.prototype.getMyRecentlyPlayedTracks=function(m,p){var h={url:n+"/me/player/recently-played"};return d(h,m,p)},f.prototype.followUsers=function(m,p){var h={url:n+"/me/following/",type:"PUT",params:{ids:m.join(","),type:"user"}};return d(h,p)},f.prototype.followArtists=function(m,p){var h={url:n+"/me/following/",type:"PUT",params:{ids:m.join(","),type:"artist"}};return d(h,p)},f.prototype.followPlaylist=function(m,p,h){var _={url:n+"/playlists/"+m+"/followers",type:"PUT",postData:{}};return d(_,p,h)},f.prototype.unfollowUsers=function(m,p){var h={url:n+"/me/following/",type:"DELETE",params:{ids:m.join(","),type:"user"}};return d(h,p)},f.prototype.unfollowArtists=function(m,p){var h={url:n+"/me/following/",type:"DELETE",params:{ids:m.join(","),type:"artist"}};return d(h,p)},f.prototype.unfollowPlaylist=function(m,p){var h={url:n+"/playlists/"+m+"/followers",type:"DELETE"};return d(h,p)},f.prototype.isFollowingUsers=function(m,p){var h={url:n+"/me/following/contains",type:"GET",params:{ids:m.join(","),type:"user"}};return d(h,p)},f.prototype.isFollowingArtists=function(m,p){var h={url:n+"/me/following/contains",type:"GET",params:{ids:m.join(","),type:"artist"}};return d(h,p)},f.prototype.areFollowingPlaylist=function(m,p,h){var _={url:n+"/playlists/"+m+"/followers/contains",type:"GET",params:{ids:p.join(",")}};return d(_,h)},f.prototype.getFollowedArtists=function(m,p){var h={url:n+"/me/following",type:"GET",params:{type:"artist"}};return d(h,m,p)},f.prototype.getUser=function(m,p,h){var _={url:n+"/users/"+encodeURIComponent(m)};return d(_,p,h)},f.prototype.getUserPlaylists=function(m,p,h){var _;return typeof m=="string"?_={url:n+"/users/"+encodeURIComponent(m)+"/playlists"}:(_={url:n+"/me/playlists"},h=p,p=m),d(_,p,h)},f.prototype.getPlaylist=function(m,p,h){var _={url:n+"/playlists/"+m};return d(_,p,h)},f.prototype.getPlaylistTracks=function(m,p,h){var _={url:n+"/playlists/"+m+"/tracks"};return d(_,p,h)},f.prototype.getPlaylistCoverImage=function(m,p){var h={url:n+"/playlists/"+m+"/images"};return d(h,p)},f.prototype.createPlaylist=function(m,p,h){var _={url:n+"/users/"+encodeURIComponent(m)+"/playlists",type:"POST",postData:p};return d(_,p,h)},f.prototype.changePlaylistDetails=function(m,p,h){var _={url:n+"/playlists/"+m,type:"PUT",postData:p};return d(_,p,h)},f.prototype.addTracksToPlaylist=function(m,p,h,_){var g={url:n+"/playlists/"+m+"/tracks",type:"POST",postData:{uris:p}};return d(g,h,_,!0)},f.prototype.replaceTracksInPlaylist=function(m,p,h){var _={url:n+"/playlists/"+m+"/tracks",type:"PUT",postData:{uris:p}};return d(_,{},h)},f.prototype.reorderTracksInPlaylist=function(m,p,h,_,g){var b={url:n+"/playlists/"+m+"/tracks",type:"PUT",postData:{range_start:p,insert_before:h}};return d(b,_,g)},f.prototype.removeTracksFromPlaylist=function(m,p,h){var _=p.map(function(b){return typeof b=="string"?{uri:b}:b}),g={url:n+"/playlists/"+m+"/tracks",type:"DELETE",postData:{tracks:_}};return d(g,{},h)},f.prototype.removeTracksFromPlaylistWithSnapshotId=function(m,p,h,_){var g=p.map(function(w){return typeof w=="string"?{uri:w}:w}),b={url:n+"/playlists/"+m+"/tracks",type:"DELETE",postData:{tracks:g,snapshot_id:h}};return d(b,{},_)},f.prototype.removeTracksFromPlaylistInPositions=function(m,p,h,_){var g={url:n+"/playlists/"+m+"/tracks",type:"DELETE",postData:{positions:p,snapshot_id:h}};return d(g,{},_)},f.prototype.uploadCustomPlaylistCoverImage=function(m,p,h){var _={url:n+"/playlists/"+m+"/images",type:"PUT",postData:p.replace(/^data:image\/jpeg;base64,/,""),contentType:"image/jpeg"};return d(_,{},h)},f.prototype.getAlbum=function(m,p,h){var _={url:n+"/albums/"+m};return d(_,p,h)},f.prototype.getAlbumTracks=function(m,p,h){var _={url:n+"/albums/"+m+"/tracks"};return d(_,p,h)},f.prototype.getAlbums=function(m,p,h){var _={url:n+"/albums/",params:{ids:m.join(",")}};return d(_,p,h)},f.prototype.getTrack=function(m,p,h){var _={};return _.url=n+"/tracks/"+m,d(_,p,h)},f.prototype.getTracks=function(m,p,h){var _={url:n+"/tracks/",params:{ids:m.join(",")}};return d(_,p,h)},f.prototype.getArtist=function(m,p,h){var _={url:n+"/artists/"+m};return d(_,p,h)},f.prototype.getArtists=function(m,p,h){var _={url:n+"/artists/",params:{ids:m.join(",")}};return d(_,p,h)},f.prototype.getArtistAlbums=function(m,p,h){var _={url:n+"/artists/"+m+"/albums"};return d(_,p,h)},f.prototype.getArtistTopTracks=function(m,p,h,_){var g={url:n+"/artists/"+m+"/top-tracks",params:{country:p}};return d(g,h,_)},f.prototype.getArtistRelatedArtists=function(m,p,h){var _={url:n+"/artists/"+m+"/related-artists"};return d(_,p,h)},f.prototype.getFeaturedPlaylists=function(m,p){var h={url:n+"/browse/featured-playlists"};return d(h,m,p)},f.prototype.getNewReleases=function(m,p){var h={url:n+"/browse/new-releases"};return d(h,m,p)},f.prototype.getCategories=function(m,p){var h={url:n+"/browse/categories"};return d(h,m,p)},f.prototype.getCategory=function(m,p,h){var _={url:n+"/browse/categories/"+m};return d(_,p,h)},f.prototype.getCategoryPlaylists=function(m,p,h){var _={url:n+"/browse/categories/"+m+"/playlists"};return d(_,p,h)},f.prototype.search=function(m,p,h,_){var g={url:n+"/search/",params:{q:m,type:p.join(",")}};return d(g,h,_)},f.prototype.searchAlbums=function(m,p,h){return this.search(m,["album"],p,h)},f.prototype.searchArtists=function(m,p,h){return this.search(m,["artist"],p,h)},f.prototype.searchTracks=function(m,p,h){return this.search(m,["track"],p,h)},f.prototype.searchPlaylists=function(m,p,h){return this.search(m,["playlist"],p,h)},f.prototype.searchShows=function(m,p,h){return this.search(m,["show"],p,h)},f.prototype.searchEpisodes=function(m,p,h){return this.search(m,["episode"],p,h)},f.prototype.getAudioFeaturesForTrack=function(m,p){var h={};return h.url=n+"/audio-features/"+m,d(h,{},p)},f.prototype.getAudioFeaturesForTracks=function(m,p){var h={url:n+"/audio-features",params:{ids:m}};return d(h,{},p)},f.prototype.getAudioAnalysisForTrack=function(m,p){var h={};return h.url=n+"/audio-analysis/"+m,d(h,{},p)},f.prototype.getRecommendations=function(m,p){var h={url:n+"/recommendations"};return d(h,m,p)},f.prototype.getAvailableGenreSeeds=function(m){var p={url:n+"/recommendations/available-genre-seeds"};return d(p,{},m)},f.prototype.getMyDevices=function(m){var p={url:n+"/me/player/devices"};return d(p,{},m)},f.prototype.getMyCurrentPlaybackState=function(m,p){var h={url:n+"/me/player"};return d(h,m,p)},f.prototype.getMyCurrentPlayingTrack=function(m,p){var h={url:n+"/me/player/currently-playing"};return d(h,m,p)},f.prototype.transferMyPlayback=function(m,p,h){var _=p||{};_.device_ids=m;var g={type:"PUT",url:n+"/me/player",postData:_};return d(g,p,h)},f.prototype.play=function(m,p){m=m||{};var h="device_id"in m?{device_id:m.device_id}:null,_={};["context_uri","uris","offset","position_ms"].forEach(function(w){w in m&&(_[w]=m[w])});var g={type:"PUT",url:n+"/me/player/play",params:h,postData:_},b=typeof m=="function"?m:{};return d(g,b,p)},f.prototype.queue=function(m,p,h){p=p||{};var _="device_id"in p?{uri:m,device_id:p.device_id}:{uri:m},g={type:"POST",url:n+"/me/player/queue",params:_};return d(g,p,h)},f.prototype.pause=function(m,p){m=m||{};var h="device_id"in m?{device_id:m.device_id}:null,_={type:"PUT",url:n+"/me/player/pause",params:h};return d(_,m,p)},f.prototype.skipToNext=function(m,p){m=m||{};var h="device_id"in m?{device_id:m.device_id}:null,_={type:"POST",url:n+"/me/player/next",params:h};return d(_,m,p)},f.prototype.skipToPrevious=function(m,p){m=m||{};var h="device_id"in m?{device_id:m.device_id}:null,_={type:"POST",url:n+"/me/player/previous",params:h};return d(_,m,p)},f.prototype.seek=function(m,p,h){p=p||{};var _={position_ms:m};"device_id"in p&&(_.device_id=p.device_id);var g={type:"PUT",url:n+"/me/player/seek",params:_};return d(g,p,h)},f.prototype.setRepeat=function(m,p,h){p=p||{};var _={state:m};"device_id"in p&&(_.device_id=p.device_id);var g={type:"PUT",url:n+"/me/player/repeat",params:_};return d(g,p,h)},f.prototype.setVolume=function(m,p,h){p=p||{};var _={volume_percent:m};"device_id"in p&&(_.device_id=p.device_id);var g={type:"PUT",url:n+"/me/player/volume",params:_};return d(g,p,h)},f.prototype.setShuffle=function(m,p,h){p=p||{};var _={state:m};"device_id"in p&&(_.device_id=p.device_id);var g={type:"PUT",url:n+"/me/player/shuffle",params:_};return d(g,p,h)},f.prototype.getShow=function(m,p,h){var _={};return _.url=n+"/shows/"+m,d(_,p,h)},f.prototype.getShows=function(m,p,h){var _={url:n+"/shows/",params:{ids:m.join(",")}};return d(_,p,h)},f.prototype.getMySavedShows=function(m,p){var h={url:n+"/me/shows"};return d(h,m,p)},f.prototype.addToMySavedShows=function(m,p,h){var _={url:n+"/me/shows",type:"PUT",postData:m};return d(_,p,h)},f.prototype.removeFromMySavedShows=function(m,p,h){var _={url:n+"/me/shows",type:"DELETE",postData:m};return d(_,p,h)},f.prototype.containsMySavedShows=function(m,p,h){var _={url:n+"/me/shows/contains",params:{ids:m.join(",")}};return d(_,p,h)},f.prototype.getShowEpisodes=function(m,p,h){var _={url:n+"/shows/"+m+"/episodes"};return d(_,p,h)},f.prototype.getEpisode=function(m,p,h){var _={};return _.url=n+"/episodes/"+m,d(_,p,h)},f.prototype.getEpisodes=function(m,p,h){var _={url:n+"/episodes/",params:{ids:m.join(",")}};return d(_,p,h)},f.prototype.getAccessToken=function(){return r},f.prototype.setAccessToken=function(m){r=m},f.prototype.setPromiseImplementation=function(m){var p=!1;try{var h=new m(function(_){_()});typeof h.then=="function"&&typeof h.catch=="function"&&(p=!0)}catch(_){console.error(_)}if(p)o=m;else throw new Error("Unsupported implementation of Promises/A+")},f}();e.exports=t})(tv);var ur=tv.exports;const OS={name:"ModalDialogQueueItem",props:["show","item"],emits:["close"],data(){return{spotify_track:{}}},watch:{item(){if(this.item&&this.item.data_kind==="spotify"){const e=new ur;e.setAccessToken(this.$store.state.spotify.webapi_token),e.getTrack(this.item.path.slice(this.item.path.lastIndexOf(":")+1)).then(t=>{this.spotify_track=t})}else this.spotify_track={}}},methods:{remove:function(){this.$emit("close"),Z.queue_remove(this.item.id)},play:function(){this.$emit("close"),Z.player_play({item_id:this.item.id})},open_album:function(){this.media_kind==="podcast"?this.$router.push({path:"/podcasts/"+this.item.album_id}):this.media_kind==="audiobook"?this.$router.push({path:"/audiobooks/"+this.item.album_id}):this.$router.push({path:"/music/albums/"+this.item.album_id})},open_album_artist:function(){this.$router.push({path:"/music/artists/"+this.item.album_artist_id})},open_genre:function(){this.$router.push({name:"Genre",params:{genre:this.item.genre}})},open_spotify_artist:function(){this.$emit("close"),this.$router.push({path:"/music/spotify/artists/"+this.spotify_track.artists[0].id})},open_spotify_album:function(){this.$emit("close"),this.$router.push({path:"/music/spotify/albums/"+this.spotify_track.album.id})}}},PS={key:0,class:"modal is-active"},DS={class:"modal-content fd-modal-card"},FS={class:"card"},IS={class:"card-content"},MS=["textContent"],LS=["textContent"],RS={class:"content is-small"},NS=["textContent"],VS=["textContent"],jS=["textContent"],BS={key:0},HS=["textContent"],US=["textContent"],qS=["textContent"],WS={key:1},GS=["textContent"],KS=["textContent"],ZS={key:2},YS=["textContent"],JS=["textContent"],XS={key:3},QS=["textContent"],eE=["textContent"],tE=["textContent"],nE=["textContent"],rE=["textContent"],oE=["textContent"],sE=["textContent"],iE=["textContent"],aE=["textContent"],lE={class:"title is-6"},uE=["textContent"],cE={key:0,class:"has-text-weight-normal"},dE=vt(" ("),mE=["textContent"],fE=vt(", "),pE=["textContent"],hE=vt(") "),_E=["textContent"],gE={class:"title is-6"},yE=["textContent"],vE=["textContent"],bE=["textContent"],wE=["textContent"],CE={class:"card-footer"},zE={class:"icon"},xE=["textContent"],kE={class:"icon"},SE=["textContent"];function EE(e,t,n,r,o,s){const i=O("mdicon");return S(),D("div",null,[C(Wt,{name:"fade"},{default:P(()=>[n.show?(S(),D("div",PS,[u("div",{class:"modal-background",onClick:t[0]||(t[0]=a=>e.$emit("close"))}),u("div",DS,[u("div",FS,[u("div",IS,[u("p",{class:"title is-4",textContent:v(n.item.title)},null,8,MS),u("p",{class:"subtitle",textContent:v(n.item.artist)},null,8,LS),u("div",RS,[u("p",null,[u("span",{class:"heading",textContent:v(e.$t("dialog.queue-item.album"))},null,8,NS),n.item.album_id?(S(),D("a",{key:0,class:"title is-6 has-text-link",onClick:t[1]||(t[1]=(...a)=>s.open_album&&s.open_album(...a)),textContent:v(n.item.album)},null,8,VS)):(S(),D("span",{key:1,class:"title is-6",textContent:v(n.item.album)},null,8,jS))]),n.item.album_artist?(S(),D("p",BS,[u("span",{class:"heading",textContent:v(e.$t("dialog.queue-item.album-artist"))},null,8,HS),n.item.album_artist_id?(S(),D("a",{key:0,class:"title is-6 has-text-link",onClick:t[2]||(t[2]=(...a)=>s.open_album_artist&&s.open_album_artist(...a)),textContent:v(n.item.album_artist)},null,8,US)):(S(),D("span",{key:1,class:"title is-6",textContent:v(n.item.album_artist)},null,8,qS))])):X("",!0),n.item.composer?(S(),D("p",WS,[u("span",{class:"heading",textContent:v(e.$t("dialog.queue-item.composer"))},null,8,GS),u("span",{class:"title is-6",textContent:v(n.item.composer)},null,8,KS)])):X("",!0),n.item.year>0?(S(),D("p",ZS,[u("span",{class:"heading",textContent:v(e.$t("dialog.queue-item.year"))},null,8,YS),u("span",{class:"title is-6",textContent:v(n.item.year)},null,8,JS)])):X("",!0),n.item.genre?(S(),D("p",XS,[u("span",{class:"heading",textContent:v(e.$t("dialog.queue-item.genre"))},null,8,QS),u("a",{class:"title is-6 has-text-link",onClick:t[3]||(t[3]=(...a)=>s.open_genre&&s.open_genre(...a)),textContent:v(n.item.genre)},null,8,eE)])):X("",!0),u("p",null,[u("span",{class:"heading",textContent:v(e.$t("dialog.queue-item.position"))},null,8,tE),u("span",{class:"title is-6",textContent:v([n.item.disc_number,n.item.track_number].join(" / "))},null,8,nE)]),u("p",null,[u("span",{class:"heading",textContent:v(e.$t("dialog.queue-item.duration"))},null,8,rE),u("span",{class:"title is-6",textContent:v(e.$filters.durationInHours(n.item.length_ms))},null,8,oE)]),u("p",null,[u("span",{class:"heading",textContent:v(e.$t("dialog.queue-item.path"))},null,8,sE),u("span",{class:"title is-6",textContent:v(n.item.path)},null,8,iE)]),u("p",null,[u("span",{class:"heading",textContent:v(e.$t("dialog.queue-item.type"))},null,8,aE),u("span",lE,[u("span",{textContent:v([e.$t("media.kind."+n.item.media_kind),e.$t("data.kind."+n.item.data_kind)].join(" - "))},null,8,uE),n.item.data_kind==="spotify"?(S(),D("span",cE,[dE,u("a",{onClick:t[4]||(t[4]=(...a)=>s.open_spotify_artist&&s.open_spotify_artist(...a)),textContent:v(e.$t("dialog.queue-item.spotify-artist"))},null,8,mE),fE,u("a",{onClick:t[5]||(t[5]=(...a)=>s.open_spotify_album&&s.open_spotify_album(...a)),textContent:v(e.$t("dialog.queue-item.spotify-album"))},null,8,pE),hE])):X("",!0)])]),u("p",null,[u("span",{class:"heading",textContent:v(e.$t("dialog.queue-item.quality"))},null,8,_E),u("span",gE,[u("span",{textContent:v(n.item.type)},null,8,yE),n.item.samplerate?(S(),D("span",{key:0,textContent:v(e.$t("dialog.queue-item.samplerate",{rate:n.item.samplerate}))},null,8,vE)):X("",!0),n.item.channels?(S(),D("span",{key:1,textContent:v(e.$t("dialog.queue-item.channels",{channels:e.$filters.channels(n.item.channels)}))},null,8,bE)):X("",!0),n.item.bitrate?(S(),D("span",{key:2,textContent:v(e.$t("dialog.queue-item.bitrate",{rate:n.item.bitrate}))},null,8,wE)):X("",!0)])])])]),u("footer",CE,[u("a",{class:"card-footer-item has-text-dark",onClick:t[6]||(t[6]=(...a)=>s.remove&&s.remove(...a))},[u("span",zE,[C(i,{name:"delete",size:"16"})]),u("span",{class:"is-size-7",textContent:v(e.$t("dialog.queue-item.remove"))},null,8,xE)]),u("a",{class:"card-footer-item has-text-dark",onClick:t[7]||(t[7]=(...a)=>s.play&&s.play(...a))},[u("span",kE,[C(i,{name:"play",size:"16"})]),u("span",{class:"is-size-7",textContent:v(e.$t("dialog.queue-item.play"))},null,8,SE)])])])]),u("button",{class:"modal-close is-large","aria-label":"close",onClick:t[8]||(t[8]=a=>e.$emit("close"))})])):X("",!0)]),_:1})])}var nv=ve(OS,[["render",EE]]);const $E={name:"ModalDialogAddUrlStream",props:["show"],emits:["close"],data(){return{url:"",loading:!1}},watch:{show(){this.show&&(this.loading=!1,setTimeout(()=>{this.$refs.url_field.focus()},10))}},methods:{add_stream:function(){this.loading=!0,Z.queue_add(this.url).then(()=>{this.$emit("close"),this.url=""}).catch(()=>{this.loading=!1})},play:function(){this.loading=!0,Z.player_play_uri(this.url,!1).then(()=>{this.$emit("close"),this.url=""}).catch(()=>{this.loading=!1})}}},AE={key:0,class:"modal is-active"},TE={class:"modal-content fd-modal-card"},OE={class:"card"},PE={class:"card-content"},DE=["textContent"],FE={class:"field"},IE={class:"control is-expanded has-icons-left"},ME=["placeholder","disabled"],LE={class:"icon is-left"},RE={key:0,class:"card-footer"},NE={class:"card-footer-item has-text-dark"},VE={class:"icon"},jE=["textContent"],BE={key:1,class:"card-footer"},HE={class:"icon"},UE=["textContent"],qE={class:"icon"},WE=["textContent"],GE={class:"icon"},KE=["textContent"];function ZE(e,t,n,r,o,s){const i=O("mdicon");return S(),D("div",null,[C(Wt,{name:"fade"},{default:P(()=>[n.show?(S(),D("div",AE,[u("div",{class:"modal-background",onClick:t[0]||(t[0]=a=>e.$emit("close"))}),u("div",TE,[u("div",OE,[u("div",PE,[u("p",{class:"title is-4",textContent:v(e.$t("dialog.add.stream.title"))},null,8,DE),u("form",{class:"fd-has-margin-bottom",onSubmit:t[2]||(t[2]=_t((...a)=>s.play&&s.play(...a),["prevent"]))},[u("div",FE,[u("p",IE,[kt(u("input",{ref:"url_field","onUpdate:modelValue":t[1]||(t[1]=a=>o.url=a),class:"input is-shadowless",type:"text",placeholder:e.$t("dialog.add.stream.placeholder"),disabled:o.loading},null,8,ME),[[kn,o.url]]),u("span",LE,[C(i,{name:"web",size:"16"})])])])],32)]),o.loading?(S(),D("footer",RE,[u("a",NE,[u("span",VE,[C(i,{name:"web",size:"16"})]),u("span",{class:"is-size-7",textContent:v(e.$t("dialog.add.stream.loading"))},null,8,jE)])])):(S(),D("footer",BE,[u("a",{class:"card-footer-item has-text-danger",onClick:t[3]||(t[3]=a=>e.$emit("close"))},[u("span",HE,[C(i,{name:"cancel",size:"16"})]),u("span",{class:"is-size-7",textContent:v(e.$t("dialog.add.stream.cancel"))},null,8,UE)]),u("a",{class:"card-footer-item has-text-dark",onClick:t[4]||(t[4]=(...a)=>s.add_stream&&s.add_stream(...a))},[u("span",qE,[C(i,{name:"playlist-plus",size:"16"})]),u("span",{class:"is-size-7",textContent:v(e.$t("dialog.add.stream.add"))},null,8,WE)]),u("a",{class:"card-footer-item has-background-info has-text-white has-text-weight-bold",onClick:t[5]||(t[5]=(...a)=>s.play&&s.play(...a))},[u("span",GE,[C(i,{name:"play",size:"16"})]),u("span",{class:"is-size-7",textContent:v(e.$t("dialog.add.stream.play"))},null,8,KE)])]))])]),u("button",{class:"modal-close is-large","aria-label":"close",onClick:t[6]||(t[6]=a=>e.$emit("close"))})])):X("",!0)]),_:1})])}var YE=ve($E,[["render",ZE]]);const JE={name:"ModalDialogPlaylistSave",props:["show"],emits:["close"],data(){return{playlist_name:"",loading:!1}},watch:{show(){this.show&&(this.loading=!1,setTimeout(()=>{this.$refs.playlist_name_field.focus()},10))}},methods:{save:function(){this.playlist_name.length<1||(this.loading=!0,Z.queue_save_playlist(this.playlist_name).then(()=>{this.$emit("close"),this.playlist_name=""}).catch(()=>{this.loading=!1}))}}},XE={key:0,class:"modal is-active"},QE={class:"modal-content fd-modal-card"},e$={class:"card"},t$={class:"card-content"},n$=["textContent"],r$={class:"field"},o$={class:"control is-expanded has-icons-left"},s$=["disabled"],i$={class:"icon is-left"},a$={key:0,class:"card-footer"},l$={class:"card-footer-item has-text-dark"},u$={class:"icon"},c$=["textContent"],d$={key:1,class:"card-footer"},m$={class:"icon"},f$=["textContent"],p$={class:"icon"},h$=["textContent"];function _$(e,t,n,r,o,s){const i=O("mdicon");return S(),D("div",null,[C(Wt,{name:"fade"},{default:P(()=>[n.show?(S(),D("div",XE,[u("div",{class:"modal-background",onClick:t[0]||(t[0]=a=>e.$emit("close"))}),u("div",QE,[u("div",e$,[u("div",t$,[u("p",{class:"title is-4",textContent:v(e.$t("dialog.playlist.save.title"))},null,8,n$),u("form",{class:"fd-has-margin-bottom",onSubmit:t[2]||(t[2]=_t((...a)=>s.save&&s.save(...a),["prevent"]))},[u("div",r$,[u("p",o$,[kt(u("input",{ref:"playlist_name_field","onUpdate:modelValue":t[1]||(t[1]=a=>o.playlist_name=a),class:"input is-shadowless",type:"text",placeholder:"Playlist name",disabled:o.loading},null,8,s$),[[kn,o.playlist_name]]),u("span",i$,[C(i,{name:"file-music",size:"16"})])])])],32)]),o.loading?(S(),D("footer",a$,[u("a",l$,[u("span",u$,[C(i,{name:"web",size:"16"})]),u("span",{class:"is-size-7",textContent:v(e.$t("dialog.playlist.save.saving"))},null,8,c$)])])):(S(),D("footer",d$,[u("a",{class:"card-footer-item has-text-danger",onClick:t[3]||(t[3]=a=>e.$emit("close"))},[u("span",m$,[C(i,{name:"cancel",size:"16"})]),u("span",{class:"is-size-7",textContent:v(e.$t("dialog.playlist.save.cancel"))},null,8,f$)]),u("a",{class:"card-footer-item has-background-info has-text-white has-text-weight-bold",onClick:t[4]||(t[4]=(...a)=>s.save&&s.save(...a))},[u("span",p$,[C(i,{name:"content-save",size:"16"})]),u("span",{class:"is-size-7",textContent:v(e.$t("dialog.playlist.save.save"))},null,8,h$)])]))])]),u("button",{class:"modal-close is-large","aria-label":"close",onClick:t[5]||(t[5]=a=>e.$emit("close"))})])):X("",!0)]),_:1})])}var g$=ve(JE,[["render",_$]]),rv={exports:{}},Am=Ly(oz);/**!
|
|
* Sortable 1.14.0
|
|
* @author RubaXa <trash@rubaxa.org>
|
|
* @author owenm <owen23355@gmail.com>
|
|
* @license MIT
|
|
*/function th(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter(function(o){return Object.getOwnPropertyDescriptor(e,o).enumerable})),n.push.apply(n,r)}return n}function yr(e){for(var t=1;t<arguments.length;t++){var n=arguments[t]!=null?arguments[t]:{};t%2?th(Object(n),!0).forEach(function(r){y$(e,r,n[r])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):th(Object(n)).forEach(function(r){Object.defineProperty(e,r,Object.getOwnPropertyDescriptor(n,r))})}return e}function fl(e){return typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?fl=function(t){return typeof t}:fl=function(t){return t&&typeof Symbol=="function"&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t},fl(e)}function y$(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function Gn(){return Gn=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},Gn.apply(this,arguments)}function v$(e,t){if(e==null)return{};var n={},r=Object.keys(e),o,s;for(s=0;s<r.length;s++)o=r[s],!(t.indexOf(o)>=0)&&(n[o]=e[o]);return n}function b$(e,t){if(e==null)return{};var n=v$(e,t),r,o;if(Object.getOwnPropertySymbols){var s=Object.getOwnPropertySymbols(e);for(o=0;o<s.length;o++)r=s[o],!(t.indexOf(r)>=0)&&(!Object.prototype.propertyIsEnumerable.call(e,r)||(n[r]=e[r]))}return n}function w$(e){return C$(e)||z$(e)||x$(e)||k$()}function C$(e){if(Array.isArray(e))return cd(e)}function z$(e){if(typeof Symbol!="undefined"&&e[Symbol.iterator]!=null||e["@@iterator"]!=null)return Array.from(e)}function x$(e,t){if(!!e){if(typeof e=="string")return cd(e,t);var n=Object.prototype.toString.call(e).slice(8,-1);if(n==="Object"&&e.constructor&&(n=e.constructor.name),n==="Map"||n==="Set")return Array.from(e);if(n==="Arguments"||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n))return cd(e,t)}}function cd(e,t){(t==null||t>e.length)&&(t=e.length);for(var n=0,r=new Array(t);n<t;n++)r[n]=e[n];return r}function k$(){throw new TypeError(`Invalid attempt to spread non-iterable instance.
|
|
In order to be iterable, non-array objects must have a [Symbol.iterator]() method.`)}var S$="1.14.0";function $r(e){if(typeof window!="undefined"&&window.navigator)return!!navigator.userAgent.match(e)}var Fr=$r(/(?:Trident.*rv[ :]?11\.|msie|iemobile|Windows Phone)/i),Zi=$r(/Edge/i),nh=$r(/firefox/i),bi=$r(/safari/i)&&!$r(/chrome/i)&&!$r(/android/i),ov=$r(/iP(ad|od|hone)/i),E$=$r(/chrome/i)&&$r(/android/i),sv={capture:!1,passive:!1};function lt(e,t,n){e.addEventListener(t,n,!Fr&&sv)}function st(e,t,n){e.removeEventListener(t,n,!Fr&&sv)}function Il(e,t){if(!!t){if(t[0]===">"&&(t=t.substring(1)),e)try{if(e.matches)return e.matches(t);if(e.msMatchesSelector)return e.msMatchesSelector(t);if(e.webkitMatchesSelector)return e.webkitMatchesSelector(t)}catch{return!1}return!1}}function $$(e){return e.host&&e!==document&&e.host.nodeType?e.host:e.parentNode}function tr(e,t,n,r){if(e){n=n||document;do{if(t!=null&&(t[0]===">"?e.parentNode===n&&Il(e,t):Il(e,t))||r&&e===n)return e;if(e===n)break}while(e=$$(e))}return null}var rh=/\s+/g;function $t(e,t,n){if(e&&t)if(e.classList)e.classList[n?"add":"remove"](t);else{var r=(" "+e.className+" ").replace(rh," ").replace(" "+t+" "," ");e.className=(r+(n?" "+t:"")).replace(rh," ")}}function Be(e,t,n){var r=e&&e.style;if(r){if(n===void 0)return document.defaultView&&document.defaultView.getComputedStyle?n=document.defaultView.getComputedStyle(e,""):e.currentStyle&&(n=e.currentStyle),t===void 0?n:n[t];!(t in r)&&t.indexOf("webkit")===-1&&(t="-webkit-"+t),r[t]=n+(typeof n=="string"?"":"px")}}function Eo(e,t){var n="";if(typeof e=="string")n=e;else do{var r=Be(e,"transform");r&&r!=="none"&&(n=r+" "+n)}while(!t&&(e=e.parentNode));var o=window.DOMMatrix||window.WebKitCSSMatrix||window.CSSMatrix||window.MSCSSMatrix;return o&&new o(n)}function iv(e,t,n){if(e){var r=e.getElementsByTagName(t),o=0,s=r.length;if(n)for(;o<s;o++)n(r[o],o);return r}return[]}function _r(){var e=document.scrollingElement;return e||document.documentElement}function Et(e,t,n,r,o){if(!(!e.getBoundingClientRect&&e!==window)){var s,i,a,l,c,d,f;if(e!==window&&e.parentNode&&e!==_r()?(s=e.getBoundingClientRect(),i=s.top,a=s.left,l=s.bottom,c=s.right,d=s.height,f=s.width):(i=0,a=0,l=window.innerHeight,c=window.innerWidth,d=window.innerHeight,f=window.innerWidth),(t||n)&&e!==window&&(o=o||e.parentNode,!Fr))do if(o&&o.getBoundingClientRect&&(Be(o,"transform")!=="none"||n&&Be(o,"position")!=="static")){var m=o.getBoundingClientRect();i-=m.top+parseInt(Be(o,"border-top-width")),a-=m.left+parseInt(Be(o,"border-left-width")),l=i+s.height,c=a+s.width;break}while(o=o.parentNode);if(r&&e!==window){var p=Eo(o||e),h=p&&p.a,_=p&&p.d;p&&(i/=_,a/=h,f/=h,d/=_,l=i+d,c=a+f)}return{top:i,left:a,bottom:l,right:c,width:f,height:d}}}function oh(e,t,n){for(var r=Jr(e,!0),o=Et(e)[t];r;){var s=Et(r)[n],i=void 0;if(n==="top"||n==="left"?i=o>=s:i=o<=s,!i)return r;if(r===_r())break;r=Jr(r,!1)}return!1}function Es(e,t,n,r){for(var o=0,s=0,i=e.children;s<i.length;){if(i[s].style.display!=="none"&&i[s]!==Qe.ghost&&(r||i[s]!==Qe.dragged)&&tr(i[s],n.draggable,e,!1)){if(o===t)return i[s];o++}s++}return null}function Tm(e,t){for(var n=e.lastElementChild;n&&(n===Qe.ghost||Be(n,"display")==="none"||t&&!Il(n,t));)n=n.previousElementSibling;return n||null}function Lt(e,t){var n=0;if(!e||!e.parentNode)return-1;for(;e=e.previousElementSibling;)e.nodeName.toUpperCase()!=="TEMPLATE"&&e!==Qe.clone&&(!t||Il(e,t))&&n++;return n}function sh(e){var t=0,n=0,r=_r();if(e)do{var o=Eo(e),s=o.a,i=o.d;t+=e.scrollLeft*s,n+=e.scrollTop*i}while(e!==r&&(e=e.parentNode));return[t,n]}function A$(e,t){for(var n in e)if(!!e.hasOwnProperty(n)){for(var r in t)if(t.hasOwnProperty(r)&&t[r]===e[n][r])return Number(n)}return-1}function Jr(e,t){if(!e||!e.getBoundingClientRect)return _r();var n=e,r=!1;do if(n.clientWidth<n.scrollWidth||n.clientHeight<n.scrollHeight){var o=Be(n);if(n.clientWidth<n.scrollWidth&&(o.overflowX=="auto"||o.overflowX=="scroll")||n.clientHeight<n.scrollHeight&&(o.overflowY=="auto"||o.overflowY=="scroll")){if(!n.getBoundingClientRect||n===document.body)return _r();if(r||t)return n;r=!0}}while(n=n.parentNode);return _r()}function T$(e,t){if(e&&t)for(var n in t)t.hasOwnProperty(n)&&(e[n]=t[n]);return e}function oc(e,t){return Math.round(e.top)===Math.round(t.top)&&Math.round(e.left)===Math.round(t.left)&&Math.round(e.height)===Math.round(t.height)&&Math.round(e.width)===Math.round(t.width)}var wi;function av(e,t){return function(){if(!wi){var n=arguments,r=this;n.length===1?e.call(r,n[0]):e.apply(r,n),wi=setTimeout(function(){wi=void 0},t)}}}function O$(){clearTimeout(wi),wi=void 0}function lv(e,t,n){e.scrollLeft+=t,e.scrollTop+=n}function Om(e){var t=window.Polymer,n=window.jQuery||window.Zepto;return t&&t.dom?t.dom(e).cloneNode(!0):n?n(e).clone(!0)[0]:e.cloneNode(!0)}function ih(e,t){Be(e,"position","absolute"),Be(e,"top",t.top),Be(e,"left",t.left),Be(e,"width",t.width),Be(e,"height",t.height)}function sc(e){Be(e,"position",""),Be(e,"top",""),Be(e,"left",""),Be(e,"width",""),Be(e,"height","")}var rn="Sortable"+new Date().getTime();function P$(){var e=[],t;return{captureAnimationState:function(){if(e=[],!!this.options.animation){var r=[].slice.call(this.el.children);r.forEach(function(o){if(!(Be(o,"display")==="none"||o===Qe.ghost)){e.push({target:o,rect:Et(o)});var s=yr({},e[e.length-1].rect);if(o.thisAnimationDuration){var i=Eo(o,!0);i&&(s.top-=i.f,s.left-=i.e)}o.fromRect=s}})}},addAnimationState:function(r){e.push(r)},removeAnimationState:function(r){e.splice(A$(e,{target:r}),1)},animateAll:function(r){var o=this;if(!this.options.animation){clearTimeout(t),typeof r=="function"&&r();return}var s=!1,i=0;e.forEach(function(a){var l=0,c=a.target,d=c.fromRect,f=Et(c),m=c.prevFromRect,p=c.prevToRect,h=a.rect,_=Eo(c,!0);_&&(f.top-=_.f,f.left-=_.e),c.toRect=f,c.thisAnimationDuration&&oc(m,f)&&!oc(d,f)&&(h.top-f.top)/(h.left-f.left)===(d.top-f.top)/(d.left-f.left)&&(l=F$(h,m,p,o.options)),oc(f,d)||(c.prevFromRect=d,c.prevToRect=f,l||(l=o.options.animation),o.animate(c,h,f,l)),l&&(s=!0,i=Math.max(i,l),clearTimeout(c.animationResetTimer),c.animationResetTimer=setTimeout(function(){c.animationTime=0,c.prevFromRect=null,c.fromRect=null,c.prevToRect=null,c.thisAnimationDuration=null},l),c.thisAnimationDuration=l)}),clearTimeout(t),s?t=setTimeout(function(){typeof r=="function"&&r()},i):typeof r=="function"&&r(),e=[]},animate:function(r,o,s,i){if(i){Be(r,"transition",""),Be(r,"transform","");var a=Eo(this.el),l=a&&a.a,c=a&&a.d,d=(o.left-s.left)/(l||1),f=(o.top-s.top)/(c||1);r.animatingX=!!d,r.animatingY=!!f,Be(r,"transform","translate3d("+d+"px,"+f+"px,0)"),this.forRepaintDummy=D$(r),Be(r,"transition","transform "+i+"ms"+(this.options.easing?" "+this.options.easing:"")),Be(r,"transform","translate3d(0,0,0)"),typeof r.animated=="number"&&clearTimeout(r.animated),r.animated=setTimeout(function(){Be(r,"transition",""),Be(r,"transform",""),r.animated=!1,r.animatingX=!1,r.animatingY=!1},i)}}}}function D$(e){return e.offsetWidth}function F$(e,t,n,r){return Math.sqrt(Math.pow(t.top-e.top,2)+Math.pow(t.left-e.left,2))/Math.sqrt(Math.pow(t.top-n.top,2)+Math.pow(t.left-n.left,2))*r.animation}var Ko=[],ic={initializeByDefault:!0},Yi={mount:function(t){for(var n in ic)ic.hasOwnProperty(n)&&!(n in t)&&(t[n]=ic[n]);Ko.forEach(function(r){if(r.pluginName===t.pluginName)throw"Sortable: Cannot mount plugin ".concat(t.pluginName," more than once")}),Ko.push(t)},pluginEvent:function(t,n,r){var o=this;this.eventCanceled=!1,r.cancel=function(){o.eventCanceled=!0};var s=t+"Global";Ko.forEach(function(i){!n[i.pluginName]||(n[i.pluginName][s]&&n[i.pluginName][s](yr({sortable:n},r)),n.options[i.pluginName]&&n[i.pluginName][t]&&n[i.pluginName][t](yr({sortable:n},r)))})},initializePlugins:function(t,n,r,o){Ko.forEach(function(a){var l=a.pluginName;if(!(!t.options[l]&&!a.initializeByDefault)){var c=new a(t,n,t.options);c.sortable=t,c.options=t.options,t[l]=c,Gn(r,c.defaults)}});for(var s in t.options)if(!!t.options.hasOwnProperty(s)){var i=this.modifyOption(t,s,t.options[s]);typeof i!="undefined"&&(t.options[s]=i)}},getEventProperties:function(t,n){var r={};return Ko.forEach(function(o){typeof o.eventProperties=="function"&&Gn(r,o.eventProperties.call(n[o.pluginName],t))}),r},modifyOption:function(t,n,r){var o;return Ko.forEach(function(s){!t[s.pluginName]||s.optionListeners&&typeof s.optionListeners[n]=="function"&&(o=s.optionListeners[n].call(t[s.pluginName],r))}),o}};function ni(e){var t=e.sortable,n=e.rootEl,r=e.name,o=e.targetEl,s=e.cloneEl,i=e.toEl,a=e.fromEl,l=e.oldIndex,c=e.newIndex,d=e.oldDraggableIndex,f=e.newDraggableIndex,m=e.originalEvent,p=e.putSortable,h=e.extraEventProperties;if(t=t||n&&n[rn],!!t){var _,g=t.options,b="on"+r.charAt(0).toUpperCase()+r.substr(1);window.CustomEvent&&!Fr&&!Zi?_=new CustomEvent(r,{bubbles:!0,cancelable:!0}):(_=document.createEvent("Event"),_.initEvent(r,!0,!0)),_.to=i||n,_.from=a||n,_.item=o||n,_.clone=s,_.oldIndex=l,_.newIndex=c,_.oldDraggableIndex=d,_.newDraggableIndex=f,_.originalEvent=m,_.pullMode=p?p.lastPutMode:void 0;var w=yr(yr({},h),Yi.getEventProperties(r,t));for(var x in w)_[x]=w[x];n&&n.dispatchEvent(_),g[b]&&g[b].call(t,_)}}var I$=["evt"],yn=function(t,n){var r=arguments.length>2&&arguments[2]!==void 0?arguments[2]:{},o=r.evt,s=b$(r,I$);Yi.pluginEvent.bind(Qe)(t,n,yr({dragEl:ke,parentEl:Dt,ghostEl:ot,rootEl:St,nextEl:vo,lastDownEl:pl,cloneEl:Ft,cloneHidden:Zr,dragStarted:ri,putSortable:Xt,activeSortable:Qe.active,originalEvent:o,oldIndex:as,oldDraggableIndex:Ci,newIndex:Tn,newDraggableIndex:Gr,hideGhostForTarget:mv,unhideGhostForTarget:fv,cloneNowHidden:function(){Zr=!0},cloneNowShown:function(){Zr=!1},dispatchSortableEvent:function(a){dn({sortable:n,name:a,originalEvent:o})}},s))};function dn(e){ni(yr({putSortable:Xt,cloneEl:Ft,targetEl:ke,rootEl:St,oldIndex:as,oldDraggableIndex:Ci,newIndex:Tn,newDraggableIndex:Gr},e))}var ke,Dt,ot,St,vo,pl,Ft,Zr,as,Tn,Ci,Gr,wa,Xt,os=!1,Ml=!1,Ll=[],po,Jn,ac,lc,ah,lh,ri,Zo,zi,xi=!1,Ca=!1,hl,nn,uc=[],dd=!1,Rl=[],wu=typeof document!="undefined",za=ov,uh=Zi||Fr?"cssFloat":"float",M$=wu&&!E$&&!ov&&"draggable"in document.createElement("div"),uv=function(){if(!!wu){if(Fr)return!1;var e=document.createElement("x");return e.style.cssText="pointer-events:auto",e.style.pointerEvents==="auto"}}(),cv=function(t,n){var r=Be(t),o=parseInt(r.width)-parseInt(r.paddingLeft)-parseInt(r.paddingRight)-parseInt(r.borderLeftWidth)-parseInt(r.borderRightWidth),s=Es(t,0,n),i=Es(t,1,n),a=s&&Be(s),l=i&&Be(i),c=a&&parseInt(a.marginLeft)+parseInt(a.marginRight)+Et(s).width,d=l&&parseInt(l.marginLeft)+parseInt(l.marginRight)+Et(i).width;if(r.display==="flex")return r.flexDirection==="column"||r.flexDirection==="column-reverse"?"vertical":"horizontal";if(r.display==="grid")return r.gridTemplateColumns.split(" ").length<=1?"vertical":"horizontal";if(s&&a.float&&a.float!=="none"){var f=a.float==="left"?"left":"right";return i&&(l.clear==="both"||l.clear===f)?"vertical":"horizontal"}return s&&(a.display==="block"||a.display==="flex"||a.display==="table"||a.display==="grid"||c>=o&&r[uh]==="none"||i&&r[uh]==="none"&&c+d>o)?"vertical":"horizontal"},L$=function(t,n,r){var o=r?t.left:t.top,s=r?t.right:t.bottom,i=r?t.width:t.height,a=r?n.left:n.top,l=r?n.right:n.bottom,c=r?n.width:n.height;return o===a||s===l||o+i/2===a+c/2},R$=function(t,n){var r;return Ll.some(function(o){var s=o[rn].options.emptyInsertThreshold;if(!(!s||Tm(o))){var i=Et(o),a=t>=i.left-s&&t<=i.right+s,l=n>=i.top-s&&n<=i.bottom+s;if(a&&l)return r=o}}),r},dv=function(t){function n(s,i){return function(a,l,c,d){var f=a.options.group.name&&l.options.group.name&&a.options.group.name===l.options.group.name;if(s==null&&(i||f))return!0;if(s==null||s===!1)return!1;if(i&&s==="clone")return s;if(typeof s=="function")return n(s(a,l,c,d),i)(a,l,c,d);var m=(i?a:l).options.group.name;return s===!0||typeof s=="string"&&s===m||s.join&&s.indexOf(m)>-1}}var r={},o=t.group;(!o||fl(o)!="object")&&(o={name:o}),r.name=o.name,r.checkPull=n(o.pull,!0),r.checkPut=n(o.put),r.revertClone=o.revertClone,t.group=r},mv=function(){!uv&&ot&&Be(ot,"display","none")},fv=function(){!uv&&ot&&Be(ot,"display","")};wu&&document.addEventListener("click",function(e){if(Ml)return e.preventDefault(),e.stopPropagation&&e.stopPropagation(),e.stopImmediatePropagation&&e.stopImmediatePropagation(),Ml=!1,!1},!0);var ho=function(t){if(ke){t=t.touches?t.touches[0]:t;var n=R$(t.clientX,t.clientY);if(n){var r={};for(var o in t)t.hasOwnProperty(o)&&(r[o]=t[o]);r.target=r.rootEl=n,r.preventDefault=void 0,r.stopPropagation=void 0,n[rn]._onDragOver(r)}}},N$=function(t){ke&&ke.parentNode[rn]._isOutsideThisEl(t.target)};function Qe(e,t){if(!(e&&e.nodeType&&e.nodeType===1))throw"Sortable: `el` must be an HTMLElement, not ".concat({}.toString.call(e));this.el=e,this.options=t=Gn({},t),e[rn]=this;var n={group:null,sort:!0,disabled:!1,store:null,handle:null,draggable:/^[uo]l$/i.test(e.nodeName)?">li":">*",swapThreshold:1,invertSwap:!1,invertedSwapThreshold:null,removeCloneOnHide:!0,direction:function(){return cv(e,this.options)},ghostClass:"sortable-ghost",chosenClass:"sortable-chosen",dragClass:"sortable-drag",ignore:"a, img",filter:null,preventOnFilter:!0,animation:0,easing:null,setData:function(i,a){i.setData("Text",a.textContent)},dropBubble:!1,dragoverBubble:!1,dataIdAttr:"data-id",delay:0,delayOnTouchOnly:!1,touchStartThreshold:(Number.parseInt?Number:window).parseInt(window.devicePixelRatio,10)||1,forceFallback:!1,fallbackClass:"sortable-fallback",fallbackOnBody:!1,fallbackTolerance:0,fallbackOffset:{x:0,y:0},supportPointer:Qe.supportPointer!==!1&&"PointerEvent"in window&&!bi,emptyInsertThreshold:5};Yi.initializePlugins(this,e,n);for(var r in n)!(r in t)&&(t[r]=n[r]);dv(t);for(var o in this)o.charAt(0)==="_"&&typeof this[o]=="function"&&(this[o]=this[o].bind(this));this.nativeDraggable=t.forceFallback?!1:M$,this.nativeDraggable&&(this.options.touchStartThreshold=1),t.supportPointer?lt(e,"pointerdown",this._onTapStart):(lt(e,"mousedown",this._onTapStart),lt(e,"touchstart",this._onTapStart)),this.nativeDraggable&&(lt(e,"dragover",this),lt(e,"dragenter",this)),Ll.push(this.el),t.store&&t.store.get&&this.sort(t.store.get(this)||[]),Gn(this,P$())}Qe.prototype={constructor:Qe,_isOutsideThisEl:function(t){!this.el.contains(t)&&t!==this.el&&(Zo=null)},_getDirection:function(t,n){return typeof this.options.direction=="function"?this.options.direction.call(this,t,n,ke):this.options.direction},_onTapStart:function(t){if(!!t.cancelable){var n=this,r=this.el,o=this.options,s=o.preventOnFilter,i=t.type,a=t.touches&&t.touches[0]||t.pointerType&&t.pointerType==="touch"&&t,l=(a||t).target,c=t.target.shadowRoot&&(t.path&&t.path[0]||t.composedPath&&t.composedPath()[0])||l,d=o.filter;if(G$(r),!ke&&!(/mousedown|pointerdown/.test(i)&&t.button!==0||o.disabled)&&!c.isContentEditable&&!(!this.nativeDraggable&&bi&&l&&l.tagName.toUpperCase()==="SELECT")&&(l=tr(l,o.draggable,r,!1),!(l&&l.animated)&&pl!==l)){if(as=Lt(l),Ci=Lt(l,o.draggable),typeof d=="function"){if(d.call(this,t,l,this)){dn({sortable:n,rootEl:c,name:"filter",targetEl:l,toEl:r,fromEl:r}),yn("filter",n,{evt:t}),s&&t.cancelable&&t.preventDefault();return}}else if(d&&(d=d.split(",").some(function(f){if(f=tr(c,f.trim(),r,!1),f)return dn({sortable:n,rootEl:f,name:"filter",targetEl:l,fromEl:r,toEl:r}),yn("filter",n,{evt:t}),!0}),d)){s&&t.cancelable&&t.preventDefault();return}o.handle&&!tr(c,o.handle,r,!1)||this._prepareDragStart(t,a,l)}}},_prepareDragStart:function(t,n,r){var o=this,s=o.el,i=o.options,a=s.ownerDocument,l;if(r&&!ke&&r.parentNode===s){var c=Et(r);if(St=s,ke=r,Dt=ke.parentNode,vo=ke.nextSibling,pl=r,wa=i.group,Qe.dragged=ke,po={target:ke,clientX:(n||t).clientX,clientY:(n||t).clientY},ah=po.clientX-c.left,lh=po.clientY-c.top,this._lastX=(n||t).clientX,this._lastY=(n||t).clientY,ke.style["will-change"]="all",l=function(){if(yn("delayEnded",o,{evt:t}),Qe.eventCanceled){o._onDrop();return}o._disableDelayedDragEvents(),!nh&&o.nativeDraggable&&(ke.draggable=!0),o._triggerDragStart(t,n),dn({sortable:o,name:"choose",originalEvent:t}),$t(ke,i.chosenClass,!0)},i.ignore.split(",").forEach(function(d){iv(ke,d.trim(),cc)}),lt(a,"dragover",ho),lt(a,"mousemove",ho),lt(a,"touchmove",ho),lt(a,"mouseup",o._onDrop),lt(a,"touchend",o._onDrop),lt(a,"touchcancel",o._onDrop),nh&&this.nativeDraggable&&(this.options.touchStartThreshold=4,ke.draggable=!0),yn("delayStart",this,{evt:t}),i.delay&&(!i.delayOnTouchOnly||n)&&(!this.nativeDraggable||!(Zi||Fr))){if(Qe.eventCanceled){this._onDrop();return}lt(a,"mouseup",o._disableDelayedDrag),lt(a,"touchend",o._disableDelayedDrag),lt(a,"touchcancel",o._disableDelayedDrag),lt(a,"mousemove",o._delayedDragTouchMoveHandler),lt(a,"touchmove",o._delayedDragTouchMoveHandler),i.supportPointer&<(a,"pointermove",o._delayedDragTouchMoveHandler),o._dragStartTimer=setTimeout(l,i.delay)}else l()}},_delayedDragTouchMoveHandler:function(t){var n=t.touches?t.touches[0]:t;Math.max(Math.abs(n.clientX-this._lastX),Math.abs(n.clientY-this._lastY))>=Math.floor(this.options.touchStartThreshold/(this.nativeDraggable&&window.devicePixelRatio||1))&&this._disableDelayedDrag()},_disableDelayedDrag:function(){ke&&cc(ke),clearTimeout(this._dragStartTimer),this._disableDelayedDragEvents()},_disableDelayedDragEvents:function(){var t=this.el.ownerDocument;st(t,"mouseup",this._disableDelayedDrag),st(t,"touchend",this._disableDelayedDrag),st(t,"touchcancel",this._disableDelayedDrag),st(t,"mousemove",this._delayedDragTouchMoveHandler),st(t,"touchmove",this._delayedDragTouchMoveHandler),st(t,"pointermove",this._delayedDragTouchMoveHandler)},_triggerDragStart:function(t,n){n=n||t.pointerType=="touch"&&t,!this.nativeDraggable||n?this.options.supportPointer?lt(document,"pointermove",this._onTouchMove):n?lt(document,"touchmove",this._onTouchMove):lt(document,"mousemove",this._onTouchMove):(lt(ke,"dragend",this),lt(St,"dragstart",this._onDragStart));try{document.selection?_l(function(){document.selection.empty()}):window.getSelection().removeAllRanges()}catch{}},_dragStarted:function(t,n){if(os=!1,St&&ke){yn("dragStarted",this,{evt:n}),this.nativeDraggable&<(document,"dragover",N$);var r=this.options;!t&&$t(ke,r.dragClass,!1),$t(ke,r.ghostClass,!0),Qe.active=this,t&&this._appendGhost(),dn({sortable:this,name:"start",originalEvent:n})}else this._nulling()},_emulateDragOver:function(){if(Jn){this._lastX=Jn.clientX,this._lastY=Jn.clientY,mv();for(var t=document.elementFromPoint(Jn.clientX,Jn.clientY),n=t;t&&t.shadowRoot&&(t=t.shadowRoot.elementFromPoint(Jn.clientX,Jn.clientY),t!==n);)n=t;if(ke.parentNode[rn]._isOutsideThisEl(t),n)do{if(n[rn]){var r=void 0;if(r=n[rn]._onDragOver({clientX:Jn.clientX,clientY:Jn.clientY,target:t,rootEl:n}),r&&!this.options.dragoverBubble)break}t=n}while(n=n.parentNode);fv()}},_onTouchMove:function(t){if(po){var n=this.options,r=n.fallbackTolerance,o=n.fallbackOffset,s=t.touches?t.touches[0]:t,i=ot&&Eo(ot,!0),a=ot&&i&&i.a,l=ot&&i&&i.d,c=za&&nn&&sh(nn),d=(s.clientX-po.clientX+o.x)/(a||1)+(c?c[0]-uc[0]:0)/(a||1),f=(s.clientY-po.clientY+o.y)/(l||1)+(c?c[1]-uc[1]:0)/(l||1);if(!Qe.active&&!os){if(r&&Math.max(Math.abs(s.clientX-this._lastX),Math.abs(s.clientY-this._lastY))<r)return;this._onDragStart(t,!0)}if(ot){i?(i.e+=d-(ac||0),i.f+=f-(lc||0)):i={a:1,b:0,c:0,d:1,e:d,f};var m="matrix(".concat(i.a,",").concat(i.b,",").concat(i.c,",").concat(i.d,",").concat(i.e,",").concat(i.f,")");Be(ot,"webkitTransform",m),Be(ot,"mozTransform",m),Be(ot,"msTransform",m),Be(ot,"transform",m),ac=d,lc=f,Jn=s}t.cancelable&&t.preventDefault()}},_appendGhost:function(){if(!ot){var t=this.options.fallbackOnBody?document.body:St,n=Et(ke,!0,za,!0,t),r=this.options;if(za){for(nn=t;Be(nn,"position")==="static"&&Be(nn,"transform")==="none"&&nn!==document;)nn=nn.parentNode;nn!==document.body&&nn!==document.documentElement?(nn===document&&(nn=_r()),n.top+=nn.scrollTop,n.left+=nn.scrollLeft):nn=_r(),uc=sh(nn)}ot=ke.cloneNode(!0),$t(ot,r.ghostClass,!1),$t(ot,r.fallbackClass,!0),$t(ot,r.dragClass,!0),Be(ot,"transition",""),Be(ot,"transform",""),Be(ot,"box-sizing","border-box"),Be(ot,"margin",0),Be(ot,"top",n.top),Be(ot,"left",n.left),Be(ot,"width",n.width),Be(ot,"height",n.height),Be(ot,"opacity","0.8"),Be(ot,"position",za?"absolute":"fixed"),Be(ot,"zIndex","100000"),Be(ot,"pointerEvents","none"),Qe.ghost=ot,t.appendChild(ot),Be(ot,"transform-origin",ah/parseInt(ot.style.width)*100+"% "+lh/parseInt(ot.style.height)*100+"%")}},_onDragStart:function(t,n){var r=this,o=t.dataTransfer,s=r.options;if(yn("dragStart",this,{evt:t}),Qe.eventCanceled){this._onDrop();return}yn("setupClone",this),Qe.eventCanceled||(Ft=Om(ke),Ft.draggable=!1,Ft.style["will-change"]="",this._hideClone(),$t(Ft,this.options.chosenClass,!1),Qe.clone=Ft),r.cloneId=_l(function(){yn("clone",r),!Qe.eventCanceled&&(r.options.removeCloneOnHide||St.insertBefore(Ft,ke),r._hideClone(),dn({sortable:r,name:"clone"}))}),!n&&$t(ke,s.dragClass,!0),n?(Ml=!0,r._loopId=setInterval(r._emulateDragOver,50)):(st(document,"mouseup",r._onDrop),st(document,"touchend",r._onDrop),st(document,"touchcancel",r._onDrop),o&&(o.effectAllowed="move",s.setData&&s.setData.call(r,o,ke)),lt(document,"drop",r),Be(ke,"transform","translateZ(0)")),os=!0,r._dragStartId=_l(r._dragStarted.bind(r,n,t)),lt(document,"selectstart",r),ri=!0,bi&&Be(document.body,"user-select","none")},_onDragOver:function(t){var n=this.el,r=t.target,o,s,i,a=this.options,l=a.group,c=Qe.active,d=wa===l,f=a.sort,m=Xt||c,p,h=this,_=!1;if(dd)return;function g(ge,Le){yn(ge,h,yr({evt:t,isOwner:d,axis:p?"vertical":"horizontal",revert:i,dragRect:o,targetRect:s,canSort:f,fromSortable:m,target:r,completed:w,onMove:function(he,J){return xa(St,n,ke,o,he,Et(he),t,J)},changed:x},Le))}function b(){g("dragOverAnimationCapture"),h.captureAnimationState(),h!==m&&m.captureAnimationState()}function w(ge){return g("dragOverCompleted",{insertion:ge}),ge&&(d?c._hideClone():c._showClone(h),h!==m&&($t(ke,Xt?Xt.options.ghostClass:c.options.ghostClass,!1),$t(ke,a.ghostClass,!0)),Xt!==h&&h!==Qe.active?Xt=h:h===Qe.active&&Xt&&(Xt=null),m===h&&(h._ignoreWhileAnimating=r),h.animateAll(function(){g("dragOverAnimationComplete"),h._ignoreWhileAnimating=null}),h!==m&&(m.animateAll(),m._ignoreWhileAnimating=null)),(r===ke&&!ke.animated||r===n&&!r.animated)&&(Zo=null),!a.dragoverBubble&&!t.rootEl&&r!==document&&(ke.parentNode[rn]._isOutsideThisEl(t.target),!ge&&ho(t)),!a.dragoverBubble&&t.stopPropagation&&t.stopPropagation(),_=!0}function x(){Tn=Lt(ke),Gr=Lt(ke,a.draggable),dn({sortable:h,name:"change",toEl:n,newIndex:Tn,newDraggableIndex:Gr,originalEvent:t})}if(t.preventDefault!==void 0&&t.cancelable&&t.preventDefault(),r=tr(r,a.draggable,n,!0),g("dragOver"),Qe.eventCanceled)return _;if(ke.contains(t.target)||r.animated&&r.animatingX&&r.animatingY||h._ignoreWhileAnimating===r)return w(!1);if(Ml=!1,c&&!a.disabled&&(d?f||(i=Dt!==St):Xt===this||(this.lastPutMode=wa.checkPull(this,c,ke,t))&&l.checkPut(this,c,ke,t))){if(p=this._getDirection(t,r)==="vertical",o=Et(ke),g("dragOverValid"),Qe.eventCanceled)return _;if(i)return Dt=St,b(),this._hideClone(),g("revert"),Qe.eventCanceled||(vo?St.insertBefore(ke,vo):St.appendChild(ke)),w(!0);var z=Tm(n,a.draggable);if(!z||H$(t,p,this)&&!z.animated){if(z===ke)return w(!1);if(z&&n===t.target&&(r=z),r&&(s=Et(r)),xa(St,n,ke,o,r,s,t,!!r)!==!1)return b(),n.appendChild(ke),Dt=n,x(),w(!0)}else if(z&&B$(t,p,this)){var E=Es(n,0,a,!0);if(E===ke)return w(!1);if(r=E,s=Et(r),xa(St,n,ke,o,r,s,t,!1)!==!1)return b(),n.insertBefore(ke,E),Dt=n,x(),w(!0)}else if(r.parentNode===n){s=Et(r);var T=0,V,F=ke.parentNode!==n,A=!L$(ke.animated&&ke.toRect||o,r.animated&&r.toRect||s,p),M=p?"top":"left",W=oh(r,"top","top")||oh(ke,"top","top"),R=W?W.scrollTop:void 0;Zo!==r&&(V=s[M],xi=!1,Ca=!A&&a.invertSwap||F),T=U$(t,r,s,p,A?1:a.swapThreshold,a.invertedSwapThreshold==null?a.swapThreshold:a.invertedSwapThreshold,Ca,Zo===r);var q;if(T!==0){var B=Lt(ke);do B-=T,q=Dt.children[B];while(q&&(Be(q,"display")==="none"||q===ot))}if(T===0||q===r)return w(!1);Zo=r,zi=T;var se=r.nextElementSibling,Q=!1;Q=T===1;var ue=xa(St,n,ke,o,r,s,t,Q);if(ue!==!1)return(ue===1||ue===-1)&&(Q=ue===1),dd=!0,setTimeout(j$,30),b(),Q&&!se?n.appendChild(ke):r.parentNode.insertBefore(ke,Q?se:r),W&&lv(W,0,R-W.scrollTop),Dt=ke.parentNode,V!==void 0&&!Ca&&(hl=Math.abs(V-Et(r)[M])),x(),w(!0)}if(n.contains(ke))return w(!1)}return!1},_ignoreWhileAnimating:null,_offMoveEvents:function(){st(document,"mousemove",this._onTouchMove),st(document,"touchmove",this._onTouchMove),st(document,"pointermove",this._onTouchMove),st(document,"dragover",ho),st(document,"mousemove",ho),st(document,"touchmove",ho)},_offUpEvents:function(){var t=this.el.ownerDocument;st(t,"mouseup",this._onDrop),st(t,"touchend",this._onDrop),st(t,"pointerup",this._onDrop),st(t,"touchcancel",this._onDrop),st(document,"selectstart",this)},_onDrop:function(t){var n=this.el,r=this.options;if(Tn=Lt(ke),Gr=Lt(ke,r.draggable),yn("drop",this,{evt:t}),Dt=ke&&ke.parentNode,Tn=Lt(ke),Gr=Lt(ke,r.draggable),Qe.eventCanceled){this._nulling();return}os=!1,Ca=!1,xi=!1,clearInterval(this._loopId),clearTimeout(this._dragStartTimer),md(this.cloneId),md(this._dragStartId),this.nativeDraggable&&(st(document,"drop",this),st(n,"dragstart",this._onDragStart)),this._offMoveEvents(),this._offUpEvents(),bi&&Be(document.body,"user-select",""),Be(ke,"transform",""),t&&(ri&&(t.cancelable&&t.preventDefault(),!r.dropBubble&&t.stopPropagation()),ot&&ot.parentNode&&ot.parentNode.removeChild(ot),(St===Dt||Xt&&Xt.lastPutMode!=="clone")&&Ft&&Ft.parentNode&&Ft.parentNode.removeChild(Ft),ke&&(this.nativeDraggable&&st(ke,"dragend",this),cc(ke),ke.style["will-change"]="",ri&&!os&&$t(ke,Xt?Xt.options.ghostClass:this.options.ghostClass,!1),$t(ke,this.options.chosenClass,!1),dn({sortable:this,name:"unchoose",toEl:Dt,newIndex:null,newDraggableIndex:null,originalEvent:t}),St!==Dt?(Tn>=0&&(dn({rootEl:Dt,name:"add",toEl:Dt,fromEl:St,originalEvent:t}),dn({sortable:this,name:"remove",toEl:Dt,originalEvent:t}),dn({rootEl:Dt,name:"sort",toEl:Dt,fromEl:St,originalEvent:t}),dn({sortable:this,name:"sort",toEl:Dt,originalEvent:t})),Xt&&Xt.save()):Tn!==as&&Tn>=0&&(dn({sortable:this,name:"update",toEl:Dt,originalEvent:t}),dn({sortable:this,name:"sort",toEl:Dt,originalEvent:t})),Qe.active&&((Tn==null||Tn===-1)&&(Tn=as,Gr=Ci),dn({sortable:this,name:"end",toEl:Dt,originalEvent:t}),this.save()))),this._nulling()},_nulling:function(){yn("nulling",this),St=ke=Dt=ot=vo=Ft=pl=Zr=po=Jn=ri=Tn=Gr=as=Ci=Zo=zi=Xt=wa=Qe.dragged=Qe.ghost=Qe.clone=Qe.active=null,Rl.forEach(function(t){t.checked=!0}),Rl.length=ac=lc=0},handleEvent:function(t){switch(t.type){case"drop":case"dragend":this._onDrop(t);break;case"dragenter":case"dragover":ke&&(this._onDragOver(t),V$(t));break;case"selectstart":t.preventDefault();break}},toArray:function(){for(var t=[],n,r=this.el.children,o=0,s=r.length,i=this.options;o<s;o++)n=r[o],tr(n,i.draggable,this.el,!1)&&t.push(n.getAttribute(i.dataIdAttr)||W$(n));return t},sort:function(t,n){var r={},o=this.el;this.toArray().forEach(function(s,i){var a=o.children[i];tr(a,this.options.draggable,o,!1)&&(r[s]=a)},this),n&&this.captureAnimationState(),t.forEach(function(s){r[s]&&(o.removeChild(r[s]),o.appendChild(r[s]))}),n&&this.animateAll()},save:function(){var t=this.options.store;t&&t.set&&t.set(this)},closest:function(t,n){return tr(t,n||this.options.draggable,this.el,!1)},option:function(t,n){var r=this.options;if(n===void 0)return r[t];var o=Yi.modifyOption(this,t,n);typeof o!="undefined"?r[t]=o:r[t]=n,t==="group"&&dv(r)},destroy:function(){yn("destroy",this);var t=this.el;t[rn]=null,st(t,"mousedown",this._onTapStart),st(t,"touchstart",this._onTapStart),st(t,"pointerdown",this._onTapStart),this.nativeDraggable&&(st(t,"dragover",this),st(t,"dragenter",this)),Array.prototype.forEach.call(t.querySelectorAll("[draggable]"),function(n){n.removeAttribute("draggable")}),this._onDrop(),this._disableDelayedDragEvents(),Ll.splice(Ll.indexOf(this.el),1),this.el=t=null},_hideClone:function(){if(!Zr){if(yn("hideClone",this),Qe.eventCanceled)return;Be(Ft,"display","none"),this.options.removeCloneOnHide&&Ft.parentNode&&Ft.parentNode.removeChild(Ft),Zr=!0}},_showClone:function(t){if(t.lastPutMode!=="clone"){this._hideClone();return}if(Zr){if(yn("showClone",this),Qe.eventCanceled)return;ke.parentNode==St&&!this.options.group.revertClone?St.insertBefore(Ft,ke):vo?St.insertBefore(Ft,vo):St.appendChild(Ft),this.options.group.revertClone&&this.animate(ke,Ft),Be(Ft,"display",""),Zr=!1}}};function V$(e){e.dataTransfer&&(e.dataTransfer.dropEffect="move"),e.cancelable&&e.preventDefault()}function xa(e,t,n,r,o,s,i,a){var l,c=e[rn],d=c.options.onMove,f;return window.CustomEvent&&!Fr&&!Zi?l=new CustomEvent("move",{bubbles:!0,cancelable:!0}):(l=document.createEvent("Event"),l.initEvent("move",!0,!0)),l.to=t,l.from=e,l.dragged=n,l.draggedRect=r,l.related=o||t,l.relatedRect=s||Et(t),l.willInsertAfter=a,l.originalEvent=i,e.dispatchEvent(l),d&&(f=d.call(c,l,i)),f}function cc(e){e.draggable=!1}function j$(){dd=!1}function B$(e,t,n){var r=Et(Es(n.el,0,n.options,!0)),o=10;return t?e.clientX<r.left-o||e.clientY<r.top&&e.clientX<r.right:e.clientY<r.top-o||e.clientY<r.bottom&&e.clientX<r.left}function H$(e,t,n){var r=Et(Tm(n.el,n.options.draggable)),o=10;return t?e.clientX>r.right+o||e.clientX<=r.right&&e.clientY>r.bottom&&e.clientX>=r.left:e.clientX>r.right&&e.clientY>r.top||e.clientX<=r.right&&e.clientY>r.bottom+o}function U$(e,t,n,r,o,s,i,a){var l=r?e.clientY:e.clientX,c=r?n.height:n.width,d=r?n.top:n.left,f=r?n.bottom:n.right,m=!1;if(!i){if(a&&hl<c*o){if(!xi&&(zi===1?l>d+c*s/2:l<f-c*s/2)&&(xi=!0),xi)m=!0;else if(zi===1?l<d+hl:l>f-hl)return-zi}else if(l>d+c*(1-o)/2&&l<f-c*(1-o)/2)return q$(t)}return m=m||i,m&&(l<d+c*s/2||l>f-c*s/2)?l>d+c/2?1:-1:0}function q$(e){return Lt(ke)<Lt(e)?1:-1}function W$(e){for(var t=e.tagName+e.className+e.src+e.href+e.textContent,n=t.length,r=0;n--;)r+=t.charCodeAt(n);return r.toString(36)}function G$(e){Rl.length=0;for(var t=e.getElementsByTagName("input"),n=t.length;n--;){var r=t[n];r.checked&&Rl.push(r)}}function _l(e){return setTimeout(e,0)}function md(e){return clearTimeout(e)}wu&<(document,"touchmove",function(e){(Qe.active||os)&&e.cancelable&&e.preventDefault()});Qe.utils={on:lt,off:st,css:Be,find:iv,is:function(t,n){return!!tr(t,n,t,!1)},extend:T$,throttle:av,closest:tr,toggleClass:$t,clone:Om,index:Lt,nextTick:_l,cancelNextTick:md,detectDirection:cv,getChild:Es};Qe.get=function(e){return e[rn]};Qe.mount=function(){for(var e=arguments.length,t=new Array(e),n=0;n<e;n++)t[n]=arguments[n];t[0].constructor===Array&&(t=t[0]),t.forEach(function(r){if(!r.prototype||!r.prototype.constructor)throw"Sortable: Mounted plugin must be a constructor function, not ".concat({}.toString.call(r));r.utils&&(Qe.utils=yr(yr({},Qe.utils),r.utils)),Yi.mount(r)})};Qe.create=function(e,t){return new Qe(e,t)};Qe.version=S$;var Ht=[],oi,fd,pd=!1,dc,mc,Nl,si;function K$(){function e(){this.defaults={scroll:!0,forceAutoScrollFallback:!1,scrollSensitivity:30,scrollSpeed:10,bubbleScroll:!0};for(var t in this)t.charAt(0)==="_"&&typeof this[t]=="function"&&(this[t]=this[t].bind(this))}return e.prototype={dragStarted:function(n){var r=n.originalEvent;this.sortable.nativeDraggable?lt(document,"dragover",this._handleAutoScroll):this.options.supportPointer?lt(document,"pointermove",this._handleFallbackAutoScroll):r.touches?lt(document,"touchmove",this._handleFallbackAutoScroll):lt(document,"mousemove",this._handleFallbackAutoScroll)},dragOverCompleted:function(n){var r=n.originalEvent;!this.options.dragOverBubble&&!r.rootEl&&this._handleAutoScroll(r)},drop:function(){this.sortable.nativeDraggable?st(document,"dragover",this._handleAutoScroll):(st(document,"pointermove",this._handleFallbackAutoScroll),st(document,"touchmove",this._handleFallbackAutoScroll),st(document,"mousemove",this._handleFallbackAutoScroll)),ch(),gl(),O$()},nulling:function(){Nl=fd=oi=pd=si=dc=mc=null,Ht.length=0},_handleFallbackAutoScroll:function(n){this._handleAutoScroll(n,!0)},_handleAutoScroll:function(n,r){var o=this,s=(n.touches?n.touches[0]:n).clientX,i=(n.touches?n.touches[0]:n).clientY,a=document.elementFromPoint(s,i);if(Nl=n,r||this.options.forceAutoScrollFallback||Zi||Fr||bi){fc(n,this.options,a,r);var l=Jr(a,!0);pd&&(!si||s!==dc||i!==mc)&&(si&&ch(),si=setInterval(function(){var c=Jr(document.elementFromPoint(s,i),!0);c!==l&&(l=c,gl()),fc(n,o.options,c,r)},10),dc=s,mc=i)}else{if(!this.options.bubbleScroll||Jr(a,!0)===_r()){gl();return}fc(n,this.options,Jr(a,!1),!1)}}},Gn(e,{pluginName:"scroll",initializeByDefault:!0})}function gl(){Ht.forEach(function(e){clearInterval(e.pid)}),Ht=[]}function ch(){clearInterval(si)}var fc=av(function(e,t,n,r){if(!!t.scroll){var o=(e.touches?e.touches[0]:e).clientX,s=(e.touches?e.touches[0]:e).clientY,i=t.scrollSensitivity,a=t.scrollSpeed,l=_r(),c=!1,d;fd!==n&&(fd=n,gl(),oi=t.scroll,d=t.scrollFn,oi===!0&&(oi=Jr(n,!0)));var f=0,m=oi;do{var p=m,h=Et(p),_=h.top,g=h.bottom,b=h.left,w=h.right,x=h.width,z=h.height,E=void 0,T=void 0,V=p.scrollWidth,F=p.scrollHeight,A=Be(p),M=p.scrollLeft,W=p.scrollTop;p===l?(E=x<V&&(A.overflowX==="auto"||A.overflowX==="scroll"||A.overflowX==="visible"),T=z<F&&(A.overflowY==="auto"||A.overflowY==="scroll"||A.overflowY==="visible")):(E=x<V&&(A.overflowX==="auto"||A.overflowX==="scroll"),T=z<F&&(A.overflowY==="auto"||A.overflowY==="scroll"));var R=E&&(Math.abs(w-o)<=i&&M+x<V)-(Math.abs(b-o)<=i&&!!M),q=T&&(Math.abs(g-s)<=i&&W+z<F)-(Math.abs(_-s)<=i&&!!W);if(!Ht[f])for(var B=0;B<=f;B++)Ht[B]||(Ht[B]={});(Ht[f].vx!=R||Ht[f].vy!=q||Ht[f].el!==p)&&(Ht[f].el=p,Ht[f].vx=R,Ht[f].vy=q,clearInterval(Ht[f].pid),(R!=0||q!=0)&&(c=!0,Ht[f].pid=setInterval(function(){r&&this.layer===0&&Qe.active._onTouchMove(Nl);var se=Ht[this.layer].vy?Ht[this.layer].vy*a:0,Q=Ht[this.layer].vx?Ht[this.layer].vx*a:0;typeof d=="function"&&d.call(Qe.dragged.parentNode[rn],Q,se,e,Nl,Ht[this.layer].el)!=="continue"||lv(Ht[this.layer].el,Q,se)}.bind({layer:f}),24))),f++}while(t.bubbleScroll&&m!==l&&(m=Jr(m,!1)));pd=c}},30),pv=function(t){var n=t.originalEvent,r=t.putSortable,o=t.dragEl,s=t.activeSortable,i=t.dispatchSortableEvent,a=t.hideGhostForTarget,l=t.unhideGhostForTarget;if(!!n){var c=r||s;a();var d=n.changedTouches&&n.changedTouches.length?n.changedTouches[0]:n,f=document.elementFromPoint(d.clientX,d.clientY);l(),c&&!c.el.contains(f)&&(i("spill"),this.onSpill({dragEl:o,putSortable:r}))}};function Pm(){}Pm.prototype={startIndex:null,dragStart:function(t){var n=t.oldDraggableIndex;this.startIndex=n},onSpill:function(t){var n=t.dragEl,r=t.putSortable;this.sortable.captureAnimationState(),r&&r.captureAnimationState();var o=Es(this.sortable.el,this.startIndex,this.options);o?this.sortable.el.insertBefore(n,o):this.sortable.el.appendChild(n),this.sortable.animateAll(),r&&r.animateAll()},drop:pv};Gn(Pm,{pluginName:"revertOnSpill"});function Dm(){}Dm.prototype={onSpill:function(t){var n=t.dragEl,r=t.putSortable,o=r||this.sortable;o.captureAnimationState(),n.parentNode&&n.parentNode.removeChild(n),o.animateAll()},drop:pv};Gn(Dm,{pluginName:"removeOnSpill"});var Bn;function Z$(){function e(){this.defaults={swapClass:"sortable-swap-highlight"}}return e.prototype={dragStart:function(n){var r=n.dragEl;Bn=r},dragOverValid:function(n){var r=n.completed,o=n.target,s=n.onMove,i=n.activeSortable,a=n.changed,l=n.cancel;if(!!i.options.swap){var c=this.sortable.el,d=this.options;if(o&&o!==c){var f=Bn;s(o)!==!1?($t(o,d.swapClass,!0),Bn=o):Bn=null,f&&f!==Bn&&$t(f,d.swapClass,!1)}a(),r(!0),l()}},drop:function(n){var r=n.activeSortable,o=n.putSortable,s=n.dragEl,i=o||this.sortable,a=this.options;Bn&&$t(Bn,a.swapClass,!1),Bn&&(a.swap||o&&o.options.swap)&&s!==Bn&&(i.captureAnimationState(),i!==r&&r.captureAnimationState(),Y$(s,Bn),i.animateAll(),i!==r&&r.animateAll())},nulling:function(){Bn=null}},Gn(e,{pluginName:"swap",eventProperties:function(){return{swapItem:Bn}}})}function Y$(e,t){var n=e.parentNode,r=t.parentNode,o,s;!n||!r||n.isEqualNode(t)||r.isEqualNode(e)||(o=Lt(e),s=Lt(t),n.isEqualNode(r)&&o<s&&s++,n.insertBefore(t,n.children[o]),r.insertBefore(e,r.children[s]))}var rt=[],An=[],Us,Xn,qs=!1,vn=!1,Yo=!1,zt,Ws,ka;function J$(){function e(t){for(var n in this)n.charAt(0)==="_"&&typeof this[n]=="function"&&(this[n]=this[n].bind(this));t.options.supportPointer?lt(document,"pointerup",this._deselectMultiDrag):(lt(document,"mouseup",this._deselectMultiDrag),lt(document,"touchend",this._deselectMultiDrag)),lt(document,"keydown",this._checkKeyDown),lt(document,"keyup",this._checkKeyUp),this.defaults={selectedClass:"sortable-selected",multiDragKey:null,setData:function(o,s){var i="";rt.length&&Xn===t?rt.forEach(function(a,l){i+=(l?", ":"")+a.textContent}):i=s.textContent,o.setData("Text",i)}}}return e.prototype={multiDragKeyDown:!1,isMultiDrag:!1,delayStartGlobal:function(n){var r=n.dragEl;zt=r},delayEnded:function(){this.isMultiDrag=~rt.indexOf(zt)},setupClone:function(n){var r=n.sortable,o=n.cancel;if(!!this.isMultiDrag){for(var s=0;s<rt.length;s++)An.push(Om(rt[s])),An[s].sortableIndex=rt[s].sortableIndex,An[s].draggable=!1,An[s].style["will-change"]="",$t(An[s],this.options.selectedClass,!1),rt[s]===zt&&$t(An[s],this.options.chosenClass,!1);r._hideClone(),o()}},clone:function(n){var r=n.sortable,o=n.rootEl,s=n.dispatchSortableEvent,i=n.cancel;!this.isMultiDrag||this.options.removeCloneOnHide||rt.length&&Xn===r&&(dh(!0,o),s("clone"),i())},showClone:function(n){var r=n.cloneNowShown,o=n.rootEl,s=n.cancel;!this.isMultiDrag||(dh(!1,o),An.forEach(function(i){Be(i,"display","")}),r(),ka=!1,s())},hideClone:function(n){var r=this;n.sortable;var o=n.cloneNowHidden,s=n.cancel;!this.isMultiDrag||(An.forEach(function(i){Be(i,"display","none"),r.options.removeCloneOnHide&&i.parentNode&&i.parentNode.removeChild(i)}),o(),ka=!0,s())},dragStartGlobal:function(n){n.sortable,!this.isMultiDrag&&Xn&&Xn.multiDrag._deselectMultiDrag(),rt.forEach(function(r){r.sortableIndex=Lt(r)}),rt=rt.sort(function(r,o){return r.sortableIndex-o.sortableIndex}),Yo=!0},dragStarted:function(n){var r=this,o=n.sortable;if(!!this.isMultiDrag){if(this.options.sort&&(o.captureAnimationState(),this.options.animation)){rt.forEach(function(i){i!==zt&&Be(i,"position","absolute")});var s=Et(zt,!1,!0,!0);rt.forEach(function(i){i!==zt&&ih(i,s)}),vn=!0,qs=!0}o.animateAll(function(){vn=!1,qs=!1,r.options.animation&&rt.forEach(function(i){sc(i)}),r.options.sort&&Sa()})}},dragOver:function(n){var r=n.target,o=n.completed,s=n.cancel;vn&&~rt.indexOf(r)&&(o(!1),s())},revert:function(n){var r=n.fromSortable,o=n.rootEl,s=n.sortable,i=n.dragRect;rt.length>1&&(rt.forEach(function(a){s.addAnimationState({target:a,rect:vn?Et(a):i}),sc(a),a.fromRect=i,r.removeAnimationState(a)}),vn=!1,X$(!this.options.removeCloneOnHide,o))},dragOverCompleted:function(n){var r=n.sortable,o=n.isOwner,s=n.insertion,i=n.activeSortable,a=n.parentEl,l=n.putSortable,c=this.options;if(s){if(o&&i._hideClone(),qs=!1,c.animation&&rt.length>1&&(vn||!o&&!i.options.sort&&!l)){var d=Et(zt,!1,!0,!0);rt.forEach(function(m){m!==zt&&(ih(m,d),a.appendChild(m))}),vn=!0}if(!o)if(vn||Sa(),rt.length>1){var f=ka;i._showClone(r),i.options.animation&&!ka&&f&&An.forEach(function(m){i.addAnimationState({target:m,rect:Ws}),m.fromRect=Ws,m.thisAnimationDuration=null})}else i._showClone(r)}},dragOverAnimationCapture:function(n){var r=n.dragRect,o=n.isOwner,s=n.activeSortable;if(rt.forEach(function(a){a.thisAnimationDuration=null}),s.options.animation&&!o&&s.multiDrag.isMultiDrag){Ws=Gn({},r);var i=Eo(zt,!0);Ws.top-=i.f,Ws.left-=i.e}},dragOverAnimationComplete:function(){vn&&(vn=!1,Sa())},drop:function(n){var r=n.originalEvent,o=n.rootEl,s=n.parentEl,i=n.sortable,a=n.dispatchSortableEvent,l=n.oldIndex,c=n.putSortable,d=c||this.sortable;if(!!r){var f=this.options,m=s.children;if(!Yo)if(f.multiDragKey&&!this.multiDragKeyDown&&this._deselectMultiDrag(),$t(zt,f.selectedClass,!~rt.indexOf(zt)),~rt.indexOf(zt))rt.splice(rt.indexOf(zt),1),Us=null,ni({sortable:i,rootEl:o,name:"deselect",targetEl:zt,originalEvt:r});else{if(rt.push(zt),ni({sortable:i,rootEl:o,name:"select",targetEl:zt,originalEvt:r}),r.shiftKey&&Us&&i.el.contains(Us)){var p=Lt(Us),h=Lt(zt);if(~p&&~h&&p!==h){var _,g;for(h>p?(g=p,_=h):(g=h,_=p+1);g<_;g++)~rt.indexOf(m[g])||($t(m[g],f.selectedClass,!0),rt.push(m[g]),ni({sortable:i,rootEl:o,name:"select",targetEl:m[g],originalEvt:r}))}}else Us=zt;Xn=d}if(Yo&&this.isMultiDrag){if(vn=!1,(s[rn].options.sort||s!==o)&&rt.length>1){var b=Et(zt),w=Lt(zt,":not(."+this.options.selectedClass+")");if(!qs&&f.animation&&(zt.thisAnimationDuration=null),d.captureAnimationState(),!qs&&(f.animation&&(zt.fromRect=b,rt.forEach(function(z){if(z.thisAnimationDuration=null,z!==zt){var E=vn?Et(z):b;z.fromRect=E,d.addAnimationState({target:z,rect:E})}})),Sa(),rt.forEach(function(z){m[w]?s.insertBefore(z,m[w]):s.appendChild(z),w++}),l===Lt(zt))){var x=!1;rt.forEach(function(z){if(z.sortableIndex!==Lt(z)){x=!0;return}}),x&&a("update")}rt.forEach(function(z){sc(z)}),d.animateAll()}Xn=d}(o===s||c&&c.lastPutMode!=="clone")&&An.forEach(function(z){z.parentNode&&z.parentNode.removeChild(z)})}},nullingGlobal:function(){this.isMultiDrag=Yo=!1,An.length=0},destroyGlobal:function(){this._deselectMultiDrag(),st(document,"pointerup",this._deselectMultiDrag),st(document,"mouseup",this._deselectMultiDrag),st(document,"touchend",this._deselectMultiDrag),st(document,"keydown",this._checkKeyDown),st(document,"keyup",this._checkKeyUp)},_deselectMultiDrag:function(n){if(!(typeof Yo!="undefined"&&Yo)&&Xn===this.sortable&&!(n&&tr(n.target,this.options.draggable,this.sortable.el,!1))&&!(n&&n.button!==0))for(;rt.length;){var r=rt[0];$t(r,this.options.selectedClass,!1),rt.shift(),ni({sortable:this.sortable,rootEl:this.sortable.el,name:"deselect",targetEl:r,originalEvt:n})}},_checkKeyDown:function(n){n.key===this.options.multiDragKey&&(this.multiDragKeyDown=!0)},_checkKeyUp:function(n){n.key===this.options.multiDragKey&&(this.multiDragKeyDown=!1)}},Gn(e,{pluginName:"multiDrag",utils:{select:function(n){var r=n.parentNode[rn];!r||!r.options.multiDrag||~rt.indexOf(n)||(Xn&&Xn!==r&&(Xn.multiDrag._deselectMultiDrag(),Xn=r),$t(n,r.options.selectedClass,!0),rt.push(n))},deselect:function(n){var r=n.parentNode[rn],o=rt.indexOf(n);!r||!r.options.multiDrag||!~o||($t(n,r.options.selectedClass,!1),rt.splice(o,1))}},eventProperties:function(){var n=this,r=[],o=[];return rt.forEach(function(s){r.push({multiDragElement:s,index:s.sortableIndex});var i;vn&&s!==zt?i=-1:vn?i=Lt(s,":not(."+n.options.selectedClass+")"):i=Lt(s),o.push({multiDragElement:s,index:i})}),{items:w$(rt),clones:[].concat(An),oldIndicies:r,newIndicies:o}},optionListeners:{multiDragKey:function(n){return n=n.toLowerCase(),n==="ctrl"?n="Control":n.length>1&&(n=n.charAt(0).toUpperCase()+n.substr(1)),n}}})}function X$(e,t){rt.forEach(function(n,r){var o=t.children[n.sortableIndex+(e?Number(r):0)];o?t.insertBefore(n,o):t.appendChild(n)})}function dh(e,t){An.forEach(function(n,r){var o=t.children[n.sortableIndex+(e?Number(r):0)];o?t.insertBefore(n,o):t.appendChild(n)})}function Sa(){rt.forEach(function(e){e!==zt&&e.parentNode&&e.parentNode.removeChild(e)})}Qe.mount(new K$);Qe.mount(Dm,Pm);var Q$=Object.freeze(Object.defineProperty({__proto__:null,default:Qe,MultiDrag:J$,Sortable:Qe,Swap:Z$},Symbol.toStringTag,{value:"Module"})),e8=Ly(Q$);(function(e,t){(function(r,o){e.exports=o(Am,e8)})(typeof self!="undefined"?self:an,function(n,r){return function(o){var s={};function i(a){if(s[a])return s[a].exports;var l=s[a]={i:a,l:!1,exports:{}};return o[a].call(l.exports,l,l.exports,i),l.l=!0,l.exports}return i.m=o,i.c=s,i.d=function(a,l,c){i.o(a,l)||Object.defineProperty(a,l,{enumerable:!0,get:c})},i.r=function(a){typeof Symbol!="undefined"&&Symbol.toStringTag&&Object.defineProperty(a,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(a,"__esModule",{value:!0})},i.t=function(a,l){if(l&1&&(a=i(a)),l&8||l&4&&typeof a=="object"&&a&&a.__esModule)return a;var c=Object.create(null);if(i.r(c),Object.defineProperty(c,"default",{enumerable:!0,value:a}),l&2&&typeof a!="string")for(var d in a)i.d(c,d,function(f){return a[f]}.bind(null,d));return c},i.n=function(a){var l=a&&a.__esModule?function(){return a.default}:function(){return a};return i.d(l,"a",l),l},i.o=function(a,l){return Object.prototype.hasOwnProperty.call(a,l)},i.p="",i(i.s="fb15")}({"00ee":function(o,s,i){var a=i("b622"),l=a("toStringTag"),c={};c[l]="z",o.exports=String(c)==="[object z]"},"0366":function(o,s,i){var a=i("1c0b");o.exports=function(l,c,d){if(a(l),c===void 0)return l;switch(d){case 0:return function(){return l.call(c)};case 1:return function(f){return l.call(c,f)};case 2:return function(f,m){return l.call(c,f,m)};case 3:return function(f,m,p){return l.call(c,f,m,p)}}return function(){return l.apply(c,arguments)}}},"057f":function(o,s,i){var a=i("fc6a"),l=i("241c").f,c={}.toString,d=typeof window=="object"&&window&&Object.getOwnPropertyNames?Object.getOwnPropertyNames(window):[],f=function(m){try{return l(m)}catch{return d.slice()}};o.exports.f=function(p){return d&&c.call(p)=="[object Window]"?f(p):l(a(p))}},"06cf":function(o,s,i){var a=i("83ab"),l=i("d1e7"),c=i("5c6c"),d=i("fc6a"),f=i("c04e"),m=i("5135"),p=i("0cfb"),h=Object.getOwnPropertyDescriptor;s.f=a?h:function(g,b){if(g=d(g),b=f(b,!0),p)try{return h(g,b)}catch{}if(m(g,b))return c(!l.f.call(g,b),g[b])}},"0cfb":function(o,s,i){var a=i("83ab"),l=i("d039"),c=i("cc12");o.exports=!a&&!l(function(){return Object.defineProperty(c("div"),"a",{get:function(){return 7}}).a!=7})},"13d5":function(o,s,i){var a=i("23e7"),l=i("d58f").left,c=i("a640"),d=i("ae40"),f=c("reduce"),m=d("reduce",{1:0});a({target:"Array",proto:!0,forced:!f||!m},{reduce:function(h){return l(this,h,arguments.length,arguments.length>1?arguments[1]:void 0)}})},"14c3":function(o,s,i){var a=i("c6b6"),l=i("9263");o.exports=function(c,d){var f=c.exec;if(typeof f=="function"){var m=f.call(c,d);if(typeof m!="object")throw TypeError("RegExp exec method returned something other than an Object or null");return m}if(a(c)!=="RegExp")throw TypeError("RegExp#exec called on incompatible receiver");return l.call(c,d)}},"159b":function(o,s,i){var a=i("da84"),l=i("fdbc"),c=i("17c2"),d=i("9112");for(var f in l){var m=a[f],p=m&&m.prototype;if(p&&p.forEach!==c)try{d(p,"forEach",c)}catch{p.forEach=c}}},"17c2":function(o,s,i){var a=i("b727").forEach,l=i("a640"),c=i("ae40"),d=l("forEach"),f=c("forEach");o.exports=!d||!f?function(p){return a(this,p,arguments.length>1?arguments[1]:void 0)}:[].forEach},"1be4":function(o,s,i){var a=i("d066");o.exports=a("document","documentElement")},"1c0b":function(o,s){o.exports=function(i){if(typeof i!="function")throw TypeError(String(i)+" is not a function");return i}},"1c7e":function(o,s,i){var a=i("b622"),l=a("iterator"),c=!1;try{var d=0,f={next:function(){return{done:!!d++}},return:function(){c=!0}};f[l]=function(){return this},Array.from(f,function(){throw 2})}catch{}o.exports=function(m,p){if(!p&&!c)return!1;var h=!1;try{var _={};_[l]=function(){return{next:function(){return{done:h=!0}}}},m(_)}catch{}return h}},"1d80":function(o,s){o.exports=function(i){if(i==null)throw TypeError("Can't call method on "+i);return i}},"1dde":function(o,s,i){var a=i("d039"),l=i("b622"),c=i("2d00"),d=l("species");o.exports=function(f){return c>=51||!a(function(){var m=[],p=m.constructor={};return p[d]=function(){return{foo:1}},m[f](Boolean).foo!==1})}},"23cb":function(o,s,i){var a=i("a691"),l=Math.max,c=Math.min;o.exports=function(d,f){var m=a(d);return m<0?l(m+f,0):c(m,f)}},"23e7":function(o,s,i){var a=i("da84"),l=i("06cf").f,c=i("9112"),d=i("6eeb"),f=i("ce4e"),m=i("e893"),p=i("94ca");o.exports=function(h,_){var g=h.target,b=h.global,w=h.stat,x,z,E,T,V,F;if(b?z=a:w?z=a[g]||f(g,{}):z=(a[g]||{}).prototype,z)for(E in _){if(V=_[E],h.noTargetGet?(F=l(z,E),T=F&&F.value):T=z[E],x=p(b?E:g+(w?".":"#")+E,h.forced),!x&&T!==void 0){if(typeof V==typeof T)continue;m(V,T)}(h.sham||T&&T.sham)&&c(V,"sham",!0),d(z,E,V,h)}}},"241c":function(o,s,i){var a=i("ca84"),l=i("7839"),c=l.concat("length","prototype");s.f=Object.getOwnPropertyNames||function(f){return a(f,c)}},"25f0":function(o,s,i){var a=i("6eeb"),l=i("825a"),c=i("d039"),d=i("ad6d"),f="toString",m=RegExp.prototype,p=m[f],h=c(function(){return p.call({source:"a",flags:"b"})!="/a/b"}),_=p.name!=f;(h||_)&&a(RegExp.prototype,f,function(){var b=l(this),w=String(b.source),x=b.flags,z=String(x===void 0&&b instanceof RegExp&&!("flags"in m)?d.call(b):x);return"/"+w+"/"+z},{unsafe:!0})},"2ca0":function(o,s,i){var a=i("23e7"),l=i("06cf").f,c=i("50c4"),d=i("5a34"),f=i("1d80"),m=i("ab13"),p=i("c430"),h="".startsWith,_=Math.min,g=m("startsWith"),b=!p&&!g&&!!function(){var w=l(String.prototype,"startsWith");return w&&!w.writable}();a({target:"String",proto:!0,forced:!b&&!g},{startsWith:function(x){var z=String(f(this));d(x);var E=c(_(arguments.length>1?arguments[1]:void 0,z.length)),T=String(x);return h?h.call(z,T,E):z.slice(E,E+T.length)===T}})},"2d00":function(o,s,i){var a=i("da84"),l=i("342f"),c=a.process,d=c&&c.versions,f=d&&d.v8,m,p;f?(m=f.split("."),p=m[0]+m[1]):l&&(m=l.match(/Edge\/(\d+)/),(!m||m[1]>=74)&&(m=l.match(/Chrome\/(\d+)/),m&&(p=m[1]))),o.exports=p&&+p},"342f":function(o,s,i){var a=i("d066");o.exports=a("navigator","userAgent")||""},"35a1":function(o,s,i){var a=i("f5df"),l=i("3f8c"),c=i("b622"),d=c("iterator");o.exports=function(f){if(f!=null)return f[d]||f["@@iterator"]||l[a(f)]}},"37e8":function(o,s,i){var a=i("83ab"),l=i("9bf2"),c=i("825a"),d=i("df75");o.exports=a?Object.defineProperties:function(m,p){c(m);for(var h=d(p),_=h.length,g=0,b;_>g;)l.f(m,b=h[g++],p[b]);return m}},"3bbe":function(o,s,i){var a=i("861d");o.exports=function(l){if(!a(l)&&l!==null)throw TypeError("Can't set "+String(l)+" as a prototype");return l}},"3ca3":function(o,s,i){var a=i("6547").charAt,l=i("69f3"),c=i("7dd0"),d="String Iterator",f=l.set,m=l.getterFor(d);c(String,"String",function(p){f(this,{type:d,string:String(p),index:0})},function(){var h=m(this),_=h.string,g=h.index,b;return g>=_.length?{value:void 0,done:!0}:(b=a(_,g),h.index+=b.length,{value:b,done:!1})})},"3f8c":function(o,s){o.exports={}},"4160":function(o,s,i){var a=i("23e7"),l=i("17c2");a({target:"Array",proto:!0,forced:[].forEach!=l},{forEach:l})},"428f":function(o,s,i){var a=i("da84");o.exports=a},"44ad":function(o,s,i){var a=i("d039"),l=i("c6b6"),c="".split;o.exports=a(function(){return!Object("z").propertyIsEnumerable(0)})?function(d){return l(d)=="String"?c.call(d,""):Object(d)}:Object},"44d2":function(o,s,i){var a=i("b622"),l=i("7c73"),c=i("9bf2"),d=a("unscopables"),f=Array.prototype;f[d]==null&&c.f(f,d,{configurable:!0,value:l(null)}),o.exports=function(m){f[d][m]=!0}},"44e7":function(o,s,i){var a=i("861d"),l=i("c6b6"),c=i("b622"),d=c("match");o.exports=function(f){var m;return a(f)&&((m=f[d])!==void 0?!!m:l(f)=="RegExp")}},"4930":function(o,s,i){var a=i("d039");o.exports=!!Object.getOwnPropertySymbols&&!a(function(){return!String(Symbol())})},"4d64":function(o,s,i){var a=i("fc6a"),l=i("50c4"),c=i("23cb"),d=function(f){return function(m,p,h){var _=a(m),g=l(_.length),b=c(h,g),w;if(f&&p!=p){for(;g>b;)if(w=_[b++],w!=w)return!0}else for(;g>b;b++)if((f||b in _)&&_[b]===p)return f||b||0;return!f&&-1}};o.exports={includes:d(!0),indexOf:d(!1)}},"4de4":function(o,s,i){var a=i("23e7"),l=i("b727").filter,c=i("1dde"),d=i("ae40"),f=c("filter"),m=d("filter");a({target:"Array",proto:!0,forced:!f||!m},{filter:function(h){return l(this,h,arguments.length>1?arguments[1]:void 0)}})},"4df4":function(o,s,i){var a=i("0366"),l=i("7b0b"),c=i("9bdd"),d=i("e95a"),f=i("50c4"),m=i("8418"),p=i("35a1");o.exports=function(_){var g=l(_),b=typeof this=="function"?this:Array,w=arguments.length,x=w>1?arguments[1]:void 0,z=x!==void 0,E=p(g),T=0,V,F,A,M,W,R;if(z&&(x=a(x,w>2?arguments[2]:void 0,2)),E!=null&&!(b==Array&&d(E)))for(M=E.call(g),W=M.next,F=new b;!(A=W.call(M)).done;T++)R=z?c(M,x,[A.value,T],!0):A.value,m(F,T,R);else for(V=f(g.length),F=new b(V);V>T;T++)R=z?x(g[T],T):g[T],m(F,T,R);return F.length=T,F}},"4fad":function(o,s,i){var a=i("23e7"),l=i("6f53").entries;a({target:"Object",stat:!0},{entries:function(d){return l(d)}})},"50c4":function(o,s,i){var a=i("a691"),l=Math.min;o.exports=function(c){return c>0?l(a(c),9007199254740991):0}},"5135":function(o,s){var i={}.hasOwnProperty;o.exports=function(a,l){return i.call(a,l)}},"5319":function(o,s,i){var a=i("d784"),l=i("825a"),c=i("7b0b"),d=i("50c4"),f=i("a691"),m=i("1d80"),p=i("8aa5"),h=i("14c3"),_=Math.max,g=Math.min,b=Math.floor,w=/\$([$&'`]|\d\d?|<[^>]*>)/g,x=/\$([$&'`]|\d\d?)/g,z=function(E){return E===void 0?E:String(E)};a("replace",2,function(E,T,V,F){var A=F.REGEXP_REPLACE_SUBSTITUTES_UNDEFINED_CAPTURE,M=F.REPLACE_KEEPS_$0,W=A?"$":"$0";return[function(B,se){var Q=m(this),ue=B==null?void 0:B[E];return ue!==void 0?ue.call(B,Q,se):T.call(String(Q),B,se)},function(q,B){if(!A&&M||typeof B=="string"&&B.indexOf(W)===-1){var se=V(T,q,this,B);if(se.done)return se.value}var Q=l(q),ue=String(this),ge=typeof B=="function";ge||(B=String(B));var Le=Q.global;if(Le){var He=Q.unicode;Q.lastIndex=0}for(var he=[];;){var J=h(Q,ue);if(J===null||(he.push(J),!Le))break;var me=String(J[0]);me===""&&(Q.lastIndex=p(ue,d(Q.lastIndex),He))}for(var we="",H=0,ie=0;ie<he.length;ie++){J=he[ie];for(var oe=String(J[0]),be=_(g(f(J.index),ue.length),0),je=[],Ie=1;Ie<J.length;Ie++)je.push(z(J[Ie]));var Ee=J.groups;if(ge){var Ae=[oe].concat(je,be,ue);Ee!==void 0&&Ae.push(Ee);var $=String(B.apply(void 0,Ae))}else $=R(oe,ue,be,je,Ee,B);be>=H&&(we+=ue.slice(H,be)+$,H=be+oe.length)}return we+ue.slice(H)}];function R(q,B,se,Q,ue,ge){var Le=se+q.length,He=Q.length,he=x;return ue!==void 0&&(ue=c(ue),he=w),T.call(ge,he,function(J,me){var we;switch(me.charAt(0)){case"$":return"$";case"&":return q;case"`":return B.slice(0,se);case"'":return B.slice(Le);case"<":we=ue[me.slice(1,-1)];break;default:var H=+me;if(H===0)return J;if(H>He){var ie=b(H/10);return ie===0?J:ie<=He?Q[ie-1]===void 0?me.charAt(1):Q[ie-1]+me.charAt(1):J}we=Q[H-1]}return we===void 0?"":we})}})},"5692":function(o,s,i){var a=i("c430"),l=i("c6cd");(o.exports=function(c,d){return l[c]||(l[c]=d!==void 0?d:{})})("versions",[]).push({version:"3.6.5",mode:a?"pure":"global",copyright:"\xA9 2020 Denis Pushkarev (zloirock.ru)"})},"56ef":function(o,s,i){var a=i("d066"),l=i("241c"),c=i("7418"),d=i("825a");o.exports=a("Reflect","ownKeys")||function(m){var p=l.f(d(m)),h=c.f;return h?p.concat(h(m)):p}},"5a34":function(o,s,i){var a=i("44e7");o.exports=function(l){if(a(l))throw TypeError("The method doesn't accept regular expressions");return l}},"5c6c":function(o,s){o.exports=function(i,a){return{enumerable:!(i&1),configurable:!(i&2),writable:!(i&4),value:a}}},"5db7":function(o,s,i){var a=i("23e7"),l=i("a2bf"),c=i("7b0b"),d=i("50c4"),f=i("1c0b"),m=i("65f0");a({target:"Array",proto:!0},{flatMap:function(h){var _=c(this),g=d(_.length),b;return f(h),b=m(_,0),b.length=l(b,_,_,g,0,1,h,arguments.length>1?arguments[1]:void 0),b}})},"6547":function(o,s,i){var a=i("a691"),l=i("1d80"),c=function(d){return function(f,m){var p=String(l(f)),h=a(m),_=p.length,g,b;return h<0||h>=_?d?"":void 0:(g=p.charCodeAt(h),g<55296||g>56319||h+1===_||(b=p.charCodeAt(h+1))<56320||b>57343?d?p.charAt(h):g:d?p.slice(h,h+2):(g-55296<<10)+(b-56320)+65536)}};o.exports={codeAt:c(!1),charAt:c(!0)}},"65f0":function(o,s,i){var a=i("861d"),l=i("e8b5"),c=i("b622"),d=c("species");o.exports=function(f,m){var p;return l(f)&&(p=f.constructor,typeof p=="function"&&(p===Array||l(p.prototype))?p=void 0:a(p)&&(p=p[d],p===null&&(p=void 0))),new(p===void 0?Array:p)(m===0?0:m)}},"69f3":function(o,s,i){var a=i("7f9a"),l=i("da84"),c=i("861d"),d=i("9112"),f=i("5135"),m=i("f772"),p=i("d012"),h=l.WeakMap,_,g,b,w=function(A){return b(A)?g(A):_(A,{})},x=function(A){return function(M){var W;if(!c(M)||(W=g(M)).type!==A)throw TypeError("Incompatible receiver, "+A+" required");return W}};if(a){var z=new h,E=z.get,T=z.has,V=z.set;_=function(A,M){return V.call(z,A,M),M},g=function(A){return E.call(z,A)||{}},b=function(A){return T.call(z,A)}}else{var F=m("state");p[F]=!0,_=function(A,M){return d(A,F,M),M},g=function(A){return f(A,F)?A[F]:{}},b=function(A){return f(A,F)}}o.exports={set:_,get:g,has:b,enforce:w,getterFor:x}},"6eeb":function(o,s,i){var a=i("da84"),l=i("9112"),c=i("5135"),d=i("ce4e"),f=i("8925"),m=i("69f3"),p=m.get,h=m.enforce,_=String(String).split("String");(o.exports=function(g,b,w,x){var z=x?!!x.unsafe:!1,E=x?!!x.enumerable:!1,T=x?!!x.noTargetGet:!1;if(typeof w=="function"&&(typeof b=="string"&&!c(w,"name")&&l(w,"name",b),h(w).source=_.join(typeof b=="string"?b:"")),g===a){E?g[b]=w:d(b,w);return}else z?!T&&g[b]&&(E=!0):delete g[b];E?g[b]=w:l(g,b,w)})(Function.prototype,"toString",function(){return typeof this=="function"&&p(this).source||f(this)})},"6f53":function(o,s,i){var a=i("83ab"),l=i("df75"),c=i("fc6a"),d=i("d1e7").f,f=function(m){return function(p){for(var h=c(p),_=l(h),g=_.length,b=0,w=[],x;g>b;)x=_[b++],(!a||d.call(h,x))&&w.push(m?[x,h[x]]:h[x]);return w}};o.exports={entries:f(!0),values:f(!1)}},"73d9":function(o,s,i){var a=i("44d2");a("flatMap")},"7418":function(o,s){s.f=Object.getOwnPropertySymbols},"746f":function(o,s,i){var a=i("428f"),l=i("5135"),c=i("e538"),d=i("9bf2").f;o.exports=function(f){var m=a.Symbol||(a.Symbol={});l(m,f)||d(m,f,{value:c.f(f)})}},"7839":function(o,s){o.exports=["constructor","hasOwnProperty","isPrototypeOf","propertyIsEnumerable","toLocaleString","toString","valueOf"]},"7b0b":function(o,s,i){var a=i("1d80");o.exports=function(l){return Object(a(l))}},"7c73":function(o,s,i){var a=i("825a"),l=i("37e8"),c=i("7839"),d=i("d012"),f=i("1be4"),m=i("cc12"),p=i("f772"),h=">",_="<",g="prototype",b="script",w=p("IE_PROTO"),x=function(){},z=function(A){return _+b+h+A+_+"/"+b+h},E=function(A){A.write(z("")),A.close();var M=A.parentWindow.Object;return A=null,M},T=function(){var A=m("iframe"),M="java"+b+":",W;return A.style.display="none",f.appendChild(A),A.src=String(M),W=A.contentWindow.document,W.open(),W.write(z("document.F=Object")),W.close(),W.F},V,F=function(){try{V=document.domain&&new ActiveXObject("htmlfile")}catch{}F=V?E(V):T();for(var A=c.length;A--;)delete F[g][c[A]];return F()};d[w]=!0,o.exports=Object.create||function(M,W){var R;return M!==null?(x[g]=a(M),R=new x,x[g]=null,R[w]=M):R=F(),W===void 0?R:l(R,W)}},"7dd0":function(o,s,i){var a=i("23e7"),l=i("9ed3"),c=i("e163"),d=i("d2bb"),f=i("d44e"),m=i("9112"),p=i("6eeb"),h=i("b622"),_=i("c430"),g=i("3f8c"),b=i("ae93"),w=b.IteratorPrototype,x=b.BUGGY_SAFARI_ITERATORS,z=h("iterator"),E="keys",T="values",V="entries",F=function(){return this};o.exports=function(A,M,W,R,q,B,se){l(W,M,R);var Q=function(ie){if(ie===q&&he)return he;if(!x&&ie in Le)return Le[ie];switch(ie){case E:return function(){return new W(this,ie)};case T:return function(){return new W(this,ie)};case V:return function(){return new W(this,ie)}}return function(){return new W(this)}},ue=M+" Iterator",ge=!1,Le=A.prototype,He=Le[z]||Le["@@iterator"]||q&&Le[q],he=!x&&He||Q(q),J=M=="Array"&&Le.entries||He,me,we,H;if(J&&(me=c(J.call(new A)),w!==Object.prototype&&me.next&&(!_&&c(me)!==w&&(d?d(me,w):typeof me[z]!="function"&&m(me,z,F)),f(me,ue,!0,!0),_&&(g[ue]=F))),q==T&&He&&He.name!==T&&(ge=!0,he=function(){return He.call(this)}),(!_||se)&&Le[z]!==he&&m(Le,z,he),g[M]=he,q)if(we={values:Q(T),keys:B?he:Q(E),entries:Q(V)},se)for(H in we)(x||ge||!(H in Le))&&p(Le,H,we[H]);else a({target:M,proto:!0,forced:x||ge},we);return we}},"7f9a":function(o,s,i){var a=i("da84"),l=i("8925"),c=a.WeakMap;o.exports=typeof c=="function"&&/native code/.test(l(c))},"825a":function(o,s,i){var a=i("861d");o.exports=function(l){if(!a(l))throw TypeError(String(l)+" is not an object");return l}},"83ab":function(o,s,i){var a=i("d039");o.exports=!a(function(){return Object.defineProperty({},1,{get:function(){return 7}})[1]!=7})},"8418":function(o,s,i){var a=i("c04e"),l=i("9bf2"),c=i("5c6c");o.exports=function(d,f,m){var p=a(f);p in d?l.f(d,p,c(0,m)):d[p]=m}},"861d":function(o,s){o.exports=function(i){return typeof i=="object"?i!==null:typeof i=="function"}},"8875":function(o,s,i){var a,l,c;(function(d,f){l=[],a=f,c=typeof a=="function"?a.apply(s,l):a,c!==void 0&&(o.exports=c)})(typeof self!="undefined"?self:this,function(){function d(){var f=Object.getOwnPropertyDescriptor(document,"currentScript");if(!f&&"currentScript"in document&&document.currentScript||f&&f.get!==d&&document.currentScript)return document.currentScript;try{throw new Error}catch(V){var m=/.*at [^(]*\((.*):(.+):(.+)\)$/ig,p=/@([^@]*):(\d+):(\d+)\s*$/ig,h=m.exec(V.stack)||p.exec(V.stack),_=h&&h[1]||!1,g=h&&h[2]||!1,b=document.location.href.replace(document.location.hash,""),w,x,z,E=document.getElementsByTagName("script");_===b&&(w=document.documentElement.outerHTML,x=new RegExp("(?:[^\\n]+?\\n){0,"+(g-2)+"}[^<]*<script>([\\d\\D]*?)<\\/script>[\\d\\D]*","i"),z=w.replace(x,"$1").trim());for(var T=0;T<E.length;T++)if(E[T].readyState==="interactive"||E[T].src===_||_===b&&E[T].innerHTML&&E[T].innerHTML.trim()===z)return E[T];return null}}return d})},"8925":function(o,s,i){var a=i("c6cd"),l=Function.toString;typeof a.inspectSource!="function"&&(a.inspectSource=function(c){return l.call(c)}),o.exports=a.inspectSource},"8aa5":function(o,s,i){var a=i("6547").charAt;o.exports=function(l,c,d){return c+(d?a(l,c).length:1)}},"8bbf":function(o,s){o.exports=n},"90e3":function(o,s){var i=0,a=Math.random();o.exports=function(l){return"Symbol("+String(l===void 0?"":l)+")_"+(++i+a).toString(36)}},"9112":function(o,s,i){var a=i("83ab"),l=i("9bf2"),c=i("5c6c");o.exports=a?function(d,f,m){return l.f(d,f,c(1,m))}:function(d,f,m){return d[f]=m,d}},"9263":function(o,s,i){var a=i("ad6d"),l=i("9f7f"),c=RegExp.prototype.exec,d=String.prototype.replace,f=c,m=function(){var g=/a/,b=/b*/g;return c.call(g,"a"),c.call(b,"a"),g.lastIndex!==0||b.lastIndex!==0}(),p=l.UNSUPPORTED_Y||l.BROKEN_CARET,h=/()??/.exec("")[1]!==void 0,_=m||h||p;_&&(f=function(b){var w=this,x,z,E,T,V=p&&w.sticky,F=a.call(w),A=w.source,M=0,W=b;return V&&(F=F.replace("y",""),F.indexOf("g")===-1&&(F+="g"),W=String(b).slice(w.lastIndex),w.lastIndex>0&&(!w.multiline||w.multiline&&b[w.lastIndex-1]!==`
|
|
`)&&(A="(?: "+A+")",W=" "+W,M++),z=new RegExp("^(?:"+A+")",F)),h&&(z=new RegExp("^"+A+"$(?!\\s)",F)),m&&(x=w.lastIndex),E=c.call(V?z:w,W),V?E?(E.input=E.input.slice(M),E[0]=E[0].slice(M),E.index=w.lastIndex,w.lastIndex+=E[0].length):w.lastIndex=0:m&&E&&(w.lastIndex=w.global?E.index+E[0].length:x),h&&E&&E.length>1&&d.call(E[0],z,function(){for(T=1;T<arguments.length-2;T++)arguments[T]===void 0&&(E[T]=void 0)}),E}),o.exports=f},"94ca":function(o,s,i){var a=i("d039"),l=/#|\.prototype\./,c=function(h,_){var g=f[d(h)];return g==p?!0:g==m?!1:typeof _=="function"?a(_):!!_},d=c.normalize=function(h){return String(h).replace(l,".").toLowerCase()},f=c.data={},m=c.NATIVE="N",p=c.POLYFILL="P";o.exports=c},"99af":function(o,s,i){var a=i("23e7"),l=i("d039"),c=i("e8b5"),d=i("861d"),f=i("7b0b"),m=i("50c4"),p=i("8418"),h=i("65f0"),_=i("1dde"),g=i("b622"),b=i("2d00"),w=g("isConcatSpreadable"),x=9007199254740991,z="Maximum allowed index exceeded",E=b>=51||!l(function(){var A=[];return A[w]=!1,A.concat()[0]!==A}),T=_("concat"),V=function(A){if(!d(A))return!1;var M=A[w];return M!==void 0?!!M:c(A)},F=!E||!T;a({target:"Array",proto:!0,forced:F},{concat:function(M){var W=f(this),R=h(W,0),q=0,B,se,Q,ue,ge;for(B=-1,Q=arguments.length;B<Q;B++)if(ge=B===-1?W:arguments[B],V(ge)){if(ue=m(ge.length),q+ue>x)throw TypeError(z);for(se=0;se<ue;se++,q++)se in ge&&p(R,q,ge[se])}else{if(q>=x)throw TypeError(z);p(R,q++,ge)}return R.length=q,R}})},"9bdd":function(o,s,i){var a=i("825a");o.exports=function(l,c,d,f){try{return f?c(a(d)[0],d[1]):c(d)}catch(p){var m=l.return;throw m!==void 0&&a(m.call(l)),p}}},"9bf2":function(o,s,i){var a=i("83ab"),l=i("0cfb"),c=i("825a"),d=i("c04e"),f=Object.defineProperty;s.f=a?f:function(p,h,_){if(c(p),h=d(h,!0),c(_),l)try{return f(p,h,_)}catch{}if("get"in _||"set"in _)throw TypeError("Accessors not supported");return"value"in _&&(p[h]=_.value),p}},"9ed3":function(o,s,i){var a=i("ae93").IteratorPrototype,l=i("7c73"),c=i("5c6c"),d=i("d44e"),f=i("3f8c"),m=function(){return this};o.exports=function(p,h,_){var g=h+" Iterator";return p.prototype=l(a,{next:c(1,_)}),d(p,g,!1,!0),f[g]=m,p}},"9f7f":function(o,s,i){var a=i("d039");function l(c,d){return RegExp(c,d)}s.UNSUPPORTED_Y=a(function(){var c=l("a","y");return c.lastIndex=2,c.exec("abcd")!=null}),s.BROKEN_CARET=a(function(){var c=l("^r","gy");return c.lastIndex=2,c.exec("str")!=null})},a2bf:function(o,s,i){var a=i("e8b5"),l=i("50c4"),c=i("0366"),d=function(f,m,p,h,_,g,b,w){for(var x=_,z=0,E=b?c(b,w,3):!1,T;z<h;){if(z in p){if(T=E?E(p[z],z,m):p[z],g>0&&a(T))x=d(f,m,T,l(T.length),x,g-1)-1;else{if(x>=9007199254740991)throw TypeError("Exceed the acceptable array length");f[x]=T}x++}z++}return x};o.exports=d},a352:function(o,s){o.exports=r},a434:function(o,s,i){var a=i("23e7"),l=i("23cb"),c=i("a691"),d=i("50c4"),f=i("7b0b"),m=i("65f0"),p=i("8418"),h=i("1dde"),_=i("ae40"),g=h("splice"),b=_("splice",{ACCESSORS:!0,0:0,1:2}),w=Math.max,x=Math.min,z=9007199254740991,E="Maximum allowed length exceeded";a({target:"Array",proto:!0,forced:!g||!b},{splice:function(V,F){var A=f(this),M=d(A.length),W=l(V,M),R=arguments.length,q,B,se,Q,ue,ge;if(R===0?q=B=0:R===1?(q=0,B=M-W):(q=R-2,B=x(w(c(F),0),M-W)),M+q-B>z)throw TypeError(E);for(se=m(A,B),Q=0;Q<B;Q++)ue=W+Q,ue in A&&p(se,Q,A[ue]);if(se.length=B,q<B){for(Q=W;Q<M-B;Q++)ue=Q+B,ge=Q+q,ue in A?A[ge]=A[ue]:delete A[ge];for(Q=M;Q>M-B+q;Q--)delete A[Q-1]}else if(q>B)for(Q=M-B;Q>W;Q--)ue=Q+B-1,ge=Q+q-1,ue in A?A[ge]=A[ue]:delete A[ge];for(Q=0;Q<q;Q++)A[Q+W]=arguments[Q+2];return A.length=M-B+q,se}})},a4d3:function(o,s,i){var a=i("23e7"),l=i("da84"),c=i("d066"),d=i("c430"),f=i("83ab"),m=i("4930"),p=i("fdbf"),h=i("d039"),_=i("5135"),g=i("e8b5"),b=i("861d"),w=i("825a"),x=i("7b0b"),z=i("fc6a"),E=i("c04e"),T=i("5c6c"),V=i("7c73"),F=i("df75"),A=i("241c"),M=i("057f"),W=i("7418"),R=i("06cf"),q=i("9bf2"),B=i("d1e7"),se=i("9112"),Q=i("6eeb"),ue=i("5692"),ge=i("f772"),Le=i("d012"),He=i("90e3"),he=i("b622"),J=i("e538"),me=i("746f"),we=i("d44e"),H=i("69f3"),ie=i("b727").forEach,oe=ge("hidden"),be="Symbol",je="prototype",Ie=he("toPrimitive"),Ee=H.set,Ae=H.getterFor(be),$=Object[je],L=l.Symbol,Y=c("JSON","stringify"),le=R.f,ce=q.f,ye=M.f,Ce=B.f,pe=ue("symbols"),j=ue("op-symbols"),U=ue("string-to-symbol-registry"),$e=ue("symbol-to-string-registry"),ze=ue("wks"),De=l.QObject,Ne=!De||!De[je]||!De[je].findChild,We=f&&h(function(){return V(ce({},"a",{get:function(){return ce(this,"a",{value:7}).a}})).a!=7})?function(de,te,ae){var Ve=le($,te);Ve&&delete $[te],ce(de,te,ae),Ve&&de!==$&&ce($,te,Ve)}:ce,nt=function(de,te){var ae=pe[de]=V(L[je]);return Ee(ae,{type:be,tag:de,description:te}),f||(ae.description=te),ae},k=p?function(de){return typeof de=="symbol"}:function(de){return Object(de)instanceof L},y=function(te,ae,Ve){te===$&&y(j,ae,Ve),w(te);var Ue=E(ae,!0);return w(Ve),_(pe,Ue)?(Ve.enumerable?(_(te,oe)&&te[oe][Ue]&&(te[oe][Ue]=!1),Ve=V(Ve,{enumerable:T(0,!1)})):(_(te,oe)||ce(te,oe,T(1,{})),te[oe][Ue]=!0),We(te,Ue,Ve)):ce(te,Ue,Ve)},I=function(te,ae){w(te);var Ve=z(ae),Ue=F(Ve).concat(Me(Ve));return ie(Ue,function(ct){(!f||ee.call(Ve,ct))&&y(te,ct,Ve[ct])}),te},K=function(te,ae){return ae===void 0?V(te):I(V(te),ae)},ee=function(te){var ae=E(te,!0),Ve=Ce.call(this,ae);return this===$&&_(pe,ae)&&!_(j,ae)?!1:Ve||!_(this,ae)||!_(pe,ae)||_(this,oe)&&this[oe][ae]?Ve:!0},fe=function(te,ae){var Ve=z(te),Ue=E(ae,!0);if(!(Ve===$&&_(pe,Ue)&&!_(j,Ue))){var ct=le(Ve,Ue);return ct&&_(pe,Ue)&&!(_(Ve,oe)&&Ve[oe][Ue])&&(ct.enumerable=!0),ct}},Se=function(te){var ae=ye(z(te)),Ve=[];return ie(ae,function(Ue){!_(pe,Ue)&&!_(Le,Ue)&&Ve.push(Ue)}),Ve},Me=function(te){var ae=te===$,Ve=ye(ae?j:z(te)),Ue=[];return ie(Ve,function(ct){_(pe,ct)&&(!ae||_($,ct))&&Ue.push(pe[ct])}),Ue};if(m||(L=function(){if(this instanceof L)throw TypeError("Symbol is not a constructor");var te=!arguments.length||arguments[0]===void 0?void 0:String(arguments[0]),ae=He(te),Ve=function(Ue){this===$&&Ve.call(j,Ue),_(this,oe)&&_(this[oe],ae)&&(this[oe][ae]=!1),We(this,ae,T(1,Ue))};return f&&Ne&&We($,ae,{configurable:!0,set:Ve}),nt(ae,te)},Q(L[je],"toString",function(){return Ae(this).tag}),Q(L,"withoutSetter",function(de){return nt(He(de),de)}),B.f=ee,q.f=y,R.f=fe,A.f=M.f=Se,W.f=Me,J.f=function(de){return nt(he(de),de)},f&&(ce(L[je],"description",{configurable:!0,get:function(){return Ae(this).description}}),d||Q($,"propertyIsEnumerable",ee,{unsafe:!0}))),a({global:!0,wrap:!0,forced:!m,sham:!m},{Symbol:L}),ie(F(ze),function(de){me(de)}),a({target:be,stat:!0,forced:!m},{for:function(de){var te=String(de);if(_(U,te))return U[te];var ae=L(te);return U[te]=ae,$e[ae]=te,ae},keyFor:function(te){if(!k(te))throw TypeError(te+" is not a symbol");if(_($e,te))return $e[te]},useSetter:function(){Ne=!0},useSimple:function(){Ne=!1}}),a({target:"Object",stat:!0,forced:!m,sham:!f},{create:K,defineProperty:y,defineProperties:I,getOwnPropertyDescriptor:fe}),a({target:"Object",stat:!0,forced:!m},{getOwnPropertyNames:Se,getOwnPropertySymbols:Me}),a({target:"Object",stat:!0,forced:h(function(){W.f(1)})},{getOwnPropertySymbols:function(te){return W.f(x(te))}}),Y){var re=!m||h(function(){var de=L();return Y([de])!="[null]"||Y({a:de})!="{}"||Y(Object(de))!="{}"});a({target:"JSON",stat:!0,forced:re},{stringify:function(te,ae,Ve){for(var Ue=[te],ct=1,_n;arguments.length>ct;)Ue.push(arguments[ct++]);if(_n=ae,!(!b(ae)&&te===void 0||k(te)))return g(ae)||(ae=function(Kn,Zn){if(typeof _n=="function"&&(Zn=_n.call(this,Kn,Zn)),!k(Zn))return Zn}),Ue[1]=ae,Y.apply(null,Ue)}})}L[je][Ie]||se(L[je],Ie,L[je].valueOf),we(L,be),Le[oe]=!0},a630:function(o,s,i){var a=i("23e7"),l=i("4df4"),c=i("1c7e"),d=!c(function(f){Array.from(f)});a({target:"Array",stat:!0,forced:d},{from:l})},a640:function(o,s,i){var a=i("d039");o.exports=function(l,c){var d=[][l];return!!d&&a(function(){d.call(null,c||function(){throw 1},1)})}},a691:function(o,s){var i=Math.ceil,a=Math.floor;o.exports=function(l){return isNaN(l=+l)?0:(l>0?a:i)(l)}},ab13:function(o,s,i){var a=i("b622"),l=a("match");o.exports=function(c){var d=/./;try{"/./"[c](d)}catch{try{return d[l]=!1,"/./"[c](d)}catch{}}return!1}},ac1f:function(o,s,i){var a=i("23e7"),l=i("9263");a({target:"RegExp",proto:!0,forced:/./.exec!==l},{exec:l})},ad6d:function(o,s,i){var a=i("825a");o.exports=function(){var l=a(this),c="";return l.global&&(c+="g"),l.ignoreCase&&(c+="i"),l.multiline&&(c+="m"),l.dotAll&&(c+="s"),l.unicode&&(c+="u"),l.sticky&&(c+="y"),c}},ae40:function(o,s,i){var a=i("83ab"),l=i("d039"),c=i("5135"),d=Object.defineProperty,f={},m=function(p){throw p};o.exports=function(p,h){if(c(f,p))return f[p];h||(h={});var _=[][p],g=c(h,"ACCESSORS")?h.ACCESSORS:!1,b=c(h,0)?h[0]:m,w=c(h,1)?h[1]:void 0;return f[p]=!!_&&!l(function(){if(g&&!a)return!0;var x={length:-1};g?d(x,1,{enumerable:!0,get:m}):x[1]=1,_.call(x,b,w)})}},ae93:function(o,s,i){var a=i("e163"),l=i("9112"),c=i("5135"),d=i("b622"),f=i("c430"),m=d("iterator"),p=!1,h=function(){return this},_,g,b;[].keys&&(b=[].keys(),"next"in b?(g=a(a(b)),g!==Object.prototype&&(_=g)):p=!0),_==null&&(_={}),!f&&!c(_,m)&&l(_,m,h),o.exports={IteratorPrototype:_,BUGGY_SAFARI_ITERATORS:p}},b041:function(o,s,i){var a=i("00ee"),l=i("f5df");o.exports=a?{}.toString:function(){return"[object "+l(this)+"]"}},b0c0:function(o,s,i){var a=i("83ab"),l=i("9bf2").f,c=Function.prototype,d=c.toString,f=/^\s*function ([^ (]*)/,m="name";a&&!(m in c)&&l(c,m,{configurable:!0,get:function(){try{return d.call(this).match(f)[1]}catch{return""}}})},b622:function(o,s,i){var a=i("da84"),l=i("5692"),c=i("5135"),d=i("90e3"),f=i("4930"),m=i("fdbf"),p=l("wks"),h=a.Symbol,_=m?h:h&&h.withoutSetter||d;o.exports=function(g){return c(p,g)||(f&&c(h,g)?p[g]=h[g]:p[g]=_("Symbol."+g)),p[g]}},b64b:function(o,s,i){var a=i("23e7"),l=i("7b0b"),c=i("df75"),d=i("d039"),f=d(function(){c(1)});a({target:"Object",stat:!0,forced:f},{keys:function(p){return c(l(p))}})},b727:function(o,s,i){var a=i("0366"),l=i("44ad"),c=i("7b0b"),d=i("50c4"),f=i("65f0"),m=[].push,p=function(h){var _=h==1,g=h==2,b=h==3,w=h==4,x=h==6,z=h==5||x;return function(E,T,V,F){for(var A=c(E),M=l(A),W=a(T,V,3),R=d(M.length),q=0,B=F||f,se=_?B(E,R):g?B(E,0):void 0,Q,ue;R>q;q++)if((z||q in M)&&(Q=M[q],ue=W(Q,q,A),h)){if(_)se[q]=ue;else if(ue)switch(h){case 3:return!0;case 5:return Q;case 6:return q;case 2:m.call(se,Q)}else if(w)return!1}return x?-1:b||w?w:se}};o.exports={forEach:p(0),map:p(1),filter:p(2),some:p(3),every:p(4),find:p(5),findIndex:p(6)}},c04e:function(o,s,i){var a=i("861d");o.exports=function(l,c){if(!a(l))return l;var d,f;if(c&&typeof(d=l.toString)=="function"&&!a(f=d.call(l))||typeof(d=l.valueOf)=="function"&&!a(f=d.call(l))||!c&&typeof(d=l.toString)=="function"&&!a(f=d.call(l)))return f;throw TypeError("Can't convert object to primitive value")}},c430:function(o,s){o.exports=!1},c6b6:function(o,s){var i={}.toString;o.exports=function(a){return i.call(a).slice(8,-1)}},c6cd:function(o,s,i){var a=i("da84"),l=i("ce4e"),c="__core-js_shared__",d=a[c]||l(c,{});o.exports=d},c740:function(o,s,i){var a=i("23e7"),l=i("b727").findIndex,c=i("44d2"),d=i("ae40"),f="findIndex",m=!0,p=d(f);f in[]&&Array(1)[f](function(){m=!1}),a({target:"Array",proto:!0,forced:m||!p},{findIndex:function(_){return l(this,_,arguments.length>1?arguments[1]:void 0)}}),c(f)},c8ba:function(o,s){var i;i=function(){return this}();try{i=i||new Function("return this")()}catch{typeof window=="object"&&(i=window)}o.exports=i},c975:function(o,s,i){var a=i("23e7"),l=i("4d64").indexOf,c=i("a640"),d=i("ae40"),f=[].indexOf,m=!!f&&1/[1].indexOf(1,-0)<0,p=c("indexOf"),h=d("indexOf",{ACCESSORS:!0,1:0});a({target:"Array",proto:!0,forced:m||!p||!h},{indexOf:function(g){return m?f.apply(this,arguments)||0:l(this,g,arguments.length>1?arguments[1]:void 0)}})},ca84:function(o,s,i){var a=i("5135"),l=i("fc6a"),c=i("4d64").indexOf,d=i("d012");o.exports=function(f,m){var p=l(f),h=0,_=[],g;for(g in p)!a(d,g)&&a(p,g)&&_.push(g);for(;m.length>h;)a(p,g=m[h++])&&(~c(_,g)||_.push(g));return _}},caad:function(o,s,i){var a=i("23e7"),l=i("4d64").includes,c=i("44d2"),d=i("ae40"),f=d("indexOf",{ACCESSORS:!0,1:0});a({target:"Array",proto:!0,forced:!f},{includes:function(p){return l(this,p,arguments.length>1?arguments[1]:void 0)}}),c("includes")},cc12:function(o,s,i){var a=i("da84"),l=i("861d"),c=a.document,d=l(c)&&l(c.createElement);o.exports=function(f){return d?c.createElement(f):{}}},ce4e:function(o,s,i){var a=i("da84"),l=i("9112");o.exports=function(c,d){try{l(a,c,d)}catch{a[c]=d}return d}},d012:function(o,s){o.exports={}},d039:function(o,s){o.exports=function(i){try{return!!i()}catch{return!0}}},d066:function(o,s,i){var a=i("428f"),l=i("da84"),c=function(d){return typeof d=="function"?d:void 0};o.exports=function(d,f){return arguments.length<2?c(a[d])||c(l[d]):a[d]&&a[d][f]||l[d]&&l[d][f]}},d1e7:function(o,s,i){var a={}.propertyIsEnumerable,l=Object.getOwnPropertyDescriptor,c=l&&!a.call({1:2},1);s.f=c?function(f){var m=l(this,f);return!!m&&m.enumerable}:a},d28b:function(o,s,i){var a=i("746f");a("iterator")},d2bb:function(o,s,i){var a=i("825a"),l=i("3bbe");o.exports=Object.setPrototypeOf||("__proto__"in{}?function(){var c=!1,d={},f;try{f=Object.getOwnPropertyDescriptor(Object.prototype,"__proto__").set,f.call(d,[]),c=d instanceof Array}catch{}return function(p,h){return a(p),l(h),c?f.call(p,h):p.__proto__=h,p}}():void 0)},d3b7:function(o,s,i){var a=i("00ee"),l=i("6eeb"),c=i("b041");a||l(Object.prototype,"toString",c,{unsafe:!0})},d44e:function(o,s,i){var a=i("9bf2").f,l=i("5135"),c=i("b622"),d=c("toStringTag");o.exports=function(f,m,p){f&&!l(f=p?f:f.prototype,d)&&a(f,d,{configurable:!0,value:m})}},d58f:function(o,s,i){var a=i("1c0b"),l=i("7b0b"),c=i("44ad"),d=i("50c4"),f=function(m){return function(p,h,_,g){a(h);var b=l(p),w=c(b),x=d(b.length),z=m?x-1:0,E=m?-1:1;if(_<2)for(;;){if(z in w){g=w[z],z+=E;break}if(z+=E,m?z<0:x<=z)throw TypeError("Reduce of empty array with no initial value")}for(;m?z>=0:x>z;z+=E)z in w&&(g=h(g,w[z],z,b));return g}};o.exports={left:f(!1),right:f(!0)}},d784:function(o,s,i){i("ac1f");var a=i("6eeb"),l=i("d039"),c=i("b622"),d=i("9263"),f=i("9112"),m=c("species"),p=!l(function(){var w=/./;return w.exec=function(){var x=[];return x.groups={a:"7"},x},"".replace(w,"$<a>")!=="7"}),h=function(){return"a".replace(/./,"$0")==="$0"}(),_=c("replace"),g=function(){return/./[_]?/./[_]("a","$0")==="":!1}(),b=!l(function(){var w=/(?:)/,x=w.exec;w.exec=function(){return x.apply(this,arguments)};var z="ab".split(w);return z.length!==2||z[0]!=="a"||z[1]!=="b"});o.exports=function(w,x,z,E){var T=c(w),V=!l(function(){var q={};return q[T]=function(){return 7},""[w](q)!=7}),F=V&&!l(function(){var q=!1,B=/a/;return w==="split"&&(B={},B.constructor={},B.constructor[m]=function(){return B},B.flags="",B[T]=/./[T]),B.exec=function(){return q=!0,null},B[T](""),!q});if(!V||!F||w==="replace"&&!(p&&h&&!g)||w==="split"&&!b){var A=/./[T],M=z(T,""[w],function(q,B,se,Q,ue){return B.exec===d?V&&!ue?{done:!0,value:A.call(B,se,Q)}:{done:!0,value:q.call(se,B,Q)}:{done:!1}},{REPLACE_KEEPS_$0:h,REGEXP_REPLACE_SUBSTITUTES_UNDEFINED_CAPTURE:g}),W=M[0],R=M[1];a(String.prototype,w,W),a(RegExp.prototype,T,x==2?function(q,B){return R.call(q,this,B)}:function(q){return R.call(q,this)})}E&&f(RegExp.prototype[T],"sham",!0)}},d81d:function(o,s,i){var a=i("23e7"),l=i("b727").map,c=i("1dde"),d=i("ae40"),f=c("map"),m=d("map");a({target:"Array",proto:!0,forced:!f||!m},{map:function(h){return l(this,h,arguments.length>1?arguments[1]:void 0)}})},da84:function(o,s,i){(function(a){var l=function(c){return c&&c.Math==Math&&c};o.exports=l(typeof globalThis=="object"&&globalThis)||l(typeof window=="object"&&window)||l(typeof self=="object"&&self)||l(typeof a=="object"&&a)||Function("return this")()}).call(this,i("c8ba"))},dbb4:function(o,s,i){var a=i("23e7"),l=i("83ab"),c=i("56ef"),d=i("fc6a"),f=i("06cf"),m=i("8418");a({target:"Object",stat:!0,sham:!l},{getOwnPropertyDescriptors:function(h){for(var _=d(h),g=f.f,b=c(_),w={},x=0,z,E;b.length>x;)E=g(_,z=b[x++]),E!==void 0&&m(w,z,E);return w}})},dbf1:function(o,s,i){(function(a){i.d(s,"a",function(){return c});function l(){return typeof window!="undefined"?window.console:a.console}var c=l()}).call(this,i("c8ba"))},ddb0:function(o,s,i){var a=i("da84"),l=i("fdbc"),c=i("e260"),d=i("9112"),f=i("b622"),m=f("iterator"),p=f("toStringTag"),h=c.values;for(var _ in l){var g=a[_],b=g&&g.prototype;if(b){if(b[m]!==h)try{d(b,m,h)}catch{b[m]=h}if(b[p]||d(b,p,_),l[_]){for(var w in c)if(b[w]!==c[w])try{d(b,w,c[w])}catch{b[w]=c[w]}}}}},df75:function(o,s,i){var a=i("ca84"),l=i("7839");o.exports=Object.keys||function(d){return a(d,l)}},e01a:function(o,s,i){var a=i("23e7"),l=i("83ab"),c=i("da84"),d=i("5135"),f=i("861d"),m=i("9bf2").f,p=i("e893"),h=c.Symbol;if(l&&typeof h=="function"&&(!("description"in h.prototype)||h().description!==void 0)){var _={},g=function(){var T=arguments.length<1||arguments[0]===void 0?void 0:String(arguments[0]),V=this instanceof g?new h(T):T===void 0?h():h(T);return T===""&&(_[V]=!0),V};p(g,h);var b=g.prototype=h.prototype;b.constructor=g;var w=b.toString,x=String(h("test"))=="Symbol(test)",z=/^Symbol\((.*)\)[^)]+$/;m(b,"description",{configurable:!0,get:function(){var T=f(this)?this.valueOf():this,V=w.call(T);if(d(_,T))return"";var F=x?V.slice(7,-1):V.replace(z,"$1");return F===""?void 0:F}}),a({global:!0,forced:!0},{Symbol:g})}},e163:function(o,s,i){var a=i("5135"),l=i("7b0b"),c=i("f772"),d=i("e177"),f=c("IE_PROTO"),m=Object.prototype;o.exports=d?Object.getPrototypeOf:function(p){return p=l(p),a(p,f)?p[f]:typeof p.constructor=="function"&&p instanceof p.constructor?p.constructor.prototype:p instanceof Object?m:null}},e177:function(o,s,i){var a=i("d039");o.exports=!a(function(){function l(){}return l.prototype.constructor=null,Object.getPrototypeOf(new l)!==l.prototype})},e260:function(o,s,i){var a=i("fc6a"),l=i("44d2"),c=i("3f8c"),d=i("69f3"),f=i("7dd0"),m="Array Iterator",p=d.set,h=d.getterFor(m);o.exports=f(Array,"Array",function(_,g){p(this,{type:m,target:a(_),index:0,kind:g})},function(){var _=h(this),g=_.target,b=_.kind,w=_.index++;return!g||w>=g.length?(_.target=void 0,{value:void 0,done:!0}):b=="keys"?{value:w,done:!1}:b=="values"?{value:g[w],done:!1}:{value:[w,g[w]],done:!1}},"values"),c.Arguments=c.Array,l("keys"),l("values"),l("entries")},e439:function(o,s,i){var a=i("23e7"),l=i("d039"),c=i("fc6a"),d=i("06cf").f,f=i("83ab"),m=l(function(){d(1)}),p=!f||m;a({target:"Object",stat:!0,forced:p,sham:!f},{getOwnPropertyDescriptor:function(_,g){return d(c(_),g)}})},e538:function(o,s,i){var a=i("b622");s.f=a},e893:function(o,s,i){var a=i("5135"),l=i("56ef"),c=i("06cf"),d=i("9bf2");o.exports=function(f,m){for(var p=l(m),h=d.f,_=c.f,g=0;g<p.length;g++){var b=p[g];a(f,b)||h(f,b,_(m,b))}}},e8b5:function(o,s,i){var a=i("c6b6");o.exports=Array.isArray||function(c){return a(c)=="Array"}},e95a:function(o,s,i){var a=i("b622"),l=i("3f8c"),c=a("iterator"),d=Array.prototype;o.exports=function(f){return f!==void 0&&(l.Array===f||d[c]===f)}},f5df:function(o,s,i){var a=i("00ee"),l=i("c6b6"),c=i("b622"),d=c("toStringTag"),f=l(function(){return arguments}())=="Arguments",m=function(p,h){try{return p[h]}catch{}};o.exports=a?l:function(p){var h,_,g;return p===void 0?"Undefined":p===null?"Null":typeof(_=m(h=Object(p),d))=="string"?_:f?l(h):(g=l(h))=="Object"&&typeof h.callee=="function"?"Arguments":g}},f772:function(o,s,i){var a=i("5692"),l=i("90e3"),c=a("keys");o.exports=function(d){return c[d]||(c[d]=l(d))}},fb15:function(o,s,i){if(i.r(s),typeof window!="undefined"){var a=window.document.currentScript;{var l=i("8875");a=l(),"currentScript"in document||Object.defineProperty(document,"currentScript",{get:l})}var c=a&&a.src.match(/(.+\/)[^/]+\.js(\?.*)?$/);c&&(i.p=c[1])}i("99af"),i("4de4"),i("4160"),i("c975"),i("d81d"),i("a434"),i("159b"),i("a4d3"),i("e439"),i("dbb4"),i("b64b");function d(k,y,I){return y in k?Object.defineProperty(k,y,{value:I,enumerable:!0,configurable:!0,writable:!0}):k[y]=I,k}function f(k,y){var I=Object.keys(k);if(Object.getOwnPropertySymbols){var K=Object.getOwnPropertySymbols(k);y&&(K=K.filter(function(ee){return Object.getOwnPropertyDescriptor(k,ee).enumerable})),I.push.apply(I,K)}return I}function m(k){for(var y=1;y<arguments.length;y++){var I=arguments[y]!=null?arguments[y]:{};y%2?f(Object(I),!0).forEach(function(K){d(k,K,I[K])}):Object.getOwnPropertyDescriptors?Object.defineProperties(k,Object.getOwnPropertyDescriptors(I)):f(Object(I)).forEach(function(K){Object.defineProperty(k,K,Object.getOwnPropertyDescriptor(I,K))})}return k}function p(k){if(Array.isArray(k))return k}i("e01a"),i("d28b"),i("e260"),i("d3b7"),i("3ca3"),i("ddb0");function h(k,y){if(!(typeof Symbol=="undefined"||!(Symbol.iterator in Object(k)))){var I=[],K=!0,ee=!1,fe=void 0;try{for(var Se=k[Symbol.iterator](),Me;!(K=(Me=Se.next()).done)&&(I.push(Me.value),!(y&&I.length===y));K=!0);}catch(re){ee=!0,fe=re}finally{try{!K&&Se.return!=null&&Se.return()}finally{if(ee)throw fe}}return I}}i("a630"),i("fb6a"),i("b0c0"),i("25f0");function _(k,y){(y==null||y>k.length)&&(y=k.length);for(var I=0,K=new Array(y);I<y;I++)K[I]=k[I];return K}function g(k,y){if(!!k){if(typeof k=="string")return _(k,y);var I=Object.prototype.toString.call(k).slice(8,-1);if(I==="Object"&&k.constructor&&(I=k.constructor.name),I==="Map"||I==="Set")return Array.from(k);if(I==="Arguments"||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(I))return _(k,y)}}function b(){throw new TypeError(`Invalid attempt to destructure non-iterable instance.
|
|
In order to be iterable, non-array objects must have a [Symbol.iterator]() method.`)}function w(k,y){return p(k)||h(k,y)||g(k,y)||b()}function x(k){if(Array.isArray(k))return _(k)}function z(k){if(typeof Symbol!="undefined"&&Symbol.iterator in Object(k))return Array.from(k)}function E(){throw new TypeError(`Invalid attempt to spread non-iterable instance.
|
|
In order to be iterable, non-array objects must have a [Symbol.iterator]() method.`)}function T(k){return x(k)||z(k)||g(k)||E()}var V=i("a352"),F=i.n(V);function A(k){k.parentElement!==null&&k.parentElement.removeChild(k)}function M(k,y,I){var K=I===0?k.children[0]:k.children[I-1].nextSibling;k.insertBefore(y,K)}var W=i("dbf1");i("13d5"),i("4fad"),i("ac1f"),i("5319");function R(k){var y=Object.create(null);return function(K){var ee=y[K];return ee||(y[K]=k(K))}}var q=/-(\w)/g,B=R(function(k){return k.replace(q,function(y,I){return I.toUpperCase()})});i("5db7"),i("73d9");var se=["Start","Add","Remove","Update","End"],Q=["Choose","Unchoose","Sort","Filter","Clone"],ue=["Move"],ge=[ue,se,Q].flatMap(function(k){return k}).map(function(k){return"on".concat(k)}),Le={manage:ue,manageAndEmit:se,emit:Q};function He(k){return ge.indexOf(k)!==-1}i("caad"),i("2ca0");var he=["a","abbr","address","area","article","aside","audio","b","base","bdi","bdo","blockquote","body","br","button","canvas","caption","cite","code","col","colgroup","data","datalist","dd","del","details","dfn","dialog","div","dl","dt","em","embed","fieldset","figcaption","figure","footer","form","h1","h2","h3","h4","h5","h6","head","header","hgroup","hr","html","i","iframe","img","input","ins","kbd","label","legend","li","link","main","map","mark","math","menu","menuitem","meta","meter","nav","noscript","object","ol","optgroup","option","output","p","param","picture","pre","progress","q","rb","rp","rt","rtc","ruby","s","samp","script","section","select","slot","small","source","span","strong","style","sub","summary","sup","svg","table","tbody","td","template","textarea","tfoot","th","thead","time","title","tr","track","u","ul","var","video","wbr"];function J(k){return he.includes(k)}function me(k){return["transition-group","TransitionGroup"].includes(k)}function we(k){return["id","class","role","style"].includes(k)||k.startsWith("data-")||k.startsWith("aria-")||k.startsWith("on")}function H(k){return k.reduce(function(y,I){var K=w(I,2),ee=K[0],fe=K[1];return y[ee]=fe,y},{})}function ie(k){var y=k.$attrs,I=k.componentData,K=I===void 0?{}:I,ee=H(Object.entries(y).filter(function(fe){var Se=w(fe,2),Me=Se[0];return Se[1],we(Me)}));return m(m({},ee),K)}function oe(k){var y=k.$attrs,I=k.callBackBuilder,K=H(be(y));Object.entries(I).forEach(function(fe){var Se=w(fe,2),Me=Se[0],re=Se[1];Le[Me].forEach(function(de){K["on".concat(de)]=re(de)})});var ee="[data-draggable]".concat(K.draggable||"");return m(m({},K),{},{draggable:ee})}function be(k){return Object.entries(k).filter(function(y){var I=w(y,2),K=I[0];return I[1],!we(K)}).map(function(y){var I=w(y,2),K=I[0],ee=I[1];return[B(K),ee]}).filter(function(y){var I=w(y,2),K=I[0];return I[1],!He(K)})}i("c740");function je(k,y){if(!(k instanceof y))throw new TypeError("Cannot call a class as a function")}function Ie(k,y){for(var I=0;I<y.length;I++){var K=y[I];K.enumerable=K.enumerable||!1,K.configurable=!0,"value"in K&&(K.writable=!0),Object.defineProperty(k,K.key,K)}}function Ee(k,y,I){return y&&Ie(k.prototype,y),I&&Ie(k,I),k}var Ae=function(y){var I=y.el;return I},$=function(y,I){return y.__draggable_context=I},L=function(y){return y.__draggable_context},Y=function(){function k(y){var I=y.nodes,K=I.header,ee=I.default,fe=I.footer,Se=y.root,Me=y.realList;je(this,k),this.defaultNodes=ee,this.children=[].concat(T(K),T(ee),T(fe)),this.externalComponent=Se.externalComponent,this.rootTransition=Se.transition,this.tag=Se.tag,this.realList=Me}return Ee(k,[{key:"render",value:function(I,K){var ee=this.tag,fe=this.children,Se=this._isRootComponent,Me=Se?{default:function(){return fe}}:fe;return I(ee,K,Me)}},{key:"updated",value:function(){var I=this.defaultNodes,K=this.realList;I.forEach(function(ee,fe){$(Ae(ee),{element:K[fe],index:fe})})}},{key:"getUnderlyingVm",value:function(I){return L(I)}},{key:"getVmIndexFromDomIndex",value:function(I,K){var ee=this.defaultNodes,fe=ee.length,Se=K.children,Me=Se.item(I);if(Me===null)return fe;var re=L(Me);if(re)return re.index;if(fe===0)return 0;var de=Ae(ee[0]),te=T(Se).findIndex(function(ae){return ae===de});return I<te?0:fe}},{key:"_isRootComponent",get:function(){return this.externalComponent||this.rootTransition}}]),k}(),le=i("8bbf");function ce(k,y){var I=k[y];return I?I():[]}function ye(k){var y=k.$slots,I=k.realList,K=k.getKey,ee=I||[],fe=["header","footer"].map(function(ae){return ce(y,ae)}),Se=w(fe,2),Me=Se[0],re=Se[1],de=y.item;if(!de)throw new Error("draggable element must have an item slot");var te=ee.flatMap(function(ae,Ve){return de({element:ae,index:Ve}).map(function(Ue){return Ue.key=K(ae),Ue.props=m(m({},Ue.props||{}),{},{"data-draggable":!0}),Ue})});if(te.length!==ee.length)throw new Error("Item slot must have only one child");return{header:Me,footer:re,default:te}}function Ce(k){var y=me(k),I=!J(k)&&!y;return{transition:y,externalComponent:I,tag:I?Object(le.resolveComponent)(k):y?le.TransitionGroup:k}}function pe(k){var y=k.$slots,I=k.tag,K=k.realList,ee=k.getKey,fe=ye({$slots:y,realList:K,getKey:ee}),Se=Ce(I);return new Y({nodes:fe,root:Se,realList:K})}function j(k,y){var I=this;Object(le.nextTick)(function(){return I.$emit(k.toLowerCase(),y)})}function U(k){var y=this;return function(I,K){if(y.realList!==null)return y["onDrag".concat(k)](I,K)}}function $e(k){var y=this,I=U.call(this,k);return function(K,ee){I.call(y,K,ee),j.call(y,k,K)}}var ze=null,De={list:{type:Array,required:!1,default:null},modelValue:{type:Array,required:!1,default:null},itemKey:{type:[String,Function],required:!0},clone:{type:Function,default:function(y){return y}},tag:{type:String,default:"div"},move:{type:Function,default:null},componentData:{type:Object,required:!1,default:null}},Ne=["update:modelValue","change"].concat(T([].concat(T(Le.manageAndEmit),T(Le.emit)).map(function(k){return k.toLowerCase()}))),We=Object(le.defineComponent)({name:"draggable",inheritAttrs:!1,props:De,emits:Ne,data:function(){return{error:!1}},render:function(){try{this.error=!1;var y=this.$slots,I=this.$attrs,K=this.tag,ee=this.componentData,fe=this.realList,Se=this.getKey,Me=pe({$slots:y,tag:K,realList:fe,getKey:Se});this.componentStructure=Me;var re=ie({$attrs:I,componentData:ee});return Me.render(le.h,re)}catch(de){return this.error=!0,Object(le.h)("pre",{style:{color:"red"}},de.stack)}},created:function(){this.list!==null&&this.modelValue!==null&&W.a.error("modelValue and list props are mutually exclusive! Please set one or another.")},mounted:function(){var y=this;if(!this.error){var I=this.$attrs,K=this.$el,ee=this.componentStructure;ee.updated();var fe=oe({$attrs:I,callBackBuilder:{manageAndEmit:function(re){return $e.call(y,re)},emit:function(re){return j.bind(y,re)},manage:function(re){return U.call(y,re)}}}),Se=K.nodeType===1?K:K.parentElement;this._sortable=new F.a(Se,fe),this.targetDomElement=Se,Se.__draggable_component__=this}},updated:function(){this.componentStructure.updated()},beforeUnmount:function(){this._sortable!==void 0&&this._sortable.destroy()},computed:{realList:function(){var y=this.list;return y||this.modelValue},getKey:function(){var y=this.itemKey;return typeof y=="function"?y:function(I){return I[y]}}},watch:{$attrs:{handler:function(y){var I=this._sortable;!I||be(y).forEach(function(K){var ee=w(K,2),fe=ee[0],Se=ee[1];I.option(fe,Se)})},deep:!0}},methods:{getUnderlyingVm:function(y){return this.componentStructure.getUnderlyingVm(y)||null},getUnderlyingPotencialDraggableComponent:function(y){return y.__draggable_component__},emitChanges:function(y){var I=this;Object(le.nextTick)(function(){return I.$emit("change",y)})},alterList:function(y){if(this.list){y(this.list);return}var I=T(this.modelValue);y(I),this.$emit("update:modelValue",I)},spliceList:function(){var y=arguments,I=function(ee){return ee.splice.apply(ee,T(y))};this.alterList(I)},updatePosition:function(y,I){var K=function(fe){return fe.splice(I,0,fe.splice(y,1)[0])};this.alterList(K)},getRelatedContextFromMoveEvent:function(y){var I=y.to,K=y.related,ee=this.getUnderlyingPotencialDraggableComponent(I);if(!ee)return{component:ee};var fe=ee.realList,Se={list:fe,component:ee};if(I!==K&&fe){var Me=ee.getUnderlyingVm(K)||{};return m(m({},Me),Se)}return Se},getVmIndexFromDomIndex:function(y){return this.componentStructure.getVmIndexFromDomIndex(y,this.targetDomElement)},onDragStart:function(y){this.context=this.getUnderlyingVm(y.item),y.item._underlying_vm_=this.clone(this.context.element),ze=y.item},onDragAdd:function(y){var I=y.item._underlying_vm_;if(I!==void 0){A(y.item);var K=this.getVmIndexFromDomIndex(y.newIndex);this.spliceList(K,0,I);var ee={element:I,newIndex:K};this.emitChanges({added:ee})}},onDragRemove:function(y){if(M(this.$el,y.item,y.oldIndex),y.pullMode==="clone"){A(y.clone);return}var I=this.context,K=I.index,ee=I.element;this.spliceList(K,1);var fe={element:ee,oldIndex:K};this.emitChanges({removed:fe})},onDragUpdate:function(y){A(y.item),M(y.from,y.item,y.oldIndex);var I=this.context.index,K=this.getVmIndexFromDomIndex(y.newIndex);this.updatePosition(I,K);var ee={element:this.context.element,oldIndex:I,newIndex:K};this.emitChanges({moved:ee})},computeFutureIndex:function(y,I){if(!y.element)return 0;var K=T(I.to.children).filter(function(Me){return Me.style.display!=="none"}),ee=K.indexOf(I.related),fe=y.component.getVmIndexFromDomIndex(ee),Se=K.indexOf(ze)!==-1;return Se||!I.willInsertAfter?fe:fe+1},onDragMove:function(y,I){var K=this.move,ee=this.realList;if(!K||!ee)return!0;var fe=this.getRelatedContextFromMoveEvent(y),Se=this.computeFutureIndex(fe,y),Me=m(m({},this.context),{},{futureIndex:Se}),re=m(m({},y),{},{relatedContext:fe,draggedContext:Me});return K(re,I)},onDragEnd:function(){ze=null}}}),nt=We;s.default=nt},fb6a:function(o,s,i){var a=i("23e7"),l=i("861d"),c=i("e8b5"),d=i("23cb"),f=i("50c4"),m=i("fc6a"),p=i("8418"),h=i("b622"),_=i("1dde"),g=i("ae40"),b=_("slice"),w=g("slice",{ACCESSORS:!0,0:0,1:2}),x=h("species"),z=[].slice,E=Math.max;a({target:"Array",proto:!0,forced:!b||!w},{slice:function(V,F){var A=m(this),M=f(A.length),W=d(V,M),R=d(F===void 0?M:F,M),q,B,se;if(c(A)&&(q=A.constructor,typeof q=="function"&&(q===Array||c(q.prototype))?q=void 0:l(q)&&(q=q[x],q===null&&(q=void 0)),q===Array||q===void 0))return z.call(A,W,R);for(B=new(q===void 0?Array:q)(E(R-W,0)),se=0;W<R;W++,se++)W in A&&p(B,se,A[W]);return B.length=se,B}})},fc6a:function(o,s,i){var a=i("44ad"),l=i("1d80");o.exports=function(c){return a(l(c))}},fdbc:function(o,s){o.exports={CSSRuleList:0,CSSStyleDeclaration:0,CSSValueList:0,ClientRectList:0,DOMRectList:0,DOMStringList:0,DOMTokenList:1,DataTransferItemList:0,FileList:0,HTMLAllCollection:0,HTMLCollection:0,HTMLFormElement:0,HTMLSelectElement:0,MediaList:0,MimeTypeArray:0,NamedNodeMap:0,NodeList:1,PaintRequestList:0,Plugin:0,PluginArray:0,SVGLengthList:0,SVGNumberList:0,SVGPathSegList:0,SVGPointList:0,SVGStringList:0,SVGTransformList:0,SourceBufferList:0,StyleSheetList:0,TextTrackCueList:0,TextTrackList:0,TouchList:0}},fdbf:function(o,s,i){var a=i("4930");o.exports=a&&!Symbol.sham&&typeof Symbol.iterator=="symbol"}}).default})})(rv);var t8=My(rv.exports);const n8={name:"PageQueue",components:{ContentWithHeading:pt,ListItemQueueItem:TS,draggable:t8,ModalDialogQueueItem:nv,ModalDialogAddUrlStream:YE,ModalDialogPlaylistSave:g$},data(){return{edit_mode:!1,show_details_modal:!1,show_url_modal:!1,show_pls_save_modal:!1,selected_item:{}}},computed:{state(){return this.$store.state.player},is_queue_save_allowed(){return this.$store.state.config.allow_modifying_stored_playlists&&this.$store.state.config.default_playlist_directory},queue(){return this.$store.state.queue},queue_items:{get(){return this.$store.state.queue.items},set(e){}},current_position(){const e=this.$store.getters.now_playing;return e===void 0||e.position===void 0?-1:this.$store.getters.now_playing.position},show_only_next_items(){return this.$store.state.show_only_next_items}},methods:{queue_clear:function(){Z.queue_clear()},update_show_next_items:function(e){this.$store.commit(zy,!this.show_only_next_items)},remove:function(e){Z.queue_remove(e.id)},move_item:function(e){const t=this.show_only_next_items?e.oldIndex+this.current_position:e.oldIndex,n=this.queue_items[t],r=n.position+(e.newIndex-e.oldIndex);r!==t&&Z.queue_move(n.id,r)},open_dialog:function(e){this.selected_item=e,this.show_details_modal=!0},open_add_stream_dialog:function(e){this.show_url_modal=!0},save_dialog:function(e){this.queue_items.length>0&&(this.show_pls_save_modal=!0)}}},r8=["textContent"],o8=["textContent"],s8={class:"buttons is-centered"},i8={class:"icon"},a8=["textContent"],l8={class:"icon"},u8=["textContent"],c8={class:"icon"},d8=["textContent"],m8={class:"icon"},f8=["textContent"],p8=["disabled"],h8={class:"icon"},_8=["textContent"],g8=["onClick"],y8={class:"icon has-text-dark"},v8=["onClick"],b8={class:"icon has-text-grey"};function w8(e,t,n,r,o,s){const i=O("mdicon"),a=O("list-item-queue-item"),l=O("draggable"),c=O("modal-dialog-queue-item"),d=O("modal-dialog-add-url-stream"),f=O("modal-dialog-playlist-save"),m=O("content-with-heading");return S(),xe(m,null,{"heading-left":P(()=>[u("p",{class:"title is-4",textContent:v(e.$t("page.queue.title"))},null,8,r8),u("p",{class:"heading",textContent:v(e.$t("page.queue.count",{count:s.queue.count}))},null,8,o8)]),"heading-right":P(()=>[u("div",s8,[u("a",{class:Ye(["button is-small",{"is-info":s.show_only_next_items}]),onClick:t[0]||(t[0]=(...p)=>s.update_show_next_items&&s.update_show_next_items(...p))},[u("span",i8,[C(i,{name:"arrow-collapse-down",size:"16"})]),u("span",{textContent:v(e.$t("page.queue.hide-previous"))},null,8,a8)],2),u("a",{class:"button is-small",onClick:t[1]||(t[1]=(...p)=>s.open_add_stream_dialog&&s.open_add_stream_dialog(...p))},[u("span",l8,[C(i,{name:"web",size:"16"})]),u("span",{textContent:v(e.$t("page.queue.add-stream"))},null,8,u8)]),u("a",{class:Ye(["button is-small",{"is-info":o.edit_mode}]),onClick:t[2]||(t[2]=p=>o.edit_mode=!o.edit_mode)},[u("span",c8,[C(i,{name:"pencil",size:"16"})]),u("span",{textContent:v(e.$t("page.queue.edit"))},null,8,d8)],2),u("a",{class:"button is-small",onClick:t[3]||(t[3]=(...p)=>s.queue_clear&&s.queue_clear(...p))},[u("span",m8,[C(i,{name:"delete-empty",size:"16"})]),u("span",{textContent:v(e.$t("page.queue.clear"))},null,8,f8)]),s.is_queue_save_allowed?(S(),D("a",{key:0,class:"button is-small",disabled:s.queue_items.length===0,onClick:t[4]||(t[4]=(...p)=>s.save_dialog&&s.save_dialog(...p))},[u("span",h8,[C(i,{name:"content-save",size:"16"})]),u("span",{textContent:v(e.$t("page.queue.save"))},null,8,_8)],8,p8)):X("",!0)])]),content:P(()=>[C(l,{modelValue:s.queue_items,"onUpdate:modelValue":t[5]||(t[5]=p=>s.queue_items=p),handle:".handle","item-key":"id",onEnd:s.move_item},{item:P(({element:p,index:h})=>[C(a,{item:p,position:h,current_position:s.current_position,show_only_next_items:s.show_only_next_items,edit_mode:o.edit_mode},{actions:P(()=>[o.edit_mode?X("",!0):(S(),D("a",{key:0,onClick:_t(_=>s.open_dialog(p),["prevent","stop"])},[u("span",y8,[C(i,{name:"dots-vertical",size:"16"})])],8,g8)),p.id!==s.state.item_id&&o.edit_mode?(S(),D("a",{key:1,onClick:_t(_=>s.remove(p),["prevent","stop"])},[u("span",b8,[C(i,{name:"delete",size:"18"})])],8,v8)):X("",!0)]),_:2},1032,["item","position","current_position","show_only_next_items","edit_mode"])]),_:1},8,["modelValue","onEnd"]),C(c,{show:o.show_details_modal,item:o.selected_item,onClose:t[6]||(t[6]=p=>o.show_details_modal=!1)},null,8,["show","item"]),C(d,{show:o.show_url_modal,onClose:t[7]||(t[7]=p=>o.show_url_modal=!1)},null,8,["show"]),s.is_queue_save_allowed?(S(),xe(f,{key:0,show:o.show_pls_save_modal,onClose:t[8]||(t[8]=p=>o.show_pls_save_modal=!1)},null,8,["show"])):X("",!0)]),_:1})}var C8=ve(n8,[["render",w8]]);function pc(e){return[null,void 0,!1].indexOf(e)!==-1}function mh(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter(function(o){return Object.getOwnPropertyDescriptor(e,o).enumerable})),n.push.apply(n,r)}return n}function fh(e){for(var t=1;t<arguments.length;t++){var n=arguments[t]!=null?arguments[t]:{};t%2?mh(Object(n),!0).forEach(function(r){z8(e,r,n[r])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):mh(Object(n)).forEach(function(r){Object.defineProperty(e,r,Object.getOwnPropertyDescriptor(n,r))})}return e}function z8(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function x8(e){return e&&e.__esModule&&Object.prototype.hasOwnProperty.call(e,"default")?e.default:e}function hv(e){var t={exports:{}};return e(t,t.exports),t.exports}function hd(e){return hd=typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?function(t){return typeof t}:function(t){return t&&typeof Symbol=="function"&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t},hd(e)}var ph=hv(function(e,t){e.exports=function(){var n=["decimals","thousand","mark","prefix","suffix","encoder","decoder","negativeBefore","negative","edit","undo"];function r(h){return h.split("").reverse().join("")}function o(h,_){return h.substring(0,_.length)===_}function s(h,_){return h.slice(-1*_.length)===_}function i(h,_,g){if((h[_]||h[g])&&h[_]===h[g])throw new Error(_)}function a(h){return typeof h=="number"&&isFinite(h)}function l(h,_){return h=h.toString().split("e"),(+((h=(h=Math.round(+(h[0]+"e"+(h[1]?+h[1]+_:_)))).toString().split("e"))[0]+"e"+(h[1]?+h[1]-_:-_))).toFixed(_)}function c(h,_,g,b,w,x,z,E,T,V,F,A){var M,W,R,q=A,B="",se="";return x&&(A=x(A)),!!a(A)&&(h!==!1&&parseFloat(A.toFixed(h))===0&&(A=0),A<0&&(M=!0,A=Math.abs(A)),h!==!1&&(A=l(A,h)),(A=A.toString()).indexOf(".")!==-1?(R=(W=A.split("."))[0],g&&(B=g+W[1])):R=A,_&&(R=r(R).match(/.{1,3}/g),R=r(R.join(r(_)))),M&&E&&(se+=E),b&&(se+=b),M&&T&&(se+=T),se+=R,se+=B,w&&(se+=w),V&&(se=V(se,q)),se)}function d(h,_,g,b,w,x,z,E,T,V,F,A){var M,W="";return F&&(A=F(A)),!(!A||typeof A!="string")&&(E&&o(A,E)&&(A=A.replace(E,""),M=!0),b&&o(A,b)&&(A=A.replace(b,"")),T&&o(A,T)&&(A=A.replace(T,""),M=!0),w&&s(A,w)&&(A=A.slice(0,-1*w.length)),_&&(A=A.split(_).join("")),g&&(A=A.replace(g,".")),M&&(W+="-"),(W=(W+=A).replace(/[^0-9\.\-.]/g,""))!==""&&(W=Number(W),z&&(W=z(W)),!!a(W)&&W))}function f(h){var _,g,b,w={};for(h.suffix===void 0&&(h.suffix=h.postfix),_=0;_<n.length;_+=1)if((b=h[g=n[_]])===void 0)g!=="negative"||w.negativeBefore?g==="mark"&&w.thousand!=="."?w[g]=".":w[g]=!1:w[g]="-";else if(g==="decimals"){if(!(b>=0&&b<8))throw new Error(g);w[g]=b}else if(g==="encoder"||g==="decoder"||g==="edit"||g==="undo"){if(typeof b!="function")throw new Error(g);w[g]=b}else{if(typeof b!="string")throw new Error(g);w[g]=b}return i(w,"mark","thousand"),i(w,"prefix","negative"),i(w,"prefix","negativeBefore"),w}function m(h,_,g){var b,w=[];for(b=0;b<n.length;b+=1)w.push(h[n[b]]);return w.push(g),_.apply("",w)}function p(h){if(!(this instanceof p))return new p(h);hd(h)==="object"&&(h=f(h),this.to=function(_){return m(h,c,_)},this.from=function(_){return m(h,d,_)})}return p}()});function hh(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter(function(o){return Object.getOwnPropertyDescriptor(e,o).enumerable})),n.push.apply(n,r)}return n}function k8(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function S8(e,t,n){var r=ci(e),o=r.format,s=r.step,i=n.value,a=n.classList,l=Tt(function(){return o&&o.value?typeof o.value=="function"?{to:o.value}:ph(function(c){for(var d=1;d<arguments.length;d++){var f=arguments[d]!=null?arguments[d]:{};d%2?hh(Object(f),!0).forEach(function(m){k8(c,m,f[m])}):Object.getOwnPropertyDescriptors?Object.defineProperties(c,Object.getOwnPropertyDescriptors(f)):hh(Object(f)).forEach(function(m){Object.defineProperty(c,m,Object.getOwnPropertyDescriptor(f,m))})}return c}({},o.value)):ph({decimals:s.value>=0?0:2})});return{tooltipsFormat:Tt(function(){return Array.isArray(i.value)?i.value.map(function(c){return l.value}):l.value}),tooltipsMerge:function(c,d,f){var m=getComputedStyle(c).direction==="rtl",p=c.noUiSlider.options.direction==="rtl",h=c.noUiSlider.options.orientation==="vertical",_=c.noUiSlider.getTooltips(),g=c.noUiSlider.getOrigins();_.forEach(function(b,w){b&&g[w].appendChild(b)}),c.noUiSlider.on("update",function(b,w,x,z,E){var T=[[]],V=[[]],F=[[]],A=0;_[0]&&(T[0][0]=0,V[0][0]=E[0],F[0][0]=l.value.to(parseFloat(b[0])));for(var M=1;M<b.length;M++)(!_[M]||b[M]-b[M-1]>d)&&(T[++A]=[],F[A]=[],V[A]=[]),_[M]&&(T[A].push(M),F[A].push(l.value.to(parseFloat(b[M]))),V[A].push(E[M]));T.forEach(function(W,R){for(var q=W.length,B=0;B<q;B++){var se=W[B];if(B===q-1){var Q=0;V[R].forEach(function(He){Q+=1e3-He});var ue=h?"bottom":"right",ge=p?0:q-1,Le=1e3-V[R][ge];Q=(m&&!h?100:0)+Q/q-Le,_[se].innerHTML=F[R].join(f),_[se].style.display="block",_[se].style[ue]=Q+"%",a.value.tooltipHidden.split(" ").forEach(function(He){_[se].classList.contains(He)&&_[se].classList.remove(He)})}else _[se].style.display="none",a.value.tooltipHidden.split(" ").forEach(function(He){_[se].classList.add(He)})}})})}}}function ki(e){return ki=typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?function(t){return typeof t}:function(t){return t&&typeof Symbol=="function"&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t},ki(e)}var E8=x8(hv(function(e,t){(function(n){function r(k){return o(k)&&typeof k.from=="function"}function o(k){return ki(k)==="object"&&typeof k.to=="function"}function s(k){k.parentElement.removeChild(k)}function i(k){return k!=null}function a(k){k.preventDefault()}function l(k){return k.filter(function(y){return!this[y]&&(this[y]=!0)},{})}function c(k,y){return Math.round(k/y)*y}function d(k,y){var I=k.getBoundingClientRect(),K=k.ownerDocument,ee=K.documentElement,fe=x(K);return/webkit.*Chrome.*Mobile/i.test(navigator.userAgent)&&(fe.x=0),y?I.top+fe.y-ee.clientTop:I.left+fe.x-ee.clientLeft}function f(k){return typeof k=="number"&&!isNaN(k)&&isFinite(k)}function m(k,y,I){I>0&&(g(k,y),setTimeout(function(){b(k,y)},I))}function p(k){return Math.max(Math.min(k,100),0)}function h(k){return Array.isArray(k)?k:[k]}function _(k){var y=(k=String(k)).split(".");return y.length>1?y[1].length:0}function g(k,y){k.classList&&!/\s/.test(y)?k.classList.add(y):k.className+=" "+y}function b(k,y){k.classList&&!/\s/.test(y)?k.classList.remove(y):k.className=k.className.replace(new RegExp("(^|\\b)"+y.split(" ").join("|")+"(\\b|$)","gi")," ")}function w(k,y){return k.classList?k.classList.contains(y):new RegExp("\\b"+y+"\\b").test(k.className)}function x(k){var y=window.pageXOffset!==void 0,I=(k.compatMode||"")==="CSS1Compat";return{x:y?window.pageXOffset:I?k.documentElement.scrollLeft:k.body.scrollLeft,y:y?window.pageYOffset:I?k.documentElement.scrollTop:k.body.scrollTop}}function z(){return window.navigator.pointerEnabled?{start:"pointerdown",move:"pointermove",end:"pointerup"}:window.navigator.msPointerEnabled?{start:"MSPointerDown",move:"MSPointerMove",end:"MSPointerUp"}:{start:"mousedown touchstart",move:"mousemove touchmove",end:"mouseup touchend"}}function E(){var k=!1;try{var y=Object.defineProperty({},"passive",{get:function(){k=!0}});window.addEventListener("test",null,y)}catch{}return k}function T(){return window.CSS&&CSS.supports&&CSS.supports("touch-action","none")}function V(k,y){return 100/(y-k)}function F(k,y,I){return 100*y/(k[I+1]-k[I])}function A(k,y){return F(k,k[0]<0?y+Math.abs(k[0]):y-k[0],0)}function M(k,y){return y*(k[1]-k[0])/100+k[0]}function W(k,y){for(var I=1;k>=y[I];)I+=1;return I}function R(k,y,I){if(I>=k.slice(-1)[0])return 100;var K=W(I,k),ee=k[K-1],fe=k[K],Se=y[K-1],Me=y[K];return Se+A([ee,fe],I)/V(Se,Me)}function q(k,y,I){if(I>=100)return k.slice(-1)[0];var K=W(I,y),ee=k[K-1],fe=k[K],Se=y[K-1];return M([ee,fe],(I-Se)*V(Se,y[K]))}function B(k,y,I,K){if(K===100)return K;var ee=W(K,k),fe=k[ee-1],Se=k[ee];return I?K-fe>(Se-fe)/2?Se:fe:y[ee-1]?k[ee-1]+c(K-k[ee-1],y[ee-1]):K}var se,Q;n.PipsMode=void 0,(Q=n.PipsMode||(n.PipsMode={})).Range="range",Q.Steps="steps",Q.Positions="positions",Q.Count="count",Q.Values="values",n.PipsType=void 0,(se=n.PipsType||(n.PipsType={}))[se.None=-1]="None",se[se.NoValue=0]="NoValue",se[se.LargeValue=1]="LargeValue",se[se.SmallValue=2]="SmallValue";var ue=function(){function k(y,I,K){var ee;this.xPct=[],this.xVal=[],this.xSteps=[],this.xNumSteps=[],this.xHighestCompleteStep=[],this.xSteps=[K||!1],this.xNumSteps=[!1],this.snap=I;var fe=[];for(Object.keys(y).forEach(function(Se){fe.push([h(y[Se]),Se])}),fe.sort(function(Se,Me){return Se[0][0]-Me[0][0]}),ee=0;ee<fe.length;ee++)this.handleEntryPoint(fe[ee][1],fe[ee][0]);for(this.xNumSteps=this.xSteps.slice(0),ee=0;ee<this.xNumSteps.length;ee++)this.handleStepPoint(ee,this.xNumSteps[ee])}return k.prototype.getDistance=function(y){for(var I=[],K=0;K<this.xNumSteps.length-1;K++)I[K]=F(this.xVal,y,K);return I},k.prototype.getAbsoluteDistance=function(y,I,K){var ee,fe=0;if(y<this.xPct[this.xPct.length-1])for(;y>this.xPct[fe+1];)fe++;else y===this.xPct[this.xPct.length-1]&&(fe=this.xPct.length-2);K||y!==this.xPct[fe+1]||fe++,I===null&&(I=[]);var Se=1,Me=I[fe],re=0,de=0,te=0,ae=0;for(ee=K?(y-this.xPct[fe])/(this.xPct[fe+1]-this.xPct[fe]):(this.xPct[fe+1]-y)/(this.xPct[fe+1]-this.xPct[fe]);Me>0;)re=this.xPct[fe+1+ae]-this.xPct[fe+ae],I[fe+ae]*Se+100-100*ee>100?(de=re*ee,Se=(Me-100*ee)/I[fe+ae],ee=1):(de=I[fe+ae]*re/100*Se,Se=0),K?(te-=de,this.xPct.length+ae>=1&&ae--):(te+=de,this.xPct.length-ae>=1&&ae++),Me=I[fe+ae]*Se;return y+te},k.prototype.toStepping=function(y){return y=R(this.xVal,this.xPct,y)},k.prototype.fromStepping=function(y){return q(this.xVal,this.xPct,y)},k.prototype.getStep=function(y){return y=B(this.xPct,this.xSteps,this.snap,y)},k.prototype.getDefaultStep=function(y,I,K){var ee=W(y,this.xPct);return(y===100||I&&y===this.xPct[ee-1])&&(ee=Math.max(ee-1,1)),(this.xVal[ee]-this.xVal[ee-1])/K},k.prototype.getNearbySteps=function(y){var I=W(y,this.xPct);return{stepBefore:{startValue:this.xVal[I-2],step:this.xNumSteps[I-2],highestStep:this.xHighestCompleteStep[I-2]},thisStep:{startValue:this.xVal[I-1],step:this.xNumSteps[I-1],highestStep:this.xHighestCompleteStep[I-1]},stepAfter:{startValue:this.xVal[I],step:this.xNumSteps[I],highestStep:this.xHighestCompleteStep[I]}}},k.prototype.countStepDecimals=function(){var y=this.xNumSteps.map(_);return Math.max.apply(null,y)},k.prototype.hasNoSize=function(){return this.xVal[0]===this.xVal[this.xVal.length-1]},k.prototype.convert=function(y){return this.getStep(this.toStepping(y))},k.prototype.handleEntryPoint=function(y,I){var K;if(!f(K=y==="min"?0:y==="max"?100:parseFloat(y))||!f(I[0]))throw new Error("noUiSlider: 'range' value isn't numeric.");this.xPct.push(K),this.xVal.push(I[0]);var ee=Number(I[1]);K?this.xSteps.push(!isNaN(ee)&&ee):isNaN(ee)||(this.xSteps[0]=ee),this.xHighestCompleteStep.push(0)},k.prototype.handleStepPoint=function(y,I){if(I)if(this.xVal[y]!==this.xVal[y+1]){this.xSteps[y]=F([this.xVal[y],this.xVal[y+1]],I,0)/V(this.xPct[y],this.xPct[y+1]);var K=(this.xVal[y+1]-this.xVal[y])/this.xNumSteps[y],ee=Math.ceil(Number(K.toFixed(3))-1),fe=this.xVal[y]+this.xNumSteps[y]*ee;this.xHighestCompleteStep[y]=fe}else this.xSteps[y]=this.xHighestCompleteStep[y]=this.xVal[y]},k}(),ge={to:function(k){return k===void 0?"":k.toFixed(2)},from:Number},Le={target:"target",base:"base",origin:"origin",handle:"handle",handleLower:"handle-lower",handleUpper:"handle-upper",touchArea:"touch-area",horizontal:"horizontal",vertical:"vertical",background:"background",connect:"connect",connects:"connects",ltr:"ltr",rtl:"rtl",textDirectionLtr:"txt-dir-ltr",textDirectionRtl:"txt-dir-rtl",draggable:"draggable",drag:"state-drag",tap:"state-tap",active:"active",tooltip:"tooltip",pips:"pips",pipsHorizontal:"pips-horizontal",pipsVertical:"pips-vertical",marker:"marker",markerHorizontal:"marker-horizontal",markerVertical:"marker-vertical",markerNormal:"marker-normal",markerLarge:"marker-large",markerSub:"marker-sub",value:"value",valueHorizontal:"value-horizontal",valueVertical:"value-vertical",valueNormal:"value-normal",valueLarge:"value-large",valueSub:"value-sub"},He={tooltips:".__tooltips",aria:".__aria"};function he(k,y){if(!f(y))throw new Error("noUiSlider: 'step' is not numeric.");k.singleStep=y}function J(k,y){if(!f(y))throw new Error("noUiSlider: 'keyboardPageMultiplier' is not numeric.");k.keyboardPageMultiplier=y}function me(k,y){if(!f(y))throw new Error("noUiSlider: 'keyboardMultiplier' is not numeric.");k.keyboardMultiplier=y}function we(k,y){if(!f(y))throw new Error("noUiSlider: 'keyboardDefaultStep' is not numeric.");k.keyboardDefaultStep=y}function H(k,y){if(ki(y)!=="object"||Array.isArray(y))throw new Error("noUiSlider: 'range' is not an object.");if(y.min===void 0||y.max===void 0)throw new Error("noUiSlider: Missing 'min' or 'max' in 'range'.");k.spectrum=new ue(y,k.snap||!1,k.singleStep)}function ie(k,y){if(y=h(y),!Array.isArray(y)||!y.length)throw new Error("noUiSlider: 'start' option is incorrect.");k.handles=y.length,k.start=y}function oe(k,y){if(typeof y!="boolean")throw new Error("noUiSlider: 'snap' option must be a boolean.");k.snap=y}function be(k,y){if(typeof y!="boolean")throw new Error("noUiSlider: 'animate' option must be a boolean.");k.animate=y}function je(k,y){if(typeof y!="number")throw new Error("noUiSlider: 'animationDuration' option must be a number.");k.animationDuration=y}function Ie(k,y){var I,K=[!1];if(y==="lower"?y=[!0,!1]:y==="upper"&&(y=[!1,!0]),y===!0||y===!1){for(I=1;I<k.handles;I++)K.push(y);K.push(!1)}else{if(!Array.isArray(y)||!y.length||y.length!==k.handles+1)throw new Error("noUiSlider: 'connect' option doesn't match handle count.");K=y}k.connect=K}function Ee(k,y){switch(y){case"horizontal":k.ort=0;break;case"vertical":k.ort=1;break;default:throw new Error("noUiSlider: 'orientation' option is invalid.")}}function Ae(k,y){if(!f(y))throw new Error("noUiSlider: 'margin' option must be numeric.");y!==0&&(k.margin=k.spectrum.getDistance(y))}function $(k,y){if(!f(y))throw new Error("noUiSlider: 'limit' option must be numeric.");if(k.limit=k.spectrum.getDistance(y),!k.limit||k.handles<2)throw new Error("noUiSlider: 'limit' option is only supported on linear sliders with 2 or more handles.")}function L(k,y){var I;if(!f(y)&&!Array.isArray(y))throw new Error("noUiSlider: 'padding' option must be numeric or array of exactly 2 numbers.");if(Array.isArray(y)&&y.length!==2&&!f(y[0])&&!f(y[1]))throw new Error("noUiSlider: 'padding' option must be numeric or array of exactly 2 numbers.");if(y!==0){for(Array.isArray(y)||(y=[y,y]),k.padding=[k.spectrum.getDistance(y[0]),k.spectrum.getDistance(y[1])],I=0;I<k.spectrum.xNumSteps.length-1;I++)if(k.padding[0][I]<0||k.padding[1][I]<0)throw new Error("noUiSlider: 'padding' option must be a positive number(s).");var K=y[0]+y[1],ee=k.spectrum.xVal[0];if(K/(k.spectrum.xVal[k.spectrum.xVal.length-1]-ee)>1)throw new Error("noUiSlider: 'padding' option must not exceed 100% of the range.")}}function Y(k,y){switch(y){case"ltr":k.dir=0;break;case"rtl":k.dir=1;break;default:throw new Error("noUiSlider: 'direction' option was not recognized.")}}function le(k,y){if(typeof y!="string")throw new Error("noUiSlider: 'behaviour' must be a string containing options.");var I=y.indexOf("tap")>=0,K=y.indexOf("drag")>=0,ee=y.indexOf("fixed")>=0,fe=y.indexOf("snap")>=0,Se=y.indexOf("hover")>=0,Me=y.indexOf("unconstrained")>=0,re=y.indexOf("drag-all")>=0;if(ee){if(k.handles!==2)throw new Error("noUiSlider: 'fixed' behaviour must be used with 2 handles");Ae(k,k.start[1]-k.start[0])}if(Me&&(k.margin||k.limit))throw new Error("noUiSlider: 'unconstrained' behaviour cannot be used with margin or limit");k.events={tap:I||fe,drag:K,dragAll:re,fixed:ee,snap:fe,hover:Se,unconstrained:Me}}function ce(k,y){if(y!==!1)if(y===!0||o(y)){k.tooltips=[];for(var I=0;I<k.handles;I++)k.tooltips.push(y)}else{if((y=h(y)).length!==k.handles)throw new Error("noUiSlider: must pass a formatter for all handles.");y.forEach(function(K){if(typeof K!="boolean"&&!o(K))throw new Error("noUiSlider: 'tooltips' must be passed a formatter or 'false'.")}),k.tooltips=y}}function ye(k,y){if(y.length!==k.handles)throw new Error("noUiSlider: must pass a attributes for all handles.");k.handleAttributes=y}function Ce(k,y){if(!o(y))throw new Error("noUiSlider: 'ariaFormat' requires 'to' method.");k.ariaFormat=y}function pe(k,y){if(!r(y))throw new Error("noUiSlider: 'format' requires 'to' and 'from' methods.");k.format=y}function j(k,y){if(typeof y!="boolean")throw new Error("noUiSlider: 'keyboardSupport' option must be a boolean.");k.keyboardSupport=y}function U(k,y){k.documentElement=y}function $e(k,y){if(typeof y!="string"&&y!==!1)throw new Error("noUiSlider: 'cssPrefix' must be a string or `false`.");k.cssPrefix=y}function ze(k,y){if(ki(y)!=="object")throw new Error("noUiSlider: 'cssClasses' must be an object.");typeof k.cssPrefix=="string"?(k.cssClasses={},Object.keys(y).forEach(function(I){k.cssClasses[I]=k.cssPrefix+y[I]})):k.cssClasses=y}function De(k){var y={margin:null,limit:null,padding:null,animate:!0,animationDuration:300,ariaFormat:ge,format:ge},I={step:{r:!1,t:he},keyboardPageMultiplier:{r:!1,t:J},keyboardMultiplier:{r:!1,t:me},keyboardDefaultStep:{r:!1,t:we},start:{r:!0,t:ie},connect:{r:!0,t:Ie},direction:{r:!0,t:Y},snap:{r:!1,t:oe},animate:{r:!1,t:be},animationDuration:{r:!1,t:je},range:{r:!0,t:H},orientation:{r:!1,t:Ee},margin:{r:!1,t:Ae},limit:{r:!1,t:$},padding:{r:!1,t:L},behaviour:{r:!0,t:le},ariaFormat:{r:!1,t:Ce},format:{r:!1,t:pe},tooltips:{r:!1,t:ce},keyboardSupport:{r:!0,t:j},documentElement:{r:!1,t:U},cssPrefix:{r:!0,t:$e},cssClasses:{r:!0,t:ze},handleAttributes:{r:!1,t:ye}},K={connect:!1,direction:"ltr",behaviour:"tap",orientation:"horizontal",keyboardSupport:!0,cssPrefix:"noUi-",cssClasses:Le,keyboardPageMultiplier:5,keyboardMultiplier:1,keyboardDefaultStep:10};k.format&&!k.ariaFormat&&(k.ariaFormat=k.format),Object.keys(I).forEach(function(re){if(i(k[re])||K[re]!==void 0)I[re].t(y,i(k[re])?k[re]:K[re]);else if(I[re].r)throw new Error("noUiSlider: '"+re+"' is required.")}),y.pips=k.pips;var ee=document.createElement("div"),fe=ee.style.msTransform!==void 0,Se=ee.style.transform!==void 0;y.transformRule=Se?"transform":fe?"msTransform":"webkitTransform";var Me=[["left","top"],["right","bottom"]];return y.style=Me[y.dir][y.ort],y}function Ne(k,y,I){var K,ee,fe,Se,Me,re=z(),de=T()&&E(),te=k,ae=y.spectrum,Ve=[],Ue=[],ct=[],_n=0,Kn={},Zn=k.ownerDocument,ra=y.documentElement||Zn.documentElement,oa=Zn.body,gb=Zn.dir==="rtl"||y.ort===1?0:100;function Cr(N,G){var ne=Zn.createElement("div");return G&&g(ne,G),N.appendChild(ne),ne}function yb(N,G){var ne=Cr(N,y.cssClasses.origin),_e=Cr(ne,y.cssClasses.handle);if(Cr(_e,y.cssClasses.touchArea),_e.setAttribute("data-handle",String(G)),y.keyboardSupport&&(_e.setAttribute("tabindex","0"),_e.addEventListener("keydown",function(Pe){return Pb(Pe,G)})),y.handleAttributes!==void 0){var Fe=y.handleAttributes[G];Object.keys(Fe).forEach(function(Pe){_e.setAttribute(Pe,Fe[Pe])})}return _e.setAttribute("role","slider"),_e.setAttribute("aria-orientation",y.ort?"vertical":"horizontal"),G===0?g(_e,y.cssClasses.handleLower):G===y.handles-1&&g(_e,y.cssClasses.handleUpper),ne}function nf(N,G){return!!G&&Cr(N,y.cssClasses.connect)}function vb(N,G){var ne=Cr(G,y.cssClasses.connects);ee=[],(fe=[]).push(nf(ne,N[0]));for(var _e=0;_e<y.handles;_e++)ee.push(yb(G,_e)),ct[_e]=_e,fe.push(nf(ne,N[_e+1]))}function bb(N){return g(N,y.cssClasses.target),y.dir===0?g(N,y.cssClasses.ltr):g(N,y.cssClasses.rtl),y.ort===0?g(N,y.cssClasses.horizontal):g(N,y.cssClasses.vertical),g(N,getComputedStyle(N).direction==="rtl"?y.cssClasses.textDirectionRtl:y.cssClasses.textDirectionLtr),Cr(N,y.cssClasses.base)}function wb(N,G){return!(!y.tooltips||!y.tooltips[G])&&Cr(N.firstChild,y.cssClasses.tooltip)}function rf(){return te.hasAttribute("disabled")}function Ou(N){return ee[N].hasAttribute("disabled")}function Pu(){Me&&(Rs("update"+He.tooltips),Me.forEach(function(N){N&&s(N)}),Me=null)}function of(){Pu(),Me=ee.map(wb),Lu("update"+He.tooltips,function(N,G,ne){if(Me&&y.tooltips&&Me[G]!==!1){var _e=N[G];y.tooltips[G]!==!0&&(_e=y.tooltips[G].to(ne[G])),Me[G].innerHTML=_e}})}function Cb(){Rs("update"+He.aria),Lu("update"+He.aria,function(N,G,ne,_e,Fe){ct.forEach(function(Pe){var Je=ee[Pe],Ze=sa(Ue,Pe,0,!0,!0,!0),Vt=sa(Ue,Pe,100,!0,!0,!0),Pt=Fe[Pe],ht=String(y.ariaFormat.to(ne[Pe]));Ze=ae.fromStepping(Ze).toFixed(1),Vt=ae.fromStepping(Vt).toFixed(1),Pt=ae.fromStepping(Pt).toFixed(1),Je.children[0].setAttribute("aria-valuemin",Ze),Je.children[0].setAttribute("aria-valuemax",Vt),Je.children[0].setAttribute("aria-valuenow",Pt),Je.children[0].setAttribute("aria-valuetext",ht)})})}function zb(N){if(N.mode===n.PipsMode.Range||N.mode===n.PipsMode.Steps)return ae.xVal;if(N.mode===n.PipsMode.Count){if(N.values<2)throw new Error("noUiSlider: 'values' (>= 2) required for mode 'count'.");for(var G=N.values-1,ne=100/G,_e=[];G--;)_e[G]=G*ne;return _e.push(100),sf(_e,N.stepped)}return N.mode===n.PipsMode.Positions?sf(N.values,N.stepped):N.mode===n.PipsMode.Values?N.stepped?N.values.map(function(Fe){return ae.fromStepping(ae.getStep(ae.toStepping(Fe)))}):N.values:[]}function sf(N,G){return N.map(function(ne){return ae.fromStepping(G?ae.getStep(ne):ne)})}function xb(N){function G(Pt,ht){return Number((Pt+ht).toFixed(7))}var ne=zb(N),_e={},Fe=ae.xVal[0],Pe=ae.xVal[ae.xVal.length-1],Je=!1,Ze=!1,Vt=0;return(ne=l(ne.slice().sort(function(Pt,ht){return Pt-ht})))[0]!==Fe&&(ne.unshift(Fe),Je=!0),ne[ne.length-1]!==Pe&&(ne.push(Pe),Ze=!0),ne.forEach(function(Pt,ht){var Gt,bt,gn,un,Bt,hf,Vu,_f,gf,yf,ju=Pt,Bo=ne[ht+1],vf=N.mode===n.PipsMode.Steps;for(vf&&(Gt=ae.xNumSteps[ht]),Gt||(Gt=Bo-ju),Bo===void 0&&(Bo=ju),Gt=Math.max(Gt,1e-7),bt=ju;bt<=Bo;bt=G(bt,Gt)){for(_f=(Bt=(un=ae.toStepping(bt))-Vt)/(N.density||1),yf=Bt/(gf=Math.round(_f)),gn=1;gn<=gf;gn+=1)_e[(hf=Vt+gn*yf).toFixed(5)]=[ae.fromStepping(hf),0];Vu=ne.indexOf(bt)>-1?n.PipsType.LargeValue:vf?n.PipsType.SmallValue:n.PipsType.NoValue,!ht&&Je&&bt!==Bo&&(Vu=0),bt===Bo&&Ze||(_e[un.toFixed(5)]=[bt,Vu]),Vt=un}}),_e}function kb(N,G,ne){var _e,Fe,Pe=Zn.createElement("div"),Je=((_e={})[n.PipsType.None]="",_e[n.PipsType.NoValue]=y.cssClasses.valueNormal,_e[n.PipsType.LargeValue]=y.cssClasses.valueLarge,_e[n.PipsType.SmallValue]=y.cssClasses.valueSub,_e),Ze=((Fe={})[n.PipsType.None]="",Fe[n.PipsType.NoValue]=y.cssClasses.markerNormal,Fe[n.PipsType.LargeValue]=y.cssClasses.markerLarge,Fe[n.PipsType.SmallValue]=y.cssClasses.markerSub,Fe),Vt=[y.cssClasses.valueHorizontal,y.cssClasses.valueVertical],Pt=[y.cssClasses.markerHorizontal,y.cssClasses.markerVertical];function ht(bt,gn){var un=gn===y.cssClasses.value,Bt=un?Je:Ze;return gn+" "+(un?Vt:Pt)[y.ort]+" "+Bt[bt]}function Gt(bt,gn,un){if((un=G?G(gn,un):un)!==n.PipsType.None){var Bt=Cr(Pe,!1);Bt.className=ht(un,y.cssClasses.marker),Bt.style[y.style]=bt+"%",un>n.PipsType.NoValue&&((Bt=Cr(Pe,!1)).className=ht(un,y.cssClasses.value),Bt.setAttribute("data-value",String(gn)),Bt.style[y.style]=bt+"%",Bt.innerHTML=String(ne.to(gn)))}}return g(Pe,y.cssClasses.pips),g(Pe,y.ort===0?y.cssClasses.pipsHorizontal:y.cssClasses.pipsVertical),Object.keys(N).forEach(function(bt){Gt(bt,N[bt][0],N[bt][1])}),Pe}function Du(){Se&&(s(Se),Se=null)}function Fu(N){Du();var G=xb(N),ne=N.filter,_e=N.format||{to:function(Fe){return String(Math.round(Fe))}};return Se=te.appendChild(kb(G,ne,_e))}function af(){var N=K.getBoundingClientRect(),G="offset"+["Width","Height"][y.ort];return y.ort===0?N.width||K[G]:N.height||K[G]}function co(N,G,ne,_e){var Fe=function(Je){var Ze=Sb(Je,_e.pageOffset,_e.target||G);return!!Ze&&!(rf()&&!_e.doNotReject)&&!(w(te,y.cssClasses.tap)&&!_e.doNotReject)&&!(N===re.start&&Ze.buttons!==void 0&&Ze.buttons>1)&&(!_e.hover||!Ze.buttons)&&(de||Ze.preventDefault(),Ze.calcPoint=Ze.points[y.ort],void ne(Ze,_e))},Pe=[];return N.split(" ").forEach(function(Je){G.addEventListener(Je,Fe,!!de&&{passive:!0}),Pe.push([Je,Fe])}),Pe}function Sb(N,G,ne){var _e=N.type.indexOf("touch")===0,Fe=N.type.indexOf("mouse")===0,Pe=N.type.indexOf("pointer")===0,Je=0,Ze=0;if(N.type.indexOf("MSPointer")===0&&(Pe=!0),N.type==="mousedown"&&!N.buttons&&!N.touches)return!1;if(_e){var Vt=function(Gt){var bt=Gt.target;return bt===ne||ne.contains(bt)||N.composed&&N.composedPath().shift()===ne};if(N.type==="touchstart"){var Pt=Array.prototype.filter.call(N.touches,Vt);if(Pt.length>1)return!1;Je=Pt[0].pageX,Ze=Pt[0].pageY}else{var ht=Array.prototype.find.call(N.changedTouches,Vt);if(!ht)return!1;Je=ht.pageX,Ze=ht.pageY}}return G=G||x(Zn),(Fe||Pe)&&(Je=N.clientX+G.x,Ze=N.clientY+G.y),N.pageOffset=G,N.points=[Je,Ze],N.cursor=Fe||Pe,N}function lf(N){var G=100*(N-d(K,y.ort))/af();return G=p(G),y.dir?100-G:G}function Eb(N){var G=100,ne=!1;return ee.forEach(function(_e,Fe){if(!Ou(Fe)){var Pe=Ue[Fe],Je=Math.abs(Pe-N);(Je<G||Je<=G&&N>Pe||Je===100&&G===100)&&(ne=Fe,G=Je)}}),ne}function $b(N,G){N.type==="mouseout"&&N.target.nodeName==="HTML"&&N.relatedTarget===null&&Iu(N,G)}function Ab(N,G){if(navigator.appVersion.indexOf("MSIE 9")===-1&&N.buttons===0&&G.buttonsProperty!==0)return Iu(N,G);var ne=(y.dir?-1:1)*(N.calcPoint-G.startCalcPoint);uf(ne>0,100*ne/G.baseSize,G.locations,G.handleNumbers,G.connect)}function Iu(N,G){G.handle&&(b(G.handle,y.cssClasses.active),_n-=1),G.listeners.forEach(function(ne){ra.removeEventListener(ne[0],ne[1])}),_n===0&&(b(te,y.cssClasses.drag),Nu(),N.cursor&&(oa.style.cursor="",oa.removeEventListener("selectstart",a))),G.handleNumbers.forEach(function(ne){jt("change",ne),jt("set",ne),jt("end",ne)})}function Mu(N,G){if(!G.handleNumbers.some(Ou)){var ne;G.handleNumbers.length===1&&(ne=ee[G.handleNumbers[0]].children[0],_n+=1,g(ne,y.cssClasses.active)),N.stopPropagation();var _e=[],Fe=co(re.move,ra,Ab,{target:N.target,handle:ne,connect:G.connect,listeners:_e,startCalcPoint:N.calcPoint,baseSize:af(),pageOffset:N.pageOffset,handleNumbers:G.handleNumbers,buttonsProperty:N.buttons,locations:Ue.slice()}),Pe=co(re.end,ra,Iu,{target:N.target,handle:ne,listeners:_e,doNotReject:!0,handleNumbers:G.handleNumbers}),Je=co("mouseout",ra,$b,{target:N.target,handle:ne,listeners:_e,doNotReject:!0,handleNumbers:G.handleNumbers});_e.push.apply(_e,Fe.concat(Pe,Je)),N.cursor&&(oa.style.cursor=getComputedStyle(N.target).cursor,ee.length>1&&g(te,y.cssClasses.drag),oa.addEventListener("selectstart",a,!1)),G.handleNumbers.forEach(function(Ze){jt("start",Ze)})}}function Tb(N){N.stopPropagation();var G=lf(N.calcPoint),ne=Eb(G);ne!==!1&&(y.events.snap||m(te,y.cssClasses.tap,y.animationDuration),jo(ne,G,!0,!0),Nu(),jt("slide",ne,!0),jt("update",ne,!0),y.events.snap?Mu(N,{handleNumbers:[ne]}):(jt("change",ne,!0),jt("set",ne,!0)))}function Ob(N){var G=lf(N.calcPoint),ne=ae.getStep(G),_e=ae.fromStepping(ne);Object.keys(Kn).forEach(function(Fe){Fe.split(".")[0]==="hover"&&Kn[Fe].forEach(function(Pe){Pe.call(aa,_e)})})}function Pb(N,G){if(rf()||Ou(G))return!1;var ne=["Left","Right"],_e=["Down","Up"],Fe=["PageDown","PageUp"],Pe=["Home","End"];y.dir&&!y.ort?ne.reverse():y.ort&&!y.dir&&(_e.reverse(),Fe.reverse());var Je,Ze=N.key.replace("Arrow",""),Vt=Ze===Fe[0],Pt=Ze===Fe[1],ht=Ze===_e[0]||Ze===ne[0]||Vt,Gt=Ze===_e[1]||Ze===ne[1]||Pt,bt=Ze===Pe[0],gn=Ze===Pe[1];if(!(ht||Gt||bt||gn))return!0;if(N.preventDefault(),Gt||ht){var un=ht?0:1,Bt=pf(G)[un];if(Bt===null)return!1;Bt===!1&&(Bt=ae.getDefaultStep(Ue[G],ht,y.keyboardDefaultStep)),Bt*=Pt||Vt?y.keyboardPageMultiplier:y.keyboardMultiplier,Bt=Math.max(Bt,1e-7),Bt*=ht?-1:1,Je=Ve[G]+Bt}else Je=gn?y.spectrum.xVal[y.spectrum.xVal.length-1]:y.spectrum.xVal[0];return jo(G,ae.toStepping(Je),!0,!0),jt("slide",G),jt("update",G),jt("change",G),jt("set",G),!1}function Db(N){N.fixed||ee.forEach(function(G,ne){co(re.start,G.children[0],Mu,{handleNumbers:[ne]})}),N.tap&&co(re.start,K,Tb,{}),N.hover&&co(re.move,K,Ob,{hover:!0}),N.drag&&fe.forEach(function(G,ne){if(G!==!1&&ne!==0&&ne!==fe.length-1){var _e=ee[ne-1],Fe=ee[ne],Pe=[G],Je=[_e,Fe],Ze=[ne-1,ne];g(G,y.cssClasses.draggable),N.fixed&&(Pe.push(_e.children[0]),Pe.push(Fe.children[0])),N.dragAll&&(Je=ee,Ze=ct),Pe.forEach(function(Vt){co(re.start,Vt,Mu,{handles:Je,handleNumbers:Ze,connect:G})})}})}function Lu(N,G){Kn[N]=Kn[N]||[],Kn[N].push(G),N.split(".")[0]==="update"&&ee.forEach(function(ne,_e){jt("update",_e)})}function Fb(N){return N===He.aria||N===He.tooltips}function Rs(N){var G=N&&N.split(".")[0],ne=G?N.substring(G.length):N;Object.keys(Kn).forEach(function(_e){var Fe=_e.split(".")[0],Pe=_e.substring(Fe.length);G&&G!==Fe||ne&&ne!==Pe||Fb(Pe)&&ne!==Pe||delete Kn[_e]})}function jt(N,G,ne){Object.keys(Kn).forEach(function(_e){var Fe=_e.split(".")[0];N===Fe&&Kn[_e].forEach(function(Pe){Pe.call(aa,Ve.map(y.format.to),G,Ve.slice(),ne||!1,Ue.slice(),aa)})})}function sa(N,G,ne,_e,Fe,Pe){var Je;return ee.length>1&&!y.events.unconstrained&&(_e&&G>0&&(Je=ae.getAbsoluteDistance(N[G-1],y.margin,!1),ne=Math.max(ne,Je)),Fe&&G<ee.length-1&&(Je=ae.getAbsoluteDistance(N[G+1],y.margin,!0),ne=Math.min(ne,Je))),ee.length>1&&y.limit&&(_e&&G>0&&(Je=ae.getAbsoluteDistance(N[G-1],y.limit,!1),ne=Math.min(ne,Je)),Fe&&G<ee.length-1&&(Je=ae.getAbsoluteDistance(N[G+1],y.limit,!0),ne=Math.max(ne,Je))),y.padding&&(G===0&&(Je=ae.getAbsoluteDistance(0,y.padding[0],!1),ne=Math.max(ne,Je)),G===ee.length-1&&(Je=ae.getAbsoluteDistance(100,y.padding[1],!0),ne=Math.min(ne,Je))),!((ne=p(ne=ae.getStep(ne)))===N[G]&&!Pe)&&ne}function Ru(N,G){var ne=y.ort;return(ne?G:N)+", "+(ne?N:G)}function uf(N,G,ne,_e,Fe){var Pe=ne.slice(),Je=_e[0],Ze=[!N,N],Vt=[N,!N];_e=_e.slice(),N&&_e.reverse(),_e.length>1?_e.forEach(function(ht,Gt){var bt=sa(Pe,ht,Pe[ht]+G,Ze[Gt],Vt[Gt],!1);bt===!1?G=0:(G=bt-Pe[ht],Pe[ht]=bt)}):Ze=Vt=[!0];var Pt=!1;_e.forEach(function(ht,Gt){Pt=jo(ht,ne[ht]+G,Ze[Gt],Vt[Gt])||Pt}),Pt&&(_e.forEach(function(ht){jt("update",ht),jt("slide",ht)}),Fe!=null&&jt("drag",Je))}function cf(N,G){return y.dir?100-N-G:N}function Ib(N,G){Ue[N]=G,Ve[N]=ae.fromStepping(G);var ne="translate("+Ru(cf(G,0)-gb+"%","0")+")";ee[N].style[y.transformRule]=ne,df(N),df(N+1)}function Nu(){ct.forEach(function(N){var G=Ue[N]>50?-1:1,ne=3+(ee.length+G*N);ee[N].style.zIndex=String(ne)})}function jo(N,G,ne,_e,Fe){return Fe||(G=sa(Ue,N,G,ne,_e,!1)),G!==!1&&(Ib(N,G),!0)}function df(N){if(fe[N]){var G=0,ne=100;N!==0&&(G=Ue[N-1]),N!==fe.length-1&&(ne=Ue[N]);var _e=ne-G,Fe="translate("+Ru(cf(G,_e)+"%","0")+")",Pe="scale("+Ru(_e/100,"1")+")";fe[N].style[y.transformRule]=Fe+" "+Pe}}function mf(N,G){return N===null||N===!1||N===void 0?Ue[G]:(typeof N=="number"&&(N=String(N)),(N=y.format.from(N))!==!1&&(N=ae.toStepping(N)),N===!1||isNaN(N)?Ue[G]:N)}function ia(N,G,ne){var _e=h(N),Fe=Ue[0]===void 0;G=G===void 0||G,y.animate&&!Fe&&m(te,y.cssClasses.tap,y.animationDuration),ct.forEach(function(Ze){jo(Ze,mf(_e[Ze],Ze),!0,!1,ne)});var Pe=ct.length===1?0:1;if(Fe&&ae.hasNoSize()&&(ne=!0,Ue[0]=0,ct.length>1)){var Je=100/(ct.length-1);ct.forEach(function(Ze){Ue[Ze]=Ze*Je})}for(;Pe<ct.length;++Pe)ct.forEach(function(Ze){jo(Ze,Ue[Ze],!0,!0,ne)});Nu(),ct.forEach(function(Ze){jt("update",Ze),_e[Ze]!==null&&G&&jt("set",Ze)})}function Mb(N){ia(y.start,N)}function Lb(N,G,ne,_e){if(!((N=Number(N))>=0&&N<ct.length))throw new Error("noUiSlider: invalid handle number, got: "+N);jo(N,mf(G,N),!0,!0,_e),jt("update",N),ne&&jt("set",N)}function ff(N){if(N===void 0&&(N=!1),N)return Ve.length===1?Ve[0]:Ve.slice(0);var G=Ve.map(y.format.to);return G.length===1?G[0]:G}function Rb(){for(Rs(He.aria),Rs(He.tooltips),Object.keys(y.cssClasses).forEach(function(N){b(te,y.cssClasses[N])});te.firstChild;)te.removeChild(te.firstChild);delete te.noUiSlider}function pf(N){var G=Ue[N],ne=ae.getNearbySteps(G),_e=Ve[N],Fe=ne.thisStep.step,Pe=null;if(y.snap)return[_e-ne.stepBefore.startValue||null,ne.stepAfter.startValue-_e||null];Fe!==!1&&_e+Fe>ne.stepAfter.startValue&&(Fe=ne.stepAfter.startValue-_e),Pe=_e>ne.thisStep.startValue?ne.thisStep.step:ne.stepBefore.step!==!1&&_e-ne.stepBefore.highestStep,G===100?Fe=null:G===0&&(Pe=null);var Je=ae.countStepDecimals();return Fe!==null&&Fe!==!1&&(Fe=Number(Fe.toFixed(Je))),Pe!==null&&Pe!==!1&&(Pe=Number(Pe.toFixed(Je))),[Pe,Fe]}function Nb(){return ct.map(pf)}function Vb(N,G){var ne=ff(),_e=["margin","limit","padding","range","animate","snap","step","format","pips","tooltips"];_e.forEach(function(Pe){N[Pe]!==void 0&&(I[Pe]=N[Pe])});var Fe=De(I);_e.forEach(function(Pe){N[Pe]!==void 0&&(y[Pe]=Fe[Pe])}),ae=Fe.spectrum,y.margin=Fe.margin,y.limit=Fe.limit,y.padding=Fe.padding,y.pips?Fu(y.pips):Du(),y.tooltips?of():Pu(),Ue=[],ia(i(N.start)?N.start:ne,G)}function jb(){K=bb(te),vb(y.connect,K),Db(y.events),ia(y.start),y.pips&&Fu(y.pips),y.tooltips&&of(),Cb()}jb();var aa={destroy:Rb,steps:Nb,on:Lu,off:Rs,get:ff,set:ia,setHandle:Lb,reset:Mb,__moveHandles:function(N,G,ne){uf(N,G,Ue,ne)},options:I,updateOptions:Vb,target:te,removePips:Du,removeTooltips:Pu,getPositions:function(){return Ue.slice()},getTooltips:function(){return Me},getOrigins:function(){return ee},pips:Fu};return aa}function We(k,y){if(!k||!k.nodeName)throw new Error("noUiSlider: create requires a single element, got: "+k);if(k.noUiSlider)throw new Error("noUiSlider: Slider was already initialized.");var I=Ne(k,De(y),y);return k.noUiSlider=I,I}var nt={__spectrum:ue,cssClasses:Le,create:We};n.create=We,n.cssClasses=Le,n.default=nt,Object.defineProperty(n,"__esModule",{value:!0})})(t)}));function _h(e,t){var n=t.slice().sort();return e.length===t.length&&e.slice().sort().every(function(r,o){return r===n[o]})}var Mi={name:"Slider",emits:["input","update:modelValue","update","change","start","end"],props:{value:{validator:function(e){return t=>typeof t=="number"||t instanceof Array||t==null||t===!1},required:!1},modelValue:{validator:function(e){return t=>typeof t=="number"||t instanceof Array||t==null||t===!1},required:!1},id:{type:[String,Number],required:!1},disabled:{type:Boolean,required:!1,default:!1},min:{type:Number,required:!1,default:0},max:{type:Number,required:!1,default:100},step:{type:Number,required:!1,default:1},orientation:{type:String,required:!1,default:"horizontal"},direction:{type:String,required:!1,default:"ltr"},tooltips:{type:Boolean,required:!1,default:!0},options:{type:Object,required:!1,default:()=>({})},merge:{type:Number,required:!1,default:-1},format:{type:[Object,Function,Boolean],required:!1,default:null},classes:{type:Object,required:!1,default:()=>({})},showTooltip:{type:String,required:!1,default:"always"},tooltipPosition:{type:String,required:!1,default:null},lazy:{type:Boolean,required:!1,default:!0}},setup(e,t){const n=function(i,a,l){var c=ci(i),d=c.value,f=c.modelValue,m=a.expose!==void 0?f:d,p=wn(m.value);if(pc(m.value))throw new Error("Slider v-model must be a Number or Array");if(Array.isArray(m.value)&&m.value.length==0)throw new Error("Slider v-model must not be an empty array");return{value:m,initialValue:p}}(e,t),r=function(i,a,l){var c=ci(i),d=c.classes,f=c.showTooltip,m=c.tooltipPosition,p=c.orientation,h=Tt(function(){return fh({target:"slider-target",focused:"slider-focused",tooltipFocus:"slider-tooltip-focus",tooltipDrag:"slider-tooltip-drag",ltr:"slider-ltr",rtl:"slider-rtl",horizontal:"slider-horizontal",vertical:"slider-vertical",textDirectionRtl:"slider-txt-dir-rtl",textDirectionLtr:"slider-txt-dir-ltr",base:"slider-base",connects:"slider-connects",connect:"slider-connect",origin:"slider-origin",handle:"slider-handle",handleLower:"slider-handle-lower",handleUpper:"slider-handle-upper",touchArea:"slider-touch-area",tooltip:"slider-tooltip",tooltipTop:"slider-tooltip-top",tooltipBottom:"slider-tooltip-bottom",tooltipLeft:"slider-tooltip-left",tooltipRight:"slider-tooltip-right",tooltipHidden:"slider-tooltip-hidden",active:"slider-active",draggable:"slider-draggable",tap:"slider-state-tap",drag:"slider-state-drag",pips:"slider-pips",pipsHorizontal:"slider-pips-horizontal",pipsVertical:"slider-pips-vertical",marker:"slider-marker",markerHorizontal:"slider-marker-horizontal",markerVertical:"slider-marker-vertical",markerNormal:"slider-marker-normal",markerLarge:"slider-marker-large",markerSub:"slider-marker-sub",value:"slider-value",valueHorizontal:"slider-value-horizontal",valueVertical:"slider-value-vertical",valueNormal:"slider-value-normal",valueLarge:"slider-value-large",valueSub:"slider-value-sub"},d.value)});return{classList:Tt(function(){var _=fh({},h.value);return Object.keys(_).forEach(function(g){_[g]=Array.isArray(_[g])?_[g].filter(function(b){return b!==null}).join(" "):_[g]}),f.value!=="always"&&(_.target+=" ".concat(f.value==="drag"?_.tooltipDrag:_.tooltipFocus)),p.value==="horizontal"&&(_.tooltip+=m.value==="bottom"?" ".concat(_.tooltipBottom):" ".concat(_.tooltipTop)),p.value==="vertical"&&(_.tooltip+=m.value==="right"?" ".concat(_.tooltipRight):" ".concat(_.tooltipLeft)),_})}}(e),o=S8(e,0,{value:n.value,classList:r.classList}),s=function(i,a,l){var c=ci(i),d=c.orientation,f=c.direction,m=c.tooltips,p=c.step,h=c.min,_=c.max,g=c.merge,b=c.id,w=c.disabled,x=c.options,z=c.classes,E=c.format,T=c.lazy,V=l.value,F=l.initialValue,A=l.tooltipsFormat,M=l.tooltipsMerge,W=l.classList,R=wn(null),q=wn(null),B=wn(!1),se=Tt(function(){var we={cssPrefix:"",cssClasses:W.value,orientation:d.value,direction:f.value,tooltips:!!m.value&&A.value,connect:"lower",start:pc(V.value)?h.value:V.value,range:{min:h.value,max:_.value}};return p.value>0&&(we.step=p.value),Array.isArray(V.value)&&(we.connect=!0),we}),Q=Tt(function(){var we={id:b&&b.value?b.value:void 0};return w.value&&(we.disabled=!0),we}),ue=Tt(function(){return Array.isArray(V.value)}),ge=function(){var we=q.value.get();return Array.isArray(we)?we.map(function(H){return parseFloat(H)}):parseFloat(we)},Le=function(we){var H=!(arguments.length>1&&arguments[1]!==void 0)||arguments[1];q.value.set(we,H)},He=function(we){a.emit("input",we),a.emit("update:modelValue",we),a.emit("update",we)},he=function(){q.value=E8.create(R.value,Object.assign({},se.value,x.value)),m.value&&ue.value&&g.value>=0&&M(R.value,g.value," - "),q.value.on("set",function(we){var H=ge();a.emit("change",H),T.value&&He(H)}),q.value.on("update",function(we){if(B.value){var H=ge();ue.value&&_h(V.value,H)||!ue.value&&V.value==H?a.emit("update",H):T.value||He(H)}}),q.value.on("start",function(we){var H=ge();a.emit("start",H)}),q.value.on("end",function(we){var H=ge();a.emit("end",H)}),R.value.querySelectorAll("[data-handle]").forEach(function(we){we.onblur=function(){W.value.focused.split(" ").forEach(function(H){R.value.classList.remove(H)})},we.onfocus=function(){W.value.focused.split(" ").forEach(function(H){R.value.classList.add(H)})}}),B.value=!0},J=function(){q.value.off(),q.value.destroy(),q.value=null},me=function(we,H){B.value=!1,J(),he()};return Mo(he),As(J),Mt(ue,me,{immediate:!1}),Mt(h,me,{immediate:!1}),Mt(_,me,{immediate:!1}),Mt(p,me,{immediate:!1}),Mt(d,me,{immediate:!1}),Mt(f,me,{immediate:!1}),Mt(m,me,{immediate:!1}),Mt(g,me,{immediate:!1}),Mt(E,me,{immediate:!1,deep:!0}),Mt(x,me,{immediate:!1,deep:!0}),Mt(z,me,{immediate:!1,deep:!0}),Mt(V,function(we){pc(we)?Le(h.value,!1):(ue.value&&!_h(we,ge())||!ue.value&&we!=ge())&&Le(we,!1)},{deep:!0}),{slider:R,slider$:q,isRange:ue,sliderProps:Q,init:he,destroy:J,refresh:me,update:Le,reset:function(){He(F.value)}}}(e,t,{value:n.value,initialValue:n.initialValue,tooltipsFormat:o.tooltipsFormat,tooltipsMerge:o.tooltipsMerge,classList:r.classList});return Xe(Xe(Xe({},r),o),s)}};Mi.render=function(e,t,n,r,o,s){return S(),D("div",nm(e.sliderProps,{ref:"slider"}),null,16)},Mi.__file="src/Slider.vue";var _v={exports:{}},$8=[{value:"#B0171F",name:"indian red"},{value:"#DC143C",css:!0,name:"crimson"},{value:"#FFB6C1",css:!0,name:"lightpink"},{value:"#FFAEB9",name:"lightpink 1"},{value:"#EEA2AD",name:"lightpink 2"},{value:"#CD8C95",name:"lightpink 3"},{value:"#8B5F65",name:"lightpink 4"},{value:"#FFC0CB",css:!0,name:"pink"},{value:"#FFB5C5",name:"pink 1"},{value:"#EEA9B8",name:"pink 2"},{value:"#CD919E",name:"pink 3"},{value:"#8B636C",name:"pink 4"},{value:"#DB7093",css:!0,name:"palevioletred"},{value:"#FF82AB",name:"palevioletred 1"},{value:"#EE799F",name:"palevioletred 2"},{value:"#CD6889",name:"palevioletred 3"},{value:"#8B475D",name:"palevioletred 4"},{value:"#FFF0F5",name:"lavenderblush 1"},{value:"#FFF0F5",css:!0,name:"lavenderblush"},{value:"#EEE0E5",name:"lavenderblush 2"},{value:"#CDC1C5",name:"lavenderblush 3"},{value:"#8B8386",name:"lavenderblush 4"},{value:"#FF3E96",name:"violetred 1"},{value:"#EE3A8C",name:"violetred 2"},{value:"#CD3278",name:"violetred 3"},{value:"#8B2252",name:"violetred 4"},{value:"#FF69B4",css:!0,name:"hotpink"},{value:"#FF6EB4",name:"hotpink 1"},{value:"#EE6AA7",name:"hotpink 2"},{value:"#CD6090",name:"hotpink 3"},{value:"#8B3A62",name:"hotpink 4"},{value:"#872657",name:"raspberry"},{value:"#FF1493",name:"deeppink 1"},{value:"#FF1493",css:!0,name:"deeppink"},{value:"#EE1289",name:"deeppink 2"},{value:"#CD1076",name:"deeppink 3"},{value:"#8B0A50",name:"deeppink 4"},{value:"#FF34B3",name:"maroon 1"},{value:"#EE30A7",name:"maroon 2"},{value:"#CD2990",name:"maroon 3"},{value:"#8B1C62",name:"maroon 4"},{value:"#C71585",css:!0,name:"mediumvioletred"},{value:"#D02090",name:"violetred"},{value:"#DA70D6",css:!0,name:"orchid"},{value:"#FF83FA",name:"orchid 1"},{value:"#EE7AE9",name:"orchid 2"},{value:"#CD69C9",name:"orchid 3"},{value:"#8B4789",name:"orchid 4"},{value:"#D8BFD8",css:!0,name:"thistle"},{value:"#FFE1FF",name:"thistle 1"},{value:"#EED2EE",name:"thistle 2"},{value:"#CDB5CD",name:"thistle 3"},{value:"#8B7B8B",name:"thistle 4"},{value:"#FFBBFF",name:"plum 1"},{value:"#EEAEEE",name:"plum 2"},{value:"#CD96CD",name:"plum 3"},{value:"#8B668B",name:"plum 4"},{value:"#DDA0DD",css:!0,name:"plum"},{value:"#EE82EE",css:!0,name:"violet"},{value:"#FF00FF",vga:!0,name:"magenta"},{value:"#FF00FF",vga:!0,css:!0,name:"fuchsia"},{value:"#EE00EE",name:"magenta 2"},{value:"#CD00CD",name:"magenta 3"},{value:"#8B008B",name:"magenta 4"},{value:"#8B008B",css:!0,name:"darkmagenta"},{value:"#800080",vga:!0,css:!0,name:"purple"},{value:"#BA55D3",css:!0,name:"mediumorchid"},{value:"#E066FF",name:"mediumorchid 1"},{value:"#D15FEE",name:"mediumorchid 2"},{value:"#B452CD",name:"mediumorchid 3"},{value:"#7A378B",name:"mediumorchid 4"},{value:"#9400D3",css:!0,name:"darkviolet"},{value:"#9932CC",css:!0,name:"darkorchid"},{value:"#BF3EFF",name:"darkorchid 1"},{value:"#B23AEE",name:"darkorchid 2"},{value:"#9A32CD",name:"darkorchid 3"},{value:"#68228B",name:"darkorchid 4"},{value:"#4B0082",css:!0,name:"indigo"},{value:"#8A2BE2",css:!0,name:"blueviolet"},{value:"#9B30FF",name:"purple 1"},{value:"#912CEE",name:"purple 2"},{value:"#7D26CD",name:"purple 3"},{value:"#551A8B",name:"purple 4"},{value:"#9370DB",css:!0,name:"mediumpurple"},{value:"#AB82FF",name:"mediumpurple 1"},{value:"#9F79EE",name:"mediumpurple 2"},{value:"#8968CD",name:"mediumpurple 3"},{value:"#5D478B",name:"mediumpurple 4"},{value:"#483D8B",css:!0,name:"darkslateblue"},{value:"#8470FF",name:"lightslateblue"},{value:"#7B68EE",css:!0,name:"mediumslateblue"},{value:"#6A5ACD",css:!0,name:"slateblue"},{value:"#836FFF",name:"slateblue 1"},{value:"#7A67EE",name:"slateblue 2"},{value:"#6959CD",name:"slateblue 3"},{value:"#473C8B",name:"slateblue 4"},{value:"#F8F8FF",css:!0,name:"ghostwhite"},{value:"#E6E6FA",css:!0,name:"lavender"},{value:"#0000FF",vga:!0,css:!0,name:"blue"},{value:"#0000EE",name:"blue 2"},{value:"#0000CD",name:"blue 3"},{value:"#0000CD",css:!0,name:"mediumblue"},{value:"#00008B",name:"blue 4"},{value:"#00008B",css:!0,name:"darkblue"},{value:"#000080",vga:!0,css:!0,name:"navy"},{value:"#191970",css:!0,name:"midnightblue"},{value:"#3D59AB",name:"cobalt"},{value:"#4169E1",css:!0,name:"royalblue"},{value:"#4876FF",name:"royalblue 1"},{value:"#436EEE",name:"royalblue 2"},{value:"#3A5FCD",name:"royalblue 3"},{value:"#27408B",name:"royalblue 4"},{value:"#6495ED",css:!0,name:"cornflowerblue"},{value:"#B0C4DE",css:!0,name:"lightsteelblue"},{value:"#CAE1FF",name:"lightsteelblue 1"},{value:"#BCD2EE",name:"lightsteelblue 2"},{value:"#A2B5CD",name:"lightsteelblue 3"},{value:"#6E7B8B",name:"lightsteelblue 4"},{value:"#778899",css:!0,name:"lightslategray"},{value:"#708090",css:!0,name:"slategray"},{value:"#C6E2FF",name:"slategray 1"},{value:"#B9D3EE",name:"slategray 2"},{value:"#9FB6CD",name:"slategray 3"},{value:"#6C7B8B",name:"slategray 4"},{value:"#1E90FF",name:"dodgerblue 1"},{value:"#1E90FF",css:!0,name:"dodgerblue"},{value:"#1C86EE",name:"dodgerblue 2"},{value:"#1874CD",name:"dodgerblue 3"},{value:"#104E8B",name:"dodgerblue 4"},{value:"#F0F8FF",css:!0,name:"aliceblue"},{value:"#4682B4",css:!0,name:"steelblue"},{value:"#63B8FF",name:"steelblue 1"},{value:"#5CACEE",name:"steelblue 2"},{value:"#4F94CD",name:"steelblue 3"},{value:"#36648B",name:"steelblue 4"},{value:"#87CEFA",css:!0,name:"lightskyblue"},{value:"#B0E2FF",name:"lightskyblue 1"},{value:"#A4D3EE",name:"lightskyblue 2"},{value:"#8DB6CD",name:"lightskyblue 3"},{value:"#607B8B",name:"lightskyblue 4"},{value:"#87CEFF",name:"skyblue 1"},{value:"#7EC0EE",name:"skyblue 2"},{value:"#6CA6CD",name:"skyblue 3"},{value:"#4A708B",name:"skyblue 4"},{value:"#87CEEB",css:!0,name:"skyblue"},{value:"#00BFFF",name:"deepskyblue 1"},{value:"#00BFFF",css:!0,name:"deepskyblue"},{value:"#00B2EE",name:"deepskyblue 2"},{value:"#009ACD",name:"deepskyblue 3"},{value:"#00688B",name:"deepskyblue 4"},{value:"#33A1C9",name:"peacock"},{value:"#ADD8E6",css:!0,name:"lightblue"},{value:"#BFEFFF",name:"lightblue 1"},{value:"#B2DFEE",name:"lightblue 2"},{value:"#9AC0CD",name:"lightblue 3"},{value:"#68838B",name:"lightblue 4"},{value:"#B0E0E6",css:!0,name:"powderblue"},{value:"#98F5FF",name:"cadetblue 1"},{value:"#8EE5EE",name:"cadetblue 2"},{value:"#7AC5CD",name:"cadetblue 3"},{value:"#53868B",name:"cadetblue 4"},{value:"#00F5FF",name:"turquoise 1"},{value:"#00E5EE",name:"turquoise 2"},{value:"#00C5CD",name:"turquoise 3"},{value:"#00868B",name:"turquoise 4"},{value:"#5F9EA0",css:!0,name:"cadetblue"},{value:"#00CED1",css:!0,name:"darkturquoise"},{value:"#F0FFFF",name:"azure 1"},{value:"#F0FFFF",css:!0,name:"azure"},{value:"#E0EEEE",name:"azure 2"},{value:"#C1CDCD",name:"azure 3"},{value:"#838B8B",name:"azure 4"},{value:"#E0FFFF",name:"lightcyan 1"},{value:"#E0FFFF",css:!0,name:"lightcyan"},{value:"#D1EEEE",name:"lightcyan 2"},{value:"#B4CDCD",name:"lightcyan 3"},{value:"#7A8B8B",name:"lightcyan 4"},{value:"#BBFFFF",name:"paleturquoise 1"},{value:"#AEEEEE",name:"paleturquoise 2"},{value:"#AEEEEE",css:!0,name:"paleturquoise"},{value:"#96CDCD",name:"paleturquoise 3"},{value:"#668B8B",name:"paleturquoise 4"},{value:"#2F4F4F",css:!0,name:"darkslategray"},{value:"#97FFFF",name:"darkslategray 1"},{value:"#8DEEEE",name:"darkslategray 2"},{value:"#79CDCD",name:"darkslategray 3"},{value:"#528B8B",name:"darkslategray 4"},{value:"#00FFFF",name:"cyan"},{value:"#00FFFF",css:!0,name:"aqua"},{value:"#00EEEE",name:"cyan 2"},{value:"#00CDCD",name:"cyan 3"},{value:"#008B8B",name:"cyan 4"},{value:"#008B8B",css:!0,name:"darkcyan"},{value:"#008080",vga:!0,css:!0,name:"teal"},{value:"#48D1CC",css:!0,name:"mediumturquoise"},{value:"#20B2AA",css:!0,name:"lightseagreen"},{value:"#03A89E",name:"manganeseblue"},{value:"#40E0D0",css:!0,name:"turquoise"},{value:"#808A87",name:"coldgrey"},{value:"#00C78C",name:"turquoiseblue"},{value:"#7FFFD4",name:"aquamarine 1"},{value:"#7FFFD4",css:!0,name:"aquamarine"},{value:"#76EEC6",name:"aquamarine 2"},{value:"#66CDAA",name:"aquamarine 3"},{value:"#66CDAA",css:!0,name:"mediumaquamarine"},{value:"#458B74",name:"aquamarine 4"},{value:"#00FA9A",css:!0,name:"mediumspringgreen"},{value:"#F5FFFA",css:!0,name:"mintcream"},{value:"#00FF7F",css:!0,name:"springgreen"},{value:"#00EE76",name:"springgreen 1"},{value:"#00CD66",name:"springgreen 2"},{value:"#008B45",name:"springgreen 3"},{value:"#3CB371",css:!0,name:"mediumseagreen"},{value:"#54FF9F",name:"seagreen 1"},{value:"#4EEE94",name:"seagreen 2"},{value:"#43CD80",name:"seagreen 3"},{value:"#2E8B57",name:"seagreen 4"},{value:"#2E8B57",css:!0,name:"seagreen"},{value:"#00C957",name:"emeraldgreen"},{value:"#BDFCC9",name:"mint"},{value:"#3D9140",name:"cobaltgreen"},{value:"#F0FFF0",name:"honeydew 1"},{value:"#F0FFF0",css:!0,name:"honeydew"},{value:"#E0EEE0",name:"honeydew 2"},{value:"#C1CDC1",name:"honeydew 3"},{value:"#838B83",name:"honeydew 4"},{value:"#8FBC8F",css:!0,name:"darkseagreen"},{value:"#C1FFC1",name:"darkseagreen 1"},{value:"#B4EEB4",name:"darkseagreen 2"},{value:"#9BCD9B",name:"darkseagreen 3"},{value:"#698B69",name:"darkseagreen 4"},{value:"#98FB98",css:!0,name:"palegreen"},{value:"#9AFF9A",name:"palegreen 1"},{value:"#90EE90",name:"palegreen 2"},{value:"#90EE90",css:!0,name:"lightgreen"},{value:"#7CCD7C",name:"palegreen 3"},{value:"#548B54",name:"palegreen 4"},{value:"#32CD32",css:!0,name:"limegreen"},{value:"#228B22",css:!0,name:"forestgreen"},{value:"#00FF00",vga:!0,name:"green 1"},{value:"#00FF00",vga:!0,css:!0,name:"lime"},{value:"#00EE00",name:"green 2"},{value:"#00CD00",name:"green 3"},{value:"#008B00",name:"green 4"},{value:"#008000",vga:!0,css:!0,name:"green"},{value:"#006400",css:!0,name:"darkgreen"},{value:"#308014",name:"sapgreen"},{value:"#7CFC00",css:!0,name:"lawngreen"},{value:"#7FFF00",name:"chartreuse 1"},{value:"#7FFF00",css:!0,name:"chartreuse"},{value:"#76EE00",name:"chartreuse 2"},{value:"#66CD00",name:"chartreuse 3"},{value:"#458B00",name:"chartreuse 4"},{value:"#ADFF2F",css:!0,name:"greenyellow"},{value:"#CAFF70",name:"darkolivegreen 1"},{value:"#BCEE68",name:"darkolivegreen 2"},{value:"#A2CD5A",name:"darkolivegreen 3"},{value:"#6E8B3D",name:"darkolivegreen 4"},{value:"#556B2F",css:!0,name:"darkolivegreen"},{value:"#6B8E23",css:!0,name:"olivedrab"},{value:"#C0FF3E",name:"olivedrab 1"},{value:"#B3EE3A",name:"olivedrab 2"},{value:"#9ACD32",name:"olivedrab 3"},{value:"#9ACD32",css:!0,name:"yellowgreen"},{value:"#698B22",name:"olivedrab 4"},{value:"#FFFFF0",name:"ivory 1"},{value:"#FFFFF0",css:!0,name:"ivory"},{value:"#EEEEE0",name:"ivory 2"},{value:"#CDCDC1",name:"ivory 3"},{value:"#8B8B83",name:"ivory 4"},{value:"#F5F5DC",css:!0,name:"beige"},{value:"#FFFFE0",name:"lightyellow 1"},{value:"#FFFFE0",css:!0,name:"lightyellow"},{value:"#EEEED1",name:"lightyellow 2"},{value:"#CDCDB4",name:"lightyellow 3"},{value:"#8B8B7A",name:"lightyellow 4"},{value:"#FAFAD2",css:!0,name:"lightgoldenrodyellow"},{value:"#FFFF00",vga:!0,name:"yellow 1"},{value:"#FFFF00",vga:!0,css:!0,name:"yellow"},{value:"#EEEE00",name:"yellow 2"},{value:"#CDCD00",name:"yellow 3"},{value:"#8B8B00",name:"yellow 4"},{value:"#808069",name:"warmgrey"},{value:"#808000",vga:!0,css:!0,name:"olive"},{value:"#BDB76B",css:!0,name:"darkkhaki"},{value:"#FFF68F",name:"khaki 1"},{value:"#EEE685",name:"khaki 2"},{value:"#CDC673",name:"khaki 3"},{value:"#8B864E",name:"khaki 4"},{value:"#F0E68C",css:!0,name:"khaki"},{value:"#EEE8AA",css:!0,name:"palegoldenrod"},{value:"#FFFACD",name:"lemonchiffon 1"},{value:"#FFFACD",css:!0,name:"lemonchiffon"},{value:"#EEE9BF",name:"lemonchiffon 2"},{value:"#CDC9A5",name:"lemonchiffon 3"},{value:"#8B8970",name:"lemonchiffon 4"},{value:"#FFEC8B",name:"lightgoldenrod 1"},{value:"#EEDC82",name:"lightgoldenrod 2"},{value:"#CDBE70",name:"lightgoldenrod 3"},{value:"#8B814C",name:"lightgoldenrod 4"},{value:"#E3CF57",name:"banana"},{value:"#FFD700",name:"gold 1"},{value:"#FFD700",css:!0,name:"gold"},{value:"#EEC900",name:"gold 2"},{value:"#CDAD00",name:"gold 3"},{value:"#8B7500",name:"gold 4"},{value:"#FFF8DC",name:"cornsilk 1"},{value:"#FFF8DC",css:!0,name:"cornsilk"},{value:"#EEE8CD",name:"cornsilk 2"},{value:"#CDC8B1",name:"cornsilk 3"},{value:"#8B8878",name:"cornsilk 4"},{value:"#DAA520",css:!0,name:"goldenrod"},{value:"#FFC125",name:"goldenrod 1"},{value:"#EEB422",name:"goldenrod 2"},{value:"#CD9B1D",name:"goldenrod 3"},{value:"#8B6914",name:"goldenrod 4"},{value:"#B8860B",css:!0,name:"darkgoldenrod"},{value:"#FFB90F",name:"darkgoldenrod 1"},{value:"#EEAD0E",name:"darkgoldenrod 2"},{value:"#CD950C",name:"darkgoldenrod 3"},{value:"#8B6508",name:"darkgoldenrod 4"},{value:"#FFA500",name:"orange 1"},{value:"#FF8000",css:!0,name:"orange"},{value:"#EE9A00",name:"orange 2"},{value:"#CD8500",name:"orange 3"},{value:"#8B5A00",name:"orange 4"},{value:"#FFFAF0",css:!0,name:"floralwhite"},{value:"#FDF5E6",css:!0,name:"oldlace"},{value:"#F5DEB3",css:!0,name:"wheat"},{value:"#FFE7BA",name:"wheat 1"},{value:"#EED8AE",name:"wheat 2"},{value:"#CDBA96",name:"wheat 3"},{value:"#8B7E66",name:"wheat 4"},{value:"#FFE4B5",css:!0,name:"moccasin"},{value:"#FFEFD5",css:!0,name:"papayawhip"},{value:"#FFEBCD",css:!0,name:"blanchedalmond"},{value:"#FFDEAD",name:"navajowhite 1"},{value:"#FFDEAD",css:!0,name:"navajowhite"},{value:"#EECFA1",name:"navajowhite 2"},{value:"#CDB38B",name:"navajowhite 3"},{value:"#8B795E",name:"navajowhite 4"},{value:"#FCE6C9",name:"eggshell"},{value:"#D2B48C",css:!0,name:"tan"},{value:"#9C661F",name:"brick"},{value:"#FF9912",name:"cadmiumyellow"},{value:"#FAEBD7",css:!0,name:"antiquewhite"},{value:"#FFEFDB",name:"antiquewhite 1"},{value:"#EEDFCC",name:"antiquewhite 2"},{value:"#CDC0B0",name:"antiquewhite 3"},{value:"#8B8378",name:"antiquewhite 4"},{value:"#DEB887",css:!0,name:"burlywood"},{value:"#FFD39B",name:"burlywood 1"},{value:"#EEC591",name:"burlywood 2"},{value:"#CDAA7D",name:"burlywood 3"},{value:"#8B7355",name:"burlywood 4"},{value:"#FFE4C4",name:"bisque 1"},{value:"#FFE4C4",css:!0,name:"bisque"},{value:"#EED5B7",name:"bisque 2"},{value:"#CDB79E",name:"bisque 3"},{value:"#8B7D6B",name:"bisque 4"},{value:"#E3A869",name:"melon"},{value:"#ED9121",name:"carrot"},{value:"#FF8C00",css:!0,name:"darkorange"},{value:"#FF7F00",name:"darkorange 1"},{value:"#EE7600",name:"darkorange 2"},{value:"#CD6600",name:"darkorange 3"},{value:"#8B4500",name:"darkorange 4"},{value:"#FFA54F",name:"tan 1"},{value:"#EE9A49",name:"tan 2"},{value:"#CD853F",name:"tan 3"},{value:"#CD853F",css:!0,name:"peru"},{value:"#8B5A2B",name:"tan 4"},{value:"#FAF0E6",css:!0,name:"linen"},{value:"#FFDAB9",name:"peachpuff 1"},{value:"#FFDAB9",css:!0,name:"peachpuff"},{value:"#EECBAD",name:"peachpuff 2"},{value:"#CDAF95",name:"peachpuff 3"},{value:"#8B7765",name:"peachpuff 4"},{value:"#FFF5EE",name:"seashell 1"},{value:"#FFF5EE",css:!0,name:"seashell"},{value:"#EEE5DE",name:"seashell 2"},{value:"#CDC5BF",name:"seashell 3"},{value:"#8B8682",name:"seashell 4"},{value:"#F4A460",css:!0,name:"sandybrown"},{value:"#C76114",name:"rawsienna"},{value:"#D2691E",css:!0,name:"chocolate"},{value:"#FF7F24",name:"chocolate 1"},{value:"#EE7621",name:"chocolate 2"},{value:"#CD661D",name:"chocolate 3"},{value:"#8B4513",name:"chocolate 4"},{value:"#8B4513",css:!0,name:"saddlebrown"},{value:"#292421",name:"ivoryblack"},{value:"#FF7D40",name:"flesh"},{value:"#FF6103",name:"cadmiumorange"},{value:"#8A360F",name:"burntsienna"},{value:"#A0522D",css:!0,name:"sienna"},{value:"#FF8247",name:"sienna 1"},{value:"#EE7942",name:"sienna 2"},{value:"#CD6839",name:"sienna 3"},{value:"#8B4726",name:"sienna 4"},{value:"#FFA07A",name:"lightsalmon 1"},{value:"#FFA07A",css:!0,name:"lightsalmon"},{value:"#EE9572",name:"lightsalmon 2"},{value:"#CD8162",name:"lightsalmon 3"},{value:"#8B5742",name:"lightsalmon 4"},{value:"#FF7F50",css:!0,name:"coral"},{value:"#FF4500",name:"orangered 1"},{value:"#FF4500",css:!0,name:"orangered"},{value:"#EE4000",name:"orangered 2"},{value:"#CD3700",name:"orangered 3"},{value:"#8B2500",name:"orangered 4"},{value:"#5E2612",name:"sepia"},{value:"#E9967A",css:!0,name:"darksalmon"},{value:"#FF8C69",name:"salmon 1"},{value:"#EE8262",name:"salmon 2"},{value:"#CD7054",name:"salmon 3"},{value:"#8B4C39",name:"salmon 4"},{value:"#FF7256",name:"coral 1"},{value:"#EE6A50",name:"coral 2"},{value:"#CD5B45",name:"coral 3"},{value:"#8B3E2F",name:"coral 4"},{value:"#8A3324",name:"burntumber"},{value:"#FF6347",name:"tomato 1"},{value:"#FF6347",css:!0,name:"tomato"},{value:"#EE5C42",name:"tomato 2"},{value:"#CD4F39",name:"tomato 3"},{value:"#8B3626",name:"tomato 4"},{value:"#FA8072",css:!0,name:"salmon"},{value:"#FFE4E1",name:"mistyrose 1"},{value:"#FFE4E1",css:!0,name:"mistyrose"},{value:"#EED5D2",name:"mistyrose 2"},{value:"#CDB7B5",name:"mistyrose 3"},{value:"#8B7D7B",name:"mistyrose 4"},{value:"#FFFAFA",name:"snow 1"},{value:"#FFFAFA",css:!0,name:"snow"},{value:"#EEE9E9",name:"snow 2"},{value:"#CDC9C9",name:"snow 3"},{value:"#8B8989",name:"snow 4"},{value:"#BC8F8F",css:!0,name:"rosybrown"},{value:"#FFC1C1",name:"rosybrown 1"},{value:"#EEB4B4",name:"rosybrown 2"},{value:"#CD9B9B",name:"rosybrown 3"},{value:"#8B6969",name:"rosybrown 4"},{value:"#F08080",css:!0,name:"lightcoral"},{value:"#CD5C5C",css:!0,name:"indianred"},{value:"#FF6A6A",name:"indianred 1"},{value:"#EE6363",name:"indianred 2"},{value:"#8B3A3A",name:"indianred 4"},{value:"#CD5555",name:"indianred 3"},{value:"#A52A2A",css:!0,name:"brown"},{value:"#FF4040",name:"brown 1"},{value:"#EE3B3B",name:"brown 2"},{value:"#CD3333",name:"brown 3"},{value:"#8B2323",name:"brown 4"},{value:"#B22222",css:!0,name:"firebrick"},{value:"#FF3030",name:"firebrick 1"},{value:"#EE2C2C",name:"firebrick 2"},{value:"#CD2626",name:"firebrick 3"},{value:"#8B1A1A",name:"firebrick 4"},{value:"#FF0000",vga:!0,name:"red 1"},{value:"#FF0000",vga:!0,css:!0,name:"red"},{value:"#EE0000",name:"red 2"},{value:"#CD0000",name:"red 3"},{value:"#8B0000",name:"red 4"},{value:"#8B0000",css:!0,name:"darkred"},{value:"#800000",vga:!0,css:!0,name:"maroon"},{value:"#8E388E",name:"sgi beet"},{value:"#7171C6",name:"sgi slateblue"},{value:"#7D9EC0",name:"sgi lightblue"},{value:"#388E8E",name:"sgi teal"},{value:"#71C671",name:"sgi chartreuse"},{value:"#8E8E38",name:"sgi olivedrab"},{value:"#C5C1AA",name:"sgi brightgray"},{value:"#C67171",name:"sgi salmon"},{value:"#555555",name:"sgi darkgray"},{value:"#1E1E1E",name:"sgi gray 12"},{value:"#282828",name:"sgi gray 16"},{value:"#515151",name:"sgi gray 32"},{value:"#5B5B5B",name:"sgi gray 36"},{value:"#848484",name:"sgi gray 52"},{value:"#8E8E8E",name:"sgi gray 56"},{value:"#AAAAAA",name:"sgi lightgray"},{value:"#B7B7B7",name:"sgi gray 72"},{value:"#C1C1C1",name:"sgi gray 76"},{value:"#EAEAEA",name:"sgi gray 92"},{value:"#F4F4F4",name:"sgi gray 96"},{value:"#FFFFFF",vga:!0,css:!0,name:"white"},{value:"#F5F5F5",name:"white smoke"},{value:"#F5F5F5",name:"gray 96"},{value:"#DCDCDC",css:!0,name:"gainsboro"},{value:"#D3D3D3",css:!0,name:"lightgrey"},{value:"#C0C0C0",vga:!0,css:!0,name:"silver"},{value:"#A9A9A9",css:!0,name:"darkgray"},{value:"#808080",vga:!0,css:!0,name:"gray"},{value:"#696969",css:!0,name:"dimgray"},{value:"#696969",name:"gray 42"},{value:"#000000",vga:!0,css:!0,name:"black"},{value:"#FCFCFC",name:"gray 99"},{value:"#FAFAFA",name:"gray 98"},{value:"#F7F7F7",name:"gray 97"},{value:"#F2F2F2",name:"gray 95"},{value:"#F0F0F0",name:"gray 94"},{value:"#EDEDED",name:"gray 93"},{value:"#EBEBEB",name:"gray 92"},{value:"#E8E8E8",name:"gray 91"},{value:"#E5E5E5",name:"gray 90"},{value:"#E3E3E3",name:"gray 89"},{value:"#E0E0E0",name:"gray 88"},{value:"#DEDEDE",name:"gray 87"},{value:"#DBDBDB",name:"gray 86"},{value:"#D9D9D9",name:"gray 85"},{value:"#D6D6D6",name:"gray 84"},{value:"#D4D4D4",name:"gray 83"},{value:"#D1D1D1",name:"gray 82"},{value:"#CFCFCF",name:"gray 81"},{value:"#CCCCCC",name:"gray 80"},{value:"#C9C9C9",name:"gray 79"},{value:"#C7C7C7",name:"gray 78"},{value:"#C4C4C4",name:"gray 77"},{value:"#C2C2C2",name:"gray 76"},{value:"#BFBFBF",name:"gray 75"},{value:"#BDBDBD",name:"gray 74"},{value:"#BABABA",name:"gray 73"},{value:"#B8B8B8",name:"gray 72"},{value:"#B5B5B5",name:"gray 71"},{value:"#B3B3B3",name:"gray 70"},{value:"#B0B0B0",name:"gray 69"},{value:"#ADADAD",name:"gray 68"},{value:"#ABABAB",name:"gray 67"},{value:"#A8A8A8",name:"gray 66"},{value:"#A6A6A6",name:"gray 65"},{value:"#A3A3A3",name:"gray 64"},{value:"#A1A1A1",name:"gray 63"},{value:"#9E9E9E",name:"gray 62"},{value:"#9C9C9C",name:"gray 61"},{value:"#999999",name:"gray 60"},{value:"#969696",name:"gray 59"},{value:"#949494",name:"gray 58"},{value:"#919191",name:"gray 57"},{value:"#8F8F8F",name:"gray 56"},{value:"#8C8C8C",name:"gray 55"},{value:"#8A8A8A",name:"gray 54"},{value:"#878787",name:"gray 53"},{value:"#858585",name:"gray 52"},{value:"#828282",name:"gray 51"},{value:"#7F7F7F",name:"gray 50"},{value:"#7D7D7D",name:"gray 49"},{value:"#7A7A7A",name:"gray 48"},{value:"#787878",name:"gray 47"},{value:"#757575",name:"gray 46"},{value:"#737373",name:"gray 45"},{value:"#707070",name:"gray 44"},{value:"#6E6E6E",name:"gray 43"},{value:"#666666",name:"gray 40"},{value:"#636363",name:"gray 39"},{value:"#616161",name:"gray 38"},{value:"#5E5E5E",name:"gray 37"},{value:"#5C5C5C",name:"gray 36"},{value:"#595959",name:"gray 35"},{value:"#575757",name:"gray 34"},{value:"#545454",name:"gray 33"},{value:"#525252",name:"gray 32"},{value:"#4F4F4F",name:"gray 31"},{value:"#4D4D4D",name:"gray 30"},{value:"#4A4A4A",name:"gray 29"},{value:"#474747",name:"gray 28"},{value:"#454545",name:"gray 27"},{value:"#424242",name:"gray 26"},{value:"#404040",name:"gray 25"},{value:"#3D3D3D",name:"gray 24"},{value:"#3B3B3B",name:"gray 23"},{value:"#383838",name:"gray 22"},{value:"#363636",name:"gray 21"},{value:"#333333",name:"gray 20"},{value:"#303030",name:"gray 19"},{value:"#2E2E2E",name:"gray 18"},{value:"#2B2B2B",name:"gray 17"},{value:"#292929",name:"gray 16"},{value:"#262626",name:"gray 15"},{value:"#242424",name:"gray 14"},{value:"#212121",name:"gray 13"},{value:"#1F1F1F",name:"gray 12"},{value:"#1C1C1C",name:"gray 11"},{value:"#1A1A1A",name:"gray 10"},{value:"#171717",name:"gray 9"},{value:"#141414",name:"gray 8"},{value:"#121212",name:"gray 7"},{value:"#0F0F0F",name:"gray 6"},{value:"#0D0D0D",name:"gray 5"},{value:"#0A0A0A",name:"gray 4"},{value:"#080808",name:"gray 3"},{value:"#050505",name:"gray 2"},{value:"#030303",name:"gray 1"},{value:"#F5F5F5",css:!0,name:"whitesmoke"}];(function(e){var t=$8,n=t.filter(function(o){return!!o.css}),r=t.filter(function(o){return!!o.vga});e.exports=function(o){var s=e.exports.get(o);return s&&s.value},e.exports.get=function(o){return o=o||"",o=o.trim().toLowerCase(),t.filter(function(s){return s.name.toLowerCase()===o}).pop()},e.exports.all=e.exports.get.all=function(){return t},e.exports.get.css=function(o){return o?(o=o||"",o=o.trim().toLowerCase(),n.filter(function(s){return s.name.toLowerCase()===o}).pop()):n},e.exports.get.vga=function(o){return o?(o=o||"",o=o.trim().toLowerCase(),r.filter(function(s){return s.name.toLowerCase()===o}).pop()):r}})(_v);var A8=1/0,T8="[object Symbol]",O8=/[^\x00-\x2f\x3a-\x40\x5b-\x60\x7b-\x7f]+/g,gv="\\ud800-\\udfff",P8="\\u0300-\\u036f\\ufe20-\\ufe23",D8="\\u20d0-\\u20f0",yv="\\u2700-\\u27bf",vv="a-z\\xdf-\\xf6\\xf8-\\xff",F8="\\xac\\xb1\\xd7\\xf7",I8="\\x00-\\x2f\\x3a-\\x40\\x5b-\\x60\\x7b-\\xbf",M8="\\u2000-\\u206f",L8=" \\t\\x0b\\f\\xa0\\ufeff\\n\\r\\u2028\\u2029\\u1680\\u180e\\u2000\\u2001\\u2002\\u2003\\u2004\\u2005\\u2006\\u2007\\u2008\\u2009\\u200a\\u202f\\u205f\\u3000",bv="A-Z\\xc0-\\xd6\\xd8-\\xde",R8="\\ufe0e\\ufe0f",wv=F8+I8+M8+L8,Cv="['\u2019]",gh="["+wv+"]",N8="["+P8+D8+"]",zv="\\d+",V8="["+yv+"]",xv="["+vv+"]",kv="[^"+gv+wv+zv+yv+vv+bv+"]",j8="\\ud83c[\\udffb-\\udfff]",B8="(?:"+N8+"|"+j8+")",H8="[^"+gv+"]",Sv="(?:\\ud83c[\\udde6-\\uddff]){2}",Ev="[\\ud800-\\udbff][\\udc00-\\udfff]",ss="["+bv+"]",U8="\\u200d",yh="(?:"+xv+"|"+kv+")",q8="(?:"+ss+"|"+kv+")",vh="(?:"+Cv+"(?:d|ll|m|re|s|t|ve))?",bh="(?:"+Cv+"(?:D|LL|M|RE|S|T|VE))?",$v=B8+"?",Av="["+R8+"]?",W8="(?:"+U8+"(?:"+[H8,Sv,Ev].join("|")+")"+Av+$v+")*",G8=Av+$v+W8,K8="(?:"+[V8,Sv,Ev].join("|")+")"+G8,Z8=RegExp([ss+"?"+xv+"+"+vh+"(?="+[gh,ss,"$"].join("|")+")",q8+"+"+bh+"(?="+[gh,ss+yh,"$"].join("|")+")",ss+"?"+yh+"+"+vh,ss+"+"+bh,zv,K8].join("|"),"g"),Y8=/[a-z][A-Z]|[A-Z]{2,}[a-z]|[0-9][a-zA-Z]|[a-zA-Z][0-9]|[^a-zA-Z0-9 ]/,J8=typeof an=="object"&&an&&an.Object===Object&&an,X8=typeof self=="object"&&self&&self.Object===Object&&self,Q8=J8||X8||Function("return this")();function eA(e){return e.match(O8)||[]}function tA(e){return Y8.test(e)}function nA(e){return e.match(Z8)||[]}var rA=Object.prototype,oA=rA.toString,wh=Q8.Symbol,Ch=wh?wh.prototype:void 0,zh=Ch?Ch.toString:void 0;function sA(e){if(typeof e=="string")return e;if(aA(e))return zh?zh.call(e):"";var t=e+"";return t=="0"&&1/e==-A8?"-0":t}function iA(e){return!!e&&typeof e=="object"}function aA(e){return typeof e=="symbol"||iA(e)&&oA.call(e)==T8}function lA(e){return e==null?"":sA(e)}function uA(e,t,n){return e=lA(e),t=n?void 0:t,t===void 0?tA(e)?nA(e):eA(e):e.match(t)||[]}var cA=uA,dA=1/0,mA="[object Symbol]",fA=/^\s+/,Fm="\\ud800-\\udfff",Tv="\\u0300-\\u036f\\ufe20-\\ufe23",Ov="\\u20d0-\\u20f0",Pv="\\ufe0e\\ufe0f",pA="["+Fm+"]",_d="["+Tv+Ov+"]",gd="\\ud83c[\\udffb-\\udfff]",hA="(?:"+_d+"|"+gd+")",Dv="[^"+Fm+"]",Fv="(?:\\ud83c[\\udde6-\\uddff]){2}",Iv="[\\ud800-\\udbff][\\udc00-\\udfff]",Mv="\\u200d",Lv=hA+"?",Rv="["+Pv+"]?",_A="(?:"+Mv+"(?:"+[Dv,Fv,Iv].join("|")+")"+Rv+Lv+")*",gA=Rv+Lv+_A,yA="(?:"+[Dv+_d+"?",_d,Fv,Iv,pA].join("|")+")",vA=RegExp(gd+"(?="+gd+")|"+yA+gA,"g"),bA=RegExp("["+Mv+Fm+Tv+Ov+Pv+"]"),wA=typeof an=="object"&&an&&an.Object===Object&&an,CA=typeof self=="object"&&self&&self.Object===Object&&self,zA=wA||CA||Function("return this")();function xA(e){return e.split("")}function kA(e,t,n,r){for(var o=e.length,s=n+(r?1:-1);r?s--:++s<o;)if(t(e[s],s,e))return s;return-1}function SA(e,t,n){if(t!==t)return kA(e,EA,n);for(var r=n-1,o=e.length;++r<o;)if(e[r]===t)return r;return-1}function EA(e){return e!==e}function $A(e,t){for(var n=-1,r=e.length;++n<r&&SA(t,e[n],0)>-1;);return n}function AA(e){return bA.test(e)}function xh(e){return AA(e)?TA(e):xA(e)}function TA(e){return e.match(vA)||[]}var OA=Object.prototype,PA=OA.toString,kh=zA.Symbol,Sh=kh?kh.prototype:void 0,Eh=Sh?Sh.toString:void 0;function DA(e,t,n){var r=-1,o=e.length;t<0&&(t=-t>o?0:o+t),n=n>o?o:n,n<0&&(n+=o),o=t>n?0:n-t>>>0,t>>>=0;for(var s=Array(o);++r<o;)s[r]=e[r+t];return s}function Nv(e){if(typeof e=="string")return e;if(MA(e))return Eh?Eh.call(e):"";var t=e+"";return t=="0"&&1/e==-dA?"-0":t}function FA(e,t,n){var r=e.length;return n=n===void 0?r:n,!t&&n>=r?e:DA(e,t,n)}function IA(e){return!!e&&typeof e=="object"}function MA(e){return typeof e=="symbol"||IA(e)&&PA.call(e)==mA}function LA(e){return e==null?"":Nv(e)}function RA(e,t,n){if(e=LA(e),e&&(n||t===void 0))return e.replace(fA,"");if(!e||!(t=Nv(t)))return e;var r=xh(e),o=$A(r,xh(t));return FA(r,o).join("")}var NA=RA,yd=1/0,VA=9007199254740991,jA=17976931348623157e292,$h=0/0,BA="[object Symbol]",HA=/^\s+|\s+$/g,UA=/^[-+]0x[0-9a-f]+$/i,qA=/^0b[01]+$/i,WA=/^0o[0-7]+$/i,Im="\\ud800-\\udfff",Vv="\\u0300-\\u036f\\ufe20-\\ufe23",jv="\\u20d0-\\u20f0",Bv="\\ufe0e\\ufe0f",GA="["+Im+"]",vd="["+Vv+jv+"]",bd="\\ud83c[\\udffb-\\udfff]",KA="(?:"+vd+"|"+bd+")",Hv="[^"+Im+"]",Uv="(?:\\ud83c[\\udde6-\\uddff]){2}",qv="[\\ud800-\\udbff][\\udc00-\\udfff]",Wv="\\u200d",Gv=KA+"?",Kv="["+Bv+"]?",ZA="(?:"+Wv+"(?:"+[Hv,Uv,qv].join("|")+")"+Kv+Gv+")*",YA=Kv+Gv+ZA,JA="(?:"+[Hv+vd+"?",vd,Uv,qv,GA].join("|")+")",wd=RegExp(bd+"(?="+bd+")|"+JA+YA,"g"),XA=RegExp("["+Wv+Im+Vv+jv+Bv+"]"),QA=parseInt,eT=typeof an=="object"&&an&&an.Object===Object&&an,tT=typeof self=="object"&&self&&self.Object===Object&&self,nT=eT||tT||Function("return this")(),rT=sT("length");function oT(e){return e.split("")}function sT(e){return function(t){return t==null?void 0:t[e]}}function Mm(e){return XA.test(e)}function Zv(e){return Mm(e)?aT(e):rT(e)}function iT(e){return Mm(e)?lT(e):oT(e)}function aT(e){for(var t=wd.lastIndex=0;wd.test(e);)t++;return t}function lT(e){return e.match(wd)||[]}var uT=Object.prototype,cT=uT.toString,Ah=nT.Symbol,dT=Math.ceil,mT=Math.floor,Th=Ah?Ah.prototype:void 0,Oh=Th?Th.toString:void 0;function Ph(e,t){var n="";if(!e||t<1||t>VA)return n;do t%2&&(n+=e),t=mT(t/2),t&&(e+=e);while(t);return n}function fT(e,t,n){var r=-1,o=e.length;t<0&&(t=-t>o?0:o+t),n=n>o?o:n,n<0&&(n+=o),o=t>n?0:n-t>>>0,t>>>=0;for(var s=Array(o);++r<o;)s[r]=e[r+t];return s}function Yv(e){if(typeof e=="string")return e;if(Jv(e))return Oh?Oh.call(e):"";var t=e+"";return t=="0"&&1/e==-yd?"-0":t}function pT(e,t,n){var r=e.length;return n=n===void 0?r:n,!t&&n>=r?e:fT(e,t,n)}function hT(e,t){t=t===void 0?" ":Yv(t);var n=t.length;if(n<2)return n?Ph(t,e):t;var r=Ph(t,dT(e/Zv(t)));return Mm(t)?pT(iT(r),0,e).join(""):r.slice(0,e)}function Dh(e){var t=typeof e;return!!e&&(t=="object"||t=="function")}function _T(e){return!!e&&typeof e=="object"}function Jv(e){return typeof e=="symbol"||_T(e)&&cT.call(e)==BA}function gT(e){if(!e)return e===0?e:0;if(e=vT(e),e===yd||e===-yd){var t=e<0?-1:1;return t*jA}return e===e?e:0}function yT(e){var t=gT(e),n=t%1;return t===t?n?t-n:t:0}function vT(e){if(typeof e=="number")return e;if(Jv(e))return $h;if(Dh(e)){var t=typeof e.valueOf=="function"?e.valueOf():e;e=Dh(t)?t+"":t}if(typeof e!="string")return e===0?e:+e;e=e.replace(HA,"");var n=qA.test(e);return n||WA.test(e)?QA(e.slice(2),n?2:8):UA.test(e)?$h:+e}function bT(e){return e==null?"":Yv(e)}function wT(e,t,n){e=bT(e),t=yT(t);var r=t?Zv(e):0;return t&&r<t?e+hT(t-r,n):e}var CT=wT,zT=(e,t,n,r)=>{const o=(e+(r||"")).toString().includes("%");if(typeof e=="string"?[e,t,n,r]=e.match(/(0?\.?\d{1,3})%?\b/g).map(Number):r!==void 0&&(r=parseFloat(r)),typeof e!="number"||typeof t!="number"||typeof n!="number"||e>255||t>255||n>255)throw new TypeError("Expected three numbers below 256");if(typeof r=="number"){if(!o&&r>=0&&r<=1)r=Math.round(255*r);else if(o&&r>=0&&r<=100)r=Math.round(255*r/100);else throw new TypeError(`Expected alpha value (${r}) as a fraction or percentage`);r=(r|1<<8).toString(16).slice(1)}else r="";return(n|t<<8|e<<16|1<<24).toString(16).slice(1)+r};const Li="a-f\\d",xT=`#?[${Li}]{3}[${Li}]?`,kT=`#?[${Li}]{6}([${Li}]{2})?`,ST=new RegExp(`[^#${Li}]`,"gi"),ET=new RegExp(`^${xT}$|^${kT}$`,"i");var $T=(e,t={})=>{if(typeof e!="string"||ST.test(e)||!ET.test(e))throw new TypeError("Expected a valid hex string");e=e.replace(/^#/,"");let n=1;e.length===8&&(n=Number.parseInt(e.slice(6,8),16)/255,e=e.slice(0,6)),e.length===4&&(n=Number.parseInt(e.slice(3,4).repeat(2),16)/255,e=e.slice(0,3)),e.length===3&&(e=e[0]+e[0]+e[1]+e[1]+e[2]+e[2]);const r=Number.parseInt(e,16),o=r>>16,s=r>>8&255,i=r&255,a=typeof t.alpha=="number"?t.alpha:n;if(t.format==="array")return[o,s,i,a];if(t.format==="css"){const l=a===1?"":` / ${Number((a*100).toFixed(2))}%`;return`rgb(${o} ${s} ${i}${l})`}return{red:o,green:s,blue:i,alpha:a}},AT=_v.exports,TT=cA,OT=NA,PT=CT,DT=zT,Xv=$T;const hc=.75,_c=.25,gc=16777215,FT=49979693;var IT=function(e){return"#"+RT(String(JSON.stringify(e)))};function MT(e){var t=TT(e),n=[];return t.forEach(function(r){var o=AT(r);o&&n.push(Xv(OT(o,"#"),{format:"array"}))}),n}function LT(e){var t=[0,0,0];return e.forEach(function(n){for(var r=0;r<3;r++)t[r]+=n[r]}),[t[0]/e.length,t[1]/e.length,t[2]/e.length]}function RT(e){var t,n=MT(e);n.length>0&&(t=LT(n));var r=1,o=0,s=1;if(e.length>0)for(var i=0;i<e.length;i++)e[i].charCodeAt(0)>o&&(o=e[i].charCodeAt(0)),s=parseInt(gc/o),r=(r+e[i].charCodeAt(0)*s*FT)%gc;var a=(r*e.length%gc).toString(16);a=PT(a,6,a);var l=Xv(a,{format:"array"});return t?DT(_c*l[0]+hc*t[0],_c*l[1]+hc*t[1],_c*l[2]+hc*t[2]):a}function NT(e){const t=e.replace(/#/,""),n=parseInt(t.substr(0,2),16),r=parseInt(t.substr(2,2),16),o=parseInt(t.substr(4,2),16);return[.299*n,.587*r,.114*o].reduce((i,a)=>i+a)/255>.5}function VT(e){return NT(e)?"#000000":"#ffffff"}function jT(e){const t='<svg width="'+e.width+'" height="'+e.height+'" xmlns="http://www.w3.org/2000/svg" viewBox="0 0 '+e.width+" "+e.height+'" preserveAspectRatio="none"><defs><style type="text/css"> #holder text { fill: '+e.textColor+"; font-family: "+e.fontFamily+"; font-size: "+e.fontSize+"px; font-weight: "+e.fontWeight+'; } </style></defs><g id="holder"> <rect width="100%" height="100%" fill="'+e.backgroundColor+'"></rect> <g> <text text-anchor="middle" x="50%" y="50%" dy=".3em">'+e.caption+"</text> </g></g></svg>";return"data:image/svg+xml;charset=UTF-8,"+encodeURIComponent(t)}function Qv(e,t,n){const r=IT(t),o=VT(r),s={width:n.width,height:n.height,textColor:o,backgroundColor:r,caption:e,fontFamily:n.font_family,fontSize:n.font_size,fontWeight:n.font_weight};return jT(s)}const BT={name:"CoverArtwork",props:["artist","album","artwork_url","maxwidth","maxheight"],emits:["click"],data(){return{width:600,height:600,font_family:"sans-serif",font_size:200,font_weight:600,lazy_lifecycle:{error:e=>{e.src=this.dataURI()}}}},computed:{artwork_url_with_size:function(){return this.maxwidth>0&&this.maxheight>0?Z.artwork_url_append_size_params(this.artwork_url,this.maxwidth,this.maxheight):Z.artwork_url_append_size_params(this.artwork_url)},alt_text(){return this.artist+" - "+this.album},caption(){return this.album?this.album.substring(0,2):this.artist?this.artist.substring(0,2):""}},methods:{dataURI:function(){return Qv(this.caption,this.alt_text,{width:this.width,height:this.height,font_family:this.font_family,font_size:this.font_size,font_weight:this.font_weight})}}};function HT(e,t,n,r,o,s){const i=au("lazy");return S(),D("figure",null,[kt(u("img",{onClick:t[0]||(t[0]=a=>e.$emit("click"))},null,512),[[i,{src:s.artwork_url_with_size,lifecycle:o.lazy_lifecycle}]])])}var Ir=ve(BT,[["render",HT]]);const UT={name:"PageNowPlaying",components:{ModalDialogQueueItem:nv,Slider:Mi,CoverArtwork:Ir},data(){return{item_progress_ms:0,interval_id:0,is_dragged:!1,show_details_modal:!1,selected_item:{}}},computed:{state(){return this.$store.state.player},now_playing(){return this.$store.getters.now_playing},settings_option_show_composer_now_playing(){return this.$store.getters.settings_option_show_composer_now_playing},settings_option_show_composer_for_genre(){return this.$store.getters.settings_option_show_composer_for_genre},composer(){return this.settings_option_show_composer_now_playing&&(!this.settings_option_show_composer_for_genre||this.now_playing.genre&&this.settings_option_show_composer_for_genre.toLowerCase().split(",").findIndex(e=>this.now_playing.genre.toLowerCase().indexOf(e.trim())>=0)>=0)?this.now_playing.composer:null},settings_option_show_filepath_now_playing(){return this.$store.getters.settings_option_show_filepath_now_playing},filepath(){return this.settings_option_show_filepath_now_playing?this.now_playing.path:null}},watch:{state(){this.interval_id>0&&(window.clearTimeout(this.interval_id),this.interval_id=0),this.item_progress_ms=this.state.item_progress_ms,this.state.state==="play"&&(this.interval_id=window.setInterval(this.tick,1e3))}},mounted:function(){console.log(this.$refs.slider)},created(){this.item_progress_ms=this.state.item_progress_ms,Z.player_status().then(({data:e})=>{this.$store.commit(fm,e),this.state.state==="play"&&(this.interval_id=window.setInterval(this.tick,1e3))})},unmounted(){this.interval_id>0&&(window.clearTimeout(this.interval_id),this.interval_id=0)},methods:{tick:function(){this.is_dragged||(this.item_progress_ms+=1e3)},start_dragging:function(){console.log("@start"),this.is_dragged=!0},end_dragging:function(){console.log("@end"),this.is_dragged=!1},seek:function(e){Z.player_seek_to_pos(e).catch(()=>{this.item_progress_ms=this.state.item_progress_ms})},open_dialog:function(e){this.selected_item=e,this.show_details_modal=!0}}},qT={key:0,class:"fd-is-fullheight"},WT={class:"fd-is-expanded"},GT={class:"fd-has-padding-left-right"},KT={class:"container has-text-centered"},ZT={class:"control has-text-centered fd-progress-now-playing"},YT={class:"content"},JT=["textContent"],XT={class:"fd-has-padding-left-right"},QT={class:"container has-text-centered fd-has-margin-top"},eO=["textContent"],tO=["textContent"],nO=["textContent"],rO=["textContent"],oO=["textContent"],sO={key:1,class:"fd-is-fullheight"},iO={class:"fd-is-expanded fd-has-padding-left-right",style:{"flex-direction":"column"}},aO={class:"content has-text-centered"},lO=["textContent"],uO=["textContent"];function cO(e,t,n,r,o,s){const i=O("cover-artwork"),a=O("Slider"),l=O("modal-dialog-queue-item");return S(),D("section",null,[s.now_playing.id>0?(S(),D("div",qT,[u("div",WT,[C(i,{artwork_url:s.now_playing.artwork_url,artist:s.now_playing.artist,album:s.now_playing.album,class:"fd-cover-image fd-has-action",onClick:t[0]||(t[0]=c=>s.open_dialog(s.now_playing))},null,8,["artwork_url","artist","album"])]),u("div",GT,[u("div",KT,[u("p",ZT,[C(a,{ref:"slider",modelValue:o.item_progress_ms,"onUpdate:modelValue":t[1]||(t[1]=c=>o.item_progress_ms=c),min:0,max:s.state.item_length_ms,step:1e3,tooltips:!1,disabled:s.state.state==="stop",classes:{target:"seek-slider"},onChange:s.seek,onStart:s.start_dragging,onEnd:s.end_dragging},null,8,["modelValue","max","disabled","onChange","onStart","onEnd"])]),u("p",YT,[u("span",{textContent:v([e.$filters.durationInHours(o.item_progress_ms),e.$filters.durationInHours(s.now_playing.length_ms)].join(" / "))},null,8,JT)])])]),u("div",XT,[u("div",QT,[u("h1",{class:"title is-5",textContent:v(s.now_playing.title)},null,8,eO),u("h2",{class:"title is-6",textContent:v(s.now_playing.artist)},null,8,tO),s.composer?(S(),D("h2",{key:0,class:"subtitle is-6 has-text-grey has-text-weight-bold",textContent:v(s.composer)},null,8,nO)):X("",!0),u("h3",{class:"subtitle is-6",textContent:v(s.now_playing.album)},null,8,rO),s.filepath?(S(),D("h3",{key:1,class:"subtitle is-6 has-text-grey",textContent:v(s.filepath)},null,8,oO)):X("",!0)])])])):(S(),D("div",sO,[u("div",iO,[u("div",aO,[u("h1",{class:"title is-5",textContent:v(e.$t("page.now-playing.title"))},null,8,lO),u("p",{textContent:v(e.$t("page.now-playing.info"))},null,8,uO)])])])),C(l,{show:o.show_details_modal,item:o.selected_item,onClose:t[2]||(t[2]=c=>o.show_details_modal=!1)},null,8,["show","item"])])}var dO=ve(UT,[["render",cO]]);const mO={name:"TabsMusic",computed:{spotify_enabled(){return this.$store.state.spotify.webapi_token_valid}}},fO={class:"section fd-tabs-section"},pO={class:"container"},hO={class:"columns is-centered"},_O={class:"column is-four-fifths"},gO={class:"tabs is-centered is-small"},yO=["onClick","onKeypress"],vO={class:"icon is-small"},bO=["textContent"],wO=["onClick","onKeypress"],CO={class:"icon is-small"},zO=["textContent"],xO=["onClick","onKeypress"],kO={class:"icon is-small"},SO=["textContent"],EO=["onClick","onKeypress"],$O={class:"icon is-small"},AO=["textContent"],TO=["onClick","onKeypress"],OO={class:"icon is-small"},PO=["textContent"],DO=["onClick","onKeypress"],FO={class:"icon is-small"},IO=["textContent"];function MO(e,t,n,r,o,s){const i=O("mdicon"),a=O("router-link");return S(),D("section",fO,[u("div",pO,[u("div",hO,[u("div",_O,[u("div",gO,[u("ul",null,[C(a,{to:"/music/browse",custom:""},{default:P(({navigate:l,isActive:c})=>[u("li",{class:Ye({"is-active":c})},[u("a",{onClick:l,onKeypress:Dn(l,["enter"])},[u("span",vO,[C(i,{name:"web",size:"16"})]),u("span",{textContent:v(e.$t("page.browse.tabs.browse"))},null,8,bO)],40,yO)],2)]),_:1}),C(a,{to:"/music/artists",custom:""},{default:P(({navigate:l,isActive:c})=>[u("li",{class:Ye({"is-active":c})},[u("a",{onClick:l,onKeypress:Dn(l,["enter"])},[u("span",CO,[C(i,{name:"account-music",size:"16"})]),u("span",{textContent:v(e.$t("page.browse.tabs.artists"))},null,8,zO)],40,wO)],2)]),_:1}),C(a,{to:"/music/albums",custom:""},{default:P(({navigate:l,isActive:c})=>[u("li",{class:Ye({"is-active":c})},[u("a",{onClick:l,onKeypress:Dn(l,["enter"])},[u("span",kO,[C(i,{name:"album",size:"16"})]),u("span",{textContent:v(e.$t("page.browse.tabs.albums"))},null,8,SO)],40,xO)],2)]),_:1}),C(a,{to:"/music/genres",custom:""},{default:P(({navigate:l,isActive:c})=>[u("li",{class:Ye({"is-active":c})},[u("a",{onClick:l,onKeypress:Dn(l,["enter"])},[u("span",$O,[C(i,{name:"speaker",size:"16"})]),u("span",{textContent:v(e.$t("page.browse.tabs.genres"))},null,8,AO)],40,EO)],2)]),_:1}),C(a,{to:"/music/composers",custom:""},{default:P(({navigate:l,isActive:c})=>[u("li",{class:Ye({"is-active":c})},[u("a",{onClick:l,onKeypress:Dn(l,["enter"])},[u("span",OO,[C(i,{name:"book-open-page-variant",size:"16"})]),u("span",{textContent:v(e.$t("page.browse.tabs.composers"))},null,8,PO)],40,TO)],2)]),_:1}),s.spotify_enabled?(S(),xe(a,{key:0,to:"/music/spotify",custom:""},{default:P(({navigate:l,isActive:c})=>[u("li",{class:Ye({"is-active":c})},[u("a",{onClick:l,onKeypress:Dn(l,["enter"])},[u("span",FO,[C(i,{name:"spotify",size:"16"})]),u("span",{textContent:v(e.$t("page.browse.tabs.spotify"))},null,8,IO)],40,DO)],2)]),_:1})):X("",!0)])])])])])])}var vr=ve(mO,[["render",MO]]);const LO={name:"ModalDialogAlbum",components:{CoverArtwork:Ir},props:["show","album","media_kind","new_tracks"],emits:["close","remove-podcast","play-count-changed"],data(){return{artwork_visible:!1}},computed:{artwork_url:function(){return Z.artwork_url_append_size_params(this.album.artwork_url)},media_kind_resolved:function(){return this.media_kind?this.media_kind:this.album.media_kind}},methods:{play:function(){this.$emit("close"),Z.player_play_uri(this.album.uri,!1)},queue_add:function(){this.$emit("close"),Z.queue_add(this.album.uri)},queue_add_next:function(){this.$emit("close"),Z.queue_add_next(this.album.uri)},open_album:function(){this.media_kind_resolved==="podcast"?this.$router.push({path:"/podcasts/"+this.album.id}):this.media_kind_resolved==="audiobook"?this.$router.push({path:"/audiobooks/"+this.album.id}):this.$router.push({path:"/music/albums/"+this.album.id})},open_artist:function(){this.media_kind_resolved==="podcast"||(this.media_kind_resolved==="audiobook"?this.$router.push({path:"/audiobooks/artists/"+this.album.artist_id}):this.$router.push({path:"/music/artists/"+this.album.artist_id}))},mark_played:function(){Z.library_album_track_update(this.album.id,{play_count:"played"}).then(({data:e})=>{this.$emit("play-count-changed"),this.$emit("close")})},artwork_loaded:function(){this.artwork_visible=!0},artwork_error:function(){this.artwork_visible=!1}}},RO={key:0,class:"modal is-active"},NO={class:"modal-content fd-modal-card"},VO={class:"card"},jO={class:"card-content"},BO={class:"title is-4"},HO=["textContent"],UO={key:0,class:"buttons"},qO=["textContent"],WO=["textContent"],GO={class:"content is-small"},KO={key:0},ZO=["textContent"],YO=["textContent"],JO={key:1},XO=["textContent"],QO=["textContent"],e6={key:2},t6=["textContent"],n6=["textContent"],r6=["textContent"],o6=["textContent"],s6=["textContent"],i6=["textContent"],a6=["textContent"],l6=["textContent"],u6=["textContent"],c6=["textContent"],d6={class:"card-footer"},m6={class:"icon"},f6=["textContent"],p6={class:"icon"},h6=["textContent"],_6={class:"icon"},g6=["textContent"];function y6(e,t,n,r,o,s){const i=O("cover-artwork"),a=O("mdicon");return S(),D("div",null,[C(Wt,{name:"fade"},{default:P(()=>[n.show?(S(),D("div",RO,[u("div",{class:"modal-background",onClick:t[0]||(t[0]=l=>e.$emit("close"))}),u("div",NO,[u("div",VO,[u("div",jO,[C(i,{artwork_url:n.album.artwork_url,artist:n.album.artist,album:n.album.name,class:"image is-square fd-has-margin-bottom fd-has-shadow"},null,8,["artwork_url","artist","album"]),u("p",BO,[u("a",{class:"has-text-link",onClick:t[1]||(t[1]=(...l)=>s.open_album&&s.open_album(...l)),textContent:v(n.album.name)},null,8,HO)]),s.media_kind_resolved==="podcast"?(S(),D("div",UO,[u("a",{class:"button is-small",onClick:t[2]||(t[2]=(...l)=>s.mark_played&&s.mark_played(...l)),textContent:v(e.$t("dialog.album.mark-as-played"))},null,8,qO),n.album.data_kind==="url"?(S(),D("a",{key:0,class:"button is-small",onClick:t[3]||(t[3]=l=>e.$emit("remove-podcast")),textContent:v(e.$t("dialog.album.remove-podcast"))},null,8,WO)):X("",!0)])):X("",!0),u("div",GO,[n.album.artist?(S(),D("p",KO,[u("span",{class:"heading",textContent:v(e.$t("dialog.album.artist"))},null,8,ZO),u("a",{class:"title is-6 has-text-link",onClick:t[4]||(t[4]=(...l)=>s.open_artist&&s.open_artist(...l)),textContent:v(n.album.artist)},null,8,YO)])):X("",!0),n.album.date_released?(S(),D("p",JO,[u("span",{class:"heading",textContent:v(e.$t("dialog.album.release-date"))},null,8,XO),u("span",{class:"title is-6",textContent:v(e.$filters.date(n.album.date_released))},null,8,QO)])):n.album.year>0?(S(),D("p",e6,[u("span",{class:"heading",textContent:v(e.$t("dialog.album.year"))},null,8,t6),u("span",{class:"title is-6",textContent:v(n.album.year)},null,8,n6)])):X("",!0),u("p",null,[u("span",{class:"heading",textContent:v(e.$t("dialog.album.tracks"))},null,8,r6),u("span",{class:"title is-6",textContent:v(n.album.track_count)},null,8,o6)]),u("p",null,[u("span",{class:"heading",textContent:v(e.$t("dialog.album.duration"))},null,8,s6),u("span",{class:"title is-6",textContent:v(e.$filters.durationInHours(n.album.length_ms))},null,8,i6)]),u("p",null,[u("span",{class:"heading",textContent:v(e.$t("dialog.album.type"))},null,8,a6),u("span",{class:"title is-6",textContent:v([e.$t("media.kind."+n.album.media_kind),e.$t("data.kind."+n.album.data_kind)].join(" - "))},null,8,l6)]),u("p",null,[u("span",{class:"heading",textContent:v(e.$t("dialog.album.added-on"))},null,8,u6),u("span",{class:"title is-6",textContent:v(e.$filters.datetime(n.album.time_added))},null,8,c6)])])]),u("footer",d6,[u("a",{class:"card-footer-item has-text-dark",onClick:t[5]||(t[5]=(...l)=>s.queue_add&&s.queue_add(...l))},[u("span",m6,[C(a,{name:"playlist-plus",size:"16"})]),u("span",{class:"is-size-7",textContent:v(e.$t("dialog.album.add"))},null,8,f6)]),u("a",{class:"card-footer-item has-text-dark",onClick:t[6]||(t[6]=(...l)=>s.queue_add_next&&s.queue_add_next(...l))},[u("span",p6,[C(a,{name:"playlist-play",size:"16"})]),u("span",{class:"is-size-7",textContent:v(e.$t("dialog.album.add-next"))},null,8,h6)]),u("a",{class:"card-footer-item has-text-dark",onClick:t[7]||(t[7]=(...l)=>s.play&&s.play(...l))},[u("span",_6,[C(a,{name:"play",size:"16"})]),u("span",{class:"is-size-7",textContent:v(e.$t("dialog.album.play"))},null,8,g6)])])])]),u("button",{class:"modal-close is-large","aria-label":"close",onClick:t[8]||(t[8]=l=>e.$emit("close"))})])):X("",!0)]),_:1})])}var Cu=ve(LO,[["render",y6]]);const v6={name:"ModalDialog",props:["show","title","ok_action","delete_action","close_action"],emits:["delete","close","ok"]},b6={key:0,class:"modal is-active"},w6={class:"modal-content fd-modal-card"},C6={class:"card"},z6={class:"card-content"},x6=["textContent"],k6={class:"card-footer"},S6={class:"icon"},E6=["textContent"],$6={class:"icon"},A6=["textContent"],T6={class:"icon"},O6=["textContent"];function P6(e,t,n,r,o,s){const i=O("mdicon");return S(),D("div",null,[C(Wt,{name:"fade"},{default:P(()=>[n.show?(S(),D("div",b6,[u("div",{class:"modal-background",onClick:t[0]||(t[0]=a=>e.$emit("close"))}),u("div",w6,[u("div",C6,[u("div",z6,[n.title?(S(),D("p",{key:0,class:"title is-4",textContent:v(n.title)},null,8,x6)):X("",!0),xt(e.$slots,"modal-content")]),u("footer",k6,[u("a",{class:"card-footer-item has-text-dark",onClick:t[1]||(t[1]=a=>e.$emit("close"))},[u("span",S6,[C(i,{name:"cancel",size:"16"})]),u("span",{class:"is-size-7",textContent:v(n.close_action?n.close_action:e.$t("dialog.cancel"))},null,8,E6)]),n.delete_action?(S(),D("a",{key:0,class:"card-footer-item has-background-danger has-text-white has-text-weight-bold",onClick:t[2]||(t[2]=a=>e.$emit("delete"))},[u("span",$6,[C(i,{name:"delete",size:"16"})]),u("span",{class:"is-size-7",textContent:v(n.delete_action)},null,8,A6)])):X("",!0),n.ok_action?(S(),D("a",{key:1,class:"card-footer-item has-background-info has-text-white has-text-weight-bold",onClick:t[3]||(t[3]=a=>e.$emit("ok"))},[u("span",T6,[C(i,{name:"check",size:"16"})]),u("span",{class:"is-size-7",textContent:v(n.ok_action)},null,8,O6)])):X("",!0)])])]),u("button",{class:"modal-close is-large","aria-label":"close",onClick:t[4]||(t[4]=a=>e.$emit("close"))})])):X("",!0)]),_:3})])}var Lm=ve(v6,[["render",P6]]);const D6={name:"ListAlbums",components:{ModalDialogAlbum:Cu,ModalDialog:Lm},props:["albums","media_kind","hide_group_title"],emits:["play-count-changed","podcast-deleted"],data(){return{show_details_modal:!1,selected_album:{},show_remove_podcast_modal:!1,rss_playlist_to_remove:{},artwork_options:{width:600,height:600,font_family:"sans-serif",font_size:200,font_weight:600,lazy_lifecycle:{error:e=>{e.src=this.dataURI(e.attributes.album.value,e.attributes.artist.value)}}}}},computed:{is_visible_artwork(){return this.$store.getters.settings_option("webinterface","show_cover_artwork_in_album_lists").value},media_kind_resolved:function(){return this.media_kind?this.media_kind:this.selected_album.media_kind}},methods:{open_album:function(e){this.selected_album=e,this.media_kind_resolved==="podcast"?this.$router.push({path:"/podcasts/"+e.id}):this.media_kind_resolved==="audiobook"?this.$router.push({path:"/audiobooks/"+e.id}):this.$router.push({path:"/music/albums/"+e.id})},open_dialog:function(e){this.selected_album=e,this.show_details_modal=!0},open_remove_podcast_dialog:function(){Z.library_album_tracks(this.selected_album.id,{limit:1}).then(({data:e})=>{Z.library_track_playlists(e.items[0].id).then(({data:t})=>{this.rss_playlist_to_remove=t.items.filter(n=>n.type==="rss")[0],this.show_remove_podcast_modal=!0,this.show_details_modal=!1})})},play_count_changed:function(){this.$emit("play-count-changed")},remove_podcast:function(){this.show_remove_podcast_modal=!1,Z.library_playlist_delete(this.rss_playlist_to_remove.id).then(()=>{this.$emit("podcast-deleted")})},artwork_url_with_size:function(e){return this.artwork_options.width>0&&this.artwork_options.height>0?Z.artwork_url_append_size_params(e,this.artwork_options.width,this.artwork_options.height):Z.artwork_url_append_size_params(e)},alt_text(e,t){return t+" - "+e},caption(e,t){return e?e.substring(0,2):t?t.substring(0,2):""},dataURI:function(e,t){const n=this.caption(e,t),r=this.alt_text(e,t);return Qv(n,r,{width:this.artwork_options.width,height:this.artwork_options.height,font_family:this.artwork_options.font_family,font_size:this.artwork_options.font_size,font_weight:this.artwork_options.font_weight})}}},F6={key:0,class:"mt-6 mb-5 py-2"},I6=["id","textContent"],M6=["onClick"],L6={key:0,class:"media-left fd-has-action"},R6={class:"image is-64x64 fd-has-shadow fd-has-action"},N6=["album","artist"],V6={class:"media-content fd-has-action is-clipped"},j6={style:{"margin-top":"0.7rem"}},B6=["textContent"],H6={class:"subtitle is-7 has-text-grey"},U6=["textContent"],q6=["textContent"],W6={class:"media-right",style:{"padding-top":"0.7rem"}},G6=["onClick"],K6={class:"icon has-text-dark"},Z6=["textContent"],Y6={class:"is-size-7"},J6=vt(" ("),X6=["textContent"],Q6=["textContent"],e3=vt(") ");function t3(e,t,n,r,o,s){const i=O("mdicon"),a=O("modal-dialog-album"),l=O("modal-dialog"),c=au("lazy");return S(),D(Ge,null,[(S(!0),D(Ge,null,Ct(n.albums,d=>(S(),D(Ge,{key:d.itemId},[!d.isItem&&!n.hide_group_title?(S(),D("div",F6,[u("span",{id:"index_"+d.groupKey,class:"tag is-info is-light is-small has-text-weight-bold",textContent:v(d.groupKey)},null,8,I6)])):d.isItem?(S(),D("div",{key:1,class:"media",onClick:f=>s.open_album(d.item)},[s.is_visible_artwork?(S(),D("div",L6,[u("div",R6,[u("figure",null,[kt(u("img",{album:d.item.name,artist:d.item.artist},null,8,N6),[[c,{src:s.artwork_url_with_size(d.item.artwork_url),lifecycle:o.artwork_options.lazy_lifecycle,delay:500}]])])])])):X("",!0),u("div",V6,[u("div",j6,[u("h1",{class:"title is-6",textContent:v(d.item.name)},null,8,B6),u("h2",H6,[u("b",{textContent:v(d.item.artist)},null,8,U6)]),d.item.date_released&&d.item.media_kind==="music"?(S(),D("h2",{key:0,class:"subtitle is-7 has-text-grey has-text-weight-normal",textContent:v(e.$filters.date(d.item.date_released))},null,8,q6)):X("",!0)])]),u("div",W6,[u("a",{onClick:_t(f=>s.open_dialog(d.item),["prevent","stop"])},[u("span",K6,[C(i,{name:"dots-vertical",size:"16"})])],8,G6)])],8,M6)):X("",!0)],64))),128)),(S(),xe(lo,{to:"#app"},[C(a,{show:o.show_details_modal,album:o.selected_album,media_kind:n.media_kind,onRemovePodcast:t[0]||(t[0]=d=>s.open_remove_podcast_dialog()),onPlayCountChanged:t[1]||(t[1]=d=>s.play_count_changed()),onClose:t[2]||(t[2]=d=>o.show_details_modal=!1)},null,8,["show","album","media_kind"]),C(l,{show:o.show_remove_podcast_modal,title:e.$t("page.podcast.remove-podcast"),delete_action:e.$t("page.podcast.remove"),onClose:t[3]||(t[3]=d=>o.show_remove_podcast_modal=!1),onDelete:s.remove_podcast},{"modal-content":P(()=>[u("p",{textContent:v(e.$t("list.albums.info-1"))},null,8,Z6),u("p",Y6,[J6,u("span",{textContent:v(e.$t("list.albums.info-2"))},null,8,X6),u("b",{textContent:v(o.rss_playlist_to_remove.name)},null,8,Q6),e3])]),_:1},8,["show","title","delete_action","onDelete"])]))],64)}var br=ve(D6,[["render",t3]]);const n3={name:"ModalDialogTrack",props:["show","track"],emits:["close","play-count-changed"],data(){return{spotify_track:{}}},watch:{track(){if(this.track&&this.track.data_kind==="spotify"){const e=new ur;e.setAccessToken(this.$store.state.spotify.webapi_token),e.getTrack(this.track.path.slice(this.track.path.lastIndexOf(":")+1)).then(t=>{this.spotify_track=t})}else this.spotify_track={}}},methods:{play_track:function(){this.$emit("close"),Z.player_play_uri(this.track.uri,!1)},queue_add:function(){this.$emit("close"),Z.queue_add(this.track.uri)},queue_add_next:function(){this.$emit("close"),Z.queue_add_next(this.track.uri)},open_album:function(){this.$emit("close"),this.track.media_kind==="podcast"?this.$router.push({path:"/podcasts/"+this.track.album_id}):this.track.media_kind==="audiobook"?this.$router.push({path:"/audiobooks/"+this.track.album_id}):this.$router.push({path:"/music/albums/"+this.track.album_id})},open_artist:function(){this.$emit("close"),this.$router.push({path:"/music/artists/"+this.track.album_artist_id})},open_genre:function(){this.$router.push({name:"Genre",params:{genre:this.track.genre}})},open_spotify_artist:function(){this.$emit("close"),this.$router.push({path:"/music/spotify/artists/"+this.spotify_track.artists[0].id})},open_spotify_album:function(){this.$emit("close"),this.$router.push({path:"/music/spotify/albums/"+this.spotify_track.album.id})},mark_new:function(){Z.library_track_update(this.track.id,{play_count:"reset"}).then(()=>{this.$emit("play-count-changed"),this.$emit("close")})},mark_played:function(){Z.library_track_update(this.track.id,{play_count:"increment"}).then(()=>{this.$emit("play-count-changed"),this.$emit("close")})}}},r3={key:0,class:"modal is-active"},o3={class:"modal-content fd-modal-card"},s3={class:"card"},i3={class:"card-content"},a3=["textContent"],l3=["textContent"],u3={key:0,class:"buttons"},c3=["textContent"],d3=["textContent"],m3={class:"content is-small"},f3=["textContent"],p3=["textContent"],h3={key:0},_3=["textContent"],g3=["textContent"],y3={key:1},v3=["textContent"],b3=["textContent"],w3={key:2},C3=["textContent"],z3=["textContent"],x3={key:3},k3=["textContent"],S3=["textContent"],E3={key:4},$3=["textContent"],A3=["textContent"],T3=["textContent"],O3=["textContent"],P3=["textContent"],D3=["textContent"],F3=["textContent"],I3=["textContent"],M3=["textContent"],L3={class:"title is-6"},R3=["textContent"],N3={key:0,class:"has-text-weight-normal"},V3=vt(" ("),j3=["textContent"],B3=vt(", "),H3=["textContent"],U3=vt(") "),q3=["textContent"],W3={class:"title is-6"},G3=["textContent"],K3=["textContent"],Z3=["textContent"],Y3=["textContent"],J3=["textContent"],X3=["textContent"],Q3=["textContent"],e4=["textContent"],t4={key:5},n4=["textContent"],r4=["textContent"],o4={class:"card-footer"},s4={class:"icon"},i4=["textContent"],a4={class:"icon"},l4=["textContent"],u4={class:"icon"},c4=["textContent"];function d4(e,t,n,r,o,s){const i=O("mdicon");return S(),D("div",null,[C(Wt,{name:"fade"},{default:P(()=>[n.show?(S(),D("div",r3,[u("div",{class:"modal-background",onClick:t[0]||(t[0]=a=>e.$emit("close"))}),u("div",o3,[u("div",s3,[u("div",i3,[u("p",{class:"title is-4",textContent:v(n.track.title)},null,8,a3),u("p",{class:"subtitle",textContent:v(n.track.artist)},null,8,l3),n.track.media_kind==="podcast"?(S(),D("div",u3,[n.track.play_count>0?(S(),D("a",{key:0,class:"button is-small",onClick:t[1]||(t[1]=(...a)=>s.mark_new&&s.mark_new(...a)),textContent:v(e.$t("dialog.track.mark-as-new"))},null,8,c3)):X("",!0),n.track.play_count===0?(S(),D("a",{key:1,class:"button is-small",onClick:t[2]||(t[2]=(...a)=>s.mark_played&&s.mark_played(...a)),textContent:v(e.$t("dialog.track.mark-as-played"))},null,8,d3)):X("",!0)])):X("",!0),u("div",m3,[u("p",null,[u("span",{class:"heading",textContent:v(e.$t("dialog.track.album"))},null,8,f3),u("a",{class:"title is-6 has-text-link",onClick:t[3]||(t[3]=(...a)=>s.open_album&&s.open_album(...a)),textContent:v(n.track.album)},null,8,p3)]),n.track.album_artist&&n.track.media_kind!=="audiobook"?(S(),D("p",h3,[u("span",{class:"heading",textContent:v(e.$t("dialog.track.album-artist"))},null,8,_3),u("a",{class:"title is-6 has-text-link",onClick:t[4]||(t[4]=(...a)=>s.open_artist&&s.open_artist(...a)),textContent:v(n.track.album_artist)},null,8,g3)])):X("",!0),n.track.composer?(S(),D("p",y3,[u("span",{class:"heading",textContent:v(e.$t("dialog.track.composer"))},null,8,v3),u("span",{class:"title is-6",textContent:v(n.track.composer)},null,8,b3)])):X("",!0),n.track.date_released?(S(),D("p",w3,[u("span",{class:"heading",textContent:v(e.$t("dialog.track.release-date"))},null,8,C3),u("span",{class:"title is-6",textContent:v(e.$filters.date(n.track.date_released))},null,8,z3)])):n.track.year>0?(S(),D("p",x3,[u("span",{class:"heading",textContent:v(e.$t("dialog.track.year"))},null,8,k3),u("span",{class:"title is-6",textContent:v(n.track.year)},null,8,S3)])):X("",!0),n.track.genre?(S(),D("p",E3,[u("span",{class:"heading",textContent:v(e.$t("dialog.track.genre"))},null,8,$3),u("a",{class:"title is-6 has-text-link",onClick:t[5]||(t[5]=(...a)=>s.open_genre&&s.open_genre(...a)),textContent:v(n.track.genre)},null,8,A3)])):X("",!0),u("p",null,[u("span",{class:"heading",textContent:v(e.$t("dialog.track.position"))},null,8,T3),u("span",{class:"title is-6",textContent:v([n.track.disc_number,n.track.track_number].join(" / "))},null,8,O3)]),u("p",null,[u("span",{class:"heading",textContent:v(e.$t("dialog.track.duration"))},null,8,P3),u("span",{class:"title is-6",textContent:v(e.$filters.durationInHours(n.track.length_ms))},null,8,D3)]),u("p",null,[u("span",{class:"heading",textContent:v(e.$t("dialog.track.path"))},null,8,F3),u("span",{class:"title is-6",textContent:v(n.track.path)},null,8,I3)]),u("p",null,[u("span",{class:"heading",textContent:v(e.$t("dialog.track.type"))},null,8,M3),u("span",L3,[u("span",{textContent:v([e.$t("media.kind."+n.track.media_kind),e.$t("data.kind."+n.track.data_kind)].join(" - "))},null,8,R3),n.track.data_kind==="spotify"?(S(),D("span",N3,[V3,u("a",{onClick:t[6]||(t[6]=(...a)=>s.open_spotify_artist&&s.open_spotify_artist(...a)),textContent:v(e.$t("dialog.track.spotify-artist"))},null,8,j3),B3,u("a",{onClick:t[7]||(t[7]=(...a)=>s.open_spotify_album&&s.open_spotify_album(...a)),textContent:v(e.$t("dialog.track.spotify-album"))},null,8,H3),U3])):X("",!0)])]),u("p",null,[u("span",{class:"heading",textContent:v(e.$t("dialog.track.quality"))},null,8,q3),u("span",W3,[u("span",{textContent:v(n.track.type)},null,8,G3),n.track.samplerate?(S(),D("span",{key:0,textContent:v(e.$t("dialog.track.samplerate",{rate:n.track.samplerate}))},null,8,K3)):X("",!0),n.track.channels?(S(),D("span",{key:1,textContent:v(e.$t("dialog.track.channels",{channels:e.$filters.channels(n.track.channels)}))},null,8,Z3)):X("",!0),n.track.bitrate?(S(),D("span",{key:2,textContent:v(e.$t("dialog.track.bitrate",{rate:n.track.bitrate}))},null,8,Y3)):X("",!0)])]),u("p",null,[u("span",{class:"heading",textContent:v(e.$t("dialog.track.added-on"))},null,8,J3),u("span",{class:"title is-6",textContent:v(e.$filters.datetime(n.track.time_added))},null,8,X3)]),u("p",null,[u("span",{class:"heading",textContent:v(e.$t("dialog.track.rating"))},null,8,Q3),u("span",{class:"title is-6",textContent:v(e.$t("dialog.track.rating-value",{rating:Math.floor(n.track.rating/10)}))},null,8,e4)]),n.track.comment?(S(),D("p",t4,[u("span",{class:"heading",textContent:v(e.$t("dialog.track.comment"))},null,8,n4),u("span",{class:"title is-6",textContent:v(n.track.comment)},null,8,r4)])):X("",!0)])]),u("footer",o4,[u("a",{class:"card-footer-item has-text-dark",onClick:t[8]||(t[8]=(...a)=>s.queue_add&&s.queue_add(...a))},[u("span",s4,[C(i,{name:"playlist-plus",size:"16"})]),u("span",{class:"is-size-7",textContent:v(e.$t("dialog.track.add"))},null,8,i4)]),u("a",{class:"card-footer-item has-text-dark",onClick:t[9]||(t[9]=(...a)=>s.queue_add_next&&s.queue_add_next(...a))},[u("span",a4,[C(i,{name:"playlist-play",size:"16"})]),u("span",{class:"is-size-7",textContent:v(e.$t("dialog.track.add-next"))},null,8,l4)]),u("a",{class:"card-footer-item has-text-dark",onClick:t[10]||(t[10]=(...a)=>s.play_track&&s.play_track(...a))},[u("span",u4,[C(i,{name:"play",size:"16"})]),u("span",{class:"is-size-7",textContent:v(e.$t("dialog.track.play"))},null,8,c4)])])])]),u("button",{class:"modal-close is-large","aria-label":"close",onClick:t[11]||(t[11]=a=>e.$emit("close"))})])):X("",!0)]),_:1})])}var m4=ve(n3,[["render",d4]]);const f4={name:"ProgressBar",props:["max","value"],computed:{width(){return this.value>0&&this.max>0?parseInt(this.value*100/this.max):0},width_percent(){return this.width+"%"}}};function p4(e,t,n,r,o,s){return s.width>0?(S(),D("div",{key:0,class:"progress-bar mt-2",style:ao({width:s.width_percent})},null,4)):X("",!0)}var h4=ve(f4,[["render",p4]]);const _4={name:"ListTracks",components:{ModalDialogTrack:m4,ProgressBar:h4},props:["tracks","uris","expression","show_progress","show_icon"],emits:["play-count-changed"],data(){return{show_details_modal:!1,selected_track:{}}},methods:{play_track:function(e,t){this.uris?Z.player_play_uri(this.uris,!1,e):this.expression?Z.player_play_expression(this.expression,!1,e):Z.player_play_uri(t.uri,!1)},open_dialog:function(e){this.selected_track=e,this.show_details_modal=!0}}},g4={key:0,class:"mt-6 mb-5 py-2"},y4=["id","textContent"],v4=["onClick"],b4={key:0,class:"media-left fd-has-action"},w4={class:"icon"},C4={class:"media-content fd-has-action is-clipped"},z4=["textContent"],x4=["textContent"],k4=["textContent"],S4={class:"media-right"},E4=["onClick"],$4={class:"icon has-text-dark"};function A4(e,t,n,r,o,s){const i=O("mdicon"),a=O("progress-bar"),l=O("modal-dialog-track");return S(),D(Ge,null,[(S(!0),D(Ge,null,Ct(n.tracks,c=>(S(),D(Ge,{key:c.itemId},[c.isItem?c.isItem?(S(),D("div",{key:1,class:Ye(["media",{"with-progress":n.show_progress}]),onClick:d=>s.play_track(e.index,c.item)},[n.show_icon?(S(),D("figure",b4,[u("span",w4,[C(i,{name:"file-outline",size:"16"})])])):X("",!0),u("div",C4,[u("h1",{class:Ye(["title is-6",{"has-text-grey":c.item.media_kind==="podcast"&&c.item.play_count>0}]),textContent:v(c.item.title)},null,10,z4),u("h2",{class:"subtitle is-7 has-text-grey",textContent:v(c.item.artist)},null,8,x4),u("h2",{class:"subtitle is-7 has-text-grey",textContent:v(c.item.album)},null,8,k4),n.show_progress?(S(),xe(a,{key:0,max:c.item.length_ms,value:c.item.seek_ms},null,8,["max","value"])):X("",!0)]),u("div",S4,[u("a",{onClick:_t(d=>s.open_dialog(c.item),["prevent","stop"])},[u("span",$4,[C(i,{name:"dots-vertical",size:"16"})])],8,E4)])],10,v4)):X("",!0):(S(),D("div",g4,[u("span",{id:"index_"+c.groupKey,class:"tag is-info is-light is-small has-text-weight-bold",textContent:v(c.groupKey)},null,8,y4)]))],64))),128)),(S(),xe(lo,{to:"#app"},[C(l,{show:o.show_details_modal,track:o.selected_track,onClose:t[0]||(t[0]=c=>o.show_details_modal=!1),onPlayCountChanged:t[1]||(t[1]=c=>e.$emit("play-count-changed"))},null,8,["show","track"])]))],64)}var Nn=ve(_4,[["render",A4]]);const{t:yc,locale:Rm}=Gi.global,e1="GROUP_KEY_NONE";function t1(){return{compareFn:null,groupKeyFn:e=>e1}}function Ds(e,t="_"){return{compareFn:null,groupKeyFn:n=>(n[e]||t).charAt(0).toUpperCase()}}function Ji(e,t="_"){return{compareFn:(n,r)=>{const o=n[e]||t,s=r[e]||t;return o.localeCompare(s,Rm.value)},groupKeyFn:n=>(n[e]||t).charAt(0).toUpperCase()}}function Nm(e,{direction:t="asc",defaultValue:n=0}){return{compareFn:(r,o)=>{const s=r[e]||n,i=o[e]||n,a=s-i;return t==="asc"?a:a*-1},groupKeyFn:r=>{const o=r[e]||n;return Math.floor(o/10)}}}function Vl(e,{direction:t="asc",defaultValue:n="0000"}){return{compareFn:(r,o)=>{const s=r[e]||n,i=o[e]||n,a=s.localeCompare(i,Rm.value);return t==="asc"?a:a*-1},groupKeyFn:r=>(r[e]||n).substring(0,4)}}function T4(e,t="0000"){return{compareFn:(n,r)=>{const o=n[e]||t;return(r[e]||t).localeCompare(o,Rm.value)},groupKeyFn:n=>{const r=n[e];if(!r)return t;const o=new Date().getTime()-new Date(r).getTime();return o<864e5?yc("group-by-list.today"):o<6048e5?yc("group-by-list.last-week"):o<2592e6?yc("group-by-list.last-month"):r.substring(0,4)}}}class Re{constructor({items:t=[],total:n=0,offset:r=0,limit:o=-1}={}){this.items=t,this.total=n,this.offset=r,this.limit=o,this.count=t.length,this.indexList=[],this.group(t1())}get(){return this.itemsByGroup}isEmpty(){return!this.items||this.items.length<=0}group(t,n=[]){const r=n?this.items.filter(s=>n.every(i=>i(s))):this.items;this.count=r.length;let o=t.compareFn?[...r].sort(t.compareFn):r;this.indexList=[...new Set(o.map(t.groupKeyFn))],this.itemsByGroup=o.reduce((s,i)=>{const a=t.groupKeyFn(i);return s[a]=[...s[a]||[],i],s},{})}[Symbol.iterator](){let t=-1,n=-1;return{next:()=>{if(this.isEmpty())return{done:!0};if(t>=this.indexList.length)return{done:!0};if(t<0&&(++t,n=0,this.indexList[t]!==e1))return{value:{groupKey:this.indexList[t],itemId:this.indexList[t],isItem:!1,item:{}},done:!1};let r=this.indexList[t],o=this.itemsByGroup[r];if(n<o.length){const s=this.itemsByGroup[r][n++];return{value:{groupKey:r,itemId:s.id,isItem:!0,item:s},done:!1}}else return++t,n=0,t<this.indexList.length?(r=this.indexList[t],{value:{groupKey:r,itemId:r,isItem:!1,item:{}},done:!1}):{done:!0}}}}}const Ea={load:function(e){return Promise.all([Z.search({type:"album",expression:"time_added after 8 weeks ago and media_kind is music having track_count > 3 order by time_added desc",limit:3}),Z.search({type:"track",expression:"time_played after 8 weeks ago and media_kind is music order by time_played desc",limit:3})])},set:function(e,t){e.recently_added=new Re(t[0].data.albums),e.recently_played=new Re(t[1].data.tracks)}},O4={name:"PageBrowse",components:{ContentWithHeading:pt,TabsMusic:vr,ListAlbums:br,ListTracks:Nn},beforeRouteEnter(e,t,n){Ea.load(e).then(r=>{n(o=>Ea.set(o,r))})},beforeRouteUpdate(e,t,n){const r=this;Ea.load(e).then(o=>{Ea.set(r,o),n()})},data(){return{recently_added:[],recently_played:{items:[]},show_track_details_modal:!1,selected_track:{}}},methods:{open_browse:function(e){this.$router.push({path:"/music/browse/"+e})}}},P4={class:"fd-page-with-tabs"},D4=["textContent"],F4=["textContent"],I4={class:"level"},M4={class:"level-item"},L4=["textContent"],R4=["textContent"],N4=["textContent"],V4={class:"level"},j4={class:"level-item"},B4=["textContent"];function H4(e,t,n,r,o,s){const i=O("tabs-music"),a=O("list-albums"),l=O("content-with-heading"),c=O("list-tracks");return S(),D("div",P4,[C(i),C(l,null,{"heading-left":P(()=>[u("p",{class:"title is-4",textContent:v(e.$t("page.browse.recently-added.title"))},null,8,D4),u("p",{class:"heading",textContent:v(e.$t("page.browse.albums"))},null,8,F4)]),content:P(()=>[C(a,{albums:o.recently_added},null,8,["albums"])]),footer:P(()=>[u("nav",I4,[u("p",M4,[u("a",{class:"button is-light is-small is-rounded",onClick:t[0]||(t[0]=d=>s.open_browse("recently_added")),textContent:v(e.$t("page.browse.show-more"))},null,8,L4)])])]),_:1}),C(l,null,{"heading-left":P(()=>[u("p",{class:"title is-4",textContent:v(e.$t("page.browse.recently-played.title"))},null,8,R4),u("p",{class:"heading",textContent:v(e.$t("page.browse.tracks"))},null,8,N4)]),content:P(()=>[C(c,{tracks:o.recently_played},null,8,["tracks"])]),footer:P(()=>[u("nav",V4,[u("p",j4,[u("a",{class:"button is-light is-small is-rounded",onClick:t[1]||(t[1]=d=>s.open_browse("recently_played")),textContent:v(e.$t("page.browse.show-more"))},null,8,B4)])])]),_:1})])}var U4=ve(O4,[["render",H4]]);const $a={load:function(e){const t=at.getters.settings_option_recently_added_limit;return Z.search({type:"album",expression:"media_kind is music having track_count > 3 order by time_added desc",limit:t})},set:function(e,t){e.recently_added=new Re(t.data.albums),e.recently_added.group(T4("time_added",{direction:"desc",defaultValue:"0000"}))}},q4={name:"PageBrowseType",components:{ContentWithHeading:pt,TabsMusic:vr,ListAlbums:br},beforeRouteEnter(e,t,n){$a.load(e).then(r=>{n(o=>$a.set(o,r))})},beforeRouteUpdate(e,t,n){if(!this.recently_added.isEmpty()){n();return}const r=this;$a.load(e).then(o=>{$a.set(r,o),n()})},data(){return{recently_added:new Re}}},W4={class:"fd-page-with-tabs"},G4=["textContent"],K4=["textContent"];function Z4(e,t,n,r,o,s){const i=O("tabs-music"),a=O("list-albums"),l=O("content-with-heading");return S(),D("div",W4,[C(i),C(l,null,{"heading-left":P(()=>[u("p",{class:"title is-4",textContent:v(e.$t("page.browse.recently-added.title"))},null,8,G4),u("p",{class:"heading",textContent:v(e.$t("page.browse.recently-added.albums"))},null,8,K4)]),content:P(()=>[C(a,{albums:o.recently_added},null,8,["albums"])]),_:1})])}var Y4=ve(q4,[["render",Z4]]);const Aa={load:function(e){return Z.search({type:"track",expression:"time_played after 8 weeks ago and media_kind is music order by time_played desc",limit:50})},set:function(e,t){e.recently_played=new Re(t.data.tracks)}},J4={name:"PageBrowseType",components:{ContentWithHeading:pt,TabsMusic:vr,ListTracks:Nn},beforeRouteEnter(e,t,n){Aa.load(e).then(r=>{n(o=>Aa.set(o,r))})},beforeRouteUpdate(e,t,n){const r=this;Aa.load(e).then(o=>{Aa.set(r,o),n()})},data(){return{recently_played:{}}}},X4={class:"fd-page-with-tabs"},Q4=["textContent"],e5=["textContent"];function t5(e,t,n,r,o,s){const i=O("tabs-music"),a=O("list-tracks"),l=O("content-with-heading");return S(),D("div",X4,[C(i),C(l,null,{"heading-left":P(()=>[u("p",{class:"title is-4",textContent:v(e.$t("page.browse.recently-played.title"))},null,8,Q4),u("p",{class:"heading",textContent:v(e.$t("page.browse.recently-played.tracks"))},null,8,e5)]),content:P(()=>[C(a,{tracks:o.recently_played},null,8,["tracks"])]),_:1})])}var n5=ve(J4,[["render",t5]]);const r5={name:"IndexButtonList",props:["index"],computed:{filtered_index(){if(!this.index)return[];const e="!\"#$%&'()*+,-./:;<=>?@[\\]^`{|}~";return this.index.filter(t=>!e.includes(t))}},methods:{nav:function(e){this.$router.push({hash:"#index_"+e})},scroll_to_top:function(){window.scrollTo({top:0,behavior:"smooth"})}}},o5={class:"buttons is-centered fd-is-square",style:{"margin-bottom":"16px"}},s5=["onClick","textContent"];function i5(e,t,n,r,o,s){return S(),D("section",null,[u("nav",o5,[(S(!0),D(Ge,null,Ct(s.filtered_index,i=>(S(),D("a",{key:i,class:"button is-small",onClick:a=>s.nav(i),textContent:v(i)},null,8,s5))),128))])])}var wr=ve(r5,[["render",i5]]);const a5={name:"ModalDialogArtist",props:["show","artist"],emits:["close"],methods:{play:function(){this.$emit("close"),Z.player_play_uri(this.artist.uri,!1)},queue_add:function(){this.$emit("close"),Z.queue_add(this.artist.uri)},queue_add_next:function(){this.$emit("close"),Z.queue_add_next(this.artist.uri)},open_artist:function(){this.$emit("close"),this.$router.push({path:"/music/artists/"+this.artist.id})}}},l5={key:0,class:"modal is-active"},u5={class:"modal-content fd-modal-card"},c5={class:"card"},d5={class:"card-content"},m5={class:"title is-4"},f5=["textContent"],p5={class:"content is-small"},h5=["textContent"],_5=["textContent"],g5=["textContent"],y5=["textContent"],v5=["textContent"],b5=["textContent"],w5=["textContent"],C5=["textContent"],z5={class:"card-footer"},x5={class:"icon"},k5=["textContent"],S5={class:"icon"},E5=["textContent"],$5={class:"icon"},A5=["textContent"];function T5(e,t,n,r,o,s){const i=O("mdicon");return S(),D("div",null,[C(Wt,{name:"fade"},{default:P(()=>[n.show?(S(),D("div",l5,[u("div",{class:"modal-background",onClick:t[0]||(t[0]=a=>e.$emit("close"))}),u("div",u5,[u("div",c5,[u("div",d5,[u("p",m5,[u("a",{class:"has-text-link",onClick:t[1]||(t[1]=(...a)=>s.open_artist&&s.open_artist(...a)),textContent:v(n.artist.name)},null,8,f5)]),u("div",p5,[u("p",null,[u("span",{class:"heading",textContent:v(e.$t("dialog.artist.albums"))},null,8,h5),u("span",{class:"title is-6",textContent:v(n.artist.album_count)},null,8,_5)]),u("p",null,[u("span",{class:"heading",textContent:v(e.$t("dialog.artist.tracks"))},null,8,g5),u("span",{class:"title is-6",textContent:v(n.artist.track_count)},null,8,y5)]),u("p",null,[u("span",{class:"heading",textContent:v(e.$t("dialog.artist.type"))},null,8,v5),u("span",{class:"title is-6",textContent:v(e.$t("data.kind."+n.artist.data_kind))},null,8,b5)]),u("p",null,[u("span",{class:"heading",textContent:v(e.$t("dialog.artist.added-on"))},null,8,w5),u("span",{class:"title is-6",textContent:v(e.$filters.datetime(n.artist.time_added))},null,8,C5)])])]),u("footer",z5,[u("a",{class:"card-footer-item has-text-dark",onClick:t[2]||(t[2]=(...a)=>s.queue_add&&s.queue_add(...a))},[u("span",x5,[C(i,{name:"playlist-plus",size:"16"})]),u("span",{class:"is-size-7",textContent:v(e.$t("dialog.artist.add"))},null,8,k5)]),u("a",{class:"card-footer-item has-text-dark",onClick:t[3]||(t[3]=(...a)=>s.queue_add_next&&s.queue_add_next(...a))},[u("span",S5,[C(i,{name:"playlist-play",size:"16"})]),u("span",{class:"is-size-7",textContent:v(e.$t("dialog.artist.add-next"))},null,8,E5)]),u("a",{class:"card-footer-item has-text-dark",onClick:t[4]||(t[4]=(...a)=>s.play&&s.play(...a))},[u("span",$5,[C(i,{name:"play",size:"16"})]),u("span",{class:"is-size-7",textContent:v(e.$t("dialog.artist.play"))},null,8,A5)])])])]),u("button",{class:"modal-close is-large","aria-label":"close",onClick:t[5]||(t[5]=a=>e.$emit("close"))})])):X("",!0)]),_:1})])}var zu=ve(a5,[["render",T5]]);const O5={name:"ListArtists",components:{ModalDialogArtist:zu},props:["artists","media_kind","hide_group_title"],data(){return{show_details_modal:!1,selected_artist:{}}},computed:{media_kind_resolved:function(){return this.media_kind?this.media_kind:this.selected_artist.media_kind}},methods:{open_artist:function(e){this.selected_artist=e,this.media_kind_resolved==="podcast"||(this.media_kind_resolved==="audiobook"?this.$router.push({path:"/audiobooks/artists/"+e.id}):this.$router.push({path:"/music/artists/"+e.id}))},open_dialog:function(e){this.selected_artist=e,this.show_details_modal=!0}}},P5={key:0,class:"mt-6 mb-5 py-2"},D5={class:"media-content is-clipped"},F5=["id","textContent"],I5=["onClick"],M5={class:"media-content fd-has-action is-clipped"},L5=["textContent"],R5={class:"media-right"},N5=["onClick"],V5={class:"icon has-text-dark"};function j5(e,t,n,r,o,s){const i=O("mdicon"),a=O("modal-dialog-artist");return S(),D(Ge,null,[(S(!0),D(Ge,null,Ct(n.artists,l=>(S(),D(Ge,{key:l.itemId},[!l.isItem&&!n.hide_group_title?(S(),D("div",P5,[u("div",D5,[u("span",{id:"index_"+l.groupKey,class:"tag is-info is-light is-small has-text-weight-bold",textContent:v(l.groupKey)},null,8,F5)])])):l.isItem?(S(),D("div",{key:1,class:"media",onClick:c=>s.open_artist(l.item)},[u("div",M5,[u("h1",{class:"title is-6",textContent:v(l.item.name)},null,8,L5)]),u("div",R5,[u("a",{onClick:_t(c=>s.open_dialog(l.item),["prevent","stop"])},[u("span",V5,[C(i,{name:"dots-vertical",size:"16"})])],8,N5)])],8,I5)):X("",!0)],64))),128)),(S(),xe(lo,{to:"#app"},[C(a,{show:o.show_details_modal,artist:o.selected_artist,media_kind:n.media_kind,onClose:t[0]||(t[0]=l=>o.show_details_modal=!1)},null,8,["show","artist","media_kind"])]))],64)}var Vm=ve(O5,[["render",j5]]);const B5={name:"DropdownMenu",props:["modelValue","options"],emits:["update:modelValue"],data(){return{is_active:!1}},computed:{option:{get(){return this.options.find(e=>e.id===this.modelValue)}}},methods:{onClickOutside(e){this.is_active=!1},select(e){this.is_active=!1,this.$emit("update:modelValue",e.id)}}},H5={class:"dropdown-trigger"},U5=["textContent"],q5={class:"icon"},W5={id:"dropdown-menu",class:"dropdown-menu",role:"menu"},G5={class:"dropdown-content"},K5=["onClick","textContent"];function Z5(e,t,n,r,o,s){const i=O("mdicon"),a=au("click-away");return kt((S(),D("div",{class:Ye(["dropdown",{"is-active":o.is_active}])},[u("div",H5,[u("button",{class:"button","aria-haspopup":"true","aria-controls":"dropdown-menu",onClick:t[0]||(t[0]=l=>o.is_active=!o.is_active)},[u("span",{textContent:v(s.option.name)},null,8,U5),u("span",q5,[C(i,{name:"chevron-down",size:"16"})])])]),u("div",W5,[u("div",G5,[(S(!0),D(Ge,null,Ct(n.options,l=>(S(),D("a",{key:l.id,class:Ye(["dropdown-item",{"is-active":n.modelValue===l.id}]),onClick:c=>s.select(l),textContent:v(l.name)},null,10,K5))),128))])])],2)),[[a,s.onClickOutside]])}var No=ve(B5,[["render",Z5]]);const Ta={load:function(e){return Z.library_artists("music")},set:function(e,t){e.artists_list=new Re(t.data)}},Y5={name:"PageArtists",components:{ContentWithHeading:pt,TabsMusic:vr,IndexButtonList:wr,ListArtists:Vm,DropdownMenu:No},beforeRouteEnter(e,t,n){Ta.load(e).then(r=>{n(o=>Ta.set(o,r))})},beforeRouteUpdate(e,t,n){if(!this.artists_list.isEmpty()){n();return}const r=this;Ta.load(e).then(o=>{Ta.set(r,o),n()})},data(){return{artists_list:new Re,groupby_options:[{id:1,name:this.$t("page.artists.sort-by.name"),options:Ds("name_sort")},{id:2,name:this.$t("page.artists.sort-by.recently-added"),options:Vl("time_added",{direction:"desc",defaultValue:"0000"})}]}},computed:{artists(){if(!this.artists_list)return[];const e=this.groupby_options.find(t=>t.id===this.selected_groupby_option_id);return this.artists_list.group(e.options,[t=>!this.hide_singles||t.track_count>t.album_count*2,t=>!this.hide_spotify||t.data_kind!=="spotify"]),this.artists_list},selected_groupby_option_id:{get(){return this.$store.state.artists_sort},set(e){this.$store.commit(vy,e)}},spotify_enabled(){return this.$store.state.spotify.webapi_token_valid},hide_singles:{get(){return this.$store.state.hide_singles},set(e){this.$store.commit(hu,e)}},hide_spotify:{get(){return this.$store.state.hide_spotify},set(e){this.$store.commit(gm,e)}}},methods:{}},J5={class:"fd-page-with-tabs"},X5={class:"columns"},Q5={class:"column"},eP=["textContent"],tP={class:"field"},nP={class:"control"},rP=["textContent"],oP=["textContent"],sP={key:0,class:"field"},iP={class:"control"},aP=["textContent"],lP=["textContent"],uP={class:"column"},cP=["textContent"],dP=["textContent"],mP=["textContent"];function fP(e,t,n,r,o,s){const i=O("tabs-music"),a=O("index-button-list"),l=O("dropdown-menu"),c=O("list-artists"),d=O("content-with-heading");return S(),D("div",J5,[C(i),C(d,null,{options:P(()=>[C(a,{index:s.artists.indexList},null,8,["index"]),u("div",X5,[u("div",Q5,[u("p",{class:"heading",style:{"margin-bottom":"24px"},textContent:v(e.$t("page.artists.filter"))},null,8,eP),u("div",tP,[u("div",nP,[kt(u("input",{id:"switchHideSingles","onUpdate:modelValue":t[0]||(t[0]=f=>s.hide_singles=f),type:"checkbox",name:"switchHideSingles",class:"switch"},null,512),[[Tr,s.hide_singles]]),u("label",{for:"switchHideSingles",textContent:v(e.$t("page.artists.hide-singles"))},null,8,rP)]),u("p",{class:"help",textContent:v(e.$t("page.artists.hide-singles-help"))},null,8,oP)]),s.spotify_enabled?(S(),D("div",sP,[u("div",iP,[kt(u("input",{id:"switchHideSpotify","onUpdate:modelValue":t[1]||(t[1]=f=>s.hide_spotify=f),type:"checkbox",name:"switchHideSpotify",class:"switch"},null,512),[[Tr,s.hide_spotify]]),u("label",{for:"switchHideSpotify",textContent:v(e.$t("page.artists.hide-spotify"))},null,8,aP)]),u("p",{class:"help",textContent:v(e.$t("page.artists.hide-spotify-help"))},null,8,lP)])):X("",!0)]),u("div",uP,[u("p",{class:"heading",style:{"margin-bottom":"24px"},textContent:v(e.$t("page.artists.sort-by.title"))},null,8,cP),C(l,{modelValue:s.selected_groupby_option_id,"onUpdate:modelValue":t[2]||(t[2]=f=>s.selected_groupby_option_id=f),options:o.groupby_options},null,8,["modelValue","options"])])])]),"heading-left":P(()=>[u("p",{class:"title is-4",textContent:v(e.$t("page.artists.title"))},null,8,dP),u("p",{class:"heading",textContent:v(e.$t("page.artists.count",{count:s.artists.count}))},null,8,mP)]),"heading-right":P(()=>[]),content:P(()=>[C(c,{artists:s.artists},null,8,["artists"])]),_:1})])}var pP=ve(Y5,[["render",fP]]);const Oa={load:function(e){return Promise.all([Z.library_artist(e.params.artist_id),Z.library_artist_albums(e.params.artist_id)])},set:function(e,t){e.artist=t[0].data,e.albums_list=new Re(t[1].data)}},hP={name:"PageArtist",components:{ContentWithHeading:pt,ListAlbums:br,ModalDialogArtist:zu,DropdownMenu:No},beforeRouteEnter(e,t,n){Oa.load(e).then(r=>{n(o=>Oa.set(o,r))})},beforeRouteUpdate(e,t,n){const r=this;Oa.load(e).then(o=>{Oa.set(r,o),n()})},data(){return{artist:{},albums_list:new Re,groupby_options:[{id:1,name:this.$t("page.artist.sort-by.name"),options:Ds("name_sort")},{id:2,name:this.$t("page.artist.sort-by.release-date"),options:Vl("date_released",{direction:"asc",defaultValue:"0000"})}],show_artist_details_modal:!1}},computed:{albums(){const e=this.groupby_options.find(t=>t.id===this.selected_groupby_option_id);return this.albums_list.group(e.options),this.albums_list},selected_groupby_option_id:{get(){return this.$store.state.artist_albums_sort},set(e){this.$store.commit(by,e)}}},methods:{open_tracks:function(){this.$router.push({path:"/music/artists/"+this.artist.id+"/tracks"})},play:function(){Z.player_play_uri(this.albums.items.map(e=>e.uri).join(","),!0)}}},_P={class:"columns"},gP={class:"column"},yP=["textContent"],vP=["textContent"],bP={class:"buttons is-centered"},wP={class:"icon"},CP={class:"icon"},zP=["textContent"],xP={class:"heading has-text-centered-mobile"},kP=["textContent"],SP=u("span",null,"\xA0|\xA0",-1),EP=["textContent"];function $P(e,t,n,r,o,s){const i=O("dropdown-menu"),a=O("mdicon"),l=O("list-albums"),c=O("modal-dialog-artist"),d=O("content-with-heading");return S(),xe(d,null,{options:P(()=>[u("div",_P,[u("div",gP,[u("p",{class:"heading",style:{"margin-bottom":"24px"},textContent:v(e.$t("page.artist.sort-by.title"))},null,8,yP),C(i,{modelValue:s.selected_groupby_option_id,"onUpdate:modelValue":t[0]||(t[0]=f=>s.selected_groupby_option_id=f),options:o.groupby_options},null,8,["modelValue","options"])])])]),"heading-left":P(()=>[u("p",{class:"title is-4",textContent:v(o.artist.name)},null,8,vP)]),"heading-right":P(()=>[u("div",bP,[u("a",{class:"button is-small is-light is-rounded",onClick:t[1]||(t[1]=f=>o.show_artist_details_modal=!0)},[u("span",wP,[C(a,{name:"dots-horizontal",size:"16"})])]),u("a",{class:"button is-small is-dark is-rounded",onClick:t[2]||(t[2]=(...f)=>s.play&&s.play(...f))},[u("span",CP,[C(a,{name:"shuffle",size:"16"})]),u("span",{textContent:v(e.$t("page.artist.shuffle"))},null,8,zP)])])]),content:P(()=>[u("p",xP,[u("span",{textContent:v(e.$t("page.artist.album-count",{count:o.artist.album_count}))},null,8,kP),SP,u("a",{class:"has-text-link",onClick:t[3]||(t[3]=(...f)=>s.open_tracks&&s.open_tracks(...f)),textContent:v(e.$t("page.artist.track-count",{count:o.artist.track_count}))},null,8,EP)]),C(l,{albums:s.albums,hide_group_title:!0},null,8,["albums"]),C(c,{show:o.show_artist_details_modal,artist:o.artist,onClose:t[4]||(t[4]=f=>o.show_artist_details_modal=!1)},null,8,["show","artist"])]),_:1})}var AP=ve(hP,[["render",$P]]);const Pa={load:function(e){return Z.library_albums("music")},set:function(e,t){e.albums_list=new Re(t.data)}},TP={name:"PageAlbums",components:{ContentWithHeading:pt,TabsMusic:vr,IndexButtonList:wr,ListAlbums:br,DropdownMenu:No},beforeRouteEnter(e,t,n){Pa.load(e).then(r=>{n(o=>Pa.set(o,r))})},beforeRouteUpdate(e,t,n){if(!this.albums_list.isEmpty()){n();return}const r=this;Pa.load(e).then(o=>{Pa.set(r,o),n()})},data(){return{albums_list:new Re,groupby_options:[{id:1,name:this.$t("page.albums.sort-by.name"),options:Ds("name_sort")},{id:2,name:this.$t("page.albums.sort-by.recently-added"),options:Vl("time_added",{direction:"desc",defaultValue:"0000"})},{id:3,name:this.$t("page.albums.sort-by.recently-released"),options:Vl("date_released",{direction:"desc",defaultValue:"0000"})}]}},computed:{albums(){const e=this.groupby_options.find(t=>t.id===this.selected_groupby_option_id);return this.albums_list.group(e.options,[t=>!this.hide_singles||t.track_count>2,t=>!this.hide_spotify||t.data_kind!=="spotify"]),this.albums_list},selected_groupby_option_id:{get(){return this.$store.state.albums_sort},set(e){this.$store.commit(Cy,e)}},spotify_enabled(){return this.$store.state.spotify.webapi_token_valid},hide_singles:{get(){return this.$store.state.hide_singles},set(e){this.$store.commit(hu,e)}},hide_spotify:{get(){return this.$store.state.hide_spotify},set(e){this.$store.commit(gm,e)}}},methods:{scrollToTop:function(){window.scrollTo({top:0,behavior:"smooth"})}}},OP={class:"fd-page-with-tabs"},PP={class:"columns"},DP={class:"column"},FP=["textContent"],IP={class:"field"},MP={class:"control"},LP=["textContent"],RP=["textContent"],NP={key:0,class:"field"},VP={class:"control"},jP=["textContent"],BP=["textContent"],HP={class:"column"},UP=["textContent"],qP=["textContent"],WP=["textContent"];function GP(e,t,n,r,o,s){const i=O("tabs-music"),a=O("index-button-list"),l=O("dropdown-menu"),c=O("list-albums"),d=O("content-with-heading");return S(),D("div",OP,[C(i),C(d,null,{options:P(()=>[C(a,{index:s.albums.indexList},null,8,["index"]),u("div",PP,[u("div",DP,[u("p",{class:"heading",style:{"margin-bottom":"24px"},textContent:v(e.$t("page.albums.filter"))},null,8,FP),u("div",IP,[u("div",MP,[kt(u("input",{id:"switchHideSingles","onUpdate:modelValue":t[0]||(t[0]=f=>s.hide_singles=f),type:"checkbox",name:"switchHideSingles",class:"switch"},null,512),[[Tr,s.hide_singles]]),u("label",{for:"switchHideSingles",textContent:v(e.$t("page.albums.hide-singles"))},null,8,LP)]),u("p",{class:"help",textContent:v(e.$t("page.albums.hide-singles-help"))},null,8,RP)]),s.spotify_enabled?(S(),D("div",NP,[u("div",VP,[kt(u("input",{id:"switchHideSpotify","onUpdate:modelValue":t[1]||(t[1]=f=>s.hide_spotify=f),type:"checkbox",name:"switchHideSpotify",class:"switch"},null,512),[[Tr,s.hide_spotify]]),u("label",{for:"switchHideSpotify",textContent:v(e.$t("page.albums.hide-spotify"))},null,8,jP)]),u("p",{class:"help",textContent:v(e.$t("page.albums.hide-spotify-help"))},null,8,BP)])):X("",!0)]),u("div",HP,[u("p",{class:"heading",style:{"margin-bottom":"24px"},textContent:v(e.$t("page.albums.sort-by.title"))},null,8,UP),C(l,{modelValue:s.selected_groupby_option_id,"onUpdate:modelValue":t[2]||(t[2]=f=>s.selected_groupby_option_id=f),options:o.groupby_options},null,8,["modelValue","options"])])])]),"heading-left":P(()=>[u("p",{class:"title is-4",textContent:v(e.$t("page.albums.title"))},null,8,qP),u("p",{class:"heading",textContent:v(e.$t("page.albums.count",{count:s.albums.count}))},null,8,WP)]),"heading-right":P(()=>[]),content:P(()=>[C(c,{albums:s.albums},null,8,["albums"])]),_:1})])}var KP=ve(TP,[["render",GP]]);const ZP={},YP={class:"hero is-light is-bold fd-content"},JP={class:"hero-body"},XP={class:"container"},QP={class:"columns is-centered"},eD={class:"column is-four-fifths"},tD={class:"columns",style:{"flex-direction":"row-reverse"}},nD={class:"column fd-has-cover"},rD={class:"column is-three-fifths has-text-centered-mobile",style:{margin:"auto 0"}},oD={class:"section fd-content"},sD={class:"container"},iD={class:"columns is-centered"},aD={class:"column is-four-fifths"},lD={style:{"margin-top":"16px"}};function uD(e,t){return S(),D("div",null,[u("section",YP,[u("div",JP,[u("div",XP,[u("div",QP,[u("div",eD,[u("div",tD,[u("div",nD,[xt(e.$slots,"heading-right")]),u("div",rD,[xt(e.$slots,"heading-left")])])])])])])]),u("section",oD,[u("div",sD,[u("div",iD,[u("div",aD,[xt(e.$slots,"content"),u("div",lD,[xt(e.$slots,"footer")])])])])])])}var jm=ve(ZP,[["render",uD]]);const Da={load:function(e){return Promise.all([Z.library_album(e.params.album_id),Z.library_album_tracks(e.params.album_id)])},set:function(e,t){e.album=t[0].data,e.tracks=new Re(t[1].data)}},cD={name:"PageAlbum",components:{ContentWithHero:jm,ListTracks:Nn,ModalDialogAlbum:Cu,CoverArtwork:Ir},beforeRouteEnter(e,t,n){Da.load(e).then(r=>{n(o=>Da.set(o,r))})},beforeRouteUpdate(e,t,n){const r=this;Da.load(e).then(o=>{Da.set(r,o),n()})},data(){return{album:{},tracks:new Re,show_album_details_modal:!1}},methods:{open_artist:function(){this.show_details_modal=!1,this.$router.push({path:"/music/artists/"+this.album.artist_id})},play:function(){Z.player_play_uri(this.album.uri,!0)}}},dD=["textContent"],mD={class:"subtitle is-6 has-text-link has-text-weight-normal"},fD=["textContent"],pD={class:"buttons fd-is-centered-mobile fd-has-margin-top"},hD={class:"icon"},_D=["textContent"],gD={class:"icon"},yD={class:"image is-square fd-has-shadow fd-has-action"},vD=["textContent"];function bD(e,t,n,r,o,s){const i=O("mdicon"),a=O("cover-artwork"),l=O("list-tracks"),c=O("modal-dialog-album"),d=O("content-with-hero");return S(),xe(d,null,{"heading-left":P(()=>[u("h1",{class:"title is-5",textContent:v(o.album.name)},null,8,dD),u("h2",mD,[u("a",{class:"has-text-link",onClick:t[0]||(t[0]=(...f)=>s.open_artist&&s.open_artist(...f)),textContent:v(o.album.artist)},null,8,fD)]),u("div",pD,[u("a",{class:"button is-small is-dark is-rounded",onClick:t[1]||(t[1]=(...f)=>s.play&&s.play(...f))},[u("span",hD,[C(i,{name:"shuffle",size:"16"})]),u("span",{textContent:v(e.$t("page.album.shuffle"))},null,8,_D)]),u("a",{class:"button is-small is-light is-rounded",onClick:t[2]||(t[2]=f=>o.show_album_details_modal=!0)},[u("span",gD,[C(i,{name:"dots-horizontal",size:"16"})])])])]),"heading-right":P(()=>[u("p",yD,[C(a,{artwork_url:o.album.artwork_url,artist:o.album.artist,album:o.album.name,onClick:t[3]||(t[3]=f=>o.show_album_details_modal=!0)},null,8,["artwork_url","artist","album"])])]),content:P(()=>[u("p",{class:"heading is-7 has-text-centered-mobile fd-has-margin-top",textContent:v(e.$t("page.album.track-count",{count:o.album.track_count}))},null,8,vD),C(l,{tracks:o.tracks,uris:o.album.uri},null,8,["tracks","uris"]),C(c,{show:o.show_album_details_modal,album:o.album,onClose:t[4]||(t[4]=f=>o.show_album_details_modal=!1)},null,8,["show","album"])]),_:1})}var wD=ve(cD,[["render",bD]]);const CD={name:"ModalDialogGenre",props:["show","genre"],emits:["close"],methods:{play:function(){this.$emit("close"),Z.player_play_expression('genre is "'+this.genre.name+'" and media_kind is music',!1)},queue_add:function(){this.$emit("close"),Z.queue_expression_add('genre is "'+this.genre.name+'" and media_kind is music')},queue_add_next:function(){this.$emit("close"),Z.queue_expression_add_next('genre is "'+this.genre.name+'" and media_kind is music')},open_genre:function(){this.$emit("close"),this.$router.push({name:"Genre",params:{genre:this.genre.name}})}}},zD={key:0,class:"modal is-active"},xD={class:"modal-content fd-modal-card"},kD={class:"card"},SD={class:"card-content"},ED={class:"title is-4"},$D=["textContent"],AD={class:"content is-small"},TD=["textContent"],OD=["textContent"],PD=["textContent"],DD=["textContent"],FD=["textContent"],ID=["textContent"],MD={class:"card-footer"},LD={class:"icon"},RD=["textContent"],ND={class:"icon"},VD=["textContent"],jD={class:"icon"},BD=["textContent"];function HD(e,t,n,r,o,s){const i=O("mdicon");return S(),D("div",null,[C(Wt,{name:"fade"},{default:P(()=>[n.show?(S(),D("div",zD,[u("div",{class:"modal-background",onClick:t[0]||(t[0]=a=>e.$emit("close"))}),u("div",xD,[u("div",kD,[u("div",SD,[u("p",ED,[u("a",{class:"has-text-link",onClick:t[1]||(t[1]=(...a)=>s.open_genre&&s.open_genre(...a)),textContent:v(n.genre.name)},null,8,$D)]),u("div",AD,[u("p",null,[u("span",{class:"heading",textContent:v(e.$t("dialog.genre.albums"))},null,8,TD),u("span",{class:"title is-6",textContent:v(n.genre.album_count)},null,8,OD)]),u("p",null,[u("span",{class:"heading",textContent:v(e.$t("dialog.genre.tracks"))},null,8,PD),u("span",{class:"title is-6",textContent:v(n.genre.track_count)},null,8,DD)]),u("p",null,[u("span",{class:"heading",textContent:v(e.$t("dialog.genre.duration"))},null,8,FD),u("span",{class:"title is-6",textContent:v(e.$filters.durationInHours(n.genre.length_ms))},null,8,ID)])])]),u("footer",MD,[u("a",{class:"card-footer-item has-text-dark",onClick:t[2]||(t[2]=(...a)=>s.queue_add&&s.queue_add(...a))},[u("span",LD,[C(i,{name:"playlist-plus",size:"16"})]),u("span",{class:"is-size-7",textContent:v(e.$t("dialog.genre.add"))},null,8,RD)]),u("a",{class:"card-footer-item has-text-dark",onClick:t[3]||(t[3]=(...a)=>s.queue_add_next&&s.queue_add_next(...a))},[u("span",ND,[C(i,{name:"playlist-play",size:"16"})]),u("span",{class:"is-size-7",textContent:v(e.$t("dialog.genre.add-next"))},null,8,VD)]),u("a",{class:"card-footer-item has-text-dark",onClick:t[4]||(t[4]=(...a)=>s.play&&s.play(...a))},[u("span",jD,[C(i,{name:"play",size:"16"})]),u("span",{class:"is-size-7",textContent:v(e.$t("dialog.genre.play"))},null,8,BD)])])])]),u("button",{class:"modal-close is-large","aria-label":"close",onClick:t[5]||(t[5]=a=>e.$emit("close"))})])):X("",!0)]),_:1})])}var Bm=ve(CD,[["render",HD]]);const UD={name:"ListGenres",components:{ModalDialogGenre:Bm},props:["genres","media_kind","hide_group_title"],data(){return{show_details_modal:!1,selected_genre:{}}},computed:{media_kind_resolved:function(){return this.media_kind?this.media_kind:this.selected_genre.media_kind}},methods:{open_genre:function(e){this.$router.push({name:"Genre",params:{genre:e.name}})},open_dialog:function(e){this.selected_genre=e,this.show_details_modal=!0}}},qD={key:0,class:"mt-6 mb-5 py-2"},WD={class:"media-content is-clipped"},GD=["id","textContent"],KD=["onClick"],ZD={class:"media-content fd-has-action is-clipped"},YD=["textContent"],JD={class:"media-right"},XD=["onClick"],QD={class:"icon has-text-dark"};function eF(e,t,n,r,o,s){const i=O("mdicon"),a=O("modal-dialog-genre");return S(),D(Ge,null,[(S(!0),D(Ge,null,Ct(n.genres,l=>(S(),D(Ge,{key:l.itemId},[!l.isItem&&!n.hide_group_title?(S(),D("div",qD,[u("div",WD,[u("span",{id:"index_"+l.groupKey,class:"tag is-info is-light is-small has-text-weight-bold",textContent:v(l.groupKey)},null,8,GD)])])):l.isItem?(S(),D("div",{key:1,class:"media",onClick:c=>s.open_genre(l.item)},[u("div",ZD,[u("h1",{class:"title is-6",textContent:v(l.item.name)},null,8,YD)]),u("div",JD,[u("a",{onClick:_t(c=>s.open_dialog(l.item),["prevent","stop"])},[u("span",QD,[C(i,{name:"dots-vertical",size:"16"})])],8,XD)])],8,KD)):X("",!0)],64))),128)),(S(),xe(lo,{to:"#app"},[C(a,{show:o.show_details_modal,genre:o.selected_genre,onClose:t[0]||(t[0]=l=>o.show_details_modal=!1)},null,8,["show","genre"])]))],64)}var tF=ve(UD,[["render",eF]]);const Fa={load:function(e){return Z.library_genres("music")},set:function(e,t){e.genres=t.data,e.genres=new Re(t.data),e.genres.group(Ji("name_sort"))}},nF={name:"PageGenres",components:{ContentWithHeading:pt,TabsMusic:vr,IndexButtonList:wr,ListGenres:tF},beforeRouteEnter(e,t,n){Fa.load(e).then(r=>{n(o=>Fa.set(o,r))})},beforeRouteUpdate(e,t,n){const r=this;Fa.load(e).then(o=>{Fa.set(r,o),n()})},data(){return{genres:new Re}},computed:{},methods:{}},rF={class:"fd-page-with-tabs"},oF=["textContent"],sF=["textContent"];function iF(e,t,n,r,o,s){const i=O("tabs-music"),a=O("index-button-list"),l=O("list-genres"),c=O("content-with-heading");return S(),D("div",rF,[C(i),C(c,null,{options:P(()=>[C(a,{index:o.genres.indexList},null,8,["index"])]),"heading-left":P(()=>[u("p",{class:"title is-4",textContent:v(e.$t("page.genres.title"))},null,8,oF),u("p",{class:"heading",textContent:v(e.$t("page.genres.count",{count:o.genres.total}))},null,8,sF)]),content:P(()=>[C(l,{genres:o.genres},null,8,["genres"])]),_:1})])}var aF=ve(nF,[["render",iF]]);const Ia={load:function(e){return Promise.all([Z.library_genre(e.params.genre),Z.library_genre_albums(e.params.genre)])},set:function(e,t){e.genre=t[0].data,e.albums_list=new Re(t[1].data.albums),e.albums_list.group(Ds("name_sort"))}},lF={name:"PageGenre",components:{ContentWithHeading:pt,IndexButtonList:wr,ListAlbums:br,ModalDialogGenre:Bm},beforeRouteEnter(e,t,n){Ia.load(e).then(r=>{n(o=>Ia.set(o,r))})},beforeRouteUpdate(e,t,n){if(!this.albums_list.isEmpty()){n();return}const r=this;Ia.load(e).then(o=>{Ia.set(r,o),n()})},data(){return{genre:{},albums_list:new Re,show_genre_details_modal:!1}},methods:{open_tracks:function(){this.show_details_modal=!1,this.$router.push({name:"GenreTracks",params:{genre:this.genre.name}})},play:function(){Z.player_play_expression('genre is "'+this.genre.name+'" and media_kind is music',!0)}}},uF=["textContent"],cF={class:"buttons is-centered"},dF={class:"icon"},mF={class:"icon"},fF=["textContent"],pF={class:"heading has-text-centered-mobile"},hF=["textContent"],_F=u("span",null,"\xA0|\xA0",-1),gF=["textContent"];function yF(e,t,n,r,o,s){const i=O("index-button-list"),a=O("mdicon"),l=O("list-albums"),c=O("modal-dialog-genre"),d=O("content-with-heading");return S(),D("div",null,[C(d,null,{options:P(()=>[C(i,{index:o.albums_list.indexList},null,8,["index"])]),"heading-left":P(()=>[u("p",{class:"title is-4",textContent:v(o.genre.name)},null,8,uF)]),"heading-right":P(()=>[u("div",cF,[u("a",{class:"button is-small is-light is-rounded",onClick:t[0]||(t[0]=f=>o.show_genre_details_modal=!0)},[u("span",dF,[C(a,{name:"dots-horizontal",size:"16"})])]),u("a",{class:"button is-small is-dark is-rounded",onClick:t[1]||(t[1]=(...f)=>s.play&&s.play(...f))},[u("span",mF,[C(a,{name:"shuffle",size:"16"})]),u("span",{textContent:v(e.$t("page.genre.shuffle"))},null,8,fF)])])]),content:P(()=>[u("p",pF,[u("span",{textContent:v(e.$t("page.genre.album-count",{count:o.genre.album_count}))},null,8,hF),_F,u("a",{class:"has-text-link",onClick:t[2]||(t[2]=(...f)=>s.open_tracks&&s.open_tracks(...f)),textContent:v(e.$t("page.genre.track-count",{count:o.genre.track_count}))},null,8,gF)]),C(l,{albums:o.albums_list},null,8,["albums"]),C(c,{show:o.show_genre_details_modal,genre:o.genre,onClose:t[3]||(t[3]=f=>o.show_genre_details_modal=!1)},null,8,["show","genre"])]),_:1})])}var vF=ve(lF,[["render",yF]]);const Ma={load:function(e){return Promise.all([Z.library_genre(e.params.genre),Z.library_genre_tracks(e.params.genre)])},set:function(e,t){e.genre=t[0].data,e.tracks_list=new Re(t[1].data.tracks)}},bF={name:"PageGenreTracks",components:{ContentWithHeading:pt,DropdownMenu:No,IndexButtonList:wr,ListTracks:Nn,ModalDialogGenre:Bm},beforeRouteEnter(e,t,n){Ma.load(e).then(r=>{n(o=>Ma.set(o,r))})},beforeRouteUpdate(e,t,n){const r=this;Ma.load(e).then(o=>{Ma.set(r,o),n()})},data(){return{genre:{},groupby_options:[{id:1,name:this.$t("page.genre.sort-by.name"),options:Ji("title_sort")},{id:2,name:this.$t("page.genre.sort-by.rating"),options:Nm("rating",{direction:"desc"})}],show_genre_details_modal:!1,tracks_list:new Re}},computed:{expression(){return'genre is "'+this.genre.name+'" and media_kind is music'},selected_groupby_option_id:{get(){return this.$store.state.genre_tracks_sort},set(e){this.$store.commit(yy,e)}},tracks(){const e=this.groupby_options.find(t=>t.id===this.selected_groupby_option_id);return this.tracks_list.group(e.options),this.tracks_list}},methods:{open_genre:function(){this.show_details_modal=!1,this.$router.push({name:"Genre",params:{genre:this.genre.name}})},play:function(){Z.player_play_expression(this.expression,!0)}}},wF={class:"columns"},CF={class:"column"},zF=["textContent"],xF=["textContent"],kF={class:"buttons is-centered"},SF={class:"icon"},EF={class:"icon"},$F=["textContent"],AF={class:"heading has-text-centered-mobile"},TF=["textContent"],OF=u("span",null,"\xA0|\xA0",-1),PF=["textContent"];function DF(e,t,n,r,o,s){const i=O("index-button-list"),a=O("dropdown-menu"),l=O("mdicon"),c=O("list-tracks"),d=O("modal-dialog-genre"),f=O("content-with-heading");return S(),D("div",null,[C(f,null,{options:P(()=>[C(i,{index:s.tracks.indexList},null,8,["index"]),u("div",wF,[u("div",CF,[u("p",{class:"heading",style:{"margin-bottom":"24px"},textContent:v(e.$t("page.genre.sort-by.title"))},null,8,zF),C(a,{modelValue:s.selected_groupby_option_id,"onUpdate:modelValue":t[0]||(t[0]=m=>s.selected_groupby_option_id=m),options:o.groupby_options},null,8,["modelValue","options"])])])]),"heading-left":P(()=>[u("p",{class:"title is-4",textContent:v(o.genre.name)},null,8,xF)]),"heading-right":P(()=>[u("div",kF,[u("a",{class:"button is-small is-light is-rounded",onClick:t[1]||(t[1]=m=>o.show_genre_details_modal=!0)},[u("span",SF,[C(l,{name:"dots-horizontal",size:"16"})])]),u("a",{class:"button is-small is-dark is-rounded",onClick:t[2]||(t[2]=(...m)=>s.play&&s.play(...m))},[u("span",EF,[C(l,{name:"shuffle",size:"16"})]),u("span",{textContent:v(e.$t("page.genre.shuffle"))},null,8,$F)])])]),content:P(()=>[u("p",AF,[u("a",{class:"has-text-link",onClick:t[3]||(t[3]=(...m)=>s.open_genre&&s.open_genre(...m)),textContent:v(e.$t("page.genre.album-count",{count:o.genre.album_count}))},null,8,TF),OF,u("span",{textContent:v(e.$t("page.genre.track-count",{count:o.genre.track_count}))},null,8,PF)]),C(c,{tracks:s.tracks,expression:s.expression},null,8,["tracks","expression"]),C(d,{show:o.show_genre_details_modal,genre:o.genre,onClose:t[4]||(t[4]=m=>o.show_genre_details_modal=!1)},null,8,["show","genre"])]),_:1})])}var FF=ve(bF,[["render",DF]]);const La={load:function(e){return Promise.all([Z.library_artist(e.params.artist_id),Z.library_artist_tracks(e.params.artist_id)])},set:function(e,t){e.artist=t[0].data,e.tracks_list=new Re(t[1].data.tracks)}},IF={name:"PageArtistTracks",components:{ContentWithHeading:pt,DropdownMenu:No,IndexButtonList:wr,ListTracks:Nn,ModalDialogArtist:zu},beforeRouteEnter(e,t,n){La.load(e).then(r=>{n(o=>La.set(o,r))})},beforeRouteUpdate(e,t,n){const r=this;La.load(e).then(o=>{La.set(r,o),n()})},data(){return{artist:{},groupby_options:[{id:1,name:this.$t("page.artist.sort-by.name"),options:Ji("title_sort")},{id:2,name:this.$t("page.artist.sort-by.rating"),options:Nm("rating",{direction:"desc"})}],show_artist_details_modal:!1,tracks_list:new Re}},computed:{selected_groupby_option_id:{get(){return this.$store.state.artist_tracks_sort},set(e){this.$store.commit(wy,e)}},tracks(){const e=this.groupby_options.find(t=>t.id===this.selected_groupby_option_id);return this.tracks_list.group(e.options),this.tracks_list},track_uris(){return this.tracks_list.items.map(e=>e.uri).join(",")}},methods:{open_artist:function(){this.show_details_modal=!1,this.$router.push({path:"/music/artists/"+this.artist.id})},play:function(){Z.player_play_uri(this.tracks_list.map(e=>e.uri).join(","),!0)}}},MF={class:"columns"},LF={class:"column"},RF=["textContent"],NF=["textContent"],VF={class:"buttons is-centered"},jF={class:"icon"},BF={class:"icon"},HF=["textContent"],UF={class:"heading has-text-centered-mobile"},qF=["textContent"],WF=u("span",null,"\xA0|\xA0",-1),GF=["textContent"];function KF(e,t,n,r,o,s){const i=O("index-button-list"),a=O("dropdown-menu"),l=O("mdicon"),c=O("list-tracks"),d=O("modal-dialog-artist"),f=O("content-with-heading");return S(),D("div",null,[C(f,null,{options:P(()=>[C(i,{index:s.tracks.indexList},null,8,["index"]),u("div",MF,[u("div",LF,[u("p",{class:"heading",style:{"margin-bottom":"24px"},textContent:v(e.$t("page.artist.sort-by.title"))},null,8,RF),C(a,{modelValue:s.selected_groupby_option_id,"onUpdate:modelValue":t[0]||(t[0]=m=>s.selected_groupby_option_id=m),options:o.groupby_options},null,8,["modelValue","options"])])])]),"heading-left":P(()=>[u("p",{class:"title is-4",textContent:v(o.artist.name)},null,8,NF)]),"heading-right":P(()=>[u("div",VF,[u("a",{class:"button is-small is-light is-rounded",onClick:t[1]||(t[1]=m=>o.show_artist_details_modal=!0)},[u("span",jF,[C(l,{name:"dots-horizontal",size:"16"})])]),u("a",{class:"button is-small is-dark is-rounded",onClick:t[2]||(t[2]=(...m)=>s.play&&s.play(...m))},[u("span",BF,[C(l,{name:"shuffle",size:"16"})]),u("span",{textContent:v(e.$t("page.artist.shuffle"))},null,8,HF)])])]),content:P(()=>[u("p",UF,[u("a",{class:"has-text-link",onClick:t[3]||(t[3]=(...m)=>s.open_artist&&s.open_artist(...m)),textContent:v(e.$t("page.artist.album-count",{count:o.artist.album_count}))},null,8,qF),WF,u("span",{textContent:v(e.$t("page.artist.track-count",{count:o.artist.track_count}))},null,8,GF)]),C(c,{tracks:s.tracks,uris:s.track_uris},null,8,["tracks","uris"]),C(d,{show:o.show_artist_details_modal,artist:o.artist,onClose:t[4]||(t[4]=m=>o.show_artist_details_modal=!1)},null,8,["show","artist"])]),_:1})])}var ZF=ve(IF,[["render",KF]]);const YF={name:"ModalDialogComposer",props:["show","composer"],emits:["close"],methods:{play:function(){this.$emit("close"),Z.player_play_expression('composer is "'+this.composer.name+'" and media_kind is music',!1)},queue_add:function(){this.$emit("close"),Z.queue_expression_add('composer is "'+this.composer.name+'" and media_kind is music')},queue_add_next:function(){this.$emit("close"),Z.queue_expression_add_next('composer is "'+this.composer.name+'" and media_kind is music')},open_albums:function(){this.$emit("close"),this.$router.push({name:"ComposerAlbums",params:{composer:this.composer.name}})},open_tracks:function(){this.show_details_modal=!1,this.$router.push({name:"ComposerTracks",params:{composer:this.composer.name}})}}},JF={key:0,class:"modal is-active"},XF={class:"modal-content fd-modal-card"},QF={class:"card"},eI={class:"card-content"},tI={class:"title is-4"},nI=["textContent"],rI=["textContent"],oI=["textContent"],sI=["textContent"],iI=["textContent"],aI=["textContent"],lI=["textContent"],uI={class:"card-footer"},cI={class:"icon"},dI=["textContent"],mI={class:"icon"},fI=["textContent"],pI={class:"icon"},hI=["textContent"];function _I(e,t,n,r,o,s){const i=O("mdicon");return S(),D("div",null,[C(Wt,{name:"fade"},{default:P(()=>[n.show?(S(),D("div",JF,[u("div",{class:"modal-background",onClick:t[0]||(t[0]=a=>e.$emit("close"))}),u("div",XF,[u("div",QF,[u("div",eI,[u("p",tI,[u("a",{class:"has-text-link",onClick:t[1]||(t[1]=(...a)=>s.open_albums&&s.open_albums(...a)),textContent:v(n.composer.name)},null,8,nI)]),u("p",null,[u("span",{class:"heading",textContent:v(e.$t("dialog.composer.albums"))},null,8,rI),u("a",{class:"has-text-link is-6",onClick:t[2]||(t[2]=(...a)=>s.open_albums&&s.open_albums(...a)),textContent:v(n.composer.album_count)},null,8,oI)]),u("p",null,[u("span",{class:"heading",textContent:v(e.$t("dialog.composer.tracks"))},null,8,sI),u("a",{class:"has-text-link is-6",onClick:t[3]||(t[3]=(...a)=>s.open_tracks&&s.open_tracks(...a)),textContent:v(n.composer.track_count)},null,8,iI)]),u("p",null,[u("span",{class:"heading",textContent:v(e.$t("dialog.composer.duration"))},null,8,aI),u("span",{class:"title is-6",textContent:v(e.$filters.durationInHours(n.composer.length_ms))},null,8,lI)])]),u("footer",uI,[u("a",{class:"card-footer-item has-text-dark",onClick:t[4]||(t[4]=(...a)=>s.queue_add&&s.queue_add(...a))},[u("span",cI,[C(i,{name:"playlist-plus",size:"16"})]),u("span",{class:"is-size-7",textContent:v(e.$t("dialog.composer.add"))},null,8,dI)]),u("a",{class:"card-footer-item has-text-dark",onClick:t[5]||(t[5]=(...a)=>s.queue_add_next&&s.queue_add_next(...a))},[u("span",mI,[C(i,{name:"playlist-play",size:"16"})]),u("span",{class:"is-size-7",textContent:v(e.$t("dialog.composer.add-next"))},null,8,fI)]),u("a",{class:"card-footer-item has-text-dark",onClick:t[6]||(t[6]=(...a)=>s.play&&s.play(...a))},[u("span",pI,[C(i,{name:"play",size:"16"})]),u("span",{class:"is-size-7",textContent:v(e.$t("dialog.composer.play"))},null,8,hI)])])])]),u("button",{class:"modal-close is-large","aria-label":"close",onClick:t[7]||(t[7]=a=>e.$emit("close"))})])):X("",!0)]),_:1})])}var Hm=ve(YF,[["render",_I]]);const gI={name:"ListComposers",components:{ModalDialogComposer:Hm},props:["composers","media_kind","hide_group_title"],data(){return{show_details_modal:!1,selected_composer:{}}},computed:{media_kind_resolved:function(){return this.media_kind?this.media_kind:this.selected_composer.media_kind}},methods:{open_composer:function(e){this.selected_composer=e,this.$router.push({name:"ComposerAlbums",params:{composer:e.name}})},open_dialog:function(e){this.selected_composer=e,this.show_details_modal=!0}}},yI={key:0,class:"mt-6 mb-5 py-2"},vI={class:"media-content is-clipped"},bI=["id","textContent"],wI=["onClick"],CI={class:"media-content fd-has-action is-clipped"},zI=["textContent"],xI={class:"media-right"},kI=["onClick"],SI={class:"icon has-text-dark"};function EI(e,t,n,r,o,s){const i=O("mdicon"),a=O("modal-dialog-composer");return S(),D(Ge,null,[(S(!0),D(Ge,null,Ct(n.composers,l=>(S(),D(Ge,{key:l.itemId},[!l.isItem&&!n.hide_group_title?(S(),D("div",yI,[u("div",vI,[u("span",{id:"index_"+l.groupKey,class:"tag is-info is-light is-small has-text-weight-bold",textContent:v(l.groupKey)},null,8,bI)])])):l.isItem?(S(),D("div",{key:1,class:"media",onClick:c=>s.open_composer(l.item)},[u("div",CI,[u("h1",{class:"title is-6",textContent:v(l.item.name)},null,8,zI)]),u("div",xI,[u("a",{onClick:_t(c=>s.open_dialog(l.item),["prevent","stop"])},[u("span",SI,[C(i,{name:"dots-vertical",size:"16"})])],8,kI)])],8,wI)):X("",!0)],64))),128)),(S(),xe(lo,{to:"#app"},[C(a,{show:o.show_details_modal,composer:o.selected_composer,media_kind:n.media_kind,onClose:t[0]||(t[0]=l=>o.show_details_modal=!1)},null,8,["show","composer","media_kind"])]))],64)}var n1=ve(gI,[["render",EI]]);const Ra={load:function(e){return Z.library_composers("music")},set:function(e,t){e.composers=new Re(t.data),e.composers.group(Ji("name_sort"))}},$I={name:"PageComposers",components:{ContentWithHeading:pt,TabsMusic:vr,IndexButtonList:wr,ListComposers:n1},beforeRouteEnter(e,t,n){Ra.load(e).then(r=>{n(o=>Ra.set(o,r))})},beforeRouteUpdate(e,t,n){if(!this.composers.isEmpty()){n();return}const r=this;Ra.load(e).then(o=>{Ra.set(r,o),n()})},data(){return{composers:new Re}},methods:{}},AI=["textContent"],TI=["textContent"];function OI(e,t,n,r,o,s){const i=O("tabs-music"),a=O("index-button-list"),l=O("list-composers"),c=O("content-with-heading");return S(),D("div",null,[C(i),C(c,null,{options:P(()=>[C(a,{index:o.composers.indexList},null,8,["index"])]),"heading-left":P(()=>[u("p",{class:"title is-4",textContent:v(e.$t("page.composers.title"))},null,8,AI),u("p",{class:"heading",textContent:v(e.$t("page.composers.count",{count:o.composers.total}))},null,8,TI)]),content:P(()=>[C(l,{composers:o.composers},null,8,["composers"])]),_:1})])}var PI=ve($I,[["render",OI]]);const Na={load:function(e){return Promise.all([Z.library_composer(e.params.composer),Z.library_composer_albums(e.params.composer)])},set:function(e,t){e.composer=t[0].data,e.albums_list=new Re(t[1].data.albums)}},DI={name:"PageComposer",components:{ContentWithHeading:pt,ListAlbums:br,ModalDialogComposer:Hm},beforeRouteEnter(e,t,n){Na.load(e).then(r=>{n(o=>Na.set(o,r))})},beforeRouteUpdate(e,t,n){const r=this;Na.load(e).then(o=>{Na.set(r,o),n()})},data(){return{composer:{},albums_list:new Re,show_composer_details_modal:!1}},methods:{open_tracks:function(){this.$router.push({name:"ComposerTracks",params:{composer:this.composer.name}})},play:function(){Z.player_play_expression('composer is "'+this.composer.name+'" and media_kind is music',!0)}}},FI=["textContent"],II={class:"buttons is-centered"},MI={class:"icon"},LI={class:"icon"},RI=["textContent"],NI={class:"heading has-text-centered-mobile"},VI=["textContent"],jI=u("span",null,"\xA0|\xA0",-1),BI=["textContent"];function HI(e,t,n,r,o,s){const i=O("mdicon"),a=O("list-albums"),l=O("modal-dialog-composer"),c=O("content-with-heading");return S(),D("div",null,[C(c,null,{"heading-left":P(()=>[u("p",{class:"title is-4",textContent:v(o.composer.name)},null,8,FI)]),"heading-right":P(()=>[u("div",II,[u("a",{class:"button is-small is-light is-rounded",onClick:t[0]||(t[0]=d=>o.show_composer_details_modal=!0)},[u("span",MI,[C(i,{name:"dots-horizontal",size:"16"})])]),u("a",{class:"button is-small is-dark is-rounded",onClick:t[1]||(t[1]=(...d)=>s.play&&s.play(...d))},[u("span",LI,[C(i,{name:"shuffle",size:"16"})]),u("span",{textContent:v(e.$t("page.composer.shuffle"))},null,8,RI)])])]),content:P(()=>[u("p",NI,[u("span",{textContent:v(e.$t("page.composer.album-count",{count:o.composer.album_count}))},null,8,VI),jI,u("a",{class:"has-text-link",onClick:t[2]||(t[2]=(...d)=>s.open_tracks&&s.open_tracks(...d)),textContent:v(e.$t("page.composer.track-count",{count:o.composer.track_count}))},null,8,BI)]),C(a,{albums:o.albums_list,hide_group_title:!0},null,8,["albums"]),C(l,{show:o.show_composer_details_modal,composer:o.composer,onClose:t[3]||(t[3]=d=>o.show_composer_details_modal=!1)},null,8,["show","composer"])]),_:1})])}var UI=ve(DI,[["render",HI]]);const Va={load:function(e){return Promise.all([Z.library_composer(e.params.composer),Z.library_composer_tracks(e.params.composer)])},set:function(e,t){e.composer=t[0].data,e.tracks_list=new Re(t[1].data.tracks)}},qI={name:"PageComposerTracks",components:{ContentWithHeading:pt,DropdownMenu:No,IndexButtonList:wr,ListTracks:Nn,ModalDialogComposer:Hm},beforeRouteEnter(e,t,n){Va.load(e).then(r=>{n(o=>Va.set(o,r))})},beforeRouteUpdate(e,t,n){const r=this;Va.load(e).then(o=>{Va.set(r,o),n()})},data(){return{groupby_options:[{id:1,name:this.$t("page.composer.sort-by.name"),options:Ji("title_sort")},{id:2,name:this.$t("page.composer.sort-by.rating"),options:Nm("rating",{direction:"desc"})}],composer:{},show_composer_details_modal:!1,tracks_list:new Re}},computed:{expression(){return'composer is "'+this.composer.name+'" and media_kind is music'},selected_groupby_option_id:{get(){return this.$store.state.composer_tracks_sort},set(e){this.$store.commit(gy,e)}},tracks(){const e=this.groupby_options.find(t=>t.id===this.selected_groupby_option_id);return this.tracks_list.group(e.options),this.tracks_list}},methods:{open_albums:function(){this.show_details_modal=!1,this.$router.push({name:"ComposerAlbums",params:{composer:this.composer.name}})},play:function(){Z.player_play_expression(this.expression,!0)}}},WI={class:"columns"},GI={class:"column"},KI=["textContent"],ZI=["textContent"],YI={class:"buttons is-centered"},JI={class:"icon"},XI={class:"icon"},QI=["textContent"],eM={class:"heading has-text-centered-mobile"},tM=["textContent"],nM=u("span",null,"\xA0|\xA0",-1),rM=["textContent"];function oM(e,t,n,r,o,s){const i=O("index-button-list"),a=O("dropdown-menu"),l=O("mdicon"),c=O("list-tracks"),d=O("modal-dialog-composer"),f=O("content-with-heading");return S(),D("div",null,[C(f,null,{options:P(()=>[C(i,{index:s.tracks.indexList},null,8,["index"]),u("div",WI,[u("div",GI,[u("p",{class:"heading",style:{"margin-bottom":"24px"},textContent:v(e.$t("page.artist.sort-by.title"))},null,8,KI),C(a,{modelValue:s.selected_groupby_option_id,"onUpdate:modelValue":t[0]||(t[0]=m=>s.selected_groupby_option_id=m),options:o.groupby_options},null,8,["modelValue","options"])])])]),"heading-left":P(()=>[u("p",{class:"title is-4",textContent:v(o.composer.name)},null,8,ZI)]),"heading-right":P(()=>[u("div",YI,[u("a",{class:"button is-small is-light is-rounded",onClick:t[1]||(t[1]=m=>o.show_composer_details_modal=!0)},[u("span",JI,[C(l,{name:"dots-horizontal",size:"16"})])]),u("a",{class:"button is-small is-dark is-rounded",onClick:t[2]||(t[2]=(...m)=>s.play&&s.play(...m))},[u("span",XI,[C(l,{name:"shuffle",size:"16"})]),u("span",{textContent:v(e.$t("page.composer.shuffle"))},null,8,QI)])])]),content:P(()=>[u("p",eM,[u("a",{class:"has-text-link",onClick:t[3]||(t[3]=(...m)=>s.open_albums&&s.open_albums(...m)),textContent:v(e.$t("page.composer.album-count",{count:o.composer.album_count}))},null,8,tM),nM,u("span",{textContent:v(e.$t("page.composer.track-count",{count:o.composer.track_count}))},null,8,rM)]),C(c,{tracks:s.tracks,expression:s.expression},null,8,["tracks","expression"]),C(d,{show:o.show_composer_details_modal,composer:o.composer,onClose:t[4]||(t[4]=m=>o.show_composer_details_modal=!1)},null,8,["show","composer"])]),_:1})])}var sM=ve(qI,[["render",oM]]);const iM={name:"ModalDialogAddRss",props:["show"],emits:["close","podcast-added"],data(){return{url:"",loading:!1}},watch:{show(){this.show&&(this.loading=!1,setTimeout(()=>{this.$refs.url_field.focus()},10))}},methods:{add_stream:function(){this.loading=!0,Z.library_add(this.url).then(()=>{this.$emit("close"),this.$emit("podcast-added"),this.url=""}).catch(()=>{this.loading=!1})}}},aM={key:0,class:"modal is-active"},lM={class:"modal-content fd-modal-card"},uM={class:"card"},cM={class:"card-content"},dM=["textContent"],mM={class:"field"},fM={class:"control is-expanded has-icons-left"},pM=["placeholder","disabled"],hM={class:"icon is-left"},_M=["textContent"],gM={key:0,class:"card-footer"},yM={class:"card-footer-item button is-loading"},vM={class:"icon"},bM=["textContent"],wM={key:1,class:"card-footer"},CM={class:"icon"},zM=["textContent"],xM={class:"icon"},kM=["textContent"];function SM(e,t,n,r,o,s){const i=O("mdicon");return S(),D("div",null,[C(Wt,{name:"fade"},{default:P(()=>[n.show?(S(),D("div",aM,[u("div",{class:"modal-background",onClick:t[0]||(t[0]=a=>e.$emit("close"))}),u("div",lM,[u("div",uM,[u("div",cM,[u("p",{class:"title is-4",textContent:v(e.$t("dialog.add.rss.title"))},null,8,dM),u("form",{onSubmit:t[2]||(t[2]=_t((...a)=>s.add_stream&&s.add_stream(...a),["prevent"]))},[u("div",mM,[u("p",fM,[kt(u("input",{ref:"url_field","onUpdate:modelValue":t[1]||(t[1]=a=>o.url=a),class:"input is-shadowless",type:"text",placeholder:e.$t("dialog.add.rss.placeholder"),disabled:o.loading},null,8,pM),[[kn,o.url]]),u("span",hM,[C(i,{name:"rss",size:"16"})])]),u("p",{class:"help",textContent:v(e.$t("dialog.add.rss.help"))},null,8,_M)])],32)]),o.loading?(S(),D("footer",gM,[u("a",yM,[u("span",vM,[C(i,{name:"web",size:"16"})]),u("span",{class:"is-size-7",textContent:v(e.$t("dialog.add.rss.processing"))},null,8,bM)])])):(S(),D("footer",wM,[u("a",{class:"card-footer-item has-text-danger",onClick:t[3]||(t[3]=a=>e.$emit("close"))},[u("span",CM,[C(i,{name:"cancel",size:"16"})]),u("span",{class:"is-size-7",textContent:v(e.$t("dialog.add.rss.cancel"))},null,8,zM)]),u("a",{class:"card-footer-item has-background-info has-text-white has-text-weight-bold",onClick:t[4]||(t[4]=(...a)=>s.add_stream&&s.add_stream(...a))},[u("span",xM,[C(i,{name:"playlist-plus",size:"16"})]),u("span",{class:"is-size-7",textContent:v(e.$t("dialog.add.rss.add"))},null,8,kM)])]))])]),u("button",{class:"modal-close is-large","aria-label":"close",onClick:t[5]||(t[5]=a=>e.$emit("close"))})])):X("",!0)]),_:1})])}var EM=ve(iM,[["render",SM]]);const ja={load:function(e){return Promise.all([Z.library_albums("podcast"),Z.library_podcasts_new_episodes()])},set:function(e,t){e.albums=new Re(t[0].data),e.new_episodes=new Re(t[1].data.tracks)}},$M={name:"PagePodcasts",components:{ContentWithHeading:pt,ListTracks:Nn,ListAlbums:br,ModalDialogAddRss:EM},beforeRouteEnter(e,t,n){ja.load(e).then(r=>{n(o=>ja.set(o,r))})},beforeRouteUpdate(e,t,n){const r=this;ja.load(e).then(o=>{ja.set(r,o),n()})},data(){return{albums:[],new_episodes:{items:[]},show_url_modal:!1}},computed:{rss(){return this.$store.state.rss_count}},methods:{mark_all_played:function(){this.new_episodes.items.forEach(e=>{Z.library_track_update(e.id,{play_count:"increment"})}),this.new_episodes.items={}},open_add_podcast_dialog:function(e){this.show_url_modal=!0},reload_new_episodes:function(){Z.library_podcasts_new_episodes().then(({data:e})=>{this.new_episodes=new Re(e.tracks)})},reload_podcasts:function(){Z.library_albums("podcast").then(({data:e})=>{this.albums=new Re(e),this.reload_new_episodes()})},update_rss:function(){this.$store.commit(ym,"rss"),this.$store.commit(Ki,!0)}}},AM=["textContent"],TM={class:"buttons is-centered"},OM={class:"icon"},PM=["textContent"],DM=["textContent"],FM=["textContent"],IM={class:"buttons is-centered"},MM={class:"icon"},LM=["textContent"],RM={class:"icon"},NM=["textContent"];function VM(e,t,n,r,o,s){const i=O("mdicon"),a=O("list-tracks"),l=O("content-with-heading"),c=O("list-albums"),d=O("modal-dialog-add-rss");return S(),D("div",null,[o.new_episodes.items.length>0?(S(),xe(l,{key:0},{"heading-left":P(()=>[u("p",{class:"title is-4",textContent:v(e.$t("page.podcasts.new-episodes"))},null,8,AM)]),"heading-right":P(()=>[u("div",TM,[u("a",{class:"button is-small",onClick:t[0]||(t[0]=(...f)=>s.mark_all_played&&s.mark_all_played(...f))},[u("span",OM,[C(i,{name:"pencil",size:"16"})]),u("span",{textContent:v(e.$t("page.podcasts.mark-all-played"))},null,8,PM)])])]),content:P(()=>[C(a,{tracks:o.new_episodes,show_progress:!0,onPlayCountChanged:s.reload_new_episodes},null,8,["tracks","onPlayCountChanged"])]),_:1})):X("",!0),C(l,null,{"heading-left":P(()=>[u("p",{class:"title is-4",textContent:v(e.$t("page.podcasts.title"))},null,8,DM),u("p",{class:"heading",textContent:v(e.$t("page.podcasts.count",{count:o.albums.total}))},null,8,FM)]),"heading-right":P(()=>[u("div",IM,[s.rss.tracks>0?(S(),D("a",{key:0,class:"button is-small",onClick:t[1]||(t[1]=(...f)=>s.update_rss&&s.update_rss(...f))},[u("span",MM,[C(i,{name:"refresh",size:"16"})]),u("span",{textContent:v(e.$t("page.podcasts.update"))},null,8,LM)])):X("",!0),u("a",{class:"button is-small",onClick:t[2]||(t[2]=(...f)=>s.open_add_podcast_dialog&&s.open_add_podcast_dialog(...f))},[u("span",RM,[C(i,{name:"rss",size:"16"})]),u("span",{textContent:v(e.$t("page.podcasts.add"))},null,8,NM)])])]),content:P(()=>[C(c,{albums:o.albums,onPlayCountChanged:t[3]||(t[3]=f=>s.reload_new_episodes()),onPodcastDeleted:t[4]||(t[4]=f=>s.reload_podcasts())},null,8,["albums"]),C(d,{show:o.show_url_modal,onClose:t[5]||(t[5]=f=>o.show_url_modal=!1),onPodcastAdded:t[6]||(t[6]=f=>s.reload_podcasts())},null,8,["show"])]),_:1})])}var jM=ve($M,[["render",VM]]);const Ba={load:function(e){return Promise.all([Z.library_album(e.params.album_id),Z.library_podcast_episodes(e.params.album_id)])},set:function(e,t){e.album=t[0].data,e.tracks=new Re(t[1].data.tracks)}},BM={name:"PagePodcast",components:{ContentWithHeading:pt,ListTracks:Nn,ModalDialogAlbum:Cu,ModalDialog:Lm},beforeRouteEnter(e,t,n){Ba.load(e).then(r=>{n(o=>Ba.set(o,r))})},beforeRouteUpdate(e,t,n){const r=this;Ba.load(e).then(o=>{Ba.set(r,o),n()})},data(){return{album:{},tracks:new Re,show_details_modal:!1,show_remove_podcast_modal:!1,rss_playlist_to_remove:{}}},computed:{new_tracks(){return this.tracks.items.filter(e=>e.play_count===0).length}},methods:{play:function(){Z.player_play_uri(this.album.uri,!1)},open_remove_podcast_dialog:function(){Z.library_track_playlists(this.tracks.items[0].id).then(({data:e})=>{this.rss_playlist_to_remove=e.items.filter(t=>t.type==="rss")[0],this.show_remove_podcast_modal=!0,this.show_details_modal=!1})},remove_podcast:function(){this.show_remove_podcast_modal=!1,Z.library_playlist_delete(this.rss_playlist_to_remove.id).then(()=>{this.$router.replace({path:"/podcasts"})})},reload_tracks:function(){Z.library_podcast_episodes(this.album.id).then(({data:e})=>{this.tracks=new Re(e.tracks)})}}},HM=["textContent"],UM={class:"buttons is-centered"},qM={class:"icon"},WM={class:"icon"},GM=["textContent"],KM=["textContent"],ZM=["textContent"],YM={class:"is-size-7"},JM=vt(" ("),XM=["textContent"],QM=["textContent"],eL=vt(") ");function tL(e,t,n,r,o,s){const i=O("mdicon"),a=O("list-tracks"),l=O("modal-dialog-album"),c=O("modal-dialog"),d=O("content-with-heading");return S(),xe(d,null,{"heading-left":P(()=>[u("div",{class:"title is-4",textContent:v(o.album.name)},null,8,HM)]),"heading-right":P(()=>[u("div",UM,[u("a",{class:"button is-small is-light is-rounded",onClick:t[0]||(t[0]=f=>o.show_details_modal=!0)},[u("span",qM,[C(i,{name:"dots-horizontal",size:"16"})])]),u("a",{class:"button is-small is-dark is-rounded",onClick:t[1]||(t[1]=(...f)=>s.play&&s.play(...f))},[u("span",WM,[C(i,{name:"play",size:"16"})]),u("span",{textContent:v(e.$t("page.podcast.play"))},null,8,GM)])])]),content:P(()=>[u("p",{class:"heading has-text-centered-mobile",textContent:v(e.$t("page.podcast.track-count",{count:o.album.track_count}))},null,8,KM),C(a,{tracks:o.tracks,show_progress:!0,onPlayCountChanged:s.reload_tracks},null,8,["tracks","onPlayCountChanged"]),C(l,{show:o.show_details_modal,album:o.album,media_kind:"podcast",new_tracks:s.new_tracks,onClose:t[2]||(t[2]=f=>o.show_details_modal=!1),onPlayCountChanged:s.reload_tracks,onRemovePodcast:s.open_remove_podcast_dialog},null,8,["show","album","new_tracks","onPlayCountChanged","onRemovePodcast"]),C(c,{show:o.show_remove_podcast_modal,title:e.$t("page.podcast.remove-podcast"),delete_action:e.$t("page.podcast.remove"),onClose:t[3]||(t[3]=f=>o.show_remove_podcast_modal=!1),onDelete:s.remove_podcast},{"modal-content":P(()=>[u("p",{textContent:v(e.$t("page.podcast.remove-info-1"))},null,8,ZM),u("p",YM,[JM,u("span",{textContent:v(e.$t("page.podcast.remove-info-2"))},null,8,XM),u("b",{textContent:v(o.rss_playlist_to_remove.name)},null,8,QM),eL])]),_:1},8,["show","title","delete_action","onDelete"])]),_:1})}var nL=ve(BM,[["render",tL]]);const rL={name:"TabsAudiobooks"},oL={class:"section fd-tabs-section"},sL={class:"container"},iL={class:"columns is-centered"},aL={class:"column is-four-fifths"},lL={class:"tabs is-centered is-small"},uL=["onClick","onKeypress"],cL={class:"icon is-small"},dL=["textContent"],mL=["onClick","onKeypress"],fL={class:"icon is-small"},pL=["textContent"];function hL(e,t,n,r,o,s){const i=O("mdicon"),a=O("router-link");return S(),D("section",oL,[u("div",sL,[u("div",iL,[u("div",aL,[u("div",lL,[u("ul",null,[C(a,{to:"/audiobooks/artists",custom:""},{default:P(({navigate:l,isActive:c})=>[u("li",{class:Ye({"is-active":c})},[u("a",{onClick:l,onKeypress:Dn(l,["enter"])},[u("span",cL,[C(i,{name:"account-music",size:"16"})]),u("span",{textContent:v(e.$t("page.audiobooks.tabs.authors"))},null,8,dL)],40,uL)],2)]),_:1}),C(a,{to:"/audiobooks/albums",custom:""},{default:P(({navigate:l,isActive:c})=>[u("li",{class:Ye({"is-active":c})},[u("a",{onClick:l,onKeypress:Dn(l,["enter"])},[u("span",fL,[C(i,{name:"album",size:"16"})]),u("span",{textContent:v(e.$t("page.audiobooks.tabs.audiobooks"))},null,8,pL)],40,mL)],2)]),_:1})])])])])])])}var r1=ve(rL,[["render",hL]]);const Ha={load:function(e){return Z.library_albums("audiobook")},set:function(e,t){e.albums=new Re(t.data),e.albums.group(Ds("name_sort"))}},_L={name:"PageAudiobooksAlbums",components:{TabsAudiobooks:r1,ContentWithHeading:pt,IndexButtonList:wr,ListAlbums:br},beforeRouteEnter(e,t,n){Ha.load(e).then(r=>{n(o=>Ha.set(o,r))})},beforeRouteUpdate(e,t,n){if(!this.albums.isEmpty()){n();return}const r=this;Ha.load(e).then(o=>{Ha.set(r,o),n()})},data(){return{albums:new Re}},methods:{}},gL={class:"fd-page-with-tabs"},yL=["textContent"],vL=["textContent"];function bL(e,t,n,r,o,s){const i=O("tabs-audiobooks"),a=O("index-button-list"),l=O("list-albums"),c=O("content-with-heading");return S(),D("div",gL,[C(i),C(c,null,{options:P(()=>[C(a,{index:o.albums.indexList},null,8,["index"])]),"heading-left":P(()=>[u("p",{class:"title is-4",textContent:v(e.$t("page.audiobooks.albums.title"))},null,8,yL),u("p",{class:"heading",textContent:v(e.$t("page.audiobooks.albums.count",{count:o.albums.count}))},null,8,vL)]),content:P(()=>[C(l,{albums:o.albums},null,8,["albums"])]),_:1})])}var wL=ve(_L,[["render",bL]]);const Ua={load:function(e){return Z.library_artists("audiobook")},set:function(e,t){e.artists_list=new Re(t.data)}},CL={name:"PageAudiobooksArtists",components:{ContentWithHeading:pt,TabsAudiobooks:r1,IndexButtonList:wr,ListArtists:Vm},beforeRouteEnter(e,t,n){Ua.load(e).then(r=>{n(o=>Ua.set(o,r))})},beforeRouteUpdate(e,t,n){if(!this.artists_list.isEmpty()){n();return}const r=this;Ua.load(e).then(o=>{Ua.set(r,o),n()})},data(){return{artists_list:new Re}},computed:{artists(){return this.artists_list?(this.artists_list.group(Ds("name_sort")),this.artists_list):[]}},methods:{}},zL={class:"fd-page-with-tabs"},xL=["textContent"],kL=["textContent"];function SL(e,t,n,r,o,s){const i=O("tabs-audiobooks"),a=O("index-button-list"),l=O("list-artists"),c=O("content-with-heading");return S(),D("div",zL,[C(i),C(c,null,{options:P(()=>[C(a,{index:s.artists.indexList},null,8,["index"])]),"heading-left":P(()=>[u("p",{class:"title is-4",textContent:v(e.$t("page.audiobooks.artists.title"))},null,8,xL),u("p",{class:"heading",textContent:v(e.$t("page.audiobooks.artists.count",{count:s.artists.count}))},null,8,kL)]),"heading-right":P(()=>[]),content:P(()=>[C(l,{artists:s.artists},null,8,["artists"])]),_:1})])}var EL=ve(CL,[["render",SL]]);const qa={load:function(e){return Promise.all([Z.library_artist(e.params.artist_id),Z.library_artist_albums(e.params.artist_id)])},set:function(e,t){e.artist=t[0].data,e.albums=new Re(t[1].data)}},$L={name:"PageAudiobooksArtist",components:{ContentWithHeading:pt,ListAlbums:br,ModalDialogArtist:zu},beforeRouteEnter(e,t,n){qa.load(e).then(r=>{n(o=>qa.set(o,r))})},beforeRouteUpdate(e,t,n){if(!this.albums.isEmpty()){n();return}const r=this;qa.load(e).then(o=>{qa.set(r,o),n()})},data(){return{artist:{},albums:new Re,show_artist_details_modal:!1}},methods:{play:function(){Z.player_play_uri(this.albums.items.map(e=>e.uri).join(","),!1)}}},AL=["textContent"],TL={class:"buttons is-centered"},OL={class:"icon"},PL={class:"icon"},DL=["textContent"],FL=["textContent"];function IL(e,t,n,r,o,s){const i=O("mdicon"),a=O("list-albums"),l=O("modal-dialog-artist"),c=O("content-with-heading");return S(),xe(c,null,{"heading-left":P(()=>[u("p",{class:"title is-4",textContent:v(o.artist.name)},null,8,AL)]),"heading-right":P(()=>[u("div",TL,[u("a",{class:"button is-small is-light is-rounded",onClick:t[0]||(t[0]=d=>o.show_artist_details_modal=!0)},[u("span",OL,[C(i,{name:"dots-horizontal",size:"16"})])]),u("a",{class:"button is-small is-dark is-rounded",onClick:t[1]||(t[1]=(...d)=>s.play&&s.play(...d))},[u("span",PL,[C(i,{name:"play",size:"16"})]),u("span",{textContent:v(e.$t("page.audiobooks.artist.play"))},null,8,DL)])])]),content:P(()=>[u("p",{class:"heading has-text-centered-mobile",textContent:v(e.$t("page.audiobooks.artist.album-count",{count:o.artist.album_count}))},null,8,FL),C(a,{albums:o.albums},null,8,["albums"]),C(l,{show:o.show_artist_details_modal,artist:o.artist,onClose:t[2]||(t[2]=d=>o.show_artist_details_modal=!1)},null,8,["show","artist"])]),_:1})}var ML=ve($L,[["render",IL]]);const Wa={load:function(e){return Promise.all([Z.library_album(e.params.album_id),Z.library_album_tracks(e.params.album_id)])},set:function(e,t){e.album=t[0].data,e.tracks=new Re(t[1].data)}},LL={name:"PageAudiobooksAlbum",components:{ContentWithHero:jm,ListTracks:Nn,ModalDialogAlbum:Cu,CoverArtwork:Ir},beforeRouteEnter(e,t,n){Wa.load(e).then(r=>{n(o=>Wa.set(o,r))})},beforeRouteUpdate(e,t,n){const r=this;Wa.load(e).then(o=>{Wa.set(r,o),n()})},data(){return{album:{},tracks:new Re,show_album_details_modal:!1}},methods:{open_artist:function(){this.show_details_modal=!1,this.$router.push({path:"/audiobooks/artists/"+this.album.artist_id})},play:function(){Z.player_play_uri(this.album.uri,!1)},play_track:function(e){Z.player_play_uri(this.album.uri,!1,e)},open_dialog:function(e){this.selected_track=e,this.show_details_modal=!0}}},RL=["textContent"],NL={class:"subtitle is-6 has-text-link has-text-weight-normal"},VL=["textContent"],jL={class:"buttons fd-is-centered-mobile fd-has-margin-top"},BL={class:"icon"},HL=["textContent"],UL={class:"icon"},qL={class:"image is-square fd-has-shadow fd-has-action"},WL=["textContent"];function GL(e,t,n,r,o,s){const i=O("mdicon"),a=O("cover-artwork"),l=O("list-tracks"),c=O("modal-dialog-album"),d=O("content-with-hero");return S(),xe(d,null,{"heading-left":P(()=>[u("h1",{class:"title is-5",textContent:v(o.album.name)},null,8,RL),u("h2",NL,[u("a",{class:"has-text-link",onClick:t[0]||(t[0]=(...f)=>s.open_artist&&s.open_artist(...f)),textContent:v(o.album.artist)},null,8,VL)]),u("div",jL,[u("a",{class:"button is-small is-dark is-rounded",onClick:t[1]||(t[1]=(...f)=>s.play&&s.play(...f))},[u("span",BL,[C(i,{name:"play",size:"16"})]),u("span",{textContent:v(e.$t("page.audiobooks.album.play"))},null,8,HL)]),u("a",{class:"button is-small is-light is-rounded",onClick:t[2]||(t[2]=f=>o.show_album_details_modal=!0)},[u("span",UL,[C(i,{name:"dots-horizontal",size:"16"})])])])]),"heading-right":P(()=>[u("p",qL,[C(a,{artwork_url:o.album.artwork_url,artist:o.album.artist,album:o.album.name,onClick:t[3]||(t[3]=f=>o.show_album_details_modal=!0)},null,8,["artwork_url","artist","album"])])]),content:P(()=>[u("p",{class:"heading is-7 has-text-centered-mobile fd-has-margin-top",textContent:v(e.$t("page.audiobooks.album.track-count",{count:o.album.track_count}))},null,8,WL),C(l,{tracks:o.tracks,uris:o.album.uri},null,8,["tracks","uris"]),C(c,{show:o.show_album_details_modal,album:o.album,media_kind:"audiobook",onClose:t[4]||(t[4]=f=>o.show_album_details_modal=!1)},null,8,["show","album"])]),_:1})}var KL=ve(LL,[["render",GL]]);const ZL={name:"ModalDialogPlaylist",props:["show","playlist","uris"],emits:["close"],methods:{play:function(){this.$emit("close"),Z.player_play_uri(this.uris?this.uris:this.playlist.uri,!1)},queue_add:function(){this.$emit("close"),Z.queue_add(this.uris?this.uris:this.playlist.uri)},queue_add_next:function(){this.$emit("close"),Z.queue_add_next(this.uris?this.uris:this.playlist.uri)},open_playlist:function(){this.$emit("close"),this.$router.push({path:"/playlists/"+this.playlist.id+"/tracks"})}}},YL={key:0,class:"modal is-active"},JL={class:"modal-content fd-modal-card"},XL={class:"card"},QL={class:"card-content"},e7={class:"title is-4"},t7=["textContent"],n7={class:"content is-small"},r7=u("span",{class:"heading"},"Path",-1),o7=["textContent"],s7=["textContent"],i7=["textContent"],a7={key:0},l7=["textContent"],u7=["textContent"],c7={key:0,class:"card-footer"},d7={class:"icon"},m7=["textContent"],f7={class:"icon"},p7=["textContent"],h7={class:"icon"},_7=["textContent"];function g7(e,t,n,r,o,s){const i=O("mdicon");return S(),D("div",null,[C(Wt,{name:"fade"},{default:P(()=>[n.show?(S(),D("div",YL,[u("div",{class:"modal-background",onClick:t[0]||(t[0]=a=>e.$emit("close"))}),u("div",JL,[u("div",XL,[u("div",QL,[u("p",e7,[u("a",{class:"has-text-link",onClick:t[1]||(t[1]=(...a)=>s.open_playlist&&s.open_playlist(...a)),textContent:v(n.playlist.name)},null,8,t7)]),u("div",n7,[u("p",null,[r7,u("span",{class:"title is-6",textContent:v(n.playlist.path)},null,8,o7)]),u("p",null,[u("span",{class:"heading",textContent:v(e.$t("dialog.playlist.type"))},null,8,s7),u("span",{class:"title is-6",textContent:v(n.playlist.type)},null,8,i7)]),n.playlist.folder?X("",!0):(S(),D("p",a7,[u("span",{class:"heading",textContent:v(e.$t("dialog.playlist.track-count"))},null,8,l7),u("span",{class:"title is-6",textContent:v(n.playlist.item_count)},null,8,u7)]))])]),n.playlist.folder?X("",!0):(S(),D("footer",c7,[u("a",{class:"card-footer-item has-text-dark",onClick:t[2]||(t[2]=(...a)=>s.queue_add&&s.queue_add(...a))},[u("span",d7,[C(i,{name:"playlist-plus",size:"16"})]),u("span",{class:"is-size-7",textContent:v(e.$t("dialog.playlist.add"))},null,8,m7)]),u("a",{class:"card-footer-item has-text-dark",onClick:t[3]||(t[3]=(...a)=>s.queue_add_next&&s.queue_add_next(...a))},[u("span",f7,[C(i,{name:"playlist-play",size:"16"})]),u("span",{class:"is-size-7",textContent:v(e.$t("dialog.playlist.add-next"))},null,8,p7)]),u("a",{class:"card-footer-item has-text-dark",onClick:t[4]||(t[4]=(...a)=>s.play&&s.play(...a))},[u("span",h7,[C(i,{name:"play",size:"16"})]),u("span",{class:"is-size-7",textContent:v(e.$t("dialog.playlist.play"))},null,8,_7)])]))])]),u("button",{class:"modal-close is-large","aria-label":"close",onClick:t[5]||(t[5]=a=>e.$emit("close"))})])):X("",!0)]),_:1})])}var o1=ve(ZL,[["render",g7]]);const y7={name:"ListPlaylists",components:{ModalDialogPlaylist:o1},props:["playlists"],data(){return{show_details_modal:!1,selected_playlist:{}}},methods:{open_playlist:function(e){e.type!=="folder"?this.$router.push({path:"/playlists/"+e.id+"/tracks"}):this.$router.push({path:"/playlists/"+e.id})},open_dialog:function(e){this.selected_playlist=e,this.show_details_modal=!0},icon_name:function(e){return e.type==="folder"?"folder":e.type==="rss"?"rss":"music-box-multiple"}}},v7=["playlist","onClick"],b7={class:"media-left fd-has-action"},w7={class:"icon"},C7={class:"media-content fd-has-action is-clipped"},z7=["textContent"],x7={class:"media-right"},k7=["onClick"],S7={class:"icon has-text-dark"};function E7(e,t,n,r,o,s){const i=O("mdicon"),a=O("modal-dialog-playlist");return S(),D(Ge,null,[(S(!0),D(Ge,null,Ct(n.playlists,l=>(S(),D("div",{key:l.itemId,class:"media",playlist:l,onClick:c=>s.open_playlist(l.item)},[u("figure",b7,[u("span",w7,[C(i,{name:s.icon_name(l.item),size:"16"},null,8,["name"])])]),u("div",C7,[u("h1",{class:"title is-6",textContent:v(l.item.name)},null,8,z7)]),u("div",x7,[u("a",{onClick:_t(c=>s.open_dialog(l.item),["prevent","stop"])},[u("span",S7,[C(i,{name:"dots-vertical",size:"16"})])],8,k7)])],8,v7))),128)),(S(),xe(lo,{to:"#app"},[C(a,{show:o.show_details_modal,playlist:o.selected_playlist,onClose:t[0]||(t[0]=l=>o.show_details_modal=!1)},null,8,["show","playlist"])]))],64)}var Um=ve(y7,[["render",E7]]);const Ga={load:function(e){return Promise.all([Z.library_playlist(e.params.playlist_id),Z.library_playlist_folder(e.params.playlist_id)])},set:function(e,t){e.playlist=t[0].data,e.playlists_list=new Re(t[1].data)}},$7={name:"PagePlaylists",components:{ContentWithHeading:pt,ListPlaylists:Um},beforeRouteEnter(e,t,n){Ga.load(e).then(r=>{n(o=>Ga.set(o,r))})},beforeRouteUpdate(e,t,n){const r=this;Ga.load(e).then(o=>{Ga.set(r,o),n()})},data(){return{playlist:{},playlists_list:new Re}},computed:{radio_playlists(){return this.$store.state.config.radio_playlists},playlists(){return this.playlists_list.group(t1(),[e=>e.folder||this.radio_playlists||e.stream_count===0||e.item_count>e.stream_count]),this.playlists_list}}},A7=["textContent"],T7=["textContent"];function O7(e,t,n,r,o,s){const i=O("list-playlists"),a=O("content-with-heading");return S(),xe(a,null,{"heading-left":P(()=>[u("p",{class:"title is-4",textContent:v(o.playlist.name)},null,8,A7),u("p",{class:"heading",textContent:v(e.$t("page.playlists.count",{count:s.playlists.count}))},null,8,T7)]),content:P(()=>[C(i,{playlists:s.playlists},null,8,["playlists"])]),_:1})}var P7=ve($7,[["render",O7]]);const Ka={load:function(e){return Promise.all([Z.library_playlist(e.params.playlist_id),Z.library_playlist_tracks(e.params.playlist_id)])},set:function(e,t){e.playlist=t[0].data,e.tracks=new Re(t[1].data)}},D7={name:"PagePlaylist",components:{ContentWithHeading:pt,ListTracks:Nn,ModalDialogPlaylist:o1},beforeRouteEnter(e,t,n){Ka.load(e).then(r=>{n(o=>Ka.set(o,r))})},beforeRouteUpdate(e,t,n){const r=this;Ka.load(e).then(o=>{Ka.set(r,o),n()})},data(){return{playlist:{},tracks:new Re,show_playlist_details_modal:!1}},computed:{uris(){return this.playlist.random?this.tracks.map(e=>e.uri).join(","):this.playlist.uri}},methods:{play:function(){Z.player_play_uri(this.uris,!0)}}},F7=["textContent"],I7={class:"buttons is-centered"},M7={class:"icon"},L7={class:"icon"},R7=["textContent"],N7=["textContent"];function V7(e,t,n,r,o,s){const i=O("mdicon"),a=O("list-tracks"),l=O("modal-dialog-playlist"),c=O("content-with-heading");return S(),xe(c,null,{"heading-left":P(()=>[u("div",{class:"title is-4",textContent:v(o.playlist.name)},null,8,F7)]),"heading-right":P(()=>[u("div",I7,[u("a",{class:"button is-small is-light is-rounded",onClick:t[0]||(t[0]=d=>o.show_playlist_details_modal=!0)},[u("span",M7,[C(i,{name:"dots-horizontal",size:"16"})])]),u("a",{class:"button is-small is-dark is-rounded",onClick:t[1]||(t[1]=(...d)=>s.play&&s.play(...d))},[u("span",L7,[C(i,{name:"shuffle",size:"16"})]),u("span",{textContent:v(e.$t("page.playlist.shuffle"))},null,8,R7)])])]),content:P(()=>[u("p",{class:"heading has-text-centered-mobile",textContent:v(e.$t("page.playlist.track-count",{count:o.tracks.count}))},null,8,N7),C(a,{tracks:o.tracks,uris:s.uris},null,8,["tracks","uris"]),C(l,{show:o.show_playlist_details_modal,playlist:o.playlist,uris:s.uris,onClose:t[2]||(t[2]=d=>o.show_playlist_details_modal=!1)},null,8,["show","playlist","uris"])]),_:1})}var j7=ve(D7,[["render",V7]]);const B7={name:"ModalDialogDirectory",props:["show","directory"],emits:["close"],methods:{play:function(){this.$emit("close"),Z.player_play_expression('path starts with "'+this.directory.path+'" order by path asc',!1)},queue_add:function(){this.$emit("close"),Z.queue_expression_add('path starts with "'+this.directory.path+'" order by path asc')},queue_add_next:function(){this.$emit("close"),Z.queue_expression_add_next('path starts with "'+this.directory.path+'" order by path asc')}}},H7={key:0,class:"modal is-active"},U7={class:"modal-content fd-modal-card"},q7={class:"card"},W7={class:"card-content"},G7=["textContent"],K7={class:"card-footer"},Z7={class:"icon"},Y7=["textContent"],J7={class:"icon"},X7=["textContent"],Q7={class:"icon"},eR=["textContent"];function tR(e,t,n,r,o,s){const i=O("mdicon");return S(),D("div",null,[C(Wt,{name:"fade"},{default:P(()=>[n.show?(S(),D("div",H7,[u("div",{class:"modal-background",onClick:t[0]||(t[0]=a=>e.$emit("close"))}),u("div",U7,[u("div",q7,[u("div",W7,[u("p",{class:"title is-4",textContent:v(n.directory.path)},null,8,G7)]),u("footer",K7,[u("a",{class:"card-footer-item has-text-dark",onClick:t[1]||(t[1]=(...a)=>s.queue_add&&s.queue_add(...a))},[u("span",Z7,[C(i,{name:"playlist-plus",size:"16"})]),u("span",{class:"is-size-7",textContent:v(e.$t("dialog.directory.add"))},null,8,Y7)]),u("a",{class:"card-footer-item has-text-dark",onClick:t[2]||(t[2]=(...a)=>s.queue_add_next&&s.queue_add_next(...a))},[u("span",J7,[C(i,{name:"playlist-play",size:"16"})]),u("span",{class:"is-size-7",textContent:v(e.$t("dialog.directory.add-next"))},null,8,X7)]),u("a",{class:"card-footer-item has-text-dark",onClick:t[3]||(t[3]=(...a)=>s.play&&s.play(...a))},[u("span",Q7,[C(i,{name:"play",size:"16"})]),u("span",{class:"is-size-7",textContent:v(e.$t("dialog.directory.play"))},null,8,eR)])])])]),u("button",{class:"modal-close is-large","aria-label":"close",onClick:t[4]||(t[4]=a=>e.$emit("close"))})])):X("",!0)]),_:1})])}var s1=ve(B7,[["render",tR]]);const nR={name:"ListDirectories",components:{ModalDialogDirectory:s1},props:["directories"],data(){return{show_details_modal:!1,selected_directory:{}}},computed:{current_directory(){return this.$route.query&&this.$route.query.directory?this.$route.query.directory:"/"}},methods:{open_parent_directory:function(){this.current_directory.slice(0,this.current_directory.lastIndexOf("/"))===""||this.$store.state.config.directories.includes(this.current_directory)?this.$router.push({path:"/files"}):this.$router.push({path:"/files",query:{directory:this.current_directory.slice(0,this.current_directory.lastIndexOf("/"))}})},open_directory:function(e){this.$router.push({path:"/files",query:{directory:e.path}})},open_dialog:function(e){this.selected_directory=e,this.show_details_modal=!0}}},rR={class:"media-left fd-has-action"},oR={class:"icon"},sR=u("div",{class:"media-content fd-has-action is-clipped"},[u("h1",{class:"title is-6"},"..")],-1),iR={class:"media-right"},aR=["onClick"],lR={class:"media-left fd-has-action"},uR={class:"icon"},cR={class:"media-content fd-has-action is-clipped"},dR=["textContent"],mR=["textContent"],fR={class:"media-right"},pR=["onClick"],hR={class:"icon has-text-dark"};function _R(e,t,n,r,o,s){const i=O("mdicon"),a=O("modal-dialog-directory");return S(),D(Ge,null,[e.$route.query.directory?(S(),D("div",{key:0,class:"media",onClick:t[0]||(t[0]=l=>s.open_parent_directory())},[u("figure",rR,[u("span",oR,[C(i,{name:"subdirectory-arrow-left",size:"16"})])]),sR,u("div",iR,[xt(e.$slots,"actions")])])):X("",!0),(S(!0),D(Ge,null,Ct(n.directories,l=>(S(),D("div",{key:l.path,class:"media",onClick:c=>s.open_directory(l)},[u("figure",lR,[u("span",uR,[C(i,{name:"folder",size:"16"})])]),u("div",cR,[u("h1",{class:"title is-6",textContent:v(l.path.substring(l.path.lastIndexOf("/")+1))},null,8,dR),u("h2",{class:"subtitle is-7 has-text-grey-light",textContent:v(l.path)},null,8,mR)]),u("div",fR,[u("a",{onClick:_t(c=>s.open_dialog(l),["prevent","stop"])},[u("span",hR,[C(i,{name:"dots-vertical",size:"16"})])],8,pR)])],8,aR))),128)),(S(),xe(lo,{to:"#app"},[C(a,{show:o.show_details_modal,directory:o.selected_directory,onClose:t[1]||(t[1]=l=>o.show_details_modal=!1)},null,8,["show","directory"])]))],64)}var gR=ve(nR,[["render",_R]]);const Za={load:function(e){return e.query.directory?Z.library_files(e.query.directory):Promise.resolve()},set:function(e,t){t?(e.dirs=t.data.directories,e.playlists=new Re(t.data.playlists),e.tracks=new Re(t.data.tracks)):(e.dirs=e.$store.state.config.directories.map(n=>({path:n})),e.playlists=new Re,e.tracks=new Re)}},yR={name:"PageFiles",components:{ContentWithHeading:pt,ListDirectories:gR,ListPlaylists:Um,ListTracks:Nn,ModalDialogDirectory:s1},beforeRouteEnter(e,t,n){Za.load(e).then(r=>{n(o=>Za.set(o,r))})},beforeRouteUpdate(e,t,n){const r=this;Za.load(e).then(o=>{Za.set(r,o),n()})},data(){return{dirs:[],playlists:new Re,tracks:new Re,show_details_modal:!1}},computed:{current_directory(){return this.$route.query&&this.$route.query.directory?this.$route.query.directory:"/"},play_expression(){return'path starts with "'+this.current_directory+'" order by path asc'}},methods:{play:function(){Z.player_play_expression(this.play_expression,!1)}}},vR=["textContent"],bR=["textContent"],wR={class:"buttons is-centered"},CR={class:"icon"},zR={class:"icon"},xR=["textContent"];function kR(e,t,n,r,o,s){const i=O("mdicon"),a=O("list-directories"),l=O("list-playlists"),c=O("list-tracks"),d=O("modal-dialog-directory"),f=O("content-with-heading");return S(),D("div",null,[C(f,null,{"heading-left":P(()=>[u("p",{class:"title is-4",textContent:v(e.$t("page.files.title"))},null,8,vR),u("p",{class:"title is-7 has-text-grey",textContent:v(s.current_directory)},null,8,bR)]),"heading-right":P(()=>[u("div",wR,[u("a",{class:"button is-small is-light is-rounded",onClick:t[0]||(t[0]=m=>o.show_details_modal=!0)},[u("span",CR,[C(i,{name:"dots-horizontal",size:"16"})])]),u("a",{class:"button is-small is-dark is-rounded",onClick:t[1]||(t[1]=(...m)=>s.play&&s.play(...m))},[u("span",zR,[C(i,{name:"play",size:"16"})]),u("span",{textContent:v(e.$t("page.files.play"))},null,8,xR)])])]),content:P(()=>[C(a,{directories:o.dirs},null,8,["directories"]),C(l,{playlists:o.playlists},null,8,["playlists"]),C(c,{tracks:o.tracks,expression:s.play_expression,show_icon:!0},null,8,["tracks","expression"]),C(d,{show:o.show_details_modal,directory:s.current_directory,onClose:t[2]||(t[2]=m=>o.show_details_modal=!1)},null,8,["show","directory"])]),_:1})])}var SR=ve(yR,[["render",kR]]);const Ya={load:function(e){return Z.library_radio_streams()},set:function(e,t){e.tracks=new Re(t.data.tracks)}},ER={name:"PageRadioStreams",components:{ContentWithHeading:pt,ListTracks:Nn},beforeRouteEnter(e,t,n){Ya.load(e).then(r=>{n(o=>Ya.set(o,r))})},beforeRouteUpdate(e,t,n){const r=this;Ya.load(e).then(o=>{Ya.set(r,o),n()})},data(){return{tracks:new Re}}},$R=["textContent"],AR=["textContent"];function TR(e,t,n,r,o,s){const i=O("list-tracks"),a=O("content-with-heading");return S(),D("div",null,[C(a,null,{"heading-left":P(()=>[u("p",{class:"title is-4",textContent:v(e.$t("page.radio.title"))},null,8,$R)]),content:P(()=>[u("p",{class:"heading has-text-centered-mobile",textContent:v(e.$t("page.radio.count",{count:o.tracks.total}))},null,8,AR),C(i,{tracks:o.tracks},null,8,["tracks"])]),_:1})])}var OR=ve(ER,[["render",TR]]);const PR={name:"ContentText"},DR={class:"section fd-content py-3"},FR={class:"container"},IR={class:"columns is-centered"},MR={class:"column is-four-fifths"};function LR(e,t,n,r,o,s){return S(),D("section",DR,[u("div",FR,[u("div",IR,[u("div",MR,[xt(e.$slots,"content")])])])])}var i1=ve(PR,[["render",LR]]);const RR={name:"TabsSearch",props:["query"],computed:{spotify_enabled(){return this.$store.state.spotify.webapi_token_valid},route_query:function(){return this.query?{type:"track,artist,album,playlist,audiobook,podcast",query:this.query,limit:3,offset:0}:null}},methods:{search_library:function(){this.$store.commit(od,"/search/library"),this.$router.push({path:this.$store.state.search_path,query:this.route_query})},search_spotify:function(){this.$store.commit(od,"/search/spotify"),this.$router.push({path:this.$store.state.search_path,query:this.route_query})}}},NR={key:0,class:"section fd-remove-padding-bottom"},VR={class:"container"},jR={class:"columns is-centered"},BR={class:"column is-four-fifths"},HR={class:"tabs is-centered is-small is-toggle is-toggle-rounded"},UR={class:"icon is-small"},qR=["textContent"],WR={class:"icon is-small"},GR=["textContent"];function KR(e,t,n,r,o,s){const i=O("mdicon");return s.spotify_enabled?(S(),D("section",NR,[u("div",VR,[u("div",jR,[u("div",BR,[u("div",HR,[u("ul",null,[u("li",{class:Ye({"is-active":e.$store.state.search_path==="/search/library"})},[u("a",{onClick:t[0]||(t[0]=(...a)=>s.search_library&&s.search_library(...a))},[u("span",UR,[C(i,{name:"bookshelf",size:"16"})]),u("span",{textContent:v(e.$t("page.search.tabs.library"))},null,8,qR)])],2),u("li",{class:Ye({"is-active":e.$store.state.search_path==="/search/spotify"})},[u("a",{onClick:t[1]||(t[1]=(...a)=>s.search_spotify&&s.search_spotify(...a))},[u("span",WR,[C(i,{name:"spotify",size:"16"})]),u("span",{textContent:v(e.$t("page.search.tabs.spotify"))},null,8,GR)])],2)])])])])])])):X("",!0)}var a1=ve(RR,[["render",KR]]);const ZR={name:"PageSearch",components:{ContentWithHeading:pt,ContentText:i1,TabsSearch:a1,ListTracks:Nn,ListArtists:Vm,ListAlbums:br,ListPlaylists:Um,ListComposers:n1},data(){return{search_query:"",tracks:new Re,artists:new Re,albums:new Re,composers:new Re,playlists:new Re,audiobooks:new Re,podcasts:new Re}},computed:{recent_searches(){return this.$store.state.recent_searches},show_tracks(){return this.$route.query.type&&this.$route.query.type.includes("track")},show_all_tracks_button(){return this.tracks.total>this.tracks.items.length},show_artists(){return this.$route.query.type&&this.$route.query.type.includes("artist")},show_all_artists_button(){return this.artists.total>this.artists.items.length},show_albums(){return this.$route.query.type&&this.$route.query.type.includes("album")},show_all_albums_button(){return this.albums.total>this.albums.items.length},show_composers(){return this.$route.query.type&&this.$route.query.type.includes("composer")},show_all_composers_button(){return this.composers.total>this.composers.items.length},show_playlists(){return this.$route.query.type&&this.$route.query.type.includes("playlist")},show_all_playlists_button(){return this.playlists.total>this.playlists.items.length},show_audiobooks(){return this.$route.query.type&&this.$route.query.type.includes("audiobook")},show_all_audiobooks_button(){return this.audiobooks.total>this.audiobooks.items.length},show_podcasts(){return this.$route.query.type&&this.$route.query.type.includes("podcast")},show_all_podcasts_button(){return this.podcasts.total>this.podcasts.items.length},is_visible_artwork(){return this.$store.getters.settings_option("webinterface","show_cover_artwork_in_album_lists").value}},watch:{$route(e,t){this.search(e)}},mounted:function(){this.search(this.$route)},methods:{search:function(e){if(!e.query.query||e.query.query===""){this.search_query="",this.$refs.search_field.focus();return}this.search_query=e.query.query,this.searchMusic(e.query),this.searchAudiobooks(e.query),this.searchPodcasts(e.query),this.$store.commit(_m,e.query.query)},searchMusic:function(e){if(e.type.indexOf("track")<0&&e.type.indexOf("artist")<0&&e.type.indexOf("album")<0&&e.type.indexOf("playlist")<0)return;const t={type:e.type,media_kind:"music"};e.query.startsWith("query:")?t.expression=e.query.replace(/^query:/,"").trim():t.query=e.query,e.limit&&(t.limit=e.limit,t.offset=e.offset),Z.search(t).then(({data:n})=>{this.tracks=new Re(n.tracks),this.artists=new Re(n.artists),this.albums=new Re(n.albums),this.composers=new Re(n.composers),this.playlists=new Re(n.playlists)})},searchAudiobooks:function(e){if(e.type.indexOf("audiobook")<0)return;const t={type:"album",media_kind:"audiobook"};e.query.startsWith("query:")?t.expression=e.query.replace(/^query:/,"").trim():t.expression='((album includes "'+e.query+'" or artist includes "'+e.query+'") and media_kind is audiobook)',e.limit&&(t.limit=e.limit,t.offset=e.offset),Z.search(t).then(({data:n})=>{this.audiobooks=new Re(n.albums)})},searchPodcasts:function(e){if(e.type.indexOf("podcast")<0)return;const t={type:"album",media_kind:"podcast"};e.query.startsWith("query:")?t.expression=e.query.replace(/^query:/,"").trim():t.expression='((album includes "'+e.query+'" or artist includes "'+e.query+'") and media_kind is podcast)',e.limit&&(t.limit=e.limit,t.offset=e.offset),Z.search(t).then(({data:n})=>{this.podcasts=new Re(n.albums)})},new_search:function(){!this.search_query||(this.$router.push({path:this.$store.state.search_path,query:{type:"track,artist,album,playlist,audiobook,podcast,composer",query:this.search_query,limit:3,offset:0}}),this.$refs.search_field.blur())},open_search_tracks:function(){this.$router.push({path:"/search/library",query:{type:"track",query:this.$route.query.query}})},open_search_artists:function(){this.$router.push({path:"/search/library",query:{type:"artist",query:this.$route.query.query}})},open_search_albums:function(){this.$router.push({path:"/search/library",query:{type:"album",query:this.$route.query.query}})},open_search_composers:function(){this.$router.push({path:"/search/library",query:{type:"tracks",query:this.$route.query.query}})},open_search_playlists:function(){this.$router.push({path:"/search/library",query:{type:"playlist",query:this.$route.query.query}})},open_search_audiobooks:function(){this.$router.push({path:"/search/library",query:{type:"audiobook",query:this.$route.query.query}})},open_search_podcasts:function(){this.$router.push({path:"/search/library",query:{type:"podcast",query:this.$route.query.query}})},open_composer:function(e){this.$router.push({name:"ComposerAlbums",params:{composer:e.name}})},open_playlist:function(e){this.$router.push({path:"/playlists/"+e.id+"/tracks"})},open_recent_search:function(e){this.search_query=e,this.new_search()},open_track_dialog:function(e){this.selected_track=e,this.show_track_details_modal=!0},open_album_dialog:function(e){this.selected_album=e,this.show_album_details_modal=!0},open_artist_dialog:function(e){this.selected_artist=e,this.show_artist_details_modal=!0},open_composer_dialog:function(e){this.selected_composer=e,this.show_composer_details_modal=!0},open_playlist_dialog:function(e){this.selected_playlist=e,this.show_playlist_details_modal=!0}}},YR={class:"section fd-remove-padding-bottom"},JR={class:"container"},XR={class:"columns is-centered"},QR={class:"column is-four-fifths"},eN={class:"field"},tN={class:"control is-expanded has-icons-left"},nN={class:"icon is-left"},rN={class:"help has-text-centered"},oN=["innerHTML"],sN={class:"tags",style:{"margin-top":"16px"}},iN=["onClick","textContent"],aN=["textContent"],lN={key:0,class:"level"},uN={class:"level-item"},cN=["textContent"],dN=["textContent"],mN=["textContent"],fN={key:0,class:"level"},pN={class:"level-item"},hN=["textContent"],_N=["textContent"],gN=["textContent"],yN={key:0,class:"level"},vN={class:"level-item"},bN=["textContent"],wN=["textContent"],CN=["textContent"],zN={key:0,class:"level"},xN={class:"level-item"},kN=["textContent"],SN=["textContent"],EN=["textContent"],$N={key:0,class:"level"},AN={class:"level-item"},TN=["textContent"],ON=["textContent"],PN=["textContent"],DN={key:0,class:"level"},FN={class:"level-item"},IN=["textContent"],MN=["textContent"],LN=["textContent"],RN={key:0,class:"level"},NN={class:"level-item"},VN=["textContent"],jN=["textContent"];function BN(e,t,n,r,o,s){const i=O("mdicon"),a=O("tabs-search"),l=O("list-tracks"),c=O("content-with-heading"),d=O("content-text"),f=O("list-artists"),m=O("list-albums"),p=O("list-composers"),h=O("list-playlists");return S(),D("div",null,[u("section",YR,[u("div",JR,[u("div",XR,[u("div",QR,[u("form",{onSubmit:t[1]||(t[1]=_t((..._)=>s.new_search&&s.new_search(..._),["prevent"]))},[u("div",eN,[u("p",tN,[kt(u("input",{ref:"search_field","onUpdate:modelValue":t[0]||(t[0]=_=>o.search_query=_),class:"input is-rounded is-shadowless",type:"text",placeholder:"Search",autocomplete:"off"},null,512),[[kn,o.search_query]]),u("span",nN,[C(i,{name:"magnify",size:"16"})])]),u("p",rN,[u("span",{innerHTML:e.$t("page.search.help")},null,8,oN)])])],32),u("div",sN,[(S(!0),D(Ge,null,Ct(s.recent_searches,_=>(S(),D("a",{key:_,class:"tag",onClick:g=>s.open_recent_search(_),textContent:v(_)},null,8,iN))),128))])])])])]),C(a,{query:o.search_query},null,8,["query"]),s.show_tracks&&o.tracks.total?(S(),xe(c,{key:0},{"heading-left":P(()=>[u("p",{class:"title is-4",textContent:v(e.$t("page.search.tracks"))},null,8,aN)]),content:P(()=>[C(l,{tracks:o.tracks},null,8,["tracks"])]),footer:P(()=>[s.show_all_tracks_button?(S(),D("nav",lN,[u("p",uN,[u("a",{class:"button is-light is-small is-rounded",onClick:t[2]||(t[2]=(..._)=>s.open_search_tracks&&s.open_search_tracks(..._)),textContent:v(e.$t("page.search.show-tracks",{count:o.tracks.total.toLocaleString(e.$i18n.locale)}))},null,8,cN)])])):X("",!0)]),_:1})):X("",!0),s.show_tracks&&!o.tracks.total?(S(),xe(d,{key:1,class:"mt-6"},{content:P(()=>[u("p",null,[u("i",{textContent:v(e.$t("page.search.no-tracks"))},null,8,dN)])]),_:1})):X("",!0),s.show_artists&&o.artists.total?(S(),xe(c,{key:2},{"heading-left":P(()=>[u("p",{class:"title is-4",textContent:v(e.$t("page.search.artists"))},null,8,mN)]),content:P(()=>[C(f,{artists:o.artists,hide_group_title:!0},null,8,["artists"])]),footer:P(()=>[s.show_all_artists_button?(S(),D("nav",fN,[u("p",pN,[u("a",{class:"button is-light is-small is-rounded",onClick:t[3]||(t[3]=(..._)=>s.open_search_artists&&s.open_search_artists(..._)),textContent:v(e.$t("page.search.show-artists",{count:o.artists.total.toLocaleString(e.$i18n.locale)}))},null,8,hN)])])):X("",!0)]),_:1})):X("",!0),s.show_artists&&!o.artists.total?(S(),xe(d,{key:3},{content:P(()=>[u("p",null,[u("i",{textContent:v(e.$t("page.search.no-artists"))},null,8,_N)])]),_:1})):X("",!0),s.show_albums&&o.albums.total?(S(),xe(c,{key:4},{"heading-left":P(()=>[u("p",{class:"title is-4",textContent:v(e.$t("page.search.albums"))},null,8,gN)]),content:P(()=>[C(m,{albums:o.albums,hide_group_title:!0},null,8,["albums"])]),footer:P(()=>[s.show_all_albums_button?(S(),D("nav",yN,[u("p",vN,[u("a",{class:"button is-light is-small is-rounded",onClick:t[4]||(t[4]=(..._)=>s.open_search_albums&&s.open_search_albums(..._)),textContent:v(e.$t("page.search.show-albums",{count:o.albums.total.toLocaleString(e.$i18n.locale)}))},null,8,bN)])])):X("",!0)]),_:1})):X("",!0),s.show_albums&&!o.albums.total?(S(),xe(d,{key:5},{content:P(()=>[u("p",null,[u("i",{textContent:v(e.$t("page.search.no-albums"))},null,8,wN)])]),_:1})):X("",!0),s.show_composers&&o.composers.total?(S(),xe(c,{key:6},{"heading-left":P(()=>[u("p",{class:"title is-4",textContent:v(e.$t("page.search.composers"))},null,8,CN)]),content:P(()=>[C(p,{composers:o.composers},null,8,["composers"])]),footer:P(()=>[s.show_all_composers_button?(S(),D("nav",zN,[u("p",xN,[u("a",{class:"button is-light is-small is-rounded",onClick:t[5]||(t[5]=(..._)=>s.open_search_composers&&s.open_search_composers(..._)),textContent:v(e.$t("page.search.show-composers",{count:o.composers.total.toLocaleString(e.$i18n.locale)}))},null,8,kN)])])):X("",!0)]),_:1})):X("",!0),s.show_composers&&!o.composers.total?(S(),xe(d,{key:7},{content:P(()=>[u("p",null,[u("i",{textContent:v(e.$t("page.search.no-composers"))},null,8,SN)])]),_:1})):X("",!0),s.show_playlists&&o.playlists.total?(S(),xe(c,{key:8},{"heading-left":P(()=>[u("p",{class:"title is-4",textContent:v(e.$t("page.search.playlists"))},null,8,EN)]),content:P(()=>[C(h,{playlists:o.playlists},null,8,["playlists"])]),footer:P(()=>[s.show_all_playlists_button?(S(),D("nav",$N,[u("p",AN,[u("a",{class:"button is-light is-small is-rounded",onClick:t[6]||(t[6]=(..._)=>s.open_search_playlists&&s.open_search_playlists(..._)),textContent:v(e.$t("page.search.show-playlists",{count:o.playlists.total.toLocaleString(e.$i18n.locale)}))},null,8,TN)])])):X("",!0)]),_:1})):X("",!0),s.show_playlists&&!o.playlists.total?(S(),xe(d,{key:9},{content:P(()=>[u("p",null,[u("i",{textContent:v(e.$t("page.search.no-playlists"))},null,8,ON)])]),_:1})):X("",!0),s.show_podcasts&&o.podcasts.total?(S(),xe(c,{key:10},{"heading-left":P(()=>[u("p",{class:"title is-4",textContent:v(e.$t("page.search.podcasts"))},null,8,PN)]),content:P(()=>[C(m,{albums:o.podcasts},null,8,["albums"])]),footer:P(()=>[s.show_all_podcasts_button?(S(),D("nav",DN,[u("p",FN,[u("a",{class:"button is-light is-small is-rounded",onClick:t[7]||(t[7]=(..._)=>s.open_search_podcasts&&s.open_search_podcasts(..._)),textContent:v(e.$t("page.search.show-podcasts",{count:o.podcasts.total.toLocaleString(e.$i18n.locale)}))},null,8,IN)])])):X("",!0)]),_:1})):X("",!0),s.show_podcasts&&!o.podcasts.total?(S(),xe(d,{key:11},{content:P(()=>[u("p",null,[u("i",{textContent:v(e.$t("page.search.no-podcasts"))},null,8,MN)])]),_:1})):X("",!0),s.show_audiobooks&&o.audiobooks.total?(S(),xe(c,{key:12},{"heading-left":P(()=>[u("p",{class:"title is-4",textContent:v(e.$t("page.search.audiobooks"))},null,8,LN)]),content:P(()=>[C(m,{albums:o.audiobooks},null,8,["albums"])]),footer:P(()=>[s.show_all_audiobooks_button?(S(),D("nav",RN,[u("p",NN,[u("a",{class:"button is-light is-small is-rounded",onClick:t[8]||(t[8]=(..._)=>s.open_search_audiobooks&&s.open_search_audiobooks(..._)),textContent:v(e.$t("page.search.show-audiobooks",{count:o.audiobooks.total.toLocaleString(e.$i18n.locale)}))},null,8,VN)])])):X("",!0)]),_:1})):X("",!0),s.show_audiobooks&&!o.audiobooks.total?(S(),xe(d,{key:13},{content:P(()=>[u("p",null,[u("i",{textContent:v(e.$t("page.search.no-audiobooks"))},null,8,jN)])]),_:1})):X("",!0)])}var HN=ve(ZR,[["render",BN]]);const UN={name:"PageAbout",data(){return{show_update_dropdown:!1,show_update_library:!1}},computed:{config(){return this.$store.state.config},library(){return this.$store.state.library}},methods:{onClickOutside(e){this.show_update_dropdown=!1},showUpdateDialog(){this.$store.commit(Ki,!0)}}},qN={class:"section"},WN={class:"container"},GN={class:"columns is-centered"},KN={class:"column is-four-fifths has-text-centered-mobile"},ZN=["textContent"],YN={class:"section"},JN={class:"container"},XN={class:"columns is-centered"},QN={class:"column is-four-fifths"},e9={class:"content"},t9={class:"level is-mobile"},n9={class:"level-left"},r9={class:"level-item"},o9=["textContent"],s9={class:"level-right"},i9={key:0},a9=["textContent"],l9={key:1},u9=["textContent"],c9={class:"table"},d9=["textContent"],m9=["textContent"],f9=["textContent"],p9=["textContent"],h9=["textContent"],_9=["textContent"],g9=["textContent"],y9=["textContent"],v9=["textContent"],b9={class:"has-text-right"},w9=["textContent"],C9=vt(" ("),z9=["textContent"],x9=vt(") "),k9=["textContent"],S9={class:"has-text-right"},E9=["textContent"],$9=vt(" ("),A9=["textContent"],T9=vt(") "),O9={class:"section"},P9={class:"container"},D9={class:"columns is-centered"},F9={class:"column is-four-fifths"},I9={class:"content has-text-centered-mobile"},M9=["textContent"],L9=["textContent"],R9=["innerHTML"];function N9(e,t,n,r,o,s){return S(),D("div",null,[u("section",qN,[u("div",WN,[u("div",GN,[u("div",KN,[u("h1",{class:"title is-4",textContent:v(s.config.library_name)},null,8,ZN)])])])]),u("section",YN,[u("div",JN,[u("div",XN,[u("div",QN,[u("div",e9,[u("nav",t9,[u("div",n9,[u("div",r9,[u("h2",{class:"title is-5",textContent:v(e.$t("page.about.library"))},null,8,o9)])]),u("div",s9,[s.library.updating?(S(),D("div",i9,[u("a",{class:"button is-small is-loading",textContent:v(e.$t("page.about.update"))},null,8,a9)])):(S(),D("div",l9,[u("a",{class:"button is-small",onClick:t[0]||(t[0]=i=>s.showUpdateDialog()),textContent:v(e.$t("page.about.update"))},null,8,u9)]))])]),u("table",c9,[u("tbody",null,[u("tr",null,[u("th",{class:"has-text-left",textContent:v(e.$t("page.about.artists"))},null,8,d9),u("td",{class:"has-text-right",textContent:v(e.$filters.number(s.library.artists))},null,8,m9)]),u("tr",null,[u("th",{class:"has-text-left",textContent:v(e.$t("page.about.albums"))},null,8,f9),u("td",{class:"has-text-right",textContent:v(e.$filters.number(s.library.albums))},null,8,p9)]),u("tr",null,[u("th",{class:"has-text-left",textContent:v(e.$t("page.about.tracks"))},null,8,h9),u("td",{class:"has-text-right",textContent:v(e.$filters.number(s.library.songs))},null,8,_9)]),u("tr",null,[u("th",{class:"has-text-left",textContent:v(e.$t("page.about.total-playtime"))},null,8,g9),u("td",{class:"has-text-right",textContent:v(e.$filters.durationInDays(s.library.db_playtime*1e3))},null,8,y9)]),u("tr",null,[u("th",{class:"has-text-left",textContent:v(e.$t("page.about.updated"))},null,8,v9),u("td",b9,[u("span",{textContent:v(e.$t("page.about.updated-on",{time:e.$filters.timeFromNow(s.library.updated_at)}))},null,8,w9),C9,u("span",{class:"has-text-grey",textContent:v(e.$filters.datetime(s.library.updated_at))},null,8,z9),x9])]),u("tr",null,[u("th",{class:"has-text-left",textContent:v(e.$t("page.about.uptime"))},null,8,k9),u("td",S9,[u("span",{textContent:v(e.$filters.timeFromNow(s.library.started_at,!0))},null,8,E9),$9,u("span",{class:"has-text-grey",textContent:v(e.$filters.datetime(s.library.started_at))},null,8,A9),T9])])])])])])])])]),u("section",O9,[u("div",P9,[u("div",D9,[u("div",F9,[u("div",I9,[u("p",{class:"is-size-7",textContent:v(e.$t("page.about.version",{version:s.config.version}))},null,8,M9),u("p",{class:"is-size-7",textContent:v(e.$t("page.about.compiled-with",{options:s.config.buildoptions.join(", ")}))},null,8,L9),u("p",{class:"is-size-7",innerHTML:e.$t("page.about.built-with")},null,8,R9)])])])])])])}var V9=ve(UN,[["render",N9]]);const j9={name:"SpotifyListItemAlbum",props:["album"]},B9={class:"media"},H9={key:0,class:"media-left fd-has-action"},U9={class:"media-content fd-has-action is-clipped"},q9=["textContent"],W9={class:"subtitle is-7 has-text-grey"},G9=["textContent"],K9=["textContent"],Z9={class:"media-right"};function Y9(e,t,n,r,o,s){return S(),D("div",B9,[e.$slots.artwork?(S(),D("div",H9,[xt(e.$slots,"artwork")])):X("",!0),u("div",U9,[u("h1",{class:"title is-6",textContent:v(n.album.name)},null,8,q9),u("h2",W9,[u("b",{textContent:v(n.album.artists[0].name)},null,8,G9)]),u("h2",{class:"subtitle is-7 has-text-grey has-text-weight-normal",textContent:v([n.album.album_type,e.$filters.date(n.album.release_date)].join(", "))},null,8,K9)]),u("div",Z9,[xt(e.$slots,"actions")])])}var xu=ve(j9,[["render",Y9]]);const J9={name:"SpotifyListItemPlaylist",props:["playlist"],methods:{open_playlist:function(){this.$router.push({path:"/music/spotify/playlists/"+this.playlist.id})}}},X9={class:"media"},Q9=["textContent"],eV=["textContent"],tV={class:"media-right"};function nV(e,t,n,r,o,s){return S(),D("div",X9,[u("div",{class:"media-content fd-has-action is-clipped",onClick:t[0]||(t[0]=(...i)=>s.open_playlist&&s.open_playlist(...i))},[u("h1",{class:"title is-6",textContent:v(n.playlist.name)},null,8,Q9),u("h2",{class:"subtitle is-7",textContent:v(n.playlist.owner.display_name)},null,8,eV)]),u("div",tV,[xt(e.$slots,"actions")])])}var qm=ve(J9,[["render",nV]]);const rV={name:"SpotifyModalDialogAlbum",props:["show","album"],emits:["close"],data(){return{artwork_visible:!1}},computed:{artwork_url:function(){return this.album.images&&this.album.images.length>0?this.album.images[0].url:""}},methods:{play:function(){this.$emit("close"),Z.player_play_uri(this.album.uri,!1)},queue_add:function(){this.$emit("close"),Z.queue_add(this.album.uri)},queue_add_next:function(){this.$emit("close"),Z.queue_add_next(this.album.uri)},open_album:function(){this.$router.push({path:"/music/spotify/albums/"+this.album.id})},open_artist:function(){this.$router.push({path:"/music/spotify/artists/"+this.album.artists[0].id})},artwork_loaded:function(){this.artwork_visible=!0},artwork_error:function(){this.artwork_visible=!1}}},oV={key:0,class:"modal is-active"},sV={class:"modal-content fd-modal-card"},iV={class:"card"},aV={class:"card-content"},lV={class:"image is-square fd-has-margin-bottom"},uV=["src"],cV={class:"title is-4"},dV=["textContent"],mV={class:"content is-small"},fV=["textContent"],pV=["textContent"],hV=["textContent"],_V=["textContent"],gV=["textContent"],yV=["textContent"],vV={class:"card-footer"},bV={class:"icon"},wV=["textContent"],CV={class:"icon"},zV=["textContent"],xV={class:"icon"},kV=["textContent"];function SV(e,t,n,r,o,s){const i=O("mdicon");return S(),D("div",null,[C(Wt,{name:"fade"},{default:P(()=>[n.show?(S(),D("div",oV,[u("div",{class:"modal-background",onClick:t[0]||(t[0]=a=>e.$emit("close"))}),u("div",sV,[u("div",iV,[u("div",aV,[kt(u("figure",lV,[u("img",{src:s.artwork_url,class:"fd-has-shadow",onLoad:t[1]||(t[1]=(...a)=>s.artwork_loaded&&s.artwork_loaded(...a)),onError:t[2]||(t[2]=(...a)=>s.artwork_error&&s.artwork_error(...a))},null,40,uV)],512),[[vs,o.artwork_visible]]),u("p",cV,[u("a",{class:"has-text-link",onClick:t[3]||(t[3]=(...a)=>s.open_album&&s.open_album(...a)),textContent:v(n.album.name)},null,8,dV)]),u("div",mV,[u("p",null,[u("span",{class:"heading",textContent:v(e.$t("dialog.spotify.album.album-artist"))},null,8,fV),u("a",{class:"title is-6 has-text-link",onClick:t[4]||(t[4]=(...a)=>s.open_artist&&s.open_artist(...a)),textContent:v(n.album.artists[0].name)},null,8,pV)]),u("p",null,[u("span",{class:"heading",textContent:v(e.$t("dialog.spotify.album.release-date"))},null,8,hV),u("span",{class:"title is-6",textContent:v(e.$filters.date(n.album.release_date))},null,8,_V)]),u("p",null,[u("span",{class:"heading",textContent:v(e.$t("dialog.spotify.album.type"))},null,8,gV),u("span",{class:"title is-6",textContent:v(n.album.album_type)},null,8,yV)])])]),u("footer",vV,[u("a",{class:"card-footer-item has-text-dark",onClick:t[5]||(t[5]=(...a)=>s.queue_add&&s.queue_add(...a))},[u("span",bV,[C(i,{name:"playlist-plus",size:"16"})]),u("span",{class:"is-size-7",textContent:v(e.$t("dialog.spotify.album.add"))},null,8,wV)]),u("a",{class:"card-footer-item has-text-dark",onClick:t[6]||(t[6]=(...a)=>s.queue_add_next&&s.queue_add_next(...a))},[u("span",CV,[C(i,{name:"playlist-play",size:"16"})]),u("span",{class:"is-size-7",textContent:v(e.$t("dialog.spotify.album.add-next"))},null,8,zV)]),u("a",{class:"card-footer-item has-text-dark",onClick:t[7]||(t[7]=(...a)=>s.play&&s.play(...a))},[u("span",xV,[C(i,{name:"play",size:"16"})]),u("span",{class:"is-size-7",textContent:v(e.$t("dialog.spotify.album.play"))},null,8,kV)])])])]),u("button",{class:"modal-close is-large","aria-label":"close",onClick:t[8]||(t[8]=a=>e.$emit("close"))})])):X("",!0)]),_:1})])}var Xi=ve(rV,[["render",SV]]);const EV={name:"SpotifyModalDialogPlaylist",props:["show","playlist"],emits:["close"],methods:{play:function(){this.$emit("close"),Z.player_play_uri(this.playlist.uri,!1)},queue_add:function(){this.$emit("close"),Z.queue_add(this.playlist.uri)},queue_add_next:function(){this.$emit("close"),Z.queue_add_next(this.playlist.uri)},open_playlist:function(){this.$router.push({path:"/music/spotify/playlists/"+this.playlist.id})}}},$V={key:0,class:"modal is-active"},AV={class:"modal-content fd-modal-card"},TV={class:"card"},OV={class:"card-content"},PV={class:"title is-4"},DV=["textContent"],FV={class:"content is-small"},IV=["textContent"],MV=["textContent"],LV=["textContent"],RV=["textContent"],NV=["textContent"],VV=["textContent"],jV={class:"card-footer"},BV={class:"icon"},HV=["textContent"],UV={class:"icon"},qV=["textContent"],WV={class:"icon"},GV=["textContent"];function KV(e,t,n,r,o,s){const i=O("mdicon");return S(),D("div",null,[C(Wt,{name:"fade"},{default:P(()=>[n.show?(S(),D("div",$V,[u("div",{class:"modal-background",onClick:t[0]||(t[0]=a=>e.$emit("close"))}),u("div",AV,[u("div",TV,[u("div",OV,[u("p",PV,[u("a",{class:"has-text-link",onClick:t[1]||(t[1]=(...a)=>s.open_playlist&&s.open_playlist(...a)),textContent:v(n.playlist.name)},null,8,DV)]),u("div",FV,[u("p",null,[u("span",{class:"heading",textContent:v(e.$t("dialog.spotify.playlist.owner"))},null,8,IV),u("span",{class:"title is-6",textContent:v(n.playlist.owner.display_name)},null,8,MV)]),u("p",null,[u("span",{class:"heading",textContent:v(e.$t("dialog.spotify.playlist.tracks"))},null,8,LV),u("span",{class:"title is-6",textContent:v(n.playlist.tracks.total)},null,8,RV)]),u("p",null,[u("span",{class:"heading",textContent:v(e.$t("dialog.spotify.playlist.path"))},null,8,NV),u("span",{class:"title is-6",textContent:v(n.playlist.uri)},null,8,VV)])])]),u("footer",jV,[u("a",{class:"card-footer-item has-text-dark",onClick:t[2]||(t[2]=(...a)=>s.queue_add&&s.queue_add(...a))},[u("span",BV,[C(i,{name:"playlist-plus",size:"16"})]),u("span",{class:"is-size-7",textContent:v(e.$t("dialog.spotify.playlist.add"))},null,8,HV)]),u("a",{class:"card-footer-item has-text-dark",onClick:t[3]||(t[3]=(...a)=>s.queue_add_next&&s.queue_add_next(...a))},[u("span",UV,[C(i,{name:"playlist-play",size:"16"})]),u("span",{class:"is-size-7",textContent:v(e.$t("dialog.spotify.playlist.add-next"))},null,8,qV)]),u("a",{class:"card-footer-item has-text-dark",onClick:t[4]||(t[4]=(...a)=>s.play&&s.play(...a))},[u("span",WV,[C(i,{name:"play",size:"16"})]),u("span",{class:"is-size-7",textContent:v(e.$t("dialog.spotify.playlist.play"))},null,8,GV)])])])]),u("button",{class:"modal-close is-large","aria-label":"close",onClick:t[5]||(t[5]=a=>e.$emit("close"))})])):X("",!0)]),_:1})])}var ku=ve(EV,[["render",KV]]);const Ja={load:function(e){if(at.state.spotify_new_releases.length>0&&at.state.spotify_featured_playlists.length>0)return Promise.resolve();const t=new ur;return t.setAccessToken(at.state.spotify.webapi_token),Promise.all([t.getNewReleases({country:at.state.spotify.webapi_country,limit:50}),t.getFeaturedPlaylists({country:at.state.spotify.webapi_country,limit:50})])},set:function(e,t){t&&(at.commit(pm,t[0].albums.items),at.commit(hm,t[1].playlists.items))}},ZV={name:"SpotifyPageBrowse",components:{ContentWithHeading:pt,TabsMusic:vr,SpotifyListItemAlbum:xu,SpotifyListItemPlaylist:qm,SpotifyModalDialogAlbum:Xi,SpotifyModalDialogPlaylist:ku,CoverArtwork:Ir},beforeRouteEnter(e,t,n){Ja.load(e).then(r=>{n(o=>Ja.set(o,r))})},beforeRouteUpdate(e,t,n){const r=this;Ja.load(e).then(o=>{Ja.set(r,o),n()})},data(){return{show_album_details_modal:!1,selected_album:{},show_playlist_details_modal:!1,selected_playlist:{}}},computed:{new_releases(){return this.$store.state.spotify_new_releases.slice(0,3)},featured_playlists(){return this.$store.state.spotify_featured_playlists.slice(0,3)},is_visible_artwork(){return this.$store.getters.settings_option("webinterface","show_cover_artwork_in_album_lists").value}},methods:{open_album:function(e){this.$router.push({path:"/music/spotify/albums/"+e.id})},open_album_dialog:function(e){this.selected_album=e,this.show_album_details_modal=!0},open_playlist_dialog:function(e){this.selected_playlist=e,this.show_playlist_details_modal=!0},artwork_url:function(e){return e.images&&e.images.length>0?e.images[0].url:""}}},YV={class:"fd-page-with-tabs"},JV=["textContent"],XV={class:"image is-64x64 fd-has-shadow fd-has-action"},QV=["onClick"],ej={class:"icon has-text-dark"},tj={class:"level"},nj={class:"level-item"},rj=["textContent"],oj=["onClick"],sj={class:"icon has-text-dark"},ij={class:"level"},aj={class:"level-item"};function lj(e,t,n,r,o,s){const i=O("tabs-music"),a=O("cover-artwork"),l=O("mdicon"),c=O("spotify-list-item-album"),d=O("spotify-modal-dialog-album"),f=O("router-link"),m=O("content-with-heading"),p=O("spotify-list-item-playlist"),h=O("spotify-modal-dialog-playlist");return S(),D("div",YV,[C(i),C(m,null,{"heading-left":P(()=>[u("p",{class:"title is-4",textContent:v(e.$t("page.spotify.browse.new-releases"))},null,8,JV)]),content:P(()=>[(S(!0),D(Ge,null,Ct(s.new_releases,_=>(S(),xe(c,{key:_.id,album:_,onClick:g=>s.open_album(_)},qi({actions:P(()=>[u("a",{onClick:_t(g=>s.open_album_dialog(_),["prevent","stop"])},[u("span",ej,[C(l,{name:"dots-vertical",size:"16"})])],8,QV)]),_:2},[s.is_visible_artwork?{name:"artwork",fn:P(()=>[u("p",XV,[C(a,{artwork_url:s.artwork_url(_),artist:_.artist,album:_.name,maxwidth:64,maxheight:64},null,8,["artwork_url","artist","album"])])])}:void 0]),1032,["album","onClick"]))),128)),C(d,{show:o.show_album_details_modal,album:o.selected_album,onClose:t[0]||(t[0]=_=>o.show_album_details_modal=!1)},null,8,["show","album"])]),footer:P(()=>[u("nav",tj,[u("p",nj,[C(f,{to:"/music/spotify/new-releases",class:"button is-light is-small is-rounded"},{default:P(()=>[vt(v(e.$t("page.spotify.browse.show-more")),1)]),_:1})])])]),_:1}),C(m,null,{"heading-left":P(()=>[u("p",{class:"title is-4",textContent:v(e.$t("page.spotify.browse.featured-playlists"))},null,8,rj)]),content:P(()=>[(S(!0),D(Ge,null,Ct(s.featured_playlists,_=>(S(),xe(p,{key:_.id,playlist:_},{actions:P(()=>[u("a",{onClick:_t(g=>s.open_playlist_dialog(_),["prevent","stop"])},[u("span",sj,[C(l,{name:"dots-vertical",size:"16"})])],8,oj)]),_:2},1032,["playlist"]))),128)),C(h,{show:o.show_playlist_details_modal,playlist:o.selected_playlist,onClose:t[1]||(t[1]=_=>o.show_playlist_details_modal=!1)},null,8,["show","playlist"])]),footer:P(()=>[u("nav",ij,[u("p",aj,[C(f,{to:"/music/spotify/featured-playlists",class:"button is-light is-small is-rounded"},{default:P(()=>[vt(v(e.$t("page.spotify.browse.show-more")),1)]),_:1})])])]),_:1})])}var uj=ve(ZV,[["render",lj]]);const Xa={load:function(e){if(at.state.spotify_new_releases.length>0)return Promise.resolve();const t=new ur;return t.setAccessToken(at.state.spotify.webapi_token),t.getNewReleases({country:at.state.spotify.webapi_country,limit:50})},set:function(e,t){t&&at.commit(pm,t.albums.items)}},cj={name:"SpotifyPageBrowseNewReleases",components:{ContentWithHeading:pt,TabsMusic:vr,SpotifyListItemAlbum:xu,SpotifyModalDialogAlbum:Xi,CoverArtwork:Ir},beforeRouteEnter(e,t,n){Xa.load(e).then(r=>{n(o=>Xa.set(o,r))})},beforeRouteUpdate(e,t,n){const r=this;Xa.load(e).then(o=>{Xa.set(r,o),n()})},data(){return{show_album_details_modal:!1,selected_album:{}}},computed:{new_releases(){return this.$store.state.spotify_new_releases},is_visible_artwork(){return this.$store.getters.settings_option("webinterface","show_cover_artwork_in_album_lists").value}},methods:{open_album:function(e){this.$router.push({path:"/music/spotify/albums/"+e.id})},open_album_dialog:function(e){this.selected_album=e,this.show_album_details_modal=!0},artwork_url:function(e){return e.images&&e.images.length>0?e.images[0].url:""}}},dj={class:"fd-page-with-tabs"},mj=u("p",{class:"title is-4"},"New Releases",-1),fj={class:"image is-64x64 fd-has-shadow fd-has-action"},pj=["onClick"],hj={class:"icon has-text-dark"};function _j(e,t,n,r,o,s){const i=O("tabs-music"),a=O("cover-artwork"),l=O("mdicon"),c=O("spotify-list-item-album"),d=O("spotify-modal-dialog-album"),f=O("content-with-heading");return S(),D("div",dj,[C(i),C(f,null,{"heading-left":P(()=>[mj]),content:P(()=>[(S(!0),D(Ge,null,Ct(s.new_releases,m=>(S(),xe(c,{key:m.id,album:m,onClick:p=>s.open_album(m)},qi({actions:P(()=>[u("a",{onClick:_t(p=>s.open_album_dialog(m),["prevent","stop"])},[u("span",hj,[C(l,{name:"dots-vertical",size:"16"})])],8,pj)]),_:2},[s.is_visible_artwork?{name:"artwork",fn:P(()=>[u("p",fj,[C(a,{artwork_url:s.artwork_url(m),artist:m.artist,album:m.name,maxwidth:64,maxheight:64},null,8,["artwork_url","artist","album"])])])}:void 0]),1032,["album","onClick"]))),128)),C(d,{show:o.show_album_details_modal,album:o.selected_album,onClose:t[0]||(t[0]=m=>o.show_album_details_modal=!1)},null,8,["show","album"])]),_:1})])}var gj=ve(cj,[["render",_j]]);const Qa={load:function(e){if(at.state.spotify_featured_playlists.length>0)return Promise.resolve();const t=new ur;t.setAccessToken(at.state.spotify.webapi_token),t.getFeaturedPlaylists({country:at.state.spotify.webapi_country,limit:50})},set:function(e,t){t&&at.commit(hm,t.playlists.items)}},yj={name:"SpotifyPageBrowseFeaturedPlaylists",components:{ContentWithHeading:pt,TabsMusic:vr,SpotifyListItemPlaylist:qm,SpotifyModalDialogPlaylist:ku},beforeRouteEnter(e,t,n){Qa.load(e).then(r=>{n(o=>Qa.set(o,r))})},beforeRouteUpdate(e,t,n){const r=this;Qa.load(e).then(o=>{Qa.set(r,o),n()})},data(){return{show_playlist_details_modal:!1,selected_playlist:{}}},computed:{featured_playlists(){return this.$store.state.spotify_featured_playlists}},methods:{open_playlist_dialog:function(e){this.selected_playlist=e,this.show_playlist_details_modal=!0}}},vj={class:"fd-page-with-tabs"},bj=u("p",{class:"title is-4"},"Featured Playlists",-1),wj=["onClick"],Cj={class:"icon has-text-dark"};function zj(e,t,n,r,o,s){const i=O("tabs-music"),a=O("mdicon"),l=O("spotify-list-item-playlist"),c=O("spotify-modal-dialog-playlist"),d=O("content-with-heading");return S(),D("div",vj,[C(i),C(d,null,{"heading-left":P(()=>[bj]),content:P(()=>[(S(!0),D(Ge,null,Ct(s.featured_playlists,f=>(S(),xe(l,{key:f.id,playlist:f},{actions:P(()=>[u("a",{onClick:_t(m=>s.open_playlist_dialog(f),["prevent","stop"])},[u("span",Cj,[C(a,{name:"dots-vertical",size:"16"})])],8,wj)]),_:2},1032,["playlist"]))),128)),C(c,{show:o.show_playlist_details_modal,playlist:o.selected_playlist,onClose:t[0]||(t[0]=f=>o.show_playlist_details_modal=!1)},null,8,["show","playlist"])]),_:1})])}var xj=ve(yj,[["render",zj]]);const kj={name:"SpotifyModalDialogArtist",props:["show","artist"],emits:["close"],methods:{play:function(){this.$emit("close"),Z.player_play_uri(this.artist.uri,!1)},queue_add:function(){this.$emit("close"),Z.queue_add(this.artist.uri)},queue_add_next:function(){this.$emit("close"),Z.queue_add_next(this.artist.uri)},open_artist:function(){this.$router.push({path:"/music/spotify/artists/"+this.artist.id})}}},Sj={key:0,class:"modal is-active"},Ej={class:"modal-content fd-modal-card"},$j={class:"card"},Aj={class:"card-content"},Tj={class:"title is-4"},Oj=["textContent"],Pj={class:"content is-small"},Dj=["textContent"],Fj=["textContent"],Ij=["textContent"],Mj=["textContent"],Lj={class:"card-footer"},Rj={class:"icon"},Nj=["textContent"],Vj={class:"icon"},jj=["textContent"],Bj={class:"icon"},Hj=["textContent"];function Uj(e,t,n,r,o,s){const i=O("mdicon");return S(),D("div",null,[C(Wt,{name:"fade"},{default:P(()=>[n.show?(S(),D("div",Sj,[u("div",{class:"modal-background",onClick:t[0]||(t[0]=a=>e.$emit("close"))}),u("div",Ej,[u("div",$j,[u("div",Aj,[u("p",Tj,[u("a",{class:"has-text-link",onClick:t[1]||(t[1]=(...a)=>s.open_artist&&s.open_artist(...a)),textContent:v(n.artist.name)},null,8,Oj)]),u("div",Pj,[u("p",null,[u("span",{class:"heading",textContent:v(e.$t("dialog.spotify.artist.popularity"))},null,8,Dj),u("span",{class:"title is-6",textContent:v([n.artist.popularity,n.artist.followers.total].join(" / "))},null,8,Fj)]),u("p",null,[u("span",{class:"heading",textContent:v(e.$t("dialog.spotify.artist.genres"))},null,8,Ij),u("span",{class:"title is-6",textContent:v(n.artist.genres.join(", "))},null,8,Mj)])])]),u("footer",Lj,[u("a",{class:"card-footer-item has-text-dark",onClick:t[2]||(t[2]=(...a)=>s.queue_add&&s.queue_add(...a))},[u("span",Rj,[C(i,{name:"playlist-plus",size:"16"})]),u("span",{class:"is-size-7",textContent:v(e.$t("dialog.spotify.artist.add"))},null,8,Nj)]),u("a",{class:"card-footer-item has-text-dark",onClick:t[3]||(t[3]=(...a)=>s.queue_add_next&&s.queue_add_next(...a))},[u("span",Vj,[C(i,{name:"playlist-play",size:"16"})]),u("span",{class:"is-size-7",textContent:v(e.$t("dialog.spotify.artist.add-next"))},null,8,jj)]),u("a",{class:"card-footer-item has-text-dark",onClick:t[4]||(t[4]=(...a)=>s.play&&s.play(...a))},[u("span",Bj,[C(i,{name:"play",size:"16"})]),u("span",{class:"is-size-7",textContent:v(e.$t("dialog.spotify.artist.play"))},null,8,Hj)])])])]),u("button",{class:"modal-close is-large","aria-label":"close",onClick:t[5]||(t[5]=a=>e.$emit("close"))})])):X("",!0)]),_:1})])}var l1=ve(kj,[["render",Uj]]),Su={exports:{}};/*!
|
|
*
|
|
* @ts-pro/vue-eternal-loading v1.1.1
|
|
* (c) 2021 Oleksandr Havrashenko
|
|
* MIT License
|
|
*
|
|
*/(function(e,t){(function(n,r){e.exports=r(Am)})(typeof self!="undefined"?self:an,function(n){return function(r){var o={};function s(i){if(o[i])return o[i].exports;var a=o[i]={i,l:!1,exports:{}};return r[i].call(a.exports,a,a.exports,s),a.l=!0,a.exports}return s.m=r,s.c=o,s.d=function(i,a,l){s.o(i,a)||Object.defineProperty(i,a,{enumerable:!0,get:l})},s.r=function(i){typeof Symbol!="undefined"&&Symbol.toStringTag&&Object.defineProperty(i,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(i,"__esModule",{value:!0})},s.t=function(i,a){if(1&a&&(i=s(i)),8&a||4&a&&typeof i=="object"&&i&&i.__esModule)return i;var l=Object.create(null);if(s.r(l),Object.defineProperty(l,"default",{enumerable:!0,value:i}),2&a&&typeof i!="string")for(var c in i)s.d(l,c,function(d){return i[d]}.bind(null,c));return l},s.n=function(i){var a=i&&i.__esModule?function(){return i.default}:function(){return i};return s.d(a,"a",a),a},s.o=function(i,a){return Object.prototype.hasOwnProperty.call(i,a)},s.p="",s(s.s="fae3")}({"00ee":function(r,o,s){var i=s("b622"),a=i("toStringTag"),l={};l[a]="z",r.exports=String(l)==="[object z]"},"0366":function(r,o,s){var i=s("1c0b");r.exports=function(a,l,c){if(i(a),l===void 0)return a;switch(c){case 0:return function(){return a.call(l)};case 1:return function(d){return a.call(l,d)};case 2:return function(d,f){return a.call(l,d,f)};case 3:return function(d,f,m){return a.call(l,d,f,m)}}return function(){return a.apply(l,arguments)}}},"057f":function(r,o,s){var i=s("fc6a"),a=s("241c").f,l={}.toString,c=typeof window=="object"&&window&&Object.getOwnPropertyNames?Object.getOwnPropertyNames(window):[],d=function(f){try{return a(f)}catch{return c.slice()}};r.exports.f=function(f){return c&&l.call(f)=="[object Window]"?d(f):a(i(f))}},"06cf":function(r,o,s){var i=s("83ab"),a=s("d1e7"),l=s("5c6c"),c=s("fc6a"),d=s("c04e"),f=s("5135"),m=s("0cfb"),p=Object.getOwnPropertyDescriptor;o.f=i?p:function(h,_){if(h=c(h),_=d(_,!0),m)try{return p(h,_)}catch{}if(f(h,_))return l(!a.f.call(h,_),h[_])}},"0cfb":function(r,o,s){var i=s("83ab"),a=s("d039"),l=s("cc12");r.exports=!i&&!a(function(){return Object.defineProperty(l("div"),"a",{get:function(){return 7}}).a!=7})},"1be4":function(r,o,s){var i=s("d066");r.exports=i("document","documentElement")},"1c0b":function(r,o){r.exports=function(s){if(typeof s!="function")throw TypeError(String(s)+" is not a function");return s}},"1c7e":function(r,o,s){var i=s("b622"),a=i("iterator"),l=!1;try{var c=0,d={next:function(){return{done:!!c++}},return:function(){l=!0}};d[a]=function(){return this},Array.from(d,function(){throw 2})}catch{}r.exports=function(f,m){if(!m&&!l)return!1;var p=!1;try{var h={};h[a]=function(){return{next:function(){return{done:p=!0}}}},f(h)}catch{}return p}},"1d80":function(r,o){r.exports=function(s){if(s==null)throw TypeError("Can't call method on "+s);return s}},"1dde":function(r,o,s){var i=s("d039"),a=s("b622"),l=s("2d00"),c=a("species");r.exports=function(d){return l>=51||!i(function(){var f=[],m=f.constructor={};return m[c]=function(){return{foo:1}},f[d](Boolean).foo!==1})}},"23cb":function(r,o,s){var i=s("a691"),a=Math.max,l=Math.min;r.exports=function(c,d){var f=i(c);return f<0?a(f+d,0):l(f,d)}},"23e7":function(r,o,s){var i=s("da84"),a=s("06cf").f,l=s("9112"),c=s("6eeb"),d=s("ce4e"),f=s("e893"),m=s("94ca");r.exports=function(p,h){var _,g,b,w,x,z,E=p.target,T=p.global,V=p.stat;if(g=T?i:V?i[E]||d(E,{}):(i[E]||{}).prototype,g)for(b in h){if(x=h[b],p.noTargetGet?(z=a(g,b),w=z&&z.value):w=g[b],_=m(T?b:E+(V?".":"#")+b,p.forced),!_&&w!==void 0){if(typeof x==typeof w)continue;f(x,w)}(p.sham||w&&w.sham)&&l(x,"sham",!0),c(g,b,x,p)}}},"241c":function(r,o,s){var i=s("ca84"),a=s("7839"),l=a.concat("length","prototype");o.f=Object.getOwnPropertyNames||function(c){return i(c,l)}},"2a62":function(r,o,s){var i=s("825a");r.exports=function(a){var l=a.return;if(l!==void 0)return i(l.call(a)).value}},"2d00":function(r,o,s){var i,a,l=s("da84"),c=s("342f"),d=l.process,f=d&&d.versions,m=f&&f.v8;m?(i=m.split("."),a=i[0]<4?1:i[0]+i[1]):c&&(i=c.match(/Edge\/(\d+)/),(!i||i[1]>=74)&&(i=c.match(/Chrome\/(\d+)/),i&&(a=i[1]))),r.exports=a&&+a},"342f":function(r,o,s){var i=s("d066");r.exports=i("navigator","userAgent")||""},"35a1":function(r,o,s){var i=s("f5df"),a=s("3f8c"),l=s("b622"),c=l("iterator");r.exports=function(d){if(d!=null)return d[c]||d["@@iterator"]||a[i(d)]}},"37e8":function(r,o,s){var i=s("83ab"),a=s("9bf2"),l=s("825a"),c=s("df75");r.exports=i?Object.defineProperties:function(d,f){l(d);for(var m,p=c(f),h=p.length,_=0;h>_;)a.f(d,m=p[_++],f[m]);return d}},"3bbe":function(r,o,s){var i=s("861d");r.exports=function(a){if(!i(a)&&a!==null)throw TypeError("Can't set "+String(a)+" as a prototype");return a}},"3ca3":function(r,o,s){var i=s("6547").charAt,a=s("69f3"),l=s("7dd0"),c="String Iterator",d=a.set,f=a.getterFor(c);l(String,"String",function(m){d(this,{type:c,string:String(m),index:0})},function(){var m,p=f(this),h=p.string,_=p.index;return _>=h.length?{value:void 0,done:!0}:(m=i(h,_),p.index+=m.length,{value:m,done:!1})})},"3f8c":function(r,o){r.exports={}},"428f":function(r,o,s){var i=s("da84");r.exports=i},"44ad":function(r,o,s){var i=s("d039"),a=s("c6b6"),l="".split;r.exports=i(function(){return!Object("z").propertyIsEnumerable(0)})?function(c){return a(c)=="String"?l.call(c,""):Object(c)}:Object},"44d2":function(r,o,s){var i=s("b622"),a=s("7c73"),l=s("9bf2"),c=i("unscopables"),d=Array.prototype;d[c]==null&&l.f(d,c,{configurable:!0,value:a(null)}),r.exports=function(f){d[c][f]=!0}},4930:function(r,o,s){var i=s("2d00"),a=s("d039");r.exports=!!Object.getOwnPropertySymbols&&!a(function(){var l=Symbol();return!String(l)||!(Object(l)instanceof Symbol)||!Symbol.sham&&i&&i<41})},"4d64":function(r,o,s){var i=s("fc6a"),a=s("50c4"),l=s("23cb"),c=function(d){return function(f,m,p){var h,_=i(f),g=a(_.length),b=l(p,g);if(d&&m!=m){for(;g>b;)if(h=_[b++],h!=h)return!0}else for(;g>b;b++)if((d||b in _)&&_[b]===m)return d||b||0;return!d&&-1}};r.exports={includes:c(!0),indexOf:c(!1)}},"4df4":function(r,o,s){var i=s("0366"),a=s("7b0b"),l=s("9bdd"),c=s("e95a"),d=s("50c4"),f=s("8418"),m=s("35a1");r.exports=function(p){var h,_,g,b,w,x,z=a(p),E=typeof this=="function"?this:Array,T=arguments.length,V=T>1?arguments[1]:void 0,F=V!==void 0,A=m(z),M=0;if(F&&(V=i(V,T>2?arguments[2]:void 0,2)),A==null||E==Array&&c(A))for(h=d(z.length),_=new E(h);h>M;M++)x=F?V(z[M],M):z[M],f(_,M,x);else for(b=A.call(z),w=b.next,_=new E;!(g=w.call(b)).done;M++)x=F?l(b,V,[g.value,M],!0):g.value,f(_,M,x);return _.length=M,_}},"50c4":function(r,o,s){var i=s("a691"),a=Math.min;r.exports=function(l){return l>0?a(i(l),9007199254740991):0}},5135:function(r,o,s){var i=s("7b0b"),a={}.hasOwnProperty;r.exports=Object.hasOwn||function(l,c){return a.call(i(l),c)}},5692:function(r,o,s){var i=s("c430"),a=s("c6cd");(r.exports=function(l,c){return a[l]||(a[l]=c!==void 0?c:{})})("versions",[]).push({version:"3.15.2",mode:i?"pure":"global",copyright:"\xA9 2021 Denis Pushkarev (zloirock.ru)"})},"56ef":function(r,o,s){var i=s("d066"),a=s("241c"),l=s("7418"),c=s("825a");r.exports=i("Reflect","ownKeys")||function(d){var f=a.f(c(d)),m=l.f;return m?f.concat(m(d)):f}},"5c6c":function(r,o){r.exports=function(s,i){return{enumerable:!(1&s),configurable:!(2&s),writable:!(4&s),value:i}}},6547:function(r,o,s){var i=s("a691"),a=s("1d80"),l=function(c){return function(d,f){var m,p,h=String(a(d)),_=i(f),g=h.length;return _<0||_>=g?c?"":void 0:(m=h.charCodeAt(_),m<55296||m>56319||_+1===g||(p=h.charCodeAt(_+1))<56320||p>57343?c?h.charAt(_):m:c?h.slice(_,_+2):p-56320+(m-55296<<10)+65536)}};r.exports={codeAt:l(!1),charAt:l(!0)}},"65f0":function(r,o,s){var i=s("861d"),a=s("e8b5"),l=s("b622"),c=l("species");r.exports=function(d,f){var m;return a(d)&&(m=d.constructor,typeof m!="function"||m!==Array&&!a(m.prototype)?i(m)&&(m=m[c],m===null&&(m=void 0)):m=void 0),new(m===void 0?Array:m)(f===0?0:f)}},"69f3":function(r,o,s){var i,a,l,c=s("7f9a"),d=s("da84"),f=s("861d"),m=s("9112"),p=s("5135"),h=s("c6cd"),_=s("f772"),g=s("d012"),b="Object already initialized",w=d.WeakMap,x=function(M){return l(M)?a(M):i(M,{})},z=function(M){return function(W){var R;if(!f(W)||(R=a(W)).type!==M)throw TypeError("Incompatible receiver, "+M+" required");return R}};if(c||h.state){var E=h.state||(h.state=new w),T=E.get,V=E.has,F=E.set;i=function(M,W){if(V.call(E,M))throw new TypeError(b);return W.facade=M,F.call(E,M,W),W},a=function(M){return T.call(E,M)||{}},l=function(M){return V.call(E,M)}}else{var A=_("state");g[A]=!0,i=function(M,W){if(p(M,A))throw new TypeError(b);return W.facade=M,m(M,A,W),W},a=function(M){return p(M,A)?M[A]:{}},l=function(M){return p(M,A)}}r.exports={set:i,get:a,has:l,enforce:x,getterFor:z}},"6eeb":function(r,o,s){var i=s("da84"),a=s("9112"),l=s("5135"),c=s("ce4e"),d=s("8925"),f=s("69f3"),m=f.get,p=f.enforce,h=String(String).split("String");(r.exports=function(_,g,b,w){var x,z=!!w&&!!w.unsafe,E=!!w&&!!w.enumerable,T=!!w&&!!w.noTargetGet;typeof b=="function"&&(typeof g!="string"||l(b,"name")||a(b,"name",g),x=p(b),x.source||(x.source=h.join(typeof g=="string"?g:""))),_!==i?(z?!T&&_[g]&&(E=!0):delete _[g],E?_[g]=b:a(_,g,b)):E?_[g]=b:c(g,b)})(Function.prototype,"toString",function(){return typeof this=="function"&&m(this).source||d(this)})},7418:function(r,o){o.f=Object.getOwnPropertySymbols},"746f":function(r,o,s){var i=s("428f"),a=s("5135"),l=s("e538"),c=s("9bf2").f;r.exports=function(d){var f=i.Symbol||(i.Symbol={});a(f,d)||c(f,d,{value:l.f(d)})}},7839:function(r,o){r.exports=["constructor","hasOwnProperty","isPrototypeOf","propertyIsEnumerable","toLocaleString","toString","valueOf"]},"7b0b":function(r,o,s){var i=s("1d80");r.exports=function(a){return Object(i(a))}},"7c73":function(r,o,s){var i,a=s("825a"),l=s("37e8"),c=s("7839"),d=s("d012"),f=s("1be4"),m=s("cc12"),p=s("f772"),h=">",_="<",g="prototype",b="script",w=p("IE_PROTO"),x=function(){},z=function(F){return _+b+h+F+_+"/"+b+h},E=function(F){F.write(z("")),F.close();var A=F.parentWindow.Object;return F=null,A},T=function(){var F,A=m("iframe"),M="java"+b+":";return A.style.display="none",f.appendChild(A),A.src=String(M),F=A.contentWindow.document,F.open(),F.write(z("document.F=Object")),F.close(),F.F},V=function(){try{i=document.domain&&new ActiveXObject("htmlfile")}catch{}V=i?E(i):T();for(var F=c.length;F--;)delete V[g][c[F]];return V()};d[w]=!0,r.exports=Object.create||function(F,A){var M;return F!==null?(x[g]=a(F),M=new x,x[g]=null,M[w]=F):M=V(),A===void 0?M:l(M,A)}},"7dd0":function(r,o,s){var i=s("23e7"),a=s("9ed3"),l=s("e163"),c=s("d2bb"),d=s("d44e"),f=s("9112"),m=s("6eeb"),p=s("b622"),h=s("c430"),_=s("3f8c"),g=s("ae93"),b=g.IteratorPrototype,w=g.BUGGY_SAFARI_ITERATORS,x=p("iterator"),z="keys",E="values",T="entries",V=function(){return this};r.exports=function(F,A,M,W,R,q,B){a(M,A,W);var se,Q,ue,ge=function(H){if(H===R&&me)return me;if(!w&&H in he)return he[H];switch(H){case z:return function(){return new M(this,H)};case E:return function(){return new M(this,H)};case T:return function(){return new M(this,H)}}return function(){return new M(this)}},Le=A+" Iterator",He=!1,he=F.prototype,J=he[x]||he["@@iterator"]||R&&he[R],me=!w&&J||ge(R),we=A=="Array"&&he.entries||J;if(we&&(se=l(we.call(new F)),b!==Object.prototype&&se.next&&(h||l(se)===b||(c?c(se,b):typeof se[x]!="function"&&f(se,x,V)),d(se,Le,!0,!0),h&&(_[Le]=V))),R==E&&J&&J.name!==E&&(He=!0,me=function(){return J.call(this)}),h&&!B||he[x]===me||f(he,x,me),_[A]=me,R)if(Q={values:ge(E),keys:q?me:ge(z),entries:ge(T)},B)for(ue in Q)(w||He||!(ue in he))&&m(he,ue,Q[ue]);else i({target:A,proto:!0,forced:w||He},Q);return Q}},"7f9a":function(r,o,s){var i=s("da84"),a=s("8925"),l=i.WeakMap;r.exports=typeof l=="function"&&/native code/.test(a(l))},"825a":function(r,o,s){var i=s("861d");r.exports=function(a){if(!i(a))throw TypeError(String(a)+" is not an object");return a}},"83ab":function(r,o,s){var i=s("d039");r.exports=!i(function(){return Object.defineProperty({},1,{get:function(){return 7}})[1]!=7})},8418:function(r,o,s){var i=s("c04e"),a=s("9bf2"),l=s("5c6c");r.exports=function(c,d,f){var m=i(d);m in c?a.f(c,m,l(0,f)):c[m]=f}},"861d":function(r,o){r.exports=function(s){return typeof s=="object"?s!==null:typeof s=="function"}},8875:function(r,o,s){var i,a,l;(function(c,d){a=[],i=d,l=typeof i=="function"?i.apply(o,a):i,l===void 0||(r.exports=l)})(typeof self!="undefined"&&self,function(){function c(){var d=Object.getOwnPropertyDescriptor(document,"currentScript");if(!d&&"currentScript"in document&&document.currentScript||d&&d.get!==c&&document.currentScript)return document.currentScript;try{throw new Error}catch(T){var f,m,p,h=/.*at [^(]*\((.*):(.+):(.+)\)$/gi,_=/@([^@]*):(\d+):(\d+)\s*$/gi,g=h.exec(T.stack)||_.exec(T.stack),b=g&&g[1]||!1,w=g&&g[2]||!1,x=document.location.href.replace(document.location.hash,""),z=document.getElementsByTagName("script");b===x&&(f=document.documentElement.outerHTML,m=new RegExp("(?:[^\\n]+?\\n){0,"+(w-2)+"}[^<]*<script>([\\d\\D]*?)<\\/script>[\\d\\D]*","i"),p=f.replace(m,"$1").trim());for(var E=0;E<z.length;E++)if(z[E].readyState==="interactive"||z[E].src===b||b===x&&z[E].innerHTML&&z[E].innerHTML.trim()===p)return z[E];return null}}return c})},8925:function(r,o,s){var i=s("c6cd"),a=Function.toString;typeof i.inspectSource!="function"&&(i.inspectSource=function(l){return a.call(l)}),r.exports=i.inspectSource},"8bbf":function(r,o){r.exports=n},"90e3":function(r,o){var s=0,i=Math.random();r.exports=function(a){return"Symbol("+String(a===void 0?"":a)+")_"+(++s+i).toString(36)}},9112:function(r,o,s){var i=s("83ab"),a=s("9bf2"),l=s("5c6c");r.exports=i?function(c,d,f){return a.f(c,d,l(1,f))}:function(c,d,f){return c[d]=f,c}},"94ca":function(r,o,s){var i=s("d039"),a=/#|\.prototype\./,l=function(p,h){var _=d[c(p)];return _==m||_!=f&&(typeof h=="function"?i(h):!!h)},c=l.normalize=function(p){return String(p).replace(a,".").toLowerCase()},d=l.data={},f=l.NATIVE="N",m=l.POLYFILL="P";r.exports=l},"9bdd":function(r,o,s){var i=s("825a"),a=s("2a62");r.exports=function(l,c,d,f){try{return f?c(i(d)[0],d[1]):c(d)}catch(m){throw a(l),m}}},"9bf2":function(r,o,s){var i=s("83ab"),a=s("0cfb"),l=s("825a"),c=s("c04e"),d=Object.defineProperty;o.f=i?d:function(f,m,p){if(l(f),m=c(m,!0),l(p),a)try{return d(f,m,p)}catch{}if("get"in p||"set"in p)throw TypeError("Accessors not supported");return"value"in p&&(f[m]=p.value),f}},"9ed3":function(r,o,s){var i=s("ae93").IteratorPrototype,a=s("7c73"),l=s("5c6c"),c=s("d44e"),d=s("3f8c"),f=function(){return this};r.exports=function(m,p,h){var _=p+" Iterator";return m.prototype=a(i,{next:l(1,h)}),c(m,_,!1,!0),d[_]=f,m}},a4d3:function(r,o,s){var i=s("23e7"),a=s("da84"),l=s("d066"),c=s("c430"),d=s("83ab"),f=s("4930"),m=s("fdbf"),p=s("d039"),h=s("5135"),_=s("e8b5"),g=s("861d"),b=s("825a"),w=s("7b0b"),x=s("fc6a"),z=s("c04e"),E=s("5c6c"),T=s("7c73"),V=s("df75"),F=s("241c"),A=s("057f"),M=s("7418"),W=s("06cf"),R=s("9bf2"),q=s("d1e7"),B=s("9112"),se=s("6eeb"),Q=s("5692"),ue=s("f772"),ge=s("d012"),Le=s("90e3"),He=s("b622"),he=s("e538"),J=s("746f"),me=s("d44e"),we=s("69f3"),H=s("b727").forEach,ie=ue("hidden"),oe="Symbol",be="prototype",je=He("toPrimitive"),Ie=we.set,Ee=we.getterFor(oe),Ae=Object[be],$=a.Symbol,L=l("JSON","stringify"),Y=W.f,le=R.f,ce=A.f,ye=q.f,Ce=Q("symbols"),pe=Q("op-symbols"),j=Q("string-to-symbol-registry"),U=Q("symbol-to-string-registry"),$e=Q("wks"),ze=a.QObject,De=!ze||!ze[be]||!ze[be].findChild,Ne=d&&p(function(){return T(le({},"a",{get:function(){return le(this,"a",{value:7}).a}})).a!=7})?function(re,de,te){var ae=Y(Ae,de);ae&&delete Ae[de],le(re,de,te),ae&&re!==Ae&&le(Ae,de,ae)}:le,We=function(re,de){var te=Ce[re]=T($[be]);return Ie(te,{type:oe,tag:re,description:de}),d||(te.description=de),te},nt=m?function(re){return typeof re=="symbol"}:function(re){return Object(re)instanceof $},k=function(re,de,te){re===Ae&&k(pe,de,te),b(re);var ae=z(de,!0);return b(te),h(Ce,ae)?(te.enumerable?(h(re,ie)&&re[ie][ae]&&(re[ie][ae]=!1),te=T(te,{enumerable:E(0,!1)})):(h(re,ie)||le(re,ie,E(1,{})),re[ie][ae]=!0),Ne(re,ae,te)):le(re,ae,te)},y=function(re,de){b(re);var te=x(de),ae=V(te).concat(Se(te));return H(ae,function(Ve){d&&!K.call(te,Ve)||k(re,Ve,te[Ve])}),re},I=function(re,de){return de===void 0?T(re):y(T(re),de)},K=function(re){var de=z(re,!0),te=ye.call(this,de);return!(this===Ae&&h(Ce,de)&&!h(pe,de))&&(!(te||!h(this,de)||!h(Ce,de)||h(this,ie)&&this[ie][de])||te)},ee=function(re,de){var te=x(re),ae=z(de,!0);if(te!==Ae||!h(Ce,ae)||h(pe,ae)){var Ve=Y(te,ae);return!Ve||!h(Ce,ae)||h(te,ie)&&te[ie][ae]||(Ve.enumerable=!0),Ve}},fe=function(re){var de=ce(x(re)),te=[];return H(de,function(ae){h(Ce,ae)||h(ge,ae)||te.push(ae)}),te},Se=function(re){var de=re===Ae,te=ce(de?pe:x(re)),ae=[];return H(te,function(Ve){!h(Ce,Ve)||de&&!h(Ae,Ve)||ae.push(Ce[Ve])}),ae};if(f||($=function(){if(this instanceof $)throw TypeError("Symbol is not a constructor");var re=arguments.length&&arguments[0]!==void 0?String(arguments[0]):void 0,de=Le(re),te=function(ae){this===Ae&&te.call(pe,ae),h(this,ie)&&h(this[ie],de)&&(this[ie][de]=!1),Ne(this,de,E(1,ae))};return d&&De&&Ne(Ae,de,{configurable:!0,set:te}),We(de,re)},se($[be],"toString",function(){return Ee(this).tag}),se($,"withoutSetter",function(re){return We(Le(re),re)}),q.f=K,R.f=k,W.f=ee,F.f=A.f=fe,M.f=Se,he.f=function(re){return We(He(re),re)},d&&(le($[be],"description",{configurable:!0,get:function(){return Ee(this).description}}),c||se(Ae,"propertyIsEnumerable",K,{unsafe:!0}))),i({global:!0,wrap:!0,forced:!f,sham:!f},{Symbol:$}),H(V($e),function(re){J(re)}),i({target:oe,stat:!0,forced:!f},{for:function(re){var de=String(re);if(h(j,de))return j[de];var te=$(de);return j[de]=te,U[te]=de,te},keyFor:function(re){if(!nt(re))throw TypeError(re+" is not a symbol");if(h(U,re))return U[re]},useSetter:function(){De=!0},useSimple:function(){De=!1}}),i({target:"Object",stat:!0,forced:!f,sham:!d},{create:I,defineProperty:k,defineProperties:y,getOwnPropertyDescriptor:ee}),i({target:"Object",stat:!0,forced:!f},{getOwnPropertyNames:fe,getOwnPropertySymbols:Se}),i({target:"Object",stat:!0,forced:p(function(){M.f(1)})},{getOwnPropertySymbols:function(re){return M.f(w(re))}}),L){var Me=!f||p(function(){var re=$();return L([re])!="[null]"||L({a:re})!="{}"||L(Object(re))!="{}"});i({target:"JSON",stat:!0,forced:Me},{stringify:function(re,de,te){for(var ae,Ve=[re],Ue=1;arguments.length>Ue;)Ve.push(arguments[Ue++]);if(ae=de,(g(de)||re!==void 0)&&!nt(re))return _(de)||(de=function(ct,_n){if(typeof ae=="function"&&(_n=ae.call(this,ct,_n)),!nt(_n))return _n}),Ve[1]=de,L.apply(null,Ve)}})}$[be][je]||B($[be],je,$[be].valueOf),me($,oe),ge[ie]=!0},a630:function(r,o,s){var i=s("23e7"),a=s("4df4"),l=s("1c7e"),c=!l(function(d){Array.from(d)});i({target:"Array",stat:!0,forced:c},{from:a})},a691:function(r,o){var s=Math.ceil,i=Math.floor;r.exports=function(a){return isNaN(a=+a)?0:(a>0?i:s)(a)}},ae93:function(r,o,s){var i,a,l,c=s("d039"),d=s("e163"),f=s("9112"),m=s("5135"),p=s("b622"),h=s("c430"),_=p("iterator"),g=!1,b=function(){return this};[].keys&&(l=[].keys(),"next"in l?(a=d(d(l)),a!==Object.prototype&&(i=a)):g=!0);var w=i==null||c(function(){var x={};return i[_].call(x)!==x});w&&(i={}),h&&!w||m(i,_)||f(i,_,b),r.exports={IteratorPrototype:i,BUGGY_SAFARI_ITERATORS:g}},b041:function(r,o,s){var i=s("00ee"),a=s("f5df");r.exports=i?{}.toString:function(){return"[object "+a(this)+"]"}},b0c0:function(r,o,s){var i=s("83ab"),a=s("9bf2").f,l=Function.prototype,c=l.toString,d=/^\s*function ([^ (]*)/,f="name";i&&!(f in l)&&a(l,f,{configurable:!0,get:function(){try{return c.call(this).match(d)[1]}catch{return""}}})},b622:function(r,o,s){var i=s("da84"),a=s("5692"),l=s("5135"),c=s("90e3"),d=s("4930"),f=s("fdbf"),m=a("wks"),p=i.Symbol,h=f?p:p&&p.withoutSetter||c;r.exports=function(_){return l(m,_)&&(d||typeof m[_]=="string")||(d&&l(p,_)?m[_]=p[_]:m[_]=h("Symbol."+_)),m[_]}},b727:function(r,o,s){var i=s("0366"),a=s("44ad"),l=s("7b0b"),c=s("50c4"),d=s("65f0"),f=[].push,m=function(p){var h=p==1,_=p==2,g=p==3,b=p==4,w=p==6,x=p==7,z=p==5||w;return function(E,T,V,F){for(var A,M,W=l(E),R=a(W),q=i(T,V,3),B=c(R.length),se=0,Q=F||d,ue=h?Q(E,B):_||x?Q(E,0):void 0;B>se;se++)if((z||se in R)&&(A=R[se],M=q(A,se,W),p))if(h)ue[se]=M;else if(M)switch(p){case 3:return!0;case 5:return A;case 6:return se;case 2:f.call(ue,A)}else switch(p){case 4:return!1;case 7:f.call(ue,A)}return w?-1:g||b?b:ue}};r.exports={forEach:m(0),map:m(1),filter:m(2),some:m(3),every:m(4),find:m(5),findIndex:m(6),filterOut:m(7)}},c04e:function(r,o,s){var i=s("861d");r.exports=function(a,l){if(!i(a))return a;var c,d;if(l&&typeof(c=a.toString)=="function"&&!i(d=c.call(a))||typeof(c=a.valueOf)=="function"&&!i(d=c.call(a))||!l&&typeof(c=a.toString)=="function"&&!i(d=c.call(a)))return d;throw TypeError("Can't convert object to primitive value")}},c430:function(r,o){r.exports=!1},c6b6:function(r,o){var s={}.toString;r.exports=function(i){return s.call(i).slice(8,-1)}},c6cd:function(r,o,s){var i=s("da84"),a=s("ce4e"),l="__core-js_shared__",c=i[l]||a(l,{});r.exports=c},c8ba:function(r,o){var s;s=function(){return this}();try{s=s||new Function("return this")()}catch{typeof window=="object"&&(s=window)}r.exports=s},ca84:function(r,o,s){var i=s("5135"),a=s("fc6a"),l=s("4d64").indexOf,c=s("d012");r.exports=function(d,f){var m,p=a(d),h=0,_=[];for(m in p)!i(c,m)&&i(p,m)&&_.push(m);for(;f.length>h;)i(p,m=f[h++])&&(~l(_,m)||_.push(m));return _}},cc12:function(r,o,s){var i=s("da84"),a=s("861d"),l=i.document,c=a(l)&&a(l.createElement);r.exports=function(d){return c?l.createElement(d):{}}},ce4e:function(r,o,s){var i=s("da84"),a=s("9112");r.exports=function(l,c){try{a(i,l,c)}catch{i[l]=c}return c}},d012:function(r,o){r.exports={}},d039:function(r,o){r.exports=function(s){try{return!!s()}catch{return!0}}},d066:function(r,o,s){var i=s("428f"),a=s("da84"),l=function(c){return typeof c=="function"?c:void 0};r.exports=function(c,d){return arguments.length<2?l(i[c])||l(a[c]):i[c]&&i[c][d]||a[c]&&a[c][d]}},d1e7:function(r,o,s){var i={}.propertyIsEnumerable,a=Object.getOwnPropertyDescriptor,l=a&&!i.call({1:2},1);o.f=l?function(c){var d=a(this,c);return!!d&&d.enumerable}:i},d28b:function(r,o,s){var i=s("746f");i("iterator")},d2bb:function(r,o,s){var i=s("825a"),a=s("3bbe");r.exports=Object.setPrototypeOf||("__proto__"in{}?function(){var l,c=!1,d={};try{l=Object.getOwnPropertyDescriptor(Object.prototype,"__proto__").set,l.call(d,[]),c=d instanceof Array}catch{}return function(f,m){return i(f),a(m),c?l.call(f,m):f.__proto__=m,f}}():void 0)},d3b7:function(r,o,s){var i=s("00ee"),a=s("6eeb"),l=s("b041");i||a(Object.prototype,"toString",l,{unsafe:!0})},d44e:function(r,o,s){var i=s("9bf2").f,a=s("5135"),l=s("b622"),c=l("toStringTag");r.exports=function(d,f,m){d&&!a(d=m?d:d.prototype,c)&&i(d,c,{configurable:!0,value:f})}},da84:function(r,o,s){(function(i){var a=function(l){return l&&l.Math==Math&&l};r.exports=a(typeof globalThis=="object"&&globalThis)||a(typeof window=="object"&&window)||a(typeof self=="object"&&self)||a(typeof i=="object"&&i)||function(){return this}()||Function("return this")()}).call(this,s("c8ba"))},ddb0:function(r,o,s){var i=s("da84"),a=s("fdbc"),l=s("e260"),c=s("9112"),d=s("b622"),f=d("iterator"),m=d("toStringTag"),p=l.values;for(var h in a){var _=i[h],g=_&&_.prototype;if(g){if(g[f]!==p)try{c(g,f,p)}catch{g[f]=p}if(g[m]||c(g,m,h),a[h]){for(var b in l)if(g[b]!==l[b])try{c(g,b,l[b])}catch{g[b]=l[b]}}}}},df75:function(r,o,s){var i=s("ca84"),a=s("7839");r.exports=Object.keys||function(l){return i(l,a)}},e01a:function(r,o,s){var i=s("23e7"),a=s("83ab"),l=s("da84"),c=s("5135"),d=s("861d"),f=s("9bf2").f,m=s("e893"),p=l.Symbol;if(a&&typeof p=="function"&&(!("description"in p.prototype)||p().description!==void 0)){var h={},_=function(){var z=arguments.length<1||arguments[0]===void 0?void 0:String(arguments[0]),E=this instanceof _?new p(z):z===void 0?p():p(z);return z===""&&(h[E]=!0),E};m(_,p);var g=_.prototype=p.prototype;g.constructor=_;var b=g.toString,w=String(p("test"))=="Symbol(test)",x=/^Symbol\((.*)\)[^)]+$/;f(g,"description",{configurable:!0,get:function(){var z=d(this)?this.valueOf():this,E=b.call(z);if(c(h,z))return"";var T=w?E.slice(7,-1):E.replace(x,"$1");return T===""?void 0:T}}),i({global:!0,forced:!0},{Symbol:_})}},e163:function(r,o,s){var i=s("5135"),a=s("7b0b"),l=s("f772"),c=s("e177"),d=l("IE_PROTO"),f=Object.prototype;r.exports=c?Object.getPrototypeOf:function(m){return m=a(m),i(m,d)?m[d]:typeof m.constructor=="function"&&m instanceof m.constructor?m.constructor.prototype:m instanceof Object?f:null}},e177:function(r,o,s){var i=s("d039");r.exports=!i(function(){function a(){}return a.prototype.constructor=null,Object.getPrototypeOf(new a)!==a.prototype})},e260:function(r,o,s){var i=s("fc6a"),a=s("44d2"),l=s("3f8c"),c=s("69f3"),d=s("7dd0"),f="Array Iterator",m=c.set,p=c.getterFor(f);r.exports=d(Array,"Array",function(h,_){m(this,{type:f,target:i(h),index:0,kind:_})},function(){var h=p(this),_=h.target,g=h.kind,b=h.index++;return!_||b>=_.length?(h.target=void 0,{value:void 0,done:!0}):g=="keys"?{value:b,done:!1}:g=="values"?{value:_[b],done:!1}:{value:[b,_[b]],done:!1}},"values"),l.Arguments=l.Array,a("keys"),a("values"),a("entries")},e538:function(r,o,s){var i=s("b622");o.f=i},e893:function(r,o,s){var i=s("5135"),a=s("56ef"),l=s("06cf"),c=s("9bf2");r.exports=function(d,f){for(var m=a(f),p=c.f,h=l.f,_=0;_<m.length;_++){var g=m[_];i(d,g)||p(d,g,h(f,g))}}},e8b5:function(r,o,s){var i=s("c6b6");r.exports=Array.isArray||function(a){return i(a)=="Array"}},e95a:function(r,o,s){var i=s("b622"),a=s("3f8c"),l=i("iterator"),c=Array.prototype;r.exports=function(d){return d!==void 0&&(a.Array===d||c[l]===d)}},f5df:function(r,o,s){var i=s("00ee"),a=s("c6b6"),l=s("b622"),c=l("toStringTag"),d=a(function(){return arguments}())=="Arguments",f=function(m,p){try{return m[p]}catch{}};r.exports=i?a:function(m){var p,h,_;return m===void 0?"Undefined":m===null?"Null":typeof(h=f(p=Object(m),c))=="string"?h:d?a(p):(_=a(p))=="Object"&&typeof p.callee=="function"?"Arguments":_}},f772:function(r,o,s){var i=s("5692"),a=s("90e3"),l=i("keys");r.exports=function(c){return l[c]||(l[c]=a(c))}},fae3:function(r,o,s){if(s.r(o),s.d(o,"VueEternalLoading",function(){return W}),typeof window!="undefined"){var i=window.document.currentScript,a=s("8875");i=a(),"currentScript"in document||Object.defineProperty(document,"currentScript",{get:a});var l=i&&i.src.match(/(.+\/)[^/]+\.js(\?.*)?$/);l&&(s.p=l[1])}var c=s("8bbf"),d={class:"vue-eternal-loading",ref:"rootRef"},f=Object(c.createVNode)("div",{class:"loading"},"Loading...",-1),m=Object(c.createVNode)("div",{class:"no-more"},"No more.",-1),p=Object(c.createVNode)("div",{class:"no-results"},"No results.",-1),h=Object(c.createVNode)("div",{class:"error"},"Error.",-1);function _(R,q,B,se,Q,ue){return Object(c.openBlock)(),Object(c.createBlock)("div",d,[R.state==="loading"?Object(c.renderSlot)(R.$slots,"loading",Object(c.mergeProps)({key:0},{isFirstLoad:R.isFirstLoad}),function(){return[f]}):R.state==="no-more"?Object(c.renderSlot)(R.$slots,"no-more",Object(c.mergeProps)({key:1},{retry:R.retry}),function(){return[m]}):R.state==="no-results"?Object(c.renderSlot)(R.$slots,"no-results",Object(c.mergeProps)({key:2},{retry:R.retry}),function(){return[p]}):R.state==="error"?Object(c.renderSlot)(R.$slots,"error",Object(c.mergeProps)({key:3},{retry:R.retry}),function(){return[h]}):Object(c.createCommentVNode)("",!0)],512)}function g(R){if(Array.isArray(R))return R}s("a4d3"),s("e01a"),s("d3b7"),s("d28b"),s("e260"),s("3ca3"),s("ddb0");function b(R,q){var B=R==null?null:typeof Symbol!="undefined"&&R[Symbol.iterator]||R["@@iterator"];if(B!=null){var se,Q,ue=[],ge=!0,Le=!1;try{for(B=B.call(R);!(ge=(se=B.next()).done)&&(ue.push(se.value),!(q&&ue.length===q));ge=!0);}catch(He){Le=!0,Q=He}finally{try{ge||B.return==null||B.return()}finally{if(Le)throw Q}}return ue}}s("fb6a"),s("b0c0"),s("a630");function w(R,q){(q==null||q>R.length)&&(q=R.length);for(var B=0,se=new Array(q);B<q;B++)se[B]=R[B];return se}function x(R,q){if(R){if(typeof R=="string")return w(R,q);var B=Object.prototype.toString.call(R).slice(8,-1);return B==="Object"&&R.constructor&&(B=R.constructor.name),B==="Map"||B==="Set"?Array.from(R):B==="Arguments"||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(B)?w(R,q):void 0}}function z(){throw new TypeError(`Invalid attempt to destructure non-iterable instance.
|
|
In order to be iterable, non-array objects must have a [Symbol.iterator]() method.`)}function E(R,q){return g(R)||b(R,q)||x(R,q)||z()}function T(R){return R.scrollHeight}function V(R){return R.scrollWidth}function F(R,q){R.scrollTop=R.scrollHeight-q+R.scrollTop}function A(R,q){R.scrollLeft=R.scrollWidth-q+R.scrollLeft}var M=Object(c.defineComponent)({name:"VueEternalLoading",props:{load:{required:!0,type:Function},isInitial:{required:!1,type:Boolean,default:!0},position:{required:!1,type:String,default:"default"},container:{required:!1,type:Object,default:null},margin:{required:!1,type:String,default:void 0}},setup:function(R,q){var B,se=Object(c.ref)(),Q=Object(c.ref)("loading"),ue=Object(c.ref)(R.isInitial),ge=0;function Le(){Object(c.nextTick)(function(){var Ie;if(R.position==="top")F((Ie=R.container)!==null&&Ie!==void 0?Ie:document.documentElement,ge);else if(R.position==="left"){var Ee;A((Ee=R.container)!==null&&Ee!==void 0?Ee:document.documentElement,ge)}})}function He(Ie,Ee){return Ie===0?ue.value?(J(),"no-results"):(he(),"no-more"):Ie!==void 0&&Ee!==void 0&&Ie<Ee?(he(),"no-more"):(ue.value=!1,Le(),be(),"loading")}function he(){ue.value=!1,ie("no-more"),Le()}function J(){ue.value=!1,ie("no-results"),Le()}function me(){ue.value=!1,ie("error"),Le()}function we(){ue.value=!0,ie("loading"),be()}function H(){ie("loading"),be()}function ie(Ie){Q.value=Ie}function oe(){se.value&&B.unobserve(se.value)}function be(){se.value&&B.observe(se.value)}function je(){return new IntersectionObserver(function(Ie){var Ee=E(Ie,1),Ae=Ee[0];if(Ae.isIntersecting){var $;if(R.position==="top")ge=T(($=R.container)!==null&&$!==void 0?$:document.documentElement);else if(R.position==="left"){var L;ge=V((L=R.container)!==null&&L!==void 0?L:document.documentElement)}oe(),R.load({loaded:He,noMore:he,noResults:J,error:me},{isFirstLoad:ue.value})}},{root:R.container,threshold:0,rootMargin:R.margin})}return Object(c.watchEffect)(function(){B&&oe(),B=je(),be()},{flush:"post"}),Object(c.watch)(function(){return R.isInitial},function(Ie){Ie&&we()}),Object(c.watch)(ue,function(Ie){Ie||q.emit("update:isInitial",!1)}),{rootRef:se,state:Q,isFirstLoad:ue,retry:H}}});M.render=_;var W=M},fb6a:function(r,o,s){var i=s("23e7"),a=s("861d"),l=s("e8b5"),c=s("23cb"),d=s("50c4"),f=s("fc6a"),m=s("8418"),p=s("b622"),h=s("1dde"),_=h("slice"),g=p("species"),b=[].slice,w=Math.max;i({target:"Array",proto:!0,forced:!_},{slice:function(x,z){var E,T,V,F=f(this),A=d(F.length),M=c(x,A),W=c(z===void 0?A:z,A);if(l(F)&&(E=F.constructor,typeof E!="function"||E!==Array&&!l(E.prototype)?a(E)&&(E=E[g],E===null&&(E=void 0)):E=void 0,E===Array||E===void 0))return b.call(F,M,W);for(T=new(E===void 0?Array:E)(w(W-M,0)),V=0;M<W;M++,V++)M in F&&m(T,V,F[M]);return T.length=V,T}})},fc6a:function(r,o,s){var i=s("44ad"),a=s("1d80");r.exports=function(l){return i(a(l))}},fdbc:function(r,o){r.exports={CSSRuleList:0,CSSStyleDeclaration:0,CSSValueList:0,ClientRectList:0,DOMRectList:0,DOMStringList:0,DOMTokenList:1,DataTransferItemList:0,FileList:0,HTMLAllCollection:0,HTMLCollection:0,HTMLFormElement:0,HTMLSelectElement:0,MediaList:0,MimeTypeArray:0,NamedNodeMap:0,NodeList:1,PaintRequestList:0,Plugin:0,PluginArray:0,SVGLengthList:0,SVGNumberList:0,SVGPathSegList:0,SVGPointList:0,SVGStringList:0,SVGTransformList:0,SourceBufferList:0,StyleSheetList:0,TextTrackCueList:0,TextTrackList:0,TouchList:0}},fdbf:function(r,o,s){var i=s("4930");r.exports=i&&!Symbol.sham&&typeof Symbol.iterator=="symbol"}})})})(Su);const Cd=50,el={load:function(e){const t=new ur;return t.setAccessToken(at.state.spotify.webapi_token),Promise.all([t.getArtist(e.params.artist_id),t.getArtistAlbums(e.params.artist_id,{limit:Cd,offset:0,include_groups:"album,single",market:at.state.spotify.webapi_country})])},set:function(e,t){e.artist=t[0],e.albums=[],e.total=0,e.offset=0,e.append_albums(t[1])}},qj={name:"SpotifyPageArtist",components:{ContentWithHeading:pt,SpotifyListItemAlbum:xu,SpotifyModalDialogAlbum:Xi,SpotifyModalDialogArtist:l1,VueEternalLoading:Su.exports.VueEternalLoading,CoverArtwork:Ir},beforeRouteEnter(e,t,n){el.load(e).then(r=>{n(o=>el.set(o,r))})},beforeRouteUpdate(e,t,n){const r=this;el.load(e).then(o=>{el.set(r,o),n()})},data(){return{artist:{},albums:[],total:0,offset:0,show_details_modal:!1,selected_album:{},show_artist_details_modal:!1}},computed:{is_visible_artwork(){return this.$store.getters.settings_option("webinterface","show_cover_artwork_in_album_lists").value}},methods:{load_next:function({loaded:e}){const t=new ur;t.setAccessToken(this.$store.state.spotify.webapi_token),t.getArtistAlbums(this.artist.id,{limit:Cd,offset:this.offset,include_groups:"album,single"}).then(n=>{this.append_albums(n),e(n.items.length,Cd)})},append_albums:function(e){this.albums=this.albums.concat(e.items),this.total=e.total,this.offset+=e.limit},play:function(){this.show_details_modal=!1,Z.player_play_uri(this.artist.uri,!0)},open_album:function(e){this.$router.push({path:"/music/spotify/albums/"+e.id})},open_dialog:function(e){this.selected_album=e,this.show_details_modal=!0},artwork_url:function(e){return e.images&&e.images.length>0?e.images[0].url:""}}},Wj=["textContent"],Gj={class:"buttons is-centered"},Kj={class:"icon"},Zj={class:"icon"},Yj=["textContent"],Jj=["textContent"],Xj={class:"image is-64x64 fd-has-shadow fd-has-action"},Qj=["onClick"],eB={class:"icon has-text-dark"},tB=vt(" . ");function nB(e,t,n,r,o,s){const i=O("mdicon"),a=O("cover-artwork"),l=O("spotify-list-item-album"),c=O("VueEternalLoading"),d=O("spotify-modal-dialog-album"),f=O("spotify-modal-dialog-artist"),m=O("content-with-heading");return S(),xe(m,null,{"heading-left":P(()=>[u("p",{class:"title is-4",textContent:v(o.artist.name)},null,8,Wj)]),"heading-right":P(()=>[u("div",Gj,[u("a",{class:"button is-small is-light is-rounded",onClick:t[0]||(t[0]=p=>o.show_artist_details_modal=!0)},[u("span",Kj,[C(i,{name:"dots-horizontal",size:"16"})])]),u("a",{class:"button is-small is-dark is-rounded",onClick:t[1]||(t[1]=(...p)=>s.play&&s.play(...p))},[u("span",Zj,[C(i,{name:"shuffle",size:"16"})]),u("span",{textContent:v(e.$t("page.spotify.artist.shuffle"))},null,8,Yj)])])]),content:P(()=>[u("p",{class:"heading has-text-centered-mobile",textContent:v(e.$t("page.spotify.artist.album-count",{count:o.total}))},null,8,Jj),(S(!0),D(Ge,null,Ct(o.albums,p=>(S(),xe(l,{key:p.id,album:p,onClick:h=>s.open_album(p)},qi({actions:P(()=>[u("a",{onClick:_t(h=>s.open_dialog(p),["prevent","stop"])},[u("span",eB,[C(i,{name:"dots-vertical",size:"16"})])],8,Qj)]),_:2},[s.is_visible_artwork?{name:"artwork",fn:P(()=>[u("p",Xj,[C(a,{artwork_url:s.artwork_url(p),artist:p.artist,album:p.name,maxwidth:64,maxheight:64},null,8,["artwork_url","artist","album"])])])}:void 0]),1032,["album","onClick"]))),128)),o.offset<o.total?(S(),xe(c,{key:0,load:s.load_next},{"no-more":P(()=>[tB]),_:1},8,["load"])):X("",!0),C(d,{show:o.show_details_modal,album:o.selected_album,onClose:t[2]||(t[2]=p=>o.show_details_modal=!1)},null,8,["show","album"]),C(f,{show:o.show_artist_details_modal,artist:o.artist,onClose:t[3]||(t[3]=p=>o.show_artist_details_modal=!1)},null,8,["show","artist"])]),_:1})}var rB=ve(qj,[["render",nB]]);const oB={name:"SpotifyListItemTrack",props:["track","position","album","context_uri"],methods:{play:function(){Z.player_play_uri(this.context_uri,!1,this.position)}}},sB={class:"media"},iB=["textContent"],aB=["textContent"],lB={key:0,class:"subtitle is-7"},uB=vt(" ("),cB=["textContent"],dB=["textContent"],mB=vt(") "),fB={class:"media-right"};function pB(e,t,n,r,o,s){return S(),D("div",sB,[u("div",{class:"media-content fd-has-action is-clipped",onClick:t[0]||(t[0]=(...i)=>s.play&&s.play(...i))},[u("h1",{class:Ye(["title is-6",{"has-text-grey-light":n.track.is_playable===!1}]),textContent:v(n.track.name)},null,10,iB),u("h2",{class:Ye(["subtitle is-7",{"has-text-grey":n.track.is_playable,"has-text-grey-light":n.track.is_playable===!1}])},[u("b",{textContent:v(n.track.artists[0].name)},null,8,aB)],2),n.track.is_playable===!1?(S(),D("h2",lB,[uB,u("span",{textContent:v(e.$t("list.spotify.not-playable-track"))},null,8,cB),n.track.restrictions&&n.track.restrictions.reason?(S(),D("span",{key:0,textContent:v(e.$t("list.spotify.restriction-reason",{reason:n.track.restrictions.reason}))},null,8,dB)):X("",!0),mB])):X("",!0)]),u("div",fB,[xt(e.$slots,"actions")])])}var Wm=ve(oB,[["render",pB]]);const hB={name:"SpotifyModalDialogTrack",props:["show","track","album"],emits:["close"],methods:{play:function(){this.$emit("close"),Z.player_play_uri(this.track.uri,!1)},queue_add:function(){this.$emit("close"),Z.queue_add(this.track.uri)},queue_add_next:function(){this.$emit("close"),Z.queue_add_next(this.track.uri)},open_album:function(){this.$router.push({path:"/music/spotify/albums/"+this.album.id})},open_artist:function(){this.$router.push({path:"/music/spotify/artists/"+this.album.artists[0].id})}}},_B={key:0,class:"modal is-active"},gB={class:"modal-content fd-modal-card"},yB={class:"card"},vB={class:"card-content"},bB=["textContent"],wB=["textContent"],CB={class:"content is-small"},zB=["textContent"],xB=["textContent"],kB=["textContent"],SB=["textContent"],EB=["textContent"],$B=["textContent"],AB=["textContent"],TB=["textContent"],OB=["textContent"],PB=["textContent"],DB=["textContent"],FB=["textContent"],IB={class:"card-footer"},MB={class:"icon"},LB=["textContent"],RB={class:"icon"},NB=["textContent"],VB={class:"icon"},jB=["textContent"];function BB(e,t,n,r,o,s){const i=O("mdicon");return S(),D("div",null,[C(Wt,{name:"fade"},{default:P(()=>[n.show?(S(),D("div",_B,[u("div",{class:"modal-background",onClick:t[0]||(t[0]=a=>e.$emit("close"))}),u("div",gB,[u("div",yB,[u("div",vB,[u("p",{class:"title is-4",textContent:v(n.track.name)},null,8,bB),u("p",{class:"subtitle",textContent:v(n.track.artists[0].name)},null,8,wB),u("div",CB,[u("p",null,[u("span",{class:"heading",textContent:v(e.$t("dialog.spotify.track.album"))},null,8,zB),u("a",{class:"title is-6 has-text-link",onClick:t[1]||(t[1]=(...a)=>s.open_album&&s.open_album(...a)),textContent:v(n.album.name)},null,8,xB)]),u("p",null,[u("span",{class:"heading",textContent:v(e.$t("dialog.spotify.track.album-artist"))},null,8,kB),u("a",{class:"title is-6 has-text-link",onClick:t[2]||(t[2]=(...a)=>s.open_artist&&s.open_artist(...a)),textContent:v(n.album.artists[0].name)},null,8,SB)]),u("p",null,[u("span",{class:"heading",textContent:v(e.$t("dialog.spotify.track.release-date"))},null,8,EB),u("span",{class:"title is-6",textContent:v(e.$filters.date(n.album.release_date))},null,8,$B)]),u("p",null,[u("span",{class:"heading",textContent:v(e.$t("dialog.spotify.track.position"))},null,8,AB),u("span",{class:"title is-6",textContent:v([n.track.disc_number,n.track.track_number].join(" / "))},null,8,TB)]),u("p",null,[u("span",{class:"heading",textContent:v(e.$t("dialog.spotify.track.duration"))},null,8,OB),u("span",{class:"title is-6",textContent:v(e.$filters.durationInHours(n.track.duration_ms))},null,8,PB)]),u("p",null,[u("span",{class:"heading",textContent:v(e.$t("dialog.spotify.track.path"))},null,8,DB),u("span",{class:"title is-6",textContent:v(n.track.uri)},null,8,FB)])])]),u("footer",IB,[u("a",{class:"card-footer-item has-text-dark",onClick:t[3]||(t[3]=(...a)=>s.queue_add&&s.queue_add(...a))},[u("span",MB,[C(i,{name:"playlist-plus",size:"16"})]),u("span",{class:"is-size-7",textContent:v(e.$t("dialog.spotify.track.add"))},null,8,LB)]),u("a",{class:"card-footer-item has-text-dark",onClick:t[4]||(t[4]=(...a)=>s.queue_add_next&&s.queue_add_next(...a))},[u("span",RB,[C(i,{name:"playlist-play",size:"16"})]),u("span",{class:"is-size-7",textContent:v(e.$t("dialog.spotify.track.add-next"))},null,8,NB)]),u("a",{class:"card-footer-item has-text-dark",onClick:t[5]||(t[5]=(...a)=>s.play&&s.play(...a))},[u("span",VB,[C(i,{name:"play",size:"16"})]),u("span",{class:"is-size-7",textContent:v(e.$t("dialog.spotify.track.play"))},null,8,jB)])])])]),u("button",{class:"modal-close is-large","aria-label":"close",onClick:t[6]||(t[6]=a=>e.$emit("close"))})])):X("",!0)]),_:1})])}var Gm=ve(hB,[["render",BB]]);const tl={load:function(e){const t=new ur;return t.setAccessToken(at.state.spotify.webapi_token),t.getAlbum(e.params.album_id,{market:at.state.spotify.webapi_country})},set:function(e,t){e.album=t}},HB={name:"PageAlbum",components:{ContentWithHero:jm,SpotifyListItemTrack:Wm,SpotifyModalDialogTrack:Gm,SpotifyModalDialogAlbum:Xi,CoverArtwork:Ir},beforeRouteEnter(e,t,n){tl.load(e).then(r=>{n(o=>tl.set(o,r))})},beforeRouteUpdate(e,t,n){const r=this;tl.load(e).then(o=>{tl.set(r,o),n()})},data(){return{album:{artists:[{}],tracks:{}},show_track_details_modal:!1,selected_track:{},show_album_details_modal:!1}},computed:{artwork_url:function(){return this.album.images&&this.album.images.length>0?this.album.images[0].url:""}},methods:{open_artist:function(){this.$router.push({path:"/music/spotify/artists/"+this.album.artists[0].id})},play:function(){this.show_details_modal=!1,Z.player_play_uri(this.album.uri,!0)},open_track_dialog:function(e){this.selected_track=e,this.show_track_details_modal=!0}}},UB=["textContent"],qB={class:"subtitle is-6 has-text-link has-text-weight-normal"},WB=["textContent"],GB={class:"buttons fd-is-centered-mobile fd-has-margin-top"},KB={class:"icon"},ZB=["textContent"],YB={class:"icon"},JB={class:"image is-square fd-has-shadow fd-has-action"},XB=["textContent"],QB=["onClick"],eH={class:"icon has-text-dark"};function tH(e,t,n,r,o,s){const i=O("mdicon"),a=O("cover-artwork"),l=O("spotify-list-item-track"),c=O("spotify-modal-dialog-track"),d=O("spotify-modal-dialog-album"),f=O("content-with-hero");return S(),xe(f,null,{"heading-left":P(()=>[u("h1",{class:"title is-5",textContent:v(o.album.name)},null,8,UB),u("h2",qB,[u("a",{class:"has-text-link",onClick:t[0]||(t[0]=(...m)=>s.open_artist&&s.open_artist(...m)),textContent:v(o.album.artists[0].name)},null,8,WB)]),u("div",GB,[u("a",{class:"button is-small is-dark is-rounded",onClick:t[1]||(t[1]=(...m)=>s.play&&s.play(...m))},[u("span",KB,[C(i,{name:"shuffle",size:"16"})]),u("span",{textContent:v(e.$t("page.spotify.album.shuffle"))},null,8,ZB)]),u("a",{class:"button is-small is-light is-rounded",onClick:t[2]||(t[2]=m=>o.show_album_details_modal=!0)},[u("span",YB,[C(i,{name:"dots-horizontal",size:"16"})])])])]),"heading-right":P(()=>[u("p",JB,[C(a,{artwork_url:s.artwork_url,artist:o.album.artist,album:o.album.name,onClick:t[3]||(t[3]=m=>o.show_album_details_modal=!0)},null,8,["artwork_url","artist","album"])])]),content:P(()=>[u("p",{class:"heading is-7 has-text-centered-mobile fd-has-margin-top",textContent:v(e.$t("page.spotify.album.track-count",{count:o.album.tracks.total}))},null,8,XB),(S(!0),D(Ge,null,Ct(o.album.tracks.items,(m,p)=>(S(),xe(l,{key:m.id,track:m,position:p,album:o.album,context_uri:o.album.uri},{actions:P(()=>[u("a",{onClick:_t(h=>s.open_track_dialog(m),["prevent","stop"])},[u("span",eH,[C(i,{name:"dots-vertical",size:"16"})])],8,QB)]),_:2},1032,["track","position","album","context_uri"]))),128)),C(c,{show:o.show_track_details_modal,track:o.selected_track,album:o.album,onClose:t[4]||(t[4]=m=>o.show_track_details_modal=!1)},null,8,["show","track","album"]),C(d,{show:o.show_album_details_modal,album:o.album,onClose:t[5]||(t[5]=m=>o.show_album_details_modal=!1)},null,8,["show","album"])]),_:1})}var nH=ve(HB,[["render",tH]]);const zd=50,nl={load:function(e){const t=new ur;return t.setAccessToken(at.state.spotify.webapi_token),Promise.all([t.getPlaylist(e.params.playlist_id),t.getPlaylistTracks(e.params.playlist_id,{limit:zd,offset:0})])},set:function(e,t){e.playlist=t[0],e.tracks=[],e.total=0,e.offset=0,e.append_tracks(t[1])}},rH={name:"SpotifyPagePlaylist",components:{ContentWithHeading:pt,SpotifyListItemTrack:Wm,SpotifyModalDialogTrack:Gm,SpotifyModalDialogPlaylist:ku,VueEternalLoading:Su.exports.VueEternalLoading},beforeRouteEnter(e,t,n){nl.load(e).then(r=>{n(o=>nl.set(o,r))})},beforeRouteUpdate(e,t,n){const r=this;nl.load(e).then(o=>{nl.set(r,o),n()})},data(){return{playlist:{tracks:{}},tracks:[],total:0,offset:0,show_track_details_modal:!1,selected_track:{},show_playlist_details_modal:!1}},methods:{load_next:function({loaded:e}){const t=new ur;t.setAccessToken(this.$store.state.spotify.webapi_token),t.getPlaylistTracks(this.playlist.id,{limit:zd,offset:this.offset}).then(n=>{this.append_tracks(n),e(n.items.length,zd)})},append_tracks:function(e){this.tracks=this.tracks.concat(e.items),this.total=e.total,this.offset+=e.limit},play:function(){this.show_details_modal=!1,Z.player_play_uri(this.playlist.uri,!0)},open_track_dialog:function(e){this.selected_track=e,this.show_track_details_modal=!0}}},oH=["textContent"],sH={class:"buttons is-centered"},iH={class:"icon"},aH={class:"icon"},lH=["textContent"],uH=["textContent"],cH=["onClick"],dH={class:"icon has-text-dark"},mH=vt(" . ");function fH(e,t,n,r,o,s){const i=O("mdicon"),a=O("spotify-list-item-track"),l=O("VueEternalLoading"),c=O("spotify-modal-dialog-track"),d=O("spotify-modal-dialog-playlist"),f=O("content-with-heading");return S(),xe(f,null,{"heading-left":P(()=>[u("div",{class:"title is-4",textContent:v(o.playlist.name)},null,8,oH)]),"heading-right":P(()=>[u("div",sH,[u("a",{class:"button is-small is-light is-rounded",onClick:t[0]||(t[0]=m=>o.show_playlist_details_modal=!0)},[u("span",iH,[C(i,{name:"dots-horizontal",size:"16"})])]),u("a",{class:"button is-small is-dark is-rounded",onClick:t[1]||(t[1]=(...m)=>s.play&&s.play(...m))},[u("span",aH,[C(i,{name:"shuffle",size:"16"})]),u("span",{textContent:v(e.$t("page.spotify.playlist.shuffle"))},null,8,lH)])])]),content:P(()=>[u("p",{class:"heading has-text-centered-mobile",textContent:v(e.$t("page.spotify.playlist.count",{count:o.playlist.tracks.total}))},null,8,uH),(S(!0),D(Ge,null,Ct(o.tracks,(m,p)=>(S(),xe(a,{key:m.track.id,track:m.track,album:m.track.album,position:p,context_uri:o.playlist.uri},{actions:P(()=>[u("a",{onClick:_t(h=>s.open_track_dialog(m.track),["prevent","stop"])},[u("span",dH,[C(i,{name:"dots-vertical",size:"16"})])],8,cH)]),_:2},1032,["track","album","position","context_uri"]))),128)),o.offset<o.total?(S(),xe(l,{key:0,load:s.load_next},{"no-more":P(()=>[mH]),_:1},8,["load"])):X("",!0),C(c,{show:o.show_track_details_modal,track:o.selected_track,album:o.selected_track.album,onClose:t[2]||(t[2]=m=>o.show_track_details_modal=!1)},null,8,["show","track","album"]),C(d,{show:o.show_playlist_details_modal,playlist:o.playlist,onClose:t[3]||(t[3]=m=>o.show_playlist_details_modal=!1)},null,8,["show","playlist"])]),_:1})}var pH=ve(rH,[["render",fH]]);const hH={name:"SpotifyListItemArtist",props:["artist"],methods:{open_artist:function(){this.$router.push({path:"/music/spotify/artists/"+this.artist.id})}}},_H={class:"media"},gH=["textContent"],yH={class:"media-right"};function vH(e,t,n,r,o,s){return S(),D("div",_H,[u("div",{class:"media-content fd-has-action is-clipped",onClick:t[0]||(t[0]=(...i)=>s.open_artist&&s.open_artist(...i))},[u("h1",{class:"title is-6",textContent:v(n.artist.name)},null,8,gH)]),u("div",yH,[xt(e.$slots,"actions")])])}var bH=ve(hH,[["render",vH]]);const Gs=50,wH={name:"SpotifyPageSearch",components:{ContentWithHeading:pt,ContentText:i1,TabsSearch:a1,SpotifyListItemTrack:Wm,SpotifyListItemArtist:bH,SpotifyListItemAlbum:xu,SpotifyListItemPlaylist:qm,SpotifyModalDialogTrack:Gm,SpotifyModalDialogArtist:l1,SpotifyModalDialogAlbum:Xi,SpotifyModalDialogPlaylist:ku,VueEternalLoading:Su.exports.VueEternalLoading,CoverArtwork:Ir},data(){return{search_query:"",tracks:{items:[],total:0},artists:{items:[],total:0},albums:{items:[],total:0},playlists:{items:[],total:0},query:{},search_param:{},show_track_details_modal:!1,selected_track:{},show_album_details_modal:!1,selected_album:{},show_artist_details_modal:!1,selected_artist:{},show_playlist_details_modal:!1,selected_playlist:{},validSearchTypes:["track","artist","album","playlist"]}},computed:{recent_searches(){return this.$store.state.recent_searches.filter(e=>!e.startsWith("query:"))},show_tracks(){return this.$route.query.type&&this.$route.query.type.includes("track")},show_all_tracks_button(){return this.tracks.total>this.tracks.items.length},show_artists(){return this.$route.query.type&&this.$route.query.type.includes("artist")},show_all_artists_button(){return this.artists.total>this.artists.items.length},show_albums(){return this.$route.query.type&&this.$route.query.type.includes("album")},show_all_albums_button(){return this.albums.total>this.albums.items.length},show_playlists(){return this.$route.query.type&&this.$route.query.type.includes("playlist")},show_all_playlists_button(){return this.playlists.total>this.playlists.items.length},is_visible_artwork(){return this.$store.getters.settings_option("webinterface","show_cover_artwork_in_album_lists").value}},watch:{$route(e,t){this.query=e.query,this.search()}},mounted:function(){this.query=this.$route.query,this.search()},methods:{reset:function(){this.tracks={items:[],total:0},this.artists={items:[],total:0},this.albums={items:[],total:0},this.playlists={items:[],total:0}},search:function(){if(this.reset(),!this.query.query||this.query.query===""||this.query.query.startsWith("query:")){this.search_query="",this.$refs.search_field.focus();return}this.search_query=this.query.query,this.search_param.limit=this.query.limit?this.query.limit:Gs,this.search_param.offset=this.query.offset?this.query.offset:0,this.$store.commit(_m,this.query.query),this.search_all()},spotify_search:function(){return Z.spotify().then(({data:e})=>{this.search_param.market=e.webapi_country;const t=new ur;t.setAccessToken(e.webapi_token);const n=this.query.type.split(",").filter(r=>this.validSearchTypes.includes(r));return t.search(this.query.query,n,this.search_param)})},search_all:function(){this.spotify_search().then(e=>{this.tracks=e.tracks?e.tracks:{items:[],total:0},this.artists=e.artists?e.artists:{items:[],total:0},this.albums=e.albums?e.albums:{items:[],total:0},this.playlists=e.playlists?e.playlists:{items:[],total:0}})},search_tracks_next:function({loaded:e}){this.spotify_search().then(t=>{this.tracks.items=this.tracks.items.concat(t.tracks.items),this.tracks.total=t.tracks.total,this.search_param.offset+=t.tracks.limit,e(t.tracks.items.length,Gs)})},search_artists_next:function({loaded:e}){this.spotify_search().then(t=>{this.artists.items=this.artists.items.concat(t.artists.items),this.artists.total=t.artists.total,this.search_param.offset+=t.artists.limit,e(t.artists.items.length,Gs)})},search_albums_next:function({loaded:e}){this.spotify_search().then(t=>{this.albums.items=this.albums.items.concat(t.albums.items),this.albums.total=t.albums.total,this.search_param.offset+=t.albums.limit,e(t.albums.items.length,Gs)})},search_playlists_next:function({loaded:e}){this.spotify_search().then(t=>{this.playlists.items=this.playlists.items.concat(t.playlists.items),this.playlists.total=t.playlists.total,this.search_param.offset+=t.playlists.limit,e(t.playlists.items.length,Gs)})},new_search:function(){!this.search_query||(this.$router.push({path:"/search/spotify",query:{type:"track,artist,album,playlist,audiobook,podcast",query:this.search_query,limit:3,offset:0}}),this.$refs.search_field.blur())},open_search_tracks:function(){this.$router.push({path:"/search/spotify",query:{type:"track",query:this.$route.query.query}})},open_search_artists:function(){this.$router.push({path:"/search/spotify",query:{type:"artist",query:this.$route.query.query}})},open_search_albums:function(){this.$router.push({path:"/search/spotify",query:{type:"album",query:this.$route.query.query}})},open_search_playlists:function(){this.$router.push({path:"/search/spotify",query:{type:"playlist",query:this.$route.query.query}})},open_recent_search:function(e){this.search_query=e,this.new_search()},open_track_dialog:function(e){this.selected_track=e,this.show_track_details_modal=!0},open_album_dialog:function(e){this.selected_album=e,this.show_album_details_modal=!0},open_artist_dialog:function(e){this.selected_artist=e,this.show_artist_details_modal=!0},open_playlist_dialog:function(e){this.selected_playlist=e,this.show_playlist_details_modal=!0},open_album:function(e){this.$router.push({path:"/music/spotify/albums/"+e.id})},artwork_url:function(e){return e.images&&e.images.length>0?e.images[0].url:""}}},CH={class:"section fd-remove-padding-bottom"},zH={class:"container"},xH={class:"columns is-centered"},kH={class:"column is-four-fifths"},SH={class:"field"},EH={class:"control is-expanded has-icons-left"},$H={class:"icon is-left"},AH={class:"tags",style:{"margin-top":"16px"}},TH=["onClick","textContent"],OH=["textContent"],PH=["onClick"],DH={class:"icon has-text-dark"},FH=vt(" . "),IH={key:0,class:"level"},MH={class:"level-item"},LH=["textContent"],RH=["textContent"],NH=["textContent"],VH=["onClick"],jH={class:"icon has-text-dark"},BH=vt(" . "),HH={key:0,class:"level"},UH={class:"level-item"},qH=["textContent"],WH=["textContent"],GH=["textContent"],KH={class:"image is-64x64 fd-has-shadow fd-has-action"},ZH=["onClick"],YH={class:"icon has-text-dark"},JH=vt(" . "),XH={key:0,class:"level"},QH={class:"level-item"},eU=["textContent"],tU=["textContent"],nU=["textContent"],rU=["onClick"],oU={class:"icon has-text-dark"},sU=vt(" . "),iU={key:0,class:"level"},aU={class:"level-item"},lU=["textContent"],uU=["textContent"];function cU(e,t,n,r,o,s){const i=O("mdicon"),a=O("tabs-search"),l=O("spotify-list-item-track"),c=O("VueEternalLoading"),d=O("spotify-modal-dialog-track"),f=O("content-with-heading"),m=O("content-text"),p=O("spotify-list-item-artist"),h=O("spotify-modal-dialog-artist"),_=O("cover-artwork"),g=O("spotify-list-item-album"),b=O("spotify-modal-dialog-album"),w=O("spotify-list-item-playlist"),x=O("spotify-modal-dialog-playlist");return S(),D("div",null,[u("section",CH,[u("div",zH,[u("div",xH,[u("div",kH,[u("form",{onSubmit:t[1]||(t[1]=_t((...z)=>s.new_search&&s.new_search(...z),["prevent"]))},[u("div",SH,[u("p",EH,[kt(u("input",{ref:"search_field","onUpdate:modelValue":t[0]||(t[0]=z=>o.search_query=z),class:"input is-rounded is-shadowless",type:"text",placeholder:"Search",autocomplete:"off"},null,512),[[kn,o.search_query]]),u("span",$H,[C(i,{name:"magnify",size:"16"})])])])],32),u("div",AH,[(S(!0),D(Ge,null,Ct(s.recent_searches,z=>(S(),D("a",{key:z,class:"tag",onClick:E=>s.open_recent_search(z),textContent:v(z)},null,8,TH))),128))])])])])]),C(a,{query:o.search_query},null,8,["query"]),s.show_tracks&&o.tracks.total?(S(),xe(f,{key:0},{"heading-left":P(()=>[u("p",{class:"title is-4",textContent:v(e.$t("page.spotify.search.tracks"))},null,8,OH)]),content:P(()=>[(S(!0),D(Ge,null,Ct(o.tracks.items,z=>(S(),xe(l,{key:z.id,track:z,album:z.album,position:0,context_uri:z.uri},{actions:P(()=>[u("a",{onClick:_t(E=>s.open_track_dialog(z),["prevent","stop"])},[u("span",DH,[C(i,{name:"dots-vertical",size:"16"})])],8,PH)]),_:2},1032,["track","album","context_uri"]))),128)),o.query.type==="track"?(S(),xe(c,{key:0,load:s.search_tracks_next},{"no-more":P(()=>[FH]),_:1},8,["load"])):X("",!0),C(d,{show:o.show_track_details_modal,track:o.selected_track,album:o.selected_track.album,onClose:t[2]||(t[2]=z=>o.show_track_details_modal=!1)},null,8,["show","track","album"])]),footer:P(()=>[s.show_all_tracks_button?(S(),D("nav",IH,[u("p",MH,[u("a",{class:"button is-light is-small is-rounded",onClick:t[3]||(t[3]=(...z)=>s.open_search_tracks&&s.open_search_tracks(...z)),textContent:v(e.$t("page.spotify.search.show-all-tracks",{count:o.tracks.total.toLocaleString(e.$i18n.locale)}))},null,8,LH)])])):X("",!0)]),_:1})):X("",!0),s.show_tracks&&!o.tracks.total?(S(),xe(m,{key:1,class:"mt-6"},{content:P(()=>[u("p",null,[u("i",{textContent:v(e.$t("page.spotify.search.no-tracks"))},null,8,RH)])]),_:1})):X("",!0),s.show_artists&&o.artists.total?(S(),xe(f,{key:2},{"heading-left":P(()=>[u("p",{class:"title is-4",textContent:v(e.$t("page.spotify.search.artists"))},null,8,NH)]),content:P(()=>[(S(!0),D(Ge,null,Ct(o.artists.items,z=>(S(),xe(p,{key:z.id,artist:z},{actions:P(()=>[u("a",{onClick:_t(E=>s.open_artist_dialog(z),["prevent","stop"])},[u("span",jH,[C(i,{name:"dots-vertical",size:"16"})])],8,VH)]),_:2},1032,["artist"]))),128)),o.query.type==="artist"?(S(),xe(c,{key:0,load:s.search_artists_next},{"no-more":P(()=>[BH]),_:1},8,["load"])):X("",!0),C(h,{show:o.show_artist_details_modal,artist:o.selected_artist,onClose:t[4]||(t[4]=z=>o.show_artist_details_modal=!1)},null,8,["show","artist"])]),footer:P(()=>[s.show_all_artists_button?(S(),D("nav",HH,[u("p",UH,[u("a",{class:"button is-light is-small is-rounded",onClick:t[5]||(t[5]=(...z)=>s.open_search_artists&&s.open_search_artists(...z)),textContent:v(e.$t("page.spotify.search.show-all-artists",{count:o.artists.total.toLocaleString(e.$i18n.locale)}))},null,8,qH)])])):X("",!0)]),_:1})):X("",!0),s.show_artists&&!o.artists.total?(S(),xe(m,{key:3},{content:P(()=>[u("p",null,[u("i",{textContent:v(e.$t("page.spotify.search.no-artists"))},null,8,WH)])]),_:1})):X("",!0),s.show_albums&&o.albums.total?(S(),xe(f,{key:4},{"heading-left":P(()=>[u("p",{class:"title is-4",textContent:v(e.$t("page.spotify.search.albums"))},null,8,GH)]),content:P(()=>[(S(!0),D(Ge,null,Ct(o.albums.items,z=>(S(),xe(g,{key:z.id,album:z,onClick:E=>s.open_album(z)},qi({actions:P(()=>[u("a",{onClick:_t(E=>s.open_album_dialog(z),["prevent","stop"])},[u("span",YH,[C(i,{name:"dots-vertical",size:"16"})])],8,ZH)]),_:2},[s.is_visible_artwork?{name:"artwork",fn:P(()=>[u("p",KH,[C(_,{artwork_url:s.artwork_url(z),artist:z.artist,album:z.name,maxwidth:64,maxheight:64},null,8,["artwork_url","artist","album"])])])}:void 0]),1032,["album","onClick"]))),128)),o.query.type==="album"?(S(),xe(c,{key:0,load:s.search_albums_next},{"no-more":P(()=>[JH]),_:1},8,["load"])):X("",!0),C(b,{show:o.show_album_details_modal,album:o.selected_album,onClose:t[6]||(t[6]=z=>o.show_album_details_modal=!1)},null,8,["show","album"])]),footer:P(()=>[s.show_all_albums_button?(S(),D("nav",XH,[u("p",QH,[u("a",{class:"button is-light is-small is-rounded",onClick:t[7]||(t[7]=(...z)=>s.open_search_albums&&s.open_search_albums(...z)),textContent:v(e.$t("page.spotify.search.show-all-albums",{count:o.albums.total.toLocaleString(e.$i18n.locale)}))},null,8,eU)])])):X("",!0)]),_:1})):X("",!0),s.show_albums&&!o.albums.total?(S(),xe(m,{key:5},{content:P(()=>[u("p",null,[u("i",{textContent:v(e.$t("page.spotify.search.no-albums"))},null,8,tU)])]),_:1})):X("",!0),s.show_playlists&&o.playlists.total?(S(),xe(f,{key:6},{"heading-left":P(()=>[u("p",{class:"title is-4",textContent:v(e.$t("page.spotify.search.playlists"))},null,8,nU)]),content:P(()=>[(S(!0),D(Ge,null,Ct(o.playlists.items,z=>(S(),xe(w,{key:z.id,playlist:z},{actions:P(()=>[u("a",{onClick:_t(E=>s.open_playlist_dialog(z),["prevent","stop"])},[u("span",oU,[C(i,{name:"dots-vertical",size:"16"})])],8,rU)]),_:2},1032,["playlist"]))),128)),o.query.type==="playlist"?(S(),xe(c,{key:0,load:s.search_playlists_next},{"no-more":P(()=>[sU]),_:1},8,["load"])):X("",!0),C(x,{show:o.show_playlist_details_modal,playlist:o.selected_playlist,onClose:t[8]||(t[8]=z=>o.show_playlist_details_modal=!1)},null,8,["show","playlist"])]),footer:P(()=>[s.show_all_playlists_button?(S(),D("nav",iU,[u("p",aU,[u("a",{class:"button is-light is-small is-rounded",onClick:t[9]||(t[9]=(...z)=>s.open_search_playlists&&s.open_search_playlists(...z)),textContent:v(e.$t("page.spotify.search.show-all-playlists",{count:o.playlists.total.toLocaleString(e.$i18n.locale)}))},null,8,lU)])])):X("",!0)]),_:1})):X("",!0),s.show_playlists&&!o.playlists.total?(S(),xe(m,{key:7},{content:P(()=>[u("p",null,[u("i",{textContent:v(e.$t("page.spotify.search.no-playlists"))},null,8,uU)])]),_:1})):X("",!0)])}var dU=ve(wH,[["render",cU]]);const mU={name:"TabsSettings"},fU={class:"section fd-tabs-section"},pU={class:"container"},hU={class:"columns is-centered"},_U={class:"column is-four-fifths"},gU={class:"tabs is-centered is-small"},yU=["onClick","onKeypress"],vU=["textContent"],bU=["onClick","onKeypress"],wU=["textContent"],CU=["onClick","onKeypress"],zU=["textContent"],xU=["onClick","onKeypress"],kU=["textContent"];function SU(e,t,n,r,o,s){const i=O("router-link");return S(),D("section",fU,[u("div",pU,[u("div",hU,[u("div",_U,[u("div",gU,[u("ul",null,[C(i,{to:"/settings/webinterface",custom:""},{default:P(({navigate:a,isActive:l})=>[u("li",{class:Ye({"is-active":l})},[u("a",{onClick:a,onKeypress:Dn(a,["enter"])},[u("span",{textContent:v(e.$t("page.settings.tabs.general"))},null,8,vU)],40,yU)],2)]),_:1}),C(i,{to:"/settings/remotes-outputs",custom:""},{default:P(({navigate:a,isActive:l})=>[u("li",{class:Ye({"is-active":l})},[u("a",{onClick:a,onKeypress:Dn(a,["enter"])},[u("span",{textContent:v(e.$t("page.settings.tabs.remotes-and-outputs"))},null,8,wU)],40,bU)],2)]),_:1}),C(i,{to:"/settings/artwork",custom:""},{default:P(({navigate:a,isActive:l})=>[u("li",{class:Ye({"is-active":l})},[u("a",{onClick:a,onKeypress:Dn(a,["enter"])},[u("span",{textContent:v(e.$t("page.settings.tabs.artwork"))},null,8,zU)],40,CU)],2)]),_:1}),C(i,{to:"/settings/online-services",custom:""},{default:P(({navigate:a,isActive:l})=>[u("li",{class:Ye({"is-active":l})},[u("a",{onClick:a,onKeypress:Dn(a,["enter"])},[u("span",{textContent:v(e.$t("page.settings.tabs.online-services"))},null,8,kU)],40,xU)],2)]),_:1})])])])])])])}var Eu=ve(mU,[["render",SU]]);const EU={name:"SettingsCheckbox",props:["category_name","option_name"],data(){return{timerDelay:2e3,timerId:-1,statusUpdate:""}},computed:{category(){return this.$store.state.settings.categories.find(e=>e.name===this.category_name)},option(){return this.category?this.category.options.find(e=>e.name===this.option_name):{}},value(){return this.option.value},info(){return this.statusUpdate==="success"?this.$t("setting.saved"):this.statusUpdate==="error"?this.$t("setting.not-saved"):""},is_success(){return this.statusUpdate==="success"},is_error(){return this.statusUpdate==="error"}},methods:{set_update_timer(){this.timerId>0&&(window.clearTimeout(this.timerId),this.timerId=-1),this.statusUpdate="",this.$refs.setting.checked!==this.value&&(this.timerId=window.setTimeout(this.update_setting,this.timerDelay))},update_setting(){this.timerId=-1;const e=this.$refs.setting.checked;if(console.log(this.$refs.setting),e===this.value){this.statusUpdate="";return}const t={category:this.category.name,name:this.option_name,value:e};Z.settings_update(this.category.name,t).then(()=>{this.$store.commit(pu,t),this.statusUpdate="success"}).catch(()=>{this.statusUpdate="error",this.$refs.setting.checked=this.value}).finally(()=>{this.timerId=window.setTimeout(this.clear_status,this.timerDelay)})},clear_status:function(){this.statusUpdate=""}}},$U={class:"field"},AU={class:"switch"},TU=["checked"],OU=["textContent"],PU={key:0,class:"help"};function DU(e,t,n,r,o,s){return S(),D("div",$U,[u("label",AU,[u("input",{ref:"setting",type:"checkbox",checked:s.value,style:{"margin-right":"5px"},onChange:t[0]||(t[0]=(...i)=>s.set_update_timer&&s.set_update_timer(...i))},null,40,TU),xt(e.$slots,"label"),u("i",{class:Ye(["is-size-7",{"has-text-info":s.is_success,"has-text-danger":s.is_error}]),textContent:v(s.info)},null,10,OU)]),e.$slots.info?(S(),D("p",PU,[xt(e.$slots,"info")])):X("",!0)])}var u1=ve(EU,[["render",DU]]);const FU={name:"SettingsTextfield",props:["category_name","option_name","placeholder","disabled"],data(){return{timerDelay:2e3,timerId:-1,statusUpdate:""}},computed:{category(){return this.$store.state.settings.categories.find(e=>e.name===this.category_name)},option(){return this.category?this.category.options.find(e=>e.name===this.option_name):{}},value(){return this.option.value},info(){return this.statusUpdate==="success"?this.$t("setting.saved"):this.statusUpdate==="error"?this.$t("setting.not-saved"):""},is_success(){return this.statusUpdate==="success"},is_error(){return this.statusUpdate==="error"}},methods:{set_update_timer(){this.timerId>0&&(window.clearTimeout(this.timerId),this.timerId=-1),this.statusUpdate="",this.$refs.setting.value!==this.value&&(this.timerId=window.setTimeout(this.update_setting,this.timerDelay))},update_setting(){this.timerId=-1;const e=this.$refs.setting.value;if(e===this.value){this.statusUpdate="";return}const t={category:this.category.name,name:this.option_name,value:e};Z.settings_update(this.category.name,t).then(()=>{this.$store.commit(pu,t),this.statusUpdate="success"}).catch(()=>{this.statusUpdate="error",this.$refs.setting.value=this.value}).finally(()=>{this.timerId=window.setTimeout(this.clear_status,this.timerDelay)})},clear_status:function(){this.statusUpdate=""}}},IU=["disabled"],MU={class:"field"},LU={class:"label has-text-weight-normal"},RU=["textContent"],NU={class:"control"},VU=["placeholder","value"],jU={key:0,class:"help"};function BU(e,t,n,r,o,s){return S(),D("fieldset",{disabled:n.disabled},[u("div",MU,[u("label",LU,[xt(e.$slots,"label"),u("i",{class:Ye(["is-size-7",{"has-text-info":s.is_success,"has-text-danger":s.is_error}]),textContent:v(s.info)},null,10,RU)]),u("div",NU,[u("input",{ref:"setting",class:"input",type:"text",placeholder:n.placeholder,value:s.value,onInput:t[0]||(t[0]=(...i)=>s.set_update_timer&&s.set_update_timer(...i))},null,40,VU)]),e.$slots.info?(S(),D("p",jU,[xt(e.$slots,"info")])):X("",!0)])],8,IU)}var HU=ve(FU,[["render",BU]]);const UU={name:"SettingsIntfield",props:["category_name","option_name","placeholder","disabled"],data(){return{timerDelay:2e3,timerId:-1,statusUpdate:""}},computed:{category(){return this.$store.state.settings.categories.find(e=>e.name===this.category_name)},option(){return this.category?this.category.options.find(e=>e.name===this.option_name):{}},value(){return this.option.value},info(){return this.statusUpdate==="success"?this.$t("setting.saved"):this.statusUpdate==="error"?this.$t("setting.not-saved"):""},is_success(){return this.statusUpdate==="success"},is_error(){return this.statusUpdate==="error"}},methods:{set_update_timer(){this.timerId>0&&(window.clearTimeout(this.timerId),this.timerId=-1),this.statusUpdate="",this.$refs.setting.value!==this.value&&(this.timerId=window.setTimeout(this.update_setting,this.timerDelay))},update_setting(){this.timerId=-1;const e=this.$refs.setting.value;if(e===this.value){this.statusUpdate="";return}const t={category:this.category.name,name:this.option_name,value:parseInt(e,10)};Z.settings_update(this.category.name,t).then(()=>{this.$store.commit(pu,t),this.statusUpdate="success"}).catch(()=>{this.statusUpdate="error",this.$refs.setting.value=this.value}).finally(()=>{this.timerId=window.setTimeout(this.clear_status,this.timerDelay)})},clear_status:function(){this.statusUpdate=""}}},qU=["disabled"],WU={class:"field"},GU={class:"label has-text-weight-normal"},KU=["textContent"],ZU={class:"control"},YU=["placeholder","value"],JU={key:0,class:"help"};function XU(e,t,n,r,o,s){return S(),D("fieldset",{disabled:n.disabled},[u("div",WU,[u("label",GU,[xt(e.$slots,"label"),u("i",{class:Ye(["is-size-7",{"has-text-info":s.is_success,"has-text-danger":s.is_error}]),textContent:v(s.info)},null,10,KU)]),u("div",ZU,[u("input",{ref:"setting",class:"input",type:"number",min:"0",style:{width:"10em"},placeholder:n.placeholder,value:s.value,onInput:t[0]||(t[0]=(...i)=>s.set_update_timer&&s.set_update_timer(...i))},null,40,YU)]),e.$slots.info?(S(),D("p",JU,[xt(e.$slots,"info")])):X("",!0)])],8,qU)}var QU=ve(UU,[["render",XU]]);const eq={name:"SettingsPageWebinterface",components:{ContentWithHeading:pt,TabsSettings:Eu,SettingsCheckbox:u1,SettingsTextfield:HU,SettingsIntfield:QU,DropdownMenu:No},computed:{settings_option_show_composer_now_playing(){return this.$store.getters.settings_option_show_composer_now_playing},settings_option_show_filepath_now_playing(){return this.$store.getters.settings_option_show_filepath_now_playing},locale:{get(){let e=this.$i18n.availableLocales,t=e.find(r=>r===this.$i18n.locale),n=this.$i18n.locale.split("-")[0];return t||(t=e.find(r=>r===n)),t||(t=e.forEach(r=>r.split("-")[0]===n)),t},set(e){this.$i18n.locale=e}},locales:{get(){return this.$i18n.availableLocales.map(e=>({id:e,name:this.$t("language."+e)}))}}}},tq={class:"fd-page-with-tabs"},nq=["textContent"],rq=["textContent"],oq=["textContent"],sq=["textContent"],iq=["textContent"],aq=["textContent"],lq=["textContent"],uq=["textContent"],cq=["textContent"],dq=["textContent"],mq=["textContent"],fq=["textContent"],pq=["textContent"],hq=["textContent"],_q=["textContent"],gq=["textContent"],yq=["textContent"],vq=["textContent"],bq=["textContent"],wq=["textContent"],Cq=["textContent"],zq=["textContent"],xq=["textContent"];function kq(e,t,n,r,o,s){const i=O("tabs-settings"),a=O("dropdown-menu"),l=O("content-with-heading"),c=O("settings-checkbox"),d=O("settings-textfield"),f=O("settings-intfield");return S(),D("div",tq,[C(i),C(l,null,{"heading-left":P(()=>[u("div",{class:"title is-4",textContent:v(e.$t("page.settings.general.language"))},null,8,nq)]),content:P(()=>[C(a,{modelValue:s.locale,"onUpdate:modelValue":t[0]||(t[0]=m=>s.locale=m),options:s.locales},null,8,["modelValue","options"])]),_:1}),C(l,null,{"heading-left":P(()=>[u("div",{class:"title is-4",textContent:v(e.$t("page.settings.general.navigation-items"))},null,8,rq)]),content:P(()=>[u("p",{class:"content",textContent:v(e.$t("page.settings.general.navigation-item-selection"))},null,8,oq),u("div",{class:"notification is-size-7",textContent:v(e.$t("page.settings.general.navigation-item-selection-info"))},null,8,sq),C(c,{category_name:"webinterface",option_name:"show_menu_item_playlists"},{label:P(()=>[u("span",{textContent:v(e.$t("page.settings.general.playlists"))},null,8,iq)]),_:1}),C(c,{category_name:"webinterface",option_name:"show_menu_item_music"},{label:P(()=>[u("span",{textContent:v(e.$t("page.settings.general.music"))},null,8,aq)]),_:1}),C(c,{category_name:"webinterface",option_name:"show_menu_item_podcasts"},{label:P(()=>[u("span",{textContent:v(e.$t("page.settings.general.podcasts"))},null,8,lq)]),_:1}),C(c,{category_name:"webinterface",option_name:"show_menu_item_audiobooks"},{label:P(()=>[u("span",{textContent:v(e.$t("page.settings.general.audiobooks"))},null,8,uq)]),_:1}),C(c,{category_name:"webinterface",option_name:"show_menu_item_radio"},{label:P(()=>[u("span",{textContent:v(e.$t("page.settings.general.radio"))},null,8,cq)]),_:1}),C(c,{category_name:"webinterface",option_name:"show_menu_item_files"},{label:P(()=>[u("span",{textContent:v(e.$t("page.settings.general.files"))},null,8,dq)]),_:1}),C(c,{category_name:"webinterface",option_name:"show_menu_item_search"},{label:P(()=>[u("span",{textContent:v(e.$t("page.settings.general.search"))},null,8,mq)]),_:1})]),_:1}),C(l,null,{"heading-left":P(()=>[u("div",{class:"title is-4",textContent:v(e.$t("page.settings.general.album-lists"))},null,8,fq)]),content:P(()=>[C(c,{category_name:"webinterface",option_name:"show_cover_artwork_in_album_lists"},{label:P(()=>[u("span",{textContent:v(e.$t("page.settings.general.show-coverart"))},null,8,pq)]),_:1})]),_:1}),C(l,null,{"heading-left":P(()=>[u("div",{class:"title is-4",textContent:v(e.$t("page.settings.general.now-playing-page"))},null,8,hq)]),content:P(()=>[C(c,{category_name:"webinterface",option_name:"show_composer_now_playing"},{label:P(()=>[u("span",{textContent:v(e.$t("page.settings.general.show-composer"))},null,8,_q)]),info:P(()=>[u("span",{textContent:v(e.$t("page.settings.general.show-composer-info"))},null,8,gq)]),_:1}),C(d,{category_name:"webinterface",option_name:"show_composer_for_genre",disabled:!s.settings_option_show_composer_now_playing,placeholder:"Genres"},{label:P(()=>[u("span",{textContent:v(e.$t("page.settings.general.show-composer-genres"))},null,8,yq)]),info:P(()=>[u("p",{class:"help",textContent:v(e.$t("page.settings.general.show-composer-genres-info-1"))},null,8,vq),u("p",{class:"help",textContent:v(e.$t("page.settings.general.show-composer-genres-info-2"))},null,8,bq),u("p",{class:"help",textContent:v(e.$t("page.settings.general.show-composer-genres-info-3"))},null,8,wq)]),_:1},8,["disabled"]),C(c,{category_name:"webinterface",option_name:"show_filepath_now_playing"},{label:P(()=>[u("span",{textContent:v(e.$t("page.settings.general.show-path"))},null,8,Cq)]),_:1})]),_:1}),C(l,null,{"heading-left":P(()=>[u("div",{class:"title is-4",textContent:v(e.$t("page.settings.general.recently-added-page"))},null,8,zq)]),content:P(()=>[C(f,{category_name:"webinterface",option_name:"recently_added_limit"},{label:P(()=>[u("span",{textContent:v(e.$t("page.settings.general.recently-added-page-info"))},null,8,xq)]),_:1})]),_:1})])}var Sq=ve(eq,[["render",kq]]);const Eq={name:"SettingsPageArtwork",components:{ContentWithHeading:pt,TabsSettings:Eu,SettingsCheckbox:u1},computed:{spotify(){return this.$store.state.spotify}}},$q={class:"fd-page-with-tabs"},Aq=["textContent"],Tq=["textContent"],Oq=["textContent"],Pq=["textContent"],Dq={href:"https://www.spotify.com/",target:"_blank"},Fq={class:"icon"},Iq=["textContent"],Mq={href:"https://www.discogs.com/",target:"_blank"},Lq={class:"icon"},Rq=["textContent"],Nq={href:"https://coverartarchive.org/",target:"_blank"},Vq={class:"icon"};function jq(e,t,n,r,o,s){const i=O("tabs-settings"),a=O("mdicon"),l=O("settings-checkbox"),c=O("content-with-heading");return S(),D("div",$q,[C(i),C(c,null,{"heading-left":P(()=>[u("div",{class:"title is-4",textContent:v(e.$t("page.settings.artwork.artwork"))},null,8,Aq)]),content:P(()=>[u("div",{class:"content",textContent:v(e.$t("page.settings.artwork.explanation-1"))},null,8,Tq),u("div",{class:"content",textContent:v(e.$t("page.settings.artwork.explanation-2"))},null,8,Oq),s.spotify.spotify_logged_in?(S(),xe(l,{key:0,category_name:"artwork",option_name:"use_artwork_source_spotify"},{label:P(()=>[u("span",{textContent:v(e.$t("page.settings.artwork.spotify"))},null,8,Pq),u("a",Dq,[u("span",Fq,[C(a,{name:"open-in-new",size:"16"})])])]),_:1})):X("",!0),C(l,{category_name:"artwork",option_name:"use_artwork_source_discogs"},{label:P(()=>[u("span",{textContent:v(e.$t("page.settings.artwork.discogs"))},null,8,Iq),u("a",Mq,[u("span",Lq,[C(a,{name:"open-in-new",size:"16"})])])]),_:1}),C(l,{category_name:"artwork",option_name:"use_artwork_source_coverartarchive"},{label:P(()=>[u("span",{textContent:v(e.$t("page.settings.artwork.coverartarchive"))},null,8,Rq),u("a",Nq,[u("span",Vq,[C(a,{name:"open-in-new",size:"16"})])])]),_:1})]),_:1})])}var Bq=ve(Eq,[["render",jq]]);const Hq={name:"SettingsPageOnlineServices",components:{ContentWithHeading:pt,TabsSettings:Eu},filters:{join(e){return e.join(", ")}},data(){return{lastfm_login:{user:"",password:"",errors:{user:"",password:"",error:""}}}},computed:{lastfm(){return this.$store.state.lastfm},spotify(){return this.$store.state.spotify},spotify_required_scope(){return this.spotify.webapi_required_scope?this.spotify.webapi_required_scope.split(" "):[]},spotify_missing_scope(){return this.spotify.webapi_token_valid&&this.spotify.webapi_granted_scope&&this.spotify.webapi_required_scope?this.spotify.webapi_required_scope.split(" ").filter(e=>this.spotify.webapi_granted_scope.indexOf(e)<0):[]}},methods:{logout_spotify(){Z.spotify_logout()},login_lastfm(){Z.lastfm_login(this.lastfm_login).then(e=>{this.lastfm_login.user="",this.lastfm_login.password="",this.lastfm_login.errors.user="",this.lastfm_login.errors.password="",this.lastfm_login.errors.error="",e.data.success||(this.lastfm_login.errors.user=e.data.errors.user,this.lastfm_login.errors.password=e.data.errors.password,this.lastfm_login.errors.error=e.data.errors.error)})},logoutLastfm(){Z.lastfm_logout()}}},Uq={class:"fd-page-with-tabs"},qq=["textContent"],Wq={key:0,class:"notification is-size-7"},Gq=["textContent"],Kq={key:1},Zq={class:"notification is-size-7"},Yq=["textContent"],Jq={class:"fd-has-margin-top"},Xq=["innerHTML"],Qq={key:0},eW=["textContent"],tW=["textContent"],nW={key:1,class:"help is-danger"},rW=["textContent"],oW=["textContent"],sW={class:"field fd-has-margin-top"},iW={class:"control"},aW=["href","textContent"],lW={class:"help"},uW=["textContent"],cW=["textContent"],dW={key:2,class:"field fd-has-margin-top"},mW={class:"control"},fW=["textContent"],pW=["textContent"],hW={key:0,class:"notification is-size-7"},_W=["textContent"],gW={key:1},yW=["innerHTML"],vW={key:0},bW=["textContent"],wW={key:1},CW={class:"field is-grouped"},zW={class:"control is-expanded"},xW=["textContent"],kW={class:"control is-expanded"},SW=["textContent"],EW={class:"control"},$W=["textContent"],AW=["textContent"],TW=["textContent"];function OW(e,t,n,r,o,s){const i=O("tabs-settings"),a=O("content-with-heading");return S(),D("div",Uq,[C(i),C(a,null,{"heading-left":P(()=>[u("div",{class:"title is-4",textContent:v(e.$t("page.settings.services.spotify.title"))},null,8,qq)]),content:P(()=>[s.spotify.spotify_installed?X("",!0):(S(),D("div",Wq,[u("p",{textContent:v(e.$t("page.settings.services.spotify.no-support"))},null,8,Gq)])),s.spotify.spotify_installed?(S(),D("div",Kq,[u("div",Zq,[u("span",{textContent:v(e.$t("page.settings.services.spotify.requirements"))},null,8,Yq)]),u("div",Jq,[u("p",{class:"content",innerHTML:e.$t("page.settings.services.spotify.grant-access")},null,8,Xq),s.spotify.webapi_token_valid?(S(),D("p",Qq,[u("span",{textContent:v(e.$t("page.settings.services.spotify.user"))},null,8,eW),u("code",{textContent:v(s.spotify.webapi_user)},null,8,tW)])):X("",!0),s.spotify_missing_scope.length>0?(S(),D("p",nW,[u("span",{textContent:v(e.$t("page.settings.services.spotify.reauthorize"))},null,8,rW),u("code",{textContent:v(s.spotify_missing_scope.join())},null,8,oW)])):X("",!0),u("div",sW,[u("div",iW,[u("a",{class:Ye(["button",{"is-info":!s.spotify.webapi_token_valid||s.spotify_missing_scope.length>0}]),href:s.spotify.oauth_uri,textContent:v(e.$t("page.settings.services.spotify.authorize"))},null,10,aW)])]),u("p",lW,[u("span",{textContent:v(e.$t("page.settings.services.spotify.scopes"))},null,8,uW),u("code",{textContent:v(s.spotify_required_scope.join(", "))},null,8,cW)]),s.spotify.webapi_token_valid?(S(),D("div",dW,[u("div",mW,[u("a",{class:"button is-danger",onClick:t[0]||(t[0]=(...l)=>s.logout_spotify&&s.logout_spotify(...l)),textContent:v(e.$t("page.settings.services.logout"))},null,8,fW)])])):X("",!0)])])):X("",!0)]),_:1}),C(a,null,{"heading-left":P(()=>[u("div",{class:"title is-4",textContent:v(e.$t("page.settings.services.lastfm.title"))},null,8,pW)]),content:P(()=>[s.lastfm.enabled?X("",!0):(S(),D("div",hW,[u("p",{textContent:v(e.$t("page.settings.services.lastfm.no-support"))},null,8,_W)])),s.lastfm.enabled?(S(),D("div",gW,[u("p",{class:"content",innerHTML:e.$t("page.settings.services.lastfm.grant-access")},null,8,yW),s.lastfm.scrobbling_enabled?(S(),D("div",vW,[u("a",{class:"button",onClick:t[1]||(t[1]=(...l)=>s.logoutLastfm&&s.logoutLastfm(...l)),textContent:v(e.$t("page.settings.services.lastfm.stop-scrobbling"))},null,8,bW)])):X("",!0),s.lastfm.scrobbling_enabled?X("",!0):(S(),D("div",wW,[u("form",{onSubmit:t[4]||(t[4]=_t((...l)=>s.login_lastfm&&s.login_lastfm(...l),["prevent"]))},[u("div",CW,[u("div",zW,[kt(u("input",{"onUpdate:modelValue":t[2]||(t[2]=l=>o.lastfm_login.user=l),class:"input",type:"text",placeholder:"Username"},null,512),[[kn,o.lastfm_login.user]]),u("p",{class:"help is-danger",textContent:v(o.lastfm_login.errors.user)},null,8,xW)]),u("div",kW,[kt(u("input",{"onUpdate:modelValue":t[3]||(t[3]=l=>o.lastfm_login.password=l),class:"input",type:"password",placeholder:"Password"},null,512),[[kn,o.lastfm_login.password]]),u("p",{class:"help is-danger",textContent:v(o.lastfm_login.errors.password)},null,8,SW)]),u("div",EW,[u("button",{class:"button is-info",type:"submit",textContent:v(e.$t("page.settings.services.login"))},null,8,$W)])]),u("p",{class:"help is-danger",textContent:v(o.lastfm_login.errors.error)},null,8,AW),u("p",{class:"help",textContent:v(e.$t("page.settings.services.lastfm.info"))},null,8,TW)],32)]))])):X("",!0)]),_:1})])}var PW=ve(Hq,[["render",OW]]);const DW={name:"SettingsPageRemotesOutputs",components:{ContentWithHeading:pt,TabsSettings:Eu},filters:{},data(){return{pairing_req:{pin:""},verification_req:{pin:""}}},computed:{pairing(){return this.$store.state.pairing},outputs(){return this.$store.state.outputs}},methods:{kickoff_pairing(){Z.pairing_kickoff(this.pairing_req)},output_toggle(e){Z.output_toggle(e)},kickoff_verification(e){Z.output_update(e,this.verification_req)}}},FW={class:"fd-page-with-tabs"},IW=["textContent"],MW={key:0,class:"notification"},LW={class:"label has-text-weight-normal"},RW=["textContent"],NW=["textContent"],VW={class:"field is-grouped"},jW={class:"control"},BW={class:"control"},HW=["textContent"],UW={key:1,class:"content"},qW=["textContent"],WW=["textContent"],GW=["textContent"],KW={class:"field"},ZW={class:"control"},YW={class:"checkbox"},JW=["onUpdate:modelValue","onChange"],XW=["textContent"],QW=["onSubmit"],eG={class:"field is-grouped"},tG={class:"control"},nG=["placeholder"],rG={class:"control"},oG=["textContent"];function sG(e,t,n,r,o,s){const i=O("tabs-settings"),a=O("content-with-heading");return S(),D("div",FW,[C(i),C(a,null,{"heading-left":P(()=>[u("div",{class:"title is-4",textContent:v(e.$t("page.settings.devices.pairing"))},null,8,IW)]),content:P(()=>[s.pairing.active?(S(),D("div",MW,[u("form",{onSubmit:t[1]||(t[1]=_t((...l)=>s.kickoff_pairing&&s.kickoff_pairing(...l),["prevent"]))},[u("label",LW,[u("span",{textContent:v(e.$t("page.settings.devices.pairing-request"))},null,8,RW),u("b",{textContent:v(s.pairing.remote)},null,8,NW)]),u("div",VW,[u("div",jW,[kt(u("input",{"onUpdate:modelValue":t[0]||(t[0]=l=>o.pairing_req.pin=l),class:"input",type:"text",placeholder:"Enter pairing code"},null,512),[[kn,o.pairing_req.pin]])]),u("div",BW,[u("button",{class:"button is-info",type:"submit",textContent:v(e.$t("page.settings.devices.send"))},null,8,HW)])])],32)])):X("",!0),s.pairing.active?X("",!0):(S(),D("div",UW,[u("p",{textContent:v(e.$t("page.settings.devices.no-active-pairing"))},null,8,qW)]))]),_:1}),C(a,null,{"heading-left":P(()=>[u("div",{class:"title is-4",textContent:v(e.$t("page.settings.devices.speaker-pairing"))},null,8,WW)]),content:P(()=>[u("p",{class:"content",textContent:v(e.$t("page.settings.devices.speaker-pairing-info"))},null,8,GW),(S(!0),D(Ge,null,Ct(s.outputs,l=>(S(),D("div",{key:l.id},[u("div",KW,[u("div",ZW,[u("label",YW,[kt(u("input",{"onUpdate:modelValue":c=>l.selected=c,type:"checkbox",style:{"margin-right":"5px"},onChange:c=>s.output_toggle(l.id)},null,40,JW),[[Tr,l.selected]]),u("span",{textContent:v(l.name)},null,8,XW)])])]),l.needs_auth_key?(S(),D("form",{key:0,class:"fd-has-margin-bottom",onSubmit:_t(c=>s.kickoff_verification(l.id),["prevent"])},[u("div",eG,[u("div",tG,[kt(u("input",{"onUpdate:modelValue":t[2]||(t[2]=c=>o.verification_req.pin=c),class:"input",type:"text",placeholder:e.$t("page.settings.devices.verification-code")},null,8,nG),[[kn,o.verification_req.pin]])]),u("div",rG,[u("button",{class:"button is-info",type:"submit",textContent:v(e.$t("page.settings.devices.verify"))},null,8,oG)])])],40,QW)):X("",!0)]))),128))]),_:1})])}var iG=ve(DW,[["render",sG]]);const c1=R2({history:e2(),routes:[{path:"/",name:"PageQueue",component:C8},{path:"/about",name:"About",component:V9},{path:"/now-playing",name:"Now playing",component:dO},{path:"/music",redirect:"/music/browse"},{path:"/music/browse",name:"Browse",component:U4,meta:{show_progress:!0,has_tabs:!0}},{path:"/music/browse/recently_added",name:"Browse Recently Added",component:Y4,meta:{show_progress:!0,has_tabs:!0}},{path:"/music/browse/recently_played",name:"Browse Recently Played",component:n5,meta:{show_progress:!0,has_tabs:!0}},{path:"/music/artists",name:"Artists",component:pP,meta:{show_progress:!0,has_tabs:!0,has_index:!0}},{path:"/music/artists/:artist_id",name:"Artist",component:AP,meta:{show_progress:!0,has_index:!0}},{path:"/music/artists/:artist_id/tracks",name:"Tracks",component:ZF,meta:{show_progress:!0,has_index:!0}},{path:"/music/albums",name:"Albums",component:KP,meta:{show_progress:!0,has_tabs:!0,has_index:!0}},{path:"/music/albums/:album_id",name:"Album",component:wD,meta:{show_progress:!0}},{path:"/music/genres",name:"Genres",component:aF,meta:{show_progress:!0,has_tabs:!0,has_index:!0}},{path:"/music/genres/:genre",name:"Genre",component:vF,meta:{show_progress:!0,has_index:!0}},{path:"/music/genres/:genre/tracks",name:"GenreTracks",component:FF,meta:{show_progress:!0,has_index:!0}},{path:"/music/composers",name:"Composers",component:PI,meta:{show_progress:!0,has_tabs:!0,has_index:!0}},{path:"/music/composers/:composer/albums",name:"ComposerAlbums",component:UI,meta:{show_progress:!0,has_tabs:!0,has_index:!0}},{path:"/music/composers/:composer/tracks",name:"ComposerTracks",component:sM,meta:{show_progress:!0,has_tabs:!0,has_index:!0}},{path:"/podcasts",name:"Podcasts",component:jM,meta:{show_progress:!0}},{path:"/podcasts/:album_id",name:"Podcast",component:nL,meta:{show_progress:!0}},{path:"/audiobooks",redirect:"/audiobooks/artists"},{path:"/audiobooks/artists",name:"AudiobooksArtists",component:EL,meta:{show_progress:!0,has_tabs:!0,has_index:!0}},{path:"/audiobooks/artists/:artist_id",name:"AudiobooksArtist",component:ML,meta:{show_progress:!0}},{path:"/audiobooks/albums",name:"AudiobooksAlbums",component:wL,meta:{show_progress:!0,has_tabs:!0,has_index:!0}},{path:"/audiobooks/:album_id",name:"Audiobook",component:KL,meta:{show_progress:!0}},{path:"/radio",name:"Radio",component:OR,meta:{show_progress:!0}},{path:"/files",name:"Files",component:SR,meta:{show_progress:!0}},{path:"/playlists",redirect:"/playlists/0"},{path:"/playlists/:playlist_id",name:"Playlists",component:P7,meta:{show_progress:!0}},{path:"/playlists/:playlist_id/tracks",name:"Playlist",component:j7,meta:{show_progress:!0}},{path:"/search",redirect:"/search/library"},{path:"/search/library",name:"Search Library",component:HN},{path:"/music/spotify",name:"Spotify",component:uj,meta:{show_progress:!0,has_tabs:!0}},{path:"/music/spotify/new-releases",name:"Spotify Browse New Releases",component:gj,meta:{show_progress:!0,has_tabs:!0}},{path:"/music/spotify/featured-playlists",name:"Spotify Browse Featured Playlists",component:xj,meta:{show_progress:!0,has_tabs:!0}},{path:"/music/spotify/artists/:artist_id",name:"Spotify Artist",component:rB,meta:{show_progress:!0}},{path:"/music/spotify/albums/:album_id",name:"Spotify Album",component:nH,meta:{show_progress:!0}},{path:"/music/spotify/playlists/:playlist_id",name:"Spotify Playlist",component:pH,meta:{show_progress:!0}},{path:"/search/spotify",name:"Spotify Search",component:dU},{path:"/settings/webinterface",name:"Settings Webinterface",component:Sq},{path:"/settings/artwork",name:"Settings Artwork",component:Bq},{path:"/settings/online-services",name:"Settings Online Services",component:PW},{path:"/settings/remotes-outputs",name:"Settings Remotes Outputs",component:iG}],scrollBehavior(e,t,n){return n?new Promise((o,s)=>{setTimeout(()=>{o(n)},0)}):e.path===t.path&&e.hash?{el:e.hash,top:120}:e.hash?new Promise((o,s)=>{setTimeout(()=>{o({el:e.hash,top:120})},0)}):e.meta.has_index?new Promise((o,s)=>{setTimeout(()=>{e.meta.has_tabs?o({el:"#top",top:140}):o({el:"#top",top:110})},0)}):{left:0,top:0}}});c1.beforeEach((e,t,n)=>{if(at.state.show_burger_menu){at.commit(bs,!1),n(!1);return}if(at.state.show_player_menu){at.commit(ws,!1),n(!1);return}n(!0)});var d1={exports:{}};(function(e){e.exports=function(t){var n={};function r(o){if(n[o])return n[o].exports;var s=n[o]={i:o,l:!1,exports:{}};return t[o].call(s.exports,s,s.exports,r),s.l=!0,s.exports}return r.m=t,r.c=n,r.d=function(o,s,i){r.o(o,s)||Object.defineProperty(o,s,{enumerable:!0,get:i})},r.r=function(o){typeof Symbol!="undefined"&&Symbol.toStringTag&&Object.defineProperty(o,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(o,"__esModule",{value:!0})},r.t=function(o,s){if(s&1&&(o=r(o)),s&8||s&4&&typeof o=="object"&&o&&o.__esModule)return o;var i=Object.create(null);if(r.r(i),Object.defineProperty(i,"default",{enumerable:!0,value:o}),s&2&&typeof o!="string")for(var a in o)r.d(i,a,function(l){return o[l]}.bind(null,a));return i},r.n=function(o){var s=o&&o.__esModule?function(){return o.default}:function(){return o};return r.d(s,"a",s),s},r.o=function(o,s){return Object.prototype.hasOwnProperty.call(o,s)},r.p="",r(r.s="fb15")}({"8875":function(t,n,r){var o,s,i;(function(a,l){s=[],o=l,i=typeof o=="function"?o.apply(n,s):o,i!==void 0&&(t.exports=i)})(typeof self!="undefined"?self:this,function(){function a(){var l=Object.getOwnPropertyDescriptor(document,"currentScript");if(!l&&"currentScript"in document&&document.currentScript||l&&l.get!==a&&document.currentScript)return document.currentScript;try{throw new Error}catch(z){var c=/.*at [^(]*\((.*):(.+):(.+)\)$/ig,d=/@([^@]*):(\d+):(\d+)\s*$/ig,f=c.exec(z.stack)||d.exec(z.stack),m=f&&f[1]||!1,p=f&&f[2]||!1,h=document.location.href.replace(document.location.hash,""),_,g,b,w=document.getElementsByTagName("script");m===h&&(_=document.documentElement.outerHTML,g=new RegExp("(?:[^\\n]+?\\n){0,"+(p-2)+"}[^<]*<script>([\\d\\D]*?)<\\/script>[\\d\\D]*","i"),b=_.replace(g,"$1").trim());for(var x=0;x<w.length;x++)if(w[x].readyState==="interactive"||w[x].src===m||m===h&&w[x].innerHTML&&w[x].innerHTML.trim()===b)return w[x];return null}}return a})},"8bbf":function(t,n){t.exports=Am},fb15:function(t,n,r){if(r.r(n),typeof window!="undefined"){var o=window.document.currentScript;{var s=r("8875");o=s(),"currentScript"in document||Object.defineProperty(document,"currentScript",{get:s})}var i=o&&o.src.match(/(.+\/)[^/]+\.js(\?.*)?$/);i&&(r.p=i[1])}var a=r("8bbf");function l(h,_,g,b,w,x){return Object(a.openBlock)(),Object(a.createBlock)("div",{style:b.finalStyle},null,4)}var c=typeof window!="undefined",d={name:"VueProgress",serverCacheKey:function(){return"Progress"},setup:function(){var _=c?Object(a.inject)("RADON_LOADING_BAR"):{percent:0,options:{canSuccess:!0,show:!1,color:"rgb(19, 91, 55)",failedColor:"red",thickness:"2px",transition:{speed:"0.2s",opacity:"0.6s",termination:300},location:"top",autoRevert:!0,inverse:!1}},g=Object(a.computed)(function(){var b=_.options,w=!!b.show,x=b.location,z={"z-index":999999,"background-color":b.canSuccess?b.color:b.failedColor,opacity:b.show?1:0,position:b.position};return x==="top"||x==="bottom"?(x==="top"?z.top="0px":z.bottom="0px",b.inverse?z.right="0px":z.left="0px",z.width=_.percent+"%",z.height=b.thickness,z.transition=(w?"width "+b.transition.speed+", ":"")+"opacity "+b.transition.opacity):(x==="left"||x==="right")&&(x==="left"?z.left="0px":z.right="0px",b.inverse?z.top="0px":z.bottom="0px",z.height=_.percent+"%",z.width=b.thickness,z.transition=(w?"height "+b.transition.speed+", ":"")+"opacity "+b.transition.opacity),z});return{progress:_,finalStyle:g}}};d.render=l;var f=d;function m(h,_){for(var g=1,b,w;g<arguments.length;++g){w=arguments[g];for(b in w)Object.prototype.hasOwnProperty.call(w,b)&&(h[b]=w[b])}return h}var p={install:function(_,g){var b={canSuccess:!0,show:!1,color:"#73ccec",position:"fixed",failedColor:"red",thickness:"2px",transition:{speed:"0.2s",opacity:"0.6s",termination:300},autoRevert:!0,location:"top",inverse:!1,autoFinish:!0},w=m(b,g),x=Object(a.reactive)({percent:0,options:w});_.provide("RADON_LOADING_BAR",x);var z={state:{tFailColor:"",tColor:"",timer:null,cut:0},start:function(T){var V=this;T||(T=3e3),x.percent=0,x.options.show=!0,x.options.canSuccess=!0,this.state.cut=1e4/Math.floor(T),clearInterval(this.state.timer),this.state.timer=setInterval(function(){V.increase(V.state.cut*Math.random()),x.percent>95&&x.options.autoFinish&&V.finish()},100)},set:function(T){x.options.show=!0,x.options.canSuccess=!0,x.percent=Math.floor(T)},get:function(){return Math.floor(x.percent)},increase:function(T){x.percent=Math.min(99,x.percent+Math.floor(T))},decrease:function(T){x.percent=x.percent-Math.floor(T)},hide:function(){var T=this;clearInterval(this.state.timer),this.state.timer=null,setTimeout(function(){x.options.show=!1,Object(a.nextTick)(function(){setTimeout(function(){x.percent=0},100),x.options.autoRevert&&setTimeout(function(){T.revert()},300)})},x.options.transition.termination)},pause:function(){clearInterval(this.state.timer)},finish:function(){x.percent=100,this.hide()},fail:function(){x.options.canSuccess=!1,x.percent=100,this.hide()},setFailColor:function(T){x.options.failedColor=T},setColor:function(T){x.options.color=T},setLocation:function(T){x.options.location=T},setTransition:function(T){x.options.transition=T},tempFailColor:function(T){this.state.tFailColor=x.options.failedColor,x.options.failedColor=T},tempColor:function(T){this.state.tColor=x.options.color,x.options.color=T},tempLocation:function(T){this.state.tLocation=x.options.location,x.options.location=T},tempTransition:function(T){this.state.tTransition=x.options.transition,x.options.transition=T},revertColor:function(){x.options.color=this.state.tColor,this.state.tColor=""},revertFailColor:function(){x.options.failedColor=this.state.tFailColor,this.state.tFailColor=""},revertLocation:function(){x.options.location=this.state.tLocation,this.state.tLocation=""},revertTransition:function(){x.options.transition=this.state.tTransition,this.state.tTransition={}},revert:function(){x.options.autoRevert&&(this.state.tColor&&this.revertColor(),this.state.tFailColor&&this.revertFailColor(),this.state.tLocation&&this.revertLocation(),this.state.tTransition&&(this.state.tTransition.speed!==void 0||this.state.tTransition.opacity!==void 0)&&this.revertTransition())},parseMeta:function(T){for(var V in T.func){var F=T.func[V];switch(F.call){case"color":switch(F.modifier){case"set":this.setColor(F.argument);break;case"temp":this.tempColor(F.argument);break}break;case"fail":switch(F.modifier){case"set":this.setFailColor(F.argument);break;case"temp":this.tempFailColor(F.argument);break}break;case"location":switch(F.modifier){case"set":this.setLocation(F.argument);break;case"temp":this.tempLocation(F.argument);break}break;case"transition":switch(F.modifier){case"set":this.setTransition(F.argument);break;case"temp":this.tempTransition(F.argument);break}break}}}};_.component("vue-progress-bar",f),_.config.globalProperties.$Progress=z}};n.default=p}})})(d1);var aG=My(d1.exports);const m1=function(){return document.ontouchstart!==null?"click":"touchstart"},jl="__vue_click_away__",f1=function(e,t,n){p1(e);let r=n.context,o=t.value,s=!1;setTimeout(function(){s=!0},0),e[jl]=function(i){if((!e||!e.contains(i.target))&&o&&s&&typeof o=="function")return o.call(r,i)},document.addEventListener(m1(),e[jl],!1)},p1=function(e){document.removeEventListener(m1(),e[jl],!1),delete e[jl]},lG=function(e,t,n){t.value!==t.oldValue&&f1(e,t,n)},uG={install:function(e){e.directive("click-away",cG)}},cG={mounted:f1,updated:lG,unmounted:p1};var cr=(e=>(e.LOADING="loading",e.LOADED="loaded",e.ERROR="error",e))(cr||{});const dG=typeof window!="undefined"&&window!==null,mG=_G(),fG=Object.prototype.propertyIsEnumerable,Fh=Object.getOwnPropertySymbols;function Si(e){return typeof e=="function"||toString.call(e)==="[object Object]"}function pG(e){return typeof e=="object"?e===null:typeof e!="function"}function hG(e){return e!=="__proto__"&&e!=="constructor"&&e!=="prototype"}function _G(){return dG&&"IntersectionObserver"in window&&"IntersectionObserverEntry"in window&&"intersectionRatio"in window.IntersectionObserverEntry.prototype?("isIntersecting"in window.IntersectionObserverEntry.prototype||Object.defineProperty(window.IntersectionObserverEntry.prototype,"isIntersecting",{get(){return this.intersectionRatio>0}}),!0):!1}function gG(e,...t){if(!Si(e))throw new TypeError("expected the first argument to be an object");if(t.length===0||typeof Symbol!="function"||typeof Fh!="function")return e;for(const n of t){const r=Fh(n);for(const o of r)fG.call(n,o)&&(e[o]=n[o])}return e}function h1(e,...t){let n=0;for(pG(e)&&(e=t[n++]),e||(e={});n<t.length;n++)if(Si(t[n])){for(const r of Object.keys(t[n]))hG(r)&&(Si(e[r])&&Si(t[n][r])?h1(e[r],t[n][r]):e[r]=t[n][r]);gG(e,t[n])}return e}const Ih="data:image/gif;base64,R0lGODlhAQABAIAAAAAAAP///yH5BAEAAAAALAAAAAABAAEAAAIBRAA7",yG="",vG={rootMargin:"0px",threshold:0},Jo="data-lazy-timeout-id";class bG{constructor(t){this.options={loading:Ih,error:yG,observerOptions:vG,log:!0,lifecycle:{}},this._images=new WeakMap,this.config(t)}config(t={}){h1(this.options,t)}mount(t,n){if(!t)return;const{src:r,loading:o,error:s,lifecycle:i,delay:a}=this._valueFormatter(typeof n=="string"?n:n.value);this._lifecycle(cr.LOADING,i,t),t.setAttribute("src",o||Ih),mG||(this.loadImages(t,r,s,i),this._log(()=>{throw new Error("Not support IntersectionObserver!")})),this._initIntersectionObserver(t,r,s,i,a)}update(t,n){var a;if(!t)return;(a=this._realObserver(t))==null||a.unobserve(t);const{src:r,error:o,lifecycle:s,delay:i}=this._valueFormatter(typeof n=="string"?n:n.value);this._initIntersectionObserver(t,r,o,s,i)}unmount(t){var n;!t||((n=this._realObserver(t))==null||n.unobserve(t),this._images.delete(t))}loadImages(t,n,r,o){this._setImageSrc(t,n,r,o)}_setImageSrc(t,n,r,o){t.tagName.toLowerCase()==="img"?(n&&t.getAttribute("src")!==n&&t.setAttribute("src",n),this._listenImageStatus(t,()=>{this._lifecycle(cr.LOADED,o,t)},()=>{var s;t.onload=null,this._lifecycle(cr.ERROR,o,t),(s=this._realObserver(t))==null||s.disconnect(),r&&t.setAttribute("src",r),this._log(()=>{throw new Error(`Image failed to load!And failed src was: ${n} `)})})):t.style.backgroundImage=`url('${n}')`}_initIntersectionObserver(t,n,r,o,s){var a;const i=this.options.observerOptions;this._images.set(t,new IntersectionObserver(l=>{Array.prototype.forEach.call(l,c=>{s&&s>0?this._delayedIntersectionCallback(t,c,s,n,r,o):this._intersectionCallback(t,c,n,r,o)})},i)),(a=this._realObserver(t))==null||a.observe(t)}_intersectionCallback(t,n,r,o,s){var i;n.isIntersecting&&((i=this._realObserver(t))==null||i.unobserve(n.target),this._setImageSrc(t,r,o,s))}_delayedIntersectionCallback(t,n,r,o,s,i){if(n.isIntersecting){if(n.target.hasAttribute(Jo))return;const a=setTimeout(()=>{this._intersectionCallback(t,n,o,s,i),n.target.removeAttribute(Jo)},r);n.target.setAttribute(Jo,String(a))}else n.target.hasAttribute(Jo)&&(clearTimeout(Number(n.target.getAttribute(Jo))),n.target.removeAttribute(Jo))}_listenImageStatus(t,n,r){t.onload=n,t.onerror=r}_valueFormatter(t){let n=t,r=this.options.loading,o=this.options.error,s=this.options.lifecycle,i=this.options.delay;return Si(t)&&(n=t.src,r=t.loading||this.options.loading,o=t.error||this.options.error,s=t.lifecycle||this.options.lifecycle,i=t.delay||this.options.delay),{src:n,loading:r,error:o,lifecycle:s,delay:i}}_log(t){this.options.log&&t()}_lifecycle(t,n,r){switch(t){case cr.LOADING:r==null||r.setAttribute("lazy",cr.LOADING),n!=null&&n.loading&&n.loading(r);break;case cr.LOADED:r==null||r.setAttribute("lazy",cr.LOADED),n!=null&&n.loaded&&n.loaded(r);break;case cr.ERROR:r==null||r.setAttribute("lazy",cr.ERROR),n!=null&&n.error&&n.error(r);break}}_realObserver(t){return this._images.get(t)}}const wG={install(e,t){const n=new bG(t);e.config.globalProperties.$Lazyload=n,e.provide("Lazyload",n),e.directive("lazy",{mounted:n.mount.bind(n),updated:n.update.bind(n),unmounted:n.unmount.bind(n)})}};var _1={exports:{}};/*!
|
|
* vue-scrollto v2.20.0
|
|
* (c) 2019 Randjelovic Igor
|
|
* @license MIT
|
|
*/(function(e,t){(function(n,r){e.exports=r()})(an,function(){function n(he){return typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?n=function(J){return typeof J}:n=function(J){return J&&typeof Symbol=="function"&&J.constructor===Symbol&&J!==Symbol.prototype?"symbol":typeof J},n(he)}function r(){return r=Object.assign||function(he){for(var J=1;J<arguments.length;J++){var me=arguments[J];for(var we in me)Object.prototype.hasOwnProperty.call(me,we)&&(he[we]=me[we])}return he},r.apply(this,arguments)}var o=4,s=.001,i=1e-7,a=10,l=11,c=1/(l-1),d=typeof Float32Array=="function";function f(he,J){return 1-3*J+3*he}function m(he,J){return 3*J-6*he}function p(he){return 3*he}function h(he,J,me){return((f(J,me)*he+m(J,me))*he+p(J))*he}function _(he,J,me){return 3*f(J,me)*he*he+2*m(J,me)*he+p(J)}function g(he,J,me,we,H){var ie,oe,be=0;do oe=J+(me-J)/2,ie=h(oe,we,H)-he,ie>0?me=oe:J=oe;while(Math.abs(ie)>i&&++be<a);return oe}function b(he,J,me,we){for(var H=0;H<o;++H){var ie=_(J,me,we);if(ie===0)return J;var oe=h(J,me,we)-he;J-=oe/ie}return J}function w(he){return he}var x=function(J,me,we,H){if(!(0<=J&&J<=1&&0<=we&&we<=1))throw new Error("bezier x values must be in [0, 1] range");if(J===me&&we===H)return w;for(var ie=d?new Float32Array(l):new Array(l),oe=0;oe<l;++oe)ie[oe]=h(oe*c,J,we);function be(je){for(var Ie=0,Ee=1,Ae=l-1;Ee!==Ae&&ie[Ee]<=je;++Ee)Ie+=c;--Ee;var $=(je-ie[Ee])/(ie[Ee+1]-ie[Ee]),L=Ie+$*c,Y=_(L,J,we);return Y>=s?b(je,L,J,we):Y===0?L:g(je,Ie,Ie+c,J,we)}return function(Ie){return Ie===0?0:Ie===1?1:h(be(Ie),me,H)}},z={ease:[.25,.1,.25,1],linear:[0,0,1,1],"ease-in":[.42,0,1,1],"ease-out":[0,0,.58,1],"ease-in-out":[.42,0,.58,1]},E=!1;try{var T=Object.defineProperty({},"passive",{get:function(){E=!0}});window.addEventListener("test",null,T)}catch{}var V={$:function(J){return typeof J!="string"?J:document.querySelector(J)},on:function(J,me,we){var H=arguments.length>3&&arguments[3]!==void 0?arguments[3]:{passive:!1};me instanceof Array||(me=[me]);for(var ie=0;ie<me.length;ie++)J.addEventListener(me[ie],we,E?H:!1)},off:function(J,me,we){me instanceof Array||(me=[me]);for(var H=0;H<me.length;H++)J.removeEventListener(me[H],we)},cumulativeOffset:function(J){var me=0,we=0;do me+=J.offsetTop||0,we+=J.offsetLeft||0,J=J.offsetParent;while(J);return{top:me,left:we}}},F=["mousedown","wheel","DOMMouseScroll","mousewheel","keyup","touchmove"],A={container:"body",duration:500,lazy:!0,easing:"ease",offset:0,force:!0,cancelable:!0,onStart:!1,onDone:!1,onCancel:!1,x:!1,y:!0};function M(he){A=r({},A,he)}var W=function(){var J,me,we,H,ie,oe,be,je,Ie,Ee,Ae,$,L,Y,le,ce,ye,Ce,pe,j,U,$e,ze,De=function(de){!je||(ze=de,j=!0)},Ne,We,nt,k;function y(re){var de=re.scrollTop;return re.tagName.toLowerCase()==="body"&&(de=de||document.documentElement.scrollTop),de}function I(re){var de=re.scrollLeft;return re.tagName.toLowerCase()==="body"&&(de=de||document.documentElement.scrollLeft),de}function K(){U=V.cumulativeOffset(me),$e=V.cumulativeOffset(J),$&&(le=$e.left-U.left+oe,Ce=le-Y),L&&(ye=$e.top-U.top+oe,pe=ye-ce)}function ee(re){if(j)return fe();We||(We=re),ie||K(),nt=re-We,k=Math.min(nt/we,1),k=Ne(k),Se(me,ce+pe*k,Y+Ce*k),nt<we?window.requestAnimationFrame(ee):fe()}function fe(){j||Se(me,ye,le),We=!1,V.off(me,F,De),j&&Ae&&Ae(ze,J),!j&&Ee&&Ee(J)}function Se(re,de,te){L&&(re.scrollTop=de),$&&(re.scrollLeft=te),re.tagName.toLowerCase()==="body"&&(L&&(document.documentElement.scrollTop=de),$&&(document.documentElement.scrollLeft=te))}function Me(re,de){var te=arguments.length>2&&arguments[2]!==void 0?arguments[2]:{};if(n(de)==="object"?te=de:typeof de=="number"&&(te.duration=de),J=V.$(re),!J)return console.warn("[vue-scrollto warn]: Trying to scroll to an element that is not on the page: "+re);if(me=V.$(te.container||A.container),we=te.hasOwnProperty("duration")?te.duration:A.duration,ie=te.hasOwnProperty("lazy")?te.lazy:A.lazy,H=te.easing||A.easing,oe=te.hasOwnProperty("offset")?te.offset:A.offset,be=te.hasOwnProperty("force")?te.force!==!1:A.force,je=te.hasOwnProperty("cancelable")?te.cancelable!==!1:A.cancelable,Ie=te.onStart||A.onStart,Ee=te.onDone||A.onDone,Ae=te.onCancel||A.onCancel,$=te.x===void 0?A.x:te.x,L=te.y===void 0?A.y:te.y,typeof oe=="function"&&(oe=oe(J,me)),Y=I(me),ce=y(me),K(),j=!1,!be){var ae=me.tagName.toLowerCase()==="body"?document.documentElement.clientHeight||window.innerHeight:me.offsetHeight,Ve=ce,Ue=Ve+ae,ct=ye-oe,_n=ct+J.offsetHeight;if(ct>=Ve&&_n<=Ue){Ee&&Ee(J);return}}if(Ie&&Ie(J),!pe&&!Ce){Ee&&Ee(J);return}return typeof H=="string"&&(H=z[H]||z.ease),Ne=x.apply(x,H),V.on(me,F,De,{passive:!0}),window.requestAnimationFrame(ee),function(){ze=null,j=!0}}return Me},R=W(),q=[];function B(he){for(var J=0;J<q.length;++J)if(q[J].el===he)return q.splice(J,1),!0;return!1}function se(he){for(var J=0;J<q.length;++J)if(q[J].el===he)return q[J]}function Q(he){var J=se(he);return J||(q.push(J={el:he,binding:{}}),J)}function ue(he){var J=Q(this).binding;if(!!J.value){if(he.preventDefault(),typeof J.value=="string")return R(J.value);R(J.value.el||J.value.element,J.value)}}var ge={bind:function(J,me){Q(J).binding=me,V.on(J,"click",ue)},unbind:function(J){B(J),V.off(J,"click",ue)},update:function(J,me){Q(J).binding=me}},Le={bind:ge.bind,unbind:ge.unbind,update:ge.update,beforeMount:ge.bind,unmounted:ge.unbind,updated:ge.update,scrollTo:R,bindings:q},He=function(J,me){me&&M(me),J.directive("scroll-to",Le);var we=J.config.globalProperties||J.prototype;we.$scrollTo=Le.scrollTo};return typeof window!="undefined"&&window.Vue&&(window.VueScrollTo=Le,window.VueScrollTo.setDefaults=M,window.VueScrollTo.scroller=W,window.Vue.use&&window.Vue.use(He)),Le.install=He,Le})})(_1);var CG=_1.exports,zG="M11,14C12,14 13.05,14.16 14.2,14.44C13.39,15.31 13,16.33 13,17.5C13,18.39 13.25,19.23 13.78,20H3V18C3,16.81 3.91,15.85 5.74,15.12C7.57,14.38 9.33,14 11,14M11,12C9.92,12 9,11.61 8.18,10.83C7.38,10.05 7,9.11 7,8C7,6.92 7.38,6 8.18,5.18C9,4.38 9.92,4 11,4C12.11,4 13.05,4.38 13.83,5.18C14.61,6 15,6.92 15,8C15,9.11 14.61,10.05 13.83,10.83C13.05,11.61 12.11,12 11,12M18.5,10H20L22,10V12H20V17.5A2.5,2.5 0 0,1 17.5,20A2.5,2.5 0 0,1 15,17.5A2.5,2.5 0 0,1 17.5,15C17.86,15 18.19,15.07 18.5,15.21V10Z",xG="M12,11A1,1 0 0,0 11,12A1,1 0 0,0 12,13A1,1 0 0,0 13,12A1,1 0 0,0 12,11M12,16.5C9.5,16.5 7.5,14.5 7.5,12C7.5,9.5 9.5,7.5 12,7.5C14.5,7.5 16.5,9.5 16.5,12C16.5,14.5 14.5,16.5 12,16.5M12,2A10,10 0 0,0 2,12A10,10 0 0,0 12,22A10,10 0 0,0 22,12A10,10 0 0,0 12,2Z",kG="M13 14H11V9H13M13 18H11V16H13M1 21H23L12 2L1 21Z",SG="M19.92,12.08L12,20L4.08,12.08L5.5,10.67L11,16.17V2H13V16.17L18.5,10.66L19.92,12.08M12,20H2V22H22V20H12Z",EG="M19 2L14 6.5V17.5L19 13V2M6.5 5C4.55 5 2.45 5.4 1 6.5V21.16C1 21.41 1.25 21.66 1.5 21.66C1.6 21.66 1.65 21.59 1.75 21.59C3.1 20.94 5.05 20.5 6.5 20.5C8.45 20.5 10.55 20.9 12 22C13.35 21.15 15.8 20.5 17.5 20.5C19.15 20.5 20.85 20.81 22.25 21.56C22.35 21.61 22.4 21.59 22.5 21.59C22.75 21.59 23 21.34 23 21.09V6.5C22.4 6.05 21.75 5.75 21 5.5V19C19.9 18.65 18.7 18.5 17.5 18.5C15.8 18.5 13.35 19.15 12 20V6.5C10.55 5.4 8.45 5 6.5 5Z",$G="M17.5 14.33C18.29 14.33 19.13 14.41 20 14.57V16.07C19.38 15.91 18.54 15.83 17.5 15.83C15.6 15.83 14.11 16.16 13 16.82V15.13C14.17 14.6 15.67 14.33 17.5 14.33M13 12.46C14.29 11.93 15.79 11.67 17.5 11.67C18.29 11.67 19.13 11.74 20 11.9V13.4C19.38 13.24 18.54 13.16 17.5 13.16C15.6 13.16 14.11 13.5 13 14.15M17.5 10.5C15.6 10.5 14.11 10.82 13 11.5V9.84C14.23 9.28 15.73 9 17.5 9C18.29 9 19.13 9.08 20 9.23V10.78C19.26 10.59 18.41 10.5 17.5 10.5M21 18.5V7C19.96 6.67 18.79 6.5 17.5 6.5C15.45 6.5 13.62 7 12 8V19.5C13.62 18.5 15.45 18 17.5 18C18.69 18 19.86 18.16 21 18.5M17.5 4.5C19.85 4.5 21.69 5 23 6V20.56C23 20.68 22.95 20.8 22.84 20.91C22.73 21 22.61 21.08 22.5 21.08C22.39 21.08 22.31 21.06 22.25 21.03C20.97 20.34 19.38 20 17.5 20C15.45 20 13.62 20.5 12 21.5C10.66 20.5 8.83 20 6.5 20C4.84 20 3.25 20.36 1.75 21.07C1.72 21.08 1.68 21.08 1.63 21.1C1.59 21.11 1.55 21.12 1.5 21.12C1.39 21.12 1.27 21.08 1.16 21C1.05 20.89 1 20.78 1 20.65V6C2.34 5 4.18 4.5 6.5 4.5C8.83 4.5 10.66 5 12 6C13.34 5 15.17 4.5 17.5 4.5Z",AG="M9 3V18H12V3H9M12 5L16 18L19 17L15 4L12 5M5 5V18H8V5H5M3 19V21H21V19H3Z",TG="M12 10C10.9 10 10 10.9 10 12S10.9 14 12 14 14 13.1 14 12 13.1 10 12 10M18 12C18 8.7 15.3 6 12 6S6 8.7 6 12C6 14.2 7.2 16.1 9 17.2L10 15.5C8.8 14.8 8 13.5 8 12.1C8 9.9 9.8 8.1 12 8.1S16 9.9 16 12.1C16 13.6 15.2 14.9 14 15.5L15 17.2C16.8 16.2 18 14.2 18 12M12 2C6.5 2 2 6.5 2 12C2 15.7 4 18.9 7 20.6L8 18.9C5.6 17.5 4 14.9 4 12C4 7.6 7.6 4 12 4S20 7.6 20 12C20 15 18.4 17.5 16 18.9L17 20.6C20 18.9 22 15.7 22 12C22 6.5 17.5 2 12 2Z",OG="M12 2C17.5 2 22 6.5 22 12S17.5 22 12 22 2 17.5 2 12 6.5 2 12 2M12 4C10.1 4 8.4 4.6 7.1 5.7L18.3 16.9C19.3 15.5 20 13.8 20 12C20 7.6 16.4 4 12 4M16.9 18.3L5.7 7.1C4.6 8.4 4 10.1 4 12C4 16.4 7.6 20 12 20C13.9 20 15.6 19.4 16.9 18.3Z",PG="M1,10V12A9,9 0 0,1 10,21H12C12,14.92 7.07,10 1,10M1,14V16A5,5 0 0,1 6,21H8A7,7 0 0,0 1,14M1,18V21H4A3,3 0 0,0 1,18M21,3H3C1.89,3 1,3.89 1,5V8H3V5H21V19H14V21H21A2,2 0 0,0 23,19V5C23,3.89 22.1,3 21,3Z",DG="M6,22H18L12,16M21,3H3A2,2 0 0,0 1,5V17A2,2 0 0,0 3,19H7V17H3V5H21V17H17V19H21A2,2 0 0,0 23,17V5A2,2 0 0,0 21,3Z",FG="M17,19H7V5H17M17,1H7C5.89,1 5,1.89 5,3V21A2,2 0 0,0 7,23H17A2,2 0 0,0 19,21V3C19,1.89 18.1,1 17,1Z",IG="M21,7L9,19L3.5,13.5L4.91,12.09L9,16.17L19.59,5.59L21,7Z",MG="M7.41,8.58L12,13.17L16.59,8.58L18,10L12,16L6,10L7.41,8.58Z",LG="M7.41,15.41L12,10.83L16.59,15.41L18,14L12,8L6,14L7.41,15.41Z",RG="M15,9H5V5H15M12,19A3,3 0 0,1 9,16A3,3 0 0,1 12,13A3,3 0 0,1 15,16A3,3 0 0,1 12,19M17,3H5C3.89,3 3,3.9 3,5V19A2,2 0 0,0 5,21H19A2,2 0 0,0 21,19V7L17,3Z",NG="M19,4H15.5L14.5,3H9.5L8.5,4H5V6H19M6,19A2,2 0 0,0 8,21H16A2,2 0 0,0 18,19V7H6V19Z",VG="M20.37,8.91L19.37,10.64L7.24,3.64L8.24,1.91L11.28,3.66L12.64,3.29L16.97,5.79L17.34,7.16L20.37,8.91M6,19V7H11.07L18,11V19A2,2 0 0,1 16,21H8A2,2 0 0,1 6,19Z",jG="M16,12A2,2 0 0,1 18,10A2,2 0 0,1 20,12A2,2 0 0,1 18,14A2,2 0 0,1 16,12M10,12A2,2 0 0,1 12,10A2,2 0 0,1 14,12A2,2 0 0,1 12,14A2,2 0 0,1 10,12M4,12A2,2 0 0,1 6,10A2,2 0 0,1 8,12A2,2 0 0,1 6,14A2,2 0 0,1 4,12Z",BG="M12,16A2,2 0 0,1 14,18A2,2 0 0,1 12,20A2,2 0 0,1 10,18A2,2 0 0,1 12,16M12,10A2,2 0 0,1 14,12A2,2 0 0,1 12,14A2,2 0 0,1 10,12A2,2 0 0,1 12,10M12,4A2,2 0 0,1 14,6A2,2 0 0,1 12,8A2,2 0 0,1 10,6A2,2 0 0,1 12,4Z",HG="M3,15V13H5V15H3M3,11V9H5V11H3M7,15V13H9V15H7M7,11V9H9V11H7M11,15V13H13V15H11M11,11V9H13V11H11M15,15V13H17V15H15M15,11V9H17V11H15M19,15V13H21V15H19M19,11V9H21V11H19Z",UG="M13,6V18L21.5,12M4,18L12.5,12L4,6V18Z",qG="M14,2H6A2,2 0 0,0 4,4V20A2,2 0 0,0 6,22H18A2,2 0 0,0 20,20V8L14,2M13,13H11V18A2,2 0 0,1 9,20A2,2 0 0,1 7,18A2,2 0 0,1 9,16C9.4,16 9.7,16.1 10,16.3V11H13V13M13,9V3.5L18.5,9H13Z",WG="M14,2H6A2,2 0 0,0 4,4V20A2,2 0 0,0 6,22H18A2,2 0 0,0 20,20V8L14,2M18,20H6V4H13V9H18V20Z",GG="M17.66 11.2C17.43 10.9 17.15 10.64 16.89 10.38C16.22 9.78 15.46 9.35 14.82 8.72C13.33 7.26 13 4.85 13.95 3C13 3.23 12.17 3.75 11.46 4.32C8.87 6.4 7.85 10.07 9.07 13.22C9.11 13.32 9.15 13.42 9.15 13.55C9.15 13.77 9 13.97 8.8 14.05C8.57 14.15 8.33 14.09 8.14 13.93C8.08 13.88 8.04 13.83 8 13.76C6.87 12.33 6.69 10.28 7.45 8.64C5.78 10 4.87 12.3 5 14.47C5.06 14.97 5.12 15.47 5.29 15.97C5.43 16.57 5.7 17.17 6 17.7C7.08 19.43 8.95 20.67 10.96 20.92C13.1 21.19 15.39 20.8 17.03 19.32C18.86 17.66 19.5 15 18.56 12.72L18.43 12.46C18.22 12 17.66 11.2 17.66 11.2M14.5 17.5C14.22 17.74 13.76 18 13.4 18.1C12.28 18.5 11.16 17.94 10.5 17.28C11.69 17 12.4 16.12 12.61 15.23C12.78 14.43 12.46 13.77 12.33 13C12.21 12.26 12.23 11.63 12.5 10.94C12.69 11.32 12.89 11.7 13.13 12C13.9 13 15.11 13.44 15.37 14.8C15.41 14.94 15.43 15.08 15.43 15.23C15.46 16.05 15.1 16.95 14.5 17.5H14.5Z",KG="M10,4H4C2.89,4 2,4.89 2,6V18A2,2 0 0,0 4,20H20A2,2 0 0,0 22,18V8C22,6.89 21.1,6 20,6H12L10,4Z",ZG="M19,20H4C2.89,20 2,19.1 2,18V6C2,4.89 2.89,4 4,4H10L12,6H19A2,2 0 0,1 21,8H21L4,8V18L6.14,10H23.21L20.93,18.5C20.7,19.37 19.92,20 19,20Z",YG="M9.5,3A6.5,6.5 0 0,1 16,9.5C16,11.11 15.41,12.59 14.44,13.73L14.71,14H15.5L20.5,19L19,20.5L14,15.5V14.71L13.73,14.44C12.59,15.41 11.11,16 9.5,16A6.5,6.5 0 0,1 3,9.5A6.5,6.5 0 0,1 9.5,3M9.5,5C7,5 5,7 5,9.5C5,12 7,14 9.5,14C12,14 14,12 14,9.5C14,7 12,5 9.5,5Z",JG="M3,6H21V8H3V6M3,11H21V13H3V11M3,16H21V18H3V16Z",XG="M12,2A3,3 0 0,1 15,5V11A3,3 0 0,1 12,14A3,3 0 0,1 9,11V5A3,3 0 0,1 12,2M19,11C19,14.53 16.39,17.44 13,17.93V21H11V17.93C7.61,17.44 5,14.53 5,11H7A5,5 0 0,0 12,16A5,5 0 0,0 17,11H19Z",QG="M21,3V15.5A3.5,3.5 0 0,1 17.5,19A3.5,3.5 0 0,1 14,15.5A3.5,3.5 0 0,1 17.5,12C18.04,12 18.55,12.12 19,12.34V6.47L9,8.6V17.5A3.5,3.5 0 0,1 5.5,21A3.5,3.5 0 0,1 2,17.5A3.5,3.5 0 0,1 5.5,14C6.04,14 6.55,14.12 7,14.34V6L21,3Z",eK="M4,6H2V20A2,2 0 0,0 4,22H18V20H4M18,7H15V12.5A2.5,2.5 0 0,1 12.5,15A2.5,2.5 0 0,1 10,12.5A2.5,2.5 0 0,1 12.5,10C13.07,10 13.58,10.19 14,10.5V5H18M20,2H8A2,2 0 0,0 6,4V16A2,2 0 0,0 8,18H20A2,2 0 0,0 22,16V4A2,2 0 0,0 20,2Z",tK="M14,3V5H17.59L7.76,14.83L9.17,16.24L19,6.41V10H21V3M19,19H5V5H12V3H5C3.89,3 3,3.9 3,5V19A2,2 0 0,0 5,21H19A2,2 0 0,0 21,19V12H19V19Z",nK="M14,19H18V5H14M6,19H10V5H6V19Z",rK="M20.71,7.04C21.1,6.65 21.1,6 20.71,5.63L18.37,3.29C18,2.9 17.35,2.9 16.96,3.29L15.12,5.12L18.87,8.87M3,17.25V21H6.75L17.81,9.93L14.06,6.18L3,17.25Z",oK="M22,14H20V16H14V13H16V11H14V6A2,2 0 0,0 12,4H4V2H2V10H4V8H10V11H8V13H10V18A2,2 0 0,0 12,20H20V22H22",sK="M8,5.14V19.14L19,12.14L8,5.14Z",iK="M19,9H2V11H19V9M19,5H2V7H19V5M2,15H15V13H2V15M17,13V19L22,16L17,13Z",aK="M2,16H10V14H2M18,14V10H16V14H12V16H16V20H18V16H22V14M14,6H2V8H14M14,10H2V12H14V10Z",lK="M20,6A2,2 0 0,1 22,8V20A2,2 0 0,1 20,22H4A2,2 0 0,1 2,20V8C2,7.15 2.53,6.42 3.28,6.13L15.71,1L16.47,2.83L8.83,6H20M20,8H4V12H16V10H18V12H20V8M7,14A3,3 0 0,0 4,17A3,3 0 0,0 7,20A3,3 0 0,0 10,17A3,3 0 0,0 7,14Z",uK="M12,10A2,2 0 0,1 14,12C14,12.5 13.82,12.94 13.53,13.29L16.7,22H14.57L12,14.93L9.43,22H7.3L10.47,13.29C10.18,12.94 10,12.5 10,12A2,2 0 0,1 12,10M12,8A4,4 0 0,0 8,12C8,12.5 8.1,13 8.28,13.46L7.4,15.86C6.53,14.81 6,13.47 6,12A6,6 0 0,1 12,6A6,6 0 0,1 18,12C18,13.47 17.47,14.81 16.6,15.86L15.72,13.46C15.9,13 16,12.5 16,12A4,4 0 0,0 12,8M12,4A8,8 0 0,0 4,12C4,14.36 5,16.5 6.64,17.94L5.92,19.94C3.54,18.11 2,15.23 2,12A10,10 0 0,1 12,2A10,10 0 0,1 22,12C22,15.23 20.46,18.11 18.08,19.94L17.36,17.94C19,16.5 20,14.36 20,12A8,8 0 0,0 12,4Z",cK="M17.65,6.35C16.2,4.9 14.21,4 12,4A8,8 0 0,0 4,12A8,8 0 0,0 12,20C15.73,20 18.84,17.45 19.73,14H17.65C16.83,16.33 14.61,18 12,18A6,6 0 0,1 6,12A6,6 0 0,1 12,6C13.66,6 15.14,6.69 16.22,7.78L13,11H20V4L17.65,6.35Z",dK="M17,17H7V14L3,18L7,22V19H19V13H17M7,7H17V10L21,6L17,2V5H5V11H7V7Z",mK="M2,5.27L3.28,4L20,20.72L18.73,22L15.73,19H7V22L3,18L7,14V17H13.73L7,10.27V11H5V8.27L2,5.27M17,13H19V17.18L17,15.18V13M17,5V2L21,6L17,10V7H8.82L6.82,5H17Z",fK="M13,15V9H12L10,10V11H11.5V15M17,17H7V14L3,18L7,22V19H19V13H17M7,7H17V10L21,6L17,2V5H5V11H7V7Z",pK="M11.5,12L20,18V6M11,18V6L2.5,12L11,18Z",hK="M6.18,15.64A2.18,2.18 0 0,1 8.36,17.82C8.36,19 7.38,20 6.18,20C5,20 4,19 4,17.82A2.18,2.18 0 0,1 6.18,15.64M4,4.44A15.56,15.56 0 0,1 19.56,20H16.73A12.73,12.73 0 0,0 4,7.27V4.44M4,10.1A9.9,9.9 0 0,1 13.9,20H11.07A7.07,7.07 0 0,0 4,12.93V10.1Z",_K="M4,1H20A1,1 0 0,1 21,2V6A1,1 0 0,1 20,7H4A1,1 0 0,1 3,6V2A1,1 0 0,1 4,1M4,9H20A1,1 0 0,1 21,10V14A1,1 0 0,1 20,15H4A1,1 0 0,1 3,14V10A1,1 0 0,1 4,9M4,17H20A1,1 0 0,1 21,18V22A1,1 0 0,1 20,23H4A1,1 0 0,1 3,22V18A1,1 0 0,1 4,17M9,5H10V3H9V5M9,13H10V11H9V13M9,21H10V19H9V21M5,3V5H7V3H5M5,11V13H7V11H5M5,19V21H7V19H5Z",gK="M14.83,13.41L13.42,14.82L16.55,17.95L14.5,20H20V14.5L17.96,16.54L14.83,13.41M14.5,4L16.54,6.04L4,18.59L5.41,20L17.96,7.46L20,9.5V4M10.59,9.17L5.41,4L4,5.41L9.17,10.58L10.59,9.17Z",yK="M16,4.5V7H5V9H16V11.5L19.5,8M16,12.5V15H5V17H16V19.5L19.5,16",vK="M20,5V19L13,12M6,5V19H4V5M13,5V19L6,12",bK="M4,5V19L11,12M18,5V19H20V5M11,5V19L18,12",wK="M12,12A3,3 0 0,0 9,15A3,3 0 0,0 12,18A3,3 0 0,0 15,15A3,3 0 0,0 12,12M12,20A5,5 0 0,1 7,15A5,5 0 0,1 12,10A5,5 0 0,1 17,15A5,5 0 0,1 12,20M12,4A2,2 0 0,1 14,6A2,2 0 0,1 12,8C10.89,8 10,7.1 10,6C10,4.89 10.89,4 12,4M17,2H7C5.89,2 5,2.89 5,4V20A2,2 0 0,0 7,22H17A2,2 0 0,0 19,20V4C19,2.89 18.1,2 17,2Z",CK="M17.9,10.9C14.7,9 9.35,8.8 6.3,9.75C5.8,9.9 5.3,9.6 5.15,9.15C5,8.65 5.3,8.15 5.75,8C9.3,6.95 15.15,7.15 18.85,9.35C19.3,9.6 19.45,10.2 19.2,10.65C18.95,11 18.35,11.15 17.9,10.9M17.8,13.7C17.55,14.05 17.1,14.2 16.75,13.95C14.05,12.3 9.95,11.8 6.8,12.8C6.4,12.9 5.95,12.7 5.85,12.3C5.75,11.9 5.95,11.45 6.35,11.35C10,10.25 14.5,10.8 17.6,12.7C17.9,12.85 18.05,13.35 17.8,13.7M16.6,16.45C16.4,16.75 16.05,16.85 15.75,16.65C13.4,15.2 10.45,14.9 6.95,15.7C6.6,15.8 6.3,15.55 6.2,15.25C6.1,14.9 6.35,14.6 6.65,14.5C10.45,13.65 13.75,14 16.35,15.6C16.7,15.75 16.75,16.15 16.6,16.45M12,2A10,10 0 0,0 2,12A10,10 0 0,0 12,22A10,10 0 0,0 22,12A10,10 0 0,0 12,2Z",zK="M18,18H6V6H18V18Z",xK="M11,9L12.42,10.42L8.83,14H18V4H20V16H8.83L12.42,19.58L11,21L5,15L11,9Z",kK="M14,3.23V5.29C16.89,6.15 19,8.83 19,12C19,15.17 16.89,17.84 14,18.7V20.77C18,19.86 21,16.28 21,12C21,7.72 18,4.14 14,3.23M16.5,12C16.5,10.23 15.5,8.71 14,7.97V16C15.5,15.29 16.5,13.76 16.5,12M3,9V15H7L12,20V4L7,9H3Z",SK="M12,4L9.91,6.09L12,8.18M4.27,3L3,4.27L7.73,9H3V15H7L12,20V13.27L16.25,17.53C15.58,18.04 14.83,18.46 14,18.7V20.77C15.38,20.45 16.63,19.82 17.68,18.96L19.73,21L21,19.73L12,10.73M19,12C19,12.94 18.8,13.82 18.46,14.64L19.97,16.15C20.62,14.91 21,13.5 21,12C21,7.72 18,4.14 14,3.23V5.29C16.89,6.15 19,8.83 19,12M16.5,12C16.5,10.23 15.5,8.71 14,7.97V10.18L16.45,12.63C16.5,12.43 16.5,12.21 16.5,12Z",EK="M16.36,14C16.44,13.34 16.5,12.68 16.5,12C16.5,11.32 16.44,10.66 16.36,10H19.74C19.9,10.64 20,11.31 20,12C20,12.69 19.9,13.36 19.74,14M14.59,19.56C15.19,18.45 15.65,17.25 15.97,16H18.92C17.96,17.65 16.43,18.93 14.59,19.56M14.34,14H9.66C9.56,13.34 9.5,12.68 9.5,12C9.5,11.32 9.56,10.65 9.66,10H14.34C14.43,10.65 14.5,11.32 14.5,12C14.5,12.68 14.43,13.34 14.34,14M12,19.96C11.17,18.76 10.5,17.43 10.09,16H13.91C13.5,17.43 12.83,18.76 12,19.96M8,8H5.08C6.03,6.34 7.57,5.06 9.4,4.44C8.8,5.55 8.35,6.75 8,8M5.08,16H8C8.35,17.25 8.8,18.45 9.4,19.56C7.57,18.93 6.03,17.65 5.08,16M4.26,14C4.1,13.36 4,12.69 4,12C4,11.31 4.1,10.64 4.26,10H7.64C7.56,10.66 7.5,11.32 7.5,12C7.5,12.68 7.56,13.34 7.64,14M12,4.03C12.83,5.23 13.5,6.57 13.91,8H10.09C10.5,6.57 11.17,5.23 12,4.03M18.92,8H15.97C15.65,6.75 15.19,5.55 14.59,4.44C16.43,5.07 17.96,6.34 18.92,8M12,2C6.47,2 2,6.5 2,12A10,10 0 0,0 12,22A10,10 0 0,0 22,12A10,10 0 0,0 12,2Z";const $K={title:[String],spin:[Boolean],width:[Number,String],height:[Number,String],ariaLabel:[String],staticClass:[String],class:[String],name:{type:String,required:!0,default:"alert"},size:{type:[Number,String],default:24},viewBox:{type:String,default:"0 0 24 24"},xmlns:{type:String,default:"http://www.w3.org/2000/svg"},role:{type:String,default:"img"},spin:{type:Boolean,default:!1}};const AK=e=>e.charAt(0).toUpperCase()+e.slice(1),TK=e=>e.split("-").map(AK).join(""),OK=(e,t,n)=>{const r=e[`mdi${TK(t.name)}`]||kG,o=Xe({role:t.role,"aria-label":t.ariaLabel},n),s={fill:"currentColor",width:t.width||t.size,height:t.height||t.size,viewBox:t.viewBox,xmlns:t.xmlns};return{spanAttrs:o,svgAttrs:s,pathAttrs:{d:r}}},PK=(e,t)=>({[t.staticClass||""]:!0,[t.class||""]:!0,[`mdi mdi-${e.name}`]:!0,"mdi-spin":e.spin===!0}),DK=(e,t={})=>({install(n,{icons:r}){if(r===void 0)throw new Error("Icons must be provided separately");n.component("mdicon",Vn(Xe({name:"MDIcon",props:$K},t),{render:e(r)}))}}),FK=e=>function(){const{spanAttrs:n,svgAttrs:r,pathAttrs:o}=OK(e,this,this.$attrs);return zn("span",Vn(Xe({},n),{class:PK(this,this)}),[zn("svg",r,[this.title?zn("title",[this.title]):void 0,zn("path",o)])])};var IK=DK(FK);class Vo extends Error{}class MK extends Vo{constructor(t){super(`Invalid DateTime: ${t.toMessage()}`)}}class LK extends Vo{constructor(t){super(`Invalid Interval: ${t.toMessage()}`)}}class RK extends Vo{constructor(t){super(`Invalid Duration: ${t.toMessage()}`)}}class ii extends Vo{}class g1 extends Vo{constructor(t){super(`Invalid unit ${t}`)}}class Un extends Vo{}class jr extends Vo{constructor(){super("Zone is an abstract class")}}const Oe="numeric",ir="short",Mn="long",xd={year:Oe,month:Oe,day:Oe},y1={year:Oe,month:ir,day:Oe},NK={year:Oe,month:ir,day:Oe,weekday:ir},v1={year:Oe,month:Mn,day:Oe},b1={year:Oe,month:Mn,day:Oe,weekday:Mn},w1={hour:Oe,minute:Oe},C1={hour:Oe,minute:Oe,second:Oe},z1={hour:Oe,minute:Oe,second:Oe,timeZoneName:ir},x1={hour:Oe,minute:Oe,second:Oe,timeZoneName:Mn},k1={hour:Oe,minute:Oe,hourCycle:"h23"},S1={hour:Oe,minute:Oe,second:Oe,hourCycle:"h23"},E1={hour:Oe,minute:Oe,second:Oe,hourCycle:"h23",timeZoneName:ir},$1={hour:Oe,minute:Oe,second:Oe,hourCycle:"h23",timeZoneName:Mn},A1={year:Oe,month:Oe,day:Oe,hour:Oe,minute:Oe},T1={year:Oe,month:Oe,day:Oe,hour:Oe,minute:Oe,second:Oe},O1={year:Oe,month:ir,day:Oe,hour:Oe,minute:Oe},P1={year:Oe,month:ir,day:Oe,hour:Oe,minute:Oe,second:Oe},VK={year:Oe,month:ir,day:Oe,weekday:ir,hour:Oe,minute:Oe},D1={year:Oe,month:Mn,day:Oe,hour:Oe,minute:Oe,timeZoneName:ir},F1={year:Oe,month:Mn,day:Oe,hour:Oe,minute:Oe,second:Oe,timeZoneName:ir},I1={year:Oe,month:Mn,day:Oe,weekday:Mn,hour:Oe,minute:Oe,timeZoneName:Mn},M1={year:Oe,month:Mn,day:Oe,weekday:Mn,hour:Oe,minute:Oe,second:Oe,timeZoneName:Mn};function dt(e){return typeof e=="undefined"}function $o(e){return typeof e=="number"}function $u(e){return typeof e=="number"&&e%1===0}function jK(e){return typeof e=="string"}function BK(e){return Object.prototype.toString.call(e)==="[object Date]"}function L1(){try{return typeof Intl!="undefined"&&!!Intl.RelativeTimeFormat}catch{return!1}}function HK(e){return Array.isArray(e)?e:[e]}function Mh(e,t,n){if(e.length!==0)return e.reduce((r,o)=>{const s=[t(o),o];return r&&n(r[0],s[0])===r[0]?r:s},null)[1]}function UK(e,t){return t.reduce((n,r)=>(n[r]=e[r],n),{})}function $s(e,t){return Object.prototype.hasOwnProperty.call(e,t)}function Er(e,t,n){return $u(e)&&e>=t&&e<=n}function qK(e,t){return e-t*Math.floor(e/t)}function Ut(e,t=2){const n=e<0;let r;return n?r="-"+(""+-e).padStart(t,"0"):r=(""+e).padStart(t,"0"),r}function Kr(e){if(!(dt(e)||e===null||e===""))return parseInt(e,10)}function _o(e){if(!(dt(e)||e===null||e===""))return parseFloat(e)}function Km(e){if(!(dt(e)||e===null||e==="")){const t=parseFloat("0."+e)*1e3;return Math.floor(t)}}function Zm(e,t,n=!1){const r=10**t;return(n?Math.trunc:Math.round)(e*r)/r}function Qi(e){return e%4===0&&(e%100!==0||e%400===0)}function Ei(e){return Qi(e)?366:365}function Bl(e,t){const n=qK(t-1,12)+1,r=e+(t-n)/12;return n===2?Qi(r)?29:28:[31,null,31,30,31,30,31,31,30,31,30,31][n-1]}function Ym(e){let t=Date.UTC(e.year,e.month-1,e.day,e.hour,e.minute,e.second,e.millisecond);return e.year<100&&e.year>=0&&(t=new Date(t),t.setUTCFullYear(t.getUTCFullYear()-1900)),+t}function Hl(e){const t=(e+Math.floor(e/4)-Math.floor(e/100)+Math.floor(e/400))%7,n=e-1,r=(n+Math.floor(n/4)-Math.floor(n/100)+Math.floor(n/400))%7;return t===4||r===3?53:52}function kd(e){return e>99?e:e>60?1900+e:2e3+e}function R1(e,t,n,r=null){const o=new Date(e),s={hourCycle:"h23",year:"numeric",month:"2-digit",day:"2-digit",hour:"2-digit",minute:"2-digit"};r&&(s.timeZone=r);const i=Xe({timeZoneName:t},s),a=new Intl.DateTimeFormat(n,i).formatToParts(o).find(l=>l.type.toLowerCase()==="timezonename");return a?a.value:null}function Au(e,t){let n=parseInt(e,10);Number.isNaN(n)&&(n=0);const r=parseInt(t,10)||0,o=n<0||Object.is(n,-0)?-r:r;return n*60+o}function N1(e){const t=Number(e);if(typeof e=="boolean"||e===""||Number.isNaN(t))throw new Un(`Invalid unit value ${e}`);return t}function Ul(e,t){const n={};for(const r in e)if($s(e,r)){const o=e[r];if(o==null)continue;n[t(r)]=N1(o)}return n}function $i(e,t){const n=Math.trunc(Math.abs(e/60)),r=Math.trunc(Math.abs(e%60)),o=e>=0?"+":"-";switch(t){case"short":return`${o}${Ut(n,2)}:${Ut(r,2)}`;case"narrow":return`${o}${n}${r>0?`:${r}`:""}`;case"techie":return`${o}${Ut(n,2)}${Ut(r,2)}`;default:throw new RangeError(`Value format ${t} is out of range for property format`)}}function Tu(e){return UK(e,["hour","minute","second","millisecond"])}const V1=/[A-Za-z_+-]{1,256}(?::?\/[A-Za-z0-9_+-]{1,256}(?:\/[A-Za-z0-9_+-]{1,256})?)?/,WK=["January","February","March","April","May","June","July","August","September","October","November","December"],j1=["Jan","Feb","Mar","Apr","May","Jun","Jul","Aug","Sep","Oct","Nov","Dec"],GK=["J","F","M","A","M","J","J","A","S","O","N","D"];function B1(e){switch(e){case"narrow":return[...GK];case"short":return[...j1];case"long":return[...WK];case"numeric":return["1","2","3","4","5","6","7","8","9","10","11","12"];case"2-digit":return["01","02","03","04","05","06","07","08","09","10","11","12"];default:return null}}const H1=["Monday","Tuesday","Wednesday","Thursday","Friday","Saturday","Sunday"],U1=["Mon","Tue","Wed","Thu","Fri","Sat","Sun"],KK=["M","T","W","T","F","S","S"];function q1(e){switch(e){case"narrow":return[...KK];case"short":return[...U1];case"long":return[...H1];case"numeric":return["1","2","3","4","5","6","7"];default:return null}}const W1=["AM","PM"],ZK=["Before Christ","Anno Domini"],YK=["BC","AD"],JK=["B","A"];function G1(e){switch(e){case"narrow":return[...JK];case"short":return[...YK];case"long":return[...ZK];default:return null}}function XK(e){return W1[e.hour<12?0:1]}function QK(e,t){return q1(t)[e.weekday-1]}function eZ(e,t){return B1(t)[e.month-1]}function tZ(e,t){return G1(t)[e.year<0?0:1]}function nZ(e,t,n="always",r=!1){const o={years:["year","yr."],quarters:["quarter","qtr."],months:["month","mo."],weeks:["week","wk."],days:["day","day","days"],hours:["hour","hr."],minutes:["minute","min."],seconds:["second","sec."]},s=["hours","minutes","seconds"].indexOf(e)===-1;if(n==="auto"&&s){const f=e==="days";switch(t){case 1:return f?"tomorrow":`next ${o[e][0]}`;case-1:return f?"yesterday":`last ${o[e][0]}`;case 0:return f?"today":`this ${o[e][0]}`}}const i=Object.is(t,-0)||t<0,a=Math.abs(t),l=a===1,c=o[e],d=r?l?c[1]:c[2]||c[1]:l?o[e][0]:e;return i?`${a} ${d} ago`:`in ${a} ${d}`}function Lh(e,t){let n="";for(const r of e)r.literal?n+=r.val:n+=t(r.val);return n}const rZ={D:xd,DD:y1,DDD:v1,DDDD:b1,t:w1,tt:C1,ttt:z1,tttt:x1,T:k1,TT:S1,TTT:E1,TTTT:$1,f:A1,ff:O1,fff:D1,ffff:I1,F:T1,FF:P1,FFF:F1,FFFF:M1};class xn{static create(t,n={}){return new xn(t,n)}static parseFormat(t){let n=null,r="",o=!1;const s=[];for(let i=0;i<t.length;i++){const a=t.charAt(i);a==="'"?(r.length>0&&s.push({literal:o,val:r}),n=null,r="",o=!o):o||a===n?r+=a:(r.length>0&&s.push({literal:!1,val:r}),r=a,n=a)}return r.length>0&&s.push({literal:o,val:r}),s}static macroTokenToFormatOpts(t){return rZ[t]}constructor(t,n){this.opts=n,this.loc=t,this.systemLoc=null}formatWithSystemDefault(t,n){return this.systemLoc===null&&(this.systemLoc=this.loc.redefaultToSystem()),this.systemLoc.dtFormatter(t,Xe(Xe({},this.opts),n)).format()}formatDateTime(t,n={}){return this.loc.dtFormatter(t,Xe(Xe({},this.opts),n)).format()}formatDateTimeParts(t,n={}){return this.loc.dtFormatter(t,Xe(Xe({},this.opts),n)).formatToParts()}resolvedOptions(t,n={}){return this.loc.dtFormatter(t,Xe(Xe({},this.opts),n)).resolvedOptions()}num(t,n=0){if(this.opts.forceSimple)return Ut(t,n);const r=Xe({},this.opts);return n>0&&(r.padTo=n),this.loc.numberFormatter(r).format(t)}formatDateTimeFromString(t,n){const r=this.loc.listingMode()==="en",o=this.loc.outputCalendar&&this.loc.outputCalendar!=="gregory",s=(p,h)=>this.loc.extract(t,p,h),i=p=>t.isOffsetFixed&&t.offset===0&&p.allowZ?"Z":t.isValid?t.zone.formatOffset(t.ts,p.format):"",a=()=>r?XK(t):s({hour:"numeric",hourCycle:"h12"},"dayperiod"),l=(p,h)=>r?eZ(t,p):s(h?{month:p}:{month:p,day:"numeric"},"month"),c=(p,h)=>r?QK(t,p):s(h?{weekday:p}:{weekday:p,month:"long",day:"numeric"},"weekday"),d=p=>{const h=xn.macroTokenToFormatOpts(p);return h?this.formatWithSystemDefault(t,h):p},f=p=>r?tZ(t,p):s({era:p},"era"),m=p=>{switch(p){case"S":return this.num(t.millisecond);case"u":case"SSS":return this.num(t.millisecond,3);case"s":return this.num(t.second);case"ss":return this.num(t.second,2);case"uu":return this.num(Math.floor(t.millisecond/10),2);case"uuu":return this.num(Math.floor(t.millisecond/100));case"m":return this.num(t.minute);case"mm":return this.num(t.minute,2);case"h":return this.num(t.hour%12===0?12:t.hour%12);case"hh":return this.num(t.hour%12===0?12:t.hour%12,2);case"H":return this.num(t.hour);case"HH":return this.num(t.hour,2);case"Z":return i({format:"narrow",allowZ:this.opts.allowZ});case"ZZ":return i({format:"short",allowZ:this.opts.allowZ});case"ZZZ":return i({format:"techie",allowZ:this.opts.allowZ});case"ZZZZ":return t.zone.offsetName(t.ts,{format:"short",locale:this.loc.locale});case"ZZZZZ":return t.zone.offsetName(t.ts,{format:"long",locale:this.loc.locale});case"z":return t.zoneName;case"a":return a();case"d":return o?s({day:"numeric"},"day"):this.num(t.day);case"dd":return o?s({day:"2-digit"},"day"):this.num(t.day,2);case"c":return this.num(t.weekday);case"ccc":return c("short",!0);case"cccc":return c("long",!0);case"ccccc":return c("narrow",!0);case"E":return this.num(t.weekday);case"EEE":return c("short",!1);case"EEEE":return c("long",!1);case"EEEEE":return c("narrow",!1);case"L":return o?s({month:"numeric",day:"numeric"},"month"):this.num(t.month);case"LL":return o?s({month:"2-digit",day:"numeric"},"month"):this.num(t.month,2);case"LLL":return l("short",!0);case"LLLL":return l("long",!0);case"LLLLL":return l("narrow",!0);case"M":return o?s({month:"numeric"},"month"):this.num(t.month);case"MM":return o?s({month:"2-digit"},"month"):this.num(t.month,2);case"MMM":return l("short",!1);case"MMMM":return l("long",!1);case"MMMMM":return l("narrow",!1);case"y":return o?s({year:"numeric"},"year"):this.num(t.year);case"yy":return o?s({year:"2-digit"},"year"):this.num(t.year.toString().slice(-2),2);case"yyyy":return o?s({year:"numeric"},"year"):this.num(t.year,4);case"yyyyyy":return o?s({year:"numeric"},"year"):this.num(t.year,6);case"G":return f("short");case"GG":return f("long");case"GGGGG":return f("narrow");case"kk":return this.num(t.weekYear.toString().slice(-2),2);case"kkkk":return this.num(t.weekYear,4);case"W":return this.num(t.weekNumber);case"WW":return this.num(t.weekNumber,2);case"o":return this.num(t.ordinal);case"ooo":return this.num(t.ordinal,3);case"q":return this.num(t.quarter);case"qq":return this.num(t.quarter,2);case"X":return this.num(Math.floor(t.ts/1e3));case"x":return this.num(t.ts);default:return d(p)}};return Lh(xn.parseFormat(n),m)}formatDurationFromString(t,n){const r=l=>{switch(l[0]){case"S":return"millisecond";case"s":return"second";case"m":return"minute";case"h":return"hour";case"d":return"day";case"w":return"week";case"M":return"month";case"y":return"year";default:return null}},o=l=>c=>{const d=r(c);return d?this.num(l.get(d),c.length):c},s=xn.parseFormat(n),i=s.reduce((l,{literal:c,val:d})=>c?l:l.concat(d),[]),a=t.shiftTo(...i.map(r).filter(l=>l));return Lh(s,o(a))}}class rr{constructor(t,n){this.reason=t,this.explanation=n}toMessage(){return this.explanation?`${this.reason}: ${this.explanation}`:this.reason}}class ea{get type(){throw new jr}get name(){throw new jr}get ianaName(){return this.name}get isUniversal(){throw new jr}offsetName(t,n){throw new jr}formatOffset(t,n){throw new jr}offset(t){throw new jr}equals(t){throw new jr}get isValid(){throw new jr}}let vc=null;class Jm extends ea{static get instance(){return vc===null&&(vc=new Jm),vc}get type(){return"system"}get name(){return new Intl.DateTimeFormat().resolvedOptions().timeZone}get isUniversal(){return!1}offsetName(t,{format:n,locale:r}){return R1(t,n,r)}formatOffset(t,n){return $i(this.offset(t),n)}offset(t){return-new Date(t).getTimezoneOffset()}equals(t){return t.type==="system"}get isValid(){return!0}}let yl={};function oZ(e){return yl[e]||(yl[e]=new Intl.DateTimeFormat("en-US",{hour12:!1,timeZone:e,year:"numeric",month:"2-digit",day:"2-digit",hour:"2-digit",minute:"2-digit",second:"2-digit",era:"short"})),yl[e]}const sZ={year:0,month:1,day:2,era:3,hour:4,minute:5,second:6};function iZ(e,t){const n=e.format(t).replace(/\u200E/g,""),r=/(\d+)\/(\d+)\/(\d+) (AD|BC),? (\d+):(\d+):(\d+)/.exec(n),[,o,s,i,a,l,c,d]=r;return[i,o,s,a,l,c,d]}function aZ(e,t){const n=e.formatToParts(t),r=[];for(let o=0;o<n.length;o++){const{type:s,value:i}=n[o],a=sZ[s];s==="era"?r[a]=i:dt(a)||(r[a]=parseInt(i,10))}return r}let rl={};class Or extends ea{static create(t){return rl[t]||(rl[t]=new Or(t)),rl[t]}static resetCache(){rl={},yl={}}static isValidSpecifier(t){return this.isValidZone(t)}static isValidZone(t){if(!t)return!1;try{return new Intl.DateTimeFormat("en-US",{timeZone:t}).format(),!0}catch{return!1}}constructor(t){super(),this.zoneName=t,this.valid=Or.isValidZone(t)}get type(){return"iana"}get name(){return this.zoneName}get isUniversal(){return!1}offsetName(t,{format:n,locale:r}){return R1(t,n,r,this.name)}formatOffset(t,n){return $i(this.offset(t),n)}offset(t){const n=new Date(t);if(isNaN(n))return NaN;const r=oZ(this.name);let[o,s,i,a,l,c,d]=r.formatToParts?aZ(r,n):iZ(r,n);a==="BC"&&(o=-Math.abs(o)+1);const m=Ym({year:o,month:s,day:i,hour:l===24?0:l,minute:c,second:d,millisecond:0});let p=+n;const h=p%1e3;return p-=h>=0?h:1e3+h,(m-p)/(60*1e3)}equals(t){return t.type==="iana"&&t.name===this.name}get isValid(){return this.valid}}let bc=null;class fn extends ea{static get utcInstance(){return bc===null&&(bc=new fn(0)),bc}static instance(t){return t===0?fn.utcInstance:new fn(t)}static parseSpecifier(t){if(t){const n=t.match(/^utc(?:([+-]\d{1,2})(?::(\d{2}))?)?$/i);if(n)return new fn(Au(n[1],n[2]))}return null}constructor(t){super(),this.fixed=t}get type(){return"fixed"}get name(){return this.fixed===0?"UTC":`UTC${$i(this.fixed,"narrow")}`}get ianaName(){return this.fixed===0?"Etc/UTC":`Etc/GMT${$i(-this.fixed,"narrow")}`}offsetName(){return this.name}formatOffset(t,n){return $i(this.fixed,n)}get isUniversal(){return!0}offset(){return this.fixed}equals(t){return t.type==="fixed"&&t.fixed===this.fixed}get isValid(){return!0}}class lZ extends ea{constructor(t){super(),this.zoneName=t}get type(){return"invalid"}get name(){return this.zoneName}get isUniversal(){return!1}offsetName(){return null}formatOffset(){return""}offset(){return NaN}equals(){return!1}get isValid(){return!1}}function Yr(e,t){if(dt(e)||e===null)return t;if(e instanceof ea)return e;if(jK(e)){const n=e.toLowerCase();return n==="local"||n==="system"?t:n==="utc"||n==="gmt"?fn.utcInstance:fn.parseSpecifier(n)||Or.create(e)}else return $o(e)?fn.instance(e):typeof e=="object"&&e.offset&&typeof e.offset=="number"?e:new lZ(e)}let Rh=()=>Date.now(),Nh="system",Vh=null,jh=null,Bh=null,Hh;class Kt{static get now(){return Rh}static set now(t){Rh=t}static set defaultZone(t){Nh=t}static get defaultZone(){return Yr(Nh,Jm.instance)}static get defaultLocale(){return Vh}static set defaultLocale(t){Vh=t}static get defaultNumberingSystem(){return jh}static set defaultNumberingSystem(t){jh=t}static get defaultOutputCalendar(){return Bh}static set defaultOutputCalendar(t){Bh=t}static get throwOnInvalid(){return Hh}static set throwOnInvalid(t){Hh=t}static resetCaches(){At.resetCache(),Or.resetCache()}}let Uh={};function uZ(e,t={}){const n=JSON.stringify([e,t]);let r=Uh[n];return r||(r=new Intl.ListFormat(e,t),Uh[n]=r),r}let Sd={};function Ed(e,t={}){const n=JSON.stringify([e,t]);let r=Sd[n];return r||(r=new Intl.DateTimeFormat(e,t),Sd[n]=r),r}let $d={};function cZ(e,t={}){const n=JSON.stringify([e,t]);let r=$d[n];return r||(r=new Intl.NumberFormat(e,t),$d[n]=r),r}let Ad={};function dZ(e,t={}){const i=t,{base:n}=i,r=Bu(i,["base"]),o=JSON.stringify([e,r]);let s=Ad[o];return s||(s=new Intl.RelativeTimeFormat(e,t),Ad[o]=s),s}let ai=null;function mZ(){return ai||(ai=new Intl.DateTimeFormat().resolvedOptions().locale,ai)}function fZ(e){const t=e.indexOf("-u-");if(t===-1)return[e];{let n;const r=e.substring(0,t);try{n=Ed(e).resolvedOptions()}catch{n=Ed(r).resolvedOptions()}const{numberingSystem:o,calendar:s}=n;return[r,o,s]}}function pZ(e,t,n){return(n||t)&&(e+="-u",n&&(e+=`-ca-${n}`),t&&(e+=`-nu-${t}`)),e}function hZ(e){const t=[];for(let n=1;n<=12;n++){const r=et.utc(2016,n,1);t.push(e(r))}return t}function _Z(e){const t=[];for(let n=1;n<=7;n++){const r=et.utc(2016,11,13+n);t.push(e(r))}return t}function ol(e,t,n,r,o){const s=e.listingMode(n);return s==="error"?null:s==="en"?r(t):o(t)}function gZ(e){return e.numberingSystem&&e.numberingSystem!=="latn"?!1:e.numberingSystem==="latn"||!e.locale||e.locale.startsWith("en")||new Intl.DateTimeFormat(e.intl).resolvedOptions().numberingSystem==="latn"}class yZ{constructor(t,n,r){this.padTo=r.padTo||0,this.floor=r.floor||!1;const a=r,{padTo:o,floor:s}=a,i=Bu(a,["padTo","floor"]);if(!n||Object.keys(i).length>0){const l=Xe({useGrouping:!1},r);r.padTo>0&&(l.minimumIntegerDigits=r.padTo),this.inf=cZ(t,l)}}format(t){if(this.inf){const n=this.floor?Math.floor(t):t;return this.inf.format(n)}else{const n=this.floor?Math.floor(t):Zm(t,3);return Ut(n,this.padTo)}}}class vZ{constructor(t,n,r){this.opts=r;let o;if(t.zone.isUniversal){const i=-1*(t.offset/60),a=i>=0?`Etc/GMT+${i}`:`Etc/GMT${i}`;t.offset!==0&&Or.create(a).valid?(o=a,this.dt=t):(o="UTC",r.timeZoneName?this.dt=t:this.dt=t.offset===0?t:et.fromMillis(t.ts+t.offset*60*1e3))}else t.zone.type==="system"?this.dt=t:(this.dt=t,o=t.zone.name);const s=Xe({},this.opts);o&&(s.timeZone=o),this.dtf=Ed(n,s)}format(){return this.dtf.format(this.dt.toJSDate())}formatToParts(){return this.dtf.formatToParts(this.dt.toJSDate())}resolvedOptions(){return this.dtf.resolvedOptions()}}class bZ{constructor(t,n,r){this.opts=Xe({style:"long"},r),!n&&L1()&&(this.rtf=dZ(t,r))}format(t,n){return this.rtf?this.rtf.format(t,n):nZ(n,t,this.opts.numeric,this.opts.style!=="long")}formatToParts(t,n){return this.rtf?this.rtf.formatToParts(t,n):[]}}class At{static fromOpts(t){return At.create(t.locale,t.numberingSystem,t.outputCalendar,t.defaultToEN)}static create(t,n,r,o=!1){const s=t||Kt.defaultLocale,i=s||(o?"en-US":mZ()),a=n||Kt.defaultNumberingSystem,l=r||Kt.defaultOutputCalendar;return new At(i,a,l,s)}static resetCache(){ai=null,Sd={},$d={},Ad={}}static fromObject({locale:t,numberingSystem:n,outputCalendar:r}={}){return At.create(t,n,r)}constructor(t,n,r,o){const[s,i,a]=fZ(t);this.locale=s,this.numberingSystem=n||i||null,this.outputCalendar=r||a||null,this.intl=pZ(this.locale,this.numberingSystem,this.outputCalendar),this.weekdaysCache={format:{},standalone:{}},this.monthsCache={format:{},standalone:{}},this.meridiemCache=null,this.eraCache={},this.specifiedLocale=o,this.fastNumbersCached=null}get fastNumbers(){return this.fastNumbersCached==null&&(this.fastNumbersCached=gZ(this)),this.fastNumbersCached}listingMode(){const t=this.isEnglish(),n=(this.numberingSystem===null||this.numberingSystem==="latn")&&(this.outputCalendar===null||this.outputCalendar==="gregory");return t&&n?"en":"intl"}clone(t){return!t||Object.getOwnPropertyNames(t).length===0?this:At.create(t.locale||this.specifiedLocale,t.numberingSystem||this.numberingSystem,t.outputCalendar||this.outputCalendar,t.defaultToEN||!1)}redefaultToEN(t={}){return this.clone(Vn(Xe({},t),{defaultToEN:!0}))}redefaultToSystem(t={}){return this.clone(Vn(Xe({},t),{defaultToEN:!1}))}months(t,n=!1,r=!0){return ol(this,t,r,B1,()=>{const o=n?{month:t,day:"numeric"}:{month:t},s=n?"format":"standalone";return this.monthsCache[s][t]||(this.monthsCache[s][t]=hZ(i=>this.extract(i,o,"month"))),this.monthsCache[s][t]})}weekdays(t,n=!1,r=!0){return ol(this,t,r,q1,()=>{const o=n?{weekday:t,year:"numeric",month:"long",day:"numeric"}:{weekday:t},s=n?"format":"standalone";return this.weekdaysCache[s][t]||(this.weekdaysCache[s][t]=_Z(i=>this.extract(i,o,"weekday"))),this.weekdaysCache[s][t]})}meridiems(t=!0){return ol(this,void 0,t,()=>W1,()=>{if(!this.meridiemCache){const n={hour:"numeric",hourCycle:"h12"};this.meridiemCache=[et.utc(2016,11,13,9),et.utc(2016,11,13,19)].map(r=>this.extract(r,n,"dayperiod"))}return this.meridiemCache})}eras(t,n=!0){return ol(this,t,n,G1,()=>{const r={era:t};return this.eraCache[t]||(this.eraCache[t]=[et.utc(-40,1,1),et.utc(2017,1,1)].map(o=>this.extract(o,r,"era"))),this.eraCache[t]})}extract(t,n,r){const o=this.dtFormatter(t,n),s=o.formatToParts(),i=s.find(a=>a.type.toLowerCase()===r);return i?i.value:null}numberFormatter(t={}){return new yZ(this.intl,t.forceSimple||this.fastNumbers,t)}dtFormatter(t,n={}){return new vZ(t,this.intl,n)}relFormatter(t={}){return new bZ(this.intl,this.isEnglish(),t)}listFormatter(t={}){return uZ(this.intl,t)}isEnglish(){return this.locale==="en"||this.locale.toLowerCase()==="en-us"||new Intl.DateTimeFormat(this.intl).resolvedOptions().locale.startsWith("en-us")}equals(t){return this.locale===t.locale&&this.numberingSystem===t.numberingSystem&&this.outputCalendar===t.outputCalendar}}function Fs(...e){const t=e.reduce((n,r)=>n+r.source,"");return RegExp(`^${t}$`)}function Is(...e){return t=>e.reduce(([n,r,o],s)=>{const[i,a,l]=s(t,o);return[Xe(Xe({},n),i),a||r,l]},[{},null,1]).slice(0,2)}function Ms(e,...t){if(e==null)return[null,null];for(const[n,r]of t){const o=n.exec(e);if(o)return r(o)}return[null,null]}function K1(...e){return(t,n)=>{const r={};let o;for(o=0;o<e.length;o++)r[e[o]]=Kr(t[n+o]);return[r,null,n+o]}}const Z1=/(?:(Z)|([+-]\d\d)(?::?(\d\d))?)/,wZ=`(?:${Z1.source}?(?:\\[(${V1.source})\\])?)?`,Xm=/(\d\d)(?::?(\d\d)(?::?(\d\d)(?:[.,](\d{1,30}))?)?)?/,Y1=RegExp(`${Xm.source}${wZ}`),Qm=RegExp(`(?:T${Y1.source})?`),CZ=/([+-]\d{6}|\d{4})(?:-?(\d\d)(?:-?(\d\d))?)?/,zZ=/(\d{4})-?W(\d\d)(?:-?(\d))?/,xZ=/(\d{4})-?(\d{3})/,kZ=K1("weekYear","weekNumber","weekDay"),SZ=K1("year","ordinal"),EZ=/(\d{4})-(\d\d)-(\d\d)/,J1=RegExp(`${Xm.source} ?(?:${Z1.source}|(${V1.source}))?`),$Z=RegExp(`(?: ${J1.source})?`);function fs(e,t,n){const r=e[t];return dt(r)?n:Kr(r)}function AZ(e,t){return[{year:fs(e,t),month:fs(e,t+1,1),day:fs(e,t+2,1)},null,t+3]}function Ls(e,t){return[{hours:fs(e,t,0),minutes:fs(e,t+1,0),seconds:fs(e,t+2,0),milliseconds:Km(e[t+3])},null,t+4]}function ta(e,t){const n=!e[t]&&!e[t+1],r=Au(e[t+1],e[t+2]),o=n?null:fn.instance(r);return[{},o,t+3]}function na(e,t){const n=e[t]?Or.create(e[t]):null;return[{},n,t+1]}const TZ=RegExp(`^T?${Xm.source}$`),OZ=/^-?P(?:(?:(-?\d{1,20}(?:\.\d{1,20})?)Y)?(?:(-?\d{1,20}(?:\.\d{1,20})?)M)?(?:(-?\d{1,20}(?:\.\d{1,20})?)W)?(?:(-?\d{1,20}(?:\.\d{1,20})?)D)?(?:T(?:(-?\d{1,20}(?:\.\d{1,20})?)H)?(?:(-?\d{1,20}(?:\.\d{1,20})?)M)?(?:(-?\d{1,20})(?:[.,](-?\d{1,20}))?S)?)?)$/;function PZ(e){const[t,n,r,o,s,i,a,l,c]=e,d=t[0]==="-",f=l&&l[0]==="-",m=(p,h=!1)=>p!==void 0&&(h||p&&d)?-p:p;return[{years:m(_o(n)),months:m(_o(r)),weeks:m(_o(o)),days:m(_o(s)),hours:m(_o(i)),minutes:m(_o(a)),seconds:m(_o(l),l==="-0"),milliseconds:m(Km(c),f)}]}const DZ={GMT:0,EDT:-4*60,EST:-5*60,CDT:-5*60,CST:-6*60,MDT:-6*60,MST:-7*60,PDT:-7*60,PST:-8*60};function ef(e,t,n,r,o,s,i){const a={year:t.length===2?kd(Kr(t)):Kr(t),month:j1.indexOf(n)+1,day:Kr(r),hour:Kr(o),minute:Kr(s)};return i&&(a.second=Kr(i)),e&&(a.weekday=e.length>3?H1.indexOf(e)+1:U1.indexOf(e)+1),a}const FZ=/^(?:(Mon|Tue|Wed|Thu|Fri|Sat|Sun),\s)?(\d{1,2})\s(Jan|Feb|Mar|Apr|May|Jun|Jul|Aug|Sep|Oct|Nov|Dec)\s(\d{2,4})\s(\d\d):(\d\d)(?::(\d\d))?\s(?:(UT|GMT|[ECMP][SD]T)|([Zz])|(?:([+-]\d\d)(\d\d)))$/;function IZ(e){const[,t,n,r,o,s,i,a,l,c,d,f]=e,m=ef(t,o,r,n,s,i,a);let p;return l?p=DZ[l]:c?p=0:p=Au(d,f),[m,new fn(p)]}function MZ(e){return e.replace(/\([^()]*\)|[\n\t]/g," ").replace(/(\s\s+)/g," ").trim()}const LZ=/^(Mon|Tue|Wed|Thu|Fri|Sat|Sun), (\d\d) (Jan|Feb|Mar|Apr|May|Jun|Jul|Aug|Sep|Oct|Nov|Dec) (\d{4}) (\d\d):(\d\d):(\d\d) GMT$/,RZ=/^(Monday|Tuesday|Wednesday|Thursday|Friday|Saturday|Sunday), (\d\d)-(Jan|Feb|Mar|Apr|May|Jun|Jul|Aug|Sep|Oct|Nov|Dec)-(\d\d) (\d\d):(\d\d):(\d\d) GMT$/,NZ=/^(Mon|Tue|Wed|Thu|Fri|Sat|Sun) (Jan|Feb|Mar|Apr|May|Jun|Jul|Aug|Sep|Oct|Nov|Dec) ( \d|\d\d) (\d\d):(\d\d):(\d\d) (\d{4})$/;function qh(e){const[,t,n,r,o,s,i,a]=e;return[ef(t,o,r,n,s,i,a),fn.utcInstance]}function VZ(e){const[,t,n,r,o,s,i,a]=e;return[ef(t,a,n,r,o,s,i),fn.utcInstance]}const jZ=Fs(CZ,Qm),BZ=Fs(zZ,Qm),HZ=Fs(xZ,Qm),UZ=Fs(Y1),X1=Is(AZ,Ls,ta,na),qZ=Is(kZ,Ls,ta,na),WZ=Is(SZ,Ls,ta,na),GZ=Is(Ls,ta,na);function KZ(e){return Ms(e,[jZ,X1],[BZ,qZ],[HZ,WZ],[UZ,GZ])}function ZZ(e){return Ms(MZ(e),[FZ,IZ])}function YZ(e){return Ms(e,[LZ,qh],[RZ,qh],[NZ,VZ])}function JZ(e){return Ms(e,[OZ,PZ])}const XZ=Is(Ls);function QZ(e){return Ms(e,[TZ,XZ])}const eY=Fs(EZ,$Z),tY=Fs(J1),nY=Is(Ls,ta,na);function rY(e){return Ms(e,[eY,X1],[tY,nY])}const oY="Invalid Duration",Q1={weeks:{days:7,hours:7*24,minutes:7*24*60,seconds:7*24*60*60,milliseconds:7*24*60*60*1e3},days:{hours:24,minutes:24*60,seconds:24*60*60,milliseconds:24*60*60*1e3},hours:{minutes:60,seconds:60*60,milliseconds:60*60*1e3},minutes:{seconds:60,milliseconds:60*1e3},seconds:{milliseconds:1e3}},sY=Xe({years:{quarters:4,months:12,weeks:52,days:365,hours:365*24,minutes:365*24*60,seconds:365*24*60*60,milliseconds:365*24*60*60*1e3},quarters:{months:3,weeks:13,days:91,hours:91*24,minutes:91*24*60,seconds:91*24*60*60,milliseconds:91*24*60*60*1e3},months:{weeks:4,days:30,hours:30*24,minutes:30*24*60,seconds:30*24*60*60,milliseconds:30*24*60*60*1e3}},Q1),Hn=146097/400,Xo=146097/4800,iY=Xe({years:{quarters:4,months:12,weeks:Hn/7,days:Hn,hours:Hn*24,minutes:Hn*24*60,seconds:Hn*24*60*60,milliseconds:Hn*24*60*60*1e3},quarters:{months:3,weeks:Hn/28,days:Hn/4,hours:Hn*24/4,minutes:Hn*24*60/4,seconds:Hn*24*60*60/4,milliseconds:Hn*24*60*60*1e3/4},months:{weeks:Xo/7,days:Xo,hours:Xo*24,minutes:Xo*24*60,seconds:Xo*24*60*60,milliseconds:Xo*24*60*60*1e3}},Q1),bo=["years","quarters","months","weeks","days","hours","minutes","seconds","milliseconds"],aY=bo.slice(0).reverse();function go(e,t,n=!1){const r={values:n?t.values:Xe(Xe({},e.values),t.values||{}),loc:e.loc.clone(t.loc),conversionAccuracy:t.conversionAccuracy||e.conversionAccuracy};return new it(r)}function lY(e){return e<0?Math.floor(e):Math.ceil(e)}function eb(e,t,n,r,o){const s=e[o][n],i=t[n]/s,a=Math.sign(i)===Math.sign(r[o]),l=!a&&r[o]!==0&&Math.abs(i)<=1?lY(i):Math.trunc(i);r[o]+=l,t[n]-=l*s}function uY(e,t){aY.reduce((n,r)=>dt(t[r])?n:(n&&eb(e,t,n,t,r),r),null)}class it{constructor(t){const n=t.conversionAccuracy==="longterm"||!1;this.values=t.values,this.loc=t.loc||At.create(),this.conversionAccuracy=n?"longterm":"casual",this.invalid=t.invalid||null,this.matrix=n?iY:sY,this.isLuxonDuration=!0}static fromMillis(t,n){return it.fromObject({milliseconds:t},n)}static fromObject(t,n={}){if(t==null||typeof t!="object")throw new Un(`Duration.fromObject: argument expected to be an object, got ${t===null?"null":typeof t}`);return new it({values:Ul(t,it.normalizeUnit),loc:At.fromObject(n),conversionAccuracy:n.conversionAccuracy})}static fromDurationLike(t){if($o(t))return it.fromMillis(t);if(it.isDuration(t))return t;if(typeof t=="object")return it.fromObject(t);throw new Un(`Unknown duration argument ${t} of type ${typeof t}`)}static fromISO(t,n){const[r]=JZ(t);return r?it.fromObject(r,n):it.invalid("unparsable",`the input "${t}" can't be parsed as ISO 8601`)}static fromISOTime(t,n){const[r]=QZ(t);return r?it.fromObject(r,n):it.invalid("unparsable",`the input "${t}" can't be parsed as ISO 8601`)}static invalid(t,n=null){if(!t)throw new Un("need to specify a reason the Duration is invalid");const r=t instanceof rr?t:new rr(t,n);if(Kt.throwOnInvalid)throw new RK(r);return new it({invalid:r})}static normalizeUnit(t){const n={year:"years",years:"years",quarter:"quarters",quarters:"quarters",month:"months",months:"months",week:"weeks",weeks:"weeks",day:"days",days:"days",hour:"hours",hours:"hours",minute:"minutes",minutes:"minutes",second:"seconds",seconds:"seconds",millisecond:"milliseconds",milliseconds:"milliseconds"}[t&&t.toLowerCase()];if(!n)throw new g1(t);return n}static isDuration(t){return t&&t.isLuxonDuration||!1}get locale(){return this.isValid?this.loc.locale:null}get numberingSystem(){return this.isValid?this.loc.numberingSystem:null}toFormat(t,n={}){const r=Vn(Xe({},n),{floor:n.round!==!1&&n.floor!==!1});return this.isValid?xn.create(this.loc,r).formatDurationFromString(this,t):oY}toHuman(t={}){const n=bo.map(r=>{const o=this.values[r];return dt(o)?null:this.loc.numberFormatter(Vn(Xe({style:"unit",unitDisplay:"long"},t),{unit:r.slice(0,-1)})).format(o)}).filter(r=>r);return this.loc.listFormatter(Xe({type:"conjunction",style:t.listStyle||"narrow"},t)).format(n)}toObject(){return this.isValid?Xe({},this.values):{}}toISO(){if(!this.isValid)return null;let t="P";return this.years!==0&&(t+=this.years+"Y"),(this.months!==0||this.quarters!==0)&&(t+=this.months+this.quarters*3+"M"),this.weeks!==0&&(t+=this.weeks+"W"),this.days!==0&&(t+=this.days+"D"),(this.hours!==0||this.minutes!==0||this.seconds!==0||this.milliseconds!==0)&&(t+="T"),this.hours!==0&&(t+=this.hours+"H"),this.minutes!==0&&(t+=this.minutes+"M"),(this.seconds!==0||this.milliseconds!==0)&&(t+=Zm(this.seconds+this.milliseconds/1e3,3)+"S"),t==="P"&&(t+="T0S"),t}toISOTime(t={}){if(!this.isValid)return null;const n=this.toMillis();if(n<0||n>=864e5)return null;t=Xe({suppressMilliseconds:!1,suppressSeconds:!1,includePrefix:!1,format:"extended"},t);const r=this.shiftTo("hours","minutes","seconds","milliseconds");let o=t.format==="basic"?"hhmm":"hh:mm";(!t.suppressSeconds||r.seconds!==0||r.milliseconds!==0)&&(o+=t.format==="basic"?"ss":":ss",(!t.suppressMilliseconds||r.milliseconds!==0)&&(o+=".SSS"));let s=r.toFormat(o);return t.includePrefix&&(s="T"+s),s}toJSON(){return this.toISO()}toString(){return this.toISO()}toMillis(){return this.as("milliseconds")}valueOf(){return this.toMillis()}plus(t){if(!this.isValid)return this;const n=it.fromDurationLike(t),r={};for(const o of bo)($s(n.values,o)||$s(this.values,o))&&(r[o]=n.get(o)+this.get(o));return go(this,{values:r},!0)}minus(t){if(!this.isValid)return this;const n=it.fromDurationLike(t);return this.plus(n.negate())}mapUnits(t){if(!this.isValid)return this;const n={};for(const r of Object.keys(this.values))n[r]=N1(t(this.values[r],r));return go(this,{values:n},!0)}get(t){return this[it.normalizeUnit(t)]}set(t){if(!this.isValid)return this;const n=Xe(Xe({},this.values),Ul(t,it.normalizeUnit));return go(this,{values:n})}reconfigure({locale:t,numberingSystem:n,conversionAccuracy:r}={}){const o=this.loc.clone({locale:t,numberingSystem:n}),s={loc:o};return r&&(s.conversionAccuracy=r),go(this,s)}as(t){return this.isValid?this.shiftTo(t).get(t):NaN}normalize(){if(!this.isValid)return this;const t=this.toObject();return uY(this.matrix,t),go(this,{values:t},!0)}shiftTo(...t){if(!this.isValid)return this;if(t.length===0)return this;t=t.map(i=>it.normalizeUnit(i));const n={},r={},o=this.toObject();let s;for(const i of bo)if(t.indexOf(i)>=0){s=i;let a=0;for(const c in r)a+=this.matrix[c][i]*r[c],r[c]=0;$o(o[i])&&(a+=o[i]);const l=Math.trunc(a);n[i]=l,r[i]=(a*1e3-l*1e3)/1e3;for(const c in o)bo.indexOf(c)>bo.indexOf(i)&&eb(this.matrix,o,c,n,i)}else $o(o[i])&&(r[i]=o[i]);for(const i in r)r[i]!==0&&(n[s]+=i===s?r[i]:r[i]/this.matrix[s][i]);return go(this,{values:n},!0).normalize()}negate(){if(!this.isValid)return this;const t={};for(const n of Object.keys(this.values))t[n]=this.values[n]===0?0:-this.values[n];return go(this,{values:t},!0)}get years(){return this.isValid?this.values.years||0:NaN}get quarters(){return this.isValid?this.values.quarters||0:NaN}get months(){return this.isValid?this.values.months||0:NaN}get weeks(){return this.isValid?this.values.weeks||0:NaN}get days(){return this.isValid?this.values.days||0:NaN}get hours(){return this.isValid?this.values.hours||0:NaN}get minutes(){return this.isValid?this.values.minutes||0:NaN}get seconds(){return this.isValid?this.values.seconds||0:NaN}get milliseconds(){return this.isValid?this.values.milliseconds||0:NaN}get isValid(){return this.invalid===null}get invalidReason(){return this.invalid?this.invalid.reason:null}get invalidExplanation(){return this.invalid?this.invalid.explanation:null}equals(t){if(!this.isValid||!t.isValid||!this.loc.equals(t.loc))return!1;function n(r,o){return r===void 0||r===0?o===void 0||o===0:r===o}for(const r of bo)if(!n(this.values[r],t.values[r]))return!1;return!0}}const Ks="Invalid Interval";function cY(e,t){return!e||!e.isValid?It.invalid("missing or invalid start"):!t||!t.isValid?It.invalid("missing or invalid end"):t<e?It.invalid("end before start",`The end of an interval must be after its start, but you had start=${e.toISO()} and end=${t.toISO()}`):null}class It{constructor(t){this.s=t.start,this.e=t.end,this.invalid=t.invalid||null,this.isLuxonInterval=!0}static invalid(t,n=null){if(!t)throw new Un("need to specify a reason the Interval is invalid");const r=t instanceof rr?t:new rr(t,n);if(Kt.throwOnInvalid)throw new LK(r);return new It({invalid:r})}static fromDateTimes(t,n){const r=Js(t),o=Js(n),s=cY(r,o);return s==null?new It({start:r,end:o}):s}static after(t,n){const r=it.fromDurationLike(n),o=Js(t);return It.fromDateTimes(o,o.plus(r))}static before(t,n){const r=it.fromDurationLike(n),o=Js(t);return It.fromDateTimes(o.minus(r),o)}static fromISO(t,n){const[r,o]=(t||"").split("/",2);if(r&&o){let s,i;try{s=et.fromISO(r,n),i=s.isValid}catch{i=!1}let a,l;try{a=et.fromISO(o,n),l=a.isValid}catch{l=!1}if(i&&l)return It.fromDateTimes(s,a);if(i){const c=it.fromISO(o,n);if(c.isValid)return It.after(s,c)}else if(l){const c=it.fromISO(r,n);if(c.isValid)return It.before(a,c)}}return It.invalid("unparsable",`the input "${t}" can't be parsed as ISO 8601`)}static isInterval(t){return t&&t.isLuxonInterval||!1}get start(){return this.isValid?this.s:null}get end(){return this.isValid?this.e:null}get isValid(){return this.invalidReason===null}get invalidReason(){return this.invalid?this.invalid.reason:null}get invalidExplanation(){return this.invalid?this.invalid.explanation:null}length(t="milliseconds"){return this.isValid?this.toDuration(t).get(t):NaN}count(t="milliseconds"){if(!this.isValid)return NaN;const n=this.start.startOf(t),r=this.end.startOf(t);return Math.floor(r.diff(n,t).get(t))+1}hasSame(t){return this.isValid?this.isEmpty()||this.e.minus(1).hasSame(this.s,t):!1}isEmpty(){return this.s.valueOf()===this.e.valueOf()}isAfter(t){return this.isValid?this.s>t:!1}isBefore(t){return this.isValid?this.e<=t:!1}contains(t){return this.isValid?this.s<=t&&this.e>t:!1}set({start:t,end:n}={}){return this.isValid?It.fromDateTimes(t||this.s,n||this.e):this}splitAt(...t){if(!this.isValid)return[];const n=t.map(Js).filter(i=>this.contains(i)).sort(),r=[];let{s:o}=this,s=0;for(;o<this.e;){const i=n[s]||this.e,a=+i>+this.e?this.e:i;r.push(It.fromDateTimes(o,a)),o=a,s+=1}return r}splitBy(t){const n=it.fromDurationLike(t);if(!this.isValid||!n.isValid||n.as("milliseconds")===0)return[];let{s:r}=this,o=1,s;const i=[];for(;r<this.e;){const a=this.start.plus(n.mapUnits(l=>l*o));s=+a>+this.e?this.e:a,i.push(It.fromDateTimes(r,s)),r=s,o+=1}return i}divideEqually(t){return this.isValid?this.splitBy(this.length()/t).slice(0,t):[]}overlaps(t){return this.e>t.s&&this.s<t.e}abutsStart(t){return this.isValid?+this.e==+t.s:!1}abutsEnd(t){return this.isValid?+t.e==+this.s:!1}engulfs(t){return this.isValid?this.s<=t.s&&this.e>=t.e:!1}equals(t){return!this.isValid||!t.isValid?!1:this.s.equals(t.s)&&this.e.equals(t.e)}intersection(t){if(!this.isValid)return this;const n=this.s>t.s?this.s:t.s,r=this.e<t.e?this.e:t.e;return n>=r?null:It.fromDateTimes(n,r)}union(t){if(!this.isValid)return this;const n=this.s<t.s?this.s:t.s,r=this.e>t.e?this.e:t.e;return It.fromDateTimes(n,r)}static merge(t){const[n,r]=t.sort((o,s)=>o.s-s.s).reduce(([o,s],i)=>s?s.overlaps(i)||s.abutsStart(i)?[o,s.union(i)]:[o.concat([s]),i]:[o,i],[[],null]);return r&&n.push(r),n}static xor(t){let n=null,r=0;const o=[],s=t.map(l=>[{time:l.s,type:"s"},{time:l.e,type:"e"}]),i=Array.prototype.concat(...s),a=i.sort((l,c)=>l.time-c.time);for(const l of a)r+=l.type==="s"?1:-1,r===1?n=l.time:(n&&+n!=+l.time&&o.push(It.fromDateTimes(n,l.time)),n=null);return It.merge(o)}difference(...t){return It.xor([this].concat(t)).map(n=>this.intersection(n)).filter(n=>n&&!n.isEmpty())}toString(){return this.isValid?`[${this.s.toISO()} \u2013 ${this.e.toISO()})`:Ks}toISO(t){return this.isValid?`${this.s.toISO(t)}/${this.e.toISO(t)}`:Ks}toISODate(){return this.isValid?`${this.s.toISODate()}/${this.e.toISODate()}`:Ks}toISOTime(t){return this.isValid?`${this.s.toISOTime(t)}/${this.e.toISOTime(t)}`:Ks}toFormat(t,{separator:n=" \u2013 "}={}){return this.isValid?`${this.s.toFormat(t)}${n}${this.e.toFormat(t)}`:Ks}toDuration(t,n){return this.isValid?this.e.diff(this.s,t,n):it.invalid(this.invalidReason)}mapEndpoints(t){return It.fromDateTimes(t(this.s),t(this.e))}}class sl{static hasDST(t=Kt.defaultZone){const n=et.now().setZone(t).set({month:12});return!t.isUniversal&&n.offset!==n.set({month:6}).offset}static isValidIANAZone(t){return Or.isValidZone(t)}static normalizeZone(t){return Yr(t,Kt.defaultZone)}static months(t="long",{locale:n=null,numberingSystem:r=null,locObj:o=null,outputCalendar:s="gregory"}={}){return(o||At.create(n,r,s)).months(t)}static monthsFormat(t="long",{locale:n=null,numberingSystem:r=null,locObj:o=null,outputCalendar:s="gregory"}={}){return(o||At.create(n,r,s)).months(t,!0)}static weekdays(t="long",{locale:n=null,numberingSystem:r=null,locObj:o=null}={}){return(o||At.create(n,r,null)).weekdays(t)}static weekdaysFormat(t="long",{locale:n=null,numberingSystem:r=null,locObj:o=null}={}){return(o||At.create(n,r,null)).weekdays(t,!0)}static meridiems({locale:t=null}={}){return At.create(t).meridiems()}static eras(t="short",{locale:n=null}={}){return At.create(n,null,"gregory").eras(t)}static features(){return{relative:L1()}}}function Wh(e,t){const n=o=>o.toUTC(0,{keepLocalTime:!0}).startOf("day").valueOf(),r=n(t)-n(e);return Math.floor(it.fromMillis(r).as("days"))}function dY(e,t,n){const r=[["years",(a,l)=>l.year-a.year],["quarters",(a,l)=>l.quarter-a.quarter],["months",(a,l)=>l.month-a.month+(l.year-a.year)*12],["weeks",(a,l)=>{const c=Wh(a,l);return(c-c%7)/7}],["days",Wh]],o={};let s,i;for(const[a,l]of r)if(n.indexOf(a)>=0){s=a;let c=l(e,t);i=e.plus({[a]:c}),i>t?(e=e.plus({[a]:c-1}),c-=1):e=i,o[a]=c}return[e,o,i,s]}function mY(e,t,n,r){let[o,s,i,a]=dY(e,t,n);const l=t-o,c=n.filter(f=>["hours","minutes","seconds","milliseconds"].indexOf(f)>=0);c.length===0&&(i<t&&(i=o.plus({[a]:1})),i!==o&&(s[a]=(s[a]||0)+l/(i-o)));const d=it.fromObject(s,r);return c.length>0?it.fromMillis(l,r).shiftTo(...c).plus(d):d}const tf={arab:"[\u0660-\u0669]",arabext:"[\u06F0-\u06F9]",bali:"[\u1B50-\u1B59]",beng:"[\u09E6-\u09EF]",deva:"[\u0966-\u096F]",fullwide:"[\uFF10-\uFF19]",gujr:"[\u0AE6-\u0AEF]",hanidec:"[\u3007|\u4E00|\u4E8C|\u4E09|\u56DB|\u4E94|\u516D|\u4E03|\u516B|\u4E5D]",khmr:"[\u17E0-\u17E9]",knda:"[\u0CE6-\u0CEF]",laoo:"[\u0ED0-\u0ED9]",limb:"[\u1946-\u194F]",mlym:"[\u0D66-\u0D6F]",mong:"[\u1810-\u1819]",mymr:"[\u1040-\u1049]",orya:"[\u0B66-\u0B6F]",tamldec:"[\u0BE6-\u0BEF]",telu:"[\u0C66-\u0C6F]",thai:"[\u0E50-\u0E59]",tibt:"[\u0F20-\u0F29]",latn:"\\d"},Gh={arab:[1632,1641],arabext:[1776,1785],bali:[6992,7001],beng:[2534,2543],deva:[2406,2415],fullwide:[65296,65303],gujr:[2790,2799],khmr:[6112,6121],knda:[3302,3311],laoo:[3792,3801],limb:[6470,6479],mlym:[3430,3439],mong:[6160,6169],mymr:[4160,4169],orya:[2918,2927],tamldec:[3046,3055],telu:[3174,3183],thai:[3664,3673],tibt:[3872,3881]},fY=tf.hanidec.replace(/[\[|\]]/g,"").split("");function pY(e){let t=parseInt(e,10);if(isNaN(t)){t="";for(let n=0;n<e.length;n++){const r=e.charCodeAt(n);if(e[n].search(tf.hanidec)!==-1)t+=fY.indexOf(e[n]);else for(const o in Gh){const[s,i]=Gh[o];r>=s&&r<=i&&(t+=r-s)}}return parseInt(t,10)}else return t}function Qn({numberingSystem:e},t=""){return new RegExp(`${tf[e||"latn"]}${t}`)}const hY="missing Intl.DateTimeFormat.formatToParts support";function gt(e,t=n=>n){return{regex:e,deser:([n])=>t(pY(n))}}const _Y=String.fromCharCode(160),tb=`[ ${_Y}]`,nb=new RegExp(tb,"g");function gY(e){return e.replace(/\./g,"\\.?").replace(nb,tb)}function Kh(e){return e.replace(/\./g,"").replace(nb," ").toLowerCase()}function er(e,t){return e===null?null:{regex:RegExp(e.map(gY).join("|")),deser:([n])=>e.findIndex(r=>Kh(n)===Kh(r))+t}}function Zh(e,t){return{regex:e,deser:([,n,r])=>Au(n,r),groups:t}}function wc(e){return{regex:e,deser:([t])=>t}}function yY(e){return e.replace(/[\-\[\]{}()*+?.,\\\^$|#\s]/g,"\\$&")}function vY(e,t){const n=Qn(t),r=Qn(t,"{2}"),o=Qn(t,"{3}"),s=Qn(t,"{4}"),i=Qn(t,"{6}"),a=Qn(t,"{1,2}"),l=Qn(t,"{1,3}"),c=Qn(t,"{1,6}"),d=Qn(t,"{1,9}"),f=Qn(t,"{2,4}"),m=Qn(t,"{4,6}"),p=g=>({regex:RegExp(yY(g.val)),deser:([b])=>b,literal:!0}),_=(g=>{if(e.literal)return p(g);switch(g.val){case"G":return er(t.eras("short",!1),0);case"GG":return er(t.eras("long",!1),0);case"y":return gt(c);case"yy":return gt(f,kd);case"yyyy":return gt(s);case"yyyyy":return gt(m);case"yyyyyy":return gt(i);case"M":return gt(a);case"MM":return gt(r);case"MMM":return er(t.months("short",!0,!1),1);case"MMMM":return er(t.months("long",!0,!1),1);case"L":return gt(a);case"LL":return gt(r);case"LLL":return er(t.months("short",!1,!1),1);case"LLLL":return er(t.months("long",!1,!1),1);case"d":return gt(a);case"dd":return gt(r);case"o":return gt(l);case"ooo":return gt(o);case"HH":return gt(r);case"H":return gt(a);case"hh":return gt(r);case"h":return gt(a);case"mm":return gt(r);case"m":return gt(a);case"q":return gt(a);case"qq":return gt(r);case"s":return gt(a);case"ss":return gt(r);case"S":return gt(l);case"SSS":return gt(o);case"u":return wc(d);case"uu":return wc(a);case"uuu":return gt(n);case"a":return er(t.meridiems(),0);case"kkkk":return gt(s);case"kk":return gt(f,kd);case"W":return gt(a);case"WW":return gt(r);case"E":case"c":return gt(n);case"EEE":return er(t.weekdays("short",!1,!1),1);case"EEEE":return er(t.weekdays("long",!1,!1),1);case"ccc":return er(t.weekdays("short",!0,!1),1);case"cccc":return er(t.weekdays("long",!0,!1),1);case"Z":case"ZZ":return Zh(new RegExp(`([+-]${a.source})(?::(${r.source}))?`),2);case"ZZZ":return Zh(new RegExp(`([+-]${a.source})(${r.source})?`),2);case"z":return wc(/[a-z_+-/]{1,256}?/i);default:return p(g)}})(e)||{invalidReason:hY};return _.token=e,_}const bY={year:{"2-digit":"yy",numeric:"yyyyy"},month:{numeric:"M","2-digit":"MM",short:"MMM",long:"MMMM"},day:{numeric:"d","2-digit":"dd"},weekday:{short:"EEE",long:"EEEE"},dayperiod:"a",dayPeriod:"a",hour:{numeric:"h","2-digit":"hh"},minute:{numeric:"m","2-digit":"mm"},second:{numeric:"s","2-digit":"ss"}};function wY(e,t,n){const{type:r,value:o}=e;if(r==="literal")return{literal:!0,val:o};const s=n[r];let i=bY[r];if(typeof i=="object"&&(i=i[s]),i)return{literal:!1,val:i}}function CY(e){return[`^${e.map(n=>n.regex).reduce((n,r)=>`${n}(${r.source})`,"")}$`,e]}function zY(e,t,n){const r=e.match(t);if(r){const o={};let s=1;for(const i in n)if($s(n,i)){const a=n[i],l=a.groups?a.groups+1:1;!a.literal&&a.token&&(o[a.token.val[0]]=a.deser(r.slice(s,s+l))),s+=l}return[r,o]}else return[r,{}]}function xY(e){const t=s=>{switch(s){case"S":return"millisecond";case"s":return"second";case"m":return"minute";case"h":case"H":return"hour";case"d":return"day";case"o":return"ordinal";case"L":case"M":return"month";case"y":return"year";case"E":case"c":return"weekday";case"W":return"weekNumber";case"k":return"weekYear";case"q":return"quarter";default:return null}};let n=null,r;return dt(e.z)||(n=Or.create(e.z)),dt(e.Z)||(n||(n=new fn(e.Z)),r=e.Z),dt(e.q)||(e.M=(e.q-1)*3+1),dt(e.h)||(e.h<12&&e.a===1?e.h+=12:e.h===12&&e.a===0&&(e.h=0)),e.G===0&&e.y&&(e.y=-e.y),dt(e.u)||(e.S=Km(e.u)),[Object.keys(e).reduce((s,i)=>{const a=t(i);return a&&(s[a]=e[i]),s},{}),n,r]}let Cc=null;function kY(){return Cc||(Cc=et.fromMillis(1555555555555)),Cc}function SY(e,t){if(e.literal)return e;const n=xn.macroTokenToFormatOpts(e.val);if(!n)return e;const s=xn.create(t,n).formatDateTimeParts(kY()).map(i=>wY(i,t,n));return s.includes(void 0)?e:s}function EY(e,t){return Array.prototype.concat(...e.map(n=>SY(n,t)))}function rb(e,t,n){const r=EY(xn.parseFormat(n),e),o=r.map(i=>vY(i,e)),s=o.find(i=>i.invalidReason);if(s)return{input:t,tokens:r,invalidReason:s.invalidReason};{const[i,a]=CY(o),l=RegExp(i,"i"),[c,d]=zY(t,l,a),[f,m,p]=d?xY(d):[null,null,void 0];if($s(d,"a")&&$s(d,"H"))throw new ii("Can't include meridiem when specifying 24-hour format");return{input:t,tokens:r,regex:l,rawMatches:c,matches:d,result:f,zone:m,specificOffset:p}}}function $Y(e,t,n){const{result:r,zone:o,specificOffset:s,invalidReason:i}=rb(e,t,n);return[r,o,s,i]}const ob=[0,31,59,90,120,151,181,212,243,273,304,334],sb=[0,31,60,91,121,152,182,213,244,274,305,335];function Wn(e,t){return new rr("unit out of range",`you specified ${t} (of type ${typeof t}) as a ${e}, which is invalid`)}function ib(e,t,n){const r=new Date(Date.UTC(e,t-1,n));e<100&&e>=0&&r.setUTCFullYear(r.getUTCFullYear()-1900);const o=r.getUTCDay();return o===0?7:o}function ab(e,t,n){return n+(Qi(e)?sb:ob)[t-1]}function lb(e,t){const n=Qi(e)?sb:ob,r=n.findIndex(s=>s<t),o=t-n[r];return{month:r+1,day:o}}function Td(e){const{year:t,month:n,day:r}=e,o=ab(t,n,r),s=ib(t,n,r);let i=Math.floor((o-s+10)/7),a;return i<1?(a=t-1,i=Hl(a)):i>Hl(t)?(a=t+1,i=1):a=t,Xe({weekYear:a,weekNumber:i,weekday:s},Tu(e))}function Yh(e){const{weekYear:t,weekNumber:n,weekday:r}=e,o=ib(t,1,4),s=Ei(t);let i=n*7+r-o-3,a;i<1?(a=t-1,i+=Ei(a)):i>s?(a=t+1,i-=Ei(t)):a=t;const{month:l,day:c}=lb(a,i);return Xe({year:a,month:l,day:c},Tu(e))}function zc(e){const{year:t,month:n,day:r}=e,o=ab(t,n,r);return Xe({year:t,ordinal:o},Tu(e))}function Jh(e){const{year:t,ordinal:n}=e,{month:r,day:o}=lb(t,n);return Xe({year:t,month:r,day:o},Tu(e))}function AY(e){const t=$u(e.weekYear),n=Er(e.weekNumber,1,Hl(e.weekYear)),r=Er(e.weekday,1,7);return t?n?r?!1:Wn("weekday",e.weekday):Wn("week",e.week):Wn("weekYear",e.weekYear)}function TY(e){const t=$u(e.year),n=Er(e.ordinal,1,Ei(e.year));return t?n?!1:Wn("ordinal",e.ordinal):Wn("year",e.year)}function ub(e){const t=$u(e.year),n=Er(e.month,1,12),r=Er(e.day,1,Bl(e.year,e.month));return t?n?r?!1:Wn("day",e.day):Wn("month",e.month):Wn("year",e.year)}function cb(e){const{hour:t,minute:n,second:r,millisecond:o}=e,s=Er(t,0,23)||t===24&&n===0&&r===0&&o===0,i=Er(n,0,59),a=Er(r,0,59),l=Er(o,0,999);return s?i?a?l?!1:Wn("millisecond",o):Wn("second",r):Wn("minute",n):Wn("hour",t)}const xc="Invalid DateTime",Xh=864e13;function il(e){return new rr("unsupported zone",`the zone "${e.name}" is not supported`)}function kc(e){return e.weekData===null&&(e.weekData=Td(e.c)),e.weekData}function Zs(e,t){const n={ts:e.ts,zone:e.zone,c:e.c,o:e.o,loc:e.loc,invalid:e.invalid};return new et(Vn(Xe(Xe({},n),t),{old:n}))}function db(e,t,n){let r=e-t*60*1e3;const o=n.offset(r);if(t===o)return[r,t];r-=(o-t)*60*1e3;const s=n.offset(r);return o===s?[r,o]:[e-Math.min(o,s)*60*1e3,Math.max(o,s)]}function Qh(e,t){e+=t*60*1e3;const n=new Date(e);return{year:n.getUTCFullYear(),month:n.getUTCMonth()+1,day:n.getUTCDate(),hour:n.getUTCHours(),minute:n.getUTCMinutes(),second:n.getUTCSeconds(),millisecond:n.getUTCMilliseconds()}}function vl(e,t,n){return db(Ym(e),t,n)}function e_(e,t){const n=e.o,r=e.c.year+Math.trunc(t.years),o=e.c.month+Math.trunc(t.months)+Math.trunc(t.quarters)*3,s=Vn(Xe({},e.c),{year:r,month:o,day:Math.min(e.c.day,Bl(r,o))+Math.trunc(t.days)+Math.trunc(t.weeks)*7}),i=it.fromObject({years:t.years-Math.trunc(t.years),quarters:t.quarters-Math.trunc(t.quarters),months:t.months-Math.trunc(t.months),weeks:t.weeks-Math.trunc(t.weeks),days:t.days-Math.trunc(t.days),hours:t.hours,minutes:t.minutes,seconds:t.seconds,milliseconds:t.milliseconds}).as("milliseconds"),a=Ym(s);let[l,c]=db(a,n,e.zone);return i!==0&&(l+=i,c=e.zone.offset(l)),{ts:l,o:c}}function Ys(e,t,n,r,o,s){const{setZone:i,zone:a}=n;if(e&&Object.keys(e).length!==0){const l=t||a,c=et.fromObject(e,Vn(Xe({},n),{zone:l,specificOffset:s}));return i?c:c.setZone(a)}else return et.invalid(new rr("unparsable",`the input "${o}" can't be parsed as ${r}`))}function al(e,t,n=!0){return e.isValid?xn.create(At.create("en-US"),{allowZ:n,forceSimple:!0}).formatDateTimeFromString(e,t):null}function Sc(e,t){const n=e.c.year>9999||e.c.year<0;let r="";return n&&e.c.year>=0&&(r+="+"),r+=Ut(e.c.year,n?6:4),t?(r+="-",r+=Ut(e.c.month),r+="-",r+=Ut(e.c.day)):(r+=Ut(e.c.month),r+=Ut(e.c.day)),r}function t_(e,t,n,r,o,s){let i=Ut(e.c.hour);return t?(i+=":",i+=Ut(e.c.minute),(e.c.second!==0||!n)&&(i+=":")):i+=Ut(e.c.minute),(e.c.second!==0||!n)&&(i+=Ut(e.c.second),(e.c.millisecond!==0||!r)&&(i+=".",i+=Ut(e.c.millisecond,3))),o&&(e.isOffsetFixed&&e.offset===0&&!s?i+="Z":e.o<0?(i+="-",i+=Ut(Math.trunc(-e.o/60)),i+=":",i+=Ut(Math.trunc(-e.o%60))):(i+="+",i+=Ut(Math.trunc(e.o/60)),i+=":",i+=Ut(Math.trunc(e.o%60)))),s&&(i+="["+e.zone.ianaName+"]"),i}const mb={month:1,day:1,hour:0,minute:0,second:0,millisecond:0},OY={weekNumber:1,weekday:1,hour:0,minute:0,second:0,millisecond:0},PY={ordinal:1,hour:0,minute:0,second:0,millisecond:0},fb=["year","month","day","hour","minute","second","millisecond"],DY=["weekYear","weekNumber","weekday","hour","minute","second","millisecond"],FY=["year","ordinal","hour","minute","second","millisecond"];function n_(e){const t={year:"year",years:"year",month:"month",months:"month",day:"day",days:"day",hour:"hour",hours:"hour",minute:"minute",minutes:"minute",quarter:"quarter",quarters:"quarter",second:"second",seconds:"second",millisecond:"millisecond",milliseconds:"millisecond",weekday:"weekday",weekdays:"weekday",weeknumber:"weekNumber",weeksnumber:"weekNumber",weeknumbers:"weekNumber",weekyear:"weekYear",weekyears:"weekYear",ordinal:"ordinal"}[e.toLowerCase()];if(!t)throw new g1(e);return t}function r_(e,t){const n=Yr(t.zone,Kt.defaultZone),r=At.fromObject(t),o=Kt.now();let s,i;if(dt(e.year))s=o;else{for(const c of fb)dt(e[c])&&(e[c]=mb[c]);const a=ub(e)||cb(e);if(a)return et.invalid(a);const l=n.offset(o);[s,i]=vl(e,l,n)}return new et({ts:s,zone:n,loc:r,o:i})}function o_(e,t,n){const r=dt(n.round)?!0:n.round,o=(i,a)=>(i=Zm(i,r||n.calendary?0:2,!0),t.loc.clone(n).relFormatter(n).format(i,a)),s=i=>n.calendary?t.hasSame(e,i)?0:t.startOf(i).diff(e.startOf(i),i).get(i):t.diff(e,i).get(i);if(n.unit)return o(s(n.unit),n.unit);for(const i of n.units){const a=s(i);if(Math.abs(a)>=1)return o(a,i)}return o(e>t?-0:0,n.units[n.units.length-1])}function s_(e){let t={},n;return e.length>0&&typeof e[e.length-1]=="object"?(t=e[e.length-1],n=Array.from(e).slice(0,e.length-1)):n=Array.from(e),[t,n]}class et{constructor(t){const n=t.zone||Kt.defaultZone;let r=t.invalid||(Number.isNaN(t.ts)?new rr("invalid input"):null)||(n.isValid?null:il(n));this.ts=dt(t.ts)?Kt.now():t.ts;let o=null,s=null;if(!r)if(t.old&&t.old.ts===this.ts&&t.old.zone.equals(n))[o,s]=[t.old.c,t.old.o];else{const a=n.offset(this.ts);o=Qh(this.ts,a),r=Number.isNaN(o.year)?new rr("invalid input"):null,o=r?null:o,s=r?null:a}this._zone=n,this.loc=t.loc||At.create(),this.invalid=r,this.weekData=null,this.c=o,this.o=s,this.isLuxonDateTime=!0}static now(){return new et({})}static local(){const[t,n]=s_(arguments),[r,o,s,i,a,l,c]=n;return r_({year:r,month:o,day:s,hour:i,minute:a,second:l,millisecond:c},t)}static utc(){const[t,n]=s_(arguments),[r,o,s,i,a,l,c]=n;return t.zone=fn.utcInstance,r_({year:r,month:o,day:s,hour:i,minute:a,second:l,millisecond:c},t)}static fromJSDate(t,n={}){const r=BK(t)?t.valueOf():NaN;if(Number.isNaN(r))return et.invalid("invalid input");const o=Yr(n.zone,Kt.defaultZone);return o.isValid?new et({ts:r,zone:o,loc:At.fromObject(n)}):et.invalid(il(o))}static fromMillis(t,n={}){if($o(t))return t<-Xh||t>Xh?et.invalid("Timestamp out of range"):new et({ts:t,zone:Yr(n.zone,Kt.defaultZone),loc:At.fromObject(n)});throw new Un(`fromMillis requires a numerical input, but received a ${typeof t} with value ${t}`)}static fromSeconds(t,n={}){if($o(t))return new et({ts:t*1e3,zone:Yr(n.zone,Kt.defaultZone),loc:At.fromObject(n)});throw new Un("fromSeconds requires a numerical input")}static fromObject(t,n={}){t=t||{};const r=Yr(n.zone,Kt.defaultZone);if(!r.isValid)return et.invalid(il(r));const o=Kt.now(),s=dt(n.specificOffset)?r.offset(o):n.specificOffset,i=Ul(t,n_),a=!dt(i.ordinal),l=!dt(i.year),c=!dt(i.month)||!dt(i.day),d=l||c,f=i.weekYear||i.weekNumber,m=At.fromObject(n);if((d||a)&&f)throw new ii("Can't mix weekYear/weekNumber units with year/month/day or ordinals");if(c&&a)throw new ii("Can't mix ordinal dates with month/day");const p=f||i.weekday&&!d;let h,_,g=Qh(o,s);p?(h=DY,_=OY,g=Td(g)):a?(h=FY,_=PY,g=zc(g)):(h=fb,_=mb);let b=!1;for(const F of h){const A=i[F];dt(A)?b?i[F]=_[F]:i[F]=g[F]:b=!0}const w=p?AY(i):a?TY(i):ub(i),x=w||cb(i);if(x)return et.invalid(x);const z=p?Yh(i):a?Jh(i):i,[E,T]=vl(z,s,r),V=new et({ts:E,zone:r,o:T,loc:m});return i.weekday&&d&&t.weekday!==V.weekday?et.invalid("mismatched weekday",`you can't specify both a weekday of ${i.weekday} and a date of ${V.toISO()}`):V}static fromISO(t,n={}){const[r,o]=KZ(t);return Ys(r,o,n,"ISO 8601",t)}static fromRFC2822(t,n={}){const[r,o]=ZZ(t);return Ys(r,o,n,"RFC 2822",t)}static fromHTTP(t,n={}){const[r,o]=YZ(t);return Ys(r,o,n,"HTTP",n)}static fromFormat(t,n,r={}){if(dt(t)||dt(n))throw new Un("fromFormat requires an input string and a format");const{locale:o=null,numberingSystem:s=null}=r,i=At.fromOpts({locale:o,numberingSystem:s,defaultToEN:!0}),[a,l,c,d]=$Y(i,t,n);return d?et.invalid(d):Ys(a,l,r,`format ${n}`,t,c)}static fromString(t,n,r={}){return et.fromFormat(t,n,r)}static fromSQL(t,n={}){const[r,o]=rY(t);return Ys(r,o,n,"SQL",t)}static invalid(t,n=null){if(!t)throw new Un("need to specify a reason the DateTime is invalid");const r=t instanceof rr?t:new rr(t,n);if(Kt.throwOnInvalid)throw new MK(r);return new et({invalid:r})}static isDateTime(t){return t&&t.isLuxonDateTime||!1}get(t){return this[t]}get isValid(){return this.invalid===null}get invalidReason(){return this.invalid?this.invalid.reason:null}get invalidExplanation(){return this.invalid?this.invalid.explanation:null}get locale(){return this.isValid?this.loc.locale:null}get numberingSystem(){return this.isValid?this.loc.numberingSystem:null}get outputCalendar(){return this.isValid?this.loc.outputCalendar:null}get zone(){return this._zone}get zoneName(){return this.isValid?this.zone.name:null}get year(){return this.isValid?this.c.year:NaN}get quarter(){return this.isValid?Math.ceil(this.c.month/3):NaN}get month(){return this.isValid?this.c.month:NaN}get day(){return this.isValid?this.c.day:NaN}get hour(){return this.isValid?this.c.hour:NaN}get minute(){return this.isValid?this.c.minute:NaN}get second(){return this.isValid?this.c.second:NaN}get millisecond(){return this.isValid?this.c.millisecond:NaN}get weekYear(){return this.isValid?kc(this).weekYear:NaN}get weekNumber(){return this.isValid?kc(this).weekNumber:NaN}get weekday(){return this.isValid?kc(this).weekday:NaN}get ordinal(){return this.isValid?zc(this.c).ordinal:NaN}get monthShort(){return this.isValid?sl.months("short",{locObj:this.loc})[this.month-1]:null}get monthLong(){return this.isValid?sl.months("long",{locObj:this.loc})[this.month-1]:null}get weekdayShort(){return this.isValid?sl.weekdays("short",{locObj:this.loc})[this.weekday-1]:null}get weekdayLong(){return this.isValid?sl.weekdays("long",{locObj:this.loc})[this.weekday-1]:null}get offset(){return this.isValid?+this.o:NaN}get offsetNameShort(){return this.isValid?this.zone.offsetName(this.ts,{format:"short",locale:this.locale}):null}get offsetNameLong(){return this.isValid?this.zone.offsetName(this.ts,{format:"long",locale:this.locale}):null}get isOffsetFixed(){return this.isValid?this.zone.isUniversal:null}get isInDST(){return this.isOffsetFixed?!1:this.offset>this.set({month:1,day:1}).offset||this.offset>this.set({month:5}).offset}get isInLeapYear(){return Qi(this.year)}get daysInMonth(){return Bl(this.year,this.month)}get daysInYear(){return this.isValid?Ei(this.year):NaN}get weeksInWeekYear(){return this.isValid?Hl(this.weekYear):NaN}resolvedLocaleOptions(t={}){const{locale:n,numberingSystem:r,calendar:o}=xn.create(this.loc.clone(t),t).resolvedOptions(this);return{locale:n,numberingSystem:r,outputCalendar:o}}toUTC(t=0,n={}){return this.setZone(fn.instance(t),n)}toLocal(){return this.setZone(Kt.defaultZone)}setZone(t,{keepLocalTime:n=!1,keepCalendarTime:r=!1}={}){if(t=Yr(t,Kt.defaultZone),t.equals(this.zone))return this;if(t.isValid){let o=this.ts;if(n||r){const s=t.offset(this.ts),i=this.toObject();[o]=vl(i,s,t)}return Zs(this,{ts:o,zone:t})}else return et.invalid(il(t))}reconfigure({locale:t,numberingSystem:n,outputCalendar:r}={}){const o=this.loc.clone({locale:t,numberingSystem:n,outputCalendar:r});return Zs(this,{loc:o})}setLocale(t){return this.reconfigure({locale:t})}set(t){if(!this.isValid)return this;const n=Ul(t,n_),r=!dt(n.weekYear)||!dt(n.weekNumber)||!dt(n.weekday),o=!dt(n.ordinal),s=!dt(n.year),i=!dt(n.month)||!dt(n.day),a=s||i,l=n.weekYear||n.weekNumber;if((a||o)&&l)throw new ii("Can't mix weekYear/weekNumber units with year/month/day or ordinals");if(i&&o)throw new ii("Can't mix ordinal dates with month/day");let c;r?c=Yh(Xe(Xe({},Td(this.c)),n)):dt(n.ordinal)?(c=Xe(Xe({},this.toObject()),n),dt(n.day)&&(c.day=Math.min(Bl(c.year,c.month),c.day))):c=Jh(Xe(Xe({},zc(this.c)),n));const[d,f]=vl(c,this.o,this.zone);return Zs(this,{ts:d,o:f})}plus(t){if(!this.isValid)return this;const n=it.fromDurationLike(t);return Zs(this,e_(this,n))}minus(t){if(!this.isValid)return this;const n=it.fromDurationLike(t).negate();return Zs(this,e_(this,n))}startOf(t){if(!this.isValid)return this;const n={},r=it.normalizeUnit(t);switch(r){case"years":n.month=1;case"quarters":case"months":n.day=1;case"weeks":case"days":n.hour=0;case"hours":n.minute=0;case"minutes":n.second=0;case"seconds":n.millisecond=0;break}if(r==="weeks"&&(n.weekday=1),r==="quarters"){const o=Math.ceil(this.month/3);n.month=(o-1)*3+1}return this.set(n)}endOf(t){return this.isValid?this.plus({[t]:1}).startOf(t).minus(1):this}toFormat(t,n={}){return this.isValid?xn.create(this.loc.redefaultToEN(n)).formatDateTimeFromString(this,t):xc}toLocaleString(t=xd,n={}){return this.isValid?xn.create(this.loc.clone(n),t).formatDateTime(this):xc}toLocaleParts(t={}){return this.isValid?xn.create(this.loc.clone(t),t).formatDateTimeParts(this):[]}toISO({format:t="extended",suppressSeconds:n=!1,suppressMilliseconds:r=!1,includeOffset:o=!0,extendedZone:s=!1}={}){if(!this.isValid)return null;const i=t==="extended";let a=Sc(this,i);return a+="T",a+=t_(this,i,n,r,o,s),a}toISODate({format:t="extended"}={}){return this.isValid?Sc(this,t==="extended"):null}toISOWeekDate(){return al(this,"kkkk-'W'WW-c")}toISOTime({suppressMilliseconds:t=!1,suppressSeconds:n=!1,includeOffset:r=!0,includePrefix:o=!1,extendedZone:s=!1,format:i="extended"}={}){return this.isValid?(o?"T":"")+t_(this,i==="extended",n,t,r,s):null}toRFC2822(){return al(this,"EEE, dd LLL yyyy HH:mm:ss ZZZ",!1)}toHTTP(){return al(this.toUTC(),"EEE, dd LLL yyyy HH:mm:ss 'GMT'")}toSQLDate(){return this.isValid?Sc(this,!0):null}toSQLTime({includeOffset:t=!0,includeZone:n=!1,includeOffsetSpace:r=!0}={}){let o="HH:mm:ss.SSS";return(n||t)&&(r&&(o+=" "),n?o+="z":t&&(o+="ZZ")),al(this,o,!0)}toSQL(t={}){return this.isValid?`${this.toSQLDate()} ${this.toSQLTime(t)}`:null}toString(){return this.isValid?this.toISO():xc}valueOf(){return this.toMillis()}toMillis(){return this.isValid?this.ts:NaN}toSeconds(){return this.isValid?this.ts/1e3:NaN}toUnixInteger(){return this.isValid?Math.floor(this.ts/1e3):NaN}toJSON(){return this.toISO()}toBSON(){return this.toJSDate()}toObject(t={}){if(!this.isValid)return{};const n=Xe({},this.c);return t.includeConfig&&(n.outputCalendar=this.outputCalendar,n.numberingSystem=this.loc.numberingSystem,n.locale=this.loc.locale),n}toJSDate(){return new Date(this.isValid?this.ts:NaN)}diff(t,n="milliseconds",r={}){if(!this.isValid||!t.isValid)return it.invalid("created by diffing an invalid DateTime");const o=Xe({locale:this.locale,numberingSystem:this.numberingSystem},r),s=HK(n).map(it.normalizeUnit),i=t.valueOf()>this.valueOf(),a=i?this:t,l=i?t:this,c=mY(a,l,s,o);return i?c.negate():c}diffNow(t="milliseconds",n={}){return this.diff(et.now(),t,n)}until(t){return this.isValid?It.fromDateTimes(this,t):this}hasSame(t,n){if(!this.isValid)return!1;const r=t.valueOf(),o=this.setZone(t.zone,{keepLocalTime:!0});return o.startOf(n)<=r&&r<=o.endOf(n)}equals(t){return this.isValid&&t.isValid&&this.valueOf()===t.valueOf()&&this.zone.equals(t.zone)&&this.loc.equals(t.loc)}toRelative(t={}){if(!this.isValid)return null;const n=t.base||et.fromObject({},{zone:this.zone}),r=t.padding?this<n?-t.padding:t.padding:0;let o=["years","months","days","hours","minutes","seconds"],s=t.unit;return Array.isArray(t.unit)&&(o=t.unit,s=void 0),o_(n,this.plus(r),Vn(Xe({},t),{numeric:"always",units:o,unit:s}))}toRelativeCalendar(t={}){return this.isValid?o_(t.base||et.fromObject({},{zone:this.zone}),this,Vn(Xe({},t),{numeric:"auto",units:["years","months","days"],calendary:!0})):null}static min(...t){if(!t.every(et.isDateTime))throw new Un("min requires all arguments be DateTimes");return Mh(t,n=>n.valueOf(),Math.min)}static max(...t){if(!t.every(et.isDateTime))throw new Un("max requires all arguments be DateTimes");return Mh(t,n=>n.valueOf(),Math.max)}static fromFormatExplain(t,n,r={}){const{locale:o=null,numberingSystem:s=null}=r,i=At.fromOpts({locale:o,numberingSystem:s,defaultToEN:!0});return rb(i,t,n)}static fromStringExplain(t,n,r={}){return et.fromFormatExplain(t,n,r)}static get DATE_SHORT(){return xd}static get DATE_MED(){return y1}static get DATE_MED_WITH_WEEKDAY(){return NK}static get DATE_FULL(){return v1}static get DATE_HUGE(){return b1}static get TIME_SIMPLE(){return w1}static get TIME_WITH_SECONDS(){return C1}static get TIME_WITH_SHORT_OFFSET(){return z1}static get TIME_WITH_LONG_OFFSET(){return x1}static get TIME_24_SIMPLE(){return k1}static get TIME_24_WITH_SECONDS(){return S1}static get TIME_24_WITH_SHORT_OFFSET(){return E1}static get TIME_24_WITH_LONG_OFFSET(){return $1}static get DATETIME_SHORT(){return A1}static get DATETIME_SHORT_WITH_SECONDS(){return T1}static get DATETIME_MED(){return O1}static get DATETIME_MED_WITH_SECONDS(){return P1}static get DATETIME_MED_WITH_WEEKDAY(){return VK}static get DATETIME_FULL(){return D1}static get DATETIME_FULL_WITH_SECONDS(){return F1}static get DATETIME_HUGE(){return I1}static get DATETIME_HUGE_WITH_SECONDS(){return M1}}function Js(e){if(et.isDateTime(e))return e;if(e&&e.valueOf&&$o(e.valueOf()))return et.fromJSDate(e);if(e&&typeof e=="object")return et.fromObject(e);throw new Un(`Unknown datetime argument: ${e}, of type ${typeof e}`)}const{t:Ec,locale:$c}=Gi.global,IY={durationInHours:function(e){const t=Math.floor(e/1e3);return t>3600?it.fromObject({seconds:t}).shiftTo("hours","minutes","seconds").toFormat("hh:mm:ss"):it.fromObject({seconds:t}).shiftTo("minutes","seconds").toFormat("mm:ss")},durationInDays:function(e){const t=Math.floor(e/6e4);return t>1440?it.fromObject({minutes:t}).shiftTo("days","hours","minutes").toHuman():t>60?it.fromObject({minutes:t}).shiftTo("hours","minutes").toHuman():it.fromObject({minutes:t}).shiftTo("minutes").toHuman()},date:function(e){return et.fromISO(e).setLocale($c.value).toLocaleString(et.DATE_FULL)},datetime:function(e){return et.fromISO(e).setLocale($c.value).toLocaleString(et.DATETIME_MED)},timeFromNow:function(e){var t=et.now().diff(et.fromISO(e));return this.durationInDays(t.as("milliseconds"))},number:function(e){return e.toLocaleString($c.value)},channels:function(e){return e===1?Ec("filter.mono"):e===2?Ec("filter.stereo"):e?Ec("filter.channels",{value:e}):""}},MY={mdiAccountMusic:zG,mdiAlbum:xG,mdiArrowCollapseDown:SG,mdiBookOpenPageVariant:EG,mdiBookOpenVariant:$G,mdiBookshelf:AG,mdiBroadcast:TG,mdiCancel:OG,mdiCast:PG,mdiCastVariant:DG,mdiCellphone:FG,mdiCheck:IG,mdiChevronDown:MG,mdiChevronUp:LG,mdiContentSave:RG,mdiDelete:NG,mdiDeleteEmpty:VG,mdiDotsHorizontal:jG,mdiDotsVertical:BG,mdiDragHorizontal:HG,mdiFastForward:UG,mdiFileMusic:qG,mdiFileOutline:WG,mdiFire:GG,mdiFolder:KG,mdiFolderOpen:ZG,mdiMagnify:YG,mdiMenu:JG,mdiMicrophone:XG,mdiMusic:QG,mdiMusicBoxMultiple:eK,mdiOpenInNew:tK,mdiPause:nK,mdiPencil:rK,mdiPipe:oK,mdiPlay:sK,mdiPlaylistPlay:iK,mdiPlaylistPlus:aK,mdiRadio:lK,mdiRadioTower:uK,mdiRefresh:cK,mdiRepeat:dK,mdiRepeatOff:mK,mdiRepeatOnce:fK,mdiRewind:pK,mdiRss:hK,mdiServer:_K,mdiShuffle:gK,mdiShuffleDisabled:yK,mdiSkipBackward:vK,mdiSkipForward:bK,mdiSpeaker:wK,mdiSpotify:CK,mdiStop:zK,mdiSubdirectoryArrowLeft:xK,mdiVolumeHigh:kK,mdiVolumeOff:SK,mdiWeb:EK},LY={name:"NavbarItemLink",props:{to:String,exact:Boolean},computed:{is_active(){return this.exact?this.$route.path===this.to:this.$route.path.startsWith(this.to)},show_player_menu:{get(){return this.$store.state.show_player_menu},set(e){this.$store.commit(ws,e)}},show_burger_menu:{get(){return this.$store.state.show_burger_menu},set(e){this.$store.commit(bs,e)}}},methods:{open_link:function(){this.show_burger_menu&&this.$store.commit(bs,!1),this.show_player_menu&&this.$store.commit(ws,!1),this.$router.push({path:this.to})},full_path:function(){return this.$router.resolve(this.to).href}}},RY=["href"];function NY(e,t,n,r,o,s){return S(),D("a",{class:Ye(["navbar-item",{"is-active":s.is_active}]),href:s.full_path(),onClick:t[0]||(t[0]=_t(i=>s.open_link(),["stop","prevent"]))},[xt(e.$slots,"default")],10,RY)}var pb=ve(LY,[["render",NY]]);const VY={name:"NavbarTop",components:{NavbarItemLink:pb},data(){return{show_settings_menu:!1}},computed:{is_visible_playlists(){return this.$store.getters.settings_option("webinterface","show_menu_item_playlists").value},is_visible_music(){return this.$store.getters.settings_option("webinterface","show_menu_item_music").value},is_visible_podcasts(){return this.$store.getters.settings_option("webinterface","show_menu_item_podcasts").value},is_visible_audiobooks(){return this.$store.getters.settings_option("webinterface","show_menu_item_audiobooks").value},is_visible_radio(){return this.$store.getters.settings_option("webinterface","show_menu_item_radio").value},is_visible_files(){return this.$store.getters.settings_option("webinterface","show_menu_item_files").value},is_visible_search(){return this.$store.getters.settings_option("webinterface","show_menu_item_search").value},player(){return this.$store.state.player},config(){return this.$store.state.config},library(){return this.$store.state.library},audiobooks(){return this.$store.state.audiobooks_count},podcasts(){return this.$store.state.podcasts_count},spotify_enabled(){return this.$store.state.spotify.webapi_token_valid},show_burger_menu:{get(){return this.$store.state.show_burger_menu},set(e){this.$store.commit(bs,e)}},show_player_menu(){return this.$store.state.show_player_menu},show_update_dialog:{get(){return this.$store.state.show_update_dialog},set(e){this.$store.commit(Ki,e)}},zindex(){return this.show_player_menu?"z-index: 20":""}},watch:{$route(e,t){this.show_settings_menu=!1}},methods:{on_click_outside_settings(){this.show_settings_menu=!this.show_settings_menu},open_update_dialog(){this.show_update_dialog=!0,this.show_settings_menu=!1,this.show_burger_menu=!1}}},jY={class:"navbar-brand"},BY={class:"icon"},HY={class:"icon"},UY={class:"icon"},qY={class:"icon"},WY={class:"icon"},GY={class:"icon"},KY={class:"icon"},ZY=u("span",null,null,-1),YY=u("span",null,null,-1),JY=u("span",null,null,-1),XY=[ZY,YY,JY],QY=u("div",{class:"navbar-start"},null,-1),eJ={class:"navbar-end"},tJ={class:"navbar-link is-arrowless"},nJ={class:"icon is-hidden-touch"},rJ=["textContent"],oJ={class:"navbar-dropdown is-right"},sJ={class:"icon"},iJ=["textContent"],aJ={class:"icon"},lJ=["textContent"],uJ=["textContent"],cJ=["textContent"],dJ=["textContent"],mJ=["textContent"],fJ={class:"icon"},pJ=["textContent"],hJ={class:"icon"},_J=["textContent"],gJ={class:"icon"},yJ=["textContent"],vJ={class:"icon"},bJ=["textContent"],wJ={class:"icon"},CJ=["textContent"],zJ=u("hr",{class:"fd-navbar-divider"},null,-1),xJ=["textContent"],kJ=u("div",{class:"navbar-item is-hidden-desktop",style:{"margin-bottom":"2.5rem"}},null,-1);function SJ(e,t,n,r,o,s){const i=O("mdicon"),a=O("navbar-item-link");return S(),D("nav",{class:"fd-top-navbar navbar is-light is-fixed-top",style:ao(s.zindex),role:"navigation","aria-label":"main navigation"},[u("div",jY,[s.is_visible_playlists?(S(),xe(a,{key:0,to:"/playlists"},{default:P(()=>[u("span",BY,[C(i,{name:"music-box-multiple",size:"16"})])]),_:1})):X("",!0),s.is_visible_music?(S(),xe(a,{key:1,to:"/music"},{default:P(()=>[u("span",HY,[C(i,{name:"music",size:"16"})])]),_:1})):X("",!0),s.is_visible_podcasts?(S(),xe(a,{key:2,to:"/podcasts"},{default:P(()=>[u("span",UY,[C(i,{name:"microphone",size:"16"})])]),_:1})):X("",!0),s.is_visible_audiobooks?(S(),xe(a,{key:3,to:"/audiobooks"},{default:P(()=>[u("span",qY,[C(i,{name:"book-open-variant",size:"16"})])]),_:1})):X("",!0),s.is_visible_radio?(S(),xe(a,{key:4,to:"/radio"},{default:P(()=>[u("span",WY,[C(i,{name:"radio",size:"16"})])]),_:1})):X("",!0),s.is_visible_files?(S(),xe(a,{key:5,to:"/files"},{default:P(()=>[u("span",GY,[C(i,{name:"folder-open",size:"16"})])]),_:1})):X("",!0),s.is_visible_search?(S(),xe(a,{key:6,to:"/search"},{default:P(()=>[u("span",KY,[C(i,{name:"magnify",size:"16"})])]),_:1})):X("",!0),u("div",{class:Ye(["navbar-burger",{"is-active":s.show_burger_menu}]),onClick:t[0]||(t[0]=l=>s.show_burger_menu=!s.show_burger_menu)},XY,2)]),u("div",{class:Ye(["navbar-menu",{"is-active":s.show_burger_menu}])},[QY,u("div",eJ,[u("div",{class:Ye(["navbar-item has-dropdown is-hoverable",{"is-active":o.show_settings_menu}]),onClick:t[2]||(t[2]=(...l)=>s.on_click_outside_settings&&s.on_click_outside_settings(...l))},[u("a",tJ,[u("span",nJ,[C(i,{name:"menu",size:"24"})]),u("span",{class:"is-hidden-desktop has-text-weight-bold",textContent:v(e.$t("navigation.title"))},null,8,rJ)]),u("div",oJ,[C(a,{to:"/playlists"},{default:P(()=>[u("span",sJ,[C(i,{name:"music-box-multiple",size:"16"})]),u("b",{textContent:v(e.$t("navigation.playlists"))},null,8,iJ)]),_:1}),C(a,{to:"/music",exact:""},{default:P(()=>[u("span",aJ,[C(i,{name:"music",size:"16"})]),u("b",{textContent:v(e.$t("navigation.music"))},null,8,lJ)]),_:1}),C(a,{to:"/music/artists"},{default:P(()=>[u("span",{class:"fd-navbar-item-level2",textContent:v(e.$t("navigation.artists"))},null,8,uJ)]),_:1}),C(a,{to:"/music/albums"},{default:P(()=>[u("span",{class:"fd-navbar-item-level2",textContent:v(e.$t("navigation.albums"))},null,8,cJ)]),_:1}),C(a,{to:"/music/genres"},{default:P(()=>[u("span",{class:"fd-navbar-item-level2",textContent:v(e.$t("navigation.genres"))},null,8,dJ)]),_:1}),s.spotify_enabled?(S(),xe(a,{key:0,to:"/music/spotify"},{default:P(()=>[u("span",{class:"fd-navbar-item-level2",textContent:v(e.$t("navigation.spotify"))},null,8,mJ)]),_:1})):X("",!0),C(a,{to:"/podcasts"},{default:P(()=>[u("span",fJ,[C(i,{name:"microphone",size:"16"})]),u("b",{textContent:v(e.$t("navigation.podcasts"))},null,8,pJ)]),_:1}),C(a,{to:"/audiobooks"},{default:P(()=>[u("span",hJ,[C(i,{name:"book-open-variant",size:"16"})]),u("b",{textContent:v(e.$t("navigation.audiobooks"))},null,8,_J)]),_:1}),C(a,{to:"/radio"},{default:P(()=>[u("span",gJ,[C(i,{name:"radio",size:"16"})]),u("b",{textContent:v(e.$t("navigation.radio"))},null,8,yJ)]),_:1}),C(a,{to:"/files"},{default:P(()=>[u("span",vJ,[C(i,{name:"folder-open",size:"16"})]),u("b",{textContent:v(e.$t("navigation.files"))},null,8,bJ)]),_:1}),C(a,{to:"/search"},{default:P(()=>[u("span",wJ,[C(i,{name:"magnify",size:"16"})]),u("b",{textContent:v(e.$t("navigation.search"))},null,8,CJ)]),_:1}),zJ,C(a,{to:"/settings/webinterface"},{default:P(()=>[vt(v(e.$t("navigation.settings")),1)]),_:1}),u("a",{class:"navbar-item",onClick:t[1]||(t[1]=_t(l=>s.open_update_dialog(),["stop","prevent"])),textContent:v(e.$t("navigation.update-library"))},null,8,xJ),C(a,{to:"/about"},{default:P(()=>[vt(v(e.$t("navigation.about")),1)]),_:1}),kJ])],2)])],2),kt(u("div",{class:"is-overlay",style:{"z-index":"10",width:"100vw",height:"100vh"},onClick:t[3]||(t[3]=l=>o.show_settings_menu=!1)},null,512),[[vs,o.show_settings_menu]])],4)}var EJ=ve(VY,[["render",SJ]]),Xs={_audio:new Audio,_context:null,_source:null,_gain:null,setupAudio(){const e=window.AudioContext||window.webkitAudioContext;return this._context=new e,this._source=this._context.createMediaElementSource(this._audio),this._gain=this._context.createGain(),this._source.connect(this._gain),this._gain.connect(this._context.destination),this._audio.addEventListener("canplaythrough",t=>{this._audio.play()}),this._audio.addEventListener("canplay",t=>{this._audio.play()}),this._audio},setVolume(e){!this._gain||(e=parseFloat(e)||0,e=e<0?0:e,e=e>1?1:e,this._gain.gain.value=e)},playSource(e){this.stopAudio(),this._context.resume().then(()=>{this._audio.src=String(e||"")+"?x="+Date.now(),this._audio.crossOrigin="anonymous",this._audio.load()})},stopAudio(){try{this._audio.pause()}catch{}try{this._audio.stop()}catch{}try{this._audio.close()}catch{}}};const $J={name:"NavbarItemOutput",components:{Slider:Mi},props:["output"],computed:{type_class(){return this.output.type.startsWith("AirPlay")?"cast-variant":this.output.type==="Chromecast"?"cast":this.output.type==="fifo"?"pipe":"server"},volume(){return this.output.selected?this.output.volume:0}},methods:{play_next:function(){Z.player_next()},set_volume:function(e){Z.player_output_volume(this.output.id,e)},set_enabled:function(){const e={selected:!this.output.selected};Z.output_update(this.output.id,e)}}},AJ={class:"navbar-item"},TJ={class:"level is-mobile"},OJ={class:"level-left fd-expanded"},PJ={class:"level-item",style:{"flex-grow":"0"}},DJ={class:"button is-white is-small"},FJ={class:"level-item fd-expanded"},IJ={class:"fd-expanded"},MJ=["textContent"];function LJ(e,t,n,r,o,s){const i=O("mdicon"),a=O("Slider");return S(),D("div",AJ,[u("div",TJ,[u("div",OJ,[u("div",PJ,[u("a",DJ,[u("span",{class:Ye(["icon fd-has-action",{"has-text-grey-light":!n.output.selected}]),onClick:t[0]||(t[0]=(...l)=>s.set_enabled&&s.set_enabled(...l))},[C(i,{name:s.type_class,size:"18",title:n.output.type},null,8,["name","title"])],2)])]),u("div",FJ,[u("div",IJ,[u("p",{class:Ye(["heading",{"has-text-grey-light":!n.output.selected}]),textContent:v(n.output.name)},null,10,MJ),C(a,{modelValue:s.volume,"onUpdate:modelValue":t[1]||(t[1]=l=>s.volume=l),min:0,max:100,step:1,tooltips:!1,disabled:!n.output.selected,classes:{target:"slider"},onChange:s.set_volume},null,8,["modelValue","disabled","onChange"])])])])])])}var RJ=ve($J,[["render",LJ]]);const NJ={name:"PlayerButtonPlayPause",props:{icon_size:{type:Number,default:16},show_disabled_message:Boolean},computed:{is_playing(){return this.$store.state.player.state==="play"},is_pause_allowed(){return this.$store.getters.now_playing&&this.$store.getters.now_playing.data_kind!=="pipe"},disabled(){return!this.$store.state.queue||this.$store.state.queue.count<=0},icon_name(){if(this.is_playing){if(this.is_pause_allowed)return"pause"}else return"play";return"stop"}},methods:{toggle_play_pause:function(){if(this.disabled){this.show_disabled_message&&this.$store.dispatch("add_notification",{text:this.$t("server.empty-queue"),type:"info",topic:"connection",timeout:2e3});return}this.is_playing&&this.is_pause_allowed?Z.player_pause():this.is_playing&&!this.is_pause_allowed?Z.player_stop():Z.player_play()}}},VJ=["disabled"],jJ={class:"icon"};function BJ(e,t,n,r,o,s){const i=O("mdicon");return S(),D("a",{disabled:s.disabled,onClick:t[0]||(t[0]=(...a)=>s.toggle_play_pause&&s.toggle_play_pause(...a))},[u("span",jJ,[C(i,{name:s.icon_name,size:n.icon_size},null,8,["name","size"])])],8,VJ)}var HJ=ve(NJ,[["render",BJ]]);const UJ={name:"PlayerButtonNext",props:{icon_size:{type:Number,default:16}},computed:{disabled(){return!this.$store.state.queue||this.$store.state.queue.count<=0}},methods:{play_next:function(){this.disabled||Z.player_next()}}},qJ=["disabled"],WJ={class:"icon"};function GJ(e,t,n,r,o,s){const i=O("mdicon");return S(),D("a",{disabled:s.disabled,onClick:t[0]||(t[0]=(...a)=>s.play_next&&s.play_next(...a))},[u("span",WJ,[C(i,{name:"skip-forward",size:n.icon_size},null,8,["size"])])],8,qJ)}var KJ=ve(UJ,[["render",GJ]]);const ZJ={name:"PlayerButtonPrevious",props:{icon_size:{type:Number,default:16}},computed:{disabled(){return!this.$store.state.queue||this.$store.state.queue.count<=0}},methods:{play_previous:function(){this.disabled||Z.player_previous()}}},YJ=["disabled"],JJ={class:"icon"};function XJ(e,t,n,r,o,s){const i=O("mdicon");return S(),D("a",{disabled:s.disabled,onClick:t[0]||(t[0]=(...a)=>s.play_previous&&s.play_previous(...a))},[u("span",JJ,[C(i,{name:"skip-backward",size:n.icon_size},null,8,["size"])])],8,YJ)}var QJ=ve(ZJ,[["render",XJ]]);const eX={name:"PlayerButtonShuffle",props:{icon_size:{type:Number,default:16}},computed:{is_shuffle(){return this.$store.state.player.shuffle},icon_name(){return this.is_shuffle?"shuffle":"shuffle-disabled"}},methods:{toggle_shuffle_mode:function(){Z.player_shuffle(!this.is_shuffle)}}},tX={class:"icon"};function nX(e,t,n,r,o,s){const i=O("mdicon");return S(),D("a",{class:Ye({"is-warning":s.is_shuffle}),onClick:t[0]||(t[0]=(...a)=>s.toggle_shuffle_mode&&s.toggle_shuffle_mode(...a))},[u("span",tX,[C(i,{name:s.icon_name,size:n.icon_size},null,8,["name","size"])])],2)}var rX=ve(eX,[["render",nX]]);const oX={name:"PlayerButtonConsume",props:{icon_size:{type:Number,default:16}},computed:{is_consume(){return this.$store.state.player.consume}},methods:{toggle_consume_mode:function(){Z.player_consume(!this.is_consume)}}},sX={class:"icon"};function iX(e,t,n,r,o,s){const i=O("mdicon");return S(),D("a",{class:Ye({"is-warning":s.is_consume}),onClick:t[0]||(t[0]=(...a)=>s.toggle_consume_mode&&s.toggle_consume_mode(...a))},[u("span",sX,[C(i,{name:"fire",size:n.icon_size},null,8,["size"])])],2)}var aX=ve(oX,[["render",iX]]);const lX={name:"PlayerButtonRepeat",props:{icon_size:{type:Number,default:16}},computed:{is_repeat_all(){return this.$store.state.player.repeat==="all"},is_repeat_single(){return this.$store.state.player.repeat==="single"},is_repeat_off(){return!this.is_repeat_all&&!this.is_repeat_single},icon_name(){return this.is_repeat_all?"repeat":this.is_repeat_single?"repeat-once":"repeat-off"}},methods:{toggle_repeat_mode:function(){this.is_repeat_all?Z.player_repeat("single"):this.is_repeat_single?Z.player_repeat("off"):Z.player_repeat("all")}}},uX={class:"icon"};function cX(e,t,n,r,o,s){const i=O("mdicon");return S(),D("a",{class:Ye({"is-warning":!s.is_repeat_off}),onClick:t[0]||(t[0]=(...a)=>s.toggle_repeat_mode&&s.toggle_repeat_mode(...a))},[u("span",uX,[C(i,{name:s.icon_name,size:n.icon_size},null,8,["name","size"])])],2)}var dX=ve(lX,[["render",cX]]);const mX={name:"PlayerButtonSeekBack",props:{seek_ms:Number,icon_size:{type:Number,default:16}},computed:{now_playing(){return this.$store.getters.now_playing},is_stopped(){return this.$store.state.player.state==="stop"},disabled(){return!this.$store.state.queue||this.$store.state.queue.count<=0||this.is_stopped||this.now_playing.data_kind==="pipe"},visible(){return["podcast","audiobook"].includes(this.now_playing.media_kind)}},methods:{seek:function(){this.disabled||Z.player_seek(this.seek_ms*-1)}}},fX=["disabled"],pX={class:"icon"};function hX(e,t,n,r,o,s){const i=O("mdicon");return s.visible?(S(),D("a",{key:0,disabled:s.disabled,onClick:t[0]||(t[0]=(...a)=>s.seek&&s.seek(...a))},[u("span",pX,[C(i,{name:"rewind",size:n.icon_size},null,8,["size"])])],8,fX)):X("",!0)}var _X=ve(mX,[["render",hX]]);const gX={name:"PlayerButtonSeekForward",props:{seek_ms:Number,icon_size:{type:Number,default:16}},computed:{now_playing(){return this.$store.getters.now_playing},is_stopped(){return this.$store.state.player.state==="stop"},disabled(){return!this.$store.state.queue||this.$store.state.queue.count<=0||this.is_stopped||this.now_playing.data_kind==="pipe"},visible(){return["podcast","audiobook"].includes(this.now_playing.media_kind)}},methods:{seek:function(){this.disabled||Z.player_seek(this.seek_ms)}}},yX=["disabled"],vX={class:"icon"};function bX(e,t,n,r,o,s){const i=O("mdicon");return s.visible?(S(),D("a",{key:0,disabled:s.disabled,onClick:t[0]||(t[0]=(...a)=>s.seek&&s.seek(...a))},[u("span",vX,[C(i,{name:"fast-forward",size:n.icon_size},null,8,["size"])])],8,yX)):X("",!0)}var wX=ve(gX,[["render",bX]]);const CX={name:"NavbarBottom",components:{NavbarItemLink:pb,NavbarItemOutput:RJ,Slider:Mi,PlayerButtonPlayPause:HJ,PlayerButtonNext:KJ,PlayerButtonPrevious:QJ,PlayerButtonShuffle:rX,PlayerButtonConsume:aX,PlayerButtonRepeat:dX,PlayerButtonSeekForward:wX,PlayerButtonSeekBack:_X},data(){return{old_volume:0,playing:!1,loading:!1,stream_volume:10,show_outputs_menu:!1,show_desktop_outputs_menu:!1}},computed:{show_player_menu:{get(){return this.$store.state.show_player_menu},set(e){this.$store.commit(ws,e)}},show_burger_menu(){return this.$store.state.show_burger_menu},zindex(){return this.show_burger_menu?"z-index: 20":""},state(){return this.$store.state.player},now_playing(){return this.$store.getters.now_playing},is_now_playing_page(){return this.$route.path==="/now-playing"},outputs(){return this.$store.state.outputs},player(){return this.$store.state.player},config(){return this.$store.state.config}},watch:{"$store.state.player.volume"(){this.player.volume>0&&(this.old_volume=this.player.volume)}},mounted(){this.setupAudio()},unmounted(){this.closeAudio()},methods:{on_click_outside_outputs(){this.show_outputs_menu=!1},set_volume:function(e){Z.player_volume(e)},toggle_mute_volume:function(){this.player.volume>0?this.set_volume(0):this.set_volume(this.old_volume)},setupAudio:function(){const e=Xs.setupAudio();e.addEventListener("waiting",t=>{this.playing=!1,this.loading=!0}),e.addEventListener("playing",t=>{this.playing=!0,this.loading=!1}),e.addEventListener("ended",t=>{this.playing=!1,this.loading=!1}),e.addEventListener("error",t=>{this.closeAudio(),this.$store.dispatch("add_notification",{text:this.$t("navigation.stream-error"),type:"danger"}),this.playing=!1,this.loading=!1})},closeAudio:function(){Xs.stopAudio(),this.playing=!1},playChannel:function(){if(this.playing)return;const e="/stream.mp3";this.loading=!0,Xs.playSource(e),Xs.setVolume(this.stream_volume/100)},togglePlay:function(){if(!this.loading)return this.playing?this.closeAudio():this.playChannel()},set_stream_volume:function(e){this.stream_volume=e,Xs.setVolume(this.stream_volume/100)}}},zX={class:"navbar-brand fd-expanded"},xX={class:"icon"},kX={class:"is-clipped"},SX={class:"is-size-7 fd-is-text-clipped"},EX=["textContent"],$X=u("br",null,null,-1),AX=["textContent"],TX=["textContent"],OX={class:"icon"},PX={class:"icon"},DX={class:"navbar-dropdown is-right is-boxed",style:{"margin-right":"6px","margin-bottom":"6px","border-radius":"6px"}},FX={class:"navbar-item"},IX={class:"level is-mobile"},MX={class:"level-left fd-expanded"},LX={class:"level-item",style:{"flex-grow":"0"}},RX={class:"icon"},NX={class:"level-item fd-expanded"},VX={class:"fd-expanded"},jX=["textContent"],BX=u("hr",{class:"fd-navbar-divider"},null,-1),HX=u("hr",{class:"fd-navbar-divider"},null,-1),UX={class:"navbar-item"},qX={class:"level is-mobile"},WX={class:"level-left fd-expanded"},GX={class:"level-item",style:{"flex-grow":"0"}},KX={class:"level-item fd-expanded"},ZX={class:"fd-expanded"},YX=["textContent"],JX={href:"stream.mp3",style:{"margin-left":"5px"},target:"_blank"},XX={class:"icon"},QX=u("hr",{class:"fd-navbar-divider"},null,-1),eQ={class:"navbar-item"},tQ={class:"level is-mobile fd-expanded"},nQ={class:"level-item"},rQ={class:"buttons has-addons"},oQ=u("div",{class:"navbar-start"},null,-1),sQ={class:"navbar-end"},iQ={class:"navbar-item"},aQ={class:"buttons is-centered"},lQ=u("hr",{class:"fd-navbar-divider"},null,-1),uQ={class:"navbar-item"},cQ={class:"level is-mobile"},dQ={class:"level-left fd-expanded"},mQ={class:"level-item",style:{"flex-grow":"0"}},fQ={class:"icon"},pQ={class:"level-item fd-expanded"},hQ={class:"fd-expanded"},_Q=["textContent"],gQ=u("hr",{class:"fd-navbar-divider"},null,-1),yQ={class:"navbar-item fd-has-margin-bottom"},vQ={class:"level is-mobile"},bQ={class:"level-left fd-expanded"},wQ={class:"level-item",style:{"flex-grow":"0"}},CQ={class:"level-item fd-expanded"},zQ={class:"fd-expanded"},xQ=["textContent"],kQ={href:"stream.mp3",style:{"margin-left":"5px"},target:"_blank"},SQ={class:"icon"};function EQ(e,t,n,r,o,s){const i=O("mdicon"),a=O("navbar-item-link"),l=O("router-link"),c=O("player-button-previous"),d=O("player-button-seek-back"),f=O("player-button-play-pause"),m=O("player-button-seek-forward"),p=O("player-button-next"),h=O("Slider"),_=O("navbar-item-output"),g=O("player-button-repeat"),b=O("player-button-shuffle"),w=O("player-button-consume");return S(),D("nav",{class:Ye(["fd-bottom-navbar navbar is-white is-fixed-bottom",{"is-transparent":s.is_now_playing_page,"is-dark":!s.is_now_playing_page}]),style:ao(s.zindex),role:"navigation","aria-label":"player controls"},[u("div",zX,[C(a,{to:"/",exact:""},{default:P(()=>[u("span",xX,[C(i,{name:"playlist-play",size:"24"})])]),_:1}),s.is_now_playing_page?X("",!0):(S(),xe(l,{key:0,to:"/now-playing",class:"navbar-item is-expanded is-clipped","active-class":"is-active",exact:""},{default:P(()=>[u("div",kX,[u("p",SX,[u("strong",{textContent:v(s.now_playing.title)},null,8,EX),$X,u("span",{textContent:v(s.now_playing.artist)},null,8,AX),s.now_playing.data_kind==="url"?(S(),D("span",{key:0,textContent:v(e.$t("navigation.now-playing",{album:s.now_playing.album}))},null,8,TX)):X("",!0)])])]),_:1})),s.is_now_playing_page?(S(),xe(c,{key:1,class:"navbar-item fd-margin-left-auto",icon_size:24})):X("",!0),s.is_now_playing_page?(S(),xe(d,{key:2,seek_ms:1e4,class:"navbar-item",icon_size:24})):X("",!0),C(f,{class:"navbar-item",icon_size:36,show_disabled_message:""}),s.is_now_playing_page?(S(),xe(m,{key:3,seek_ms:3e4,class:"navbar-item",icon_size:24})):X("",!0),s.is_now_playing_page?(S(),xe(p,{key:4,class:"navbar-item",icon_size:24})):X("",!0),u("a",{class:"navbar-item fd-margin-left-auto is-hidden-desktop",onClick:t[0]||(t[0]=x=>s.show_player_menu=!s.show_player_menu)},[u("span",OX,[C(i,{name:s.show_player_menu?"chevron-down":"chevron-up",size:"18"},null,8,["name"])])]),u("div",{class:Ye(["navbar-item has-dropdown has-dropdown-up fd-margin-left-auto is-hidden-touch",{"is-active":s.show_player_menu}])},[u("a",{class:"navbar-link is-arrowless",onClick:t[1]||(t[1]=x=>s.show_player_menu=!s.show_player_menu)},[u("span",PX,[C(i,{name:s.show_player_menu?"chevron-down":"chevron-up",size:"18"},null,8,["name"])])]),u("div",DX,[u("div",FX,[u("div",IX,[u("div",MX,[u("div",LX,[u("a",{class:"button is-white is-small",onClick:t[2]||(t[2]=(...x)=>s.toggle_mute_volume&&s.toggle_mute_volume(...x))},[u("span",RX,[C(i,{name:s.player.volume>0?"volume-high":"volume-off",size:"18"},null,8,["name"])])])]),u("div",NX,[u("div",VX,[u("p",{class:"heading",textContent:v(e.$t("navigation.volume"))},null,8,jX),C(h,{modelValue:s.player.volume,"onUpdate:modelValue":t[3]||(t[3]=x=>s.player.volume=x),min:0,max:100,step:1,tooltips:!1,classes:{target:"slider"},onChange:s.set_volume},null,8,["modelValue","onChange"])])])])])]),BX,(S(!0),D(Ge,null,Ct(s.outputs,x=>(S(),xe(_,{key:x.id,output:x},null,8,["output"]))),128)),HX,u("div",UX,[u("div",qX,[u("div",WX,[u("div",GX,[u("a",{class:Ye(["button is-white is-small",{"is-loading":o.loading}])},[u("span",{class:Ye(["icon fd-has-action",{"has-text-grey-light":!o.playing&&!o.loading,"is-loading":o.loading}]),onClick:t[4]||(t[4]=(...x)=>s.togglePlay&&s.togglePlay(...x))},[C(i,{name:"broadcast",size:"18"})],2)],2)]),u("div",KX,[u("div",ZX,[u("p",{class:Ye(["heading",{"has-text-grey-light":!o.playing}])},[u("span",{textContent:v(e.$t("navigation.stream"))},null,8,YX),u("a",JX,[u("span",XX,[C(i,{name:"open-in-new",size:"16",style:{"vertical-align":"middle"}})])])],2),C(h,{modelValue:o.stream_volume,"onUpdate:modelValue":t[5]||(t[5]=x=>o.stream_volume=x),min:0,max:100,step:1,tooltips:!1,disabled:!o.playing,classes:{target:"slider"},onChange:s.set_stream_volume},null,8,["modelValue","disabled","onChange"])])])])])]),QX,u("div",eQ,[u("div",tQ,[u("div",nQ,[u("div",rQ,[C(g,{class:"button"}),C(b,{class:"button"}),C(w,{class:"button"})])])])])])],2)]),u("div",{class:Ye(["navbar-menu is-hidden-desktop",{"is-active":s.show_player_menu}])},[oQ,u("div",sQ,[u("div",iQ,[u("div",aQ,[C(g,{class:"button",icon_size:18}),C(b,{class:"button",icon_size:18}),C(w,{class:"button",icon_size:18})])]),lQ,u("div",uQ,[u("div",cQ,[u("div",dQ,[u("div",mQ,[u("a",{class:"button is-white is-small",onClick:t[6]||(t[6]=(...x)=>s.toggle_mute_volume&&s.toggle_mute_volume(...x))},[u("span",fQ,[C(i,{name:s.player.volume>0?"volume-high":"volume-off",size:"18"},null,8,["name"])])])]),u("div",pQ,[u("div",hQ,[u("p",{class:"heading",textContent:v(e.$t("navigation.volume"))},null,8,_Q),C(h,{modelValue:s.player.volume,"onUpdate:modelValue":t[7]||(t[7]=x=>s.player.volume=x),min:0,max:100,step:1,tooltips:!1,classes:{target:"slider"},onChange:s.set_volume},null,8,["modelValue","onChange"])])])])])]),(S(!0),D(Ge,null,Ct(s.outputs,x=>(S(),xe(_,{key:x.id,output:x},null,8,["output"]))),128)),gQ,u("div",yQ,[u("div",vQ,[u("div",bQ,[u("div",wQ,[u("a",{class:Ye(["button is-white is-small",{"is-loading":o.loading}])},[u("span",{class:Ye(["icon fd-has-action",{"has-text-grey-light":!o.playing&&!o.loading,"is-loading":o.loading}]),onClick:t[8]||(t[8]=(...x)=>s.togglePlay&&s.togglePlay(...x))},[C(i,{name:"radio-tower",size:"16"})],2)],2)]),u("div",CQ,[u("div",zQ,[u("p",{class:Ye(["heading",{"has-text-grey-light":!o.playing}])},[u("span",{textContent:v(e.$t("navigation.stream"))},null,8,xQ),u("a",kQ,[u("span",SQ,[C(i,{name:"open-in-new",size:"16",style:{"vertical-align":"middle"}})])])],2),C(h,{modelValue:o.stream_volume,"onUpdate:modelValue":t[9]||(t[9]=x=>o.stream_volume=x),min:0,max:100,step:1,tooltips:!1,disabled:!o.playing,classes:{target:"slider"},onChange:s.set_stream_volume},null,8,["modelValue","disabled","onChange"])])])])])])])],2)],6)}var $Q=ve(CX,[["render",EQ]]);const AQ={name:"NotificationList",components:{},data(){return{showNav:!1}},computed:{notifications(){return this.$store.state.notifications.list}},methods:{remove:function(e){this.$store.commit(rd,e)}}},TQ={key:0,class:"fd-notifications"},OQ={class:"columns is-centered"},PQ={class:"column is-half"},DQ=["onClick"],FQ=["textContent"];function IQ(e,t,n,r,o,s){return s.notifications.length>0?(S(),D("section",TQ,[u("div",OQ,[u("div",PQ,[(S(!0),D(Ge,null,Ct(s.notifications,i=>(S(),D("div",{key:i.id,class:Ye(["notification has-shadow",["notification",i.type?`is-${i.type}`:""]])},[u("button",{class:"delete",onClick:a=>s.remove(i)},null,8,DQ),u("span",{textContent:v(i.text)},null,8,FQ)],2))),128))])])])):X("",!0)}var MQ=ve(AQ,[["render",IQ]]);const LQ={name:"ModalDialogRemotePairing",props:["show"],emits:["close"],data(){return{pairing_req:{pin:""}}},computed:{pairing(){return this.$store.state.pairing}},watch:{show(){this.show&&(this.loading=!1,setTimeout(()=>{this.$refs.pin_field.focus()},10))}},methods:{kickoff_pairing(){Z.pairing_kickoff(this.pairing_req).then(()=>{this.pairing_req.pin=""})}}},RQ={key:0,class:"modal is-active"},NQ={class:"modal-content fd-modal-card"},VQ={class:"card"},jQ={class:"card-content"},BQ=["textContent"],HQ=["textContent"],UQ={class:"field"},qQ={class:"control"},WQ={class:"card-footer"},GQ={class:"icon"},KQ=["textContent"],ZQ={class:"icon"},YQ=["textContent"];function JQ(e,t,n,r,o,s){const i=O("mdicon");return S(),D("div",null,[C(Wt,{name:"fade"},{default:P(()=>[n.show?(S(),D("div",RQ,[u("div",{class:"modal-background",onClick:t[0]||(t[0]=a=>e.$emit("close"))}),u("div",NQ,[u("div",VQ,[u("div",jQ,[u("p",{class:"title is-4",textContent:v(e.$t("dialog.remote-pairing.title"))},null,8,BQ),u("form",{onSubmit:t[2]||(t[2]=_t((...a)=>s.kickoff_pairing&&s.kickoff_pairing(...a),["prevent"]))},[u("label",{class:"label",textContent:v(s.pairing.remote)},null,8,HQ),u("div",UQ,[u("div",qQ,[kt(u("input",{ref:"pin_field","onUpdate:modelValue":t[1]||(t[1]=a=>o.pairing_req.pin=a),class:"input",type:"text",placeholder:"Enter pairing code"},null,512),[[kn,o.pairing_req.pin]])])])],32)]),u("footer",WQ,[u("a",{class:"card-footer-item has-text-danger",onClick:t[3]||(t[3]=a=>e.$emit("close"))},[u("span",GQ,[C(i,{name:"cancel",size:"16"})]),u("span",{class:"is-size-7",textContent:v(e.$t("dialog.remote-pairing.cancel"))},null,8,KQ)]),u("a",{class:"card-footer-item has-background-info has-text-white has-text-weight-bold",onClick:t[4]||(t[4]=(...a)=>s.kickoff_pairing&&s.kickoff_pairing(...a))},[u("span",ZQ,[C(i,{name:"cellphone",size:"16"})]),u("span",{class:"is-size-7",textContent:v(e.$t("dialog.remote-pairing.pair"))},null,8,YQ)])])])]),u("button",{class:"modal-close is-large","aria-label":"close",onClick:t[5]||(t[5]=a=>e.$emit("close"))})])):X("",!0)]),_:1})])}var XQ=ve(LQ,[["render",JQ]]);const QQ={name:"ModalDialogUpdate",components:{ModalDialog:Lm},props:["show"],emits:["close"],data(){return{rescan_metadata:!1}},computed:{library(){return this.$store.state.library},rss(){return this.$store.state.rss_count},spotify_enabled(){return this.$store.state.spotify.webapi_token_valid},update_dialog_scan_kind:{get(){return this.$store.state.update_dialog_scan_kind},set(e){this.$store.commit(ym,e)}}},methods:{update_library(){this.rescan_metadata?Z.library_rescan(this.update_dialog_scan_kind):Z.library_update(this.update_dialog_scan_kind)},close(){this.update_dialog_scan_kind="",this.$emit("close")}}},eee={key:0},tee=["textContent"],nee={key:0,class:"field"},ree={class:"control"},oee={class:"select is-small"},see=["textContent"],iee=["textContent"],aee=["textContent"],lee=["textContent"],uee={class:"field"},cee={class:"checkbox is-size-7 is-small"},dee=["textContent"],mee={key:1},fee=["textContent"];function pee(e,t,n,r,o,s){const i=O("modal-dialog");return S(),xe(i,{show:n.show,title:e.$t("dialog.update.title"),ok_action:s.library.updating?"":e.$t("dialog.update.rescan"),close_action:e.$t("dialog.update.cancel"),onOk:s.update_library,onClose:t[2]||(t[2]=a=>s.close())},{"modal-content":P(()=>[s.library.updating?(S(),D("div",mee,[u("p",{class:"mb-3",textContent:v(e.$t("dialog.update.progress"))},null,8,fee)])):(S(),D("div",eee,[u("p",{class:"mb-3",textContent:v(e.$t("dialog.update.info"))},null,8,tee),s.spotify_enabled||s.rss.tracks>0?(S(),D("div",nee,[u("div",ree,[u("div",oee,[kt(u("select",{"onUpdate:modelValue":t[0]||(t[0]=a=>s.update_dialog_scan_kind=a)},[u("option",{value:"",textContent:v(e.$t("dialog.update.all"))},null,8,see),u("option",{value:"files",textContent:v(e.$t("dialog.update.local"))},null,8,iee),s.spotify_enabled?(S(),D("option",{key:0,value:"spotify",textContent:v(e.$t("dialog.update.spotify"))},null,8,aee)):X("",!0),s.rss.tracks>0?(S(),D("option",{key:1,value:"rss",textContent:v(e.$t("dialog.update.feeds"))},null,8,lee)):X("",!0)],512),[[om,s.update_dialog_scan_kind]])])])])):X("",!0),u("div",uee,[u("label",cee,[kt(u("input",{"onUpdate:modelValue":t[1]||(t[1]=a=>o.rescan_metadata=a),type:"checkbox",style:{"margin-right":"5px"}},null,512),[[Tr,o.rescan_metadata]]),u("span",{textContent:v(e.$t("dialog.update.rescan-metadata"))},null,8,dee)])])]))]),_:1},8,["show","title","ok_action","close_action","onOk"])}var hee=ve(QQ,[["render",pee]]),hb={exports:{}};(function(e){(function(t,n){e.exports?e.exports=n():t.ReconnectingWebSocket=n()})(an,function(){if(!("WebSocket"in window))return;function t(n,r,o){var s={debug:!1,automaticOpen:!0,reconnectInterval:1e3,maxReconnectInterval:3e4,reconnectDecay:1.5,timeoutInterval:2e3,maxReconnectAttempts:null};o||(o={});for(var i in s)typeof o[i]!="undefined"?this[i]=o[i]:this[i]=s[i];this.url=n,this.reconnectAttempts=0,this.readyState=WebSocket.CONNECTING,this.protocol=null;var a=this,l,c=!1,d=!1,f=document.createElement("div");f.addEventListener("open",function(p){a.onopen(p)}),f.addEventListener("close",function(p){a.onclose(p)}),f.addEventListener("connecting",function(p){a.onconnecting(p)}),f.addEventListener("message",function(p){a.onmessage(p)}),f.addEventListener("error",function(p){a.onerror(p)}),this.addEventListener=f.addEventListener.bind(f),this.removeEventListener=f.removeEventListener.bind(f),this.dispatchEvent=f.dispatchEvent.bind(f);function m(p,h){var _=document.createEvent("CustomEvent");return _.initCustomEvent(p,!1,!1,h),_}this.open=function(p){if(l=new WebSocket(a.url,r||[]),p){if(this.maxReconnectAttempts&&this.reconnectAttempts>this.maxReconnectAttempts)return}else f.dispatchEvent(m("connecting")),this.reconnectAttempts=0;(a.debug||t.debugAll)&&console.debug("ReconnectingWebSocket","attempt-connect",a.url);var h=l,_=setTimeout(function(){(a.debug||t.debugAll)&&console.debug("ReconnectingWebSocket","connection-timeout",a.url),d=!0,h.close(),d=!1},a.timeoutInterval);l.onopen=function(g){clearTimeout(_),(a.debug||t.debugAll)&&console.debug("ReconnectingWebSocket","onopen",a.url),a.protocol=l.protocol,a.readyState=WebSocket.OPEN,a.reconnectAttempts=0;var b=m("open");b.isReconnect=p,p=!1,f.dispatchEvent(b)},l.onclose=function(g){if(clearTimeout(w),l=null,c)a.readyState=WebSocket.CLOSED,f.dispatchEvent(m("close"));else{a.readyState=WebSocket.CONNECTING;var b=m("connecting");b.code=g.code,b.reason=g.reason,b.wasClean=g.wasClean,f.dispatchEvent(b),!p&&!d&&((a.debug||t.debugAll)&&console.debug("ReconnectingWebSocket","onclose",a.url),f.dispatchEvent(m("close")));var w=a.reconnectInterval*Math.pow(a.reconnectDecay,a.reconnectAttempts);setTimeout(function(){a.reconnectAttempts++,a.open(!0)},w>a.maxReconnectInterval?a.maxReconnectInterval:w)}},l.onmessage=function(g){(a.debug||t.debugAll)&&console.debug("ReconnectingWebSocket","onmessage",a.url,g.data);var b=m("message");b.data=g.data,f.dispatchEvent(b)},l.onerror=function(g){(a.debug||t.debugAll)&&console.debug("ReconnectingWebSocket","onerror",a.url,g),f.dispatchEvent(m("error"))}},this.automaticOpen==!0&&this.open(!1),this.send=function(p){if(l)return(a.debug||t.debugAll)&&console.debug("ReconnectingWebSocket","send",a.url,p),l.send(p);throw"INVALID_STATE_ERR : Pausing to reconnect websocket"},this.close=function(p,h){typeof p=="undefined"&&(p=1e3),c=!0,l&&l.close(p,h)},this.refresh=function(){l&&l.close()}}return t.prototype.onopen=function(n){},t.prototype.onclose=function(n){},t.prototype.onconnecting=function(n){},t.prototype.onmessage=function(n){},t.prototype.onerror=function(n){},t.debugAll=!1,t.CONNECTING=WebSocket.CONNECTING,t.OPEN=WebSocket.OPEN,t.CLOSING=WebSocket.CLOSING,t.CLOSED=WebSocket.CLOSED,t})})(hb);var _ee=hb.exports;const gee={name:"App",components:{NavbarTop:EJ,NavbarBottom:$Q,NotificationList:MQ,ModalDialogRemotePairing:XQ,ModalDialogUpdate:hee},data(){return{token_timer_id:0,reconnect_attempts:0,pairing_active:!1}},computed:{show_burger_menu:{get(){return this.$store.state.show_burger_menu},set(e){this.$store.commit(bs,e)}},show_player_menu:{get(){return this.$store.state.show_player_menu},set(e){this.$store.commit(ws,e)}},show_update_dialog:{get(){return this.$store.state.show_update_dialog},set(e){this.$store.commit(Ki,e)}}},watch:{show_burger_menu(){this.update_is_clipped()},show_player_menu(){this.update_is_clipped()}},created:function(){this.connect(),this.$Progress.start(),this.$router.beforeEach((e,t,n)=>{if(e.meta.show_progress){if(e.meta.progress!==void 0){const r=e.meta.progress;this.$Progress.parseMeta(r)}this.$Progress.start()}n()}),this.$router.afterEach((e,t)=>{e.meta.show_progress&&this.$Progress.finish()})},methods:{connect:function(){Z.config().then(({data:e})=>{this.$store.commit(iy,e),this.$store.commit(hu,e.hide_singles),document.title=e.library_name,this.open_ws(),this.$Progress.finish()}).catch(()=>{this.$store.dispatch("add_notification",{text:this.$t("server.connection-failed"),type:"danger",topic:"connection"})})},open_ws:function(){if(this.$store.state.config.websocket_port<=0){this.$store.dispatch("add_notification",{text:this.$t("server.missing-port"),type:"danger"});return}const e=this;let t="ws://";window.location.protocol==="https:"&&(t="wss://");let n=t+window.location.hostname+":"+e.$store.state.config.websocket_port;const r=new _ee(n,"notify",{reconnectInterval:1e3,maxReconnectInterval:2e3});r.onopen=function(){e.reconnect_attempts=0,r.send(JSON.stringify({notify:["update","database","player","options","outputs","volume","queue","spotify","lastfm","pairing"]})),e.update_outputs(),e.update_player_status(),e.update_library_stats(),e.update_settings(),e.update_queue(),e.update_spotify(),e.update_lastfm(),e.update_pairing()},r.onclose=function(){};var o=!1;function s(){o||(e.update_outputs(),e.update_player_status(),e.update_library_stats(),e.update_settings(),e.update_queue(),e.update_spotify(),e.update_lastfm(),e.update_pairing(),o=!0,setTimeout(function(){o=!1},500))}window.addEventListener("focus",s),document.addEventListener("visibilitychange",function(){document.visibilityState==="visible"&&s()}),r.onmessage=function(i){const a=JSON.parse(i.data);(a.notify.includes("update")||a.notify.includes("database"))&&e.update_library_stats(),(a.notify.includes("player")||a.notify.includes("options")||a.notify.includes("volume"))&&e.update_player_status(),(a.notify.includes("outputs")||a.notify.includes("volume"))&&e.update_outputs(),a.notify.includes("queue")&&e.update_queue(),a.notify.includes("spotify")&&e.update_spotify(),a.notify.includes("lastfm")&&e.update_lastfm(),a.notify.includes("pairing")&&e.update_pairing()}},update_library_stats:function(){Z.library_stats().then(({data:e})=>{this.$store.commit(ly,e)}),Z.library_count("media_kind is audiobook").then(({data:e})=>{this.$store.commit(uy,e)}),Z.library_count("media_kind is podcast").then(({data:e})=>{this.$store.commit(cy,e)}),Z.library_count("scan_kind is rss").then(({data:e})=>{this.$store.commit(dy,e)})},update_outputs:function(){Z.outputs().then(({data:e})=>{this.$store.commit(my,e.outputs)})},update_player_status:function(){Z.player_status().then(({data:e})=>{this.$store.commit(fm,e)})},update_queue:function(){Z.queue().then(({data:e})=>{this.$store.commit(fy,e)})},update_settings:function(){Z.settings().then(({data:e})=>{this.$store.commit(ay,e)})},update_lastfm:function(){Z.lastfm().then(({data:e})=>{this.$store.commit(py,e)})},update_spotify:function(){Z.spotify().then(({data:e})=>{this.$store.commit(hy,e),this.token_timer_id>0&&(window.clearTimeout(this.token_timer_id),this.token_timer_id=0),e.webapi_token_expires_in>0&&e.webapi_token&&(this.token_timer_id=window.setTimeout(this.update_spotify,1e3*e.webapi_token_expires_in))})},update_pairing:function(){Z.pairing().then(({data:e})=>{this.$store.commit(_y,e),this.pairing_active=e.active})},update_is_clipped:function(){this.show_burger_menu||this.show_player_menu?document.querySelector("html").classList.add("is-clipped"):document.querySelector("html").classList.remove("is-clipped")}},template:"<App/>"},yee={id:"app"};function vee(e,t,n,r,o,s){const i=O("navbar-top"),a=O("vue-progress-bar"),l=O("router-view"),c=O("modal-dialog-remote-pairing"),d=O("modal-dialog-update"),f=O("notification-list"),m=O("navbar-bottom");return S(),D("div",yee,[C(i),C(a,{class:"fd-progress-bar"}),C(l,null,{default:P(({Component:p})=>[(S(),xe(Y_(p),{class:"fd-page"}))]),_:1}),C(c,{show:o.pairing_active,onClose:t[0]||(t[0]=p=>o.pairing_active=!1)},null,8,["show"]),C(d,{show:s.show_update_dialog,onClose:t[1]||(t[1]=p=>s.show_update_dialog=!1)},null,8,["show"]),kt(C(f,null,null,512),[[vs,!s.show_burger_menu]]),C(m),kt(u("div",{class:"fd-overlay-fullscreen",onClick:t[2]||(t[2]=p=>s.show_burger_menu=s.show_player_menu=!1)},null,512),[[vs,s.show_burger_menu||s.show_player_menu]])])}var bee=ve(gee,[["render",vee]]);const _b=Rg(bee).use(at).use(c1).use(aG,{color:"hsl(204, 86%, 53%)",failedColor:"red",height:"1px"}).use(uG).use(wG,{log:!1}).use(CG).use(IK,{icons:MY}).use(Gi);_b.config.globalProperties.$filters=IY;_b.mount("#app");
|