mirror of
https://github.com/owntone/owntone-server.git
synced 2024-12-27 07:35:57 -05:00
62 lines
826 KiB
JavaScript
62 lines
826 KiB
JavaScript
var Rb=Object.defineProperty,Nb=Object.defineProperties;var jb=Object.getOwnPropertyDescriptors;var ia=Object.getOwnPropertySymbols;var vf=Object.prototype.hasOwnProperty,bf=Object.prototype.propertyIsEnumerable;var yf=(e,t,n)=>t in e?Rb(e,t,{enumerable:!0,configurable:!0,writable:!0,value:n}):e[t]=n,Je=(e,t)=>{for(var n in t||(t={}))vf.call(t,n)&&yf(e,n,t[n]);if(ia)for(var n of ia(t))bf.call(t,n)&&yf(e,n,t[n]);return e},jn=(e,t)=>Nb(e,jb(t));var Vu=(e,t)=>{var n={};for(var r in e)vf.call(e,r)&&t.indexOf(r)<0&&(n[r]=e[r]);if(e!=null&&ia)for(var r of ia(e))t.indexOf(r)<0&&bf.call(e,r)&&(n[r]=e[r]);return n};const Vb=function(){const t=document.createElement("link").relList;if(t&&t.supports&&t.supports("modulepreload"))return;for(const s of document.querySelectorAll('link[rel="modulepreload"]'))r(s);new MutationObserver(s=>{for(const o of s)if(o.type==="childList")for(const i of o.addedNodes)i.tagName==="LINK"&&i.rel==="modulepreload"&&r(i)}).observe(document,{childList:!0,subtree:!0});function n(s){const o={};return s.integrity&&(o.integrity=s.integrity),s.referrerpolicy&&(o.referrerPolicy=s.referrerpolicy),s.crossorigin==="use-credentials"?o.credentials="include":s.crossorigin==="anonymous"?o.credentials="omit":o.credentials="same-origin",o}function r(s){if(s.ep)return;s.ep=!0;const o=n(s);fetch(s.href,o)}};Vb();function Hl(e,t){const n=Object.create(null),r=e.split(",");for(let s=0;s<r.length;s++)n[r[s]]=!0;return t?s=>!!n[s.toLowerCase()]:s=>!!n[s]}const Bb="Infinity,undefined,NaN,isFinite,isNaN,parseFloat,parseInt,decodeURI,decodeURIComponent,encodeURI,encodeURIComponent,Math,Number,Date,Array,Object,Boolean,String,RegExp,Map,Set,JSON,Intl,BigInt",Hb=Hl(Bb),Ub="itemscope,allowfullscreen,formnovalidate,ismap,nomodule,novalidate,readonly",qb=Hl(Ub);function s_(e){return!!e||e===""}function as(e){if(Ue(e)){const t={};for(let n=0;n<e.length;n++){const r=e[n],s=Ot(r)?Kb(r):as(r);if(s)for(const o in s)t[o]=s[o]}return t}else{if(Ot(e))return e;if(Nt(e))return e}}const Wb=/;(?![^(]*\))/g,Gb=/:(.+)/;function Kb(e){const t={};return e.split(Wb).forEach(n=>{if(n){const r=n.split(Gb);r.length>1&&(t[r[0].trim()]=r[1].trim())}}),t}function Ze(e){let t="";if(Ot(e))t=e;else if(Ue(e))for(let n=0;n<e.length;n++){const r=Ze(e[n]);r&&(t+=r+" ")}else if(Nt(e))for(const n in e)e[n]&&(t+=n+" ");return t.trim()}function Zb(e){if(!e)return null;let{class:t,style:n}=e;return t&&!Ot(t)&&(e.class=Ze(t)),n&&(e.style=as(n)),e}function Yb(e,t){if(e.length!==t.length)return!1;let n=!0;for(let r=0;n&&r<e.length;r++)n=es(e[r],t[r]);return n}function es(e,t){if(e===t)return!0;let n=wf(e),r=wf(t);if(n||r)return n&&r?e.getTime()===t.getTime():!1;if(n=$i(e),r=$i(t),n||r)return e===t;if(n=Ue(e),r=Ue(t),n||r)return n&&r?Yb(e,t):!1;if(n=Nt(e),r=Nt(t),n||r){if(!n||!r)return!1;const s=Object.keys(e).length,o=Object.keys(t).length;if(s!==o)return!1;for(const i in e){const a=e.hasOwnProperty(i),l=t.hasOwnProperty(i);if(a&&!l||!a&&l||!es(e[i],t[i]))return!1}}return String(e)===String(t)}function Ul(e,t){return e.findIndex(n=>es(n,t))}const v=e=>Ot(e)?e:e==null?"":Ue(e)||Nt(e)&&(e.toString===i_||!et(e.toString))?JSON.stringify(e,o_,2):String(e),o_=(e,t)=>t&&t.__v_isRef?o_(e,t.value):ao(t)?{[`Map(${t.size})`]:[...t.entries()].reduce((n,[r,s])=>(n[`${r} =>`]=s,n),{})}:Ts(t)?{[`Set(${t.size})`]:[...t.values()]}:Nt(t)&&!Ue(t)&&!a_(t)?String(t):t,yt={},io=[],sr=()=>{},Jb=()=>!1,Xb=/^on[^a-z]/,Li=e=>Xb.test(e),Td=e=>e.startsWith("onUpdate:"),Rt=Object.assign,Od=(e,t)=>{const n=e.indexOf(t);n>-1&&e.splice(n,1)},Qb=Object.prototype.hasOwnProperty,mt=(e,t)=>Qb.call(e,t),Ue=Array.isArray,ao=e=>Ri(e)==="[object Map]",Ts=e=>Ri(e)==="[object Set]",wf=e=>Ri(e)==="[object Date]",et=e=>typeof e=="function",Ot=e=>typeof e=="string",$i=e=>typeof e=="symbol",Nt=e=>e!==null&&typeof e=="object",Pd=e=>Nt(e)&&et(e.then)&&et(e.catch),i_=Object.prototype.toString,Ri=e=>i_.call(e),e0=e=>Ri(e).slice(8,-1),a_=e=>Ri(e)==="[object Object]",Dd=e=>Ot(e)&&e!=="NaN"&&e[0]!=="-"&&""+parseInt(e,10)===e,ai=Hl(",key,ref,ref_for,ref_key,onVnodeBeforeMount,onVnodeMounted,onVnodeBeforeUpdate,onVnodeUpdated,onVnodeBeforeUnmount,onVnodeUnmounted"),ql=e=>{const t=Object.create(null);return n=>t[n]||(t[n]=e(n))},t0=/-(\w)/g,Ln=ql(e=>e.replace(t0,(t,n)=>n?n.toUpperCase():"")),n0=/\B([A-Z])/g,pr=ql(e=>e.replace(n0,"-$1").toLowerCase()),Ni=ql(e=>e.charAt(0).toUpperCase()+e.slice(1)),li=ql(e=>e?`on${Ni(e)}`:""),fo=(e,t)=>!Object.is(e,t),lo=(e,t)=>{for(let n=0;n<e.length;n++)e[n](t)},yl=(e,t,n)=>{Object.defineProperty(e,t,{configurable:!0,enumerable:!1,value:n})},ts=e=>{const t=parseFloat(e);return isNaN(t)?e:t};let Cf;const r0=()=>Cf||(Cf=typeof globalThis!="undefined"?globalThis:typeof self!="undefined"?self:typeof window!="undefined"?window:typeof global!="undefined"?global:{});let On;class Fd{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 s=this.parent.scopes.pop();s&&s!==this&&(this.parent.scopes[this.index]=s,s.index=this.index)}this.active=!1}}}function s0(e){return new Fd(e)}function l_(e,t=On){t&&t.active&&t.effects.push(e)}function o0(){return On}function i0(e){On&&On.cleanups.push(e)}const Id=e=>{const t=new Set(e);return t.w=0,t.n=0,t},u_=e=>(e.w&ns)>0,c_=e=>(e.n&ns)>0,a0=({deps:e})=>{if(e.length)for(let t=0;t<e.length;t++)e[t].w|=ns},l0=e=>{const{deps:t}=e;if(t.length){let n=0;for(let r=0;r<t.length;r++){const s=t[r];u_(s)&&!c_(s)?s.delete(e):t[n++]=s,s.w&=~ns,s.n&=~ns}t.length=n}},$c=new WeakMap;let Xo=0,ns=1;const Ac=30;let nr;const Cs=Symbol(""),Tc=Symbol("");class ji{constructor(t,n=null,r){this.fn=t,this.scheduler=n,this.active=!0,this.deps=[],this.parent=void 0,l_(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,ns=1<<++Xo,Xo<=Ac?a0(this):zf(this),this.fn()}finally{Xo<=Ac&&l0(this),ns=1<<--Xo,nr=this.parent,Xr=n,this.parent=void 0,this.deferStop&&this.stop()}}stop(){nr===this?this.deferStop=!0:this.active&&(zf(this),this.onStop&&this.onStop(),this.active=!1)}}function zf(e){const{deps:t}=e;if(t.length){for(let n=0;n<t.length;n++)t[n].delete(e);t.length=0}}function u0(e,t){e.effect&&(e=e.effect.fn);const n=new ji(e);t&&(Rt(n,t),t.scope&&l_(n,t.scope)),(!t||!t.lazy)&&n.run();const r=n.run.bind(n);return r.effect=n,r}function c0(e){e.effect.stop()}let Xr=!0;const d_=[];function Os(){d_.push(Xr),Xr=!1}function Ps(){const e=d_.pop();Xr=e===void 0?!0:e}function Rn(e,t,n){if(Xr&&nr){let r=$c.get(e);r||$c.set(e,r=new Map);let s=r.get(n);s||r.set(n,s=Id()),m_(s)}}function m_(e,t){let n=!1;Xo<=Ac?c_(e)||(e.n|=ns,n=!u_(e)):n=!e.has(nr),n&&(e.add(nr),nr.deps.push(e))}function $r(e,t,n,r,s,o){const i=$c.get(e);if(!i)return;let a=[];if(t==="clear")a=[...i.values()];else if(n==="length"&&Ue(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":Ue(e)?Dd(n)&&a.push(i.get("length")):(a.push(i.get(Cs)),ao(e)&&a.push(i.get(Tc)));break;case"delete":Ue(e)||(a.push(i.get(Cs)),ao(e)&&a.push(i.get(Tc)));break;case"set":ao(e)&&a.push(i.get(Cs));break}if(a.length===1)a[0]&&Oc(a[0]);else{const l=[];for(const c of a)c&&l.push(...c);Oc(Id(l))}}function Oc(e,t){const n=Ue(e)?e:[...e];for(const r of n)r.computed&&xf(r);for(const r of n)r.computed||xf(r)}function xf(e,t){(e!==nr||e.allowRecurse)&&(e.scheduler?e.scheduler():e.run())}const d0=Hl("__proto__,__v_isRef,__isVue"),f_=new Set(Object.getOwnPropertyNames(Symbol).filter(e=>e!=="arguments"&&e!=="caller").map(e=>Symbol[e]).filter($i)),m0=Wl(),f0=Wl(!1,!0),p0=Wl(!0),h0=Wl(!0,!0),kf=_0();function _0(){const e={};return["includes","indexOf","lastIndexOf"].forEach(t=>{e[t]=function(...n){const r=ut(this);for(let o=0,i=this.length;o<i;o++)Rn(r,"get",o+"");const s=r[t](...n);return s===-1||s===!1?r[t](...n.map(ut)):s}}),["push","pop","shift","unshift","splice"].forEach(t=>{e[t]=function(...n){Os();const r=ut(this)[t].apply(this,n);return Ps(),r}}),e}function Wl(e=!1,t=!1){return function(r,s,o){if(s==="__v_isReactive")return!e;if(s==="__v_isReadonly")return e;if(s==="__v_isShallow")return t;if(s==="__v_raw"&&o===(e?t?b_:v_:t?y_:g_).get(r))return r;const i=Ue(r);if(!e&&i&&mt(kf,s))return Reflect.get(kf,s,o);const a=Reflect.get(r,s,o);return($i(s)?f_.has(s):d0(s))||(e||Rn(r,"get",s),t)?a:qt(a)?i&&Dd(s)?a:a.value:Nt(a)?e?Ld(a):Ds(a):a}}const g0=p_(),y0=p_(!0);function p_(e=!1){return function(n,r,s,o){let i=n[r];if(po(i)&&qt(i)&&!qt(s))return!1;if(!e&&!po(s)&&(vl(s)||(s=ut(s),i=ut(i)),!Ue(n)&&qt(i)&&!qt(s)))return i.value=s,!0;const a=Ue(n)&&Dd(r)?Number(r)<n.length:mt(n,r),l=Reflect.set(n,r,s,o);return n===ut(o)&&(a?fo(s,i)&&$r(n,"set",r,s):$r(n,"add",r,s)),l}}function v0(e,t){const n=mt(e,t);e[t];const r=Reflect.deleteProperty(e,t);return r&&n&&$r(e,"delete",t,void 0),r}function b0(e,t){const n=Reflect.has(e,t);return(!$i(t)||!f_.has(t))&&Rn(e,"has",t),n}function w0(e){return Rn(e,"iterate",Ue(e)?"length":Cs),Reflect.ownKeys(e)}const h_={get:m0,set:g0,deleteProperty:v0,has:b0,ownKeys:w0},__={get:p0,set(e,t){return!0},deleteProperty(e,t){return!0}},C0=Rt({},h_,{get:f0,set:y0}),z0=Rt({},__,{get:h0}),Md=e=>e,Gl=e=>Reflect.getPrototypeOf(e);function aa(e,t,n=!1,r=!1){e=e.__v_raw;const s=ut(e),o=ut(t);n||(t!==o&&Rn(s,"get",t),Rn(s,"get",o));const{has:i}=Gl(s),a=r?Md:n?jd:Ai;if(i.call(s,t))return a(e.get(t));if(i.call(s,o))return a(e.get(o));e!==s&&e.get(t)}function la(e,t=!1){const n=this.__v_raw,r=ut(n),s=ut(e);return t||(e!==s&&Rn(r,"has",e),Rn(r,"has",s)),e===s?n.has(e):n.has(e)||n.has(s)}function ua(e,t=!1){return e=e.__v_raw,!t&&Rn(ut(e),"iterate",Cs),Reflect.get(e,"size",e)}function Sf(e){e=ut(e);const t=ut(this);return Gl(t).has.call(t,e)||(t.add(e),$r(t,"add",e,e)),this}function Ef(e,t){t=ut(t);const n=ut(this),{has:r,get:s}=Gl(n);let o=r.call(n,e);o||(e=ut(e),o=r.call(n,e));const i=s.call(n,e);return n.set(e,t),o?fo(t,i)&&$r(n,"set",e,t):$r(n,"add",e,t),this}function $f(e){const t=ut(this),{has:n,get:r}=Gl(t);let s=n.call(t,e);s||(e=ut(e),s=n.call(t,e)),r&&r.call(t,e);const o=t.delete(e);return s&&$r(t,"delete",e,void 0),o}function Af(){const e=ut(this),t=e.size!==0,n=e.clear();return t&&$r(e,"clear",void 0,void 0),n}function ca(e,t){return function(r,s){const o=this,i=o.__v_raw,a=ut(i),l=t?Md:e?jd:Ai;return!e&&Rn(a,"iterate",Cs),i.forEach((c,d)=>r.call(s,l(c),l(d),o))}}function da(e,t,n){return function(...r){const s=this.__v_raw,o=ut(s),i=ao(o),a=e==="entries"||e===Symbol.iterator&&i,l=e==="keys"&&i,c=s[e](...r),d=n?Md:t?jd:Ai;return!t&&Rn(o,"iterate",l?Tc:Cs),{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 x0(){const e={get(o){return aa(this,o)},get size(){return ua(this)},has:la,add:Sf,set:Ef,delete:$f,clear:Af,forEach:ca(!1,!1)},t={get(o){return aa(this,o,!1,!0)},get size(){return ua(this)},has:la,add:Sf,set:Ef,delete:$f,clear:Af,forEach:ca(!1,!0)},n={get(o){return aa(this,o,!0)},get size(){return ua(this,!0)},has(o){return la.call(this,o,!0)},add:Mr("add"),set:Mr("set"),delete:Mr("delete"),clear:Mr("clear"),forEach:ca(!0,!1)},r={get(o){return aa(this,o,!0,!0)},get size(){return ua(this,!0)},has(o){return la.call(this,o,!0)},add:Mr("add"),set:Mr("set"),delete:Mr("delete"),clear:Mr("clear"),forEach:ca(!0,!0)};return["keys","values","entries",Symbol.iterator].forEach(o=>{e[o]=da(o,!1,!1),n[o]=da(o,!0,!1),t[o]=da(o,!1,!0),r[o]=da(o,!0,!0)}),[e,n,t,r]}const[k0,S0,E0,$0]=x0();function Kl(e,t){const n=t?e?$0:E0:e?S0:k0;return(r,s,o)=>s==="__v_isReactive"?!e:s==="__v_isReadonly"?e:s==="__v_raw"?r:Reflect.get(mt(n,s)&&s in r?n:r,s,o)}const A0={get:Kl(!1,!1)},T0={get:Kl(!1,!0)},O0={get:Kl(!0,!1)},P0={get:Kl(!0,!0)},g_=new WeakMap,y_=new WeakMap,v_=new WeakMap,b_=new WeakMap;function D0(e){switch(e){case"Object":case"Array":return 1;case"Map":case"Set":case"WeakMap":case"WeakSet":return 2;default:return 0}}function F0(e){return e.__v_skip||!Object.isExtensible(e)?0:D0(e0(e))}function Ds(e){return po(e)?e:Zl(e,!1,h_,A0,g_)}function w_(e){return Zl(e,!1,C0,T0,y_)}function Ld(e){return Zl(e,!0,__,O0,v_)}function I0(e){return Zl(e,!0,z0,P0,b_)}function Zl(e,t,n,r,s){if(!Nt(e)||e.__v_raw&&!(t&&e.__v_isReactive))return e;const o=s.get(e);if(o)return o;const i=F0(e);if(i===0)return e;const a=new Proxy(e,i===2?r:n);return s.set(e,a),a}function zs(e){return po(e)?zs(e.__v_raw):!!(e&&e.__v_isReactive)}function po(e){return!!(e&&e.__v_isReadonly)}function vl(e){return!!(e&&e.__v_isShallow)}function Rd(e){return zs(e)||po(e)}function ut(e){const t=e&&e.__v_raw;return t?ut(t):e}function Nd(e){return yl(e,"__v_skip",!0),e}const Ai=e=>Nt(e)?Ds(e):e,jd=e=>Nt(e)?Ld(e):e;function Vd(e){Xr&&nr&&(e=ut(e),m_(e.dep||(e.dep=Id())))}function Yl(e,t){e=ut(e),e.dep&&Oc(e.dep)}function qt(e){return!!(e&&e.__v_isRef===!0)}function wn(e){return z_(e,!1)}function C_(e){return z_(e,!0)}function z_(e,t){return qt(e)?e:new M0(e,t)}class M0{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:Ai(t)}get value(){return Vd(this),this._value}set value(t){t=this.__v_isShallow?t:ut(t),fo(t,this._rawValue)&&(this._rawValue=t,this._value=this.__v_isShallow?t:Ai(t),Yl(this))}}function L0(e){Yl(e)}function uo(e){return qt(e)?e.value:e}const R0={get:(e,t,n)=>uo(Reflect.get(e,t,n)),set:(e,t,n,r)=>{const s=e[t];return qt(s)&&!qt(n)?(s.value=n,!0):Reflect.set(e,t,n,r)}};function Bd(e){return zs(e)?e:new Proxy(e,R0)}class N0{constructor(t){this.dep=void 0,this.__v_isRef=!0;const{get:n,set:r}=t(()=>Vd(this),()=>Yl(this));this._get=n,this._set=r}get value(){return this._get()}set value(t){this._set(t)}}function j0(e){return new N0(e)}function ui(e){const t=Ue(e)?new Array(e.length):{};for(const n in e)t[n]=x_(e,n);return t}class V0{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 x_(e,t,n){const r=e[t];return qt(r)?r:new V0(e,t,n)}class B0{constructor(t,n,r,s){this._setter=n,this.dep=void 0,this.__v_isRef=!0,this._dirty=!0,this.effect=new ji(t,()=>{this._dirty||(this._dirty=!0,Yl(this))}),this.effect.computed=this,this.effect.active=this._cacheable=!s,this.__v_isReadonly=r}get value(){const t=ut(this);return Vd(t),(t._dirty||!t._cacheable)&&(t._dirty=!1,t._value=t.effect.run()),t._value}set value(t){this._setter(t)}}function H0(e,t,n=!1){let r,s;const o=et(e);return o?(r=e,s=sr):(r=e.get,s=e.set),new B0(r,s,o||!s,n)}const ci=[];function k_(e,...t){Os();const n=ci.length?ci[ci.length-1].component:null,r=n&&n.appContext.config.warnHandler,s=U0();if(r)hr(r,n,11,[e+t.join(""),n&&n.proxy,s.map(({vnode:o})=>`at <${_g(n,o.type)}>`).join(`
|
|
`),s]);else{const o=[`[Vue warn]: ${e}`,...t];s.length&&o.push(`
|
|
`,...q0(s)),console.warn(...o)}Ps()}function U0(){let e=ci[ci.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 q0(e){const t=[];return e.forEach((n,r)=>{t.push(...r===0?[]:[`
|
|
`],...W0(n))}),t}function W0({vnode:e,recurseCount:t}){const n=t>0?`... (${t} recursive calls)`:"",r=e.component?e.component.parent==null:!1,s=` at <${_g(e.component,e.type,r)}`,o=">"+n;return e.props?[s,...G0(e.props),o]:[s+o]}function G0(e){const t=[],n=Object.keys(e);return n.slice(0,3).forEach(r=>{t.push(...S_(r,e[r]))}),n.length>3&&t.push(" ..."),t}function S_(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=S_(e,ut(t.value),!0),n?t:[`${e}=Ref<`,t,">"]):et(t)?[`${e}=fn${t.name?`<${t.name}>`:""}`]:(t=ut(t),n?t:[`${e}=`,t])}function hr(e,t,n,r){let s;try{s=r?e(...r):e()}catch(o){Fs(o,t,n)}return s}function In(e,t,n,r){if(et(e)){const o=hr(e,t,n,r);return o&&Pd(o)&&o.catch(i=>{Fs(i,t,n)}),o}const s=[];for(let o=0;o<e.length;o++)s.push(In(e[o],t,n,r));return s}function Fs(e,t,n,r=!0){const s=t?t.vnode:null;if(t){let o=t.parent;const i=t.proxy,a=n;for(;o;){const c=o.ec;if(c){for(let d=0;d<c.length;d++)if(c[d](e,i,a)===!1)return}o=o.parent}const l=t.appContext.config.errorHandler;if(l){hr(l,null,10,[e,i,a]);return}}K0(e,n,s,r)}function K0(e,t,n,r=!0){console.error(e)}let bl=!1,Pc=!1;const Fn=[];let xr=0;const di=[];let Qo=null,Js=0;const mi=[];let Br=null,Xs=0;const E_=Promise.resolve();let Hd=null,Dc=null;function Jl(e){const t=Hd||E_;return e?t.then(this?e.bind(this):e):t}function Z0(e){let t=xr+1,n=Fn.length;for(;t<n;){const r=t+n>>>1;Ti(Fn[r])<e?t=r+1:n=r}return t}function Ud(e){(!Fn.length||!Fn.includes(e,bl&&e.allowRecurse?xr+1:xr))&&e!==Dc&&(e.id==null?Fn.push(e):Fn.splice(Z0(e.id),0,e),$_())}function $_(){!bl&&!Pc&&(Pc=!0,Hd=E_.then(T_))}function Y0(e){const t=Fn.indexOf(e);t>xr&&Fn.splice(t,1)}function A_(e,t,n,r){Ue(e)?n.push(...e):(!t||!t.includes(e,e.allowRecurse?r+1:r))&&n.push(e),$_()}function J0(e){A_(e,Qo,di,Js)}function qd(e){A_(e,Br,mi,Xs)}function Xl(e,t=null){if(di.length){for(Dc=t,Qo=[...new Set(di)],di.length=0,Js=0;Js<Qo.length;Js++)Qo[Js]();Qo=null,Js=0,Dc=null,Xl(e,t)}}function wl(e){if(Xl(),mi.length){const t=[...new Set(mi)];if(mi.length=0,Br){Br.push(...t);return}for(Br=t,Br.sort((n,r)=>Ti(n)-Ti(r)),Xs=0;Xs<Br.length;Xs++)Br[Xs]();Br=null,Xs=0}}const Ti=e=>e.id==null?1/0:e.id;function T_(e){Pc=!1,bl=!0,Xl(e),Fn.sort((n,r)=>Ti(n)-Ti(r));const t=sr;try{for(xr=0;xr<Fn.length;xr++){const n=Fn[xr];n&&n.active!==!1&&hr(n,null,14)}}finally{xr=0,Fn.length=0,wl(),bl=!1,Hd=null,(Fn.length||di.length||mi.length)&&T_(e)}}let Qs,ma=[];function O_(e,t){var n,r;Qs=e,Qs?(Qs.enabled=!0,ma.forEach(({event:s,args:o})=>Qs.emit(s,...o)),ma=[]):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(o=>{O_(o,t)}),setTimeout(()=>{Qs||(t.__VUE_DEVTOOLS_HOOK_REPLAY__=null,ma=[])},3e3)):ma=[]}function X0(e,t,...n){if(e.isUnmounted)return;const r=e.vnode.props||yt;let s=n;const o=t.startsWith("update:"),i=o&&t.slice(7);if(i&&i in r){const d=`${i==="modelValue"?"model":i}Modifiers`,{number:f,trim:m}=r[d]||yt;m&&(s=n.map(p=>p.trim())),f&&(s=n.map(ts))}let a,l=r[a=li(t)]||r[a=li(Ln(t))];!l&&o&&(l=r[a=li(pr(t))]),l&&In(l,e,6,s);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,s)}}function P_(e,t,n=!1){const r=t.emitsCache,s=r.get(e);if(s!==void 0)return s;const o=e.emits;let i={},a=!1;if(!et(e)){const l=c=>{const d=P_(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!o&&!a?(r.set(e,null),null):(Ue(o)?o.forEach(l=>i[l]=null):Rt(i,o),r.set(e,i),i)}function Ql(e,t){return!e||!Li(t)?!1:(t=t.slice(2).replace(/Once$/,""),mt(e,t[0].toLowerCase()+t.slice(1))||mt(e,pr(t))||mt(e,t))}let sn=null,eu=null;function Oi(e){const t=sn;return sn=e,eu=e&&e.type.__scopeId||null,t}function Q0(e){eu=e}function ew(){eu=null}const tw=e=>O;function O(e,t=sn,n){if(!t||e._n)return e;const r=(...s)=>{r._d&&jc(-1);const o=Oi(t),i=e(...s);return Oi(o),r._d&&jc(1),i};return r._n=!0,r._c=!0,r._d=!0,r}function il(e){const{type:t,vnode:n,proxy:r,withProxy:s,props:o,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=Oi(e);try{if(n.shapeFlag&4){const z=s||r;g=Pn(d.call(z,z,f,o,p,m,h)),b=l}else{const z=t;g=Pn(z.length>1?z(o,{attrs:l,slots:a,emit:c}):z(o,null)),b=t.props?l:rw(l)}}catch(z){hi.length=0,Fs(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(Td)&&(b=sw(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,Oi(w),g}function nw(e){let t;for(let n=0;n<e.length;n++){const r=e[n];if(ss(r)){if(r.type!==ln||r.children==="v-if"){if(t)return;t=r}}else return}return t}const rw=e=>{let t;for(const n in e)(n==="class"||n==="style"||Li(n))&&((t||(t={}))[n]=e[n]);return t},sw=(e,t)=>{const n={};for(const r in e)(!Td(r)||!(r.slice(9)in t))&&(n[r]=e[r]);return n};function ow(e,t,n){const{props:r,children:s,component:o}=e,{props:i,children:a,patchFlag:l}=t,c=o.emitsOptions;if(t.dirs||t.transition)return!0;if(n&&l>=0){if(l&1024)return!0;if(l&16)return r?Tf(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]&&!Ql(c,m))return!0}}}else return(s||a)&&(!a||!a.$stable)?!0:r===i?!1:r?i?Tf(r,i,c):!0:!!i;return!1}function Tf(e,t,n){const r=Object.keys(t);if(r.length!==Object.keys(e).length)return!0;for(let s=0;s<r.length;s++){const o=r[s];if(t[o]!==e[o]&&!Ql(n,o))return!0}return!1}function Wd({vnode:e,parent:t},n){for(;t&&t.subTree===e;)(e=t.vnode).el=n,t=t.parent}const D_=e=>e.__isSuspense,iw={name:"Suspense",__isSuspense:!0,process(e,t,n,r,s,o,i,a,l,c){e==null?lw(t,n,r,s,o,i,a,l,c):uw(e,t,n,r,s,i,a,l,c)},hydrate:cw,create:Gd,normalize:dw},aw=iw;function Pi(e,t){const n=e.props&&e.props[t];et(n)&&n()}function lw(e,t,n,r,s,o,i,a,l){const{p:c,o:{createElement:d}}=l,f=d("div"),m=e.suspense=Gd(e,s,r,t,f,n,o,i,a,l);c(null,m.pendingBranch=e.ssContent,f,null,r,m,o,i),m.deps>0?(Pi(e,"onPending"),Pi(e,"onFallback"),c(null,e.ssFallback,t,n,r,null,o,i),co(m,e.ssFallback)):m.resolve()}function uw(e,t,n,r,s,o,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,s,f,o,i,a),f.deps<=0?f.resolve():g&&(l(h,p,n,r,s,null,o,i,a),co(f,p))):(f.pendingId++,b?(f.isHydrating=!1,f.activeBranch=_):c(_,s,f),f.deps=0,f.effects.length=0,f.hiddenContainer=d("div"),g?(l(null,m,f.hiddenContainer,null,s,f,o,i,a),f.deps<=0?f.resolve():(l(h,p,n,r,s,null,o,i,a),co(f,p))):h&&fr(m,h)?(l(h,m,n,r,s,f,o,i,a),f.resolve(!0)):(l(null,m,f.hiddenContainer,null,s,f,o,i,a),f.deps<=0&&f.resolve()));else if(h&&fr(m,h))l(h,m,n,r,s,f,o,i,a),co(f,m);else if(Pi(t,"onPending"),f.pendingBranch=m,f.pendingId++,l(null,m,f.hiddenContainer,null,s,f,o,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 Gd(e,t,n,r,s,o,i,a,l,c,d=!1){const{p:f,m,um:p,n:h,o:{parentNode:_,remove:g}}=c,b=ts(e.props&&e.props.timeout),w={vnode:e,parent:t,parentComponent:n,isSVG:i,container:r,hiddenContainer:s,anchor:o,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:j,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=()=>{j===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)}co(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||qd(F),w.effects=[],Pi(z,"onResolve")},fallback(x){if(!w.pendingBranch)return;const{vnode:z,activeBranch:E,parentComponent:T,container:j,isSVG:F}=w;Pi(z,"onFallback");const A=h(E),M=()=>{!w.isInFallback||(f(null,x,j,A,T,null,F,a,l),co(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(j=>{Fs(j,x,0)}).then(j=>{if(x.isUnmounted||w.isUnmounted||w.pendingId!==x.suspenseId)return;x.asyncResolved=!0;const{vnode:F}=x;Vc(x,j,!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),Wd(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 cw(e,t,n,r,s,o,i,a,l){const c=t.suspense=Gd(t,r,n,e.parentNode,document.createElement("div"),null,s,o,i,a,!0),d=l(e,c.pendingBranch=t.ssContent,n,c,o,i);return c.deps===0&&c.resolve(),d}function dw(e){const{shapeFlag:t,children:n}=e,r=t&32;e.ssContent=Of(r?n.default:n),e.ssFallback=r?Of(n.fallback):C(ln)}function Of(e){let t;if(et(e)){const n=As&&e._c;n&&(e._d=!1,S()),e=e(),n&&(e._d=!0,t=Cn,ag())}return Ue(e)&&(e=nw(e)),e=Pn(e),t&&!e.dynamicChildren&&(e.dynamicChildren=t.filter(n=>n!==e)),e}function F_(e,t){t&&t.pendingBranch?Ue(e)?t.effects.push(...e):t.effects.push(e):qd(e)}function co(e,t){e.activeBranch=t;const{vnode:n,parentComponent:r}=e,s=n.el=t.el;r&&r.subTree===n&&(r.vnode.el=s,Wd(r,s))}function fi(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 or(e,t,n=!1){const r=Zt||sn;if(r){const s=r.parent==null?r.vnode.appContext&&r.vnode.appContext.provides:r.parent.provides;if(s&&e in s)return s[e];if(arguments.length>1)return n&&et(t)?t.call(r.proxy):t}}function mw(e,t){return Vi(e,null,t)}function I_(e,t){return Vi(e,null,{flush:"post"})}function fw(e,t){return Vi(e,null,{flush:"sync"})}const Pf={};function Mt(e,t,n){return Vi(e,t,n)}function Vi(e,t,{immediate:n,deep:r,flush:s,onTrack:o,onTrigger:i}=yt){const a=Zt;let l,c=!1,d=!1;if(qt(e)?(l=()=>e.value,c=vl(e)):zs(e)?(l=()=>e,r=!0):Ue(e)?(d=!0,c=e.some(b=>zs(b)||vl(b)),l=()=>e.map(b=>{if(qt(b))return b.value;if(zs(b))return ws(b);if(et(b))return hr(b,a,2)})):et(e)?t?l=()=>hr(e,a,2):l=()=>{if(!(a&&a.isUnmounted))return f&&f(),In(e,a,3,[m])}:l=sr,t&&r){const b=l;l=()=>ws(b())}let f,m=b=>{f=g.onStop=()=>{hr(b,a,4)}};if(_o)return m=sr,t?n&&In(t,a,3,[l(),d?[]:void 0,m]):l(),sr;let p=d?[]:Pf;const h=()=>{if(!!g.active)if(t){const b=g.run();(r||c||(d?b.some((w,x)=>fo(w,p[x])):fo(b,p)))&&(f&&f(),In(t,a,3,[b,p===Pf?void 0:p,m]),p=b)}else g.run()};h.allowRecurse=!!t;let _;s==="sync"?_=h:s==="post"?_=()=>Qt(h,a&&a.suspense):_=()=>J0(h);const g=new ji(l,_);return t?n?h():p=g.run():s==="post"?Qt(g.run.bind(g),a&&a.suspense):g.run(),()=>{g.stop(),a&&a.scope&&Od(a.scope.effects,g)}}function pw(e,t,n){const r=this.proxy,s=Ot(e)?e.includes(".")?M_(r,e):()=>r[e]:e.bind(r,r);let o;et(t)?o=t:(o=t.handler,n=t);const i=Zt;os(this);const a=Vi(s,o.bind(r),n);return i?os(i):Qr(),a}function M_(e,t){const n=t.split(".");return()=>{let r=e;for(let s=0;s<n.length&&r;s++)r=r[n[s]];return r}}function ws(e,t){if(!Nt(e)||e.__v_skip||(t=t||new Set,t.has(e)))return e;if(t.add(e),qt(e))ws(e.value,t);else if(Ue(e))for(let n=0;n<e.length;n++)ws(e[n],t);else if(Ts(e)||ao(e))e.forEach(n=>{ws(n,t)});else if(a_(e))for(const n in e)ws(e[n],t);return e}function Kd(){const e={isMounted:!1,isLeaving:!1,isUnmounting:!1,leavingVNodes:new Map};return Is(()=>{e.isMounted=!0}),su(()=>{e.isUnmounting=!0}),e}const Vn=[Function,Array],hw={name:"BaseTransition",props:{mode:String,appear:Boolean,persisted:Boolean,onBeforeEnter:Vn,onEnter:Vn,onAfterEnter:Vn,onEnterCancelled:Vn,onBeforeLeave:Vn,onLeave:Vn,onAfterLeave:Vn,onLeaveCancelled:Vn,onBeforeAppear:Vn,onAppear:Vn,onAfterAppear:Vn,onAppearCancelled:Vn},setup(e,{slots:t}){const n=ar(),r=Kd();let s;return()=>{const o=t.default&&tu(t.default(),!0);if(!o||!o.length)return;let i=o[0];if(o.length>1){for(const _ of o)if(_.type!==ln){i=_;break}}const a=ut(e),{mode:l}=a;if(r.isLeaving)return Bu(i);const c=Df(i);if(!c)return Bu(i);const d=ho(c,a,r,n);$s(c,d);const f=n.subTree,m=f&&Df(f);let p=!1;const{getTransitionKey:h}=c.type;if(h){const _=h();s===void 0?s=_:_!==s&&(s=_,p=!0)}if(m&&m.type!==ln&&(!fr(c,m)||p)){const _=ho(m,a,r,n);if($s(m,_),l==="out-in")return r.isLeaving=!0,_.afterLeave=()=>{r.isLeaving=!1,n.update()},Bu(i);l==="in-out"&&c.type!==ln&&(_.delayLeave=(g,b,w)=>{const x=L_(r,m);x[String(m.key)]=m,g._leaveCb=()=>{b(),g._leaveCb=void 0,delete d.delayedLeave},d.delayedLeave=w})}return i}}},Zd=hw;function L_(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 ho(e,t,n,r){const{appear:s,mode:o,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=L_(n,e),E=(F,A)=>{F&&In(F,r,9,A)},T=(F,A)=>{const M=A[1];E(F,A),Ue(F)?F.every(W=>W.length<=1)&&M():F.length<=1&&M()},j={mode:o,persisted:i,beforeEnter(F){let A=a;if(!n.isMounted)if(s)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(s)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]),j.delayedLeave&&j.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 ho(F,t,n,r)}};return j}function Bu(e){if(Hi(e))return e=gr(e),e.children=null,e}function Df(e){return Hi(e)?e.children?e.children[0]:void 0:e}function $s(e,t){e.shapeFlag&6&&e.component?$s(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 tu(e,t=!1,n){let r=[],s=0;for(let o=0;o<e.length;o++){let i=e[o];const a=n==null?i.key:String(n)+String(i.key!=null?i.key:o);i.type===We?(i.patchFlag&128&&s++,r=r.concat(tu(i.children,t,a))):(t||i.type!==ln)&&r.push(a!=null?gr(i,{key:a}):i)}if(s>1)for(let o=0;o<r.length;o++)r[o].patchFlag=-2;return r}function Bi(e){return et(e)?{setup:e,name:e.name}:e}const xs=e=>!!e.type.__asyncLoader;function _w(e){et(e)&&(e={loader:e});const{loader:t,loadingComponent:n,errorComponent:r,delay:s=200,timeout:o,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 Bi({name:"AsyncComponentWrapper",__asyncLoader:m,get __asyncResolved(){return c},setup(){const p=Zt;if(c)return()=>Hu(c,p);const h=w=>{l=null,Fs(w,p,13,!r)};if(i&&p.suspense||_o)return m().then(w=>()=>Hu(w,p)).catch(w=>(h(w),()=>r?C(r,{error:w}):null));const _=wn(!1),g=wn(),b=wn(!!s);return s&&setTimeout(()=>{b.value=!1},s),o!=null&&setTimeout(()=>{if(!_.value&&!g.value){const w=new Error(`Async component timed out after ${o}ms.`);h(w),g.value=w}},o),m().then(()=>{_.value=!0,p.parent&&Hi(p.parent.vnode)&&Ud(p.parent.update)}).catch(w=>{h(w),g.value=w}),()=>{if(_.value&&c)return Hu(c,p);if(g.value&&r)return C(r,{error:g.value});if(n&&!b.value)return C(n)}}})}function Hu(e,{vnode:{ref:t,props:n,children:r,shapeFlag:s},parent:o}){const i=C(e,n,r);return i.ref=t,i}const Hi=e=>e.type.__isKeepAlive,gw={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 s=new Map,o=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 j=w.component;c(w,x,z,0,a),l(j.vnode,w,x,z,j,a,E,w.slotScopeIds,T),Qt(()=>{j.isDeactivated=!1,j.a&&lo(j.a);const F=w.props&&w.props.onVnodeMounted;F&&bn(F,j.parent,w)},a)},r.deactivate=w=>{const x=w.component;c(w,m,null,1,a),Qt(()=>{x.da&&lo(x.da);const z=w.props&&w.props.onVnodeUnmounted;z&&bn(z,x.parent,w),x.isDeactivated=!0},a)};function p(w){Uu(w),d(w,n,a,!0)}function h(w){s.forEach((x,z)=>{const E=Sl(x.type);E&&(!w||!w(E))&&_(z)})}function _(w){const x=s.get(w);!i||x.type!==i.type?p(x):i&&Uu(i),s.delete(w),o.delete(w)}Mt(()=>[e.include,e.exclude],([w,x])=>{w&&h(z=>ei(w,z)),x&&h(z=>!ei(x,z))},{flush:"post",deep:!0});let g=null;const b=()=>{g!=null&&s.set(g,qu(n.subTree))};return Is(b),ru(b),su(()=>{s.forEach(w=>{const{subTree:x,suspense:z}=n,E=qu(x);if(w.type===E.type){Uu(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(!ss(x)||!(x.shapeFlag&4)&&!(x.shapeFlag&128))return i=null,x;let z=qu(x);const E=z.type,T=Sl(xs(z)?z.type.__asyncResolved||{}:E),{include:j,exclude:F,max:A}=e;if(j&&(!T||!ei(j,T))||F&&T&&ei(F,T))return i=z,x;const M=z.key==null?E:z.key,W=s.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&&$s(z,z.transition),z.shapeFlag|=512,o.delete(M),o.add(M)):(o.add(M),A&&o.size>parseInt(A,10)&&_(o.values().next().value)),z.shapeFlag|=256,i=z,D_(x.type)?x:z}}},yw=gw;function ei(e,t){return Ue(e)?e.some(n=>ei(n,t)):Ot(e)?e.split(",").includes(t):e.test?e.test(t):!1}function R_(e,t){j_(e,"a",t)}function N_(e,t){j_(e,"da",t)}function j_(e,t,n=Zt){const r=e.__wdc||(e.__wdc=()=>{let s=n;for(;s;){if(s.isDeactivated)return;s=s.parent}return e()});if(nu(t,r,n),n){let s=n.parent;for(;s&&s.parent;)Hi(s.parent.vnode)&&vw(r,t,n,s),s=s.parent}}function vw(e,t,n,r){const s=nu(t,e,r,!0);$o(()=>{Od(r[t],s)},n)}function Uu(e){let t=e.shapeFlag;t&256&&(t-=256),t&512&&(t-=512),e.shapeFlag=t}function qu(e){return e.shapeFlag&128?e.ssContent:e}function nu(e,t,n=Zt,r=!1){if(n){const s=n[e]||(n[e]=[]),o=t.__weh||(t.__weh=(...i)=>{if(n.isUnmounted)return;Os(),os(n);const a=In(t,n,e,i);return Qr(),Ps(),a});return r?s.unshift(o):s.push(o),o}}const Or=e=>(t,n=Zt)=>(!_o||e==="sp")&&nu(e,t,n),V_=Or("bm"),Is=Or("m"),B_=Or("bu"),ru=Or("u"),su=Or("bum"),$o=Or("um"),H_=Or("sp"),U_=Or("rtg"),q_=Or("rtc");function W_(e,t=Zt){nu("ec",e,t)}function kt(e,t){const n=sn;if(n===null)return e;const r=au(n)||n.proxy,s=e.dirs||(e.dirs=[]);for(let o=0;o<t.length;o++){let[i,a,l,c=yt]=t[o];et(i)&&(i={mounted:i,updated:i}),i.deep&&ws(a),s.push({dir:i,instance:r,value:a,oldValue:void 0,arg:l,modifiers:c})}return e}function dr(e,t,n,r){const s=e.dirs,o=t&&t.dirs;for(let i=0;i<s.length;i++){const a=s[i];o&&(a.oldValue=o[i].value);let l=a.dir[r];l&&(Os(),In(l,n,8,[e.el,a,e,t]),Ps())}}const Yd="components",bw="directives";function P(e,t){return Jd(Yd,e,!0,t)||e}const G_=Symbol();function K_(e){return Ot(e)?Jd(Yd,e,!1)||e:e||G_}function ou(e){return Jd(bw,e)}function Jd(e,t,n=!0,r=!1){const s=sn||Zt;if(s){const o=s.type;if(e===Yd){const a=Sl(o,!1);if(a&&(a===t||a===Ln(t)||a===Ni(Ln(t))))return o}const i=Ff(s[e]||o[e],t)||Ff(s.appContext[e],t);return!i&&r?o:i}}function Ff(e,t){return e&&(e[t]||e[Ln(t)]||e[Ni(Ln(t))])}function Ct(e,t,n,r){let s;const o=n&&n[r];if(Ue(e)||Ot(e)){s=new Array(e.length);for(let i=0,a=e.length;i<a;i++)s[i]=t(e[i],i,void 0,o&&o[i])}else if(typeof e=="number"){s=new Array(e);for(let i=0;i<e;i++)s[i]=t(i+1,i,void 0,o&&o[i])}else if(Nt(e))if(e[Symbol.iterator])s=Array.from(e,(i,a)=>t(i,a,void 0,o&&o[a]));else{const i=Object.keys(e);s=new Array(i.length);for(let a=0,l=i.length;a<l;a++){const c=i[a];s[a]=t(e[c],c,a,o&&o[a])}}else s=[];return n&&(n[r]=s),s}function Ui(e,t){for(let n=0;n<t.length;n++){const r=t[n];if(Ue(r))for(let s=0;s<r.length;s++)e[r[s].name]=r[s].fn;else r&&(e[r.name]=r.fn)}return e}function xt(e,t,n={},r,s){if(sn.isCE||sn.parent&&xs(sn.parent)&&sn.parent.isCE)return C("slot",t==="default"?null:{name:t},r&&r());let o=e[t];o&&o._c&&(o._d=!1),S();const i=o&&Z_(o(n)),a=xe(We,{key:n.key||`_${t}`},i||(r?r():[]),i&&e._===1?64:-2);return!s&&a.scopeId&&(a.slotScopeIds=[a.scopeId+"-s"]),o&&o._c&&(o._d=!0),a}function Z_(e){return e.some(t=>ss(t)?!(t.type===ln||t.type===We&&!Z_(t.children)):!0)?e:null}function ww(e){const t={};for(const n in e)t[li(n)]=e[n];return t}const Fc=e=>e?mg(e)?au(e)||e.proxy:Fc(e.parent):null,Cl=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=>Fc(e.parent),$root:e=>Fc(e.root),$emit:e=>e.emit,$options:e=>J_(e),$forceUpdate:e=>e.f||(e.f=()=>Ud(e.update)),$nextTick:e=>e.n||(e.n=Jl.bind(e.proxy)),$watch:e=>pw.bind(e)}),Ic={get({_:e},t){const{ctx:n,setupState:r,data:s,props:o,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 s[t];case 4:return n[t];case 3:return o[t]}else{if(r!==yt&&mt(r,t))return i[t]=1,r[t];if(s!==yt&&mt(s,t))return i[t]=2,s[t];if((c=e.propsOptions[0])&&mt(c,t))return i[t]=3,o[t];if(n!==yt&&mt(n,t))return i[t]=4,n[t];Mc&&(i[t]=0)}}const d=Cl[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:s,ctx:o}=e;return s!==yt&&mt(s,t)?(s[t]=n,!0):r!==yt&&mt(r,t)?(r[t]=n,!0):mt(e.props,t)||t[0]==="$"&&t.slice(1)in e?!1:(o[t]=n,!0)},has({_:{data:e,setupState:t,accessCache:n,ctx:r,appContext:s,propsOptions:o}},i){let a;return!!n[i]||e!==yt&&mt(e,i)||t!==yt&&mt(t,i)||(a=o[0])&&mt(a,i)||mt(r,i)||mt(Cl,i)||mt(s.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)}},Cw=Rt({},Ic,{get(e,t){if(t!==Symbol.unscopables)return Ic.get(e,t,e)},has(e,t){return t[0]!=="_"&&!Hb(t)}});let Mc=!0;function zw(e){const t=J_(e),n=e.proxy,r=e.ctx;Mc=!1,t.beforeCreate&&If(t.beforeCreate,e,"bc");const{data:s,computed:o,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:j,errorCaptured:F,serverPrefetch:A,expose:M,inheritAttrs:W,components:R,directives:q,filters:B}=t;if(c&&xw(c,r,null,e.appContext.config.unwrapInjectedRef),i)for(const ue in i){const ge=i[ue];et(ge)&&(r[ue]=ge.bind(n))}if(s){const ue=s.call(n,n);Nt(ue)&&(e.data=Ds(ue))}if(Mc=!0,o)for(const ue in o){const ge=o[ue],Le=et(ge)?ge.bind(n,n):et(ge.get)?ge.get.bind(n,n):sr,Be=!et(ge)&&et(ge.set)?ge.set.bind(n):sr,he=Tt({get:Le,set:Be});Object.defineProperty(r,ue,{enumerable:!0,configurable:!0,get:()=>he.value,set:J=>he.value=J})}if(a)for(const ue in a)Y_(a[ue],r,n,ue);if(l){const ue=et(l)?l.call(n):l;Reflect.ownKeys(ue).forEach(ge=>{fi(ge,ue[ge])})}d&&If(d,e,"c");function X(ue,ge){Ue(ge)?ge.forEach(Le=>ue(Le.bind(n))):ge&&ue(ge.bind(n))}if(X(V_,f),X(Is,m),X(B_,p),X(ru,h),X(R_,_),X(N_,g),X(W_,F),X(q_,T),X(U_,j),X(su,w),X($o,z),X(H_,A),Ue(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===sr&&(e.render=E),W!=null&&(e.inheritAttrs=W),R&&(e.components=R),q&&(e.directives=q)}function xw(e,t,n=sr,r=!1){Ue(e)&&(e=Lc(e));for(const s in e){const o=e[s];let i;Nt(o)?"default"in o?i=or(o.from||s,o.default,!0):i=or(o.from||s):i=or(o),qt(i)&&r?Object.defineProperty(t,s,{enumerable:!0,configurable:!0,get:()=>i.value,set:a=>i.value=a}):t[s]=i}}function If(e,t,n){In(Ue(e)?e.map(r=>r.bind(t.proxy)):e.bind(t.proxy),t,n)}function Y_(e,t,n,r){const s=r.includes(".")?M_(n,r):()=>n[r];if(Ot(e)){const o=t[e];et(o)&&Mt(s,o)}else if(et(e))Mt(s,e.bind(n));else if(Nt(e))if(Ue(e))e.forEach(o=>Y_(o,t,n,r));else{const o=et(e.handler)?e.handler.bind(n):t[e.handler];et(o)&&Mt(s,o,e)}}function J_(e){const t=e.type,{mixins:n,extends:r}=t,{mixins:s,optionsCache:o,config:{optionMergeStrategies:i}}=e.appContext,a=o.get(t);let l;return a?l=a:!s.length&&!n&&!r?l=t:(l={},s.length&&s.forEach(c=>zl(l,c,i,!0)),zl(l,t,i)),o.set(t,l),l}function zl(e,t,n,r=!1){const{mixins:s,extends:o}=t;o&&zl(e,o,n,!0),s&&s.forEach(i=>zl(e,i,n,!0));for(const i in t)if(!(r&&i==="expose")){const a=kw[i]||n&&n[i];e[i]=a?a(e[i],t[i]):t[i]}return e}const kw={data:Mf,props:gs,emits:gs,methods:gs,computed:gs,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:gs,directives:gs,watch:Ew,provide:Mf,inject:Sw};function Mf(e,t){return t?e?function(){return Rt(et(e)?e.call(this,this):e,et(t)?t.call(this,this):t)}:t:e}function Sw(e,t){return gs(Lc(e),Lc(t))}function Lc(e){if(Ue(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 gs(e,t){return e?Rt(Rt(Object.create(null),e),t):t}function Ew(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 $w(e,t,n,r=!1){const s={},o={};yl(o,iu,1),e.propsDefaults=Object.create(null),X_(e,t,s,o);for(const i in e.propsOptions[0])i in s||(s[i]=void 0);n?e.props=r?s:w_(s):e.type.props?e.props=s:e.props=o,e.attrs=o}function Aw(e,t,n,r){const{props:s,attrs:o,vnode:{patchFlag:i}}=e,a=ut(s),[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(Ql(e.emitsOptions,m))continue;const p=t[m];if(l)if(mt(o,m))p!==o[m]&&(o[m]=p,c=!0);else{const h=Ln(m);s[h]=Rc(l,a,h,p,e,!1)}else p!==o[m]&&(o[m]=p,c=!0)}}}else{X_(e,t,s,o)&&(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)&&(s[f]=Rc(l,a,f,void 0,e,!0)):delete s[f]);if(o!==a)for(const f in o)(!t||!mt(t,f)&&!0)&&(delete o[f],c=!0)}c&&$r(e,"set","$attrs")}function X_(e,t,n,r){const[s,o]=e.propsOptions;let i=!1,a;if(t)for(let l in t){if(ai(l))continue;const c=t[l];let d;s&&mt(s,d=Ln(l))?!o||!o.includes(d)?n[d]=c:(a||(a={}))[d]=c:Ql(e.emitsOptions,l)||(!(l in r)||c!==r[l])&&(r[l]=c,i=!0)}if(o){const l=ut(n),c=a||yt;for(let d=0;d<o.length;d++){const f=o[d];n[f]=Rc(s,l,f,c[f],e,!mt(c,f))}}return i}function Rc(e,t,n,r,s,o){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&&et(l)){const{propsDefaults:c}=s;n in c?r=c[n]:(os(s),r=c[n]=l.call(null,t),Qr())}else r=l}i[0]&&(o&&!a?r=!1:i[1]&&(r===""||r===pr(n))&&(r=!0))}return r}function Q_(e,t,n=!1){const r=t.propsCache,s=r.get(e);if(s)return s;const o=e.props,i={},a=[];let l=!1;if(!et(e)){const d=f=>{l=!0;const[m,p]=Q_(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(!o&&!l)return r.set(e,io),io;if(Ue(o))for(let d=0;d<o.length;d++){const f=Ln(o[d]);Lf(f)&&(i[f]=yt)}else if(o)for(const d in o){const f=Ln(d);if(Lf(f)){const m=o[d],p=i[f]=Ue(m)||et(m)?{type:m}:m;if(p){const h=jf(Boolean,p.type),_=jf(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 Lf(e){return e[0]!=="$"}function Rf(e){const t=e&&e.toString().match(/^\s*function (\w+)/);return t?t[1]:e===null?"null":""}function Nf(e,t){return Rf(e)===Rf(t)}function jf(e,t){return Ue(t)?t.findIndex(n=>Nf(n,e)):et(t)&&Nf(t,e)?0:-1}const eg=e=>e[0]==="_"||e==="$stable",Xd=e=>Ue(e)?e.map(Pn):[Pn(e)],Tw=(e,t,n)=>{if(t._n)return t;const r=O((...s)=>Xd(t(...s)),n);return r._c=!1,r},tg=(e,t,n)=>{const r=e._ctx;for(const s in e){if(eg(s))continue;const o=e[s];if(et(o))t[s]=Tw(s,o,r);else if(o!=null){const i=Xd(o);t[s]=()=>i}}},ng=(e,t)=>{const n=Xd(t);e.slots.default=()=>n},Ow=(e,t)=>{if(e.vnode.shapeFlag&32){const n=t._;n?(e.slots=ut(t),yl(t,"_",n)):tg(t,e.slots={})}else e.slots={},t&&ng(e,t);yl(e.slots,iu,1)},Pw=(e,t,n)=>{const{vnode:r,slots:s}=e;let o=!0,i=yt;if(r.shapeFlag&32){const a=t._;a?n&&a===1?o=!1:(Rt(s,t),!n&&a===1&&delete s._):(o=!t.$stable,tg(t,s)),i=t}else t&&(ng(e,t),i={default:1});if(o)for(const a in s)!eg(a)&&!(a in i)&&delete s[a]};function rg(){return{app:null,config:{isNativeTag:Jb,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 Dw=0;function Fw(e,t){return function(r,s=null){et(r)||(r=Object.assign({},r)),s!=null&&!Nt(s)&&(s=null);const o=rg(),i=new Set;let a=!1;const l=o.app={_uid:Dw++,_component:r,_props:s,_container:null,_context:o,_instance:null,version:bg,get config(){return o.config},set config(c){},use(c,...d){return i.has(c)||(c&&et(c.install)?(i.add(c),c.install(l,...d)):et(c)&&(i.add(c),c(l,...d))),l},mixin(c){return o.mixins.includes(c)||o.mixins.push(c),l},component(c,d){return d?(o.components[c]=d,l):o.components[c]},directive(c,d){return d?(o.directives[c]=d,l):o.directives[c]},mount(c,d,f){if(!a){const m=C(r,s);return m.appContext=o,d&&t?t(m,c):e(m,c,f),a=!0,l._container=c,c.__vue_app__=l,au(m.component)||m.component.proxy}},unmount(){a&&(e(null,l._container),delete l._container.__vue_app__)},provide(c,d){return o.provides[c]=d,l}};return l}}function xl(e,t,n,r,s=!1){if(Ue(e)){e.forEach((m,p)=>xl(m,t&&(Ue(t)?t[p]:t),n,r,s));return}if(xs(r)&&!s)return;const o=r.shapeFlag&4?au(r.component)||r.component.proxy:r.el,i=s?null:o,{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)),et(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;s?Ue(_)&&Od(_,o):Ue(_)?_.includes(o)||_.push(o):m?(d[l]=[o],mt(f,l)&&(f[l]=d[l])):(l.value=[o],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 fa=e=>/svg/.test(e.namespaceURI)&&e.tagName!=="foreignObject",pa=e=>e.nodeType===8;function Iw(e){const{mt:t,p:n,o:{patchProp:r,createText:s,nextSibling:o,parentNode:i,remove:a,insert:l,createComment:c}}=e,d=(b,w)=>{if(!w.hasChildNodes()){n(null,b,w),wl(),w._vnode=b;return}Lr=!1,f(w.firstChild,b,null,null,null),wl(),w._vnode=b,Lr&&console.error("Hydration completed but contains mismatches.")},f=(b,w,x,z,E,T=!1)=>{const j=pa(b)&&b.data==="[",F=()=>_(b,w,x,z,E,j),{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 rs:q!==3?w.children===""?(l(w.el=s(""),i(b),b),B=b):B=F():(b.data!==w.children&&(Lr=!0,b.data=w.children),B=o(b));break;case ln:q!==8||j?B=F():B=o(b);break;case ks:if(q!==1&&q!==3)B=F();else{B=b;const oe=!w.children.length;for(let X=0;X<w.staticCount;X++)oe&&(w.children+=B.nodeType===1?B.outerHTML:B.data),X===w.staticCount-1&&(w.anchor=B),B=o(B);return B}break;case We:j?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 oe=i(b);if(t(w,oe,null,x,z,fa(oe),T),B=j?g(b):o(b),B&&pa(B)&&B.data==="teleport end"&&(B=o(B)),xs(w)){let X;j?(X=C(We),X.anchor=B?B.previousSibling:oe.lastChild):X=b.nodeType===3?vt(""):C("div"),X.el=b,w.component.subTree=X}}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,fa(i(b)),E,T,e,f))}return M!=null&&xl(M,null,z,w),B},m=(b,w,x,z,E,T)=>{T=T||!!w.dynamicChildren;const{type:j,props:F,patchFlag:A,shapeFlag:M,dirs:W}=w,R=j==="input"&&W||j==="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")||Li(B)&&!ai(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)&&F_(()=>{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 oe=B;B=B.nextSibling,a(oe)}}else M&8&&b.textContent!==w.children&&(Lr=!0,b.textContent=w.children)}return b.nextSibling},p=(b,w,x,z,E,T,j)=>{j=j||!!w.dynamicChildren;const F=w.children,A=F.length;for(let M=0;M<A;M++){const W=j?F[M]:F[M]=Pn(F[M]);if(b)b=f(b,W,z,E,T,j);else{if(W.type===rs&&!W.children)continue;Lr=!0,n(null,W,x,null,z,E,fa(x),T)}}return b},h=(b,w,x,z,E,T)=>{const{slotScopeIds:j}=w;j&&(E=E?E.concat(j):j);const F=i(b),A=p(o(b),w,F,x,z,E,T);return A&&pa(A)&&A.data==="]"?o(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=o(b);if(M&&M!==A)a(M);else break}}const j=o(b),F=i(b);return a(b),n(null,w,F,j,x,z,fa(F),E),j},g=b=>{let w=0;for(;b;)if(b=o(b),b&&pa(b)&&(b.data==="["&&w++,b.data==="]")){if(w===0)return o(b);w--}return b};return[d,f]}const Qt=F_;function sg(e){return ig(e)}function og(e){return ig(e,Iw)}function ig(e,t){const n=r0();n.__VUE__=!0;const{insert:r,remove:s,patchProp:o,createElement:i,createText:a,createComment:l,setText:c,setElementText:d,parentNode:f,nextSibling:m,setScopeId:p=sr,cloneNode:h,insertStaticContent:_}=e,g=($,L,Y,le=null,ce=null,ye=null,Ce=!1,pe=null,V=!!L.dynamicChildren)=>{if($===L)return;$&&!fr($,L)&&(le=be($),me($,ce,ye,!0),$=null),L.patchFlag===-2&&(V=!1,L.dynamicChildren=null);const{type:U,ref:$e,shapeFlag:ze}=L;switch(U){case rs:b($,L,Y,le);break;case ln:w($,L,Y,le);break;case ks:$==null&&x(L,Y,le,Ce);break;case We:q($,L,Y,le,ce,ye,Ce,pe,V);break;default:ze&1?T($,L,Y,le,ce,ye,Ce,pe,V):ze&6?B($,L,Y,le,ce,ye,Ce,pe,V):(ze&64||ze&128)&&U.process($,L,Y,le,ce,ye,Ce,pe,V,Ie)}$e!=null&&ce&&xl($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($),s($),$=Y;s(L)},T=($,L,Y,le,ce,ye,Ce,pe,V)=>{Ce=Ce||L.type==="svg",$==null?j(L,Y,le,ce,ye,Ce,pe,V):M($,L,ce,ye,Ce,pe,V)},j=($,L,Y,le,ce,ye,Ce,pe)=>{let V,U;const{type:$e,props:ze,shapeFlag:De,transition:Re,patchFlag:qe,dirs:tt}=$;if($.el&&h!==void 0&&qe===-1)V=$.el=h($.el);else{if(V=$.el=i($.type,ye,ze&&ze.is,ze),De&8?d(V,$.children):De&16&&A($.children,V,null,le,ce,ye&&$e!=="foreignObject",Ce,pe),tt&&dr($,null,le,"created"),ze){for(const y in ze)y!=="value"&&!ai(y)&&o(V,y,null,ze[y],ye,$.children,le,ce,se);"value"in ze&&o(V,"value",null,ze.value),(U=ze.onVnodeBeforeMount)&&bn(U,le,$)}F(V,$,$.scopeId,Ce,le)}tt&&dr($,null,le,"beforeMount");const k=(!ce||ce&&!ce.pendingBranch)&&Re&&!Re.persisted;k&&Re.beforeEnter(V),r(V,L,Y),((U=ze&&ze.onVnodeMounted)||k||tt)&&Qt(()=>{U&&bn(U,le,$),k&&Re.enter(V),tt&&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,V=0)=>{for(let U=V;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:V,dynamicChildren:U,dirs:$e}=L;V|=$.patchFlag&16;const ze=$.props||yt,De=L.props||yt;let Re;Y&&ds(Y,!1),(Re=De.onVnodeBeforeUpdate)&&bn(Re,Y,L,$),$e&&dr(L,$,Y,"beforeUpdate"),Y&&ds(Y,!0);const qe=ce&&L.type!=="foreignObject";if(U?W($.dynamicChildren,U,pe,Y,le,qe,ye):Ce||Le($,L,pe,null,Y,le,qe,ye,!1),V>0){if(V&16)R(pe,L,ze,De,Y,le,ce);else if(V&2&&ze.class!==De.class&&o(pe,"class",null,De.class,ce),V&4&&o(pe,"style",ze.style,De.style,ce),V&8){const tt=L.dynamicProps;for(let k=0;k<tt.length;k++){const y=tt[k],I=ze[y],K=De[y];(K!==I||y==="value")&&o(pe,y,I,K,ce,$.children,Y,le,se)}}V&1&&$.children!==L.children&&d(pe,L.children)}else!Ce&&U==null&&R(pe,L,ze,De,Y,le,ce);((Re=De.onVnodeUpdated)||$e)&&Qt(()=>{Re&&bn(Re,Y,L,$),$e&&dr(L,$,Y,"updated")},le)},W=($,L,Y,le,ce,ye,Ce)=>{for(let pe=0;pe<L.length;pe++){const V=$[pe],U=L[pe],$e=V.el&&(V.type===We||!fr(V,U)||V.shapeFlag&70)?f(V.el):Y;g(V,U,$e,null,le,ce,ye,Ce,!0)}},R=($,L,Y,le,ce,ye,Ce)=>{if(Y!==le){for(const pe in le){if(ai(pe))continue;const V=le[pe],U=Y[pe];V!==U&&pe!=="value"&&o($,pe,U,V,Ce,L.children,ce,ye,se)}if(Y!==yt)for(const pe in Y)!ai(pe)&&!(pe in le)&&o($,pe,Y[pe],null,Ce,L.children,ce,ye,se);"value"in le&&o($,"value",Y.value,le.value)}},q=($,L,Y,le,ce,ye,Ce,pe,V)=>{const U=L.el=$?$.el:a(""),$e=L.anchor=$?$.anchor:a("");let{patchFlag:ze,dynamicChildren:De,slotScopeIds:Re}=L;Re&&(pe=pe?pe.concat(Re):Re),$==null?(r(U,Y,le),r($e,Y,le),A(L.children,Y,$e,ce,ye,Ce,pe,V)):ze>0&&ze&64&&De&&$.dynamicChildren?(W($.dynamicChildren,De,Y,ce,ye,Ce,pe),(L.key!=null||ce&&L===ce.subTree)&&Qd($,L,!0)):Le($,L,Y,$e,ce,ye,Ce,pe,V)},B=($,L,Y,le,ce,ye,Ce,pe,V)=>{L.slotScopeIds=pe,$==null?L.shapeFlag&512?ce.ctx.activate(L,Y,le,Ce,V):oe(L,Y,le,ce,ye,Ce,V):X($,L,V)},oe=($,L,Y,le,ce,ye,Ce)=>{const pe=$.component=dg($,le,ce);if(Hi($)&&(pe.ctx.renderer=Ie),fg(pe),pe.asyncDep){if(ce&&ce.registerDep(pe,ue),!$.el){const V=pe.subTree=C(ln);w(null,V,L,Y)}return}ue(pe,$,L,Y,ce,ye,Ce)},X=($,L,Y)=>{const le=L.component=$.component;if(ow($,L,Y))if(le.asyncDep&&!le.asyncResolved){ge(le,L,Y);return}else le.next=L,Y0(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:Re,vnode:qe}=$,tt=$e,k;ds($,!1),$e?($e.el=qe.el,ge($,$e,Ce)):$e=qe,ze&&lo(ze),(k=$e.props&&$e.props.onVnodeBeforeUpdate)&&bn(k,Re,$e,qe),ds($,!0);const y=il($),I=$.subTree;$.subTree=y,g(I,y,f(I.el),be(I),$,ce,ye),$e.el=y.el,tt===null&&Wd($,y.el),De&&Qt(De,ce),(k=$e.props&&$e.props.onVnodeUpdated)&&Qt(()=>bn(k,Re,$e,qe),ce)}else{let $e;const{el:ze,props:De}=L,{bm:Re,m:qe,parent:tt}=$,k=xs(L);if(ds($,!1),Re&&lo(Re),!k&&($e=De&&De.onVnodeBeforeMount)&&bn($e,tt,L),ds($,!0),ze&&Ae){const y=()=>{$.subTree=il($),Ae(ze,$.subTree,$,ce,null)};k?L.type.__asyncLoader().then(()=>!$.isUnmounted&&y()):y()}else{const y=$.subTree=il($);g(null,y,Y,le,$,ce,ye),L.el=y.el}if(qe&&Qt(qe,ce),!k&&($e=De&&De.onVnodeMounted)){const y=L;Qt(()=>bn($e,tt,y),ce)}(L.shapeFlag&256||tt&&xs(tt.vnode)&&tt.vnode.shapeFlag&256)&&$.a&&Qt($.a,ce),$.isMounted=!0,L=Y=le=null}},V=$.effect=new ji(pe,()=>Ud(U),$.scope),U=$.update=()=>V.run();U.id=$.uid,ds($,!0),U()},ge=($,L,Y)=>{L.component=$;const le=$.vnode.props;$.vnode=L,$.next=null,Aw($,L.props,le,Y),Pw($,L.children,Y),Os(),Xl(void 0,$.update),Ps()},Le=($,L,Y,le,ce,ye,Ce,pe,V=!1)=>{const U=$&&$.children,$e=$?$.shapeFlag:0,ze=L.children,{patchFlag:De,shapeFlag:Re}=L;if(De>0){if(De&128){he(U,ze,Y,le,ce,ye,Ce,pe,V);return}else if(De&256){Be(U,ze,Y,le,ce,ye,Ce,pe,V);return}}Re&8?($e&16&&se(U,ce,ye),ze!==U&&d(Y,ze)):$e&16?Re&16?he(U,ze,Y,le,ce,ye,Ce,pe,V):se(U,ce,ye,!0):($e&8&&d(Y,""),Re&16&&A(ze,Y,le,ce,ye,Ce,pe,V))},Be=($,L,Y,le,ce,ye,Ce,pe,V)=>{$=$||io,L=L||io;const U=$.length,$e=L.length,ze=Math.min(U,$e);let De;for(De=0;De<ze;De++){const Re=L[De]=V?Ur(L[De]):Pn(L[De]);g($[De],Re,Y,null,ce,ye,Ce,pe,V)}U>$e?se($,ce,ye,!0,!1,ze):A(L,Y,le,ce,ye,Ce,pe,V,ze)},he=($,L,Y,le,ce,ye,Ce,pe,V)=>{let U=0;const $e=L.length;let ze=$.length-1,De=$e-1;for(;U<=ze&&U<=De;){const Re=$[U],qe=L[U]=V?Ur(L[U]):Pn(L[U]);if(fr(Re,qe))g(Re,qe,Y,null,ce,ye,Ce,pe,V);else break;U++}for(;U<=ze&&U<=De;){const Re=$[ze],qe=L[De]=V?Ur(L[De]):Pn(L[De]);if(fr(Re,qe))g(Re,qe,Y,null,ce,ye,Ce,pe,V);else break;ze--,De--}if(U>ze){if(U<=De){const Re=De+1,qe=Re<$e?L[Re].el:le;for(;U<=De;)g(null,L[U]=V?Ur(L[U]):Pn(L[U]),Y,qe,ce,ye,Ce,pe,V),U++}}else if(U>De)for(;U<=ze;)me($[U],ce,ye,!0),U++;else{const Re=U,qe=U,tt=new Map;for(U=qe;U<=De;U++){const Me=L[U]=V?Ur(L[U]):Pn(L[U]);Me.key!=null&&tt.set(Me.key,U)}let k,y=0;const I=De-qe+1;let K=!1,ee=0;const fe=new Array(I);for(U=0;U<I;U++)fe[U]=0;for(U=Re;U<=ze;U++){const Me=$[U];if(y>=I){me(Me,ce,ye,!0);continue}let re;if(Me.key!=null)re=tt.get(Me.key);else for(k=qe;k<=De;k++)if(fe[k-qe]===0&&fr(Me,L[k])){re=k;break}re===void 0?me(Me,ce,ye,!0):(fe[re-qe]=U+1,re>=ee?ee=re:K=!0,g(Me,L[re],Y,null,ce,ye,Ce,pe,V),y++)}const Se=K?Mw(fe):io;for(k=Se.length-1,U=I-1;U>=0;U--){const Me=qe+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,V):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:V,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===We){r(ye,L,Y);for(let ze=0;ze<V.length;ze++)J(V[ze],L,Y,le);r($.anchor,L,Y);return}if(Ce===ks){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:Re}=pe,qe=()=>r(ye,L,Y),tt=()=>{ze(ye,()=>{qe(),Re&&Re()})};De?De(ye,qe,tt):tt()}else r(ye,L,Y)},me=($,L,Y,le=!1,ce=!1)=>{const{type:ye,props:Ce,ref:pe,children:V,dynamicChildren:U,shapeFlag:$e,patchFlag:ze,dirs:De}=$;if(pe!=null&&xl(pe,null,Y,$,!0),$e&256){L.ctx.deactivate($);return}const Re=$e&1&&De,qe=!xs($);let tt;if(qe&&(tt=Ce&&Ce.onVnodeBeforeUnmount)&&bn(tt,L,$),$e&6)ie($.component,Y,le);else{if($e&128){$.suspense.unmount(Y,le);return}Re&&dr($,null,L,"beforeUnmount"),$e&64?$.type.remove($,L,Y,ce,Ie,le):U&&(ye!==We||ze>0&&ze&64)?se(U,L,Y,!1,!0):(ye===We&&ze&384||!ce&&$e&16)&&se(V,L,Y),le&&we($)}(qe&&(tt=Ce&&Ce.onVnodeUnmounted)||Re)&&Qt(()=>{tt&&bn(tt,L,$),Re&&dr($,null,L,"unmounted")},Y)},we=$=>{const{type:L,el:Y,anchor:le,transition:ce}=$;if(L===We){H(Y,le);return}if(L===ks){E($);return}const ye=()=>{s(Y),ce&&!ce.persisted&&ce.afterLeave&&ce.afterLeave()};if($.shapeFlag&1&&ce&&!ce.persisted){const{leave:Ce,delayLeave:pe}=ce,V=()=>Ce(Y,ye);pe?pe($.el,ye,V):V()}else ye()},H=($,L)=>{let Y;for(;$!==L;)Y=m($),s($),$=Y;s(L)},ie=($,L,Y)=>{const{bum:le,scope:ce,update:ye,subTree:Ce,um:pe}=$;le&&lo(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())},se=($,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),wl(),L._vnode=$},Ie={p:g,um:me,m:J,r:we,mt:oe,mc:A,pc:Le,pbc:W,n:be,o:e};let Ee,Ae;return t&&([Ee,Ae]=t(Ie)),{render:je,hydrate:Ee,createApp:Fw(je,Ee)}}function ds({effect:e,update:t},n){e.allowRecurse=t.allowRecurse=n}function Qd(e,t,n=!1){const r=e.children,s=t.children;if(Ue(r)&&Ue(s))for(let o=0;o<r.length;o++){const i=r[o];let a=s[o];a.shapeFlag&1&&!a.dynamicChildren&&((a.patchFlag<=0||a.patchFlag===32)&&(a=s[o]=Ur(s[o]),a.el=i.el),n||Qd(i,a))}}function Mw(e){const t=e.slice(),n=[0];let r,s,o,i,a;const l=e.length;for(r=0;r<l;r++){const c=e[r];if(c!==0){if(s=n[n.length-1],e[s]<c){t[r]=s,n.push(r);continue}for(o=0,i=n.length-1;o<i;)a=o+i>>1,e[n[a]]<c?o=a+1:i=a;c<e[n[o]]&&(o>0&&(t[r]=n[o-1]),n[o]=r)}}for(o=n.length,i=n[o-1];o-- >0;)n[o]=i,i=t[i];return n}const Lw=e=>e.__isTeleport,pi=e=>e&&(e.disabled||e.disabled===""),Vf=e=>typeof SVGElement!="undefined"&&e instanceof SVGElement,Nc=(e,t)=>{const n=e&&e.to;return Ot(n)?t?t(n):null:n},Rw={__isTeleport:!0,process(e,t,n,r,s,o,i,a,l,c){const{mc:d,pc:f,pbc:m,o:{insert:p,querySelector:h,createText:_,createComment:g}}=c,b=pi(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 j=t.target=Nc(t.props,h),F=t.targetAnchor=_("");j&&(p(F,j),i=i||Vf(j));const A=(M,W)=>{w&16&&d(x,M,W,s,o,i,a,l)};b?A(n,T):j&&A(j,F)}else{t.el=e.el;const E=t.anchor=e.anchor,T=t.target=e.target,j=t.targetAnchor=e.targetAnchor,F=pi(e.props),A=F?n:T,M=F?E:j;if(i=i||Vf(T),z?(m(e.dynamicChildren,z,A,s,o,i,a),Qd(e,t,!0)):l||f(e,t,A,M,s,o,i,a,!1),b)F||ha(t,n,E,c,1);else if((t.props&&t.props.to)!==(e.props&&e.props.to)){const W=t.target=Nc(t.props,h);W&&ha(t,W,null,c,0)}else F&&ha(t,T,j,c,1)}},remove(e,t,n,r,{um:s,o:{remove:o}},i){const{shapeFlag:a,children:l,anchor:c,targetAnchor:d,target:f,props:m}=e;if(f&&o(d),(i||!pi(m))&&(o(c),a&16))for(let p=0;p<l.length;p++){const h=l[p];s(h,t,n,!0,!!h.dynamicChildren)}},move:ha,hydrate:Nw};function ha(e,t,n,{o:{insert:r},m:s},o=2){o===0&&r(e.targetAnchor,t,n);const{el:i,anchor:a,shapeFlag:l,children:c,props:d}=e,f=o===2;if(f&&r(i,t,n),(!f||pi(d))&&l&16)for(let m=0;m<c.length;m++)s(c[m],t,n,2);f&&r(a,t,n)}function Nw(e,t,n,r,s,o,{o:{nextSibling:i,parentNode:a,querySelector:l}},c){const d=t.target=Nc(t.props,l);if(d){const f=d._lpa||d.firstChild;if(t.shapeFlag&16)if(pi(t.props))t.anchor=c(i(e),t,a(e),n,r,s,o),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,s,o)}}return t.anchor&&i(t.anchor)}const ls=Rw,We=Symbol(void 0),rs=Symbol(void 0),ln=Symbol(void 0),ks=Symbol(void 0),hi=[];let Cn=null;function S(e=!1){hi.push(Cn=e?null:[])}function ag(){hi.pop(),Cn=hi[hi.length-1]||null}let As=1;function jc(e){As+=e}function lg(e){return e.dynamicChildren=As>0?Cn||io:null,ag(),As>0&&Cn&&Cn.push(e),e}function D(e,t,n,r,s,o){return lg(u(e,t,n,r,s,o,!0))}function xe(e,t,n,r,s){return lg(C(e,t,n,r,s,!0))}function ss(e){return e?e.__v_isVNode===!0:!1}function fr(e,t){return e.type===t.type&&e.key===t.key}function jw(e){}const iu="__vInternal",ug=({key:e})=>e!=null?e:null,al=({ref:e,ref_key:t,ref_for:n})=>e!=null?Ot(e)||qt(e)||et(e)?{i:sn,r:e,k:t,f:!!n}:e:null;function u(e,t=null,n=null,r=0,s=null,o=e===We?0:1,i=!1,a=!1){const l={__v_isVNode:!0,__v_skip:!0,type:e,props:t,key:t&&ug(t),ref:t&&al(t),scopeId:eu,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:o,patchFlag:r,dynamicProps:s,dynamicChildren:null,appContext:null};return a?(em(l,n),o&128&&e.normalize(l)):n&&(l.shapeFlag|=Ot(n)?8:16),As>0&&!i&&Cn&&(l.patchFlag>0||o&6)&&l.patchFlag!==32&&Cn.push(l),l}const C=Vw;function Vw(e,t=null,n=null,r=0,s=null,o=!1){if((!e||e===G_)&&(e=ln),ss(e)){const a=gr(e,t,!0);return n&&em(a,n),As>0&&!o&&Cn&&(a.shapeFlag&6?Cn[Cn.indexOf(e)]=a:Cn.push(a)),a.patchFlag|=-2,a}if(Jw(e)&&(e=e.__vccOpts),t){t=cg(t);let{class:a,style:l}=t;a&&!Ot(a)&&(t.class=Ze(a)),Nt(l)&&(Rd(l)&&!Ue(l)&&(l=Rt({},l)),t.style=as(l))}const i=Ot(e)?1:D_(e)?128:Lw(e)?64:Nt(e)?4:et(e)?2:0;return u(e,t,n,r,s,i,o,!0)}function cg(e){return e?Rd(e)||iu in e?Rt({},e):e:null}function gr(e,t,n=!1){const{props:r,ref:s,patchFlag:o,children:i}=e,a=t?tm(r||{},t):r;return{__v_isVNode:!0,__v_skip:!0,type:e.type,props:a,key:a&&ug(a),ref:t&&t.ref?n&&s?Ue(s)?s.concat(al(t)):[s,al(t)]:al(t):s,scopeId:e.scopeId,slotScopeIds:e.slotScopeIds,children:i,target:e.target,targetAnchor:e.targetAnchor,staticCount:e.staticCount,shapeFlag:e.shapeFlag,patchFlag:t&&e.type!==We?o===-1?16:o|16:o,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(rs,null,e,t)}function Bw(e,t){const n=C(ks,null,e);return n.staticCount=t,n}function Q(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):Ue(e)?C(We,null,e.slice()):typeof e=="object"?Ur(e):C(rs,null,String(e))}function Ur(e){return e.el===null||e.memo?e:gr(e)}function em(e,t){let n=0;const{shapeFlag:r}=e;if(t==null)t=null;else if(Ue(t))n=16;else if(typeof t=="object")if(r&65){const s=t.default;s&&(s._c&&(s._d=!1),em(e,s()),s._c&&(s._d=!0));return}else{n=32;const s=t._;!s&&!(iu in t)?t._ctx=sn:s===3&&sn&&(sn.slots._===1?t._=1:(t._=2,e.patchFlag|=1024))}else et(t)?(t={default:t,_ctx:sn},n=32):(t=String(t),r&64?(n=16,t=[vt(t)]):n=8);e.children=t,e.shapeFlag|=n}function tm(...e){const t={};for(let n=0;n<e.length;n++){const r=e[n];for(const s in r)if(s==="class")t.class!==r.class&&(t.class=Ze([t.class,r.class]));else if(s==="style")t.style=as([t.style,r.style]);else if(Li(s)){const o=t[s],i=r[s];i&&o!==i&&!(Ue(o)&&o.includes(i))&&(t[s]=o?[].concat(o,i):i)}else s!==""&&(t[s]=r[s])}return t}function bn(e,t,n,r=null){In(e,t,7,[n,r])}const Hw=rg();let Uw=0;function dg(e,t,n){const r=e.type,s=(t?t.appContext:e.appContext)||Hw,o={uid:Uw++,vnode:e,type:r,parent:t,appContext:s,root:null,next:null,subTree:null,effect:null,update:null,scope:new Fd(!0),render:null,proxy:null,exposed:null,exposeProxy:null,withProxy:null,provides:t?t.provides:Object.create(s.provides),accessCache:null,renderCache:[],components:null,directives:null,propsOptions:Q_(r,s),emitsOptions:P_(r,s),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 o.ctx={_:o},o.root=t?t.root:o,o.emit=X0.bind(null,o),e.ce&&e.ce(o),o}let Zt=null;const ar=()=>Zt||sn,os=e=>{Zt=e,e.scope.on()},Qr=()=>{Zt&&Zt.scope.off(),Zt=null};function mg(e){return e.vnode.shapeFlag&4}let _o=!1;function fg(e,t=!1){_o=t;const{props:n,children:r}=e.vnode,s=mg(e);$w(e,n,s,t),Ow(e,r);const o=s?qw(e,t):void 0;return _o=!1,o}function qw(e,t){const n=e.type;e.accessCache=Object.create(null),e.proxy=Nd(new Proxy(e.ctx,Ic));const{setup:r}=n;if(r){const s=e.setupContext=r.length>1?hg(e):null;os(e),Os();const o=hr(r,e,0,[e.props,s]);if(Ps(),Qr(),Pd(o)){if(o.then(Qr,Qr),t)return o.then(i=>{Vc(e,i,t)}).catch(i=>{Fs(i,e,0)});e.asyncDep=o}else Vc(e,o,t)}else pg(e,t)}function Vc(e,t,n){et(t)?e.type.__ssrInlineRender?e.ssrRender=t:e.render=t:Nt(t)&&(e.setupState=Bd(t)),pg(e,n)}let kl,Bc;function Ww(e){kl=e,Bc=t=>{t.render._rc&&(t.withProxy=new Proxy(t.ctx,Cw))}}const Gw=()=>!kl;function pg(e,t,n){const r=e.type;if(!e.render){if(!t&&kl&&!r.render){const s=r.template;if(s){const{isCustomElement:o,compilerOptions:i}=e.appContext.config,{delimiters:a,compilerOptions:l}=r,c=Rt(Rt({isCustomElement:o,delimiters:a},i),l);r.render=kl(s,c)}}e.render=r.render||sr,Bc&&Bc(e)}os(e),Os(),zw(e),Ps(),Qr()}function Kw(e){return new Proxy(e.attrs,{get(t,n){return Rn(e,"get","$attrs"),t[n]}})}function hg(e){const t=r=>{e.exposed=r||{}};let n;return{get attrs(){return n||(n=Kw(e))},slots:e.slots,emit:e.emit,expose:t}}function au(e){if(e.exposed)return e.exposeProxy||(e.exposeProxy=new Proxy(Bd(Nd(e.exposed)),{get(t,n){if(n in t)return t[n];if(n in Cl)return Cl[n](e)}}))}const Zw=/(?:^|[-_])(\w)/g,Yw=e=>e.replace(Zw,t=>t.toUpperCase()).replace(/[-_]/g,"");function Sl(e,t=!0){return et(e)?e.displayName||e.name:e.name||t&&e.__name}function _g(e,t,n=!1){let r=Sl(t);if(!r&&t.__file){const s=t.__file.match(/([^/\\]+)\.\w+$/);s&&(r=s[1])}if(!r&&e&&e.parent){const s=o=>{for(const i in o)if(o[i]===t)return i};r=s(e.components||e.parent.type.components)||s(e.appContext.components)}return r?Yw(r):n?"App":"Anonymous"}function Jw(e){return et(e)&&"__vccOpts"in e}const Tt=(e,t)=>H0(e,t,_o);function Xw(){return null}function Qw(){return null}function eC(e){}function tC(e,t){return null}function nC(){return gg().slots}function rC(){return gg().attrs}function gg(){const e=ar();return e.setupContext||(e.setupContext=hg(e))}function sC(e,t){const n=Ue(e)?e.reduce((r,s)=>(r[s]={},r),{}):e;for(const r in t){const s=n[r];s?Ue(s)||et(s)?n[r]={type:s,default:t[r]}:s.default=t[r]:s===null&&(n[r]={default:t[r]})}return n}function oC(e,t){const n={};for(const r in e)t.includes(r)||Object.defineProperty(n,r,{enumerable:!0,get:()=>e[r]});return n}function iC(e){const t=ar();let n=e();return Qr(),Pd(n)&&(n=n.catch(r=>{throw os(t),r})),[n,()=>os(t)]}function zn(e,t,n){const r=arguments.length;return r===2?Nt(t)&&!Ue(t)?ss(t)?C(e,null,[t]):C(e,t):C(e,null,t):(r>3?n=Array.prototype.slice.call(arguments,2):r===3&&ss(n)&&(n=[n]),C(e,t,n))}const yg=Symbol(""),aC=()=>{{const e=or(yg);return e||k_("Server rendering context not provided. Make sure to only call useSSRContext() conditionally in the server build."),e}};function lC(){}function uC(e,t,n,r){const s=n[r];if(s&&vg(s,e))return s;const o=t();return o.memo=e.slice(),n[r]=o}function vg(e,t){const n=e.memo;if(n.length!=t.length)return!1;for(let r=0;r<n.length;r++)if(fo(n[r],t[r]))return!1;return As>0&&Cn&&Cn.push(e),!0}const bg="3.2.37",cC={createComponentInstance:dg,setupComponent:fg,renderComponentRoot:il,setCurrentRenderingInstance:Oi,isVNode:ss,normalizeVNode:Pn},dC=cC,mC=null,fC=null,pC="http://www.w3.org/2000/svg",bs=typeof document!="undefined"?document:null,Bf=bs&&bs.createElement("template"),hC={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 s=t?bs.createElementNS(pC,e):bs.createElement(e,n?{is:n}:void 0);return e==="select"&&r&&r.multiple!=null&&s.setAttribute("multiple",r.multiple),s},createText:e=>bs.createTextNode(e),createComment:e=>bs.createComment(e),setText:(e,t)=>{e.nodeValue=t},setElementText:(e,t)=>{e.textContent=t},parentNode:e=>e.parentNode,nextSibling:e=>e.nextSibling,querySelector:e=>bs.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,s,o){const i=n?n.previousSibling:t.lastChild;if(s&&(s===o||s.nextSibling))for(;t.insertBefore(s.cloneNode(!0),n),!(s===o||!(s=s.nextSibling)););else{Bf.innerHTML=r?`<svg>${e}</svg>`:e;const a=Bf.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 _C(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 gC(e,t,n){const r=e.style,s=Ot(n);if(n&&!s){for(const o in n)Hc(r,o,n[o]);if(t&&!Ot(t))for(const o in t)n[o]==null&&Hc(r,o,"")}else{const o=r.display;s?t!==n&&(r.cssText=n):t&&e.removeAttribute("style"),"_vod"in e&&(r.display=o)}}const Hf=/\s*!important$/;function Hc(e,t,n){if(Ue(n))n.forEach(r=>Hc(e,t,r));else if(n==null&&(n=""),t.startsWith("--"))e.setProperty(t,n);else{const r=yC(e,t);Hf.test(n)?e.setProperty(pr(r),n.replace(Hf,""),"important"):e[r]=n}}const Uf=["Webkit","Moz","ms"],Wu={};function yC(e,t){const n=Wu[t];if(n)return n;let r=Ln(t);if(r!=="filter"&&r in e)return Wu[t]=r;r=Ni(r);for(let s=0;s<Uf.length;s++){const o=Uf[s]+r;if(o in e)return Wu[t]=o}return t}const qf="http://www.w3.org/1999/xlink";function vC(e,t,n,r,s){if(r&&t.startsWith("xlink:"))n==null?e.removeAttributeNS(qf,t.slice(6,t.length)):e.setAttributeNS(qf,t,n);else{const o=qb(t);n==null||o&&!s_(n)?e.removeAttribute(t):e.setAttribute(t,o?"":n)}}function bC(e,t,n,r,s,o,i){if(t==="innerHTML"||t==="textContent"){r&&i(r,s,o),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=s_(n):n==null&&l==="string"?(n="",a=!0):l==="number"&&(n=0,a=!0)}try{e[t]=n}catch{}a&&e.removeAttribute(t)}const[wg,wC]=(()=>{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 Uc=0;const CC=Promise.resolve(),zC=()=>{Uc=0},xC=()=>Uc||(CC.then(zC),Uc=wg());function kr(e,t,n,r){e.addEventListener(t,n,r)}function kC(e,t,n,r){e.removeEventListener(t,n,r)}function SC(e,t,n,r,s=null){const o=e._vei||(e._vei={}),i=o[t];if(r&&i)i.value=r;else{const[a,l]=EC(t);if(r){const c=o[t]=$C(r,s);kr(e,a,c,l)}else i&&(kC(e,a,i,l),o[t]=void 0)}}const Wf=/(?:Once|Passive|Capture)$/;function EC(e){let t;if(Wf.test(e)){t={};let n;for(;n=e.match(Wf);)e=e.slice(0,e.length-n[0].length),t[n[0].toLowerCase()]=!0}return[pr(e.slice(2)),t]}function $C(e,t){const n=r=>{const s=r.timeStamp||wg();(wC||s>=n.attached-1)&&In(AC(r,n.value),t,5,[r])};return n.value=e,n.attached=xC(),n}function AC(e,t){if(Ue(t)){const n=e.stopImmediatePropagation;return e.stopImmediatePropagation=()=>{n.call(e),e._stopped=!0},t.map(r=>s=>!s._stopped&&r&&r(s))}else return t}const Gf=/^on[a-z]/,TC=(e,t,n,r,s=!1,o,i,a,l)=>{t==="class"?_C(e,r,s):t==="style"?gC(e,n,r):Li(t)?Td(t)||SC(e,t,n,r,i):(t[0]==="."?(t=t.slice(1),!0):t[0]==="^"?(t=t.slice(1),!1):OC(e,t,r,s))?bC(e,t,r,o,i,a,l):(t==="true-value"?e._trueValue=r:t==="false-value"&&(e._falseValue=r),vC(e,t,r,s))};function OC(e,t,n,r){return r?!!(t==="innerHTML"||t==="textContent"||t in e&&Gf.test(t)&&et(n)):t==="spellcheck"||t==="draggable"||t==="translate"||t==="form"||t==="list"&&e.tagName==="INPUT"||t==="type"&&e.tagName==="TEXTAREA"||Gf.test(t)&&Ot(n)?!1:t in e}function Cg(e,t){const n=Bi(e);class r extends lu{constructor(o){super(n,o,t)}}return r.def=n,r}const PC=e=>Cg(e,Ig),DC=typeof HTMLElement!="undefined"?HTMLElement:class{};class lu extends DC{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,Jl(()=>{this._connected||(Wc(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 s of r)this._setAttr(s.attributeName)}).observe(this,{attributes:!0});const t=r=>{const{props:s,styles:o}=r,i=!Ue(s),a=s?i?Object.keys(s):s:[];let l;if(i)for(const c in this._props){const d=s[c];(d===Number||d&&d.type===Number)&&(this._props[c]=ts(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(o),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=ts(n)),this._setProp(Ln(t),n,!1)}_getProp(t){return this._props[t]}_setProp(t,n,r=!0,s=!0){n!==this._props[t]&&(this._props[t]=n,s&&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(){Wc(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=(s,...o)=>{this.dispatchEvent(new CustomEvent(s,{detail:o}))};let r=this;for(;r=r&&(r.parentNode||r.host);)if(r instanceof lu){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 FC(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 IC(e){const t=ar();if(!t)return;const n=()=>qc(t.subTree,e(t.proxy));I_(n),Is(()=>{const r=new MutationObserver(n);r.observe(t.subTree.el.parentNode,{childList:!0}),$o(()=>r.disconnect())})}function qc(e,t){if(e.shapeFlag&128){const n=e.suspense;e=n.activeBranch,n.pendingBranch&&!n.isHydrating&&n.effects.push(()=>{qc(n.activeBranch,t)})}for(;e.component;)e=e.component.subTree;if(e.shapeFlag&1&&e.el)Kf(e.el,t);else if(e.type===We)e.children.forEach(n=>qc(n,t));else if(e.type===ks){let{el:n,anchor:r}=e;for(;n&&(Kf(n,t),n!==r);)n=n.nextSibling}}function Kf(e,t){if(e.nodeType===1){const n=e.style;for(const r in t)n.setProperty(`--${r}`,t[r])}}const Rr="transition",Ro="animation",Wt=(e,{slots:t})=>zn(Zd,xg(e),t);Wt.displayName="Transition";const zg={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},MC=Wt.props=Rt({},Zd.props,zg),ms=(e,t=[])=>{Ue(e)?e.forEach(n=>n(...t)):e&&e(...t)},Zf=e=>e?Ue(e)?e.some(t=>t.length>1):e.length>1:!1;function xg(e){const t={};for(const R in e)R in zg||(t[R]=e[R]);if(e.css===!1)return t;const{name:n="v",type:r,duration:s,enterFromClass:o=`${n}-enter-from`,enterActiveClass:i=`${n}-enter-active`,enterToClass:a=`${n}-enter-to`,appearFromClass:l=o,appearActiveClass:c=i,appearToClass:d=a,leaveFromClass:f=`${n}-leave-from`,leaveActiveClass:m=`${n}-leave-active`,leaveToClass:p=`${n}-leave-to`}=e,h=LC(s),_=h&&h[0],g=h&&h[1],{onBeforeEnter:b,onEnter:w,onEnterCancelled:x,onLeave:z,onLeaveCancelled:E,onBeforeAppear:T=b,onAppear:j=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 oe=R?j:w,X=()=>A(q,R,B);ms(oe,[q,X]),Yf(()=>{Hr(q,R?l:o),zr(q,R?d:a),Zf(oe)||Jf(q,r,_,X)})};return Rt(t,{onBeforeEnter(R){ms(b,[R]),zr(R,o),zr(R,i)},onBeforeAppear(R){ms(T,[R]),zr(R,l),zr(R,c)},onEnter:W(!1),onAppear:W(!0),onLeave(R,q){R._isLeaving=!0;const B=()=>M(R,q);zr(R,f),Sg(),zr(R,m),Yf(()=>{!R._isLeaving||(Hr(R,f),zr(R,p),Zf(z)||Jf(R,r,g,B))}),ms(z,[R,B])},onEnterCancelled(R){A(R,!1),ms(x,[R])},onAppearCancelled(R){A(R,!0),ms(F,[R])},onLeaveCancelled(R){M(R),ms(E,[R])}})}function LC(e){if(e==null)return null;if(Nt(e))return[Gu(e.enter),Gu(e.leave)];{const t=Gu(e);return[t,t]}}function Gu(e){return ts(e)}function zr(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 Yf(e){requestAnimationFrame(()=>{requestAnimationFrame(e)})}let RC=0;function Jf(e,t,n,r){const s=e._endId=++RC,o=()=>{s===e._endId&&r()};if(n)return setTimeout(o,n);const{type:i,timeout:a,propCount:l}=kg(e,t);if(!i)return r();const c=i+"end";let d=0;const f=()=>{e.removeEventListener(c,m),o()},m=p=>{p.target===e&&++d>=l&&f()};setTimeout(()=>{d<l&&f()},a+1),e.addEventListener(c,m)}function kg(e,t){const n=window.getComputedStyle(e),r=h=>(n[h]||"").split(", "),s=r(Rr+"Delay"),o=r(Rr+"Duration"),i=Xf(s,o),a=r(Ro+"Delay"),l=r(Ro+"Duration"),c=Xf(a,l);let d=null,f=0,m=0;t===Rr?i>0&&(d=Rr,f=i,m=o.length):t===Ro?c>0&&(d=Ro,f=c,m=l.length):(f=Math.max(i,c),d=f>0?i>c?Rr:Ro:null,m=d?d===Rr?o.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 Xf(e,t){for(;e.length<t.length;)e=e.concat(e);return Math.max(...t.map((n,r)=>Qf(n)+Qf(e[r])))}function Qf(e){return Number(e.slice(0,-1).replace(",","."))*1e3}function Sg(){return document.body.offsetHeight}const Eg=new WeakMap,$g=new WeakMap,NC={name:"TransitionGroup",props:Rt({},MC,{tag:String,moveClass:String}),setup(e,{slots:t}){const n=ar(),r=Kd();let s,o;return ru(()=>{if(!s.length)return;const i=e.moveClass||`${e.name||"v"}-move`;if(!UC(s[0].el,n.vnode.el,i))return;s.forEach(VC),s.forEach(BC);const a=s.filter(HC);Sg(),a.forEach(l=>{const c=l.el,d=c.style;zr(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=xg(i);let l=i.tag||We;s=o,o=t.default?tu(t.default()):[];for(let c=0;c<o.length;c++){const d=o[c];d.key!=null&&$s(d,ho(d,a,r,n))}if(s)for(let c=0;c<s.length;c++){const d=s[c];$s(d,ho(d,a,r,n)),Eg.set(d,d.el.getBoundingClientRect())}return C(l,null,o)}}},jC=NC;function VC(e){const t=e.el;t._moveCb&&t._moveCb(),t._enterCb&&t._enterCb()}function BC(e){$g.set(e,e.el.getBoundingClientRect())}function HC(e){const t=Eg.get(e),n=$g.get(e),r=t.left-n.left,s=t.top-n.top;if(r||s){const o=e.el.style;return o.transform=o.webkitTransform=`translate(${r}px,${s}px)`,o.transitionDuration="0s",e}}function UC(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 s=t.nodeType===1?t:t.parentNode;s.appendChild(r);const{hasTransform:o}=kg(r);return s.removeChild(r),o}const is=e=>{const t=e.props["onUpdate:modelValue"]||!1;return Ue(t)?n=>lo(t,n):t};function qC(e){e.target.composing=!0}function ep(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}},s){e._assign=is(s);const o=r||s.props&&s.props.type==="number";kr(e,t?"change":"input",i=>{if(i.target.composing)return;let a=e.value;n&&(a=a.trim()),o&&(a=ts(a)),e._assign(a)}),n&&kr(e,"change",()=>{e.value=e.value.trim()}),t||(kr(e,"compositionstart",qC),kr(e,"compositionend",ep),kr(e,"change",ep))},mounted(e,{value:t}){e.value=t==null?"":t},beforeUpdate(e,{value:t,modifiers:{lazy:n,trim:r,number:s}},o){if(e._assign=is(o),e.composing||document.activeElement===e&&e.type!=="range"&&(n||r&&e.value.trim()===t||(s||e.type==="number")&&ts(e.value)===t))return;const i=t==null?"":t;e.value!==i&&(e.value=i)}},Ar={deep:!0,created(e,t,n){e._assign=is(n),kr(e,"change",()=>{const r=e._modelValue,s=go(e),o=e.checked,i=e._assign;if(Ue(r)){const a=Ul(r,s),l=a!==-1;if(o&&!l)i(r.concat(s));else if(!o&&l){const c=[...r];c.splice(a,1),i(c)}}else if(Ts(r)){const a=new Set(r);o?a.add(s):a.delete(s),i(a)}else i(Ag(e,o))})},mounted:tp,beforeUpdate(e,t,n){e._assign=is(n),tp(e,t,n)}};function tp(e,{value:t,oldValue:n},r){e._modelValue=t,Ue(t)?e.checked=Ul(t,r.props.value)>-1:Ts(t)?e.checked=t.has(r.props.value):t!==n&&(e.checked=es(t,Ag(e,!0)))}const nm={created(e,{value:t},n){e.checked=es(t,n.props.value),e._assign=is(n),kr(e,"change",()=>{e._assign(go(e))})},beforeUpdate(e,{value:t,oldValue:n},r){e._assign=is(r),t!==n&&(e.checked=es(t,r.props.value))}},rm={deep:!0,created(e,{value:t,modifiers:{number:n}},r){const s=Ts(t);kr(e,"change",()=>{const o=Array.prototype.filter.call(e.options,i=>i.selected).map(i=>n?ts(go(i)):go(i));e._assign(e.multiple?s?new Set(o):o:o[0])}),e._assign=is(r)},mounted(e,{value:t}){np(e,t)},beforeUpdate(e,t,n){e._assign=is(n)},updated(e,{value:t}){np(e,t)}};function np(e,t){const n=e.multiple;if(!(n&&!Ue(t)&&!Ts(t))){for(let r=0,s=e.options.length;r<s;r++){const o=e.options[r],i=go(o);if(n)Ue(t)?o.selected=Ul(t,i)>-1:o.selected=t.has(i);else if(es(go(o),t)){e.selectedIndex!==r&&(e.selectedIndex=r);return}}!n&&e.selectedIndex!==-1&&(e.selectedIndex=-1)}}function go(e){return"_value"in e?e._value:e.value}function Ag(e,t){const n=t?"_trueValue":"_falseValue";return n in e?e[n]:t}const Tg={created(e,t,n){_a(e,t,n,null,"created")},mounted(e,t,n){_a(e,t,n,null,"mounted")},beforeUpdate(e,t,n,r){_a(e,t,n,r,"beforeUpdate")},updated(e,t,n,r){_a(e,t,n,r,"updated")}};function Og(e,t){switch(e){case"SELECT":return rm;case"TEXTAREA":return kn;default:switch(t){case"checkbox":return Ar;case"radio":return nm;default:return kn}}}function _a(e,t,n,r,s){const i=Og(e.tagName,n.props&&n.props.type)[s];i&&i(e,t,n,r)}function WC(){kn.getSSRProps=({value:e})=>({value:e}),nm.getSSRProps=({value:e},t)=>{if(t.props&&es(t.props.value,e))return{checked:!0}},Ar.getSSRProps=({value:e},t)=>{if(Ue(e)){if(t.props&&Ul(e,t.props.value)>-1)return{checked:!0}}else if(Ts(e)){if(t.props&&e.has(t.props.value))return{checked:!0}}else if(e)return{checked:!0}},Tg.getSSRProps=(e,t)=>{if(typeof t.type!="string")return;const n=Og(t.type.toUpperCase(),t.props&&t.props.type);if(n.getSSRProps)return n.getSSRProps(e,t)}}const GC=["ctrl","shift","alt","meta"],KC={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)=>GC.some(n=>e[`${n}Key`]&&!t.includes(n))},_t=(e,t)=>(n,...r)=>{for(let s=0;s<t.length;s++){const o=KC[t[s]];if(o&&o(n,t))return}return e(n,...r)},ZC={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(s=>s===r||ZC[s]===r))return e(n)},yo={beforeMount(e,{value:t},{transition:n}){e._vod=e.style.display==="none"?"":e.style.display,n&&t?n.beforeEnter(e):No(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),No(e,!0),r.enter(e)):r.leave(e,()=>{No(e,!1)}):No(e,t))},beforeUnmount(e,{value:t}){No(e,t)}};function No(e,t){e.style.display=t?e._vod:"none"}function YC(){yo.getSSRProps=({value:e})=>{if(!e)return{style:{display:"none"}}}}const Pg=Rt({patchProp:TC},hC);let _i,rp=!1;function Dg(){return _i||(_i=sg(Pg))}function Fg(){return _i=rp?_i:og(Pg),rp=!0,_i}const Wc=(...e)=>{Dg().render(...e)},Ig=(...e)=>{Fg().hydrate(...e)},Mg=(...e)=>{const t=Dg().createApp(...e),{mount:n}=t;return t.mount=r=>{const s=Lg(r);if(!s)return;const o=t._component;!et(o)&&!o.render&&!o.template&&(o.template=s.innerHTML),s.innerHTML="";const i=n(s,!1,s instanceof SVGElement);return s instanceof Element&&(s.removeAttribute("v-cloak"),s.setAttribute("data-v-app","")),i},t},JC=(...e)=>{const t=Fg().createApp(...e),{mount:n}=t;return t.mount=r=>{const s=Lg(r);if(s)return n(s,!0,s instanceof SVGElement)},t};function Lg(e){return Ot(e)?document.querySelector(e):e}let sp=!1;const XC=()=>{sp||(sp=!0,WC(),YC())},QC=()=>{};var ez=Object.freeze(Object.defineProperty({__proto__:null,compile:QC,EffectScope:Fd,ReactiveEffect:ji,customRef:j0,effect:u0,effectScope:s0,getCurrentScope:o0,isProxy:Rd,isReactive:zs,isReadonly:po,isRef:qt,isShallow:vl,markRaw:Nd,onScopeDispose:i0,proxyRefs:Bd,reactive:Ds,readonly:Ld,ref:wn,shallowReactive:w_,shallowReadonly:I0,shallowRef:C_,stop:c0,toRaw:ut,toRef:x_,toRefs:ui,triggerRef:L0,unref:uo,camelize:Ln,capitalize:Ni,normalizeClass:Ze,normalizeProps:Zb,normalizeStyle:as,toDisplayString:v,toHandlerKey:li,BaseTransition:Zd,Comment:ln,Fragment:We,KeepAlive:yw,Static:ks,Suspense:aw,Teleport:ls,Text:rs,callWithAsyncErrorHandling:In,callWithErrorHandling:hr,cloneVNode:gr,compatUtils:fC,computed:Tt,createBlock:xe,createCommentVNode:Q,createElementBlock:D,createElementVNode:u,createHydrationRenderer:og,createPropsRestProxy:oC,createRenderer:sg,createSlots:Ui,createStaticVNode:Bw,createTextVNode:vt,createVNode:C,defineAsyncComponent:_w,defineComponent:Bi,defineEmits:Qw,defineExpose:eC,defineProps:Xw,get devtools(){return Qs},getCurrentInstance:ar,getTransitionRawChildren:tu,guardReactiveProps:cg,h:zn,handleError:Fs,initCustomFormatter:lC,inject:or,isMemoSame:vg,isRuntimeOnly:Gw,isVNode:ss,mergeDefaults:sC,mergeProps:tm,nextTick:Jl,onActivated:R_,onBeforeMount:V_,onBeforeUnmount:su,onBeforeUpdate:B_,onDeactivated:N_,onErrorCaptured:W_,onMounted:Is,onRenderTracked:q_,onRenderTriggered:U_,onServerPrefetch:H_,onUnmounted:$o,onUpdated:ru,openBlock:S,popScopeId:ew,provide:fi,pushScopeId:Q0,queuePostFlushCb:qd,registerRuntimeCompiler:Ww,renderList:Ct,renderSlot:xt,resolveComponent:P,resolveDirective:ou,resolveDynamicComponent:K_,resolveFilter:mC,resolveTransitionHooks:ho,setBlockTracking:jc,setDevtoolsHook:O_,setTransitionHooks:$s,ssrContextKey:yg,ssrUtils:dC,toHandlers:ww,transformVNodeArgs:jw,useAttrs:rC,useSSRContext:aC,useSlots:nC,useTransitionState:Kd,version:bg,warn:k_,watch:Mt,watchEffect:mw,watchPostEffect:I_,watchSyncEffect:fw,withAsyncContext:iC,withCtx:O,withDefaults:tC,withDirectives:kt,withMemo:uC,withScopeId:tw,Transition:Wt,TransitionGroup:jC,VueElement:lu,createApp:Mg,createSSRApp:JC,defineCustomElement:Cg,defineSSRCustomElement:PC,hydrate:Ig,initDirectivesForSSR:XC,render:Wc,useCssModule:FC,useCssVars:IC,vModelCheckbox:Ar,vModelDynamic:Tg,vModelRadio:nm,vModelSelect:rm,vModelText:kn,vShow:yo,withKeys:Dn,withModifiers:_t},Symbol.toStringTag,{value:"Module"}));/*!
|
|
* @intlify/shared v9.1.10
|
|
* (c) 2022 kazuya kawaguchi
|
|
* Released under the MIT License.
|
|
*/const tz=typeof Symbol=="function"&&typeof Symbol.toStringTag=="symbol",Pr=e=>tz?Symbol(e):e,nz=(e,t,n)=>rz({l:e,k:t,s:n}),rz=e=>JSON.stringify(e).replace(/\u2028/g,"\\u2028").replace(/\u2029/g,"\\u2029").replace(/\u0027/g,"\\u0027"),en=e=>typeof e=="number"&&isFinite(e),sz=e=>om(e)==="[object Date]",El=e=>om(e)==="[object RegExp]",uu=e=>ft(e)&&Object.keys(e).length===0;function oz(e,t){typeof console!="undefined"&&(console.warn("[intlify] "+e),t&&console.warn(t.stack))}const pn=Object.assign;let op;const sm=()=>op||(op=typeof globalThis!="undefined"?globalThis:typeof self!="undefined"?self:typeof window!="undefined"?window:typeof global!="undefined"?global:{});function ip(e){return e.replace(/</g,"<").replace(/>/g,">").replace(/"/g,""").replace(/'/g,"'")}const iz=Object.prototype.hasOwnProperty;function Rg(e,t){return iz.call(e,t)}const on=Array.isArray,mn=e=>typeof e=="function",Ge=e=>typeof e=="string",Yt=e=>typeof e=="boolean",hn=e=>e!==null&&typeof e=="object",Ng=Object.prototype.toString,om=e=>Ng.call(e),ft=e=>om(e)==="[object Object]",az=e=>e==null?"":on(e)||ft(e)&&e.toString===Ng?JSON.stringify(e,null,2):String(e);/*!
|
|
* @intlify/message-resolver v9.1.10
|
|
* (c) 2022 kazuya kawaguchi
|
|
* Released under the MIT License.
|
|
*/const lz=Object.prototype.hasOwnProperty;function uz(e,t){return lz.call(e,t)}const ll=e=>e!==null&&typeof e=="object",us=[];us[0]={w:[0],i:[3,0],["["]:[4],o:[7]};us[1]={w:[1],["."]:[2],["["]:[4],o:[7]};us[2]={w:[2],i:[3,0],["0"]:[3,0]};us[3]={i:[3,0],["0"]:[3,0],w:[1,1],["."]:[2,1],["["]:[4,1],o:[7,1]};us[4]={["'"]:[5,0],['"']:[6,0],["["]:[4,2],["]"]:[1,3],o:8,l:[4,0]};us[5]={["'"]:[4,0],o:8,l:[5,0]};us[6]={['"']:[4,0],o:8,l:[6,0]};const cz=/^\s?(?:true|false|-?[\d.]+|'[^']*'|"[^"]*")\s?$/;function dz(e){return cz.test(e)}function mz(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 fz(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 pz(e){const t=e.trim();return e.charAt(0)==="0"&&isNaN(parseInt(e))?!1:dz(t)?mz(t):"*"+t}function hz(e){const t=[];let n=-1,r=0,s=0,o,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](),s++},m[3]=()=>{if(s>0)s--,r=4,m[0]();else{if(s=0,i===void 0||(i=pz(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++,o=e[n],!(o==="\\"&&p())){if(l=fz(o),f=us[r],c=f[l]||f.l||8,c===8||(r=c[0],c[1]!==void 0&&(d=m[c[1]],d&&(a=o,d()===!1))))return;if(r===7)return t}}const ap=new Map;function $l(e,t){if(!ll(e))return null;let n=ap.get(t);if(n||(n=hz(t),n&&ap.set(t,n)),!n)return null;const r=n.length;let s=e,o=0;for(;o<r;){const i=s[n[o]];if(i===void 0)return null;s=i,o++}return s}function Gc(e){if(!ll(e))return e;for(const t in e)if(!!uz(e,t))if(!t.includes("."))ll(e[t])&&Gc(e[t]);else{const n=t.split("."),r=n.length-1;let s=e;for(let o=0;o<r;o++)n[o]in s||(s[n[o]]={}),s=s[n[o]];s[n[r]]=e[t],delete e[t],ll(s[n[r]])&&Gc(s[n[r]])}return e}/*!
|
|
* @intlify/runtime v9.1.10
|
|
* (c) 2022 kazuya kawaguchi
|
|
* Released under the MIT License.
|
|
*/const _z=e=>e,gz=e=>"",yz="text",vz=e=>e.length===0?"":e.join(""),bz=az;function lp(e,t){return e=Math.abs(e),t===2?e?e>1?1:0:1:e?Math.min(e,2):0}function wz(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 Cz(e,t){t.count||(t.count=e),t.n||(t.n=e)}function zz(e={}){const t=e.locale,n=wz(e),r=hn(e.pluralRules)&&Ge(t)&&mn(e.pluralRules[t])?e.pluralRules[t]:lp,s=hn(e.pluralRules)&&Ge(t)&&mn(e.pluralRules[t])?lp:void 0,o=g=>g[r(n,g.length,s)],i=e.list||[],a=g=>i[g],l=e.named||{};en(e.pluralIndex)&&Cz(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):gz)}const f=g=>e.modifiers?e.modifiers[g]:_z,m=ft(e.processor)&&mn(e.processor.normalize)?e.processor.normalize:vz,p=ft(e.processor)&&mn(e.processor.interpolate)?e.processor.interpolate:bz,h=ft(e.processor)&&Ge(e.processor.type)?e.processor.type:yz,_={list:a,named:c,plural:o,linked:(g,b)=>{const w=d(g)(_);return Ge(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 jg(e,t,n={}){const{domain:r,messages:s,args:o}=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 Vg={I18nInit:"i18n:init",FunctionTranslate:"function:translate"};/*!
|
|
* @intlify/core-base v9.1.10
|
|
* (c) 2022 kazuya kawaguchi
|
|
* Released under the MIT License.
|
|
*/let Di=null;function xz(e){Di=e}function kz(e,t,n){Di&&Di.emit(Vg.I18nInit,{timestamp:Date.now(),i18n:e,version:t,meta:n})}const Sz=Ez(Vg.FunctionTranslate);function Ez(e){return t=>Di&&Di.emit(e,t)}const $z="9.1.10",cu=-1,up="";function Az(){return{upper:e=>Ge(e)?e.toUpperCase():e,lower:e=>Ge(e)?e.toLowerCase():e,capitalize:e=>Ge(e)?`${e.charAt(0).toLocaleUpperCase()}${e.substr(1)}`:e}}let Tz,Bg=null;const cp=e=>{Bg=e},Oz=()=>Bg;let dp=0;function Pz(e={}){const t=Ge(e.version)?e.version:$z,n=Ge(e.locale)?e.locale:"en-US",r=on(e.fallbackLocale)||ft(e.fallbackLocale)||Ge(e.fallbackLocale)||e.fallbackLocale===!1?e.fallbackLocale:n,s=ft(e.messages)?e.messages:{[n]:{}},o=ft(e.datetimeFormats)?e.datetimeFormats:{[n]:{}},i=ft(e.numberFormats)?e.numberFormats:{[n]:{}},a=pn({},e.modifiers||{},Az()),l=e.pluralRules||{},c=mn(e.missing)?e.missing:null,d=Yt(e.missingWarn)||El(e.missingWarn)?e.missingWarn:!0,f=Yt(e.fallbackWarn)||El(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:Tz,x=mn(e.onWarn)?e.onWarn:oz,z=e,E=hn(z.__datetimeFormatters)?z.__datetimeFormatters:new Map,T=hn(z.__numberFormatters)?z.__numberFormatters:new Map,j=hn(z.__meta)?z.__meta:{};dp++;const F={version:t,cid:dp,locale:n,fallbackLocale:r,messages:s,datetimeFormats:o,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:j};return __INTLIFY_PROD_DEVTOOLS__&&kz(F,t,j),F}function im(e,t,n,r,s){const{missing:o,onWarn:i}=e;if(o!==null){const a=o(e,n,t,s);return Ge(a)?a:t}else return t}function qi(e,t,n){const r=e;r.__localeChainCache||(r.__localeChainCache=new Map);let s=r.__localeChainCache.get(n);if(!s){s=[];let o=[n];for(;on(o);)o=mp(s,o,t);const i=on(t)?t:ft(t)?t.default?t.default:null:t;o=Ge(i)?[i]:i,on(o)&&mp(s,o,!1),r.__localeChainCache.set(n,s)}return s}function mp(e,t,n){let r=!0;for(let s=0;s<t.length&&Yt(r);s++){const o=t[s];Ge(o)&&(r=Dz(e,t[s],n))}return r}function Dz(e,t,n){let r;const s=t.split("-");do{const o=s.join("-");r=Fz(e,o,n),s.splice(-1,1)}while(s.length&&r===!0);return r}function Fz(e,t,n){let r=!1;if(!e.includes(t)&&(r=!0,t)){r=t[t.length-1]!=="!";const s=t.replace(/!/g,"");e.push(s),(on(n)||ft(n))&&n[s]&&(r=n[s])}return r}function jo(e,t,n){const r=e;r.__localeChainCache=new Map,qi(e,n,t)}function so(e){return jg(e,null,void 0)}const fp=()=>"",mr=e=>mn(e);function pp(e,...t){const{fallbackFormat:n,postTranslation:r,unresolving:s,fallbackLocale:o,messages:i}=e,[a,l]=Kc(...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=Ge(l.default)||Yt(l.default)?Yt(l.default)?a:l.default:n?a:"",h=n||p!=="",_=Ge(l.locale)?l.locale:e.locale;f&&Iz(l);let[g,b,w]=m?[a,_,i[_]||{}]:Mz(e,a,_,o,d,c),x=a;if(!m&&!(Ge(g)||mr(g))&&h&&(g=p,x=g),!m&&(!(Ge(g)||mr(g))||!Ge(b)))return s?cu:a;let z=!1;const E=()=>{z=!0},T=mr(g)?g:Hg(e,a,b,g,x,E);if(z)return g;const j=Nz(e,b,w,l),F=zz(j),A=Lz(e,T,F),M=r?r(A):A;if(__INTLIFY_PROD_DEVTOOLS__){const W={timestamp:Date.now(),key:Ge(a)?a:mr(g)?g.key:"",locale:b||(mr(g)?g.locale:""),format:Ge(g)?g:mr(g)?g.source:"",message:M};W.meta=pn({},e.__meta,Oz()||{}),Sz(W)}return M}function Iz(e){on(e.list)?e.list=e.list.map(t=>Ge(t)?ip(t):t):hn(e.named)&&Object.keys(e.named).forEach(t=>{Ge(e.named[t])&&(e.named[t]=ip(e.named[t]))})}function Mz(e,t,n,r,s,o){const{messages:i,onWarn:a}=e,l=qi(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=$l(c,t))===null&&(f=c[t]),!(Ge(f)||mn(f)));p++){const h=im(e,t,d,o,m);h!==t&&(f=h)}return[f,d,c]}function Hg(e,t,n,r,s,o){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,Rz(e,n,s,r,a,o));return l.locale=n,l.key=t,l.source=r,l}function Lz(e,t,n){return t(n)}function Kc(...e){const[t,n,r]=e,s={};if(!Ge(t)&&!en(t)&&!mr(t))throw so(14);const o=en(t)?String(t):(mr(t),t);return en(n)?s.plural=n:Ge(n)?s.default=n:ft(n)&&!uu(n)?s.named=n:on(n)&&(s.list=n),en(r)?s.plural=r:Ge(r)?s.default=r:ft(r)&&pn(s,r),[o,s]}function Rz(e,t,n,r,s,o){return{warnHtmlMessage:s,onError:i=>{throw o&&o(i),i},onCacheKey:i=>nz(t,n,i)}}function Nz(e,t,n,r){const{modifiers:s,pluralRules:o}=e,a={locale:t,modifiers:s,pluralRules:o,messages:l=>{const c=$l(n,l);if(Ge(c)){let d=!1;const m=Hg(e,l,t,c,l,()=>{d=!0});return d?fp:m}else return mr(c)?c:fp}};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 hp(e,...t){const{datetimeFormats:n,unresolving:r,fallbackLocale:s,onWarn:o}=e,{__datetimeFormatters:i}=e,[a,l,c,d]=Zc(...t),f=Yt(c.missingWarn)?c.missingWarn:e.missingWarn;Yt(c.fallbackWarn)?c.fallbackWarn:e.fallbackWarn;const m=!!c.part,p=Ge(c.locale)?c.locale:e.locale,h=qi(e,s,p);if(!Ge(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++)im(e,a,g,f,w);if(!ft(b)||!Ge(g))return r?cu:a;let x=`${g}__${a}`;uu(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 Zc(...e){const[t,n,r,s]=e;let o={},i={},a;if(Ge(t)){if(!/\d{4}-\d{2}-\d{2}(T.*)?/.test(t))throw so(16);a=new Date(t);try{a.toISOString()}catch{throw so(16)}}else if(sz(t)){if(isNaN(t.getTime()))throw so(15);a=t}else if(en(t))a=t;else throw so(14);return Ge(n)?o.key=n:ft(n)&&(o=n),Ge(r)?o.locale=r:ft(r)&&(i=r),ft(s)&&(i=s),[o.key||"",a,o,i]}function _p(e,t,n){const r=e;for(const s in n){const o=`${t}__${s}`;!r.__datetimeFormatters.has(o)||r.__datetimeFormatters.delete(o)}}function gp(e,...t){const{numberFormats:n,unresolving:r,fallbackLocale:s,onWarn:o}=e,{__numberFormatters: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=Ge(c.locale)?c.locale:e.locale,h=qi(e,s,p);if(!Ge(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++)im(e,a,g,f,w);if(!ft(b)||!Ge(g))return r?cu:a;let x=`${g}__${a}`;uu(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 Yc(...e){const[t,n,r,s]=e;let o={},i={};if(!en(t))throw so(14);const a=t;return Ge(n)?o.key=n:ft(n)&&(o=n),Ge(r)?o.locale=r:ft(r)&&(i=r),ft(s)&&(i=s),[o.key||"",a,o,i]}function yp(e,t,n){const r=e;for(const s in n){const o=`${t}__${s}`;!r.__numberFormatters.has(o)||r.__numberFormatters.delete(o)}}typeof __INTLIFY_PROD_DEVTOOLS__!="boolean"&&(sm().__INTLIFY_PROD_DEVTOOLS__=!1);function jz(){return Ug().__VUE_DEVTOOLS_GLOBAL_HOOK__}function Ug(){return typeof navigator!="undefined"&&typeof window!="undefined"?window:typeof global!="undefined"?global:{}}const Vz=typeof Proxy=="function",Bz="devtools-plugin:setup",Hz="plugin:settings:set";let Vs,Jc;function Uz(){var e;return Vs!==void 0||(typeof window!="undefined"&&window.performance?(Vs=!0,Jc=window.performance):typeof global!="undefined"&&((e=global.perf_hooks)===null||e===void 0?void 0:e.performance)?(Vs=!0,Jc=global.perf_hooks.performance):Vs=!1),Vs}function qz(){return Uz()?Jc.now():Date.now()}class Wz{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 s=`__vue-devtools-plugin-settings__${t.id}`;let o=Object.assign({},r);try{const i=localStorage.getItem(s),a=JSON.parse(i);Object.assign(o,a)}catch{}this.fallbacks={getSettings(){return o},setSettings(i){try{localStorage.setItem(s,JSON.stringify(i))}catch{}o=i},now(){return qz()}},n&&n.on(Hz,(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 Gz(e,t){const n=e,r=Ug(),s=jz(),o=Vz&&n.enableEarlyProxy;if(s&&(r.__VUE_DEVTOOLS_PLUGIN_API_AVAILABLE__||!o))s.emit(Bz,e,t);else{const i=o?new Wz(n,s):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 Kz="9.1.10";function Zz(){typeof __INTLIFY_PROD_DEVTOOLS__!="boolean"&&(sm().__INTLIFY_PROD_DEVTOOLS__=!1)}function qn(e,...t){return jg(e,null,void 0)}const Ku="__INTLIFY_META__",Xc=Pr("__transrateVNode"),Qc=Pr("__datetimeParts"),ed=Pr("__numberParts");Pr("__enableEmitter");Pr("__disableEmitter");const Yz=Pr("__setPluralRules");Pr("__intlifyMeta");const qg=Pr("__injectWithOption");let vp=0;function bp(e){return(t,n,r,s)=>e(n,r,ar()||void 0,s)}function Wg(e,t){const{messages:n,__i18n:r}=t,s=ft(n)?n:on(r)?{}:{[e]:{}};if(on(r)&&r.forEach(({locale:o,resource:i})=>{o?(s[o]=s[o]||{},Al(i,s[o])):Al(i,s)}),t.flatJson)for(const o in s)Rg(s,o)&&Gc(s[o]);return s}const ga=e=>!hn(e)||on(e);function Al(e,t){if(ga(e)||ga(t))throw qn(20);for(const n in e)Rg(e,n)&&(ga(e[n])||ga(t[n])?t[n]=e[n]:Al(e[n],t[n]))}const Jz=()=>{const e=ar();return e&&e.type[Ku]?{[Ku]:e.type[Ku]}:null};function Gg(e={}){const{__root:t}=e,n=t===void 0;let r=Yt(e.inheritLocale)?e.inheritLocale:!0;const s=wn(t&&r?t.locale.value:Ge(e.locale)?e.locale:"en-US"),o=wn(t&&r?t.fallbackLocale.value:Ge(e.fallbackLocale)||on(e.fallbackLocale)||ft(e.fallbackLocale)||e.fallbackLocale===!1?e.fallbackLocale:s.value),i=wn(Wg(s.value,e)),a=wn(ft(e.datetimeFormats)?e.datetimeFormats:{[s.value]:{}}),l=wn(ft(e.numberFormats)?e.numberFormats:{[s.value]:{}});let c=t?t.missingWarn:Yt(e.missingWarn)||El(e.missingWarn)?e.missingWarn:!0,d=t?t.fallbackWarn:Yt(e.fallbackWarn)||El(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)?bp(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 Pz({version:Kz,locale:s.value,fallbackLocale:o.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(),jo(z,s.value,o.value);function T(){return[s.value,o.value,i.value,a.value,l.value]}const j=Tt({get:()=>s.value,set:V=>{s.value=V,z.locale=s.value}}),F=Tt({get:()=>o.value,set:V=>{o.value=V,z.fallbackLocale=o.value,jo(z,s.value,V)}}),A=Tt(()=>i.value),M=Tt(()=>a.value),W=Tt(()=>l.value);function R(){return mn(_)?_:null}function q(V){_=V,z.postTranslation=V}function B(){return p}function oe(V){V!==null&&(h=bp(V)),p=V,z.missing=h}function X(V,U,$e,ze,De,Re){T();let qe;if(__INTLIFY_PROD_DEVTOOLS__)try{cp(Jz()),qe=V(z)}finally{cp(null)}else qe=V(z);if(en(qe)&&qe===cu){const[tt,k]=U();return t&&f?ze(t):De(tt)}else{if(Re(qe))return qe;throw qn(14)}}function ue(...V){return X(U=>pp(U,...V),()=>Kc(...V),"translate",U=>U.t(...V),U=>U,U=>Ge(U))}function ge(...V){const[U,$e,ze]=V;if(ze&&!hn(ze))throw qn(15);return ue(U,$e,pn({resolvedMessage:!0},ze||{}))}function Le(...V){return X(U=>hp(U,...V),()=>Zc(...V),"datetime format",U=>U.d(...V),()=>up,U=>Ge(U))}function Be(...V){return X(U=>gp(U,...V),()=>Yc(...V),"number format",U=>U.n(...V),()=>up,U=>Ge(U))}function he(V){return V.map(U=>Ge(U)?C(rs,null,U,0):U)}const me={normalize:he,interpolate:V=>V,type:"vnode"};function we(...V){return X(U=>{let $e;const ze=U;try{ze.processor=me,$e=pp(ze,...V)}finally{ze.processor=null}return $e},()=>Kc(...V),"translate",U=>U[Xc](...V),U=>[C(rs,null,U,0)],U=>on(U))}function H(...V){return X(U=>gp(U,...V),()=>Yc(...V),"number format",U=>U[ed](...V),()=>[],U=>Ge(U)||on(U))}function ie(...V){return X(U=>hp(U,...V),()=>Zc(...V),"datetime format",U=>U[Qc](...V),()=>[],U=>Ge(U)||on(U))}function se(V){x=V,z.pluralRules=x}function be(V,U){const $e=Ge(U)?U:s.value,ze=Ee($e);return $l(ze,V)!==null}function je(V){let U=null;const $e=qi(z,o.value,s.value);for(let ze=0;ze<$e.length;ze++){const De=i.value[$e[ze]]||{},Re=$l(De,V);if(Re!=null){U=Re;break}}return U}function Ie(V){const U=je(V);return U!=null?U:t?t.tm(V)||{}:{}}function Ee(V){return i.value[V]||{}}function Ae(V,U){i.value[V]=U,z.messages=i.value}function $(V,U){i.value[V]=i.value[V]||{},Al(U,i.value[V]),z.messages=i.value}function L(V){return a.value[V]||{}}function Y(V,U){a.value[V]=U,z.datetimeFormats=a.value,_p(z,V,U)}function le(V,U){a.value[V]=pn(a.value[V]||{},U),z.datetimeFormats=a.value,_p(z,V,U)}function ce(V){return l.value[V]||{}}function ye(V,U){l.value[V]=U,z.numberFormats=l.value,yp(z,V,U)}function Ce(V,U){l.value[V]=pn(l.value[V]||{},U),z.numberFormats=l.value,yp(z,V,U)}return vp++,t&&(Mt(t.locale,V=>{r&&(s.value=V,z.locale=V,jo(z,s.value,o.value))}),Mt(t.fallbackLocale,V=>{r&&(o.value=V,z.fallbackLocale=V,jo(z,s.value,o.value))})),{id:vp,locale:j,fallbackLocale:F,get inheritLocale(){return r},set inheritLocale(V){r=V,V&&t&&(s.value=t.locale.value,o.value=t.fallbackLocale.value,jo(z,s.value,o.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(V){c=V,z.missingWarn=c},get fallbackWarn(){return d},set fallbackWarn(V){d=V,z.fallbackWarn=d},get fallbackRoot(){return f},set fallbackRoot(V){f=V},get fallbackFormat(){return m},set fallbackFormat(V){m=V,z.fallbackFormat=m},get warnHtmlMessage(){return g},set warnHtmlMessage(V){g=V,z.warnHtmlMessage=V},get escapeParameter(){return b},set escapeParameter(V){b=V,z.escapeParameter=V},t:ue,rt:ge,d:Le,n:Be,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:oe,[Xc]:we,[ed]:H,[Qc]:ie,[Yz]:se,[qg]:e.__injectWithOption}}const am={tag:{type:[String,Object]},locale:{type:String},scope:{type:String,validator:e=>e==="parent"||e==="global",default:"parent"},i18n:{type:Object}},wp={name:"i18n-t",props:pn({keypath:{type:String,required:!0},plural:{type:[Number,String],validator:e=>en(e)||!isNaN(e)}},am),setup(e,t){const{slots:n,attrs:r}=t,s=e.i18n||lm({useScope:e.scope,__useComponent:!0}),o=Object.keys(n).filter(i=>i!=="_");return()=>{const i={};e.locale&&(i.locale=e.locale),e.plural!==void 0&&(i.plural=Ge(e.plural)?+e.plural:e.plural);const a=Xz(t,o),l=s[Xc](e.keypath,a,i),c=pn({},r);return Ge(e.tag)||hn(e.tag)?zn(e.tag,c,l):zn(We,c,l)}}};function Xz({slots:e},t){return t.length===1&&t[0]==="default"?e.default?e.default():[]:t.reduce((n,r)=>{const s=e[r];return s&&(n[r]=s()),n},{})}function Kg(e,t,n,r){const{slots:s,attrs:o}=t;return()=>{const i={part:!0};let a={};e.locale&&(i.locale=e.locale),Ge(e.format)?i.key=e.format:hn(e.format)&&(Ge(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];on(l)?c=l.map((f,m)=>{const p=s[f.type];return p?p({[f.type]:f.value,index:m,parts:l}):[f.value]}):Ge(l)&&(c=[l]);const d=pn({},o);return Ge(e.tag)||hn(e.tag)?zn(e.tag,d,c):zn(We,d,c)}}const Qz=["localeMatcher","style","unit","unitDisplay","currency","currencyDisplay","useGrouping","numberingSystem","minimumIntegerDigits","minimumFractionDigits","maximumFractionDigits","minimumSignificantDigits","maximumSignificantDigits","notation","formatMatcher"],Cp={name:"i18n-n",props:pn({value:{type:Number,required:!0},format:{type:[String,Object]}},am),setup(e,t){const n=e.i18n||lm({useScope:"parent",__useComponent:!0});return Kg(e,t,Qz,(...r)=>n[ed](...r))}},ex=["dateStyle","timeStyle","fractionalSecondDigits","calendar","dayPeriod","numberingSystem","localeMatcher","timeZone","hour12","hourCycle","formatMatcher","weekday","era","year","month","day","hour","minute","second","timeZoneName"],zp={name:"i18n-d",props:pn({value:{type:[Number,Date],required:!0},format:{type:[String,Object]}},am),setup(e,t){const n=e.i18n||lm({useScope:"parent",__useComponent:!0});return Kg(e,t,ex,(...r)=>n[Qc](...r))}};function tx(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 nx(e){const t=(n,{instance:r,value:s,modifiers:o})=>{if(!r||!r.$)throw qn(22);const i=tx(e,r.$),a=rx(s);n.textContent=i.t(...sx(a))};return{beforeMount:t,beforeUpdate:t}}function rx(e){if(Ge(e))return{path:e};if(ft(e)){if(!("path"in e))throw qn(19,"path");return e}else throw qn(20)}function sx(e){const{path:t,locale:n,args:r,choice:s,plural:o}=e,i={},a=r||{};return Ge(n)&&(i.locale=n),en(s)&&(i.plural=s),en(o)&&(i.plural=o),[t,a,i]}function ox(e,t,...n){const r=ft(n[0])?n[0]:{},s=!!r.useI18nComponentName;(Yt(r.globalInstall)?r.globalInstall:!0)&&(e.component(s?"i18n":wp.name,wp),e.component(Cp.name,Cp),e.component(zp.name,zp)),e.directive("t",nx(t))}function ix(e={}){const t=!!e.globalInjection,n=new Map,r=Gg(e),s=Pr(""),o={get mode(){return"composition"},async install(i,...a){i.__VUE_I18N_SYMBOL__=s,i.provide(i.__VUE_I18N_SYMBOL__,o),t&&dx(i,o.global),ox(i,o,...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 o}function lm(e={}){const t=ar();if(t==null)throw qn(16);if(!t.appContext.app.__VUE_I18N_SYMBOL__)throw qn(17);const n=or(t.appContext.app.__VUE_I18N_SYMBOL__);if(!n)throw qn(22);const r=n.mode==="composition"?n.global:n.global.__composer,s=uu(e)?"__i18n"in t.type?"local":"global":e.useScope?e.useScope:"local";if(s==="global"){let a=hn(e.messages)?e.messages:{};"__i18nGlobal"in t.type&&(a=Wg(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(s==="parent"){let a=ax(n,t,e.__useComponent);return a==null&&(a=r),a}if(n.mode==="legacy")throw qn(18);const o=n;let i=o.__getInstance(t);if(i==null){const a=t.type,l=pn({},e);a.__i18n&&(l.__i18n=a.__i18n),r&&(l.__root=r),i=Gg(l),lx(o,t),o.__setInstance(t,i)}return i}function ax(e,t,n=!1){let r=null;const s=t.root;let o=t.parent;for(;o!=null;){const i=e;if(e.mode==="composition")r=i.__getInstance(o);else{const a=i.__getInstance(o);a!=null&&(r=a.__composer),n&&r&&!r[qg]&&(r=null)}if(r!=null||s===o)break;o=o.parent}return r}function lx(e,t,n){Is(()=>{},t),$o(()=>{e.__deleteInstance(t)},t)}const ux=["locale","fallbackLocale","availableLocales"],cx=["t","rt","d","n","tm"];function dx(e,t){const n=Object.create(null);ux.forEach(r=>{const s=Object.getOwnPropertyDescriptor(t,r);if(!s)throw qn(22);const o=qt(s.value)?{get(){return s.value.value},set(i){s.value.value=i}}:{get(){return s.get&&s.get()}};Object.defineProperty(n,r,o)}),e.config.globalProperties.$i18n=n,cx.forEach(r=>{const s=Object.getOwnPropertyDescriptor(t,r);if(!s||!s.value)throw qn(22);Object.defineProperty(e.config.globalProperties,`$${r}`,s)})}Zz();if(__INTLIFY_PROD_DEVTOOLS__){const e=sm();e.__INTLIFY__=!0,xz(e.__INTLIFY_DEVTOOLS_GLOBAL_HOOK__)}var mx={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:{en:e=>{const{normalize:t}=e;return t(["English"])},fr:e=>{const{normalize:t}=e;return t(["French (Fran\xE7ais)"])},de:e=>{const{normalize:t}=e;return t(["German (Deutsch)"])}},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 "])},notification:e=>{const{normalize:t}=e;return t(["Podcast kann nicht gel\xF6scht werden - evtl. wurde er nicht als RSS-Playlist hinzugef\xFCgt."])}},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([", restriction reason: ",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 Playlists 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"])},"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 Playlists 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:{"albums-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"])}},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"])}},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"])}},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"])}},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(["Spielen"])},"remove-error":e=>{const{normalize:t}=e;return t(["Podcast kann nicht entfernt werden, evtl. wurde er nicht als RSS-Playlist hinzugef\xFCgt."])},"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. "])},"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(["Playlists"])},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 eingebttet oder online von Radiostationen bereitgestellt werden kann."])},"explanation-2":e=>{const{normalize:t}=e;return t(["Zus\xE4tzlich kann auf folgende Artwork-Anbietern 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 Laufsprecher 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(["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(['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 kompiliert."])},"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 kompiliert 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 Playlists"])},"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(["Playlists"])},"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"])}}},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:{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 "])},notification:e=>{const{normalize:t}=e;return t(["Podcast cannot be removed. Probably it was not added as an RSS playlist."])}},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"])},"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(["Rencently 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:{"albums-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"])}},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"])}},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"])}},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"])}},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-error":e=>{const{normalize:t}=e;return t(["Podcast cannot be removed. Probably it was not added as an RSS playlist."])},"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 "])},"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"])},artiste:e=>{const{normalize:t}=e;return t(["Album artist"])},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"])}},artiste:{"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(["Enregister 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"])}},artiste:{"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\xE9s / Followers"])}},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\xE9ataire"])},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:{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 ?"])},"info-2":e=>{const{normalize:t}=e;return t(["Cela supprimera \xE9galement la liste de lecture RSS "])},notification:e=>{const{normalize:t}=e;return t(["Le podcast ne peut \xEAtre supprim\xE9. Il n\u2019avait probablement pas \xE9t\xE9 ajout\xE9 comme une liste de lecture RSS."])}},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 : ",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 : \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"])},"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"])}},artiste:{"albums-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"])}},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"])}},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"])}},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"])}},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-error":e=>{const{normalize:t}=e;return t(["Le podcast ne peut pas \xEAtre supprim\xE9. Il n\u2019a probablement pas \xE9t\xE9 ajout\xE9 en tant que liste de lecture RSS."])},"remove-info-1":e=>{const{normalize:t}=e;return t(["Supprimer ce podcast de mani\xE8re permanente de la biblioth\xE8que ?"])},"remove-info-2":e=>{const{normalize:t}=e;return t(["Cela supprimera \xE9galement la liste de lecture RSS "])},"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 : 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 :"])},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(["Now playing page"])},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 "Ajouts r\xE9cents"'])},"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(['Liste des genres, s\xE9par\xE9s par des virgules, que le compositeur doit afficher sur la page "Lecture en cours".'])},"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 "Lecture en cours"'])},"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 "Lecture en cours"'])}},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 :"])},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 :"])},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"])}},artiste:{"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"])}}}},Wi=ix({legacy:!1,globalInjection:!0,availableLocales:"fr",locale:navigator.language,fallbackLocale:"en",fallbackWarn:!1,missingWarn:!1,messages:mx});/*!
|
|
* vuex v4.0.2
|
|
* (c) 2021 Evan You
|
|
* @license MIT
|
|
*/var fx="store";function Ao(e,t){Object.keys(e).forEach(function(n){return t(e[n],n)})}function px(e){return e!==null&&typeof e=="object"}function hx(e){return e&&typeof e.then=="function"}function _x(e,t){return function(){return e(t)}}function Zg(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 Yg(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;du(e,n,[],e._modules.root,!0),um(e,n,t)}function um(e,t,n){var r=e._state;e.getters={},e._makeLocalGettersCache=Object.create(null);var s=e._wrappedGetters,o={};Ao(s,function(i,a){o[a]=_x(i,e),Object.defineProperty(e.getters,a,{get:function(){return o[a]()},enumerable:!0})}),e._state=Ds({data:t}),e.strict&&wx(e),r&&n&&e._withCommit(function(){r.data=null})}function du(e,t,n,r,s){var o=!n.length,i=e._modules.getNamespace(n);if(r.namespaced&&(e._modulesNamespaceMap[i],e._modulesNamespaceMap[i]=r),!o&&!s){var a=cm(t,n.slice(0,-1)),l=n[n.length-1];e._withCommit(function(){a[l]=r.state})}var c=r.context=gx(e,i,n);r.forEachMutation(function(d,f){var m=i+f;yx(e,m,d,c)}),r.forEachAction(function(d,f){var m=d.root?f:i+f,p=d.handler||d;vx(e,m,p,c)}),r.forEachGetter(function(d,f){var m=i+f;bx(e,m,d,c)}),r.forEachChild(function(d,f){du(e,t,n.concat(f),d,s)})}function gx(e,t,n){var r=t==="",s={dispatch:r?e.dispatch:function(o,i,a){var l=Tl(o,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(o,i,a){var l=Tl(o,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(s,{getters:{get:r?function(){return e.getters}:function(){return Jg(e,t)}},state:{get:function(){return cm(e.state,n)}}}),s}function Jg(e,t){if(!e._makeLocalGettersCache[t]){var n={},r=t.length;Object.keys(e.getters).forEach(function(s){if(s.slice(0,r)===t){var o=s.slice(r);Object.defineProperty(n,o,{get:function(){return e.getters[s]},enumerable:!0})}}),e._makeLocalGettersCache[t]=n}return e._makeLocalGettersCache[t]}function yx(e,t,n,r){var s=e._mutations[t]||(e._mutations[t]=[]);s.push(function(i){n.call(e,r.state,i)})}function vx(e,t,n,r){var s=e._actions[t]||(e._actions[t]=[]);s.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 hx(a)||(a=Promise.resolve(a)),e._devtoolHook?a.catch(function(l){throw e._devtoolHook.emit("vuex:error",l),l}):a})}function bx(e,t,n,r){e._wrappedGetters[t]||(e._wrappedGetters[t]=function(o){return n(r.state,r.getters,o.state,o.getters)})}function wx(e){Mt(function(){return e._state.data},function(){},{deep:!0,flush:"sync"})}function cm(e,t){return t.reduce(function(n,r){return n[r]},e)}function Tl(e,t,n){return px(e)&&e.type&&(n=t,t=e,e=e.type),{type:e,payload:t,options:n}}var Cx="vuex bindings",xp="vuex:mutations",Zu="vuex:actions",Bs="vuex",zx=0;function xx(e,t){Gz({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:[Cx]},function(n){n.addTimelineLayer({id:xp,label:"Vuex Mutations",color:kp}),n.addTimelineLayer({id:Zu,label:"Vuex Actions",color:kp}),n.addInspector({id:Bs,label:"Vuex",icon:"storage",treeFilterPlaceholder:"Filter stores..."}),n.on.getInspectorTree(function(r){if(r.app===e&&r.inspectorId===Bs)if(r.filter){var s=[];ty(s,t._modules.root,r.filter,""),r.rootNodes=s}else r.rootNodes=[ey(t._modules.root,"")]}),n.on.getInspectorState(function(r){if(r.app===e&&r.inspectorId===Bs){var s=r.nodeId;Jg(t,s),r.state=Ex(Ax(t._modules,s),s==="root"?t.getters:t._makeLocalGettersCache,s)}}),n.on.editInspectorState(function(r){if(r.app===e&&r.inspectorId===Bs){var s=r.nodeId,o=r.path;s!=="root"&&(o=s.split("/").filter(Boolean).concat(o)),t._withCommit(function(){r.set(t._state.data,o,r.state.value)})}}),t.subscribe(function(r,s){var o={};r.payload&&(o.payload=r.payload),o.state=s,n.notifyComponentUpdate(),n.sendInspectorTree(Bs),n.sendInspectorState(Bs),n.addTimelineEvent({layerId:xp,event:{time:Date.now(),title:r.type,data:o}})}),t.subscribeAction({before:function(r,s){var o={};r.payload&&(o.payload=r.payload),r._id=zx++,r._time=Date.now(),o.state=s,n.addTimelineEvent({layerId:Zu,event:{time:r._time,title:r.type,groupId:r._id,subtitle:"start",data:o}})},after:function(r,s){var o={},i=Date.now()-r._time;o.duration={_custom:{type:"duration",display:i+"ms",tooltip:"Action duration",value:i}},r.payload&&(o.payload=r.payload),o.state=s,n.addTimelineEvent({layerId:Zu,event:{time:Date.now(),title:r.type,groupId:r._id,subtitle:"end",data:o}})}})})}var kp=8702998,kx=6710886,Sx=16777215,Xg={label:"namespaced",textColor:Sx,backgroundColor:kx};function Qg(e){return e&&e!=="root"?e.split("/").slice(-2,-1)[0]:"Root"}function ey(e,t){return{id:t||"root",label:Qg(t),tags:e.namespaced?[Xg]:[],children:Object.keys(e._children).map(function(n){return ey(e._children[n],t+n+"/")})}}function ty(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?[Xg]:[]}),Object.keys(t._children).forEach(function(s){ty(e,t._children[s],n,r+s+"/")})}function Ex(e,t,n){t=n==="root"?t:t[n];var r=Object.keys(t),s={state:Object.keys(e.state).map(function(i){return{key:i,editable:!0,value:e.state[i]}})};if(r.length){var o=$x(t);s.getters=Object.keys(o).map(function(i){return{key:i.endsWith("/")?Qg(i):i,editable:!1,value:td(function(){return o[i]})}})}return s}function $x(e){var t={};return Object.keys(e).forEach(function(n){var r=n.split("/");if(r.length>1){var s=t,o=r.pop();r.forEach(function(i){s[i]||(s[i]={_custom:{value:{},display:i,tooltip:"Module",abstract:!0}}),s=s[i]._custom.value}),s[o]=td(function(){return e[n]})}else t[n]=td(function(){return e[n]})}),t}function Ax(e,t){var n=t.split("/").filter(function(r){return r});return n.reduce(function(r,s,o){var i=r[s];if(!i)throw new Error('Missing module "'+s+'" for path "'+t+'".');return o===n.length-1?i:i._children},t==="root"?e:e.root._children)}function td(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)||{}},ny={namespaced:{configurable:!0}};ny.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){Ao(this._children,t)};lr.prototype.forEachGetter=function(t){this._rawModule.getters&&Ao(this._rawModule.getters,t)};lr.prototype.forEachAction=function(t){this._rawModule.actions&&Ao(this._rawModule.actions,t)};lr.prototype.forEachMutation=function(t){this._rawModule.mutations&&Ao(this._rawModule.mutations,t)};Object.defineProperties(lr.prototype,ny);var Ms=function(t){this.register([],t,!1)};Ms.prototype.get=function(t){return t.reduce(function(n,r){return n.getChild(r)},this.root)};Ms.prototype.getNamespace=function(t){var n=this.root;return t.reduce(function(r,s){return n=n.getChild(s),r+(n.namespaced?s+"/":"")},"")};Ms.prototype.update=function(t){ry([],this.root,t)};Ms.prototype.register=function(t,n,r){var s=this;r===void 0&&(r=!0);var o=new lr(n,r);if(t.length===0)this.root=o;else{var i=this.get(t.slice(0,-1));i.addChild(t[t.length-1],o)}n.modules&&Ao(n.modules,function(a,l){s.register(t.concat(l),a,r)})};Ms.prototype.unregister=function(t){var n=this.get(t.slice(0,-1)),r=t[t.length-1],s=n.getChild(r);!s||!s.runtime||n.removeChild(r)};Ms.prototype.isRegistered=function(t){var n=this.get(t.slice(0,-1)),r=t[t.length-1];return n?n.hasChild(r):!1};function ry(e,t,n){if(t.update(n),n.modules)for(var r in n.modules){if(!t.getChild(r))return;ry(e.concat(r),t.getChild(r),n.modules[r])}}function Tx(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 s=t.strict;s===void 0&&(s=!1);var o=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 Ms(t),this._modulesNamespaceMap=Object.create(null),this._subscribers=[],this._makeLocalGettersCache=Object.create(null),this._devtools=o;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=s;var d=this._modules.root.state;du(this,d,[],this._modules.root),um(this,d),r.forEach(function(f){return f(n)})},dm={state:{configurable:!0}};En.prototype.install=function(t,n){t.provide(n||fx,this),t.config.globalProperties.$store=this;var r=this._devtools!==void 0?this._devtools:!1;r&&xx(t,this)};dm.state.get=function(){return this._state.data};dm.state.set=function(e){};En.prototype.commit=function(t,n,r){var s=this,o=Tl(t,n,r),i=o.type,a=o.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,s.state)}))};En.prototype.dispatch=function(t,n){var r=this,s=Tl(t,n),o=s.type,i=s.payload,a={type:o,payload:i},l=this._actions[o];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 Zg(t,this._subscribers,n)};En.prototype.subscribeAction=function(t,n){var r=typeof t=="function"?{before:t}:t;return Zg(r,this._actionSubscribers,n)};En.prototype.watch=function(t,n,r){var s=this;return Mt(function(){return t(s.state,s.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),du(this,this.state,t,this._modules.get(t),r.preserveState),um(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=cm(n.state,t.slice(0,-1));delete r[t[t.length-1]]}),Yg(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),Yg(this,!0)};En.prototype._withCommit=function(t){var n=this._committing;this._committing=!0,t(),this._committing=n};Object.defineProperties(En.prototype,dm);const sy="UPDATE_CONFIG",oy="UPDATE_SETTINGS",mu="UPDATE_SETTINGS_OPTION",iy="UPDATE_LIBRARY_STATS",ay="UPDATE_LIBRARY_AUDIOBOOKS_COUNT",ly="UPDATE_LIBRARY_PODCASTS_COUNT",uy="UPDATE_LIBRARY_RSS_COUNT",cy="UPDATE_OUTPUTS",mm="UPDATE_PLAYER_STATUS",dy="UPDATE_QUEUE",my="UPDATE_LASTFM",fy="UPDATE_SPOTIFY",py="UPDATE_PAIRING",fm="SPOTIFY_NEW_RELEASES",pm="SPOTIFY_FEATURED_PLAYLISTS",Sp="ADD_NOTIFICATION",nd="DELETE_NOTIFICATION",rd="SEARCH_PATH",hm="ADD_RECENT_SEARCH",fu="HIDE_SINGLES",_m="HIDE_SPOTIFY",hy="ARTISTS_SORT",_y="ARTIST_ALBUMS_SORT",gy="ALBUMS_SORT",yy="SHOW_ONLY_NEXT_ITEMS",vo="SHOW_BURGER_MENU",bo="SHOW_PLAYER_MENU",Gi="SHOW_UPDATE_DIALOG",gm="UPDATE_DIALOG_SCAN_KIND";var at=Tx({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:[],hide_singles:!1,hide_spotify:!1,artists_sort:1,artist_albums_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(s=>s.name===t);return r?r.options.find(s=>s.name===n):{}}},mutations:{[sy](e,t){e.config=t},[oy](e,t){e.settings=t},[mu](e,t){const r=e.settings.categories.find(s=>s.name===t.category).options.find(s=>s.name===t.name);r.value=t.value},[iy](e,t){e.library=t},[ay](e,t){e.audiobooks_count=t},[ly](e,t){e.podcasts_count=t},[uy](e,t){e.rss_count=t},[cy](e,t){e.outputs=t},[mm](e,t){e.player=t},[dy](e,t){e.queue=t},[my](e,t){e.lastfm=t},[fy](e,t){e.spotify=t},[py](e,t){e.pairing=t},[fm](e,t){e.spotify_new_releases=t},[pm](e,t){e.spotify_featured_playlists=t},[Sp](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)},[nd](e,t){const n=e.notifications.list.indexOf(t);n!==-1&&e.notifications.list.splice(n,1)},[rd](e,t){e.search_path=t},[hm](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()},[fu](e,t){e.hide_singles=t},[_m](e,t){e.hide_spotify=t},[hy](e,t){e.artists_sort=t},[_y](e,t){e.artist_albums_sort=t},[gy](e,t){e.albums_sort=t},[yy](e,t){e.show_only_next_items=t},[vo](e,t){e.show_burger_menu=t},[bo](e,t){e.show_player_menu=t},[Gi](e,t){e.show_update_dialog=t},[gm](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(Sp,r),n.timeout>0&&setTimeout(()=>{e(nd,r)},n.timeout)}}});/*!
|
|
* vue-router v4.0.16
|
|
* (c) 2022 Eduardo San Martin Morote
|
|
* @license MIT
|
|
*/const vy=typeof Symbol=="function"&&typeof Symbol.toStringTag=="symbol",To=e=>vy?Symbol(e):"_vr_"+e,Ox=To("rvlm"),Ep=To("rvd"),ym=To("r"),by=To("rl"),sd=To("rvl"),eo=typeof window!="undefined";function Px(e){return e.__esModule||vy&&e[Symbol.toStringTag]==="Module"}const wt=Object.assign;function Yu(e,t){const n={};for(const r in t){const s=t[r];n[r]=Array.isArray(s)?s.map(e):e(s)}return n}const gi=()=>{},Dx=/\/$/,Fx=e=>e.replace(Dx,"");function Ju(e,t,n="/"){let r,s={},o="",i="";const a=t.indexOf("?"),l=t.indexOf("#",a>-1?a:0);return a>-1&&(r=t.slice(0,a),o=t.slice(a+1,l>-1?l:t.length),s=e(o)),l>-1&&(r=r||t.slice(0,l),i=t.slice(l,t.length)),r=Rx(r!=null?r:t,n),{fullPath:r+(o&&"?")+o+i,path:r,query:s,hash:i}}function Ix(e,t){const n=t.query?e(t.query):"";return t.path+(n&&"?")+n+(t.hash||"")}function $p(e,t){return!t||!e.toLowerCase().startsWith(t.toLowerCase())?e:e.slice(t.length)||"/"}function Mx(e,t,n){const r=t.matched.length-1,s=n.matched.length-1;return r>-1&&r===s&&wo(t.matched[r],n.matched[s])&&wy(t.params,n.params)&&e(t.query)===e(n.query)&&t.hash===n.hash}function wo(e,t){return(e.aliasOf||e)===(t.aliasOf||t)}function wy(e,t){if(Object.keys(e).length!==Object.keys(t).length)return!1;for(const n in e)if(!Lx(e[n],t[n]))return!1;return!0}function Lx(e,t){return Array.isArray(e)?Ap(e,t):Array.isArray(t)?Ap(t,e):e===t}function Ap(e,t){return Array.isArray(t)?e.length===t.length&&e.every((n,r)=>n===t[r]):e.length===1&&e[0]===t}function Rx(e,t){if(e.startsWith("/"))return e;if(!e)return t;const n=t.split("/"),r=e.split("/");let s=n.length-1,o,i;for(o=0;o<r.length;o++)if(i=r[o],!(s===1||i==="."))if(i==="..")s--;else break;return n.slice(0,s).join("/")+"/"+r.slice(o-(o===r.length?1:0)).join("/")}var Fi;(function(e){e.pop="pop",e.push="push"})(Fi||(Fi={}));var yi;(function(e){e.back="back",e.forward="forward",e.unknown=""})(yi||(yi={}));function Nx(e){if(!e)if(eo){const t=document.querySelector("base");e=t&&t.getAttribute("href")||"/",e=e.replace(/^\w+:\/\/[^\/]+/,"")}else e="/";return e[0]!=="/"&&e[0]!=="#"&&(e="/"+e),Fx(e)}const jx=/^[^#]+#/;function Vx(e,t){return e.replace(jx,"#")+t}function Bx(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 pu=()=>({left:window.pageXOffset,top:window.pageYOffset});function Hx(e){let t;if("el"in e){const n=e.el,r=typeof n=="string"&&n.startsWith("#"),s=typeof n=="string"?r?document.getElementById(n.slice(1)):document.querySelector(n):n;if(!s)return;t=Bx(s,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 Tp(e,t){return(history.state?history.state.position-t:-1)+e}const od=new Map;function Ux(e,t){od.set(e,t)}function qx(e){const t=od.get(e);return od.delete(e),t}let Wx=()=>location.protocol+"//"+location.host;function Cy(e,t){const{pathname:n,search:r,hash:s}=t,o=e.indexOf("#");if(o>-1){let a=s.includes(e.slice(o))?e.slice(o).length:1,l=s.slice(a);return l[0]!=="/"&&(l="/"+l),$p(l,"")}return $p(n,e)+r+s}function Gx(e,t,n,r){let s=[],o=[],i=null;const a=({state:m})=>{const p=Cy(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);s.forEach(b=>{b(n.value,h,{delta:g,type:Fi.pop,direction:g?g>0?yi.forward:yi.back:yi.unknown})})};function l(){i=n.value}function c(m){s.push(m);const p=()=>{const h=s.indexOf(m);h>-1&&s.splice(h,1)};return o.push(p),p}function d(){const{history:m}=window;!m.state||m.replaceState(wt({},m.state,{scroll:pu()}),"")}function f(){for(const m of o)m();o=[],window.removeEventListener("popstate",a),window.removeEventListener("beforeunload",d)}return window.addEventListener("popstate",a),window.addEventListener("beforeunload",d),{pauseListeners:l,listen:c,destroy:f}}function Op(e,t,n,r=!1,s=!1){return{back:e,current:t,forward:n,replaced:r,position:window.history.length,scroll:s?pu():null}}function Kx(e){const{history:t,location:n}=window,r={value:Cy(e,n)},s={value:t.state};s.value||o(r.value,{back:null,current:r.value,forward:null,position:t.length-1,replaced:!0,scroll:null},!0);function o(l,c,d){const f=e.indexOf("#"),m=f>-1?(n.host&&document.querySelector("base")?e:e.slice(f))+l:Wx()+e+l;try{t[d?"replaceState":"pushState"](c,"",m),s.value=c}catch(p){console.error(p),n[d?"replace":"assign"](m)}}function i(l,c){const d=wt({},t.state,Op(s.value.back,l,s.value.forward,!0),c,{position:s.value.position});o(l,d,!0),r.value=l}function a(l,c){const d=wt({},s.value,t.state,{forward:l,scroll:pu()});o(d.current,d,!0);const f=wt({},Op(r.value,l,null),{position:d.position+1},c);o(l,f,!1),r.value=l}return{location:r,state:s,push:a,replace:i}}function Zx(e){e=Nx(e);const t=Kx(e),n=Gx(e,t.state,t.location,t.replace);function r(o,i=!0){i||n.pauseListeners(),history.go(o)}const s=wt({location:"",base:e,go:r,createHref:Vx.bind(null,e)},t,n);return Object.defineProperty(s,"location",{enumerable:!0,get:()=>t.location.value}),Object.defineProperty(s,"state",{enumerable:!0,get:()=>t.state.value}),s}function Yx(e){return e=location.host?e||location.pathname+location.search:"",e.includes("#")||(e+="#"),Zx(e)}function Jx(e){return typeof e=="string"||e&&typeof e=="object"}function zy(e){return typeof e=="string"||typeof e=="symbol"}const Nr={path:"/",name:void 0,params:{},query:{},hash:"",fullPath:"/",matched:[],meta:{},redirectedFrom:void 0},xy=To("nf");var Pp;(function(e){e[e.aborted=4]="aborted",e[e.cancelled=8]="cancelled",e[e.duplicated=16]="duplicated"})(Pp||(Pp={}));function Co(e,t){return wt(new Error,{type:e,[xy]:!0},t)}function jr(e,t){return e instanceof Error&&xy in e&&(t==null||!!(e.type&t))}const Dp="[^/]+?",Xx={sensitive:!1,strict:!1,start:!0,end:!0},Qx=/[.+*?^${}()[\]/\\]/g;function e2(e,t){const n=wt({},Xx,t),r=[];let s=n.start?"^":"";const o=[];for(const c of e){const d=c.length?[]:[90];n.strict&&!c.length&&(s+="/");for(let f=0;f<c.length;f++){const m=c[f];let p=40+(n.sensitive?.25:0);if(m.type===0)f||(s+="/"),s+=m.value.replace(Qx,"\\$&"),p+=40;else if(m.type===1){const{value:h,repeatable:_,optional:g,regexp:b}=m;o.push({name:h,repeatable:_,optional:g});const w=b||Dp;if(w!==Dp){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+="?"),s+=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||(s+="/?"),n.end?s+="$":n.strict&&(s+="(?:/|$)");const i=new RegExp(s,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=o[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:o,parse:a,stringify:l}}function t2(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 n2(e,t){let n=0;const r=e.score,s=t.score;for(;n<r.length&&n<s.length;){const o=t2(r[n],s[n]);if(o)return o;n++}if(Math.abs(s.length-r.length)===1){if(Fp(r))return 1;if(Fp(s))return-1}return s.length-r.length}function Fp(e){const t=e[e.length-1];return e.length>0&&t[t.length-1]<0}const r2={type:0,value:""},s2=/[a-zA-Z0-9_]/;function o2(e){if(!e)return[[]];if(e==="/")return[[r2]];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 s=[];let o;function i(){o&&s.push(o),o=[]}let a=0,l,c="",d="";function f(){!c||(n===0?o.push({type:0,value:c}):n===1||n===2||n===3?(o.length>1&&(l==="*"||l==="+")&&t(`A repeatable param (${c}) must be alone in its segment. eg: '/:ids+.`),o.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:s2.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(),s}function i2(e,t,n){const r=e2(o2(e.path),n),s=wt(r,{record:e,parent:t,children:[],alias:[]});return t&&!s.record.aliasOf==!t.record.aliasOf&&t.children.push(s),s}function a2(e,t){const n=[],r=new Map;t=Mp({strict:!1,end:!0,sensitive:!1},t);function s(d){return r.get(d)}function o(d,f,m){const p=!m,h=u2(d);h.aliasOf=m&&m.record;const _=Mp(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=i2(x,f,_),m?m.alias.push(b):(w=w||b,w!==b&&w.alias.push(b),p&&d.name&&!Ip(b)&&i(d.name)),"children"in h){const E=h.children;for(let T=0;T<E.length;T++)o(E[T],b,m&&m.children[T])}m=m||b,l(b)}return w?()=>{i(w)}:gi}function i(d){if(zy(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&&n2(d,n[f])>=0&&(d.record.path!==n[f].record.path||!ky(d,n[f]));)f++;n.splice(f,0,d),d.record.name&&!Ip(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 Co(1,{location:d});_=m.record.name,p=wt(l2(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 Co(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:d2(g)}}return e.forEach(d=>o(d)),{addRoute:o,resolve:c,removeRoute:i,getRoutes:a,getRecordMatcher:s}}function l2(e,t){const n={};for(const r of t)r in e&&(n[r]=e[r]);return n}function u2(e){return{path:e.path,redirect:e.redirect,name:e.name,meta:e.meta||{},aliasOf:void 0,beforeEnter:e.beforeEnter,props:c2(e),children:e.children||[],instances:{},leaveGuards:new Set,updateGuards:new Set,enterCallbacks:{},components:"components"in e?e.components||{}:{default:e.component}}}function c2(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 Ip(e){for(;e;){if(e.record.aliasOf)return!0;e=e.parent}return!1}function d2(e){return e.reduce((t,n)=>wt(t,n.meta),{})}function Mp(e,t){const n={};for(const r in e)n[r]=r in t?t[r]:e[r];return n}function ky(e,t){return t.children.some(n=>n===e||ky(e,n))}const Sy=/#/g,m2=/&/g,f2=/\//g,p2=/=/g,h2=/\?/g,Ey=/\+/g,_2=/%5B/g,g2=/%5D/g,$y=/%5E/g,y2=/%60/g,Ay=/%7B/g,v2=/%7C/g,Ty=/%7D/g,b2=/%20/g;function vm(e){return encodeURI(""+e).replace(v2,"|").replace(_2,"[").replace(g2,"]")}function w2(e){return vm(e).replace(Ay,"{").replace(Ty,"}").replace($y,"^")}function id(e){return vm(e).replace(Ey,"%2B").replace(b2,"+").replace(Sy,"%23").replace(m2,"%26").replace(y2,"`").replace(Ay,"{").replace(Ty,"}").replace($y,"^")}function C2(e){return id(e).replace(p2,"%3D")}function z2(e){return vm(e).replace(Sy,"%23").replace(h2,"%3F")}function x2(e){return e==null?"":z2(e).replace(f2,"%2F")}function Ol(e){try{return decodeURIComponent(""+e)}catch{}return""+e}function k2(e){const t={};if(e===""||e==="?")return t;const r=(e[0]==="?"?e.slice(1):e).split("&");for(let s=0;s<r.length;++s){const o=r[s].replace(Ey," "),i=o.indexOf("="),a=Ol(i<0?o:o.slice(0,i)),l=i<0?null:Ol(o.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 Lp(e){let t="";for(let n in e){const r=e[n];if(n=C2(n),r==null){r!==void 0&&(t+=(t.length?"&":"")+n);continue}(Array.isArray(r)?r.map(o=>o&&id(o)):[r&&id(r)]).forEach(o=>{o!==void 0&&(t+=(t.length?"&":"")+n,o!=null&&(t+="="+o))})}return t}function S2(e){const t={};for(const n in e){const r=e[n];r!==void 0&&(t[n]=Array.isArray(r)?r.map(s=>s==null?null:""+s):r==null?r:""+r)}return t}function Vo(){let e=[];function t(r){return e.push(r),()=>{const s=e.indexOf(r);s>-1&&e.splice(s,1)}}function n(){e=[]}return{add:t,list:()=>e,reset:n}}function qr(e,t,n,r,s){const o=r&&(r.enterCallbacks[s]=r.enterCallbacks[s]||[]);return()=>new Promise((i,a)=>{const l=f=>{f===!1?a(Co(4,{from:n,to:t})):f instanceof Error?a(f):Jx(f)?a(Co(2,{from:t,to:f})):(o&&r.enterCallbacks[s]===o&&typeof f=="function"&&o.push(f),i())},c=e.call(r&&r.instances[s],t,n,l);let d=Promise.resolve(c);e.length<3&&(d=d.then(l)),d.catch(f=>a(f))})}function Xu(e,t,n,r){const s=[];for(const o of e)for(const i in o.components){let a=o.components[i];if(!(t!=="beforeRouteEnter"&&!o.instances[i]))if(E2(a)){const c=(a.__vccOpts||a)[t];c&&s.push(qr(c,n,r,o,i))}else{let l=a();s.push(()=>l.then(c=>{if(!c)return Promise.reject(new Error(`Couldn't resolve component "${i}" at "${o.path}"`));const d=Px(c)?c.default:c;o.components[i]=d;const m=(d.__vccOpts||d)[t];return m&&qr(m,n,r,o,i)()}))}}return s}function E2(e){return typeof e=="object"||"displayName"in e||"props"in e||"__vccOpts"in e}function Rp(e){const t=or(ym),n=or(by),r=Tt(()=>t.resolve(uo(e.to))),s=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(wo.bind(null,d));if(m>-1)return m;const p=Np(l[c-2]);return c>1&&Np(d)===p&&f[f.length-1].path!==p?f.findIndex(wo.bind(null,l[c-2])):m}),o=Tt(()=>s.value>-1&&O2(n.params,r.value.params)),i=Tt(()=>s.value>-1&&s.value===n.matched.length-1&&wy(n.params,r.value.params));function a(l={}){return T2(l)?t[uo(e.replace)?"replace":"push"](uo(e.to)).catch(gi):Promise.resolve()}return{route:r,href:Tt(()=>r.value.href),isActive:o,isExactActive:i,navigate:a}}const $2=Bi({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:Rp,setup(e,{slots:t}){const n=Ds(Rp(e)),{options:r}=or(ym),s=Tt(()=>({[jp(e.activeClass,r.linkActiveClass,"router-link-active")]:n.isActive,[jp(e.exactActiveClass,r.linkExactActiveClass,"router-link-exact-active")]:n.isExactActive}));return()=>{const o=t.default&&t.default(n);return e.custom?o:zn("a",{"aria-current":n.isExactActive?e.ariaCurrentValue:null,href:n.href,onClick:n.navigate,class:s.value},o)}}}),A2=$2;function T2(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 O2(e,t){for(const n in t){const r=t[n],s=e[n];if(typeof r=="string"){if(r!==s)return!1}else if(!Array.isArray(s)||s.length!==r.length||r.some((o,i)=>o!==s[i]))return!1}return!0}function Np(e){return e?e.aliasOf?e.aliasOf.path:e.path:""}const jp=(e,t,n)=>e!=null?e:t!=null?t:n,P2=Bi({name:"RouterView",inheritAttrs:!1,props:{name:{type:String,default:"default"},route:Object},compatConfig:{MODE:3},setup(e,{attrs:t,slots:n}){const r=or(sd),s=Tt(()=>e.route||r.value),o=or(Ep,0),i=Tt(()=>s.value.matched[o]);fi(Ep,o+1),fi(Ox,i),fi(sd,s);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||!wo(c,m)||!f)&&(c.enterCallbacks[d]||[]).forEach(h=>h(l))},{flush:"post"}),()=>{const l=s.value,c=i.value,d=c&&c.components[e.name],f=e.name;if(!d)return Vp(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 Vp(n.default,{Component:_,route:l})||_}}});function Vp(e,t){if(!e)return null;const n=e(t);return n.length===1?n[0]:n}const D2=P2;function F2(e){const t=a2(e.routes,e),n=e.parseQuery||k2,r=e.stringifyQuery||Lp,s=e.history,o=Vo(),i=Vo(),a=Vo(),l=C_(Nr);let c=Nr;eo&&e.scrollBehavior&&"scrollRestoration"in history&&(history.scrollRestoration="manual");const d=Yu.bind(null,H=>""+H),f=Yu.bind(null,x2),m=Yu.bind(null,Ol);function p(H,ie){let se,be;return zy(H)?(se=t.getRecordMatcher(H),be=ie):be=H,t.addRoute(be,se)}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=Ju(n,H,ie.path),$=t.resolve({path:Ae.path},ie),L=s.createHref(Ae.fullPath);return wt(Ae,$,{params:m($.params),hash:Ol(Ae.hash),redirectedFrom:void 0,href:L})}let se;if("path"in H)se=wt({},H,{path:Ju(n,H.path,ie.path).path});else{const Ae=wt({},H.params);for(const $ in Ae)Ae[$]==null&&delete Ae[$];se=wt({},H,{params:f(H.params)}),ie.params=f(ie.params)}const be=t.resolve(se,ie),je=H.hash||"";be.params=d(m(be.params));const Ie=Ix(r,wt({},H,{hash:w2(je),path:be.path})),Ee=s.createHref(Ie);return wt({fullPath:Ie,hash:je,query:r===Lp?S2(H.query):H.query||{}},be,{redirectedFrom:void 0,href:Ee})}function w(H){return typeof H=="string"?Ju(n,H,l.value.path):wt({},H)}function x(H,ie){if(c!==H)return Co(8,{from:ie,to:H})}function z(H){return j(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:se}=ie;let be=typeof se=="function"?se(H):se;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 j(H,ie){const se=c=b(H),be=l.value,je=H.state,Ie=H.force,Ee=H.replace===!0,Ae=T(se);if(Ae)return j(wt(w(Ae),{state:je,force:Ie,replace:Ee}),ie||se);const $=se;$.redirectedFrom=ie;let L;return!Ie&&Mx(r,be,se)&&(L=Co(16,{to:$,from:be}),Be(be,be,!0,!1)),(L?Promise.resolve(L):A($,be)).catch(Y=>jr(Y)?jr(Y,2)?Y:Le(Y):ue(Y,$,be)).then(Y=>{if(Y){if(jr(Y,2))return j(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 se=x(H,ie);return se?Promise.reject(se):Promise.resolve()}function A(H,ie){let se;const[be,je,Ie]=I2(H,ie);se=Xu(be.reverse(),"beforeRouteLeave",H,ie);for(const Ae of be)Ae.leaveGuards.forEach($=>{se.push(qr($,H,ie))});const Ee=F.bind(null,H,ie);return se.push(Ee),Hs(se).then(()=>{se=[];for(const Ae of o.list())se.push(qr(Ae,H,ie));return se.push(Ee),Hs(se)}).then(()=>{se=Xu(je,"beforeRouteUpdate",H,ie);for(const Ae of je)Ae.updateGuards.forEach($=>{se.push(qr($,H,ie))});return se.push(Ee),Hs(se)}).then(()=>{se=[];for(const Ae of H.matched)if(Ae.beforeEnter&&!ie.matched.includes(Ae))if(Array.isArray(Ae.beforeEnter))for(const $ of Ae.beforeEnter)se.push(qr($,H,ie));else se.push(qr(Ae.beforeEnter,H,ie));return se.push(Ee),Hs(se)}).then(()=>(H.matched.forEach(Ae=>Ae.enterCallbacks={}),se=Xu(Ie,"beforeRouteEnter",H,ie),se.push(Ee),Hs(se))).then(()=>{se=[];for(const Ae of i.list())se.push(qr(Ae,H,ie));return se.push(Ee),Hs(se)}).catch(Ae=>jr(Ae,8)?Ae:Promise.reject(Ae))}function M(H,ie,se){for(const be of a.list())be(H,ie,se)}function W(H,ie,se,be,je){const Ie=x(H,ie);if(Ie)return Ie;const Ee=ie===Nr,Ae=eo?history.state:{};se&&(be||Ee?s.replace(H.fullPath,wt({scroll:Ee&&Ae&&Ae.scroll},je)):s.push(H.fullPath,je)),l.value=H,Be(H,ie,se,Ee),Le()}let R;function q(){R||(R=s.listen((H,ie,se)=>{const be=b(H),je=T(be);if(je){j(wt(je,{replace:!0}),be).catch(gi);return}c=be;const Ie=l.value;eo&&Ux(Tp(Ie.fullPath,se.delta),pu()),A(be,Ie).catch(Ee=>jr(Ee,12)?Ee:jr(Ee,2)?(j(Ee.to,be).then(Ae=>{jr(Ae,20)&&!se.delta&&se.type===Fi.pop&&s.go(-1,!1)}).catch(gi),Promise.reject()):(se.delta&&s.go(-se.delta,!1),ue(Ee,be,Ie))).then(Ee=>{Ee=Ee||W(be,Ie,!1),Ee&&(se.delta?s.go(-se.delta,!1):se.type===Fi.pop&&jr(Ee,20)&&s.go(-1,!1)),M(be,Ie,Ee)}).catch(gi)}))}let B=Vo(),oe=Vo(),X;function ue(H,ie,se){Le(H);const be=oe.list();return be.length?be.forEach(je=>je(H,ie,se)):console.error(H),Promise.reject(H)}function ge(){return X&&l.value!==Nr?Promise.resolve():new Promise((H,ie)=>{B.add([H,ie])})}function Le(H){return X||(X=!H,q(),B.list().forEach(([ie,se])=>H?se(H):ie()),B.reset()),H}function Be(H,ie,se,be){const{scrollBehavior:je}=e;if(!eo||!je)return Promise.resolve();const Ie=!se&&qx(Tp(H.fullPath,0))||(be||!se)&&history.state&&history.state.scroll||null;return Jl().then(()=>je(H,ie,Ie)).then(Ee=>Ee&&Hx(Ee)).catch(Ee=>ue(Ee,H,ie))}const he=H=>s.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:o.add,beforeResolve:i.add,afterEach:a.add,onError:oe.add,isReady:ge,install(H){const ie=this;H.component("RouterLink",A2),H.component("RouterView",D2),H.config.globalProperties.$router=ie,Object.defineProperty(H.config.globalProperties,"$route",{enumerable:!0,get:()=>uo(l)}),eo&&!J&&l.value===Nr&&(J=!0,z(s.location).catch(je=>{}));const se={};for(const je in Nr)se[je]=Tt(()=>l.value[je]);H.provide(ym,ie),H.provide(by,Ds(se)),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,X=!1),be()}}}}function Hs(e){return e.reduce((t,n)=>t.then(()=>n()),Promise.resolve())}function I2(e,t){const n=[],r=[],s=[],o=Math.max(t.matched.length,e.matched.length);for(let i=0;i<o;i++){const a=t.matched[i];a&&(e.matched.find(c=>wo(c,a))?r.push(a):n.push(a));const l=e.matched[i];l&&(t.matched.find(c=>wo(c,l))||s.push(l))}return[n,r,s]}var ve=(e,t)=>{const n=e.__vccOpts||e;for(const[r,s]of t)n[r]=s;return n};const M2={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}}},L2={class:"section fd-content"},R2={class:"container"},N2={class:"columns is-centered"},j2={class:"column is-four-fifths"},V2={key:0},B2={ref:"options_ref",style:{height:"1px"}},H2={class:"buttons is-centered",style:{"margin-bottom":"6px","margin-top":"16px"}},U2={class:"icon is-small"},q2={class:"icon is-small"},W2={id:"top",class:"level"},G2={class:"level-left"},K2={class:"level-item has-text-centered-mobile"},Z2={class:"level-right has-text-centered-mobile"},Y2={style:{"margin-top":"16px"}};function J2(e,t,n,r,s,o){const i=P("mdicon");return S(),D("section",L2,[u("div",R2,[u("div",N2,[u("div",j2,[e.$slots.options?(S(),D("section",V2,[u("div",B2,null,512),xt(e.$slots,"options"),u("nav",H2,[s.options_visible?(S(),D("a",{key:1,class:"button is-small is-white",onClick:t[1]||(t[1]=(...a)=>o.scroll_to_content&&o.scroll_to_content(...a))},[u("span",q2,[C(i,{name:"chevron-up",size:"16"})])])):(S(),D("a",{key:0,class:"button is-small is-white",onClick:t[0]||(t[0]=(...a)=>o.scroll_to_top&&o.scroll_to_top(...a))},[u("span",U2,[C(i,{name:"chevron-down",size:"16"})])]))])])):Q("",!0),u("div",{class:Ze({"fd-content-with-option":e.$slots.options})},[u("nav",W2,[u("div",G2,[u("div",K2,[u("div",null,[xt(e.$slots,"heading-left")])])]),u("div",Z2,[xt(e.$slots,"heading-right")])]),xt(e.$slots,"content"),u("div",Y2,[xt(e.$slots,"footer")])],2)])])])])}var pt=ve(M2,[["render",J2]]),an=typeof globalThis!="undefined"?globalThis:typeof window!="undefined"?window:typeof global!="undefined"?global:typeof self!="undefined"?self:{};function Oy(e){return e&&e.__esModule&&Object.prototype.hasOwnProperty.call(e,"default")?e.default:e}function Py(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 bm={exports:{}},Dy=function(t,n){return function(){for(var s=new Array(arguments.length),o=0;o<s.length;o++)s[o]=arguments[o];return t.apply(n,s)}},X2=Dy,wm=Object.prototype.toString,Cm=function(e){return function(t){var n=wm.call(t);return e[n]||(e[n]=n.slice(8,-1).toLowerCase())}}(Object.create(null));function Ls(e){return e=e.toLowerCase(),function(n){return Cm(n)===e}}function zm(e){return Array.isArray(e)}function Pl(e){return typeof e=="undefined"}function Q2(e){return e!==null&&!Pl(e)&&e.constructor!==null&&!Pl(e.constructor)&&typeof e.constructor.isBuffer=="function"&&e.constructor.isBuffer(e)}var Fy=Ls("ArrayBuffer");function ek(e){var t;return typeof ArrayBuffer!="undefined"&&ArrayBuffer.isView?t=ArrayBuffer.isView(e):t=e&&e.buffer&&Fy(e.buffer),t}function tk(e){return typeof e=="string"}function nk(e){return typeof e=="number"}function Iy(e){return e!==null&&typeof e=="object"}function ul(e){if(Cm(e)!=="object")return!1;var t=Object.getPrototypeOf(e);return t===null||t===Object.prototype}var rk=Ls("Date"),sk=Ls("File"),ok=Ls("Blob"),ik=Ls("FileList");function xm(e){return wm.call(e)==="[object Function]"}function ak(e){return Iy(e)&&xm(e.pipe)}function lk(e){var t="[object FormData]";return e&&(typeof FormData=="function"&&e instanceof FormData||wm.call(e)===t||xm(e.toString)&&e.toString()===t)}var uk=Ls("URLSearchParams");function ck(e){return e.trim?e.trim():e.replace(/^\s+|\s+$/g,"")}function dk(){return typeof navigator!="undefined"&&(navigator.product==="ReactNative"||navigator.product==="NativeScript"||navigator.product==="NS")?!1:typeof window!="undefined"&&typeof document!="undefined"}function km(e,t){if(!(e===null||typeof e=="undefined"))if(typeof e!="object"&&(e=[e]),zm(e))for(var n=0,r=e.length;n<r;n++)t.call(null,e[n],n,e);else for(var s in e)Object.prototype.hasOwnProperty.call(e,s)&&t.call(null,e[s],s,e)}function ad(){var e={};function t(s,o){ul(e[o])&&ul(s)?e[o]=ad(e[o],s):ul(s)?e[o]=ad({},s):zm(s)?e[o]=s.slice():e[o]=s}for(var n=0,r=arguments.length;n<r;n++)km(arguments[n],t);return e}function mk(e,t,n){return km(t,function(s,o){n&&typeof s=="function"?e[o]=X2(s,n):e[o]=s}),e}function fk(e){return e.charCodeAt(0)===65279&&(e=e.slice(1)),e}function pk(e,t,n,r){e.prototype=Object.create(t.prototype,r),e.prototype.constructor=e,n&&Object.assign(e.prototype,n)}function hk(e,t,n){var r,s,o,i={};t=t||{};do{for(r=Object.getOwnPropertyNames(e),s=r.length;s-- >0;)o=r[s],i[o]||(t[o]=e[o],i[o]=!0);e=Object.getPrototypeOf(e)}while(e&&(!n||n(e,t))&&e!==Object.prototype);return t}function _k(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 gk(e){if(!e)return null;var t=e.length;if(Pl(t))return null;for(var n=new Array(t);t-- >0;)n[t]=e[t];return n}var yk=function(e){return function(t){return e&&t instanceof e}}(typeof Uint8Array!="undefined"&&Object.getPrototypeOf(Uint8Array)),tn={isArray:zm,isArrayBuffer:Fy,isBuffer:Q2,isFormData:lk,isArrayBufferView:ek,isString:tk,isNumber:nk,isObject:Iy,isPlainObject:ul,isUndefined:Pl,isDate:rk,isFile:sk,isBlob:ok,isFunction:xm,isStream:ak,isURLSearchParams:uk,isStandardBrowserEnv:dk,forEach:km,merge:ad,extend:mk,trim:ck,stripBOM:fk,inherits:pk,toFlatObject:hk,kindOf:Cm,kindOfTest:Ls,endsWith:_k,toArray:gk,isTypedArray:yk,isFileList:ik},Us=tn;function Bp(e){return encodeURIComponent(e).replace(/%3A/gi,":").replace(/%24/g,"$").replace(/%2C/gi,",").replace(/%20/g,"+").replace(/%5B/gi,"[").replace(/%5D/gi,"]")}var My=function(t,n,r){if(!n)return t;var s;if(r)s=r(n);else if(Us.isURLSearchParams(n))s=n.toString();else{var o=[];Us.forEach(n,function(l,c){l===null||typeof l=="undefined"||(Us.isArray(l)?c=c+"[]":l=[l],Us.forEach(l,function(f){Us.isDate(f)?f=f.toISOString():Us.isObject(f)&&(f=JSON.stringify(f)),o.push(Bp(c)+"="+Bp(f))}))}),s=o.join("&")}if(s){var i=t.indexOf("#");i!==-1&&(t=t.slice(0,i)),t+=(t.indexOf("?")===-1?"?":"&")+s}return t},vk=tn;function hu(){this.handlers=[]}hu.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};hu.prototype.eject=function(t){this.handlers[t]&&(this.handlers[t]=null)};hu.prototype.forEach=function(t){vk.forEach(this.handlers,function(r){r!==null&&t(r)})};var bk=hu,wk=tn,Ck=function(t,n){wk.forEach(t,function(s,o){o!==n&&o.toUpperCase()===n.toUpperCase()&&(t[n]=s,delete t[o])})},Ly=tn;function zo(e,t,n,r,s){Error.call(this),this.message=e,this.name="AxiosError",t&&(this.code=t),n&&(this.config=n),r&&(this.request=r),s&&(this.response=s)}Ly.inherits(zo,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 Ry=zo.prototype,Ny={};["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){Ny[e]={value:e}});Object.defineProperties(zo,Ny);Object.defineProperty(Ry,"isAxiosError",{value:!0});zo.from=function(e,t,n,r,s,o){var i=Object.create(Ry);return Ly.toFlatObject(e,i,function(l){return l!==Error.prototype}),zo.call(i,e.message,t,n,r,s),i.name=e.name,o&&Object.assign(i,o),i};var Oo=zo,jy={silentJSONParsing:!0,forcedJSONParsing:!0,clarifyTimeoutError:!1},Yn=tn;function zk(e,t){t=t||new FormData;var n=[];function r(o){return o===null?"":Yn.isDate(o)?o.toISOString():Yn.isArrayBuffer(o)||Yn.isTypedArray(o)?typeof Blob=="function"?new Blob([o]):Buffer.from(o):o}function s(o,i){if(Yn.isPlainObject(o)||Yn.isArray(o)){if(n.indexOf(o)!==-1)throw Error("Circular reference detected in "+i);n.push(o),Yn.forEach(o,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}}s(l,d)}}),n.pop()}else t.append(i,r(o))}return s(e),t}var Vy=zk,Qu=Oo,xk=function(t,n,r){var s=r.config.validateStatus;!r.status||!s||s(r.status)?t(r):n(new Qu("Request failed with status code "+r.status,[Qu.ERR_BAD_REQUEST,Qu.ERR_BAD_RESPONSE][Math.floor(r.status/100)-4],r.config,r.request,r))},ya=tn,kk=ya.isStandardBrowserEnv()?function(){return{write:function(n,r,s,o,i,a){var l=[];l.push(n+"="+encodeURIComponent(r)),ya.isNumber(s)&&l.push("expires="+new Date(s).toGMTString()),ya.isString(o)&&l.push("path="+o),ya.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(){}}}(),Sk=function(t){return/^([a-z][a-z\d+\-.]*:)?\/\//i.test(t)},Ek=function(t,n){return n?t.replace(/\/+$/,"")+"/"+n.replace(/^\/+/,""):t},$k=Sk,Ak=Ek,By=function(t,n){return t&&!$k(n)?Ak(t,n):n},ec=tn,Tk=["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"],Ok=function(t){var n={},r,s,o;return t&&ec.forEach(t.split(`
|
|
`),function(a){if(o=a.indexOf(":"),r=ec.trim(a.substr(0,o)).toLowerCase(),s=ec.trim(a.substr(o+1)),r){if(n[r]&&Tk.indexOf(r)>=0)return;r==="set-cookie"?n[r]=(n[r]?n[r]:[]).concat([s]):n[r]=n[r]?n[r]+", "+s:s}}),n},Hp=tn,Pk=Hp.isStandardBrowserEnv()?function(){var t=/(msie|trident)/i.test(navigator.userAgent),n=document.createElement("a"),r;function s(o){var i=o;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=s(window.location.href),function(i){var a=Hp.isString(i)?s(i):i;return a.protocol===r.protocol&&a.host===r.host}}():function(){return function(){return!0}}(),ld=Oo,Dk=tn;function Hy(e){ld.call(this,e==null?"canceled":e,ld.ERR_CANCELED),this.name="CanceledError"}Dk.inherits(Hy,ld,{__CANCEL__:!0});var _u=Hy,Fk=function(t){var n=/^([-+\w]{1,25})(:?\/\/|:)/.exec(t);return n&&n[1]||""},Bo=tn,Ik=xk,Mk=kk,Lk=My,Rk=By,Nk=Ok,jk=Pk,Vk=jy,Cr=Oo,Bk=_u,Hk=Fk,Up=function(t){return new Promise(function(r,s){var o=t.data,i=t.headers,a=t.responseType,l;function c(){t.cancelToken&&t.cancelToken.unsubscribe(l),t.signal&&t.signal.removeEventListener("abort",l)}Bo.isFormData(o)&&Bo.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=Rk(t.baseURL,t.url);d.open(t.method.toUpperCase(),Lk(p,t.params,t.paramsSerializer),!0),d.timeout=t.timeout;function h(){if(!!d){var b="getAllResponseHeaders"in d?Nk(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};Ik(function(E){r(E),c()},function(E){s(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||(s(new Cr("Request aborted",Cr.ECONNABORTED,t,d)),d=null)},d.onerror=function(){s(new Cr("Network Error",Cr.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||Vk;t.timeoutErrorMessage&&(w=t.timeoutErrorMessage),s(new Cr(w,x.clarifyTimeoutError?Cr.ETIMEDOUT:Cr.ECONNABORTED,t,d)),d=null},Bo.isStandardBrowserEnv()){var _=(t.withCredentials||jk(p))&&t.xsrfCookieName?Mk.read(t.xsrfCookieName):void 0;_&&(i[t.xsrfHeaderName]=_)}"setRequestHeader"in d&&Bo.forEach(i,function(w,x){typeof o=="undefined"&&x.toLowerCase()==="content-type"?delete i[x]:d.setRequestHeader(x,w)}),Bo.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||(s(!b||b&&b.type?new Bk:b),d.abort(),d=null)},t.cancelToken&&t.cancelToken.subscribe(l),t.signal&&(t.signal.aborted?l():t.signal.addEventListener("abort",l))),o||(o=null);var g=Hk(p);if(g&&["http","https","file"].indexOf(g)===-1){s(new Cr("Unsupported protocol "+g+":",Cr.ERR_BAD_REQUEST,t));return}d.send(o)})},Uk=null,Jt=tn,qp=Ck,Wp=Oo,qk=jy,Wk=Vy,Gk={"Content-Type":"application/x-www-form-urlencoded"};function Gp(e,t){!Jt.isUndefined(e)&&Jt.isUndefined(e["Content-Type"])&&(e["Content-Type"]=t)}function Kk(){var e;return(typeof XMLHttpRequest!="undefined"||typeof process!="undefined"&&Object.prototype.toString.call(process)==="[object process]")&&(e=Up),e}function Zk(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 gu={transitional:qk,adapter:Kk(),transformRequest:[function(t,n){if(qp(n,"Accept"),qp(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 Gp(n,"application/x-www-form-urlencoded;charset=utf-8"),t.toString();var r=Jt.isObject(t),s=n&&n["Content-Type"],o;if((o=Jt.isFileList(t))||r&&s==="multipart/form-data"){var i=this.env&&this.env.FormData;return Wk(o?{"files[]":t}:t,i&&new i)}else if(r||s==="application/json")return Gp(n,"application/json"),Zk(t);return t}],transformResponse:[function(t){var n=this.transitional||gu.transitional,r=n&&n.silentJSONParsing,s=n&&n.forcedJSONParsing,o=!r&&this.responseType==="json";if(o||s&&Jt.isString(t)&&t.length)try{return JSON.parse(t)}catch(i){if(o)throw i.name==="SyntaxError"?Wp.from(i,Wp.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:Uk},validateStatus:function(t){return t>=200&&t<300},headers:{common:{Accept:"application/json, text/plain, */*"}}};Jt.forEach(["delete","get","head"],function(t){gu.headers[t]={}});Jt.forEach(["post","put","patch"],function(t){gu.headers[t]=Jt.merge(Gk)});var Sm=gu,Yk=tn,Jk=Sm,Xk=function(t,n,r){var s=this||Jk;return Yk.forEach(r,function(i){t=i.call(s,t,n)}),t},Uy=function(t){return!!(t&&t.__CANCEL__)},Kp=tn,tc=Xk,Qk=Uy,eS=Sm,tS=_u;function nc(e){if(e.cancelToken&&e.cancelToken.throwIfRequested(),e.signal&&e.signal.aborted)throw new tS}var nS=function(t){nc(t),t.headers=t.headers||{},t.data=tc.call(t,t.data,t.headers,t.transformRequest),t.headers=Kp.merge(t.headers.common||{},t.headers[t.method]||{},t.headers),Kp.forEach(["delete","get","head","post","put","patch","common"],function(s){delete t.headers[s]});var n=t.adapter||eS.adapter;return n(t).then(function(s){return nc(t),s.data=tc.call(t,s.data,s.headers,t.transformResponse),s},function(s){return Qk(s)||(nc(t),s&&s.response&&(s.response.data=tc.call(t,s.response.data,s.response.headers,t.transformResponse))),Promise.reject(s)})},$n=tn,qy=function(t,n){n=n||{};var r={};function s(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 o(d){if($n.isUndefined(n[d])){if(!$n.isUndefined(t[d]))return s(void 0,t[d])}else return s(t[d],n[d])}function i(d){if(!$n.isUndefined(n[d]))return s(void 0,n[d])}function a(d){if($n.isUndefined(n[d])){if(!$n.isUndefined(t[d]))return s(void 0,t[d])}else return s(void 0,n[d])}function l(d){if(d in n)return s(t[d],n[d]);if(d in t)return s(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]||o,p=m(f);$n.isUndefined(p)&&m!==l||(r[f]=p)}),r},Wy={version:"0.27.2"},rS=Wy.version,Wr=Oo,Em={};["object","boolean","number","function","string","symbol"].forEach(function(e,t){Em[e]=function(r){return typeof r===e||"a"+(t<1?"n ":" ")+e}});var Zp={};Em.transitional=function(t,n,r){function s(o,i){return"[Axios v"+rS+"] Transitional option '"+o+"'"+i+(r?". "+r:"")}return function(o,i,a){if(t===!1)throw new Wr(s(i," has been removed"+(n?" in "+n:"")),Wr.ERR_DEPRECATED);return n&&!Zp[i]&&(Zp[i]=!0,console.warn(s(i," has been deprecated since v"+n+" and will be removed in the near future"))),t?t(o,i,a):!0}};function sS(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),s=r.length;s-- >0;){var o=r[s],i=t[o];if(i){var a=e[o],l=a===void 0||i(a,o,e);if(l!==!0)throw new Wr("option "+o+" must be "+l,Wr.ERR_BAD_OPTION_VALUE);continue}if(n!==!0)throw new Wr("Unknown option "+o,Wr.ERR_BAD_OPTION)}}var oS={assertOptions:sS,validators:Em},Gy=tn,iS=My,Yp=bk,Jp=nS,yu=qy,aS=By,Ky=oS,qs=Ky.validators;function xo(e){this.defaults=e,this.interceptors={request:new Yp,response:new Yp}}xo.prototype.request=function(t,n){typeof t=="string"?(n=n||{},n.url=t):n=t||{},n=yu(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&&Ky.assertOptions(r,{silentJSONParsing:qs.transitional(qs.boolean),forcedJSONParsing:qs.transitional(qs.boolean),clarifyTimeoutError:qs.transitional(qs.boolean)},!1);var s=[],o=!0;this.interceptors.request.forEach(function(p){typeof p.runWhen=="function"&&p.runWhen(n)===!1||(o=o&&p.synchronous,s.unshift(p.fulfilled,p.rejected))});var i=[];this.interceptors.response.forEach(function(p){i.push(p.fulfilled,p.rejected)});var a;if(!o){var l=[Jp,void 0];for(Array.prototype.unshift.apply(l,s),l=l.concat(i),a=Promise.resolve(n);l.length;)a=a.then(l.shift(),l.shift());return a}for(var c=n;s.length;){var d=s.shift(),f=s.shift();try{c=d(c)}catch(m){f(m);break}}try{a=Jp(c)}catch(m){return Promise.reject(m)}for(;i.length;)a=a.then(i.shift(),i.shift());return a};xo.prototype.getUri=function(t){t=yu(this.defaults,t);var n=aS(t.baseURL,t.url);return iS(n,t.params,t.paramsSerializer)};Gy.forEach(["delete","get","head","options"],function(t){xo.prototype[t]=function(n,r){return this.request(yu(r||{},{method:t,url:n,data:(r||{}).data}))}});Gy.forEach(["post","put","patch"],function(t){function n(r){return function(o,i,a){return this.request(yu(a||{},{method:t,headers:r?{"Content-Type":"multipart/form-data"}:{},url:o,data:i}))}}xo.prototype[t]=n(),xo.prototype[t+"Form"]=n(!0)});var lS=xo,uS=_u;function ko(e){if(typeof e!="function")throw new TypeError("executor must be a function.");var t;this.promise=new Promise(function(s){t=s});var n=this;this.promise.then(function(r){if(!!n._listeners){var s,o=n._listeners.length;for(s=0;s<o;s++)n._listeners[s](r);n._listeners=null}}),this.promise.then=function(r){var s,o=new Promise(function(i){n.subscribe(i),s=i}).then(r);return o.cancel=function(){n.unsubscribe(s)},o},e(function(s){n.reason||(n.reason=new uS(s),t(n.reason))})}ko.prototype.throwIfRequested=function(){if(this.reason)throw this.reason};ko.prototype.subscribe=function(t){if(this.reason){t(this.reason);return}this._listeners?this._listeners.push(t):this._listeners=[t]};ko.prototype.unsubscribe=function(t){if(!!this._listeners){var n=this._listeners.indexOf(t);n!==-1&&this._listeners.splice(n,1)}};ko.source=function(){var t,n=new ko(function(s){t=s});return{token:n,cancel:t}};var cS=ko,dS=function(t){return function(r){return t.apply(null,r)}},mS=tn,fS=function(t){return mS.isObject(t)&&t.isAxiosError===!0},Xp=tn,pS=Dy,cl=lS,hS=qy,_S=Sm;function Zy(e){var t=new cl(e),n=pS(cl.prototype.request,t);return Xp.extend(n,cl.prototype,t),Xp.extend(n,t),n.create=function(s){return Zy(hS(e,s))},n}var Sn=Zy(_S);Sn.Axios=cl;Sn.CanceledError=_u;Sn.CancelToken=cS;Sn.isCancel=Uy;Sn.VERSION=Wy.version;Sn.toFormData=Vy;Sn.AxiosError=Oo;Sn.Cancel=Sn.CanceledError;Sn.all=function(t){return Promise.all(t)};Sn.spread=dS;Sn.isAxiosError=fS;bm.exports=Sn;bm.exports.default=Sn;var Te=bm.exports;const{t:to}=Wi.global;Te.interceptors.response.use(function(e){return e},function(e){return console.log(Wi),e.request.status&&e.request.responseURL&&at.dispatch("add_notification",{text:to("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:to("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:to("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:to("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:to("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:to("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 gS={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})}}},yS={key:0,class:"media"},vS={key:0,class:"media-left"},bS={class:"icon has-text-grey fd-is-movable handle"},wS=["textContent"],CS=["textContent"],zS=["textContent"],xS={class:"media-right"};function kS(e,t,n,r,s,o){const i=P("mdicon");return o.is_next||!n.show_only_next_items?(S(),D("div",yS,[n.edit_mode?(S(),D("div",vS,[u("span",bS,[C(i,{name:"drag-horizontal",size:"16"})])])):Q("",!0),u("div",{class:"media-content fd-has-action is-clipped",onClick:t[0]||(t[0]=(...a)=>o.play&&o.play(...a))},[u("h1",{class:Ze(["title is-6",{"has-text-primary":n.item.id===o.state.item_id,"has-text-grey-light":!o.is_next}]),textContent:v(n.item.title)},null,10,wS),u("h2",{class:Ze(["subtitle is-7",{"has-text-primary":n.item.id===o.state.item_id,"has-text-grey-light":!o.is_next,"has-text-grey":o.is_next&&n.item.id!==o.state.item_id}])},[u("b",{textContent:v(n.item.artist)},null,8,CS)],2),u("h2",{class:Ze(["subtitle is-7",{"has-text-primary":n.item.id===o.state.item_id,"has-text-grey-light":!o.is_next,"has-text-grey":o.is_next&&n.item.id!==o.state.item_id}]),textContent:v(n.item.album)},null,10,zS)]),u("div",xS,[xt(e.$slots,"actions")])])):Q("",!0)}var SS=ve(gS,[["render",kS]]),Yy={exports:{}};(function(e){var t=function(){var n="https://api.spotify.com/v1",r=null,s=null,o=function(m,p){return m.abort=p,m},i=function(m,p){var h;if(s!==null){var _=s.defer();m(function(g){_.resolve(g)},function(g){_.reject(g)}),h=_.promise}else window.Promise&&(h=new window.Promise(m));return h?new o(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(j){console.error(j)}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)s=m;else throw new Error("Unsupported implementation of Promises/A+")},f}();e.exports=t})(Yy);var ur=Yy.exports;const ES={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})}}},$S={key:0,class:"modal is-active"},AS={class:"modal-content fd-modal-card"},TS={class:"card"},OS={class:"card-content"},PS=["textContent"],DS=["textContent"],FS={class:"content is-small"},IS=["textContent"],MS=["textContent"],LS=["textContent"],RS={key:0},NS=["textContent"],jS=["textContent"],VS=["textContent"],BS={key:1},HS=["textContent"],US=["textContent"],qS={key:2},WS=["textContent"],GS=["textContent"],KS={key:3},ZS=["textContent"],YS=["textContent"],JS=["textContent"],XS=["textContent"],QS=["textContent"],eE=["textContent"],tE=["textContent"],nE=["textContent"],rE=["textContent"],sE={class:"title is-6"},oE=["textContent"],iE={key:0,class:"has-text-weight-normal"},aE=vt(" ("),lE=["textContent"],uE=vt(", "),cE=["textContent"],dE=vt(") "),mE=["textContent"],fE={class:"title is-6"},pE=["textContent"],hE=["textContent"],_E=["textContent"],gE=["textContent"],yE={class:"card-footer"},vE={class:"icon"},bE=["textContent"],wE={class:"icon"},CE=["textContent"];function zE(e,t,n,r,s,o){const i=P("mdicon");return S(),D("div",null,[C(Wt,{name:"fade"},{default:O(()=>[n.show?(S(),D("div",$S,[u("div",{class:"modal-background",onClick:t[0]||(t[0]=a=>e.$emit("close"))}),u("div",AS,[u("div",TS,[u("div",OS,[u("p",{class:"title is-4",textContent:v(n.item.title)},null,8,PS),u("p",{class:"subtitle",textContent:v(n.item.artist)},null,8,DS),u("div",FS,[u("p",null,[u("span",{class:"heading",textContent:v(e.$t("dialog.queue-item.album"))},null,8,IS),n.item.album_id?(S(),D("a",{key:0,class:"title is-6 has-text-link",onClick:t[1]||(t[1]=(...a)=>o.open_album&&o.open_album(...a)),textContent:v(n.item.album)},null,8,MS)):(S(),D("span",{key:1,class:"title is-6",textContent:v(n.item.album)},null,8,LS))]),n.item.album_artist?(S(),D("p",RS,[u("span",{class:"heading",textContent:v(e.$t("dialog.queue-item.album-artist"))},null,8,NS),n.item.album_artist_id?(S(),D("a",{key:0,class:"title is-6 has-text-link",onClick:t[2]||(t[2]=(...a)=>o.open_album_artist&&o.open_album_artist(...a)),textContent:v(n.item.album_artist)},null,8,jS)):(S(),D("span",{key:1,class:"title is-6",textContent:v(n.item.album_artist)},null,8,VS))])):Q("",!0),n.item.composer?(S(),D("p",BS,[u("span",{class:"heading",textContent:v(e.$t("dialog.queue-item.composer"))},null,8,HS),u("span",{class:"title is-6",textContent:v(n.item.composer)},null,8,US)])):Q("",!0),n.item.year>0?(S(),D("p",qS,[u("span",{class:"heading",textContent:v(e.$t("dialog.queue-item.year"))},null,8,WS),u("span",{class:"title is-6",textContent:v(n.item.year)},null,8,GS)])):Q("",!0),n.item.genre?(S(),D("p",KS,[u("span",{class:"heading",textContent:v(e.$t("dialog.queue-item.genre"))},null,8,ZS),u("a",{class:"title is-6 has-text-link",onClick:t[3]||(t[3]=(...a)=>o.open_genre&&o.open_genre(...a)),textContent:v(n.item.genre)},null,8,YS)])):Q("",!0),u("p",null,[u("span",{class:"heading",textContent:v(e.$t("dialog.queue-item.position"))},null,8,JS),u("span",{class:"title is-6",textContent:v([n.item.disc_number,n.item.track_number].join(" / "))},null,8,XS)]),u("p",null,[u("span",{class:"heading",textContent:v(e.$t("dialog.queue-item.duration"))},null,8,QS),u("span",{class:"title is-6",textContent:v(e.$filters.durationInHours(n.item.length_ms))},null,8,eE)]),u("p",null,[u("span",{class:"heading",textContent:v(e.$t("dialog.queue-item.path"))},null,8,tE),u("span",{class:"title is-6",textContent:v(n.item.path)},null,8,nE)]),u("p",null,[u("span",{class:"heading",textContent:v(e.$t("dialog.queue-item.type"))},null,8,rE),u("span",sE,[u("span",{textContent:v([e.$t("media.kind."+n.item.media_kind),e.$t("data.kind."+n.item.data_kind)].join(" - "))},null,8,oE),n.item.data_kind==="spotify"?(S(),D("span",iE,[aE,u("a",{onClick:t[4]||(t[4]=(...a)=>o.open_spotify_artist&&o.open_spotify_artist(...a)),textContent:v(e.$t("dialog.queue-item.spotify-artist"))},null,8,lE),uE,u("a",{onClick:t[5]||(t[5]=(...a)=>o.open_spotify_album&&o.open_spotify_album(...a)),textContent:v(e.$t("dialog.queue-item.spotify-album"))},null,8,cE),dE])):Q("",!0)])]),u("p",null,[u("span",{class:"heading",textContent:v(e.$t("dialog.queue-item.quality"))},null,8,mE),u("span",fE,[u("span",{textContent:v(n.item.type)},null,8,pE),n.item.samplerate?(S(),D("span",{key:0,textContent:v(e.$t("dialog.queue-item.samplerate",{rate:n.item.samplerate}))},null,8,hE)):Q("",!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,_E)):Q("",!0),n.item.bitrate?(S(),D("span",{key:2,textContent:v(e.$t("dialog.queue-item.bitrate",{rate:n.item.bitrate}))},null,8,gE)):Q("",!0)])])])]),u("footer",yE,[u("a",{class:"card-footer-item has-text-dark",onClick:t[6]||(t[6]=(...a)=>o.remove&&o.remove(...a))},[u("span",vE,[C(i,{name:"delete",size:"16"})]),u("span",{class:"is-size-7",textContent:v(e.$t("dialog.queue-item.remove"))},null,8,bE)]),u("a",{class:"card-footer-item has-text-dark",onClick:t[7]||(t[7]=(...a)=>o.play&&o.play(...a))},[u("span",wE,[C(i,{name:"play",size:"16"})]),u("span",{class:"is-size-7",textContent:v(e.$t("dialog.queue-item.play"))},null,8,CE)])])])]),u("button",{class:"modal-close is-large","aria-label":"close",onClick:t[8]||(t[8]=a=>e.$emit("close"))})])):Q("",!0)]),_:1})])}var Jy=ve(ES,[["render",zE]]);const xE={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})}}},kE={key:0,class:"modal is-active"},SE={class:"modal-content fd-modal-card"},EE={class:"card"},$E={class:"card-content"},AE=["textContent"],TE={class:"field"},OE={class:"control is-expanded has-icons-left"},PE=["placeholder","disabled"],DE={class:"icon is-left"},FE={key:0,class:"card-footer"},IE={class:"card-footer-item has-text-dark"},ME={class:"icon"},LE=["textContent"],RE={key:1,class:"card-footer"},NE={class:"icon"},jE=["textContent"],VE={class:"icon"},BE=["textContent"],HE={class:"icon"},UE=["textContent"];function qE(e,t,n,r,s,o){const i=P("mdicon");return S(),D("div",null,[C(Wt,{name:"fade"},{default:O(()=>[n.show?(S(),D("div",kE,[u("div",{class:"modal-background",onClick:t[0]||(t[0]=a=>e.$emit("close"))}),u("div",SE,[u("div",EE,[u("div",$E,[u("p",{class:"title is-4",textContent:v(e.$t("dialog.add.stream.title"))},null,8,AE),u("form",{class:"fd-has-margin-bottom",onSubmit:t[2]||(t[2]=_t((...a)=>o.play&&o.play(...a),["prevent"]))},[u("div",TE,[u("p",OE,[kt(u("input",{ref:"url_field","onUpdate:modelValue":t[1]||(t[1]=a=>s.url=a),class:"input is-shadowless",type:"text",placeholder:e.$t("dialog.add.stream.placeholder"),disabled:s.loading},null,8,PE),[[kn,s.url]]),u("span",DE,[C(i,{name:"web",size:"16"})])])])],32)]),s.loading?(S(),D("footer",FE,[u("a",IE,[u("span",ME,[C(i,{name:"web",size:"16"})]),u("span",{class:"is-size-7",textContent:v(e.$t("dialog.add.stream.loading"))},null,8,LE)])])):(S(),D("footer",RE,[u("a",{class:"card-footer-item has-text-danger",onClick:t[3]||(t[3]=a=>e.$emit("close"))},[u("span",NE,[C(i,{name:"cancel",size:"16"})]),u("span",{class:"is-size-7",textContent:v(e.$t("dialog.add.stream.cancel"))},null,8,jE)]),u("a",{class:"card-footer-item has-text-dark",onClick:t[4]||(t[4]=(...a)=>o.add_stream&&o.add_stream(...a))},[u("span",VE,[C(i,{name:"playlist-plus",size:"16"})]),u("span",{class:"is-size-7",textContent:v(e.$t("dialog.add.stream.add"))},null,8,BE)]),u("a",{class:"card-footer-item has-background-info has-text-white has-text-weight-bold",onClick:t[5]||(t[5]=(...a)=>o.play&&o.play(...a))},[u("span",HE,[C(i,{name:"play",size:"16"})]),u("span",{class:"is-size-7",textContent:v(e.$t("dialog.add.stream.play"))},null,8,UE)])]))])]),u("button",{class:"modal-close is-large","aria-label":"close",onClick:t[6]||(t[6]=a=>e.$emit("close"))})])):Q("",!0)]),_:1})])}var WE=ve(xE,[["render",qE]]);const GE={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}))}}},KE={key:0,class:"modal is-active"},ZE={class:"modal-content fd-modal-card"},YE={class:"card"},JE={class:"card-content"},XE=["textContent"],QE={class:"field"},e$={class:"control is-expanded has-icons-left"},t$=["disabled"],n$={class:"icon is-left"},r$={key:0,class:"card-footer"},s$={class:"card-footer-item has-text-dark"},o$={class:"icon"},i$=["textContent"],a$={key:1,class:"card-footer"},l$={class:"icon"},u$=["textContent"],c$={class:"icon"},d$=["textContent"];function m$(e,t,n,r,s,o){const i=P("mdicon");return S(),D("div",null,[C(Wt,{name:"fade"},{default:O(()=>[n.show?(S(),D("div",KE,[u("div",{class:"modal-background",onClick:t[0]||(t[0]=a=>e.$emit("close"))}),u("div",ZE,[u("div",YE,[u("div",JE,[u("p",{class:"title is-4",textContent:v(e.$t("dialog.playlist.save.title"))},null,8,XE),u("form",{class:"fd-has-margin-bottom",onSubmit:t[2]||(t[2]=_t((...a)=>o.save&&o.save(...a),["prevent"]))},[u("div",QE,[u("p",e$,[kt(u("input",{ref:"playlist_name_field","onUpdate:modelValue":t[1]||(t[1]=a=>s.playlist_name=a),class:"input is-shadowless",type:"text",placeholder:"Playlist name",disabled:s.loading},null,8,t$),[[kn,s.playlist_name]]),u("span",n$,[C(i,{name:"file-music",size:"16"})])])])],32)]),s.loading?(S(),D("footer",r$,[u("a",s$,[u("span",o$,[C(i,{name:"web",size:"16"})]),u("span",{class:"is-size-7",textContent:v(e.$t("dialog.playlist.save.saving"))},null,8,i$)])])):(S(),D("footer",a$,[u("a",{class:"card-footer-item has-text-danger",onClick:t[3]||(t[3]=a=>e.$emit("close"))},[u("span",l$,[C(i,{name:"cancel",size:"16"})]),u("span",{class:"is-size-7",textContent:v(e.$t("dialog.playlist.save.cancel"))},null,8,u$)]),u("a",{class:"card-footer-item has-background-info has-text-white has-text-weight-bold",onClick:t[4]||(t[4]=(...a)=>o.save&&o.save(...a))},[u("span",c$,[C(i,{name:"content-save",size:"16"})]),u("span",{class:"is-size-7",textContent:v(e.$t("dialog.playlist.save.save"))},null,8,d$)])]))])]),u("button",{class:"modal-close is-large","aria-label":"close",onClick:t[5]||(t[5]=a=>e.$emit("close"))})])):Q("",!0)]),_:1})])}var f$=ve(GE,[["render",m$]]),Xy={exports:{}},$m=Py(ez);/**!
|
|
* Sortable 1.14.0
|
|
* @author RubaXa <trash@rubaxa.org>
|
|
* @author owenm <owen23355@gmail.com>
|
|
* @license MIT
|
|
*/function Qp(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter(function(s){return Object.getOwnPropertyDescriptor(e,s).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?Qp(Object(n),!0).forEach(function(r){p$(e,r,n[r])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):Qp(Object(n)).forEach(function(r){Object.defineProperty(e,r,Object.getOwnPropertyDescriptor(n,r))})}return e}function dl(e){return typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?dl=function(t){return typeof t}:dl=function(t){return t&&typeof Symbol=="function"&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t},dl(e)}function p$(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 h$(e,t){if(e==null)return{};var n={},r=Object.keys(e),s,o;for(o=0;o<r.length;o++)s=r[o],!(t.indexOf(s)>=0)&&(n[s]=e[s]);return n}function _$(e,t){if(e==null)return{};var n=h$(e,t),r,s;if(Object.getOwnPropertySymbols){var o=Object.getOwnPropertySymbols(e);for(s=0;s<o.length;s++)r=o[s],!(t.indexOf(r)>=0)&&(!Object.prototype.propertyIsEnumerable.call(e,r)||(n[r]=e[r]))}return n}function g$(e){return y$(e)||v$(e)||b$(e)||w$()}function y$(e){if(Array.isArray(e))return ud(e)}function v$(e){if(typeof Symbol!="undefined"&&e[Symbol.iterator]!=null||e["@@iterator"]!=null)return Array.from(e)}function b$(e,t){if(!!e){if(typeof e=="string")return ud(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 ud(e,t)}}function ud(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 w$(){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 C$="1.14.0";function Er(e){if(typeof window!="undefined"&&window.navigator)return!!navigator.userAgent.match(e)}var Dr=Er(/(?:Trident.*rv[ :]?11\.|msie|iemobile|Windows Phone)/i),Ki=Er(/Edge/i),eh=Er(/firefox/i),vi=Er(/safari/i)&&!Er(/chrome/i)&&!Er(/android/i),Qy=Er(/iP(ad|od|hone)/i),z$=Er(/chrome/i)&&Er(/android/i),ev={capture:!1,passive:!1};function lt(e,t,n){e.addEventListener(t,n,!Dr&&ev)}function ot(e,t,n){e.removeEventListener(t,n,!Dr&&ev)}function Dl(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 x$(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&&Dl(e,t):Dl(e,t))||r&&e===n)return e;if(e===n)break}while(e=x$(e))}return null}var th=/\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(th," ").replace(" "+t+" "," ");e.className=(r+(n?" "+t:"")).replace(th," ")}}function Ve(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 Ss(e,t){var n="";if(typeof e=="string")n=e;else do{var r=Ve(e,"transform");r&&r!=="none"&&(n=r+" "+n)}while(!t&&(e=e.parentNode));var s=window.DOMMatrix||window.WebKitCSSMatrix||window.CSSMatrix||window.MSCSSMatrix;return s&&new s(n)}function tv(e,t,n){if(e){var r=e.getElementsByTagName(t),s=0,o=r.length;if(n)for(;s<o;s++)n(r[s],s);return r}return[]}function _r(){var e=document.scrollingElement;return e||document.documentElement}function Et(e,t,n,r,s){if(!(!e.getBoundingClientRect&&e!==window)){var o,i,a,l,c,d,f;if(e!==window&&e.parentNode&&e!==_r()?(o=e.getBoundingClientRect(),i=o.top,a=o.left,l=o.bottom,c=o.right,d=o.height,f=o.width):(i=0,a=0,l=window.innerHeight,c=window.innerWidth,d=window.innerHeight,f=window.innerWidth),(t||n)&&e!==window&&(s=s||e.parentNode,!Dr))do if(s&&s.getBoundingClientRect&&(Ve(s,"transform")!=="none"||n&&Ve(s,"position")!=="static")){var m=s.getBoundingClientRect();i-=m.top+parseInt(Ve(s,"border-top-width")),a-=m.left+parseInt(Ve(s,"border-left-width")),l=i+o.height,c=a+o.width;break}while(s=s.parentNode);if(r&&e!==window){var p=Ss(s||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 nh(e,t,n){for(var r=Jr(e,!0),s=Et(e)[t];r;){var o=Et(r)[n],i=void 0;if(n==="top"||n==="left"?i=s>=o:i=s<=o,!i)return r;if(r===_r())break;r=Jr(r,!1)}return!1}function So(e,t,n,r){for(var s=0,o=0,i=e.children;o<i.length;){if(i[o].style.display!=="none"&&i[o]!==Xe.ghost&&(r||i[o]!==Xe.dragged)&&tr(i[o],n.draggable,e,!1)){if(s===t)return i[o];s++}o++}return null}function Am(e,t){for(var n=e.lastElementChild;n&&(n===Xe.ghost||Ve(n,"display")==="none"||t&&!Dl(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!==Xe.clone&&(!t||Dl(e,t))&&n++;return n}function rh(e){var t=0,n=0,r=_r();if(e)do{var s=Ss(e),o=s.a,i=s.d;t+=e.scrollLeft*o,n+=e.scrollTop*i}while(e!==r&&(e=e.parentNode));return[t,n]}function k$(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 s=Ve(n);if(n.clientWidth<n.scrollWidth&&(s.overflowX=="auto"||s.overflowX=="scroll")||n.clientHeight<n.scrollHeight&&(s.overflowY=="auto"||s.overflowY=="scroll")){if(!n.getBoundingClientRect||n===document.body)return _r();if(r||t)return n;r=!0}}while(n=n.parentNode);return _r()}function S$(e,t){if(e&&t)for(var n in t)t.hasOwnProperty(n)&&(e[n]=t[n]);return e}function rc(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 bi;function nv(e,t){return function(){if(!bi){var n=arguments,r=this;n.length===1?e.call(r,n[0]):e.apply(r,n),bi=setTimeout(function(){bi=void 0},t)}}}function E$(){clearTimeout(bi),bi=void 0}function rv(e,t,n){e.scrollLeft+=t,e.scrollTop+=n}function Tm(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 sh(e,t){Ve(e,"position","absolute"),Ve(e,"top",t.top),Ve(e,"left",t.left),Ve(e,"width",t.width),Ve(e,"height",t.height)}function sc(e){Ve(e,"position",""),Ve(e,"top",""),Ve(e,"left",""),Ve(e,"width",""),Ve(e,"height","")}var rn="Sortable"+new Date().getTime();function $$(){var e=[],t;return{captureAnimationState:function(){if(e=[],!!this.options.animation){var r=[].slice.call(this.el.children);r.forEach(function(s){if(!(Ve(s,"display")==="none"||s===Xe.ghost)){e.push({target:s,rect:Et(s)});var o=yr({},e[e.length-1].rect);if(s.thisAnimationDuration){var i=Ss(s,!0);i&&(o.top-=i.f,o.left-=i.e)}s.fromRect=o}})}},addAnimationState:function(r){e.push(r)},removeAnimationState:function(r){e.splice(k$(e,{target:r}),1)},animateAll:function(r){var s=this;if(!this.options.animation){clearTimeout(t),typeof r=="function"&&r();return}var o=!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,_=Ss(c,!0);_&&(f.top-=_.f,f.left-=_.e),c.toRect=f,c.thisAnimationDuration&&rc(m,f)&&!rc(d,f)&&(h.top-f.top)/(h.left-f.left)===(d.top-f.top)/(d.left-f.left)&&(l=T$(h,m,p,s.options)),rc(f,d)||(c.prevFromRect=d,c.prevToRect=f,l||(l=s.options.animation),s.animate(c,h,f,l)),l&&(o=!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),o?t=setTimeout(function(){typeof r=="function"&&r()},i):typeof r=="function"&&r(),e=[]},animate:function(r,s,o,i){if(i){Ve(r,"transition",""),Ve(r,"transform","");var a=Ss(this.el),l=a&&a.a,c=a&&a.d,d=(s.left-o.left)/(l||1),f=(s.top-o.top)/(c||1);r.animatingX=!!d,r.animatingY=!!f,Ve(r,"transform","translate3d("+d+"px,"+f+"px,0)"),this.forRepaintDummy=A$(r),Ve(r,"transition","transform "+i+"ms"+(this.options.easing?" "+this.options.easing:"")),Ve(r,"transform","translate3d(0,0,0)"),typeof r.animated=="number"&&clearTimeout(r.animated),r.animated=setTimeout(function(){Ve(r,"transition",""),Ve(r,"transform",""),r.animated=!1,r.animatingX=!1,r.animatingY=!1},i)}}}}function A$(e){return e.offsetWidth}function T$(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 Ws=[],oc={initializeByDefault:!0},Zi={mount:function(t){for(var n in oc)oc.hasOwnProperty(n)&&!(n in t)&&(t[n]=oc[n]);Ws.forEach(function(r){if(r.pluginName===t.pluginName)throw"Sortable: Cannot mount plugin ".concat(t.pluginName," more than once")}),Ws.push(t)},pluginEvent:function(t,n,r){var s=this;this.eventCanceled=!1,r.cancel=function(){s.eventCanceled=!0};var o=t+"Global";Ws.forEach(function(i){!n[i.pluginName]||(n[i.pluginName][o]&&n[i.pluginName][o](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,s){Ws.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 o in t.options)if(!!t.options.hasOwnProperty(o)){var i=this.modifyOption(t,o,t.options[o]);typeof i!="undefined"&&(t.options[o]=i)}},getEventProperties:function(t,n){var r={};return Ws.forEach(function(s){typeof s.eventProperties=="function"&&Gn(r,s.eventProperties.call(n[s.pluginName],t))}),r},modifyOption:function(t,n,r){var s;return Ws.forEach(function(o){!t[o.pluginName]||o.optionListeners&&typeof o.optionListeners[n]=="function"&&(s=o.optionListeners[n].call(t[o.pluginName],r))}),s}};function ti(e){var t=e.sortable,n=e.rootEl,r=e.name,s=e.targetEl,o=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&&!Dr&&!Ki?_=new CustomEvent(r,{bubbles:!0,cancelable:!0}):(_=document.createEvent("Event"),_.initEvent(r,!0,!0)),_.to=i||n,_.from=a||n,_.item=s||n,_.clone=o,_.oldIndex=l,_.newIndex=c,_.oldDraggableIndex=d,_.newDraggableIndex=f,_.originalEvent=m,_.pullMode=p?p.lastPutMode:void 0;var w=yr(yr({},h),Zi.getEventProperties(r,t));for(var x in w)_[x]=w[x];n&&n.dispatchEvent(_),g[b]&&g[b].call(t,_)}}var O$=["evt"],yn=function(t,n){var r=arguments.length>2&&arguments[2]!==void 0?arguments[2]:{},s=r.evt,o=_$(r,O$);Zi.pluginEvent.bind(Xe)(t,n,yr({dragEl:ke,parentEl:Dt,ghostEl:rt,rootEl:St,nextEl:ys,lastDownEl:ml,cloneEl:Ft,cloneHidden:Zr,dragStarted:ni,putSortable:Xt,activeSortable:Xe.active,originalEvent:s,oldIndex:oo,oldDraggableIndex:wi,newIndex:Tn,newDraggableIndex:Gr,hideGhostForTarget:av,unhideGhostForTarget:lv,cloneNowHidden:function(){Zr=!0},cloneNowShown:function(){Zr=!1},dispatchSortableEvent:function(a){dn({sortable:n,name:a,originalEvent:s})}},o))};function dn(e){ti(yr({putSortable:Xt,cloneEl:Ft,targetEl:ke,rootEl:St,oldIndex:oo,oldDraggableIndex:wi,newIndex:Tn,newDraggableIndex:Gr},e))}var ke,Dt,rt,St,ys,ml,Ft,Zr,oo,Tn,wi,Gr,va,Xt,no=!1,Fl=!1,Il=[],fs,Jn,ic,ac,oh,ih,ni,Gs,Ci,zi=!1,ba=!1,fl,nn,lc=[],cd=!1,Ml=[],vu=typeof document!="undefined",wa=Qy,ah=Ki||Dr?"cssFloat":"float",P$=vu&&!z$&&!Qy&&"draggable"in document.createElement("div"),sv=function(){if(!!vu){if(Dr)return!1;var e=document.createElement("x");return e.style.cssText="pointer-events:auto",e.style.pointerEvents==="auto"}}(),ov=function(t,n){var r=Ve(t),s=parseInt(r.width)-parseInt(r.paddingLeft)-parseInt(r.paddingRight)-parseInt(r.borderLeftWidth)-parseInt(r.borderRightWidth),o=So(t,0,n),i=So(t,1,n),a=o&&Ve(o),l=i&&Ve(i),c=a&&parseInt(a.marginLeft)+parseInt(a.marginRight)+Et(o).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(o&&a.float&&a.float!=="none"){var f=a.float==="left"?"left":"right";return i&&(l.clear==="both"||l.clear===f)?"vertical":"horizontal"}return o&&(a.display==="block"||a.display==="flex"||a.display==="table"||a.display==="grid"||c>=s&&r[ah]==="none"||i&&r[ah]==="none"&&c+d>s)?"vertical":"horizontal"},D$=function(t,n,r){var s=r?t.left:t.top,o=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 s===a||o===l||s+i/2===a+c/2},F$=function(t,n){var r;return Il.some(function(s){var o=s[rn].options.emptyInsertThreshold;if(!(!o||Am(s))){var i=Et(s),a=t>=i.left-o&&t<=i.right+o,l=n>=i.top-o&&n<=i.bottom+o;if(a&&l)return r=s}}),r},iv=function(t){function n(o,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(o==null&&(i||f))return!0;if(o==null||o===!1)return!1;if(i&&o==="clone")return o;if(typeof o=="function")return n(o(a,l,c,d),i)(a,l,c,d);var m=(i?a:l).options.group.name;return o===!0||typeof o=="string"&&o===m||o.join&&o.indexOf(m)>-1}}var r={},s=t.group;(!s||dl(s)!="object")&&(s={name:s}),r.name=s.name,r.checkPull=n(s.pull,!0),r.checkPut=n(s.put),r.revertClone=s.revertClone,t.group=r},av=function(){!sv&&rt&&Ve(rt,"display","none")},lv=function(){!sv&&rt&&Ve(rt,"display","")};vu&&document.addEventListener("click",function(e){if(Fl)return e.preventDefault(),e.stopPropagation&&e.stopPropagation(),e.stopImmediatePropagation&&e.stopImmediatePropagation(),Fl=!1,!1},!0);var ps=function(t){if(ke){t=t.touches?t.touches[0]:t;var n=F$(t.clientX,t.clientY);if(n){var r={};for(var s in t)t.hasOwnProperty(s)&&(r[s]=t[s]);r.target=r.rootEl=n,r.preventDefault=void 0,r.stopPropagation=void 0,n[rn]._onDragOver(r)}}},I$=function(t){ke&&ke.parentNode[rn]._isOutsideThisEl(t.target)};function Xe(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 ov(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:Xe.supportPointer!==!1&&"PointerEvent"in window&&!vi,emptyInsertThreshold:5};Zi.initializePlugins(this,e,n);for(var r in n)!(r in t)&&(t[r]=n[r]);iv(t);for(var s in this)s.charAt(0)==="_"&&typeof this[s]=="function"&&(this[s]=this[s].bind(this));this.nativeDraggable=t.forceFallback?!1:P$,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)),Il.push(this.el),t.store&&t.store.get&&this.sort(t.store.get(this)||[]),Gn(this,$$())}Xe.prototype={constructor:Xe,_isOutsideThisEl:function(t){!this.el.contains(t)&&t!==this.el&&(Gs=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,s=this.options,o=s.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=s.filter;if(H$(r),!ke&&!(/mousedown|pointerdown/.test(i)&&t.button!==0||s.disabled)&&!c.isContentEditable&&!(!this.nativeDraggable&&vi&&l&&l.tagName.toUpperCase()==="SELECT")&&(l=tr(l,s.draggable,r,!1),!(l&&l.animated)&&ml!==l)){if(oo=Lt(l),wi=Lt(l,s.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}),o&&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)){o&&t.cancelable&&t.preventDefault();return}s.handle&&!tr(c,s.handle,r,!1)||this._prepareDragStart(t,a,l)}}},_prepareDragStart:function(t,n,r){var s=this,o=s.el,i=s.options,a=o.ownerDocument,l;if(r&&!ke&&r.parentNode===o){var c=Et(r);if(St=o,ke=r,Dt=ke.parentNode,ys=ke.nextSibling,ml=r,va=i.group,Xe.dragged=ke,fs={target:ke,clientX:(n||t).clientX,clientY:(n||t).clientY},oh=fs.clientX-c.left,ih=fs.clientY-c.top,this._lastX=(n||t).clientX,this._lastY=(n||t).clientY,ke.style["will-change"]="all",l=function(){if(yn("delayEnded",s,{evt:t}),Xe.eventCanceled){s._onDrop();return}s._disableDelayedDragEvents(),!eh&&s.nativeDraggable&&(ke.draggable=!0),s._triggerDragStart(t,n),dn({sortable:s,name:"choose",originalEvent:t}),$t(ke,i.chosenClass,!0)},i.ignore.split(",").forEach(function(d){tv(ke,d.trim(),uc)}),lt(a,"dragover",ps),lt(a,"mousemove",ps),lt(a,"touchmove",ps),lt(a,"mouseup",s._onDrop),lt(a,"touchend",s._onDrop),lt(a,"touchcancel",s._onDrop),eh&&this.nativeDraggable&&(this.options.touchStartThreshold=4,ke.draggable=!0),yn("delayStart",this,{evt:t}),i.delay&&(!i.delayOnTouchOnly||n)&&(!this.nativeDraggable||!(Ki||Dr))){if(Xe.eventCanceled){this._onDrop();return}lt(a,"mouseup",s._disableDelayedDrag),lt(a,"touchend",s._disableDelayedDrag),lt(a,"touchcancel",s._disableDelayedDrag),lt(a,"mousemove",s._delayedDragTouchMoveHandler),lt(a,"touchmove",s._delayedDragTouchMoveHandler),i.supportPointer&<(a,"pointermove",s._delayedDragTouchMoveHandler),s._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&&uc(ke),clearTimeout(this._dragStartTimer),this._disableDelayedDragEvents()},_disableDelayedDragEvents:function(){var t=this.el.ownerDocument;ot(t,"mouseup",this._disableDelayedDrag),ot(t,"touchend",this._disableDelayedDrag),ot(t,"touchcancel",this._disableDelayedDrag),ot(t,"mousemove",this._delayedDragTouchMoveHandler),ot(t,"touchmove",this._delayedDragTouchMoveHandler),ot(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?pl(function(){document.selection.empty()}):window.getSelection().removeAllRanges()}catch{}},_dragStarted:function(t,n){if(no=!1,St&&ke){yn("dragStarted",this,{evt:n}),this.nativeDraggable&<(document,"dragover",I$);var r=this.options;!t&&$t(ke,r.dragClass,!1),$t(ke,r.ghostClass,!0),Xe.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,av();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);lv()}},_onTouchMove:function(t){if(fs){var n=this.options,r=n.fallbackTolerance,s=n.fallbackOffset,o=t.touches?t.touches[0]:t,i=rt&&Ss(rt,!0),a=rt&&i&&i.a,l=rt&&i&&i.d,c=wa&&nn&&rh(nn),d=(o.clientX-fs.clientX+s.x)/(a||1)+(c?c[0]-lc[0]:0)/(a||1),f=(o.clientY-fs.clientY+s.y)/(l||1)+(c?c[1]-lc[1]:0)/(l||1);if(!Xe.active&&!no){if(r&&Math.max(Math.abs(o.clientX-this._lastX),Math.abs(o.clientY-this._lastY))<r)return;this._onDragStart(t,!0)}if(rt){i?(i.e+=d-(ic||0),i.f+=f-(ac||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,")");Ve(rt,"webkitTransform",m),Ve(rt,"mozTransform",m),Ve(rt,"msTransform",m),Ve(rt,"transform",m),ic=d,ac=f,Jn=o}t.cancelable&&t.preventDefault()}},_appendGhost:function(){if(!rt){var t=this.options.fallbackOnBody?document.body:St,n=Et(ke,!0,wa,!0,t),r=this.options;if(wa){for(nn=t;Ve(nn,"position")==="static"&&Ve(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(),lc=rh(nn)}rt=ke.cloneNode(!0),$t(rt,r.ghostClass,!1),$t(rt,r.fallbackClass,!0),$t(rt,r.dragClass,!0),Ve(rt,"transition",""),Ve(rt,"transform",""),Ve(rt,"box-sizing","border-box"),Ve(rt,"margin",0),Ve(rt,"top",n.top),Ve(rt,"left",n.left),Ve(rt,"width",n.width),Ve(rt,"height",n.height),Ve(rt,"opacity","0.8"),Ve(rt,"position",wa?"absolute":"fixed"),Ve(rt,"zIndex","100000"),Ve(rt,"pointerEvents","none"),Xe.ghost=rt,t.appendChild(rt),Ve(rt,"transform-origin",oh/parseInt(rt.style.width)*100+"% "+ih/parseInt(rt.style.height)*100+"%")}},_onDragStart:function(t,n){var r=this,s=t.dataTransfer,o=r.options;if(yn("dragStart",this,{evt:t}),Xe.eventCanceled){this._onDrop();return}yn("setupClone",this),Xe.eventCanceled||(Ft=Tm(ke),Ft.draggable=!1,Ft.style["will-change"]="",this._hideClone(),$t(Ft,this.options.chosenClass,!1),Xe.clone=Ft),r.cloneId=pl(function(){yn("clone",r),!Xe.eventCanceled&&(r.options.removeCloneOnHide||St.insertBefore(Ft,ke),r._hideClone(),dn({sortable:r,name:"clone"}))}),!n&&$t(ke,o.dragClass,!0),n?(Fl=!0,r._loopId=setInterval(r._emulateDragOver,50)):(ot(document,"mouseup",r._onDrop),ot(document,"touchend",r._onDrop),ot(document,"touchcancel",r._onDrop),s&&(s.effectAllowed="move",o.setData&&o.setData.call(r,s,ke)),lt(document,"drop",r),Ve(ke,"transform","translateZ(0)")),no=!0,r._dragStartId=pl(r._dragStarted.bind(r,n,t)),lt(document,"selectstart",r),ni=!0,vi&&Ve(document.body,"user-select","none")},_onDragOver:function(t){var n=this.el,r=t.target,s,o,i,a=this.options,l=a.group,c=Xe.active,d=va===l,f=a.sort,m=Xt||c,p,h=this,_=!1;if(cd)return;function g(ge,Le){yn(ge,h,yr({evt:t,isOwner:d,axis:p?"vertical":"horizontal",revert:i,dragRect:s,targetRect:o,canSort:f,fromSortable:m,target:r,completed:w,onMove:function(he,J){return Ca(St,n,ke,s,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!==Xe.active?Xt=h:h===Xe.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)&&(Gs=null),!a.dragoverBubble&&!t.rootEl&&r!==document&&(ke.parentNode[rn]._isOutsideThisEl(t.target),!ge&&ps(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"),Xe.eventCanceled)return _;if(ke.contains(t.target)||r.animated&&r.animatingX&&r.animatingY||h._ignoreWhileAnimating===r)return w(!1);if(Fl=!1,c&&!a.disabled&&(d?f||(i=Dt!==St):Xt===this||(this.lastPutMode=va.checkPull(this,c,ke,t))&&l.checkPut(this,c,ke,t))){if(p=this._getDirection(t,r)==="vertical",s=Et(ke),g("dragOverValid"),Xe.eventCanceled)return _;if(i)return Dt=St,b(),this._hideClone(),g("revert"),Xe.eventCanceled||(ys?St.insertBefore(ke,ys):St.appendChild(ke)),w(!0);var z=Am(n,a.draggable);if(!z||N$(t,p,this)&&!z.animated){if(z===ke)return w(!1);if(z&&n===t.target&&(r=z),r&&(o=Et(r)),Ca(St,n,ke,s,r,o,t,!!r)!==!1)return b(),n.appendChild(ke),Dt=n,x(),w(!0)}else if(z&&R$(t,p,this)){var E=So(n,0,a,!0);if(E===ke)return w(!1);if(r=E,o=Et(r),Ca(St,n,ke,s,r,o,t,!1)!==!1)return b(),n.insertBefore(ke,E),Dt=n,x(),w(!0)}else if(r.parentNode===n){o=Et(r);var T=0,j,F=ke.parentNode!==n,A=!D$(ke.animated&&ke.toRect||s,r.animated&&r.toRect||o,p),M=p?"top":"left",W=nh(r,"top","top")||nh(ke,"top","top"),R=W?W.scrollTop:void 0;Gs!==r&&(j=o[M],zi=!1,ba=!A&&a.invertSwap||F),T=j$(t,r,o,p,A?1:a.swapThreshold,a.invertedSwapThreshold==null?a.swapThreshold:a.invertedSwapThreshold,ba,Gs===r);var q;if(T!==0){var B=Lt(ke);do B-=T,q=Dt.children[B];while(q&&(Ve(q,"display")==="none"||q===rt))}if(T===0||q===r)return w(!1);Gs=r,Ci=T;var oe=r.nextElementSibling,X=!1;X=T===1;var ue=Ca(St,n,ke,s,r,o,t,X);if(ue!==!1)return(ue===1||ue===-1)&&(X=ue===1),cd=!0,setTimeout(L$,30),b(),X&&!oe?n.appendChild(ke):r.parentNode.insertBefore(ke,X?oe:r),W&&rv(W,0,R-W.scrollTop),Dt=ke.parentNode,j!==void 0&&!ba&&(fl=Math.abs(j-Et(r)[M])),x(),w(!0)}if(n.contains(ke))return w(!1)}return!1},_ignoreWhileAnimating:null,_offMoveEvents:function(){ot(document,"mousemove",this._onTouchMove),ot(document,"touchmove",this._onTouchMove),ot(document,"pointermove",this._onTouchMove),ot(document,"dragover",ps),ot(document,"mousemove",ps),ot(document,"touchmove",ps)},_offUpEvents:function(){var t=this.el.ownerDocument;ot(t,"mouseup",this._onDrop),ot(t,"touchend",this._onDrop),ot(t,"pointerup",this._onDrop),ot(t,"touchcancel",this._onDrop),ot(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),Xe.eventCanceled){this._nulling();return}no=!1,ba=!1,zi=!1,clearInterval(this._loopId),clearTimeout(this._dragStartTimer),dd(this.cloneId),dd(this._dragStartId),this.nativeDraggable&&(ot(document,"drop",this),ot(n,"dragstart",this._onDragStart)),this._offMoveEvents(),this._offUpEvents(),vi&&Ve(document.body,"user-select",""),Ve(ke,"transform",""),t&&(ni&&(t.cancelable&&t.preventDefault(),!r.dropBubble&&t.stopPropagation()),rt&&rt.parentNode&&rt.parentNode.removeChild(rt),(St===Dt||Xt&&Xt.lastPutMode!=="clone")&&Ft&&Ft.parentNode&&Ft.parentNode.removeChild(Ft),ke&&(this.nativeDraggable&&ot(ke,"dragend",this),uc(ke),ke.style["will-change"]="",ni&&!no&&$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!==oo&&Tn>=0&&(dn({sortable:this,name:"update",toEl:Dt,originalEvent:t}),dn({sortable:this,name:"sort",toEl:Dt,originalEvent:t})),Xe.active&&((Tn==null||Tn===-1)&&(Tn=oo,Gr=wi),dn({sortable:this,name:"end",toEl:Dt,originalEvent:t}),this.save()))),this._nulling()},_nulling:function(){yn("nulling",this),St=ke=Dt=rt=ys=Ft=ml=Zr=fs=Jn=ni=Tn=Gr=oo=wi=Gs=Ci=Xt=va=Xe.dragged=Xe.ghost=Xe.clone=Xe.active=null,Ml.forEach(function(t){t.checked=!0}),Ml.length=ic=ac=0},handleEvent:function(t){switch(t.type){case"drop":case"dragend":this._onDrop(t);break;case"dragenter":case"dragover":ke&&(this._onDragOver(t),M$(t));break;case"selectstart":t.preventDefault();break}},toArray:function(){for(var t=[],n,r=this.el.children,s=0,o=r.length,i=this.options;s<o;s++)n=r[s],tr(n,i.draggable,this.el,!1)&&t.push(n.getAttribute(i.dataIdAttr)||B$(n));return t},sort:function(t,n){var r={},s=this.el;this.toArray().forEach(function(o,i){var a=s.children[i];tr(a,this.options.draggable,s,!1)&&(r[o]=a)},this),n&&this.captureAnimationState(),t.forEach(function(o){r[o]&&(s.removeChild(r[o]),s.appendChild(r[o]))}),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 s=Zi.modifyOption(this,t,n);typeof s!="undefined"?r[t]=s:r[t]=n,t==="group"&&iv(r)},destroy:function(){yn("destroy",this);var t=this.el;t[rn]=null,ot(t,"mousedown",this._onTapStart),ot(t,"touchstart",this._onTapStart),ot(t,"pointerdown",this._onTapStart),this.nativeDraggable&&(ot(t,"dragover",this),ot(t,"dragenter",this)),Array.prototype.forEach.call(t.querySelectorAll("[draggable]"),function(n){n.removeAttribute("draggable")}),this._onDrop(),this._disableDelayedDragEvents(),Il.splice(Il.indexOf(this.el),1),this.el=t=null},_hideClone:function(){if(!Zr){if(yn("hideClone",this),Xe.eventCanceled)return;Ve(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),Xe.eventCanceled)return;ke.parentNode==St&&!this.options.group.revertClone?St.insertBefore(Ft,ke):ys?St.insertBefore(Ft,ys):St.appendChild(Ft),this.options.group.revertClone&&this.animate(ke,Ft),Ve(Ft,"display",""),Zr=!1}}};function M$(e){e.dataTransfer&&(e.dataTransfer.dropEffect="move"),e.cancelable&&e.preventDefault()}function Ca(e,t,n,r,s,o,i,a){var l,c=e[rn],d=c.options.onMove,f;return window.CustomEvent&&!Dr&&!Ki?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=s||t,l.relatedRect=o||Et(t),l.willInsertAfter=a,l.originalEvent=i,e.dispatchEvent(l),d&&(f=d.call(c,l,i)),f}function uc(e){e.draggable=!1}function L$(){cd=!1}function R$(e,t,n){var r=Et(So(n.el,0,n.options,!0)),s=10;return t?e.clientX<r.left-s||e.clientY<r.top&&e.clientX<r.right:e.clientY<r.top-s||e.clientY<r.bottom&&e.clientX<r.left}function N$(e,t,n){var r=Et(Am(n.el,n.options.draggable)),s=10;return t?e.clientX>r.right+s||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+s}function j$(e,t,n,r,s,o,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&&fl<c*s){if(!zi&&(Ci===1?l>d+c*o/2:l<f-c*o/2)&&(zi=!0),zi)m=!0;else if(Ci===1?l<d+fl:l>f-fl)return-Ci}else if(l>d+c*(1-s)/2&&l<f-c*(1-s)/2)return V$(t)}return m=m||i,m&&(l<d+c*o/2||l>f-c*o/2)?l>d+c/2?1:-1:0}function V$(e){return Lt(ke)<Lt(e)?1:-1}function B$(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 H$(e){Ml.length=0;for(var t=e.getElementsByTagName("input"),n=t.length;n--;){var r=t[n];r.checked&&Ml.push(r)}}function pl(e){return setTimeout(e,0)}function dd(e){return clearTimeout(e)}vu&<(document,"touchmove",function(e){(Xe.active||no)&&e.cancelable&&e.preventDefault()});Xe.utils={on:lt,off:ot,css:Ve,find:tv,is:function(t,n){return!!tr(t,n,t,!1)},extend:S$,throttle:nv,closest:tr,toggleClass:$t,clone:Tm,index:Lt,nextTick:pl,cancelNextTick:dd,detectDirection:ov,getChild:So};Xe.get=function(e){return e[rn]};Xe.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&&(Xe.utils=yr(yr({},Xe.utils),r.utils)),Zi.mount(r)})};Xe.create=function(e,t){return new Xe(e,t)};Xe.version=C$;var Ht=[],ri,md,fd=!1,cc,dc,Ll,si;function U$(){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?ot(document,"dragover",this._handleAutoScroll):(ot(document,"pointermove",this._handleFallbackAutoScroll),ot(document,"touchmove",this._handleFallbackAutoScroll),ot(document,"mousemove",this._handleFallbackAutoScroll)),lh(),hl(),E$()},nulling:function(){Ll=md=ri=fd=si=cc=dc=null,Ht.length=0},_handleFallbackAutoScroll:function(n){this._handleAutoScroll(n,!0)},_handleAutoScroll:function(n,r){var s=this,o=(n.touches?n.touches[0]:n).clientX,i=(n.touches?n.touches[0]:n).clientY,a=document.elementFromPoint(o,i);if(Ll=n,r||this.options.forceAutoScrollFallback||Ki||Dr||vi){mc(n,this.options,a,r);var l=Jr(a,!0);fd&&(!si||o!==cc||i!==dc)&&(si&&lh(),si=setInterval(function(){var c=Jr(document.elementFromPoint(o,i),!0);c!==l&&(l=c,hl()),mc(n,s.options,c,r)},10),cc=o,dc=i)}else{if(!this.options.bubbleScroll||Jr(a,!0)===_r()){hl();return}mc(n,this.options,Jr(a,!1),!1)}}},Gn(e,{pluginName:"scroll",initializeByDefault:!0})}function hl(){Ht.forEach(function(e){clearInterval(e.pid)}),Ht=[]}function lh(){clearInterval(si)}var mc=nv(function(e,t,n,r){if(!!t.scroll){var s=(e.touches?e.touches[0]:e).clientX,o=(e.touches?e.touches[0]:e).clientY,i=t.scrollSensitivity,a=t.scrollSpeed,l=_r(),c=!1,d;md!==n&&(md=n,hl(),ri=t.scroll,d=t.scrollFn,ri===!0&&(ri=Jr(n,!0)));var f=0,m=ri;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,j=p.scrollWidth,F=p.scrollHeight,A=Ve(p),M=p.scrollLeft,W=p.scrollTop;p===l?(E=x<j&&(A.overflowX==="auto"||A.overflowX==="scroll"||A.overflowX==="visible"),T=z<F&&(A.overflowY==="auto"||A.overflowY==="scroll"||A.overflowY==="visible")):(E=x<j&&(A.overflowX==="auto"||A.overflowX==="scroll"),T=z<F&&(A.overflowY==="auto"||A.overflowY==="scroll"));var R=E&&(Math.abs(w-s)<=i&&M+x<j)-(Math.abs(b-s)<=i&&!!M),q=T&&(Math.abs(g-o)<=i&&W+z<F)-(Math.abs(_-o)<=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&&Xe.active._onTouchMove(Ll);var oe=Ht[this.layer].vy?Ht[this.layer].vy*a:0,X=Ht[this.layer].vx?Ht[this.layer].vx*a:0;typeof d=="function"&&d.call(Xe.dragged.parentNode[rn],X,oe,e,Ll,Ht[this.layer].el)!=="continue"||rv(Ht[this.layer].el,X,oe)}.bind({layer:f}),24))),f++}while(t.bubbleScroll&&m!==l&&(m=Jr(m,!1)));fd=c}},30),uv=function(t){var n=t.originalEvent,r=t.putSortable,s=t.dragEl,o=t.activeSortable,i=t.dispatchSortableEvent,a=t.hideGhostForTarget,l=t.unhideGhostForTarget;if(!!n){var c=r||o;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:s,putSortable:r}))}};function Om(){}Om.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 s=So(this.sortable.el,this.startIndex,this.options);s?this.sortable.el.insertBefore(n,s):this.sortable.el.appendChild(n),this.sortable.animateAll(),r&&r.animateAll()},drop:uv};Gn(Om,{pluginName:"revertOnSpill"});function Pm(){}Pm.prototype={onSpill:function(t){var n=t.dragEl,r=t.putSortable,s=r||this.sortable;s.captureAnimationState(),n.parentNode&&n.parentNode.removeChild(n),s.animateAll()},drop:uv};Gn(Pm,{pluginName:"removeOnSpill"});var Bn;function q$(){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,s=n.target,o=n.onMove,i=n.activeSortable,a=n.changed,l=n.cancel;if(!!i.options.swap){var c=this.sortable.el,d=this.options;if(s&&s!==c){var f=Bn;o(s)!==!1?($t(s,d.swapClass,!0),Bn=s):Bn=null,f&&f!==Bn&&$t(f,d.swapClass,!1)}a(),r(!0),l()}},drop:function(n){var r=n.activeSortable,s=n.putSortable,o=n.dragEl,i=s||this.sortable,a=this.options;Bn&&$t(Bn,a.swapClass,!1),Bn&&(a.swap||s&&s.options.swap)&&o!==Bn&&(i.captureAnimationState(),i!==r&&r.captureAnimationState(),W$(o,Bn),i.animateAll(),i!==r&&r.animateAll())},nulling:function(){Bn=null}},Gn(e,{pluginName:"swap",eventProperties:function(){return{swapItem:Bn}}})}function W$(e,t){var n=e.parentNode,r=t.parentNode,s,o;!n||!r||n.isEqualNode(t)||r.isEqualNode(e)||(s=Lt(e),o=Lt(t),n.isEqualNode(r)&&s<o&&o++,n.insertBefore(t,n.children[s]),r.insertBefore(e,r.children[o]))}var nt=[],An=[],Ho,Xn,Uo=!1,vn=!1,Ks=!1,zt,qo,za;function G$(){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(s,o){var i="";nt.length&&Xn===t?nt.forEach(function(a,l){i+=(l?", ":"")+a.textContent}):i=o.textContent,s.setData("Text",i)}}}return e.prototype={multiDragKeyDown:!1,isMultiDrag:!1,delayStartGlobal:function(n){var r=n.dragEl;zt=r},delayEnded:function(){this.isMultiDrag=~nt.indexOf(zt)},setupClone:function(n){var r=n.sortable,s=n.cancel;if(!!this.isMultiDrag){for(var o=0;o<nt.length;o++)An.push(Tm(nt[o])),An[o].sortableIndex=nt[o].sortableIndex,An[o].draggable=!1,An[o].style["will-change"]="",$t(An[o],this.options.selectedClass,!1),nt[o]===zt&&$t(An[o],this.options.chosenClass,!1);r._hideClone(),s()}},clone:function(n){var r=n.sortable,s=n.rootEl,o=n.dispatchSortableEvent,i=n.cancel;!this.isMultiDrag||this.options.removeCloneOnHide||nt.length&&Xn===r&&(uh(!0,s),o("clone"),i())},showClone:function(n){var r=n.cloneNowShown,s=n.rootEl,o=n.cancel;!this.isMultiDrag||(uh(!1,s),An.forEach(function(i){Ve(i,"display","")}),r(),za=!1,o())},hideClone:function(n){var r=this;n.sortable;var s=n.cloneNowHidden,o=n.cancel;!this.isMultiDrag||(An.forEach(function(i){Ve(i,"display","none"),r.options.removeCloneOnHide&&i.parentNode&&i.parentNode.removeChild(i)}),s(),za=!0,o())},dragStartGlobal:function(n){n.sortable,!this.isMultiDrag&&Xn&&Xn.multiDrag._deselectMultiDrag(),nt.forEach(function(r){r.sortableIndex=Lt(r)}),nt=nt.sort(function(r,s){return r.sortableIndex-s.sortableIndex}),Ks=!0},dragStarted:function(n){var r=this,s=n.sortable;if(!!this.isMultiDrag){if(this.options.sort&&(s.captureAnimationState(),this.options.animation)){nt.forEach(function(i){i!==zt&&Ve(i,"position","absolute")});var o=Et(zt,!1,!0,!0);nt.forEach(function(i){i!==zt&&sh(i,o)}),vn=!0,Uo=!0}s.animateAll(function(){vn=!1,Uo=!1,r.options.animation&&nt.forEach(function(i){sc(i)}),r.options.sort&&xa()})}},dragOver:function(n){var r=n.target,s=n.completed,o=n.cancel;vn&&~nt.indexOf(r)&&(s(!1),o())},revert:function(n){var r=n.fromSortable,s=n.rootEl,o=n.sortable,i=n.dragRect;nt.length>1&&(nt.forEach(function(a){o.addAnimationState({target:a,rect:vn?Et(a):i}),sc(a),a.fromRect=i,r.removeAnimationState(a)}),vn=!1,K$(!this.options.removeCloneOnHide,s))},dragOverCompleted:function(n){var r=n.sortable,s=n.isOwner,o=n.insertion,i=n.activeSortable,a=n.parentEl,l=n.putSortable,c=this.options;if(o){if(s&&i._hideClone(),Uo=!1,c.animation&&nt.length>1&&(vn||!s&&!i.options.sort&&!l)){var d=Et(zt,!1,!0,!0);nt.forEach(function(m){m!==zt&&(sh(m,d),a.appendChild(m))}),vn=!0}if(!s)if(vn||xa(),nt.length>1){var f=za;i._showClone(r),i.options.animation&&!za&&f&&An.forEach(function(m){i.addAnimationState({target:m,rect:qo}),m.fromRect=qo,m.thisAnimationDuration=null})}else i._showClone(r)}},dragOverAnimationCapture:function(n){var r=n.dragRect,s=n.isOwner,o=n.activeSortable;if(nt.forEach(function(a){a.thisAnimationDuration=null}),o.options.animation&&!s&&o.multiDrag.isMultiDrag){qo=Gn({},r);var i=Ss(zt,!0);qo.top-=i.f,qo.left-=i.e}},dragOverAnimationComplete:function(){vn&&(vn=!1,xa())},drop:function(n){var r=n.originalEvent,s=n.rootEl,o=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=o.children;if(!Ks)if(f.multiDragKey&&!this.multiDragKeyDown&&this._deselectMultiDrag(),$t(zt,f.selectedClass,!~nt.indexOf(zt)),~nt.indexOf(zt))nt.splice(nt.indexOf(zt),1),Ho=null,ti({sortable:i,rootEl:s,name:"deselect",targetEl:zt,originalEvt:r});else{if(nt.push(zt),ti({sortable:i,rootEl:s,name:"select",targetEl:zt,originalEvt:r}),r.shiftKey&&Ho&&i.el.contains(Ho)){var p=Lt(Ho),h=Lt(zt);if(~p&&~h&&p!==h){var _,g;for(h>p?(g=p,_=h):(g=h,_=p+1);g<_;g++)~nt.indexOf(m[g])||($t(m[g],f.selectedClass,!0),nt.push(m[g]),ti({sortable:i,rootEl:s,name:"select",targetEl:m[g],originalEvt:r}))}}else Ho=zt;Xn=d}if(Ks&&this.isMultiDrag){if(vn=!1,(o[rn].options.sort||o!==s)&&nt.length>1){var b=Et(zt),w=Lt(zt,":not(."+this.options.selectedClass+")");if(!Uo&&f.animation&&(zt.thisAnimationDuration=null),d.captureAnimationState(),!Uo&&(f.animation&&(zt.fromRect=b,nt.forEach(function(z){if(z.thisAnimationDuration=null,z!==zt){var E=vn?Et(z):b;z.fromRect=E,d.addAnimationState({target:z,rect:E})}})),xa(),nt.forEach(function(z){m[w]?o.insertBefore(z,m[w]):o.appendChild(z),w++}),l===Lt(zt))){var x=!1;nt.forEach(function(z){if(z.sortableIndex!==Lt(z)){x=!0;return}}),x&&a("update")}nt.forEach(function(z){sc(z)}),d.animateAll()}Xn=d}(s===o||c&&c.lastPutMode!=="clone")&&An.forEach(function(z){z.parentNode&&z.parentNode.removeChild(z)})}},nullingGlobal:function(){this.isMultiDrag=Ks=!1,An.length=0},destroyGlobal:function(){this._deselectMultiDrag(),ot(document,"pointerup",this._deselectMultiDrag),ot(document,"mouseup",this._deselectMultiDrag),ot(document,"touchend",this._deselectMultiDrag),ot(document,"keydown",this._checkKeyDown),ot(document,"keyup",this._checkKeyUp)},_deselectMultiDrag:function(n){if(!(typeof Ks!="undefined"&&Ks)&&Xn===this.sortable&&!(n&&tr(n.target,this.options.draggable,this.sortable.el,!1))&&!(n&&n.button!==0))for(;nt.length;){var r=nt[0];$t(r,this.options.selectedClass,!1),nt.shift(),ti({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||~nt.indexOf(n)||(Xn&&Xn!==r&&(Xn.multiDrag._deselectMultiDrag(),Xn=r),$t(n,r.options.selectedClass,!0),nt.push(n))},deselect:function(n){var r=n.parentNode[rn],s=nt.indexOf(n);!r||!r.options.multiDrag||!~s||($t(n,r.options.selectedClass,!1),nt.splice(s,1))}},eventProperties:function(){var n=this,r=[],s=[];return nt.forEach(function(o){r.push({multiDragElement:o,index:o.sortableIndex});var i;vn&&o!==zt?i=-1:vn?i=Lt(o,":not(."+n.options.selectedClass+")"):i=Lt(o),s.push({multiDragElement:o,index:i})}),{items:g$(nt),clones:[].concat(An),oldIndicies:r,newIndicies:s}},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 K$(e,t){nt.forEach(function(n,r){var s=t.children[n.sortableIndex+(e?Number(r):0)];s?t.insertBefore(n,s):t.appendChild(n)})}function uh(e,t){An.forEach(function(n,r){var s=t.children[n.sortableIndex+(e?Number(r):0)];s?t.insertBefore(n,s):t.appendChild(n)})}function xa(){nt.forEach(function(e){e!==zt&&e.parentNode&&e.parentNode.removeChild(e)})}Xe.mount(new U$);Xe.mount(Pm,Om);var Z$=Object.freeze(Object.defineProperty({__proto__:null,default:Xe,MultiDrag:G$,Sortable:Xe,Swap:q$},Symbol.toStringTag,{value:"Module"})),Y$=Py(Z$);(function(e,t){(function(r,s){e.exports=s($m,Y$)})(typeof self!="undefined"?self:an,function(n,r){return function(s){var o={};function i(a){if(o[a])return o[a].exports;var l=o[a]={i:a,l:!1,exports:{}};return s[a].call(l.exports,l,l.exports,i),l.l=!0,l.exports}return i.m=s,i.c=o,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(s,o,i){var a=i("b622"),l=a("toStringTag"),c={};c[l]="z",s.exports=String(c)==="[object z]"},"0366":function(s,o,i){var a=i("1c0b");s.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(s,o,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()}};s.exports.f=function(p){return d&&c.call(p)=="[object Window]"?f(p):l(a(p))}},"06cf":function(s,o,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;o.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(s,o,i){var a=i("83ab"),l=i("d039"),c=i("cc12");s.exports=!a&&!l(function(){return Object.defineProperty(c("div"),"a",{get:function(){return 7}}).a!=7})},"13d5":function(s,o,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(s,o,i){var a=i("c6b6"),l=i("9263");s.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(s,o,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(s,o,i){var a=i("b727").forEach,l=i("a640"),c=i("ae40"),d=l("forEach"),f=c("forEach");s.exports=!d||!f?function(p){return a(this,p,arguments.length>1?arguments[1]:void 0)}:[].forEach},"1be4":function(s,o,i){var a=i("d066");s.exports=a("document","documentElement")},"1c0b":function(s,o){s.exports=function(i){if(typeof i!="function")throw TypeError(String(i)+" is not a function");return i}},"1c7e":function(s,o,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{}s.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(s,o){s.exports=function(i){if(i==null)throw TypeError("Can't call method on "+i);return i}},"1dde":function(s,o,i){var a=i("d039"),l=i("b622"),c=i("2d00"),d=l("species");s.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(s,o,i){var a=i("a691"),l=Math.max,c=Math.min;s.exports=function(d,f){var m=a(d);return m<0?l(m+f,0):c(m,f)}},"23e7":function(s,o,i){var a=i("da84"),l=i("06cf").f,c=i("9112"),d=i("6eeb"),f=i("ce4e"),m=i("e893"),p=i("94ca");s.exports=function(h,_){var g=h.target,b=h.global,w=h.stat,x,z,E,T,j,F;if(b?z=a:w?z=a[g]||f(g,{}):z=(a[g]||{}).prototype,z)for(E in _){if(j=_[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 j==typeof T)continue;m(j,T)}(h.sham||T&&T.sham)&&c(j,"sham",!0),d(z,E,j,h)}}},"241c":function(s,o,i){var a=i("ca84"),l=i("7839"),c=l.concat("length","prototype");o.f=Object.getOwnPropertyNames||function(f){return a(f,c)}},"25f0":function(s,o,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(s,o,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(s,o,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]))),s.exports=p&&+p},"342f":function(s,o,i){var a=i("d066");s.exports=a("navigator","userAgent")||""},"35a1":function(s,o,i){var a=i("f5df"),l=i("3f8c"),c=i("b622"),d=c("iterator");s.exports=function(f){if(f!=null)return f[d]||f["@@iterator"]||l[a(f)]}},"37e8":function(s,o,i){var a=i("83ab"),l=i("9bf2"),c=i("825a"),d=i("df75");s.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(s,o,i){var a=i("861d");s.exports=function(l){if(!a(l)&&l!==null)throw TypeError("Can't set "+String(l)+" as a prototype");return l}},"3ca3":function(s,o,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(s,o){s.exports={}},"4160":function(s,o,i){var a=i("23e7"),l=i("17c2");a({target:"Array",proto:!0,forced:[].forEach!=l},{forEach:l})},"428f":function(s,o,i){var a=i("da84");s.exports=a},"44ad":function(s,o,i){var a=i("d039"),l=i("c6b6"),c="".split;s.exports=a(function(){return!Object("z").propertyIsEnumerable(0)})?function(d){return l(d)=="String"?c.call(d,""):Object(d)}:Object},"44d2":function(s,o,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)}),s.exports=function(m){f[d][m]=!0}},"44e7":function(s,o,i){var a=i("861d"),l=i("c6b6"),c=i("b622"),d=c("match");s.exports=function(f){var m;return a(f)&&((m=f[d])!==void 0?!!m:l(f)=="RegExp")}},"4930":function(s,o,i){var a=i("d039");s.exports=!!Object.getOwnPropertySymbols&&!a(function(){return!String(Symbol())})},"4d64":function(s,o,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}};s.exports={includes:d(!0),indexOf:d(!1)}},"4de4":function(s,o,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(s,o,i){var a=i("0366"),l=i("7b0b"),c=i("9bdd"),d=i("e95a"),f=i("50c4"),m=i("8418"),p=i("35a1");s.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,j,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(j=f(g.length),F=new b(j);j>T;T++)R=z?x(g[T],T):g[T],m(F,T,R);return F.length=T,F}},"4fad":function(s,o,i){var a=i("23e7"),l=i("6f53").entries;a({target:"Object",stat:!0},{entries:function(d){return l(d)}})},"50c4":function(s,o,i){var a=i("a691"),l=Math.min;s.exports=function(c){return c>0?l(a(c),9007199254740991):0}},"5135":function(s,o){var i={}.hasOwnProperty;s.exports=function(a,l){return i.call(a,l)}},"5319":function(s,o,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,j,F){var A=F.REGEXP_REPLACE_SUBSTITUTES_UNDEFINED_CAPTURE,M=F.REPLACE_KEEPS_$0,W=A?"$":"$0";return[function(B,oe){var X=m(this),ue=B==null?void 0:B[E];return ue!==void 0?ue.call(B,X,oe):T.call(String(X),B,oe)},function(q,B){if(!A&&M||typeof B=="string"&&B.indexOf(W)===-1){var oe=j(T,q,this,B);if(oe.done)return oe.value}var X=l(q),ue=String(this),ge=typeof B=="function";ge||(B=String(B));var Le=X.global;if(Le){var Be=X.unicode;X.lastIndex=0}for(var he=[];;){var J=h(X,ue);if(J===null||(he.push(J),!Le))break;var me=String(J[0]);me===""&&(X.lastIndex=p(ue,d(X.lastIndex),Be))}for(var we="",H=0,ie=0;ie<he.length;ie++){J=he[ie];for(var se=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=[se].concat(je,be,ue);Ee!==void 0&&Ae.push(Ee);var $=String(B.apply(void 0,Ae))}else $=R(se,ue,be,je,Ee,B);be>=H&&(we+=ue.slice(H,be)+$,H=be+se.length)}return we+ue.slice(H)}];function R(q,B,oe,X,ue,ge){var Le=oe+q.length,Be=X.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,oe);case"'":return B.slice(Le);case"<":we=ue[me.slice(1,-1)];break;default:var H=+me;if(H===0)return J;if(H>Be){var ie=b(H/10);return ie===0?J:ie<=Be?X[ie-1]===void 0?me.charAt(1):X[ie-1]+me.charAt(1):J}we=X[H-1]}return we===void 0?"":we})}})},"5692":function(s,o,i){var a=i("c430"),l=i("c6cd");(s.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(s,o,i){var a=i("d066"),l=i("241c"),c=i("7418"),d=i("825a");s.exports=a("Reflect","ownKeys")||function(m){var p=l.f(d(m)),h=c.f;return h?p.concat(h(m)):p}},"5a34":function(s,o,i){var a=i("44e7");s.exports=function(l){if(a(l))throw TypeError("The method doesn't accept regular expressions");return l}},"5c6c":function(s,o){s.exports=function(i,a){return{enumerable:!(i&1),configurable:!(i&2),writable:!(i&4),value:a}}},"5db7":function(s,o,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(s,o,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)}};s.exports={codeAt:c(!1),charAt:c(!0)}},"65f0":function(s,o,i){var a=i("861d"),l=i("e8b5"),c=i("b622"),d=c("species");s.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(s,o,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,j=z.set;_=function(A,M){return j.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)}}s.exports={set:_,get:g,has:b,enforce:w,getterFor:x}},"6eeb":function(s,o,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");(s.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(s,o,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}};s.exports={entries:f(!0),values:f(!1)}},"73d9":function(s,o,i){var a=i("44d2");a("flatMap")},"7418":function(s,o){o.f=Object.getOwnPropertySymbols},"746f":function(s,o,i){var a=i("428f"),l=i("5135"),c=i("e538"),d=i("9bf2").f;s.exports=function(f){var m=a.Symbol||(a.Symbol={});l(m,f)||d(m,f,{value:c.f(f)})}},"7839":function(s,o){s.exports=["constructor","hasOwnProperty","isPrototypeOf","propertyIsEnumerable","toLocaleString","toString","valueOf"]},"7b0b":function(s,o,i){var a=i("1d80");s.exports=function(l){return Object(a(l))}},"7c73":function(s,o,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},j,F=function(){try{j=document.domain&&new ActiveXObject("htmlfile")}catch{}F=j?E(j):T();for(var A=c.length;A--;)delete F[g][c[A]];return F()};d[w]=!0,s.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(s,o,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",j="entries",F=function(){return this};s.exports=function(A,M,W,R,q,B,oe){l(W,M,R);var X=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 j:return function(){return new W(this,ie)}}return function(){return new W(this)}},ue=M+" Iterator",ge=!1,Le=A.prototype,Be=Le[z]||Le["@@iterator"]||q&&Le[q],he=!x&&Be||X(q),J=M=="Array"&&Le.entries||Be,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&&Be&&Be.name!==T&&(ge=!0,he=function(){return Be.call(this)}),(!_||oe)&&Le[z]!==he&&m(Le,z,he),g[M]=he,q)if(we={values:X(T),keys:B?he:X(E),entries:X(j)},oe)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(s,o,i){var a=i("da84"),l=i("8925"),c=a.WeakMap;s.exports=typeof c=="function"&&/native code/.test(l(c))},"825a":function(s,o,i){var a=i("861d");s.exports=function(l){if(!a(l))throw TypeError(String(l)+" is not an object");return l}},"83ab":function(s,o,i){var a=i("d039");s.exports=!a(function(){return Object.defineProperty({},1,{get:function(){return 7}})[1]!=7})},"8418":function(s,o,i){var a=i("c04e"),l=i("9bf2"),c=i("5c6c");s.exports=function(d,f,m){var p=a(f);p in d?l.f(d,p,c(0,m)):d[p]=m}},"861d":function(s,o){s.exports=function(i){return typeof i=="object"?i!==null:typeof i=="function"}},"8875":function(s,o,i){var a,l,c;(function(d,f){l=[],a=f,c=typeof a=="function"?a.apply(o,l):a,c!==void 0&&(s.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(j){var m=/.*at [^(]*\((.*):(.+):(.+)\)$/ig,p=/@([^@]*):(\d+):(\d+)\s*$/ig,h=m.exec(j.stack)||p.exec(j.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(s,o,i){var a=i("c6cd"),l=Function.toString;typeof a.inspectSource!="function"&&(a.inspectSource=function(c){return l.call(c)}),s.exports=a.inspectSource},"8aa5":function(s,o,i){var a=i("6547").charAt;s.exports=function(l,c,d){return c+(d?a(l,c).length:1)}},"8bbf":function(s,o){s.exports=n},"90e3":function(s,o){var i=0,a=Math.random();s.exports=function(l){return"Symbol("+String(l===void 0?"":l)+")_"+(++i+a).toString(36)}},"9112":function(s,o,i){var a=i("83ab"),l=i("9bf2"),c=i("5c6c");s.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(s,o,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,j=p&&w.sticky,F=a.call(w),A=w.source,M=0,W=b;return j&&(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(j?z:w,W),j?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}),s.exports=f},"94ca":function(s,o,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";s.exports=c},"99af":function(s,o,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"),j=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,oe,X,ue,ge;for(B=-1,X=arguments.length;B<X;B++)if(ge=B===-1?W:arguments[B],j(ge)){if(ue=m(ge.length),q+ue>x)throw TypeError(z);for(oe=0;oe<ue;oe++,q++)oe in ge&&p(R,q,ge[oe])}else{if(q>=x)throw TypeError(z);p(R,q++,ge)}return R.length=q,R}})},"9bdd":function(s,o,i){var a=i("825a");s.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(s,o,i){var a=i("83ab"),l=i("0cfb"),c=i("825a"),d=i("c04e"),f=Object.defineProperty;o.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(s,o,i){var a=i("ae93").IteratorPrototype,l=i("7c73"),c=i("5c6c"),d=i("d44e"),f=i("3f8c"),m=function(){return this};s.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(s,o,i){var a=i("d039");function l(c,d){return RegExp(c,d)}o.UNSUPPORTED_Y=a(function(){var c=l("a","y");return c.lastIndex=2,c.exec("abcd")!=null}),o.BROKEN_CARET=a(function(){var c=l("^r","gy");return c.lastIndex=2,c.exec("str")!=null})},a2bf:function(s,o,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};s.exports=d},a352:function(s,o){s.exports=r},a434:function(s,o,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(j,F){var A=f(this),M=d(A.length),W=l(j,M),R=arguments.length,q,B,oe,X,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(oe=m(A,B),X=0;X<B;X++)ue=W+X,ue in A&&p(oe,X,A[ue]);if(oe.length=B,q<B){for(X=W;X<M-B;X++)ue=X+B,ge=X+q,ue in A?A[ge]=A[ue]:delete A[ge];for(X=M;X>M-B+q;X--)delete A[X-1]}else if(q>B)for(X=M-B;X>W;X--)ue=X+B-1,ge=X+q-1,ue in A?A[ge]=A[ue]:delete A[ge];for(X=0;X<q;X++)A[X+W]=arguments[X+2];return A.length=M-B+q,oe}})},a4d3:function(s,o,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"),j=i("7c73"),F=i("df75"),A=i("241c"),M=i("057f"),W=i("7418"),R=i("06cf"),q=i("9bf2"),B=i("d1e7"),oe=i("9112"),X=i("6eeb"),ue=i("5692"),ge=i("f772"),Le=i("d012"),Be=i("90e3"),he=i("b622"),J=i("e538"),me=i("746f"),we=i("d44e"),H=i("69f3"),ie=i("b727").forEach,se=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"),V=ue("op-symbols"),U=ue("string-to-symbol-registry"),$e=ue("symbol-to-string-registry"),ze=ue("wks"),De=l.QObject,Re=!De||!De[je]||!De[je].findChild,qe=f&&h(function(){return j(ce({},"a",{get:function(){return ce(this,"a",{value:7}).a}})).a!=7})?function(de,te,ae){var Ne=le($,te);Ne&&delete $[te],ce(de,te,ae),Ne&&de!==$&&ce($,te,Ne)}:ce,tt=function(de,te){var ae=pe[de]=j(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,Ne){te===$&&y(V,ae,Ne),w(te);var He=E(ae,!0);return w(Ne),_(pe,He)?(Ne.enumerable?(_(te,se)&&te[se][He]&&(te[se][He]=!1),Ne=j(Ne,{enumerable:T(0,!1)})):(_(te,se)||ce(te,se,T(1,{})),te[se][He]=!0),qe(te,He,Ne)):ce(te,He,Ne)},I=function(te,ae){w(te);var Ne=z(ae),He=F(Ne).concat(Me(Ne));return ie(He,function(ct){(!f||ee.call(Ne,ct))&&y(te,ct,Ne[ct])}),te},K=function(te,ae){return ae===void 0?j(te):I(j(te),ae)},ee=function(te){var ae=E(te,!0),Ne=Ce.call(this,ae);return this===$&&_(pe,ae)&&!_(V,ae)?!1:Ne||!_(this,ae)||!_(pe,ae)||_(this,se)&&this[se][ae]?Ne:!0},fe=function(te,ae){var Ne=z(te),He=E(ae,!0);if(!(Ne===$&&_(pe,He)&&!_(V,He))){var ct=le(Ne,He);return ct&&_(pe,He)&&!(_(Ne,se)&&Ne[se][He])&&(ct.enumerable=!0),ct}},Se=function(te){var ae=ye(z(te)),Ne=[];return ie(ae,function(He){!_(pe,He)&&!_(Le,He)&&Ne.push(He)}),Ne},Me=function(te){var ae=te===$,Ne=ye(ae?V:z(te)),He=[];return ie(Ne,function(ct){_(pe,ct)&&(!ae||_($,ct))&&He.push(pe[ct])}),He};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=Be(te),Ne=function(He){this===$&&Ne.call(V,He),_(this,se)&&_(this[se],ae)&&(this[se][ae]=!1),qe(this,ae,T(1,He))};return f&&Re&&qe($,ae,{configurable:!0,set:Ne}),tt(ae,te)},X(L[je],"toString",function(){return Ae(this).tag}),X(L,"withoutSetter",function(de){return tt(Be(de),de)}),B.f=ee,q.f=y,R.f=fe,A.f=M.f=Se,W.f=Me,J.f=function(de){return tt(he(de),de)},f&&(ce(L[je],"description",{configurable:!0,get:function(){return Ae(this).description}}),d||X($,"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(){Re=!0},useSimple:function(){Re=!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,Ne){for(var He=[te],ct=1,_n;arguments.length>ct;)He.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}),He[1]=ae,Y.apply(null,He)}})}L[je][Ie]||oe(L[je],Ie,L[je].valueOf),we(L,be),Le[se]=!0},a630:function(s,o,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(s,o,i){var a=i("d039");s.exports=function(l,c){var d=[][l];return!!d&&a(function(){d.call(null,c||function(){throw 1},1)})}},a691:function(s,o){var i=Math.ceil,a=Math.floor;s.exports=function(l){return isNaN(l=+l)?0:(l>0?a:i)(l)}},ab13:function(s,o,i){var a=i("b622"),l=a("match");s.exports=function(c){var d=/./;try{"/./"[c](d)}catch{try{return d[l]=!1,"/./"[c](d)}catch{}}return!1}},ac1f:function(s,o,i){var a=i("23e7"),l=i("9263");a({target:"RegExp",proto:!0,forced:/./.exec!==l},{exec:l})},ad6d:function(s,o,i){var a=i("825a");s.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(s,o,i){var a=i("83ab"),l=i("d039"),c=i("5135"),d=Object.defineProperty,f={},m=function(p){throw p};s.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(s,o,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),s.exports={IteratorPrototype:_,BUGGY_SAFARI_ITERATORS:p}},b041:function(s,o,i){var a=i("00ee"),l=i("f5df");s.exports=a?{}.toString:function(){return"[object "+l(this)+"]"}},b0c0:function(s,o,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(s,o,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;s.exports=function(g){return c(p,g)||(f&&c(h,g)?p[g]=h[g]:p[g]=_("Symbol."+g)),p[g]}},b64b:function(s,o,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(s,o,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,j,F){for(var A=c(E),M=l(A),W=a(T,j,3),R=d(M.length),q=0,B=F||f,oe=_?B(E,R):g?B(E,0):void 0,X,ue;R>q;q++)if((z||q in M)&&(X=M[q],ue=W(X,q,A),h)){if(_)oe[q]=ue;else if(ue)switch(h){case 3:return!0;case 5:return X;case 6:return q;case 2:m.call(oe,X)}else if(w)return!1}return x?-1:b||w?w:oe}};s.exports={forEach:p(0),map:p(1),filter:p(2),some:p(3),every:p(4),find:p(5),findIndex:p(6)}},c04e:function(s,o,i){var a=i("861d");s.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(s,o){s.exports=!1},c6b6:function(s,o){var i={}.toString;s.exports=function(a){return i.call(a).slice(8,-1)}},c6cd:function(s,o,i){var a=i("da84"),l=i("ce4e"),c="__core-js_shared__",d=a[c]||l(c,{});s.exports=d},c740:function(s,o,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(s,o){var i;i=function(){return this}();try{i=i||new Function("return this")()}catch{typeof window=="object"&&(i=window)}s.exports=i},c975:function(s,o,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(s,o,i){var a=i("5135"),l=i("fc6a"),c=i("4d64").indexOf,d=i("d012");s.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(s,o,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(s,o,i){var a=i("da84"),l=i("861d"),c=a.document,d=l(c)&&l(c.createElement);s.exports=function(f){return d?c.createElement(f):{}}},ce4e:function(s,o,i){var a=i("da84"),l=i("9112");s.exports=function(c,d){try{l(a,c,d)}catch{a[c]=d}return d}},d012:function(s,o){s.exports={}},d039:function(s,o){s.exports=function(i){try{return!!i()}catch{return!0}}},d066:function(s,o,i){var a=i("428f"),l=i("da84"),c=function(d){return typeof d=="function"?d:void 0};s.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(s,o,i){var a={}.propertyIsEnumerable,l=Object.getOwnPropertyDescriptor,c=l&&!a.call({1:2},1);o.f=c?function(f){var m=l(this,f);return!!m&&m.enumerable}:a},d28b:function(s,o,i){var a=i("746f");a("iterator")},d2bb:function(s,o,i){var a=i("825a"),l=i("3bbe");s.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(s,o,i){var a=i("00ee"),l=i("6eeb"),c=i("b041");a||l(Object.prototype,"toString",c,{unsafe:!0})},d44e:function(s,o,i){var a=i("9bf2").f,l=i("5135"),c=i("b622"),d=c("toStringTag");s.exports=function(f,m,p){f&&!l(f=p?f:f.prototype,d)&&a(f,d,{configurable:!0,value:m})}},d58f:function(s,o,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}};s.exports={left:f(!1),right:f(!0)}},d784:function(s,o,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"});s.exports=function(w,x,z,E){var T=c(w),j=!l(function(){var q={};return q[T]=function(){return 7},""[w](q)!=7}),F=j&&!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(!j||!F||w==="replace"&&!(p&&h&&!g)||w==="split"&&!b){var A=/./[T],M=z(T,""[w],function(q,B,oe,X,ue){return B.exec===d?j&&!ue?{done:!0,value:A.call(B,oe,X)}:{done:!0,value:q.call(oe,B,X)}:{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(s,o,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(s,o,i){(function(a){var l=function(c){return c&&c.Math==Math&&c};s.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(s,o,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(s,o,i){(function(a){i.d(o,"a",function(){return c});function l(){return typeof window!="undefined"?window.console:a.console}var c=l()}).call(this,i("c8ba"))},ddb0:function(s,o,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(s,o,i){var a=i("ca84"),l=i("7839");s.exports=Object.keys||function(d){return a(d,l)}},e01a:function(s,o,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]),j=this instanceof g?new h(T):T===void 0?h():h(T);return T===""&&(_[j]=!0),j};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,j=w.call(T);if(d(_,T))return"";var F=x?j.slice(7,-1):j.replace(z,"$1");return F===""?void 0:F}}),a({global:!0,forced:!0},{Symbol:g})}},e163:function(s,o,i){var a=i("5135"),l=i("7b0b"),c=i("f772"),d=i("e177"),f=c("IE_PROTO"),m=Object.prototype;s.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(s,o,i){var a=i("d039");s.exports=!a(function(){function l(){}return l.prototype.constructor=null,Object.getPrototypeOf(new l)!==l.prototype})},e260:function(s,o,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);s.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(s,o,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(s,o,i){var a=i("b622");o.f=a},e893:function(s,o,i){var a=i("5135"),l=i("56ef"),c=i("06cf"),d=i("9bf2");s.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(s,o,i){var a=i("c6b6");s.exports=Array.isArray||function(c){return a(c)=="Array"}},e95a:function(s,o,i){var a=i("b622"),l=i("3f8c"),c=a("iterator"),d=Array.prototype;s.exports=function(f){return f!==void 0&&(l.Array===f||d[c]===f)}},f5df:function(s,o,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{}};s.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(s,o,i){var a=i("5692"),l=i("90e3"),c=a("keys");s.exports=function(d){return c[d]||(c[d]=l(d))}},fb15:function(s,o,i){if(i.r(o),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 j=i("a352"),F=i.n(j);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 oe=["Start","Add","Remove","Update","End"],X=["Choose","Unchoose","Sort","Filter","Clone"],ue=["Move"],ge=[ue,oe,X].flatMap(function(k){return k}).map(function(k){return"on".concat(k)}),Le={manage:ue,manageAndEmit:oe,emit:X};function Be(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 se(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],!Be(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,Ne){return de({element:ae,index:Ne}).map(function(He){return He.key=K(ae),He.props=m(m({},He.props||{}),{},{"data-draggable":!0}),He})});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 V(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),V.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}},Re=["update:modelValue","change"].concat(T([].concat(T(Le.manageAndEmit),T(Le.emit)).map(function(k){return k.toLowerCase()}))),qe=Object(le.defineComponent)({name:"draggable",inheritAttrs:!1,props:De,emits:Re,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=se({$attrs:I,callBackBuilder:{manageAndEmit:function(re){return $e.call(y,re)},emit:function(re){return V.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}}}),tt=qe;o.default=tt},fb6a:function(s,o,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(j,F){var A=m(this),M=f(A.length),W=d(j,M),R=d(F===void 0?M:F,M),q,B,oe;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)),oe=0;W<R;W++,oe++)W in A&&p(B,oe,A[W]);return B.length=oe,B}})},fc6a:function(s,o,i){var a=i("44ad"),l=i("1d80");s.exports=function(c){return a(l(c))}},fdbc:function(s,o){s.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(s,o,i){var a=i("4930");s.exports=a&&!Symbol.sham&&typeof Symbol.iterator=="symbol"}}).default})})(Xy);var J$=Oy(Xy.exports);const X$={name:"PageQueue",components:{ContentWithHeading:pt,ListItemQueueItem:SS,draggable:J$,ModalDialogQueueItem:Jy,ModalDialogAddUrlStream:WE,ModalDialogPlaylistSave:f$},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(yy,!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)}}},Q$=["textContent"],e8=["textContent"],t8={class:"buttons is-centered"},n8={class:"icon"},r8=["textContent"],s8={class:"icon"},o8=["textContent"],i8={class:"icon"},a8=["textContent"],l8={class:"icon"},u8=["textContent"],c8=["disabled"],d8={class:"icon"},m8=["textContent"],f8=["onClick"],p8={class:"icon has-text-dark"},h8=["onClick"],_8={class:"icon has-text-grey"};function g8(e,t,n,r,s,o){const i=P("mdicon"),a=P("list-item-queue-item"),l=P("draggable"),c=P("modal-dialog-queue-item"),d=P("modal-dialog-add-url-stream"),f=P("modal-dialog-playlist-save"),m=P("content-with-heading");return S(),xe(m,null,{"heading-left":O(()=>[u("p",{class:"title is-4",textContent:v(e.$t("page.queue.title"))},null,8,Q$),u("p",{class:"heading",textContent:v(e.$t("page.queue.count",{count:o.queue.count}))},null,8,e8)]),"heading-right":O(()=>[u("div",t8,[u("a",{class:Ze(["button is-small",{"is-info":o.show_only_next_items}]),onClick:t[0]||(t[0]=(...p)=>o.update_show_next_items&&o.update_show_next_items(...p))},[u("span",n8,[C(i,{name:"arrow-collapse-down",size:"16"})]),u("span",{textContent:v(e.$t("page.queue.hide-previous"))},null,8,r8)],2),u("a",{class:"button is-small",onClick:t[1]||(t[1]=(...p)=>o.open_add_stream_dialog&&o.open_add_stream_dialog(...p))},[u("span",s8,[C(i,{name:"web",size:"16"})]),u("span",{textContent:v(e.$t("page.queue.add-stream"))},null,8,o8)]),u("a",{class:Ze(["button is-small",{"is-info":s.edit_mode}]),onClick:t[2]||(t[2]=p=>s.edit_mode=!s.edit_mode)},[u("span",i8,[C(i,{name:"pencil",size:"16"})]),u("span",{textContent:v(e.$t("page.queue.edit"))},null,8,a8)],2),u("a",{class:"button is-small",onClick:t[3]||(t[3]=(...p)=>o.queue_clear&&o.queue_clear(...p))},[u("span",l8,[C(i,{name:"delete-empty",size:"16"})]),u("span",{textContent:v(e.$t("page.queue.clear"))},null,8,u8)]),o.is_queue_save_allowed?(S(),D("a",{key:0,class:"button is-small",disabled:o.queue_items.length===0,onClick:t[4]||(t[4]=(...p)=>o.save_dialog&&o.save_dialog(...p))},[u("span",d8,[C(i,{name:"content-save",size:"16"})]),u("span",{textContent:v(e.$t("page.queue.save"))},null,8,m8)],8,c8)):Q("",!0)])]),content:O(()=>[C(l,{modelValue:o.queue_items,"onUpdate:modelValue":t[5]||(t[5]=p=>o.queue_items=p),handle:".handle","item-key":"id",onEnd:o.move_item},{item:O(({element:p,index:h})=>[C(a,{item:p,position:h,current_position:o.current_position,show_only_next_items:o.show_only_next_items,edit_mode:s.edit_mode},{actions:O(()=>[s.edit_mode?Q("",!0):(S(),D("a",{key:0,onClick:_t(_=>o.open_dialog(p),["prevent","stop"])},[u("span",p8,[C(i,{name:"dots-vertical",size:"16"})])],8,f8)),p.id!==o.state.item_id&&s.edit_mode?(S(),D("a",{key:1,onClick:_t(_=>o.remove(p),["prevent","stop"])},[u("span",_8,[C(i,{name:"delete",size:"18"})])],8,h8)):Q("",!0)]),_:2},1032,["item","position","current_position","show_only_next_items","edit_mode"])]),_:1},8,["modelValue","onEnd"]),C(c,{show:s.show_details_modal,item:s.selected_item,onClose:t[6]||(t[6]=p=>s.show_details_modal=!1)},null,8,["show","item"]),C(d,{show:s.show_url_modal,onClose:t[7]||(t[7]=p=>s.show_url_modal=!1)},null,8,["show"]),o.is_queue_save_allowed?(S(),xe(f,{key:0,show:s.show_pls_save_modal,onClose:t[8]||(t[8]=p=>s.show_pls_save_modal=!1)},null,8,["show"])):Q("",!0)]),_:1})}var y8=ve(X$,[["render",g8]]);function fc(e){return[null,void 0,!1].indexOf(e)!==-1}function ch(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter(function(s){return Object.getOwnPropertyDescriptor(e,s).enumerable})),n.push.apply(n,r)}return n}function dh(e){for(var t=1;t<arguments.length;t++){var n=arguments[t]!=null?arguments[t]:{};t%2?ch(Object(n),!0).forEach(function(r){v8(e,r,n[r])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):ch(Object(n)).forEach(function(r){Object.defineProperty(e,r,Object.getOwnPropertyDescriptor(n,r))})}return e}function v8(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function b8(e){return e&&e.__esModule&&Object.prototype.hasOwnProperty.call(e,"default")?e.default:e}function cv(e){var t={exports:{}};return e(t,t.exports),t.exports}function pd(e){return pd=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},pd(e)}var mh=cv(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 s(h,_){return h.substring(0,_.length)===_}function o(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,j,F,A){var M,W,R,q=A,B="",oe="";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&&(oe+=E),b&&(oe+=b),M&&T&&(oe+=T),oe+=R,oe+=B,w&&(oe+=w),j&&(oe=j(oe,q)),oe)}function d(h,_,g,b,w,x,z,E,T,j,F,A){var M,W="";return F&&(A=F(A)),!(!A||typeof A!="string")&&(E&&s(A,E)&&(A=A.replace(E,""),M=!0),b&&s(A,b)&&(A=A.replace(b,"")),T&&s(A,T)&&(A=A.replace(T,""),M=!0),w&&o(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);pd(h)==="object"&&(h=f(h),this.to=function(_){return m(h,c,_)},this.from=function(_){return m(h,d,_)})}return p}()});function fh(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter(function(s){return Object.getOwnPropertyDescriptor(e,s).enumerable})),n.push.apply(n,r)}return n}function w8(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function C8(e,t,n){var r=ui(e),s=r.format,o=r.step,i=n.value,a=n.classList,l=Tt(function(){return s&&s.value?typeof s.value=="function"?{to:s.value}:mh(function(c){for(var d=1;d<arguments.length;d++){var f=arguments[d]!=null?arguments[d]:{};d%2?fh(Object(f),!0).forEach(function(m){w8(c,m,f[m])}):Object.getOwnPropertyDescriptors?Object.defineProperties(c,Object.getOwnPropertyDescriptors(f)):fh(Object(f)).forEach(function(m){Object.defineProperty(c,m,Object.getOwnPropertyDescriptor(f,m))})}return c}({},s.value)):mh({decimals:o.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=[[]],j=[[]],F=[[]],A=0;_[0]&&(T[0][0]=0,j[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]=[],j[A]=[]),_[M]&&(T[A].push(M),F[A].push(l.value.to(parseFloat(b[M]))),j[A].push(E[M]));T.forEach(function(W,R){for(var q=W.length,B=0;B<q;B++){var oe=W[B];if(B===q-1){var X=0;j[R].forEach(function(Be){X+=1e3-Be});var ue=h?"bottom":"right",ge=p?0:q-1,Le=1e3-j[R][ge];X=(m&&!h?100:0)+X/q-Le,_[oe].innerHTML=F[R].join(f),_[oe].style.display="block",_[oe].style[ue]=X+"%",a.value.tooltipHidden.split(" ").forEach(function(Be){_[oe].classList.contains(Be)&&_[oe].classList.remove(Be)})}else _[oe].style.display="none",a.value.tooltipHidden.split(" ").forEach(function(Be){_[oe].classList.add(Be)})}})})}}}function xi(e){return xi=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},xi(e)}var z8=b8(cv(function(e,t){(function(n){function r(k){return s(k)&&typeof k.from=="function"}function s(k){return xi(k)==="object"&&typeof k.to=="function"}function o(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 j(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)/j(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)*j(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 oe,X;n.PipsMode=void 0,(X=n.PipsMode||(n.PipsMode={})).Range="range",X.Steps="steps",X.Positions="positions",X.Count="count",X.Values="values",n.PipsType=void 0,(oe=n.PipsType||(n.PipsType={}))[oe.None=-1]="None",oe[oe.NoValue=0]="NoValue",oe[oe.LargeValue=1]="LargeValue",oe[oe.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)/j(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"},Be={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(xi(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 se(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||s(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"&&!s(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(!s(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 V(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(xi(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:se},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:V},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 Re(k,y,I){var K,ee,fe,Se,Me,re=z(),de=T()&&E(),te=k,ae=y.spectrum,Ne=[],He=[],ct=[],_n=0,Kn={},Zn=k.ownerDocument,ta=y.documentElement||Zn.documentElement,na=Zn.body,fb=Zn.dir==="rtl"||y.ort===1?0:100;function wr(N,G){var ne=Zn.createElement("div");return G&&g(ne,G),N.appendChild(ne),ne}function pb(N,G){var ne=wr(N,y.cssClasses.origin),_e=wr(ne,y.cssClasses.handle);if(wr(_e,y.cssClasses.touchArea),_e.setAttribute("data-handle",String(G)),y.keyboardSupport&&(_e.setAttribute("tabindex","0"),_e.addEventListener("keydown",function(Pe){return $b(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 ef(N,G){return!!G&&wr(N,y.cssClasses.connect)}function hb(N,G){var ne=wr(G,y.cssClasses.connects);ee=[],(fe=[]).push(ef(ne,N[0]));for(var _e=0;_e<y.handles;_e++)ee.push(pb(G,_e)),ct[_e]=_e,fe.push(ef(ne,N[_e+1]))}function _b(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),wr(N,y.cssClasses.base)}function gb(N,G){return!(!y.tooltips||!y.tooltips[G])&&wr(N.firstChild,y.cssClasses.tooltip)}function tf(){return te.hasAttribute("disabled")}function Tu(N){return ee[N].hasAttribute("disabled")}function Ou(){Me&&(Lo("update"+Be.tooltips),Me.forEach(function(N){N&&o(N)}),Me=null)}function nf(){Ou(),Me=ee.map(gb),Mu("update"+Be.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 yb(){Lo("update"+Be.aria),Mu("update"+Be.aria,function(N,G,ne,_e,Fe){ct.forEach(function(Pe){var Ye=ee[Pe],Ke=ra(He,Pe,0,!0,!0,!0),jt=ra(He,Pe,100,!0,!0,!0),Pt=Fe[Pe],ht=String(y.ariaFormat.to(ne[Pe]));Ke=ae.fromStepping(Ke).toFixed(1),jt=ae.fromStepping(jt).toFixed(1),Pt=ae.fromStepping(Pt).toFixed(1),Ye.children[0].setAttribute("aria-valuemin",Ke),Ye.children[0].setAttribute("aria-valuemax",jt),Ye.children[0].setAttribute("aria-valuenow",Pt),Ye.children[0].setAttribute("aria-valuetext",ht)})})}function vb(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),rf(_e,N.stepped)}return N.mode===n.PipsMode.Positions?rf(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 rf(N,G){return N.map(function(ne){return ae.fromStepping(G?ae.getStep(ne):ne)})}function bb(N){function G(Pt,ht){return Number((Pt+ht).toFixed(7))}var ne=vb(N),_e={},Fe=ae.xVal[0],Pe=ae.xVal[ae.xVal.length-1],Ye=!1,Ke=!1,jt=0;return(ne=l(ne.slice().sort(function(Pt,ht){return Pt-ht})))[0]!==Fe&&(ne.unshift(Fe),Ye=!0),ne[ne.length-1]!==Pe&&(ne.push(Pe),Ke=!0),ne.forEach(function(Pt,ht){var Gt,bt,gn,un,Bt,ff,Nu,pf,hf,_f,ju=Pt,js=ne[ht+1],gf=N.mode===n.PipsMode.Steps;for(gf&&(Gt=ae.xNumSteps[ht]),Gt||(Gt=js-ju),js===void 0&&(js=ju),Gt=Math.max(Gt,1e-7),bt=ju;bt<=js;bt=G(bt,Gt)){for(pf=(Bt=(un=ae.toStepping(bt))-jt)/(N.density||1),_f=Bt/(hf=Math.round(pf)),gn=1;gn<=hf;gn+=1)_e[(ff=jt+gn*_f).toFixed(5)]=[ae.fromStepping(ff),0];Nu=ne.indexOf(bt)>-1?n.PipsType.LargeValue:gf?n.PipsType.SmallValue:n.PipsType.NoValue,!ht&&Ye&&bt!==js&&(Nu=0),bt===js&&Ke||(_e[un.toFixed(5)]=[bt,Nu]),jt=un}}),_e}function wb(N,G,ne){var _e,Fe,Pe=Zn.createElement("div"),Ye=((_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),Ke=((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),jt=[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?Ye:Ke;return gn+" "+(un?jt:Pt)[y.ort]+" "+Bt[bt]}function Gt(bt,gn,un){if((un=G?G(gn,un):un)!==n.PipsType.None){var Bt=wr(Pe,!1);Bt.className=ht(un,y.cssClasses.marker),Bt.style[y.style]=bt+"%",un>n.PipsType.NoValue&&((Bt=wr(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 Pu(){Se&&(o(Se),Se=null)}function Du(N){Pu();var G=bb(N),ne=N.filter,_e=N.format||{to:function(Fe){return String(Math.round(Fe))}};return Se=te.appendChild(wb(G,ne,_e))}function sf(){var N=K.getBoundingClientRect(),G="offset"+["Width","Height"][y.ort];return y.ort===0?N.width||K[G]:N.height||K[G]}function cs(N,G,ne,_e){var Fe=function(Ye){var Ke=Cb(Ye,_e.pageOffset,_e.target||G);return!!Ke&&!(tf()&&!_e.doNotReject)&&!(w(te,y.cssClasses.tap)&&!_e.doNotReject)&&!(N===re.start&&Ke.buttons!==void 0&&Ke.buttons>1)&&(!_e.hover||!Ke.buttons)&&(de||Ke.preventDefault(),Ke.calcPoint=Ke.points[y.ort],void ne(Ke,_e))},Pe=[];return N.split(" ").forEach(function(Ye){G.addEventListener(Ye,Fe,!!de&&{passive:!0}),Pe.push([Ye,Fe])}),Pe}function Cb(N,G,ne){var _e=N.type.indexOf("touch")===0,Fe=N.type.indexOf("mouse")===0,Pe=N.type.indexOf("pointer")===0,Ye=0,Ke=0;if(N.type.indexOf("MSPointer")===0&&(Pe=!0),N.type==="mousedown"&&!N.buttons&&!N.touches)return!1;if(_e){var jt=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,jt);if(Pt.length>1)return!1;Ye=Pt[0].pageX,Ke=Pt[0].pageY}else{var ht=Array.prototype.find.call(N.changedTouches,jt);if(!ht)return!1;Ye=ht.pageX,Ke=ht.pageY}}return G=G||x(Zn),(Fe||Pe)&&(Ye=N.clientX+G.x,Ke=N.clientY+G.y),N.pageOffset=G,N.points=[Ye,Ke],N.cursor=Fe||Pe,N}function of(N){var G=100*(N-d(K,y.ort))/sf();return G=p(G),y.dir?100-G:G}function zb(N){var G=100,ne=!1;return ee.forEach(function(_e,Fe){if(!Tu(Fe)){var Pe=He[Fe],Ye=Math.abs(Pe-N);(Ye<G||Ye<=G&&N>Pe||Ye===100&&G===100)&&(ne=Fe,G=Ye)}}),ne}function xb(N,G){N.type==="mouseout"&&N.target.nodeName==="HTML"&&N.relatedTarget===null&&Fu(N,G)}function kb(N,G){if(navigator.appVersion.indexOf("MSIE 9")===-1&&N.buttons===0&&G.buttonsProperty!==0)return Fu(N,G);var ne=(y.dir?-1:1)*(N.calcPoint-G.startCalcPoint);af(ne>0,100*ne/G.baseSize,G.locations,G.handleNumbers,G.connect)}function Fu(N,G){G.handle&&(b(G.handle,y.cssClasses.active),_n-=1),G.listeners.forEach(function(ne){ta.removeEventListener(ne[0],ne[1])}),_n===0&&(b(te,y.cssClasses.drag),Ru(),N.cursor&&(na.style.cursor="",na.removeEventListener("selectstart",a))),G.handleNumbers.forEach(function(ne){Vt("change",ne),Vt("set",ne),Vt("end",ne)})}function Iu(N,G){if(!G.handleNumbers.some(Tu)){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=cs(re.move,ta,kb,{target:N.target,handle:ne,connect:G.connect,listeners:_e,startCalcPoint:N.calcPoint,baseSize:sf(),pageOffset:N.pageOffset,handleNumbers:G.handleNumbers,buttonsProperty:N.buttons,locations:He.slice()}),Pe=cs(re.end,ta,Fu,{target:N.target,handle:ne,listeners:_e,doNotReject:!0,handleNumbers:G.handleNumbers}),Ye=cs("mouseout",ta,xb,{target:N.target,handle:ne,listeners:_e,doNotReject:!0,handleNumbers:G.handleNumbers});_e.push.apply(_e,Fe.concat(Pe,Ye)),N.cursor&&(na.style.cursor=getComputedStyle(N.target).cursor,ee.length>1&&g(te,y.cssClasses.drag),na.addEventListener("selectstart",a,!1)),G.handleNumbers.forEach(function(Ke){Vt("start",Ke)})}}function Sb(N){N.stopPropagation();var G=of(N.calcPoint),ne=zb(G);ne!==!1&&(y.events.snap||m(te,y.cssClasses.tap,y.animationDuration),Ns(ne,G,!0,!0),Ru(),Vt("slide",ne,!0),Vt("update",ne,!0),y.events.snap?Iu(N,{handleNumbers:[ne]}):(Vt("change",ne,!0),Vt("set",ne,!0)))}function Eb(N){var G=of(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(oa,_e)})})}function $b(N,G){if(tf()||Tu(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 Ye,Ke=N.key.replace("Arrow",""),jt=Ke===Fe[0],Pt=Ke===Fe[1],ht=Ke===_e[0]||Ke===ne[0]||jt,Gt=Ke===_e[1]||Ke===ne[1]||Pt,bt=Ke===Pe[0],gn=Ke===Pe[1];if(!(ht||Gt||bt||gn))return!0;if(N.preventDefault(),Gt||ht){var un=ht?0:1,Bt=mf(G)[un];if(Bt===null)return!1;Bt===!1&&(Bt=ae.getDefaultStep(He[G],ht,y.keyboardDefaultStep)),Bt*=Pt||jt?y.keyboardPageMultiplier:y.keyboardMultiplier,Bt=Math.max(Bt,1e-7),Bt*=ht?-1:1,Ye=Ne[G]+Bt}else Ye=gn?y.spectrum.xVal[y.spectrum.xVal.length-1]:y.spectrum.xVal[0];return Ns(G,ae.toStepping(Ye),!0,!0),Vt("slide",G),Vt("update",G),Vt("change",G),Vt("set",G),!1}function Ab(N){N.fixed||ee.forEach(function(G,ne){cs(re.start,G.children[0],Iu,{handleNumbers:[ne]})}),N.tap&&cs(re.start,K,Sb,{}),N.hover&&cs(re.move,K,Eb,{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],Ye=[_e,Fe],Ke=[ne-1,ne];g(G,y.cssClasses.draggable),N.fixed&&(Pe.push(_e.children[0]),Pe.push(Fe.children[0])),N.dragAll&&(Ye=ee,Ke=ct),Pe.forEach(function(jt){cs(re.start,jt,Iu,{handles:Ye,handleNumbers:Ke,connect:G})})}})}function Mu(N,G){Kn[N]=Kn[N]||[],Kn[N].push(G),N.split(".")[0]==="update"&&ee.forEach(function(ne,_e){Vt("update",_e)})}function Tb(N){return N===Be.aria||N===Be.tooltips}function Lo(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||Tb(Pe)&&ne!==Pe||delete Kn[_e]})}function Vt(N,G,ne){Object.keys(Kn).forEach(function(_e){var Fe=_e.split(".")[0];N===Fe&&Kn[_e].forEach(function(Pe){Pe.call(oa,Ne.map(y.format.to),G,Ne.slice(),ne||!1,He.slice(),oa)})})}function ra(N,G,ne,_e,Fe,Pe){var Ye;return ee.length>1&&!y.events.unconstrained&&(_e&&G>0&&(Ye=ae.getAbsoluteDistance(N[G-1],y.margin,!1),ne=Math.max(ne,Ye)),Fe&&G<ee.length-1&&(Ye=ae.getAbsoluteDistance(N[G+1],y.margin,!0),ne=Math.min(ne,Ye))),ee.length>1&&y.limit&&(_e&&G>0&&(Ye=ae.getAbsoluteDistance(N[G-1],y.limit,!1),ne=Math.min(ne,Ye)),Fe&&G<ee.length-1&&(Ye=ae.getAbsoluteDistance(N[G+1],y.limit,!0),ne=Math.max(ne,Ye))),y.padding&&(G===0&&(Ye=ae.getAbsoluteDistance(0,y.padding[0],!1),ne=Math.max(ne,Ye)),G===ee.length-1&&(Ye=ae.getAbsoluteDistance(100,y.padding[1],!0),ne=Math.min(ne,Ye))),!((ne=p(ne=ae.getStep(ne)))===N[G]&&!Pe)&&ne}function Lu(N,G){var ne=y.ort;return(ne?G:N)+", "+(ne?N:G)}function af(N,G,ne,_e,Fe){var Pe=ne.slice(),Ye=_e[0],Ke=[!N,N],jt=[N,!N];_e=_e.slice(),N&&_e.reverse(),_e.length>1?_e.forEach(function(ht,Gt){var bt=ra(Pe,ht,Pe[ht]+G,Ke[Gt],jt[Gt],!1);bt===!1?G=0:(G=bt-Pe[ht],Pe[ht]=bt)}):Ke=jt=[!0];var Pt=!1;_e.forEach(function(ht,Gt){Pt=Ns(ht,ne[ht]+G,Ke[Gt],jt[Gt])||Pt}),Pt&&(_e.forEach(function(ht){Vt("update",ht),Vt("slide",ht)}),Fe!=null&&Vt("drag",Ye))}function lf(N,G){return y.dir?100-N-G:N}function Ob(N,G){He[N]=G,Ne[N]=ae.fromStepping(G);var ne="translate("+Lu(lf(G,0)-fb+"%","0")+")";ee[N].style[y.transformRule]=ne,uf(N),uf(N+1)}function Ru(){ct.forEach(function(N){var G=He[N]>50?-1:1,ne=3+(ee.length+G*N);ee[N].style.zIndex=String(ne)})}function Ns(N,G,ne,_e,Fe){return Fe||(G=ra(He,N,G,ne,_e,!1)),G!==!1&&(Ob(N,G),!0)}function uf(N){if(fe[N]){var G=0,ne=100;N!==0&&(G=He[N-1]),N!==fe.length-1&&(ne=He[N]);var _e=ne-G,Fe="translate("+Lu(lf(G,_e)+"%","0")+")",Pe="scale("+Lu(_e/100,"1")+")";fe[N].style[y.transformRule]=Fe+" "+Pe}}function cf(N,G){return N===null||N===!1||N===void 0?He[G]:(typeof N=="number"&&(N=String(N)),(N=y.format.from(N))!==!1&&(N=ae.toStepping(N)),N===!1||isNaN(N)?He[G]:N)}function sa(N,G,ne){var _e=h(N),Fe=He[0]===void 0;G=G===void 0||G,y.animate&&!Fe&&m(te,y.cssClasses.tap,y.animationDuration),ct.forEach(function(Ke){Ns(Ke,cf(_e[Ke],Ke),!0,!1,ne)});var Pe=ct.length===1?0:1;if(Fe&&ae.hasNoSize()&&(ne=!0,He[0]=0,ct.length>1)){var Ye=100/(ct.length-1);ct.forEach(function(Ke){He[Ke]=Ke*Ye})}for(;Pe<ct.length;++Pe)ct.forEach(function(Ke){Ns(Ke,He[Ke],!0,!0,ne)});Ru(),ct.forEach(function(Ke){Vt("update",Ke),_e[Ke]!==null&&G&&Vt("set",Ke)})}function Pb(N){sa(y.start,N)}function Db(N,G,ne,_e){if(!((N=Number(N))>=0&&N<ct.length))throw new Error("noUiSlider: invalid handle number, got: "+N);Ns(N,cf(G,N),!0,!0,_e),Vt("update",N),ne&&Vt("set",N)}function df(N){if(N===void 0&&(N=!1),N)return Ne.length===1?Ne[0]:Ne.slice(0);var G=Ne.map(y.format.to);return G.length===1?G[0]:G}function Fb(){for(Lo(Be.aria),Lo(Be.tooltips),Object.keys(y.cssClasses).forEach(function(N){b(te,y.cssClasses[N])});te.firstChild;)te.removeChild(te.firstChild);delete te.noUiSlider}function mf(N){var G=He[N],ne=ae.getNearbySteps(G),_e=Ne[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 Ye=ae.countStepDecimals();return Fe!==null&&Fe!==!1&&(Fe=Number(Fe.toFixed(Ye))),Pe!==null&&Pe!==!1&&(Pe=Number(Pe.toFixed(Ye))),[Pe,Fe]}function Ib(){return ct.map(mf)}function Mb(N,G){var ne=df(),_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?Du(y.pips):Pu(),y.tooltips?nf():Ou(),He=[],sa(i(N.start)?N.start:ne,G)}function Lb(){K=_b(te),hb(y.connect,K),Ab(y.events),sa(y.start),y.pips&&Du(y.pips),y.tooltips&&nf(),yb()}Lb();var oa={destroy:Fb,steps:Ib,on:Mu,off:Lo,get:df,set:sa,setHandle:Db,reset:Pb,__moveHandles:function(N,G,ne){af(N,G,He,ne)},options:I,updateOptions:Mb,target:te,removePips:Pu,removeTooltips:Ou,getPositions:function(){return He.slice()},getTooltips:function(){return Me},getOrigins:function(){return ee},pips:Du};return oa}function qe(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=Re(k,De(y),y);return k.noUiSlider=I,I}var tt={__spectrum:ue,cssClasses:Le,create:qe};n.create=qe,n.cssClasses=Le,n.default=tt,Object.defineProperty(n,"__esModule",{value:!0})})(t)}));function ph(e,t){var n=t.slice().sort();return e.length===t.length&&e.slice().sort().every(function(r,s){return r===n[s]})}var Ii={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=ui(i),d=c.value,f=c.modelValue,m=a.expose!==void 0?f:d,p=wn(m.value);if(fc(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=ui(i),d=c.classes,f=c.showTooltip,m=c.tooltipPosition,p=c.orientation,h=Tt(function(){return dh({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 _=dh({},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),s=C8(e,0,{value:n.value,classList:r.classList}),o=function(i,a,l){var c=ui(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,j=l.value,F=l.initialValue,A=l.tooltipsFormat,M=l.tooltipsMerge,W=l.classList,R=wn(null),q=wn(null),B=wn(!1),oe=Tt(function(){var we={cssPrefix:"",cssClasses:W.value,orientation:d.value,direction:f.value,tooltips:!!m.value&&A.value,connect:"lower",start:fc(j.value)?h.value:j.value,range:{min:h.value,max:_.value}};return p.value>0&&(we.step=p.value),Array.isArray(j.value)&&(we.connect=!0),we}),X=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(j.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)},Be=function(we){a.emit("input",we),a.emit("update:modelValue",we),a.emit("update",we)},he=function(){q.value=z8.create(R.value,Object.assign({},oe.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&&Be(H)}),q.value.on("update",function(we){if(B.value){var H=ge();ue.value&&ph(j.value,H)||!ue.value&&j.value==H?a.emit("update",H):T.value||Be(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 Is(he),$o(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(j,function(we){fc(we)?Le(h.value,!1):(ue.value&&!ph(we,ge())||!ue.value&&we!=ge())&&Le(we,!1)},{deep:!0}),{slider:R,slider$:q,isRange:ue,sliderProps:X,init:he,destroy:J,refresh:me,update:Le,reset:function(){Be(F.value)}}}(e,t,{value:n.value,initialValue:n.initialValue,tooltipsFormat:s.tooltipsFormat,tooltipsMerge:s.tooltipsMerge,classList:r.classList});return Je(Je(Je({},r),s),o)}};Ii.render=function(e,t,n,r,s,o){return S(),D("div",tm(e.sliderProps,{ref:"slider"}),null,16)},Ii.__file="src/Slider.vue";var dv={exports:{}},x8=[{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=x8,n=t.filter(function(s){return!!s.css}),r=t.filter(function(s){return!!s.vga});e.exports=function(s){var o=e.exports.get(s);return o&&o.value},e.exports.get=function(s){return s=s||"",s=s.trim().toLowerCase(),t.filter(function(o){return o.name.toLowerCase()===s}).pop()},e.exports.all=e.exports.get.all=function(){return t},e.exports.get.css=function(s){return s?(s=s||"",s=s.trim().toLowerCase(),n.filter(function(o){return o.name.toLowerCase()===s}).pop()):n},e.exports.get.vga=function(s){return s?(s=s||"",s=s.trim().toLowerCase(),r.filter(function(o){return o.name.toLowerCase()===s}).pop()):r}})(dv);var k8=1/0,S8="[object Symbol]",E8=/[^\x00-\x2f\x3a-\x40\x5b-\x60\x7b-\x7f]+/g,mv="\\ud800-\\udfff",$8="\\u0300-\\u036f\\ufe20-\\ufe23",A8="\\u20d0-\\u20f0",fv="\\u2700-\\u27bf",pv="a-z\\xdf-\\xf6\\xf8-\\xff",T8="\\xac\\xb1\\xd7\\xf7",O8="\\x00-\\x2f\\x3a-\\x40\\x5b-\\x60\\x7b-\\xbf",P8="\\u2000-\\u206f",D8=" \\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",hv="A-Z\\xc0-\\xd6\\xd8-\\xde",F8="\\ufe0e\\ufe0f",_v=T8+O8+P8+D8,gv="['\u2019]",hh="["+_v+"]",I8="["+$8+A8+"]",yv="\\d+",M8="["+fv+"]",vv="["+pv+"]",bv="[^"+mv+_v+yv+fv+pv+hv+"]",L8="\\ud83c[\\udffb-\\udfff]",R8="(?:"+I8+"|"+L8+")",N8="[^"+mv+"]",wv="(?:\\ud83c[\\udde6-\\uddff]){2}",Cv="[\\ud800-\\udbff][\\udc00-\\udfff]",ro="["+hv+"]",j8="\\u200d",_h="(?:"+vv+"|"+bv+")",V8="(?:"+ro+"|"+bv+")",gh="(?:"+gv+"(?:d|ll|m|re|s|t|ve))?",yh="(?:"+gv+"(?:D|LL|M|RE|S|T|VE))?",zv=R8+"?",xv="["+F8+"]?",B8="(?:"+j8+"(?:"+[N8,wv,Cv].join("|")+")"+xv+zv+")*",H8=xv+zv+B8,U8="(?:"+[M8,wv,Cv].join("|")+")"+H8,q8=RegExp([ro+"?"+vv+"+"+gh+"(?="+[hh,ro,"$"].join("|")+")",V8+"+"+yh+"(?="+[hh,ro+_h,"$"].join("|")+")",ro+"?"+_h+"+"+gh,ro+"+"+yh,yv,U8].join("|"),"g"),W8=/[a-z][A-Z]|[A-Z]{2,}[a-z]|[0-9][a-zA-Z]|[a-zA-Z][0-9]|[^a-zA-Z0-9 ]/,G8=typeof an=="object"&&an&&an.Object===Object&&an,K8=typeof self=="object"&&self&&self.Object===Object&&self,Z8=G8||K8||Function("return this")();function Y8(e){return e.match(E8)||[]}function J8(e){return W8.test(e)}function X8(e){return e.match(q8)||[]}var Q8=Object.prototype,eA=Q8.toString,vh=Z8.Symbol,bh=vh?vh.prototype:void 0,wh=bh?bh.toString:void 0;function tA(e){if(typeof e=="string")return e;if(rA(e))return wh?wh.call(e):"";var t=e+"";return t=="0"&&1/e==-k8?"-0":t}function nA(e){return!!e&&typeof e=="object"}function rA(e){return typeof e=="symbol"||nA(e)&&eA.call(e)==S8}function sA(e){return e==null?"":tA(e)}function oA(e,t,n){return e=sA(e),t=n?void 0:t,t===void 0?J8(e)?X8(e):Y8(e):e.match(t)||[]}var iA=oA,aA=1/0,lA="[object Symbol]",uA=/^\s+/,Dm="\\ud800-\\udfff",kv="\\u0300-\\u036f\\ufe20-\\ufe23",Sv="\\u20d0-\\u20f0",Ev="\\ufe0e\\ufe0f",cA="["+Dm+"]",hd="["+kv+Sv+"]",_d="\\ud83c[\\udffb-\\udfff]",dA="(?:"+hd+"|"+_d+")",$v="[^"+Dm+"]",Av="(?:\\ud83c[\\udde6-\\uddff]){2}",Tv="[\\ud800-\\udbff][\\udc00-\\udfff]",Ov="\\u200d",Pv=dA+"?",Dv="["+Ev+"]?",mA="(?:"+Ov+"(?:"+[$v,Av,Tv].join("|")+")"+Dv+Pv+")*",fA=Dv+Pv+mA,pA="(?:"+[$v+hd+"?",hd,Av,Tv,cA].join("|")+")",hA=RegExp(_d+"(?="+_d+")|"+pA+fA,"g"),_A=RegExp("["+Ov+Dm+kv+Sv+Ev+"]"),gA=typeof an=="object"&&an&&an.Object===Object&&an,yA=typeof self=="object"&&self&&self.Object===Object&&self,vA=gA||yA||Function("return this")();function bA(e){return e.split("")}function wA(e,t,n,r){for(var s=e.length,o=n+(r?1:-1);r?o--:++o<s;)if(t(e[o],o,e))return o;return-1}function CA(e,t,n){if(t!==t)return wA(e,zA,n);for(var r=n-1,s=e.length;++r<s;)if(e[r]===t)return r;return-1}function zA(e){return e!==e}function xA(e,t){for(var n=-1,r=e.length;++n<r&&CA(t,e[n],0)>-1;);return n}function kA(e){return _A.test(e)}function Ch(e){return kA(e)?SA(e):bA(e)}function SA(e){return e.match(hA)||[]}var EA=Object.prototype,$A=EA.toString,zh=vA.Symbol,xh=zh?zh.prototype:void 0,kh=xh?xh.toString:void 0;function AA(e,t,n){var r=-1,s=e.length;t<0&&(t=-t>s?0:s+t),n=n>s?s:n,n<0&&(n+=s),s=t>n?0:n-t>>>0,t>>>=0;for(var o=Array(s);++r<s;)o[r]=e[r+t];return o}function Fv(e){if(typeof e=="string")return e;if(PA(e))return kh?kh.call(e):"";var t=e+"";return t=="0"&&1/e==-aA?"-0":t}function TA(e,t,n){var r=e.length;return n=n===void 0?r:n,!t&&n>=r?e:AA(e,t,n)}function OA(e){return!!e&&typeof e=="object"}function PA(e){return typeof e=="symbol"||OA(e)&&$A.call(e)==lA}function DA(e){return e==null?"":Fv(e)}function FA(e,t,n){if(e=DA(e),e&&(n||t===void 0))return e.replace(uA,"");if(!e||!(t=Fv(t)))return e;var r=Ch(e),s=xA(r,Ch(t));return TA(r,s).join("")}var IA=FA,gd=1/0,MA=9007199254740991,LA=17976931348623157e292,Sh=0/0,RA="[object Symbol]",NA=/^\s+|\s+$/g,jA=/^[-+]0x[0-9a-f]+$/i,VA=/^0b[01]+$/i,BA=/^0o[0-7]+$/i,Fm="\\ud800-\\udfff",Iv="\\u0300-\\u036f\\ufe20-\\ufe23",Mv="\\u20d0-\\u20f0",Lv="\\ufe0e\\ufe0f",HA="["+Fm+"]",yd="["+Iv+Mv+"]",vd="\\ud83c[\\udffb-\\udfff]",UA="(?:"+yd+"|"+vd+")",Rv="[^"+Fm+"]",Nv="(?:\\ud83c[\\udde6-\\uddff]){2}",jv="[\\ud800-\\udbff][\\udc00-\\udfff]",Vv="\\u200d",Bv=UA+"?",Hv="["+Lv+"]?",qA="(?:"+Vv+"(?:"+[Rv,Nv,jv].join("|")+")"+Hv+Bv+")*",WA=Hv+Bv+qA,GA="(?:"+[Rv+yd+"?",yd,Nv,jv,HA].join("|")+")",bd=RegExp(vd+"(?="+vd+")|"+GA+WA,"g"),KA=RegExp("["+Vv+Fm+Iv+Mv+Lv+"]"),ZA=parseInt,YA=typeof an=="object"&&an&&an.Object===Object&&an,JA=typeof self=="object"&&self&&self.Object===Object&&self,XA=YA||JA||Function("return this")(),QA=tT("length");function eT(e){return e.split("")}function tT(e){return function(t){return t==null?void 0:t[e]}}function Im(e){return KA.test(e)}function Uv(e){return Im(e)?rT(e):QA(e)}function nT(e){return Im(e)?sT(e):eT(e)}function rT(e){for(var t=bd.lastIndex=0;bd.test(e);)t++;return t}function sT(e){return e.match(bd)||[]}var oT=Object.prototype,iT=oT.toString,Eh=XA.Symbol,aT=Math.ceil,lT=Math.floor,$h=Eh?Eh.prototype:void 0,Ah=$h?$h.toString:void 0;function Th(e,t){var n="";if(!e||t<1||t>MA)return n;do t%2&&(n+=e),t=lT(t/2),t&&(e+=e);while(t);return n}function uT(e,t,n){var r=-1,s=e.length;t<0&&(t=-t>s?0:s+t),n=n>s?s:n,n<0&&(n+=s),s=t>n?0:n-t>>>0,t>>>=0;for(var o=Array(s);++r<s;)o[r]=e[r+t];return o}function qv(e){if(typeof e=="string")return e;if(Wv(e))return Ah?Ah.call(e):"";var t=e+"";return t=="0"&&1/e==-gd?"-0":t}function cT(e,t,n){var r=e.length;return n=n===void 0?r:n,!t&&n>=r?e:uT(e,t,n)}function dT(e,t){t=t===void 0?" ":qv(t);var n=t.length;if(n<2)return n?Th(t,e):t;var r=Th(t,aT(e/Uv(t)));return Im(t)?cT(nT(r),0,e).join(""):r.slice(0,e)}function Oh(e){var t=typeof e;return!!e&&(t=="object"||t=="function")}function mT(e){return!!e&&typeof e=="object"}function Wv(e){return typeof e=="symbol"||mT(e)&&iT.call(e)==RA}function fT(e){if(!e)return e===0?e:0;if(e=hT(e),e===gd||e===-gd){var t=e<0?-1:1;return t*LA}return e===e?e:0}function pT(e){var t=fT(e),n=t%1;return t===t?n?t-n:t:0}function hT(e){if(typeof e=="number")return e;if(Wv(e))return Sh;if(Oh(e)){var t=typeof e.valueOf=="function"?e.valueOf():e;e=Oh(t)?t+"":t}if(typeof e!="string")return e===0?e:+e;e=e.replace(NA,"");var n=VA.test(e);return n||BA.test(e)?ZA(e.slice(2),n?2:8):jA.test(e)?Sh:+e}function _T(e){return e==null?"":qv(e)}function gT(e,t,n){e=_T(e),t=pT(t);var r=t?Uv(e):0;return t&&r<t?e+dT(t-r,n):e}var yT=gT,vT=(e,t,n,r)=>{const s=(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(!s&&r>=0&&r<=1)r=Math.round(255*r);else if(s&&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 Mi="a-f\\d",bT=`#?[${Mi}]{3}[${Mi}]?`,wT=`#?[${Mi}]{6}([${Mi}]{2})?`,CT=new RegExp(`[^#${Mi}]`,"gi"),zT=new RegExp(`^${bT}$|^${wT}$`,"i");var xT=(e,t={})=>{if(typeof e!="string"||CT.test(e)||!zT.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),s=r>>16,o=r>>8&255,i=r&255,a=typeof t.alpha=="number"?t.alpha:n;if(t.format==="array")return[s,o,i,a];if(t.format==="css"){const l=a===1?"":` / ${Number((a*100).toFixed(2))}%`;return`rgb(${s} ${o} ${i}${l})`}return{red:s,green:o,blue:i,alpha:a}},kT=dv.exports,ST=iA,ET=IA,$T=yT,AT=vT,Gv=xT;const pc=.75,hc=.25,_c=16777215,TT=49979693;var OT=function(e){return"#"+FT(String(JSON.stringify(e)))};function PT(e){var t=ST(e),n=[];return t.forEach(function(r){var s=kT(r);s&&n.push(Gv(ET(s,"#"),{format:"array"}))}),n}function DT(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 FT(e){var t,n=PT(e);n.length>0&&(t=DT(n));var r=1,s=0,o=1;if(e.length>0)for(var i=0;i<e.length;i++)e[i].charCodeAt(0)>s&&(s=e[i].charCodeAt(0)),o=parseInt(_c/s),r=(r+e[i].charCodeAt(0)*o*TT)%_c;var a=(r*e.length%_c).toString(16);a=$T(a,6,a);var l=Gv(a,{format:"array"});return t?AT(hc*l[0]+pc*t[0],hc*l[1]+pc*t[1],hc*l[2]+pc*t[2]):a}function IT(e){const t=e.replace(/#/,""),n=parseInt(t.substr(0,2),16),r=parseInt(t.substr(2,2),16),s=parseInt(t.substr(4,2),16);return[.299*n,.587*r,.114*s].reduce((i,a)=>i+a)/255>.5}function MT(e){return IT(e)?"#000000":"#ffffff"}function LT(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 Kv(e,t,n){const r=OT(t),s=MT(r),o={width:n.width,height:n.height,textColor:s,backgroundColor:r,caption:e,fontFamily:n.font_family,fontSize:n.font_size,fontWeight:n.font_weight};return LT(o)}const RT={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 Kv(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 NT(e,t,n,r,s,o){const i=ou("lazy");return S(),D("figure",null,[kt(u("img",{onClick:t[0]||(t[0]=a=>e.$emit("click"))},null,512),[[i,{src:o.artwork_url_with_size,lifecycle:s.lazy_lifecycle}]])])}var Fr=ve(RT,[["render",NT]]);const jT={name:"PageNowPlaying",components:{ModalDialogQueueItem:Jy,Slider:Ii,CoverArtwork:Fr},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(mm,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}}},VT={key:0,class:"fd-is-fullheight"},BT={class:"fd-is-expanded"},HT={class:"fd-has-padding-left-right"},UT={class:"container has-text-centered"},qT={class:"control has-text-centered fd-progress-now-playing"},WT={class:"content"},GT=["textContent"],KT={class:"fd-has-padding-left-right"},ZT={class:"container has-text-centered fd-has-margin-top"},YT=["textContent"],JT=["textContent"],XT=["textContent"],QT=["textContent"],e6=["textContent"],t6={key:1,class:"fd-is-fullheight"},n6={class:"fd-is-expanded fd-has-padding-left-right",style:{"flex-direction":"column"}},r6={class:"content has-text-centered"},s6=["textContent"],o6=["textContent"];function i6(e,t,n,r,s,o){const i=P("cover-artwork"),a=P("Slider"),l=P("modal-dialog-queue-item");return S(),D("section",null,[o.now_playing.id>0?(S(),D("div",VT,[u("div",BT,[C(i,{artwork_url:o.now_playing.artwork_url,artist:o.now_playing.artist,album:o.now_playing.album,class:"fd-cover-image fd-has-action",onClick:t[0]||(t[0]=c=>o.open_dialog(o.now_playing))},null,8,["artwork_url","artist","album"])]),u("div",HT,[u("div",UT,[u("p",qT,[C(a,{ref:"slider",modelValue:s.item_progress_ms,"onUpdate:modelValue":t[1]||(t[1]=c=>s.item_progress_ms=c),min:0,max:o.state.item_length_ms,step:1e3,tooltips:!1,disabled:o.state.state==="stop",classes:{target:"seek-slider"},onChange:o.seek,onStart:o.start_dragging,onEnd:o.end_dragging},null,8,["modelValue","max","disabled","onChange","onStart","onEnd"])]),u("p",WT,[u("span",{textContent:v([e.$filters.durationInHours(s.item_progress_ms),e.$filters.durationInHours(o.now_playing.length_ms)].join(" / "))},null,8,GT)])])]),u("div",KT,[u("div",ZT,[u("h1",{class:"title is-5",textContent:v(o.now_playing.title)},null,8,YT),u("h2",{class:"title is-6",textContent:v(o.now_playing.artist)},null,8,JT),o.composer?(S(),D("h2",{key:0,class:"subtitle is-6 has-text-grey has-text-weight-bold",textContent:v(o.composer)},null,8,XT)):Q("",!0),u("h3",{class:"subtitle is-6",textContent:v(o.now_playing.album)},null,8,QT),o.filepath?(S(),D("h3",{key:1,class:"subtitle is-6 has-text-grey",textContent:v(o.filepath)},null,8,e6)):Q("",!0)])])])):(S(),D("div",t6,[u("div",n6,[u("div",r6,[u("h1",{class:"title is-5",textContent:v(e.$("page.now-playing.title"))},null,8,s6),u("p",{textContent:v(e.$("page.now-playing.info"))},null,8,o6)])])])),C(l,{show:s.show_details_modal,item:s.selected_item,onClose:t[2]||(t[2]=c=>s.show_details_modal=!1)},null,8,["show","item"])])}var a6=ve(jT,[["render",i6]]);const l6={name:"TabsMusic",computed:{spotify_enabled(){return this.$store.state.spotify.webapi_token_valid}}},u6={class:"section fd-tabs-section"},c6={class:"container"},d6={class:"columns is-centered"},m6={class:"column is-four-fifths"},f6={class:"tabs is-centered is-small"},p6=["onClick","onKeypress"],h6={class:"icon is-small"},_6=["textContent"],g6=["onClick","onKeypress"],y6={class:"icon is-small"},v6=["textContent"],b6=["onClick","onKeypress"],w6={class:"icon is-small"},C6=["textContent"],z6=["onClick","onKeypress"],x6={class:"icon is-small"},k6=["textContent"],S6=["onClick","onKeypress"],E6={class:"icon is-small"},$6=["textContent"],A6=["onClick","onKeypress"],T6={class:"icon is-small"},O6=["textContent"];function P6(e,t,n,r,s,o){const i=P("mdicon"),a=P("router-link");return S(),D("section",u6,[u("div",c6,[u("div",d6,[u("div",m6,[u("div",f6,[u("ul",null,[C(a,{to:"/music/browse",custom:""},{default:O(({navigate:l,isActive:c})=>[u("li",{class:Ze({"is-active":c})},[u("a",{onClick:l,onKeypress:Dn(l,["enter"])},[u("span",h6,[C(i,{name:"web",size:"16"})]),u("span",{textContent:v(e.$t("page.browse.tabs.browse"))},null,8,_6)],40,p6)],2)]),_:1}),C(a,{to:"/music/artists",custom:""},{default:O(({navigate:l,isActive:c})=>[u("li",{class:Ze({"is-active":c})},[u("a",{onClick:l,onKeypress:Dn(l,["enter"])},[u("span",y6,[C(i,{name:"account-music",size:"16"})]),u("span",{textContent:v(e.$t("page.browse.tabs.artists"))},null,8,v6)],40,g6)],2)]),_:1}),C(a,{to:"/music/albums",custom:""},{default:O(({navigate:l,isActive:c})=>[u("li",{class:Ze({"is-active":c})},[u("a",{onClick:l,onKeypress:Dn(l,["enter"])},[u("span",w6,[C(i,{name:"album",size:"16"})]),u("span",{textContent:v(e.$t("page.browse.tabs.albums"))},null,8,C6)],40,b6)],2)]),_:1}),C(a,{to:"/music/genres",custom:""},{default:O(({navigate:l,isActive:c})=>[u("li",{class:Ze({"is-active":c})},[u("a",{onClick:l,onKeypress:Dn(l,["enter"])},[u("span",x6,[C(i,{name:"speaker",size:"16"})]),u("span",{textContent:v(e.$t("page.browse.tabs.genres"))},null,8,k6)],40,z6)],2)]),_:1}),C(a,{to:"/music/composers",custom:""},{default:O(({navigate:l,isActive:c})=>[u("li",{class:Ze({"is-active":c})},[u("a",{onClick:l,onKeypress:Dn(l,["enter"])},[u("span",E6,[C(i,{name:"book-open-page-variant",size:"16"})]),u("span",{textContent:v(e.$t("page.browse.tabs.composers"))},null,8,$6)],40,S6)],2)]),_:1}),o.spotify_enabled?(S(),xe(a,{key:0,to:"/music/spotify",custom:""},{default:O(({navigate:l,isActive:c})=>[u("li",{class:Ze({"is-active":c})},[u("a",{onClick:l,onKeypress:Dn(l,["enter"])},[u("span",T6,[C(i,{name:"spotify",size:"16"})]),u("span",{textContent:v(e.$t("page.browse.tabs.spotify"))},null,8,O6)],40,A6)],2)]),_:1})):Q("",!0)])])])])])])}var vr=ve(l6,[["render",P6]]);const D6={name:"ModalDialogAlbum",components:{CoverArtwork:Fr},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}}},F6={key:0,class:"modal is-active"},I6={class:"modal-content fd-modal-card"},M6={class:"card"},L6={class:"card-content"},R6={class:"title is-4"},N6=["textContent"],j6={key:0,class:"buttons"},V6=["textContent"],B6=["textContent"],H6={class:"content is-small"},U6={key:0},q6=["textContent"],W6=["textContent"],G6={key:1},K6=["textContent"],Z6=["textContent"],Y6={key:2},J6=["textContent"],X6=["textContent"],Q6=["textContent"],eO=["textContent"],tO=["textContent"],nO=["textContent"],rO=["textContent"],sO=["textContent"],oO=["textContent"],iO=["textContent"],aO={class:"card-footer"},lO={class:"icon"},uO=["textContent"],cO={class:"icon"},dO=["textContent"],mO={class:"icon"},fO=["textContent"];function pO(e,t,n,r,s,o){const i=P("cover-artwork"),a=P("mdicon");return S(),D("div",null,[C(Wt,{name:"fade"},{default:O(()=>[n.show?(S(),D("div",F6,[u("div",{class:"modal-background",onClick:t[0]||(t[0]=l=>e.$emit("close"))}),u("div",I6,[u("div",M6,[u("div",L6,[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",R6,[u("a",{class:"has-text-link",onClick:t[1]||(t[1]=(...l)=>o.open_album&&o.open_album(...l)),textContent:v(n.album.name)},null,8,N6)]),o.media_kind_resolved==="podcast"?(S(),D("div",j6,[u("a",{class:"button is-small",onClick:t[2]||(t[2]=(...l)=>o.mark_played&&o.mark_played(...l)),textContent:v(e.$t("dialog.album.mark-as-played"))},null,8,V6),u("a",{class:"button is-small",onClick:t[3]||(t[3]=l=>e.$emit("remove-podcast")),textContent:v(e.$t("dialog.album.remove-podcast"))},null,8,B6)])):Q("",!0),u("div",H6,[n.album.artist?(S(),D("p",U6,[u("span",{class:"heading",textContent:v(e.$t("dialog.album.artist"))},null,8,q6),u("a",{class:"title is-6 has-text-link",onClick:t[4]||(t[4]=(...l)=>o.open_artist&&o.open_artist(...l)),textContent:v(n.album.artist)},null,8,W6)])):Q("",!0),n.album.date_released?(S(),D("p",G6,[u("span",{class:"heading",textContent:v(e.$t("dialog.album.release-date"))},null,8,K6),u("span",{class:"title is-6",textContent:v(e.$filters.date(n.album.date_released))},null,8,Z6)])):n.album.year>0?(S(),D("p",Y6,[u("span",{class:"heading",textContent:v(e.$t("dialog.album.year"))},null,8,J6),u("span",{class:"title is-6",textContent:v(n.album.year)},null,8,X6)])):Q("",!0),u("p",null,[u("span",{class:"heading",textContent:v(e.$t("dialog.album.tracks"))},null,8,Q6),u("span",{class:"title is-6",textContent:v(n.album.track_count)},null,8,eO)]),u("p",null,[u("span",{class:"heading",textContent:v(e.$t("dialog.album.duration"))},null,8,tO),u("span",{class:"title is-6",textContent:v(e.$filters.durationInHours(n.album.length_ms))},null,8,nO)]),u("p",null,[u("span",{class:"heading",textContent:v(e.$t("dialog.album.type"))},null,8,rO),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,sO)]),u("p",null,[u("span",{class:"heading",textContent:v(e.$t("dialog.album.added-on"))},null,8,oO),u("span",{class:"title is-6",textContent:v(e.$filters.datetime(n.album.time_added))},null,8,iO)])])]),u("footer",aO,[u("a",{class:"card-footer-item has-text-dark",onClick:t[5]||(t[5]=(...l)=>o.queue_add&&o.queue_add(...l))},[u("span",lO,[C(a,{name:"playlist-plus",size:"16"})]),u("span",{class:"is-size-7",textContent:v(e.$t("dialog.album.add"))},null,8,uO)]),u("a",{class:"card-footer-item has-text-dark",onClick:t[6]||(t[6]=(...l)=>o.queue_add_next&&o.queue_add_next(...l))},[u("span",cO,[C(a,{name:"playlist-play",size:"16"})]),u("span",{class:"is-size-7",textContent:v(e.$t("dialog.album.add-next"))},null,8,dO)]),u("a",{class:"card-footer-item has-text-dark",onClick:t[7]||(t[7]=(...l)=>o.play&&o.play(...l))},[u("span",mO,[C(a,{name:"play",size:"16"})]),u("span",{class:"is-size-7",textContent:v(e.$t("dialog.album.play"))},null,8,fO)])])])]),u("button",{class:"modal-close is-large","aria-label":"close",onClick:t[8]||(t[8]=l=>e.$emit("close"))})])):Q("",!0)]),_:1})])}var bu=ve(D6,[["render",pO]]);const hO={name:"ModalDialog",props:["show","title","ok_action","delete_action","close_action"],emits:["delete","close","ok"]},_O={key:0,class:"modal is-active"},gO={class:"modal-content fd-modal-card"},yO={class:"card"},vO={class:"card-content"},bO=["textContent"],wO={class:"card-footer"},CO={class:"icon"},zO=["textContent"],xO={class:"icon"},kO=["textContent"],SO={class:"icon"},EO=["textContent"];function $O(e,t,n,r,s,o){const i=P("mdicon");return S(),D("div",null,[C(Wt,{name:"fade"},{default:O(()=>[n.show?(S(),D("div",_O,[u("div",{class:"modal-background",onClick:t[0]||(t[0]=a=>e.$emit("close"))}),u("div",gO,[u("div",yO,[u("div",vO,[n.title?(S(),D("p",{key:0,class:"title is-4",textContent:v(n.title)},null,8,bO)):Q("",!0),xt(e.$slots,"modal-content")]),u("footer",wO,[u("a",{class:"card-footer-item has-text-dark",onClick:t[1]||(t[1]=a=>e.$emit("close"))},[u("span",CO,[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,zO)]),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",xO,[C(i,{name:"delete",size:"16"})]),u("span",{class:"is-size-7",textContent:v(n.delete_action)},null,8,kO)])):Q("",!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",SO,[C(i,{name:"check",size:"16"})]),u("span",{class:"is-size-7",textContent:v(n.ok_action)},null,8,EO)])):Q("",!0)])])]),u("button",{class:"modal-close is-large","aria-label":"close",onClick:t[4]||(t[4]=a=>e.$emit("close"))})])):Q("",!0)]),_:3})])}var Mm=ve(hO,[["render",$O]]);const AO={name:"ListAlbums",components:{ModalDialogAlbum:bu,ModalDialog:Mm},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})=>{const n=t.items.filter(r=>r.type==="rss");if(n.length!==1){this.$store.dispatch("add_notification",{text:this.$t("list.albums.notification"),type:"danger"});return}this.rss_playlist_to_remove=n[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 Kv(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})}}},TO={key:0,class:"mt-6 mb-5 py-2"},OO=["id","textContent"],PO=["onClick"],DO={key:0,class:"media-left fd-has-action"},FO={class:"image is-64x64 fd-has-shadow fd-has-action"},IO=["album","artist"],MO={class:"media-content fd-has-action is-clipped"},LO={style:{"margin-top":"0.7rem"}},RO=["textContent"],NO={class:"subtitle is-7 has-text-grey"},jO=["textContent"],VO=["textContent"],BO={class:"media-right",style:{"padding-top":"0.7rem"}},HO=["onClick"],UO={class:"icon has-text-dark"},qO=["textContent"],WO={class:"is-size-7"},GO=vt(" ("),KO=["textContent"],ZO=["textContent"],YO=vt(") ");function JO(e,t,n,r,s,o){const i=P("mdicon"),a=P("modal-dialog-album"),l=P("modal-dialog"),c=ou("lazy");return S(),D(We,null,[(S(!0),D(We,null,Ct(n.albums,d=>(S(),D(We,{key:d.itemId},[!d.isItem&&!n.hide_group_title?(S(),D("div",TO,[u("span",{id:"index_"+d.groupKey,class:"tag is-info is-light is-small has-text-weight-bold",textContent:v(d.groupKey)},null,8,OO)])):d.isItem?(S(),D("div",{key:1,class:"media",onClick:f=>o.open_album(d.item)},[o.is_visible_artwork?(S(),D("div",DO,[u("div",FO,[u("figure",null,[kt(u("img",{album:d.item.name,artist:d.item.artist},null,8,IO),[[c,{src:o.artwork_url_with_size(d.item.artwork_url),lifecycle:s.artwork_options.lazy_lifecycle,delay:500}]])])])])):Q("",!0),u("div",MO,[u("div",LO,[u("h1",{class:"title is-6",textContent:v(d.item.name)},null,8,RO),u("h2",NO,[u("b",{textContent:v(d.item.artist)},null,8,jO)]),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,VO)):Q("",!0)])]),u("div",BO,[u("a",{onClick:_t(f=>o.open_dialog(d.item),["prevent","stop"])},[u("span",UO,[C(i,{name:"dots-vertical",size:"16"})])],8,HO)])],8,PO)):Q("",!0)],64))),128)),(S(),xe(ls,{to:"#app"},[C(a,{show:s.show_details_modal,album:s.selected_album,media_kind:n.media_kind,onRemovePodcast:t[0]||(t[0]=d=>o.open_remove_podcast_dialog()),onPlayCountChanged:t[1]||(t[1]=d=>o.play_count_changed()),onClose:t[2]||(t[2]=d=>s.show_details_modal=!1)},null,8,["show","album","media_kind"]),C(l,{show:s.show_remove_podcast_modal,title:"Remove podcast",delete_action:"Remove",onClose:t[3]||(t[3]=d=>s.show_remove_podcast_modal=!1),onDelete:o.remove_podcast},{"modal-content":O(()=>[u("p",{textContent:v(e.$t("list.albums.info-1"))},null,8,qO),u("p",WO,[GO,u("span",{textContent:v(e.$t("list.albums.info-2"))},null,8,KO),u("b",{textContent:v(s.rss_playlist_to_remove.name)},null,8,ZO),YO])]),_:1},8,["show","onDelete"])]))],64)}var br=ve(AO,[["render",JO]]);const XO={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")})}}},QO={key:0,class:"modal is-active"},e3={class:"modal-content fd-modal-card"},t3={class:"card"},n3={class:"card-content"},r3=["textContent"],s3=["textContent"],o3={key:0,class:"buttons"},i3=["textContent"],a3=["textContent"],l3={class:"content is-small"},u3=["textContent"],c3=["textContent"],d3={key:0},m3=["textContent"],f3=["textContent"],p3={key:1},h3=["textContent"],_3=["textContent"],g3={key:2},y3=["textContent"],v3=["textContent"],b3={key:3},w3=["textContent"],C3=["textContent"],z3={key:4},x3=["textContent"],k3=["textContent"],S3=["textContent"],E3=["textContent"],$3=["textContent"],A3=["textContent"],T3=["textContent"],O3=["textContent"],P3=["textContent"],D3={class:"title is-6"},F3=["textContent"],I3={key:0,class:"has-text-weight-normal"},M3=vt(" ("),L3=["textContent"],R3=vt(", "),N3=["textContent"],j3=vt(") "),V3=["textContent"],B3={class:"title is-6"},H3=["textContent"],U3=["textContent"],q3=["textContent"],W3=["textContent"],G3=["textContent"],K3=["textContent"],Z3=["textContent"],Y3=["textContent"],J3={key:5},X3=["textContent"],Q3=["textContent"],e4={class:"card-footer"},t4={class:"icon"},n4=["textContent"],r4={class:"icon"},s4=["textContent"],o4={class:"icon"},i4=["textContent"];function a4(e,t,n,r,s,o){const i=P("mdicon");return S(),D("div",null,[C(Wt,{name:"fade"},{default:O(()=>[n.show?(S(),D("div",QO,[u("div",{class:"modal-background",onClick:t[0]||(t[0]=a=>e.$emit("close"))}),u("div",e3,[u("div",t3,[u("div",n3,[u("p",{class:"title is-4",textContent:v(n.track.title)},null,8,r3),u("p",{class:"subtitle",textContent:v(n.track.artist)},null,8,s3),n.track.media_kind==="podcast"?(S(),D("div",o3,[n.track.play_count>0?(S(),D("a",{key:0,class:"button is-small",onClick:t[1]||(t[1]=(...a)=>o.mark_new&&o.mark_new(...a)),textContent:v(e.$t("dialog.track.mark-as-new"))},null,8,i3)):Q("",!0),n.track.play_count===0?(S(),D("a",{key:1,class:"button is-small",onClick:t[2]||(t[2]=(...a)=>o.mark_played&&o.mark_played(...a)),textContent:v(e.$t("dialog.track.mark-as-played"))},null,8,a3)):Q("",!0)])):Q("",!0),u("div",l3,[u("p",null,[u("span",{class:"heading",textContent:v(e.$t("dialog.track.album"))},null,8,u3),u("a",{class:"title is-6 has-text-link",onClick:t[3]||(t[3]=(...a)=>o.open_album&&o.open_album(...a)),textContent:v(n.track.album)},null,8,c3)]),n.track.album_artist&&n.track.media_kind!=="audiobook"?(S(),D("p",d3,[u("span",{class:"heading",textContent:v(e.$t("dialog.track.album-artist"))},null,8,m3),u("a",{class:"title is-6 has-text-link",onClick:t[4]||(t[4]=(...a)=>o.open_artist&&o.open_artist(...a)),textContent:v(n.track.album_artist)},null,8,f3)])):Q("",!0),n.track.composer?(S(),D("p",p3,[u("span",{class:"heading",textContent:v(e.$t("dialog.track.composer"))},null,8,h3),u("span",{class:"title is-6",textContent:v(n.track.composer)},null,8,_3)])):Q("",!0),n.track.date_released?(S(),D("p",g3,[u("span",{class:"heading",textContent:v(e.$t("dialog.track.release-date"))},null,8,y3),u("span",{class:"title is-6",textContent:v(e.$filters.date(n.track.date_released))},null,8,v3)])):n.track.year>0?(S(),D("p",b3,[u("span",{class:"heading",textContent:v(e.$t("dialog.track.year"))},null,8,w3),u("span",{class:"title is-6",textContent:v(n.track.year)},null,8,C3)])):Q("",!0),n.track.genre?(S(),D("p",z3,[u("span",{class:"heading",textContent:v(e.$t("dialog.track.genre"))},null,8,x3),u("a",{class:"title is-6 has-text-link",onClick:t[5]||(t[5]=(...a)=>o.open_genre&&o.open_genre(...a)),textContent:v(n.track.genre)},null,8,k3)])):Q("",!0),u("p",null,[u("span",{class:"heading",textContent:v(e.$t("dialog.track.position"))},null,8,S3),u("span",{class:"title is-6",textContent:v([n.track.disc_number,n.track.track_number].join(" / "))},null,8,E3)]),u("p",null,[u("span",{class:"heading",textContent:v(e.$t("dialog.track.duration"))},null,8,$3),u("span",{class:"title is-6",textContent:v(e.$filters.durationInHours(n.track.length_ms))},null,8,A3)]),u("p",null,[u("span",{class:"heading",textContent:v(e.$t("dialog.track.path"))},null,8,T3),u("span",{class:"title is-6",textContent:v(n.track.path)},null,8,O3)]),u("p",null,[u("span",{class:"heading",textContent:v(e.$t("dialog.track.type"))},null,8,P3),u("span",D3,[u("span",{textContent:v([e.$t("media.kind."+n.track.media_kind),e.$t("data.kind."+n.track.data_kind)].join(" - "))},null,8,F3),n.track.data_kind==="spotify"?(S(),D("span",I3,[M3,u("a",{onClick:t[6]||(t[6]=(...a)=>o.open_spotify_artist&&o.open_spotify_artist(...a)),textContent:v(e.$t("dialog.track.spotify-artist"))},null,8,L3),R3,u("a",{onClick:t[7]||(t[7]=(...a)=>o.open_spotify_album&&o.open_spotify_album(...a)),textContent:v(e.$t("dialog.track.spotify-album"))},null,8,N3),j3])):Q("",!0)])]),u("p",null,[u("span",{class:"heading",textContent:v(e.$t("dialog.track.quality"))},null,8,V3),u("span",B3,[u("span",{textContent:v(n.track.type)},null,8,H3),n.track.samplerate?(S(),D("span",{key:0,textContent:v(e.$t("dialog.track.samplerate",{rate:n.track.samplerate}))},null,8,U3)):Q("",!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,q3)):Q("",!0),n.track.bitrate?(S(),D("span",{key:2,textContent:v(e.$t("dialog.track.bitrate",{rate:n.track.bitrate}))},null,8,W3)):Q("",!0)])]),u("p",null,[u("span",{class:"heading",textContent:v(e.$t("dialog.track.added-on"))},null,8,G3),u("span",{class:"title is-6",textContent:v(e.$filters.datetime(n.track.time_added))},null,8,K3)]),u("p",null,[u("span",{class:"heading",textContent:v(e.$t("dialog.track.rating"))},null,8,Z3),u("span",{class:"title is-6",textContent:v(e.$t("dialog.track.rating-value",{rating:Math.floor(n.track.rating/10)}))},null,8,Y3)]),n.track.comment?(S(),D("p",J3,[u("span",{class:"heading",textContent:v(e.$t("dialog.track.comment"))},null,8,X3),u("span",{class:"title is-6",textContent:v(n.track.comment)},null,8,Q3)])):Q("",!0)])]),u("footer",e4,[u("a",{class:"card-footer-item has-text-dark",onClick:t[8]||(t[8]=(...a)=>o.queue_add&&o.queue_add(...a))},[u("span",t4,[C(i,{name:"playlist-plus",size:"16"})]),u("span",{class:"is-size-7",textContent:v(e.$t("dialog.track.add"))},null,8,n4)]),u("a",{class:"card-footer-item has-text-dark",onClick:t[9]||(t[9]=(...a)=>o.queue_add_next&&o.queue_add_next(...a))},[u("span",r4,[C(i,{name:"playlist-play",size:"16"})]),u("span",{class:"is-size-7",textContent:v(e.$t("dialog.track.add-next"))},null,8,s4)]),u("a",{class:"card-footer-item has-text-dark",onClick:t[10]||(t[10]=(...a)=>o.play_track&&o.play_track(...a))},[u("span",o4,[C(i,{name:"play",size:"16"})]),u("span",{class:"is-size-7",textContent:v(e.$t("dialog.track.play"))},null,8,i4)])])])]),u("button",{class:"modal-close is-large","aria-label":"close",onClick:t[11]||(t[11]=a=>e.$emit("close"))})])):Q("",!0)]),_:1})])}var l4=ve(XO,[["render",a4]]);const u4={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 c4(e,t,n,r,s,o){return o.width>0?(S(),D("div",{key:0,class:"progress-bar mt-2",style:as({width:o.width_percent})},null,4)):Q("",!0)}var d4=ve(u4,[["render",c4]]);const m4={name:"ListTracks",components:{ModalDialogTrack:l4,ProgressBar:d4},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}}},f4=["id","onClick"],p4={key:0,class:"media-left fd-has-action"},h4={class:"icon"},_4={class:"media-content fd-has-action is-clipped"},g4=["textContent"],y4=["textContent"],v4=["textContent"],b4={class:"media-right"},w4=["onClick"],C4={class:"icon has-text-dark"};function z4(e,t,n,r,s,o){const i=P("mdicon"),a=P("progress-bar"),l=P("modal-dialog-track");return S(),D(We,null,[(S(!0),D(We,null,Ct(n.tracks,(c,d)=>(S(),D("div",{id:"index_"+c.title_sort.charAt(0).toUpperCase(),key:c.id,class:Ze(["media",{"with-progress":n.show_progress}]),onClick:f=>o.play_track(d,c)},[n.show_icon?(S(),D("figure",p4,[u("span",h4,[C(i,{name:"file-outline",size:"16"})])])):Q("",!0),u("div",_4,[u("h1",{class:Ze(["title is-6",{"has-text-grey":c.media_kind==="podcast"&&c.play_count>0}]),textContent:v(c.title)},null,10,g4),u("h2",{class:"subtitle is-7 has-text-grey",textContent:v(c.artist)},null,8,y4),u("h2",{class:"subtitle is-7 has-text-grey",textContent:v(c.album)},null,8,v4),n.show_progress?(S(),xe(a,{key:0,max:c.length_ms,value:c.seek_ms},null,8,["max","value"])):Q("",!0)]),u("div",b4,[u("a",{onClick:_t(f=>o.open_dialog(c),["prevent","stop"])},[u("span",C4,[C(i,{name:"dots-vertical",size:"16"})])],8,w4)])],10,f4))),128)),(S(),xe(ls,{to:"#app"},[C(l,{show:s.show_details_modal,track:s.selected_track,onClose:t[0]||(t[0]=c=>s.show_details_modal=!1),onPlayCountChanged:t[1]||(t[1]=c=>e.$emit("play-count-changed"))},null,8,["show","track"])]))],64)}var Nn=ve(m4,[["render",z4]]);const{t:gc,locale:Lm}=Wi.global,Zv="GROUP_KEY_NONE";function Yv(){return{compareFn:null,groupKeyFn:e=>Zv}}function Po(e,t="_"){return{compareFn:null,groupKeyFn:n=>(n[e]||t).charAt(0).toUpperCase()}}function Jv(e,t="_"){return{compareFn:(n,r)=>{const s=n[e]||t,o=r[e]||t;return s.localeCompare(o,Lm.value)},groupKeyFn:n=>(n[e]||t).charAt(0).toUpperCase()}}function Rl(e,{direction:t="asc",defaultValue:n="0000"}){return{compareFn:(r,s)=>{const o=r[e]||n,i=s[e]||n,a=o.localeCompare(i,Lm.value);return t==="asc"?a:a*-1},groupKeyFn:r=>(r[e]||n).substring(0,4)}}function x4(e,t="0000"){return{compareFn:(n,r)=>{const s=n[e]||t;return(r[e]||t).localeCompare(s,Lm.value)},groupKeyFn:n=>{const r=n[e];if(!r)return t;const s=new Date().getTime()-new Date(r).getTime();return s<864e5?gc("group-by-list.today"):s<6048e5?gc("group-by-list.last-week"):s<2592e6?gc("group-by-list.last-month"):r.substring(0,4)}}}class st{constructor({items:t=[],total:n=0,offset:r=0,limit:s=-1}={}){this.items=t,this.total=n,this.offset=r,this.limit=s,this.count=t.length,this.indexList=[],this.group(Yv())}get(){return this.itemsByGroup}isEmpty(){return!this.items||this.items.length<=0}group(t,n=[]){const r=n?this.items.filter(o=>n.every(i=>i(o))):this.items;this.count=r.length;let s=t.compareFn?[...r].sort(t.compareFn):r;this.indexList=[...new Set(s.map(t.groupKeyFn))],this.itemsByGroup=s.reduce((o,i)=>{const a=t.groupKeyFn(i);return o[a]=[...o[a]||[],i],o},{})}[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]!==Zv))return{value:{groupKey:this.indexList[t],itemId:this.indexList[t],isItem:!1,item:{}},done:!1};let r=this.indexList[t],s=this.itemsByGroup[r];if(n<s.length){const o=this.itemsByGroup[r][n++];return{value:{groupKey:r,itemId:o.id,isItem:!0,item:o},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 ka={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 st(t[0].data.albums),e.recently_played=t[1].data.tracks}},k4={name:"PageBrowse",components:{ContentWithHeading:pt,TabsMusic:vr,ListAlbums:br,ListTracks:Nn},beforeRouteEnter(e,t,n){ka.load(e).then(r=>{n(s=>ka.set(s,r))})},beforeRouteUpdate(e,t,n){const r=this;ka.load(e).then(s=>{ka.set(r,s),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})}}},S4={class:"fd-page-with-tabs"},E4=["textContent"],$4=["textContent"],A4={class:"level"},T4={class:"level-item"},O4=["textContent"],P4=["textContent"],D4=["textContent"],F4={class:"level"},I4={class:"level-item"},M4=["textContent"];function L4(e,t,n,r,s,o){const i=P("tabs-music"),a=P("list-albums"),l=P("content-with-heading"),c=P("list-tracks");return S(),D("div",S4,[C(i),C(l,null,{"heading-left":O(()=>[u("p",{class:"title is-4",textContent:v(e.$t("page.browse.recently-added.title"))},null,8,E4),u("p",{class:"heading",textContent:v(e.$t("page.browse.albums"))},null,8,$4)]),content:O(()=>[C(a,{albums:s.recently_added},null,8,["albums"])]),footer:O(()=>[u("nav",A4,[u("p",T4,[u("a",{class:"button is-light is-small is-rounded",onClick:t[0]||(t[0]=d=>o.open_browse("recently_added")),textContent:v(e.$t("page.browse.show-more"))},null,8,O4)])])]),_:1}),C(l,null,{"heading-left":O(()=>[u("p",{class:"title is-4",textContent:v(e.$t("page.browse.recently-played.title"))},null,8,P4),u("p",{class:"heading",textContent:v(e.$t("page.browse.tracks"))},null,8,D4)]),content:O(()=>[C(c,{tracks:s.recently_played.items},null,8,["tracks"])]),footer:O(()=>[u("nav",F4,[u("p",I4,[u("a",{class:"button is-light is-small is-rounded",onClick:t[1]||(t[1]=d=>o.open_browse("recently_played")),textContent:v(e.$t("page.browse.show-more"))},null,8,M4)])])]),_:1})])}var R4=ve(k4,[["render",L4]]);const Sa={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 st(t.data.albums),e.recently_added.group(x4("time_added",{direction:"desc",defaultValue:"0000"}))}},N4={name:"PageBrowseType",components:{ContentWithHeading:pt,TabsMusic:vr,ListAlbums:br},beforeRouteEnter(e,t,n){Sa.load(e).then(r=>{n(s=>Sa.set(s,r))})},beforeRouteUpdate(e,t,n){if(!this.recently_added.isEmpty()){n();return}const r=this;Sa.load(e).then(s=>{Sa.set(r,s),n()})},data(){return{recently_added:new st}}},j4={class:"fd-page-with-tabs"},V4=["textContent"],B4=["textContent"];function H4(e,t,n,r,s,o){const i=P("tabs-music"),a=P("list-albums"),l=P("content-with-heading");return S(),D("div",j4,[C(i),C(l,null,{"heading-left":O(()=>[u("p",{class:"title is-4",textContent:v(e.$t("page.browse.recently-added.title"))},null,8,V4),u("p",{class:"heading",textContent:v(e.$t("page.browse.recently-added.albums"))},null,8,B4)]),content:O(()=>[C(a,{albums:s.recently_added},null,8,["albums"])]),_:1})])}var U4=ve(N4,[["render",H4]]);const Ea={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=t.data.tracks}},q4={name:"PageBrowseType",components:{ContentWithHeading:pt,TabsMusic:vr,ListTracks:Nn},beforeRouteEnter(e,t,n){Ea.load(e).then(r=>{n(s=>Ea.set(s,r))})},beforeRouteUpdate(e,t,n){const r=this;Ea.load(e).then(s=>{Ea.set(r,s),n()})},data(){return{recently_played:{}}}},W4={class:"fd-page-with-tabs"},G4=["textContent"],K4=["textContent"];function Z4(e,t,n,r,s,o){const i=P("tabs-music"),a=P("list-tracks"),l=P("content-with-heading");return S(),D("div",W4,[C(i),C(l,null,{"heading-left":O(()=>[u("p",{class:"title is-4",textContent:v(e.$t("page.browse.recently-played.title"))},null,8,G4),u("p",{class:"heading",textContent:v(e.$t("page.browse.recently-played.tracks"))},null,8,K4)]),content:O(()=>[C(a,{tracks:s.recently_played.items},null,8,["tracks"])]),_:1})])}var Y4=ve(q4,[["render",Z4]]);const J4={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"})}}},X4={class:"buttons is-centered fd-is-square",style:{"margin-bottom":"16px"}},Q4=["onClick","textContent"];function e5(e,t,n,r,s,o){return S(),D("section",null,[u("nav",X4,[(S(!0),D(We,null,Ct(o.filtered_index,i=>(S(),D("a",{key:i,class:"button is-small",onClick:a=>o.nav(i),textContent:v(i)},null,8,Q4))),128))])])}var Ir=ve(J4,[["render",e5]]);const t5={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})}}},n5={key:0,class:"modal is-active"},r5={class:"modal-content fd-modal-card"},s5={class:"card"},o5={class:"card-content"},i5={class:"title is-4"},a5=["textContent"],l5={class:"content is-small"},u5=["textContent"],c5=["textContent"],d5=["textContent"],m5=["textContent"],f5=["textContent"],p5=["textContent"],h5=["textContent"],_5=["textContent"],g5={class:"card-footer"},y5={class:"icon"},v5=["textContent"],b5={class:"icon"},w5=["textContent"],C5={class:"icon"},z5=["textContent"];function x5(e,t,n,r,s,o){const i=P("mdicon");return S(),D("div",null,[C(Wt,{name:"fade"},{default:O(()=>[n.show?(S(),D("div",n5,[u("div",{class:"modal-background",onClick:t[0]||(t[0]=a=>e.$emit("close"))}),u("div",r5,[u("div",s5,[u("div",o5,[u("p",i5,[u("a",{class:"has-text-link",onClick:t[1]||(t[1]=(...a)=>o.open_artist&&o.open_artist(...a)),textContent:v(n.artist.name)},null,8,a5)]),u("div",l5,[u("p",null,[u("span",{class:"heading",textContent:v(e.$t("dialog.artist.albums"))},null,8,u5),u("span",{class:"title is-6",textContent:v(n.artist.album_count)},null,8,c5)]),u("p",null,[u("span",{class:"heading",textContent:v(e.$t("dialog.artist.tracks"))},null,8,d5),u("span",{class:"title is-6",textContent:v(n.artist.track_count)},null,8,m5)]),u("p",null,[u("span",{class:"heading",textContent:v(e.$t("dialog.artist.type"))},null,8,f5),u("span",{class:"title is-6",textContent:v(e.$t("data.kind."+n.artist.data_kind))},null,8,p5)]),u("p",null,[u("span",{class:"heading",textContent:v(e.$t("dialog.artist.added-on"))},null,8,h5),u("span",{class:"title is-6",textContent:v(e.$filters.datetime(n.artist.time_added))},null,8,_5)])])]),u("footer",g5,[u("a",{class:"card-footer-item has-text-dark",onClick:t[2]||(t[2]=(...a)=>o.queue_add&&o.queue_add(...a))},[u("span",y5,[C(i,{name:"playlist-plus",size:"16"})]),u("span",{class:"is-size-7",textContent:v(e.$t("dialog.artist.add"))},null,8,v5)]),u("a",{class:"card-footer-item has-text-dark",onClick:t[3]||(t[3]=(...a)=>o.queue_add_next&&o.queue_add_next(...a))},[u("span",b5,[C(i,{name:"playlist-play",size:"16"})]),u("span",{class:"is-size-7",textContent:v(e.$t("dialog.artist.add-next"))},null,8,w5)]),u("a",{class:"card-footer-item has-text-dark",onClick:t[4]||(t[4]=(...a)=>o.play&&o.play(...a))},[u("span",C5,[C(i,{name:"play",size:"16"})]),u("span",{class:"is-size-7",textContent:v(e.$t("dialog.artist.play"))},null,8,z5)])])])]),u("button",{class:"modal-close is-large","aria-label":"close",onClick:t[5]||(t[5]=a=>e.$emit("close"))})])):Q("",!0)]),_:1})])}var wu=ve(t5,[["render",x5]]);const k5={name:"ListArtists",components:{ModalDialogArtist:wu},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}}},S5={key:0,class:"mt-6 mb-5 py-2"},E5={class:"media-content is-clipped"},$5=["id","textContent"],A5=["onClick"],T5={class:"media-content fd-has-action is-clipped"},O5=["textContent"],P5={class:"media-right"},D5=["onClick"],F5={class:"icon has-text-dark"};function I5(e,t,n,r,s,o){const i=P("mdicon"),a=P("modal-dialog-artist");return S(),D(We,null,[(S(!0),D(We,null,Ct(n.artists,l=>(S(),D(We,{key:l.itemId},[!l.isItem&&!n.hide_group_title?(S(),D("div",S5,[u("div",E5,[u("span",{id:"index_"+l.groupKey,class:"tag is-info is-light is-small has-text-weight-bold",textContent:v(l.groupKey)},null,8,$5)])])):l.isItem?(S(),D("div",{key:1,class:"media",onClick:c=>o.open_artist(l.item)},[u("div",T5,[u("h1",{class:"title is-6",textContent:v(l.item.name)},null,8,O5)]),u("div",P5,[u("a",{onClick:_t(c=>o.open_dialog(l.item),["prevent","stop"])},[u("span",F5,[C(i,{name:"dots-vertical",size:"16"})])],8,D5)])],8,A5)):Q("",!0)],64))),128)),(S(),xe(ls,{to:"#app"},[C(a,{show:s.show_details_modal,artist:s.selected_artist,media_kind:n.media_kind,onClose:t[0]||(t[0]=l=>s.show_details_modal=!1)},null,8,["show","artist","media_kind"])]))],64)}var Rm=ve(k5,[["render",I5]]);const M5={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)}}},L5={class:"dropdown-trigger"},R5=["textContent"],N5={class:"icon"},j5={id:"dropdown-menu",class:"dropdown-menu",role:"menu"},V5={class:"dropdown-content"},B5=["onClick","textContent"];function H5(e,t,n,r,s,o){const i=P("mdicon"),a=ou("click-away");return kt((S(),D("div",{class:Ze(["dropdown",{"is-active":s.is_active}])},[u("div",L5,[u("button",{class:"button","aria-haspopup":"true","aria-controls":"dropdown-menu",onClick:t[0]||(t[0]=l=>s.is_active=!s.is_active)},[u("span",{textContent:v(o.option.name)},null,8,R5),u("span",N5,[C(i,{name:"chevron-down",size:"16"})])])]),u("div",j5,[u("div",V5,[(S(!0),D(We,null,Ct(n.options,l=>(S(),D("a",{key:l.id,class:Ze(["dropdown-item",{"is-active":n.modelValue===l.id}]),onClick:c=>o.select(l),textContent:v(l.name)},null,10,B5))),128))])])],2)),[[a,o.onClickOutside]])}var Cu=ve(M5,[["render",H5]]);const $a={load:function(e){return Z.library_artists("music")},set:function(e,t){e.artists_list=new st(t.data)}},U5={name:"PageArtists",components:{ContentWithHeading:pt,TabsMusic:vr,IndexButtonList:Ir,ListArtists:Rm,DropdownMenu:Cu},beforeRouteEnter(e,t,n){$a.load(e).then(r=>{n(s=>$a.set(s,r))})},beforeRouteUpdate(e,t,n){if(!this.artists_list.isEmpty()){n();return}const r=this;$a.load(e).then(s=>{$a.set(r,s),n()})},data(){return{artists_list:new st,groupby_options:[{id:1,name:this.$t("page.artists.sort-by.name"),options:Po("name_sort")},{id:2,name:this.$t("page.artists.sort-by.recently-added"),options:Rl("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(hy,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(fu,e)}},hide_spotify:{get(){return this.$store.state.hide_spotify},set(e){this.$store.commit(_m,e)}}},methods:{}},q5={class:"fd-page-with-tabs"},W5={class:"columns"},G5={class:"column"},K5=["textContent"],Z5={class:"field"},Y5={class:"control"},J5=["textContent"],X5=["textContent"],Q5={key:0,class:"field"},eP={class:"control"},tP=["textContent"],nP=["textContent"],rP={class:"column"},sP=["textContent"],oP=["textContent"],iP=["textContent"];function aP(e,t,n,r,s,o){const i=P("tabs-music"),a=P("index-button-list"),l=P("dropdown-menu"),c=P("list-artists"),d=P("content-with-heading");return S(),D("div",q5,[C(i),C(d,null,{options:O(()=>[C(a,{index:o.artists.indexList},null,8,["index"]),u("div",W5,[u("div",G5,[u("p",{class:"heading",style:{"margin-bottom":"24px"},textContent:v(e.$t("page.artists.filter"))},null,8,K5),u("div",Z5,[u("div",Y5,[kt(u("input",{id:"switchHideSingles","onUpdate:modelValue":t[0]||(t[0]=f=>o.hide_singles=f),type:"checkbox",name:"switchHideSingles",class:"switch"},null,512),[[Ar,o.hide_singles]]),u("label",{for:"switchHideSingles",textContent:v(e.$t("page.artists.hide-singles"))},null,8,J5)]),u("p",{class:"help",textContent:v(e.$t("page.artists.hide-singles-help"))},null,8,X5)]),o.spotify_enabled?(S(),D("div",Q5,[u("div",eP,[kt(u("input",{id:"switchHideSpotify","onUpdate:modelValue":t[1]||(t[1]=f=>o.hide_spotify=f),type:"checkbox",name:"switchHideSpotify",class:"switch"},null,512),[[Ar,o.hide_spotify]]),u("label",{for:"switchHideSpotify",textContent:v(e.$t("page.artists.hide-spotify"))},null,8,tP)]),u("p",{class:"help",textContent:v(e.$t("page.artists.hide-spotify-help"))},null,8,nP)])):Q("",!0)]),u("div",rP,[u("p",{class:"heading",style:{"margin-bottom":"24px"},textContent:v(e.$t("page.artists.sort-by.title"))},null,8,sP),C(l,{modelValue:o.selected_groupby_option_id,"onUpdate:modelValue":t[2]||(t[2]=f=>o.selected_groupby_option_id=f),options:s.groupby_options},null,8,["modelValue","options"])])])]),"heading-left":O(()=>[u("p",{class:"title is-4",textContent:v(e.$t("page.artists.title"))},null,8,oP),u("p",{class:"heading",textContent:v(e.$t("page.artists.count",{count:o.artists.count}))},null,8,iP)]),"heading-right":O(()=>[]),content:O(()=>[C(c,{artists:o.artists},null,8,["artists"])]),_:1})])}var lP=ve(U5,[["render",aP]]);const Aa={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 st(t[1].data)}},uP={name:"PageArtist",components:{ContentWithHeading:pt,ListAlbums:br,ModalDialogArtist:wu,DropdownMenu:Cu},beforeRouteEnter(e,t,n){Aa.load(e).then(r=>{n(s=>Aa.set(s,r))})},beforeRouteUpdate(e,t,n){const r=this;Aa.load(e).then(s=>{Aa.set(r,s),n()})},data(){return{artist:{},albums_list:new st,groupby_options:[{id:1,name:this.$t("page.artist.sort-by.name"),options:Po("name_sort")},{id:2,name:this.$t("page.artist.sort-by.release-date"),options:Rl("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(_y,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)}}},cP={class:"columns"},dP={class:"column"},mP=["textContent"],fP=["textContent"],pP={class:"buttons is-centered"},hP={class:"icon"},_P={class:"icon"},gP=["textContent"],yP={class:"heading has-text-centered-mobile"},vP=["textContent"],bP=u("span",null,"\xA0|\xA0",-1),wP=["textContent"];function CP(e,t,n,r,s,o){const i=P("dropdown-menu"),a=P("mdicon"),l=P("list-albums"),c=P("modal-dialog-artist"),d=P("content-with-heading");return S(),xe(d,null,{options:O(()=>[u("div",cP,[u("div",dP,[u("p",{class:"heading",style:{"margin-bottom":"24px"},textContent:v(e.$t("page.artist.sort-by.title"))},null,8,mP),C(i,{modelValue:o.selected_groupby_option_id,"onUpdate:modelValue":t[0]||(t[0]=f=>o.selected_groupby_option_id=f),options:s.groupby_options},null,8,["modelValue","options"])])])]),"heading-left":O(()=>[u("p",{class:"title is-4",textContent:v(s.artist.name)},null,8,fP)]),"heading-right":O(()=>[u("div",pP,[u("a",{class:"button is-small is-light is-rounded",onClick:t[1]||(t[1]=f=>s.show_artist_details_modal=!0)},[u("span",hP,[C(a,{name:"dots-horizontal",size:"16"})])]),u("a",{class:"button is-small is-dark is-rounded",onClick:t[2]||(t[2]=(...f)=>o.play&&o.play(...f))},[u("span",_P,[C(a,{name:"shuffle",size:"16"})]),u("span",{textContent:v(e.$t("page.artist.shuffle"))},null,8,gP)])])]),content:O(()=>[u("p",yP,[u("span",{textContent:v(e.$t("page.artist.album-count",{count:s.artist.album_count}))},null,8,vP),bP,u("a",{class:"has-text-link",onClick:t[3]||(t[3]=(...f)=>o.open_tracks&&o.open_tracks(...f)),textContent:v(e.$t("page.artist.track-count",{count:s.artist.track_count}))},null,8,wP)]),C(l,{albums:o.albums,hide_group_title:!0},null,8,["albums"]),C(c,{show:s.show_artist_details_modal,artist:s.artist,onClose:t[4]||(t[4]=f=>s.show_artist_details_modal=!1)},null,8,["show","artist"])]),_:1})}var zP=ve(uP,[["render",CP]]);const Ta={load:function(e){return Z.library_albums("music")},set:function(e,t){e.albums_list=new st(t.data)}},xP={name:"PageAlbums",components:{ContentWithHeading:pt,TabsMusic:vr,IndexButtonList:Ir,ListAlbums:br,DropdownMenu:Cu},beforeRouteEnter(e,t,n){Ta.load(e).then(r=>{n(s=>Ta.set(s,r))})},beforeRouteUpdate(e,t,n){if(!this.albums_list.isEmpty()){n();return}const r=this;Ta.load(e).then(s=>{Ta.set(r,s),n()})},data(){return{albums_list:new st,groupby_options:[{id:1,name:this.$t("page.albums.sort-by.name"),options:Po("name_sort")},{id:2,name:this.$t("page.albums.sort-by.recently-added"),options:Rl("time_added",{direction:"desc",defaultValue:"0000"})},{id:3,name:this.$t("page.albums.sort-by.recently-released"),options:Rl("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(gy,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(fu,e)}},hide_spotify:{get(){return this.$store.state.hide_spotify},set(e){this.$store.commit(_m,e)}}},methods:{scrollToTop:function(){window.scrollTo({top:0,behavior:"smooth"})}}},kP={class:"fd-page-with-tabs"},SP={class:"columns"},EP={class:"column"},$P=["textContent"],AP={class:"field"},TP={class:"control"},OP=["textContent"],PP=["textContent"],DP={key:0,class:"field"},FP={class:"control"},IP=["textContent"],MP=["textContent"],LP={class:"column"},RP=["textContent"],NP=["textContent"],jP=["textContent"];function VP(e,t,n,r,s,o){const i=P("tabs-music"),a=P("index-button-list"),l=P("dropdown-menu"),c=P("list-albums"),d=P("content-with-heading");return S(),D("div",kP,[C(i),C(d,null,{options:O(()=>[C(a,{index:o.albums.indexList},null,8,["index"]),u("div",SP,[u("div",EP,[u("p",{class:"heading",style:{"margin-bottom":"24px"},textContent:v(e.$t("page.albums.filter"))},null,8,$P),u("div",AP,[u("div",TP,[kt(u("input",{id:"switchHideSingles","onUpdate:modelValue":t[0]||(t[0]=f=>o.hide_singles=f),type:"checkbox",name:"switchHideSingles",class:"switch"},null,512),[[Ar,o.hide_singles]]),u("label",{for:"switchHideSingles",textContent:v(e.$t("page.albums.hide-singles"))},null,8,OP)]),u("p",{class:"help",textContent:v(e.$t("page.albums.hide-singles-help"))},null,8,PP)]),o.spotify_enabled?(S(),D("div",DP,[u("div",FP,[kt(u("input",{id:"switchHideSpotify","onUpdate:modelValue":t[1]||(t[1]=f=>o.hide_spotify=f),type:"checkbox",name:"switchHideSpotify",class:"switch"},null,512),[[Ar,o.hide_spotify]]),u("label",{for:"switchHideSpotify",textContent:v(e.$t("page.albums.hide-spotify"))},null,8,IP)]),u("p",{class:"help",textContent:v(e.$t("page.albums.hide-spotify-help"))},null,8,MP)])):Q("",!0)]),u("div",LP,[u("p",{class:"heading",style:{"margin-bottom":"24px"},textContent:v(e.$t("page.albums.sort-by.title"))},null,8,RP),C(l,{modelValue:o.selected_groupby_option_id,"onUpdate:modelValue":t[2]||(t[2]=f=>o.selected_groupby_option_id=f),options:s.groupby_options},null,8,["modelValue","options"])])])]),"heading-left":O(()=>[u("p",{class:"title is-4",textContent:v(e.$t("page.albums.title"))},null,8,NP),u("p",{class:"heading",textContent:v(e.$t("page.albums.count",{count:o.albums.count}))},null,8,jP)]),"heading-right":O(()=>[]),content:O(()=>[C(c,{albums:o.albums},null,8,["albums"])]),_:1})])}var BP=ve(xP,[["render",VP]]);const HP={},UP={class:"hero is-light is-bold fd-content"},qP={class:"hero-body"},WP={class:"container"},GP={class:"columns is-centered"},KP={class:"column is-four-fifths"},ZP={class:"columns",style:{"flex-direction":"row-reverse"}},YP={class:"column fd-has-cover"},JP={class:"column is-three-fifths has-text-centered-mobile",style:{margin:"auto 0"}},XP={class:"section fd-content"},QP={class:"container"},eD={class:"columns is-centered"},tD={class:"column is-four-fifths"},nD={style:{"margin-top":"16px"}};function rD(e,t){return S(),D("div",null,[u("section",UP,[u("div",qP,[u("div",WP,[u("div",GP,[u("div",KP,[u("div",ZP,[u("div",YP,[xt(e.$slots,"heading-right")]),u("div",JP,[xt(e.$slots,"heading-left")])])])])])])]),u("section",XP,[u("div",QP,[u("div",eD,[u("div",tD,[xt(e.$slots,"content"),u("div",nD,[xt(e.$slots,"footer")])])])])])])}var Nm=ve(HP,[["render",rD]]);const Oa={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=t[1].data.items}},sD={name:"PageAlbum",components:{ContentWithHero:Nm,ListTracks:Nn,ModalDialogAlbum:bu,CoverArtwork:Fr},beforeRouteEnter(e,t,n){Oa.load(e).then(r=>{n(s=>Oa.set(s,r))})},beforeRouteUpdate(e,t,n){const r=this;Oa.load(e).then(s=>{Oa.set(r,s),n()})},data(){return{album:{},tracks:[],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)}}},oD=["textContent"],iD={class:"subtitle is-6 has-text-link has-text-weight-normal"},aD=["textContent"],lD={class:"buttons fd-is-centered-mobile fd-has-margin-top"},uD={class:"icon"},cD=["textContent"],dD={class:"icon"},mD={class:"image is-square fd-has-shadow fd-has-action"},fD=["textContent"];function pD(e,t,n,r,s,o){const i=P("mdicon"),a=P("cover-artwork"),l=P("list-tracks"),c=P("modal-dialog-album"),d=P("content-with-hero");return S(),xe(d,null,{"heading-left":O(()=>[u("h1",{class:"title is-5",textContent:v(s.album.name)},null,8,oD),u("h2",iD,[u("a",{class:"has-text-link",onClick:t[0]||(t[0]=(...f)=>o.open_artist&&o.open_artist(...f)),textContent:v(s.album.artist)},null,8,aD)]),u("div",lD,[u("a",{class:"button is-small is-dark is-rounded",onClick:t[1]||(t[1]=(...f)=>o.play&&o.play(...f))},[u("span",uD,[C(i,{name:"shuffle",size:"16"})]),u("span",{textContent:v(e.$t("page.album.shuffle"))},null,8,cD)]),u("a",{class:"button is-small is-light is-rounded",onClick:t[2]||(t[2]=f=>s.show_album_details_modal=!0)},[u("span",dD,[C(i,{name:"dots-horizontal",size:"16"})])])])]),"heading-right":O(()=>[u("p",mD,[C(a,{artwork_url:s.album.artwork_url,artist:s.album.artist,album:s.album.name,onClick:t[3]||(t[3]=f=>s.show_album_details_modal=!0)},null,8,["artwork_url","artist","album"])])]),content:O(()=>[u("p",{class:"heading is-7 has-text-centered-mobile fd-has-margin-top",textContent:v(e.$t("page.album.track-count",{count:s.album.track_count}))},null,8,fD),C(l,{tracks:s.tracks,uris:s.album.uri},null,8,["tracks","uris"]),C(c,{show:s.show_album_details_modal,album:s.album,onClose:t[4]||(t[4]=f=>s.show_album_details_modal=!1)},null,8,["show","album"])]),_:1})}var hD=ve(sD,[["render",pD]]);const _D={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}})}}},gD={key:0,class:"modal is-active"},yD={class:"modal-content fd-modal-card"},vD={class:"card"},bD={class:"card-content"},wD={class:"title is-4"},CD=["textContent"],zD={class:"content is-small"},xD=["textContent"],kD=["textContent"],SD=["textContent"],ED=["textContent"],$D=["textContent"],AD=["textContent"],TD={class:"card-footer"},OD={class:"icon"},PD=["textContent"],DD={class:"icon"},FD=["textContent"],ID={class:"icon"},MD=["textContent"];function LD(e,t,n,r,s,o){const i=P("mdicon");return S(),D("div",null,[C(Wt,{name:"fade"},{default:O(()=>[n.show?(S(),D("div",gD,[u("div",{class:"modal-background",onClick:t[0]||(t[0]=a=>e.$emit("close"))}),u("div",yD,[u("div",vD,[u("div",bD,[u("p",wD,[u("a",{class:"has-text-link",onClick:t[1]||(t[1]=(...a)=>o.open_genre&&o.open_genre(...a)),textContent:v(n.genre.name)},null,8,CD)]),u("div",zD,[u("p",null,[u("span",{class:"heading",textContent:v(e.$t("dialog.genre.albums"))},null,8,xD),u("span",{class:"title is-6",textContent:v(n.genre.album_count)},null,8,kD)]),u("p",null,[u("span",{class:"heading",textContent:v(e.$t("dialog.genre.tracks"))},null,8,SD),u("span",{class:"title is-6",textContent:v(n.genre.track_count)},null,8,ED)]),u("p",null,[u("span",{class:"heading",textContent:v(e.$t("dialog.genre.duration"))},null,8,$D),u("span",{class:"title is-6",textContent:v(e.$filters.durationInHours(n.genre.length_ms))},null,8,AD)])])]),u("footer",TD,[u("a",{class:"card-footer-item has-text-dark",onClick:t[2]||(t[2]=(...a)=>o.queue_add&&o.queue_add(...a))},[u("span",OD,[C(i,{name:"playlist-plus",size:"16"})]),u("span",{class:"is-size-7",textContent:v(e.$t("dialog.genre.add"))},null,8,PD)]),u("a",{class:"card-footer-item has-text-dark",onClick:t[3]||(t[3]=(...a)=>o.queue_add_next&&o.queue_add_next(...a))},[u("span",DD,[C(i,{name:"playlist-play",size:"16"})]),u("span",{class:"is-size-7",textContent:v(e.$t("dialog.genre.add-next"))},null,8,FD)]),u("a",{class:"card-footer-item has-text-dark",onClick:t[4]||(t[4]=(...a)=>o.play&&o.play(...a))},[u("span",ID,[C(i,{name:"play",size:"16"})]),u("span",{class:"is-size-7",textContent:v(e.$t("dialog.genre.play"))},null,8,MD)])])])]),u("button",{class:"modal-close is-large","aria-label":"close",onClick:t[5]||(t[5]=a=>e.$emit("close"))})])):Q("",!0)]),_:1})])}var jm=ve(_D,[["render",LD]]);const RD={name:"ListGenres",components:{ModalDialogGenre:jm},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}}},ND={key:0,class:"mt-6 mb-5 py-2"},jD={class:"media-content is-clipped"},VD=["id","textContent"],BD=["onClick"],HD={class:"media-content fd-has-action is-clipped"},UD=["textContent"],qD={class:"media-right"},WD=["onClick"],GD={class:"icon has-text-dark"};function KD(e,t,n,r,s,o){const i=P("mdicon"),a=P("modal-dialog-genre");return S(),D(We,null,[(S(!0),D(We,null,Ct(n.genres,l=>(S(),D(We,{key:l.itemId},[!l.isItem&&!n.hide_group_title?(S(),D("div",ND,[u("div",jD,[u("span",{id:"index_"+l.groupKey,class:"tag is-info is-light is-small has-text-weight-bold",textContent:v(l.groupKey)},null,8,VD)])])):l.isItem?(S(),D("div",{key:1,class:"media",onClick:c=>o.open_genre(l.item)},[u("div",HD,[u("h1",{class:"title is-6",textContent:v(l.item.name)},null,8,UD)]),u("div",qD,[u("a",{onClick:_t(c=>o.open_dialog(l.item),["prevent","stop"])},[u("span",GD,[C(i,{name:"dots-vertical",size:"16"})])],8,WD)])],8,BD)):Q("",!0)],64))),128)),(S(),xe(ls,{to:"#app"},[C(a,{show:s.show_details_modal,genre:s.selected_genre,onClose:t[0]||(t[0]=l=>s.show_details_modal=!1)},null,8,["show","genre"])]))],64)}var ZD=ve(RD,[["render",KD]]);const Pa={load:function(e){return Z.library_genres("music")},set:function(e,t){e.genres=t.data,e.genres=new st(t.data),e.genres.group(Jv("name_sort"))}},YD={name:"PageGenres",components:{ContentWithHeading:pt,TabsMusic:vr,IndexButtonList:Ir,ListGenres:ZD},beforeRouteEnter(e,t,n){Pa.load(e).then(r=>{n(s=>Pa.set(s,r))})},beforeRouteUpdate(e,t,n){const r=this;Pa.load(e).then(s=>{Pa.set(r,s),n()})},data(){return{genres:new st}},computed:{},methods:{}},JD={class:"fd-page-with-tabs"},XD=["textContent"],QD=["textContent"];function eF(e,t,n,r,s,o){const i=P("tabs-music"),a=P("index-button-list"),l=P("list-genres"),c=P("content-with-heading");return S(),D("div",JD,[C(i),C(c,null,{options:O(()=>[C(a,{index:s.genres.indexList},null,8,["index"])]),"heading-left":O(()=>[u("p",{class:"title is-4",textContent:v(e.$t("page.genres.title"))},null,8,XD),u("p",{class:"heading",textContent:v(e.$t("page.genres.count",{count:s.genres.total}))},null,8,QD)]),content:O(()=>[C(l,{genres:s.genres},null,8,["genres"])]),_:1})])}var tF=ve(YD,[["render",eF]]);const Da={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 st(t[1].data.albums),e.albums_list.group(Po("name_sort"))}},nF={name:"PageGenre",components:{ContentWithHeading:pt,IndexButtonList:Ir,ListAlbums:br,ModalDialogGenre:jm},beforeRouteEnter(e,t,n){Da.load(e).then(r=>{n(s=>Da.set(s,r))})},beforeRouteUpdate(e,t,n){if(!this.albums_list.isEmpty()){n();return}const r=this;Da.load(e).then(s=>{Da.set(r,s),n()})},data(){return{genre:{},albums_list:new st,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)}}},rF=["textContent"],sF={class:"buttons is-centered"},oF={class:"icon"},iF={class:"icon"},aF=["textContent"],lF={class:"heading has-text-centered-mobile"},uF=["textContent"],cF=u("span",null,"\xA0|\xA0",-1),dF=["textContent"];function mF(e,t,n,r,s,o){const i=P("index-button-list"),a=P("mdicon"),l=P("list-albums"),c=P("modal-dialog-genre"),d=P("content-with-heading");return S(),D("div",null,[C(d,null,{options:O(()=>[C(i,{index:s.albums_list.indexList},null,8,["index"])]),"heading-left":O(()=>[u("p",{class:"title is-4",textContent:v(s.genre.name)},null,8,rF)]),"heading-right":O(()=>[u("div",sF,[u("a",{class:"button is-small is-light is-rounded",onClick:t[0]||(t[0]=f=>s.show_genre_details_modal=!0)},[u("span",oF,[C(a,{name:"dots-horizontal",size:"16"})])]),u("a",{class:"button is-small is-dark is-rounded",onClick:t[1]||(t[1]=(...f)=>o.play&&o.play(...f))},[u("span",iF,[C(a,{name:"shuffle",size:"16"})]),u("span",{textContent:v(e.$t("page.genre.shuffle"))},null,8,aF)])])]),content:O(()=>[u("p",lF,[u("span",{textContent:v(e.$t("page.genre.album-count",{count:s.genre.album_count}))},null,8,uF),cF,u("a",{class:"has-text-link",onClick:t[2]||(t[2]=(...f)=>o.open_tracks&&o.open_tracks(...f)),textContent:v(e.$t("page.genre.track-count",{count:s.genre.track_count}))},null,8,dF)]),C(l,{albums:s.albums_list},null,8,["albums"]),C(c,{show:s.show_genre_details_modal,genre:s.genre,onClose:t[3]||(t[3]=f=>s.show_genre_details_modal=!1)},null,8,["show","genre"])]),_:1})])}var fF=ve(nF,[["render",mF]]);const Fa={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=t[1].data.tracks}},pF={name:"PageGenreTracks",components:{ContentWithHeading:pt,ListTracks:Nn,IndexButtonList:Ir,ModalDialogGenre:jm},beforeRouteEnter(e,t,n){Fa.load(e).then(r=>{n(s=>Fa.set(s,r))})},beforeRouteUpdate(e,t,n){const r=this;Fa.load(e).then(s=>{Fa.set(r,s),n()})},data(){return{tracks:{items:[]},genre:"",show_genre_details_modal:!1}},computed:{index_list(){return[...new Set(this.tracks.items.map(e=>e.title_sort.charAt(0).toUpperCase()))]},expression(){return'genre is "'+this.genre.name+'" and media_kind is music'}},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)}}},hF=["textContent"],_F={class:"buttons is-centered"},gF={class:"icon"},yF={class:"icon"},vF=["textContent"],bF={class:"heading has-text-centered-mobile"},wF=["textContent"],CF=u("span",null,"\xA0|\xA0",-1),zF=["textContent"];function xF(e,t,n,r,s,o){const i=P("index-button-list"),a=P("mdicon"),l=P("list-tracks"),c=P("modal-dialog-genre"),d=P("content-with-heading");return S(),D("div",null,[C(d,null,{options:O(()=>[C(i,{index:o.index_list},null,8,["index"])]),"heading-left":O(()=>[u("p",{class:"title is-4",textContent:v(s.genre.name)},null,8,hF)]),"heading-right":O(()=>[u("div",_F,[u("a",{class:"button is-small is-light is-rounded",onClick:t[0]||(t[0]=f=>s.show_genre_details_modal=!0)},[u("span",gF,[C(a,{name:"dots-horizontal",size:"16"})])]),u("a",{class:"button is-small is-dark is-rounded",onClick:t[1]||(t[1]=(...f)=>o.play&&o.play(...f))},[u("span",yF,[C(a,{name:"shuffle",size:"16"})]),u("span",{textContent:v(e.$t("page.genre.shuffle"))},null,8,vF)])])]),content:O(()=>[u("p",bF,[u("a",{class:"has-text-link",onClick:t[2]||(t[2]=(...f)=>o.open_genre&&o.open_genre(...f)),textContent:v(e.$t("page.genre.album-count",{count:s.genre.album_count}))},null,8,wF),CF,u("span",{textContent:v(e.$t("page.genre.track-count",{count:s.genre.track_count}))},null,8,zF)]),C(l,{tracks:s.tracks.items,expression:o.expression},null,8,["tracks","expression"]),C(c,{show:s.show_genre_details_modal,genre:s.genre,onClose:t[3]||(t[3]=f=>s.show_genre_details_modal=!1)},null,8,["show","genre"])]),_:1})])}var kF=ve(pF,[["render",xF]]);const Ia={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=t[1].data.tracks}},SF={name:"PageArtistTracks",components:{ContentWithHeading:pt,ListTracks:Nn,IndexButtonList:Ir,ModalDialogArtist:wu},beforeRouteEnter(e,t,n){Ia.load(e).then(r=>{n(s=>Ia.set(s,r))})},beforeRouteUpdate(e,t,n){const r=this;Ia.load(e).then(s=>{Ia.set(r,s),n()})},data(){return{artist:{},tracks:{items:[]},show_artist_details_modal:!1}},computed:{index_list(){return[...new Set(this.tracks.items.map(e=>e.title_sort.charAt(0).toUpperCase()))]},track_uris(){return this.tracks.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.items.map(e=>e.uri).join(","),!0)}}},EF=["textContent"],$F={class:"buttons is-centered"},AF={class:"icon"},TF={class:"icon"},OF=["textContent"],PF={class:"heading has-text-centered-mobile"},DF=["textContent"],FF=u("span",null,"\xA0|\xA0",-1),IF=["textContent"];function MF(e,t,n,r,s,o){const i=P("index-button-list"),a=P("mdicon"),l=P("list-tracks"),c=P("modal-dialog-artist"),d=P("content-with-heading");return S(),D("div",null,[C(d,null,{options:O(()=>[C(i,{index:o.index_list},null,8,["index"])]),"heading-left":O(()=>[u("p",{class:"title is-4",textContent:v(s.artist.name)},null,8,EF)]),"heading-right":O(()=>[u("div",$F,[u("a",{class:"button is-small is-light is-rounded",onClick:t[0]||(t[0]=f=>s.show_artist_details_modal=!0)},[u("span",AF,[C(a,{name:"dots-horizontal",size:"16"})])]),u("a",{class:"button is-small is-dark is-rounded",onClick:t[1]||(t[1]=(...f)=>o.play&&o.play(...f))},[u("span",TF,[C(a,{name:"shuffle",size:"16"})]),u("span",{textContent:v(e.$t("page.artist.shuffle"))},null,8,OF)])])]),content:O(()=>[u("p",PF,[u("a",{class:"has-text-link",onClick:t[2]||(t[2]=(...f)=>o.open_artist&&o.open_artist(...f)),textContent:v(e.$t("page.artist.album-count",{count:s.artist.album_count}))},null,8,DF),FF,u("span",{textContent:v(e.$t("page.artist.track-count",{count:s.artist.track_count}))},null,8,IF)]),C(l,{tracks:s.tracks.items,uris:o.track_uris},null,8,["tracks","uris"]),C(c,{show:s.show_artist_details_modal,artist:s.artist,onClose:t[3]||(t[3]=f=>s.show_artist_details_modal=!1)},null,8,["show","artist"])]),_:1})])}var LF=ve(SF,[["render",MF]]);const RF={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}})}}},NF={key:0,class:"modal is-active"},jF={class:"modal-content fd-modal-card"},VF={class:"card"},BF={class:"card-content"},HF={class:"title is-4"},UF=["textContent"],qF=["textContent"],WF=["textContent"],GF=["textContent"],KF=["textContent"],ZF=["textContent"],YF=["textContent"],JF={class:"card-footer"},XF={class:"icon"},QF=["textContent"],eI={class:"icon"},tI=["textContent"],nI={class:"icon"},rI=["textContent"];function sI(e,t,n,r,s,o){const i=P("mdicon");return S(),D("div",null,[C(Wt,{name:"fade"},{default:O(()=>[n.show?(S(),D("div",NF,[u("div",{class:"modal-background",onClick:t[0]||(t[0]=a=>e.$emit("close"))}),u("div",jF,[u("div",VF,[u("div",BF,[u("p",HF,[u("a",{class:"has-text-link",onClick:t[1]||(t[1]=(...a)=>o.open_albums&&o.open_albums(...a)),textContent:v(n.composer.name)},null,8,UF)]),u("p",null,[u("span",{class:"heading",textContent:v(e.$t("dialog.composer.albums"))},null,8,qF),u("a",{class:"has-text-link is-6",onClick:t[2]||(t[2]=(...a)=>o.open_albums&&o.open_albums(...a)),textContent:v(n.composer.album_count)},null,8,WF)]),u("p",null,[u("span",{class:"heading",textContent:v(e.$t("dialog.composer.tracks"))},null,8,GF),u("a",{class:"has-text-link is-6",onClick:t[3]||(t[3]=(...a)=>o.open_tracks&&o.open_tracks(...a)),textContent:v(n.composer.track_count)},null,8,KF)]),u("p",null,[u("span",{class:"heading",textContent:v(e.$t("dialog.composer.duration"))},null,8,ZF),u("span",{class:"title is-6",textContent:v(e.$filters.durationInHours(n.composer.length_ms))},null,8,YF)])]),u("footer",JF,[u("a",{class:"card-footer-item has-text-dark",onClick:t[4]||(t[4]=(...a)=>o.queue_add&&o.queue_add(...a))},[u("span",XF,[C(i,{name:"playlist-plus",size:"16"})]),u("span",{class:"is-size-7",textContent:v(e.$t("dialog.composer.add"))},null,8,QF)]),u("a",{class:"card-footer-item has-text-dark",onClick:t[5]||(t[5]=(...a)=>o.queue_add_next&&o.queue_add_next(...a))},[u("span",eI,[C(i,{name:"playlist-play",size:"16"})]),u("span",{class:"is-size-7",textContent:v(e.$t("dialog.composer.add-next"))},null,8,tI)]),u("a",{class:"card-footer-item has-text-dark",onClick:t[6]||(t[6]=(...a)=>o.play&&o.play(...a))},[u("span",nI,[C(i,{name:"play",size:"16"})]),u("span",{class:"is-size-7",textContent:v(e.$t("dialog.composer.play"))},null,8,rI)])])])]),u("button",{class:"modal-close is-large","aria-label":"close",onClick:t[7]||(t[7]=a=>e.$emit("close"))})])):Q("",!0)]),_:1})])}var Vm=ve(RF,[["render",sI]]);const oI={name:"ListComposers",components:{ModalDialogComposer:Vm},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}}},iI={key:0,class:"mt-6 mb-5 py-2"},aI={class:"media-content is-clipped"},lI=["id","textContent"],uI=["onClick"],cI={class:"media-content fd-has-action is-clipped"},dI=["textContent"],mI={class:"media-right"},fI=["onClick"],pI={class:"icon has-text-dark"};function hI(e,t,n,r,s,o){const i=P("mdicon"),a=P("modal-dialog-composer");return S(),D(We,null,[(S(!0),D(We,null,Ct(n.composers,l=>(S(),D(We,{key:l.itemId},[!l.isItem&&!n.hide_group_title?(S(),D("div",iI,[u("div",aI,[u("span",{id:"index_"+l.groupKey,class:"tag is-info is-light is-small has-text-weight-bold",textContent:v(l.groupKey)},null,8,lI)])])):l.isItem?(S(),D("div",{key:1,class:"media",onClick:c=>o.open_composer(l.item)},[u("div",cI,[u("h1",{class:"title is-6",textContent:v(l.item.name)},null,8,dI)]),u("div",mI,[u("a",{onClick:_t(c=>o.open_dialog(l.item),["prevent","stop"])},[u("span",pI,[C(i,{name:"dots-vertical",size:"16"})])],8,fI)])],8,uI)):Q("",!0)],64))),128)),(S(),xe(ls,{to:"#app"},[C(a,{show:s.show_details_modal,composer:s.selected_composer,media_kind:n.media_kind,onClose:t[0]||(t[0]=l=>s.show_details_modal=!1)},null,8,["show","composer","media_kind"])]))],64)}var Xv=ve(oI,[["render",hI]]);const Ma={load:function(e){return Z.library_composers("music")},set:function(e,t){e.composers=new st(t.data),e.composers.group(Jv("name_sort"))}},_I={name:"PageComposers",components:{ContentWithHeading:pt,TabsMusic:vr,IndexButtonList:Ir,ListComposers:Xv},beforeRouteEnter(e,t,n){Ma.load(e).then(r=>{n(s=>Ma.set(s,r))})},beforeRouteUpdate(e,t,n){if(!this.composers.isEmpty()){n();return}const r=this;Ma.load(e).then(s=>{Ma.set(r,s),n()})},data(){return{composers:new st}},methods:{}},gI=["textContent"],yI=["textContent"];function vI(e,t,n,r,s,o){const i=P("tabs-music"),a=P("index-button-list"),l=P("list-composers"),c=P("content-with-heading");return S(),D("div",null,[C(i),C(c,null,{options:O(()=>[C(a,{index:s.composers.indexList},null,8,["index"])]),"heading-left":O(()=>[u("p",{class:"title is-4",textContent:v(e.$t("page.composers.title"))},null,8,gI),u("p",{class:"heading",textContent:v(e.$t("page.composers.count",{count:s.composers.total}))},null,8,yI)]),content:O(()=>[C(l,{composers:s.composers},null,8,["composers"])]),_:1})])}var bI=ve(_I,[["render",vI]]);const La={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 st(t[1].data.albums)}},wI={name:"PageComposer",components:{ContentWithHeading:pt,ListAlbums:br,ModalDialogComposer:Vm},beforeRouteEnter(e,t,n){La.load(e).then(r=>{n(s=>La.set(s,r))})},beforeRouteUpdate(e,t,n){const r=this;La.load(e).then(s=>{La.set(r,s),n()})},data(){return{composer:{},albums_list:new st,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)}}},CI=["textContent"],zI={class:"buttons is-centered"},xI={class:"icon"},kI={class:"icon"},SI=["textContent"],EI={class:"heading has-text-centered-mobile"},$I=["textContent"],AI=u("span",null,"\xA0|\xA0",-1),TI=["textContent"];function OI(e,t,n,r,s,o){const i=P("mdicon"),a=P("list-albums"),l=P("modal-dialog-composer"),c=P("content-with-heading");return S(),D("div",null,[C(c,null,{"heading-left":O(()=>[u("p",{class:"title is-4",textContent:v(s.composer.name)},null,8,CI)]),"heading-right":O(()=>[u("div",zI,[u("a",{class:"button is-small is-light is-rounded",onClick:t[0]||(t[0]=d=>s.show_composer_details_modal=!0)},[u("span",xI,[C(i,{name:"dots-horizontal",size:"16"})])]),u("a",{class:"button is-small is-dark is-rounded",onClick:t[1]||(t[1]=(...d)=>o.play&&o.play(...d))},[u("span",kI,[C(i,{name:"shuffle",size:"16"})]),u("span",{textContent:v(e.$t("page.composer.shuffle"))},null,8,SI)])])]),content:O(()=>[u("p",EI,[u("span",{textContent:v(e.$t("page.composer.album-count",{count:s.composer.album_count}))},null,8,$I),AI,u("a",{class:"has-text-link",onClick:t[2]||(t[2]=(...d)=>o.open_tracks&&o.open_tracks(...d)),textContent:v(e.$t("page.composer.track-count",{count:s.composer.track_count}))},null,8,TI)]),C(a,{albums:s.albums_list,hide_group_title:!0},null,8,["albums"]),C(l,{show:s.show_composer_details_modal,composer:s.composer,onClose:t[3]||(t[3]=d=>s.show_composer_details_modal=!1)},null,8,["show","composer"])]),_:1})])}var PI=ve(wI,[["render",OI]]);const Ra={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=t[1].data.tracks}},DI={name:"PageComposerTracks",components:{ContentWithHeading:pt,ListTracks:Nn,ModalDialogComposer:Vm},beforeRouteEnter(e,t,n){Ra.load(e).then(r=>{n(s=>Ra.set(s,r))})},beforeRouteUpdate(e,t,n){const r=this;Ra.load(e).then(s=>{Ra.set(r,s),n()})},data(){return{tracks:{items:[]},composer:{},show_composer_details_modal:!1}},computed:{play_expression(){return'composer is "'+this.composer.name+'" and media_kind is music'}},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.play_expression,!0)}}},FI=["textContent"],II={class:"buttons is-centered"},MI={class:"icon"},LI={class:"icon"},RI=["textContent"],NI={class:"heading has-text-centered-mobile"},jI=["textContent"],VI=u("span",null,"\xA0|\xA0",-1),BI=["textContent"];function HI(e,t,n,r,s,o){const i=P("mdicon"),a=P("list-tracks"),l=P("modal-dialog-composer"),c=P("content-with-heading");return S(),D("div",null,[C(c,null,{"heading-left":O(()=>[u("p",{class:"title is-4",textContent:v(s.composer.name)},null,8,FI)]),"heading-right":O(()=>[u("div",II,[u("a",{class:"button is-small is-light is-rounded",onClick:t[0]||(t[0]=d=>s.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)=>o.play&&o.play(...d))},[u("span",LI,[C(i,{name:"shuffle",size:"16"})]),u("span",{textContent:v(e.$t("page.composer.shuffle"))},null,8,RI)])])]),content:O(()=>[u("p",NI,[u("a",{class:"has-text-link",onClick:t[2]||(t[2]=(...d)=>o.open_albums&&o.open_albums(...d)),textContent:v(e.$t("page.composer.album-count",{count:s.composer.album_count}))},null,8,jI),VI,u("span",{textContent:v(e.$t("page.composer.track-count",{count:s.composer.track_count}))},null,8,BI)]),C(a,{tracks:s.tracks.items,expression:o.play_expression},null,8,["tracks","expression"]),C(l,{show:s.show_composer_details_modal,composer:s.composer,onClose:t[3]||(t[3]=d=>s.show_composer_details_modal=!1)},null,8,["show","composer"])]),_:1})])}var UI=ve(DI,[["render",HI]]);const qI={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})}}},WI={key:0,class:"modal is-active"},GI={class:"modal-content fd-modal-card"},KI={class:"card"},ZI={class:"card-content"},YI=["textContent"],JI={class:"field"},XI={class:"control is-expanded has-icons-left"},QI=["placeholder","disabled"],eM={class:"icon is-left"},tM=["textContent"],nM={key:0,class:"card-footer"},rM={class:"card-footer-item button is-loading"},sM={class:"icon"},oM=["textContent"],iM={key:1,class:"card-footer"},aM={class:"icon"},lM=["textContent"],uM={class:"icon"},cM=["textContent"];function dM(e,t,n,r,s,o){const i=P("mdicon");return S(),D("div",null,[C(Wt,{name:"fade"},{default:O(()=>[n.show?(S(),D("div",WI,[u("div",{class:"modal-background",onClick:t[0]||(t[0]=a=>e.$emit("close"))}),u("div",GI,[u("div",KI,[u("div",ZI,[u("p",{class:"title is-4",textContent:v(e.$t("dialog.add.rss.title"))},null,8,YI),u("form",{onSubmit:t[2]||(t[2]=_t((...a)=>o.add_stream&&o.add_stream(...a),["prevent"]))},[u("div",JI,[u("p",XI,[kt(u("input",{ref:"url_field","onUpdate:modelValue":t[1]||(t[1]=a=>s.url=a),class:"input is-shadowless",type:"text",placeholder:e.$t("dialog.add.rss.placeholder"),disabled:s.loading},null,8,QI),[[kn,s.url]]),u("span",eM,[C(i,{name:"rss",size:"16"})])]),u("p",{class:"help",textContent:v(e.$t("dialog.add.rss.help"))},null,8,tM)])],32)]),s.loading?(S(),D("footer",nM,[u("a",rM,[u("span",sM,[C(i,{name:"web",size:"16"})]),u("span",{class:"is-size-7",textContent:v(e.$t("dialog.add.rss.processing"))},null,8,oM)])])):(S(),D("footer",iM,[u("a",{class:"card-footer-item has-text-danger",onClick:t[3]||(t[3]=a=>e.$emit("close"))},[u("span",aM,[C(i,{name:"cancel",size:"16"})]),u("span",{class:"is-size-7",textContent:v(e.$t("dialog.add.rss.cancel"))},null,8,lM)]),u("a",{class:"card-footer-item has-background-info has-text-white has-text-weight-bold",onClick:t[4]||(t[4]=(...a)=>o.add_stream&&o.add_stream(...a))},[u("span",uM,[C(i,{name:"playlist-plus",size:"16"})]),u("span",{class:"is-size-7",textContent:v(e.$t("dialog.add.rss.add"))},null,8,cM)])]))])]),u("button",{class:"modal-close is-large","aria-label":"close",onClick:t[5]||(t[5]=a=>e.$emit("close"))})])):Q("",!0)]),_:1})])}var mM=ve(qI,[["render",dM]]);const Na={load:function(e){return Promise.all([Z.library_albums("podcast"),Z.library_podcasts_new_episodes()])},set:function(e,t){e.albums=new st(t[0].data),e.new_episodes=t[1].data.tracks}},fM={name:"PagePodcasts",components:{ContentWithHeading:pt,ListTracks:Nn,ListAlbums:br,ModalDialogAddRss:mM},beforeRouteEnter(e,t,n){Na.load(e).then(r=>{n(s=>Na.set(s,r))})},beforeRouteUpdate(e,t,n){const r=this;Na.load(e).then(s=>{Na.set(r,s),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=e.tracks})},reload_podcasts:function(){Z.library_albums("podcast").then(({data:e})=>{this.albums=new st(e),this.reload_new_episodes()})},update_rss:function(){this.$store.commit(gm,"rss"),this.$store.commit(Gi,!0)}}},pM=["textContent"],hM={class:"buttons is-centered"},_M={class:"icon"},gM=["textContent"],yM=["textContent"],vM=["textContent"],bM={class:"buttons is-centered"},wM={class:"icon"},CM=["textContent"],zM={class:"icon"},xM=["textContent"];function kM(e,t,n,r,s,o){const i=P("mdicon"),a=P("list-tracks"),l=P("content-with-heading"),c=P("list-albums"),d=P("modal-dialog-add-rss");return S(),D("div",null,[s.new_episodes.items.length>0?(S(),xe(l,{key:0},{"heading-left":O(()=>[u("p",{class:"title is-4",textContent:v(e.$t("page.podcasts.new-episodes"))},null,8,pM)]),"heading-right":O(()=>[u("div",hM,[u("a",{class:"button is-small",onClick:t[0]||(t[0]=(...f)=>o.mark_all_played&&o.mark_all_played(...f))},[u("span",_M,[C(i,{name:"pencil",size:"16"})]),u("span",{textContent:v(e.$t("page.podcasts.mark-all-played"))},null,8,gM)])])]),content:O(()=>[C(a,{tracks:s.new_episodes.items,show_progress:!0,onPlayCountChanged:o.reload_new_episodes},null,8,["tracks","onPlayCountChanged"])]),_:1})):Q("",!0),C(l,null,{"heading-left":O(()=>[u("p",{class:"title is-4",textContent:v(e.$t("page.podcasts.title"))},null,8,yM),u("p",{class:"heading",textContent:v(e.$t("page.podcasts.count",{count:s.albums.total}))},null,8,vM)]),"heading-right":O(()=>[u("div",bM,[o.rss.tracks>0?(S(),D("a",{key:0,class:"button is-small",onClick:t[1]||(t[1]=(...f)=>o.update_rss&&o.update_rss(...f))},[u("span",wM,[C(i,{name:"refresh",size:"16"})]),u("span",{textContent:v(e.$t("page.podcasts.update"))},null,8,CM)])):Q("",!0),u("a",{class:"button is-small",onClick:t[2]||(t[2]=(...f)=>o.open_add_podcast_dialog&&o.open_add_podcast_dialog(...f))},[u("span",zM,[C(i,{name:"rss",size:"16"})]),u("span",{textContent:v(e.$t("page.podcasts.add"))},null,8,xM)])])]),content:O(()=>[C(c,{albums:s.albums,onPlayCountChanged:t[3]||(t[3]=f=>o.reload_new_episodes()),onPodcastDeleted:t[4]||(t[4]=f=>o.reload_podcasts())},null,8,["albums"]),C(d,{show:s.show_url_modal,onClose:t[5]||(t[5]=f=>s.show_url_modal=!1),onPodcastAdded:t[6]||(t[6]=f=>o.reload_podcasts())},null,8,["show"])]),_:1})])}var SM=ve(fM,[["render",kM]]);const ja={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=t[1].data.tracks.items}},EM={name:"PagePodcast",components:{ContentWithHeading:pt,ListTracks:Nn,ModalDialogAlbum:bu,ModalDialog:Mm},beforeRouteEnter(e,t,n){ja.load(e).then(r=>{n(s=>ja.set(s,r))})},beforeRouteUpdate(e,t,n){const r=this;ja.load(e).then(s=>{ja.set(r,s),n()})},data(){return{album:{},tracks:[],show_album_details_modal:!1,show_remove_podcast_modal:!1,rss_playlist_to_remove:{}}},computed:{new_tracks(){return this.tracks.filter(e=>e.play_count===0).length}},methods:{play:function(){Z.player_play_uri(this.album.uri,!1)},open_remove_podcast_dialog:function(){this.show_album_details_modal=!1,Z.library_track_playlists(this.tracks[0].id).then(({data:e})=>{const t=e.items.filter(n=>n.type==="rss");if(t.length!==1){this.$store.dispatch("add_notification",{text:this.$t("page.podcast.remove-error"),type:"danger"});return}this.rss_playlist_to_remove=t[0],this.show_remove_podcast_modal=!0})},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=e.tracks.items})}}},$M=["textContent"],AM={class:"buttons is-centered"},TM={class:"icon"},OM={class:"icon"},PM=["textContent"],DM=["textContent"],FM=["textContent"],IM={class:"is-size-7"},MM=vt(" ("),LM=["textContent"],RM=["textContent"],NM=vt(") ");function jM(e,t,n,r,s,o){const i=P("mdicon"),a=P("list-tracks"),l=P("modal-dialog-album"),c=P("modal-dialog"),d=P("content-with-heading");return S(),xe(d,null,{"heading-left":O(()=>[u("div",{class:"title is-4",textContent:v(s.album.name)},null,8,$M)]),"heading-right":O(()=>[u("div",AM,[u("a",{class:"button is-small is-light is-rounded",onClick:t[0]||(t[0]=f=>s.show_album_details_modal=!0)},[u("span",TM,[C(i,{name:"dots-horizontal",size:"16"})])]),u("a",{class:"button is-small is-dark is-rounded",onClick:t[1]||(t[1]=(...f)=>o.play&&o.play(...f))},[u("span",OM,[C(i,{name:"play",size:"16"})]),u("span",{textContent:v(e.$t("page.podcast.play"))},null,8,PM)])])]),content:O(()=>[u("p",{class:"heading has-text-centered-mobile",textContent:v(e.$t("page.podcast.track-count",{count:s.album.track_count}))},null,8,DM),C(a,{tracks:s.tracks,show_progress:!0,onPlayCountChanged:o.reload_tracks},null,8,["tracks","onPlayCountChanged"]),C(l,{show:s.show_album_details_modal,album:s.album,media_kind:"podcast",new_tracks:o.new_tracks,onClose:t[2]||(t[2]=f=>s.show_album_details_modal=!1),onPlayCountChanged:o.reload_tracks,onRemovePodcast:o.open_remove_podcast_dialog},null,8,["show","album","new_tracks","onPlayCountChanged","onRemovePodcast"]),C(c,{show:s.show_remove_podcast_modal,title:"Remove podcast",delete_action:"Remove",onClose:t[3]||(t[3]=f=>s.show_remove_podcast_modal=!1),onDelete:o.remove_podcast},{"modal-content":O(()=>[u("p",{textContent:v(e.$t("page.podcast.remove-info-1"))},null,8,FM),u("p",IM,[MM,u("span",{textContent:v(e.$t("page.podcast.remove-info-2"))},null,8,LM),u("b",{textContent:v(s.rss_playlist_to_remove.name)},null,8,RM),NM])]),_:1},8,["show","onDelete"])]),_:1})}var VM=ve(EM,[["render",jM]]);const BM={name:"TabsAudiobooks"},HM={class:"section fd-tabs-section"},UM={class:"container"},qM={class:"columns is-centered"},WM={class:"column is-four-fifths"},GM={class:"tabs is-centered is-small"},KM=["onClick","onKeypress"],ZM={class:"icon is-small"},YM=["textContent"],JM=["onClick","onKeypress"],XM={class:"icon is-small"},QM=["textContent"];function eL(e,t,n,r,s,o){const i=P("mdicon"),a=P("router-link");return S(),D("section",HM,[u("div",UM,[u("div",qM,[u("div",WM,[u("div",GM,[u("ul",null,[C(a,{to:"/audiobooks/artists",custom:""},{default:O(({navigate:l,isActive:c})=>[u("li",{class:Ze({"is-active":c})},[u("a",{onClick:l,onKeypress:Dn(l,["enter"])},[u("span",ZM,[C(i,{name:"account-music",size:"16"})]),u("span",{textContent:v(e.$t("page.audiobooks.tabs.authors"))},null,8,YM)],40,KM)],2)]),_:1}),C(a,{to:"/audiobooks/albums",custom:""},{default:O(({navigate:l,isActive:c})=>[u("li",{class:Ze({"is-active":c})},[u("a",{onClick:l,onKeypress:Dn(l,["enter"])},[u("span",XM,[C(i,{name:"album",size:"16"})]),u("span",{textContent:v(e.$t("page.audiobooks.tabs.audiobooks"))},null,8,QM)],40,JM)],2)]),_:1})])])])])])])}var Qv=ve(BM,[["render",eL]]);const Va={load:function(e){return Z.library_albums("audiobook")},set:function(e,t){e.albums=new st(t.data),e.albums.group(Po("name_sort"))}},tL={name:"PageAudiobooksAlbums",components:{TabsAudiobooks:Qv,ContentWithHeading:pt,IndexButtonList:Ir,ListAlbums:br},beforeRouteEnter(e,t,n){Va.load(e).then(r=>{n(s=>Va.set(s,r))})},beforeRouteUpdate(e,t,n){if(!this.albums.isEmpty()){n();return}const r=this;Va.load(e).then(s=>{Va.set(r,s),n()})},data(){return{albums:new st}},methods:{}},nL={class:"fd-page-with-tabs"},rL=["textContent"],sL=["textContent"];function oL(e,t,n,r,s,o){const i=P("tabs-audiobooks"),a=P("index-button-list"),l=P("list-albums"),c=P("content-with-heading");return S(),D("div",nL,[C(i),C(c,null,{options:O(()=>[C(a,{index:s.albums.indexList},null,8,["index"])]),"heading-left":O(()=>[u("p",{class:"title is-4",textContent:v(e.$t("page.audiobooks.albums.title"))},null,8,rL),u("p",{class:"heading",textContent:v(e.$t("page.audiobooks.albums.count",{count:s.albums.count}))},null,8,sL)]),content:O(()=>[C(l,{albums:s.albums},null,8,["albums"])]),_:1})])}var iL=ve(tL,[["render",oL]]);const Ba={load:function(e){return Z.library_artists("audiobook")},set:function(e,t){e.artists_list=new st(t.data)}},aL={name:"PageAudiobooksArtists",components:{ContentWithHeading:pt,TabsAudiobooks:Qv,IndexButtonList:Ir,ListArtists:Rm},beforeRouteEnter(e,t,n){Ba.load(e).then(r=>{n(s=>Ba.set(s,r))})},beforeRouteUpdate(e,t,n){if(!this.artists_list.isEmpty()){n();return}const r=this;Ba.load(e).then(s=>{Ba.set(r,s),n()})},data(){return{artists_list:new st}},computed:{artists(){return this.artists_list?(this.artists_list.group(Po("name_sort")),this.artists_list):[]}},methods:{}},lL={class:"fd-page-with-tabs"},uL=["textContent"],cL=["textContent"];function dL(e,t,n,r,s,o){const i=P("tabs-audiobooks"),a=P("index-button-list"),l=P("list-artists"),c=P("content-with-heading");return S(),D("div",lL,[C(i),C(c,null,{options:O(()=>[C(a,{index:o.artists.indexList},null,8,["index"])]),"heading-left":O(()=>[u("p",{class:"title is-4",textContent:v(e.$t("page.audiobooks.artists.title"))},null,8,uL),u("p",{class:"heading",textContent:v(e.$t("page.audiobooks.artists.count",{count:o.artists.count}))},null,8,cL)]),"heading-right":O(()=>[]),content:O(()=>[C(l,{artists:o.artists},null,8,["artists"])]),_:1})])}var mL=ve(aL,[["render",dL]]);const Ha={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 st(t[1].data)}},fL={name:"PageAudiobooksArtist",components:{ContentWithHeading:pt,ListAlbums:br,ModalDialogArtist:wu},beforeRouteEnter(e,t,n){Ha.load(e).then(r=>{n(s=>Ha.set(s,r))})},beforeRouteUpdate(e,t,n){if(!this.albums.isEmpty()){n();return}const r=this;Ha.load(e).then(s=>{Ha.set(r,s),n()})},data(){return{artist:{},albums:new st,show_artist_details_modal:!1}},methods:{play:function(){Z.player_play_uri(this.albums.items.map(e=>e.uri).join(","),!1)}}},pL=["textContent"],hL={class:"buttons is-centered"},_L={class:"icon"},gL={class:"icon"},yL=["textContent"],vL=["textContent"];function bL(e,t,n,r,s,o){const i=P("mdicon"),a=P("list-albums"),l=P("modal-dialog-artist"),c=P("content-with-heading");return S(),xe(c,null,{"heading-left":O(()=>[u("p",{class:"title is-4",textContent:v(s.artist.name)},null,8,pL)]),"heading-right":O(()=>[u("div",hL,[u("a",{class:"button is-small is-light is-rounded",onClick:t[0]||(t[0]=d=>s.show_artist_details_modal=!0)},[u("span",_L,[C(i,{name:"dots-horizontal",size:"16"})])]),u("a",{class:"button is-small is-dark is-rounded",onClick:t[1]||(t[1]=(...d)=>o.play&&o.play(...d))},[u("span",gL,[C(i,{name:"play",size:"16"})]),u("span",{textContent:v(e.$t("page.audiobooks.artist.shuffle"))},null,8,yL)])])]),content:O(()=>[u("p",{class:"heading has-text-centered-mobile",textContent:v(e.$t("page.audiobooks.artist.album-count",{count:s.artist.album_count}))},null,8,vL),C(a,{albums:s.albums},null,8,["albums"]),C(l,{show:s.show_artist_details_modal,artist:s.artist,onClose:t[2]||(t[2]=d=>s.show_artist_details_modal=!1)},null,8,["show","artist"])]),_:1})}var wL=ve(fL,[["render",bL]]);const Ua={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=t[1].data.items}},CL={name:"PageAudiobooksAlbum",components:{ContentWithHero:Nm,ListTracks:Nn,ModalDialogAlbum:bu,CoverArtwork:Fr},beforeRouteEnter(e,t,n){Ua.load(e).then(r=>{n(s=>Ua.set(s,r))})},beforeRouteUpdate(e,t,n){const r=this;Ua.load(e).then(s=>{Ua.set(r,s),n()})},data(){return{album:{},tracks:[],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}}},zL=["textContent"],xL={class:"subtitle is-6 has-text-link has-text-weight-normal"},kL=["textContent"],SL={class:"buttons fd-is-centered-mobile fd-has-margin-top"},EL={class:"icon"},$L=["textContent"],AL={class:"icon"},TL={class:"image is-square fd-has-shadow fd-has-action"},OL=["textContent"];function PL(e,t,n,r,s,o){const i=P("mdicon"),a=P("cover-artwork"),l=P("list-tracks"),c=P("modal-dialog-album"),d=P("content-with-hero");return S(),xe(d,null,{"heading-left":O(()=>[u("h1",{class:"title is-5",textContent:v(s.album.name)},null,8,zL),u("h2",xL,[u("a",{class:"has-text-link",onClick:t[0]||(t[0]=(...f)=>o.open_artist&&o.open_artist(...f)),textContent:v(s.album.artist)},null,8,kL)]),u("div",SL,[u("a",{class:"button is-small is-dark is-rounded",onClick:t[1]||(t[1]=(...f)=>o.play&&o.play(...f))},[u("span",EL,[C(i,{name:"play",size:"16"})]),u("span",{textContent:v(e.$t("page.audiobooks.album.play"))},null,8,$L)]),u("a",{class:"button is-small is-light is-rounded",onClick:t[2]||(t[2]=f=>s.show_album_details_modal=!0)},[u("span",AL,[C(i,{name:"dots-horizontal",size:"16"})])])])]),"heading-right":O(()=>[u("p",TL,[C(a,{artwork_url:s.album.artwork_url,artist:s.album.artist,album:s.album.name,onClick:t[3]||(t[3]=f=>s.show_album_details_modal=!0)},null,8,["artwork_url","artist","album"])])]),content:O(()=>[u("p",{class:"heading is-7 has-text-centered-mobile fd-has-margin-top",textContent:v(e.$t("page.audiobooks.album.track-count",{count:s.album.track_count}))},null,8,OL),C(l,{tracks:s.tracks,uris:s.album.uri},null,8,["tracks","uris"]),C(c,{show:s.show_album_details_modal,album:s.album,media_kind:"audiobook",onClose:t[4]||(t[4]=f=>s.show_album_details_modal=!1)},null,8,["show","album"])]),_:1})}var DL=ve(CL,[["render",PL]]);const FL={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"})}}},IL={key:0,class:"modal is-active"},ML={class:"modal-content fd-modal-card"},LL={class:"card"},RL={class:"card-content"},NL={class:"title is-4"},jL=["textContent"],VL={class:"content is-small"},BL=u("span",{class:"heading"},"Path",-1),HL=["textContent"],UL=["textContent"],qL=["textContent"],WL={key:0},GL=["textContent"],KL=["textContent"],ZL={key:0,class:"card-footer"},YL={class:"icon"},JL=["textContent"],XL={class:"icon"},QL=["textContent"],e7={class:"icon"},t7=["textContent"];function n7(e,t,n,r,s,o){const i=P("mdicon");return S(),D("div",null,[C(Wt,{name:"fade"},{default:O(()=>[n.show?(S(),D("div",IL,[u("div",{class:"modal-background",onClick:t[0]||(t[0]=a=>e.$emit("close"))}),u("div",ML,[u("div",LL,[u("div",RL,[u("p",NL,[u("a",{class:"has-text-link",onClick:t[1]||(t[1]=(...a)=>o.open_playlist&&o.open_playlist(...a)),textContent:v(n.playlist.name)},null,8,jL)]),u("div",VL,[u("p",null,[BL,u("span",{class:"title is-6",textContent:v(n.playlist.path)},null,8,HL)]),u("p",null,[u("span",{class:"heading",textContent:v(e.$t("dialog.playlist.type"))},null,8,UL),u("span",{class:"title is-6",textContent:v(n.playlist.type)},null,8,qL)]),n.playlist.folder?Q("",!0):(S(),D("p",WL,[u("span",{class:"heading",textContent:v(e.$t("dialog.playlist.track-count"))},null,8,GL),u("span",{class:"title is-6",textContent:v(n.playlist.item_count)},null,8,KL)]))])]),n.playlist.folder?Q("",!0):(S(),D("footer",ZL,[u("a",{class:"card-footer-item has-text-dark",onClick:t[2]||(t[2]=(...a)=>o.queue_add&&o.queue_add(...a))},[u("span",YL,[C(i,{name:"playlist-plus",size:"16"})]),u("span",{class:"is-size-7",textContent:v(e.$t("dialog.playlist.add"))},null,8,JL)]),u("a",{class:"card-footer-item has-text-dark",onClick:t[3]||(t[3]=(...a)=>o.queue_add_next&&o.queue_add_next(...a))},[u("span",XL,[C(i,{name:"playlist-play",size:"16"})]),u("span",{class:"is-size-7",textContent:v(e.$t("dialog.playlist.add-next"))},null,8,QL)]),u("a",{class:"card-footer-item has-text-dark",onClick:t[4]||(t[4]=(...a)=>o.play&&o.play(...a))},[u("span",e7,[C(i,{name:"play",size:"16"})]),u("span",{class:"is-size-7",textContent:v(e.$t("dialog.playlist.play"))},null,8,t7)])]))])]),u("button",{class:"modal-close is-large","aria-label":"close",onClick:t[5]||(t[5]=a=>e.$emit("close"))})])):Q("",!0)]),_:1})])}var e1=ve(FL,[["render",n7]]);const r7={name:"ListPlaylists",components:{ModalDialogPlaylist:e1},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"}}},s7=["playlist","onClick"],o7={class:"media-left fd-has-action"},i7={class:"icon"},a7={class:"media-content fd-has-action is-clipped"},l7=["textContent"],u7={class:"media-right"},c7=["onClick"],d7={class:"icon has-text-dark"};function m7(e,t,n,r,s,o){const i=P("mdicon"),a=P("modal-dialog-playlist");return S(),D(We,null,[(S(!0),D(We,null,Ct(n.playlists,l=>(S(),D("div",{key:l.itemId,class:"media",playlist:l,onClick:c=>o.open_playlist(l.item)},[u("figure",o7,[u("span",i7,[C(i,{name:o.icon_name(l.item),size:"16"},null,8,["name"])])]),u("div",a7,[u("h1",{class:"title is-6",textContent:v(l.item.name)},null,8,l7)]),u("div",u7,[u("a",{onClick:_t(c=>o.open_dialog(l.item),["prevent","stop"])},[u("span",d7,[C(i,{name:"dots-vertical",size:"16"})])],8,c7)])],8,s7))),128)),(S(),xe(ls,{to:"#app"},[C(a,{show:s.show_details_modal,playlist:s.selected_playlist,onClose:t[0]||(t[0]=l=>s.show_details_modal=!1)},null,8,["show","playlist"])]))],64)}var Bm=ve(r7,[["render",m7]]);const qa={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 st(t[1].data)}},f7={name:"PagePlaylists",components:{ContentWithHeading:pt,ListPlaylists:Bm},beforeRouteEnter(e,t,n){qa.load(e).then(r=>{n(s=>qa.set(s,r))})},beforeRouteUpdate(e,t,n){const r=this;qa.load(e).then(s=>{qa.set(r,s),n()})},data(){return{playlist:{},playlists_list:new st}},computed:{radio_playlists(){return this.$store.state.config.radio_playlists},playlists(){return this.playlists_list.group(Yv(),[e=>e.folder||this.radio_playlists||e.stream_count===0||e.item_count>e.stream_count]),this.playlists_list}}},p7=["textContent"],h7=["textContent"];function _7(e,t,n,r,s,o){const i=P("list-playlists"),a=P("content-with-heading");return S(),xe(a,null,{"heading-left":O(()=>[u("p",{class:"title is-4",textContent:v(s.playlist.name)},null,8,p7),u("p",{class:"heading",textContent:v(e.$t("page.playlists.count",{count:o.playlists.count}))},null,8,h7)]),content:O(()=>[C(i,{playlists:o.playlists},null,8,["playlists"])]),_:1})}var g7=ve(f7,[["render",_7]]);const Wa={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=t[1].data.items}},y7={name:"PagePlaylist",components:{ContentWithHeading:pt,ListTracks:Nn,ModalDialogPlaylist:e1},beforeRouteEnter(e,t,n){Wa.load(e).then(r=>{n(s=>Wa.set(s,r))})},beforeRouteUpdate(e,t,n){const r=this;Wa.load(e).then(s=>{Wa.set(r,s),n()})},data(){return{playlist:{},tracks:[],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)}}},v7=["textContent"],b7={class:"buttons is-centered"},w7={class:"icon"},C7={class:"icon"},z7=["textContent"],x7=["textContent"];function k7(e,t,n,r,s,o){const i=P("mdicon"),a=P("list-tracks"),l=P("modal-dialog-playlist"),c=P("content-with-heading");return S(),xe(c,null,{"heading-left":O(()=>[u("div",{class:"title is-4",textContent:v(s.playlist.name)},null,8,v7)]),"heading-right":O(()=>[u("div",b7,[u("a",{class:"button is-small is-light is-rounded",onClick:t[0]||(t[0]=d=>s.show_playlist_details_modal=!0)},[u("span",w7,[C(i,{name:"dots-horizontal",size:"16"})])]),u("a",{class:"button is-small is-dark is-rounded",onClick:t[1]||(t[1]=(...d)=>o.play&&o.play(...d))},[u("span",C7,[C(i,{name:"shuffle",size:"16"})]),u("span",{textContent:v(e.$t("page.playlist.shuffle"))},null,8,z7)])])]),content:O(()=>[u("p",{class:"heading has-text-centered-mobile",textContent:v(e.$t("page.playlist.length",{length:s.tracks.length}))},null,8,x7),C(a,{tracks:s.tracks,uris:o.uris},null,8,["tracks","uris"]),C(l,{show:s.show_playlist_details_modal,playlist:s.playlist,uris:o.uris,onClose:t[2]||(t[2]=d=>s.show_playlist_details_modal=!1)},null,8,["show","playlist","uris"])]),_:1})}var S7=ve(y7,[["render",k7]]);const E7={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')}}},$7={key:0,class:"modal is-active"},A7={class:"modal-content fd-modal-card"},T7={class:"card"},O7={class:"card-content"},P7=["textContent"],D7={class:"card-footer"},F7={class:"icon"},I7=["textContent"],M7={class:"icon"},L7=["textContent"],R7={class:"icon"},N7=["textContent"];function j7(e,t,n,r,s,o){const i=P("mdicon");return S(),D("div",null,[C(Wt,{name:"fade"},{default:O(()=>[n.show?(S(),D("div",$7,[u("div",{class:"modal-background",onClick:t[0]||(t[0]=a=>e.$emit("close"))}),u("div",A7,[u("div",T7,[u("div",O7,[u("p",{class:"title is-4",textContent:v(n.directory.path)},null,8,P7)]),u("footer",D7,[u("a",{class:"card-footer-item has-text-dark",onClick:t[1]||(t[1]=(...a)=>o.queue_add&&o.queue_add(...a))},[u("span",F7,[C(i,{name:"playlist-plus",size:"16"})]),u("span",{class:"is-size-7",textContent:v(e.$t("dialog.directory.add"))},null,8,I7)]),u("a",{class:"card-footer-item has-text-dark",onClick:t[2]||(t[2]=(...a)=>o.queue_add_next&&o.queue_add_next(...a))},[u("span",M7,[C(i,{name:"playlist-play",size:"16"})]),u("span",{class:"is-size-7",textContent:v(e.$t("dialog.directory.add-next"))},null,8,L7)]),u("a",{class:"card-footer-item has-text-dark",onClick:t[3]||(t[3]=(...a)=>o.play&&o.play(...a))},[u("span",R7,[C(i,{name:"play",size:"16"})]),u("span",{class:"is-size-7",textContent:v(e.$t("dialog.directory.play"))},null,8,N7)])])])]),u("button",{class:"modal-close is-large","aria-label":"close",onClick:t[4]||(t[4]=a=>e.$emit("close"))})])):Q("",!0)]),_:1})])}var t1=ve(E7,[["render",j7]]);const V7={name:"ListDirectories",components:{ModalDialogDirectory:t1},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}}},B7={class:"media-left fd-has-action"},H7={class:"icon"},U7=u("div",{class:"media-content fd-has-action is-clipped"},[u("h1",{class:"title is-6"},"..")],-1),q7={class:"media-right"},W7=["onClick"],G7={class:"media-left fd-has-action"},K7={class:"icon"},Z7={class:"media-content fd-has-action is-clipped"},Y7=["textContent"],J7=["textContent"],X7={class:"media-right"},Q7=["onClick"],eR={class:"icon has-text-dark"};function tR(e,t,n,r,s,o){const i=P("mdicon"),a=P("modal-dialog-directory");return S(),D(We,null,[e.$route.query.directory?(S(),D("div",{key:0,class:"media",onClick:t[0]||(t[0]=l=>o.open_parent_directory())},[u("figure",B7,[u("span",H7,[C(i,{name:"subdirectory-arrow-left",size:"16"})])]),U7,u("div",q7,[xt(e.$slots,"actions")])])):Q("",!0),(S(!0),D(We,null,Ct(n.directories,l=>(S(),D("div",{key:l.path,class:"media",onClick:c=>o.open_directory(l)},[u("figure",G7,[u("span",K7,[C(i,{name:"folder",size:"16"})])]),u("div",Z7,[u("h1",{class:"title is-6",textContent:v(l.path.substring(l.path.lastIndexOf("/")+1))},null,8,Y7),u("h2",{class:"subtitle is-7 has-text-grey-light",textContent:v(l.path)},null,8,J7)]),u("div",X7,[u("a",{onClick:_t(c=>o.open_dialog(l),["prevent","stop"])},[u("span",eR,[C(i,{name:"dots-vertical",size:"16"})])],8,Q7)])],8,W7))),128)),(S(),xe(ls,{to:"#app"},[C(a,{show:s.show_details_modal,directory:s.selected_directory,onClose:t[1]||(t[1]=l=>s.show_details_modal=!1)},null,8,["show","directory"])]))],64)}var nR=ve(V7,[["render",tR]]);const Ga={load:function(e){return e.query.directory?Z.library_files(e.query.directory):Promise.resolve()},set:function(e,t){t?(e.files=t.data,e.playlists_list=new st(t.data.playlists)):e.files={directories:e.$store.state.config.directories.map(n=>({path:n})),tracks:{items:[]},playlists:{items:[]}}}},rR={name:"PageFiles",components:{ContentWithHeading:pt,ListDirectories:nR,ListPlaylists:Bm,ListTracks:Nn,ModalDialogDirectory:t1},beforeRouteEnter(e,t,n){Ga.load(e).then(r=>{n(s=>Ga.set(s,r))})},beforeRouteUpdate(e,t,n){const r=this;Ga.load(e).then(s=>{Ga.set(r,s),n()})},data(){return{files:{directories:[],tracks:{items:[]},playlists:{items:[]}},playlists_list:new st,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)}}},sR=["textContent"],oR=["textContent"],iR={class:"buttons is-centered"},aR={class:"icon"},lR={class:"icon"},uR=["textContent"];function cR(e,t,n,r,s,o){const i=P("mdicon"),a=P("list-directories"),l=P("list-playlists"),c=P("list-tracks"),d=P("modal-dialog-directory"),f=P("content-with-heading");return S(),D("div",null,[C(f,null,{"heading-left":O(()=>[u("p",{class:"title is-4",textContent:v(e.$t("page.files.title"))},null,8,sR),u("p",{class:"title is-7 has-text-grey",textContent:v(o.current_directory)},null,8,oR)]),"heading-right":O(()=>[u("div",iR,[u("a",{class:"button is-small is-light is-rounded",onClick:t[0]||(t[0]=m=>s.show_details_modal=!0)},[u("span",aR,[C(i,{name:"dots-horizontal",size:"16"})])]),u("a",{class:"button is-small is-dark is-rounded",onClick:t[1]||(t[1]=(...m)=>o.play&&o.play(...m))},[u("span",lR,[C(i,{name:"play",size:"16"})]),u("span",{textContent:v(e.$t("page.files.play"))},null,8,uR)])])]),content:O(()=>[C(a,{directories:s.files.directories},null,8,["directories"]),C(l,{playlists:s.playlists_list},null,8,["playlists"]),C(c,{tracks:s.files.tracks.items,expression:o.play_expression,show_icon:!0},null,8,["tracks","expression"]),C(d,{show:s.show_details_modal,directory:{path:o.current_directory},onClose:t[2]||(t[2]=m=>s.show_details_modal=!1)},null,8,["show","directory"])]),_:1})])}var dR=ve(rR,[["render",cR]]);const Ka={load:function(e){return Z.library_radio_streams()},set:function(e,t){e.tracks=t.data.tracks}},mR={name:"PageRadioStreams",components:{ContentWithHeading:pt,ListTracks:Nn},beforeRouteEnter(e,t,n){Ka.load(e).then(r=>{n(s=>Ka.set(s,r))})},beforeRouteUpdate(e,t,n){const r=this;Ka.load(e).then(s=>{Ka.set(r,s),n()})},data(){return{tracks:{items:[]}}}},fR=["textContent"],pR=["textContent"];function hR(e,t,n,r,s,o){const i=P("list-tracks"),a=P("content-with-heading");return S(),D("div",null,[C(a,null,{"heading-left":O(()=>[u("p",{class:"title is-4",textContent:v(e.$t("page.radio.title"))},null,8,fR)]),content:O(()=>[u("p",{class:"heading has-text-centered-mobile",textContent:v(e.$t("page.radio.count",{count:s.tracks.total}))},null,8,pR),C(i,{tracks:s.tracks.items},null,8,["tracks"])]),_:1})])}var _R=ve(mR,[["render",hR]]);const gR={name:"ContentText"},yR={class:"section fd-content py-3"},vR={class:"container"},bR={class:"columns is-centered"},wR={class:"column is-four-fifths"};function CR(e,t,n,r,s,o){return S(),D("section",yR,[u("div",vR,[u("div",bR,[u("div",wR,[xt(e.$slots,"content")])])])])}var n1=ve(gR,[["render",CR]]);const zR={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(rd,"/search/library"),this.$router.push({path:this.$store.state.search_path,query:this.route_query})},search_spotify:function(){this.$store.commit(rd,"/search/spotify"),this.$router.push({path:this.$store.state.search_path,query:this.route_query})}}},xR={key:0,class:"section fd-remove-padding-bottom"},kR={class:"container"},SR={class:"columns is-centered"},ER={class:"column is-four-fifths"},$R={class:"tabs is-centered is-small is-toggle is-toggle-rounded"},AR={class:"icon is-small"},TR=["textContent"],OR={class:"icon is-small"},PR=["textContent"];function DR(e,t,n,r,s,o){const i=P("mdicon");return o.spotify_enabled?(S(),D("section",xR,[u("div",kR,[u("div",SR,[u("div",ER,[u("div",$R,[u("ul",null,[u("li",{class:Ze({"is-active":e.$store.state.search_path==="/search/library"})},[u("a",{onClick:t[0]||(t[0]=(...a)=>o.search_library&&o.search_library(...a))},[u("span",AR,[C(i,{name:"bookshelf",size:"16"})]),u("span",{textContent:v(e.$t("page.search.tabs.library"))},null,8,TR)])],2),u("li",{class:Ze({"is-active":e.$store.state.search_path==="/search/spotify"})},[u("a",{onClick:t[1]||(t[1]=(...a)=>o.search_spotify&&o.search_spotify(...a))},[u("span",OR,[C(i,{name:"spotify",size:"16"})]),u("span",{textContent:v(e.$t("page.search.tabs.spotify"))},null,8,PR)])],2)])])])])])])):Q("",!0)}var r1=ve(zR,[["render",DR]]);const FR={name:"PageSearch",components:{ContentWithHeading:pt,ContentText:n1,TabsSearch:r1,ListTracks:Nn,ListArtists:Rm,ListAlbums:br,ListPlaylists:Bm,ListComposers:Xv},data(){return{search_query:"",tracks:{items:[],total:0},artists:new st,albums:new st,composers:new st,playlists:new st,audiobooks:new st,podcasts:new st}},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(hm,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=n.tracks?n.tracks:{items:[],total:0},this.artists=new st(n.artists),this.albums=new st(n.albums),this.composers=new st(n.composers),this.playlists=new st(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 st(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 st(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}}},IR={class:"section fd-remove-padding-bottom"},MR={class:"container"},LR={class:"columns is-centered"},RR={class:"column is-four-fifths"},NR={class:"field"},jR={class:"control is-expanded has-icons-left"},VR={class:"icon is-left"},BR={class:"help has-text-centered"},HR=["innerHTML"],UR={class:"tags",style:{"margin-top":"16px"}},qR=["onClick","textContent"],WR=["textContent"],GR={key:0,class:"level"},KR={class:"level-item"},ZR=["textContent"],YR=["textContent"],JR=["textContent"],XR={key:0,class:"level"},QR={class:"level-item"},e9=["textContent"],t9=["textContent"],n9=["textContent"],r9={key:0,class:"level"},s9={class:"level-item"},o9=["textContent"],i9=["textContent"],a9=["textContent"],l9={key:0,class:"level"},u9={class:"level-item"},c9=["textContent"],d9=["textContent"],m9=["textContent"],f9={key:0,class:"level"},p9={class:"level-item"},h9=["textContent"],_9=["textContent"],g9=["textContent"],y9={key:0,class:"level"},v9={class:"level-item"},b9=["textContent"],w9=["textContent"],C9=["textContent"],z9={key:0,class:"level"},x9={class:"level-item"},k9=["textContent"],S9=["textContent"];function E9(e,t,n,r,s,o){const i=P("mdicon"),a=P("tabs-search"),l=P("list-tracks"),c=P("content-with-heading"),d=P("content-text"),f=P("list-artists"),m=P("list-albums"),p=P("list-composers"),h=P("list-playlists");return S(),D("div",null,[u("section",IR,[u("div",MR,[u("div",LR,[u("div",RR,[u("form",{onSubmit:t[1]||(t[1]=_t((..._)=>o.new_search&&o.new_search(..._),["prevent"]))},[u("div",NR,[u("p",jR,[kt(u("input",{ref:"search_field","onUpdate:modelValue":t[0]||(t[0]=_=>s.search_query=_),class:"input is-rounded is-shadowless",type:"text",placeholder:"Search",autocomplete:"off"},null,512),[[kn,s.search_query]]),u("span",VR,[C(i,{name:"magnify",size:"16"})])]),u("p",BR,[u("span",{innerHTML:e.$t("page.search.help")},null,8,HR)])])],32),u("div",UR,[(S(!0),D(We,null,Ct(o.recent_searches,_=>(S(),D("a",{key:_,class:"tag",onClick:g=>o.open_recent_search(_),textContent:v(_)},null,8,qR))),128))])])])])]),C(a,{query:s.search_query},null,8,["query"]),o.show_tracks&&s.tracks.total?(S(),xe(c,{key:0},{"heading-left":O(()=>[u("p",{class:"title is-4",textContent:v(e.$t("page.search.tracks"))},null,8,WR)]),content:O(()=>[C(l,{tracks:s.tracks.items},null,8,["tracks"])]),footer:O(()=>[o.show_all_tracks_button?(S(),D("nav",GR,[u("p",KR,[u("a",{class:"button is-light is-small is-rounded",onClick:t[2]||(t[2]=(..._)=>o.open_search_tracks&&o.open_search_tracks(..._)),textContent:v(e.$t("page.search.show-tracks",{count:s.tracks.total.toLocaleString(e.$i18n.locale)}))},null,8,ZR)])])):Q("",!0)]),_:1})):Q("",!0),o.show_tracks&&!s.tracks.total?(S(),xe(d,{key:1,class:"mt-6"},{content:O(()=>[u("p",null,[u("i",{textContent:v(e.$t("page.search.no-tracks"))},null,8,YR)])]),_:1})):Q("",!0),o.show_artists&&s.artists.total?(S(),xe(c,{key:2},{"heading-left":O(()=>[u("p",{class:"title is-4",textContent:v(e.$t("page.search.artists"))},null,8,JR)]),content:O(()=>[C(f,{artists:s.artists,hide_group_title:!0},null,8,["artists"])]),footer:O(()=>[o.show_all_artists_button?(S(),D("nav",XR,[u("p",QR,[u("a",{class:"button is-light is-small is-rounded",onClick:t[3]||(t[3]=(..._)=>o.open_search_artists&&o.open_search_artists(..._)),textContent:v(e.$t("page.search.show-artists",{count:s.artists.total.toLocaleString(e.$i18n.locale)}))},null,8,e9)])])):Q("",!0)]),_:1})):Q("",!0),o.show_artists&&!s.artists.total?(S(),xe(d,{key:3},{content:O(()=>[u("p",null,[u("i",{textContent:v(e.$t("page.search.no-artists"))},null,8,t9)])]),_:1})):Q("",!0),o.show_albums&&s.albums.total?(S(),xe(c,{key:4},{"heading-left":O(()=>[u("p",{class:"title is-4",textContent:v(e.$t("page.search.albums"))},null,8,n9)]),content:O(()=>[C(m,{albums:s.albums,hide_group_title:!0},null,8,["albums"])]),footer:O(()=>[o.show_all_albums_button?(S(),D("nav",r9,[u("p",s9,[u("a",{class:"button is-light is-small is-rounded",onClick:t[4]||(t[4]=(..._)=>o.open_search_albums&&o.open_search_albums(..._)),textContent:v(e.$t("page.search.show-albums",{count:s.albums.total.toLocaleString(e.$i18n.locale)}))},null,8,o9)])])):Q("",!0)]),_:1})):Q("",!0),o.show_albums&&!s.albums.total?(S(),xe(d,{key:5},{content:O(()=>[u("p",null,[u("i",{textContent:v(e.$t("page.search.no-albums"))},null,8,i9)])]),_:1})):Q("",!0),o.show_composers&&s.composers.total?(S(),xe(c,{key:6},{"heading-left":O(()=>[u("p",{class:"title is-4",textContent:v(e.$t("page.search.composers"))},null,8,a9)]),content:O(()=>[C(p,{composers:s.composers},null,8,["composers"])]),footer:O(()=>[o.show_all_composers_button?(S(),D("nav",l9,[u("p",u9,[u("a",{class:"button is-light is-small is-rounded",onClick:t[5]||(t[5]=(..._)=>o.open_search_composers&&o.open_search_composers(..._)),textContent:v(e.$t("page.search.show-composers",{count:s.composers.total.toLocaleString(e.$i18n.locale)}))},null,8,c9)])])):Q("",!0)]),_:1})):Q("",!0),o.show_composers&&!s.composers.total?(S(),xe(d,{key:7},{content:O(()=>[u("p",null,[u("i",{textContent:v(e.$t("page.search.no-composers"))},null,8,d9)])]),_:1})):Q("",!0),o.show_playlists&&s.playlists.total?(S(),xe(c,{key:8},{"heading-left":O(()=>[u("p",{class:"title is-4",textContent:v(e.$t("page.search.playlists"))},null,8,m9)]),content:O(()=>[C(h,{playlists:s.playlists},null,8,["playlists"])]),footer:O(()=>[o.show_all_playlists_button?(S(),D("nav",f9,[u("p",p9,[u("a",{class:"button is-light is-small is-rounded",onClick:t[6]||(t[6]=(..._)=>o.open_search_playlists&&o.open_search_playlists(..._)),textContent:v(e.$t("page.search.show-playlists",{count:s.playlists.total.toLocaleString(e.$i18n.locale)}))},null,8,h9)])])):Q("",!0)]),_:1})):Q("",!0),o.show_playlists&&!s.playlists.total?(S(),xe(d,{key:9},{content:O(()=>[u("p",null,[u("i",{textContent:v(e.$t("page.search.no-playlists"))},null,8,_9)])]),_:1})):Q("",!0),o.show_podcasts&&s.podcasts.total?(S(),xe(c,{key:10},{"heading-left":O(()=>[u("p",{class:"title is-4",textContent:v(e.$t("page.search.podcasts"))},null,8,g9)]),content:O(()=>[C(m,{albums:s.podcasts},null,8,["albums"])]),footer:O(()=>[o.show_all_podcasts_button?(S(),D("nav",y9,[u("p",v9,[u("a",{class:"button is-light is-small is-rounded",onClick:t[7]||(t[7]=(..._)=>o.open_search_podcasts&&o.open_search_podcasts(..._)),textContent:v(e.$t("page.search.show-podcasts",{count:s.podcasts.total.toLocaleString(e.$i18n.locale)}))},null,8,b9)])])):Q("",!0)]),_:1})):Q("",!0),o.show_podcasts&&!s.podcasts.total?(S(),xe(d,{key:11},{content:O(()=>[u("p",null,[u("i",{textContent:v(e.$t("page.search.no-podcasts"))},null,8,w9)])]),_:1})):Q("",!0),o.show_audiobooks&&s.audiobooks.total?(S(),xe(c,{key:12},{"heading-left":O(()=>[u("p",{class:"title is-4",textContent:v(e.$t("page.search.audiobooks"))},null,8,C9)]),content:O(()=>[C(m,{albums:s.audiobooks},null,8,["albums"])]),footer:O(()=>[o.show_all_audiobooks_button?(S(),D("nav",z9,[u("p",x9,[u("a",{class:"button is-light is-small is-rounded",onClick:t[8]||(t[8]=(..._)=>o.open_search_audiobooks&&o.open_search_audiobooks(..._)),textContent:v(e.$t("page.search.show-audiobooks",{count:s.audiobooks.total.toLocaleString(e.$i18n.locale)}))},null,8,k9)])])):Q("",!0)]),_:1})):Q("",!0),o.show_audiobooks&&!s.audiobooks.total?(S(),xe(d,{key:13},{content:O(()=>[u("p",null,[u("i",{textContent:v(e.$t("page.search.no-audiobooks"))},null,8,S9)])]),_:1})):Q("",!0)])}var $9=ve(FR,[["render",E9]]);const A9={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(Gi,!0)}}},T9={class:"section"},O9={class:"container"},P9={class:"columns is-centered"},D9={class:"column is-four-fifths has-text-centered-mobile"},F9=["textContent"],I9={class:"section"},M9={class:"container"},L9={class:"columns is-centered"},R9={class:"column is-four-fifths"},N9={class:"content"},j9={class:"level is-mobile"},V9={class:"level-left"},B9={class:"level-item"},H9=["textContent"],U9={class:"level-right"},q9={key:0},W9=["textContent"],G9={key:1},K9=["textContent"],Z9={class:"table"},Y9=["textContent"],J9=["textContent"],X9=["textContent"],Q9=["textContent"],eN=["textContent"],tN=["textContent"],nN=["textContent"],rN=["textContent"],sN=["textContent"],oN={class:"has-text-right"},iN=["textContent"],aN=vt(" ("),lN=["textContent"],uN=vt(") "),cN=["textContent"],dN={class:"has-text-right"},mN=["textContent"],fN=vt(" ("),pN=["textContent"],hN=vt(") "),_N={class:"section"},gN={class:"container"},yN={class:"columns is-centered"},vN={class:"column is-four-fifths"},bN={class:"content has-text-centered-mobile"},wN=["textContent"],CN=["textContent"],zN=["innerHTML"];function xN(e,t,n,r,s,o){return S(),D("div",null,[u("section",T9,[u("div",O9,[u("div",P9,[u("div",D9,[u("h1",{class:"title is-4",textContent:v(o.config.library_name)},null,8,F9)])])])]),u("section",I9,[u("div",M9,[u("div",L9,[u("div",R9,[u("div",N9,[u("nav",j9,[u("div",V9,[u("div",B9,[u("h2",{class:"title is-5",textContent:v(e.$t("page.about.library"))},null,8,H9)])]),u("div",U9,[o.library.updating?(S(),D("div",q9,[u("a",{class:"button is-small is-loading",textContent:v(e.$t("page.about.update"))},null,8,W9)])):(S(),D("div",G9,[u("a",{class:"button is-small",onClick:t[0]||(t[0]=i=>o.showUpdateDialog()),textContent:v(e.$t("page.about.update"))},null,8,K9)]))])]),u("table",Z9,[u("tbody",null,[u("tr",null,[u("th",{class:"has-text-left",textContent:v(e.$t("page.about.artists"))},null,8,Y9),u("td",{class:"has-text-right",textContent:v(e.$filters.number(o.library.artists))},null,8,J9)]),u("tr",null,[u("th",{class:"has-text-left",textContent:v(e.$t("page.about.albums"))},null,8,X9),u("td",{class:"has-text-right",textContent:v(e.$filters.number(o.library.albums))},null,8,Q9)]),u("tr",null,[u("th",{class:"has-text-left",textContent:v(e.$t("page.about.tracks"))},null,8,eN),u("td",{class:"has-text-right",textContent:v(e.$filters.number(o.library.songs))},null,8,tN)]),u("tr",null,[u("th",{class:"has-text-left",textContent:v(e.$t("page.about.total-playtime"))},null,8,nN),u("td",{class:"has-text-right",textContent:v(e.$filters.durationInDays(o.library.db_playtime*1e3))},null,8,rN)]),u("tr",null,[u("th",{class:"has-text-left",textContent:v(e.$t("page.about.updated"))},null,8,sN),u("td",oN,[u("span",{textContent:v(e.$t("page.about.updated-on",{time:e.$filters.timeFromNow(o.library.updated_at)}))},null,8,iN),aN,u("span",{class:"has-text-grey",textContent:v(e.$filters.datetime(o.library.updated_at))},null,8,lN),uN])]),u("tr",null,[u("th",{class:"has-text-left",textContent:v(e.$t("page.about.uptime"))},null,8,cN),u("td",dN,[u("span",{textContent:v(e.$filters.timeFromNow(o.library.started_at,!0))},null,8,mN),fN,u("span",{class:"has-text-grey",textContent:v(e.$filters.datetime(o.library.started_at))},null,8,pN),hN])])])])])])])])]),u("section",_N,[u("div",gN,[u("div",yN,[u("div",vN,[u("div",bN,[u("p",{class:"is-size-7",textContent:v(e.$t("page.about.version",{version:o.config.version}))},null,8,wN),u("p",{class:"is-size-7",textContent:v(e.$t("page.about.compiled-with",{options:o.config.buildoptions.join(", ")}))},null,8,CN),u("p",{class:"is-size-7",innerHTML:e.$t("page.about.built-with")},null,8,zN)])])])])])])}var kN=ve(A9,[["render",xN]]);const SN={name:"SpotifyListItemAlbum",props:["album"]},EN={class:"media"},$N={key:0,class:"media-left fd-has-action"},AN={class:"media-content fd-has-action is-clipped"},TN=["textContent"],ON={class:"subtitle is-7 has-text-grey"},PN=["textContent"],DN=["textContent"],FN={class:"media-right"};function IN(e,t,n,r,s,o){return S(),D("div",EN,[e.$slots.artwork?(S(),D("div",$N,[xt(e.$slots,"artwork")])):Q("",!0),u("div",AN,[u("h1",{class:"title is-6",textContent:v(n.album.name)},null,8,TN),u("h2",ON,[u("b",{textContent:v(n.album.artists[0].name)},null,8,PN)]),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,DN)]),u("div",FN,[xt(e.$slots,"actions")])])}var zu=ve(SN,[["render",IN]]);const MN={name:"SpotifyListItemPlaylist",props:["playlist"],methods:{open_playlist:function(){this.$router.push({path:"/music/spotify/playlists/"+this.playlist.id})}}},LN={class:"media"},RN=["textContent"],NN=["textContent"],jN={class:"media-right"};function VN(e,t,n,r,s,o){return S(),D("div",LN,[u("div",{class:"media-content fd-has-action is-clipped",onClick:t[0]||(t[0]=(...i)=>o.open_playlist&&o.open_playlist(...i))},[u("h1",{class:"title is-6",textContent:v(n.playlist.name)},null,8,RN),u("h2",{class:"subtitle is-7",textContent:v(n.playlist.owner.display_name)},null,8,NN)]),u("div",jN,[xt(e.$slots,"actions")])])}var Hm=ve(MN,[["render",VN]]);const BN={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}}},HN={key:0,class:"modal is-active"},UN={class:"modal-content fd-modal-card"},qN={class:"card"},WN={class:"card-content"},GN={class:"image is-square fd-has-margin-bottom"},KN=["src"],ZN={class:"title is-4"},YN=["textContent"],JN={class:"content is-small"},XN=["textContent"],QN=["textContent"],ej=["textContent"],tj=["textContent"],nj=["textContent"],rj=["textContent"],sj={class:"card-footer"},oj={class:"icon"},ij=["textContent"],aj={class:"icon"},lj=["textContent"],uj={class:"icon"},cj=["textContent"];function dj(e,t,n,r,s,o){const i=P("mdicon");return S(),D("div",null,[C(Wt,{name:"fade"},{default:O(()=>[n.show?(S(),D("div",HN,[u("div",{class:"modal-background",onClick:t[0]||(t[0]=a=>e.$emit("close"))}),u("div",UN,[u("div",qN,[u("div",WN,[kt(u("figure",GN,[u("img",{src:o.artwork_url,class:"fd-has-shadow",onLoad:t[1]||(t[1]=(...a)=>o.artwork_loaded&&o.artwork_loaded(...a)),onError:t[2]||(t[2]=(...a)=>o.artwork_error&&o.artwork_error(...a))},null,40,KN)],512),[[yo,s.artwork_visible]]),u("p",ZN,[u("a",{class:"has-text-link",onClick:t[3]||(t[3]=(...a)=>o.open_album&&o.open_album(...a)),textContent:v(n.album.name)},null,8,YN)]),u("div",JN,[u("p",null,[u("span",{class:"heading",textContent:v(e.$t("dialog.spotify.album.album-artist"))},null,8,XN),u("a",{class:"title is-6 has-text-link",onClick:t[4]||(t[4]=(...a)=>o.open_artist&&o.open_artist(...a)),textContent:v(n.album.artists[0].name)},null,8,QN)]),u("p",null,[u("span",{class:"heading",textContent:v(e.$t("dialog.spotify.album.release-date"))},null,8,ej),u("span",{class:"title is-6",textContent:v(e.$filters.date(n.album.release_date))},null,8,tj)]),u("p",null,[u("span",{class:"heading",textContent:v(e.$t("dialog.spotify.album.type"))},null,8,nj),u("span",{class:"title is-6",textContent:v(n.album.album_type)},null,8,rj)])])]),u("footer",sj,[u("a",{class:"card-footer-item has-text-dark",onClick:t[5]||(t[5]=(...a)=>o.queue_add&&o.queue_add(...a))},[u("span",oj,[C(i,{name:"playlist-plus",size:"16"})]),u("span",{class:"is-size-7",textContent:v(e.$t("dialog.spotify.album.add"))},null,8,ij)]),u("a",{class:"card-footer-item has-text-dark",onClick:t[6]||(t[6]=(...a)=>o.queue_add_next&&o.queue_add_next(...a))},[u("span",aj,[C(i,{name:"playlist-play",size:"16"})]),u("span",{class:"is-size-7",textContent:v(e.$t("dialog.spotify.album.add-next"))},null,8,lj)]),u("a",{class:"card-footer-item has-text-dark",onClick:t[7]||(t[7]=(...a)=>o.play&&o.play(...a))},[u("span",uj,[C(i,{name:"play",size:"16"})]),u("span",{class:"is-size-7",textContent:v(e.$t("dialog.spotify.album.play"))},null,8,cj)])])])]),u("button",{class:"modal-close is-large","aria-label":"close",onClick:t[8]||(t[8]=a=>e.$emit("close"))})])):Q("",!0)]),_:1})])}var Yi=ve(BN,[["render",dj]]);const mj={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})}}},fj={key:0,class:"modal is-active"},pj={class:"modal-content fd-modal-card"},hj={class:"card"},_j={class:"card-content"},gj={class:"title is-4"},yj=["textContent"],vj={class:"content is-small"},bj=["textContent"],wj=["textContent"],Cj=["textContent"],zj=["textContent"],xj=["textContent"],kj=["textContent"],Sj={class:"card-footer"},Ej={class:"icon"},$j=["textContent"],Aj={class:"icon"},Tj=["textContent"],Oj={class:"icon"},Pj=["textContent"];function Dj(e,t,n,r,s,o){const i=P("mdicon");return S(),D("div",null,[C(Wt,{name:"fade"},{default:O(()=>[n.show?(S(),D("div",fj,[u("div",{class:"modal-background",onClick:t[0]||(t[0]=a=>e.$emit("close"))}),u("div",pj,[u("div",hj,[u("div",_j,[u("p",gj,[u("a",{class:"has-text-link",onClick:t[1]||(t[1]=(...a)=>o.open_playlist&&o.open_playlist(...a)),textContent:v(n.playlist.name)},null,8,yj)]),u("div",vj,[u("p",null,[u("span",{class:"heading",textContent:v(e.$t("dialog.spotify.playlist.owner"))},null,8,bj),u("span",{class:"title is-6",textContent:v(n.playlist.owner.display_name)},null,8,wj)]),u("p",null,[u("span",{class:"heading",textContent:v(e.$t("dialog.spotify.playlist.tracks"))},null,8,Cj),u("span",{class:"title is-6",textContent:v(n.playlist.tracks.total)},null,8,zj)]),u("p",null,[u("span",{class:"heading",textContent:v(e.$t("dialog.spotify.playlist.path"))},null,8,xj),u("span",{class:"title is-6",textContent:v(n.playlist.uri)},null,8,kj)])])]),u("footer",Sj,[u("a",{class:"card-footer-item has-text-dark",onClick:t[2]||(t[2]=(...a)=>o.queue_add&&o.queue_add(...a))},[u("span",Ej,[C(i,{name:"playlist-plus",size:"16"})]),u("span",{class:"is-size-7",textContent:v(e.$t("dialog.spotify.playlist.add"))},null,8,$j)]),u("a",{class:"card-footer-item has-text-dark",onClick:t[3]||(t[3]=(...a)=>o.queue_add_next&&o.queue_add_next(...a))},[u("span",Aj,[C(i,{name:"playlist-play",size:"16"})]),u("span",{class:"is-size-7",textContent:v(e.$t("dialog.spotify.playlist.add-next"))},null,8,Tj)]),u("a",{class:"card-footer-item has-text-dark",onClick:t[4]||(t[4]=(...a)=>o.play&&o.play(...a))},[u("span",Oj,[C(i,{name:"play",size:"16"})]),u("span",{class:"is-size-7",textContent:v(e.$t("dialog.spotify.playlist.play"))},null,8,Pj)])])])]),u("button",{class:"modal-close is-large","aria-label":"close",onClick:t[5]||(t[5]=a=>e.$emit("close"))})])):Q("",!0)]),_:1})])}var xu=ve(mj,[["render",Dj]]);const Za={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(fm,t[0].albums.items),at.commit(pm,t[1].playlists.items))}},Fj={name:"SpotifyPageBrowse",components:{ContentWithHeading:pt,TabsMusic:vr,SpotifyListItemAlbum:zu,SpotifyListItemPlaylist:Hm,SpotifyModalDialogAlbum:Yi,SpotifyModalDialogPlaylist:xu,CoverArtwork:Fr},beforeRouteEnter(e,t,n){Za.load(e).then(r=>{n(s=>Za.set(s,r))})},beforeRouteUpdate(e,t,n){const r=this;Za.load(e).then(s=>{Za.set(r,s),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:""}}},Ij={class:"fd-page-with-tabs"},Mj=["textContent"],Lj={class:"image is-64x64 fd-has-shadow fd-has-action"},Rj=["onClick"],Nj={class:"icon has-text-dark"},jj={class:"level"},Vj={class:"level-item"},Bj=["textContent"],Hj=["onClick"],Uj={class:"icon has-text-dark"},qj={class:"level"},Wj={class:"level-item"};function Gj(e,t,n,r,s,o){const i=P("tabs-music"),a=P("cover-artwork"),l=P("mdicon"),c=P("spotify-list-item-album"),d=P("spotify-modal-dialog-album"),f=P("router-link"),m=P("content-with-heading"),p=P("spotify-list-item-playlist"),h=P("spotify-modal-dialog-playlist");return S(),D("div",Ij,[C(i),C(m,null,{"heading-left":O(()=>[u("p",{class:"title is-4",textContent:v(e.$t("page.spotify.browse.new-releases"))},null,8,Mj)]),content:O(()=>[(S(!0),D(We,null,Ct(o.new_releases,_=>(S(),xe(c,{key:_.id,album:_,onClick:g=>o.open_album(_)},Ui({actions:O(()=>[u("a",{onClick:_t(g=>o.open_album_dialog(_),["prevent","stop"])},[u("span",Nj,[C(l,{name:"dots-vertical",size:"16"})])],8,Rj)]),_:2},[o.is_visible_artwork?{name:"artwork",fn:O(()=>[u("p",Lj,[C(a,{artwork_url:o.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:s.show_album_details_modal,album:s.selected_album,onClose:t[0]||(t[0]=_=>s.show_album_details_modal=!1)},null,8,["show","album"])]),footer:O(()=>[u("nav",jj,[u("p",Vj,[C(f,{to:"/music/spotify/new-releases",class:"button is-light is-small is-rounded"},{default:O(()=>[vt(v(e.$t("page.spotify.browse.show-more")),1)]),_:1})])])]),_:1}),C(m,null,{"heading-left":O(()=>[u("p",{class:"title is-4",textContent:v(e.$t("page.spotify.browse.featured-playlists"))},null,8,Bj)]),content:O(()=>[(S(!0),D(We,null,Ct(o.featured_playlists,_=>(S(),xe(p,{key:_.id,playlist:_},{actions:O(()=>[u("a",{onClick:_t(g=>o.open_playlist_dialog(_),["prevent","stop"])},[u("span",Uj,[C(l,{name:"dots-vertical",size:"16"})])],8,Hj)]),_:2},1032,["playlist"]))),128)),C(h,{show:s.show_playlist_details_modal,playlist:s.selected_playlist,onClose:t[1]||(t[1]=_=>s.show_playlist_details_modal=!1)},null,8,["show","playlist"])]),footer:O(()=>[u("nav",qj,[u("p",Wj,[C(f,{to:"/music/spotify/featured-playlists",class:"button is-light is-small is-rounded"},{default:O(()=>[vt(v(e.$t("page.spotify.browse.show-more")),1)]),_:1})])])]),_:1})])}var Kj=ve(Fj,[["render",Gj]]);const Ya={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(fm,t.albums.items)}},Zj={name:"SpotifyPageBrowseNewReleases",components:{ContentWithHeading:pt,TabsMusic:vr,SpotifyListItemAlbum:zu,SpotifyModalDialogAlbum:Yi,CoverArtwork:Fr},beforeRouteEnter(e,t,n){Ya.load(e).then(r=>{n(s=>Ya.set(s,r))})},beforeRouteUpdate(e,t,n){const r=this;Ya.load(e).then(s=>{Ya.set(r,s),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:""}}},Yj={class:"fd-page-with-tabs"},Jj=u("p",{class:"title is-4"},"New Releases",-1),Xj={class:"image is-64x64 fd-has-shadow fd-has-action"},Qj=["onClick"],eV={class:"icon has-text-dark"};function tV(e,t,n,r,s,o){const i=P("tabs-music"),a=P("cover-artwork"),l=P("mdicon"),c=P("spotify-list-item-album"),d=P("spotify-modal-dialog-album"),f=P("content-with-heading");return S(),D("div",Yj,[C(i),C(f,null,{"heading-left":O(()=>[Jj]),content:O(()=>[(S(!0),D(We,null,Ct(o.new_releases,m=>(S(),xe(c,{key:m.id,album:m,onClick:p=>o.open_album(m)},Ui({actions:O(()=>[u("a",{onClick:_t(p=>o.open_album_dialog(m),["prevent","stop"])},[u("span",eV,[C(l,{name:"dots-vertical",size:"16"})])],8,Qj)]),_:2},[o.is_visible_artwork?{name:"artwork",fn:O(()=>[u("p",Xj,[C(a,{artwork_url:o.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:s.show_album_details_modal,album:s.selected_album,onClose:t[0]||(t[0]=m=>s.show_album_details_modal=!1)},null,8,["show","album"])]),_:1})])}var nV=ve(Zj,[["render",tV]]);const Ja={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(pm,t.playlists.items)}},rV={name:"SpotifyPageBrowseFeaturedPlaylists",components:{ContentWithHeading:pt,TabsMusic:vr,SpotifyListItemPlaylist:Hm,SpotifyModalDialogPlaylist:xu},beforeRouteEnter(e,t,n){Ja.load(e).then(r=>{n(s=>Ja.set(s,r))})},beforeRouteUpdate(e,t,n){const r=this;Ja.load(e).then(s=>{Ja.set(r,s),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}}},sV={class:"fd-page-with-tabs"},oV=u("p",{class:"title is-4"},"Featured Playlists",-1),iV=["onClick"],aV={class:"icon has-text-dark"};function lV(e,t,n,r,s,o){const i=P("tabs-music"),a=P("mdicon"),l=P("spotify-list-item-playlist"),c=P("spotify-modal-dialog-playlist"),d=P("content-with-heading");return S(),D("div",sV,[C(i),C(d,null,{"heading-left":O(()=>[oV]),content:O(()=>[(S(!0),D(We,null,Ct(o.featured_playlists,f=>(S(),xe(l,{key:f.id,playlist:f},{actions:O(()=>[u("a",{onClick:_t(m=>o.open_playlist_dialog(f),["prevent","stop"])},[u("span",aV,[C(a,{name:"dots-vertical",size:"16"})])],8,iV)]),_:2},1032,["playlist"]))),128)),C(c,{show:s.show_playlist_details_modal,playlist:s.selected_playlist,onClose:t[0]||(t[0]=f=>s.show_playlist_details_modal=!1)},null,8,["show","playlist"])]),_:1})])}var uV=ve(rV,[["render",lV]]);const cV={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})}}},dV={key:0,class:"modal is-active"},mV={class:"modal-content fd-modal-card"},fV={class:"card"},pV={class:"card-content"},hV={class:"title is-4"},_V=["textContent"],gV={class:"content is-small"},yV=["textContent"],vV=["textContent"],bV=["textContent"],wV=["textContent"],CV={class:"card-footer"},zV={class:"icon"},xV=["textContent"],kV={class:"icon"},SV=["textContent"],EV={class:"icon"},$V=["textContent"];function AV(e,t,n,r,s,o){const i=P("mdicon");return S(),D("div",null,[C(Wt,{name:"fade"},{default:O(()=>[n.show?(S(),D("div",dV,[u("div",{class:"modal-background",onClick:t[0]||(t[0]=a=>e.$emit("close"))}),u("div",mV,[u("div",fV,[u("div",pV,[u("p",hV,[u("a",{class:"has-text-link",onClick:t[1]||(t[1]=(...a)=>o.open_artist&&o.open_artist(...a)),textContent:v(n.artist.name)},null,8,_V)]),u("div",gV,[u("p",null,[u("span",{class:"heading",textContent:v(e.$t("dialog.spotify.artist.popularity"))},null,8,yV),u("span",{class:"title is-6",textContent:v([n.artist.popularity,n.artist.followers.total].join(" / "))},null,8,vV)]),u("p",null,[u("span",{class:"heading",textContent:v(e.$t("dialog.spotify.artist.genres"))},null,8,bV),u("span",{class:"title is-6",textContent:v(n.artist.genres.join(", "))},null,8,wV)])])]),u("footer",CV,[u("a",{class:"card-footer-item has-text-dark",onClick:t[2]||(t[2]=(...a)=>o.queue_add&&o.queue_add(...a))},[u("span",zV,[C(i,{name:"playlist-plus",size:"16"})]),u("span",{class:"is-size-7",textContent:v(e.$t("dialog.spotify.artist.add"))},null,8,xV)]),u("a",{class:"card-footer-item has-text-dark",onClick:t[3]||(t[3]=(...a)=>o.queue_add_next&&o.queue_add_next(...a))},[u("span",kV,[C(i,{name:"playlist-play",size:"16"})]),u("span",{class:"is-size-7",textContent:v(e.$t("dialog.spotify.artist.add-next"))},null,8,SV)]),u("a",{class:"card-footer-item has-text-dark",onClick:t[4]||(t[4]=(...a)=>o.play&&o.play(...a))},[u("span",EV,[C(i,{name:"play",size:"16"})]),u("span",{class:"is-size-7",textContent:v(e.$t("dialog.spotify.artist.play"))},null,8,$V)])])])]),u("button",{class:"modal-close is-large","aria-label":"close",onClick:t[5]||(t[5]=a=>e.$emit("close"))})])):Q("",!0)]),_:1})])}var s1=ve(cV,[["render",AV]]),ku={exports:{}};/*!
|
|
*
|
|
* @ts-pro/vue-eternal-loading v1.1.1
|
|
* (c) 2021 Oleksandr Havrashenko
|
|
* MIT License
|
|
*
|
|
*/(function(e,t){(function(n,r){e.exports=r($m)})(typeof self!="undefined"?self:an,function(n){return function(r){var s={};function o(i){if(s[i])return s[i].exports;var a=s[i]={i,l:!1,exports:{}};return r[i].call(a.exports,a,a.exports,o),a.l=!0,a.exports}return o.m=r,o.c=s,o.d=function(i,a,l){o.o(i,a)||Object.defineProperty(i,a,{enumerable:!0,get:l})},o.r=function(i){typeof Symbol!="undefined"&&Symbol.toStringTag&&Object.defineProperty(i,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(i,"__esModule",{value:!0})},o.t=function(i,a){if(1&a&&(i=o(i)),8&a||4&a&&typeof i=="object"&&i&&i.__esModule)return i;var l=Object.create(null);if(o.r(l),Object.defineProperty(l,"default",{enumerable:!0,value:i}),2&a&&typeof i!="string")for(var c in i)o.d(l,c,function(d){return i[d]}.bind(null,c));return l},o.n=function(i){var a=i&&i.__esModule?function(){return i.default}:function(){return i};return o.d(a,"a",a),a},o.o=function(i,a){return Object.prototype.hasOwnProperty.call(i,a)},o.p="",o(o.s="fae3")}({"00ee":function(r,s,o){var i=o("b622"),a=i("toStringTag"),l={};l[a]="z",r.exports=String(l)==="[object z]"},"0366":function(r,s,o){var i=o("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,s,o){var i=o("fc6a"),a=o("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,s,o){var i=o("83ab"),a=o("d1e7"),l=o("5c6c"),c=o("fc6a"),d=o("c04e"),f=o("5135"),m=o("0cfb"),p=Object.getOwnPropertyDescriptor;s.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,s,o){var i=o("83ab"),a=o("d039"),l=o("cc12");r.exports=!i&&!a(function(){return Object.defineProperty(l("div"),"a",{get:function(){return 7}}).a!=7})},"1be4":function(r,s,o){var i=o("d066");r.exports=i("document","documentElement")},"1c0b":function(r,s){r.exports=function(o){if(typeof o!="function")throw TypeError(String(o)+" is not a function");return o}},"1c7e":function(r,s,o){var i=o("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,s){r.exports=function(o){if(o==null)throw TypeError("Can't call method on "+o);return o}},"1dde":function(r,s,o){var i=o("d039"),a=o("b622"),l=o("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,s,o){var i=o("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,s,o){var i=o("da84"),a=o("06cf").f,l=o("9112"),c=o("6eeb"),d=o("ce4e"),f=o("e893"),m=o("94ca");r.exports=function(p,h){var _,g,b,w,x,z,E=p.target,T=p.global,j=p.stat;if(g=T?i:j?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+(j?".":"#")+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,s,o){var i=o("ca84"),a=o("7839"),l=a.concat("length","prototype");s.f=Object.getOwnPropertyNames||function(c){return i(c,l)}},"2a62":function(r,s,o){var i=o("825a");r.exports=function(a){var l=a.return;if(l!==void 0)return i(l.call(a)).value}},"2d00":function(r,s,o){var i,a,l=o("da84"),c=o("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,s,o){var i=o("d066");r.exports=i("navigator","userAgent")||""},"35a1":function(r,s,o){var i=o("f5df"),a=o("3f8c"),l=o("b622"),c=l("iterator");r.exports=function(d){if(d!=null)return d[c]||d["@@iterator"]||a[i(d)]}},"37e8":function(r,s,o){var i=o("83ab"),a=o("9bf2"),l=o("825a"),c=o("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,s,o){var i=o("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,s,o){var i=o("6547").charAt,a=o("69f3"),l=o("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,s){r.exports={}},"428f":function(r,s,o){var i=o("da84");r.exports=i},"44ad":function(r,s,o){var i=o("d039"),a=o("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,s,o){var i=o("b622"),a=o("7c73"),l=o("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,s,o){var i=o("2d00"),a=o("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,s,o){var i=o("fc6a"),a=o("50c4"),l=o("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,s,o){var i=o("0366"),a=o("7b0b"),l=o("9bdd"),c=o("e95a"),d=o("50c4"),f=o("8418"),m=o("35a1");r.exports=function(p){var h,_,g,b,w,x,z=a(p),E=typeof this=="function"?this:Array,T=arguments.length,j=T>1?arguments[1]:void 0,F=j!==void 0,A=m(z),M=0;if(F&&(j=i(j,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?j(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,j,[g.value,M],!0):g.value,f(_,M,x);return _.length=M,_}},"50c4":function(r,s,o){var i=o("a691"),a=Math.min;r.exports=function(l){return l>0?a(i(l),9007199254740991):0}},5135:function(r,s,o){var i=o("7b0b"),a={}.hasOwnProperty;r.exports=Object.hasOwn||function(l,c){return a.call(i(l),c)}},5692:function(r,s,o){var i=o("c430"),a=o("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,s,o){var i=o("d066"),a=o("241c"),l=o("7418"),c=o("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,s){r.exports=function(o,i){return{enumerable:!(1&o),configurable:!(2&o),writable:!(4&o),value:i}}},6547:function(r,s,o){var i=o("a691"),a=o("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,s,o){var i=o("861d"),a=o("e8b5"),l=o("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,s,o){var i,a,l,c=o("7f9a"),d=o("da84"),f=o("861d"),m=o("9112"),p=o("5135"),h=o("c6cd"),_=o("f772"),g=o("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,j=E.has,F=E.set;i=function(M,W){if(j.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 j.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,s,o){var i=o("da84"),a=o("9112"),l=o("5135"),c=o("ce4e"),d=o("8925"),f=o("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,s){s.f=Object.getOwnPropertySymbols},"746f":function(r,s,o){var i=o("428f"),a=o("5135"),l=o("e538"),c=o("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,s){r.exports=["constructor","hasOwnProperty","isPrototypeOf","propertyIsEnumerable","toLocaleString","toString","valueOf"]},"7b0b":function(r,s,o){var i=o("1d80");r.exports=function(a){return Object(i(a))}},"7c73":function(r,s,o){var i,a=o("825a"),l=o("37e8"),c=o("7839"),d=o("d012"),f=o("1be4"),m=o("cc12"),p=o("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},j=function(){try{i=document.domain&&new ActiveXObject("htmlfile")}catch{}j=i?E(i):T();for(var F=c.length;F--;)delete j[g][c[F]];return j()};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=j(),A===void 0?M:l(M,A)}},"7dd0":function(r,s,o){var i=o("23e7"),a=o("9ed3"),l=o("e163"),c=o("d2bb"),d=o("d44e"),f=o("9112"),m=o("6eeb"),p=o("b622"),h=o("c430"),_=o("3f8c"),g=o("ae93"),b=g.IteratorPrototype,w=g.BUGGY_SAFARI_ITERATORS,x=p("iterator"),z="keys",E="values",T="entries",j=function(){return this};r.exports=function(F,A,M,W,R,q,B){a(M,A,W);var oe,X,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",Be=!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&&(oe=l(we.call(new F)),b!==Object.prototype&&oe.next&&(h||l(oe)===b||(c?c(oe,b):typeof oe[x]!="function"&&f(oe,x,j)),d(oe,Le,!0,!0),h&&(_[Le]=j))),R==E&&J&&J.name!==E&&(Be=!0,me=function(){return J.call(this)}),h&&!B||he[x]===me||f(he,x,me),_[A]=me,R)if(X={values:ge(E),keys:q?me:ge(z),entries:ge(T)},B)for(ue in X)(w||Be||!(ue in he))&&m(he,ue,X[ue]);else i({target:A,proto:!0,forced:w||Be},X);return X}},"7f9a":function(r,s,o){var i=o("da84"),a=o("8925"),l=i.WeakMap;r.exports=typeof l=="function"&&/native code/.test(a(l))},"825a":function(r,s,o){var i=o("861d");r.exports=function(a){if(!i(a))throw TypeError(String(a)+" is not an object");return a}},"83ab":function(r,s,o){var i=o("d039");r.exports=!i(function(){return Object.defineProperty({},1,{get:function(){return 7}})[1]!=7})},8418:function(r,s,o){var i=o("c04e"),a=o("9bf2"),l=o("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,s){r.exports=function(o){return typeof o=="object"?o!==null:typeof o=="function"}},8875:function(r,s,o){var i,a,l;(function(c,d){a=[],i=d,l=typeof i=="function"?i.apply(s,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,s,o){var i=o("c6cd"),a=Function.toString;typeof i.inspectSource!="function"&&(i.inspectSource=function(l){return a.call(l)}),r.exports=i.inspectSource},"8bbf":function(r,s){r.exports=n},"90e3":function(r,s){var o=0,i=Math.random();r.exports=function(a){return"Symbol("+String(a===void 0?"":a)+")_"+(++o+i).toString(36)}},9112:function(r,s,o){var i=o("83ab"),a=o("9bf2"),l=o("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,s,o){var i=o("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,s,o){var i=o("825a"),a=o("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,s,o){var i=o("83ab"),a=o("0cfb"),l=o("825a"),c=o("c04e"),d=Object.defineProperty;s.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,s,o){var i=o("ae93").IteratorPrototype,a=o("7c73"),l=o("5c6c"),c=o("d44e"),d=o("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,s,o){var i=o("23e7"),a=o("da84"),l=o("d066"),c=o("c430"),d=o("83ab"),f=o("4930"),m=o("fdbf"),p=o("d039"),h=o("5135"),_=o("e8b5"),g=o("861d"),b=o("825a"),w=o("7b0b"),x=o("fc6a"),z=o("c04e"),E=o("5c6c"),T=o("7c73"),j=o("df75"),F=o("241c"),A=o("057f"),M=o("7418"),W=o("06cf"),R=o("9bf2"),q=o("d1e7"),B=o("9112"),oe=o("6eeb"),X=o("5692"),ue=o("f772"),ge=o("d012"),Le=o("90e3"),Be=o("b622"),he=o("e538"),J=o("746f"),me=o("d44e"),we=o("69f3"),H=o("b727").forEach,ie=ue("hidden"),se="Symbol",be="prototype",je=Be("toPrimitive"),Ie=we.set,Ee=we.getterFor(se),Ae=Object[be],$=a.Symbol,L=l("JSON","stringify"),Y=W.f,le=R.f,ce=A.f,ye=q.f,Ce=X("symbols"),pe=X("op-symbols"),V=X("string-to-symbol-registry"),U=X("symbol-to-string-registry"),$e=X("wks"),ze=a.QObject,De=!ze||!ze[be]||!ze[be].findChild,Re=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,qe=function(re,de){var te=Ce[re]=T($[be]);return Ie(te,{type:se,tag:re,description:de}),d||(te.description=de),te},tt=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),Re(re,ae,te)):le(re,ae,te)},y=function(re,de){b(re);var te=x(de),ae=j(te).concat(Se(te));return H(ae,function(Ne){d&&!K.call(te,Ne)||k(re,Ne,te[Ne])}),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 Ne=Y(te,ae);return!Ne||!h(Ce,ae)||h(te,ie)&&te[ie][ae]||(Ne.enumerable=!0),Ne}},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(Ne){!h(Ce,Ne)||de&&!h(Ae,Ne)||ae.push(Ce[Ne])}),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),Re(this,de,E(1,ae))};return d&&De&&Re(Ae,de,{configurable:!0,set:te}),qe(de,re)},oe($[be],"toString",function(){return Ee(this).tag}),oe($,"withoutSetter",function(re){return qe(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 qe(Be(re),re)},d&&(le($[be],"description",{configurable:!0,get:function(){return Ee(this).description}}),c||oe(Ae,"propertyIsEnumerable",K,{unsafe:!0}))),i({global:!0,wrap:!0,forced:!f,sham:!f},{Symbol:$}),H(j($e),function(re){J(re)}),i({target:se,stat:!0,forced:!f},{for:function(re){var de=String(re);if(h(V,de))return V[de];var te=$(de);return V[de]=te,U[te]=de,te},keyFor:function(re){if(!tt(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,Ne=[re],He=1;arguments.length>He;)Ne.push(arguments[He++]);if(ae=de,(g(de)||re!==void 0)&&!tt(re))return _(de)||(de=function(ct,_n){if(typeof ae=="function"&&(_n=ae.call(this,ct,_n)),!tt(_n))return _n}),Ne[1]=de,L.apply(null,Ne)}})}$[be][je]||B($[be],je,$[be].valueOf),me($,se),ge[ie]=!0},a630:function(r,s,o){var i=o("23e7"),a=o("4df4"),l=o("1c7e"),c=!l(function(d){Array.from(d)});i({target:"Array",stat:!0,forced:c},{from:a})},a691:function(r,s){var o=Math.ceil,i=Math.floor;r.exports=function(a){return isNaN(a=+a)?0:(a>0?i:o)(a)}},ae93:function(r,s,o){var i,a,l,c=o("d039"),d=o("e163"),f=o("9112"),m=o("5135"),p=o("b622"),h=o("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,s,o){var i=o("00ee"),a=o("f5df");r.exports=i?{}.toString:function(){return"[object "+a(this)+"]"}},b0c0:function(r,s,o){var i=o("83ab"),a=o("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,s,o){var i=o("da84"),a=o("5692"),l=o("5135"),c=o("90e3"),d=o("4930"),f=o("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,s,o){var i=o("0366"),a=o("44ad"),l=o("7b0b"),c=o("50c4"),d=o("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,j,F){for(var A,M,W=l(E),R=a(W),q=i(T,j,3),B=c(R.length),oe=0,X=F||d,ue=h?X(E,B):_||x?X(E,0):void 0;B>oe;oe++)if((z||oe in R)&&(A=R[oe],M=q(A,oe,W),p))if(h)ue[oe]=M;else if(M)switch(p){case 3:return!0;case 5:return A;case 6:return oe;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,s,o){var i=o("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,s){r.exports=!1},c6b6:function(r,s){var o={}.toString;r.exports=function(i){return o.call(i).slice(8,-1)}},c6cd:function(r,s,o){var i=o("da84"),a=o("ce4e"),l="__core-js_shared__",c=i[l]||a(l,{});r.exports=c},c8ba:function(r,s){var o;o=function(){return this}();try{o=o||new Function("return this")()}catch{typeof window=="object"&&(o=window)}r.exports=o},ca84:function(r,s,o){var i=o("5135"),a=o("fc6a"),l=o("4d64").indexOf,c=o("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,s,o){var i=o("da84"),a=o("861d"),l=i.document,c=a(l)&&a(l.createElement);r.exports=function(d){return c?l.createElement(d):{}}},ce4e:function(r,s,o){var i=o("da84"),a=o("9112");r.exports=function(l,c){try{a(i,l,c)}catch{i[l]=c}return c}},d012:function(r,s){r.exports={}},d039:function(r,s){r.exports=function(o){try{return!!o()}catch{return!0}}},d066:function(r,s,o){var i=o("428f"),a=o("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,s,o){var i={}.propertyIsEnumerable,a=Object.getOwnPropertyDescriptor,l=a&&!i.call({1:2},1);s.f=l?function(c){var d=a(this,c);return!!d&&d.enumerable}:i},d28b:function(r,s,o){var i=o("746f");i("iterator")},d2bb:function(r,s,o){var i=o("825a"),a=o("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,s,o){var i=o("00ee"),a=o("6eeb"),l=o("b041");i||a(Object.prototype,"toString",l,{unsafe:!0})},d44e:function(r,s,o){var i=o("9bf2").f,a=o("5135"),l=o("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,s,o){(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,o("c8ba"))},ddb0:function(r,s,o){var i=o("da84"),a=o("fdbc"),l=o("e260"),c=o("9112"),d=o("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,s,o){var i=o("ca84"),a=o("7839");r.exports=Object.keys||function(l){return i(l,a)}},e01a:function(r,s,o){var i=o("23e7"),a=o("83ab"),l=o("da84"),c=o("5135"),d=o("861d"),f=o("9bf2").f,m=o("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,s,o){var i=o("5135"),a=o("7b0b"),l=o("f772"),c=o("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,s,o){var i=o("d039");r.exports=!i(function(){function a(){}return a.prototype.constructor=null,Object.getPrototypeOf(new a)!==a.prototype})},e260:function(r,s,o){var i=o("fc6a"),a=o("44d2"),l=o("3f8c"),c=o("69f3"),d=o("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,s,o){var i=o("b622");s.f=i},e893:function(r,s,o){var i=o("5135"),a=o("56ef"),l=o("06cf"),c=o("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,s,o){var i=o("c6b6");r.exports=Array.isArray||function(a){return i(a)=="Array"}},e95a:function(r,s,o){var i=o("b622"),a=o("3f8c"),l=i("iterator"),c=Array.prototype;r.exports=function(d){return d!==void 0&&(a.Array===d||c[l]===d)}},f5df:function(r,s,o){var i=o("00ee"),a=o("c6b6"),l=o("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,s,o){var i=o("5692"),a=o("90e3"),l=i("keys");r.exports=function(c){return l[c]||(l[c]=a(c))}},fae3:function(r,s,o){if(o.r(s),o.d(s,"VueEternalLoading",function(){return W}),typeof window!="undefined"){var i=window.document.currentScript,a=o("8875");i=a(),"currentScript"in document||Object.defineProperty(document,"currentScript",{get:a});var l=i&&i.src.match(/(.+\/)[^/]+\.js(\?.*)?$/);l&&(o.p=l[1])}var c=o("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,oe,X,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}o("a4d3"),o("e01a"),o("d3b7"),o("d28b"),o("e260"),o("3ca3"),o("ddb0");function b(R,q){var B=R==null?null:typeof Symbol!="undefined"&&R[Symbol.iterator]||R["@@iterator"];if(B!=null){var oe,X,ue=[],ge=!0,Le=!1;try{for(B=B.call(R);!(ge=(oe=B.next()).done)&&(ue.push(oe.value),!(q&&ue.length===q));ge=!0);}catch(Be){Le=!0,X=Be}finally{try{ge||B.return==null||B.return()}finally{if(Le)throw X}}return ue}}o("fb6a"),o("b0c0"),o("a630");function w(R,q){(q==null||q>R.length)&&(q=R.length);for(var B=0,oe=new Array(q);B<q;B++)oe[B]=R[B];return oe}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 j(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,oe=Object(c.ref)(),X=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 Be(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){X.value=Ie}function se(){oe.value&&B.unobserve(oe.value)}function be(){oe.value&&B.observe(oe.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=j((L=R.container)!==null&&L!==void 0?L:document.documentElement)}se(),R.load({loaded:Be,noMore:he,noResults:J,error:me},{isFirstLoad:ue.value})}},{root:R.container,threshold:0,rootMargin:R.margin})}return Object(c.watchEffect)(function(){B&&se(),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:oe,state:X,isFirstLoad:ue,retry:H}}});M.render=_;var W=M},fb6a:function(r,s,o){var i=o("23e7"),a=o("861d"),l=o("e8b5"),c=o("23cb"),d=o("50c4"),f=o("fc6a"),m=o("8418"),p=o("b622"),h=o("1dde"),_=h("slice"),g=p("species"),b=[].slice,w=Math.max;i({target:"Array",proto:!0,forced:!_},{slice:function(x,z){var E,T,j,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)),j=0;M<W;M++,j++)M in F&&m(T,j,F[M]);return T.length=j,T}})},fc6a:function(r,s,o){var i=o("44ad"),a=o("1d80");r.exports=function(l){return i(a(l))}},fdbc:function(r,s){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,s,o){var i=o("4930");r.exports=i&&!Symbol.sham&&typeof Symbol.iterator=="symbol"}})})})(ku);const wd=50,Xa={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:wd,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])}},TV={name:"SpotifyPageArtist",components:{ContentWithHeading:pt,SpotifyListItemAlbum:zu,SpotifyModalDialogAlbum:Yi,SpotifyModalDialogArtist:s1,VueEternalLoading:ku.exports.VueEternalLoading,CoverArtwork:Fr},beforeRouteEnter(e,t,n){Xa.load(e).then(r=>{n(s=>Xa.set(s,r))})},beforeRouteUpdate(e,t,n){const r=this;Xa.load(e).then(s=>{Xa.set(r,s),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:wd,offset:this.offset,include_groups:"album,single"}).then(n=>{this.append_albums(n),e(n.items.length,wd)})},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:""}}},OV=["textContent"],PV={class:"buttons is-centered"},DV={class:"icon"},FV={class:"icon"},IV=["textContent"],MV=["textContent"],LV={class:"image is-64x64 fd-has-shadow fd-has-action"},RV=["onClick"],NV={class:"icon has-text-dark"},jV=vt(" . ");function VV(e,t,n,r,s,o){const i=P("mdicon"),a=P("cover-artwork"),l=P("spotify-list-item-album"),c=P("VueEternalLoading"),d=P("spotify-modal-dialog-album"),f=P("spotify-modal-dialog-artist"),m=P("content-with-heading");return S(),xe(m,null,{"heading-left":O(()=>[u("p",{class:"title is-4",textContent:v(s.artist.name)},null,8,OV)]),"heading-right":O(()=>[u("div",PV,[u("a",{class:"button is-small is-light is-rounded",onClick:t[0]||(t[0]=p=>s.show_artist_details_modal=!0)},[u("span",DV,[C(i,{name:"dots-horizontal",size:"16"})])]),u("a",{class:"button is-small is-dark is-rounded",onClick:t[1]||(t[1]=(...p)=>o.play&&o.play(...p))},[u("span",FV,[C(i,{name:"shuffle",size:"16"})]),u("span",{textContent:v(e.$t("page.spotify.artist.shuffle"))},null,8,IV)])])]),content:O(()=>[u("p",{class:"heading has-text-centered-mobile",textContent:v(e.$t("page.spotify.artist.album-count",{count:s.total}))},null,8,MV),(S(!0),D(We,null,Ct(s.albums,p=>(S(),xe(l,{key:p.id,album:p,onClick:h=>o.open_album(p)},Ui({actions:O(()=>[u("a",{onClick:_t(h=>o.open_dialog(p),["prevent","stop"])},[u("span",NV,[C(i,{name:"dots-vertical",size:"16"})])],8,RV)]),_:2},[o.is_visible_artwork?{name:"artwork",fn:O(()=>[u("p",LV,[C(a,{artwork_url:o.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)),s.offset<s.total?(S(),xe(c,{key:0,load:o.load_next},{"no-more":O(()=>[jV]),_:1},8,["load"])):Q("",!0),C(d,{show:s.show_details_modal,album:s.selected_album,onClose:t[2]||(t[2]=p=>s.show_details_modal=!1)},null,8,["show","album"]),C(f,{show:s.show_artist_details_modal,artist:s.artist,onClose:t[3]||(t[3]=p=>s.show_artist_details_modal=!1)},null,8,["show","artist"])]),_:1})}var BV=ve(TV,[["render",VV]]);const HV={name:"SpotifyListItemTrack",props:["track","position","album","context_uri"],methods:{play:function(){Z.player_play_uri(this.context_uri,!1,this.position)}}},UV={class:"media"},qV=["textContent"],WV=["textContent"],GV={key:0,class:"subtitle is-7"},KV=vt(" ("),ZV=["textContent"],YV=["textContent"],JV=vt(") "),XV={class:"media-right"};function QV(e,t,n,r,s,o){return S(),D("div",UV,[u("div",{class:"media-content fd-has-action is-clipped",onClick:t[0]||(t[0]=(...i)=>o.play&&o.play(...i))},[u("h1",{class:Ze(["title is-6",{"has-text-grey-light":n.track.is_playable===!1}]),textContent:v(n.track.name)},null,10,qV),u("h2",{class:Ze(["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,WV)],2),n.track.is_playable===!1?(S(),D("h2",GV,[KV,u("span",{textContent:v(e.$t("list.spotify.not-playable-track"))},null,8,ZV),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,YV)):Q("",!0),JV])):Q("",!0)]),u("div",XV,[xt(e.$slots,"actions")])])}var Um=ve(HV,[["render",QV]]);const eB={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})}}},tB={key:0,class:"modal is-active"},nB={class:"modal-content fd-modal-card"},rB={class:"card"},sB={class:"card-content"},oB=["textContent"],iB=["textContent"],aB={class:"content is-small"},lB=["textContent"],uB=["textContent"],cB=["textContent"],dB=["textContent"],mB=["textContent"],fB=["textContent"],pB=["textContent"],hB=["textContent"],_B=["textContent"],gB=["textContent"],yB=["textContent"],vB=["textContent"],bB={class:"card-footer"},wB={class:"icon"},CB=["textContent"],zB={class:"icon"},xB=["textContent"],kB={class:"icon"},SB=["textContent"];function EB(e,t,n,r,s,o){const i=P("mdicon");return S(),D("div",null,[C(Wt,{name:"fade"},{default:O(()=>[n.show?(S(),D("div",tB,[u("div",{class:"modal-background",onClick:t[0]||(t[0]=a=>e.$emit("close"))}),u("div",nB,[u("div",rB,[u("div",sB,[u("p",{class:"title is-4",textContent:v(n.track.name)},null,8,oB),u("p",{class:"subtitle",textContent:v(n.track.artists[0].name)},null,8,iB),u("div",aB,[u("p",null,[u("span",{class:"heading",textContent:v(e.$t("dialog.spotify.track.album"))},null,8,lB),u("a",{class:"title is-6 has-text-link",onClick:t[1]||(t[1]=(...a)=>o.open_album&&o.open_album(...a)),textContent:v(n.album.name)},null,8,uB)]),u("p",null,[u("span",{class:"heading",textContent:v(e.$t("dialog.spotify.track.album-artist"))},null,8,cB),u("a",{class:"title is-6 has-text-link",onClick:t[2]||(t[2]=(...a)=>o.open_artist&&o.open_artist(...a)),textContent:v(n.album.artists[0].name)},null,8,dB)]),u("p",null,[u("span",{class:"heading",textContent:v(e.$t("dialog.spotify.track.release-date"))},null,8,mB),u("span",{class:"title is-6",textContent:v(e.$filters.date(n.album.release_date))},null,8,fB)]),u("p",null,[u("span",{class:"heading",textContent:v(e.$t("dialog.spotify.track.position"))},null,8,pB),u("span",{class:"title is-6",textContent:v([n.track.disc_number,n.track.track_number].join(" / "))},null,8,hB)]),u("p",null,[u("span",{class:"heading",textContent:v(e.$t("dialog.spotify.track.duration"))},null,8,_B),u("span",{class:"title is-6",textContent:v(e.$filters.durationInHours(n.track.duration_ms))},null,8,gB)]),u("p",null,[u("span",{class:"heading",textContent:v(e.$t("dialog.spotify.track.path"))},null,8,yB),u("span",{class:"title is-6",textContent:v(n.track.uri)},null,8,vB)])])]),u("footer",bB,[u("a",{class:"card-footer-item has-text-dark",onClick:t[3]||(t[3]=(...a)=>o.queue_add&&o.queue_add(...a))},[u("span",wB,[C(i,{name:"playlist-plus",size:"16"})]),u("span",{class:"is-size-7",textContent:v(e.$t("dialog.spotify.track.add"))},null,8,CB)]),u("a",{class:"card-footer-item has-text-dark",onClick:t[4]||(t[4]=(...a)=>o.queue_add_next&&o.queue_add_next(...a))},[u("span",zB,[C(i,{name:"playlist-play",size:"16"})]),u("span",{class:"is-size-7",textContent:v(e.$t("dialog.spotify.track.add-next"))},null,8,xB)]),u("a",{class:"card-footer-item has-text-dark",onClick:t[5]||(t[5]=(...a)=>o.play&&o.play(...a))},[u("span",kB,[C(i,{name:"play",size:"16"})]),u("span",{class:"is-size-7",textContent:v(e.$t("dialog.spotify.track.play"))},null,8,SB)])])])]),u("button",{class:"modal-close is-large","aria-label":"close",onClick:t[6]||(t[6]=a=>e.$emit("close"))})])):Q("",!0)]),_:1})])}var qm=ve(eB,[["render",EB]]);const Qa={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}},$B={name:"PageAlbum",components:{ContentWithHero:Nm,SpotifyListItemTrack:Um,SpotifyModalDialogTrack:qm,SpotifyModalDialogAlbum:Yi,CoverArtwork:Fr},beforeRouteEnter(e,t,n){Qa.load(e).then(r=>{n(s=>Qa.set(s,r))})},beforeRouteUpdate(e,t,n){const r=this;Qa.load(e).then(s=>{Qa.set(r,s),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}}},AB=["textContent"],TB={class:"subtitle is-6 has-text-link has-text-weight-normal"},OB=["textContent"],PB={class:"buttons fd-is-centered-mobile fd-has-margin-top"},DB={class:"icon"},FB=["textContent"],IB={class:"icon"},MB={class:"image is-square fd-has-shadow fd-has-action"},LB=["textContent"],RB=["onClick"],NB={class:"icon has-text-dark"};function jB(e,t,n,r,s,o){const i=P("mdicon"),a=P("cover-artwork"),l=P("spotify-list-item-track"),c=P("spotify-modal-dialog-track"),d=P("spotify-modal-dialog-album"),f=P("content-with-hero");return S(),xe(f,null,{"heading-left":O(()=>[u("h1",{class:"title is-5",textContent:v(s.album.name)},null,8,AB),u("h2",TB,[u("a",{class:"has-text-link",onClick:t[0]||(t[0]=(...m)=>o.open_artist&&o.open_artist(...m)),textContent:v(s.album.artists[0].name)},null,8,OB)]),u("div",PB,[u("a",{class:"button is-small is-dark is-rounded",onClick:t[1]||(t[1]=(...m)=>o.play&&o.play(...m))},[u("span",DB,[C(i,{name:"shuffle",size:"16"})]),u("span",{textContent:v(e.$t("page.spotify.album.shuffle"))},null,8,FB)]),u("a",{class:"button is-small is-light is-rounded",onClick:t[2]||(t[2]=m=>s.show_album_details_modal=!0)},[u("span",IB,[C(i,{name:"dots-horizontal",size:"16"})])])])]),"heading-right":O(()=>[u("p",MB,[C(a,{artwork_url:o.artwork_url,artist:s.album.artist,album:s.album.name,onClick:t[3]||(t[3]=m=>s.show_album_details_modal=!0)},null,8,["artwork_url","artist","album"])])]),content:O(()=>[u("p",{class:"heading is-7 has-text-centered-mobile fd-has-margin-top",textContent:v(e.$t("page.spotify.album.track-count",{count:s.album.tracks.total}))},null,8,LB),(S(!0),D(We,null,Ct(s.album.tracks.items,(m,p)=>(S(),xe(l,{key:m.id,track:m,position:p,album:s.album,context_uri:s.album.uri},{actions:O(()=>[u("a",{onClick:_t(h=>o.open_track_dialog(m),["prevent","stop"])},[u("span",NB,[C(i,{name:"dots-vertical",size:"16"})])],8,RB)]),_:2},1032,["track","position","album","context_uri"]))),128)),C(c,{show:s.show_track_details_modal,track:s.selected_track,album:s.album,onClose:t[4]||(t[4]=m=>s.show_track_details_modal=!1)},null,8,["show","track","album"]),C(d,{show:s.show_album_details_modal,album:s.album,onClose:t[5]||(t[5]=m=>s.show_album_details_modal=!1)},null,8,["show","album"])]),_:1})}var VB=ve($B,[["render",jB]]);const Cd=50,el={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:Cd,offset:0})])},set:function(e,t){e.playlist=t[0],e.tracks=[],e.total=0,e.offset=0,e.append_tracks(t[1])}},BB={name:"SpotifyPagePlaylist",components:{ContentWithHeading:pt,SpotifyListItemTrack:Um,SpotifyModalDialogTrack:qm,SpotifyModalDialogPlaylist:xu,VueEternalLoading:ku.exports.VueEternalLoading},beforeRouteEnter(e,t,n){el.load(e).then(r=>{n(s=>el.set(s,r))})},beforeRouteUpdate(e,t,n){const r=this;el.load(e).then(s=>{el.set(r,s),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:Cd,offset:this.offset}).then(n=>{this.append_tracks(n),e(n.items.length,Cd)})},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}}},HB=["textContent"],UB={class:"buttons is-centered"},qB={class:"icon"},WB={class:"icon"},GB=["textContent"],KB=["textContent"],ZB=["onClick"],YB={class:"icon has-text-dark"},JB=vt(" . ");function XB(e,t,n,r,s,o){const i=P("mdicon"),a=P("spotify-list-item-track"),l=P("VueEternalLoading"),c=P("spotify-modal-dialog-track"),d=P("spotify-modal-dialog-playlist"),f=P("content-with-heading");return S(),xe(f,null,{"heading-left":O(()=>[u("div",{class:"title is-4",textContent:v(s.playlist.name)},null,8,HB)]),"heading-right":O(()=>[u("div",UB,[u("a",{class:"button is-small is-light is-rounded",onClick:t[0]||(t[0]=m=>s.show_playlist_details_modal=!0)},[u("span",qB,[C(i,{name:"dots-horizontal",size:"16"})])]),u("a",{class:"button is-small is-dark is-rounded",onClick:t[1]||(t[1]=(...m)=>o.play&&o.play(...m))},[u("span",WB,[C(i,{name:"shuffle",size:"16"})]),u("span",{textContent:v(e.$t("page.spotify.playlist.shuffle"))},null,8,GB)])])]),content:O(()=>[u("p",{class:"heading has-text-centered-mobile",textContent:v(e.$t("page.spotify.playlist.count",{count:s.playlist.tracks.total}))},null,8,KB),(S(!0),D(We,null,Ct(s.tracks,(m,p)=>(S(),xe(a,{key:m.track.id,track:m.track,album:m.track.album,position:p,context_uri:s.playlist.uri},{actions:O(()=>[u("a",{onClick:_t(h=>o.open_track_dialog(m.track),["prevent","stop"])},[u("span",YB,[C(i,{name:"dots-vertical",size:"16"})])],8,ZB)]),_:2},1032,["track","album","position","context_uri"]))),128)),s.offset<s.total?(S(),xe(l,{key:0,load:o.load_next},{"no-more":O(()=>[JB]),_:1},8,["load"])):Q("",!0),C(c,{show:s.show_track_details_modal,track:s.selected_track,album:s.selected_track.album,onClose:t[2]||(t[2]=m=>s.show_track_details_modal=!1)},null,8,["show","track","album"]),C(d,{show:s.show_playlist_details_modal,playlist:s.playlist,onClose:t[3]||(t[3]=m=>s.show_playlist_details_modal=!1)},null,8,["show","playlist"])]),_:1})}var QB=ve(BB,[["render",XB]]);const eH={name:"SpotifyListItemArtist",props:["artist"],methods:{open_artist:function(){this.$router.push({path:"/music/spotify/artists/"+this.artist.id})}}},tH={class:"media"},nH=["textContent"],rH={class:"media-right"};function sH(e,t,n,r,s,o){return S(),D("div",tH,[u("div",{class:"media-content fd-has-action is-clipped",onClick:t[0]||(t[0]=(...i)=>o.open_artist&&o.open_artist(...i))},[u("h1",{class:"title is-6",textContent:v(n.artist.name)},null,8,nH)]),u("div",rH,[xt(e.$slots,"actions")])])}var oH=ve(eH,[["render",sH]]);const Wo=50,iH={name:"SpotifyPageSearch",components:{ContentWithHeading:pt,ContentText:n1,TabsSearch:r1,SpotifyListItemTrack:Um,SpotifyListItemArtist:oH,SpotifyListItemAlbum:zu,SpotifyListItemPlaylist:Hm,SpotifyModalDialogTrack:qm,SpotifyModalDialogArtist:s1,SpotifyModalDialogAlbum:Yi,SpotifyModalDialogPlaylist:xu,VueEternalLoading:ku.exports.VueEternalLoading,CoverArtwork:Fr},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:Wo,this.search_param.offset=this.query.offset?this.query.offset:0,this.$store.commit(hm,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,Wo)})},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,Wo)})},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,Wo)})},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,Wo)})},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:""}}},aH={class:"section fd-remove-padding-bottom"},lH={class:"container"},uH={class:"columns is-centered"},cH={class:"column is-four-fifths"},dH={class:"field"},mH={class:"control is-expanded has-icons-left"},fH={class:"icon is-left"},pH={class:"tags",style:{"margin-top":"16px"}},hH=["onClick","textContent"],_H=["textContent"],gH=["onClick"],yH={class:"icon has-text-dark"},vH=vt(" . "),bH={key:0,class:"level"},wH={class:"level-item"},CH=["textContent"],zH=["textContent"],xH=["textContent"],kH=["onClick"],SH={class:"icon has-text-dark"},EH=vt(" . "),$H={key:0,class:"level"},AH={class:"level-item"},TH=["textContent"],OH=["textContent"],PH=["textContent"],DH={class:"image is-64x64 fd-has-shadow fd-has-action"},FH=["onClick"],IH={class:"icon has-text-dark"},MH=vt(" . "),LH={key:0,class:"level"},RH={class:"level-item"},NH=["textContent"],jH=["textContent"],VH=["textContent"],BH=["onClick"],HH={class:"icon has-text-dark"},UH=vt(" . "),qH={key:0,class:"level"},WH={class:"level-item"},GH=["textContent"],KH=["textContent"];function ZH(e,t,n,r,s,o){const i=P("mdicon"),a=P("tabs-search"),l=P("spotify-list-item-track"),c=P("VueEternalLoading"),d=P("spotify-modal-dialog-track"),f=P("content-with-heading"),m=P("content-text"),p=P("spotify-list-item-artist"),h=P("spotify-modal-dialog-artist"),_=P("cover-artwork"),g=P("spotify-list-item-album"),b=P("spotify-modal-dialog-album"),w=P("spotify-list-item-playlist"),x=P("spotify-modal-dialog-playlist");return S(),D("div",null,[u("section",aH,[u("div",lH,[u("div",uH,[u("div",cH,[u("form",{onSubmit:t[1]||(t[1]=_t((...z)=>o.new_search&&o.new_search(...z),["prevent"]))},[u("div",dH,[u("p",mH,[kt(u("input",{ref:"search_field","onUpdate:modelValue":t[0]||(t[0]=z=>s.search_query=z),class:"input is-rounded is-shadowless",type:"text",placeholder:"Search",autocomplete:"off"},null,512),[[kn,s.search_query]]),u("span",fH,[C(i,{name:"magnify",size:"16"})])])])],32),u("div",pH,[(S(!0),D(We,null,Ct(o.recent_searches,z=>(S(),D("a",{key:z,class:"tag",onClick:E=>o.open_recent_search(z),textContent:v(z)},null,8,hH))),128))])])])])]),C(a,{query:s.search_query},null,8,["query"]),o.show_tracks&&s.tracks.total?(S(),xe(f,{key:0},{"heading-left":O(()=>[u("p",{class:"title is-4",textContent:v(e.$t("page.spotify.search.tracks"))},null,8,_H)]),content:O(()=>[(S(!0),D(We,null,Ct(s.tracks.items,z=>(S(),xe(l,{key:z.id,track:z,album:z.album,position:0,context_uri:z.uri},{actions:O(()=>[u("a",{onClick:_t(E=>o.open_track_dialog(z),["prevent","stop"])},[u("span",yH,[C(i,{name:"dots-vertical",size:"16"})])],8,gH)]),_:2},1032,["track","album","context_uri"]))),128)),s.query.type==="track"?(S(),xe(c,{key:0,load:o.search_tracks_next},{"no-more":O(()=>[vH]),_:1},8,["load"])):Q("",!0),C(d,{show:s.show_track_details_modal,track:s.selected_track,album:s.selected_track.album,onClose:t[2]||(t[2]=z=>s.show_track_details_modal=!1)},null,8,["show","track","album"])]),footer:O(()=>[o.show_all_tracks_button?(S(),D("nav",bH,[u("p",wH,[u("a",{class:"button is-light is-small is-rounded",onClick:t[3]||(t[3]=(...z)=>o.open_search_tracks&&o.open_search_tracks(...z)),textContent:v(e.$t("page.spotify.search.show-all-tracks",{count:s.tracks.total.toLocaleString(e.$i18n.locale)}))},null,8,CH)])])):Q("",!0)]),_:1})):Q("",!0),o.show_tracks&&!s.tracks.total?(S(),xe(m,{key:1,class:"mt-6"},{content:O(()=>[u("p",null,[u("i",{textContent:v(e.$t("page.spotify.search.no-tracks"))},null,8,zH)])]),_:1})):Q("",!0),o.show_artists&&s.artists.total?(S(),xe(f,{key:2},{"heading-left":O(()=>[u("p",{class:"title is-4",textContent:v(e.$t("page.spotify.search.artists"))},null,8,xH)]),content:O(()=>[(S(!0),D(We,null,Ct(s.artists.items,z=>(S(),xe(p,{key:z.id,artist:z},{actions:O(()=>[u("a",{onClick:_t(E=>o.open_artist_dialog(z),["prevent","stop"])},[u("span",SH,[C(i,{name:"dots-vertical",size:"16"})])],8,kH)]),_:2},1032,["artist"]))),128)),s.query.type==="artist"?(S(),xe(c,{key:0,load:o.search_artists_next},{"no-more":O(()=>[EH]),_:1},8,["load"])):Q("",!0),C(h,{show:s.show_artist_details_modal,artist:s.selected_artist,onClose:t[4]||(t[4]=z=>s.show_artist_details_modal=!1)},null,8,["show","artist"])]),footer:O(()=>[o.show_all_artists_button?(S(),D("nav",$H,[u("p",AH,[u("a",{class:"button is-light is-small is-rounded",onClick:t[5]||(t[5]=(...z)=>o.open_search_artists&&o.open_search_artists(...z)),textContent:v(e.$t("page.spotify.search.show-all-artists",{count:s.artists.total.toLocaleString(e.$i18n.locale)}))},null,8,TH)])])):Q("",!0)]),_:1})):Q("",!0),o.show_artists&&!s.artists.total?(S(),xe(m,{key:3},{content:O(()=>[u("p",null,[u("i",{textContent:v(e.$t("page.spotify.search.no-artists"))},null,8,OH)])]),_:1})):Q("",!0),o.show_albums&&s.albums.total?(S(),xe(f,{key:4},{"heading-left":O(()=>[u("p",{class:"title is-4",textContent:v(e.$t("page.spotify.search.albums"))},null,8,PH)]),content:O(()=>[(S(!0),D(We,null,Ct(s.albums.items,z=>(S(),xe(g,{key:z.id,album:z,onClick:E=>o.open_album(z)},Ui({actions:O(()=>[u("a",{onClick:_t(E=>o.open_album_dialog(z),["prevent","stop"])},[u("span",IH,[C(i,{name:"dots-vertical",size:"16"})])],8,FH)]),_:2},[o.is_visible_artwork?{name:"artwork",fn:O(()=>[u("p",DH,[C(_,{artwork_url:o.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)),s.query.type==="album"?(S(),xe(c,{key:0,load:o.search_albums_next},{"no-more":O(()=>[MH]),_:1},8,["load"])):Q("",!0),C(b,{show:s.show_album_details_modal,album:s.selected_album,onClose:t[6]||(t[6]=z=>s.show_album_details_modal=!1)},null,8,["show","album"])]),footer:O(()=>[o.show_all_albums_button?(S(),D("nav",LH,[u("p",RH,[u("a",{class:"button is-light is-small is-rounded",onClick:t[7]||(t[7]=(...z)=>o.open_search_albums&&o.open_search_albums(...z)),textContent:v(e.$t("page.spotify.search.show-all-albums",{count:s.albums.total.toLocaleString(e.$i18n.locale)}))},null,8,NH)])])):Q("",!0)]),_:1})):Q("",!0),o.show_albums&&!s.albums.total?(S(),xe(m,{key:5},{content:O(()=>[u("p",null,[u("i",{textContent:v(e.$t("page.spotify.search.no-albums"))},null,8,jH)])]),_:1})):Q("",!0),o.show_playlists&&s.playlists.total?(S(),xe(f,{key:6},{"heading-left":O(()=>[u("p",{class:"title is-4",textContent:v(e.$t("page.spotify.search.playlists"))},null,8,VH)]),content:O(()=>[(S(!0),D(We,null,Ct(s.playlists.items,z=>(S(),xe(w,{key:z.id,playlist:z},{actions:O(()=>[u("a",{onClick:_t(E=>o.open_playlist_dialog(z),["prevent","stop"])},[u("span",HH,[C(i,{name:"dots-vertical",size:"16"})])],8,BH)]),_:2},1032,["playlist"]))),128)),s.query.type==="playlist"?(S(),xe(c,{key:0,load:o.search_playlists_next},{"no-more":O(()=>[UH]),_:1},8,["load"])):Q("",!0),C(x,{show:s.show_playlist_details_modal,playlist:s.selected_playlist,onClose:t[8]||(t[8]=z=>s.show_playlist_details_modal=!1)},null,8,["show","playlist"])]),footer:O(()=>[o.show_all_playlists_button?(S(),D("nav",qH,[u("p",WH,[u("a",{class:"button is-light is-small is-rounded",onClick:t[9]||(t[9]=(...z)=>o.open_search_playlists&&o.open_search_playlists(...z)),textContent:v(e.$t("page.spotify.search.show-all-playlists",{count:s.playlists.total.toLocaleString(e.$i18n.locale)}))},null,8,GH)])])):Q("",!0)]),_:1})):Q("",!0),o.show_playlists&&!s.playlists.total?(S(),xe(m,{key:7},{content:O(()=>[u("p",null,[u("i",{textContent:v(e.$t("page.spotify.search.no-playlists"))},null,8,KH)])]),_:1})):Q("",!0)])}var YH=ve(iH,[["render",ZH]]);const JH={name:"TabsSettings"},XH={class:"section fd-tabs-section"},QH={class:"container"},eU={class:"columns is-centered"},tU={class:"column is-four-fifths"},nU={class:"tabs is-centered is-small"},rU=["onClick","onKeypress"],sU=["textContent"],oU=["onClick","onKeypress"],iU=["textContent"],aU=["onClick","onKeypress"],lU=["textContent"],uU=["onClick","onKeypress"],cU=["textContent"];function dU(e,t,n,r,s,o){const i=P("router-link");return S(),D("section",XH,[u("div",QH,[u("div",eU,[u("div",tU,[u("div",nU,[u("ul",null,[C(i,{to:"/settings/webinterface",custom:""},{default:O(({navigate:a,isActive:l})=>[u("li",{class:Ze({"is-active":l})},[u("a",{onClick:a,onKeypress:Dn(a,["enter"])},[u("span",{textContent:v(e.$t("page.settings.tabs.general"))},null,8,sU)],40,rU)],2)]),_:1}),C(i,{to:"/settings/remotes-outputs",custom:""},{default:O(({navigate:a,isActive:l})=>[u("li",{class:Ze({"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,iU)],40,oU)],2)]),_:1}),C(i,{to:"/settings/artwork",custom:""},{default:O(({navigate:a,isActive:l})=>[u("li",{class:Ze({"is-active":l})},[u("a",{onClick:a,onKeypress:Dn(a,["enter"])},[u("span",{textContent:v(e.$t("page.settings.tabs.artwork"))},null,8,lU)],40,aU)],2)]),_:1}),C(i,{to:"/settings/online-services",custom:""},{default:O(({navigate:a,isActive:l})=>[u("li",{class:Ze({"is-active":l})},[u("a",{onClick:a,onKeypress:Dn(a,["enter"])},[u("span",{textContent:v(e.$t("page.settings.tabs.online-services"))},null,8,cU)],40,uU)],2)]),_:1})])])])])])])}var Su=ve(JH,[["render",dU]]);const mU={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(mu,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=""}}},fU={class:"field"},pU={class:"switch"},hU=["checked"],_U=["textContent"],gU={key:0,class:"help"};function yU(e,t,n,r,s,o){return S(),D("div",fU,[u("label",pU,[u("input",{ref:"setting",type:"checkbox",checked:o.value,style:{"margin-right":"5px"},onChange:t[0]||(t[0]=(...i)=>o.set_update_timer&&o.set_update_timer(...i))},null,40,hU),xt(e.$slots,"label"),u("i",{class:Ze(["is-size-7",{"has-text-info":o.is_success,"has-text-danger":o.is_error}]),textContent:v(o.info)},null,10,_U)]),e.$slots.info?(S(),D("p",gU,[xt(e.$slots,"info")])):Q("",!0)])}var o1=ve(mU,[["render",yU]]);const vU={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(mu,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=""}}},bU=["disabled"],wU={class:"field"},CU={class:"label has-text-weight-normal"},zU=["textContent"],xU={class:"control"},kU=["placeholder","value"],SU={key:0,class:"help"};function EU(e,t,n,r,s,o){return S(),D("fieldset",{disabled:n.disabled},[u("div",wU,[u("label",CU,[xt(e.$slots,"label"),u("i",{class:Ze(["is-size-7",{"has-text-info":o.is_success,"has-text-danger":o.is_error}]),textContent:v(o.info)},null,10,zU)]),u("div",xU,[u("input",{ref:"setting",class:"input",type:"text",placeholder:n.placeholder,value:o.value,onInput:t[0]||(t[0]=(...i)=>o.set_update_timer&&o.set_update_timer(...i))},null,40,kU)]),e.$slots.info?(S(),D("p",SU,[xt(e.$slots,"info")])):Q("",!0)])],8,bU)}var $U=ve(vU,[["render",EU]]);const AU={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(mu,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=""}}},TU=["disabled"],OU={class:"field"},PU={class:"label has-text-weight-normal"},DU=["textContent"],FU={class:"control"},IU=["placeholder","value"],MU={key:0,class:"help"};function LU(e,t,n,r,s,o){return S(),D("fieldset",{disabled:n.disabled},[u("div",OU,[u("label",PU,[xt(e.$slots,"label"),u("i",{class:Ze(["is-size-7",{"has-text-info":o.is_success,"has-text-danger":o.is_error}]),textContent:v(o.info)},null,10,DU)]),u("div",FU,[u("input",{ref:"setting",class:"input",type:"number",min:"0",style:{width:"10em"},placeholder:n.placeholder,value:o.value,onInput:t[0]||(t[0]=(...i)=>o.set_update_timer&&o.set_update_timer(...i))},null,40,IU)]),e.$slots.info?(S(),D("p",MU,[xt(e.$slots,"info")])):Q("",!0)])],8,TU)}var RU=ve(AU,[["render",LU]]);const NU={name:"SettingsPageWebinterface",components:{ContentWithHeading:pt,TabsSettings:Su,SettingsCheckbox:o1,SettingsTextfield:$U,SettingsIntfield:RU,DropdownMenu:Cu},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)}))}}}},jU={class:"fd-page-with-tabs"},VU=["textContent"],BU=["textContent"],HU=["textContent"],UU=["textContent"],qU=["textContent"],WU=["textContent"],GU=["textContent"],KU=["textContent"],ZU=["textContent"],YU=["textContent"],JU=["textContent"],XU=["textContent"],QU=["textContent"],eq=["textContent"],tq=["textContent"],nq=["textContent"],rq=["textContent"],sq=["textContent"],oq=["textContent"],iq=["textContent"],aq=["textContent"],lq=["textContent"],uq=["textContent"];function cq(e,t,n,r,s,o){const i=P("tabs-settings"),a=P("dropdown-menu"),l=P("content-with-heading"),c=P("settings-checkbox"),d=P("settings-textfield"),f=P("settings-intfield");return S(),D("div",jU,[C(i),C(l,null,{"heading-left":O(()=>[u("div",{class:"title is-4",textContent:v(e.$t("page.settings.general.language"))},null,8,VU)]),content:O(()=>[C(a,{modelValue:o.locale,"onUpdate:modelValue":t[0]||(t[0]=m=>o.locale=m),options:o.locales},null,8,["modelValue","options"])]),_:1}),C(l,null,{"heading-left":O(()=>[u("div",{class:"title is-4",textContent:v(e.$t("page.settings.general.navigation-items"))},null,8,BU)]),content:O(()=>[u("p",{class:"content",textContent:v(e.$t("page.settings.general.navigation-item-selection"))},null,8,HU),u("div",{class:"notification is-size-7",textContent:v(e.$t("page.settings.general.navigation-item-selection-info"))},null,8,UU),C(c,{category_name:"webinterface",option_name:"show_menu_item_playlists"},{label:O(()=>[u("span",{textContent:v(e.$t("page.settings.general.playlists"))},null,8,qU)]),_:1}),C(c,{category_name:"webinterface",option_name:"show_menu_item_music"},{label:O(()=>[u("span",{textContent:v(e.$t("page.settings.general.music"))},null,8,WU)]),_:1}),C(c,{category_name:"webinterface",option_name:"show_menu_item_podcasts"},{label:O(()=>[u("span",{textContent:v(e.$t("page.settings.general.podcasts"))},null,8,GU)]),_:1}),C(c,{category_name:"webinterface",option_name:"show_menu_item_audiobooks"},{label:O(()=>[u("span",{textContent:v(e.$t("page.settings.general.audiobooks"))},null,8,KU)]),_:1}),C(c,{category_name:"webinterface",option_name:"show_menu_item_radio"},{label:O(()=>[u("span",{textContent:v(e.$t("page.settings.general.radio"))},null,8,ZU)]),_:1}),C(c,{category_name:"webinterface",option_name:"show_menu_item_files"},{label:O(()=>[u("span",{textContent:v(e.$t("page.settings.general.files"))},null,8,YU)]),_:1}),C(c,{category_name:"webinterface",option_name:"show_menu_item_search"},{label:O(()=>[u("span",{textContent:v(e.$t("page.settings.general.search"))},null,8,JU)]),_:1})]),_:1}),C(l,null,{"heading-left":O(()=>[u("div",{class:"title is-4",textContent:v(e.$t("page.settings.general.album-lists"))},null,8,XU)]),content:O(()=>[C(c,{category_name:"webinterface",option_name:"show_cover_artwork_in_album_lists"},{label:O(()=>[u("span",{textContent:v(e.$t("page.settings.general.show-coverart"))},null,8,QU)]),_:1})]),_:1}),C(l,null,{"heading-left":O(()=>[u("div",{class:"title is-4",textContent:v(e.$t("page.settings.general.now-playing-page"))},null,8,eq)]),content:O(()=>[C(c,{category_name:"webinterface",option_name:"show_composer_now_playing"},{label:O(()=>[u("span",{textContent:v(e.$t("page.settings.general.show-composer"))},null,8,tq)]),info:O(()=>[u("span",{textContent:v(e.$t("page.settings.general.show-composer-info"))},null,8,nq)]),_:1}),C(d,{category_name:"webinterface",option_name:"show_composer_for_genre",disabled:!o.settings_option_show_composer_now_playing,placeholder:"Genres"},{label:O(()=>[u("span",{textContent:v(e.$t("page.settings.general.show-composer-genres"))},null,8,rq)]),info:O(()=>[u("p",{class:"help",textContent:v(e.$t("page.settings.general.show-composer-genres-info-1"))},null,8,sq),u("p",{class:"help",textContent:v(e.$t("page.settings.general.show-composer-genres-info-2"))},null,8,oq),u("p",{class:"help",textContent:v(e.$t("page.settings.general.show-composer-genres-info-3"))},null,8,iq)]),_:1},8,["disabled"]),C(c,{category_name:"webinterface",option_name:"show_filepath_now_playing"},{label:O(()=>[u("span",{textContent:v(e.$t("page.settings.general.show-path"))},null,8,aq)]),_:1})]),_:1}),C(l,null,{"heading-left":O(()=>[u("div",{class:"title is-4",textContent:v(e.$t("page.settings.general.recently-added-page"))},null,8,lq)]),content:O(()=>[C(f,{category_name:"webinterface",option_name:"recently_added_limit"},{label:O(()=>[u("span",{textContent:v(e.$t("page.settings.general.recently-added-page-info"))},null,8,uq)]),_:1})]),_:1})])}var dq=ve(NU,[["render",cq]]);const mq={name:"SettingsPageArtwork",components:{ContentWithHeading:pt,TabsSettings:Su,SettingsCheckbox:o1},computed:{spotify(){return this.$store.state.spotify}}},fq={class:"fd-page-with-tabs"},pq=["textContent"],hq=["textContent"],_q=["textContent"],gq=["textContent"],yq={href:"https://www.spotify.com/",target:"_blank"},vq={class:"icon"},bq=["textContent"],wq={href:"https://www.discogs.com/",target:"_blank"},Cq={class:"icon"},zq=["textContent"],xq={href:"https://coverartarchive.org/",target:"_blank"},kq={class:"icon"};function Sq(e,t,n,r,s,o){const i=P("tabs-settings"),a=P("mdicon"),l=P("settings-checkbox"),c=P("content-with-heading");return S(),D("div",fq,[C(i),C(c,null,{"heading-left":O(()=>[u("div",{class:"title is-4",textContent:v(e.$t("page.settings.artwork.artwork"))},null,8,pq)]),content:O(()=>[u("div",{class:"content",textContent:v(e.$t("page.settings.artwork.explanation-1"))},null,8,hq),u("div",{class:"content",textContent:v(e.$t("page.settings.artwork.explanation-2"))},null,8,_q),o.spotify.spotify_logged_in?(S(),xe(l,{key:0,category_name:"artwork",option_name:"use_artwork_source_spotify"},{label:O(()=>[u("span",{textContent:v(e.$t("page.settings.artwork.spotify"))},null,8,gq),u("a",yq,[u("span",vq,[C(a,{name:"open-in-new",size:"16"})])])]),_:1})):Q("",!0),C(l,{category_name:"artwork",option_name:"use_artwork_source_discogs"},{label:O(()=>[u("span",{textContent:v(e.$t("page.settings.artwork.discogs"))},null,8,bq),u("a",wq,[u("span",Cq,[C(a,{name:"open-in-new",size:"16"})])])]),_:1}),C(l,{category_name:"artwork",option_name:"use_artwork_source_coverartarchive"},{label:O(()=>[u("span",{textContent:v(e.$t("page.settings.artwork.coverartarchive"))},null,8,zq),u("a",xq,[u("span",kq,[C(a,{name:"open-in-new",size:"16"})])])]),_:1})]),_:1})])}var Eq=ve(mq,[["render",Sq]]);const $q={name:"SettingsPageOnlineServices",components:{ContentWithHeading:pt,TabsSettings:Su},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()}}},Aq={class:"fd-page-with-tabs"},Tq=["textContent"],Oq={key:0,class:"notification is-size-7"},Pq=["textContent"],Dq={key:1},Fq={class:"notification is-size-7"},Iq=["textContent"],Mq={class:"fd-has-margin-top"},Lq=["innerHTML"],Rq={key:0},Nq=["textContent"],jq=["textContent"],Vq={key:1,class:"help is-danger"},Bq=["textContent"],Hq=["textContent"],Uq={class:"field fd-has-margin-top"},qq={class:"control"},Wq=["href","textContent"],Gq={class:"help"},Kq=["textContent"],Zq=["textContent"],Yq={key:2,class:"field fd-has-margin-top"},Jq={class:"control"},Xq=["textContent"],Qq=["textContent"],eW={key:0,class:"notification is-size-7"},tW=["textContent"],nW={key:1},rW=["innerHTML"],sW={key:0},oW=["textContent"],iW={key:1},aW={class:"field is-grouped"},lW={class:"control is-expanded"},uW=["textContent"],cW={class:"control is-expanded"},dW=["textContent"],mW={class:"control"},fW=["textContent"],pW=["textContent"],hW=["textContent"];function _W(e,t,n,r,s,o){const i=P("tabs-settings"),a=P("content-with-heading");return S(),D("div",Aq,[C(i),C(a,null,{"heading-left":O(()=>[u("div",{class:"title is-4",textContent:v(e.$t("page.settings.services.spotify.title"))},null,8,Tq)]),content:O(()=>[o.spotify.spotify_installed?Q("",!0):(S(),D("div",Oq,[u("p",{textContent:v(e.$t("page.settings.services.spotify.no-support"))},null,8,Pq)])),o.spotify.spotify_installed?(S(),D("div",Dq,[u("div",Fq,[u("span",{textContent:v(e.$t("page.settings.services.spotify.requirements"))},null,8,Iq)]),u("div",Mq,[u("p",{class:"content",innerHTML:e.$t("page.settings.services.spotify.grant-access")},null,8,Lq),o.spotify.webapi_token_valid?(S(),D("p",Rq,[u("span",{textContent:v(e.$t("page.settings.services.spotify.user"))},null,8,Nq),u("code",{textContent:v(o.spotify.webapi_user)},null,8,jq)])):Q("",!0),o.spotify_missing_scope.length>0?(S(),D("p",Vq,[u("span",{textContent:v(e.$t("page.settings.services.spotify.reauthorize"))},null,8,Bq),u("code",{textContent:v(o.spotify_missing_scope.join())},null,8,Hq)])):Q("",!0),u("div",Uq,[u("div",qq,[u("a",{class:Ze(["button",{"is-info":!o.spotify.webapi_token_valid||o.spotify_missing_scope.length>0}]),href:o.spotify.oauth_uri,textContent:v(e.$t("page.settings.services.spotify.authorize"))},null,10,Wq)])]),u("p",Gq,[u("span",{textContent:v(e.$t("page.settings.services.spotify.scopes"))},null,8,Kq),u("code",{textContent:v(o.spotify_required_scope.join(", "))},null,8,Zq)]),o.spotify.webapi_token_valid?(S(),D("div",Yq,[u("div",Jq,[u("a",{class:"button is-danger",onClick:t[0]||(t[0]=(...l)=>o.logout_spotify&&o.logout_spotify(...l)),textContent:v(e.$t("page.settings.services.logout"))},null,8,Xq)])])):Q("",!0)])])):Q("",!0)]),_:1}),C(a,null,{"heading-left":O(()=>[u("div",{class:"title is-4",textContent:v(e.$t("page.settings.services.lastfm.title"))},null,8,Qq)]),content:O(()=>[o.lastfm.enabled?Q("",!0):(S(),D("div",eW,[u("p",{textContent:v(e.$t("page.settings.services.lastfm.no-support"))},null,8,tW)])),o.lastfm.enabled?(S(),D("div",nW,[u("p",{class:"content",innerHTML:e.$t("page.settings.services.lastfm.grant-access")},null,8,rW),o.lastfm.scrobbling_enabled?(S(),D("div",sW,[u("a",{class:"button",onClick:t[1]||(t[1]=(...l)=>o.logoutLastfm&&o.logoutLastfm(...l)),textContent:v(e.$t("page.settings.services.lastfm.stop-scrobbling"))},null,8,oW)])):Q("",!0),o.lastfm.scrobbling_enabled?Q("",!0):(S(),D("div",iW,[u("form",{onSubmit:t[4]||(t[4]=_t((...l)=>o.login_lastfm&&o.login_lastfm(...l),["prevent"]))},[u("div",aW,[u("div",lW,[kt(u("input",{"onUpdate:modelValue":t[2]||(t[2]=l=>s.lastfm_login.user=l),class:"input",type:"text",placeholder:"Username"},null,512),[[kn,s.lastfm_login.user]]),u("p",{class:"help is-danger",textContent:v(s.lastfm_login.errors.user)},null,8,uW)]),u("div",cW,[kt(u("input",{"onUpdate:modelValue":t[3]||(t[3]=l=>s.lastfm_login.password=l),class:"input",type:"password",placeholder:"Password"},null,512),[[kn,s.lastfm_login.password]]),u("p",{class:"help is-danger",textContent:v(s.lastfm_login.errors.password)},null,8,dW)]),u("div",mW,[u("button",{class:"button is-info",type:"submit",textContent:v(e.$t("page.settings.services.login"))},null,8,fW)])]),u("p",{class:"help is-danger",textContent:v(s.lastfm_login.errors.error)},null,8,pW),u("p",{class:"help",textContent:v(e.$t("page.settings.services.lastfm.info"))},null,8,hW)],32)]))])):Q("",!0)]),_:1})])}var gW=ve($q,[["render",_W]]);const yW={name:"SettingsPageRemotesOutputs",components:{ContentWithHeading:pt,TabsSettings:Su},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)}}},vW={class:"fd-page-with-tabs"},bW=["textContent"],wW={key:0,class:"notification"},CW={class:"label has-text-weight-normal"},zW=["textContent"],xW=["textContent"],kW={class:"field is-grouped"},SW={class:"control"},EW={class:"control"},$W=["textContent"],AW={key:1,class:"content"},TW=["textContent"],OW=["textContent"],PW=["textContent"],DW={class:"field"},FW={class:"control"},IW={class:"checkbox"},MW=["onUpdate:modelValue","onChange"],LW=["textContent"],RW=["onSubmit"],NW={class:"field is-grouped"},jW={class:"control"},VW=["placeholder"],BW={class:"control"},HW=["textContent"];function UW(e,t,n,r,s,o){const i=P("tabs-settings"),a=P("content-with-heading");return S(),D("div",vW,[C(i),C(a,null,{"heading-left":O(()=>[u("div",{class:"title is-4",textContent:v(e.$t("page.settings.devices.pairing"))},null,8,bW)]),content:O(()=>[o.pairing.active?(S(),D("div",wW,[u("form",{onSubmit:t[1]||(t[1]=_t((...l)=>o.kickoff_pairing&&o.kickoff_pairing(...l),["prevent"]))},[u("label",CW,[u("span",{textContent:v(e.$t("page.settings.devices.pairing-request"))},null,8,zW),u("b",{textContent:v(o.pairing.remote)},null,8,xW)]),u("div",kW,[u("div",SW,[kt(u("input",{"onUpdate:modelValue":t[0]||(t[0]=l=>s.pairing_req.pin=l),class:"input",type:"text",placeholder:"Enter pairing code"},null,512),[[kn,s.pairing_req.pin]])]),u("div",EW,[u("button",{class:"button is-info",type:"submit",textContent:v(e.$t("page.settings.devices.send"))},null,8,$W)])])],32)])):Q("",!0),o.pairing.active?Q("",!0):(S(),D("div",AW,[u("p",{textContent:v(e.$t("page.settings.devices.no-active-pairing"))},null,8,TW)]))]),_:1}),C(a,null,{"heading-left":O(()=>[u("div",{class:"title is-4",textContent:v(e.$t("page.settings.devices.speaker-pairing"))},null,8,OW)]),content:O(()=>[u("p",{class:"content",textContent:v(e.$t("page.settings.devices.speaker-pairing-info"))},null,8,PW),(S(!0),D(We,null,Ct(o.outputs,l=>(S(),D("div",{key:l.id},[u("div",DW,[u("div",FW,[u("label",IW,[kt(u("input",{"onUpdate:modelValue":c=>l.selected=c,type:"checkbox",style:{"margin-right":"5px"},onChange:c=>o.output_toggle(l.id)},null,40,MW),[[Ar,l.selected]]),u("span",{textContent:v(l.name)},null,8,LW)])])]),l.needs_auth_key?(S(),D("form",{key:0,class:"fd-has-margin-bottom",onSubmit:_t(c=>o.kickoff_verification(l.id),["prevent"])},[u("div",NW,[u("div",jW,[kt(u("input",{"onUpdate:modelValue":t[2]||(t[2]=c=>s.verification_req.pin=c),class:"input",type:"text",placeholder:e.$t("page.settings.devices.verification-code")},null,8,VW),[[kn,s.verification_req.pin]])]),u("div",BW,[u("button",{class:"button is-info",type:"submit",textContent:v(e.$t("page.settings.devices.verify"))},null,8,HW)])])],40,RW)):Q("",!0)]))),128))]),_:1})])}var qW=ve(yW,[["render",UW]]);const i1=F2({history:Yx(),routes:[{path:"/",name:"PageQueue",component:y8},{path:"/about",name:"About",component:kN},{path:"/now-playing",name:"Now playing",component:a6},{path:"/music",redirect:"/music/browse"},{path:"/music/browse",name:"Browse",component:R4,meta:{show_progress:!0,has_tabs:!0}},{path:"/music/browse/recently_added",name:"Browse Recently Added",component:U4,meta:{show_progress:!0,has_tabs:!0}},{path:"/music/browse/recently_played",name:"Browse Recently Played",component:Y4,meta:{show_progress:!0,has_tabs:!0}},{path:"/music/artists",name:"Artists",component:lP,meta:{show_progress:!0,has_tabs:!0,has_index:!0}},{path:"/music/artists/:artist_id",name:"Artist",component:zP,meta:{show_progress:!0,has_index:!0}},{path:"/music/artists/:artist_id/tracks",name:"Tracks",component:LF,meta:{show_progress:!0,has_index:!0}},{path:"/music/albums",name:"Albums",component:BP,meta:{show_progress:!0,has_tabs:!0,has_index:!0}},{path:"/music/albums/:album_id",name:"Album",component:hD,meta:{show_progress:!0}},{path:"/music/genres",name:"Genres",component:tF,meta:{show_progress:!0,has_tabs:!0,has_index:!0}},{path:"/music/genres/:genre",name:"Genre",component:fF,meta:{show_progress:!0,has_index:!0}},{path:"/music/genres/:genre/tracks",name:"GenreTracks",component:kF,meta:{show_progress:!0,has_index:!0}},{path:"/music/composers",name:"Composers",component:bI,meta:{show_progress:!0,has_tabs:!0,has_index:!0}},{path:"/music/composers/:composer/albums",name:"ComposerAlbums",component:PI,meta:{show_progress:!0,has_tabs:!0,has_index:!0}},{path:"/music/composers/:composer/tracks",name:"ComposerTracks",component:UI,meta:{show_progress:!0,has_tabs:!0,has_index:!0}},{path:"/podcasts",name:"Podcasts",component:SM,meta:{show_progress:!0}},{path:"/podcasts/:album_id",name:"Podcast",component:VM,meta:{show_progress:!0}},{path:"/audiobooks",redirect:"/audiobooks/artists"},{path:"/audiobooks/artists",name:"AudiobooksArtists",component:mL,meta:{show_progress:!0,has_tabs:!0,has_index:!0}},{path:"/audiobooks/artists/:artist_id",name:"AudiobooksArtist",component:wL,meta:{show_progress:!0}},{path:"/audiobooks/albums",name:"AudiobooksAlbums",component:iL,meta:{show_progress:!0,has_tabs:!0,has_index:!0}},{path:"/audiobooks/:album_id",name:"Audiobook",component:DL,meta:{show_progress:!0}},{path:"/radio",name:"Radio",component:_R,meta:{show_progress:!0}},{path:"/files",name:"Files",component:dR,meta:{show_progress:!0}},{path:"/playlists",redirect:"/playlists/0"},{path:"/playlists/:playlist_id",name:"Playlists",component:g7,meta:{show_progress:!0}},{path:"/playlists/:playlist_id/tracks",name:"Playlist",component:S7,meta:{show_progress:!0}},{path:"/search",redirect:"/search/library"},{path:"/search/library",name:"Search Library",component:$9},{path:"/music/spotify",name:"Spotify",component:Kj,meta:{show_progress:!0,has_tabs:!0}},{path:"/music/spotify/new-releases",name:"Spotify Browse New Releases",component:nV,meta:{show_progress:!0,has_tabs:!0}},{path:"/music/spotify/featured-playlists",name:"Spotify Browse Featured Playlists",component:uV,meta:{show_progress:!0,has_tabs:!0}},{path:"/music/spotify/artists/:artist_id",name:"Spotify Artist",component:BV,meta:{show_progress:!0}},{path:"/music/spotify/albums/:album_id",name:"Spotify Album",component:VB,meta:{show_progress:!0}},{path:"/music/spotify/playlists/:playlist_id",name:"Spotify Playlist",component:QB,meta:{show_progress:!0}},{path:"/search/spotify",name:"Spotify Search",component:YH},{path:"/settings/webinterface",name:"Settings Webinterface",component:dq},{path:"/settings/artwork",name:"Settings Artwork",component:Eq},{path:"/settings/online-services",name:"Settings Online Services",component:gW},{path:"/settings/remotes-outputs",name:"Settings Remotes Outputs",component:qW}],scrollBehavior(e,t,n){return n?new Promise((s,o)=>{setTimeout(()=>{s(n)},0)}):e.path===t.path&&e.hash?{el:e.hash,top:120}:e.hash?new Promise((s,o)=>{setTimeout(()=>{s({el:e.hash,top:120})},0)}):e.meta.has_index?new Promise((s,o)=>{setTimeout(()=>{e.meta.has_tabs?s({el:"#top",top:140}):s({el:"#top",top:110})},0)}):{left:0,top:0}}});i1.beforeEach((e,t,n)=>{if(at.state.show_burger_menu){at.commit(vo,!1),n(!1);return}if(at.state.show_player_menu){at.commit(bo,!1),n(!1);return}n(!0)});var a1={exports:{}};(function(e){e.exports=function(t){var n={};function r(s){if(n[s])return n[s].exports;var o=n[s]={i:s,l:!1,exports:{}};return t[s].call(o.exports,o,o.exports,r),o.l=!0,o.exports}return r.m=t,r.c=n,r.d=function(s,o,i){r.o(s,o)||Object.defineProperty(s,o,{enumerable:!0,get:i})},r.r=function(s){typeof Symbol!="undefined"&&Symbol.toStringTag&&Object.defineProperty(s,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(s,"__esModule",{value:!0})},r.t=function(s,o){if(o&1&&(s=r(s)),o&8||o&4&&typeof s=="object"&&s&&s.__esModule)return s;var i=Object.create(null);if(r.r(i),Object.defineProperty(i,"default",{enumerable:!0,value:s}),o&2&&typeof s!="string")for(var a in s)r.d(i,a,function(l){return s[l]}.bind(null,a));return i},r.n=function(s){var o=s&&s.__esModule?function(){return s.default}:function(){return s};return r.d(o,"a",o),o},r.o=function(s,o){return Object.prototype.hasOwnProperty.call(s,o)},r.p="",r(r.s="fb15")}({"8875":function(t,n,r){var s,o,i;(function(a,l){o=[],s=l,i=typeof s=="function"?s.apply(n,o):s,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=$m},fb15:function(t,n,r){if(r.r(n),typeof window!="undefined"){var s=window.document.currentScript;{var o=r("8875");s=o(),"currentScript"in document||Object.defineProperty(document,"currentScript",{get:o})}var i=s&&s.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 j=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(){j.increase(j.state.cut*Math.random()),x.percent>95&&x.options.autoFinish&&j.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 j in T.func){var F=T.func[j];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}})})(a1);var WW=Oy(a1.exports);const l1=function(){return document.ontouchstart!==null?"click":"touchstart"},Nl="__vue_click_away__",u1=function(e,t,n){c1(e);let r=n.context,s=t.value,o=!1;setTimeout(function(){o=!0},0),e[Nl]=function(i){if((!e||!e.contains(i.target))&&s&&o&&typeof s=="function")return s.call(r,i)},document.addEventListener(l1(),e[Nl],!1)},c1=function(e){document.removeEventListener(l1(),e[Nl],!1),delete e[Nl]},GW=function(e,t,n){t.value!==t.oldValue&&u1(e,t,n)},KW={install:function(e){e.directive("click-away",ZW)}},ZW={mounted:u1,updated:GW,unmounted:c1};var cr=(e=>(e.LOADING="loading",e.LOADED="loaded",e.ERROR="error",e))(cr||{});const YW=typeof window!="undefined"&&window!==null,JW=tG(),XW=Object.prototype.propertyIsEnumerable,Ph=Object.getOwnPropertySymbols;function ki(e){return typeof e=="function"||toString.call(e)==="[object Object]"}function QW(e){return typeof e=="object"?e===null:typeof e!="function"}function eG(e){return e!=="__proto__"&&e!=="constructor"&&e!=="prototype"}function tG(){return YW&&"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 nG(e,...t){if(!ki(e))throw new TypeError("expected the first argument to be an object");if(t.length===0||typeof Symbol!="function"||typeof Ph!="function")return e;for(const n of t){const r=Ph(n);for(const s of r)XW.call(n,s)&&(e[s]=n[s])}return e}function d1(e,...t){let n=0;for(QW(e)&&(e=t[n++]),e||(e={});n<t.length;n++)if(ki(t[n])){for(const r of Object.keys(t[n]))eG(r)&&(ki(e[r])&&ki(t[n][r])?d1(e[r],t[n][r]):e[r]=t[n][r]);nG(e,t[n])}return e}const Dh="data:image/gif;base64,R0lGODlhAQABAIAAAAAAAP///yH5BAEAAAAALAAAAAABAAEAAAIBRAA7",rG="",sG={rootMargin:"0px",threshold:0},Zs="data-lazy-timeout-id";class oG{constructor(t){this.options={loading:Dh,error:rG,observerOptions:sG,log:!0,lifecycle:{}},this._images=new WeakMap,this.config(t)}config(t={}){d1(this.options,t)}mount(t,n){if(!t)return;const{src:r,loading:s,error:o,lifecycle:i,delay:a}=this._valueFormatter(typeof n=="string"?n:n.value);this._lifecycle(cr.LOADING,i,t),t.setAttribute("src",s||Dh),JW||(this.loadImages(t,r,o,i),this._log(()=>{throw new Error("Not support IntersectionObserver!")})),this._initIntersectionObserver(t,r,o,i,a)}update(t,n){var a;if(!t)return;(a=this._realObserver(t))==null||a.unobserve(t);const{src:r,error:s,lifecycle:o,delay:i}=this._valueFormatter(typeof n=="string"?n:n.value);this._initIntersectionObserver(t,r,s,o,i)}unmount(t){var n;!t||((n=this._realObserver(t))==null||n.unobserve(t),this._images.delete(t))}loadImages(t,n,r,s){this._setImageSrc(t,n,r,s)}_setImageSrc(t,n,r,s){t.tagName.toLowerCase()==="img"?(n&&t.getAttribute("src")!==n&&t.setAttribute("src",n),this._listenImageStatus(t,()=>{this._lifecycle(cr.LOADED,s,t)},()=>{var o;t.onload=null,this._lifecycle(cr.ERROR,s,t),(o=this._realObserver(t))==null||o.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,s,o){var a;const i=this.options.observerOptions;this._images.set(t,new IntersectionObserver(l=>{Array.prototype.forEach.call(l,c=>{o&&o>0?this._delayedIntersectionCallback(t,c,o,n,r,s):this._intersectionCallback(t,c,n,r,s)})},i)),(a=this._realObserver(t))==null||a.observe(t)}_intersectionCallback(t,n,r,s,o){var i;n.isIntersecting&&((i=this._realObserver(t))==null||i.unobserve(n.target),this._setImageSrc(t,r,s,o))}_delayedIntersectionCallback(t,n,r,s,o,i){if(n.isIntersecting){if(n.target.hasAttribute(Zs))return;const a=setTimeout(()=>{this._intersectionCallback(t,n,s,o,i),n.target.removeAttribute(Zs)},r);n.target.setAttribute(Zs,String(a))}else n.target.hasAttribute(Zs)&&(clearTimeout(Number(n.target.getAttribute(Zs))),n.target.removeAttribute(Zs))}_listenImageStatus(t,n,r){t.onload=n,t.onerror=r}_valueFormatter(t){let n=t,r=this.options.loading,s=this.options.error,o=this.options.lifecycle,i=this.options.delay;return ki(t)&&(n=t.src,r=t.loading||this.options.loading,s=t.error||this.options.error,o=t.lifecycle||this.options.lifecycle,i=t.delay||this.options.delay),{src:n,loading:r,error:s,lifecycle:o,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 iG={install(e,t){const n=new oG(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 m1={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 s=4,o=.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,se,be=0;do se=J+(me-J)/2,ie=h(se,we,H)-he,ie>0?me=se:J=se;while(Math.abs(ie)>i&&++be<a);return se}function b(he,J,me,we){for(var H=0;H<s;++H){var ie=_(J,me,we);if(ie===0)return J;var se=h(J,me,we)-he;J-=se/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),se=0;se<l;++se)ie[se]=h(se*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>=o?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 j={$: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,se,be,je,Ie,Ee,Ae,$,L,Y,le,ce,ye,Ce,pe,V,U,$e,ze,De=function(de){!je||(ze=de,V=!0)},Re,qe,tt,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=j.cumulativeOffset(me),$e=j.cumulativeOffset(J),$&&(le=$e.left-U.left+se,Ce=le-Y),L&&(ye=$e.top-U.top+se,pe=ye-ce)}function ee(re){if(V)return fe();qe||(qe=re),ie||K(),tt=re-qe,k=Math.min(tt/we,1),k=Re(k),Se(me,ce+pe*k,Y+Ce*k),tt<we?window.requestAnimationFrame(ee):fe()}function fe(){V||Se(me,ye,le),qe=!1,j.off(me,F,De),V&&Ae&&Ae(ze,J),!V&&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=j.$(re),!J)return console.warn("[vue-scrollto warn]: Trying to scroll to an element that is not on the page: "+re);if(me=j.$(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,se=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 se=="function"&&(se=se(J,me)),Y=I(me),ce=y(me),K(),V=!1,!be){var ae=me.tagName.toLowerCase()==="body"?document.documentElement.clientHeight||window.innerHeight:me.offsetHeight,Ne=ce,He=Ne+ae,ct=ye-se,_n=ct+J.offsetHeight;if(ct>=Ne&&_n<=He){Ee&&Ee(J);return}}if(Ie&&Ie(J),!pe&&!Ce){Ee&&Ee(J);return}return typeof H=="string"&&(H=z[H]||z.ease),Re=x.apply(x,H),j.on(me,F,De,{passive:!0}),window.requestAnimationFrame(ee),function(){ze=null,V=!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 oe(he){for(var J=0;J<q.length;++J)if(q[J].el===he)return q[J]}function X(he){var J=oe(he);return J||(q.push(J={el:he,binding:{}}),J)}function ue(he){var J=X(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){X(J).binding=me,j.on(J,"click",ue)},unbind:function(J){B(J),j.off(J,"click",ue)},update:function(J,me){X(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},Be=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(Be)),Le.install=Be,Le})})(m1);var aG=m1.exports,lG="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",uG="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",cG="M13 14H11V9H13M13 18H11V16H13M1 21H23L12 2L1 21Z",dG="M19.92,12.08L12,20L4.08,12.08L5.5,10.67L11,16.17V2H13V16.17L18.5,10.66L19.92,12.08M12,20H2V22H22V20H12Z",mG="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",fG="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",pG="M9 3V18H12V3H9M12 5L16 18L19 17L15 4L12 5M5 5V18H8V5H5M3 19V21H21V19H3Z",hG="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",_G="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",gG="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",yG="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",vG="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",bG="M21,7L9,19L3.5,13.5L4.91,12.09L9,16.17L19.59,5.59L21,7Z",wG="M7.41,8.58L12,13.17L16.59,8.58L18,10L12,16L6,10L7.41,8.58Z",CG="M7.41,15.41L12,10.83L16.59,15.41L18,14L12,8L6,14L7.41,15.41Z",zG="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",xG="M19,4H15.5L14.5,3H9.5L8.5,4H5V6H19M6,19A2,2 0 0,0 8,21H16A2,2 0 0,0 18,19V7H6V19Z",kG="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",SG="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",EG="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",$G="M3,15V13H5V15H3M3,11V9H5V11H3M7,15V13H9V15H7M7,11V9H9V11H7M11,15V13H13V15H11M11,11V9H13V11H11M15,15V13H17V15H15M15,11V9H17V11H15M19,15V13H21V15H19M19,11V9H21V11H19Z",AG="M13,6V18L21.5,12M4,18L12.5,12L4,6V18Z",TG="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",OG="M14,2H6A2,2 0 0,0 4,4V20A2,2 0 0,0 6,22H18A2,2 0 0,0 20,20V8L14,2M18,20H6V4H13V9H18V20Z",PG="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",DG="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",FG="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",IG="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",MG="M3,6H21V8H3V6M3,11H21V13H3V11M3,16H21V18H3V16Z",LG="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",RG="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",NG="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",jG="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",VG="M14,19H18V5H14M6,19H10V5H6V19Z",BG="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",HG="M22,14H20V16H14V13H16V11H14V6A2,2 0 0,0 12,4H4V2H2V10H4V8H10V11H8V13H10V18A2,2 0 0,0 12,20H20V22H22",UG="M8,5.14V19.14L19,12.14L8,5.14Z",qG="M19,9H2V11H19V9M19,5H2V7H19V5M2,15H15V13H2V15M17,13V19L22,16L17,13Z",WG="M2,16H10V14H2M18,14V10H16V14H12V16H16V20H18V16H22V14M14,6H2V8H14M14,10H2V12H14V10Z",GG="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",KG="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",ZG="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",YG="M17,17H7V14L3,18L7,22V19H19V13H17M7,7H17V10L21,6L17,2V5H5V11H7V7Z",JG="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",XG="M13,15V9H12L10,10V11H11.5V15M17,17H7V14L3,18L7,22V19H19V13H17M7,7H17V10L21,6L17,2V5H5V11H7V7Z",QG="M11.5,12L20,18V6M11,18V6L2.5,12L11,18Z",eK="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",tK="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",nK="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",rK="M16,4.5V7H5V9H16V11.5L19.5,8M16,12.5V15H5V17H16V19.5L19.5,16",sK="M20,5V19L13,12M6,5V19H4V5M13,5V19L6,12",oK="M4,5V19L11,12M18,5V19H20V5M11,5V19L18,12",iK="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",aK="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",lK="M18,18H6V6H18V18Z",uK="M11,9L12.42,10.42L8.83,14H18V4H20V16H8.83L12.42,19.58L11,21L5,15L11,9Z",cK="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",dK="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",mK="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 fK={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 pK=e=>e.charAt(0).toUpperCase()+e.slice(1),hK=e=>e.split("-").map(pK).join(""),_K=(e,t,n)=>{const r=e[`mdi${hK(t.name)}`]||cG,s=Je({role:t.role,"aria-label":t.ariaLabel},n),o={fill:"currentColor",width:t.width||t.size,height:t.height||t.size,viewBox:t.viewBox,xmlns:t.xmlns};return{spanAttrs:s,svgAttrs:o,pathAttrs:{d:r}}},gK=(e,t)=>({[t.staticClass||""]:!0,[t.class||""]:!0,[`mdi mdi-${e.name}`]:!0,"mdi-spin":e.spin===!0}),yK=(e,t={})=>({install(n,{icons:r}){if(r===void 0)throw new Error("Icons must be provided separately");n.component("mdicon",jn(Je({name:"MDIcon",props:fK},t),{render:e(r)}))}}),vK=e=>function(){const{spanAttrs:n,svgAttrs:r,pathAttrs:s}=_K(e,this,this.$attrs);return zn("span",jn(Je({},n),{class:gK(this,this)}),[zn("svg",r,[this.title?zn("title",[this.title]):void 0,zn("path",s)])])};var bK=yK(vK);class Rs extends Error{}class wK extends Rs{constructor(t){super(`Invalid DateTime: ${t.toMessage()}`)}}class CK extends Rs{constructor(t){super(`Invalid Interval: ${t.toMessage()}`)}}class zK extends Rs{constructor(t){super(`Invalid Duration: ${t.toMessage()}`)}}class oi extends Rs{}class f1 extends Rs{constructor(t){super(`Invalid unit ${t}`)}}class Un extends Rs{}class Vr extends Rs{constructor(){super("Zone is an abstract class")}}const Oe="numeric",ir="short",Mn="long",zd={year:Oe,month:Oe,day:Oe},p1={year:Oe,month:ir,day:Oe},xK={year:Oe,month:ir,day:Oe,weekday:ir},h1={year:Oe,month:Mn,day:Oe},_1={year:Oe,month:Mn,day:Oe,weekday:Mn},g1={hour:Oe,minute:Oe},y1={hour:Oe,minute:Oe,second:Oe},v1={hour:Oe,minute:Oe,second:Oe,timeZoneName:ir},b1={hour:Oe,minute:Oe,second:Oe,timeZoneName:Mn},w1={hour:Oe,minute:Oe,hourCycle:"h23"},C1={hour:Oe,minute:Oe,second:Oe,hourCycle:"h23"},z1={hour:Oe,minute:Oe,second:Oe,hourCycle:"h23",timeZoneName:ir},x1={hour:Oe,minute:Oe,second:Oe,hourCycle:"h23",timeZoneName:Mn},k1={year:Oe,month:Oe,day:Oe,hour:Oe,minute:Oe},S1={year:Oe,month:Oe,day:Oe,hour:Oe,minute:Oe,second:Oe},E1={year:Oe,month:ir,day:Oe,hour:Oe,minute:Oe},$1={year:Oe,month:ir,day:Oe,hour:Oe,minute:Oe,second:Oe},kK={year:Oe,month:ir,day:Oe,weekday:ir,hour:Oe,minute:Oe},A1={year:Oe,month:Mn,day:Oe,hour:Oe,minute:Oe,timeZoneName:ir},T1={year:Oe,month:Mn,day:Oe,hour:Oe,minute:Oe,second:Oe,timeZoneName:ir},O1={year:Oe,month:Mn,day:Oe,weekday:Mn,hour:Oe,minute:Oe,timeZoneName:Mn},P1={year:Oe,month:Mn,day:Oe,weekday:Mn,hour:Oe,minute:Oe,second:Oe,timeZoneName:Mn};function dt(e){return typeof e=="undefined"}function Es(e){return typeof e=="number"}function Eu(e){return typeof e=="number"&&e%1===0}function SK(e){return typeof e=="string"}function EK(e){return Object.prototype.toString.call(e)==="[object Date]"}function D1(){try{return typeof Intl!="undefined"&&!!Intl.RelativeTimeFormat}catch{return!1}}function $K(e){return Array.isArray(e)?e:[e]}function Fh(e,t,n){if(e.length!==0)return e.reduce((r,s)=>{const o=[t(s),s];return r&&n(r[0],o[0])===r[0]?r:o},null)[1]}function AK(e,t){return t.reduce((n,r)=>(n[r]=e[r],n),{})}function Eo(e,t){return Object.prototype.hasOwnProperty.call(e,t)}function Sr(e,t,n){return Eu(e)&&e>=t&&e<=n}function TK(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 hs(e){if(!(dt(e)||e===null||e===""))return parseFloat(e)}function Wm(e){if(!(dt(e)||e===null||e==="")){const t=parseFloat("0."+e)*1e3;return Math.floor(t)}}function Gm(e,t,n=!1){const r=10**t;return(n?Math.trunc:Math.round)(e*r)/r}function Ji(e){return e%4===0&&(e%100!==0||e%400===0)}function Si(e){return Ji(e)?366:365}function jl(e,t){const n=TK(t-1,12)+1,r=e+(t-n)/12;return n===2?Ji(r)?29:28:[31,null,31,30,31,30,31,31,30,31,30,31][n-1]}function Km(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 Vl(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 xd(e){return e>99?e:e>60?1900+e:2e3+e}function F1(e,t,n,r=null){const s=new Date(e),o={hourCycle:"h23",year:"numeric",month:"2-digit",day:"2-digit",hour:"2-digit",minute:"2-digit"};r&&(o.timeZone=r);const i=Je({timeZoneName:t},o),a=new Intl.DateTimeFormat(n,i).formatToParts(s).find(l=>l.type.toLowerCase()==="timezonename");return a?a.value:null}function $u(e,t){let n=parseInt(e,10);Number.isNaN(n)&&(n=0);const r=parseInt(t,10)||0,s=n<0||Object.is(n,-0)?-r:r;return n*60+s}function I1(e){const t=Number(e);if(typeof e=="boolean"||e===""||Number.isNaN(t))throw new Un(`Invalid unit value ${e}`);return t}function Bl(e,t){const n={};for(const r in e)if(Eo(e,r)){const s=e[r];if(s==null)continue;n[t(r)]=I1(s)}return n}function Ei(e,t){const n=Math.trunc(Math.abs(e/60)),r=Math.trunc(Math.abs(e%60)),s=e>=0?"+":"-";switch(t){case"short":return`${s}${Ut(n,2)}:${Ut(r,2)}`;case"narrow":return`${s}${n}${r>0?`:${r}`:""}`;case"techie":return`${s}${Ut(n,2)}${Ut(r,2)}`;default:throw new RangeError(`Value format ${t} is out of range for property format`)}}function Au(e){return AK(e,["hour","minute","second","millisecond"])}const M1=/[A-Za-z_+-]{1,256}(?::?\/[A-Za-z0-9_+-]{1,256}(?:\/[A-Za-z0-9_+-]{1,256})?)?/,OK=["January","February","March","April","May","June","July","August","September","October","November","December"],L1=["Jan","Feb","Mar","Apr","May","Jun","Jul","Aug","Sep","Oct","Nov","Dec"],PK=["J","F","M","A","M","J","J","A","S","O","N","D"];function R1(e){switch(e){case"narrow":return[...PK];case"short":return[...L1];case"long":return[...OK];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 N1=["Monday","Tuesday","Wednesday","Thursday","Friday","Saturday","Sunday"],j1=["Mon","Tue","Wed","Thu","Fri","Sat","Sun"],DK=["M","T","W","T","F","S","S"];function V1(e){switch(e){case"narrow":return[...DK];case"short":return[...j1];case"long":return[...N1];case"numeric":return["1","2","3","4","5","6","7"];default:return null}}const B1=["AM","PM"],FK=["Before Christ","Anno Domini"],IK=["BC","AD"],MK=["B","A"];function H1(e){switch(e){case"narrow":return[...MK];case"short":return[...IK];case"long":return[...FK];default:return null}}function LK(e){return B1[e.hour<12?0:1]}function RK(e,t){return V1(t)[e.weekday-1]}function NK(e,t){return R1(t)[e.month-1]}function jK(e,t){return H1(t)[e.year<0?0:1]}function VK(e,t,n="always",r=!1){const s={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."]},o=["hours","minutes","seconds"].indexOf(e)===-1;if(n==="auto"&&o){const f=e==="days";switch(t){case 1:return f?"tomorrow":`next ${s[e][0]}`;case-1:return f?"yesterday":`last ${s[e][0]}`;case 0:return f?"today":`this ${s[e][0]}`}}const i=Object.is(t,-0)||t<0,a=Math.abs(t),l=a===1,c=s[e],d=r?l?c[1]:c[2]||c[1]:l?s[e][0]:e;return i?`${a} ${d} ago`:`in ${a} ${d}`}function Ih(e,t){let n="";for(const r of e)r.literal?n+=r.val:n+=t(r.val);return n}const BK={D:zd,DD:p1,DDD:h1,DDDD:_1,t:g1,tt:y1,ttt:v1,tttt:b1,T:w1,TT:C1,TTT:z1,TTTT:x1,f:k1,ff:E1,fff:A1,ffff:O1,F:S1,FF:$1,FFF:T1,FFFF:P1};class xn{static create(t,n={}){return new xn(t,n)}static parseFormat(t){let n=null,r="",s=!1;const o=[];for(let i=0;i<t.length;i++){const a=t.charAt(i);a==="'"?(r.length>0&&o.push({literal:s,val:r}),n=null,r="",s=!s):s||a===n?r+=a:(r.length>0&&o.push({literal:!1,val:r}),r=a,n=a)}return r.length>0&&o.push({literal:s,val:r}),o}static macroTokenToFormatOpts(t){return BK[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,Je(Je({},this.opts),n)).format()}formatDateTime(t,n={}){return this.loc.dtFormatter(t,Je(Je({},this.opts),n)).format()}formatDateTimeParts(t,n={}){return this.loc.dtFormatter(t,Je(Je({},this.opts),n)).formatToParts()}resolvedOptions(t,n={}){return this.loc.dtFormatter(t,Je(Je({},this.opts),n)).resolvedOptions()}num(t,n=0){if(this.opts.forceSimple)return Ut(t,n);const r=Je({},this.opts);return n>0&&(r.padTo=n),this.loc.numberFormatter(r).format(t)}formatDateTimeFromString(t,n){const r=this.loc.listingMode()==="en",s=this.loc.outputCalendar&&this.loc.outputCalendar!=="gregory",o=(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?LK(t):o({hour:"numeric",hourCycle:"h12"},"dayperiod"),l=(p,h)=>r?NK(t,p):o(h?{month:p}:{month:p,day:"numeric"},"month"),c=(p,h)=>r?RK(t,p):o(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?jK(t,p):o({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 s?o({day:"numeric"},"day"):this.num(t.day);case"dd":return s?o({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 s?o({month:"numeric",day:"numeric"},"month"):this.num(t.month);case"LL":return s?o({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 s?o({month:"numeric"},"month"):this.num(t.month);case"MM":return s?o({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 s?o({year:"numeric"},"year"):this.num(t.year);case"yy":return s?o({year:"2-digit"},"year"):this.num(t.year.toString().slice(-2),2);case"yyyy":return s?o({year:"numeric"},"year"):this.num(t.year,4);case"yyyyyy":return s?o({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 Ih(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}},s=l=>c=>{const d=r(c);return d?this.num(l.get(d),c.length):c},o=xn.parseFormat(n),i=o.reduce((l,{literal:c,val:d})=>c?l:l.concat(d),[]),a=t.shiftTo(...i.map(r).filter(l=>l));return Ih(o,s(a))}}class rr{constructor(t,n){this.reason=t,this.explanation=n}toMessage(){return this.explanation?`${this.reason}: ${this.explanation}`:this.reason}}class Xi{get type(){throw new Vr}get name(){throw new Vr}get ianaName(){return this.name}get isUniversal(){throw new Vr}offsetName(t,n){throw new Vr}formatOffset(t,n){throw new Vr}offset(t){throw new Vr}equals(t){throw new Vr}get isValid(){throw new Vr}}let yc=null;class Zm extends Xi{static get instance(){return yc===null&&(yc=new Zm),yc}get type(){return"system"}get name(){return new Intl.DateTimeFormat().resolvedOptions().timeZone}get isUniversal(){return!1}offsetName(t,{format:n,locale:r}){return F1(t,n,r)}formatOffset(t,n){return Ei(this.offset(t),n)}offset(t){return-new Date(t).getTimezoneOffset()}equals(t){return t.type==="system"}get isValid(){return!0}}let _l={};function HK(e){return _l[e]||(_l[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"})),_l[e]}const UK={year:0,month:1,day:2,era:3,hour:4,minute:5,second:6};function qK(e,t){const n=e.format(t).replace(/\u200E/g,""),r=/(\d+)\/(\d+)\/(\d+) (AD|BC),? (\d+):(\d+):(\d+)/.exec(n),[,s,o,i,a,l,c,d]=r;return[i,s,o,a,l,c,d]}function WK(e,t){const n=e.formatToParts(t),r=[];for(let s=0;s<n.length;s++){const{type:o,value:i}=n[s],a=UK[o];o==="era"?r[a]=i:dt(a)||(r[a]=parseInt(i,10))}return r}let tl={};class Tr extends Xi{static create(t){return tl[t]||(tl[t]=new Tr(t)),tl[t]}static resetCache(){tl={},_l={}}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=Tr.isValidZone(t)}get type(){return"iana"}get name(){return this.zoneName}get isUniversal(){return!1}offsetName(t,{format:n,locale:r}){return F1(t,n,r,this.name)}formatOffset(t,n){return Ei(this.offset(t),n)}offset(t){const n=new Date(t);if(isNaN(n))return NaN;const r=HK(this.name);let[s,o,i,a,l,c,d]=r.formatToParts?WK(r,n):qK(r,n);a==="BC"&&(s=-Math.abs(s)+1);const m=Km({year:s,month:o,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 vc=null;class fn extends Xi{static get utcInstance(){return vc===null&&(vc=new fn(0)),vc}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($u(n[1],n[2]))}return null}constructor(t){super(),this.fixed=t}get type(){return"fixed"}get name(){return this.fixed===0?"UTC":`UTC${Ei(this.fixed,"narrow")}`}get ianaName(){return this.fixed===0?"Etc/UTC":`Etc/GMT${Ei(-this.fixed,"narrow")}`}offsetName(){return this.name}formatOffset(t,n){return Ei(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 GK extends Xi{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 Xi)return e;if(SK(e)){const n=e.toLowerCase();return n==="local"||n==="system"?t:n==="utc"||n==="gmt"?fn.utcInstance:fn.parseSpecifier(n)||Tr.create(e)}else return Es(e)?fn.instance(e):typeof e=="object"&&e.offset&&typeof e.offset=="number"?e:new GK(e)}let Mh=()=>Date.now(),Lh="system",Rh=null,Nh=null,jh=null,Vh;class Kt{static get now(){return Mh}static set now(t){Mh=t}static set defaultZone(t){Lh=t}static get defaultZone(){return Yr(Lh,Zm.instance)}static get defaultLocale(){return Rh}static set defaultLocale(t){Rh=t}static get defaultNumberingSystem(){return Nh}static set defaultNumberingSystem(t){Nh=t}static get defaultOutputCalendar(){return jh}static set defaultOutputCalendar(t){jh=t}static get throwOnInvalid(){return Vh}static set throwOnInvalid(t){Vh=t}static resetCaches(){At.resetCache(),Tr.resetCache()}}let Bh={};function KK(e,t={}){const n=JSON.stringify([e,t]);let r=Bh[n];return r||(r=new Intl.ListFormat(e,t),Bh[n]=r),r}let kd={};function Sd(e,t={}){const n=JSON.stringify([e,t]);let r=kd[n];return r||(r=new Intl.DateTimeFormat(e,t),kd[n]=r),r}let Ed={};function ZK(e,t={}){const n=JSON.stringify([e,t]);let r=Ed[n];return r||(r=new Intl.NumberFormat(e,t),Ed[n]=r),r}let $d={};function YK(e,t={}){const i=t,{base:n}=i,r=Vu(i,["base"]),s=JSON.stringify([e,r]);let o=$d[s];return o||(o=new Intl.RelativeTimeFormat(e,t),$d[s]=o),o}let ii=null;function JK(){return ii||(ii=new Intl.DateTimeFormat().resolvedOptions().locale,ii)}function XK(e){const t=e.indexOf("-u-");if(t===-1)return[e];{let n;const r=e.substring(0,t);try{n=Sd(e).resolvedOptions()}catch{n=Sd(r).resolvedOptions()}const{numberingSystem:s,calendar:o}=n;return[r,s,o]}}function QK(e,t,n){return(n||t)&&(e+="-u",n&&(e+=`-ca-${n}`),t&&(e+=`-nu-${t}`)),e}function eZ(e){const t=[];for(let n=1;n<=12;n++){const r=Qe.utc(2016,n,1);t.push(e(r))}return t}function tZ(e){const t=[];for(let n=1;n<=7;n++){const r=Qe.utc(2016,11,13+n);t.push(e(r))}return t}function nl(e,t,n,r,s){const o=e.listingMode(n);return o==="error"?null:o==="en"?r(t):s(t)}function nZ(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 rZ{constructor(t,n,r){this.padTo=r.padTo||0,this.floor=r.floor||!1;const a=r,{padTo:s,floor:o}=a,i=Vu(a,["padTo","floor"]);if(!n||Object.keys(i).length>0){const l=Je({useGrouping:!1},r);r.padTo>0&&(l.minimumIntegerDigits=r.padTo),this.inf=ZK(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):Gm(t,3);return Ut(n,this.padTo)}}}class sZ{constructor(t,n,r){this.opts=r;let s;if(t.zone.isUniversal){const i=-1*(t.offset/60),a=i>=0?`Etc/GMT+${i}`:`Etc/GMT${i}`;t.offset!==0&&Tr.create(a).valid?(s=a,this.dt=t):(s="UTC",r.timeZoneName?this.dt=t:this.dt=t.offset===0?t:Qe.fromMillis(t.ts+t.offset*60*1e3))}else t.zone.type==="system"?this.dt=t:(this.dt=t,s=t.zone.name);const o=Je({},this.opts);s&&(o.timeZone=s),this.dtf=Sd(n,o)}format(){return this.dtf.format(this.dt.toJSDate())}formatToParts(){return this.dtf.formatToParts(this.dt.toJSDate())}resolvedOptions(){return this.dtf.resolvedOptions()}}class oZ{constructor(t,n,r){this.opts=Je({style:"long"},r),!n&&D1()&&(this.rtf=YK(t,r))}format(t,n){return this.rtf?this.rtf.format(t,n):VK(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,s=!1){const o=t||Kt.defaultLocale,i=o||(s?"en-US":JK()),a=n||Kt.defaultNumberingSystem,l=r||Kt.defaultOutputCalendar;return new At(i,a,l,o)}static resetCache(){ii=null,kd={},Ed={},$d={}}static fromObject({locale:t,numberingSystem:n,outputCalendar:r}={}){return At.create(t,n,r)}constructor(t,n,r,s){const[o,i,a]=XK(t);this.locale=o,this.numberingSystem=n||i||null,this.outputCalendar=r||a||null,this.intl=QK(this.locale,this.numberingSystem,this.outputCalendar),this.weekdaysCache={format:{},standalone:{}},this.monthsCache={format:{},standalone:{}},this.meridiemCache=null,this.eraCache={},this.specifiedLocale=s,this.fastNumbersCached=null}get fastNumbers(){return this.fastNumbersCached==null&&(this.fastNumbersCached=nZ(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(jn(Je({},t),{defaultToEN:!0}))}redefaultToSystem(t={}){return this.clone(jn(Je({},t),{defaultToEN:!1}))}months(t,n=!1,r=!0){return nl(this,t,r,R1,()=>{const s=n?{month:t,day:"numeric"}:{month:t},o=n?"format":"standalone";return this.monthsCache[o][t]||(this.monthsCache[o][t]=eZ(i=>this.extract(i,s,"month"))),this.monthsCache[o][t]})}weekdays(t,n=!1,r=!0){return nl(this,t,r,V1,()=>{const s=n?{weekday:t,year:"numeric",month:"long",day:"numeric"}:{weekday:t},o=n?"format":"standalone";return this.weekdaysCache[o][t]||(this.weekdaysCache[o][t]=tZ(i=>this.extract(i,s,"weekday"))),this.weekdaysCache[o][t]})}meridiems(t=!0){return nl(this,void 0,t,()=>B1,()=>{if(!this.meridiemCache){const n={hour:"numeric",hourCycle:"h12"};this.meridiemCache=[Qe.utc(2016,11,13,9),Qe.utc(2016,11,13,19)].map(r=>this.extract(r,n,"dayperiod"))}return this.meridiemCache})}eras(t,n=!0){return nl(this,t,n,H1,()=>{const r={era:t};return this.eraCache[t]||(this.eraCache[t]=[Qe.utc(-40,1,1),Qe.utc(2017,1,1)].map(s=>this.extract(s,r,"era"))),this.eraCache[t]})}extract(t,n,r){const s=this.dtFormatter(t,n),o=s.formatToParts(),i=o.find(a=>a.type.toLowerCase()===r);return i?i.value:null}numberFormatter(t={}){return new rZ(this.intl,t.forceSimple||this.fastNumbers,t)}dtFormatter(t,n={}){return new sZ(t,this.intl,n)}relFormatter(t={}){return new oZ(this.intl,this.isEnglish(),t)}listFormatter(t={}){return KK(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 Do(...e){const t=e.reduce((n,r)=>n+r.source,"");return RegExp(`^${t}$`)}function Fo(...e){return t=>e.reduce(([n,r,s],o)=>{const[i,a,l]=o(t,s);return[Je(Je({},n),i),a||r,l]},[{},null,1]).slice(0,2)}function Io(e,...t){if(e==null)return[null,null];for(const[n,r]of t){const s=n.exec(e);if(s)return r(s)}return[null,null]}function U1(...e){return(t,n)=>{const r={};let s;for(s=0;s<e.length;s++)r[e[s]]=Kr(t[n+s]);return[r,null,n+s]}}const q1=/(?:(Z)|([+-]\d\d)(?::?(\d\d))?)/,iZ=`(?:${q1.source}?(?:\\[(${M1.source})\\])?)?`,Ym=/(\d\d)(?::?(\d\d)(?::?(\d\d)(?:[.,](\d{1,30}))?)?)?/,W1=RegExp(`${Ym.source}${iZ}`),Jm=RegExp(`(?:T${W1.source})?`),aZ=/([+-]\d{6}|\d{4})(?:-?(\d\d)(?:-?(\d\d))?)?/,lZ=/(\d{4})-?W(\d\d)(?:-?(\d))?/,uZ=/(\d{4})-?(\d{3})/,cZ=U1("weekYear","weekNumber","weekDay"),dZ=U1("year","ordinal"),mZ=/(\d{4})-(\d\d)-(\d\d)/,G1=RegExp(`${Ym.source} ?(?:${q1.source}|(${M1.source}))?`),fZ=RegExp(`(?: ${G1.source})?`);function mo(e,t,n){const r=e[t];return dt(r)?n:Kr(r)}function pZ(e,t){return[{year:mo(e,t),month:mo(e,t+1,1),day:mo(e,t+2,1)},null,t+3]}function Mo(e,t){return[{hours:mo(e,t,0),minutes:mo(e,t+1,0),seconds:mo(e,t+2,0),milliseconds:Wm(e[t+3])},null,t+4]}function Qi(e,t){const n=!e[t]&&!e[t+1],r=$u(e[t+1],e[t+2]),s=n?null:fn.instance(r);return[{},s,t+3]}function ea(e,t){const n=e[t]?Tr.create(e[t]):null;return[{},n,t+1]}const hZ=RegExp(`^T?${Ym.source}$`),_Z=/^-?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 gZ(e){const[t,n,r,s,o,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(hs(n)),months:m(hs(r)),weeks:m(hs(s)),days:m(hs(o)),hours:m(hs(i)),minutes:m(hs(a)),seconds:m(hs(l),l==="-0"),milliseconds:m(Wm(c),f)}]}const yZ={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 Xm(e,t,n,r,s,o,i){const a={year:t.length===2?xd(Kr(t)):Kr(t),month:L1.indexOf(n)+1,day:Kr(r),hour:Kr(s),minute:Kr(o)};return i&&(a.second=Kr(i)),e&&(a.weekday=e.length>3?N1.indexOf(e)+1:j1.indexOf(e)+1),a}const vZ=/^(?:(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 bZ(e){const[,t,n,r,s,o,i,a,l,c,d,f]=e,m=Xm(t,s,r,n,o,i,a);let p;return l?p=yZ[l]:c?p=0:p=$u(d,f),[m,new fn(p)]}function wZ(e){return e.replace(/\([^()]*\)|[\n\t]/g," ").replace(/(\s\s+)/g," ").trim()}const CZ=/^(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$/,zZ=/^(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$/,xZ=/^(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 Hh(e){const[,t,n,r,s,o,i,a]=e;return[Xm(t,s,r,n,o,i,a),fn.utcInstance]}function kZ(e){const[,t,n,r,s,o,i,a]=e;return[Xm(t,a,n,r,s,o,i),fn.utcInstance]}const SZ=Do(aZ,Jm),EZ=Do(lZ,Jm),$Z=Do(uZ,Jm),AZ=Do(W1),K1=Fo(pZ,Mo,Qi,ea),TZ=Fo(cZ,Mo,Qi,ea),OZ=Fo(dZ,Mo,Qi,ea),PZ=Fo(Mo,Qi,ea);function DZ(e){return Io(e,[SZ,K1],[EZ,TZ],[$Z,OZ],[AZ,PZ])}function FZ(e){return Io(wZ(e),[vZ,bZ])}function IZ(e){return Io(e,[CZ,Hh],[zZ,Hh],[xZ,kZ])}function MZ(e){return Io(e,[_Z,gZ])}const LZ=Fo(Mo);function RZ(e){return Io(e,[hZ,LZ])}const NZ=Do(mZ,fZ),jZ=Do(G1),VZ=Fo(Mo,Qi,ea);function BZ(e){return Io(e,[NZ,K1],[jZ,VZ])}const HZ="Invalid Duration",Z1={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}},UZ=Je({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}},Z1),Hn=146097/400,Ys=146097/4800,qZ=Je({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:Ys/7,days:Ys,hours:Ys*24,minutes:Ys*24*60,seconds:Ys*24*60*60,milliseconds:Ys*24*60*60*1e3}},Z1),vs=["years","quarters","months","weeks","days","hours","minutes","seconds","milliseconds"],WZ=vs.slice(0).reverse();function _s(e,t,n=!1){const r={values:n?t.values:Je(Je({},e.values),t.values||{}),loc:e.loc.clone(t.loc),conversionAccuracy:t.conversionAccuracy||e.conversionAccuracy};return new it(r)}function GZ(e){return e<0?Math.floor(e):Math.ceil(e)}function Y1(e,t,n,r,s){const o=e[s][n],i=t[n]/o,a=Math.sign(i)===Math.sign(r[s]),l=!a&&r[s]!==0&&Math.abs(i)<=1?GZ(i):Math.trunc(i);r[s]+=l,t[n]-=l*o}function KZ(e,t){WZ.reduce((n,r)=>dt(t[r])?n:(n&&Y1(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?qZ:UZ,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:Bl(t,it.normalizeUnit),loc:At.fromObject(n),conversionAccuracy:n.conversionAccuracy})}static fromDurationLike(t){if(Es(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]=MZ(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]=RZ(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 zK(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 f1(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=jn(Je({},n),{floor:n.round!==!1&&n.floor!==!1});return this.isValid?xn.create(this.loc,r).formatDurationFromString(this,t):HZ}toHuman(t={}){const n=vs.map(r=>{const s=this.values[r];return dt(s)?null:this.loc.numberFormatter(jn(Je({style:"unit",unitDisplay:"long"},t),{unit:r.slice(0,-1)})).format(s)}).filter(r=>r);return this.loc.listFormatter(Je({type:"conjunction",style:t.listStyle||"narrow"},t)).format(n)}toObject(){return this.isValid?Je({},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+=Gm(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=Je({suppressMilliseconds:!1,suppressSeconds:!1,includePrefix:!1,format:"extended"},t);const r=this.shiftTo("hours","minutes","seconds","milliseconds");let s=t.format==="basic"?"hhmm":"hh:mm";(!t.suppressSeconds||r.seconds!==0||r.milliseconds!==0)&&(s+=t.format==="basic"?"ss":":ss",(!t.suppressMilliseconds||r.milliseconds!==0)&&(s+=".SSS"));let o=r.toFormat(s);return t.includePrefix&&(o="T"+o),o}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 s of vs)(Eo(n.values,s)||Eo(this.values,s))&&(r[s]=n.get(s)+this.get(s));return _s(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]=I1(t(this.values[r],r));return _s(this,{values:n},!0)}get(t){return this[it.normalizeUnit(t)]}set(t){if(!this.isValid)return this;const n=Je(Je({},this.values),Bl(t,it.normalizeUnit));return _s(this,{values:n})}reconfigure({locale:t,numberingSystem:n,conversionAccuracy:r}={}){const s=this.loc.clone({locale:t,numberingSystem:n}),o={loc:s};return r&&(o.conversionAccuracy=r),_s(this,o)}as(t){return this.isValid?this.shiftTo(t).get(t):NaN}normalize(){if(!this.isValid)return this;const t=this.toObject();return KZ(this.matrix,t),_s(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={},s=this.toObject();let o;for(const i of vs)if(t.indexOf(i)>=0){o=i;let a=0;for(const c in r)a+=this.matrix[c][i]*r[c],r[c]=0;Es(s[i])&&(a+=s[i]);const l=Math.trunc(a);n[i]=l,r[i]=(a*1e3-l*1e3)/1e3;for(const c in s)vs.indexOf(c)>vs.indexOf(i)&&Y1(this.matrix,s,c,n,i)}else Es(s[i])&&(r[i]=s[i]);for(const i in r)r[i]!==0&&(n[o]+=i===o?r[i]:r[i]/this.matrix[o][i]);return _s(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 _s(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,s){return r===void 0||r===0?s===void 0||s===0:r===s}for(const r of vs)if(!n(this.values[r],t.values[r]))return!1;return!0}}const Go="Invalid Interval";function ZZ(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 CK(r);return new It({invalid:r})}static fromDateTimes(t,n){const r=Yo(t),s=Yo(n),o=ZZ(r,s);return o==null?new It({start:r,end:s}):o}static after(t,n){const r=it.fromDurationLike(n),s=Yo(t);return It.fromDateTimes(s,s.plus(r))}static before(t,n){const r=it.fromDurationLike(n),s=Yo(t);return It.fromDateTimes(s.minus(r),s)}static fromISO(t,n){const[r,s]=(t||"").split("/",2);if(r&&s){let o,i;try{o=Qe.fromISO(r,n),i=o.isValid}catch{i=!1}let a,l;try{a=Qe.fromISO(s,n),l=a.isValid}catch{l=!1}if(i&&l)return It.fromDateTimes(o,a);if(i){const c=it.fromISO(s,n);if(c.isValid)return It.after(o,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(Yo).filter(i=>this.contains(i)).sort(),r=[];let{s}=this,o=0;for(;s<this.e;){const i=n[o]||this.e,a=+i>+this.e?this.e:i;r.push(It.fromDateTimes(s,a)),s=a,o+=1}return r}splitBy(t){const n=it.fromDurationLike(t);if(!this.isValid||!n.isValid||n.as("milliseconds")===0)return[];let{s:r}=this,s=1,o;const i=[];for(;r<this.e;){const a=this.start.plus(n.mapUnits(l=>l*s));o=+a>+this.e?this.e:a,i.push(It.fromDateTimes(r,o)),r=o,s+=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((s,o)=>s.s-o.s).reduce(([s,o],i)=>o?o.overlaps(i)||o.abutsStart(i)?[s,o.union(i)]:[s.concat([o]),i]:[s,i],[[],null]);return r&&n.push(r),n}static xor(t){let n=null,r=0;const s=[],o=t.map(l=>[{time:l.s,type:"s"},{time:l.e,type:"e"}]),i=Array.prototype.concat(...o),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&&s.push(It.fromDateTimes(n,l.time)),n=null);return It.merge(s)}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()})`:Go}toISO(t){return this.isValid?`${this.s.toISO(t)}/${this.e.toISO(t)}`:Go}toISODate(){return this.isValid?`${this.s.toISODate()}/${this.e.toISODate()}`:Go}toISOTime(t){return this.isValid?`${this.s.toISOTime(t)}/${this.e.toISOTime(t)}`:Go}toFormat(t,{separator:n=" \u2013 "}={}){return this.isValid?`${this.s.toFormat(t)}${n}${this.e.toFormat(t)}`:Go}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 rl{static hasDST(t=Kt.defaultZone){const n=Qe.now().setZone(t).set({month:12});return!t.isUniversal&&n.offset!==n.set({month:6}).offset}static isValidIANAZone(t){return Tr.isValidZone(t)}static normalizeZone(t){return Yr(t,Kt.defaultZone)}static months(t="long",{locale:n=null,numberingSystem:r=null,locObj:s=null,outputCalendar:o="gregory"}={}){return(s||At.create(n,r,o)).months(t)}static monthsFormat(t="long",{locale:n=null,numberingSystem:r=null,locObj:s=null,outputCalendar:o="gregory"}={}){return(s||At.create(n,r,o)).months(t,!0)}static weekdays(t="long",{locale:n=null,numberingSystem:r=null,locObj:s=null}={}){return(s||At.create(n,r,null)).weekdays(t)}static weekdaysFormat(t="long",{locale:n=null,numberingSystem:r=null,locObj:s=null}={}){return(s||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:D1()}}}function Uh(e,t){const n=s=>s.toUTC(0,{keepLocalTime:!0}).startOf("day").valueOf(),r=n(t)-n(e);return Math.floor(it.fromMillis(r).as("days"))}function YZ(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=Uh(a,l);return(c-c%7)/7}],["days",Uh]],s={};let o,i;for(const[a,l]of r)if(n.indexOf(a)>=0){o=a;let c=l(e,t);i=e.plus({[a]:c}),i>t?(e=e.plus({[a]:c-1}),c-=1):e=i,s[a]=c}return[e,s,i,o]}function JZ(e,t,n,r){let[s,o,i,a]=YZ(e,t,n);const l=t-s,c=n.filter(f=>["hours","minutes","seconds","milliseconds"].indexOf(f)>=0);c.length===0&&(i<t&&(i=s.plus({[a]:1})),i!==s&&(o[a]=(o[a]||0)+l/(i-s)));const d=it.fromObject(o,r);return c.length>0?it.fromMillis(l,r).shiftTo(...c).plus(d):d}const Qm={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"},qh={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]},XZ=Qm.hanidec.replace(/[\[|\]]/g,"").split("");function QZ(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(Qm.hanidec)!==-1)t+=XZ.indexOf(e[n]);else for(const s in qh){const[o,i]=qh[s];r>=o&&r<=i&&(t+=r-o)}}return parseInt(t,10)}else return t}function Qn({numberingSystem:e},t=""){return new RegExp(`${Qm[e||"latn"]}${t}`)}const eY="missing Intl.DateTimeFormat.formatToParts support";function gt(e,t=n=>n){return{regex:e,deser:([n])=>t(QZ(n))}}const tY=String.fromCharCode(160),J1=`[ ${tY}]`,X1=new RegExp(J1,"g");function nY(e){return e.replace(/\./g,"\\.?").replace(X1,J1)}function Wh(e){return e.replace(/\./g,"").replace(X1," ").toLowerCase()}function er(e,t){return e===null?null:{regex:RegExp(e.map(nY).join("|")),deser:([n])=>e.findIndex(r=>Wh(n)===Wh(r))+t}}function Gh(e,t){return{regex:e,deser:([,n,r])=>$u(n,r),groups:t}}function bc(e){return{regex:e,deser:([t])=>t}}function rY(e){return e.replace(/[\-\[\]{}()*+?.,\\\^$|#\s]/g,"\\$&")}function sY(e,t){const n=Qn(t),r=Qn(t,"{2}"),s=Qn(t,"{3}"),o=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(rY(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,xd);case"yyyy":return gt(o);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(s);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(s);case"u":return bc(d);case"uu":return bc(a);case"uuu":return gt(n);case"a":return er(t.meridiems(),0);case"kkkk":return gt(o);case"kk":return gt(f,xd);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 Gh(new RegExp(`([+-]${a.source})(?::(${r.source}))?`),2);case"ZZZ":return Gh(new RegExp(`([+-]${a.source})(${r.source})?`),2);case"z":return bc(/[a-z_+-/]{1,256}?/i);default:return p(g)}})(e)||{invalidReason:eY};return _.token=e,_}const oY={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 iY(e,t,n){const{type:r,value:s}=e;if(r==="literal")return{literal:!0,val:s};const o=n[r];let i=oY[r];if(typeof i=="object"&&(i=i[o]),i)return{literal:!1,val:i}}function aY(e){return[`^${e.map(n=>n.regex).reduce((n,r)=>`${n}(${r.source})`,"")}$`,e]}function lY(e,t,n){const r=e.match(t);if(r){const s={};let o=1;for(const i in n)if(Eo(n,i)){const a=n[i],l=a.groups?a.groups+1:1;!a.literal&&a.token&&(s[a.token.val[0]]=a.deser(r.slice(o,o+l))),o+=l}return[r,s]}else return[r,{}]}function uY(e){const t=o=>{switch(o){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=Tr.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=Wm(e.u)),[Object.keys(e).reduce((o,i)=>{const a=t(i);return a&&(o[a]=e[i]),o},{}),n,r]}let wc=null;function cY(){return wc||(wc=Qe.fromMillis(1555555555555)),wc}function dY(e,t){if(e.literal)return e;const n=xn.macroTokenToFormatOpts(e.val);if(!n)return e;const o=xn.create(t,n).formatDateTimeParts(cY()).map(i=>iY(i,t,n));return o.includes(void 0)?e:o}function mY(e,t){return Array.prototype.concat(...e.map(n=>dY(n,t)))}function Q1(e,t,n){const r=mY(xn.parseFormat(n),e),s=r.map(i=>sY(i,e)),o=s.find(i=>i.invalidReason);if(o)return{input:t,tokens:r,invalidReason:o.invalidReason};{const[i,a]=aY(s),l=RegExp(i,"i"),[c,d]=lY(t,l,a),[f,m,p]=d?uY(d):[null,null,void 0];if(Eo(d,"a")&&Eo(d,"H"))throw new oi("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 fY(e,t,n){const{result:r,zone:s,specificOffset:o,invalidReason:i}=Q1(e,t,n);return[r,s,o,i]}const eb=[0,31,59,90,120,151,181,212,243,273,304,334],tb=[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 nb(e,t,n){const r=new Date(Date.UTC(e,t-1,n));e<100&&e>=0&&r.setUTCFullYear(r.getUTCFullYear()-1900);const s=r.getUTCDay();return s===0?7:s}function rb(e,t,n){return n+(Ji(e)?tb:eb)[t-1]}function sb(e,t){const n=Ji(e)?tb:eb,r=n.findIndex(o=>o<t),s=t-n[r];return{month:r+1,day:s}}function Ad(e){const{year:t,month:n,day:r}=e,s=rb(t,n,r),o=nb(t,n,r);let i=Math.floor((s-o+10)/7),a;return i<1?(a=t-1,i=Vl(a)):i>Vl(t)?(a=t+1,i=1):a=t,Je({weekYear:a,weekNumber:i,weekday:o},Au(e))}function Kh(e){const{weekYear:t,weekNumber:n,weekday:r}=e,s=nb(t,1,4),o=Si(t);let i=n*7+r-s-3,a;i<1?(a=t-1,i+=Si(a)):i>o?(a=t+1,i-=Si(t)):a=t;const{month:l,day:c}=sb(a,i);return Je({year:a,month:l,day:c},Au(e))}function Cc(e){const{year:t,month:n,day:r}=e,s=rb(t,n,r);return Je({year:t,ordinal:s},Au(e))}function Zh(e){const{year:t,ordinal:n}=e,{month:r,day:s}=sb(t,n);return Je({year:t,month:r,day:s},Au(e))}function pY(e){const t=Eu(e.weekYear),n=Sr(e.weekNumber,1,Vl(e.weekYear)),r=Sr(e.weekday,1,7);return t?n?r?!1:Wn("weekday",e.weekday):Wn("week",e.week):Wn("weekYear",e.weekYear)}function hY(e){const t=Eu(e.year),n=Sr(e.ordinal,1,Si(e.year));return t?n?!1:Wn("ordinal",e.ordinal):Wn("year",e.year)}function ob(e){const t=Eu(e.year),n=Sr(e.month,1,12),r=Sr(e.day,1,jl(e.year,e.month));return t?n?r?!1:Wn("day",e.day):Wn("month",e.month):Wn("year",e.year)}function ib(e){const{hour:t,minute:n,second:r,millisecond:s}=e,o=Sr(t,0,23)||t===24&&n===0&&r===0&&s===0,i=Sr(n,0,59),a=Sr(r,0,59),l=Sr(s,0,999);return o?i?a?l?!1:Wn("millisecond",s):Wn("second",r):Wn("minute",n):Wn("hour",t)}const zc="Invalid DateTime",Yh=864e13;function sl(e){return new rr("unsupported zone",`the zone "${e.name}" is not supported`)}function xc(e){return e.weekData===null&&(e.weekData=Ad(e.c)),e.weekData}function Ko(e,t){const n={ts:e.ts,zone:e.zone,c:e.c,o:e.o,loc:e.loc,invalid:e.invalid};return new Qe(jn(Je(Je({},n),t),{old:n}))}function ab(e,t,n){let r=e-t*60*1e3;const s=n.offset(r);if(t===s)return[r,t];r-=(s-t)*60*1e3;const o=n.offset(r);return s===o?[r,s]:[e-Math.min(s,o)*60*1e3,Math.max(s,o)]}function Jh(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 gl(e,t,n){return ab(Km(e),t,n)}function Xh(e,t){const n=e.o,r=e.c.year+Math.trunc(t.years),s=e.c.month+Math.trunc(t.months)+Math.trunc(t.quarters)*3,o=jn(Je({},e.c),{year:r,month:s,day:Math.min(e.c.day,jl(r,s))+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=Km(o);let[l,c]=ab(a,n,e.zone);return i!==0&&(l+=i,c=e.zone.offset(l)),{ts:l,o:c}}function Zo(e,t,n,r,s,o){const{setZone:i,zone:a}=n;if(e&&Object.keys(e).length!==0){const l=t||a,c=Qe.fromObject(e,jn(Je({},n),{zone:l,specificOffset:o}));return i?c:c.setZone(a)}else return Qe.invalid(new rr("unparsable",`the input "${s}" can't be parsed as ${r}`))}function ol(e,t,n=!0){return e.isValid?xn.create(At.create("en-US"),{allowZ:n,forceSimple:!0}).formatDateTimeFromString(e,t):null}function kc(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 Qh(e,t,n,r,s,o){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))),s&&(e.isOffsetFixed&&e.offset===0&&!o?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)))),o&&(i+="["+e.zone.ianaName+"]"),i}const lb={month:1,day:1,hour:0,minute:0,second:0,millisecond:0},_Y={weekNumber:1,weekday:1,hour:0,minute:0,second:0,millisecond:0},gY={ordinal:1,hour:0,minute:0,second:0,millisecond:0},ub=["year","month","day","hour","minute","second","millisecond"],yY=["weekYear","weekNumber","weekday","hour","minute","second","millisecond"],vY=["year","ordinal","hour","minute","second","millisecond"];function e_(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 f1(e);return t}function t_(e,t){const n=Yr(t.zone,Kt.defaultZone),r=At.fromObject(t),s=Kt.now();let o,i;if(dt(e.year))o=s;else{for(const c of ub)dt(e[c])&&(e[c]=lb[c]);const a=ob(e)||ib(e);if(a)return Qe.invalid(a);const l=n.offset(s);[o,i]=gl(e,l,n)}return new Qe({ts:o,zone:n,loc:r,o:i})}function n_(e,t,n){const r=dt(n.round)?!0:n.round,s=(i,a)=>(i=Gm(i,r||n.calendary?0:2,!0),t.loc.clone(n).relFormatter(n).format(i,a)),o=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 s(o(n.unit),n.unit);for(const i of n.units){const a=o(i);if(Math.abs(a)>=1)return s(a,i)}return s(e>t?-0:0,n.units[n.units.length-1])}function r_(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 Qe{constructor(t){const n=t.zone||Kt.defaultZone;let r=t.invalid||(Number.isNaN(t.ts)?new rr("invalid input"):null)||(n.isValid?null:sl(n));this.ts=dt(t.ts)?Kt.now():t.ts;let s=null,o=null;if(!r)if(t.old&&t.old.ts===this.ts&&t.old.zone.equals(n))[s,o]=[t.old.c,t.old.o];else{const a=n.offset(this.ts);s=Jh(this.ts,a),r=Number.isNaN(s.year)?new rr("invalid input"):null,s=r?null:s,o=r?null:a}this._zone=n,this.loc=t.loc||At.create(),this.invalid=r,this.weekData=null,this.c=s,this.o=o,this.isLuxonDateTime=!0}static now(){return new Qe({})}static local(){const[t,n]=r_(arguments),[r,s,o,i,a,l,c]=n;return t_({year:r,month:s,day:o,hour:i,minute:a,second:l,millisecond:c},t)}static utc(){const[t,n]=r_(arguments),[r,s,o,i,a,l,c]=n;return t.zone=fn.utcInstance,t_({year:r,month:s,day:o,hour:i,minute:a,second:l,millisecond:c},t)}static fromJSDate(t,n={}){const r=EK(t)?t.valueOf():NaN;if(Number.isNaN(r))return Qe.invalid("invalid input");const s=Yr(n.zone,Kt.defaultZone);return s.isValid?new Qe({ts:r,zone:s,loc:At.fromObject(n)}):Qe.invalid(sl(s))}static fromMillis(t,n={}){if(Es(t))return t<-Yh||t>Yh?Qe.invalid("Timestamp out of range"):new Qe({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(Es(t))return new Qe({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 Qe.invalid(sl(r));const s=Kt.now(),o=dt(n.specificOffset)?r.offset(s):n.specificOffset,i=Bl(t,e_),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 oi("Can't mix weekYear/weekNumber units with year/month/day or ordinals");if(c&&a)throw new oi("Can't mix ordinal dates with month/day");const p=f||i.weekday&&!d;let h,_,g=Jh(s,o);p?(h=yY,_=_Y,g=Ad(g)):a?(h=vY,_=gY,g=Cc(g)):(h=ub,_=lb);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?pY(i):a?hY(i):ob(i),x=w||ib(i);if(x)return Qe.invalid(x);const z=p?Kh(i):a?Zh(i):i,[E,T]=gl(z,o,r),j=new Qe({ts:E,zone:r,o:T,loc:m});return i.weekday&&d&&t.weekday!==j.weekday?Qe.invalid("mismatched weekday",`you can't specify both a weekday of ${i.weekday} and a date of ${j.toISO()}`):j}static fromISO(t,n={}){const[r,s]=DZ(t);return Zo(r,s,n,"ISO 8601",t)}static fromRFC2822(t,n={}){const[r,s]=FZ(t);return Zo(r,s,n,"RFC 2822",t)}static fromHTTP(t,n={}){const[r,s]=IZ(t);return Zo(r,s,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:s=null,numberingSystem:o=null}=r,i=At.fromOpts({locale:s,numberingSystem:o,defaultToEN:!0}),[a,l,c,d]=fY(i,t,n);return d?Qe.invalid(d):Zo(a,l,r,`format ${n}`,t,c)}static fromString(t,n,r={}){return Qe.fromFormat(t,n,r)}static fromSQL(t,n={}){const[r,s]=BZ(t);return Zo(r,s,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 wK(r);return new Qe({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?xc(this).weekYear:NaN}get weekNumber(){return this.isValid?xc(this).weekNumber:NaN}get weekday(){return this.isValid?xc(this).weekday:NaN}get ordinal(){return this.isValid?Cc(this.c).ordinal:NaN}get monthShort(){return this.isValid?rl.months("short",{locObj:this.loc})[this.month-1]:null}get monthLong(){return this.isValid?rl.months("long",{locObj:this.loc})[this.month-1]:null}get weekdayShort(){return this.isValid?rl.weekdays("short",{locObj:this.loc})[this.weekday-1]:null}get weekdayLong(){return this.isValid?rl.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 Ji(this.year)}get daysInMonth(){return jl(this.year,this.month)}get daysInYear(){return this.isValid?Si(this.year):NaN}get weeksInWeekYear(){return this.isValid?Vl(this.weekYear):NaN}resolvedLocaleOptions(t={}){const{locale:n,numberingSystem:r,calendar:s}=xn.create(this.loc.clone(t),t).resolvedOptions(this);return{locale:n,numberingSystem:r,outputCalendar:s}}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 s=this.ts;if(n||r){const o=t.offset(this.ts),i=this.toObject();[s]=gl(i,o,t)}return Ko(this,{ts:s,zone:t})}else return Qe.invalid(sl(t))}reconfigure({locale:t,numberingSystem:n,outputCalendar:r}={}){const s=this.loc.clone({locale:t,numberingSystem:n,outputCalendar:r});return Ko(this,{loc:s})}setLocale(t){return this.reconfigure({locale:t})}set(t){if(!this.isValid)return this;const n=Bl(t,e_),r=!dt(n.weekYear)||!dt(n.weekNumber)||!dt(n.weekday),s=!dt(n.ordinal),o=!dt(n.year),i=!dt(n.month)||!dt(n.day),a=o||i,l=n.weekYear||n.weekNumber;if((a||s)&&l)throw new oi("Can't mix weekYear/weekNumber units with year/month/day or ordinals");if(i&&s)throw new oi("Can't mix ordinal dates with month/day");let c;r?c=Kh(Je(Je({},Ad(this.c)),n)):dt(n.ordinal)?(c=Je(Je({},this.toObject()),n),dt(n.day)&&(c.day=Math.min(jl(c.year,c.month),c.day))):c=Zh(Je(Je({},Cc(this.c)),n));const[d,f]=gl(c,this.o,this.zone);return Ko(this,{ts:d,o:f})}plus(t){if(!this.isValid)return this;const n=it.fromDurationLike(t);return Ko(this,Xh(this,n))}minus(t){if(!this.isValid)return this;const n=it.fromDurationLike(t).negate();return Ko(this,Xh(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 s=Math.ceil(this.month/3);n.month=(s-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):zc}toLocaleString(t=zd,n={}){return this.isValid?xn.create(this.loc.clone(n),t).formatDateTime(this):zc}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:s=!0,extendedZone:o=!1}={}){if(!this.isValid)return null;const i=t==="extended";let a=kc(this,i);return a+="T",a+=Qh(this,i,n,r,s,o),a}toISODate({format:t="extended"}={}){return this.isValid?kc(this,t==="extended"):null}toISOWeekDate(){return ol(this,"kkkk-'W'WW-c")}toISOTime({suppressMilliseconds:t=!1,suppressSeconds:n=!1,includeOffset:r=!0,includePrefix:s=!1,extendedZone:o=!1,format:i="extended"}={}){return this.isValid?(s?"T":"")+Qh(this,i==="extended",n,t,r,o):null}toRFC2822(){return ol(this,"EEE, dd LLL yyyy HH:mm:ss ZZZ",!1)}toHTTP(){return ol(this.toUTC(),"EEE, dd LLL yyyy HH:mm:ss 'GMT'")}toSQLDate(){return this.isValid?kc(this,!0):null}toSQLTime({includeOffset:t=!0,includeZone:n=!1,includeOffsetSpace:r=!0}={}){let s="HH:mm:ss.SSS";return(n||t)&&(r&&(s+=" "),n?s+="z":t&&(s+="ZZ")),ol(this,s,!0)}toSQL(t={}){return this.isValid?`${this.toSQLDate()} ${this.toSQLTime(t)}`:null}toString(){return this.isValid?this.toISO():zc}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=Je({},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 s=Je({locale:this.locale,numberingSystem:this.numberingSystem},r),o=$K(n).map(it.normalizeUnit),i=t.valueOf()>this.valueOf(),a=i?this:t,l=i?t:this,c=JZ(a,l,o,s);return i?c.negate():c}diffNow(t="milliseconds",n={}){return this.diff(Qe.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(),s=this.setZone(t.zone,{keepLocalTime:!0});return s.startOf(n)<=r&&r<=s.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||Qe.fromObject({},{zone:this.zone}),r=t.padding?this<n?-t.padding:t.padding:0;let s=["years","months","days","hours","minutes","seconds"],o=t.unit;return Array.isArray(t.unit)&&(s=t.unit,o=void 0),n_(n,this.plus(r),jn(Je({},t),{numeric:"always",units:s,unit:o}))}toRelativeCalendar(t={}){return this.isValid?n_(t.base||Qe.fromObject({},{zone:this.zone}),this,jn(Je({},t),{numeric:"auto",units:["years","months","days"],calendary:!0})):null}static min(...t){if(!t.every(Qe.isDateTime))throw new Un("min requires all arguments be DateTimes");return Fh(t,n=>n.valueOf(),Math.min)}static max(...t){if(!t.every(Qe.isDateTime))throw new Un("max requires all arguments be DateTimes");return Fh(t,n=>n.valueOf(),Math.max)}static fromFormatExplain(t,n,r={}){const{locale:s=null,numberingSystem:o=null}=r,i=At.fromOpts({locale:s,numberingSystem:o,defaultToEN:!0});return Q1(i,t,n)}static fromStringExplain(t,n,r={}){return Qe.fromFormatExplain(t,n,r)}static get DATE_SHORT(){return zd}static get DATE_MED(){return p1}static get DATE_MED_WITH_WEEKDAY(){return xK}static get DATE_FULL(){return h1}static get DATE_HUGE(){return _1}static get TIME_SIMPLE(){return g1}static get TIME_WITH_SECONDS(){return y1}static get TIME_WITH_SHORT_OFFSET(){return v1}static get TIME_WITH_LONG_OFFSET(){return b1}static get TIME_24_SIMPLE(){return w1}static get TIME_24_WITH_SECONDS(){return C1}static get TIME_24_WITH_SHORT_OFFSET(){return z1}static get TIME_24_WITH_LONG_OFFSET(){return x1}static get DATETIME_SHORT(){return k1}static get DATETIME_SHORT_WITH_SECONDS(){return S1}static get DATETIME_MED(){return E1}static get DATETIME_MED_WITH_SECONDS(){return $1}static get DATETIME_MED_WITH_WEEKDAY(){return kK}static get DATETIME_FULL(){return A1}static get DATETIME_FULL_WITH_SECONDS(){return T1}static get DATETIME_HUGE(){return O1}static get DATETIME_HUGE_WITH_SECONDS(){return P1}}function Yo(e){if(Qe.isDateTime(e))return e;if(e&&e.valueOf&&Es(e.valueOf()))return Qe.fromJSDate(e);if(e&&typeof e=="object")return Qe.fromObject(e);throw new Un(`Unknown datetime argument: ${e}, of type ${typeof e}`)}const{t:Sc,locale:Ec}=Wi.global,bY={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 Qe.fromISO(e).setLocale(Ec.value).toLocaleString(Qe.DATE_FULL)},datetime:function(e){return Qe.fromISO(e).setLocale(Ec.value).toLocaleString(Qe.DATETIME_MED)},timeFromNow:function(e){var t=Qe.now().diff(Qe.fromISO(e));return this.durationInDays(t.as("milliseconds"))},number:function(e){return e.toLocaleString(Ec.value)},channels:function(e){return e===1?Sc("filter.mono"):e===2?Sc("filter.stereo"):e?Sc("filter.channels",{value:e}):""}},wY={mdiAccountMusic:lG,mdiAlbum:uG,mdiArrowCollapseDown:dG,mdiBookOpenPageVariant:mG,mdiBookOpenVariant:fG,mdiBookshelf:pG,mdiBroadcast:hG,mdiCancel:_G,mdiCast:gG,mdiCastVariant:yG,mdiCellphone:vG,mdiCheck:bG,mdiChevronDown:wG,mdiChevronUp:CG,mdiContentSave:zG,mdiDelete:xG,mdiDeleteEmpty:kG,mdiDotsHorizontal:SG,mdiDotsVertical:EG,mdiDragHorizontal:$G,mdiFastForward:AG,mdiFileMusic:TG,mdiFileOutline:OG,mdiFire:PG,mdiFolder:DG,mdiFolderOpen:FG,mdiMagnify:IG,mdiMenu:MG,mdiMicrophone:LG,mdiMusic:RG,mdiMusicBoxMultiple:NG,mdiOpenInNew:jG,mdiPause:VG,mdiPencil:BG,mdiPipe:HG,mdiPlay:UG,mdiPlaylistPlay:qG,mdiPlaylistPlus:WG,mdiRadio:GG,mdiRadioTower:KG,mdiRefresh:ZG,mdiRepeat:YG,mdiRepeatOff:JG,mdiRepeatOnce:XG,mdiRewind:QG,mdiRss:eK,mdiServer:tK,mdiShuffle:nK,mdiShuffleDisabled:rK,mdiSkipBackward:sK,mdiSkipForward:oK,mdiSpeaker:iK,mdiSpotify:aK,mdiStop:lK,mdiSubdirectoryArrowLeft:uK,mdiVolumeHigh:cK,mdiVolumeOff:dK,mdiWeb:mK},CY={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(bo,e)}},show_burger_menu:{get(){return this.$store.state.show_burger_menu},set(e){this.$store.commit(vo,e)}}},methods:{open_link:function(){this.show_burger_menu&&this.$store.commit(vo,!1),this.show_player_menu&&this.$store.commit(bo,!1),this.$router.push({path:this.to})},full_path:function(){return this.$router.resolve(this.to).href}}},zY=["href"];function xY(e,t,n,r,s,o){return S(),D("a",{class:Ze(["navbar-item",{"is-active":o.is_active}]),href:o.full_path(),onClick:t[0]||(t[0]=_t(i=>o.open_link(),["stop","prevent"]))},[xt(e.$slots,"default")],10,zY)}var cb=ve(CY,[["render",xY]]);const kY={name:"NavbarTop",components:{NavbarItemLink:cb},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(vo,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(Gi,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}}},SY={class:"navbar-brand"},EY={class:"icon"},$Y={class:"icon"},AY={class:"icon"},TY={class:"icon"},OY={class:"icon"},PY={class:"icon"},DY={class:"icon"},FY=u("span",null,null,-1),IY=u("span",null,null,-1),MY=u("span",null,null,-1),LY=[FY,IY,MY],RY=u("div",{class:"navbar-start"},null,-1),NY={class:"navbar-end"},jY={class:"navbar-link is-arrowless"},VY={class:"icon is-hidden-touch"},BY=["textContent"],HY={class:"navbar-dropdown is-right"},UY={class:"icon"},qY=["textContent"],WY={class:"icon"},GY=["textContent"],KY=["textContent"],ZY=["textContent"],YY=["textContent"],JY=["textContent"],XY={class:"icon"},QY=["textContent"],eJ={class:"icon"},tJ=["textContent"],nJ={class:"icon"},rJ=["textContent"],sJ={class:"icon"},oJ=["textContent"],iJ={class:"icon"},aJ=["textContent"],lJ=u("hr",{class:"fd-navbar-divider"},null,-1),uJ=["textContent"],cJ=u("div",{class:"navbar-item is-hidden-desktop",style:{"margin-bottom":"2.5rem"}},null,-1);function dJ(e,t,n,r,s,o){const i=P("mdicon"),a=P("navbar-item-link");return S(),D("nav",{class:"fd-top-navbar navbar is-light is-fixed-top",style:as(o.zindex),role:"navigation","aria-label":"main navigation"},[u("div",SY,[o.is_visible_playlists?(S(),xe(a,{key:0,to:"/playlists"},{default:O(()=>[u("span",EY,[C(i,{name:"music-box-multiple",size:"16"})])]),_:1})):Q("",!0),o.is_visible_music?(S(),xe(a,{key:1,to:"/music"},{default:O(()=>[u("span",$Y,[C(i,{name:"music",size:"16"})])]),_:1})):Q("",!0),o.is_visible_podcasts?(S(),xe(a,{key:2,to:"/podcasts"},{default:O(()=>[u("span",AY,[C(i,{name:"microphone",size:"16"})])]),_:1})):Q("",!0),o.is_visible_audiobooks?(S(),xe(a,{key:3,to:"/audiobooks"},{default:O(()=>[u("span",TY,[C(i,{name:"book-open-variant",size:"16"})])]),_:1})):Q("",!0),o.is_visible_radio?(S(),xe(a,{key:4,to:"/radio"},{default:O(()=>[u("span",OY,[C(i,{name:"radio",size:"16"})])]),_:1})):Q("",!0),o.is_visible_files?(S(),xe(a,{key:5,to:"/files"},{default:O(()=>[u("span",PY,[C(i,{name:"folder-open",size:"16"})])]),_:1})):Q("",!0),o.is_visible_search?(S(),xe(a,{key:6,to:"/search"},{default:O(()=>[u("span",DY,[C(i,{name:"magnify",size:"16"})])]),_:1})):Q("",!0),u("div",{class:Ze(["navbar-burger",{"is-active":o.show_burger_menu}]),onClick:t[0]||(t[0]=l=>o.show_burger_menu=!o.show_burger_menu)},LY,2)]),u("div",{class:Ze(["navbar-menu",{"is-active":o.show_burger_menu}])},[RY,u("div",NY,[u("div",{class:Ze(["navbar-item has-dropdown is-hoverable",{"is-active":s.show_settings_menu}]),onClick:t[2]||(t[2]=(...l)=>o.on_click_outside_settings&&o.on_click_outside_settings(...l))},[u("a",jY,[u("span",VY,[C(i,{name:"menu",size:"24"})]),u("span",{class:"is-hidden-desktop has-text-weight-bold",textContent:v(e.$t("navigation.title"))},null,8,BY)]),u("div",HY,[C(a,{to:"/playlists"},{default:O(()=>[u("span",UY,[C(i,{name:"music-box-multiple",size:"16"})]),u("b",{textContent:v(e.$t("navigation.playlists"))},null,8,qY)]),_:1}),C(a,{to:"/music",exact:""},{default:O(()=>[u("span",WY,[C(i,{name:"music",size:"16"})]),u("b",{textContent:v(e.$t("navigation.music"))},null,8,GY)]),_:1}),C(a,{to:"/music/artists"},{default:O(()=>[u("span",{class:"fd-navbar-item-level2",textContent:v(e.$t("navigation.artists"))},null,8,KY)]),_:1}),C(a,{to:"/music/albums"},{default:O(()=>[u("span",{class:"fd-navbar-item-level2",textContent:v(e.$t("navigation.albums"))},null,8,ZY)]),_:1}),C(a,{to:"/music/genres"},{default:O(()=>[u("span",{class:"fd-navbar-item-level2",textContent:v(e.$t("navigation.genres"))},null,8,YY)]),_:1}),o.spotify_enabled?(S(),xe(a,{key:0,to:"/music/spotify"},{default:O(()=>[u("span",{class:"fd-navbar-item-level2",textContent:v(e.$t("navigation.spotify"))},null,8,JY)]),_:1})):Q("",!0),C(a,{to:"/podcasts"},{default:O(()=>[u("span",XY,[C(i,{name:"microphone",size:"16"})]),u("b",{textContent:v(e.$t("navigation.podcasts"))},null,8,QY)]),_:1}),C(a,{to:"/audiobooks"},{default:O(()=>[u("span",eJ,[C(i,{name:"book-open-variant",size:"16"})]),u("b",{textContent:v(e.$t("navigation.audiobooks"))},null,8,tJ)]),_:1}),C(a,{to:"/radio"},{default:O(()=>[u("span",nJ,[C(i,{name:"radio",size:"16"})]),u("b",{textContent:v(e.$t("navigation.radio"))},null,8,rJ)]),_:1}),C(a,{to:"/files"},{default:O(()=>[u("span",sJ,[C(i,{name:"folder-open",size:"16"})]),u("b",{textContent:v(e.$t("navigation.files"))},null,8,oJ)]),_:1}),C(a,{to:"/search"},{default:O(()=>[u("span",iJ,[C(i,{name:"magnify",size:"16"})]),u("b",{textContent:v(e.$t("navigation.search"))},null,8,aJ)]),_:1}),lJ,C(a,{to:"/settings/webinterface"},{default:O(()=>[vt(v(e.$t("navigation.settings")),1)]),_:1}),u("a",{class:"navbar-item",onClick:t[1]||(t[1]=_t(l=>o.open_update_dialog(),["stop","prevent"])),textContent:v(e.$t("navigation.update-library"))},null,8,uJ),C(a,{to:"/about"},{default:O(()=>[vt(v(e.$t("navigation.about")),1)]),_:1}),cJ])],2)])],2),kt(u("div",{class:"is-overlay",style:{"z-index":"10",width:"100vw",height:"100vh"},onClick:t[3]||(t[3]=l=>s.show_settings_menu=!1)},null,512),[[yo,s.show_settings_menu]])],4)}var mJ=ve(kY,[["render",dJ]]),Jo={_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 fJ={name:"NavbarItemOutput",components:{Slider:Ii},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)}}},pJ={class:"navbar-item"},hJ={class:"level is-mobile"},_J={class:"level-left fd-expanded"},gJ={class:"level-item",style:{"flex-grow":"0"}},yJ={class:"button is-white is-small"},vJ={class:"level-item fd-expanded"},bJ={class:"fd-expanded"},wJ=["textContent"];function CJ(e,t,n,r,s,o){const i=P("mdicon"),a=P("Slider");return S(),D("div",pJ,[u("div",hJ,[u("div",_J,[u("div",gJ,[u("a",yJ,[u("span",{class:Ze(["icon fd-has-action",{"has-text-grey-light":!n.output.selected}]),onClick:t[0]||(t[0]=(...l)=>o.set_enabled&&o.set_enabled(...l))},[C(i,{name:o.type_class,size:"18",title:n.output.type},null,8,["name","title"])],2)])]),u("div",vJ,[u("div",bJ,[u("p",{class:Ze(["heading",{"has-text-grey-light":!n.output.selected}]),textContent:v(n.output.name)},null,10,wJ),C(a,{modelValue:o.volume,"onUpdate:modelValue":t[1]||(t[1]=l=>o.volume=l),min:0,max:100,step:1,tooltips:!1,disabled:!n.output.selected,classes:{target:"slider"},onChange:o.set_volume},null,8,["modelValue","disabled","onChange"])])])])])])}var zJ=ve(fJ,[["render",CJ]]);const xJ={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()}}},kJ=["disabled"],SJ={class:"icon"};function EJ(e,t,n,r,s,o){const i=P("mdicon");return S(),D("a",{disabled:o.disabled,onClick:t[0]||(t[0]=(...a)=>o.toggle_play_pause&&o.toggle_play_pause(...a))},[u("span",SJ,[C(i,{name:o.icon_name,size:n.icon_size},null,8,["name","size"])])],8,kJ)}var $J=ve(xJ,[["render",EJ]]);const AJ={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()}}},TJ=["disabled"],OJ={class:"icon"};function PJ(e,t,n,r,s,o){const i=P("mdicon");return S(),D("a",{disabled:o.disabled,onClick:t[0]||(t[0]=(...a)=>o.play_next&&o.play_next(...a))},[u("span",OJ,[C(i,{name:"skip-forward",size:n.icon_size},null,8,["size"])])],8,TJ)}var DJ=ve(AJ,[["render",PJ]]);const FJ={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()}}},IJ=["disabled"],MJ={class:"icon"};function LJ(e,t,n,r,s,o){const i=P("mdicon");return S(),D("a",{disabled:o.disabled,onClick:t[0]||(t[0]=(...a)=>o.play_previous&&o.play_previous(...a))},[u("span",MJ,[C(i,{name:"skip-backward",size:n.icon_size},null,8,["size"])])],8,IJ)}var RJ=ve(FJ,[["render",LJ]]);const NJ={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)}}},jJ={class:"icon"};function VJ(e,t,n,r,s,o){const i=P("mdicon");return S(),D("a",{class:Ze({"is-warning":o.is_shuffle}),onClick:t[0]||(t[0]=(...a)=>o.toggle_shuffle_mode&&o.toggle_shuffle_mode(...a))},[u("span",jJ,[C(i,{name:o.icon_name,size:n.icon_size},null,8,["name","size"])])],2)}var BJ=ve(NJ,[["render",VJ]]);const HJ={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)}}},UJ={class:"icon"};function qJ(e,t,n,r,s,o){const i=P("mdicon");return S(),D("a",{class:Ze({"is-warning":o.is_consume}),onClick:t[0]||(t[0]=(...a)=>o.toggle_consume_mode&&o.toggle_consume_mode(...a))},[u("span",UJ,[C(i,{name:"fire",size:n.icon_size},null,8,["size"])])],2)}var WJ=ve(HJ,[["render",qJ]]);const GJ={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")}}},KJ={class:"icon"};function ZJ(e,t,n,r,s,o){const i=P("mdicon");return S(),D("a",{class:Ze({"is-warning":!o.is_repeat_off}),onClick:t[0]||(t[0]=(...a)=>o.toggle_repeat_mode&&o.toggle_repeat_mode(...a))},[u("span",KJ,[C(i,{name:o.icon_name,size:n.icon_size},null,8,["name","size"])])],2)}var YJ=ve(GJ,[["render",ZJ]]);const JJ={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)}}},XJ=["disabled"],QJ={class:"icon"};function eX(e,t,n,r,s,o){const i=P("mdicon");return o.visible?(S(),D("a",{key:0,disabled:o.disabled,onClick:t[0]||(t[0]=(...a)=>o.seek&&o.seek(...a))},[u("span",QJ,[C(i,{name:"rewind",size:n.icon_size},null,8,["size"])])],8,XJ)):Q("",!0)}var tX=ve(JJ,[["render",eX]]);const nX={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)}}},rX=["disabled"],sX={class:"icon"};function oX(e,t,n,r,s,o){const i=P("mdicon");return o.visible?(S(),D("a",{key:0,disabled:o.disabled,onClick:t[0]||(t[0]=(...a)=>o.seek&&o.seek(...a))},[u("span",sX,[C(i,{name:"fast-forward",size:n.icon_size},null,8,["size"])])],8,rX)):Q("",!0)}var iX=ve(nX,[["render",oX]]);const aX={name:"NavbarBottom",components:{NavbarItemLink:cb,NavbarItemOutput:zJ,Slider:Ii,PlayerButtonPlayPause:$J,PlayerButtonNext:DJ,PlayerButtonPrevious:RJ,PlayerButtonShuffle:BJ,PlayerButtonConsume:WJ,PlayerButtonRepeat:YJ,PlayerButtonSeekForward:iX,PlayerButtonSeekBack:tX},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(bo,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=Jo.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(){Jo.stopAudio(),this.playing=!1},playChannel:function(){if(this.playing)return;const e="/stream.mp3";this.loading=!0,Jo.playSource(e),Jo.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,Jo.setVolume(this.stream_volume/100)}}},lX={class:"navbar-brand fd-expanded"},uX={class:"icon"},cX={class:"is-clipped"},dX={class:"is-size-7 fd-is-text-clipped"},mX=["textContent"],fX=u("br",null,null,-1),pX=["textContent"],hX=["textContent"],_X={class:"icon"},gX={class:"icon"},yX={class:"navbar-dropdown is-right is-boxed",style:{"margin-right":"6px","margin-bottom":"6px","border-radius":"6px"}},vX={class:"navbar-item"},bX={class:"level is-mobile"},wX={class:"level-left fd-expanded"},CX={class:"level-item",style:{"flex-grow":"0"}},zX={class:"icon"},xX={class:"level-item fd-expanded"},kX={class:"fd-expanded"},SX=["textContent"],EX=u("hr",{class:"fd-navbar-divider"},null,-1),$X=u("hr",{class:"fd-navbar-divider"},null,-1),AX={class:"navbar-item"},TX={class:"level is-mobile"},OX={class:"level-left fd-expanded"},PX={class:"level-item",style:{"flex-grow":"0"}},DX={class:"level-item fd-expanded"},FX={class:"fd-expanded"},IX=["textContent"],MX={href:"stream.mp3",style:{"margin-left":"5px"},target:"_blank"},LX={class:"icon"},RX=u("hr",{class:"fd-navbar-divider"},null,-1),NX={class:"navbar-item"},jX={class:"level is-mobile fd-expanded"},VX={class:"level-item"},BX={class:"buttons has-addons"},HX=u("div",{class:"navbar-start"},null,-1),UX={class:"navbar-end"},qX={class:"navbar-item"},WX={class:"buttons is-centered"},GX=u("hr",{class:"fd-navbar-divider"},null,-1),KX={class:"navbar-item"},ZX={class:"level is-mobile"},YX={class:"level-left fd-expanded"},JX={class:"level-item",style:{"flex-grow":"0"}},XX={class:"icon"},QX={class:"level-item fd-expanded"},eQ={class:"fd-expanded"},tQ=["textContent"],nQ=u("hr",{class:"fd-navbar-divider"},null,-1),rQ={class:"navbar-item fd-has-margin-bottom"},sQ={class:"level is-mobile"},oQ={class:"level-left fd-expanded"},iQ={class:"level-item",style:{"flex-grow":"0"}},aQ={class:"level-item fd-expanded"},lQ={class:"fd-expanded"},uQ=["textContent"],cQ={href:"stream.mp3",style:{"margin-left":"5px"},target:"_blank"},dQ={class:"icon"};function mQ(e,t,n,r,s,o){const i=P("mdicon"),a=P("navbar-item-link"),l=P("router-link"),c=P("player-button-previous"),d=P("player-button-seek-back"),f=P("player-button-play-pause"),m=P("player-button-seek-forward"),p=P("player-button-next"),h=P("Slider"),_=P("navbar-item-output"),g=P("player-button-repeat"),b=P("player-button-shuffle"),w=P("player-button-consume");return S(),D("nav",{class:Ze(["fd-bottom-navbar navbar is-white is-fixed-bottom",{"is-transparent":o.is_now_playing_page,"is-dark":!o.is_now_playing_page}]),style:as(o.zindex),role:"navigation","aria-label":"player controls"},[u("div",lX,[C(a,{to:"/",exact:""},{default:O(()=>[u("span",uX,[C(i,{name:"playlist-play",size:"24"})])]),_:1}),o.is_now_playing_page?Q("",!0):(S(),xe(l,{key:0,to:"/now-playing",class:"navbar-item is-expanded is-clipped","active-class":"is-active",exact:""},{default:O(()=>[u("div",cX,[u("p",dX,[u("strong",{textContent:v(o.now_playing.title)},null,8,mX),fX,u("span",{textContent:v(o.now_playing.artist)},null,8,pX),o.now_playing.data_kind==="url"?(S(),D("span",{key:0,textContent:v(e.$t("navigation.now-playing",{album:o.now_playing.album}))},null,8,hX)):Q("",!0)])])]),_:1})),o.is_now_playing_page?(S(),xe(c,{key:1,class:"navbar-item fd-margin-left-auto",icon_size:24})):Q("",!0),o.is_now_playing_page?(S(),xe(d,{key:2,seek_ms:1e4,class:"navbar-item",icon_size:24})):Q("",!0),C(f,{class:"navbar-item",icon_size:36,show_disabled_message:""}),o.is_now_playing_page?(S(),xe(m,{key:3,seek_ms:3e4,class:"navbar-item",icon_size:24})):Q("",!0),o.is_now_playing_page?(S(),xe(p,{key:4,class:"navbar-item",icon_size:24})):Q("",!0),u("a",{class:"navbar-item fd-margin-left-auto is-hidden-desktop",onClick:t[0]||(t[0]=x=>o.show_player_menu=!o.show_player_menu)},[u("span",_X,[C(i,{name:o.show_player_menu?"chevron-down":"chevron-up",size:"18"},null,8,["name"])])]),u("div",{class:Ze(["navbar-item has-dropdown has-dropdown-up fd-margin-left-auto is-hidden-touch",{"is-active":o.show_player_menu}])},[u("a",{class:"navbar-link is-arrowless",onClick:t[1]||(t[1]=x=>o.show_player_menu=!o.show_player_menu)},[u("span",gX,[C(i,{name:o.show_player_menu?"chevron-down":"chevron-up",size:"18"},null,8,["name"])])]),u("div",yX,[u("div",vX,[u("div",bX,[u("div",wX,[u("div",CX,[u("a",{class:"button is-white is-small",onClick:t[2]||(t[2]=(...x)=>o.toggle_mute_volume&&o.toggle_mute_volume(...x))},[u("span",zX,[C(i,{name:o.player.volume>0?"volume-high":"volume-off",size:"18"},null,8,["name"])])])]),u("div",xX,[u("div",kX,[u("p",{class:"heading",textContent:v(e.$t("navigation.volume"))},null,8,SX),C(h,{modelValue:o.player.volume,"onUpdate:modelValue":t[3]||(t[3]=x=>o.player.volume=x),min:0,max:100,step:1,tooltips:!1,classes:{target:"slider"},onChange:o.set_volume},null,8,["modelValue","onChange"])])])])])]),EX,(S(!0),D(We,null,Ct(o.outputs,x=>(S(),xe(_,{key:x.id,output:x},null,8,["output"]))),128)),$X,u("div",AX,[u("div",TX,[u("div",OX,[u("div",PX,[u("a",{class:Ze(["button is-white is-small",{"is-loading":s.loading}])},[u("span",{class:Ze(["icon fd-has-action",{"has-text-grey-light":!s.playing&&!s.loading,"is-loading":s.loading}]),onClick:t[4]||(t[4]=(...x)=>o.togglePlay&&o.togglePlay(...x))},[C(i,{name:"broadcast",size:"18"})],2)],2)]),u("div",DX,[u("div",FX,[u("p",{class:Ze(["heading",{"has-text-grey-light":!s.playing}])},[u("span",{textContent:v(e.$t("navigation.stream"))},null,8,IX),u("a",MX,[u("span",LX,[C(i,{name:"open-in-new",size:"16",style:{"vertical-align":"middle"}})])])],2),C(h,{modelValue:s.stream_volume,"onUpdate:modelValue":t[5]||(t[5]=x=>s.stream_volume=x),min:0,max:100,step:1,tooltips:!1,disabled:!s.playing,classes:{target:"slider"},onChange:o.set_stream_volume},null,8,["modelValue","disabled","onChange"])])])])])]),RX,u("div",NX,[u("div",jX,[u("div",VX,[u("div",BX,[C(g,{class:"button"}),C(b,{class:"button"}),C(w,{class:"button"})])])])])])],2)]),u("div",{class:Ze(["navbar-menu is-hidden-desktop",{"is-active":o.show_player_menu}])},[HX,u("div",UX,[u("div",qX,[u("div",WX,[C(g,{class:"button",icon_size:18}),C(b,{class:"button",icon_size:18}),C(w,{class:"button",icon_size:18})])]),GX,u("div",KX,[u("div",ZX,[u("div",YX,[u("div",JX,[u("a",{class:"button is-white is-small",onClick:t[6]||(t[6]=(...x)=>o.toggle_mute_volume&&o.toggle_mute_volume(...x))},[u("span",XX,[C(i,{name:o.player.volume>0?"volume-high":"volume-off",size:"18"},null,8,["name"])])])]),u("div",QX,[u("div",eQ,[u("p",{class:"heading",textContent:v(e.$t("navigation.volume"))},null,8,tQ),C(h,{modelValue:o.player.volume,"onUpdate:modelValue":t[7]||(t[7]=x=>o.player.volume=x),min:0,max:100,step:1,tooltips:!1,classes:{target:"slider"},onChange:o.set_volume},null,8,["modelValue","onChange"])])])])])]),(S(!0),D(We,null,Ct(o.outputs,x=>(S(),xe(_,{key:x.id,output:x},null,8,["output"]))),128)),nQ,u("div",rQ,[u("div",sQ,[u("div",oQ,[u("div",iQ,[u("a",{class:Ze(["button is-white is-small",{"is-loading":s.loading}])},[u("span",{class:Ze(["icon fd-has-action",{"has-text-grey-light":!s.playing&&!s.loading,"is-loading":s.loading}]),onClick:t[8]||(t[8]=(...x)=>o.togglePlay&&o.togglePlay(...x))},[C(i,{name:"radio-tower",size:"16"})],2)],2)]),u("div",aQ,[u("div",lQ,[u("p",{class:Ze(["heading",{"has-text-grey-light":!s.playing}])},[u("span",{textContent:v(e.$t("navigation.stream"))},null,8,uQ),u("a",cQ,[u("span",dQ,[C(i,{name:"open-in-new",size:"16",style:{"vertical-align":"middle"}})])])],2),C(h,{modelValue:s.stream_volume,"onUpdate:modelValue":t[9]||(t[9]=x=>s.stream_volume=x),min:0,max:100,step:1,tooltips:!1,disabled:!s.playing,classes:{target:"slider"},onChange:o.set_stream_volume},null,8,["modelValue","disabled","onChange"])])])])])])])],2)],6)}var fQ=ve(aX,[["render",mQ]]);const pQ={name:"NotificationList",components:{},data(){return{showNav:!1}},computed:{notifications(){return this.$store.state.notifications.list}},methods:{remove:function(e){this.$store.commit(nd,e)}}},hQ={key:0,class:"fd-notifications"},_Q={class:"columns is-centered"},gQ={class:"column is-half"},yQ=["onClick"],vQ=["textContent"];function bQ(e,t,n,r,s,o){return o.notifications.length>0?(S(),D("section",hQ,[u("div",_Q,[u("div",gQ,[(S(!0),D(We,null,Ct(o.notifications,i=>(S(),D("div",{key:i.id,class:Ze(["notification has-shadow",["notification",i.type?`is-${i.type}`:""]])},[u("button",{class:"delete",onClick:a=>o.remove(i)},null,8,yQ),u("span",{textContent:v(i.text)},null,8,vQ)],2))),128))])])])):Q("",!0)}var wQ=ve(pQ,[["render",bQ]]);const CQ={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=""})}}},zQ={key:0,class:"modal is-active"},xQ={class:"modal-content fd-modal-card"},kQ={class:"card"},SQ={class:"card-content"},EQ=["textContent"],$Q=["textContent"],AQ={class:"field"},TQ={class:"control"},OQ={class:"card-footer"},PQ={class:"icon"},DQ=["textContent"],FQ={class:"icon"},IQ=["textContent"];function MQ(e,t,n,r,s,o){const i=P("mdicon");return S(),D("div",null,[C(Wt,{name:"fade"},{default:O(()=>[n.show?(S(),D("div",zQ,[u("div",{class:"modal-background",onClick:t[0]||(t[0]=a=>e.$emit("close"))}),u("div",xQ,[u("div",kQ,[u("div",SQ,[u("p",{class:"title is-4",textContent:v(e.$t("dialog.remote-pairing.title"))},null,8,EQ),u("form",{onSubmit:t[2]||(t[2]=_t((...a)=>o.kickoff_pairing&&o.kickoff_pairing(...a),["prevent"]))},[u("label",{class:"label",textContent:v(o.pairing.remote)},null,8,$Q),u("div",AQ,[u("div",TQ,[kt(u("input",{ref:"pin_field","onUpdate:modelValue":t[1]||(t[1]=a=>s.pairing_req.pin=a),class:"input",type:"text",placeholder:"Enter pairing code"},null,512),[[kn,s.pairing_req.pin]])])])],32)]),u("footer",OQ,[u("a",{class:"card-footer-item has-text-danger",onClick:t[3]||(t[3]=a=>e.$emit("close"))},[u("span",PQ,[C(i,{name:"cancel",size:"16"})]),u("span",{class:"is-size-7",textContent:v(e.$t("dialog.remote-pairing.cancel"))},null,8,DQ)]),u("a",{class:"card-footer-item has-background-info has-text-white has-text-weight-bold",onClick:t[4]||(t[4]=(...a)=>o.kickoff_pairing&&o.kickoff_pairing(...a))},[u("span",FQ,[C(i,{name:"cellphone",size:"16"})]),u("span",{class:"is-size-7",textContent:v(e.$t("dialog.remote-pairing.pair"))},null,8,IQ)])])])]),u("button",{class:"modal-close is-large","aria-label":"close",onClick:t[5]||(t[5]=a=>e.$emit("close"))})])):Q("",!0)]),_:1})])}var LQ=ve(CQ,[["render",MQ]]);const RQ={name:"ModalDialogUpdate",components:{ModalDialog:Mm},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(gm,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")}}},NQ={key:0},jQ=["textContent"],VQ={key:0,class:"field"},BQ={class:"control"},HQ={class:"select is-small"},UQ=["textContent"],qQ=["textContent"],WQ=["textContent"],GQ=["textContent"],KQ={class:"field"},ZQ={class:"checkbox is-size-7 is-small"},YQ=["textContent"],JQ={key:1},XQ=["textContent"];function QQ(e,t,n,r,s,o){const i=P("modal-dialog");return S(),xe(i,{show:n.show,title:e.$t("dialog.update.title"),ok_action:o.library.updating?"":e.$t("dialog.update.rescan"),close_action:e.$t("dialog.update.cancel"),onOk:o.update_library,onClose:t[2]||(t[2]=a=>o.close())},{"modal-content":O(()=>[o.library.updating?(S(),D("div",JQ,[u("p",{class:"mb-3",textContent:v(e.$t("dialog.update.progress"))},null,8,XQ)])):(S(),D("div",NQ,[u("p",{class:"mb-3",textContent:v(e.$t("dialog.update.info"))},null,8,jQ),o.spotify_enabled||o.rss.tracks>0?(S(),D("div",VQ,[u("div",BQ,[u("div",HQ,[kt(u("select",{"onUpdate:modelValue":t[0]||(t[0]=a=>o.update_dialog_scan_kind=a)},[u("option",{value:"",textContent:v(e.$t("dialog.update.all"))},null,8,UQ),u("option",{value:"files",textContent:v(e.$t("dialog.update.local"))},null,8,qQ),o.spotify_enabled?(S(),D("option",{key:0,value:"spotify",textContent:v(e.$t("dialog.update.spotify"))},null,8,WQ)):Q("",!0),o.rss.tracks>0?(S(),D("option",{key:1,value:"rss",textContent:v(e.$t("dialog.update.feeds"))},null,8,GQ)):Q("",!0)],512),[[rm,o.update_dialog_scan_kind]])])])])):Q("",!0),u("div",KQ,[u("label",ZQ,[kt(u("input",{"onUpdate:modelValue":t[1]||(t[1]=a=>s.rescan_metadata=a),type:"checkbox",style:{"margin-right":"5px"}},null,512),[[Ar,s.rescan_metadata]]),u("span",{textContent:v(e.$t("dialog.update.rescan-metadata"))},null,8,YQ)])])]))]),_:1},8,["show","title","ok_action","close_action","onOk"])}var eee=ve(RQ,[["render",QQ]]),db={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,s){var o={debug:!1,automaticOpen:!0,reconnectInterval:1e3,maxReconnectInterval:3e4,reconnectDecay:1.5,timeoutInterval:2e3,maxReconnectAttempts:null};s||(s={});for(var i in o)typeof s[i]!="undefined"?this[i]=s[i]:this[i]=o[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})})(db);var tee=db.exports;const nee={name:"App",components:{NavbarTop:mJ,NavbarBottom:fQ,NotificationList:wQ,ModalDialogRemotePairing:LQ,ModalDialogUpdate:eee},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(vo,e)}},show_player_menu:{get(){return this.$store.state.show_player_menu},set(e){this.$store.commit(bo,e)}},show_update_dialog:{get(){return this.$store.state.show_update_dialog},set(e){this.$store.commit(Gi,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(sy,e),this.$store.commit(fu,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 tee(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 s=!1;function o(){s||(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(),s=!0,setTimeout(function(){s=!1},500))}window.addEventListener("focus",o),document.addEventListener("visibilitychange",function(){document.visibilityState==="visible"&&o()}),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(iy,e)}),Z.library_count("media_kind is audiobook").then(({data:e})=>{this.$store.commit(ay,e)}),Z.library_count("media_kind is podcast").then(({data:e})=>{this.$store.commit(ly,e)}),Z.library_count("scan_kind is rss").then(({data:e})=>{this.$store.commit(uy,e)})},update_outputs:function(){Z.outputs().then(({data:e})=>{this.$store.commit(cy,e.outputs)})},update_player_status:function(){Z.player_status().then(({data:e})=>{this.$store.commit(mm,e)})},update_queue:function(){Z.queue().then(({data:e})=>{this.$store.commit(dy,e)})},update_settings:function(){Z.settings().then(({data:e})=>{this.$store.commit(oy,e)})},update_lastfm:function(){Z.lastfm().then(({data:e})=>{this.$store.commit(my,e)})},update_spotify:function(){Z.spotify().then(({data:e})=>{this.$store.commit(fy,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(py,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/>"},ree={id:"app"};function see(e,t,n,r,s,o){const i=P("navbar-top"),a=P("vue-progress-bar"),l=P("router-view"),c=P("modal-dialog-remote-pairing"),d=P("modal-dialog-update"),f=P("notification-list"),m=P("navbar-bottom");return S(),D("div",ree,[C(i),C(a,{class:"fd-progress-bar"}),C(l,null,{default:O(({Component:p})=>[(S(),xe(K_(p),{class:"fd-page"}))]),_:1}),C(c,{show:s.pairing_active,onClose:t[0]||(t[0]=p=>s.pairing_active=!1)},null,8,["show"]),C(d,{show:o.show_update_dialog,onClose:t[1]||(t[1]=p=>o.show_update_dialog=!1)},null,8,["show"]),kt(C(f,null,null,512),[[yo,!o.show_burger_menu]]),C(m),kt(u("div",{class:"fd-overlay-fullscreen",onClick:t[2]||(t[2]=p=>o.show_burger_menu=o.show_player_menu=!1)},null,512),[[yo,o.show_burger_menu||o.show_player_menu]])])}var oee=ve(nee,[["render",see]]);const mb=Mg(oee).use(at).use(i1).use(WW,{color:"hsl(204, 86%, 53%)",failedColor:"red",height:"1px"}).use(KW).use(iG,{log:!1}).use(aG).use(bK,{icons:wY}).use(Wi);mb.config.globalProperties.$filters=bY;mb.mount("#app");
|