owntone-server/htdocs/assets/index.js
Alain Nussbaumer 5c573f7138 [web] Fix display of artists having a very long name
Artists with very long names do not overlap the rest of the UI.
2023-07-09 00:25:06 +02:00

49 lines
817 KiB
JavaScript
Raw Blame History

This file contains invisible Unicode characters

This file contains invisible Unicode characters that are indistinguishable to humans but may be processed differently by a computer. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

(function(){const t=document.createElement("link").relList;if(t&&t.supports&&t.supports("modulepreload"))return;for(const o of document.querySelectorAll('link[rel="modulepreload"]'))r(o);new MutationObserver(o=>{for(const s of o)if(s.type==="childList")for(const a of s.addedNodes)a.tagName==="LINK"&&a.rel==="modulepreload"&&r(a)}).observe(document,{childList:!0,subtree:!0});function n(o){const s={};return o.integrity&&(s.integrity=o.integrity),o.referrerPolicy&&(s.referrerPolicy=o.referrerPolicy),o.crossOrigin==="use-credentials"?s.credentials="include":o.crossOrigin==="anonymous"?s.credentials="omit":s.credentials="same-origin",s}function r(o){if(o.ep)return;o.ep=!0;const s=n(o);fetch(o.href,s)}})();function wl(e,t){const n=Object.create(null),r=e.split(",");for(let o=0;o<r.length;o++)n[r[o]]=!0;return t?o=>!!n[o.toLowerCase()]:o=>!!n[o]}const dt={},Ho=[],Nn=()=>{},Bb=()=>!1,Vb=/^on[^a-z]/,za=e=>Vb.test(e),Qc=e=>e.startsWith("onUpdate:"),ht=Object.assign,ed=(e,t)=>{const n=e.indexOf(t);n>-1&&e.splice(n,1)},Hb=Object.prototype.hasOwnProperty,rt=(e,t)=>Hb.call(e,t),ke=Array.isArray,jo=e=>ss(e)==="[object Map]",vo=e=>ss(e)==="[object Set]",Em=e=>ss(e)==="[object Date]",jb=e=>ss(e)==="[object RegExp]",Me=e=>typeof e=="function",zt=e=>typeof e=="string",aa=e=>typeof e=="symbol",mt=e=>e!==null&&typeof e=="object",td=e=>mt(e)&&Me(e.then)&&Me(e.catch),_h=Object.prototype.toString,ss=e=>_h.call(e),Ub=e=>ss(e).slice(8,-1),gh=e=>ss(e)==="[object Object]",nd=e=>zt(e)&&e!=="NaN"&&e[0]!=="-"&&""+parseInt(e,10)===e,Hs=wl(",key,ref,ref_for,ref_key,onVnodeBeforeMount,onVnodeMounted,onVnodeBeforeUpdate,onVnodeUpdated,onVnodeBeforeUnmount,onVnodeUnmounted"),kl=e=>{const t=Object.create(null);return n=>t[n]||(t[n]=e(n))},qb=/-(\w)/g,rn=kl(e=>e.replace(qb,(t,n)=>n?n.toUpperCase():"")),Wb=/\B([A-Z])/g,xn=kl(e=>e.replace(Wb,"-$1").toLowerCase()),Ca=kl(e=>e.charAt(0).toUpperCase()+e.slice(1)),js=kl(e=>e?`on${Ca(e)}`:""),Ko=(e,t)=>!Object.is(e,t),Uo=(e,t)=>{for(let n=0;n<e.length;n++)e[n](t)},tl=(e,t,n)=>{Object.defineProperty(e,t,{configurable:!0,enumerable:!1,value:n})},nl=e=>{const t=parseFloat(e);return isNaN(t)?e:t},rl=e=>{const t=zt(e)?Number(e):NaN;return isNaN(t)?e:t};let Sm;const Yu=()=>Sm||(Sm=typeof globalThis<"u"?globalThis:typeof self<"u"?self:typeof window<"u"?window:typeof global<"u"?global:{}),Gb="Infinity,undefined,NaN,isFinite,isNaN,parseFloat,parseInt,decodeURI,decodeURIComponent,encodeURI,encodeURIComponent,Math,Number,Date,Array,Object,Boolean,String,RegExp,Map,Set,JSON,Intl,BigInt,console",Kb=wl(Gb);function Cr(e){if(ke(e)){const t={};for(let n=0;n<e.length;n++){const r=e[n],o=zt(r)?Xb(r):Cr(r);if(o)for(const s in o)t[s]=o[s]}return t}else{if(zt(e))return e;if(mt(e))return e}}const Zb=/;(?![^(]*\))/g,Yb=/:([^]+)/,Jb=/\/\*[^]*?\*\//g;function Xb(e){const t={};return e.replace(Jb,"").split(Zb).forEach(n=>{if(n){const r=n.split(Yb);r.length>1&&(t[r[0].trim()]=r[1].trim())}}),t}function De(e){let t="";if(zt(e))t=e;else if(ke(e))for(let n=0;n<e.length;n++){const r=De(e[n]);r&&(t+=r+" ")}else if(mt(e))for(const n in e)e[n]&&(t+=n+" ");return t.trim()}function Ds(e){if(!e)return null;let{class:t,style:n}=e;return t&&!zt(t)&&(e.class=De(t)),n&&(e.style=Cr(n)),e}const Qb="itemscope,allowfullscreen,formnovalidate,ismap,nomodule,novalidate,readonly",e1=wl(Qb);function yh(e){return!!e||e===""}function t1(e,t){if(e.length!==t.length)return!1;let n=!0;for(let r=0;n&&r<e.length;r++)n=Ur(e[r],t[r]);return n}function Ur(e,t){if(e===t)return!0;let n=Em(e),r=Em(t);if(n||r)return n&&r?e.getTime()===t.getTime():!1;if(n=aa(e),r=aa(t),n||r)return e===t;if(n=ke(e),r=ke(t),n||r)return n&&r?t1(e,t):!1;if(n=mt(e),r=mt(t),n||r){if(!n||!r)return!1;const o=Object.keys(e).length,s=Object.keys(t).length;if(o!==s)return!1;for(const a in e){const i=e.hasOwnProperty(a),l=t.hasOwnProperty(a);if(i&&!l||!i&&l||!Ur(e[a],t[a]))return!1}}return String(e)===String(t)}function xl(e,t){return e.findIndex(n=>Ur(n,t))}const g=e=>zt(e)?e:e==null?"":ke(e)||mt(e)&&(e.toString===_h||!Me(e.toString))?JSON.stringify(e,vh,2):String(e),vh=(e,t)=>t&&t.__v_isRef?vh(e,t.value):jo(t)?{[`Map(${t.size})`]:[...t.entries()].reduce((n,[r,o])=>(n[`${r} =>`]=o,n),{})}:vo(t)?{[`Set(${t.size})`]:[...t.values()]}:mt(t)&&!ke(t)&&!gh(t)?String(t):t;let cn;class rd{constructor(t=!1){this.detached=t,this._active=!0,this.effects=[],this.cleanups=[],this.parent=cn,!t&&cn&&(this.index=(cn.scopes||(cn.scopes=[])).push(this)-1)}get active(){return this._active}run(t){if(this._active){const n=cn;try{return cn=this,t()}finally{cn=n}}}on(){cn=this}off(){cn=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.detached&&this.parent&&!t){const o=this.parent.scopes.pop();o&&o!==this&&(this.parent.scopes[this.index]=o,o.index=this.index)}this.parent=void 0,this._active=!1}}}function od(e){return new rd(e)}function bh(e,t=cn){t&&t.active&&t.effects.push(e)}function zh(){return cn}function n1(e){cn&&cn.cleanups.push(e)}const sd=e=>{const t=new Set(e);return t.w=0,t.n=0,t},Ch=e=>(e.w&qr)>0,wh=e=>(e.n&qr)>0,r1=({deps:e})=>{if(e.length)for(let t=0;t<e.length;t++)e[t].w|=qr},o1=e=>{const{deps:t}=e;if(t.length){let n=0;for(let r=0;r<t.length;r++){const o=t[r];Ch(o)&&!wh(o)?o.delete(e):t[n++]=o,o.w&=~qr,o.n&=~qr}t.length=n}},ol=new WeakMap;let Ps=0,qr=1;const Ju=30;let Rn;const uo=Symbol(""),Xu=Symbol("");class wa{constructor(t,n=null,r){this.fn=t,this.scheduler=n,this.active=!0,this.deps=[],this.parent=void 0,bh(this,r)}run(){if(!this.active)return this.fn();let t=Rn,n=Hr;for(;t;){if(t===this)return;t=t.parent}try{return this.parent=Rn,Rn=this,Hr=!0,qr=1<<++Ps,Ps<=Ju?r1(this):$m(this),this.fn()}finally{Ps<=Ju&&o1(this),qr=1<<--Ps,Rn=this.parent,Hr=n,this.parent=void 0,this.deferStop&&this.stop()}}stop(){Rn===this?this.deferStop=!0:this.active&&($m(this),this.onStop&&this.onStop(),this.active=!1)}}function $m(e){const{deps:t}=e;if(t.length){for(let n=0;n<t.length;n++)t[n].delete(e);t.length=0}}function s1(e,t){e.effect&&(e=e.effect.fn);const n=new wa(e);t&&(ht(n,t),t.scope&&bh(n,t.scope)),(!t||!t.lazy)&&n.run();const r=n.run.bind(n);return r.effect=n,r}function a1(e){e.effect.stop()}let Hr=!0;const kh=[];function as(){kh.push(Hr),Hr=!1}function is(){const e=kh.pop();Hr=e===void 0?!0:e}function on(e,t,n){if(Hr&&Rn){let r=ol.get(e);r||ol.set(e,r=new Map);let o=r.get(n);o||r.set(n,o=sd()),xh(o)}}function xh(e,t){let n=!1;Ps<=Ju?wh(e)||(e.n|=qr,n=!Ch(e)):n=!e.has(Rn),n&&(e.add(Rn),Rn.deps.push(e))}function br(e,t,n,r,o,s){const a=ol.get(e);if(!a)return;let i=[];if(t==="clear")i=[...a.values()];else if(n==="length"&&ke(e)){const l=Number(r);a.forEach((c,d)=>{(d==="length"||d>=l)&&i.push(c)})}else switch(n!==void 0&&i.push(a.get(n)),t){case"add":ke(e)?nd(n)&&i.push(a.get("length")):(i.push(a.get(uo)),jo(e)&&i.push(a.get(Xu)));break;case"delete":ke(e)||(i.push(a.get(uo)),jo(e)&&i.push(a.get(Xu)));break;case"set":jo(e)&&i.push(a.get(uo));break}if(i.length===1)i[0]&&Qu(i[0]);else{const l=[];for(const c of i)c&&l.push(...c);Qu(sd(l))}}function Qu(e,t){const n=ke(e)?e:[...e];for(const r of n)r.computed&&Am(r);for(const r of n)r.computed||Am(r)}function Am(e,t){(e!==Rn||e.allowRecurse)&&(e.scheduler?e.scheduler():e.run())}function i1(e,t){var n;return(n=ol.get(e))==null?void 0:n.get(t)}const l1=wl("__proto__,__v_isRef,__isVue"),Eh=new Set(Object.getOwnPropertyNames(Symbol).filter(e=>e!=="arguments"&&e!=="caller").map(e=>Symbol[e]).filter(aa)),u1=El(),c1=El(!1,!0),d1=El(!0),m1=El(!0,!0),Tm=f1();function f1(){const e={};return["includes","indexOf","lastIndexOf"].forEach(t=>{e[t]=function(...n){const r=et(this);for(let s=0,a=this.length;s<a;s++)on(r,"get",s+"");const o=r[t](...n);return o===-1||o===!1?r[t](...n.map(et)):o}}),["push","pop","shift","unshift","splice"].forEach(t=>{e[t]=function(...n){as();const r=et(this)[t].apply(this,n);return is(),r}}),e}function p1(e){const t=et(this);return on(t,"has",e),t.hasOwnProperty(e)}function El(e=!1,t=!1){return function(r,o,s){if(o==="__v_isReactive")return!e;if(o==="__v_isReadonly")return e;if(o==="__v_isShallow")return t;if(o==="__v_raw"&&s===(e?t?Ph:Dh:t?Oh:Th).get(r))return r;const a=ke(r);if(!e){if(a&&rt(Tm,o))return Reflect.get(Tm,o,s);if(o==="hasOwnProperty")return p1}const i=Reflect.get(r,o,s);return(aa(o)?Eh.has(o):l1(o))||(e||on(r,"get",o),t)?i:Ot(i)?a&&nd(o)?i:i.value:mt(i)?e?ld(i):ls(i):i}}const h1=Sh(),_1=Sh(!0);function Sh(e=!1){return function(n,r,o,s){let a=n[r];if(_o(a)&&Ot(a)&&!Ot(o))return!1;if(!e&&(!ia(o)&&!_o(o)&&(a=et(a),o=et(o)),!ke(n)&&Ot(a)&&!Ot(o)))return a.value=o,!0;const i=ke(n)&&nd(r)?Number(r)<n.length:rt(n,r),l=Reflect.set(n,r,o,s);return n===et(s)&&(i?Ko(o,a)&&br(n,"set",r,o):br(n,"add",r,o)),l}}function g1(e,t){const n=rt(e,t);e[t];const r=Reflect.deleteProperty(e,t);return r&&n&&br(e,"delete",t,void 0),r}function y1(e,t){const n=Reflect.has(e,t);return(!aa(t)||!Eh.has(t))&&on(e,"has",t),n}function v1(e){return on(e,"iterate",ke(e)?"length":uo),Reflect.ownKeys(e)}const $h={get:u1,set:h1,deleteProperty:g1,has:y1,ownKeys:v1},Ah={get:d1,set(e,t){return!0},deleteProperty(e,t){return!0}},b1=ht({},$h,{get:c1,set:_1}),z1=ht({},Ah,{get:m1}),ad=e=>e,Sl=e=>Reflect.getPrototypeOf(e);function Va(e,t,n=!1,r=!1){e=e.__v_raw;const o=et(e),s=et(t);n||(t!==s&&on(o,"get",t),on(o,"get",s));const{has:a}=Sl(o),i=r?ad:n?dd:la;if(a.call(o,t))return i(e.get(t));if(a.call(o,s))return i(e.get(s));e!==o&&e.get(t)}function Ha(e,t=!1){const n=this.__v_raw,r=et(n),o=et(e);return t||(e!==o&&on(r,"has",e),on(r,"has",o)),e===o?n.has(e):n.has(e)||n.has(o)}function ja(e,t=!1){return e=e.__v_raw,!t&&on(et(e),"iterate",uo),Reflect.get(e,"size",e)}function Om(e){e=et(e);const t=et(this);return Sl(t).has.call(t,e)||(t.add(e),br(t,"add",e,e)),this}function Dm(e,t){t=et(t);const n=et(this),{has:r,get:o}=Sl(n);let s=r.call(n,e);s||(e=et(e),s=r.call(n,e));const a=o.call(n,e);return n.set(e,t),s?Ko(t,a)&&br(n,"set",e,t):br(n,"add",e,t),this}function Pm(e){const t=et(this),{has:n,get:r}=Sl(t);let o=n.call(t,e);o||(e=et(e),o=n.call(t,e)),r&&r.call(t,e);const s=t.delete(e);return o&&br(t,"delete",e,void 0),s}function Im(){const e=et(this),t=e.size!==0,n=e.clear();return t&&br(e,"clear",void 0,void 0),n}function Ua(e,t){return function(r,o){const s=this,a=s.__v_raw,i=et(a),l=t?ad:e?dd:la;return!e&&on(i,"iterate",uo),a.forEach((c,d)=>r.call(o,l(c),l(d),s))}}function qa(e,t,n){return function(...r){const o=this.__v_raw,s=et(o),a=jo(s),i=e==="entries"||e===Symbol.iterator&&a,l=e==="keys"&&a,c=o[e](...r),d=n?ad:t?dd:la;return!t&&on(s,"iterate",l?Xu:uo),{next(){const{value:f,done:m}=c.next();return m?{value:f,done:m}:{value:i?[d(f[0]),d(f[1])]:d(f),done:m}},[Symbol.iterator](){return this}}}}function xr(e){return function(...t){return e==="delete"?!1:this}}function C1(){const e={get(s){return Va(this,s)},get size(){return ja(this)},has:Ha,add:Om,set:Dm,delete:Pm,clear:Im,forEach:Ua(!1,!1)},t={get(s){return Va(this,s,!1,!0)},get size(){return ja(this)},has:Ha,add:Om,set:Dm,delete:Pm,clear:Im,forEach:Ua(!1,!0)},n={get(s){return Va(this,s,!0)},get size(){return ja(this,!0)},has(s){return Ha.call(this,s,!0)},add:xr("add"),set:xr("set"),delete:xr("delete"),clear:xr("clear"),forEach:Ua(!0,!1)},r={get(s){return Va(this,s,!0,!0)},get size(){return ja(this,!0)},has(s){return Ha.call(this,s,!0)},add:xr("add"),set:xr("set"),delete:xr("delete"),clear:xr("clear"),forEach:Ua(!0,!0)};return["keys","values","entries",Symbol.iterator].forEach(s=>{e[s]=qa(s,!1,!1),n[s]=qa(s,!0,!1),t[s]=qa(s,!1,!0),r[s]=qa(s,!0,!0)}),[e,n,t,r]}const[w1,k1,x1,E1]=C1();function $l(e,t){const n=t?e?E1:x1:e?k1:w1;return(r,o,s)=>o==="__v_isReactive"?!e:o==="__v_isReadonly"?e:o==="__v_raw"?r:Reflect.get(rt(n,o)&&o in r?n:r,o,s)}const S1={get:$l(!1,!1)},$1={get:$l(!1,!0)},A1={get:$l(!0,!1)},T1={get:$l(!0,!0)},Th=new WeakMap,Oh=new WeakMap,Dh=new WeakMap,Ph=new WeakMap;function O1(e){switch(e){case"Object":case"Array":return 1;case"Map":case"Set":case"WeakMap":case"WeakSet":return 2;default:return 0}}function D1(e){return e.__v_skip||!Object.isExtensible(e)?0:O1(Ub(e))}function ls(e){return _o(e)?e:Al(e,!1,$h,S1,Th)}function id(e){return Al(e,!1,b1,$1,Oh)}function ld(e){return Al(e,!0,Ah,A1,Dh)}function P1(e){return Al(e,!0,z1,T1,Ph)}function Al(e,t,n,r,o){if(!mt(e)||e.__v_raw&&!(t&&e.__v_isReactive))return e;const s=o.get(e);if(s)return s;const a=D1(e);if(a===0)return e;const i=new Proxy(e,a===2?r:n);return o.set(e,i),i}function co(e){return _o(e)?co(e.__v_raw):!!(e&&e.__v_isReactive)}function _o(e){return!!(e&&e.__v_isReadonly)}function ia(e){return!!(e&&e.__v_isShallow)}function ud(e){return co(e)||_o(e)}function et(e){const t=e&&e.__v_raw;return t?et(t):e}function cd(e){return tl(e,"__v_skip",!0),e}const la=e=>mt(e)?ls(e):e,dd=e=>mt(e)?ld(e):e;function md(e){Hr&&Rn&&(e=et(e),xh(e.dep||(e.dep=sd())))}function Tl(e,t){e=et(e);const n=e.dep;n&&Qu(n)}function Ot(e){return!!(e&&e.__v_isRef===!0)}function Gt(e){return Fh(e,!1)}function Ih(e){return Fh(e,!0)}function Fh(e,t){return Ot(e)?e:new I1(e,t)}class I1{constructor(t,n){this.__v_isShallow=n,this.dep=void 0,this.__v_isRef=!0,this._rawValue=n?t:et(t),this._value=n?t:la(t)}get value(){return md(this),this._value}set value(t){const n=this.__v_isShallow||ia(t)||_o(t);t=n?t:et(t),Ko(t,this._rawValue)&&(this._rawValue=t,this._value=n?t:la(t),Tl(this))}}function F1(e){Tl(e)}function pn(e){return Ot(e)?e.value:e}function R1(e){return Me(e)?e():pn(e)}const L1={get:(e,t,n)=>pn(Reflect.get(e,t,n)),set:(e,t,n,r)=>{const o=e[t];return Ot(o)&&!Ot(n)?(o.value=n,!0):Reflect.set(e,t,n,r)}};function fd(e){return co(e)?e:new Proxy(e,L1)}class M1{constructor(t){this.dep=void 0,this.__v_isRef=!0;const{get:n,set:r}=t(()=>md(this),()=>Tl(this));this._get=n,this._set=r}get value(){return this._get()}set value(t){this._set(t)}}function N1(e){return new M1(e)}function B1(e){const t=ke(e)?new Array(e.length):{};for(const n in e)t[n]=Rh(e,n);return t}class V1{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}get dep(){return i1(et(this._object),this._key)}}class H1{constructor(t){this._getter=t,this.__v_isRef=!0,this.__v_isReadonly=!0}get value(){return this._getter()}}function j1(e,t,n){return Ot(e)?e:Me(e)?new H1(e):mt(e)&&arguments.length>1?Rh(e,t,n):Gt(e)}function Rh(e,t,n){const r=e[t];return Ot(r)?r:new V1(e,t,n)}class U1{constructor(t,n,r,o){this._setter=n,this.dep=void 0,this.__v_isRef=!0,this.__v_isReadonly=!1,this._dirty=!0,this.effect=new wa(t,()=>{this._dirty||(this._dirty=!0,Tl(this))}),this.effect.computed=this,this.effect.active=this._cacheable=!o,this.__v_isReadonly=r}get value(){const t=et(this);return md(t),(t._dirty||!t._cacheable)&&(t._dirty=!1,t._value=t.effect.run()),t._value}set value(t){this._setter(t)}}function q1(e,t,n=!1){let r,o;const s=Me(e);return s?(r=e,o=Nn):(r=e.get,o=e.set),new U1(r,o,s||!o,n)}function W1(e,...t){}function G1(e,t){}function gr(e,t,n,r){let o;try{o=r?e(...r):e()}catch(s){bo(s,t,n)}return o}function gn(e,t,n,r){if(Me(e)){const s=gr(e,t,n,r);return s&&td(s)&&s.catch(a=>{bo(a,t,n)}),s}const o=[];for(let s=0;s<e.length;s++)o.push(gn(e[s],t,n,r));return o}function bo(e,t,n,r=!0){const o=t?t.vnode:null;if(t){let s=t.parent;const a=t.proxy,i=n;for(;s;){const c=s.ec;if(c){for(let d=0;d<c.length;d++)if(c[d](e,a,i)===!1)return}s=s.parent}const l=t.appContext.config.errorHandler;if(l){gr(l,null,10,[e,a,i]);return}}K1(e,n,o,r)}function K1(e,t,n,r=!0){console.error(e)}let ua=!1,ec=!1;const Vt=[];let Xn=0;const qo=[];let pr=null,ao=0;const Lh=Promise.resolve();let pd=null;function ka(e){const t=pd||Lh;return e?t.then(this?e.bind(this):e):t}function Z1(e){let t=Xn+1,n=Vt.length;for(;t<n;){const r=t+n>>>1;ca(Vt[r])<e?t=r+1:n=r}return t}function Ol(e){(!Vt.length||!Vt.includes(e,ua&&e.allowRecurse?Xn+1:Xn))&&(e.id==null?Vt.push(e):Vt.splice(Z1(e.id),0,e),Mh())}function Mh(){!ua&&!ec&&(ec=!0,pd=Lh.then(Nh))}function Y1(e){const t=Vt.indexOf(e);t>Xn&&Vt.splice(t,1)}function hd(e){ke(e)?qo.push(...e):(!pr||!pr.includes(e,e.allowRecurse?ao+1:ao))&&qo.push(e),Mh()}function Fm(e,t=ua?Xn+1:0){for(;t<Vt.length;t++){const n=Vt[t];n&&n.pre&&(Vt.splice(t,1),t--,n())}}function sl(e){if(qo.length){const t=[...new Set(qo)];if(qo.length=0,pr){pr.push(...t);return}for(pr=t,pr.sort((n,r)=>ca(n)-ca(r)),ao=0;ao<pr.length;ao++)pr[ao]();pr=null,ao=0}}const ca=e=>e.id==null?1/0:e.id,J1=(e,t)=>{const n=ca(e)-ca(t);if(n===0){if(e.pre&&!t.pre)return-1;if(t.pre&&!e.pre)return 1}return n};function Nh(e){ec=!1,ua=!0,Vt.sort(J1);const t=Nn;try{for(Xn=0;Xn<Vt.length;Xn++){const n=Vt[Xn];n&&n.active!==!1&&gr(n,null,14)}}finally{Xn=0,Vt.length=0,sl(),ua=!1,pd=null,(Vt.length||qo.length)&&Nh()}}let Po,Wa=[];function Bh(e,t){var n,r;Po=e,Po?(Po.enabled=!0,Wa.forEach(({event:o,args:s})=>Po.emit(o,...s)),Wa=[]):typeof window<"u"&&window.HTMLElement&&!((r=(n=window.navigator)==null?void 0:n.userAgent)!=null&&r.includes("jsdom"))?((t.__VUE_DEVTOOLS_HOOK_REPLAY__=t.__VUE_DEVTOOLS_HOOK_REPLAY__||[]).push(s=>{Bh(s,t)}),setTimeout(()=>{Po||(t.__VUE_DEVTOOLS_HOOK_REPLAY__=null,Wa=[])},3e3)):Wa=[]}function X1(e,t,...n){if(e.isUnmounted)return;const r=e.vnode.props||dt;let o=n;const s=t.startsWith("update:"),a=s&&t.slice(7);if(a&&a in r){const d=`${a==="modelValue"?"model":a}Modifiers`,{number:f,trim:m}=r[d]||dt;m&&(o=n.map(p=>zt(p)?p.trim():p)),f&&(o=n.map(nl))}let i,l=r[i=js(t)]||r[i=js(rn(t))];!l&&s&&(l=r[i=js(xn(t))]),l&&gn(l,e,6,o);const c=r[i+"Once"];if(c){if(!e.emitted)e.emitted={};else if(e.emitted[i])return;e.emitted[i]=!0,gn(c,e,6,o)}}function Vh(e,t,n=!1){const r=t.emitsCache,o=r.get(e);if(o!==void 0)return o;const s=e.emits;let a={},i=!1;if(!Me(e)){const l=c=>{const d=Vh(c,t,!0);d&&(i=!0,ht(a,d))};!n&&t.mixins.length&&t.mixins.forEach(l),e.extends&&l(e.extends),e.mixins&&e.mixins.forEach(l)}return!s&&!i?(mt(e)&&r.set(e,null),null):(ke(s)?s.forEach(l=>a[l]=null):ht(a,s),mt(e)&&r.set(e,a),a)}function Dl(e,t){return!e||!za(t)?!1:(t=t.slice(2).replace(/Once$/,""),rt(e,t[0].toLowerCase()+t.slice(1))||rt(e,xn(t))||rt(e,t))}let Rt=null,Pl=null;function da(e){const t=Rt;return Rt=e,Pl=e&&e.type.__scopeId||null,t}function Q1(e){Pl=e}function ez(){Pl=null}const tz=e=>E;function E(e,t=Rt,n){if(!t||e._n)return e;const r=(...o)=>{r._d&&ic(-1);const s=da(t);let a;try{a=e(...o)}finally{da(s),r._d&&ic(1)}return a};return r._n=!0,r._c=!0,r._d=!0,r}function Hi(e){const{type:t,vnode:n,proxy:r,withProxy:o,props:s,propsOptions:[a],slots:i,attrs:l,emit:c,render:d,renderCache:f,data:m,setupState:p,ctx:h,inheritAttrs:_}=e;let z,b;const v=da(e);try{if(n.shapeFlag&4){const C=o||r;z=dn(d.call(C,C,f,s,p,m,h)),b=l}else{const C=t;z=dn(C.length>1?C(s,{attrs:l,slots:i,emit:c}):C(s,null)),b=t.props?l:rz(l)}}catch(C){Gs.length=0,bo(C,e,1),z=y(Ut)}let k=z;if(b&&_!==!1){const C=Object.keys(b),{shapeFlag:x}=k;C.length&&x&7&&(a&&C.some(Qc)&&(b=oz(b,a)),k=sr(k,b))}return n.dirs&&(k=sr(k),k.dirs=k.dirs?k.dirs.concat(n.dirs):n.dirs),n.transition&&(k.transition=n.transition),z=k,da(v),z}function nz(e){let t;for(let n=0;n<e.length;n++){const r=e[n];if(Gr(r)){if(r.type!==Ut||r.children==="v-if"){if(t)return;t=r}}else return}return t}const rz=e=>{let t;for(const n in e)(n==="class"||n==="style"||za(n))&&((t||(t={}))[n]=e[n]);return t},oz=(e,t)=>{const n={};for(const r in e)(!Qc(r)||!(r.slice(9)in t))&&(n[r]=e[r]);return n};function sz(e,t,n){const{props:r,children:o,component:s}=e,{props:a,children:i,patchFlag:l}=t,c=s.emitsOptions;if(t.dirs||t.transition)return!0;if(n&&l>=0){if(l&1024)return!0;if(l&16)return r?Rm(r,a,c):!!a;if(l&8){const d=t.dynamicProps;for(let f=0;f<d.length;f++){const m=d[f];if(a[m]!==r[m]&&!Dl(c,m))return!0}}}else return(o||i)&&(!i||!i.$stable)?!0:r===a?!1:r?a?Rm(r,a,c):!0:!!a;return!1}function Rm(e,t,n){const r=Object.keys(t);if(r.length!==Object.keys(e).length)return!0;for(let o=0;o<r.length;o++){const s=r[o];if(t[s]!==e[s]&&!Dl(n,s))return!0}return!1}function _d({vnode:e,parent:t},n){for(;t&&t.subTree===e;)(e=t.vnode).el=n,t=t.parent}const Hh=e=>e.__isSuspense,az={name:"Suspense",__isSuspense:!0,process(e,t,n,r,o,s,a,i,l,c){e==null?lz(t,n,r,o,s,a,i,l,c):uz(e,t,n,r,o,a,i,l,c)},hydrate:cz,create:gd,normalize:dz},iz=az;function ma(e,t){const n=e.props&&e.props[t];Me(n)&&n()}function lz(e,t,n,r,o,s,a,i,l){const{p:c,o:{createElement:d}}=l,f=d("div"),m=e.suspense=gd(e,o,r,t,f,n,s,a,i,l);c(null,m.pendingBranch=e.ssContent,f,null,r,m,s,a),m.deps>0?(ma(e,"onPending"),ma(e,"onFallback"),c(null,e.ssFallback,t,n,r,null,s,a),Wo(m,e.ssFallback)):m.resolve(!1,!0)}function uz(e,t,n,r,o,s,a,i,{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:z,isHydrating:b}=f;if(_)f.pendingBranch=m,Ln(m,_)?(l(_,m,f.hiddenContainer,null,o,f,s,a,i),f.deps<=0?f.resolve():z&&(l(h,p,n,r,o,null,s,a,i),Wo(f,p))):(f.pendingId++,b?(f.isHydrating=!1,f.activeBranch=_):c(_,o,f),f.deps=0,f.effects.length=0,f.hiddenContainer=d("div"),z?(l(null,m,f.hiddenContainer,null,o,f,s,a,i),f.deps<=0?f.resolve():(l(h,p,n,r,o,null,s,a,i),Wo(f,p))):h&&Ln(m,h)?(l(h,m,n,r,o,f,s,a,i),f.resolve(!0)):(l(null,m,f.hiddenContainer,null,o,f,s,a,i),f.deps<=0&&f.resolve()));else if(h&&Ln(m,h))l(h,m,n,r,o,f,s,a,i),Wo(f,m);else if(ma(t,"onPending"),f.pendingBranch=m,f.pendingId++,l(null,m,f.hiddenContainer,null,o,f,s,a,i),f.deps<=0)f.resolve();else{const{timeout:v,pendingId:k}=f;v>0?setTimeout(()=>{f.pendingId===k&&f.fallback(p)},v):v===0&&f.fallback(p)}}function gd(e,t,n,r,o,s,a,i,l,c,d=!1){const{p:f,m,um:p,n:h,o:{parentNode:_,remove:z}}=c;let b;const v=mz(e);v&&t!=null&&t.pendingBranch&&(b=t.pendingId,t.deps++);const k=e.props?rl(e.props.timeout):void 0,C={vnode:e,parent:t,parentComponent:n,isSVG:a,container:r,hiddenContainer:o,anchor:s,deps:0,pendingId:0,timeout:typeof k=="number"?k:-1,activeBranch:null,pendingBranch:null,isInFallback:!0,isHydrating:d,isUnmounted:!1,effects:[],resolve(x=!1,T=!1){const{vnode:L,activeBranch:I,pendingBranch:D,pendingId:U,effects:Z,parentComponent:X,container:j}=C;if(C.isHydrating)C.isHydrating=!1;else if(!x){const te=I&&D.transition&&D.transition.mode==="out-in";te&&(I.transition.afterLeave=()=>{U===C.pendingId&&m(D,j,ae,0)});let{anchor:ae}=C;I&&(ae=h(I),p(I,X,C,!0)),te||m(D,j,ae,0)}Wo(C,D),C.pendingBranch=null,C.isInFallback=!1;let q=C.parent,ze=!1;for(;q;){if(q.pendingBranch){q.effects.push(...Z),ze=!0;break}q=q.parent}ze||hd(Z),C.effects=[],v&&t&&t.pendingBranch&&b===t.pendingId&&(t.deps--,t.deps===0&&!T&&t.resolve()),ma(L,"onResolve")},fallback(x){if(!C.pendingBranch)return;const{vnode:T,activeBranch:L,parentComponent:I,container:D,isSVG:U}=C;ma(T,"onFallback");const Z=h(L),X=()=>{C.isInFallback&&(f(null,x,D,Z,I,null,U,i,l),Wo(C,x))},j=x.transition&&x.transition.mode==="out-in";j&&(L.transition.afterLeave=X),C.isInFallback=!0,p(L,I,null,!0),j||X()},move(x,T,L){C.activeBranch&&m(C.activeBranch,x,T,L),C.container=x},next(){return C.activeBranch&&h(C.activeBranch)},registerDep(x,T){const L=!!C.pendingBranch;L&&C.deps++;const I=x.vnode.el;x.asyncDep.catch(D=>{bo(D,x,0)}).then(D=>{if(x.isUnmounted||C.isUnmounted||C.pendingId!==x.suspenseId)return;x.asyncResolved=!0;const{vnode:U}=x;lc(x,D,!1),I&&(U.el=I);const Z=!I&&x.subTree.el;T(x,U,_(I||x.subTree.el),I?null:h(x.subTree),C,a,l),Z&&z(Z),_d(x,U.el),L&&--C.deps===0&&C.resolve()})},unmount(x,T){C.isUnmounted=!0,C.activeBranch&&p(C.activeBranch,n,x,T),C.pendingBranch&&p(C.pendingBranch,n,x,T)}};return C}function cz(e,t,n,r,o,s,a,i,l){const c=t.suspense=gd(t,r,n,e.parentNode,document.createElement("div"),null,o,s,a,i,!0),d=l(e,c.pendingBranch=t.ssContent,n,c,s,a);return c.deps===0&&c.resolve(!1,!0),d}function dz(e){const{shapeFlag:t,children:n}=e,r=t&32;e.ssContent=Lm(r?n.default:n),e.ssFallback=r?Lm(n.fallback):y(Ut)}function Lm(e){let t;if(Me(e)){const n=yo&&e._c;n&&(e._d=!1,w()),e=e(),n&&(e._d=!0,t=nn,v_())}return ke(e)&&(e=nz(e)),e=dn(e),t&&!e.dynamicChildren&&(e.dynamicChildren=t.filter(n=>n!==e)),e}function jh(e,t){t&&t.pendingBranch?ke(e)?t.effects.push(...e):t.effects.push(e):hd(e)}function Wo(e,t){e.activeBranch=t;const{vnode:n,parentComponent:r}=e,o=n.el=t.el;r&&r.subTree===n&&(r.vnode.el=o,_d(r,o))}function mz(e){var t;return((t=e.props)==null?void 0:t.suspensible)!=null&&e.props.suspensible!==!1}function Uh(e,t){return xa(e,null,t)}function qh(e,t){return xa(e,null,{flush:"post"})}function fz(e,t){return xa(e,null,{flush:"sync"})}const Ga={};function Jt(e,t,n){return xa(e,t,n)}function xa(e,t,{immediate:n,deep:r,flush:o,onTrack:s,onTrigger:a}=dt){var i;const l=zh()===((i=Tt)==null?void 0:i.scope)?Tt:null;let c,d=!1,f=!1;if(Ot(e)?(c=()=>e.value,d=ia(e)):co(e)?(c=()=>e,r=!0):ke(e)?(f=!0,d=e.some(C=>co(C)||ia(C)),c=()=>e.map(C=>{if(Ot(C))return C.value;if(co(C))return lo(C);if(Me(C))return gr(C,l,2)})):Me(e)?t?c=()=>gr(e,l,2):c=()=>{if(!(l&&l.isUnmounted))return m&&m(),gn(e,l,3,[p])}:c=Nn,t&&r){const C=c;c=()=>lo(C())}let m,p=C=>{m=v.onStop=()=>{gr(C,l,4)}},h;if(Yo)if(p=Nn,t?n&&gn(t,l,3,[c(),f?[]:void 0,p]):c(),o==="sync"){const C=A_();h=C.__watcherHandles||(C.__watcherHandles=[])}else return Nn;let _=f?new Array(e.length).fill(Ga):Ga;const z=()=>{if(v.active)if(t){const C=v.run();(r||d||(f?C.some((x,T)=>Ko(x,_[T])):Ko(C,_)))&&(m&&m(),gn(t,l,3,[C,_===Ga?void 0:f&&_[0]===Ga?[]:_,p]),_=C)}else v.run()};z.allowRecurse=!!t;let b;o==="sync"?b=z:o==="post"?b=()=>Nt(z,l&&l.suspense):(z.pre=!0,l&&(z.id=l.uid),b=()=>Ol(z));const v=new wa(c,b);t?n?z():_=v.run():o==="post"?Nt(v.run.bind(v),l&&l.suspense):v.run();const k=()=>{v.stop(),l&&l.scope&&ed(l.scope.effects,v)};return h&&h.push(k),k}function pz(e,t,n){const r=this.proxy,o=zt(e)?e.includes(".")?Wh(r,e):()=>r[e]:e.bind(r,r);let s;Me(t)?s=t:(s=t.handler,n=t);const a=Tt;Kr(this);const i=xa(o,s.bind(r),n);return a?Kr(a):jr(),i}function Wh(e,t){const n=t.split(".");return()=>{let r=e;for(let o=0;o<n.length&&r;o++)r=r[n[o]];return r}}function lo(e,t){if(!mt(e)||e.__v_skip||(t=t||new Set,t.has(e)))return e;if(t.add(e),Ot(e))lo(e.value,t);else if(ke(e))for(let n=0;n<e.length;n++)lo(e[n],t);else if(vo(e)||jo(e))e.forEach(n=>{lo(n,t)});else if(gh(e))for(const n in e)lo(e[n],t);return e}function bt(e,t){const n=Rt;if(n===null)return e;const r=Nl(n)||n.proxy,o=e.dirs||(e.dirs=[]);for(let s=0;s<t.length;s++){let[a,i,l,c=dt]=t[s];a&&(Me(a)&&(a={mounted:a,updated:a}),a.deep&&lo(i),o.push({dir:a,instance:r,value:i,oldValue:void 0,arg:l,modifiers:c}))}return e}function Zn(e,t,n,r){const o=e.dirs,s=t&&t.dirs;for(let a=0;a<o.length;a++){const i=o[a];s&&(i.oldValue=s[a].value);let l=i.dir[r];l&&(as(),gn(l,n,8,[e.el,i,e,t]),is())}}function yd(){const e={isMounted:!1,isLeaving:!1,isUnmounting:!1,leavingVNodes:new Map};return cs(()=>{e.isMounted=!0}),Ll(()=>{e.isUnmounting=!0}),e}const zn=[Function,Array],vd={mode:String,appear:Boolean,persisted:Boolean,onBeforeEnter:zn,onEnter:zn,onAfterEnter:zn,onEnterCancelled:zn,onBeforeLeave:zn,onLeave:zn,onAfterLeave:zn,onLeaveCancelled:zn,onBeforeAppear:zn,onAppear:zn,onAfterAppear:zn,onAppearCancelled:zn},hz={name:"BaseTransition",props:vd,setup(e,{slots:t}){const n=Tn(),r=yd();let o;return()=>{const s=t.default&&Il(t.default(),!0);if(!s||!s.length)return;let a=s[0];if(s.length>1){for(const _ of s)if(_.type!==Ut){a=_;break}}const i=et(e),{mode:l}=i;if(r.isLeaving)return cu(a);const c=Mm(a);if(!c)return cu(a);const d=Zo(c,i,r,n);go(c,d);const f=n.subTree,m=f&&Mm(f);let p=!1;const{getTransitionKey:h}=c.type;if(h){const _=h();o===void 0?o=_:_!==o&&(o=_,p=!0)}if(m&&m.type!==Ut&&(!Ln(c,m)||p)){const _=Zo(m,i,r,n);if(go(m,_),l==="out-in")return r.isLeaving=!0,_.afterLeave=()=>{r.isLeaving=!1,n.update.active!==!1&&n.update()},cu(a);l==="in-out"&&c.type!==Ut&&(_.delayLeave=(z,b,v)=>{const k=Kh(r,m);k[String(m.key)]=m,z._leaveCb=()=>{b(),z._leaveCb=void 0,delete d.delayedLeave},d.delayedLeave=v})}return a}}},Gh=hz;function Kh(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 Zo(e,t,n,r){const{appear:o,mode:s,persisted:a=!1,onBeforeEnter:i,onEnter:l,onAfterEnter:c,onEnterCancelled:d,onBeforeLeave:f,onLeave:m,onAfterLeave:p,onLeaveCancelled:h,onBeforeAppear:_,onAppear:z,onAfterAppear:b,onAppearCancelled:v}=t,k=String(e.key),C=Kh(n,e),x=(I,D)=>{I&&gn(I,r,9,D)},T=(I,D)=>{const U=D[1];x(I,D),ke(I)?I.every(Z=>Z.length<=1)&&U():I.length<=1&&U()},L={mode:s,persisted:a,beforeEnter(I){let D=i;if(!n.isMounted)if(o)D=_||i;else return;I._leaveCb&&I._leaveCb(!0);const U=C[k];U&&Ln(e,U)&&U.el._leaveCb&&U.el._leaveCb(),x(D,[I])},enter(I){let D=l,U=c,Z=d;if(!n.isMounted)if(o)D=z||l,U=b||c,Z=v||d;else return;let X=!1;const j=I._enterCb=q=>{X||(X=!0,q?x(Z,[I]):x(U,[I]),L.delayedLeave&&L.delayedLeave(),I._enterCb=void 0)};D?T(D,[I,j]):j()},leave(I,D){const U=String(e.key);if(I._enterCb&&I._enterCb(!0),n.isUnmounting)return D();x(f,[I]);let Z=!1;const X=I._leaveCb=j=>{Z||(Z=!0,D(),j?x(h,[I]):x(p,[I]),I._leaveCb=void 0,C[U]===e&&delete C[U])};C[U]=e,m?T(m,[I,X]):X()},clone(I){return Zo(I,t,n,r)}};return L}function cu(e){if(Ea(e))return e=sr(e),e.children=null,e}function Mm(e){return Ea(e)?e.children?e.children[0]:void 0:e}function go(e,t){e.shapeFlag&6&&e.component?go(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 Il(e,t=!1,n){let r=[],o=0;for(let s=0;s<e.length;s++){let a=e[s];const i=n==null?a.key:String(n)+String(a.key!=null?a.key:s);a.type===Te?(a.patchFlag&128&&o++,r=r.concat(Il(a.children,t,i))):(t||a.type!==Ut)&&r.push(i!=null?sr(a,{key:i}):a)}if(o>1)for(let s=0;s<r.length;s++)r[s].patchFlag=-2;return r}function us(e,t){return Me(e)?(()=>ht({name:e.name},t,{setup:e}))():e}const mo=e=>!!e.type.__asyncLoader;function _z(e){Me(e)&&(e={loader:e});const{loader:t,loadingComponent:n,errorComponent:r,delay:o=200,timeout:s,suspensible:a=!0,onError:i}=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)),i)return new Promise((_,z)=>{i(h,()=>_(f()),()=>z(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 us({name:"AsyncComponentWrapper",__asyncLoader:m,get __asyncResolved(){return c},setup(){const p=Tt;if(c)return()=>du(c,p);const h=v=>{l=null,bo(v,p,13,!r)};if(a&&p.suspense||Yo)return m().then(v=>()=>du(v,p)).catch(v=>(h(v),()=>r?y(r,{error:v}):null));const _=Gt(!1),z=Gt(),b=Gt(!!o);return o&&setTimeout(()=>{b.value=!1},o),s!=null&&setTimeout(()=>{if(!_.value&&!z.value){const v=new Error(`Async component timed out after ${s}ms.`);h(v),z.value=v}},s),m().then(()=>{_.value=!0,p.parent&&Ea(p.parent.vnode)&&Ol(p.parent.update)}).catch(v=>{h(v),z.value=v}),()=>{if(_.value&&c)return du(c,p);if(z.value&&r)return y(r,{error:z.value});if(n&&!b.value)return y(n)}}})}function du(e,t){const{ref:n,props:r,children:o,ce:s}=t.vnode,a=y(e,r,o);return a.ref=n,a.ce=s,delete t.vnode.ce,a}const Ea=e=>e.type.__isKeepAlive,gz={name:"KeepAlive",__isKeepAlive:!0,props:{include:[String,RegExp,Array],exclude:[String,RegExp,Array],max:[String,Number]},setup(e,{slots:t}){const n=Tn(),r=n.ctx;if(!r.renderer)return()=>{const v=t.default&&t.default();return v&&v.length===1?v[0]:v};const o=new Map,s=new Set;let a=null;const i=n.suspense,{renderer:{p:l,m:c,um:d,o:{createElement:f}}}=r,m=f("div");r.activate=(v,k,C,x,T)=>{const L=v.component;c(v,k,C,0,i),l(L.vnode,v,k,C,L,i,x,v.slotScopeIds,T),Nt(()=>{L.isDeactivated=!1,L.a&&Uo(L.a);const I=v.props&&v.props.onVnodeMounted;I&&tn(I,L.parent,v)},i)},r.deactivate=v=>{const k=v.component;c(v,m,null,1,i),Nt(()=>{k.da&&Uo(k.da);const C=v.props&&v.props.onVnodeUnmounted;C&&tn(C,k.parent,v),k.isDeactivated=!0},i)};function p(v){mu(v),d(v,n,i,!0)}function h(v){o.forEach((k,C)=>{const x=cc(k.type);x&&(!v||!v(x))&&_(C)})}function _(v){const k=o.get(v);!a||!Ln(k,a)?p(k):a&&mu(a),o.delete(v),s.delete(v)}Jt(()=>[e.include,e.exclude],([v,k])=>{v&&h(C=>Is(v,C)),k&&h(C=>!Is(k,C))},{flush:"post",deep:!0});let z=null;const b=()=>{z!=null&&o.set(z,fu(n.subTree))};return cs(b),Rl(b),Ll(()=>{o.forEach(v=>{const{subTree:k,suspense:C}=n,x=fu(k);if(v.type===x.type&&v.key===x.key){mu(x);const T=x.component.da;T&&Nt(T,C);return}p(v)})}),()=>{if(z=null,!t.default)return null;const v=t.default(),k=v[0];if(v.length>1)return a=null,v;if(!Gr(k)||!(k.shapeFlag&4)&&!(k.shapeFlag&128))return a=null,k;let C=fu(k);const x=C.type,T=cc(mo(C)?C.type.__asyncResolved||{}:x),{include:L,exclude:I,max:D}=e;if(L&&(!T||!Is(L,T))||I&&T&&Is(I,T))return a=C,k;const U=C.key==null?x:C.key,Z=o.get(U);return C.el&&(C=sr(C),k.shapeFlag&128&&(k.ssContent=C)),z=U,Z?(C.el=Z.el,C.component=Z.component,C.transition&&go(C,C.transition),C.shapeFlag|=512,s.delete(U),s.add(U)):(s.add(U),D&&s.size>parseInt(D,10)&&_(s.values().next().value)),C.shapeFlag|=256,a=C,Hh(k.type)?k:C}}},yz=gz;function Is(e,t){return ke(e)?e.some(n=>Is(n,t)):zt(e)?e.split(",").includes(t):jb(e)?e.test(t):!1}function Zh(e,t){Jh(e,"a",t)}function Yh(e,t){Jh(e,"da",t)}function Jh(e,t,n=Tt){const r=e.__wdc||(e.__wdc=()=>{let o=n;for(;o;){if(o.isDeactivated)return;o=o.parent}return e()});if(Fl(t,r,n),n){let o=n.parent;for(;o&&o.parent;)Ea(o.parent.vnode)&&vz(r,t,n,o),o=o.parent}}function vz(e,t,n,r){const o=Fl(t,e,r,!0);Sa(()=>{ed(r[t],o)},n)}function mu(e){e.shapeFlag&=-257,e.shapeFlag&=-513}function fu(e){return e.shapeFlag&128?e.ssContent:e}function Fl(e,t,n=Tt,r=!1){if(n){const o=n[e]||(n[e]=[]),s=t.__weh||(t.__weh=(...a)=>{if(n.isUnmounted)return;as(),Kr(n);const i=gn(t,n,e,a);return jr(),is(),i});return r?o.unshift(s):o.push(s),s}}const wr=e=>(t,n=Tt)=>(!Yo||e==="sp")&&Fl(e,(...r)=>t(...r),n),Xh=wr("bm"),cs=wr("m"),Qh=wr("bu"),Rl=wr("u"),Ll=wr("bum"),Sa=wr("um"),e_=wr("sp"),t_=wr("rtg"),n_=wr("rtc");function r_(e,t=Tt){Fl("ec",e,t)}const bd="components",bz="directives";function S(e,t){return Cd(bd,e,!0,t)||e}const o_=Symbol.for("v-ndc");function s_(e){return zt(e)?Cd(bd,e,!1)||e:e||o_}function zd(e){return Cd(bz,e)}function Cd(e,t,n=!0,r=!1){const o=Rt||Tt;if(o){const s=o.type;if(e===bd){const i=cc(s,!1);if(i&&(i===t||i===rn(t)||i===Ca(rn(t))))return s}const a=Nm(o[e]||s[e],t)||Nm(o.appContext[e],t);return!a&&r?s:a}}function Nm(e,t){return e&&(e[t]||e[rn(t)]||e[Ca(rn(t))])}function ft(e,t,n,r){let o;const s=n&&n[r];if(ke(e)||zt(e)){o=new Array(e.length);for(let a=0,i=e.length;a<i;a++)o[a]=t(e[a],a,void 0,s&&s[a])}else if(typeof e=="number"){o=new Array(e);for(let a=0;a<e;a++)o[a]=t(a+1,a,void 0,s&&s[a])}else if(mt(e))if(e[Symbol.iterator])o=Array.from(e,(a,i)=>t(a,i,void 0,s&&s[i]));else{const a=Object.keys(e);o=new Array(a.length);for(let i=0,l=a.length;i<l;i++){const c=a[i];o[i]=t(e[c],c,i,s&&s[i])}}else o=[];return n&&(n[r]=o),o}function $a(e,t){for(let n=0;n<t.length;n++){const r=t[n];if(ke(r))for(let o=0;o<r.length;o++)e[r[o].name]=r[o].fn;else r&&(e[r.name]=r.key?(...o)=>{const s=r.fn(...o);return s&&(s.key=r.key),s}:r.fn)}return e}function lt(e,t,n={},r,o){if(Rt.isCE||Rt.parent&&mo(Rt.parent)&&Rt.parent.isCE)return t!=="default"&&(n.name=t),y("slot",n,r&&r());let s=e[t];s&&s._c&&(s._d=!1),w();const a=s&&a_(s(n)),i=be(Te,{key:n.key||a&&a.key||`_${t}`},a||(r?r():[]),a&&e._===1?64:-2);return!o&&i.scopeId&&(i.slotScopeIds=[i.scopeId+"-s"]),s&&s._c&&(s._d=!0),i}function a_(e){return e.some(t=>Gr(t)?!(t.type===Ut||t.type===Te&&!a_(t.children)):!0)?e:null}function zz(e,t){const n={};for(const r in e)n[t&&/[A-Z]/.test(r)?`on:${r}`:js(r)]=e[r];return n}const tc=e=>e?k_(e)?Nl(e)||e.proxy:tc(e.parent):null,Us=ht(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=>tc(e.parent),$root:e=>tc(e.root),$emit:e=>e.emit,$options:e=>wd(e),$forceUpdate:e=>e.f||(e.f=()=>Ol(e.update)),$nextTick:e=>e.n||(e.n=ka.bind(e.proxy)),$watch:e=>pz.bind(e)}),pu=(e,t)=>e!==dt&&!e.__isScriptSetup&&rt(e,t),nc={get({_:e},t){const{ctx:n,setupState:r,data:o,props:s,accessCache:a,type:i,appContext:l}=e;let c;if(t[0]!=="$"){const p=a[t];if(p!==void 0)switch(p){case 1:return r[t];case 2:return o[t];case 4:return n[t];case 3:return s[t]}else{if(pu(r,t))return a[t]=1,r[t];if(o!==dt&&rt(o,t))return a[t]=2,o[t];if((c=e.propsOptions[0])&&rt(c,t))return a[t]=3,s[t];if(n!==dt&&rt(n,t))return a[t]=4,n[t];rc&&(a[t]=0)}}const d=Us[t];let f,m;if(d)return t==="$attrs"&&on(e,"get",t),d(e);if((f=i.__cssModules)&&(f=f[t]))return f;if(n!==dt&&rt(n,t))return a[t]=4,n[t];if(m=l.config.globalProperties,rt(m,t))return m[t]},set({_:e},t,n){const{data:r,setupState:o,ctx:s}=e;return pu(o,t)?(o[t]=n,!0):r!==dt&&rt(r,t)?(r[t]=n,!0):rt(e.props,t)||t[0]==="$"&&t.slice(1)in e?!1:(s[t]=n,!0)},has({_:{data:e,setupState:t,accessCache:n,ctx:r,appContext:o,propsOptions:s}},a){let i;return!!n[a]||e!==dt&&rt(e,a)||pu(t,a)||(i=s[0])&&rt(i,a)||rt(r,a)||rt(Us,a)||rt(o.config.globalProperties,a)},defineProperty(e,t,n){return n.get!=null?e._.accessCache[t]=0:rt(n,"value")&&this.set(e,t,n.value,null),Reflect.defineProperty(e,t,n)}},Cz=ht({},nc,{get(e,t){if(t!==Symbol.unscopables)return nc.get(e,t,e)},has(e,t){return t[0]!=="_"&&!Kb(t)}});function wz(){return null}function kz(){return null}function xz(e){}function Ez(e){}function Sz(){return null}function $z(){}function Az(e,t){return null}function Tz(){return i_().slots}function Oz(){return i_().attrs}function Dz(e,t,n){const r=Tn();if(n&&n.local){const o=Gt(e[t]);return Jt(()=>e[t],s=>o.value=s),Jt(o,s=>{s!==e[t]&&r.emit(`update:${t}`,s)}),o}else return{__v_isRef:!0,get value(){return e[t]},set value(o){r.emit(`update:${t}`,o)}}}function i_(){const e=Tn();return e.setupContext||(e.setupContext=S_(e))}function fa(e){return ke(e)?e.reduce((t,n)=>(t[n]=null,t),{}):e}function Pz(e,t){const n=fa(e);for(const r in t){if(r.startsWith("__skip"))continue;let o=n[r];o?ke(o)||Me(o)?o=n[r]={type:o,default:t[r]}:o.default=t[r]:o===null&&(o=n[r]={default:t[r]}),o&&t[`__skip_${r}`]&&(o.skipFactory=!0)}return n}function Iz(e,t){return!e||!t?e||t:ke(e)&&ke(t)?e.concat(t):ht({},fa(e),fa(t))}function Fz(e,t){const n={};for(const r in e)t.includes(r)||Object.defineProperty(n,r,{enumerable:!0,get:()=>e[r]});return n}function Rz(e){const t=Tn();let n=e();return jr(),td(n)&&(n=n.catch(r=>{throw Kr(t),r})),[n,()=>Kr(t)]}let rc=!0;function Lz(e){const t=wd(e),n=e.proxy,r=e.ctx;rc=!1,t.beforeCreate&&Bm(t.beforeCreate,e,"bc");const{data:o,computed:s,methods:a,watch:i,provide:l,inject:c,created:d,beforeMount:f,mounted:m,beforeUpdate:p,updated:h,activated:_,deactivated:z,beforeDestroy:b,beforeUnmount:v,destroyed:k,unmounted:C,render:x,renderTracked:T,renderTriggered:L,errorCaptured:I,serverPrefetch:D,expose:U,inheritAttrs:Z,components:X,directives:j,filters:q}=t;if(c&&Mz(c,r,null),a)for(const ae in a){const ye=a[ae];Me(ye)&&(r[ae]=ye.bind(n))}if(o){const ae=o.call(n,n);mt(ae)&&(e.data=ls(ae))}if(rc=!0,s)for(const ae in s){const ye=s[ae],je=Me(ye)?ye.bind(n,n):Me(ye.get)?ye.get.bind(n,n):Nn,at=!Me(ye)&&Me(ye.set)?ye.set.bind(n):Nn,ce=Ft({get:je,set:at});Object.defineProperty(r,ae,{enumerable:!0,configurable:!0,get:()=>ce.value,set:W=>ce.value=W})}if(i)for(const ae in i)l_(i[ae],r,n,ae);if(l){const ae=Me(l)?l.call(n):l;Reflect.ownKeys(ae).forEach(ye=>{qs(ye,ae[ye])})}d&&Bm(d,e,"c");function te(ae,ye){ke(ye)?ye.forEach(je=>ae(je.bind(n))):ye&&ae(ye.bind(n))}if(te(Xh,f),te(cs,m),te(Qh,p),te(Rl,h),te(Zh,_),te(Yh,z),te(r_,I),te(n_,T),te(t_,L),te(Ll,v),te(Sa,C),te(e_,D),ke(U))if(U.length){const ae=e.exposed||(e.exposed={});U.forEach(ye=>{Object.defineProperty(ae,ye,{get:()=>n[ye],set:je=>n[ye]=je})})}else e.exposed||(e.exposed={});x&&e.render===Nn&&(e.render=x),Z!=null&&(e.inheritAttrs=Z),X&&(e.components=X),j&&(e.directives=j)}function Mz(e,t,n=Nn){ke(e)&&(e=oc(e));for(const r in e){const o=e[r];let s;mt(o)?"default"in o?s=Bn(o.from||r,o.default,!0):s=Bn(o.from||r):s=Bn(o),Ot(s)?Object.defineProperty(t,r,{enumerable:!0,configurable:!0,get:()=>s.value,set:a=>s.value=a}):t[r]=s}}function Bm(e,t,n){gn(ke(e)?e.map(r=>r.bind(t.proxy)):e.bind(t.proxy),t,n)}function l_(e,t,n,r){const o=r.includes(".")?Wh(n,r):()=>n[r];if(zt(e)){const s=t[e];Me(s)&&Jt(o,s)}else if(Me(e))Jt(o,e.bind(n));else if(mt(e))if(ke(e))e.forEach(s=>l_(s,t,n,r));else{const s=Me(e.handler)?e.handler.bind(n):t[e.handler];Me(s)&&Jt(o,s,e)}}function wd(e){const t=e.type,{mixins:n,extends:r}=t,{mixins:o,optionsCache:s,config:{optionMergeStrategies:a}}=e.appContext,i=s.get(t);let l;return i?l=i:!o.length&&!n&&!r?l=t:(l={},o.length&&o.forEach(c=>al(l,c,a,!0)),al(l,t,a)),mt(t)&&s.set(t,l),l}function al(e,t,n,r=!1){const{mixins:o,extends:s}=t;s&&al(e,s,n,!0),o&&o.forEach(a=>al(e,a,n,!0));for(const a in t)if(!(r&&a==="expose")){const i=Nz[a]||n&&n[a];e[a]=i?i(e[a],t[a]):t[a]}return e}const Nz={data:Vm,props:Hm,emits:Hm,methods:Fs,computed:Fs,beforeCreate:qt,created:qt,beforeMount:qt,mounted:qt,beforeUpdate:qt,updated:qt,beforeDestroy:qt,beforeUnmount:qt,destroyed:qt,unmounted:qt,activated:qt,deactivated:qt,errorCaptured:qt,serverPrefetch:qt,components:Fs,directives:Fs,watch:Vz,provide:Vm,inject:Bz};function Vm(e,t){return t?e?function(){return ht(Me(e)?e.call(this,this):e,Me(t)?t.call(this,this):t)}:t:e}function Bz(e,t){return Fs(oc(e),oc(t))}function oc(e){if(ke(e)){const t={};for(let n=0;n<e.length;n++)t[e[n]]=e[n];return t}return e}function qt(e,t){return e?[...new Set([].concat(e,t))]:t}function Fs(e,t){return e?ht(Object.create(null),e,t):t}function Hm(e,t){return e?ke(e)&&ke(t)?[...new Set([...e,...t])]:ht(Object.create(null),fa(e),fa(t??{})):t}function Vz(e,t){if(!e)return t;if(!t)return e;const n=ht(Object.create(null),e);for(const r in t)n[r]=qt(e[r],t[r]);return n}function u_(){return{app:null,config:{isNativeTag:Bb,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 Hz=0;function jz(e,t){return function(r,o=null){Me(r)||(r=ht({},r)),o!=null&&!mt(o)&&(o=null);const s=u_(),a=new Set;let i=!1;const l=s.app={_uid:Hz++,_component:r,_props:o,_container:null,_context:s,_instance:null,version:O_,get config(){return s.config},set config(c){},use(c,...d){return a.has(c)||(c&&Me(c.install)?(a.add(c),c.install(l,...d)):Me(c)&&(a.add(c),c(l,...d))),l},mixin(c){return s.mixins.includes(c)||s.mixins.push(c),l},component(c,d){return d?(s.components[c]=d,l):s.components[c]},directive(c,d){return d?(s.directives[c]=d,l):s.directives[c]},mount(c,d,f){if(!i){const m=y(r,o);return m.appContext=s,d&&t?t(m,c):e(m,c,f),i=!0,l._container=c,c.__vue_app__=l,Nl(m.component)||m.component.proxy}},unmount(){i&&(e(null,l._container),delete l._container.__vue_app__)},provide(c,d){return s.provides[c]=d,l},runWithContext(c){pa=l;try{return c()}finally{pa=null}}};return l}}let pa=null;function qs(e,t){if(Tt){let n=Tt.provides;const r=Tt.parent&&Tt.parent.provides;r===n&&(n=Tt.provides=Object.create(r)),n[e]=t}}function Bn(e,t,n=!1){const r=Tt||Rt;if(r||pa){const o=r?r.parent==null?r.vnode.appContext&&r.vnode.appContext.provides:r.parent.provides:pa._context.provides;if(o&&e in o)return o[e];if(arguments.length>1)return n&&Me(t)?t.call(r&&r.proxy):t}}function Uz(){return!!(Tt||Rt||pa)}function qz(e,t,n,r=!1){const o={},s={};tl(s,Ml,1),e.propsDefaults=Object.create(null),c_(e,t,o,s);for(const a in e.propsOptions[0])a in o||(o[a]=void 0);n?e.props=r?o:id(o):e.type.props?e.props=o:e.props=s,e.attrs=s}function Wz(e,t,n,r){const{props:o,attrs:s,vnode:{patchFlag:a}}=e,i=et(o),[l]=e.propsOptions;let c=!1;if((r||a>0)&&!(a&16)){if(a&8){const d=e.vnode.dynamicProps;for(let f=0;f<d.length;f++){let m=d[f];if(Dl(e.emitsOptions,m))continue;const p=t[m];if(l)if(rt(s,m))p!==s[m]&&(s[m]=p,c=!0);else{const h=rn(m);o[h]=sc(l,i,h,p,e,!1)}else p!==s[m]&&(s[m]=p,c=!0)}}}else{c_(e,t,o,s)&&(c=!0);let d;for(const f in i)(!t||!rt(t,f)&&((d=xn(f))===f||!rt(t,d)))&&(l?n&&(n[f]!==void 0||n[d]!==void 0)&&(o[f]=sc(l,i,f,void 0,e,!0)):delete o[f]);if(s!==i)for(const f in s)(!t||!rt(t,f))&&(delete s[f],c=!0)}c&&br(e,"set","$attrs")}function c_(e,t,n,r){const[o,s]=e.propsOptions;let a=!1,i;if(t)for(let l in t){if(Hs(l))continue;const c=t[l];let d;o&&rt(o,d=rn(l))?!s||!s.includes(d)?n[d]=c:(i||(i={}))[d]=c:Dl(e.emitsOptions,l)||(!(l in r)||c!==r[l])&&(r[l]=c,a=!0)}if(s){const l=et(n),c=i||dt;for(let d=0;d<s.length;d++){const f=s[d];n[f]=sc(o,l,f,c[f],e,!rt(c,f))}}return a}function sc(e,t,n,r,o,s){const a=e[n];if(a!=null){const i=rt(a,"default");if(i&&r===void 0){const l=a.default;if(a.type!==Function&&!a.skipFactory&&Me(l)){const{propsDefaults:c}=o;n in c?r=c[n]:(Kr(o),r=c[n]=l.call(null,t),jr())}else r=l}a[0]&&(s&&!i?r=!1:a[1]&&(r===""||r===xn(n))&&(r=!0))}return r}function d_(e,t,n=!1){const r=t.propsCache,o=r.get(e);if(o)return o;const s=e.props,a={},i=[];let l=!1;if(!Me(e)){const d=f=>{l=!0;const[m,p]=d_(f,t,!0);ht(a,m),p&&i.push(...p)};!n&&t.mixins.length&&t.mixins.forEach(d),e.extends&&d(e.extends),e.mixins&&e.mixins.forEach(d)}if(!s&&!l)return mt(e)&&r.set(e,Ho),Ho;if(ke(s))for(let d=0;d<s.length;d++){const f=rn(s[d]);jm(f)&&(a[f]=dt)}else if(s)for(const d in s){const f=rn(d);if(jm(f)){const m=s[d],p=a[f]=ke(m)||Me(m)?{type:m}:ht({},m);if(p){const h=Wm(Boolean,p.type),_=Wm(String,p.type);p[0]=h>-1,p[1]=_<0||h<_,(h>-1||rt(p,"default"))&&i.push(f)}}}const c=[a,i];return mt(e)&&r.set(e,c),c}function jm(e){return e[0]!=="$"}function Um(e){const t=e&&e.toString().match(/^\s*(function|class) (\w+)/);return t?t[2]:e===null?"null":""}function qm(e,t){return Um(e)===Um(t)}function Wm(e,t){return ke(t)?t.findIndex(n=>qm(n,e)):Me(t)&&qm(t,e)?0:-1}const m_=e=>e[0]==="_"||e==="$stable",kd=e=>ke(e)?e.map(dn):[dn(e)],Gz=(e,t,n)=>{if(t._n)return t;const r=E((...o)=>kd(t(...o)),n);return r._c=!1,r},f_=(e,t,n)=>{const r=e._ctx;for(const o in e){if(m_(o))continue;const s=e[o];if(Me(s))t[o]=Gz(o,s,r);else if(s!=null){const a=kd(s);t[o]=()=>a}}},p_=(e,t)=>{const n=kd(t);e.slots.default=()=>n},Kz=(e,t)=>{if(e.vnode.shapeFlag&32){const n=t._;n?(e.slots=et(t),tl(t,"_",n)):f_(t,e.slots={})}else e.slots={},t&&p_(e,t);tl(e.slots,Ml,1)},Zz=(e,t,n)=>{const{vnode:r,slots:o}=e;let s=!0,a=dt;if(r.shapeFlag&32){const i=t._;i?n&&i===1?s=!1:(ht(o,t),!n&&i===1&&delete o._):(s=!t.$stable,f_(t,o)),a=t}else t&&(p_(e,t),a={default:1});if(s)for(const i in o)!m_(i)&&!(i in a)&&delete o[i]};function il(e,t,n,r,o=!1){if(ke(e)){e.forEach((m,p)=>il(m,t&&(ke(t)?t[p]:t),n,r,o));return}if(mo(r)&&!o)return;const s=r.shapeFlag&4?Nl(r.component)||r.component.proxy:r.el,a=o?null:s,{i,r:l}=e,c=t&&t.r,d=i.refs===dt?i.refs={}:i.refs,f=i.setupState;if(c!=null&&c!==l&&(zt(c)?(d[c]=null,rt(f,c)&&(f[c]=null)):Ot(c)&&(c.value=null)),Me(l))gr(l,i,12,[a,d]);else{const m=zt(l),p=Ot(l);if(m||p){const h=()=>{if(e.f){const _=m?rt(f,l)?f[l]:d[l]:l.value;o?ke(_)&&ed(_,s):ke(_)?_.includes(s)||_.push(s):m?(d[l]=[s],rt(f,l)&&(f[l]=d[l])):(l.value=[s],e.k&&(d[e.k]=l.value))}else m?(d[l]=a,rt(f,l)&&(f[l]=a)):p&&(l.value=a,e.k&&(d[e.k]=a))};a?(h.id=-1,Nt(h,n)):h()}}}let Er=!1;const Ka=e=>/svg/.test(e.namespaceURI)&&e.tagName!=="foreignObject",Za=e=>e.nodeType===8;function Yz(e){const{mt:t,p:n,o:{patchProp:r,createText:o,nextSibling:s,parentNode:a,remove:i,insert:l,createComment:c}}=e,d=(b,v)=>{if(!v.hasChildNodes()){n(null,b,v),sl(),v._vnode=b;return}Er=!1,f(v.firstChild,b,null,null,null),sl(),v._vnode=b,Er&&console.error("Hydration completed but contains mismatches.")},f=(b,v,k,C,x,T=!1)=>{const L=Za(b)&&b.data==="[",I=()=>_(b,v,k,C,x,L),{type:D,ref:U,shapeFlag:Z,patchFlag:X}=v;let j=b.nodeType;v.el=b,X===-2&&(T=!1,v.dynamicChildren=null);let q=null;switch(D){case Wr:j!==3?v.children===""?(l(v.el=o(""),a(b),b),q=b):q=I():(b.data!==v.children&&(Er=!0,b.data=v.children),q=s(b));break;case Ut:j!==8||L?q=I():q=s(b);break;case fo:if(L&&(b=s(b),j=b.nodeType),j===1||j===3){q=b;const ze=!v.children.length;for(let te=0;te<v.staticCount;te++)ze&&(v.children+=q.nodeType===1?q.outerHTML:q.data),te===v.staticCount-1&&(v.anchor=q),q=s(q);return L?s(q):q}else I();break;case Te:L?q=h(b,v,k,C,x,T):q=I();break;default:if(Z&1)j!==1||v.type.toLowerCase()!==b.tagName.toLowerCase()?q=I():q=m(b,v,k,C,x,T);else if(Z&6){v.slotScopeIds=x;const ze=a(b);if(t(v,ze,null,k,C,Ka(ze),T),q=L?z(b):s(b),q&&Za(q)&&q.data==="teleport end"&&(q=s(q)),mo(v)){let te;L?(te=y(Te),te.anchor=q?q.previousSibling:ze.lastChild):te=b.nodeType===3?ct(""):y("div"),te.el=b,v.component.subTree=te}}else Z&64?j!==8?q=I():q=v.type.hydrate(b,v,k,C,x,T,e,p):Z&128&&(q=v.type.hydrate(b,v,k,C,Ka(a(b)),x,T,e,f))}return U!=null&&il(U,null,C,v),q},m=(b,v,k,C,x,T)=>{T=T||!!v.dynamicChildren;const{type:L,props:I,patchFlag:D,shapeFlag:U,dirs:Z}=v,X=L==="input"&&Z||L==="option";if(X||D!==-1){if(Z&&Zn(v,null,k,"created"),I)if(X||!T||D&48)for(const q in I)(X&&q.endsWith("value")||za(q)&&!Hs(q))&&r(b,q,null,I[q],!1,void 0,k);else I.onClick&&r(b,"onClick",null,I.onClick,!1,void 0,k);let j;if((j=I&&I.onVnodeBeforeMount)&&tn(j,k,v),Z&&Zn(v,null,k,"beforeMount"),((j=I&&I.onVnodeMounted)||Z)&&jh(()=>{j&&tn(j,k,v),Z&&Zn(v,null,k,"mounted")},C),U&16&&!(I&&(I.innerHTML||I.textContent))){let q=p(b.firstChild,v,b,k,C,x,T);for(;q;){Er=!0;const ze=q;q=q.nextSibling,i(ze)}}else U&8&&b.textContent!==v.children&&(Er=!0,b.textContent=v.children)}return b.nextSibling},p=(b,v,k,C,x,T,L)=>{L=L||!!v.dynamicChildren;const I=v.children,D=I.length;for(let U=0;U<D;U++){const Z=L?I[U]:I[U]=dn(I[U]);if(b)b=f(b,Z,C,x,T,L);else{if(Z.type===Wr&&!Z.children)continue;Er=!0,n(null,Z,k,null,C,x,Ka(k),T)}}return b},h=(b,v,k,C,x,T)=>{const{slotScopeIds:L}=v;L&&(x=x?x.concat(L):L);const I=a(b),D=p(s(b),v,I,k,C,x,T);return D&&Za(D)&&D.data==="]"?s(v.anchor=D):(Er=!0,l(v.anchor=c("]"),I,D),D)},_=(b,v,k,C,x,T)=>{if(Er=!0,v.el=null,T){const D=z(b);for(;;){const U=s(b);if(U&&U!==D)i(U);else break}}const L=s(b),I=a(b);return i(b),n(null,v,I,L,k,C,Ka(I),x),L},z=b=>{let v=0;for(;b;)if(b=s(b),b&&Za(b)&&(b.data==="["&&v++,b.data==="]")){if(v===0)return s(b);v--}return b};return[d,f]}const Nt=jh;function h_(e){return g_(e)}function __(e){return g_(e,Yz)}function g_(e,t){const n=Yu();n.__VUE__=!0;const{insert:r,remove:o,patchProp:s,createElement:a,createText:i,createComment:l,setText:c,setElementText:d,parentNode:f,nextSibling:m,setScopeId:p=Nn,insertStaticContent:h}=e,_=(A,O,P,K=null,J=null,ee=null,de=!1,ie=null,se=!!O.dynamicChildren)=>{if(A===O)return;A&&!Ln(A,O)&&(K=B(A),W(A,J,ee,!0),A=null),O.patchFlag===-2&&(se=!1,O.dynamicChildren=null);const{type:Y,ref:R,shapeFlag:V}=O;switch(Y){case Wr:z(A,O,P,K);break;case Ut:b(A,O,P,K);break;case fo:A==null&&v(O,P,K,de);break;case Te:X(A,O,P,K,J,ee,de,ie,se);break;default:V&1?x(A,O,P,K,J,ee,de,ie,se):V&6?j(A,O,P,K,J,ee,de,ie,se):(V&64||V&128)&&Y.process(A,O,P,K,J,ee,de,ie,se,ne)}R!=null&&J&&il(R,A&&A.ref,ee,O||A,!O)},z=(A,O,P,K)=>{if(A==null)r(O.el=i(O.children),P,K);else{const J=O.el=A.el;O.children!==A.children&&c(J,O.children)}},b=(A,O,P,K)=>{A==null?r(O.el=l(O.children||""),P,K):O.el=A.el},v=(A,O,P,K)=>{[A.el,A.anchor]=h(A.children,O,P,K,A.el,A.anchor)},k=({el:A,anchor:O},P,K)=>{let J;for(;A&&A!==O;)J=m(A),r(A,P,K),A=J;r(O,P,K)},C=({el:A,anchor:O})=>{let P;for(;A&&A!==O;)P=m(A),o(A),A=P;o(O)},x=(A,O,P,K,J,ee,de,ie,se)=>{de=de||O.type==="svg",A==null?T(O,P,K,J,ee,de,ie,se):D(A,O,J,ee,de,ie,se)},T=(A,O,P,K,J,ee,de,ie)=>{let se,Y;const{type:R,props:V,shapeFlag:ge,transition:Ce,dirs:Fe}=A;if(se=A.el=a(A.type,ee,V&&V.is,V),ge&8?d(se,A.children):ge&16&&I(A.children,se,null,K,J,ee&&R!=="foreignObject",de,ie),Fe&&Zn(A,null,K,"created"),L(se,A,A.scopeId,de,K),V){for(const Be in V)Be!=="value"&&!Hs(Be)&&s(se,Be,null,V[Be],ee,A.children,K,J,Ee);"value"in V&&s(se,"value",null,V.value),(Y=V.onVnodeBeforeMount)&&tn(Y,K,A)}Fe&&Zn(A,null,K,"beforeMount");const Ue=(!J||J&&!J.pendingBranch)&&Ce&&!Ce.persisted;Ue&&Ce.beforeEnter(se),r(se,O,P),((Y=V&&V.onVnodeMounted)||Ue||Fe)&&Nt(()=>{Y&&tn(Y,K,A),Ue&&Ce.enter(se),Fe&&Zn(A,null,K,"mounted")},J)},L=(A,O,P,K,J)=>{if(P&&p(A,P),K)for(let ee=0;ee<K.length;ee++)p(A,K[ee]);if(J){let ee=J.subTree;if(O===ee){const de=J.vnode;L(A,de,de.scopeId,de.slotScopeIds,J.parent)}}},I=(A,O,P,K,J,ee,de,ie,se=0)=>{for(let Y=se;Y<A.length;Y++){const R=A[Y]=ie?Ir(A[Y]):dn(A[Y]);_(null,R,O,P,K,J,ee,de,ie)}},D=(A,O,P,K,J,ee,de)=>{const ie=O.el=A.el;let{patchFlag:se,dynamicChildren:Y,dirs:R}=O;se|=A.patchFlag&16;const V=A.props||dt,ge=O.props||dt;let Ce;P&&Qr(P,!1),(Ce=ge.onVnodeBeforeUpdate)&&tn(Ce,P,O,A),R&&Zn(O,A,P,"beforeUpdate"),P&&Qr(P,!0);const Fe=J&&O.type!=="foreignObject";if(Y?U(A.dynamicChildren,Y,ie,P,K,Fe,ee):de||ye(A,O,ie,null,P,K,Fe,ee,!1),se>0){if(se&16)Z(ie,O,V,ge,P,K,J);else if(se&2&&V.class!==ge.class&&s(ie,"class",null,ge.class,J),se&4&&s(ie,"style",V.style,ge.style,J),se&8){const Ue=O.dynamicProps;for(let Be=0;Be<Ue.length;Be++){const F=Ue[Be],M=V[F],G=ge[F];(G!==M||F==="value")&&s(ie,F,M,G,J,A.children,P,K,Ee)}}se&1&&A.children!==O.children&&d(ie,O.children)}else!de&&Y==null&&Z(ie,O,V,ge,P,K,J);((Ce=ge.onVnodeUpdated)||R)&&Nt(()=>{Ce&&tn(Ce,P,O,A),R&&Zn(O,A,P,"updated")},K)},U=(A,O,P,K,J,ee,de)=>{for(let ie=0;ie<O.length;ie++){const se=A[ie],Y=O[ie],R=se.el&&(se.type===Te||!Ln(se,Y)||se.shapeFlag&70)?f(se.el):P;_(se,Y,R,null,K,J,ee,de,!0)}},Z=(A,O,P,K,J,ee,de)=>{if(P!==K){if(P!==dt)for(const ie in P)!Hs(ie)&&!(ie in K)&&s(A,ie,P[ie],null,de,O.children,J,ee,Ee);for(const ie in K){if(Hs(ie))continue;const se=K[ie],Y=P[ie];se!==Y&&ie!=="value"&&s(A,ie,Y,se,de,O.children,J,ee,Ee)}"value"in K&&s(A,"value",P.value,K.value)}},X=(A,O,P,K,J,ee,de,ie,se)=>{const Y=O.el=A?A.el:i(""),R=O.anchor=A?A.anchor:i("");let{patchFlag:V,dynamicChildren:ge,slotScopeIds:Ce}=O;Ce&&(ie=ie?ie.concat(Ce):Ce),A==null?(r(Y,P,K),r(R,P,K),I(O.children,P,R,J,ee,de,ie,se)):V>0&&V&64&&ge&&A.dynamicChildren?(U(A.dynamicChildren,ge,P,J,ee,de,ie),(O.key!=null||J&&O===J.subTree)&&xd(A,O,!0)):ye(A,O,P,R,J,ee,de,ie,se)},j=(A,O,P,K,J,ee,de,ie,se)=>{O.slotScopeIds=ie,A==null?O.shapeFlag&512?J.ctx.activate(O,P,K,de,se):q(O,P,K,J,ee,de,se):ze(A,O,se)},q=(A,O,P,K,J,ee,de)=>{const ie=A.component=w_(A,K,J);if(Ea(A)&&(ie.ctx.renderer=ne),x_(ie),ie.asyncDep){if(J&&J.registerDep(ie,te),!A.el){const se=ie.subTree=y(Ut);b(null,se,O,P)}return}te(ie,A,O,P,J,ee,de)},ze=(A,O,P)=>{const K=O.component=A.component;if(sz(A,O,P))if(K.asyncDep&&!K.asyncResolved){ae(K,O,P);return}else K.next=O,Y1(K.update),K.update();else O.el=A.el,K.vnode=O},te=(A,O,P,K,J,ee,de)=>{const ie=()=>{if(A.isMounted){let{next:R,bu:V,u:ge,parent:Ce,vnode:Fe}=A,Ue=R,Be;Qr(A,!1),R?(R.el=Fe.el,ae(A,R,de)):R=Fe,V&&Uo(V),(Be=R.props&&R.props.onVnodeBeforeUpdate)&&tn(Be,Ce,R,Fe),Qr(A,!0);const F=Hi(A),M=A.subTree;A.subTree=F,_(M,F,f(M.el),B(M),A,J,ee),R.el=F.el,Ue===null&&_d(A,F.el),ge&&Nt(ge,J),(Be=R.props&&R.props.onVnodeUpdated)&&Nt(()=>tn(Be,Ce,R,Fe),J)}else{let R;const{el:V,props:ge}=O,{bm:Ce,m:Fe,parent:Ue}=A,Be=mo(O);if(Qr(A,!1),Ce&&Uo(Ce),!Be&&(R=ge&&ge.onVnodeBeforeMount)&&tn(R,Ue,O),Qr(A,!0),V&&Oe){const F=()=>{A.subTree=Hi(A),Oe(V,A.subTree,A,J,null)};Be?O.type.__asyncLoader().then(()=>!A.isUnmounted&&F()):F()}else{const F=A.subTree=Hi(A);_(null,F,P,K,A,J,ee),O.el=F.el}if(Fe&&Nt(Fe,J),!Be&&(R=ge&&ge.onVnodeMounted)){const F=O;Nt(()=>tn(R,Ue,F),J)}(O.shapeFlag&256||Ue&&mo(Ue.vnode)&&Ue.vnode.shapeFlag&256)&&A.a&&Nt(A.a,J),A.isMounted=!0,O=P=K=null}},se=A.effect=new wa(ie,()=>Ol(Y),A.scope),Y=A.update=()=>se.run();Y.id=A.uid,Qr(A,!0),Y()},ae=(A,O,P)=>{O.component=A;const K=A.vnode.props;A.vnode=O,A.next=null,Wz(A,O.props,K,P),Zz(A,O.children,P),as(),Fm(),is()},ye=(A,O,P,K,J,ee,de,ie,se=!1)=>{const Y=A&&A.children,R=A?A.shapeFlag:0,V=O.children,{patchFlag:ge,shapeFlag:Ce}=O;if(ge>0){if(ge&128){at(Y,V,P,K,J,ee,de,ie,se);return}else if(ge&256){je(Y,V,P,K,J,ee,de,ie,se);return}}Ce&8?(R&16&&Ee(Y,J,ee),V!==Y&&d(P,V)):R&16?Ce&16?at(Y,V,P,K,J,ee,de,ie,se):Ee(Y,J,ee,!0):(R&8&&d(P,""),Ce&16&&I(V,P,K,J,ee,de,ie,se))},je=(A,O,P,K,J,ee,de,ie,se)=>{A=A||Ho,O=O||Ho;const Y=A.length,R=O.length,V=Math.min(Y,R);let ge;for(ge=0;ge<V;ge++){const Ce=O[ge]=se?Ir(O[ge]):dn(O[ge]);_(A[ge],Ce,P,null,J,ee,de,ie,se)}Y>R?Ee(A,J,ee,!0,!1,V):I(O,P,K,J,ee,de,ie,se,V)},at=(A,O,P,K,J,ee,de,ie,se)=>{let Y=0;const R=O.length;let V=A.length-1,ge=R-1;for(;Y<=V&&Y<=ge;){const Ce=A[Y],Fe=O[Y]=se?Ir(O[Y]):dn(O[Y]);if(Ln(Ce,Fe))_(Ce,Fe,P,null,J,ee,de,ie,se);else break;Y++}for(;Y<=V&&Y<=ge;){const Ce=A[V],Fe=O[ge]=se?Ir(O[ge]):dn(O[ge]);if(Ln(Ce,Fe))_(Ce,Fe,P,null,J,ee,de,ie,se);else break;V--,ge--}if(Y>V){if(Y<=ge){const Ce=ge+1,Fe=Ce<R?O[Ce].el:K;for(;Y<=ge;)_(null,O[Y]=se?Ir(O[Y]):dn(O[Y]),P,Fe,J,ee,de,ie,se),Y++}}else if(Y>ge)for(;Y<=V;)W(A[Y],J,ee,!0),Y++;else{const Ce=Y,Fe=Y,Ue=new Map;for(Y=Fe;Y<=ge;Y++){const $e=O[Y]=se?Ir(O[Y]):dn(O[Y]);$e.key!=null&&Ue.set($e.key,Y)}let Be,F=0;const M=ge-Fe+1;let G=!1,re=0;const ve=new Array(M);for(Y=0;Y<M;Y++)ve[Y]=0;for(Y=Ce;Y<=V;Y++){const $e=A[Y];if(F>=M){W($e,J,ee,!0);continue}let Ve;if($e.key!=null)Ve=Ue.get($e.key);else for(Be=Fe;Be<=ge;Be++)if(ve[Be-Fe]===0&&Ln($e,O[Be])){Ve=Be;break}Ve===void 0?W($e,J,ee,!0):(ve[Ve-Fe]=Y+1,Ve>=re?re=Ve:G=!0,_($e,O[Ve],P,null,J,ee,de,ie,se),F++)}const Pe=G?Jz(ve):Ho;for(Be=Pe.length-1,Y=M-1;Y>=0;Y--){const $e=Fe+Y,Ve=O[$e],Ge=$e+1<R?O[$e+1].el:K;ve[Y]===0?_(null,Ve,P,Ge,J,ee,de,ie,se):G&&(Be<0||Y!==Pe[Be]?ce(Ve,P,Ge,2):Be--)}}},ce=(A,O,P,K,J=null)=>{const{el:ee,type:de,transition:ie,children:se,shapeFlag:Y}=A;if(Y&6){ce(A.component.subTree,O,P,K);return}if(Y&128){A.suspense.move(O,P,K);return}if(Y&64){de.move(A,O,P,ne);return}if(de===Te){r(ee,O,P);for(let V=0;V<se.length;V++)ce(se[V],O,P,K);r(A.anchor,O,P);return}if(de===fo){k(A,O,P);return}if(K!==2&&Y&1&&ie)if(K===0)ie.beforeEnter(ee),r(ee,O,P),Nt(()=>ie.enter(ee),J);else{const{leave:V,delayLeave:ge,afterLeave:Ce}=ie,Fe=()=>r(ee,O,P),Ue=()=>{V(ee,()=>{Fe(),Ce&&Ce()})};ge?ge(ee,Fe,Ue):Ue()}else r(ee,O,P)},W=(A,O,P,K=!1,J=!1)=>{const{type:ee,props:de,ref:ie,children:se,dynamicChildren:Y,shapeFlag:R,patchFlag:V,dirs:ge}=A;if(ie!=null&&il(ie,null,P,A,!0),R&256){O.ctx.deactivate(A);return}const Ce=R&1&&ge,Fe=!mo(A);let Ue;if(Fe&&(Ue=de&&de.onVnodeBeforeUnmount)&&tn(Ue,O,A),R&6)Le(A.component,P,K);else{if(R&128){A.suspense.unmount(P,K);return}Ce&&Zn(A,null,O,"beforeUnmount"),R&64?A.type.remove(A,O,P,J,ne,K):Y&&(ee!==Te||V>0&&V&64)?Ee(Y,O,P,!1,!0):(ee===Te&&V&384||!J&&R&16)&&Ee(se,O,P),K&&fe(A)}(Fe&&(Ue=de&&de.onVnodeUnmounted)||Ce)&&Nt(()=>{Ue&&tn(Ue,O,A),Ce&&Zn(A,null,O,"unmounted")},P)},fe=A=>{const{type:O,el:P,anchor:K,transition:J}=A;if(O===Te){Ae(P,K);return}if(O===fo){C(A);return}const ee=()=>{o(P),J&&!J.persisted&&J.afterLeave&&J.afterLeave()};if(A.shapeFlag&1&&J&&!J.persisted){const{leave:de,delayLeave:ie}=J,se=()=>de(P,ee);ie?ie(A.el,ee,se):se()}else ee()},Ae=(A,O)=>{let P;for(;A!==O;)P=m(A),o(A),A=P;o(O)},Le=(A,O,P)=>{const{bum:K,scope:J,update:ee,subTree:de,um:ie}=A;K&&Uo(K),J.stop(),ee&&(ee.active=!1,W(de,A,O,P)),ie&&Nt(ie,O),Nt(()=>{A.isUnmounted=!0},O),O&&O.pendingBranch&&!O.isUnmounted&&A.asyncDep&&!A.asyncResolved&&A.suspenseId===O.pendingId&&(O.deps--,O.deps===0&&O.resolve())},Ee=(A,O,P,K=!1,J=!1,ee=0)=>{for(let de=ee;de<A.length;de++)W(A[de],O,P,K,J)},B=A=>A.shapeFlag&6?B(A.component.subTree):A.shapeFlag&128?A.suspense.next():m(A.anchor||A.el),le=(A,O,P)=>{A==null?O._vnode&&W(O._vnode,null,null,!0):_(O._vnode||null,A,O,null,null,null,P),Fm(),sl(),O._vnode=A},ne={p:_,um:W,m:ce,r:fe,mt:q,mc:I,pc:ye,pbc:U,n:B,o:e};let pe,Oe;return t&&([pe,Oe]=t(ne)),{render:le,hydrate:pe,createApp:jz(le,pe)}}function Qr({effect:e,update:t},n){e.allowRecurse=t.allowRecurse=n}function xd(e,t,n=!1){const r=e.children,o=t.children;if(ke(r)&&ke(o))for(let s=0;s<r.length;s++){const a=r[s];let i=o[s];i.shapeFlag&1&&!i.dynamicChildren&&((i.patchFlag<=0||i.patchFlag===32)&&(i=o[s]=Ir(o[s]),i.el=a.el),n||xd(a,i)),i.type===Wr&&(i.el=a.el)}}function Jz(e){const t=e.slice(),n=[0];let r,o,s,a,i;const l=e.length;for(r=0;r<l;r++){const c=e[r];if(c!==0){if(o=n[n.length-1],e[o]<c){t[r]=o,n.push(r);continue}for(s=0,a=n.length-1;s<a;)i=s+a>>1,e[n[i]]<c?s=i+1:a=i;c<e[n[s]]&&(s>0&&(t[r]=n[s-1]),n[s]=r)}}for(s=n.length,a=n[s-1];s-- >0;)n[s]=a,a=t[a];return n}const Xz=e=>e.__isTeleport,Ws=e=>e&&(e.disabled||e.disabled===""),Gm=e=>typeof SVGElement<"u"&&e instanceof SVGElement,ac=(e,t)=>{const n=e&&e.to;return zt(n)?t?t(n):null:n},Qz={__isTeleport:!0,process(e,t,n,r,o,s,a,i,l,c){const{mc:d,pc:f,pbc:m,o:{insert:p,querySelector:h,createText:_,createComment:z}}=c,b=Ws(t.props);let{shapeFlag:v,children:k,dynamicChildren:C}=t;if(e==null){const x=t.el=_(""),T=t.anchor=_("");p(x,n,r),p(T,n,r);const L=t.target=ac(t.props,h),I=t.targetAnchor=_("");L&&(p(I,L),a=a||Gm(L));const D=(U,Z)=>{v&16&&d(k,U,Z,o,s,a,i,l)};b?D(n,T):L&&D(L,I)}else{t.el=e.el;const x=t.anchor=e.anchor,T=t.target=e.target,L=t.targetAnchor=e.targetAnchor,I=Ws(e.props),D=I?n:T,U=I?x:L;if(a=a||Gm(T),C?(m(e.dynamicChildren,C,D,o,s,a,i),xd(e,t,!0)):l||f(e,t,D,U,o,s,a,i,!1),b)I||Ya(t,n,x,c,1);else if((t.props&&t.props.to)!==(e.props&&e.props.to)){const Z=t.target=ac(t.props,h);Z&&Ya(t,Z,null,c,0)}else I&&Ya(t,T,L,c,1)}y_(t)},remove(e,t,n,r,{um:o,o:{remove:s}},a){const{shapeFlag:i,children:l,anchor:c,targetAnchor:d,target:f,props:m}=e;if(f&&s(d),(a||!Ws(m))&&(s(c),i&16))for(let p=0;p<l.length;p++){const h=l[p];o(h,t,n,!0,!!h.dynamicChildren)}},move:Ya,hydrate:e0};function Ya(e,t,n,{o:{insert:r},m:o},s=2){s===0&&r(e.targetAnchor,t,n);const{el:a,anchor:i,shapeFlag:l,children:c,props:d}=e,f=s===2;if(f&&r(a,t,n),(!f||Ws(d))&&l&16)for(let m=0;m<c.length;m++)o(c[m],t,n,2);f&&r(i,t,n)}function e0(e,t,n,r,o,s,{o:{nextSibling:a,parentNode:i,querySelector:l}},c){const d=t.target=ac(t.props,l);if(d){const f=d._lpa||d.firstChild;if(t.shapeFlag&16)if(Ws(t.props))t.anchor=c(a(e),t,i(e),n,r,o,s),t.targetAnchor=f;else{t.anchor=a(e);let m=f;for(;m;)if(m=a(m),m&&m.nodeType===8&&m.data==="teleport anchor"){t.targetAnchor=m,d._lpa=t.targetAnchor&&a(t.targetAnchor);break}c(f,t,d,n,r,o,s)}y_(t)}return t.anchor&&a(t.anchor)}const Yr=Qz;function y_(e){const t=e.ctx;if(t&&t.ut){let n=e.children[0].el;for(;n!==e.targetAnchor;)n.nodeType===1&&n.setAttribute("data-v-owner",t.uid),n=n.nextSibling;t.ut()}}const Te=Symbol.for("v-fgt"),Wr=Symbol.for("v-txt"),Ut=Symbol.for("v-cmt"),fo=Symbol.for("v-stc"),Gs=[];let nn=null;function w(e=!1){Gs.push(nn=e?null:[])}function v_(){Gs.pop(),nn=Gs[Gs.length-1]||null}let yo=1;function ic(e){yo+=e}function b_(e){return e.dynamicChildren=yo>0?nn||Ho:null,v_(),yo>0&&nn&&nn.push(e),e}function $(e,t,n,r,o,s){return b_(u(e,t,n,r,o,s,!0))}function be(e,t,n,r,o){return b_(y(e,t,n,r,o,!0))}function Gr(e){return e?e.__v_isVNode===!0:!1}function Ln(e,t){return e.type===t.type&&e.key===t.key}function t0(e){}const Ml="__vInternal",z_=({key:e})=>e??null,ji=({ref:e,ref_key:t,ref_for:n})=>(typeof e=="number"&&(e=""+e),e!=null?zt(e)||Ot(e)||Me(e)?{i:Rt,r:e,k:t,f:!!n}:e:null);function u(e,t=null,n=null,r=0,o=null,s=e===Te?0:1,a=!1,i=!1){const l={__v_isVNode:!0,__v_skip:!0,type:e,props:t,key:t&&z_(t),ref:t&&ji(t),scopeId:Pl,slotScopeIds:null,children:n,component:null,suspense:null,ssContent:null,ssFallback:null,dirs:null,transition:null,el:null,anchor:null,target:null,targetAnchor:null,staticCount:0,shapeFlag:s,patchFlag:r,dynamicProps:o,dynamicChildren:null,appContext:null,ctx:Rt};return i?(Ed(l,n),s&128&&e.normalize(l)):n&&(l.shapeFlag|=zt(n)?8:16),yo>0&&!a&&nn&&(l.patchFlag>0||s&6)&&l.patchFlag!==32&&nn.push(l),l}const y=n0;function n0(e,t=null,n=null,r=0,o=null,s=!1){if((!e||e===o_)&&(e=Ut),Gr(e)){const i=sr(e,t,!0);return n&&Ed(i,n),yo>0&&!s&&nn&&(i.shapeFlag&6?nn[nn.indexOf(e)]=i:nn.push(i)),i.patchFlag|=-2,i}if(c0(e)&&(e=e.__vccOpts),t){t=C_(t);let{class:i,style:l}=t;i&&!zt(i)&&(t.class=De(i)),mt(l)&&(ud(l)&&!ke(l)&&(l=ht({},l)),t.style=Cr(l))}const a=zt(e)?1:Hh(e)?128:Xz(e)?64:mt(e)?4:Me(e)?2:0;return u(e,t,n,r,o,a,s,!0)}function C_(e){return e?ud(e)||Ml in e?ht({},e):e:null}function sr(e,t,n=!1){const{props:r,ref:o,patchFlag:s,children:a}=e,i=t?Mo(r||{},t):r;return{__v_isVNode:!0,__v_skip:!0,type:e.type,props:i,key:i&&z_(i),ref:t&&t.ref?n&&o?ke(o)?o.concat(ji(t)):[o,ji(t)]:ji(t):o,scopeId:e.scopeId,slotScopeIds:e.slotScopeIds,children:a,target:e.target,targetAnchor:e.targetAnchor,staticCount:e.staticCount,shapeFlag:e.shapeFlag,patchFlag:t&&e.type!==Te?s===-1?16:s|16:s,dynamicProps:e.dynamicProps,dynamicChildren:e.dynamicChildren,appContext:e.appContext,dirs:e.dirs,transition:e.transition,component:e.component,suspense:e.suspense,ssContent:e.ssContent&&sr(e.ssContent),ssFallback:e.ssFallback&&sr(e.ssFallback),el:e.el,anchor:e.anchor,ctx:e.ctx,ce:e.ce}}function ct(e=" ",t=0){return y(Wr,null,e,t)}function r0(e,t){const n=y(fo,null,e);return n.staticCount=t,n}function H(e="",t=!1){return t?(w(),be(Ut,null,e)):y(Ut,null,e)}function dn(e){return e==null||typeof e=="boolean"?y(Ut):ke(e)?y(Te,null,e.slice()):typeof e=="object"?Ir(e):y(Wr,null,String(e))}function Ir(e){return e.el===null&&e.patchFlag!==-1||e.memo?e:sr(e)}function Ed(e,t){let n=0;const{shapeFlag:r}=e;if(t==null)t=null;else if(ke(t))n=16;else if(typeof t=="object")if(r&65){const o=t.default;o&&(o._c&&(o._d=!1),Ed(e,o()),o._c&&(o._d=!0));return}else{n=32;const o=t._;!o&&!(Ml in t)?t._ctx=Rt:o===3&&Rt&&(Rt.slots._===1?t._=1:(t._=2,e.patchFlag|=1024))}else Me(t)?(t={default:t,_ctx:Rt},n=32):(t=String(t),r&64?(n=16,t=[ct(t)]):n=8);e.children=t,e.shapeFlag|=n}function Mo(...e){const t={};for(let n=0;n<e.length;n++){const r=e[n];for(const o in r)if(o==="class")t.class!==r.class&&(t.class=De([t.class,r.class]));else if(o==="style")t.style=Cr([t.style,r.style]);else if(za(o)){const s=t[o],a=r[o];a&&s!==a&&!(ke(s)&&s.includes(a))&&(t[o]=s?[].concat(s,a):a)}else o!==""&&(t[o]=r[o])}return t}function tn(e,t,n,r=null){gn(e,t,7,[n,r])}const o0=u_();let s0=0;function w_(e,t,n){const r=e.type,o=(t?t.appContext:e.appContext)||o0,s={uid:s0++,vnode:e,type:r,parent:t,appContext:o,root:null,next:null,subTree:null,effect:null,update:null,scope:new rd(!0),render:null,proxy:null,exposed:null,exposeProxy:null,withProxy:null,provides:t?t.provides:Object.create(o.provides),accessCache:null,renderCache:[],components:null,directives:null,propsOptions:d_(r,o),emitsOptions:Vh(r,o),emit:null,emitted:null,propsDefaults:dt,inheritAttrs:r.inheritAttrs,ctx:dt,data:dt,props:dt,attrs:dt,slots:dt,refs:dt,setupState:dt,setupContext:null,attrsProxy:null,slotsProxy:null,suspense:n,suspenseId:n?n.pendingId:0,asyncDep:null,asyncResolved:!1,isMounted:!1,isUnmounted:!1,isDeactivated:!1,bc:null,c:null,bm:null,m:null,bu:null,u:null,um:null,bum:null,da:null,a:null,rtg:null,rtc:null,ec:null,sp:null};return s.ctx={_:s},s.root=t?t.root:s,s.emit=X1.bind(null,s),e.ce&&e.ce(s),s}let Tt=null;const Tn=()=>Tt||Rt;let Sd,ko,Km="__VUE_INSTANCE_SETTERS__";(ko=Yu()[Km])||(ko=Yu()[Km]=[]),ko.push(e=>Tt=e),Sd=e=>{ko.length>1?ko.forEach(t=>t(e)):ko[0](e)};const Kr=e=>{Sd(e),e.scope.on()},jr=()=>{Tt&&Tt.scope.off(),Sd(null)};function k_(e){return e.vnode.shapeFlag&4}let Yo=!1;function x_(e,t=!1){Yo=t;const{props:n,children:r}=e.vnode,o=k_(e);qz(e,n,o,t),Kz(e,r);const s=o?a0(e,t):void 0;return Yo=!1,s}function a0(e,t){const n=e.type;e.accessCache=Object.create(null),e.proxy=cd(new Proxy(e.ctx,nc));const{setup:r}=n;if(r){const o=e.setupContext=r.length>1?S_(e):null;Kr(e),as();const s=gr(r,e,0,[e.props,o]);if(is(),jr(),td(s)){if(s.then(jr,jr),t)return s.then(a=>{lc(e,a,t)}).catch(a=>{bo(a,e,0)});e.asyncDep=s}else lc(e,s,t)}else E_(e,t)}function lc(e,t,n){Me(t)?e.type.__ssrInlineRender?e.ssrRender=t:e.render=t:mt(t)&&(e.setupState=fd(t)),E_(e,n)}let ll,uc;function i0(e){ll=e,uc=t=>{t.render._rc&&(t.withProxy=new Proxy(t.ctx,Cz))}}const l0=()=>!ll;function E_(e,t,n){const r=e.type;if(!e.render){if(!t&&ll&&!r.render){const o=r.template||wd(e).template;if(o){const{isCustomElement:s,compilerOptions:a}=e.appContext.config,{delimiters:i,compilerOptions:l}=r,c=ht(ht({isCustomElement:s,delimiters:i},a),l);r.render=ll(o,c)}}e.render=r.render||Nn,uc&&uc(e)}Kr(e),as(),Lz(e),is(),jr()}function u0(e){return e.attrsProxy||(e.attrsProxy=new Proxy(e.attrs,{get(t,n){return on(e,"get","$attrs"),t[n]}}))}function S_(e){const t=n=>{e.exposed=n||{}};return{get attrs(){return u0(e)},slots:e.slots,emit:e.emit,expose:t}}function Nl(e){if(e.exposed)return e.exposeProxy||(e.exposeProxy=new Proxy(fd(cd(e.exposed)),{get(t,n){if(n in t)return t[n];if(n in Us)return Us[n](e)},has(t,n){return n in t||n in Us}}))}function cc(e,t=!0){return Me(e)?e.displayName||e.name:e.name||t&&e.__name}function c0(e){return Me(e)&&"__vccOpts"in e}const Ft=(e,t)=>q1(e,t,Yo);function Qn(e,t,n){const r=arguments.length;return r===2?mt(t)&&!ke(t)?Gr(t)?y(e,null,[t]):y(e,t):y(e,null,t):(r>3?n=Array.prototype.slice.call(arguments,2):r===3&&Gr(n)&&(n=[n]),y(e,t,n))}const $_=Symbol.for("v-scx"),A_=()=>Bn($_);function d0(){}function m0(e,t,n,r){const o=n[r];if(o&&T_(o,e))return o;const s=t();return s.memo=e.slice(),n[r]=s}function T_(e,t){const n=e.memo;if(n.length!=t.length)return!1;for(let r=0;r<n.length;r++)if(Ko(n[r],t[r]))return!1;return yo>0&&nn&&nn.push(e),!0}const O_="3.3.4",f0={createComponentInstance:w_,setupComponent:x_,renderComponentRoot:Hi,setCurrentRenderingInstance:da,isVNode:Gr,normalizeVNode:dn},p0=f0,h0=null,_0=null,g0="http://www.w3.org/2000/svg",io=typeof document<"u"?document:null,Zm=io&&io.createElement("template"),y0={insert:(e,t,n)=>{t.insertBefore(e,n||null)},remove:e=>{const t=e.parentNode;t&&t.removeChild(e)},createElement:(e,t,n,r)=>{const o=t?io.createElementNS(g0,e):io.createElement(e,n?{is:n}:void 0);return e==="select"&&r&&r.multiple!=null&&o.setAttribute("multiple",r.multiple),o},createText:e=>io.createTextNode(e),createComment:e=>io.createComment(e),setText:(e,t)=>{e.nodeValue=t},setElementText:(e,t)=>{e.textContent=t},parentNode:e=>e.parentNode,nextSibling:e=>e.nextSibling,querySelector:e=>io.querySelector(e),setScopeId(e,t){e.setAttribute(t,"")},insertStaticContent(e,t,n,r,o,s){const a=n?n.previousSibling:t.lastChild;if(o&&(o===s||o.nextSibling))for(;t.insertBefore(o.cloneNode(!0),n),!(o===s||!(o=o.nextSibling)););else{Zm.innerHTML=r?`<svg>${e}</svg>`:e;const i=Zm.content;if(r){const l=i.firstChild;for(;l.firstChild;)i.appendChild(l.firstChild);i.removeChild(l)}t.insertBefore(i,n)}return[a?a.nextSibling:t.firstChild,n?n.previousSibling:t.lastChild]}};function v0(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 b0(e,t,n){const r=e.style,o=zt(n);if(n&&!o){if(t&&!zt(t))for(const s in t)n[s]==null&&dc(r,s,"");for(const s in n)dc(r,s,n[s])}else{const s=r.display;o?t!==n&&(r.cssText=n):t&&e.removeAttribute("style"),"_vod"in e&&(r.display=s)}}const Ym=/\s*!important$/;function dc(e,t,n){if(ke(n))n.forEach(r=>dc(e,t,r));else if(n==null&&(n=""),t.startsWith("--"))e.setProperty(t,n);else{const r=z0(e,t);Ym.test(n)?e.setProperty(xn(r),n.replace(Ym,""),"important"):e[r]=n}}const Jm=["Webkit","Moz","ms"],hu={};function z0(e,t){const n=hu[t];if(n)return n;let r=rn(t);if(r!=="filter"&&r in e)return hu[t]=r;r=Ca(r);for(let o=0;o<Jm.length;o++){const s=Jm[o]+r;if(s in e)return hu[t]=s}return t}const Xm="http://www.w3.org/1999/xlink";function C0(e,t,n,r,o){if(r&&t.startsWith("xlink:"))n==null?e.removeAttributeNS(Xm,t.slice(6,t.length)):e.setAttributeNS(Xm,t,n);else{const s=e1(t);n==null||s&&!yh(n)?e.removeAttribute(t):e.setAttribute(t,s?"":n)}}function w0(e,t,n,r,o,s,a){if(t==="innerHTML"||t==="textContent"){r&&a(r,o,s),e[t]=n??"";return}const i=e.tagName;if(t==="value"&&i!=="PROGRESS"&&!i.includes("-")){e._value=n;const c=i==="OPTION"?e.getAttribute("value"):e.value,d=n??"";c!==d&&(e.value=d),n==null&&e.removeAttribute(t);return}let l=!1;if(n===""||n==null){const c=typeof e[t];c==="boolean"?n=yh(n):n==null&&c==="string"?(n="",l=!0):c==="number"&&(n=0,l=!0)}try{e[t]=n}catch{}l&&e.removeAttribute(t)}function hr(e,t,n,r){e.addEventListener(t,n,r)}function k0(e,t,n,r){e.removeEventListener(t,n,r)}function x0(e,t,n,r,o=null){const s=e._vei||(e._vei={}),a=s[t];if(r&&a)a.value=r;else{const[i,l]=E0(t);if(r){const c=s[t]=A0(r,o);hr(e,i,c,l)}else a&&(k0(e,i,a,l),s[t]=void 0)}}const Qm=/(?:Once|Passive|Capture)$/;function E0(e){let t;if(Qm.test(e)){t={};let r;for(;r=e.match(Qm);)e=e.slice(0,e.length-r[0].length),t[r[0].toLowerCase()]=!0}return[e[2]===":"?e.slice(3):xn(e.slice(2)),t]}let _u=0;const S0=Promise.resolve(),$0=()=>_u||(S0.then(()=>_u=0),_u=Date.now());function A0(e,t){const n=r=>{if(!r._vts)r._vts=Date.now();else if(r._vts<=n.attached)return;gn(T0(r,n.value),t,5,[r])};return n.value=e,n.attached=$0(),n}function T0(e,t){if(ke(t)){const n=e.stopImmediatePropagation;return e.stopImmediatePropagation=()=>{n.call(e),e._stopped=!0},t.map(r=>o=>!o._stopped&&r&&r(o))}else return t}const ef=/^on[a-z]/,O0=(e,t,n,r,o=!1,s,a,i,l)=>{t==="class"?v0(e,r,o):t==="style"?b0(e,n,r):za(t)?Qc(t)||x0(e,t,n,r,a):(t[0]==="."?(t=t.slice(1),!0):t[0]==="^"?(t=t.slice(1),!1):D0(e,t,r,o))?w0(e,t,r,s,a,i,l):(t==="true-value"?e._trueValue=r:t==="false-value"&&(e._falseValue=r),C0(e,t,r,o))};function D0(e,t,n,r){return r?!!(t==="innerHTML"||t==="textContent"||t in e&&ef.test(t)&&Me(n)):t==="spellcheck"||t==="draggable"||t==="translate"||t==="form"||t==="list"&&e.tagName==="INPUT"||t==="type"&&e.tagName==="TEXTAREA"||ef.test(t)&&zt(n)?!1:t in e}function D_(e,t){const n=us(e);class r extends Bl{constructor(s){super(n,s,t)}}return r.def=n,r}const P0=e=>D_(e,W_),I0=typeof HTMLElement<"u"?HTMLElement:class{};class Bl extends I0{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"}),this._def.__asyncLoader||this._resolveProps(this._def))}connectedCallback(){this._connected=!0,this._instance||(this._resolved?this._update():this._resolveDef())}disconnectedCallback(){this._connected=!1,ka(()=>{this._connected||(pc(null,this.shadowRoot),this._instance=null)})}_resolveDef(){this._resolved=!0;for(let r=0;r<this.attributes.length;r++)this._setAttr(this.attributes[r].name);new MutationObserver(r=>{for(const o of r)this._setAttr(o.attributeName)}).observe(this,{attributes:!0});const t=(r,o=!1)=>{const{props:s,styles:a}=r;let i;if(s&&!ke(s))for(const l in s){const c=s[l];(c===Number||c&&c.type===Number)&&(l in this._props&&(this._props[l]=rl(this._props[l])),(i||(i=Object.create(null)))[rn(l)]=!0)}this._numberProps=i,o&&this._resolveProps(r),this._applyStyles(a),this._update()},n=this._def.__asyncLoader;n?n().then(r=>t(r,!0)):t(this._def)}_resolveProps(t){const{props:n}=t,r=ke(n)?n:Object.keys(n||{});for(const o of Object.keys(this))o[0]!=="_"&&r.includes(o)&&this._setProp(o,this[o],!0,!1);for(const o of r.map(rn))Object.defineProperty(this,o,{get(){return this._getProp(o)},set(s){this._setProp(o,s)}})}_setAttr(t){let n=this.getAttribute(t);const r=rn(t);this._numberProps&&this._numberProps[r]&&(n=rl(n)),this._setProp(r,n,!1)}_getProp(t){return this._props[t]}_setProp(t,n,r=!0,o=!0){n!==this._props[t]&&(this._props[t]=n,o&&this._instance&&this._update(),r&&(n===!0?this.setAttribute(xn(t),""):typeof n=="string"||typeof n=="number"?this.setAttribute(xn(t),n+""):n||this.removeAttribute(xn(t))))}_update(){pc(this._createVNode(),this.shadowRoot)}_createVNode(){const t=y(this._def,ht({},this._props));return this._instance||(t.ce=n=>{this._instance=n,n.isCE=!0;const r=(s,a)=>{this.dispatchEvent(new CustomEvent(s,{detail:a}))};n.emit=(s,...a)=>{r(s,a),xn(s)!==s&&r(xn(s),a)};let o=this;for(;o=o&&(o.parentNode||o.host);)if(o instanceof Bl){n.parent=o._instance,n.provides=o._instance.provides;break}}),t}_applyStyles(t){t&&t.forEach(n=>{const r=document.createElement("style");r.textContent=n,this.shadowRoot.appendChild(r)})}}function F0(e="$style"){{const t=Tn();if(!t)return dt;const n=t.type.__cssModules;if(!n)return dt;const r=n[e];return r||dt}}function R0(e){const t=Tn();if(!t)return;const n=t.ut=(o=e(t.proxy))=>{Array.from(document.querySelectorAll(`[data-v-owner="${t.uid}"]`)).forEach(s=>fc(s,o))},r=()=>{const o=e(t.proxy);mc(t.subTree,o),n(o)};qh(r),cs(()=>{const o=new MutationObserver(r);o.observe(t.subTree.el.parentNode,{childList:!0}),Sa(()=>o.disconnect())})}function mc(e,t){if(e.shapeFlag&128){const n=e.suspense;e=n.activeBranch,n.pendingBranch&&!n.isHydrating&&n.effects.push(()=>{mc(n.activeBranch,t)})}for(;e.component;)e=e.component.subTree;if(e.shapeFlag&1&&e.el)fc(e.el,t);else if(e.type===Te)e.children.forEach(n=>mc(n,t));else if(e.type===fo){let{el:n,anchor:r}=e;for(;n&&(fc(n,t),n!==r);)n=n.nextSibling}}function fc(e,t){if(e.nodeType===1){const n=e.style;for(const r in t)n.setProperty(`--${r}`,t[r])}}const Sr="transition",vs="animation",Dt=(e,{slots:t})=>Qn(Gh,I_(e),t);Dt.displayName="Transition";const P_={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},L0=Dt.props=ht({},vd,P_),eo=(e,t=[])=>{ke(e)?e.forEach(n=>n(...t)):e&&e(...t)},tf=e=>e?ke(e)?e.some(t=>t.length>1):e.length>1:!1;function I_(e){const t={};for(const X in e)X in P_||(t[X]=e[X]);if(e.css===!1)return t;const{name:n="v",type:r,duration:o,enterFromClass:s=`${n}-enter-from`,enterActiveClass:a=`${n}-enter-active`,enterToClass:i=`${n}-enter-to`,appearFromClass:l=s,appearActiveClass:c=a,appearToClass:d=i,leaveFromClass:f=`${n}-leave-from`,leaveActiveClass:m=`${n}-leave-active`,leaveToClass:p=`${n}-leave-to`}=e,h=M0(o),_=h&&h[0],z=h&&h[1],{onBeforeEnter:b,onEnter:v,onEnterCancelled:k,onLeave:C,onLeaveCancelled:x,onBeforeAppear:T=b,onAppear:L=v,onAppearCancelled:I=k}=t,D=(X,j,q)=>{Pr(X,j?d:i),Pr(X,j?c:a),q&&q()},U=(X,j)=>{X._isLeaving=!1,Pr(X,f),Pr(X,p),Pr(X,m),j&&j()},Z=X=>(j,q)=>{const ze=X?L:v,te=()=>D(j,X,q);eo(ze,[j,te]),nf(()=>{Pr(j,X?l:s),fr(j,X?d:i),tf(ze)||rf(j,r,_,te)})};return ht(t,{onBeforeEnter(X){eo(b,[X]),fr(X,s),fr(X,a)},onBeforeAppear(X){eo(T,[X]),fr(X,l),fr(X,c)},onEnter:Z(!1),onAppear:Z(!0),onLeave(X,j){X._isLeaving=!0;const q=()=>U(X,j);fr(X,f),R_(),fr(X,m),nf(()=>{X._isLeaving&&(Pr(X,f),fr(X,p),tf(C)||rf(X,r,z,q))}),eo(C,[X,q])},onEnterCancelled(X){D(X,!1),eo(k,[X])},onAppearCancelled(X){D(X,!0),eo(I,[X])},onLeaveCancelled(X){U(X),eo(x,[X])}})}function M0(e){if(e==null)return null;if(mt(e))return[gu(e.enter),gu(e.leave)];{const t=gu(e);return[t,t]}}function gu(e){return rl(e)}function fr(e,t){t.split(/\s+/).forEach(n=>n&&e.classList.add(n)),(e._vtc||(e._vtc=new Set)).add(t)}function Pr(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 nf(e){requestAnimationFrame(()=>{requestAnimationFrame(e)})}let N0=0;function rf(e,t,n,r){const o=e._endId=++N0,s=()=>{o===e._endId&&r()};if(n)return setTimeout(s,n);const{type:a,timeout:i,propCount:l}=F_(e,t);if(!a)return r();const c=a+"end";let d=0;const f=()=>{e.removeEventListener(c,m),s()},m=p=>{p.target===e&&++d>=l&&f()};setTimeout(()=>{d<l&&f()},i+1),e.addEventListener(c,m)}function F_(e,t){const n=window.getComputedStyle(e),r=h=>(n[h]||"").split(", "),o=r(`${Sr}Delay`),s=r(`${Sr}Duration`),a=of(o,s),i=r(`${vs}Delay`),l=r(`${vs}Duration`),c=of(i,l);let d=null,f=0,m=0;t===Sr?a>0&&(d=Sr,f=a,m=s.length):t===vs?c>0&&(d=vs,f=c,m=l.length):(f=Math.max(a,c),d=f>0?a>c?Sr:vs:null,m=d?d===Sr?s.length:l.length:0);const p=d===Sr&&/\b(transform|all)(,|$)/.test(r(`${Sr}Property`).toString());return{type:d,timeout:f,propCount:m,hasTransform:p}}function of(e,t){for(;e.length<t.length;)e=e.concat(e);return Math.max(...t.map((n,r)=>sf(n)+sf(e[r])))}function sf(e){return Number(e.slice(0,-1).replace(",","."))*1e3}function R_(){return document.body.offsetHeight}const L_=new WeakMap,M_=new WeakMap,N_={name:"TransitionGroup",props:ht({},L0,{tag:String,moveClass:String}),setup(e,{slots:t}){const n=Tn(),r=yd();let o,s;return Rl(()=>{if(!o.length)return;const a=e.moveClass||`${e.name||"v"}-move`;if(!q0(o[0].el,n.vnode.el,a))return;o.forEach(H0),o.forEach(j0);const i=o.filter(U0);R_(),i.forEach(l=>{const c=l.el,d=c.style;fr(c,a),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,Pr(c,a))};c.addEventListener("transitionend",f)})}),()=>{const a=et(e),i=I_(a);let l=a.tag||Te;o=s,s=t.default?Il(t.default()):[];for(let c=0;c<s.length;c++){const d=s[c];d.key!=null&&go(d,Zo(d,i,r,n))}if(o)for(let c=0;c<o.length;c++){const d=o[c];go(d,Zo(d,i,r,n)),L_.set(d,d.el.getBoundingClientRect())}return y(l,null,s)}}},B0=e=>delete e.mode;N_.props;const V0=N_;function H0(e){const t=e.el;t._moveCb&&t._moveCb(),t._enterCb&&t._enterCb()}function j0(e){M_.set(e,e.el.getBoundingClientRect())}function U0(e){const t=L_.get(e),n=M_.get(e),r=t.left-n.left,o=t.top-n.top;if(r||o){const s=e.el.style;return s.transform=s.webkitTransform=`translate(${r}px,${o}px)`,s.transitionDuration="0s",e}}function q0(e,t,n){const r=e.cloneNode();e._vtc&&e._vtc.forEach(a=>{a.split(/\s+/).forEach(i=>i&&r.classList.remove(i))}),n.split(/\s+/).forEach(a=>a&&r.classList.add(a)),r.style.display="none";const o=t.nodeType===1?t:t.parentNode;o.appendChild(r);const{hasTransform:s}=F_(r);return o.removeChild(r),s}const Zr=e=>{const t=e.props["onUpdate:modelValue"]||!1;return ke(t)?n=>Uo(t,n):t};function W0(e){e.target.composing=!0}function af(e){const t=e.target;t.composing&&(t.composing=!1,t.dispatchEvent(new Event("input")))}const sn={created(e,{modifiers:{lazy:t,trim:n,number:r}},o){e._assign=Zr(o);const s=r||o.props&&o.props.type==="number";hr(e,t?"change":"input",a=>{if(a.target.composing)return;let i=e.value;n&&(i=i.trim()),s&&(i=nl(i)),e._assign(i)}),n&&hr(e,"change",()=>{e.value=e.value.trim()}),t||(hr(e,"compositionstart",W0),hr(e,"compositionend",af),hr(e,"change",af))},mounted(e,{value:t}){e.value=t??""},beforeUpdate(e,{value:t,modifiers:{lazy:n,trim:r,number:o}},s){if(e._assign=Zr(s),e.composing||document.activeElement===e&&e.type!=="range"&&(n||r&&e.value.trim()===t||(o||e.type==="number")&&nl(e.value)===t))return;const a=t??"";e.value!==a&&(e.value=a)}},ar={deep:!0,created(e,t,n){e._assign=Zr(n),hr(e,"change",()=>{const r=e._modelValue,o=Jo(e),s=e.checked,a=e._assign;if(ke(r)){const i=xl(r,o),l=i!==-1;if(s&&!l)a(r.concat(o));else if(!s&&l){const c=[...r];c.splice(i,1),a(c)}}else if(vo(r)){const i=new Set(r);s?i.add(o):i.delete(o),a(i)}else a(B_(e,s))})},mounted:lf,beforeUpdate(e,t,n){e._assign=Zr(n),lf(e,t,n)}};function lf(e,{value:t,oldValue:n},r){e._modelValue=t,ke(t)?e.checked=xl(t,r.props.value)>-1:vo(t)?e.checked=t.has(r.props.value):t!==n&&(e.checked=Ur(t,B_(e,!0)))}const $d={created(e,{value:t},n){e.checked=Ur(t,n.props.value),e._assign=Zr(n),hr(e,"change",()=>{e._assign(Jo(e))})},beforeUpdate(e,{value:t,oldValue:n},r){e._assign=Zr(r),t!==n&&(e.checked=Ur(t,r.props.value))}},Ad={deep:!0,created(e,{value:t,modifiers:{number:n}},r){const o=vo(t);hr(e,"change",()=>{const s=Array.prototype.filter.call(e.options,a=>a.selected).map(a=>n?nl(Jo(a)):Jo(a));e._assign(e.multiple?o?new Set(s):s:s[0])}),e._assign=Zr(r)},mounted(e,{value:t}){uf(e,t)},beforeUpdate(e,t,n){e._assign=Zr(n)},updated(e,{value:t}){uf(e,t)}};function uf(e,t){const n=e.multiple;if(!(n&&!ke(t)&&!vo(t))){for(let r=0,o=e.options.length;r<o;r++){const s=e.options[r],a=Jo(s);if(n)ke(t)?s.selected=xl(t,a)>-1:s.selected=t.has(a);else if(Ur(Jo(s),t)){e.selectedIndex!==r&&(e.selectedIndex=r);return}}!n&&e.selectedIndex!==-1&&(e.selectedIndex=-1)}}function Jo(e){return"_value"in e?e._value:e.value}function B_(e,t){const n=t?"_trueValue":"_falseValue";return n in e?e[n]:t}const V_={created(e,t,n){Ja(e,t,n,null,"created")},mounted(e,t,n){Ja(e,t,n,null,"mounted")},beforeUpdate(e,t,n,r){Ja(e,t,n,r,"beforeUpdate")},updated(e,t,n,r){Ja(e,t,n,r,"updated")}};function H_(e,t){switch(e){case"SELECT":return Ad;case"TEXTAREA":return sn;default:switch(t){case"checkbox":return ar;case"radio":return $d;default:return sn}}}function Ja(e,t,n,r,o){const a=H_(e.tagName,n.props&&n.props.type)[o];a&&a(e,t,n,r)}function G0(){sn.getSSRProps=({value:e})=>({value:e}),$d.getSSRProps=({value:e},t)=>{if(t.props&&Ur(t.props.value,e))return{checked:!0}},ar.getSSRProps=({value:e},t)=>{if(ke(e)){if(t.props&&xl(e,t.props.value)>-1)return{checked:!0}}else if(vo(e)){if(t.props&&e.has(t.props.value))return{checked:!0}}else if(e)return{checked:!0}},V_.getSSRProps=(e,t)=>{if(typeof t.type!="string")return;const n=H_(t.type.toUpperCase(),t.props&&t.props.type);if(n.getSSRProps)return n.getSSRProps(e,t)}}const K0=["ctrl","shift","alt","meta"],Z0={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)=>K0.some(n=>e[`${n}Key`]&&!t.includes(n))},st=(e,t)=>(n,...r)=>{for(let o=0;o<t.length;o++){const s=Z0[t[o]];if(s&&s(n,t))return}return e(n,...r)},Y0={esc:"escape",space:" ",up:"arrow-up",left:"arrow-left",right:"arrow-right",down:"arrow-down",delete:"backspace"},mn=(e,t)=>n=>{if(!("key"in n))return;const r=xn(n.key);if(t.some(o=>o===r||Y0[o]===r))return e(n)},ha={beforeMount(e,{value:t},{transition:n}){e._vod=e.style.display==="none"?"":e.style.display,n&&t?n.beforeEnter(e):bs(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),bs(e,!0),r.enter(e)):r.leave(e,()=>{bs(e,!1)}):bs(e,t))},beforeUnmount(e,{value:t}){bs(e,t)}};function bs(e,t){e.style.display=t?e._vod:"none"}function J0(){ha.getSSRProps=({value:e})=>{if(!e)return{style:{display:"none"}}}}const j_=ht({patchProp:O0},y0);let Ks,cf=!1;function U_(){return Ks||(Ks=h_(j_))}function q_(){return Ks=cf?Ks:__(j_),cf=!0,Ks}const pc=(...e)=>{U_().render(...e)},W_=(...e)=>{q_().hydrate(...e)},G_=(...e)=>{const t=U_().createApp(...e),{mount:n}=t;return t.mount=r=>{const o=K_(r);if(!o)return;const s=t._component;!Me(s)&&!s.render&&!s.template&&(s.template=o.innerHTML),o.innerHTML="";const a=n(o,!1,o instanceof SVGElement);return o instanceof Element&&(o.removeAttribute("v-cloak"),o.setAttribute("data-v-app","")),a},t},X0=(...e)=>{const t=q_().createApp(...e),{mount:n}=t;return t.mount=r=>{const o=K_(r);if(o)return n(o,!0,o instanceof SVGElement)},t};function K_(e){return zt(e)?document.querySelector(e):e}let df=!1;const Q0=()=>{df||(df=!0,G0(),J0())},eC=()=>{},tC=Object.freeze(Object.defineProperty({__proto__:null,BaseTransition:Gh,BaseTransitionPropsValidators:vd,Comment:Ut,EffectScope:rd,Fragment:Te,KeepAlive:yz,ReactiveEffect:wa,Static:fo,Suspense:iz,Teleport:Yr,Text:Wr,Transition:Dt,TransitionGroup:V0,VueElement:Bl,assertNumber:G1,callWithAsyncErrorHandling:gn,callWithErrorHandling:gr,camelize:rn,capitalize:Ca,cloneVNode:sr,compatUtils:_0,compile:eC,computed:Ft,createApp:G_,createBlock:be,createCommentVNode:H,createElementBlock:$,createElementVNode:u,createHydrationRenderer:__,createPropsRestProxy:Fz,createRenderer:h_,createSSRApp:X0,createSlots:$a,createStaticVNode:r0,createTextVNode:ct,createVNode:y,customRef:N1,defineAsyncComponent:_z,defineComponent:us,defineCustomElement:D_,defineEmits:kz,defineExpose:xz,defineModel:$z,defineOptions:Ez,defineProps:wz,defineSSRCustomElement:P0,defineSlots:Sz,get devtools(){return Po},effect:s1,effectScope:od,getCurrentInstance:Tn,getCurrentScope:zh,getTransitionRawChildren:Il,guardReactiveProps:C_,h:Qn,handleError:bo,hasInjectionContext:Uz,hydrate:W_,initCustomFormatter:d0,initDirectivesForSSR:Q0,inject:Bn,isMemoSame:T_,isProxy:ud,isReactive:co,isReadonly:_o,isRef:Ot,isRuntimeOnly:l0,isShallow:ia,isVNode:Gr,markRaw:cd,mergeDefaults:Pz,mergeModels:Iz,mergeProps:Mo,nextTick:ka,normalizeClass:De,normalizeProps:Ds,normalizeStyle:Cr,onActivated:Zh,onBeforeMount:Xh,onBeforeUnmount:Ll,onBeforeUpdate:Qh,onDeactivated:Yh,onErrorCaptured:r_,onMounted:cs,onRenderTracked:n_,onRenderTriggered:t_,onScopeDispose:n1,onServerPrefetch:e_,onUnmounted:Sa,onUpdated:Rl,openBlock:w,popScopeId:ez,provide:qs,proxyRefs:fd,pushScopeId:Q1,queuePostFlushCb:hd,reactive:ls,readonly:ld,ref:Gt,registerRuntimeCompiler:i0,render:pc,renderList:ft,renderSlot:lt,resolveComponent:S,resolveDirective:zd,resolveDynamicComponent:s_,resolveFilter:h0,resolveTransitionHooks:Zo,setBlockTracking:ic,setDevtoolsHook:Bh,setTransitionHooks:go,shallowReactive:id,shallowReadonly:P1,shallowRef:Ih,ssrContextKey:$_,ssrUtils:p0,stop:a1,toDisplayString:g,toHandlerKey:js,toHandlers:zz,toRaw:et,toRef:j1,toRefs:B1,toValue:R1,transformVNodeArgs:t0,triggerRef:F1,unref:pn,useAttrs:Oz,useCssModule:F0,useCssVars:R0,useModel:Dz,useSSRContext:A_,useSlots:Tz,useTransitionState:yd,vModelCheckbox:ar,vModelDynamic:V_,vModelRadio:$d,vModelSelect:Ad,vModelText:sn,vShow:ha,version:O_,warn:W1,watch:Jt,watchEffect:Uh,watchPostEffect:qh,watchSyncEffect:fz,withAsyncContext:Rz,withCtx:E,withDefaults:Az,withDirectives:bt,withKeys:mn,withMemo:m0,withModifiers:st,withScopeId:tz},Symbol.toStringTag,{value:"Module"}));/*!
* shared v9.2.2
* (c) 2022 kazuya kawaguchi
* Released under the MIT License.
*/const hc=typeof window<"u",nC=typeof Symbol=="function"&&typeof Symbol.toStringTag=="symbol",Jr=e=>nC?Symbol(e):e,_a=e=>typeof e=="number"&&isFinite(e),mf=e=>Y_(e)==="[object RegExp]",rC=e=>Yn(e)&&Object.keys(e).length===0,nr=Object.assign;let ff;const Z_=()=>ff||(ff=typeof globalThis<"u"?globalThis:typeof self<"u"?self:typeof window<"u"?window:typeof global<"u"?global:{}),oC=Object.prototype.hasOwnProperty;function Td(e,t){return oC.call(e,t)}const er=Array.isArray,Xa=e=>typeof e=="function",Pt=e=>typeof e=="string",Fr=e=>typeof e=="boolean",Vn=e=>e!==null&&typeof e=="object",sC=Object.prototype.toString,Y_=e=>sC.call(e),Yn=e=>Y_(e)==="[object Object]";/*!
* shared v9.2.2
* (c) 2022 kazuya kawaguchi
* Released under the MIT License.
*/const aC=(e,t,n)=>iC({l:e,k:t,s:n}),iC=e=>JSON.stringify(e).replace(/\u2028/g,"\\u2028").replace(/\u2029/g,"\\u2029").replace(/\u0027/g,"\\u0027"),hn=e=>typeof e=="number"&&isFinite(e),lC=e=>Dd(e)==="[object Date]",pf=e=>Dd(e)==="[object RegExp]",Od=e=>vt(e)&&Object.keys(e).length===0;function uC(e,t){typeof console<"u"&&(console.warn("[intlify] "+e),t&&console.warn(t.stack))}const Aa=Object.assign;let hf;const cC=()=>hf||(hf=typeof globalThis<"u"?globalThis:typeof self<"u"?self:typeof window<"u"?window:typeof global<"u"?global:{});function _f(e){return e.replace(/</g,"&lt;").replace(/>/g,"&gt;").replace(/"/g,"&quot;").replace(/'/g,"&apos;")}const rr=Array.isArray,fn=e=>typeof e=="function",We=e=>typeof e=="string",_n=e=>typeof e=="boolean",Kt=e=>e!==null&&typeof e=="object",J_=Object.prototype.toString,Dd=e=>J_.call(e),vt=e=>Dd(e)==="[object Object]",dC=e=>e==null?"":rr(e)||vt(e)&&e.toString===J_?JSON.stringify(e,null,2):String(e);/*!
* message-compiler v9.2.2
* (c) 2022 kazuya kawaguchi
* Released under the MIT License.
*/const X_={EXPECTED_TOKEN:1,INVALID_TOKEN_IN_PLACEHOLDER:2,UNTERMINATED_SINGLE_QUOTE_IN_PLACEHOLDER:3,UNKNOWN_ESCAPE_SEQUENCE:4,INVALID_UNICODE_ESCAPE_SEQUENCE:5,UNBALANCED_CLOSING_BRACE:6,UNTERMINATED_CLOSING_BRACE:7,EMPTY_PLACEHOLDER:8,NOT_ALLOW_NEST_PLACEHOLDER:9,INVALID_LINKED_FORMAT:10,MUST_HAVE_MESSAGES_IN_PLURAL:11,UNEXPECTED_EMPTY_LINKED_MODIFIER:12,UNEXPECTED_EMPTY_LINKED_KEY:13,UNEXPECTED_LEXICAL_ANALYSIS:14,__EXTEND_POINT__:15};function Q_(e,t,n={}){const{domain:r,messages:o,args:s}=n,a=e,i=new SyntaxError(String(a));return i.code=e,t&&(i.location=t),i.domain=r,i}/*!
* devtools-if v9.2.2
* (c) 2022 kazuya kawaguchi
* Released under the MIT License.
*/const eg={I18nInit:"i18n:init",FunctionTranslate:"function:translate"};/*!
* core-base v9.2.2
* (c) 2022 kazuya kawaguchi
* Released under the MIT License.
*/const Xr=[];Xr[0]={w:[0],i:[3,0],"[":[4],o:[7]};Xr[1]={w:[1],".":[2],"[":[4],o:[7]};Xr[2]={w:[2],i:[3,0],0:[3,0]};Xr[3]={i:[3,0],0:[3,0],w:[1,1],".":[2,1],"[":[4,1],o:[7,1]};Xr[4]={"'":[5,0],'"':[6,0],"[":[4,2],"]":[1,3],o:8,l:[4,0]};Xr[5]={"'":[4,0],o:8,l:[5,0]};Xr[6]={'"':[4,0],o:8,l:[6,0]};const mC=/^\s?(?:true|false|-?[\d.]+|'[^']*'|"[^"]*")\s?$/;function fC(e){return mC.test(e)}function pC(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 hC(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 _C(e){const t=e.trim();return e.charAt(0)==="0"&&isNaN(parseInt(e))?!1:fC(t)?pC(t):"*"+t}function gC(e){const t=[];let n=-1,r=0,o=0,s,a,i,l,c,d,f;const m=[];m[0]=()=>{a===void 0?a=i:a+=i},m[1]=()=>{a!==void 0&&(t.push(a),a=void 0)},m[2]=()=>{m[0](),o++},m[3]=()=>{if(o>0)o--,r=4,m[0]();else{if(o=0,a===void 0||(a=_C(a),a===!1))return!1;m[1]()}};function p(){const h=e[n+1];if(r===5&&h==="'"||r===6&&h==='"')return n++,i="\\"+h,m[0](),!0}for(;r!==null;)if(n++,s=e[n],!(s==="\\"&&p())){if(l=hC(s),f=Xr[r],c=f[l]||f.l||8,c===8||(r=c[0],c[1]!==void 0&&(d=m[c[1]],d&&(i=s,d()===!1))))return;if(r===7)return t}}const gf=new Map;function yC(e,t){return Kt(e)?e[t]:null}function vC(e,t){if(!Kt(e))return null;let n=gf.get(t);if(n||(n=gC(t),n&&gf.set(t,n)),!n)return null;const r=n.length;let o=e,s=0;for(;s<r;){const a=o[n[s]];if(a===void 0)return null;o=a,s++}return o}const bC=e=>e,zC=e=>"",CC="text",wC=e=>e.length===0?"":e.join(""),kC=dC;function yf(e,t){return e=Math.abs(e),t===2?e?e>1?1:0:1:e?Math.min(e,2):0}function xC(e){const t=hn(e.pluralIndex)?e.pluralIndex:-1;return e.named&&(hn(e.named.count)||hn(e.named.n))?hn(e.named.count)?e.named.count:hn(e.named.n)?e.named.n:t:t}function EC(e,t){t.count||(t.count=e),t.n||(t.n=e)}function SC(e={}){const t=e.locale,n=xC(e),r=Kt(e.pluralRules)&&We(t)&&fn(e.pluralRules[t])?e.pluralRules[t]:yf,o=Kt(e.pluralRules)&&We(t)&&fn(e.pluralRules[t])?yf:void 0,s=b=>b[r(n,b.length,o)],a=e.list||[],i=b=>a[b],l=e.named||{};hn(e.pluralIndex)&&EC(n,l);const c=b=>l[b];function d(b){const v=fn(e.messages)?e.messages(b):Kt(e.messages)?e.messages[b]:!1;return v||(e.parent?e.parent.message(b):zC)}const f=b=>e.modifiers?e.modifiers[b]:bC,m=vt(e.processor)&&fn(e.processor.normalize)?e.processor.normalize:wC,p=vt(e.processor)&&fn(e.processor.interpolate)?e.processor.interpolate:kC,h=vt(e.processor)&&We(e.processor.type)?e.processor.type:CC,z={list:i,named:c,plural:s,linked:(b,...v)=>{const[k,C]=v;let x="text",T="";v.length===1?Kt(k)?(T=k.modifier||T,x=k.type||x):We(k)&&(T=k||T):v.length===2&&(We(k)&&(T=k||T),We(C)&&(x=C||x));let L=d(b)(z);return x==="vnode"&&rr(L)&&T&&(L=L[0]),T?f(T)(L,x):L},message:d,type:h,interpolate:p,normalize:m};return z}let ga=null;function $C(e){ga=e}function AC(e,t,n){ga&&ga.emit(eg.I18nInit,{timestamp:Date.now(),i18n:e,version:t,meta:n})}const TC=OC(eg.FunctionTranslate);function OC(e){return t=>ga&&ga.emit(e,t)}function DC(e,t,n){return[...new Set([n,...rr(t)?t:Kt(t)?Object.keys(t):We(t)?[t]:[n]])]}function tg(e,t,n){const r=We(n)?n:Pd,o=e;o.__localeChainCache||(o.__localeChainCache=new Map);let s=o.__localeChainCache.get(r);if(!s){s=[];let a=[n];for(;rr(a);)a=vf(s,a,t);const i=rr(t)||!vt(t)?t:t.default?t.default:null;a=We(i)?[i]:i,rr(a)&&vf(s,a,!1),o.__localeChainCache.set(r,s)}return s}function vf(e,t,n){let r=!0;for(let o=0;o<t.length&&_n(r);o++){const s=t[o];We(s)&&(r=PC(e,t[o],n))}return r}function PC(e,t,n){let r;const o=t.split("-");do{const s=o.join("-");r=IC(e,s,n),o.splice(-1,1)}while(o.length&&r===!0);return r}function IC(e,t,n){let r=!1;if(!e.includes(t)&&(r=!0,t)){r=t[t.length-1]!=="!";const o=t.replace(/!/g,"");e.push(o),(rr(n)||vt(n))&&n[o]&&(r=n[o])}return r}const FC="9.2.2",Vl=-1,Pd="en-US",bf="",zf=e=>`${e.charAt(0).toLocaleUpperCase()}${e.substr(1)}`;function RC(){return{upper:(e,t)=>t==="text"&&We(e)?e.toUpperCase():t==="vnode"&&Kt(e)&&"__v_isVNode"in e?e.children.toUpperCase():e,lower:(e,t)=>t==="text"&&We(e)?e.toLowerCase():t==="vnode"&&Kt(e)&&"__v_isVNode"in e?e.children.toLowerCase():e,capitalize:(e,t)=>t==="text"&&We(e)?zf(e):t==="vnode"&&Kt(e)&&"__v_isVNode"in e?zf(e.children):e}}let LC,ng;function MC(e){ng=e}let rg;function NC(e){rg=e}let og=null;const Cf=e=>{og=e},BC=()=>og;let sg=null;const wf=e=>{sg=e},VC=()=>sg;let kf=0;function HC(e={}){const t=We(e.version)?e.version:FC,n=We(e.locale)?e.locale:Pd,r=rr(e.fallbackLocale)||vt(e.fallbackLocale)||We(e.fallbackLocale)||e.fallbackLocale===!1?e.fallbackLocale:n,o=vt(e.messages)?e.messages:{[n]:{}},s=vt(e.datetimeFormats)?e.datetimeFormats:{[n]:{}},a=vt(e.numberFormats)?e.numberFormats:{[n]:{}},i=Aa({},e.modifiers||{},RC()),l=e.pluralRules||{},c=fn(e.missing)?e.missing:null,d=_n(e.missingWarn)||pf(e.missingWarn)?e.missingWarn:!0,f=_n(e.fallbackWarn)||pf(e.fallbackWarn)?e.fallbackWarn:!0,m=!!e.fallbackFormat,p=!!e.unresolving,h=fn(e.postTranslation)?e.postTranslation:null,_=vt(e.processor)?e.processor:null,z=_n(e.warnHtmlMessage)?e.warnHtmlMessage:!0,b=!!e.escapeParameter,v=fn(e.messageCompiler)?e.messageCompiler:LC,k=fn(e.messageResolver)?e.messageResolver:ng||yC,C=fn(e.localeFallbacker)?e.localeFallbacker:rg||DC,x=Kt(e.fallbackContext)?e.fallbackContext:void 0,T=fn(e.onWarn)?e.onWarn:uC,L=e,I=Kt(L.__datetimeFormatters)?L.__datetimeFormatters:new Map,D=Kt(L.__numberFormatters)?L.__numberFormatters:new Map,U=Kt(L.__meta)?L.__meta:{};kf++;const Z={version:t,cid:kf,locale:n,fallbackLocale:r,messages:o,modifiers:i,pluralRules:l,missing:c,missingWarn:d,fallbackWarn:f,fallbackFormat:m,unresolving:p,postTranslation:h,processor:_,warnHtmlMessage:z,escapeParameter:b,messageCompiler:v,messageResolver:k,localeFallbacker:C,fallbackContext:x,onWarn:T,__meta:U};return Z.datetimeFormats=s,Z.numberFormats=a,Z.__datetimeFormatters=I,Z.__numberFormatters=D,__INTLIFY_PROD_DEVTOOLS__&&AC(Z,t,U),Z}function Id(e,t,n,r,o){const{missing:s,onWarn:a}=e;if(s!==null){const i=s(e,n,t,o);return We(i)?i:t}else return t}function zs(e,t,n){const r=e;r.__localeChainCache=new Map,e.localeFallbacker(e,n,t)}let ag=X_.__EXTEND_POINT__;const yu=()=>++ag,No={INVALID_ARGUMENT:ag,INVALID_DATE_ARGUMENT:yu(),INVALID_ISO_DATE_ARGUMENT:yu(),__EXTEND_POINT__:yu()};function Bo(e){return Q_(e,null,void 0)}const xf=()=>"",Jn=e=>fn(e);function Ef(e,...t){const{fallbackFormat:n,postTranslation:r,unresolving:o,messageCompiler:s,fallbackLocale:a,messages:i}=e,[l,c]=_c(...t),d=_n(c.missingWarn)?c.missingWarn:e.missingWarn,f=_n(c.fallbackWarn)?c.fallbackWarn:e.fallbackWarn,m=_n(c.escapeParameter)?c.escapeParameter:e.escapeParameter,p=!!c.resolvedMessage,h=We(c.default)||_n(c.default)?_n(c.default)?s?l:()=>l:c.default:n?s?l:()=>l:"",_=n||h!=="",z=We(c.locale)?c.locale:e.locale;m&&jC(c);let[b,v,k]=p?[l,z,i[z]||{}]:ig(e,l,z,a,f,d),C=b,x=l;if(!p&&!(We(C)||Jn(C))&&_&&(C=h,x=C),!p&&(!(We(C)||Jn(C))||!We(v)))return o?Vl:l;let T=!1;const L=()=>{T=!0},I=Jn(C)?C:lg(e,l,v,C,x,L);if(T)return C;const D=WC(e,v,k,c),U=SC(D),Z=UC(e,I,U),X=r?r(Z,l):Z;if(__INTLIFY_PROD_DEVTOOLS__){const j={timestamp:Date.now(),key:We(l)?l:Jn(C)?C.key:"",locale:v||(Jn(C)?C.locale:""),format:We(C)?C:Jn(C)?C.source:"",message:X};j.meta=Aa({},e.__meta,BC()||{}),TC(j)}return X}function jC(e){rr(e.list)?e.list=e.list.map(t=>We(t)?_f(t):t):Kt(e.named)&&Object.keys(e.named).forEach(t=>{We(e.named[t])&&(e.named[t]=_f(e.named[t]))})}function ig(e,t,n,r,o,s){const{messages:a,onWarn:i,messageResolver:l,localeFallbacker:c}=e,d=c(e,r,n);let f={},m,p=null;const h="translate";for(let _=0;_<d.length&&(m=d[_],f=a[m]||{},(p=l(f,t))===null&&(p=f[t]),!(We(p)||fn(p)));_++){const z=Id(e,t,m,s,h);z!==t&&(p=z)}return[p,m,f]}function lg(e,t,n,r,o,s){const{messageCompiler:a,warnHtmlMessage:i}=e;if(Jn(r)){const c=r;return c.locale=c.locale||n,c.key=c.key||t,c}if(a==null){const c=()=>r;return c.locale=n,c.key=t,c}const l=a(r,qC(e,n,o,r,i,s));return l.locale=n,l.key=t,l.source=r,l}function UC(e,t,n){return t(n)}function _c(...e){const[t,n,r]=e,o={};if(!We(t)&&!hn(t)&&!Jn(t))throw Bo(No.INVALID_ARGUMENT);const s=hn(t)?String(t):(Jn(t),t);return hn(n)?o.plural=n:We(n)?o.default=n:vt(n)&&!Od(n)?o.named=n:rr(n)&&(o.list=n),hn(r)?o.plural=r:We(r)?o.default=r:vt(r)&&Aa(o,r),[s,o]}function qC(e,t,n,r,o,s){return{warnHtmlMessage:o,onError:a=>{throw s&&s(a),a},onCacheKey:a=>aC(t,n,a)}}function WC(e,t,n,r){const{modifiers:o,pluralRules:s,messageResolver:a,fallbackLocale:i,fallbackWarn:l,missingWarn:c,fallbackContext:d}=e,m={locale:t,modifiers:o,pluralRules:s,messages:p=>{let h=a(n,p);if(h==null&&d){const[,,_]=ig(d,p,t,i,l,c);h=a(_,p)}if(We(h)){let _=!1;const b=lg(e,p,t,h,p,()=>{_=!0});return _?xf:b}else return Jn(h)?h:xf}};return e.processor&&(m.processor=e.processor),r.list&&(m.list=r.list),r.named&&(m.named=r.named),hn(r.plural)&&(m.pluralIndex=r.plural),m}function Sf(e,...t){const{datetimeFormats:n,unresolving:r,fallbackLocale:o,onWarn:s,localeFallbacker:a}=e,{__datetimeFormatters:i}=e,[l,c,d,f]=gc(...t),m=_n(d.missingWarn)?d.missingWarn:e.missingWarn;_n(d.fallbackWarn)?d.fallbackWarn:e.fallbackWarn;const p=!!d.part,h=We(d.locale)?d.locale:e.locale,_=a(e,o,h);if(!We(l)||l==="")return new Intl.DateTimeFormat(h,f).format(c);let z={},b,v=null;const k="datetime format";for(let T=0;T<_.length&&(b=_[T],z=n[b]||{},v=z[l],!vt(v));T++)Id(e,l,b,m,k);if(!vt(v)||!We(b))return r?Vl:l;let C=`${b}__${l}`;Od(f)||(C=`${C}__${JSON.stringify(f)}`);let x=i.get(C);return x||(x=new Intl.DateTimeFormat(b,Aa({},v,f)),i.set(C,x)),p?x.formatToParts(c):x.format(c)}const ug=["localeMatcher","weekday","era","year","month","day","hour","minute","second","timeZoneName","formatMatcher","hour12","timeZone","dateStyle","timeStyle","calendar","dayPeriod","numberingSystem","hourCycle","fractionalSecondDigits"];function gc(...e){const[t,n,r,o]=e,s={};let a={},i;if(We(t)){const l=t.match(/(\d{4}-\d{2}-\d{2})(T|\s)?(.*)/);if(!l)throw Bo(No.INVALID_ISO_DATE_ARGUMENT);const c=l[3]?l[3].trim().startsWith("T")?`${l[1].trim()}${l[3].trim()}`:`${l[1].trim()}T${l[3].trim()}`:l[1].trim();i=new Date(c);try{i.toISOString()}catch{throw Bo(No.INVALID_ISO_DATE_ARGUMENT)}}else if(lC(t)){if(isNaN(t.getTime()))throw Bo(No.INVALID_DATE_ARGUMENT);i=t}else if(hn(t))i=t;else throw Bo(No.INVALID_ARGUMENT);return We(n)?s.key=n:vt(n)&&Object.keys(n).forEach(l=>{ug.includes(l)?a[l]=n[l]:s[l]=n[l]}),We(r)?s.locale=r:vt(r)&&(a=r),vt(o)&&(a=o),[s.key||"",i,s,a]}function $f(e,t,n){const r=e;for(const o in n){const s=`${t}__${o}`;r.__datetimeFormatters.has(s)&&r.__datetimeFormatters.delete(s)}}function Af(e,...t){const{numberFormats:n,unresolving:r,fallbackLocale:o,onWarn:s,localeFallbacker:a}=e,{__numberFormatters:i}=e,[l,c,d,f]=yc(...t),m=_n(d.missingWarn)?d.missingWarn:e.missingWarn;_n(d.fallbackWarn)?d.fallbackWarn:e.fallbackWarn;const p=!!d.part,h=We(d.locale)?d.locale:e.locale,_=a(e,o,h);if(!We(l)||l==="")return new Intl.NumberFormat(h,f).format(c);let z={},b,v=null;const k="number format";for(let T=0;T<_.length&&(b=_[T],z=n[b]||{},v=z[l],!vt(v));T++)Id(e,l,b,m,k);if(!vt(v)||!We(b))return r?Vl:l;let C=`${b}__${l}`;Od(f)||(C=`${C}__${JSON.stringify(f)}`);let x=i.get(C);return x||(x=new Intl.NumberFormat(b,Aa({},v,f)),i.set(C,x)),p?x.formatToParts(c):x.format(c)}const cg=["localeMatcher","style","currency","currencyDisplay","currencySign","useGrouping","minimumIntegerDigits","minimumFractionDigits","maximumFractionDigits","minimumSignificantDigits","maximumSignificantDigits","compactDisplay","notation","signDisplay","unit","unitDisplay","roundingMode","roundingPriority","roundingIncrement","trailingZeroDisplay"];function yc(...e){const[t,n,r,o]=e,s={};let a={};if(!hn(t))throw Bo(No.INVALID_ARGUMENT);const i=t;return We(n)?s.key=n:vt(n)&&Object.keys(n).forEach(l=>{cg.includes(l)?a[l]=n[l]:s[l]=n[l]}),We(r)?s.locale=r:vt(r)&&(a=r),vt(o)&&(a=o),[s.key||"",i,s,a]}function Tf(e,t,n){const r=e;for(const o in n){const s=`${t}__${o}`;r.__numberFormatters.has(s)&&r.__numberFormatters.delete(s)}}typeof __INTLIFY_PROD_DEVTOOLS__!="boolean"&&(cC().__INTLIFY_PROD_DEVTOOLS__=!1);function GC(){return dg().__VUE_DEVTOOLS_GLOBAL_HOOK__}function dg(){return typeof navigator<"u"&&typeof window<"u"?window:typeof global<"u"?global:{}}const KC=typeof Proxy=="function",ZC="devtools-plugin:setup",YC="plugin:settings:set";let xo,vc;function JC(){var e;return xo!==void 0||(typeof window<"u"&&window.performance?(xo=!0,vc=window.performance):typeof global<"u"&&(!((e=global.perf_hooks)===null||e===void 0)&&e.performance)?(xo=!0,vc=global.perf_hooks.performance):xo=!1),xo}function XC(){return JC()?vc.now():Date.now()}class QC{constructor(t,n){this.target=null,this.targetQueue=[],this.onQueue=[],this.plugin=t,this.hook=n;const r={};if(t.settings)for(const a in t.settings){const i=t.settings[a];r[a]=i.defaultValue}const o=`__vue-devtools-plugin-settings__${t.id}`;let s=Object.assign({},r);try{const a=localStorage.getItem(o),i=JSON.parse(a);Object.assign(s,i)}catch{}this.fallbacks={getSettings(){return s},setSettings(a){try{localStorage.setItem(o,JSON.stringify(a))}catch{}s=a},now(){return XC()}},n&&n.on(YC,(a,i)=>{a===this.plugin.id&&this.fallbacks.setSettings(i)}),this.proxiedOn=new Proxy({},{get:(a,i)=>this.target?this.target.on[i]:(...l)=>{this.onQueue.push({method:i,args:l})}}),this.proxiedTarget=new Proxy({},{get:(a,i)=>this.target?this.target[i]:i==="on"?this.proxiedOn:Object.keys(this.fallbacks).includes(i)?(...l)=>(this.targetQueue.push({method:i,args:l,resolve:()=>{}}),this.fallbacks[i](...l)):(...l)=>new Promise(c=>{this.targetQueue.push({method:i,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 ew(e,t){const n=e,r=dg(),o=GC(),s=KC&&n.enableEarlyProxy;if(o&&(r.__VUE_DEVTOOLS_PLUGIN_API_AVAILABLE__||!s))o.emit(ZC,e,t);else{const a=s?new QC(n,o):null;(r.__VUE_DEVTOOLS_PLUGINS__=r.__VUE_DEVTOOLS_PLUGINS__||[]).push({pluginDescriptor:n,setupFn:t,proxy:a}),a&&t(a.proxiedTarget)}}/*!
* vue-i18n v9.2.2
* (c) 2022 kazuya kawaguchi
* Released under the MIT License.
*/const tw="9.2.2";function nw(){typeof __INTLIFY_PROD_DEVTOOLS__!="boolean"&&(Z_().__INTLIFY_PROD_DEVTOOLS__=!1)}let mg=X_.__EXTEND_POINT__;const Xt=()=>++mg,vn={UNEXPECTED_RETURN_TYPE:mg,INVALID_ARGUMENT:Xt(),MUST_BE_CALL_SETUP_TOP:Xt(),NOT_INSLALLED:Xt(),NOT_AVAILABLE_IN_LEGACY_MODE:Xt(),REQUIRED_VALUE:Xt(),INVALID_VALUE:Xt(),CANNOT_SETUP_VUE_DEVTOOLS_PLUGIN:Xt(),NOT_INSLALLED_WITH_PROVIDE:Xt(),UNEXPECTED_ERROR:Xt(),NOT_COMPATIBLE_LEGACY_VUE_I18N:Xt(),BRIDGE_SUPPORT_VUE_2_ONLY:Xt(),MUST_DEFINE_I18N_OPTION_IN_ALLOW_COMPOSITION:Xt(),NOT_AVAILABLE_COMPOSITION_IN_LEGACY:Xt(),__EXTEND_POINT__:Xt()};function $n(e,...t){return Q_(e,null,void 0)}const bc=Jr("__transrateVNode"),zc=Jr("__datetimeParts"),Cc=Jr("__numberParts"),rw=Jr("__setPluralRules");Jr("__intlifyMeta");const ow=Jr("__injectWithOption");function wc(e){if(!Vn(e))return e;for(const t in e)if(Td(e,t))if(!t.includes("."))Vn(e[t])&&wc(e[t]);else{const n=t.split("."),r=n.length-1;let o=e;for(let s=0;s<r;s++)n[s]in o||(o[n[s]]={}),o=o[n[s]];o[n[r]]=e[t],delete e[t],Vn(o[n[r]])&&wc(o[n[r]])}return e}function fg(e,t){const{messages:n,__i18n:r,messageResolver:o,flatJson:s}=t,a=Yn(n)?n:er(r)?{}:{[e]:{}};if(er(r)&&r.forEach(i=>{if("locale"in i&&"resource"in i){const{locale:l,resource:c}=i;l?(a[l]=a[l]||{},Zs(c,a[l])):Zs(c,a)}else Pt(i)&&Zs(JSON.parse(i),a)}),o==null&&s)for(const i in a)Td(a,i)&&wc(a[i]);return a}const Qa=e=>!Vn(e)||er(e);function Zs(e,t){if(Qa(e)||Qa(t))throw $n(vn.INVALID_VALUE);for(const n in e)Td(e,n)&&(Qa(e[n])||Qa(t[n])?t[n]=e[n]:Zs(e[n],t[n]))}function pg(e){return e.type}function sw(e,t,n){let r=Vn(t.messages)?t.messages:{};"__i18nGlobal"in n&&(r=fg(e.locale.value,{messages:r,__i18n:n.__i18nGlobal}));const o=Object.keys(r);o.length&&o.forEach(s=>{e.mergeLocaleMessage(s,r[s])});{if(Vn(t.datetimeFormats)){const s=Object.keys(t.datetimeFormats);s.length&&s.forEach(a=>{e.mergeDateTimeFormat(a,t.datetimeFormats[a])})}if(Vn(t.numberFormats)){const s=Object.keys(t.numberFormats);s.length&&s.forEach(a=>{e.mergeNumberFormat(a,t.numberFormats[a])})}}}function Of(e){return y(Wr,null,e,0)}const Df="__INTLIFY_META__";let Pf=0;function If(e){return(t,n,r,o)=>e(n,r,Tn()||void 0,o)}const aw=()=>{const e=Tn();let t=null;return e&&(t=pg(e)[Df])?{[Df]:t}:null};function hg(e={},t){const{__root:n}=e,r=n===void 0;let o=Fr(e.inheritLocale)?e.inheritLocale:!0;const s=Gt(n&&o?n.locale.value:Pt(e.locale)?e.locale:Pd),a=Gt(n&&o?n.fallbackLocale.value:Pt(e.fallbackLocale)||er(e.fallbackLocale)||Yn(e.fallbackLocale)||e.fallbackLocale===!1?e.fallbackLocale:s.value),i=Gt(fg(s.value,e)),l=Gt(Yn(e.datetimeFormats)?e.datetimeFormats:{[s.value]:{}}),c=Gt(Yn(e.numberFormats)?e.numberFormats:{[s.value]:{}});let d=n?n.missingWarn:Fr(e.missingWarn)||mf(e.missingWarn)?e.missingWarn:!0,f=n?n.fallbackWarn:Fr(e.fallbackWarn)||mf(e.fallbackWarn)?e.fallbackWarn:!0,m=n?n.fallbackRoot:Fr(e.fallbackRoot)?e.fallbackRoot:!0,p=!!e.fallbackFormat,h=Xa(e.missing)?e.missing:null,_=Xa(e.missing)?If(e.missing):null,z=Xa(e.postTranslation)?e.postTranslation:null,b=n?n.warnHtmlMessage:Fr(e.warnHtmlMessage)?e.warnHtmlMessage:!0,v=!!e.escapeParameter;const k=n?n.modifiers:Yn(e.modifiers)?e.modifiers:{};let C=e.pluralRules||n&&n.pluralRules,x;x=(()=>{r&&wf(null);const R={version:tw,locale:s.value,fallbackLocale:a.value,messages:i.value,modifiers:k,pluralRules:C,missing:_===null?void 0:_,missingWarn:d,fallbackWarn:f,fallbackFormat:p,unresolving:!0,postTranslation:z===null?void 0:z,warnHtmlMessage:b,escapeParameter:v,messageResolver:e.messageResolver,__meta:{framework:"vue"}};R.datetimeFormats=l.value,R.numberFormats=c.value,R.__datetimeFormatters=Yn(x)?x.__datetimeFormatters:void 0,R.__numberFormatters=Yn(x)?x.__numberFormatters:void 0;const V=HC(R);return r&&wf(V),V})(),zs(x,s.value,a.value);function L(){return[s.value,a.value,i.value,l.value,c.value]}const I=Ft({get:()=>s.value,set:R=>{s.value=R,x.locale=s.value}}),D=Ft({get:()=>a.value,set:R=>{a.value=R,x.fallbackLocale=a.value,zs(x,s.value,R)}}),U=Ft(()=>i.value),Z=Ft(()=>l.value),X=Ft(()=>c.value);function j(){return Xa(z)?z:null}function q(R){z=R,x.postTranslation=R}function ze(){return h}function te(R){R!==null&&(_=If(R)),h=R,x.missing=_}const ae=(R,V,ge,Ce,Fe,Ue)=>{L();let Be;if(__INTLIFY_PROD_DEVTOOLS__)try{Cf(aw()),r||(x.fallbackContext=n?VC():void 0),Be=R(x)}finally{Cf(null),r||(x.fallbackContext=void 0)}else Be=R(x);if(_a(Be)&&Be===Vl){const[F,M]=V();return n&&m?Ce(n):Fe(F)}else{if(Ue(Be))return Be;throw $n(vn.UNEXPECTED_RETURN_TYPE)}};function ye(...R){return ae(V=>Reflect.apply(Ef,null,[V,...R]),()=>_c(...R),"translate",V=>Reflect.apply(V.t,V,[...R]),V=>V,V=>Pt(V))}function je(...R){const[V,ge,Ce]=R;if(Ce&&!Vn(Ce))throw $n(vn.INVALID_ARGUMENT);return ye(V,ge,nr({resolvedMessage:!0},Ce||{}))}function at(...R){return ae(V=>Reflect.apply(Sf,null,[V,...R]),()=>gc(...R),"datetime format",V=>Reflect.apply(V.d,V,[...R]),()=>bf,V=>Pt(V))}function ce(...R){return ae(V=>Reflect.apply(Af,null,[V,...R]),()=>yc(...R),"number format",V=>Reflect.apply(V.n,V,[...R]),()=>bf,V=>Pt(V))}function W(R){return R.map(V=>Pt(V)||_a(V)||Fr(V)?Of(String(V)):V)}const Ae={normalize:W,interpolate:R=>R,type:"vnode"};function Le(...R){return ae(V=>{let ge;const Ce=V;try{Ce.processor=Ae,ge=Reflect.apply(Ef,null,[Ce,...R])}finally{Ce.processor=null}return ge},()=>_c(...R),"translate",V=>V[bc](...R),V=>[Of(V)],V=>er(V))}function Ee(...R){return ae(V=>Reflect.apply(Af,null,[V,...R]),()=>yc(...R),"number format",V=>V[Cc](...R),()=>[],V=>Pt(V)||er(V))}function B(...R){return ae(V=>Reflect.apply(Sf,null,[V,...R]),()=>gc(...R),"datetime format",V=>V[zc](...R),()=>[],V=>Pt(V)||er(V))}function le(R){C=R,x.pluralRules=C}function ne(R,V){const ge=Pt(V)?V:s.value,Ce=A(ge);return x.messageResolver(Ce,R)!==null}function pe(R){let V=null;const ge=tg(x,a.value,s.value);for(let Ce=0;Ce<ge.length;Ce++){const Fe=i.value[ge[Ce]]||{},Ue=x.messageResolver(Fe,R);if(Ue!=null){V=Ue;break}}return V}function Oe(R){const V=pe(R);return V??(n?n.tm(R)||{}:{})}function A(R){return i.value[R]||{}}function O(R,V){i.value[R]=V,x.messages=i.value}function P(R,V){i.value[R]=i.value[R]||{},Zs(V,i.value[R]),x.messages=i.value}function K(R){return l.value[R]||{}}function J(R,V){l.value[R]=V,x.datetimeFormats=l.value,$f(x,R,V)}function ee(R,V){l.value[R]=nr(l.value[R]||{},V),x.datetimeFormats=l.value,$f(x,R,V)}function de(R){return c.value[R]||{}}function ie(R,V){c.value[R]=V,x.numberFormats=c.value,Tf(x,R,V)}function se(R,V){c.value[R]=nr(c.value[R]||{},V),x.numberFormats=c.value,Tf(x,R,V)}Pf++,n&&hc&&(Jt(n.locale,R=>{o&&(s.value=R,x.locale=R,zs(x,s.value,a.value))}),Jt(n.fallbackLocale,R=>{o&&(a.value=R,x.fallbackLocale=R,zs(x,s.value,a.value))}));const Y={id:Pf,locale:I,fallbackLocale:D,get inheritLocale(){return o},set inheritLocale(R){o=R,R&&n&&(s.value=n.locale.value,a.value=n.fallbackLocale.value,zs(x,s.value,a.value))},get availableLocales(){return Object.keys(i.value).sort()},messages:U,get modifiers(){return k},get pluralRules(){return C||{}},get isGlobal(){return r},get missingWarn(){return d},set missingWarn(R){d=R,x.missingWarn=d},get fallbackWarn(){return f},set fallbackWarn(R){f=R,x.fallbackWarn=f},get fallbackRoot(){return m},set fallbackRoot(R){m=R},get fallbackFormat(){return p},set fallbackFormat(R){p=R,x.fallbackFormat=p},get warnHtmlMessage(){return b},set warnHtmlMessage(R){b=R,x.warnHtmlMessage=R},get escapeParameter(){return v},set escapeParameter(R){v=R,x.escapeParameter=R},t:ye,getLocaleMessage:A,setLocaleMessage:O,mergeLocaleMessage:P,getPostTranslationHandler:j,setPostTranslationHandler:q,getMissingHandler:ze,setMissingHandler:te,[rw]:le};return Y.datetimeFormats=Z,Y.numberFormats=X,Y.rt=je,Y.te=ne,Y.tm=Oe,Y.d=at,Y.n=ce,Y.getDateTimeFormat=K,Y.setDateTimeFormat=J,Y.mergeDateTimeFormat=ee,Y.getNumberFormat=de,Y.setNumberFormat=ie,Y.mergeNumberFormat=se,Y[ow]=e.__injectWithOption,Y[bc]=Le,Y[zc]=B,Y[Cc]=Ee,Y}const Fd={tag:{type:[String,Object]},locale:{type:String},scope:{type:String,validator:e=>e==="parent"||e==="global",default:"parent"},i18n:{type:Object}};function iw({slots:e},t){return t.length===1&&t[0]==="default"?(e.default?e.default():[]).reduce((r,o)=>r=[...r,...er(o.children)?o.children:[o]],[]):t.reduce((n,r)=>{const o=e[r];return o&&(n[r]=o()),n},{})}function _g(e){return Te}const Ff={name:"i18n-t",props:nr({keypath:{type:String,required:!0},plural:{type:[Number,String],validator:e=>_a(e)||!isNaN(e)}},Fd),setup(e,t){const{slots:n,attrs:r}=t,o=e.i18n||Rd({useScope:e.scope,__useComponent:!0});return()=>{const s=Object.keys(n).filter(f=>f!=="_"),a={};e.locale&&(a.locale=e.locale),e.plural!==void 0&&(a.plural=Pt(e.plural)?+e.plural:e.plural);const i=iw(t,s),l=o[bc](e.keypath,i,a),c=nr({},r),d=Pt(e.tag)||Vn(e.tag)?e.tag:_g();return Qn(d,c,l)}}};function lw(e){return er(e)&&!Pt(e[0])}function gg(e,t,n,r){const{slots:o,attrs:s}=t;return()=>{const a={part:!0};let i={};e.locale&&(a.locale=e.locale),Pt(e.format)?a.key=e.format:Vn(e.format)&&(Pt(e.format.key)&&(a.key=e.format.key),i=Object.keys(e.format).reduce((m,p)=>n.includes(p)?nr({},m,{[p]:e.format[p]}):m,{}));const l=r(e.value,a,i);let c=[a.key];er(l)?c=l.map((m,p)=>{const h=o[m.type],_=h?h({[m.type]:m.value,index:p,parts:l}):[m.value];return lw(_)&&(_[0].key=`${m.type}-${p}`),_}):Pt(l)&&(c=[l]);const d=nr({},s),f=Pt(e.tag)||Vn(e.tag)?e.tag:_g();return Qn(f,d,c)}}const Rf={name:"i18n-n",props:nr({value:{type:Number,required:!0},format:{type:[String,Object]}},Fd),setup(e,t){const n=e.i18n||Rd({useScope:"parent",__useComponent:!0});return gg(e,t,cg,(...r)=>n[Cc](...r))}},Lf={name:"i18n-d",props:nr({value:{type:[Number,Date],required:!0},format:{type:[String,Object]}},Fd),setup(e,t){const n=e.i18n||Rd({useScope:"parent",__useComponent:!0});return gg(e,t,ug,(...r)=>n[zc](...r))}};function uw(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 cw(e){const t=a=>{const{instance:i,modifiers:l,value:c}=a;if(!i||!i.$)throw $n(vn.UNEXPECTED_ERROR);const d=uw(e,i.$),f=Mf(c);return[Reflect.apply(d.t,d,[...Nf(f)]),d]};return{created:(a,i)=>{const[l,c]=t(i);hc&&e.global===c&&(a.__i18nWatcher=Jt(c.locale,()=>{i.instance&&i.instance.$forceUpdate()})),a.__composer=c,a.textContent=l},unmounted:a=>{hc&&a.__i18nWatcher&&(a.__i18nWatcher(),a.__i18nWatcher=void 0,delete a.__i18nWatcher),a.__composer&&(a.__composer=void 0,delete a.__composer)},beforeUpdate:(a,{value:i})=>{if(a.__composer){const l=a.__composer,c=Mf(i);a.textContent=Reflect.apply(l.t,l,[...Nf(c)])}},getSSRProps:a=>{const[i]=t(a);return{textContent:i}}}}function Mf(e){if(Pt(e))return{path:e};if(Yn(e)){if(!("path"in e))throw $n(vn.REQUIRED_VALUE,"path");return e}else throw $n(vn.INVALID_VALUE)}function Nf(e){const{path:t,locale:n,args:r,choice:o,plural:s}=e,a={},i=r||{};return Pt(n)&&(a.locale=n),_a(o)&&(a.plural=o),_a(s)&&(a.plural=s),[t,i,a]}function dw(e,t,...n){const r=Yn(n[0])?n[0]:{},o=!!r.useI18nComponentName;(Fr(r.globalInstall)?r.globalInstall:!0)&&(e.component(o?"i18n":Ff.name,Ff),e.component(Rf.name,Rf),e.component(Lf.name,Lf)),e.directive("t",cw(t))}const mw=Jr("global-vue-i18n");function fw(e={},t){const n=Fr(e.globalInjection)?e.globalInjection:!0,r=!0,o=new Map,[s,a]=pw(e),i=Jr("");function l(f){return o.get(f)||null}function c(f,m){o.set(f,m)}function d(f){o.delete(f)}{const f={get mode(){return"composition"},get allowComposition(){return r},async install(m,...p){m.__VUE_I18N_SYMBOL__=i,m.provide(m.__VUE_I18N_SYMBOL__,f),n&&Cw(m,f.global),dw(m,f,...p);const h=m.unmount;m.unmount=()=>{f.dispose(),h()}},get global(){return a},dispose(){s.stop()},__instances:o,__getInstance:l,__setInstance:c,__deleteInstance:d};return f}}function Rd(e={}){const t=Tn();if(t==null)throw $n(vn.MUST_BE_CALL_SETUP_TOP);if(!t.isCE&&t.appContext.app!=null&&!t.appContext.app.__VUE_I18N_SYMBOL__)throw $n(vn.NOT_INSLALLED);const n=hw(t),r=gw(n),o=pg(t),s=_w(e,o);if(s==="global")return sw(r,e,o),r;if(s==="parent"){let l=yw(n,t,e.__useComponent);return l==null&&(l=r),l}const a=n;let i=a.__getInstance(t);if(i==null){const l=nr({},e);"__i18n"in o&&(l.__i18n=o.__i18n),r&&(l.__root=r),i=hg(l),vw(a,t),a.__setInstance(t,i)}return i}function pw(e,t,n){const r=od();{const o=r.run(()=>hg(e));if(o==null)throw $n(vn.UNEXPECTED_ERROR);return[r,o]}}function hw(e){{const t=Bn(e.isCE?mw:e.appContext.app.__VUE_I18N_SYMBOL__);if(!t)throw $n(e.isCE?vn.NOT_INSLALLED_WITH_PROVIDE:vn.UNEXPECTED_ERROR);return t}}function _w(e,t){return rC(e)?"__i18n"in t?"local":"global":e.useScope?e.useScope:"local"}function gw(e){return e.mode==="composition"?e.global:e.global.__composer}function yw(e,t,n=!1){let r=null;const o=t.root;let s=t.parent;for(;s!=null;){const a=e;if(e.mode==="composition"&&(r=a.__getInstance(s)),r!=null||o===s)break;s=s.parent}return r}function vw(e,t,n){cs(()=>{},t),Sa(()=>{e.__deleteInstance(t)},t)}const bw=["locale","fallbackLocale","availableLocales"],zw=["t","rt","d","n","tm"];function Cw(e,t){const n=Object.create(null);bw.forEach(r=>{const o=Object.getOwnPropertyDescriptor(t,r);if(!o)throw $n(vn.UNEXPECTED_ERROR);const s=Ot(o.value)?{get(){return o.value.value},set(a){o.value.value=a}}:{get(){return o.get&&o.get()}};Object.defineProperty(n,r,s)}),e.config.globalProperties.$i18n=n,zw.forEach(r=>{const o=Object.getOwnPropertyDescriptor(t,r);if(!o||!o.value)throw $n(vn.UNEXPECTED_ERROR);Object.defineProperty(e.config.globalProperties,`$${r}`,o)})}MC(vC);NC(tg);nw();if(__INTLIFY_PROD_DEVTOOLS__){const e=Z_();e.__INTLIFY__=!0,$C(e.__INTLIFY_DEVTOOLS_GLOBAL_HOOK__)}const ww={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ügen"])},cancel:e=>{const{normalize:t}=e;return t(["Abbrechen"])},help:e=>{const{normalize:t}=e;return t(["Hinzufügen eines Podcasts führt 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…"])},title:e=>{const{normalize:t}=e;return t(["Füge Podcast RSS-Feed-Url hinzu"])}},stream:{add:e=>{const{normalize:t}=e;return t(["Hinzufügen"])},cancel:e=>{const{normalize:t}=e;return t(["Abbrechen"])},loading:e=>{const{normalize:t}=e;return t(["Lade…"])},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ügen"])}}},album:{"add-next":e=>{const{normalize:t}=e;return t(["Als nächstes hinzufügen"])},add:e=>{const{normalize:t}=e;return t(["Hinzufügen"])},"added-on":e=>{const{normalize:t}=e;return t(["Hinzugefügt am"])},artist:e=>{const{normalize:t}=e;return t(["Album Künstler"])},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öffentlichungsdatum"])},"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ächstes hinzufügen"])},add:e=>{const{normalize:t}=e;return t(["Hinzufügen"])},"added-on":e=>{const{normalize:t}=e;return t(["Hinzugefügt 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ächstes hinzufügen"])},add:e=>{const{normalize:t}=e;return t(["Hinzufügen"])},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ächstes hinzufügen"])},add:e=>{const{normalize:t}=e;return t(["Hinzufügen"])},play:e=>{const{normalize:t}=e;return t(["Spielen"])}},genre:{"add-next":e=>{const{normalize:t}=e;return t(["Als nächstes hinzufügen"])},add:e=>{const{normalize:t}=e;return t(["Hinzufügen"])},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ächstes hinzufügen"])},add:e=>{const{normalize:t}=e;return t(["Hinzufügen"])},path:e=>{const{normalize:t}=e;return t(["Pfad"])},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"])},"playlist-name":e=>{const{normalize:t}=e;return t(["Playlistname"])},save:e=>{const{normalize:t}=e;return t(["Speichern"])},saving:e=>{const{normalize:t}=e;return t(["Speichere…"])},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ünstler"])},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ät"])},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ünstler"])},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"])},"pairing-code":e=>{const{normalize:t}=e;return t(["Pairing-Code"])},title:e=>{const{normalize:t}=e;return t(["Remote-Paarungs-Anfrage"])}},spotify:{album:{"add-next":e=>{const{normalize:t}=e;return t(["Als nächstes hinzufügen"])},add:e=>{const{normalize:t}=e;return t(["Hinzufügen"])},"album-artist":e=>{const{normalize:t}=e;return t(["Album-Künstler"])},play:e=>{const{normalize:t}=e;return t(["Spielen"])},"release-date":e=>{const{normalize:t}=e;return t(["Veröffentlichungsdatum"])},type:e=>{const{normalize:t}=e;return t(["Art"])}},artist:{"add-next":e=>{const{normalize:t}=e;return t(["Als nächstes hinzufügen"])},add:e=>{const{normalize:t}=e;return t(["Hinzufügen"])},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ät / Followers"])}},playlist:{"add-next":e=>{const{normalize:t}=e;return t(["Als nächstes hinzufügen"])},add:e=>{const{normalize:t}=e;return t(["Hinzufügen"])},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ächstes hinzufügen"])},add:e=>{const{normalize:t}=e;return t(["Hinzufügen"])},"album-artist":e=>{const{normalize:t}=e;return t(["Album-Künstler"])},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öffentlichungsdatum"])}}},track:{"add-next":e=>{const{normalize:t}=e;return t(["Als nächstes hinzufügen"])},add:e=>{const{normalize:t}=e;return t(["Hinzufügen"])},"added-on":e=>{const{normalize:t}=e;return t(["Hinzugefügt am"])},"album-artist":e=>{const{normalize:t}=e;return t(["Album-Künstler"])},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ät"])},"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öffentlichungsdatum"])},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ünstler"])},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öschten und veränderten 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…"])},"rescan-metadata":e=>{const{normalize:t}=e;return t(["Metadata von unveränderten Dateien neu einlesen"])},rescan:e=>{const{normalize:t}=e;return t(["Neu einlesen"])},spotify:e=>{const{normalize:t}=e;return t(["Nur Spotify neu einlesen"])},title:e=>{const{normalize:t}=e;return t(["Bibliothek neu einlesen"])}}},language:{de:e=>{const{normalize:t}=e;return t(["Deutsch"])},en:e=>{const{normalize:t}=e;return t(["Englisch (English)"])},fr:e=>{const{normalize:t}=e;return t(["Französisch (Français)"])},zh:e=>{const{normalize:t}=e;return t(["Chinesisch (中文)"])}},list:{albums:{"info-1":e=>{const{normalize:t}=e;return t(["Diesen Podcast dauerhaft aus der Bibliothek löschen?"])},"info-2":e=>{const{normalize:t}=e;return t(["Dies wir auch RSS-Playlisten löschen "])},remove:e=>{const{normalize:t}=e;return t(["Entfernen"])},"remove-podcast":e=>{const{normalize:t}=e;return t(["Entferne podcast"])}},spotify:{"not-playable-track":e=>{const{normalize:t}=e;return t(["Track kann nicht gespielt werden"])},"restriction-reason":e=>{const{normalize:t,interpolate:n,named:r}=e;return t([", Beschränkungsgrund: ",n(r("reason"))])}}},media:{kind:{album:e=>{const{normalize:t}=e;return t(["Album"])},audiobook:e=>{const{normalize:t}=e;return t(["Hörbuch"])},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(["Über"])},albums:e=>{const{normalize:t}=e;return t(["Alben"])},artists:e=>{const{normalize:t}=e;return t(["Künstler"])},audiobooks:e=>{const{normalize:t}=e;return t(["Hörbücher"])},"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ärke"])},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ünstler"])},"built-with":e=>{const{normalize:t,interpolate:n,named:r}=e;return t(["Oberfläche erstellt mit ",n(r("bulma")),", ",n(r("mdi")),", ",n(r("vuejs")),", ",n(r("axios"))," und ",n(r("others")),"."])},"compiled-with":e=>{const{normalize:t,interpolate:n,named:r}=e;return t(["Compiliert mit Unterstützung von ",n(r("options")),"."])},library:e=>{const{normalize:t}=e;return t(["Bibliothek"])},more:e=>{const{normalize:t}=e;return t(["mehr"])},"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,plural:o}=e;return o([t([n(r("count"))," Track"]),t([n(r("count"))," Track"]),t([n(r("count"))," Tracks"])])}},albums:{count:e=>{const{normalize:t,interpolate:n,named:r,plural:o}=e;return o([t([n(r("count"))," Album"]),t([n(r("count"))," Album"]),t([n(r("count"))," Alben"])])},filter:e=>{const{normalize:t}=e;return t(["Filter"])},"hide-singles-help":e=>{const{normalize:t}=e;return t(["Nach Aktivierung werden keine Singles und Alben angezeigt, die nur in Playlisten enthalten sind."])},"hide-singles":e=>{const{normalize:t}=e;return t(["Nach Aktivierung werden keine Singles angezeigt"])},"hide-spotify-help":e=>{const{normalize:t}=e;return t(["Nach Aktivierung werden keine Alben angezeigt, die nur in der Spotify-Bibliothek enthalten sind."])},"hide-spotify":e=>{const{normalize:t}=e;return t(["Verbirgt Spotify-Alben"])},title:e=>{const{normalize:t}=e;return t(["Alben"])},"sort-by":{title:e=>{const{normalize:t}=e;return t(["Sortieren nach"])},name:e=>{const{normalize:t}=e;return t(["Name"])},"recently-added":e=>{const{normalize:t}=e;return t(["Kürzlich hinzugefügt"])},"recently-released":e=>{const{normalize:t}=e;return t(["Kürzlich erschienen"])}}},artist:{"album-count":e=>{const{normalize:t,interpolate:n,named:r,plural:o}=e;return o([t([n(r("count"))," Album"]),t([n(r("count"))," Album"]),t([n(r("count"))," Alben"])])},shuffle:e=>{const{normalize:t}=e;return t(["Zufallswiedergabe"])},"track-count":e=>{const{normalize:t,interpolate:n,named:r,plural:o}=e;return o([t([n(r("count"))," Track"]),t([n(r("count"))," Track"]),t([n(r("count"))," Tracks"])])},"sort-by":{title:e=>{const{normalize:t}=e;return t(["Sortieren nach"])},name:e=>{const{normalize:t}=e;return t(["Name"])},rating:e=>{const{normalize:t}=e;return t(["Bewertung"])},"release-date":e=>{const{normalize:t}=e;return t(["Erscheinungsdatum"])}}},artists:{count:e=>{const{normalize:t,interpolate:n,named:r}=e;return t([n(r("count"))," Künstler"])},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ürzlich hinzugefügt"])}},"hide-singles-help":e=>{const{normalize:t}=e;return t(["Nach Aktivierung werden keine Singles und Alben angezeigt, die nur in Playlisten enthalten sind."])},"hide-singles":e=>{const{normalize:t}=e;return t(["Nach Aktivierung werden keine Singles angezeigt"])},"hide-spotify-help":e=>{const{normalize:t}=e;return t(["Nach Aktivierung werden keine Alben angezeigt, die nur in der Spotify-Bibliothek enthalten sind."])},"hide-spotify":e=>{const{normalize:t}=e;return t(["Verbirgt Künstler auf Spotify"])},title:e=>{const{normalize:t}=e;return t(["Künstler"])}},audiobooks:{album:{play:e=>{const{normalize:t}=e;return t(["Spielen"])},"track-count":e=>{const{normalize:t,interpolate:n,named:r,plural:o}=e;return o([t([n(r("count"))," Track"]),t([n(r("count"))," Track"]),t([n(r("count"))," Tracks"])])}},albums:{count:e=>{const{normalize:t,interpolate:n,named:r,plural:o}=e;return o([t([n(r("count"))," Hörbuch"]),t([n(r("count"))," Hörbuch"]),t([n(r("count"))," Hörbücher"])])},title:e=>{const{normalize:t}=e;return t(["Hörbücher"])}},artist:{"album-count":e=>{const{normalize:t,interpolate:n,named:r,plural:o}=e;return o([t([n(r("count"))," Album"]),t([n(r("count"))," Album"]),t([n(r("count"))," Alben"])])},play:e=>{const{normalize:t}=e;return t(["Spielen"])}},artists:{count:e=>{const{normalize:t,interpolate:n,named:r,plural:o}=e;return o([t([n(r("count"))," Autor"]),t([n(r("count"))," Autor"]),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örbücher"])}}},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ürzlich hinzugefügt"])}},"recently-played":{title:e=>{const{normalize:t}=e;return t(["Kürzlich 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ünstler"])},browse:e=>{const{normalize:t}=e;return t(["Auswählen"])},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,plural:o}=e;return o([t([n(r("count"))," Album"]),t([n(r("count"))," Album"]),t([n(r("count"))," Alben"])])},shuffle:e=>{const{normalize:t}=e;return t(["Zufallswiedergabe"])},"track-count":e=>{const{normalize:t,interpolate:n,named:r,plural:o}=e;return o([t([n(r("count"))," Track"]),t([n(r("count"))," Track"]),t([n(r("count"))," Tracks"])])},"sort-by":{title:e=>{const{normalize:t}=e;return t(["Sortieren nach"])},name:e=>{const{normalize:t}=e;return t(["Name"])},rating:e=>{const{normalize:t}=e;return t(["Bewertung"])}}},composers:{count:e=>{const{normalize:t,interpolate:n,named:r,plural:o}=e;return o([t([n(r("count"))," Komponist"]),t([n(r("count"))," Komponist"]),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,plural:o}=e;return o([t([n(r("count"))," Album"]),t([n(r("count"))," Album"]),t([n(r("count"))," Alben"])])},shuffle:e=>{const{normalize:t}=e;return t(["Zufallswiedergabe"])},"track-count":e=>{const{normalize:t,interpolate:n,named:r,plural:o}=e;return o([t([n(r("count"))," Track"]),t([n(r("count"))," Track"]),t([n(r("count"))," Tracks"])])},"sort-by":{title:e=>{const{normalize:t}=e;return t(["Sortieren nach"])},name:e=>{const{normalize:t}=e;return t(["Name"])},rating:e=>{const{normalize:t}=e;return t(["Bewertung"])}}},genres:{count:e=>{const{normalize:t,interpolate:n,named:r,plural:o}=e;return o([t([n(r("count"))," Genre"]),t([n(r("count"))," Genre"]),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ählen aus der Bibliothek anfügen"])},live:e=>{const{normalize:t}=e;return t(["Live"])},title:e=>{const{normalize:t}=e;return t(["Deine Playliste ist leer."])}},playlist:{length:e=>{const{normalize:t,interpolate:n,named:r}=e;return t([n(r("length"))," Tracks"])},shuffle:e=>{const{normalize:t}=e;return t(["Zufallswiedergabe"])},"track-count":e=>{const{normalize:t,interpolate:n,named:r,plural:o}=e;return o([t([n(r("count"))," Track"]),t([n(r("count"))," Tracks"])])}},playlists:{count:e=>{const{normalize:t,interpolate:n,named:r,plural:o}=e;return o([t([n(r("count"))," Playlist"]),t([n(r("count"))," Playlisten"])])}},podcast:{play:e=>{const{normalize:t}=e;return t(["Spielen"])},remove:e=>{const{normalize:t}=e;return t(["Entfernen"])},"remove-info-1":e=>{const{normalize:t}=e;return t(["Diesen Podcast wirklich dauerhaft aus der Bibliothek löschen?"])},"remove-info-2":e=>{const{normalize:t}=e;return t(["Damit wird auch die RSS-Playliste gelöscht. "])},"remove-podcast":e=>{const{normalize:t}=e;return t(["Entferne podcast"])},"track-count":e=>{const{normalize:t,interpolate:n,named:r,plural:o}=e;return o([t([n(r("count"))," Track"]),t([n(r("count"))," Tracks"])])}},podcasts:{add:e=>{const{normalize:t}=e;return t(["Hinzufügen"])},count:e=>{const{normalize:t,interpolate:n,named:r,plural:o}=e;return o([t([n(r("count"))," Podcast"]),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ügen"])},clear:e=>{const{normalize:t}=e;return t(["Alle entfernen"])},count:e=>{const{normalize:t,interpolate:n,named:r,plural:o}=e;return o([t([n(r("count"))," Track"]),t([n(r("count"))," Track"]),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,plural:o}=e;return o([t([n(r("count"))," Station"]),t([n(r("count"))," Station"]),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ünstler"])},audiobooks:e=>{const{normalize:t}=e;return t(["Hörbücher"])},composers:e=>{const{normalize:t}=e;return t(["Komponisten"])},expression:e=>{const{normalize:t}=e;return t(["Ausdrücken"])},help:e=>{const{normalize:t,interpolate:n,named:r}=e;return t(["Tip: Du kannst mit einer Smart-Playlist-Abfrage-Sprache nach ",n(r("help"))," suchen wenn Du dem Ausdruck ein ",n(r("query"))," voranstellst."])},"no-albums":e=>{const{normalize:t}=e;return t(["Keine Alben gefunden"])},"no-artists":e=>{const{normalize:t}=e;return t(["Keine Künstler gefunden"])},"no-audiobooks":e=>{const{normalize:t}=e;return t(["Keine Hörbücher 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"])},placeholder:e=>{const{normalize:t}=e;return t(["Suche"])},playlists:e=>{const{normalize:t}=e;return t(["Playlisten"])},podcasts:e=>{const{normalize:t}=e;return t(["Podcasts"])},"show-albums":e=>{const{normalize:t,interpolate:n,named:r,plural:o}=e;return o([t(["Zeige das Album"]),t(["Zeige alle ",n(r("count"))," Alben"])])},"show-artists":e=>{const{normalize:t,interpolate:n,named:r,plural:o}=e;return o([t(["Zeige den Künstler"]),t(["Zeige alle ",n(r("count"))," Künstler"])])},"show-audiobooks":e=>{const{normalize:t,interpolate:n,named:r,plural:o}=e;return o([t(["Zeige das Buch"]),t(["Zeige alle ",n(r("count"))," Hörbücher"])])},"show-composers":e=>{const{normalize:t,interpolate:n,named:r,plural:o}=e;return o([t(["Zeige den Komponist"]),t(["Zeige alle ",n(r("count"))," Komponisten"])])},"show-playlists":e=>{const{normalize:t,interpolate:n,named:r,plural:o}=e;return o([t(["Zeige die Playlist"]),t(["Zeige alle ",n(r("count"))," Playlisten"])])},"show-podcasts":e=>{const{normalize:t,interpolate:n,named:r,plural:o}=e;return o([t(["Zeige den Podcast"]),t(["Zeige alle ",n(r("count"))," Podcasts"])])},"show-tracks":e=>{const{normalize:t,interpolate:n,named:r,plural:o}=e;return o([t(["Zeige den Track"]),t(["Zeige alle ",n(r("count"))," Tracks"])])},tracks:e=>{const{normalize:t}=e;return t(["Tracks"])},tabs:{library:e=>{const{normalize:t}=e;return t(["Bibliothek"])},spotify:e=>{const{normalize:t}=e;return t(["Spotify"])}}},settings:{artwork:{artwork:e=>{const{normalize:t}=e;return t(["Artwork"])},coverartarchive:e=>{const{normalize:t}=e;return t(["Cover Art Archive"])},discogs:e=>{const{normalize:t}=e;return t(["Discogs"])},"explanation-1":e=>{const{normalize:t}=e;return t(["OwnTone verarbeitet PNG- und JPEG-Artwork, welches in einer eigenen Datei in der Bibliothek, in die Dateien eingebettet oder online von Radiostationen bereitgestellt werden kann."])},"explanation-2":e=>{const{normalize:t}=e;return t(["Zusätzlich kann auf folgende Artwork-Anbieter zugegriffen werden:"])},spotify:e=>{const{normalize:t}=e;return t(["Spotify"])}},devices:{"no-active-pairing":e=>{const{normalize:t}=e;return t(["Keine aktive Pairing-Anfrage"])},"pairing-code":e=>{const{normalize:t}=e;return t(["Pairing-Code"])},"pairing-request":e=>{const{normalize:t}=e;return t(["Remote-Pairing-Anfrage von "])},pairing:e=>{const{normalize:t}=e;return t(["Pairing Remote"])},send:e=>{const{normalize:t}=e;return t(["Senden"])},"speaker-pairing-info":e=>{const{normalize:t}=e;return t(["Wenn der Laufsprecher PIN-basiertes Pairing verlangt, aktiviere ihn hier und gib dann den hier PIN an, der am Lautsprecher angezeigt wird."])},"speaker-pairing":e=>{const{normalize:t}=e;return t(["Lautsprecher-Pairing und Geräteverifikation"])},"verification-code":e=>{const{normalize:t}=e;return t(["Verifikationscode"])},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örbücher"])},files:e=>{const{normalize:t}=e;return t(["Dateien"])},genres:e=>{const{normalize:t}=e;return t(["Genres"])},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ählt werden, als der Bildschirm anzeigen kann, verschwindet das Burger-Menü."])},"navigation-item-selection":e=>{const{normalize:t}=e;return t(["Wähle hier die Einträge des oberen Navigationsmenüs "])},"navigation-items":e=>{const{normalize:t}=e;return t(["Navigationsmenüs"])},"now-playing-page":e=>{const{normalize:t}=e;return t(["Aktuell läuft-Seite"])},playlists:e=>{const{normalize:t}=e;return t(["Playlisten"])},podcasts:e=>{const{normalize:t}=e;return t(["Podcasts"])},radio:e=>{const{normalize:t}=e;return t(["Radio"])},"recently-added-page-info":e=>{const{normalize:t}=e;return t(['Beschränkte die Zahl der Alben auf der "kürzlich hinzugefügt"-Seite'])},"recently-added-page":e=>{const{normalize:t}=e;return t(["Kürzlich hinzugefügt-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äuft"-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ür die aufgelisteten Genres an"])},"show-composer-info":e=>{const{normalize:t}=e;return t(['Wenn aktiviert, wird der Komponist auf der "Aktuell läuft"-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äuft"-Seite anzeigen'])}},services:{lastfm:{"grant-access":e=>{const{normalize:t}=e;return t(["Melde Dich mit Deinem Last.fm-Benutzernamen und Passwort an, um Scrobbeln zu aktivieren"])},info:e=>{const{normalize:t}=e;return t(["OwnTone wird den Benutzernamen und das Passwort von last.fm nicht speichern, nur den Sitzungs-Schlüssel. Dieser läuft 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ützung für Last.fm erstellt."])},"stop-scrobbling":e=>{const{normalize:t}=e;return t(["Stop Scrobbling"])}},spotify:{"no-support":e=>{const{normalize:t}=e;return t(["OwnTone wurde entweder ohne Unterstützung für Spotify erstellt oder libspotify ist nicht installiert."])},"logged-as":e=>{const{normalize:t}=e;return t(["Angemeldet als "])},requirements:e=>{const{normalize:t}=e;return t(["Spotify Premium Abo erforderlich."])},scopes:e=>{const{normalize:t}=e;return t(["Zugriff auf die Spotify Web-Api ermöglicht scannen der Spotify-Blibliothek. Erforderliche scopes sind: "])},user:e=>{const{normalize:t}=e;return t(["Zugriff gestattet für "])},authorize:e=>{const{normalize:t}=e;return t(["Authorisiere Web-API-Zugriff"])},credentials:e=>{const{normalize:t}=e;return t([" - Anmelden mit dem Spotify Benutzername und Passwort"])},"grant-access":e=>{const{normalize:t}=e;return t(["Zugriff auf die Spotify Web-API gestatten"])},"help-1":e=>{const{normalize:t}=e;return t(["libspotify ermöglicht OwnTone, Spotify-Tracks abzuspielen."])},"help-2":e=>{const{normalize:t}=e;return t(["OwnTone speichert das Passwort nicht, aber wird über libspotify dennoch einen automatischen Login über ein Login-Token ermöglichen."])},reauthorize:e=>{const{normalize:t}=e;return t(["Bitte den Zugriff der Web-API durch setzen folgender Zugriffsrechte für 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"])},password:e=>{const{normalize:t}=e;return t(["Passwort"])},username:e=>{const{normalize:t}=e;return t(["Benutzername"])}},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änge"])}}},spotify:{album:{shuffle:e=>{const{normalize:t}=e;return t(["Zufallswiedergabe"])},"track-count":e=>{const{normalize:t,interpolate:n,named:r,plural:o}=e;return o([t([n(r("count"))," Track"]),t([n(r("count"))," Track"]),t([n(r("count"))," Tracks"])])}},artist:{"album-count":e=>{const{normalize:t,interpolate:n,named:r,plural:o}=e;return o([t([n(r("count"))," Album"]),t([n(r("count"))," Album"]),t([n(r("count"))," Alben"])])},shuffle:e=>{const{normalize:t}=e;return t(["Zufallswiedergabe"])}},browse:{"featured-playlists":e=>{const{normalize:t}=e;return t(["Ausgezeichnete Playlisten"])},"new-releases":e=>{const{normalize:t}=e;return t(["Neuvorstellung"])},"show-more":e=>{const{normalize:t}=e;return t(["Zeige mehr"])}},playlist:{count:e=>{const{normalize:t,interpolate:n,named:r,plural:o}=e;return o([t([n(r("count"))," Track"]),t([n(r("count"))," Track"]),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ünstler"])},"no-albums":e=>{const{normalize:t}=e;return t(["Keine Alben gefunden"])},"no-artists":e=>{const{normalize:t}=e;return t(["Keine Künstler 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"])},placeholder:e=>{const{normalize:t}=e;return t(["Suche"])},playlists:e=>{const{normalize:t}=e;return t(["Playlisten"])},"show-all-albums":e=>{const{normalize:t,interpolate:n,named:r,plural:o}=e;return o([t(["Zeige das Album"]),t(["Zeige alle ",n(r("count"))," Alben"])])},"show-all-artists":e=>{const{normalize:t,interpolate:n,named:r,plural:o}=e;return o([t(["Zeige den Künstler"]),t(["Zeige alle ",n(r("count"))," Künstler"])])},"show-all-playlists":e=>{const{normalize:t,interpolate:n,named:r,plural:o}=e;return o([t(["Zeige die Playlist"]),t(["Zeige alle ",n(r("count"))," Playlisten"])])},"show-all-tracks":e=>{const{normalize:t,interpolate:n,named:r,plural:o}=e;return o([t(["Zeige den Track"]),t(["Zeige alle ",n(r("count"))," Tracks"])])},tracks:e=>{const{normalize:t}=e;return t(["Tracks"])}}}},playlist:{type:{plain:e=>{const{normalize:t}=e;return t(["Einfache"])},smart:e=>{const{normalize:t}=e;return t(["Intelligente"])}}},player:{button:{consume:e=>{const{normalize:t}=e;return t(["Verlauf löschen"])},pause:e=>{const{normalize:t}=e;return t(["Wiedergabe anhalten"])},play:e=>{const{normalize:t}=e;return t(["Wiedergeben"])},repeat:e=>{const{normalize:t}=e;return t(["Alle Tracks wiederholen"])},"repeat-off":e=>{const{normalize:t}=e;return t(["Tracks einmal lesen"])},"repeat-once":e=>{const{normalize:t}=e;return t(["Aktuellen Track wiederholen"])},"seek-backward":e=>{const{normalize:t}=e;return t(["Rückwärts im Track suchen"])},"seek-forward":e=>{const{normalize:t}=e;return t(["Vorwärts im Track suchen"])},shuffle:e=>{const{normalize:t}=e;return t(["Tracks zufällig wiedergeben"])},"shuffle-disabled":e=>{const{normalize:t}=e;return t(["Tracks in Reihenfolge wiedergeben"])},"skip-backward":e=>{const{normalize:t}=e;return t(["Zum vorherigen Track springen"])},"skip-forward":e=>{const{normalize:t}=e;return t(["Zum nächsten Track springen"])},stop:e=>{const{normalize:t}=e;return t(["Wiedergabe stoppen"])}}},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,plural:o}=e;return o([t([n(r("count"))," Track an die Abspielliste angehängt"]),t([n(r("count"))," Tracks an die Abspielliste angehängt"])])},"empty-queue":e=>{const{normalize:t}=e;return t(["Warteschlange ist leer"])}},"group-by-list":{today:e=>{const{normalize:t}=e;return t(["Heute"])},"last-week":e=>{const{normalize:t}=e;return t(["Letzte Woche"])},"last-month":e=>{const{normalize:t}=e;return t(["Letzer Monat"])}},filter:{mono:e=>{const{normalize:t}=e;return t(["Mono"])},stereo:e=>{const{normalize:t}=e;return t(["Stereo"])},channels:e=>{const{normalize:t,interpolate:n,named:r,plural:o}=e;return o([t([n(r("count"))," Kanal"]),t([n(r("count"))," Kanäle"])])}}},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…"])},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…"])},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"])},path:e=>{const{normalize:t}=e;return t(["Path"])},"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"])},"playlist-name":e=>{const{normalize:t}=e;return t(["Playlist name"])},save:e=>{const{normalize:t}=e;return t(["Save"])},saving:e=>{const{normalize:t}=e;return t(["Saving…"])},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"])},"pairing-code":e=>{const{normalize:t}=e;return t(["Pairing code"])},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…"])},"rescan-metadata":e=>{const{normalize:t}=e;return t(["Rescan metadata of unmodified files"])},rescan:e=>{const{normalize:t}=e;return t(["Rescan"])},spotify:e=>{const{normalize:t}=e;return t(["Only update Spotify"])},title:e=>{const{normalize:t}=e;return t(["Library update"])}}},language:{de:e=>{const{normalize:t}=e;return t(["German (Deutsch)"])},en:e=>{const{normalize:t}=e;return t(["English"])},fr:e=>{const{normalize:t}=e;return t(["French (Français)"])},zh:e=>{const{normalize:t}=e;return t(["Chinese (中文)"])}},list:{albums:{"info-1":e=>{const{normalize:t}=e;return t(["Permanently remove this podcast from your library?"])},"info-2":e=>{const{normalize:t}=e;return t(["This will also remove the RSS playlist "])},remove:e=>{const{normalize:t}=e;return t(["Remove"])},"remove-podcast":e=>{const{normalize:t}=e;return t(["Remove podcast"])}},spotify:{"not-playable-track":e=>{const{normalize:t}=e;return t(["Track is not playable"])},"restriction-reason":e=>{const{normalize:t,interpolate:n,named:r}=e;return t([", restriction reason: ",n(r("reason"))])}}},media:{kind:{album:e=>{const{normalize:t}=e;return t(["Album"])},audiobook:e=>{const{normalize:t}=e;return t(["Audiobook"])},music:e=>{const{normalize:t}=e;return t(["Music"])},podcast:e=>{const{normalize:t}=e;return t(["Podcast"])}}},navigation:{about:e=>{const{normalize:t}=e;return t(["About"])},albums:e=>{const{normalize:t}=e;return t(["Albums"])},artists:e=>{const{normalize:t}=e;return t(["Artists"])},audiobooks:e=>{const{normalize:t}=e;return t(["Audiobooks"])},"now-playing":e=>{const{normalize:t,interpolate:n,named:r}=e;return t([" - ",n(r("album"))])},"stream-error":e=>{const{normalize:t}=e;return t(["HTTP stream error: failed to load stream or stopped loading due to network problem"])},stream:e=>{const{normalize:t}=e;return t(["HTTP stream"])},volume:e=>{const{normalize:t}=e;return t(["Volume"])},files:e=>{const{normalize:t}=e;return t(["Files"])},genres:e=>{const{normalize:t}=e;return t(["Genres"])},music:e=>{const{normalize:t}=e;return t(["Music"])},playlists:e=>{const{normalize:t}=e;return t(["Playlists"])},podcasts:e=>{const{normalize:t}=e;return t(["Podcasts"])},radio:e=>{const{normalize:t}=e;return t(["Radio"])},search:e=>{const{normalize:t}=e;return t(["Search"])},settings:e=>{const{normalize:t}=e;return t(["Settings"])},spotify:e=>{const{normalize:t}=e;return t(["Spotify"])},title:e=>{const{normalize:t}=e;return t(["OwnTone"])},"update-library":e=>{const{normalize:t}=e;return t(["Update Library"])}},page:{about:{albums:e=>{const{normalize:t}=e;return t(["Albums"])},artists:e=>{const{normalize:t}=e;return t(["Artists"])},"built-with":e=>{const{normalize:t,interpolate:n,named:r}=e;return t(["Web interface built with ",n(r("bulma")),", ",n(r("mdi")),", ",n(r("vuejs")),", ",n(r("axios"))," and ",n(r("others")),"."])},"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"])},more:e=>{const{normalize:t}=e;return t(["more"])},"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,plural:o}=e;return o([t([n(r("count"))," track"]),t([n(r("count"))," track"]),t([n(r("count"))," tracks"])])}},albums:{count:e=>{const{normalize:t,interpolate:n,named:r,plural:o}=e;return o([t([n(r("count"))," album"]),t([n(r("count"))," album"]),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,plural:o}=e;return o([t([n(r("count"))," album"]),t([n(r("count"))," album"]),t([n(r("count"))," albums"])])},shuffle:e=>{const{normalize:t}=e;return t(["Shuffle"])},"track-count":e=>{const{normalize:t,interpolate:n,named:r,plural:o}=e;return o([t([n(r("count"))," track"]),t([n(r("count"))," track"]),t([n(r("count"))," tracks"])])},"sort-by":{title:e=>{const{normalize:t}=e;return t(["Sort by"])},name:e=>{const{normalize:t}=e;return t(["Name"])},rating:e=>{const{normalize:t}=e;return t(["Rating"])},"release-date":e=>{const{normalize:t}=e;return t(["Release date"])}}},artists:{count:e=>{const{normalize:t,interpolate:n,named:r,plural:o}=e;return o([t([n(r("count"))," artist"]),t([n(r("count"))," artist"]),t([n(r("count"))," artists"])])},filter:e=>{const{normalize:t}=e;return t(["Filter"])},"sort-by":{title:e=>{const{normalize:t}=e;return t(["Sort by"])},name:e=>{const{normalize:t}=e;return t(["Name"])},"recently-added":e=>{const{normalize:t}=e;return t(["Recently added"])}},"hide-singles-help":e=>{const{normalize:t}=e;return t(["If active, hides artists that only appear on singles or playlists."])},"hide-singles":e=>{const{normalize:t}=e;return t(["Hide singles"])},"hide-spotify-help":e=>{const{normalize:t}=e;return t(["If active, hides artists that only appear in your Spotify library."])},"hide-spotify":e=>{const{normalize:t}=e;return t(["Hide artists from Spotify"])},title:e=>{const{normalize:t}=e;return t(["Artists"])}},audiobooks:{album:{play:e=>{const{normalize:t}=e;return t(["Play"])},"track-count":e=>{const{normalize:t,interpolate:n,named:r,plural:o}=e;return o([t([n(r("count"))," track"]),t([n(r("count"))," track"]),t([n(r("count"))," tracks"])])}},albums:{count:e=>{const{normalize:t,interpolate:n,named:r,plural:o}=e;return o([t([n(r("count"))," audiobook"]),t([n(r("count"))," audiobook"]),t([n(r("count"))," audiobooks"])])},title:e=>{const{normalize:t}=e;return t(["Audiobooks"])}},artist:{"album-count":e=>{const{normalize:t,interpolate:n,named:r,plural:o}=e;return o([t([n(r("count"))," album"]),t([n(r("count"))," album"]),t([n(r("count"))," albums"])])},play:e=>{const{normalize:t}=e;return t(["Play"])}},artists:{count:e=>{const{normalize:t,interpolate:n,named:r,plural:o}=e;return o([t([n(r("count"))," author"]),t([n(r("count"))," author"]),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,plural:o}=e;return o([t([n(r("count"))," album"]),t([n(r("count"))," album"]),t([n(r("count"))," albums"])])},shuffle:e=>{const{normalize:t}=e;return t(["Shuffle"])},"track-count":e=>{const{normalize:t,interpolate:n,named:r,plural:o}=e;return o([t([n(r("count"))," track"]),t([n(r("count"))," track"]),t([n(r("count"))," tracks"])])},"sort-by":{title:e=>{const{normalize:t}=e;return t(["Sort by"])},name:e=>{const{normalize:t}=e;return t(["Name"])},rating:e=>{const{normalize:t}=e;return t(["Rating"])}}},composers:{count:e=>{const{normalize:t,interpolate:n,named:r,plural:o}=e;return o([t([n(r("count"))," composer"]),t([n(r("count"))," composer"]),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,plural:o}=e;return o([t([n(r("count"))," album"]),t([n(r("count"))," album"]),t([n(r("count"))," albums"])])},shuffle:e=>{const{normalize:t}=e;return t(["Shuffle"])},"track-count":e=>{const{normalize:t,interpolate:n,named:r,plural:o}=e;return o([t([n(r("count"))," track"]),t([n(r("count"))," track"]),t([n(r("count"))," tracks"])])},"sort-by":{title:e=>{const{normalize:t}=e;return t(["Sort by"])},name:e=>{const{normalize:t}=e;return t(["Name"])},rating:e=>{const{normalize:t}=e;return t(["Rating"])}}},genres:{count:e=>{const{normalize:t,interpolate:n,named:r,plural:o}=e;return o([t([n(r("count"))," genre"]),t([n(r("count"))," genre"]),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"])},live:e=>{const{normalize:t}=e;return t(["Live"])},title:e=>{const{normalize:t}=e;return t(["Your play queue is empty"])}},playlist:{length:e=>{const{normalize:t,interpolate:n,named:r}=e;return t([n(r("length"))," tracks"])},shuffle:e=>{const{normalize:t}=e;return t(["Shuffle"])},"track-count":e=>{const{normalize:t,interpolate:n,named:r,plural:o}=e;return o([t([n(r("count"))," track"]),t([n(r("count"))," track"]),t([n(r("count"))," tracks"])])}},playlists:{count:e=>{const{normalize:t,interpolate:n,named:r,plural:o}=e;return o([t([n(r("count"))," playlist"]),t([n(r("count"))," playlist"]),t([n(r("count"))," playlists"])])}},podcast:{play:e=>{const{normalize:t}=e;return t(["Play"])},remove:e=>{const{normalize:t}=e;return t(["Remove"])},"remove-info-1":e=>{const{normalize:t}=e;return t(["Permanently remove this podcast from your library?"])},"remove-info-2":e=>{const{normalize:t}=e;return t(["This will also remove the RSS playlist "])},"remove-podcast":e=>{const{normalize:t}=e;return t(["Remove podcast"])},"track-count":e=>{const{normalize:t,interpolate:n,named:r,plural:o}=e;return o([t([n(r("count"))," track"]),t([n(r("count"))," track"]),t([n(r("count"))," tracks"])])}},podcasts:{add:e=>{const{normalize:t}=e;return t(["Add"])},count:e=>{const{normalize:t,interpolate:n,named:r,plural:o}=e;return o([t([n(r("count"))," podcast"]),t([n(r("count"))," podcast"]),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,plural:o}=e;return o([t([n(r("count"))," track"]),t([n(r("count"))," track"]),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,plural:o}=e;return o([t([n(r("count"))," station"]),t([n(r("count"))," station"]),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"])},expression:e=>{const{normalize:t}=e;return t(["expression"])},help:e=>{const{normalize:t,interpolate:n,named:r}=e;return t(["Tip: you can search by a smart playlist query language ",n(r("help"))," if you prefix it with ",n(r("query")),"."])},"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"])},placeholder:e=>{const{normalize:t}=e;return t(["Search"])},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,plural:o}=e;return o([t(["Show the album"]),t(["Show all ",n(r("count"))," albums"])])},"show-artists":e=>{const{normalize:t,interpolate:n,named:r,plural:o}=e;return o([t(["Show the artist"]),t(["Show all ",n(r("count"))," artists"])])},"show-audiobooks":e=>{const{normalize:t,interpolate:n,named:r,plural:o}=e;return o([t(["Show the audiobook"]),t(["Show all ",n(r("count"))," audiobooks"])])},"show-composers":e=>{const{normalize:t,interpolate:n,named:r,plural:o}=e;return o([t(["Show the composer"]),t(["Show all ",n(r("count"))," composers"])])},"show-playlists":e=>{const{normalize:t,interpolate:n,named:r,plural:o}=e;return o([t(["Show the playlist"]),t(["Show all ",n(r("count"))," playlists"])])},"show-podcasts":e=>{const{normalize:t,interpolate:n,named:r,plural:o}=e;return o([t(["Show the podcast"]),t(["Show all ",n(r("count"))," podcasts"])])},"show-tracks":e=>{const{normalize:t,interpolate:n,named:r,plural:o}=e;return o([t(["Show the track"]),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-code":e=>{const{normalize:t}=e;return t(["Pairing code"])},"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(["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(["Files"])},genres:e=>{const{normalize:t}=e;return t(["Genres"])},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(["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(["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"])},password:e=>{const{normalize:t}=e;return t(["Password"])},username:e=>{const{normalize:t}=e;return t(["Username"])}},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,plural:o}=e;return o([t([n(r("count"))," track"]),t([n(r("count"))," track"]),t([n(r("count"))," tracks"])])}},artist:{"album-count":e=>{const{normalize:t,interpolate:n,named:r,plural:o}=e;return o([t([n(r("count"))," album"]),t([n(r("count"))," album"]),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,plural:o}=e;return o([t([n(r("count"))," track"]),t([n(r("count"))," track"]),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"])},placeholder:e=>{const{normalize:t}=e;return t(["Search"])},playlists:e=>{const{normalize:t}=e;return t(["Playlists"])},"show-all-albums":e=>{const{normalize:t,interpolate:n,named:r,plural:o}=e;return o([t(["Show the album"]),t(["Show all ",n(r("count"))," albums"])])},"show-all-artists":e=>{const{normalize:t,interpolate:n,named:r,plural:o}=e;return o([t(["Show the artist"]),t(["Show all ",n(r("count"))," artists"])])},"show-all-playlists":e=>{const{normalize:t,interpolate:n,named:r,plural:o}=e;return o([t(["Show the playlist"]),t(["Show all ",n(r("count"))," playlists"])])},"show-all-tracks":e=>{const{normalize:t,interpolate:n,named:r,plural:o}=e;return o([t(["Show the track"]),t(["Show all ",n(r("count"))," tracks"])])},tracks:e=>{const{normalize:t}=e;return t(["Tracks"])}}}},playlist:{type:{plain:e=>{const{normalize:t}=e;return t(["Plain"])},smart:e=>{const{normalize:t}=e;return t(["Smart"])}}},player:{button:{consume:e=>{const{normalize:t}=e;return t(["Clear history"])},pause:e=>{const{normalize:t}=e;return t(["Pause"])},play:e=>{const{normalize:t}=e;return t(["Play"])},repeat:e=>{const{normalize:t}=e;return t(["Repeat all tracks"])},"repeat-off":e=>{const{normalize:t}=e;return t(["Read tracks once"])},"repeat-once":e=>{const{normalize:t}=e;return t(["Repeat current track"])},"seek-backward":e=>{const{normalize:t}=e;return t(["Seek backward in the track"])},"seek-forward":e=>{const{normalize:t}=e;return t(["Seek forward in the track"])},shuffle:e=>{const{normalize:t}=e;return t(["Play tracks randomly"])},"shuffle-disabled":e=>{const{normalize:t}=e;return t(["Play tracks in order"])},"skip-backward":e=>{const{normalize:t}=e;return t(["Skip to previous track"])},"skip-forward":e=>{const{normalize:t}=e;return t(["Skip to next track"])},stop:e=>{const{normalize:t}=e;return t(["Stop"])}}},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,plural:o}=e;return o([t([n(r("count"))," track appended to the queue"]),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,plural:o}=e;return o([t([n(r("count"))," channel"]),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(["Lajout dun podcast inclut la création dune liste de lecture RSS, qui permettra à OwnTone de gérer labonnement 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…"])},title:e=>{const{normalize:t}=e;return t(["Ajouter lURL 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…"])},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 lURL 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é le"])},artist:e=>{const{normalize:t}=e;return t(["Artiste de lalbum"])},duration:e=>{const{normalize:t}=e;return t(["Durée"])},"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ée"])}},artist:{"add-next":e=>{const{normalize:t}=e;return t(["Ajouter ensuite"])},add:e=>{const{normalize:t}=e;return t(["Ajouter"])},"added-on":e=>{const{normalize:t}=e;return t(["Ajouté 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ée"])},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ée"])},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"])},path:e=>{const{normalize:t}=e;return t(["Emplacement"])},"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"])},"playlist-name":e=>{const{normalize:t}=e;return t(["Nom de la liste de lecture"])},save:e=>{const{normalize:t}=e;return t(["Enregistrer"])},saving:e=>{const{normalize:t}=e;return t(["Enregistrement en cours…"])},title:e=>{const{normalize:t}=e;return t(["Enregistrer la file dattente dans une liste de lecture"])}}},"queue-item":{"album-artist":e=>{const{normalize:t}=e;return t(["Artiste de lalbum"])},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ée"])},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é"])},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ée"])}},"remote-pairing":{cancel:e=>{const{normalize:t}=e;return t(["Annuler"])},pair:e=>{const{normalize:t}=e;return t(["Jumeler la télécommande"])},"pairing-code":e=>{const{normalize:t}=e;return t(["Code de jumelage"])},title:e=>{const{normalize:t}=e;return t(["Demande de jumelage de télécommande"])}},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 lalbum"])},play:e=>{const{normalize:t}=e;return t(["Lire"])},"release-date":e=>{const{normalize:t}=e;return t(["Date de sortie"])},type:e=>{const{normalize:t}=e;return t(["Type"])}},artist:{"add-next":e=>{const{normalize:t}=e;return t(["Ajouter ensuite"])},add:e=>{const{normalize:t}=e;return t(["Ajouter"])},genres:e=>{const{normalize:t}=e;return t(["Genres"])},play:e=>{const{normalize:t}=e;return t(["Lire"])},popularity:e=>{const{normalize:t}=e;return t(["Popularité / Abonnements"])}},playlist:{"add-next":e=>{const{normalize:t}=e;return t(["Ajouter ensuite"])},add:e=>{const{normalize:t}=e;return t(["Ajouter"])},owner:e=>{const{normalize:t}=e;return t(["Propriétaire"])},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 lalbum"])},album:e=>{const{normalize:t}=e;return t(["Album"])},duration:e=>{const{normalize:t}=e;return t(["Durée"])},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é le"])},"album-artist":e=>{const{normalize:t}=e;return t(["Artiste de lalbum"])},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ée"])},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é"])},"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ée"])}},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és, supprimés et modifiés"])},local:e=>{const{normalize:t}=e;return t(["Actualiser uniquement la bibliothèque locale"])},progress:e=>{const{normalize:t}=e;return t(["Actualisation de la bibliothèque en cours…"])},"rescan-metadata":e=>{const{normalize:t}=e;return t(["Analyser les métadonnées des fichiers non modifiés"])},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èque"])}}},language:{de:e=>{const{normalize:t}=e;return t(["Allemand (Deutsch)"])},en:e=>{const{normalize:t}=e;return t(["Anglais (English)"])},fr:e=>{const{normalize:t}=e;return t(["Français"])},zh:e=>{const{normalize:t}=e;return t(["Chinois (中文)"])}},list:{albums:{"info-1":e=>{const{normalize:t}=e;return t(["Supprimer définitivement ce podcast de votre bibliothèque ?"])},"info-2":e=>{const{normalize:t}=e;return t(["Cela supprimera également la liste de lecture RSS "])},remove:e=>{const{normalize:t}=e;return t(["Supprimer"])},"remove-podcast":e=>{const{normalize:t}=e;return t(["Supprimer le podcast"])}},spotify:{"not-playable-track":e=>{const{normalize:t}=e;return t(["La piste ne peut pas être 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(["À 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 : échec du chargement du flux ou arrêt du chargement en raison dun problème réseau"])},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églages"])},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èque"])}},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,interpolate:n,named:r}=e;return t(["Interface utilisateur construite avec ",n(r("bulma")),", ",n(r("mdi")),", ",n(r("vuejs")),", ",n(r("axios"))," et ",n(r("others")),"."])},"compiled-with":e=>{const{normalize:t,interpolate:n,named:r}=e;return t(["Compilé avec les options ",n(r("options")),"."])},library:e=>{const{normalize:t}=e;return t(["Bibliothèque"])},more:e=>{const{normalize:t}=e;return t(["plus"])},"total-playtime":e=>{const{normalize:t}=e;return t(["Durée 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 à jour"])},uptime:e=>{const{normalize:t}=e;return t(["Temps de fonctionnement"])},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(["Lecture aléatoire"])},"track-count":e=>{const{normalize:t,interpolate:n,named:r,plural:o}=e;return o([t([n(r("count"))," piste"]),t([n(r("count"))," piste"]),t([n(r("count"))," pistes"])])}},albums:{count:e=>{const{normalize:t,interpolate:n,named:r,plural:o}=e;return o([t([n(r("count"))," album"]),t([n(r("count"))," album"]),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 napparaissent 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 napparaissent que dans votre bibliothèque 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écents"])},"recently-released":e=>{const{normalize:t}=e;return t(["Sorties récentes"])}}},artist:{"album-count":e=>{const{normalize:t,interpolate:n,named:r,plural:o}=e;return o([t([n(r("count"))," album"]),t([n(r("count"))," album"]),t([n(r("count"))," albums"])])},shuffle:e=>{const{normalize:t}=e;return t(["Lecture aléatoire"])},"track-count":e=>{const{normalize:t,interpolate:n,named:r,plural:o}=e;return o([t([n(r("count"))," piste"]),t([n(r("count"))," piste"]),t([n(r("count"))," pistes"])])},"sort-by":{title:e=>{const{normalize:t}=e;return t(["Trier par"])},name:e=>{const{normalize:t}=e;return t(["Nom"])},rating:e=>{const{normalize:t}=e;return t(["Classement"])},"release-date":e=>{const{normalize:t}=e;return t(["Date de sortie"])}}},artists:{count:e=>{const{normalize:t,interpolate:n,named:r,plural:o}=e;return o([t([n(r("count"))," artiste"]),t([n(r("count"))," artiste"]),t([n(r("count"))," artistes"])])},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écents"])}},"hide-singles-help":e=>{const{normalize:t}=e;return t(["Si actif, masque les artistes qui napparaissent 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 napparaissent que dans votre bibliothèque 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,plural:o}=e;return o([t([n(r("count"))," piste"]),t([n(r("count"))," piste"]),t([n(r("count"))," pistes"])])}},albums:{count:e=>{const{normalize:t,interpolate:n,named:r,plural:o}=e;return o([t([n(r("count"))," livre audio"]),t([n(r("count"))," livre audio"]),t([n(r("count"))," livres audio"])])},title:e=>{const{normalize:t}=e;return t(["Livres audio"])}},artist:{"album-count":e=>{const{normalize:t,interpolate:n,named:r,plural:o}=e;return o([t([n(r("count"))," album"]),t([n(r("count"))," album"]),t([n(r("count"))," albums"])])},play:e=>{const{normalize:t}=e;return t(["Lire"])}},artists:{count:e=>{const{normalize:t,interpolate:n,named:r,plural:o}=e;return o([t([n(r("count"))," auteur"]),t([n(r("count"))," auteur"]),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écents"])}},"recently-played":{title:e=>{const{normalize:t}=e;return t(["Lectures récentes"])},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,plural:o}=e;return o([t([n(r("count"))," album"]),t([n(r("count"))," album"]),t([n(r("count"))," albums"])])},shuffle:e=>{const{normalize:t}=e;return t(["Lecture aléatoire"])},"track-count":e=>{const{normalize:t,interpolate:n,named:r,plural:o}=e;return o([t([n(r("count"))," piste"]),t([n(r("count"))," piste"]),t([n(r("count"))," pistes"])])},"sort-by":{title:e=>{const{normalize:t}=e;return t(["Trier par"])},name:e=>{const{normalize:t}=e;return t(["Nom"])},rating:e=>{const{normalize:t}=e;return t(["Classement"])}}},composers:{count:e=>{const{normalize:t,interpolate:n,named:r,plural:o}=e;return o([t([n(r("count"))," compositeur"]),t([n(r("count"))," compositeur"]),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,plural:o}=e;return o([t([n(r("count"))," album"]),t([n(r("count"))," album"]),t([n(r("count"))," albums"])])},shuffle:e=>{const{normalize:t}=e;return t(["Lecture aléatoire"])},"track-count":e=>{const{normalize:t,interpolate:n,named:r,plural:o}=e;return o([t([n(r("count"))," piste"]),t([n(r("count"))," piste"]),t([n(r("count"))," pistes"])])},"sort-by":{title:e=>{const{normalize:t}=e;return t(["Trier par"])},name:e=>{const{normalize:t}=e;return t(["Nom"])},rating:e=>{const{normalize:t}=e;return t(["Classement"])}}},genres:{count:e=>{const{normalize:t,interpolate:n,named:r,plural:o}=e;return o([t([n(r("count"))," genre"]),t([n(r("count"))," genre"]),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èque"])},live:e=>{const{normalize:t}=e;return t(["En direct"])},title:e=>{const{normalize:t}=e;return t(["La file dattente 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éatoire"])},"track-count":e=>{const{normalize:t,interpolate:n,named:r,plural:o}=e;return o([t([n(r("count"))," piste"]),t([n(r("count"))," piste"]),t([n(r("count"))," pistes"])])}},playlists:{count:e=>{const{normalize:t,interpolate:n,named:r,plural:o}=e;return o([t([n(r("count"))," liste de lecture"]),t([n(r("count"))," liste de lecture"]),t([n(r("count"))," listes de lecture"])])}},podcast:{play:e=>{const{normalize:t}=e;return t(["Lire"])},remove:e=>{const{normalize:t}=e;return t(["Supprimer"])},"remove-info-1":e=>{const{normalize:t}=e;return t(["Supprimer ce podcast de manière permanente de la bibliothèque ?"])},"remove-info-2":e=>{const{normalize:t}=e;return t(["Cela supprimera également la liste de lecture RSS "])},"remove-podcast":e=>{const{normalize:t}=e;return t(["Supprimer le podcast"])},"track-count":e=>{const{normalize:t,interpolate:n,named:r,plural:o}=e;return o([t([n(r("count"))," piste"]),t([n(r("count"))," piste"]),t([n(r("count"))," pistes"])])}},podcasts:{add:e=>{const{normalize:t}=e;return t(["Ajouter"])},count:e=>{const{normalize:t,interpolate:n,named:r,plural:o}=e;return o([t([n(r("count"))," podcast"]),t([n(r("count"))," podcast"]),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 épisodes"])},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,plural:o}=e;return o([t([n(r("count"))," piste"]),t([n(r("count"))," piste"]),t([n(r("count"))," pistes"])])},edit:e=>{const{normalize:t}=e;return t(["Éditer"])},"hide-previous":e=>{const{normalize:t}=e;return t(["Masquer lhistorique"])},queue:e=>{const{normalize:t}=e;return t(["File dattente"])},save:e=>{const{normalize:t}=e;return t(["Enregistrer"])}},radio:{count:e=>{const{normalize:t,interpolate:n,named:r,plural:o}=e;return o([t([n(r("count"))," station"]),t([n(r("count"))," station"]),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"])},expression:e=>{const{normalize:t}=e;return t(["expression"])},help:e=>{const{normalize:t,interpolate:n,named:r}=e;return t(["Astuce : vous pouvez effectuer une recherche avec une ",n(r("help"))," du langage de requête de liste de lecture intelligente en préfixant votre requête avec ",n(r("query"))])},"no-albums":e=>{const{normalize:t}=e;return t(["Aucun album trouvé"])},"no-artists":e=>{const{normalize:t}=e;return t(["Aucun artiste trouvé"])},"no-audiobooks":e=>{const{normalize:t}=e;return t(["Aucun livre audio trouvé"])},"no-composers":e=>{const{normalize:t}=e;return t(["Aucun compositeur trouvé"])},"no-playlists":e=>{const{normalize:t}=e;return t(["Aucune liste de lecture trouvée"])},"no-podcasts":e=>{const{normalize:t}=e;return t(["Aucune podcast trouvé"])},"no-tracks":e=>{const{normalize:t}=e;return t(["Aucune piste trouvée"])},placeholder:e=>{const{normalize:t}=e;return t(["Recherche"])},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,plural:o}=e;return o([t(["Afficher lalbum"]),t(["Afficher les ",n(r("count"))," albums"])])},"show-artists":e=>{const{normalize:t,interpolate:n,named:r,plural:o}=e;return o([t(["Afficher lartiste"]),t(["Afficher les ",n(r("count"))," artistes"])])},"show-audiobooks":e=>{const{normalize:t,interpolate:n,named:r,plural:o}=e;return o([t(["Afficher le livre audio"]),t(["Afficher les ",n(r("count"))," livres audio"])])},"show-composers":e=>{const{normalize:t,interpolate:n,named:r,plural:o}=e;return o([t(["Afficher le compositeur"]),t(["Afficher les ",n(r("count"))," compositeurs"])])},"show-playlists":e=>{const{normalize:t,interpolate:n,named:r,plural:o}=e;return o([t(["Afficher la liste de lecture"]),t(["Afficher les ",n(r("count"))," listes de lecture"])])},"show-podcasts":e=>{const{normalize:t,interpolate:n,named:r,plural:o}=e;return o([t(["Afficher le podcast"]),t(["Afficher les ",n(r("count"))," podcasts"])])},"show-tracks":e=>{const{normalize:t,interpolate:n,named:r,plural:o}=e;return o([t(["Afficher la piste"]),t(["Afficher les ",n(r("n"))," pistes"])])},tracks:e=>{const{normalize:t}=e;return t(["Pistes"])},tabs:{library:e=>{const{normalize:t}=e;return t(["Bibliothèque"])},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ées dans la bibliothèque en tant que fichiers image séparés, soit intégrées dans les fichiers média, soit mises à disposition en ligne par les stations de radio."])},"explanation-2":e=>{const{normalize:t}=e;return t(["En outre, vous pouvez activer la récupération des illustrations à partir des fournisseurs dillustrations 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-code":e=>{const{normalize:t}=e;return t(["Code de jumelage"])},"pairing-request":e=>{const{normalize:t}=e;return t(["Demande de jumelage de télécommande "])},pairing:e=>{const{normalize:t}=e;return t(["Jumelage de télécommande"])},send:e=>{const{normalize:t}=e;return t(["Envoyer"])},"speaker-pairing-info":e=>{const{normalize:t}=e;return t(["Si votre enceinte nécessite un jumelage, activez-la ci-dessous et entrez le code PIN quelle affiche."])},"speaker-pairing":e=>{const{normalize:t}=e;return t(["Jumelage denceinte et vérification dappareil"])},"verification-code":e=>{const{normalize:t}=e;return t(["Code de vérification"])},verify:e=>{const{normalize:t}=e;return t(["Vérifier"])}},general:{"album-lists":e=>{const{normalize:t}=e;return t(["Listes dalbum"])},audiobooks:e=>{const{normalize:t}=e;return t(["Livres audio"])},files:e=>{const{normalize:t}=e;return t(["Fichiers"])},genres:e=>{const{normalize:t}=e;return t(["Genres"])},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électionnez plus déléments que ce qui peut être affiché sur votre écran, le menu disparaîtra."])},"navigation-item-selection":e=>{const{normalize:t}=e;return t(["Sélectionnez les éléments de la barre de navigation supérieure"])},"navigation-items":e=>{const{normalize:t}=e;return t(["Barre de navigation"])},"now-playing-page":e=>{const{normalize:t}=e;return t(["Page « En cours de lecture »"])},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 dalbum affichés dans la section « Ajouts récents »"])},"recently-added-page":e=>{const{normalize:t}=e;return t(["Page « Ajouts récents »"])},search:e=>{const{normalize:t}=e;return t(["Recherche"])},"show-composer-genres-info-1":e=>{const{normalize:t}=e;return t(["Liste des genres, séparés par des virgules, que le compositeur doit afficher sur la page « En cours de lecture »."])},"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étiquette de genre de la piste actuelle est comparée en vérifiant si lun des genres définis est inclus. Par exemple, en choisissant "classique, bande sonore", le compositeur pour les pistes dont létiquette de genre est "classique contemporain" sera affiché.'])},"show-composer-genres":e=>{const{normalize:t}=e;return t(["Afficher le compositeur uniquement pour les genres listés"])},"show-composer-info":e=>{const{normalize:t}=e;return t(["Si actif, le compositeur de la piste en cours de lecture est affiché sur la page « En cours de lecture »"])},"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 dalbums"])},"show-path":e=>{const{normalize:t}=e;return t(["Afficher le chemin du fichier sur la page « En cours de lecture »"])}},services:{lastfm:{"grant-access":e=>{const{normalize:t}=e;return t(["Connectez-vous avec votre nom dutilisateur et votre mot de passe Last.fm pour activer le scrobbling."])},info:e=>{const{normalize:t}=e;return t(["Le nom dutilisateur et le mot de passe Last.fm ne sont pas enregistrés, uniquement la clé de session. La clé de session nexpire pas."])},title:e=>{const{normalize:t}=e;return t(["Last.fm"])},"no-support":e=>{const{normalize:t}=e;return t(["Loption Last.fm nest pas présente."])},"stop-scrobbling":e=>{const{normalize:t}=e;return t(["Arrêter le scrobbling"])}},spotify:{"no-support":e=>{const{normalize:t}=e;return t(["Loption Spotify nest pas présente."])},"logged-as":e=>{const{normalize:t}=e;return t(["Connecté en tant que "])},requirements:e=>{const{normalize:t}=e;return t(["Vous devez posséder un compte Spotify Premium."])},scopes:e=>{const{normalize:t}=e;return t(["Laccès à lAPI de Spotify permet lanalyse de votre bibliothèque Spotify. Les champs dapplication requis sont les suivants :"])},user:e=>{const{normalize:t}=e;return t(["Accès autorisé pour "])},authorize:e=>{const{normalize:t}=e;return t(["Autoriser laccès à lAPI"])},credentials:e=>{const{normalize:t}=e;return t([" - Connectez-vous avec votre nom dutilisateur et mot de passe Spotify"])},"grant-access":e=>{const{normalize:t}=e;return t(["Accordez laccès à lAPI de Spotify"])},"help-1":e=>{const{normalize:t}=e;return t(["La bibliothèque libspotify permet de lire les pistes de Spotify."])},"help-2":e=>{const{normalize:t}=e;return t(["Votre nom dutilisateur et votre mot de passe Spotify ne sont pas enregistrés, uniquement le jeton de connexion."])},reauthorize:e=>{const{normalize:t}=e;return t(["Veuillez autoriser à nouveau laccès à lAPI pour accorder à OwnTone les droits daccès supplémentaires 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éconnecter"])},password:e=>{const{normalize:t}=e;return t(["Mot de passe"])},username:e=>{const{normalize:t}=e;return t(["Nom dutilisateur"])}},tabs:{artwork:e=>{const{normalize:t}=e;return t(["Illustrations"])},general:e=>{const{normalize:t}=e;return t(["Général"])},"online-services":e=>{const{normalize:t}=e;return t(["Services en ligne"])},"remotes-and-outputs":e=>{const{normalize:t}=e;return t(["Télécommandes et sorties"])}}},spotify:{album:{shuffle:e=>{const{normalize:t}=e;return t(["Lecture aléatoire"])},"track-count":e=>{const{normalize:t,interpolate:n,named:r,plural:o}=e;return o([t([n(r("count"))," piste"]),t([n(r("count"))," piste"]),t([n(r("count"))," pistes"])])}},artist:{"album-count":e=>{const{normalize:t,interpolate:n,named:r,plural:o}=e;return o([t([n(r("count"))," album"]),t([n(r("count"))," album"]),t([n(r("count"))," albums"])])},shuffle:e=>{const{normalize:t}=e;return t(["Lecture aléatoire"])}},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,plural:o}=e;return o([t([n(r("count"))," piste"]),t([n(r("count"))," piste"]),t([n(r("count"))," pistes"])])},shuffle:e=>{const{normalize:t}=e;return t(["Lecture aléatoire"])}},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é"])},"no-artists":e=>{const{normalize:t}=e;return t(["Aucun artiste trouvé"])},"no-playlists":e=>{const{normalize:t}=e;return t(["Aucune liste de lecture trouvée"])},"no-tracks":e=>{const{normalize:t}=e;return t(["Aucune piste trouvée"])},placeholder:e=>{const{normalize:t}=e;return t(["Recherche"])},playlists:e=>{const{normalize:t}=e;return t(["Listes de lecture"])},"show-all-albums":e=>{const{normalize:t,interpolate:n,named:r,plural:o}=e;return o([t(["Afficher lalbum"]),t(["Afficher les ",n(r("count"))," albums"])])},"show-all-artists":e=>{const{normalize:t,interpolate:n,named:r,plural:o}=e;return o([t(["Afficher lartistes"]),t(["Afficher les ",n(r("count"))," artistes"])])},"show-all-playlists":e=>{const{normalize:t,interpolate:n,named:r,plural:o}=e;return o([t(["Afficher la liste de lecture"]),t(["Afficher les ",n(r("count"))," listes de lecture"])])},"show-all-tracks":e=>{const{normalize:t,interpolate:n,named:r,plural:o}=e;return o([t(["Afficher la piste"]),t(["Afficher les ",n(r("count"))," pistes"])])},tracks:e=>{const{normalize:t}=e;return t(["Pistes"])}}}},playlist:{type:{plain:e=>{const{normalize:t}=e;return t(["Simple"])},smart:e=>{const{normalize:t}=e;return t(["Intelligente"])}}},player:{button:{consume:e=>{const{normalize:t}=e;return t(["Effacer lhistorique"])},pause:e=>{const{normalize:t}=e;return t(["Mettre la lecture en pause"])},play:e=>{const{normalize:t}=e;return t(["Lire"])},repeat:e=>{const{normalize:t}=e;return t(["Répéter toutes les pistes"])},"repeat-off":e=>{const{normalize:t}=e;return t(["Lire les pistes une fois"])},"repeat-once":e=>{const{normalize:t}=e;return t(["Répéter la piste en cours"])},"seek-backward":e=>{const{normalize:t}=e;return t(["Reculer dans la piste"])},"seek-forward":e=>{const{normalize:t}=e;return t(["Avancer dans la piste"])},shuffle:e=>{const{normalize:t}=e;return t(["Lire les pistes aléatoirement"])},"shuffle-disabled":e=>{const{normalize:t}=e;return t(["Lire les pistes dans lordre"])},"skip-backward":e=>{const{normalize:t}=e;return t(["Reculer à la piste précédente"])},"skip-forward":e=>{const{normalize:t}=e;return t(["Avancer à la piste suivante"])},stop:e=>{const{normalize:t}=e;return t(["Arrêter la lecture"])}}},setting:{"not-saved":e=>{const{normalize:t}=e;return t([" (erreur à lenregistrement du réglage)"])},saved:e=>{const{normalize:t}=e;return t([" (réglage enregistré)"])}},server:{"connection-failed":e=>{const{normalize:t}=e;return t(["Échec 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ête a échoué (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 dattente enregistrée dans la liste de lecture ",n(r("name"))])},"appended-tracks":e=>{const{normalize:t,interpolate:n,named:r,plural:o}=e;return o([t([n(r("count"))," piste ajoutée à la file dattente"]),t([n(r("count"))," pistes ajoutées à la file dattente"])])},"empty-queue":e=>{const{normalize:t}=e;return t(["La file dattente est vide"])}},"group-by-list":{today:e=>{const{normalize:t}=e;return t(["Aujourdhui"])},"last-week":e=>{const{normalize:t}=e;return t(["La semaine dernière"])},"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éréo"])},channels:e=>{const{normalize:t,interpolate:n,named:r,plural:o}=e;return o([t([n(r("count"))," canal"]),t([n(r("count"))," canaux"])])}}},zh:{data:{kind:{file:e=>{const{normalize:t}=e;return t(["文件"])},url:e=>{const{normalize:t}=e;return t(["链接"])},spotify:e=>{const{normalize:t}=e;return t(["Spotify"])},pipe:e=>{const{normalize:t}=e;return t(["流"])}}},dialog:{cancel:e=>{const{normalize:t}=e;return t(["取消"])},add:{rss:{add:e=>{const{normalize:t}=e;return t(["添加"])},cancel:e=>{const{normalize:t}=e;return t(["取消"])},help:e=>{const{normalize:t}=e;return t(["添加一个可生成播放列表的播客RSS链接这将允许OwnTone管理订阅"])},placeholder:e=>{const{normalize:t}=e;return t(["https://url-to-rss"])},processing:e=>{const{normalize:t}=e;return t(["处理中…"])},title:e=>{const{normalize:t}=e;return t(["添加播客RSS订阅链接"])}},stream:{add:e=>{const{normalize:t}=e;return t(["添加"])},cancel:e=>{const{normalize:t}=e;return t(["取消"])},loading:e=>{const{normalize:t}=e;return t(["加载中…"])},placeholder:e=>{const{normalize:t}=e;return t(["https://url-to-stream"])},play:e=>{const{normalize:t}=e;return t(["播放"])},title:e=>{const{normalize:t}=e;return t(["添加流链接"])}}},album:{"add-next":e=>{const{normalize:t}=e;return t(["插播"])},add:e=>{const{normalize:t}=e;return t(["最后播放"])},"added-on":e=>{const{normalize:t}=e;return t(["添加时间"])},artist:e=>{const{normalize:t}=e;return t(["专辑艺人"])},duration:e=>{const{normalize:t}=e;return t(["时长"])},"mark-as-played":e=>{const{normalize:t}=e;return t(["标记为已播"])},play:e=>{const{normalize:t}=e;return t(["播放"])},"release-date":e=>{const{normalize:t}=e;return t(["发行日期"])},"remove-podcast":e=>{const{normalize:t}=e;return t(["移除播客"])},tracks:e=>{const{normalize:t}=e;return t(["只曲目"])},type:e=>{const{normalize:t}=e;return t(["类型"])},year:e=>{const{normalize:t}=e;return t(["年份"])}},artist:{"add-next":e=>{const{normalize:t}=e;return t(["插播"])},add:e=>{const{normalize:t}=e;return t(["最后播放"])},"added-on":e=>{const{normalize:t}=e;return t(["添加时间"])},albums:e=>{const{normalize:t}=e;return t(["张专辑"])},play:e=>{const{normalize:t}=e;return t(["播放"])},tracks:e=>{const{normalize:t}=e;return t(["只曲目"])},type:e=>{const{normalize:t}=e;return t(["类型"])}},composer:{"add-next":e=>{const{normalize:t}=e;return t(["插播"])},add:e=>{const{normalize:t}=e;return t(["最后播放"])},albums:e=>{const{normalize:t}=e;return t(["张专辑"])},duration:e=>{const{normalize:t}=e;return t(["时长"])},play:e=>{const{normalize:t}=e;return t(["播放"])},tracks:e=>{const{normalize:t}=e;return t(["只曲目"])}},directory:{"add-next":e=>{const{normalize:t}=e;return t(["插播"])},add:e=>{const{normalize:t}=e;return t(["最后播放"])},play:e=>{const{normalize:t}=e;return t(["播放"])}},genre:{"add-next":e=>{const{normalize:t}=e;return t(["插播"])},add:e=>{const{normalize:t}=e;return t(["最后播放"])},albums:e=>{const{normalize:t}=e;return t(["张专辑"])},duration:e=>{const{normalize:t}=e;return t(["时长"])},play:e=>{const{normalize:t}=e;return t(["播放"])},tracks:e=>{const{normalize:t}=e;return t(["只曲目"])}},playlist:{"add-next":e=>{const{normalize:t}=e;return t(["插播"])},add:e=>{const{normalize:t}=e;return t(["最后播放"])},play:e=>{const{normalize:t}=e;return t(["播放"])},path:e=>{const{normalize:t}=e;return t(["路径"])},"track-count":e=>{const{normalize:t}=e;return t(["只曲目"])},type:e=>{const{normalize:t}=e;return t(["类型"])},save:{cancel:e=>{const{normalize:t}=e;return t(["取消"])},"playlist-name":e=>{const{normalize:t}=e;return t(["播放列表名称"])},save:e=>{const{normalize:t}=e;return t(["保存"])},saving:e=>{const{normalize:t}=e;return t(["保存中…"])},title:e=>{const{normalize:t}=e;return t(["保存播放清单到列表"])}}},"queue-item":{"album-artist":e=>{const{normalize:t}=e;return t(["专辑艺人"])},album:e=>{const{normalize:t}=e;return t(["专辑"])},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(["作曲家"])},duration:e=>{const{normalize:t}=e;return t(["时长"])},genre:e=>{const{normalize:t}=e;return t(["流派"])},path:e=>{const{normalize:t}=e;return t(["路径"])},play:e=>{const{normalize:t}=e;return t(["播放"])},position:e=>{const{normalize:t}=e;return t(["盘符 / 曲目"])},quality:e=>{const{normalize:t}=e;return t(["质量"])},remove:e=>{const{normalize:t}=e;return t(["移除"])},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(["专辑"])},"spotify-artist":e=>{const{normalize:t}=e;return t(["艺人"])},type:e=>{const{normalize:t}=e;return t(["类型"])},year:e=>{const{normalize:t}=e;return t(["年份"])}},"remote-pairing":{cancel:e=>{const{normalize:t}=e;return t(["取消"])},pair:e=>{const{normalize:t}=e;return t(["遥控配对"])},"pairing-code":e=>{const{normalize:t}=e;return t(["配对码"])},title:e=>{const{normalize:t}=e;return t(["请求遥控配对"])}},spotify:{album:{"add-next":e=>{const{normalize:t}=e;return t(["插播"])},add:e=>{const{normalize:t}=e;return t(["最后播放"])},"album-artist":e=>{const{normalize:t}=e;return t(["专辑艺人"])},play:e=>{const{normalize:t}=e;return t(["播放"])},"release-date":e=>{const{normalize:t}=e;return t(["发行日期"])},type:e=>{const{normalize:t}=e;return t(["类型"])}},artist:{"add-next":e=>{const{normalize:t}=e;return t(["插播"])},add:e=>{const{normalize:t}=e;return t(["最后播放"])},genres:e=>{const{normalize:t}=e;return t(["流派"])},play:e=>{const{normalize:t}=e;return t(["播放"])},popularity:e=>{const{normalize:t}=e;return t(["流行度 / 粉丝数"])}},playlist:{"add-next":e=>{const{normalize:t}=e;return t(["插播"])},add:e=>{const{normalize:t}=e;return t(["最后播放"])},owner:e=>{const{normalize:t}=e;return t(["所有者"])},path:e=>{const{normalize:t}=e;return t(["路径"])},play:e=>{const{normalize:t}=e;return t(["播放"])},tracks:e=>{const{normalize:t}=e;return t(["曲目"])}},track:{"add-next":e=>{const{normalize:t}=e;return t(["插播"])},add:e=>{const{normalize:t}=e;return t(["最后播放"])},"album-artist":e=>{const{normalize:t}=e;return t(["专辑艺人"])},album:e=>{const{normalize:t}=e;return t(["专辑"])},duration:e=>{const{normalize:t}=e;return t(["时长"])},path:e=>{const{normalize:t}=e;return t(["路径"])},play:e=>{const{normalize:t}=e;return t(["播放"])},position:e=>{const{normalize:t}=e;return t(["盘符 / 曲目"])},"release-date":e=>{const{normalize:t}=e;return t(["发行日期"])}}},track:{"add-next":e=>{const{normalize:t}=e;return t(["插播"])},add:e=>{const{normalize:t}=e;return t(["最后播放"])},"added-on":e=>{const{normalize:t}=e;return t(["添加时间"])},"album-artist":e=>{const{normalize:t}=e;return t(["专辑艺人"])},album:e=>{const{normalize:t}=e;return t(["专辑"])},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(["评论"])},composer:e=>{const{normalize:t}=e;return t(["作曲家"])},duration:e=>{const{normalize:t}=e;return t(["时长"])},genre:e=>{const{normalize:t}=e;return t(["流派"])},"mark-as-new":e=>{const{normalize:t}=e;return t(["标记为最新"])},"mark-as-played":e=>{const{normalize:t}=e;return t(["标记为已播放"])},path:e=>{const{normalize:t}=e;return t(["路径"])},play:e=>{const{normalize:t}=e;return t(["播放"])},position:e=>{const{normalize:t}=e;return t(["盘符 / 曲目"])},quality:e=>{const{normalize:t}=e;return t(["质量"])},"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(["评级"])},"release-date":e=>{const{normalize:t}=e;return t(["发行日期"])},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(["专辑"])},"spotify-artist":e=>{const{normalize:t}=e;return t(["艺人"])},type:e=>{const{normalize:t}=e;return t(["类型"])},year:e=>{const{normalize:t}=e;return t(["年份"])}},update:{all:e=>{const{normalize:t}=e;return t(["更新所有内容"])},cancel:e=>{const{normalize:t}=e;return t(["取消"])},feeds:e=>{const{normalize:t}=e;return t(["仅更新RSS订阅内容"])},info:e=>{const{normalize:t}=e;return t(["扫描新的、删除的和修改的文件"])},local:e=>{const{normalize:t}=e;return t(["仅更新本地资料库"])},progress:e=>{const{normalize:t}=e;return t(["正在更新本地资料库…"])},"rescan-metadata":e=>{const{normalize:t}=e;return t(["重新扫描未修改文件的元数据"])},rescan:e=>{const{normalize:t}=e;return t(["重新扫描"])},spotify:e=>{const{normalize:t}=e;return t(["仅更新Spotify"])},title:e=>{const{normalize:t}=e;return t(["资料库更新"])}}},language:{de:e=>{const{normalize:t}=e;return t(["德语 (Deutsch)"])},en:e=>{const{normalize:t}=e;return t(["英语 (English)"])},fr:e=>{const{normalize:t}=e;return t(["法语 (Français)"])},zh:e=>{const{normalize:t}=e;return t(["中文"])}},list:{albums:{"info-1":e=>{const{normalize:t}=e;return t(["从资料库中永久移除该播客吗?"])},"info-2":e=>{const{normalize:t}=e;return t(["这也将移除RSS播放列表 "])},remove:e=>{const{normalize:t}=e;return t(["移除"])},"remove-podcast":e=>{const{normalize:t}=e;return t(["移除播客"])}},spotify:{"not-playable-track":e=>{const{normalize:t}=e;return t(["曲目无法播放"])},"restriction-reason":e=>{const{normalize:t,interpolate:n,named:r}=e;return t([", 被限制原因: ",n(r("reason"))])}}},media:{kind:{album:e=>{const{normalize:t}=e;return t(["专辑"])},audiobook:e=>{const{normalize:t}=e;return t(["有声读物"])},music:e=>{const{normalize:t}=e;return t(["音乐"])},podcast:e=>{const{normalize:t}=e;return t(["播客"])}}},navigation:{about:e=>{const{normalize:t}=e;return t(["关于"])},albums:e=>{const{normalize:t}=e;return t(["专辑"])},artists:e=>{const{normalize:t}=e;return t(["艺人"])},audiobooks:e=>{const{normalize:t}=e;return t(["有声读物"])},"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:e=>{const{normalize:t}=e;return t(["HTTP流"])},volume:e=>{const{normalize:t}=e;return t(["音量"])},files:e=>{const{normalize:t}=e;return t(["文件"])},genres:e=>{const{normalize:t}=e;return t(["流派"])},music:e=>{const{normalize:t}=e;return t(["音乐"])},playlists:e=>{const{normalize:t}=e;return t(["播放列表"])},podcasts:e=>{const{normalize:t}=e;return t(["播客"])},radio:e=>{const{normalize:t}=e;return t(["广播电台"])},search:e=>{const{normalize:t}=e;return t(["搜索"])},settings:e=>{const{normalize:t}=e;return t(["设置"])},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(["更新资料库"])}},page:{about:{albums:e=>{const{normalize:t}=e;return t(["专辑"])},artists:e=>{const{normalize:t}=e;return t(["艺人"])},"built-with":e=>{const{normalize:t,interpolate:n,named:r}=e;return t(["界面贡献者包括 ",n(r("bulma")),", ",n(r("mdi")),", ",n(r("vuejs")),", ",n(r("axios"))," 和 ",n(r("others")),"."])},"compiled-with":e=>{const{normalize:t,interpolate:n,named:r}=e;return t(["编译支持来自于 ",n(r("options")),"."])},library:e=>{const{normalize:t}=e;return t(["资料库"])},more:e=>{const{normalize:t}=e;return t(["更多"])},"total-playtime":e=>{const{normalize:t}=e;return t(["总播放时长"])},tracks:e=>{const{normalize:t}=e;return t(["曲目总数"])},update:e=>{const{normalize:t}=e;return t(["更新"])},"updated-on":e=>{const{normalize:t,interpolate:n,named:r}=e;return t([n(r("time"))," 前"])},updated:e=>{const{normalize:t}=e;return t(["更新于"])},uptime:e=>{const{normalize:t}=e;return t(["运行时长"])},version:e=>{const{normalize:t,interpolate:n,named:r}=e;return t(["版本 ",n(r("version"))])}},album:{shuffle:e=>{const{normalize:t}=e;return t(["随机播放"])},"track-count":e=>{const{normalize:t,interpolate:n,named:r,plural:o}=e;return o([t([n(r("count"))," 只曲目"]),t([n(r("count"))," 只曲目"])])}},albums:{count:e=>{const{normalize:t,interpolate:n,named:r,plural:o}=e;return o([t([n(r("count"))," 张专辑"]),t([n(r("count"))," 张专辑"])])},filter:e=>{const{normalize:t}=e;return t(["筛选"])},"hide-singles-help":e=>{const{normalize:t}=e;return t(["如果激活,将隐藏仅在播放列表出现的单曲和专辑"])},"hide-singles":e=>{const{normalize:t}=e;return t(["隐藏单曲"])},"hide-spotify-help":e=>{const{normalize:t}=e;return t(["如果激活将隐藏仅在Spotify资料库出现的专辑"])},"hide-spotify":e=>{const{normalize:t}=e;return t(["隐藏来自Spotify的专辑"])},title:e=>{const{normalize:t}=e;return t(["专辑"])},"sort-by":{title:e=>{const{normalize:t}=e;return t(["排序方式"])},name:e=>{const{normalize:t}=e;return t(["名称"])},"recently-added":e=>{const{normalize:t}=e;return t(["最近添加"])},"recently-released":e=>{const{normalize:t}=e;return t(["最近发行"])}}},artist:{"album-count":e=>{const{normalize:t,interpolate:n,named:r,plural:o}=e;return o([t([n(r("count"))," 张专辑"]),t([n(r("count"))," 张专辑"])])},shuffle:e=>{const{normalize:t}=e;return t(["随机播放"])},"track-count":e=>{const{normalize:t,interpolate:n,named:r,plural:o}=e;return o([t([n(r("count"))," 只曲目"]),t([n(r("count"))," 只曲目"])])},"sort-by":{title:e=>{const{normalize:t}=e;return t(["排序方式"])},name:e=>{const{normalize:t}=e;return t(["名称"])},rating:e=>{const{normalize:t}=e;return t(["评级"])},"release-date":e=>{const{normalize:t}=e;return t(["发行日期"])}}},artists:{count:e=>{const{normalize:t,interpolate:n,named:r,plural:o}=e;return o([t([n(r("count"))," 位艺人"]),t([n(r("count"))," 位艺人"])])},filter:e=>{const{normalize:t}=e;return t(["筛选"])},"sort-by":{title:e=>{const{normalize:t}=e;return t(["排序方式"])},name:e=>{const{normalize:t}=e;return t(["名称"])},"recently-added":e=>{const{normalize:t}=e;return t(["最近添加"])}},"hide-singles-help":e=>{const{normalize:t}=e;return t(["如果激活,将隐藏仅在播放列表出现的单曲和专辑"])},"hide-singles":e=>{const{normalize:t}=e;return t(["隐藏单曲"])},"hide-spotify-help":e=>{const{normalize:t}=e;return t(["如果激活将隐藏仅在Spotify资料库出现的专辑"])},"hide-spotify":e=>{const{normalize:t}=e;return t(["隐藏来自Spotify的艺人"])},title:e=>{const{normalize:t}=e;return t(["艺人"])}},audiobooks:{album:{play:e=>{const{normalize:t}=e;return t(["播放"])},"track-count":e=>{const{normalize:t,interpolate:n,named:r,plural:o}=e;return o([t([n(r("count"))," 只曲目"]),t([n(r("count"))," 只曲目"])])}},albums:{count:e=>{const{normalize:t,interpolate:n,named:r,plural:o}=e;return o([t([n(r("count"))," 个有声读物"]),t([n(r("count"))," 个有声读物"])])},title:e=>{const{normalize:t}=e;return t(["有声读物"])}},artist:{"album-count":e=>{const{normalize:t,interpolate:n,named:r,plural:o}=e;return o([t([n(r("count"))," 张专辑"]),t([n(r("count"))," 张专辑"])])},play:e=>{const{normalize:t}=e;return t(["播放"])}},artists:{count:e=>{const{normalize:t,interpolate:n,named:r,plural:o}=e;return o([t([n(r("count"))," 位作者"]),t([n(r("count"))," 位作者"])])},title:e=>{const{normalize:t}=e;return t(["作者"])}},tabs:{authors:e=>{const{normalize:t}=e;return t(["作者"])},audiobooks:e=>{const{normalize:t}=e;return t(["有声读物"])}}},browse:{albums:e=>{const{normalize:t}=e;return t(["专辑"])},"show-more":e=>{const{normalize:t}=e;return t(["显示更多"])},tracks:e=>{const{normalize:t}=e;return t(["曲目"])},"recently-added":{albums:e=>{const{normalize:t}=e;return t(["专辑"])},title:e=>{const{normalize:t}=e;return t(["最近添加"])}},"recently-played":{title:e=>{const{normalize:t}=e;return t(["最近播放"])},tracks:e=>{const{normalize:t}=e;return t(["曲目"])}},tabs:{albums:e=>{const{normalize:t}=e;return t(["专辑"])},artists:e=>{const{normalize:t}=e;return t(["艺人"])},browse:e=>{const{normalize:t}=e;return t(["浏览"])},composers:e=>{const{normalize:t}=e;return t(["作曲家"])},genres:e=>{const{normalize:t}=e;return t(["流派"])},spotify:e=>{const{normalize:t}=e;return t(["Spotify"])}}},composer:{"album-count":e=>{const{normalize:t,interpolate:n,named:r,plural:o}=e;return o([t([n(r("count"))," 张专辑"]),t([n(r("count"))," 张专辑"])])},shuffle:e=>{const{normalize:t}=e;return t(["随机播放"])},"track-count":e=>{const{normalize:t,interpolate:n,named:r,plural:o}=e;return o([t([n(r("count"))," 只曲目"]),t([n(r("count"))," 只曲目"])])},"sort-by":{title:e=>{const{normalize:t}=e;return t(["排序方式"])},name:e=>{const{normalize:t}=e;return t(["名称"])},rating:e=>{const{normalize:t}=e;return t(["评级"])}}},composers:{count:e=>{const{normalize:t,interpolate:n,named:r,plural:o}=e;return o([t([n(r("count"))," 位作曲家"]),t([n(r("count"))," 位作曲家"])])},title:e=>{const{normalize:t}=e;return t(["作曲家"])}},files:{play:e=>{const{normalize:t}=e;return t(["播放"])},title:e=>{const{normalize:t}=e;return t(["文件"])}},genre:{"album-count":e=>{const{normalize:t,interpolate:n,named:r,plural:o}=e;return o([t([n(r("count"))," 张专辑"]),t([n(r("count"))," 张专辑"])])},shuffle:e=>{const{normalize:t}=e;return t(["随机播放"])},"track-count":e=>{const{normalize:t,interpolate:n,named:r,plural:o}=e;return o([t([n(r("count"))," 只曲目"]),t([n(r("count"))," 只曲目"])])},"sort-by":{title:e=>{const{normalize:t}=e;return t(["排序方式"])},name:e=>{const{normalize:t}=e;return t(["名称"])},rating:e=>{const{normalize:t}=e;return t(["评级"])}}},genres:{count:e=>{const{normalize:t,interpolate:n,named:r,plural:o}=e;return o([t([n(r("count"))," 个流派"]),t([n(r("count"))," 个流派"])])},title:e=>{const{normalize:t}=e;return t(["流派"])}},"now-playing":{info:e=>{const{normalize:t}=e;return t(["浏览资料库添加曲目"])},live:e=>{const{normalize:t}=e;return t(["直播"])},title:e=>{const{normalize:t}=e;return t(["播放清单是空的"])}},playlist:{length:e=>{const{normalize:t,interpolate:n,named:r}=e;return t([n(r("length"))," 曲目"])},shuffle:e=>{const{normalize:t}=e;return t(["随机播放"])},"track-count":e=>{const{normalize:t,interpolate:n,named:r,plural:o}=e;return o([t([n(r("count"))," 只曲目"]),t([n(r("count"))," 只曲目"])])}},playlists:{count:e=>{const{normalize:t,interpolate:n,named:r,plural:o}=e;return o([t([n(r("count"))," 个播放列表"]),t([n(r("count"))," 个播放列表"])])}},podcast:{play:e=>{const{normalize:t}=e;return t(["播放"])},remove:e=>{const{normalize:t}=e;return t(["移除"])},"remove-info-1":e=>{const{normalize:t}=e;return t(["从资料库中永久移除该播客?"])},"remove-info-2":e=>{const{normalize:t}=e;return t(["这也将移除该播客RSS列表 "])},"remove-podcast":e=>{const{normalize:t}=e;return t(["移除播客"])},"track-count":e=>{const{normalize:t,interpolate:n,named:r,plural:o}=e;return o([t([n(r("count"))," 只曲目"]),t([n(r("count"))," 只曲目"])])}},podcasts:{add:e=>{const{normalize:t}=e;return t(["最后播放"])},count:e=>{const{normalize:t,interpolate:n,named:r,plural:o}=e;return o([t([n(r("count"))," 个播客"]),t([n(r("count"))," 个播客"])])},"mark-all-played":e=>{const{normalize:t}=e;return t(["全部标记为已播放"])},"new-episodes":e=>{const{normalize:t}=e;return t(["最新单集"])},title:e=>{const{normalize:t}=e;return t(["播客"])},update:e=>{const{normalize:t}=e;return t(["更新"])}},queue:{"add-stream":e=>{const{normalize:t}=e;return t(["添加流"])},clear:e=>{const{normalize:t}=e;return t(["清除"])},count:e=>{const{normalize:t,interpolate:n,named:r,plural:o}=e;return o([t([n(r("count"))," 只曲目"]),t([n(r("count"))," 只曲目"])])},edit:e=>{const{normalize:t}=e;return t(["编辑"])},"hide-previous":e=>{const{normalize:t}=e;return t(["隐藏历史"])},title:e=>{const{normalize:t}=e;return t(["清单"])},save:e=>{const{normalize:t}=e;return t(["保存"])}},radio:{count:e=>{const{normalize:t,interpolate:n,named:r,plural:o}=e;return o([t([n(r("count"))," 个电台"]),t([n(r("count"))," 个电台"])])},title:e=>{const{normalize:t}=e;return t(["广播电台"])}},search:{albums:e=>{const{normalize:t}=e;return t(["专辑"])},artists:e=>{const{normalize:t}=e;return t(["艺人"])},audiobooks:e=>{const{normalize:t}=e;return t(["有声读物"])},composers:e=>{const{normalize:t}=e;return t(["作曲家"])},expression:e=>{const{normalize:t}=e;return t(["表达式"])},help:e=>{const{normalize:t,interpolate:n,named:r}=e;return t(["提示:如果您使用 ",n(r("query"))," 前缀,则可以通过智能播放列表查询语言 ",n(r("help"))," 进行搜索"])},"no-albums":e=>{const{normalize:t}=e;return t(["没有发现专辑"])},"no-artists":e=>{const{normalize:t}=e;return t(["没有发现艺人"])},"no-audiobooks":e=>{const{normalize:t}=e;return t(["没有发现有声书"])},"no-composers":e=>{const{normalize:t}=e;return t(["没有发现作曲家"])},"no-playlists":e=>{const{normalize:t}=e;return t(["没有发现播放列表"])},"no-podcasts":e=>{const{normalize:t}=e;return t(["没有发现播客"])},"no-tracks":e=>{const{normalize:t}=e;return t(["没有发现曲目"])},placeholder:e=>{const{normalize:t}=e;return t(["搜索"])},playlists:e=>{const{normalize:t}=e;return t(["播放列表"])},podcasts:e=>{const{normalize:t}=e;return t(["播客"])},"show-albums":e=>{const{normalize:t,interpolate:n,named:r,plural:o}=e;return o([t(["显示专辑"]),t(["显示所有 ",n(r("count"))," 个专辑"])])},"show-artists":e=>{const{normalize:t,interpolate:n,named:r,plural:o}=e;return o([t(["显示艺人"]),t(["显示所有 ",n(r("count"))," 位艺人"])])},"show-audiobooks":e=>{const{normalize:t,interpolate:n,named:r,plural:o}=e;return o([t(["显示有声书"]),t(["显示所有 ",n(r("count"))," 本有声书"])])},"show-composers":e=>{const{normalize:t,interpolate:n,named:r,plural:o}=e;return o([t(["显示作曲家"]),t(["显示所有 ",n(r("count"))," 位作曲家"])])},"show-playlists":e=>{const{normalize:t,interpolate:n,named:r,plural:o}=e;return o([t(["显示播放列表"]),t(["显示所有 ",n(r("count"))," 个播放列表"])])},"show-podcasts":e=>{const{normalize:t,interpolate:n,named:r,plural:o}=e;return o([t(["显示播客"]),t(["显示所有 ",n(r("count"))," 个播客"])])},"show-tracks":e=>{const{normalize:t,interpolate:n,named:r,plural:o}=e;return o([t(["显示曲目"]),t(["显示所有 ",n(r("count"))," 只曲目"])])},tracks:e=>{const{normalize:t}=e;return t(["曲目"])},tabs:{library:e=>{const{normalize:t}=e;return t(["资料库"])},spotify:e=>{const{normalize:t}=e;return t(["Spotify"])}}},settings:{artwork:{artwork:e=>{const{normalize:t}=e;return t(["封面"])},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支持PNG和 JPEG封面这些封面可以作为单独的图像文件放置在库中或嵌入到媒体文件中也可以通过广播电台在线提供"])},"explanation-2":e=>{const{normalize:t}=e;return t(["除此之外,您还可以从以下素材提供者获取封面:"])},spotify:e=>{const{normalize:t}=e;return t(["Spotify"])}},devices:{"no-active-pairing":e=>{const{normalize:t}=e;return t(["没有活跃的配对请求"])},"pairing-code":e=>{const{normalize:t}=e;return t(["配对代码"])},"pairing-request":e=>{const{normalize:t}=e;return t(["远程配对请求来自于 "])},pairing:e=>{const{normalize:t}=e;return t(["遥控配对"])},send:e=>{const{normalize:t}=e;return t(["发送"])},"speaker-pairing-info":e=>{const{normalize:t}=e;return t(["如果您的扬声器需要配对,请在下面输入它显示的 PIN以激活"])},"speaker-pairing":e=>{const{normalize:t}=e;return t(["扬声器配对和设备验证"])},"verification-code":e=>{const{normalize:t}=e;return t(["验证码"])},verify:e=>{const{normalize:t}=e;return t(["验证"])}},general:{"album-lists":e=>{const{normalize:t}=e;return t(["专辑列表"])},audiobooks:e=>{const{normalize:t}=e;return t(["有声读物"])},files:e=>{const{normalize:t}=e;return t(["文件"])},genres:e=>{const{normalize:t}=e;return t(["流派"])},language:e=>{const{normalize:t}=e;return t(["语言"])},music:e=>{const{normalize:t}=e;return t(["音乐"])},"navigation-item-selection-info":e=>{const{normalize:t}=e;return t(["如果您选择的项目多于屏幕上可以显示的项目,则侧边栏菜单将会消失"])},"navigation-item-selection":e=>{const{normalize:t}=e;return t(["选择顶部导航栏菜单项"])},"navigation-items":e=>{const{normalize:t}=e;return t(["导航条"])},"now-playing-page":e=>{const{normalize:t}=e;return t(["“正在播放”页面"])},playlists:e=>{const{normalize:t}=e;return t(["播放列表"])},podcasts:e=>{const{normalize:t}=e;return t(["播客"])},radio:e=>{const{normalize:t}=e;return t(["广播电台"])},"recently-added-page-info":e=>{const{normalize:t}=e;return t(["限制“最近添加”页面上显示的专辑数量"])},"recently-added-page":e=>{const{normalize:t}=e;return t(["“最近添加”页面"])},search:e=>{const{normalize:t}=e;return t(["搜索"])},"show-composer-genres-info-1":e=>{const{normalize:t}=e;return t(["以逗号分隔流派,作曲家会在“正在播放的页面”上显示"])},"show-composer-genres-info-2":e=>{const{normalize:t}=e;return t(["留空以始终显示作曲家"])},"show-composer-genres-info-3":e=>{const{normalize:t}=e;return t(["通过检查是否包含定义的流派之一来匹配当前曲目的流派标签。例如,设置为“古典、原声带”将显示流派标签为“当代古典”的曲目的作曲家"])},"show-composer-genres":e=>{const{normalize:t}=e;return t(["仅显示列出的流派的作曲家"])},"show-composer-info":e=>{const{normalize:t}=e;return t(["如果启用,当前播放曲目的作曲家将显示在“正在播放页面”上"])},"show-composer":e=>{const{normalize:t}=e;return t(["显示作曲家"])},"show-coverart":e=>{const{normalize:t}=e;return t(["在专辑列表中显示封面艺术作品"])},"show-path":e=>{const{normalize:t}=e;return t(["在“正在播放”页面显示文件路径"])}},services:{lastfm:{"grant-access":e=>{const{normalize:t}=e;return t(["使用您的 Last.fm 用户名和密码登录以启用记录功能"])},info:e=>{const{normalize:t}=e;return t(["OwnTone不会存储您的 Last.fm 用户名/密码,仅存储会话密钥。会话密钥不会过期"])},title:e=>{const{normalize:t}=e;return t(["Last.fm"])},"no-support":e=>{const{normalize:t}=e;return t(["OwnTone的构建没有来自Last.fm的官方支持"])},"stop-scrobbling":e=>{const{normalize:t}=e;return t(["停止记录"])}},spotify:{"no-support":e=>{const{normalize:t}=e;return t(["OwnTone的构建没有来自 Spotify 官方的支持,也未安装 libspotify"])},"logged-as":e=>{const{normalize:t}=e;return t(["登录为 "])},requirements:e=>{const{normalize:t}=e;return t(["您必须拥有 Spotify付费帐户"])},scopes:e=>{const{normalize:t}=e;return t(["访问 Spotify Web API 可以扫描您的 Spotify库。 所需范围是: "])},user:e=>{const{normalize:t}=e;return t(["授予访问权限"])},authorize:e=>{const{normalize:t}=e;return t(["授权 Web API 访问"])},credentials:e=>{const{normalize:t}=e;return t([" - 使用您的 Spotify 用户名和密码登录"])},"grant-access":e=>{const{normalize:t}=e;return t(["授予对 Spotify Web API 的访问权限"])},"help-1":e=>{const{normalize:t}=e;return t(["libspotify 使 OwnTone 能够播放 Spotify 曲目"])},"help-2":e=>{const{normalize:t}=e;return t(["OwnTone 不会存储您的密码,但之后仍然能够自动登录,因为 libspotify 会保存登录令牌"])},reauthorize:e=>{const{normalize:t}=e;return t(["请重新授权 Web API 访问权限,以授予 OwnTone 以下附加访问权限:"])},title:e=>{const{normalize:t}=e;return t(["Spotify"])}},login:e=>{const{normalize:t}=e;return t(["登入"])},logout:e=>{const{normalize:t}=e;return t(["退出"])},password:e=>{const{normalize:t}=e;return t(["密码"])},username:e=>{const{normalize:t}=e;return t(["用户名"])}},tabs:{artwork:e=>{const{normalize:t}=e;return t(["封面"])},general:e=>{const{normalize:t}=e;return t(["概览"])},"online-services":e=>{const{normalize:t}=e;return t(["在线服务"])},"remotes-and-outputs":e=>{const{normalize:t}=e;return t(["遥控和输出"])}}},spotify:{album:{shuffle:e=>{const{normalize:t}=e;return t(["随机播放"])},"track-count":e=>{const{normalize:t,interpolate:n,named:r,plural:o}=e;return o([t([n(r("count"))," 只曲目"]),t([n(r("count"))," 只曲目"])])}},artist:{"album-count":e=>{const{normalize:t,interpolate:n,named:r,plural:o}=e;return o([t([n(r("count"))," 张专辑"]),t([n(r("count"))," 张专辑"])])},shuffle:e=>{const{normalize:t}=e;return t(["随机播放"])}},browse:{"featured-playlists":e=>{const{normalize:t}=e;return t(["特色列表"])},"new-releases":e=>{const{normalize:t}=e;return t(["最新发行"])},"show-more":e=>{const{normalize:t}=e;return t(["显示更多"])}},playlist:{count:e=>{const{normalize:t,interpolate:n,named:r,plural:o}=e;return o([t([n(r("count"))," 只曲目"]),t([n(r("count"))," 只曲目"])])},shuffle:e=>{const{normalize:t}=e;return t(["随机播放"])}},search:{albums:e=>{const{normalize:t}=e;return t(["专辑"])},artists:e=>{const{normalize:t}=e;return t(["艺人"])},"no-albums":e=>{const{normalize:t}=e;return t(["没有发现专辑"])},"no-artists":e=>{const{normalize:t}=e;return t(["没有发现艺人"])},"no-playlists":e=>{const{normalize:t}=e;return t(["没有发现播放列表"])},"no-tracks":e=>{const{normalize:t}=e;return t(["没有发现曲目"])},placeholder:e=>{const{normalize:t}=e;return t(["搜索"])},playlists:e=>{const{normalize:t}=e;return t(["播放列表"])},"show-all-albums":e=>{const{normalize:t,interpolate:n,named:r,plural:o}=e;return o([t(["显示专辑"]),t(["显示所有 ",n(r("count"))," 个专辑"])])},"show-all-artists":e=>{const{normalize:t,interpolate:n,named:r,plural:o}=e;return o([t(["显示艺人"]),t(["显示所有 ",n(r("count"))," 位艺人"])])},"show-all-playlists":e=>{const{normalize:t,interpolate:n,named:r,plural:o}=e;return o([t(["显示播放列表"]),t(["显示所有 ",n(r("count"))," 个播放列表"])])},"show-all-tracks":e=>{const{normalize:t,interpolate:n,named:r,plural:o}=e;return o([t(["显示曲目"]),t(["显示所有 ",n(r("count"))," 只曲目"])])},tracks:e=>{const{normalize:t}=e;return t(["曲目"])}}}},playlist:{type:{plain:e=>{const{normalize:t}=e;return t(["简单"])},smart:e=>{const{normalize:t}=e;return t(["智能"])}}},player:{button:{consume:e=>{const{normalize:t}=e;return t(["清除历史"])},pause:e=>{const{normalize:t}=e;return t(["暂停"])},play:e=>{const{normalize:t}=e;return t(["播放"])},repeat:e=>{const{normalize:t}=e;return t(["重复播放所有曲目"])},"repeat-off":e=>{const{normalize:t}=e;return t(["所有曲目仅播放一遍"])},"repeat-once":e=>{const{normalize:t}=e;return t(["重复当前曲目"])},"seek-backward":e=>{const{normalize:t}=e;return t(["在当前曲目后退"])},"seek-forward":e=>{const{normalize:t}=e;return t(["在当前曲目前进"])},shuffle:e=>{const{normalize:t}=e;return t(["随机播放曲目"])},"shuffle-disabled":e=>{const{normalize:t}=e;return t(["按顺序播放曲目"])},"skip-backward":e=>{const{normalize:t}=e;return t(["播放上一首"])},"skip-forward":e=>{const{normalize:t}=e;return t(["播放下一首"])},stop:e=>{const{normalize:t}=e;return t(["停止"])}}},setting:{"not-saved":e=>{const{normalize:t}=e;return t([" (设置保存错误)"])},saved:e=>{const{normalize:t}=e;return t([" (设置已保存)"])}},server:{"connection-failed":e=>{const{normalize:t}=e;return t(["无法连接到 OwnTone 服务器"])},"missing-port":e=>{const{normalize:t}=e;return t(["缺少 websocket 端口"])},"request-failed":e=>{const{normalize:t,interpolate:n,named:r}=e;return t(["请求失败 (状态: ",n(r("status"))," ",n(r("cause"))," ",n(r("url")),")"])},"queue-saved":e=>{const{normalize:t,interpolate:n,named:r}=e;return t(["清单以添加到播放列表 ",n(r("name"))])},"appended-tracks":e=>{const{normalize:t,interpolate:n,named:r,plural:o}=e;return o([t(["已附加到队列的 ",n(r("count"))," 只曲目"]),t(["已附加到队列的 ",n(r("count"))," 只曲目"])])},"empty-queue":e=>{const{normalize:t}=e;return t(["清单是空的"])}},"group-by-list":{today:e=>{const{normalize:t}=e;return t(["今日"])},"last-week":e=>{const{normalize:t}=e;return t(["上周"])},"last-month":e=>{const{normalize:t}=e;return t(["上月"])}},filter:{mono:e=>{const{normalize:t}=e;return t(["单声道"])},stereo:e=>{const{normalize:t}=e;return t(["立体声"])},channels:e=>{const{normalize:t,interpolate:n,named:r,plural:o}=e;return o([t([n(r("count"))," 信道"]),t([n(r("count"))," 信道"])])}}}},Hl=fw({availableLocales:"zh",fallbackLocale:"en",fallbackWarn:!1,globalInjection:!0,legacy:!1,locale:navigator.language,messages:ww,missingWarn:!1});/*!
* vuex v4.1.0
* (c) 2022 Evan You
* @license MIT
*/var kw="store";function ds(e,t){Object.keys(e).forEach(function(n){return t(e[n],n)})}function xw(e){return e!==null&&typeof e=="object"}function Ew(e){return e&&typeof e.then=="function"}function Sw(e,t){return function(){return e(t)}}function yg(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 vg(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;jl(e,n,[],e._modules.root,!0),Ld(e,n,t)}function Ld(e,t,n){var r=e._state,o=e._scope;e.getters={},e._makeLocalGettersCache=Object.create(null);var s=e._wrappedGetters,a={},i={},l=od(!0);l.run(function(){ds(s,function(c,d){a[d]=Sw(c,e),i[d]=Ft(function(){return a[d]()}),Object.defineProperty(e.getters,d,{get:function(){return i[d].value},enumerable:!0})})}),e._state=ls({data:t}),e._scope=l,e.strict&&Dw(e),r&&n&&e._withCommit(function(){r.data=null}),o&&o.stop()}function jl(e,t,n,r,o){var s=!n.length,a=e._modules.getNamespace(n);if(r.namespaced&&(e._modulesNamespaceMap[a],e._modulesNamespaceMap[a]=r),!s&&!o){var i=Md(t,n.slice(0,-1)),l=n[n.length-1];e._withCommit(function(){i[l]=r.state})}var c=r.context=$w(e,a,n);r.forEachMutation(function(d,f){var m=a+f;Aw(e,m,d,c)}),r.forEachAction(function(d,f){var m=d.root?f:a+f,p=d.handler||d;Tw(e,m,p,c)}),r.forEachGetter(function(d,f){var m=a+f;Ow(e,m,d,c)}),r.forEachChild(function(d,f){jl(e,t,n.concat(f),d,o)})}function $w(e,t,n){var r=t==="",o={dispatch:r?e.dispatch:function(s,a,i){var l=ul(s,a,i),c=l.payload,d=l.options,f=l.type;return(!d||!d.root)&&(f=t+f),e.dispatch(f,c)},commit:r?e.commit:function(s,a,i){var l=ul(s,a,i),c=l.payload,d=l.options,f=l.type;(!d||!d.root)&&(f=t+f),e.commit(f,c,d)}};return Object.defineProperties(o,{getters:{get:r?function(){return e.getters}:function(){return bg(e,t)}},state:{get:function(){return Md(e.state,n)}}}),o}function bg(e,t){if(!e._makeLocalGettersCache[t]){var n={},r=t.length;Object.keys(e.getters).forEach(function(o){if(o.slice(0,r)===t){var s=o.slice(r);Object.defineProperty(n,s,{get:function(){return e.getters[o]},enumerable:!0})}}),e._makeLocalGettersCache[t]=n}return e._makeLocalGettersCache[t]}function Aw(e,t,n,r){var o=e._mutations[t]||(e._mutations[t]=[]);o.push(function(a){n.call(e,r.state,a)})}function Tw(e,t,n,r){var o=e._actions[t]||(e._actions[t]=[]);o.push(function(a){var i=n.call(e,{dispatch:r.dispatch,commit:r.commit,getters:r.getters,state:r.state,rootGetters:e.getters,rootState:e.state},a);return Ew(i)||(i=Promise.resolve(i)),e._devtoolHook?i.catch(function(l){throw e._devtoolHook.emit("vuex:error",l),l}):i})}function Ow(e,t,n,r){e._wrappedGetters[t]||(e._wrappedGetters[t]=function(s){return n(r.state,r.getters,s.state,s.getters)})}function Dw(e){Jt(function(){return e._state.data},function(){},{deep:!0,flush:"sync"})}function Md(e,t){return t.reduce(function(n,r){return n[r]},e)}function ul(e,t,n){return xw(e)&&e.type&&(n=t,t=e,e=e.type),{type:e,payload:t,options:n}}var Pw="vuex bindings",Bf="vuex:mutations",vu="vuex:actions",Eo="vuex",Iw=0;function Fw(e,t){ew({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:[Pw]},function(n){n.addTimelineLayer({id:Bf,label:"Vuex Mutations",color:Vf}),n.addTimelineLayer({id:vu,label:"Vuex Actions",color:Vf}),n.addInspector({id:Eo,label:"Vuex",icon:"storage",treeFilterPlaceholder:"Filter stores..."}),n.on.getInspectorTree(function(r){if(r.app===e&&r.inspectorId===Eo)if(r.filter){var o=[];kg(o,t._modules.root,r.filter,""),r.rootNodes=o}else r.rootNodes=[wg(t._modules.root,"")]}),n.on.getInspectorState(function(r){if(r.app===e&&r.inspectorId===Eo){var o=r.nodeId;bg(t,o),r.state=Mw(Bw(t._modules,o),o==="root"?t.getters:t._makeLocalGettersCache,o)}}),n.on.editInspectorState(function(r){if(r.app===e&&r.inspectorId===Eo){var o=r.nodeId,s=r.path;o!=="root"&&(s=o.split("/").filter(Boolean).concat(s)),t._withCommit(function(){r.set(t._state.data,s,r.state.value)})}}),t.subscribe(function(r,o){var s={};r.payload&&(s.payload=r.payload),s.state=o,n.notifyComponentUpdate(),n.sendInspectorTree(Eo),n.sendInspectorState(Eo),n.addTimelineEvent({layerId:Bf,event:{time:Date.now(),title:r.type,data:s}})}),t.subscribeAction({before:function(r,o){var s={};r.payload&&(s.payload=r.payload),r._id=Iw++,r._time=Date.now(),s.state=o,n.addTimelineEvent({layerId:vu,event:{time:r._time,title:r.type,groupId:r._id,subtitle:"start",data:s}})},after:function(r,o){var s={},a=Date.now()-r._time;s.duration={_custom:{type:"duration",display:a+"ms",tooltip:"Action duration",value:a}},r.payload&&(s.payload=r.payload),s.state=o,n.addTimelineEvent({layerId:vu,event:{time:Date.now(),title:r.type,groupId:r._id,subtitle:"end",data:s}})}})})}var Vf=8702998,Rw=6710886,Lw=16777215,zg={label:"namespaced",textColor:Lw,backgroundColor:Rw};function Cg(e){return e&&e!=="root"?e.split("/").slice(-2,-1)[0]:"Root"}function wg(e,t){return{id:t||"root",label:Cg(t),tags:e.namespaced?[zg]:[],children:Object.keys(e._children).map(function(n){return wg(e._children[n],t+n+"/")})}}function kg(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?[zg]:[]}),Object.keys(t._children).forEach(function(o){kg(e,t._children[o],n,r+o+"/")})}function Mw(e,t,n){t=n==="root"?t:t[n];var r=Object.keys(t),o={state:Object.keys(e.state).map(function(a){return{key:a,editable:!0,value:e.state[a]}})};if(r.length){var s=Nw(t);o.getters=Object.keys(s).map(function(a){return{key:a.endsWith("/")?Cg(a):a,editable:!1,value:kc(function(){return s[a]})}})}return o}function Nw(e){var t={};return Object.keys(e).forEach(function(n){var r=n.split("/");if(r.length>1){var o=t,s=r.pop();r.forEach(function(a){o[a]||(o[a]={_custom:{value:{},display:a,tooltip:"Module",abstract:!0}}),o=o[a]._custom.value}),o[s]=kc(function(){return e[n]})}else t[n]=kc(function(){return e[n]})}),t}function Bw(e,t){var n=t.split("/").filter(function(r){return r});return n.reduce(function(r,o,s){var a=r[o];if(!a)throw new Error('Missing module "'+o+'" for path "'+t+'".');return s===n.length-1?a:a._children},t==="root"?e:e.root._children)}function kc(e){try{return e()}catch(t){return t}}var Un=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)||{}},xg={namespaced:{configurable:!0}};xg.namespaced.get=function(){return!!this._rawModule.namespaced};Un.prototype.addChild=function(t,n){this._children[t]=n};Un.prototype.removeChild=function(t){delete this._children[t]};Un.prototype.getChild=function(t){return this._children[t]};Un.prototype.hasChild=function(t){return t in this._children};Un.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)};Un.prototype.forEachChild=function(t){ds(this._children,t)};Un.prototype.forEachGetter=function(t){this._rawModule.getters&&ds(this._rawModule.getters,t)};Un.prototype.forEachAction=function(t){this._rawModule.actions&&ds(this._rawModule.actions,t)};Un.prototype.forEachMutation=function(t){this._rawModule.mutations&&ds(this._rawModule.mutations,t)};Object.defineProperties(Un.prototype,xg);var zo=function(t){this.register([],t,!1)};zo.prototype.get=function(t){return t.reduce(function(n,r){return n.getChild(r)},this.root)};zo.prototype.getNamespace=function(t){var n=this.root;return t.reduce(function(r,o){return n=n.getChild(o),r+(n.namespaced?o+"/":"")},"")};zo.prototype.update=function(t){Eg([],this.root,t)};zo.prototype.register=function(t,n,r){var o=this;r===void 0&&(r=!0);var s=new Un(n,r);if(t.length===0)this.root=s;else{var a=this.get(t.slice(0,-1));a.addChild(t[t.length-1],s)}n.modules&&ds(n.modules,function(i,l){o.register(t.concat(l),i,r)})};zo.prototype.unregister=function(t){var n=this.get(t.slice(0,-1)),r=t[t.length-1],o=n.getChild(r);o&&o.runtime&&n.removeChild(r)};zo.prototype.isRegistered=function(t){var n=this.get(t.slice(0,-1)),r=t[t.length-1];return n?n.hasChild(r):!1};function Eg(e,t,n){if(t.update(n),n.modules)for(var r in n.modules){if(!t.getChild(r))return;Eg(e.concat(r),t.getChild(r),n.modules[r])}}function Vw(e){return new an(e)}var an=function(t){var n=this;t===void 0&&(t={});var r=t.plugins;r===void 0&&(r=[]);var o=t.strict;o===void 0&&(o=!1);var s=t.devtools;this._committing=!1,this._actions=Object.create(null),this._actionSubscribers=[],this._mutations=Object.create(null),this._wrappedGetters=Object.create(null),this._modules=new zo(t),this._modulesNamespaceMap=Object.create(null),this._subscribers=[],this._makeLocalGettersCache=Object.create(null),this._scope=null,this._devtools=s;var a=this,i=this,l=i.dispatch,c=i.commit;this.dispatch=function(m,p){return l.call(a,m,p)},this.commit=function(m,p,h){return c.call(a,m,p,h)},this.strict=o;var d=this._modules.root.state;jl(this,d,[],this._modules.root),Ld(this,d),r.forEach(function(f){return f(n)})},Nd={state:{configurable:!0}};an.prototype.install=function(t,n){t.provide(n||kw,this),t.config.globalProperties.$store=this;var r=this._devtools!==void 0?this._devtools:!1;r&&Fw(t,this)};Nd.state.get=function(){return this._state.data};Nd.state.set=function(e){};an.prototype.commit=function(t,n,r){var o=this,s=ul(t,n,r),a=s.type,i=s.payload,l={type:a,payload:i},c=this._mutations[a];c&&(this._withCommit(function(){c.forEach(function(f){f(i)})}),this._subscribers.slice().forEach(function(d){return d(l,o.state)}))};an.prototype.dispatch=function(t,n){var r=this,o=ul(t,n),s=o.type,a=o.payload,i={type:s,payload:a},l=this._actions[s];if(l){try{this._actionSubscribers.slice().filter(function(d){return d.before}).forEach(function(d){return d.before(i,r.state)})}catch{}var c=l.length>1?Promise.all(l.map(function(d){return d(a)})):l[0](a);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(i,r.state)})}catch{}d(m)},function(m){try{r._actionSubscribers.filter(function(p){return p.error}).forEach(function(p){return p.error(i,r.state,m)})}catch{}f(m)})})}};an.prototype.subscribe=function(t,n){return yg(t,this._subscribers,n)};an.prototype.subscribeAction=function(t,n){var r=typeof t=="function"?{before:t}:t;return yg(r,this._actionSubscribers,n)};an.prototype.watch=function(t,n,r){var o=this;return Jt(function(){return t(o.state,o.getters)},n,Object.assign({},r))};an.prototype.replaceState=function(t){var n=this;this._withCommit(function(){n._state.data=t})};an.prototype.registerModule=function(t,n,r){r===void 0&&(r={}),typeof t=="string"&&(t=[t]),this._modules.register(t,n),jl(this,this.state,t,this._modules.get(t),r.preserveState),Ld(this,this.state)};an.prototype.unregisterModule=function(t){var n=this;typeof t=="string"&&(t=[t]),this._modules.unregister(t),this._withCommit(function(){var r=Md(n.state,t.slice(0,-1));delete r[t[t.length-1]]}),vg(this)};an.prototype.hasModule=function(t){return typeof t=="string"&&(t=[t]),this._modules.isRegistered(t)};an.prototype.hotUpdate=function(t){this._modules.update(t),vg(this,!0)};an.prototype._withCommit=function(t){var n=this._committing;this._committing=!0,t(),this._committing=n};Object.defineProperties(an.prototype,Nd);const Sg="UPDATE_CONFIG",$g="UPDATE_SETTINGS",Ul="UPDATE_SETTINGS_OPTION",Ag="UPDATE_LIBRARY_STATS",Tg="UPDATE_LIBRARY_AUDIOBOOKS_COUNT",Og="UPDATE_LIBRARY_PODCASTS_COUNT",Dg="UPDATE_LIBRARY_RSS_COUNT",Pg="UPDATE_OUTPUTS",Bd="UPDATE_PLAYER_STATUS",Ig="UPDATE_QUEUE",Fg="UPDATE_LASTFM",Rg="UPDATE_SPOTIFY",Lg="UPDATE_PAIRING",Vd="SPOTIFY_NEW_RELEASES",Hd="SPOTIFY_FEATURED_PLAYLISTS",Hf="ADD_NOTIFICATION",xc="DELETE_NOTIFICATION",Ec="SEARCH_PATH",jd="ADD_RECENT_SEARCH",Mg="COMPOSER_TRACKS_SORT",Ng="GENRE_TRACKS_SORT",ql="HIDE_SINGLES",Ud="HIDE_SPOTIFY",Bg="ARTISTS_SORT",Vg="ARTIST_ALBUMS_SORT",Hg="ARTIST_TRACKS_SORT",jg="ALBUMS_SORT",Ug="SHOW_ONLY_NEXT_ITEMS",Xo="SHOW_BURGER_MENU",Qo="SHOW_PLAYER_MENU",Ta="SHOW_UPDATE_DIALOG",qd="UPDATE_DIALOG_SCAN_KIND",Ke=Vw({state(){return{config:{websocket_port:0,version:"",buildoptions:[]},settings:{categories:[]},library:{artists:0,albums:0,songs:0,db_playtime:0,updating:!1},audiobooks_count:{},podcasts_count:{},rss_count:{},outputs:[],player:{state:"stop",repeat:"off",consume:!1,shuffle:!1,volume:0,item_id:0,item_length_ms:0,item_progress_ms:0},queue:{version:0,count:0,items:[]},lastfm:{},spotify:{},pairing:{},spotify_new_releases:[],spotify_featured_playlists:[],notifications:{next_id:1,list:[]},search_path:"/search/library",recent_searches:[],composer_tracks_sort:1,genre_tracks_sort:1,hide_singles:!1,hide_spotify:!1,artists_sort:1,artist_albums_sort:1,artist_tracks_sort:1,albums_sort:1,show_only_next_items:!1,show_burger_menu:!1,show_player_menu:!1,show_update_dialog:!1,update_dialog_scan_kind:""}},getters:{now_playing:e=>{const t=e.queue.items.find(function(n){return n.id===e.player.item_id});return t===void 0?{}:t},settings_webinterface:e=>e.settings?e.settings.categories.find(t=>t.name==="webinterface"):null,settings_option_recently_added_limit:(e,t)=>{if(t.settings_webinterface){const n=t.settings_webinterface.options.find(r=>r.name==="recently_added_limit");if(n)return n.value}return 100},settings_option_show_composer_now_playing:(e,t)=>{if(t.settings_webinterface){const n=t.settings_webinterface.options.find(r=>r.name==="show_composer_now_playing");if(n)return n.value}return!1},settings_option_show_composer_for_genre:(e,t)=>{if(t.settings_webinterface){const n=t.settings_webinterface.options.find(r=>r.name==="show_composer_for_genre");if(n)return n.value}return null},settings_option_show_filepath_now_playing:(e,t)=>{if(t.settings_webinterface){const n=t.settings_webinterface.options.find(r=>r.name==="show_filepath_now_playing");if(n)return n.value}return!1},settings_category:e=>t=>e.settings.categories.find(n=>n.name===t),settings_option:e=>(t,n)=>{const r=e.settings.categories.find(o=>o.name===t);return r?r.options.find(o=>o.name===n):{}}},mutations:{[Sg](e,t){e.config=t},[$g](e,t){e.settings=t},[Ul](e,t){const r=e.settings.categories.find(o=>o.name===t.category).options.find(o=>o.name===t.name);r.value=t.value},[Ag](e,t){e.library=t},[Tg](e,t){e.audiobooks_count=t},[Og](e,t){e.podcasts_count=t},[Dg](e,t){e.rss_count=t},[Pg](e,t){e.outputs=t},[Bd](e,t){e.player=t},[Ig](e,t){e.queue=t},[Fg](e,t){e.lastfm=t},[Rg](e,t){e.spotify=t},[Lg](e,t){e.pairing=t},[Vd](e,t){e.spotify_new_releases=t},[Hd](e,t){e.spotify_featured_playlists=t},[Hf](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)},[xc](e,t){const n=e.notifications.list.indexOf(t);n!==-1&&e.notifications.list.splice(n,1)},[Ec](e,t){e.search_path=t},[jd](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()},[Mg](e,t){e.composer_tracks_sort=t},[Ng](e,t){e.genre_tracks_sort=t},[ql](e,t){e.hide_singles=t},[Ud](e,t){e.hide_spotify=t},[Bg](e,t){e.artists_sort=t},[Vg](e,t){e.artist_albums_sort=t},[Hg](e,t){e.artist_tracks_sort=t},[jg](e,t){e.albums_sort=t},[Ug](e,t){e.show_only_next_items=t},[Xo](e,t){e.show_burger_menu=t},[Qo](e,t){e.show_player_menu=t},[Ta](e,t){e.show_update_dialog=t},[qd](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(Hf,r),n.timeout>0&&setTimeout(()=>{e(xc,r)},n.timeout)}}});/*!
* vue-router v4.2.4
* (c) 2023 Eduardo San Martin Morote
* @license MIT
*/const Io=typeof window<"u";function Hw(e){return e.__esModule||e[Symbol.toStringTag]==="Module"}const ut=Object.assign;function bu(e,t){const n={};for(const r in t){const o=t[r];n[r]=Hn(o)?o.map(e):e(o)}return n}const Ys=()=>{},Hn=Array.isArray,jw=/\/$/,Uw=e=>e.replace(jw,"");function zu(e,t,n="/"){let r,o={},s="",a="";const i=t.indexOf("#");let l=t.indexOf("?");return i<l&&i>=0&&(l=-1),l>-1&&(r=t.slice(0,l),s=t.slice(l+1,i>-1?i:t.length),o=e(s)),i>-1&&(r=r||t.slice(0,i),a=t.slice(i,t.length)),r=Kw(r??t,n),{fullPath:r+(s&&"?")+s+a,path:r,query:o,hash:a}}function qw(e,t){const n=t.query?e(t.query):"";return t.path+(n&&"?")+n+(t.hash||"")}function jf(e,t){return!t||!e.toLowerCase().startsWith(t.toLowerCase())?e:e.slice(t.length)||"/"}function Ww(e,t,n){const r=t.matched.length-1,o=n.matched.length-1;return r>-1&&r===o&&es(t.matched[r],n.matched[o])&&qg(t.params,n.params)&&e(t.query)===e(n.query)&&t.hash===n.hash}function es(e,t){return(e.aliasOf||e)===(t.aliasOf||t)}function qg(e,t){if(Object.keys(e).length!==Object.keys(t).length)return!1;for(const n in e)if(!Gw(e[n],t[n]))return!1;return!0}function Gw(e,t){return Hn(e)?Uf(e,t):Hn(t)?Uf(t,e):e===t}function Uf(e,t){return Hn(t)?e.length===t.length&&e.every((n,r)=>n===t[r]):e.length===1&&e[0]===t}function Kw(e,t){if(e.startsWith("/"))return e;if(!e)return t;const n=t.split("/"),r=e.split("/"),o=r[r.length-1];(o===".."||o===".")&&r.push("");let s=n.length-1,a,i;for(a=0;a<r.length;a++)if(i=r[a],i!==".")if(i==="..")s>1&&s--;else break;return n.slice(0,s).join("/")+"/"+r.slice(a-(a===r.length?1:0)).join("/")}var ya;(function(e){e.pop="pop",e.push="push"})(ya||(ya={}));var Js;(function(e){e.back="back",e.forward="forward",e.unknown=""})(Js||(Js={}));function Zw(e){if(!e)if(Io){const t=document.querySelector("base");e=t&&t.getAttribute("href")||"/",e=e.replace(/^\w+:\/\/[^\/]+/,"")}else e="/";return e[0]!=="/"&&e[0]!=="#"&&(e="/"+e),Uw(e)}const Yw=/^[^#]+#/;function Jw(e,t){return e.replace(Yw,"#")+t}function Xw(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 Wl=()=>({left:window.pageXOffset,top:window.pageYOffset});function Qw(e){let t;if("el"in e){const n=e.el,r=typeof n=="string"&&n.startsWith("#"),o=typeof n=="string"?r?document.getElementById(n.slice(1)):document.querySelector(n):n;if(!o)return;t=Xw(o,e)}else t=e;"scrollBehavior"in document.documentElement.style?window.scrollTo(t):window.scrollTo(t.left!=null?t.left:window.pageXOffset,t.top!=null?t.top:window.pageYOffset)}function qf(e,t){return(history.state?history.state.position-t:-1)+e}const Sc=new Map;function ek(e,t){Sc.set(e,t)}function tk(e){const t=Sc.get(e);return Sc.delete(e),t}let nk=()=>location.protocol+"//"+location.host;function Wg(e,t){const{pathname:n,search:r,hash:o}=t,s=e.indexOf("#");if(s>-1){let i=o.includes(e.slice(s))?e.slice(s).length:1,l=o.slice(i);return l[0]!=="/"&&(l="/"+l),jf(l,"")}return jf(n,e)+r+o}function rk(e,t,n,r){let o=[],s=[],a=null;const i=({state:m})=>{const p=Wg(e,location),h=n.value,_=t.value;let z=0;if(m){if(n.value=p,t.value=m,a&&a===h){a=null;return}z=_?m.position-_.position:0}else r(p);o.forEach(b=>{b(n.value,h,{delta:z,type:ya.pop,direction:z?z>0?Js.forward:Js.back:Js.unknown})})};function l(){a=n.value}function c(m){o.push(m);const p=()=>{const h=o.indexOf(m);h>-1&&o.splice(h,1)};return s.push(p),p}function d(){const{history:m}=window;m.state&&m.replaceState(ut({},m.state,{scroll:Wl()}),"")}function f(){for(const m of s)m();s=[],window.removeEventListener("popstate",i),window.removeEventListener("beforeunload",d)}return window.addEventListener("popstate",i),window.addEventListener("beforeunload",d,{passive:!0}),{pauseListeners:l,listen:c,destroy:f}}function Wf(e,t,n,r=!1,o=!1){return{back:e,current:t,forward:n,replaced:r,position:window.history.length,scroll:o?Wl():null}}function ok(e){const{history:t,location:n}=window,r={value:Wg(e,n)},o={value:t.state};o.value||s(r.value,{back:null,current:r.value,forward:null,position:t.length-1,replaced:!0,scroll:null},!0);function s(l,c,d){const f=e.indexOf("#"),m=f>-1?(n.host&&document.querySelector("base")?e:e.slice(f))+l:nk()+e+l;try{t[d?"replaceState":"pushState"](c,"",m),o.value=c}catch(p){console.error(p),n[d?"replace":"assign"](m)}}function a(l,c){const d=ut({},t.state,Wf(o.value.back,l,o.value.forward,!0),c,{position:o.value.position});s(l,d,!0),r.value=l}function i(l,c){const d=ut({},o.value,t.state,{forward:l,scroll:Wl()});s(d.current,d,!0);const f=ut({},Wf(r.value,l,null),{position:d.position+1},c);s(l,f,!1),r.value=l}return{location:r,state:o,push:i,replace:a}}function sk(e){e=Zw(e);const t=ok(e),n=rk(e,t.state,t.location,t.replace);function r(s,a=!0){a||n.pauseListeners(),history.go(s)}const o=ut({location:"",base:e,go:r,createHref:Jw.bind(null,e)},t,n);return Object.defineProperty(o,"location",{enumerable:!0,get:()=>t.location.value}),Object.defineProperty(o,"state",{enumerable:!0,get:()=>t.state.value}),o}function ak(e){return e=location.host?e||location.pathname+location.search:"",e.includes("#")||(e+="#"),sk(e)}function ik(e){return typeof e=="string"||e&&typeof e=="object"}function Gg(e){return typeof e=="string"||typeof e=="symbol"}const $r={path:"/",name:void 0,params:{},query:{},hash:"",fullPath:"/",matched:[],meta:{},redirectedFrom:void 0},Kg=Symbol("");var Gf;(function(e){e[e.aborted=4]="aborted",e[e.cancelled=8]="cancelled",e[e.duplicated=16]="duplicated"})(Gf||(Gf={}));function ts(e,t){return ut(new Error,{type:e,[Kg]:!0},t)}function mr(e,t){return e instanceof Error&&Kg in e&&(t==null||!!(e.type&t))}const Kf="[^/]+?",lk={sensitive:!1,strict:!1,start:!0,end:!0},uk=/[.+*?^${}()[\]/\\]/g;function ck(e,t){const n=ut({},lk,t),r=[];let o=n.start?"^":"";const s=[];for(const c of e){const d=c.length?[]:[90];n.strict&&!c.length&&(o+="/");for(let f=0;f<c.length;f++){const m=c[f];let p=40+(n.sensitive?.25:0);if(m.type===0)f||(o+="/"),o+=m.value.replace(uk,"\\$&"),p+=40;else if(m.type===1){const{value:h,repeatable:_,optional:z,regexp:b}=m;s.push({name:h,repeatable:_,optional:z});const v=b||Kf;if(v!==Kf){p+=10;try{new RegExp(`(${v})`)}catch(C){throw new Error(`Invalid custom RegExp for param "${h}" (${v}): `+C.message)}}let k=_?`((?:${v})(?:/(?:${v}))*)`:`(${v})`;f||(k=z&&c.length<2?`(?:/${k})`:"/"+k),z&&(k+="?"),o+=k,p+=20,z&&(p+=-8),_&&(p+=-20),v===".*"&&(p+=-50)}d.push(p)}r.push(d)}if(n.strict&&n.end){const c=r.length-1;r[c][r[c].length-1]+=.7000000000000001}n.strict||(o+="/?"),n.end?o+="$":n.strict&&(o+="(?:/|$)");const a=new RegExp(o,n.sensitive?"":"i");function i(c){const d=c.match(a),f={};if(!d)return null;for(let m=1;m<d.length;m++){const p=d[m]||"",h=s[m-1];f[h.name]=p&&h.repeatable?p.split("/"):p}return f}function l(c){let d="",f=!1;for(const m of e){(!f||!d.endsWith("/"))&&(d+="/"),f=!1;for(const p of m)if(p.type===0)d+=p.value;else if(p.type===1){const{value:h,repeatable:_,optional:z}=p,b=h in c?c[h]:"";if(Hn(b)&&!_)throw new Error(`Provided param "${h}" is an array but it is not repeatable (* or + modifiers)`);const v=Hn(b)?b.join("/"):b;if(!v)if(z)m.length<2&&(d.endsWith("/")?d=d.slice(0,-1):f=!0);else throw new Error(`Missing required param "${h}"`);d+=v}}return d||"/"}return{re:a,score:r,keys:s,parse:i,stringify:l}}function dk(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 mk(e,t){let n=0;const r=e.score,o=t.score;for(;n<r.length&&n<o.length;){const s=dk(r[n],o[n]);if(s)return s;n++}if(Math.abs(o.length-r.length)===1){if(Zf(r))return 1;if(Zf(o))return-1}return o.length-r.length}function Zf(e){const t=e[e.length-1];return e.length>0&&t[t.length-1]<0}const fk={type:0,value:""},pk=/[a-zA-Z0-9_]/;function hk(e){if(!e)return[[]];if(e==="/")return[[fk]];if(!e.startsWith("/"))throw new Error(`Invalid path "${e}"`);function t(p){throw new Error(`ERR (${n})/"${c}": ${p}`)}let n=0,r=n;const o=[];let s;function a(){s&&o.push(s),s=[]}let i=0,l,c="",d="";function f(){c&&(n===0?s.push({type:0,value:c}):n===1||n===2||n===3?(s.length>1&&(l==="*"||l==="+")&&t(`A repeatable param (${c}) must be alone in its segment. eg: '/:ids+.`),s.push({type:1,value:c,regexp:d,repeatable:l==="*"||l==="+",optional:l==="*"||l==="?"})):t("Invalid state to consume buffer"),c="")}function m(){c+=l}for(;i<e.length;){if(l=e[i++],l==="\\"&&n!==2){r=n,n=4;continue}switch(n){case 0:l==="/"?(c&&f(),a()):l===":"?(f(),n=1):m();break;case 4:m(),n=r;break;case 1:l==="("?n=2:pk.test(l)?m():(f(),n=0,l!=="*"&&l!=="?"&&l!=="+"&&i--);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!=="+"&&i--,d="";break;default:t("Unknown state");break}}return n===2&&t(`Unfinished custom RegExp for param "${c}"`),f(),a(),o}function _k(e,t,n){const r=ck(hk(e.path),n),o=ut(r,{record:e,parent:t,children:[],alias:[]});return t&&!o.record.aliasOf==!t.record.aliasOf&&t.children.push(o),o}function gk(e,t){const n=[],r=new Map;t=Xf({strict:!1,end:!0,sensitive:!1},t);function o(d){return r.get(d)}function s(d,f,m){const p=!m,h=yk(d);h.aliasOf=m&&m.record;const _=Xf(t,d),z=[h];if("alias"in d){const k=typeof d.alias=="string"?[d.alias]:d.alias;for(const C of k)z.push(ut({},h,{components:m?m.record.components:h.components,path:C,aliasOf:m?m.record:h}))}let b,v;for(const k of z){const{path:C}=k;if(f&&C[0]!=="/"){const x=f.record.path,T=x[x.length-1]==="/"?"":"/";k.path=f.record.path+(C&&T+C)}if(b=_k(k,f,_),m?m.alias.push(b):(v=v||b,v!==b&&v.alias.push(b),p&&d.name&&!Jf(b)&&a(d.name)),h.children){const x=h.children;for(let T=0;T<x.length;T++)s(x[T],b,m&&m.children[T])}m=m||b,(b.record.components&&Object.keys(b.record.components).length||b.record.name||b.record.redirect)&&l(b)}return v?()=>{a(v)}:Ys}function a(d){if(Gg(d)){const f=r.get(d);f&&(r.delete(d),n.splice(n.indexOf(f),1),f.children.forEach(a),f.alias.forEach(a))}else{const f=n.indexOf(d);f>-1&&(n.splice(f,1),d.record.name&&r.delete(d.record.name),d.children.forEach(a),d.alias.forEach(a))}}function i(){return n}function l(d){let f=0;for(;f<n.length&&mk(d,n[f])>=0&&(d.record.path!==n[f].record.path||!Zg(d,n[f]));)f++;n.splice(f,0,d),d.record.name&&!Jf(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 ts(1,{location:d});_=m.record.name,p=ut(Yf(f.params,m.keys.filter(v=>!v.optional).map(v=>v.name)),d.params&&Yf(d.params,m.keys.map(v=>v.name))),h=m.stringify(p)}else if("path"in d)h=d.path,m=n.find(v=>v.re.test(h)),m&&(p=m.parse(h),_=m.record.name);else{if(m=f.name?r.get(f.name):n.find(v=>v.re.test(f.path)),!m)throw ts(1,{location:d,currentLocation:f});_=m.record.name,p=ut({},f.params,d.params),h=m.stringify(p)}const z=[];let b=m;for(;b;)z.unshift(b.record),b=b.parent;return{name:_,path:h,params:p,matched:z,meta:bk(z)}}return e.forEach(d=>s(d)),{addRoute:s,resolve:c,removeRoute:a,getRoutes:i,getRecordMatcher:o}}function Yf(e,t){const n={};for(const r of t)r in e&&(n[r]=e[r]);return n}function yk(e){return{path:e.path,redirect:e.redirect,name:e.name,meta:e.meta||{},aliasOf:void 0,beforeEnter:e.beforeEnter,props:vk(e),children:e.children||[],instances:{},leaveGuards:new Set,updateGuards:new Set,enterCallbacks:{},components:"components"in e?e.components||null:e.component&&{default:e.component}}}function vk(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=="object"?n[r]:n;return t}function Jf(e){for(;e;){if(e.record.aliasOf)return!0;e=e.parent}return!1}function bk(e){return e.reduce((t,n)=>ut(t,n.meta),{})}function Xf(e,t){const n={};for(const r in e)n[r]=r in t?t[r]:e[r];return n}function Zg(e,t){return t.children.some(n=>n===e||Zg(e,n))}const Yg=/#/g,zk=/&/g,Ck=/\//g,wk=/=/g,kk=/\?/g,Jg=/\+/g,xk=/%5B/g,Ek=/%5D/g,Xg=/%5E/g,Sk=/%60/g,Qg=/%7B/g,$k=/%7C/g,ey=/%7D/g,Ak=/%20/g;function Wd(e){return encodeURI(""+e).replace($k,"|").replace(xk,"[").replace(Ek,"]")}function Tk(e){return Wd(e).replace(Qg,"{").replace(ey,"}").replace(Xg,"^")}function $c(e){return Wd(e).replace(Jg,"%2B").replace(Ak,"+").replace(Yg,"%23").replace(zk,"%26").replace(Sk,"`").replace(Qg,"{").replace(ey,"}").replace(Xg,"^")}function Ok(e){return $c(e).replace(wk,"%3D")}function Dk(e){return Wd(e).replace(Yg,"%23").replace(kk,"%3F")}function Pk(e){return e==null?"":Dk(e).replace(Ck,"%2F")}function cl(e){try{return decodeURIComponent(""+e)}catch{}return""+e}function Ik(e){const t={};if(e===""||e==="?")return t;const r=(e[0]==="?"?e.slice(1):e).split("&");for(let o=0;o<r.length;++o){const s=r[o].replace(Jg," "),a=s.indexOf("="),i=cl(a<0?s:s.slice(0,a)),l=a<0?null:cl(s.slice(a+1));if(i in t){let c=t[i];Hn(c)||(c=t[i]=[c]),c.push(l)}else t[i]=l}return t}function Qf(e){let t="";for(let n in e){const r=e[n];if(n=Ok(n),r==null){r!==void 0&&(t+=(t.length?"&":"")+n);continue}(Hn(r)?r.map(s=>s&&$c(s)):[r&&$c(r)]).forEach(s=>{s!==void 0&&(t+=(t.length?"&":"")+n,s!=null&&(t+="="+s))})}return t}function Fk(e){const t={};for(const n in e){const r=e[n];r!==void 0&&(t[n]=Hn(r)?r.map(o=>o==null?null:""+o):r==null?r:""+r)}return t}const Rk=Symbol(""),ep=Symbol(""),Gd=Symbol(""),ty=Symbol(""),Ac=Symbol("");function Cs(){let e=[];function t(r){return e.push(r),()=>{const o=e.indexOf(r);o>-1&&e.splice(o,1)}}function n(){e=[]}return{add:t,list:()=>e.slice(),reset:n}}function Rr(e,t,n,r,o){const s=r&&(r.enterCallbacks[o]=r.enterCallbacks[o]||[]);return()=>new Promise((a,i)=>{const l=f=>{f===!1?i(ts(4,{from:n,to:t})):f instanceof Error?i(f):ik(f)?i(ts(2,{from:t,to:f})):(s&&r.enterCallbacks[o]===s&&typeof f=="function"&&s.push(f),a())},c=e.call(r&&r.instances[o],t,n,l);let d=Promise.resolve(c);e.length<3&&(d=d.then(l)),d.catch(f=>i(f))})}function Cu(e,t,n,r){const o=[];for(const s of e)for(const a in s.components){let i=s.components[a];if(!(t!=="beforeRouteEnter"&&!s.instances[a]))if(Lk(i)){const c=(i.__vccOpts||i)[t];c&&o.push(Rr(c,n,r,s,a))}else{let l=i();o.push(()=>l.then(c=>{if(!c)return Promise.reject(new Error(`Couldn't resolve component "${a}" at "${s.path}"`));const d=Hw(c)?c.default:c;s.components[a]=d;const m=(d.__vccOpts||d)[t];return m&&Rr(m,n,r,s,a)()}))}}return o}function Lk(e){return typeof e=="object"||"displayName"in e||"props"in e||"__vccOpts"in e}function tp(e){const t=Bn(Gd),n=Bn(ty),r=Ft(()=>t.resolve(pn(e.to))),o=Ft(()=>{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(es.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(es.bind(null,l[c-2])):m}),s=Ft(()=>o.value>-1&&Vk(n.params,r.value.params)),a=Ft(()=>o.value>-1&&o.value===n.matched.length-1&&qg(n.params,r.value.params));function i(l={}){return Bk(l)?t[pn(e.replace)?"replace":"push"](pn(e.to)).catch(Ys):Promise.resolve()}return{route:r,href:Ft(()=>r.value.href),isActive:s,isExactActive:a,navigate:i}}const Mk=us({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:tp,setup(e,{slots:t}){const n=ls(tp(e)),{options:r}=Bn(Gd),o=Ft(()=>({[rp(e.activeClass,r.linkActiveClass,"router-link-active")]:n.isActive,[rp(e.exactActiveClass,r.linkExactActiveClass,"router-link-exact-active")]:n.isExactActive}));return()=>{const s=t.default&&t.default(n);return e.custom?s:Qn("a",{"aria-current":n.isExactActive?e.ariaCurrentValue:null,href:n.href,onClick:n.navigate,class:o.value},s)}}}),Nk=Mk;function Bk(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 Vk(e,t){for(const n in t){const r=t[n],o=e[n];if(typeof r=="string"){if(r!==o)return!1}else if(!Hn(o)||o.length!==r.length||r.some((s,a)=>s!==o[a]))return!1}return!0}function np(e){return e?e.aliasOf?e.aliasOf.path:e.path:""}const rp=(e,t,n)=>e??t??n,Hk=us({name:"RouterView",inheritAttrs:!1,props:{name:{type:String,default:"default"},route:Object},compatConfig:{MODE:3},setup(e,{attrs:t,slots:n}){const r=Bn(Ac),o=Ft(()=>e.route||r.value),s=Bn(ep,0),a=Ft(()=>{let c=pn(s);const{matched:d}=o.value;let f;for(;(f=d[c])&&!f.components;)c++;return c}),i=Ft(()=>o.value.matched[a.value]);qs(ep,Ft(()=>a.value+1)),qs(Rk,i),qs(Ac,o);const l=Gt();return Jt(()=>[l.value,i.value,e.name],([c,d,f],[m,p,h])=>{d&&(d.instances[f]=c,p&&p!==d&&c&&c===m&&(d.leaveGuards.size||(d.leaveGuards=p.leaveGuards),d.updateGuards.size||(d.updateGuards=p.updateGuards))),c&&d&&(!p||!es(d,p)||!m)&&(d.enterCallbacks[f]||[]).forEach(_=>_(c))},{flush:"post"}),()=>{const c=o.value,d=e.name,f=i.value,m=f&&f.components[d];if(!m)return op(n.default,{Component:m,route:c});const p=f.props[d],h=p?p===!0?c.params:typeof p=="function"?p(c):p:null,z=Qn(m,ut({},h,t,{onVnodeUnmounted:b=>{b.component.isUnmounted&&(f.instances[d]=null)},ref:l}));return op(n.default,{Component:z,route:c})||z}}});function op(e,t){if(!e)return null;const n=e(t);return n.length===1?n[0]:n}const jk=Hk;function Uk(e){const t=gk(e.routes,e),n=e.parseQuery||Ik,r=e.stringifyQuery||Qf,o=e.history,s=Cs(),a=Cs(),i=Cs(),l=Ih($r);let c=$r;Io&&e.scrollBehavior&&"scrollRestoration"in history&&(history.scrollRestoration="manual");const d=bu.bind(null,B=>""+B),f=bu.bind(null,Pk),m=bu.bind(null,cl);function p(B,le){let ne,pe;return Gg(B)?(ne=t.getRecordMatcher(B),pe=le):pe=B,t.addRoute(pe,ne)}function h(B){const le=t.getRecordMatcher(B);le&&t.removeRoute(le)}function _(){return t.getRoutes().map(B=>B.record)}function z(B){return!!t.getRecordMatcher(B)}function b(B,le){if(le=ut({},le||l.value),typeof B=="string"){const P=zu(n,B,le.path),K=t.resolve({path:P.path},le),J=o.createHref(P.fullPath);return ut(P,K,{params:m(K.params),hash:cl(P.hash),redirectedFrom:void 0,href:J})}let ne;if("path"in B)ne=ut({},B,{path:zu(n,B.path,le.path).path});else{const P=ut({},B.params);for(const K in P)P[K]==null&&delete P[K];ne=ut({},B,{params:f(P)}),le.params=f(le.params)}const pe=t.resolve(ne,le),Oe=B.hash||"";pe.params=d(m(pe.params));const A=qw(r,ut({},B,{hash:Tk(Oe),path:pe.path})),O=o.createHref(A);return ut({fullPath:A,hash:Oe,query:r===Qf?Fk(B.query):B.query||{}},pe,{redirectedFrom:void 0,href:O})}function v(B){return typeof B=="string"?zu(n,B,l.value.path):ut({},B)}function k(B,le){if(c!==B)return ts(8,{from:le,to:B})}function C(B){return L(B)}function x(B){return C(ut(v(B),{replace:!0}))}function T(B){const le=B.matched[B.matched.length-1];if(le&&le.redirect){const{redirect:ne}=le;let pe=typeof ne=="function"?ne(B):ne;return typeof pe=="string"&&(pe=pe.includes("?")||pe.includes("#")?pe=v(pe):{path:pe},pe.params={}),ut({query:B.query,hash:B.hash,params:"path"in pe?{}:B.params},pe)}}function L(B,le){const ne=c=b(B),pe=l.value,Oe=B.state,A=B.force,O=B.replace===!0,P=T(ne);if(P)return L(ut(v(P),{state:typeof P=="object"?ut({},Oe,P.state):Oe,force:A,replace:O}),le||ne);const K=ne;K.redirectedFrom=le;let J;return!A&&Ww(r,pe,ne)&&(J=ts(16,{to:K,from:pe}),ce(pe,pe,!0,!1)),(J?Promise.resolve(J):U(K,pe)).catch(ee=>mr(ee)?mr(ee,2)?ee:at(ee):ye(ee,K,pe)).then(ee=>{if(ee){if(mr(ee,2))return L(ut({replace:O},v(ee.to),{state:typeof ee.to=="object"?ut({},Oe,ee.to.state):Oe,force:A}),le||K)}else ee=X(K,pe,!0,O,Oe);return Z(K,pe,ee),ee})}function I(B,le){const ne=k(B,le);return ne?Promise.reject(ne):Promise.resolve()}function D(B){const le=Ae.values().next().value;return le&&typeof le.runWithContext=="function"?le.runWithContext(B):B()}function U(B,le){let ne;const[pe,Oe,A]=qk(B,le);ne=Cu(pe.reverse(),"beforeRouteLeave",B,le);for(const P of pe)P.leaveGuards.forEach(K=>{ne.push(Rr(K,B,le))});const O=I.bind(null,B,le);return ne.push(O),Ee(ne).then(()=>{ne=[];for(const P of s.list())ne.push(Rr(P,B,le));return ne.push(O),Ee(ne)}).then(()=>{ne=Cu(Oe,"beforeRouteUpdate",B,le);for(const P of Oe)P.updateGuards.forEach(K=>{ne.push(Rr(K,B,le))});return ne.push(O),Ee(ne)}).then(()=>{ne=[];for(const P of A)if(P.beforeEnter)if(Hn(P.beforeEnter))for(const K of P.beforeEnter)ne.push(Rr(K,B,le));else ne.push(Rr(P.beforeEnter,B,le));return ne.push(O),Ee(ne)}).then(()=>(B.matched.forEach(P=>P.enterCallbacks={}),ne=Cu(A,"beforeRouteEnter",B,le),ne.push(O),Ee(ne))).then(()=>{ne=[];for(const P of a.list())ne.push(Rr(P,B,le));return ne.push(O),Ee(ne)}).catch(P=>mr(P,8)?P:Promise.reject(P))}function Z(B,le,ne){i.list().forEach(pe=>D(()=>pe(B,le,ne)))}function X(B,le,ne,pe,Oe){const A=k(B,le);if(A)return A;const O=le===$r,P=Io?history.state:{};ne&&(pe||O?o.replace(B.fullPath,ut({scroll:O&&P&&P.scroll},Oe)):o.push(B.fullPath,Oe)),l.value=B,ce(B,le,ne,O),at()}let j;function q(){j||(j=o.listen((B,le,ne)=>{if(!Le.listening)return;const pe=b(B),Oe=T(pe);if(Oe){L(ut(Oe,{replace:!0}),pe).catch(Ys);return}c=pe;const A=l.value;Io&&ek(qf(A.fullPath,ne.delta),Wl()),U(pe,A).catch(O=>mr(O,12)?O:mr(O,2)?(L(O.to,pe).then(P=>{mr(P,20)&&!ne.delta&&ne.type===ya.pop&&o.go(-1,!1)}).catch(Ys),Promise.reject()):(ne.delta&&o.go(-ne.delta,!1),ye(O,pe,A))).then(O=>{O=O||X(pe,A,!1),O&&(ne.delta&&!mr(O,8)?o.go(-ne.delta,!1):ne.type===ya.pop&&mr(O,20)&&o.go(-1,!1)),Z(pe,A,O)}).catch(Ys)}))}let ze=Cs(),te=Cs(),ae;function ye(B,le,ne){at(B);const pe=te.list();return pe.length?pe.forEach(Oe=>Oe(B,le,ne)):console.error(B),Promise.reject(B)}function je(){return ae&&l.value!==$r?Promise.resolve():new Promise((B,le)=>{ze.add([B,le])})}function at(B){return ae||(ae=!B,q(),ze.list().forEach(([le,ne])=>B?ne(B):le()),ze.reset()),B}function ce(B,le,ne,pe){const{scrollBehavior:Oe}=e;if(!Io||!Oe)return Promise.resolve();const A=!ne&&tk(qf(B.fullPath,0))||(pe||!ne)&&history.state&&history.state.scroll||null;return ka().then(()=>Oe(B,le,A)).then(O=>O&&Qw(O)).catch(O=>ye(O,B,le))}const W=B=>o.go(B);let fe;const Ae=new Set,Le={currentRoute:l,listening:!0,addRoute:p,removeRoute:h,hasRoute:z,getRoutes:_,resolve:b,options:e,push:C,replace:x,go:W,back:()=>W(-1),forward:()=>W(1),beforeEach:s.add,beforeResolve:a.add,afterEach:i.add,onError:te.add,isReady:je,install(B){const le=this;B.component("RouterLink",Nk),B.component("RouterView",jk),B.config.globalProperties.$router=le,Object.defineProperty(B.config.globalProperties,"$route",{enumerable:!0,get:()=>pn(l)}),Io&&!fe&&l.value===$r&&(fe=!0,C(o.location).catch(Oe=>{}));const ne={};for(const Oe in $r)Object.defineProperty(ne,Oe,{get:()=>l.value[Oe],enumerable:!0});B.provide(Gd,le),B.provide(ty,id(ne)),B.provide(Ac,l);const pe=B.unmount;Ae.add(B),B.unmount=function(){Ae.delete(B),Ae.size<1&&(c=$r,j&&j(),j=null,l.value=$r,fe=!1,ae=!1),pe()}}};function Ee(B){return B.reduce((le,ne)=>le.then(()=>D(ne)),Promise.resolve())}return Le}function qk(e,t){const n=[],r=[],o=[],s=Math.max(t.matched.length,e.matched.length);for(let a=0;a<s;a++){const i=t.matched[a];i&&(e.matched.find(c=>es(c,i))?r.push(i):n.push(i));const l=e.matched[a];l&&(t.matched.find(c=>es(c,l))||o.push(l))}return[n,r,o]}const oe=(e,t)=>{const n=e.__vccOpts||e;for(const[r,o]of t)n[r]=o;return n},Wk={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(){window.scrollTo({top:0,behavior:"smooth"})},scroll_to_content(){this.$route.meta.has_tabs?this.$scrollTo("#top",{offset:-140}):this.$scrollTo("#top",{offset:-110})},visibilityChanged(e){this.options_visible=e}}},Gk={class:"section"},Kk={class:"container"},Zk={class:"columns is-centered"},Yk={class:"column is-four-fifths"},Jk={key:0},Xk={ref:"options_ref",style:{height:"1px"}},Qk={class:"buttons is-centered mt-4 mb-2"},ex={id:"top",class:"level is-clipped"},tx={class:"level-left is-flex-shrink-1"},nx={class:"level-item is-flex-shrink-1 has-text-centered-mobile"},rx={class:"level-right has-text-centered-mobile"},ox={class:"mt-4"};function sx(e,t,n,r,o,s){const a=S("mdicon");return w(),$("section",Gk,[u("div",Kk,[u("div",Zk,[u("div",Yk,[e.$slots.options?(w(),$("section",Jk,[u("div",Xk,null,512),lt(e.$slots,"options"),u("nav",Qk,[o.options_visible?(w(),$("a",{key:1,class:"button is-small is-white",onClick:t[1]||(t[1]=(...i)=>s.scroll_to_content&&s.scroll_to_content(...i))},[y(a,{class:"icon is-small",name:"chevron-up",size:"16"})])):(w(),$("a",{key:0,class:"button is-small is-white",onClick:t[0]||(t[0]=(...i)=>s.scroll_to_top&&s.scroll_to_top(...i))},[y(a,{class:"icon is-small",name:"chevron-down",size:"16"})]))])])):H("",!0),u("div",{class:De({"fd-content-with-option":e.$slots.options})},[u("nav",ex,[u("div",tx,[u("div",nx,[u("div",null,[lt(e.$slots,"heading-left")])])]),u("div",rx,[lt(e.$slots,"heading-right")])]),lt(e.$slots,"content"),u("div",ox,[lt(e.$slots,"footer")])],2)])])])])}const nt=oe(Wk,[["render",sx]]);function ny(e,t){return function(){return e.apply(t,arguments)}}const{toString:ax}=Object.prototype,{getPrototypeOf:Kd}=Object,Gl=(e=>t=>{const n=ax.call(t);return e[n]||(e[n]=n.slice(8,-1).toLowerCase())})(Object.create(null)),lr=e=>(e=e.toLowerCase(),t=>Gl(t)===e),Kl=e=>t=>typeof t===e,{isArray:ms}=Array,va=Kl("undefined");function ix(e){return e!==null&&!va(e)&&e.constructor!==null&&!va(e.constructor)&&Sn(e.constructor.isBuffer)&&e.constructor.isBuffer(e)}const ry=lr("ArrayBuffer");function lx(e){let t;return typeof ArrayBuffer<"u"&&ArrayBuffer.isView?t=ArrayBuffer.isView(e):t=e&&e.buffer&&ry(e.buffer),t}const ux=Kl("string"),Sn=Kl("function"),oy=Kl("number"),Zl=e=>e!==null&&typeof e=="object",cx=e=>e===!0||e===!1,Ui=e=>{if(Gl(e)!=="object")return!1;const t=Kd(e);return(t===null||t===Object.prototype||Object.getPrototypeOf(t)===null)&&!(Symbol.toStringTag in e)&&!(Symbol.iterator in e)},dx=lr("Date"),mx=lr("File"),fx=lr("Blob"),px=lr("FileList"),hx=e=>Zl(e)&&Sn(e.pipe),_x=e=>{let t;return e&&(typeof FormData=="function"&&e instanceof FormData||Sn(e.append)&&((t=Gl(e))==="formdata"||t==="object"&&Sn(e.toString)&&e.toString()==="[object FormData]"))},gx=lr("URLSearchParams"),yx=e=>e.trim?e.trim():e.replace(/^[\s\uFEFF\xA0]+|[\s\uFEFF\xA0]+$/g,"");function Oa(e,t,{allOwnKeys:n=!1}={}){if(e===null||typeof e>"u")return;let r,o;if(typeof e!="object"&&(e=[e]),ms(e))for(r=0,o=e.length;r<o;r++)t.call(null,e[r],r,e);else{const s=n?Object.getOwnPropertyNames(e):Object.keys(e),a=s.length;let i;for(r=0;r<a;r++)i=s[r],t.call(null,e[i],i,e)}}function sy(e,t){t=t.toLowerCase();const n=Object.keys(e);let r=n.length,o;for(;r-- >0;)if(o=n[r],t===o.toLowerCase())return o;return null}const ay=(()=>typeof globalThis<"u"?globalThis:typeof self<"u"?self:typeof window<"u"?window:global)(),iy=e=>!va(e)&&e!==ay;function Tc(){const{caseless:e}=iy(this)&&this||{},t={},n=(r,o)=>{const s=e&&sy(t,o)||o;Ui(t[s])&&Ui(r)?t[s]=Tc(t[s],r):Ui(r)?t[s]=Tc({},r):ms(r)?t[s]=r.slice():t[s]=r};for(let r=0,o=arguments.length;r<o;r++)arguments[r]&&Oa(arguments[r],n);return t}const vx=(e,t,n,{allOwnKeys:r}={})=>(Oa(t,(o,s)=>{n&&Sn(o)?e[s]=ny(o,n):e[s]=o},{allOwnKeys:r}),e),bx=e=>(e.charCodeAt(0)===65279&&(e=e.slice(1)),e),zx=(e,t,n,r)=>{e.prototype=Object.create(t.prototype,r),e.prototype.constructor=e,Object.defineProperty(e,"super",{value:t.prototype}),n&&Object.assign(e.prototype,n)},Cx=(e,t,n,r)=>{let o,s,a;const i={};if(t=t||{},e==null)return t;do{for(o=Object.getOwnPropertyNames(e),s=o.length;s-- >0;)a=o[s],(!r||r(a,e,t))&&!i[a]&&(t[a]=e[a],i[a]=!0);e=n!==!1&&Kd(e)}while(e&&(!n||n(e,t))&&e!==Object.prototype);return t},wx=(e,t,n)=>{e=String(e),(n===void 0||n>e.length)&&(n=e.length),n-=t.length;const r=e.indexOf(t,n);return r!==-1&&r===n},kx=e=>{if(!e)return null;if(ms(e))return e;let t=e.length;if(!oy(t))return null;const n=new Array(t);for(;t-- >0;)n[t]=e[t];return n},xx=(e=>t=>e&&t instanceof e)(typeof Uint8Array<"u"&&Kd(Uint8Array)),Ex=(e,t)=>{const r=(e&&e[Symbol.iterator]).call(e);let o;for(;(o=r.next())&&!o.done;){const s=o.value;t.call(e,s[0],s[1])}},Sx=(e,t)=>{let n;const r=[];for(;(n=e.exec(t))!==null;)r.push(n);return r},$x=lr("HTMLFormElement"),Ax=e=>e.toLowerCase().replace(/[-_\s]([a-z\d])(\w*)/g,function(n,r,o){return r.toUpperCase()+o}),sp=(({hasOwnProperty:e})=>(t,n)=>e.call(t,n))(Object.prototype),Tx=lr("RegExp"),ly=(e,t)=>{const n=Object.getOwnPropertyDescriptors(e),r={};Oa(n,(o,s)=>{t(o,s,e)!==!1&&(r[s]=o)}),Object.defineProperties(e,r)},Ox=e=>{ly(e,(t,n)=>{if(Sn(e)&&["arguments","caller","callee"].indexOf(n)!==-1)return!1;const r=e[n];if(Sn(r)){if(t.enumerable=!1,"writable"in t){t.writable=!1;return}t.set||(t.set=()=>{throw Error("Can not rewrite read-only method '"+n+"'")})}})},Dx=(e,t)=>{const n={},r=o=>{o.forEach(s=>{n[s]=!0})};return ms(e)?r(e):r(String(e).split(t)),n},Px=()=>{},Ix=(e,t)=>(e=+e,Number.isFinite(e)?e:t),wu="abcdefghijklmnopqrstuvwxyz",ap="0123456789",uy={DIGIT:ap,ALPHA:wu,ALPHA_DIGIT:wu+wu.toUpperCase()+ap},Fx=(e=16,t=uy.ALPHA_DIGIT)=>{let n="";const{length:r}=t;for(;e--;)n+=t[Math.random()*r|0];return n};function Rx(e){return!!(e&&Sn(e.append)&&e[Symbol.toStringTag]==="FormData"&&e[Symbol.iterator])}const Lx=e=>{const t=new Array(10),n=(r,o)=>{if(Zl(r)){if(t.indexOf(r)>=0)return;if(!("toJSON"in r)){t[o]=r;const s=ms(r)?[]:{};return Oa(r,(a,i)=>{const l=n(a,o+1);!va(l)&&(s[i]=l)}),t[o]=void 0,s}}return r};return n(e,0)},Mx=lr("AsyncFunction"),Nx=e=>e&&(Zl(e)||Sn(e))&&Sn(e.then)&&Sn(e.catch),Q={isArray:ms,isArrayBuffer:ry,isBuffer:ix,isFormData:_x,isArrayBufferView:lx,isString:ux,isNumber:oy,isBoolean:cx,isObject:Zl,isPlainObject:Ui,isUndefined:va,isDate:dx,isFile:mx,isBlob:fx,isRegExp:Tx,isFunction:Sn,isStream:hx,isURLSearchParams:gx,isTypedArray:xx,isFileList:px,forEach:Oa,merge:Tc,extend:vx,trim:yx,stripBOM:bx,inherits:zx,toFlatObject:Cx,kindOf:Gl,kindOfTest:lr,endsWith:wx,toArray:kx,forEachEntry:Ex,matchAll:Sx,isHTMLForm:$x,hasOwnProperty:sp,hasOwnProp:sp,reduceDescriptors:ly,freezeMethods:Ox,toObjectSet:Dx,toCamelCase:Ax,noop:Px,toFiniteNumber:Ix,findKey:sy,global:ay,isContextDefined:iy,ALPHABET:uy,generateString:Fx,isSpecCompliantForm:Rx,toJSONObject:Lx,isAsyncFn:Mx,isThenable:Nx};function ot(e,t,n,r,o){Error.call(this),Error.captureStackTrace?Error.captureStackTrace(this,this.constructor):this.stack=new Error().stack,this.message=e,this.name="AxiosError",t&&(this.code=t),n&&(this.config=n),r&&(this.request=r),o&&(this.response=o)}Q.inherits(ot,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:Q.toJSONObject(this.config),code:this.code,status:this.response&&this.response.status?this.response.status:null}}});const cy=ot.prototype,dy={};["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","ERR_NOT_SUPPORT","ERR_INVALID_URL"].forEach(e=>{dy[e]={value:e}});Object.defineProperties(ot,dy);Object.defineProperty(cy,"isAxiosError",{value:!0});ot.from=(e,t,n,r,o,s)=>{const a=Object.create(cy);return Q.toFlatObject(e,a,function(l){return l!==Error.prototype},i=>i!=="isAxiosError"),ot.call(a,e.message,t,n,r,o),a.cause=e,a.name=e.name,s&&Object.assign(a,s),a};const Bx=null;function Oc(e){return Q.isPlainObject(e)||Q.isArray(e)}function my(e){return Q.endsWith(e,"[]")?e.slice(0,-2):e}function ip(e,t,n){return e?e.concat(t).map(function(o,s){return o=my(o),!n&&s?"["+o+"]":o}).join(n?".":""):t}function Vx(e){return Q.isArray(e)&&!e.some(Oc)}const Hx=Q.toFlatObject(Q,{},null,function(t){return/^is[A-Z]/.test(t)});function Yl(e,t,n){if(!Q.isObject(e))throw new TypeError("target must be an object");t=t||new FormData,n=Q.toFlatObject(n,{metaTokens:!0,dots:!1,indexes:!1},!1,function(_,z){return!Q.isUndefined(z[_])});const r=n.metaTokens,o=n.visitor||d,s=n.dots,a=n.indexes,l=(n.Blob||typeof Blob<"u"&&Blob)&&Q.isSpecCompliantForm(t);if(!Q.isFunction(o))throw new TypeError("visitor must be a function");function c(h){if(h===null)return"";if(Q.isDate(h))return h.toISOString();if(!l&&Q.isBlob(h))throw new ot("Blob is not supported. Use a Buffer instead.");return Q.isArrayBuffer(h)||Q.isTypedArray(h)?l&&typeof Blob=="function"?new Blob([h]):Buffer.from(h):h}function d(h,_,z){let b=h;if(h&&!z&&typeof h=="object"){if(Q.endsWith(_,"{}"))_=r?_:_.slice(0,-2),h=JSON.stringify(h);else if(Q.isArray(h)&&Vx(h)||(Q.isFileList(h)||Q.endsWith(_,"[]"))&&(b=Q.toArray(h)))return _=my(_),b.forEach(function(k,C){!(Q.isUndefined(k)||k===null)&&t.append(a===!0?ip([_],C,s):a===null?_:_+"[]",c(k))}),!1}return Oc(h)?!0:(t.append(ip(z,_,s),c(h)),!1)}const f=[],m=Object.assign(Hx,{defaultVisitor:d,convertValue:c,isVisitable:Oc});function p(h,_){if(!Q.isUndefined(h)){if(f.indexOf(h)!==-1)throw Error("Circular reference detected in "+_.join("."));f.push(h),Q.forEach(h,function(b,v){(!(Q.isUndefined(b)||b===null)&&o.call(t,b,Q.isString(v)?v.trim():v,_,m))===!0&&p(b,_?_.concat(v):[v])}),f.pop()}}if(!Q.isObject(e))throw new TypeError("data must be an object");return p(e),t}function lp(e){const t={"!":"%21","'":"%27","(":"%28",")":"%29","~":"%7E","%20":"+","%00":"\0"};return encodeURIComponent(e).replace(/[!'()~]|%20|%00/g,function(r){return t[r]})}function Zd(e,t){this._pairs=[],e&&Yl(e,this,t)}const fy=Zd.prototype;fy.append=function(t,n){this._pairs.push([t,n])};fy.toString=function(t){const n=t?function(r){return t.call(this,r,lp)}:lp;return this._pairs.map(function(o){return n(o[0])+"="+n(o[1])},"").join("&")};function jx(e){return encodeURIComponent(e).replace(/%3A/gi,":").replace(/%24/g,"$").replace(/%2C/gi,",").replace(/%20/g,"+").replace(/%5B/gi,"[").replace(/%5D/gi,"]")}function py(e,t,n){if(!t)return e;const r=n&&n.encode||jx,o=n&&n.serialize;let s;if(o?s=o(t,n):s=Q.isURLSearchParams(t)?t.toString():new Zd(t,n).toString(r),s){const a=e.indexOf("#");a!==-1&&(e=e.slice(0,a)),e+=(e.indexOf("?")===-1?"?":"&")+s}return e}class Ux{constructor(){this.handlers=[]}use(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}eject(t){this.handlers[t]&&(this.handlers[t]=null)}clear(){this.handlers&&(this.handlers=[])}forEach(t){Q.forEach(this.handlers,function(r){r!==null&&t(r)})}}const up=Ux,hy={silentJSONParsing:!0,forcedJSONParsing:!0,clarifyTimeoutError:!1},qx=typeof URLSearchParams<"u"?URLSearchParams:Zd,Wx=typeof FormData<"u"?FormData:null,Gx=typeof Blob<"u"?Blob:null,Kx=(()=>{let e;return typeof navigator<"u"&&((e=navigator.product)==="ReactNative"||e==="NativeScript"||e==="NS")?!1:typeof window<"u"&&typeof document<"u"})(),Zx=(()=>typeof WorkerGlobalScope<"u"&&self instanceof WorkerGlobalScope&&typeof self.importScripts=="function")(),tr={isBrowser:!0,classes:{URLSearchParams:qx,FormData:Wx,Blob:Gx},isStandardBrowserEnv:Kx,isStandardBrowserWebWorkerEnv:Zx,protocols:["http","https","file","blob","url","data"]};function Yx(e,t){return Yl(e,new tr.classes.URLSearchParams,Object.assign({visitor:function(n,r,o,s){return tr.isNode&&Q.isBuffer(n)?(this.append(r,n.toString("base64")),!1):s.defaultVisitor.apply(this,arguments)}},t))}function Jx(e){return Q.matchAll(/\w+|\[(\w*)]/g,e).map(t=>t[0]==="[]"?"":t[1]||t[0])}function Xx(e){const t={},n=Object.keys(e);let r;const o=n.length;let s;for(r=0;r<o;r++)s=n[r],t[s]=e[s];return t}function _y(e){function t(n,r,o,s){let a=n[s++];const i=Number.isFinite(+a),l=s>=n.length;return a=!a&&Q.isArray(o)?o.length:a,l?(Q.hasOwnProp(o,a)?o[a]=[o[a],r]:o[a]=r,!i):((!o[a]||!Q.isObject(o[a]))&&(o[a]=[]),t(n,r,o[a],s)&&Q.isArray(o[a])&&(o[a]=Xx(o[a])),!i)}if(Q.isFormData(e)&&Q.isFunction(e.entries)){const n={};return Q.forEachEntry(e,(r,o)=>{t(Jx(r),o,n,0)}),n}return null}const Qx={"Content-Type":void 0};function e2(e,t,n){if(Q.isString(e))try{return(t||JSON.parse)(e),Q.trim(e)}catch(r){if(r.name!=="SyntaxError")throw r}return(n||JSON.stringify)(e)}const Jl={transitional:hy,adapter:["xhr","http"],transformRequest:[function(t,n){const r=n.getContentType()||"",o=r.indexOf("application/json")>-1,s=Q.isObject(t);if(s&&Q.isHTMLForm(t)&&(t=new FormData(t)),Q.isFormData(t))return o&&o?JSON.stringify(_y(t)):t;if(Q.isArrayBuffer(t)||Q.isBuffer(t)||Q.isStream(t)||Q.isFile(t)||Q.isBlob(t))return t;if(Q.isArrayBufferView(t))return t.buffer;if(Q.isURLSearchParams(t))return n.setContentType("application/x-www-form-urlencoded;charset=utf-8",!1),t.toString();let i;if(s){if(r.indexOf("application/x-www-form-urlencoded")>-1)return Yx(t,this.formSerializer).toString();if((i=Q.isFileList(t))||r.indexOf("multipart/form-data")>-1){const l=this.env&&this.env.FormData;return Yl(i?{"files[]":t}:t,l&&new l,this.formSerializer)}}return s||o?(n.setContentType("application/json",!1),e2(t)):t}],transformResponse:[function(t){const n=this.transitional||Jl.transitional,r=n&&n.forcedJSONParsing,o=this.responseType==="json";if(t&&Q.isString(t)&&(r&&!this.responseType||o)){const a=!(n&&n.silentJSONParsing)&&o;try{return JSON.parse(t)}catch(i){if(a)throw i.name==="SyntaxError"?ot.from(i,ot.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:tr.classes.FormData,Blob:tr.classes.Blob},validateStatus:function(t){return t>=200&&t<300},headers:{common:{Accept:"application/json, text/plain, */*"}}};Q.forEach(["delete","get","head"],function(t){Jl.headers[t]={}});Q.forEach(["post","put","patch"],function(t){Jl.headers[t]=Q.merge(Qx)});const Yd=Jl,t2=Q.toObjectSet(["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"]),n2=e=>{const t={};let n,r,o;return e&&e.split(`
`).forEach(function(a){o=a.indexOf(":"),n=a.substring(0,o).trim().toLowerCase(),r=a.substring(o+1).trim(),!(!n||t[n]&&t2[n])&&(n==="set-cookie"?t[n]?t[n].push(r):t[n]=[r]:t[n]=t[n]?t[n]+", "+r:r)}),t},cp=Symbol("internals");function ws(e){return e&&String(e).trim().toLowerCase()}function qi(e){return e===!1||e==null?e:Q.isArray(e)?e.map(qi):String(e)}function r2(e){const t=Object.create(null),n=/([^\s,;=]+)\s*(?:=\s*([^,;]+))?/g;let r;for(;r=n.exec(e);)t[r[1]]=r[2];return t}const o2=e=>/^[-_a-zA-Z0-9^`|~,!#$%&'*+.]+$/.test(e.trim());function ku(e,t,n,r,o){if(Q.isFunction(r))return r.call(this,t,n);if(o&&(t=n),!!Q.isString(t)){if(Q.isString(r))return t.indexOf(r)!==-1;if(Q.isRegExp(r))return r.test(t)}}function s2(e){return e.trim().toLowerCase().replace(/([a-z\d])(\w*)/g,(t,n,r)=>n.toUpperCase()+r)}function a2(e,t){const n=Q.toCamelCase(" "+t);["get","set","has"].forEach(r=>{Object.defineProperty(e,r+n,{value:function(o,s,a){return this[r].call(this,t,o,s,a)},configurable:!0})})}class Xl{constructor(t){t&&this.set(t)}set(t,n,r){const o=this;function s(i,l,c){const d=ws(l);if(!d)throw new Error("header name must be a non-empty string");const f=Q.findKey(o,d);(!f||o[f]===void 0||c===!0||c===void 0&&o[f]!==!1)&&(o[f||l]=qi(i))}const a=(i,l)=>Q.forEach(i,(c,d)=>s(c,d,l));return Q.isPlainObject(t)||t instanceof this.constructor?a(t,n):Q.isString(t)&&(t=t.trim())&&!o2(t)?a(n2(t),n):t!=null&&s(n,t,r),this}get(t,n){if(t=ws(t),t){const r=Q.findKey(this,t);if(r){const o=this[r];if(!n)return o;if(n===!0)return r2(o);if(Q.isFunction(n))return n.call(this,o,r);if(Q.isRegExp(n))return n.exec(o);throw new TypeError("parser must be boolean|regexp|function")}}}has(t,n){if(t=ws(t),t){const r=Q.findKey(this,t);return!!(r&&this[r]!==void 0&&(!n||ku(this,this[r],r,n)))}return!1}delete(t,n){const r=this;let o=!1;function s(a){if(a=ws(a),a){const i=Q.findKey(r,a);i&&(!n||ku(r,r[i],i,n))&&(delete r[i],o=!0)}}return Q.isArray(t)?t.forEach(s):s(t),o}clear(t){const n=Object.keys(this);let r=n.length,o=!1;for(;r--;){const s=n[r];(!t||ku(this,this[s],s,t,!0))&&(delete this[s],o=!0)}return o}normalize(t){const n=this,r={};return Q.forEach(this,(o,s)=>{const a=Q.findKey(r,s);if(a){n[a]=qi(o),delete n[s];return}const i=t?s2(s):String(s).trim();i!==s&&delete n[s],n[i]=qi(o),r[i]=!0}),this}concat(...t){return this.constructor.concat(this,...t)}toJSON(t){const n=Object.create(null);return Q.forEach(this,(r,o)=>{r!=null&&r!==!1&&(n[o]=t&&Q.isArray(r)?r.join(", "):r)}),n}[Symbol.iterator](){return Object.entries(this.toJSON())[Symbol.iterator]()}toString(){return Object.entries(this.toJSON()).map(([t,n])=>t+": "+n).join(`
`)}get[Symbol.toStringTag](){return"AxiosHeaders"}static from(t){return t instanceof this?t:new this(t)}static concat(t,...n){const r=new this(t);return n.forEach(o=>r.set(o)),r}static accessor(t){const r=(this[cp]=this[cp]={accessors:{}}).accessors,o=this.prototype;function s(a){const i=ws(a);r[i]||(a2(o,a),r[i]=!0)}return Q.isArray(t)?t.forEach(s):s(t),this}}Xl.accessor(["Content-Type","Content-Length","Accept","Accept-Encoding","User-Agent","Authorization"]);Q.freezeMethods(Xl.prototype);Q.freezeMethods(Xl);const yr=Xl;function xu(e,t){const n=this||Yd,r=t||n,o=yr.from(r.headers);let s=r.data;return Q.forEach(e,function(i){s=i.call(n,s,o.normalize(),t?t.status:void 0)}),o.normalize(),s}function gy(e){return!!(e&&e.__CANCEL__)}function Da(e,t,n){ot.call(this,e??"canceled",ot.ERR_CANCELED,t,n),this.name="CanceledError"}Q.inherits(Da,ot,{__CANCEL__:!0});function i2(e,t,n){const r=n.config.validateStatus;!n.status||!r||r(n.status)?e(n):t(new ot("Request failed with status code "+n.status,[ot.ERR_BAD_REQUEST,ot.ERR_BAD_RESPONSE][Math.floor(n.status/100)-4],n.config,n.request,n))}const l2=tr.isStandardBrowserEnv?function(){return{write:function(n,r,o,s,a,i){const l=[];l.push(n+"="+encodeURIComponent(r)),Q.isNumber(o)&&l.push("expires="+new Date(o).toGMTString()),Q.isString(s)&&l.push("path="+s),Q.isString(a)&&l.push("domain="+a),i===!0&&l.push("secure"),document.cookie=l.join("; ")},read:function(n){const 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(){}}}();function u2(e){return/^([a-z][a-z\d+\-.]*:)?\/\//i.test(e)}function c2(e,t){return t?e.replace(/\/+$/,"")+"/"+t.replace(/^\/+/,""):e}function yy(e,t){return e&&!u2(t)?c2(e,t):t}const d2=tr.isStandardBrowserEnv?function(){const t=/(msie|trident)/i.test(navigator.userAgent),n=document.createElement("a");let r;function o(s){let a=s;return t&&(n.setAttribute("href",a),a=n.href),n.setAttribute("href",a),{href:n.href,protocol:n.protocol?n.protocol.replace(/:$/,""):"",host:n.host,search:n.search?n.search.replace(/^\?/,""):"",hash:n.hash?n.hash.replace(/^#/,""):"",hostname:n.hostname,port:n.port,pathname:n.pathname.charAt(0)==="/"?n.pathname:"/"+n.pathname}}return r=o(window.location.href),function(a){const i=Q.isString(a)?o(a):a;return i.protocol===r.protocol&&i.host===r.host}}():function(){return function(){return!0}}();function m2(e){const t=/^([-+\w]{1,25})(:?\/\/|:)/.exec(e);return t&&t[1]||""}function f2(e,t){e=e||10;const n=new Array(e),r=new Array(e);let o=0,s=0,a;return t=t!==void 0?t:1e3,function(l){const c=Date.now(),d=r[s];a||(a=c),n[o]=l,r[o]=c;let f=s,m=0;for(;f!==o;)m+=n[f++],f=f%e;if(o=(o+1)%e,o===s&&(s=(s+1)%e),c-a<t)return;const p=d&&c-d;return p?Math.round(m*1e3/p):void 0}}function dp(e,t){let n=0;const r=f2(50,250);return o=>{const s=o.loaded,a=o.lengthComputable?o.total:void 0,i=s-n,l=r(i),c=s<=a;n=s;const d={loaded:s,total:a,progress:a?s/a:void 0,bytes:i,rate:l||void 0,estimated:l&&a&&c?(a-s)/l:void 0,event:o};d[t?"download":"upload"]=!0,e(d)}}const p2=typeof XMLHttpRequest<"u",h2=p2&&function(e){return new Promise(function(n,r){let o=e.data;const s=yr.from(e.headers).normalize(),a=e.responseType;let i;function l(){e.cancelToken&&e.cancelToken.unsubscribe(i),e.signal&&e.signal.removeEventListener("abort",i)}Q.isFormData(o)&&(tr.isStandardBrowserEnv||tr.isStandardBrowserWebWorkerEnv?s.setContentType(!1):s.setContentType("multipart/form-data;",!1));let c=new XMLHttpRequest;if(e.auth){const p=e.auth.username||"",h=e.auth.password?unescape(encodeURIComponent(e.auth.password)):"";s.set("Authorization","Basic "+btoa(p+":"+h))}const d=yy(e.baseURL,e.url);c.open(e.method.toUpperCase(),py(d,e.params,e.paramsSerializer),!0),c.timeout=e.timeout;function f(){if(!c)return;const p=yr.from("getAllResponseHeaders"in c&&c.getAllResponseHeaders()),_={data:!a||a==="text"||a==="json"?c.responseText:c.response,status:c.status,statusText:c.statusText,headers:p,config:e,request:c};i2(function(b){n(b),l()},function(b){r(b),l()},_),c=null}if("onloadend"in c?c.onloadend=f:c.onreadystatechange=function(){!c||c.readyState!==4||c.status===0&&!(c.responseURL&&c.responseURL.indexOf("file:")===0)||setTimeout(f)},c.onabort=function(){c&&(r(new ot("Request aborted",ot.ECONNABORTED,e,c)),c=null)},c.onerror=function(){r(new ot("Network Error",ot.ERR_NETWORK,e,c)),c=null},c.ontimeout=function(){let h=e.timeout?"timeout of "+e.timeout+"ms exceeded":"timeout exceeded";const _=e.transitional||hy;e.timeoutErrorMessage&&(h=e.timeoutErrorMessage),r(new ot(h,_.clarifyTimeoutError?ot.ETIMEDOUT:ot.ECONNABORTED,e,c)),c=null},tr.isStandardBrowserEnv){const p=(e.withCredentials||d2(d))&&e.xsrfCookieName&&l2.read(e.xsrfCookieName);p&&s.set(e.xsrfHeaderName,p)}o===void 0&&s.setContentType(null),"setRequestHeader"in c&&Q.forEach(s.toJSON(),function(h,_){c.setRequestHeader(_,h)}),Q.isUndefined(e.withCredentials)||(c.withCredentials=!!e.withCredentials),a&&a!=="json"&&(c.responseType=e.responseType),typeof e.onDownloadProgress=="function"&&c.addEventListener("progress",dp(e.onDownloadProgress,!0)),typeof e.onUploadProgress=="function"&&c.upload&&c.upload.addEventListener("progress",dp(e.onUploadProgress)),(e.cancelToken||e.signal)&&(i=p=>{c&&(r(!p||p.type?new Da(null,e,c):p),c.abort(),c=null)},e.cancelToken&&e.cancelToken.subscribe(i),e.signal&&(e.signal.aborted?i():e.signal.addEventListener("abort",i)));const m=m2(d);if(m&&tr.protocols.indexOf(m)===-1){r(new ot("Unsupported protocol "+m+":",ot.ERR_BAD_REQUEST,e));return}c.send(o||null)})},Wi={http:Bx,xhr:h2};Q.forEach(Wi,(e,t)=>{if(e){try{Object.defineProperty(e,"name",{value:t})}catch{}Object.defineProperty(e,"adapterName",{value:t})}});const _2={getAdapter:e=>{e=Q.isArray(e)?e:[e];const{length:t}=e;let n,r;for(let o=0;o<t&&(n=e[o],!(r=Q.isString(n)?Wi[n.toLowerCase()]:n));o++);if(!r)throw r===!1?new ot(`Adapter ${n} is not supported by the environment`,"ERR_NOT_SUPPORT"):new Error(Q.hasOwnProp(Wi,n)?`Adapter '${n}' is not available in the build`:`Unknown adapter '${n}'`);if(!Q.isFunction(r))throw new TypeError("adapter is not a function");return r},adapters:Wi};function Eu(e){if(e.cancelToken&&e.cancelToken.throwIfRequested(),e.signal&&e.signal.aborted)throw new Da(null,e)}function mp(e){return Eu(e),e.headers=yr.from(e.headers),e.data=xu.call(e,e.transformRequest),["post","put","patch"].indexOf(e.method)!==-1&&e.headers.setContentType("application/x-www-form-urlencoded",!1),_2.getAdapter(e.adapter||Yd.adapter)(e).then(function(r){return Eu(e),r.data=xu.call(e,e.transformResponse,r),r.headers=yr.from(r.headers),r},function(r){return gy(r)||(Eu(e),r&&r.response&&(r.response.data=xu.call(e,e.transformResponse,r.response),r.response.headers=yr.from(r.response.headers))),Promise.reject(r)})}const fp=e=>e instanceof yr?e.toJSON():e;function ns(e,t){t=t||{};const n={};function r(c,d,f){return Q.isPlainObject(c)&&Q.isPlainObject(d)?Q.merge.call({caseless:f},c,d):Q.isPlainObject(d)?Q.merge({},d):Q.isArray(d)?d.slice():d}function o(c,d,f){if(Q.isUndefined(d)){if(!Q.isUndefined(c))return r(void 0,c,f)}else return r(c,d,f)}function s(c,d){if(!Q.isUndefined(d))return r(void 0,d)}function a(c,d){if(Q.isUndefined(d)){if(!Q.isUndefined(c))return r(void 0,c)}else return r(void 0,d)}function i(c,d,f){if(f in t)return r(c,d);if(f in e)return r(void 0,c)}const l={url:s,method:s,data:s,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:i,headers:(c,d)=>o(fp(c),fp(d),!0)};return Q.forEach(Object.keys(Object.assign({},e,t)),function(d){const f=l[d]||o,m=f(e[d],t[d],d);Q.isUndefined(m)&&f!==i||(n[d]=m)}),n}const vy="1.4.0",Jd={};["object","boolean","number","function","string","symbol"].forEach((e,t)=>{Jd[e]=function(r){return typeof r===e||"a"+(t<1?"n ":" ")+e}});const pp={};Jd.transitional=function(t,n,r){function o(s,a){return"[Axios v"+vy+"] Transitional option '"+s+"'"+a+(r?". "+r:"")}return(s,a,i)=>{if(t===!1)throw new ot(o(a," has been removed"+(n?" in "+n:"")),ot.ERR_DEPRECATED);return n&&!pp[a]&&(pp[a]=!0,console.warn(o(a," has been deprecated since v"+n+" and will be removed in the near future"))),t?t(s,a,i):!0}};function g2(e,t,n){if(typeof e!="object")throw new ot("options must be an object",ot.ERR_BAD_OPTION_VALUE);const r=Object.keys(e);let o=r.length;for(;o-- >0;){const s=r[o],a=t[s];if(a){const i=e[s],l=i===void 0||a(i,s,e);if(l!==!0)throw new ot("option "+s+" must be "+l,ot.ERR_BAD_OPTION_VALUE);continue}if(n!==!0)throw new ot("Unknown option "+s,ot.ERR_BAD_OPTION)}}const Dc={assertOptions:g2,validators:Jd},Ar=Dc.validators;class dl{constructor(t){this.defaults=t,this.interceptors={request:new up,response:new up}}request(t,n){typeof t=="string"?(n=n||{},n.url=t):n=t||{},n=ns(this.defaults,n);const{transitional:r,paramsSerializer:o,headers:s}=n;r!==void 0&&Dc.assertOptions(r,{silentJSONParsing:Ar.transitional(Ar.boolean),forcedJSONParsing:Ar.transitional(Ar.boolean),clarifyTimeoutError:Ar.transitional(Ar.boolean)},!1),o!=null&&(Q.isFunction(o)?n.paramsSerializer={serialize:o}:Dc.assertOptions(o,{encode:Ar.function,serialize:Ar.function},!0)),n.method=(n.method||this.defaults.method||"get").toLowerCase();let a;a=s&&Q.merge(s.common,s[n.method]),a&&Q.forEach(["delete","get","head","post","put","patch","common"],h=>{delete s[h]}),n.headers=yr.concat(a,s);const i=[];let l=!0;this.interceptors.request.forEach(function(_){typeof _.runWhen=="function"&&_.runWhen(n)===!1||(l=l&&_.synchronous,i.unshift(_.fulfilled,_.rejected))});const c=[];this.interceptors.response.forEach(function(_){c.push(_.fulfilled,_.rejected)});let d,f=0,m;if(!l){const h=[mp.bind(this),void 0];for(h.unshift.apply(h,i),h.push.apply(h,c),m=h.length,d=Promise.resolve(n);f<m;)d=d.then(h[f++],h[f++]);return d}m=i.length;let p=n;for(f=0;f<m;){const h=i[f++],_=i[f++];try{p=h(p)}catch(z){_.call(this,z);break}}try{d=mp.call(this,p)}catch(h){return Promise.reject(h)}for(f=0,m=c.length;f<m;)d=d.then(c[f++],c[f++]);return d}getUri(t){t=ns(this.defaults,t);const n=yy(t.baseURL,t.url);return py(n,t.params,t.paramsSerializer)}}Q.forEach(["delete","get","head","options"],function(t){dl.prototype[t]=function(n,r){return this.request(ns(r||{},{method:t,url:n,data:(r||{}).data}))}});Q.forEach(["post","put","patch"],function(t){function n(r){return function(s,a,i){return this.request(ns(i||{},{method:t,headers:r?{"Content-Type":"multipart/form-data"}:{},url:s,data:a}))}}dl.prototype[t]=n(),dl.prototype[t+"Form"]=n(!0)});const Gi=dl;class Xd{constructor(t){if(typeof t!="function")throw new TypeError("executor must be a function.");let n;this.promise=new Promise(function(s){n=s});const r=this;this.promise.then(o=>{if(!r._listeners)return;let s=r._listeners.length;for(;s-- >0;)r._listeners[s](o);r._listeners=null}),this.promise.then=o=>{let s;const a=new Promise(i=>{r.subscribe(i),s=i}).then(o);return a.cancel=function(){r.unsubscribe(s)},a},t(function(s,a,i){r.reason||(r.reason=new Da(s,a,i),n(r.reason))})}throwIfRequested(){if(this.reason)throw this.reason}subscribe(t){if(this.reason){t(this.reason);return}this._listeners?this._listeners.push(t):this._listeners=[t]}unsubscribe(t){if(!this._listeners)return;const n=this._listeners.indexOf(t);n!==-1&&this._listeners.splice(n,1)}static source(){let t;return{token:new Xd(function(o){t=o}),cancel:t}}}const y2=Xd;function v2(e){return function(n){return e.apply(null,n)}}function b2(e){return Q.isObject(e)&&e.isAxiosError===!0}const Pc={Continue:100,SwitchingProtocols:101,Processing:102,EarlyHints:103,Ok:200,Created:201,Accepted:202,NonAuthoritativeInformation:203,NoContent:204,ResetContent:205,PartialContent:206,MultiStatus:207,AlreadyReported:208,ImUsed:226,MultipleChoices:300,MovedPermanently:301,Found:302,SeeOther:303,NotModified:304,UseProxy:305,Unused:306,TemporaryRedirect:307,PermanentRedirect:308,BadRequest:400,Unauthorized:401,PaymentRequired:402,Forbidden:403,NotFound:404,MethodNotAllowed:405,NotAcceptable:406,ProxyAuthenticationRequired:407,RequestTimeout:408,Conflict:409,Gone:410,LengthRequired:411,PreconditionFailed:412,PayloadTooLarge:413,UriTooLong:414,UnsupportedMediaType:415,RangeNotSatisfiable:416,ExpectationFailed:417,ImATeapot:418,MisdirectedRequest:421,UnprocessableEntity:422,Locked:423,FailedDependency:424,TooEarly:425,UpgradeRequired:426,PreconditionRequired:428,TooManyRequests:429,RequestHeaderFieldsTooLarge:431,UnavailableForLegalReasons:451,InternalServerError:500,NotImplemented:501,BadGateway:502,ServiceUnavailable:503,GatewayTimeout:504,HttpVersionNotSupported:505,VariantAlsoNegotiates:506,InsufficientStorage:507,LoopDetected:508,NotExtended:510,NetworkAuthenticationRequired:511};Object.entries(Pc).forEach(([e,t])=>{Pc[t]=e});const z2=Pc;function by(e){const t=new Gi(e),n=ny(Gi.prototype.request,t);return Q.extend(n,Gi.prototype,t,{allOwnKeys:!0}),Q.extend(n,t,null,{allOwnKeys:!0}),n.create=function(o){return by(ns(e,o))},n}const It=by(Yd);It.Axios=Gi;It.CanceledError=Da;It.CancelToken=y2;It.isCancel=gy;It.VERSION=vy;It.toFormData=Yl;It.AxiosError=ot;It.Cancel=It.CanceledError;It.all=function(t){return Promise.all(t)};It.spread=v2;It.isAxiosError=b2;It.mergeConfig=ns;It.AxiosHeaders=yr;It.formToJSON=e=>_y(Q.isHTMLForm(e)?new FormData(e):e);It.HttpStatusCode=z2;It.default=It;const he=It,{t:Fo}=Hl.global;he.interceptors.response.use(function(e){return e},function(e){return e.request.status&&e.request.responseURL&&Ke.dispatch("add_notification",{text:Fo("server.request-failed",{status:e.request.status,cause:e.request.statusText,url:e.request.responseURL}),type:"danger"}),Promise.reject(e)});const N={config(){return he.get("./api/config")},settings(){return he.get("./api/settings")},settings_update(e,t){return he.put("./api/settings/"+e+"/"+t.name,t)},library_stats(){return he.get("./api/library")},library_update(e){const t={};return e&&(t.scan_kind=e),he.put("./api/update",void 0,{params:t})},library_rescan(e){const t={};return e&&(t.scan_kind=e),he.put("./api/rescan",void 0,{params:t})},library_count(e){return he.get("./api/library/count?expression="+e)},queue(){return he.get("./api/queue")},queue_clear(){return he.put("./api/queue/clear")},queue_remove(e){return he.delete("./api/queue/items/"+e)},queue_move(e,t){return he.put("./api/queue/items/"+e+"?new_position="+t)},queue_add(e){return he.post("./api/queue/items/add?uris="+e).then(t=>(Ke.dispatch("add_notification",{text:Fo("server.appended-tracks",{count:t.data.count}),type:"info",timeout:2e3}),Promise.resolve(t)))},queue_add_next(e){let t=0;return Ke.getters.now_playing&&Ke.getters.now_playing.id&&(t=Ke.getters.now_playing.position+1),he.post("./api/queue/items/add?uris="+e+"&position="+t).then(n=>(Ke.dispatch("add_notification",{text:Fo("server.appended-tracks",{count:n.data.count}),type:"info",timeout:2e3}),Promise.resolve(n)))},queue_expression_add(e){const t={};return t.expression=e,he.post("./api/queue/items/add",void 0,{params:t}).then(n=>(Ke.dispatch("add_notification",{text:Fo("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,Ke.getters.now_playing&&Ke.getters.now_playing.id&&(t.position=Ke.getters.now_playing.position+1),he.post("./api/queue/items/add",void 0,{params:t}).then(n=>(Ke.dispatch("add_notification",{text:Fo("server.appended-tracks",{count:n.data.count}),type:"info",timeout:2e3}),Promise.resolve(n)))},queue_save_playlist(e){return he.post("./api/queue/save",void 0,{params:{name:e}}).then(t=>(Ke.dispatch("add_notification",{text:Fo("server.queue-saved",{name:e}),type:"info",timeout:2e3}),Promise.resolve(t)))},player_status(){return he.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,he.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,he.post("./api/queue/items/add",void 0,{params:r})},player_play(e={}){return he.put("./api/player/play",void 0,{params:e})},player_playpos(e){return he.put("./api/player/play?position="+e)},player_playid(e){return he.put("./api/player/play?item_id="+e)},player_pause(){return he.put("./api/player/pause")},player_stop(){return he.put("./api/player/stop")},player_next(){return he.put("./api/player/next")},player_previous(){return he.put("./api/player/previous")},player_shuffle(e){const t=e?"true":"false";return he.put("./api/player/shuffle?state="+t)},player_consume(e){const t=e?"true":"false";return he.put("./api/player/consume?state="+t)},player_repeat(e){return he.put("./api/player/repeat?state="+e)},player_volume(e){return he.put("./api/player/volume?volume="+e)},player_output_volume(e,t){return he.put("./api/player/volume?volume="+t+"&output_id="+e)},player_seek_to_pos(e){return he.put("./api/player/seek?position_ms="+e)},player_seek(e){return he.put("./api/player/seek?seek_ms="+e)},outputs(){return he.get("./api/outputs")},output_update(e,t){return he.put("./api/outputs/"+e,t)},output_toggle(e){return he.put("./api/outputs/"+e+"/toggle")},library_artists(e=void 0){return he.get("./api/library/artists",{params:{media_kind:e}})},library_artist(e){return he.get("./api/library/artists/"+e)},library_artist_albums(e){return he.get("./api/library/artists/"+e+"/albums")},library_albums(e=void 0){return he.get("./api/library/albums",{params:{media_kind:e}})},library_album(e){return he.get("./api/library/albums/"+e)},library_album_tracks(e,t={limit:-1,offset:0}){return he.get("./api/library/albums/"+e+"/tracks",{params:t})},library_album_track_update(e,t){return he.put("./api/library/albums/"+e+"/tracks",void 0,{params:t})},library_genres(e=void 0){return he.get("./api/library/genres",{params:{media_kind:e}})},library_genre(e){return he.get(`./api/library/genres/${encodeURIComponent(e)}`)},library_genre_albums(e){const t={type:"albums",expression:`genre is "${e}" and media_kind is music`};return he.get("./api/search",{params:t})},library_genre_tracks(e){const t={type:"tracks",expression:`genre is "${e}" and media_kind is music`};return he.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 he.get("./api/search",{params:e})},library_composers(e=void 0){return he.get("./api/library/composers",{params:{media_kind:e}})},library_composer(e){return he.get(`./api/library/composers/${encodeURIComponent(e)}`)},library_composer_albums(e){const t={type:"albums",expression:`composer is "${e}" and media_kind is music`};return he.get("./api/search",{params:t})},library_composer_tracks(e){const t={type:"tracks",expression:`composer is "${e}" and media_kind is music`};return he.get("./api/search",{params:t})},library_artist_tracks(e){if(e){const t={type:"tracks",expression:'songartistid is "'+e+'"'};return he.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 he.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 he.get("./api/search",{params:t})},library_add(e){return he.post("./api/library/add",void 0,{params:{url:e}})},library_playlist_delete(e){return he.delete("./api/library/playlists/"+e,void 0)},library_playlists(){return he.get("./api/library/playlists")},library_playlist_folder(e=0){return he.get("./api/library/playlists/"+e+"/playlists")},library_playlist(e){return he.get("./api/library/playlists/"+e)},library_playlist_tracks(e){return he.get("./api/library/playlists/"+e+"/tracks")},library_track(e){return he.get("./api/library/tracks/"+e)},library_track_playlists(e){return he.get("./api/library/tracks/"+e+"/playlists")},library_track_update(e,t={}){return he.put("./api/library/tracks/"+e,void 0,{params:t})},library_files(e=void 0){const t={directory:e};return he.get("./api/library/files",{params:t})},search(e){return he.get("./api/search",{params:e})},spotify(){return he.get("./api/spotify")},spotify_login(e){return he.post("./api/spotify-login",e)},spotify_logout(){return he.get("./api/spotify-logout")},lastfm(){return he.get("./api/lastfm")},lastfm_login(e){return he.post("./api/lastfm-login",e)},lastfm_logout(e){return he.get("./api/lastfm-logout")},pairing(){return he.get("./api/pairing")},pairing_kickoff(e){return he.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}},C2={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(){N.player_play({item_id:this.item.id})}}},w2={key:0,class:"media is-align-items-center"},k2={key:0,class:"media-left"},x2=["textContent"],E2=["textContent"],S2=["textContent"],$2={class:"media-right"};function A2(e,t,n,r,o,s){const a=S("mdicon");return s.is_next||!n.show_only_next_items?(w(),$("div",w2,[n.edit_mode?(w(),$("div",k2,[y(a,{class:"icon has-text-grey fd-is-movable handle",name:"drag-horizontal",size:"16"})])):H("",!0),u("div",{class:"media-content is-clickable is-clipped",onClick:t[0]||(t[0]=(...i)=>s.play&&s.play(...i))},[u("h1",{class:De(["title is-6",{"has-text-primary":n.item.id===s.state.item_id,"has-text-grey-light":!s.is_next}]),textContent:g(n.item.title)},null,10,x2),u("h2",{class:De(["subtitle is-7",{"has-text-primary":n.item.id===s.state.item_id,"has-text-grey-light":!s.is_next,"has-text-grey":s.is_next&&n.item.id!==s.state.item_id}])},[u("b",{textContent:g(n.item.artist)},null,8,E2)],2),u("h2",{class:De(["subtitle is-7",{"has-text-primary":n.item.id===s.state.item_id,"has-text-grey-light":!s.is_next,"has-text-grey":s.is_next&&n.item.id!==s.state.item_id}]),textContent:g(n.item.album)},null,10,S2)]),u("div",$2,[lt(e.$slots,"actions")])])):H("",!0)}const T2=oe(C2,[["render",A2]]);var Zt=typeof globalThis<"u"?globalThis:typeof window<"u"?window:typeof global<"u"?global:typeof self<"u"?self:{};function fs(e){return e&&e.__esModule&&Object.prototype.hasOwnProperty.call(e,"default")?e.default:e}function zy(e){if(e.__esModule)return e;var t=e.default;if(typeof t=="function"){var n=function r(){if(this instanceof r){var o=[null];o.push.apply(o,arguments);var s=Function.bind.apply(t,o);return new s}return t.apply(this,arguments)};n.prototype=t.prototype}else n={};return Object.defineProperty(n,"__esModule",{value:!0}),Object.keys(e).forEach(function(r){var o=Object.getOwnPropertyDescriptor(e,r);Object.defineProperty(n,r,o.get?o:{enumerable:!0,get:function(){return e[r]}})}),n}var Cy={exports:{}};(function(e){var t=function(){var n="https://api.spotify.com/v1",r=null,o=null,s=function(m,p){return m.abort=p,m},a=function(m,p){var h;if(o!==null){var _=o.defer();m(function(z){_.resolve(z)},function(z){_.reject(z)}),h=_.promise}else window.Promise&&(h=new window.Promise(m));return h?new s(h,p):null},i=function(){var m=Array.prototype.slice.call(arguments),p=m[0],h=m.slice(1);return p=p||{},h.forEach(function(_){for(var z in _)_.hasOwnProperty(z)&&(p[z]=_[z])}),p},l=function(m,p){var h="";for(var _ in p)if(p.hasOwnProperty(_)){var z=p[_];h+=encodeURIComponent(_)+"="+encodeURIComponent(z)+"&"}return h.length>0&&(h=h.substring(0,h.length-1),m=m+"?"+h),m},c=function(m,p){var h=new XMLHttpRequest,_=function(z,b){function v(T){z&&z(T),p&&p(null,T)}function k(){b&&b(h),p&&p(h,null)}var C=m.type||"GET";if(h.open(C,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(L){console.error(L)}h.status>=200&&h.status<300?v(T):k()}},C==="GET")h.send(null);else{var x=null;m.postData&&(m.contentType==="image/jpeg"?(x=m.postData,h.setRequestHeader("Content-Type",m.contentType)):(x=JSON.stringify(m.postData),h.setRequestHeader("Content-Type","application/json"))),h.send(x)}};return p?(_(),null):a(_,function(){h.abort()})},d=function(m,p,h,_){var z={},b=null;typeof p=="object"?(z=p,b=h):typeof p=="function"&&(b=p);var v=m.type||"GET";return v!=="GET"&&m.postData&&!_?m.postData=i(m.postData,z):m.params=i(m.params,z),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 z={url:n+"/playlists/"+m+"/tracks",type:"POST",postData:{uris:p}};return d(z,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,_,z){var b={url:n+"/playlists/"+m+"/tracks",type:"PUT",postData:{range_start:p,insert_before:h}};return d(b,_,z)},f.prototype.removeTracksFromPlaylist=function(m,p,h){var _=p.map(function(b){return typeof b=="string"?{uri:b}:b}),z={url:n+"/playlists/"+m+"/tracks",type:"DELETE",postData:{tracks:_}};return d(z,{},h)},f.prototype.removeTracksFromPlaylistWithSnapshotId=function(m,p,h,_){var z=p.map(function(v){return typeof v=="string"?{uri:v}:v}),b={url:n+"/playlists/"+m+"/tracks",type:"DELETE",postData:{tracks:z,snapshot_id:h}};return d(b,{},_)},f.prototype.removeTracksFromPlaylistInPositions=function(m,p,h,_){var z={url:n+"/playlists/"+m+"/tracks",type:"DELETE",postData:{positions:p,snapshot_id:h}};return d(z,{},_)},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 z={url:n+"/artists/"+m+"/top-tracks",params:{country:p}};return d(z,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 z={url:n+"/search/",params:{q:m,type:p.join(",")}};return d(z,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 z={type:"PUT",url:n+"/me/player",postData:_};return d(z,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(v){v in m&&(_[v]=m[v])});var z={type:"PUT",url:n+"/me/player/play",params:h,postData:_},b=typeof m=="function"?m:{};return d(z,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},z={type:"POST",url:n+"/me/player/queue",params:_};return d(z,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 z={type:"PUT",url:n+"/me/player/seek",params:_};return d(z,p,h)},f.prototype.setRepeat=function(m,p,h){p=p||{};var _={state:m};"device_id"in p&&(_.device_id=p.device_id);var z={type:"PUT",url:n+"/me/player/repeat",params:_};return d(z,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 z={type:"PUT",url:n+"/me/player/volume",params:_};return d(z,p,h)},f.prototype.setShuffle=function(m,p,h){p=p||{};var _={state:m};"device_id"in p&&(_.device_id=p.device_id);var z={type:"PUT",url:n+"/me/player/shuffle",params:_};return d(z,p,h)},f.prototype.getShow=function(m,p,h){var _={};return _.url=n+"/shows/"+m,d(_,p,h)},f.prototype.getShows=function(m,p,h){var _={url:n+"/shows/",params:{ids:m.join(",")}};return d(_,p,h)},f.prototype.getMySavedShows=function(m,p){var h={url:n+"/me/shows"};return d(h,m,p)},f.prototype.addToMySavedShows=function(m,p,h){var _={url:n+"/me/shows",type:"PUT",postData:m};return d(_,p,h)},f.prototype.removeFromMySavedShows=function(m,p,h){var _={url:n+"/me/shows",type:"DELETE",postData:m};return d(_,p,h)},f.prototype.containsMySavedShows=function(m,p,h){var _={url:n+"/me/shows/contains",params:{ids:m.join(",")}};return d(_,p,h)},f.prototype.getShowEpisodes=function(m,p,h){var _={url:n+"/shows/"+m+"/episodes"};return d(_,p,h)},f.prototype.getEpisode=function(m,p,h){var _={};return _.url=n+"/episodes/"+m,d(_,p,h)},f.prototype.getEpisodes=function(m,p,h){var _={url:n+"/episodes/",params:{ids:m.join(",")}};return d(_,p,h)},f.prototype.getAccessToken=function(){return r},f.prototype.setAccessToken=function(m){r=m},f.prototype.setPromiseImplementation=function(m){var p=!1;try{var h=new m(function(_){_()});typeof h.then=="function"&&typeof h.catch=="function"&&(p=!0)}catch(_){console.error(_)}if(p)o=m;else throw new Error("Unsupported implementation of Promises/A+")},f}();e.exports=t})(Cy);var O2=Cy.exports;const qn=fs(O2),D2={name:"ModalDialogQueueItem",props:["show","item"],emits:["close"],data(){return{spotify_track:{}}},watch:{item(){if(this.item&&this.item.data_kind==="spotify"){const e=new qn;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(){this.$emit("close"),N.queue_remove(this.item.id)},play(){this.$emit("close"),N.player_play({item_id:this.item.id})},open_album(){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(){this.$router.push({path:"/music/artists/"+this.item.album_artist_id})},open_genre(){this.$router.push({name:"Genre",params:{genre:this.item.genre}})},open_spotify_artist(){this.$emit("close"),this.$router.push({path:"/music/spotify/artists/"+this.spotify_track.artists[0].id})},open_spotify_album(){this.$emit("close"),this.$router.push({path:"/music/spotify/albums/"+this.spotify_track.album.id})}}},P2={key:0,class:"modal is-active"},I2={class:"modal-content fd-modal-card"},F2={class:"card"},R2={class:"card-content"},L2=["textContent"],M2=["textContent"],N2={class:"content is-small"},B2=["textContent"],V2=["textContent"],H2=["textContent"],j2={key:0},U2=["textContent"],q2=["textContent"],W2=["textContent"],G2={key:1},K2=["textContent"],Z2=["textContent"],Y2={key:2},J2=["textContent"],X2=["textContent"],Q2={key:3},eE=["textContent"],tE=["textContent"],nE=["textContent"],rE=["textContent"],oE=["textContent"],sE=["textContent"],aE=["textContent"],iE=["textContent"],lE=["textContent"],uE={class:"title is-6"},cE=["textContent"],dE={key:0,class:"has-text-weight-normal"},mE=["textContent"],fE=["textContent"],pE=["textContent"],hE={class:"title is-6"},_E=["textContent"],gE=["textContent"],yE=["textContent"],vE=["textContent"],bE={class:"card-footer"},zE=["textContent"],CE=["textContent"];function wE(e,t,n,r,o,s){const a=S("mdicon");return w(),$("div",null,[y(Dt,{name:"fade"},{default:E(()=>[n.show?(w(),$("div",P2,[u("div",{class:"modal-background",onClick:t[0]||(t[0]=i=>e.$emit("close"))}),u("div",I2,[u("div",F2,[u("div",R2,[u("p",{class:"title is-4",textContent:g(n.item.title)},null,8,L2),u("p",{class:"subtitle",textContent:g(n.item.artist)},null,8,M2),u("div",N2,[u("p",null,[u("span",{class:"heading",textContent:g(e.$t("dialog.queue-item.album"))},null,8,B2),n.item.album_id?(w(),$("a",{key:0,class:"title is-6 has-text-link",onClick:t[1]||(t[1]=(...i)=>s.open_album&&s.open_album(...i)),textContent:g(n.item.album)},null,8,V2)):(w(),$("span",{key:1,class:"title is-6",textContent:g(n.item.album)},null,8,H2))]),n.item.album_artist?(w(),$("p",j2,[u("span",{class:"heading",textContent:g(e.$t("dialog.queue-item.album-artist"))},null,8,U2),n.item.album_artist_id?(w(),$("a",{key:0,class:"title is-6 has-text-link",onClick:t[2]||(t[2]=(...i)=>s.open_album_artist&&s.open_album_artist(...i)),textContent:g(n.item.album_artist)},null,8,q2)):(w(),$("span",{key:1,class:"title is-6",textContent:g(n.item.album_artist)},null,8,W2))])):H("",!0),n.item.composer?(w(),$("p",G2,[u("span",{class:"heading",textContent:g(e.$t("dialog.queue-item.composer"))},null,8,K2),u("span",{class:"title is-6",textContent:g(n.item.composer)},null,8,Z2)])):H("",!0),n.item.year>0?(w(),$("p",Y2,[u("span",{class:"heading",textContent:g(e.$t("dialog.queue-item.year"))},null,8,J2),u("span",{class:"title is-6",textContent:g(n.item.year)},null,8,X2)])):H("",!0),n.item.genre?(w(),$("p",Q2,[u("span",{class:"heading",textContent:g(e.$t("dialog.queue-item.genre"))},null,8,eE),u("a",{class:"title is-6 has-text-link",onClick:t[3]||(t[3]=(...i)=>s.open_genre&&s.open_genre(...i)),textContent:g(n.item.genre)},null,8,tE)])):H("",!0),u("p",null,[u("span",{class:"heading",textContent:g(e.$t("dialog.queue-item.position"))},null,8,nE),u("span",{class:"title is-6",textContent:g([n.item.disc_number,n.item.track_number].join(" / "))},null,8,rE)]),u("p",null,[u("span",{class:"heading",textContent:g(e.$t("dialog.queue-item.duration"))},null,8,oE),u("span",{class:"title is-6",textContent:g(e.$filters.durationInHours(n.item.length_ms))},null,8,sE)]),u("p",null,[u("span",{class:"heading",textContent:g(e.$t("dialog.queue-item.path"))},null,8,aE),u("span",{class:"title is-6",textContent:g(n.item.path)},null,8,iE)]),u("p",null,[u("span",{class:"heading",textContent:g(e.$t("dialog.queue-item.type"))},null,8,lE),u("span",uE,[u("span",{textContent:g([e.$t("media.kind."+n.item.media_kind),e.$t("data.kind."+n.item.data_kind)].join(" - "))},null,8,cE),n.item.data_kind==="spotify"?(w(),$("span",dE,[ct(" ("),u("a",{onClick:t[4]||(t[4]=(...i)=>s.open_spotify_artist&&s.open_spotify_artist(...i)),textContent:g(e.$t("dialog.queue-item.spotify-artist"))},null,8,mE),ct(", "),u("a",{onClick:t[5]||(t[5]=(...i)=>s.open_spotify_album&&s.open_spotify_album(...i)),textContent:g(e.$t("dialog.queue-item.spotify-album"))},null,8,fE),ct(") ")])):H("",!0)])]),u("p",null,[u("span",{class:"heading",textContent:g(e.$t("dialog.queue-item.quality"))},null,8,pE),u("span",hE,[u("span",{textContent:g(n.item.type)},null,8,_E),n.item.samplerate?(w(),$("span",{key:0,textContent:g(e.$t("dialog.queue-item.samplerate",{rate:n.item.samplerate}))},null,8,gE)):H("",!0),n.item.channels?(w(),$("span",{key:1,textContent:g(e.$t("dialog.queue-item.channels",{channels:e.$filters.channels(n.item.channels)}))},null,8,yE)):H("",!0),n.item.bitrate?(w(),$("span",{key:2,textContent:g(e.$t("dialog.queue-item.bitrate",{rate:n.item.bitrate}))},null,8,vE)):H("",!0)])])])]),u("footer",bE,[u("a",{class:"card-footer-item has-text-dark",onClick:t[6]||(t[6]=(...i)=>s.remove&&s.remove(...i))},[y(a,{class:"icon",name:"delete",size:"16"}),u("span",{class:"is-size-7",textContent:g(e.$t("dialog.queue-item.remove"))},null,8,zE)]),u("a",{class:"card-footer-item has-text-dark",onClick:t[7]||(t[7]=(...i)=>s.play&&s.play(...i))},[y(a,{class:"icon",name:"play",size:"16"}),u("span",{class:"is-size-7",textContent:g(e.$t("dialog.queue-item.play"))},null,8,CE)])])])]),u("button",{class:"modal-close is-large","aria-label":"close",onClick:t[8]||(t[8]=i=>e.$emit("close"))})])):H("",!0)]),_:1})])}const wy=oe(D2,[["render",wE]]),kE={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(){this.loading=!0,N.queue_add(this.url).then(()=>{this.$emit("close"),this.url=""}).catch(()=>{this.loading=!1})},play(){this.loading=!0,N.player_play_uri(this.url,!1).then(()=>{this.$emit("close"),this.url=""}).catch(()=>{this.loading=!1})}}},xE={key:0,class:"modal is-active"},EE={class:"modal-content fd-modal-card"},SE={class:"card"},$E={class:"card-content"},AE=["textContent"],TE={class:"field"},OE={class:"control is-expanded has-icons-left"},DE=["placeholder","disabled"],PE={key:0,class:"card-footer"},IE={class:"card-footer-item has-text-dark"},FE=["textContent"],RE={key:1,class:"card-footer is-clipped"},LE=["textContent"],ME=["textContent"],NE=["textContent"];function BE(e,t,n,r,o,s){const a=S("mdicon");return w(),$("div",null,[y(Dt,{name:"fade"},{default:E(()=>[n.show?(w(),$("div",xE,[u("div",{class:"modal-background",onClick:t[0]||(t[0]=i=>e.$emit("close"))}),u("div",EE,[u("div",SE,[u("div",$E,[u("p",{class:"title is-4",textContent:g(e.$t("dialog.add.stream.title"))},null,8,AE),u("form",{class:"mb-5",onSubmit:t[2]||(t[2]=st((...i)=>s.play&&s.play(...i),["prevent"]))},[u("div",TE,[u("p",OE,[bt(u("input",{ref:"url_field","onUpdate:modelValue":t[1]||(t[1]=i=>o.url=i),class:"input is-shadowless",type:"text",placeholder:e.$t("dialog.add.stream.placeholder"),disabled:o.loading},null,8,DE),[[sn,o.url]]),y(a,{class:"icon is-left",name:"web",size:"16"})])])],32)]),o.loading?(w(),$("footer",PE,[u("a",IE,[y(a,{class:"icon",name:"web",size:"16"}),u("span",{class:"is-size-7",textContent:g(e.$t("dialog.add.stream.loading"))},null,8,FE)])])):(w(),$("footer",RE,[u("a",{class:"card-footer-item has-text-danger",onClick:t[3]||(t[3]=i=>e.$emit("close"))},[y(a,{class:"icon",name:"cancel",size:"16"}),u("span",{class:"is-size-7",textContent:g(e.$t("dialog.add.stream.cancel"))},null,8,LE)]),u("a",{class:"card-footer-item has-text-dark",onClick:t[4]||(t[4]=(...i)=>s.add_stream&&s.add_stream(...i))},[y(a,{class:"icon",name:"playlist-plus",size:"16"}),u("span",{class:"is-size-7",textContent:g(e.$t("dialog.add.stream.add"))},null,8,ME)]),u("a",{class:"card-footer-item has-background-info has-text-white has-text-weight-bold",onClick:t[5]||(t[5]=(...i)=>s.play&&s.play(...i))},[y(a,{class:"icon",name:"play",size:"16"}),u("span",{class:"is-size-7",textContent:g(e.$t("dialog.add.stream.play"))},null,8,NE)])]))])]),u("button",{class:"modal-close is-large","aria-label":"close",onClick:t[6]||(t[6]=i=>e.$emit("close"))})])):H("",!0)]),_:1})])}const VE=oe(kE,[["render",BE]]),HE={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(){this.playlist_name.length<1||(this.loading=!0,N.queue_save_playlist(this.playlist_name).then(()=>{this.$emit("close"),this.playlist_name=""}).catch(()=>{this.loading=!1}))}}},jE={key:0,class:"modal is-active"},UE={class:"modal-content fd-modal-card"},qE={class:"card"},WE={class:"card-content"},GE=["textContent"],KE={class:"field"},ZE={class:"control is-expanded has-icons-left"},YE=["placeholder","disabled"],JE={key:0,class:"card-footer"},XE={class:"card-footer-item has-text-dark"},QE=["textContent"],eS={key:1,class:"card-footer is-clipped"},tS=["textContent"],nS=["textContent"];function rS(e,t,n,r,o,s){const a=S("mdicon");return w(),$("div",null,[y(Dt,{name:"fade"},{default:E(()=>[n.show?(w(),$("div",jE,[u("div",{class:"modal-background",onClick:t[0]||(t[0]=i=>e.$emit("close"))}),u("div",UE,[u("div",qE,[u("div",WE,[u("p",{class:"title is-4",textContent:g(e.$t("dialog.playlist.save.title"))},null,8,GE),u("form",{class:"mb-5",onSubmit:t[2]||(t[2]=st((...i)=>s.save&&s.save(...i),["prevent"]))},[u("div",KE,[u("p",ZE,[bt(u("input",{ref:"playlist_name_field","onUpdate:modelValue":t[1]||(t[1]=i=>o.playlist_name=i),class:"input is-shadowless",type:"text",placeholder:e.$t("dialog.playlist.save.playlist-name"),disabled:o.loading},null,8,YE),[[sn,o.playlist_name]]),y(a,{class:"icon is-left",name:"file-music",size:"16"})])])],32)]),o.loading?(w(),$("footer",JE,[u("a",XE,[y(a,{class:"icon",name:"web",size:"16"}),u("span",{class:"is-size-7",textContent:g(e.$t("dialog.playlist.save.saving"))},null,8,QE)])])):(w(),$("footer",eS,[u("a",{class:"card-footer-item has-text-danger",onClick:t[3]||(t[3]=i=>e.$emit("close"))},[y(a,{class:"icon",name:"cancel",size:"16"}),u("span",{class:"is-size-7",textContent:g(e.$t("dialog.playlist.save.cancel"))},null,8,tS)]),u("a",{class:"card-footer-item has-background-info has-text-white has-text-weight-bold",onClick:t[4]||(t[4]=(...i)=>s.save&&s.save(...i))},[y(a,{class:"icon",name:"content-save",size:"16"}),u("span",{class:"is-size-7",textContent:g(e.$t("dialog.playlist.save.save"))},null,8,nS)])]))])]),u("button",{class:"modal-close is-large","aria-label":"close",onClick:t[5]||(t[5]=i=>e.$emit("close"))})])):H("",!0)]),_:1})])}const oS=oe(HE,[["render",rS]]);var ky={exports:{}};const xy=zy(tC);/**!
* Sortable 1.14.0
* @author RubaXa <trash@rubaxa.org>
* @author owenm <owen23355@gmail.com>
* @license MIT
*/function hp(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter(function(o){return Object.getOwnPropertyDescriptor(e,o).enumerable})),n.push.apply(n,r)}return n}function ir(e){for(var t=1;t<arguments.length;t++){var n=arguments[t]!=null?arguments[t]:{};t%2?hp(Object(n),!0).forEach(function(r){sS(e,r,n[r])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):hp(Object(n)).forEach(function(r){Object.defineProperty(e,r,Object.getOwnPropertyDescriptor(n,r))})}return e}function Ki(e){"@babel/helpers - typeof";return typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?Ki=function(t){return typeof t}:Ki=function(t){return t&&typeof Symbol=="function"&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t},Ki(e)}function sS(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function An(){return An=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},An.apply(this,arguments)}function aS(e,t){if(e==null)return{};var n={},r=Object.keys(e),o,s;for(s=0;s<r.length;s++)o=r[s],!(t.indexOf(o)>=0)&&(n[o]=e[o]);return n}function iS(e,t){if(e==null)return{};var n=aS(e,t),r,o;if(Object.getOwnPropertySymbols){var s=Object.getOwnPropertySymbols(e);for(o=0;o<s.length;o++)r=s[o],!(t.indexOf(r)>=0)&&Object.prototype.propertyIsEnumerable.call(e,r)&&(n[r]=e[r])}return n}function lS(e){return uS(e)||cS(e)||dS(e)||mS()}function uS(e){if(Array.isArray(e))return Ic(e)}function cS(e){if(typeof Symbol<"u"&&e[Symbol.iterator]!=null||e["@@iterator"]!=null)return Array.from(e)}function dS(e,t){if(e){if(typeof e=="string")return Ic(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 Ic(e,t)}}function Ic(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 mS(){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 fS="1.14.0";function vr(e){if(typeof window<"u"&&window.navigator)return!!navigator.userAgent.match(e)}var kr=vr(/(?:Trident.*rv[ :]?11\.|msie|iemobile|Windows Phone)/i),Pa=vr(/Edge/i),_p=vr(/firefox/i),Xs=vr(/safari/i)&&!vr(/chrome/i)&&!vr(/android/i),Ey=vr(/iP(ad|od|hone)/i),pS=vr(/chrome/i)&&vr(/android/i),Sy={capture:!1,passive:!1};function Xe(e,t,n){e.addEventListener(t,n,!kr&&Sy)}function Ye(e,t,n){e.removeEventListener(t,n,!kr&&Sy)}function ml(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 hS(e){return e.host&&e!==document&&e.host.nodeType?e.host:e.parentNode}function Fn(e,t,n,r){if(e){n=n||document;do{if(t!=null&&(t[0]===">"?e.parentNode===n&&ml(e,t):ml(e,t))||r&&e===n)return e;if(e===n)break}while(e=hS(e))}return null}var gp=/\s+/g;function Ct(e,t,n){if(e&&t)if(e.classList)e.classList[n?"add":"remove"](t);else{var r=(" "+e.className+" ").replace(gp," ").replace(" "+t+" "," ");e.className=(r+(n?" "+t:"")).replace(gp," ")}}function Se(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 po(e,t){var n="";if(typeof e=="string")n=e;else do{var r=Se(e,"transform");r&&r!=="none"&&(n=r+" "+n)}while(!t&&(e=e.parentNode));var o=window.DOMMatrix||window.WebKitCSSMatrix||window.CSSMatrix||window.MSCSSMatrix;return o&&new o(n)}function $y(e,t,n){if(e){var r=e.getElementsByTagName(t),o=0,s=r.length;if(n)for(;o<s;o++)n(r[o],o);return r}return[]}function or(){var e=document.scrollingElement;return e||document.documentElement}function yt(e,t,n,r,o){if(!(!e.getBoundingClientRect&&e!==window)){var s,a,i,l,c,d,f;if(e!==window&&e.parentNode&&e!==or()?(s=e.getBoundingClientRect(),a=s.top,i=s.left,l=s.bottom,c=s.right,d=s.height,f=s.width):(a=0,i=0,l=window.innerHeight,c=window.innerWidth,d=window.innerHeight,f=window.innerWidth),(t||n)&&e!==window&&(o=o||e.parentNode,!kr))do if(o&&o.getBoundingClientRect&&(Se(o,"transform")!=="none"||n&&Se(o,"position")!=="static")){var m=o.getBoundingClientRect();a-=m.top+parseInt(Se(o,"border-top-width")),i-=m.left+parseInt(Se(o,"border-left-width")),l=a+s.height,c=i+s.width;break}while(o=o.parentNode);if(r&&e!==window){var p=po(o||e),h=p&&p.a,_=p&&p.d;p&&(a/=_,i/=h,f/=h,d/=_,l=a+d,c=i+f)}return{top:a,left:i,bottom:l,right:c,width:f,height:d}}}function yp(e,t,n){for(var r=Vr(e,!0),o=yt(e)[t];r;){var s=yt(r)[n],a=void 0;if(n==="top"||n==="left"?a=o>=s:a=o<=s,!a)return r;if(r===or())break;r=Vr(r,!1)}return!1}function rs(e,t,n,r){for(var o=0,s=0,a=e.children;s<a.length;){if(a[s].style.display!=="none"&&a[s]!==Re.ghost&&(r||a[s]!==Re.dragged)&&Fn(a[s],n.draggable,e,!1)){if(o===t)return a[s];o++}s++}return null}function Qd(e,t){for(var n=e.lastElementChild;n&&(n===Re.ghost||Se(n,"display")==="none"||t&&!ml(n,t));)n=n.previousElementSibling;return n||null}function Et(e,t){var n=0;if(!e||!e.parentNode)return-1;for(;e=e.previousElementSibling;)e.nodeName.toUpperCase()!=="TEMPLATE"&&e!==Re.clone&&(!t||ml(e,t))&&n++;return n}function vp(e){var t=0,n=0,r=or();if(e)do{var o=po(e),s=o.a,a=o.d;t+=e.scrollLeft*s,n+=e.scrollTop*a}while(e!==r&&(e=e.parentNode));return[t,n]}function _S(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 Vr(e,t){if(!e||!e.getBoundingClientRect)return or();var n=e,r=!1;do if(n.clientWidth<n.scrollWidth||n.clientHeight<n.scrollHeight){var o=Se(n);if(n.clientWidth<n.scrollWidth&&(o.overflowX=="auto"||o.overflowX=="scroll")||n.clientHeight<n.scrollHeight&&(o.overflowY=="auto"||o.overflowY=="scroll")){if(!n.getBoundingClientRect||n===document.body)return or();if(r||t)return n;r=!0}}while(n=n.parentNode);return or()}function gS(e,t){if(e&&t)for(var n in t)t.hasOwnProperty(n)&&(e[n]=t[n]);return e}function Su(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 Qs;function Ay(e,t){return function(){if(!Qs){var n=arguments,r=this;n.length===1?e.call(r,n[0]):e.apply(r,n),Qs=setTimeout(function(){Qs=void 0},t)}}}function yS(){clearTimeout(Qs),Qs=void 0}function Ty(e,t,n){e.scrollLeft+=t,e.scrollTop+=n}function em(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 bp(e,t){Se(e,"position","absolute"),Se(e,"top",t.top),Se(e,"left",t.left),Se(e,"width",t.width),Se(e,"height",t.height)}function $u(e){Se(e,"position",""),Se(e,"top",""),Se(e,"left",""),Se(e,"width",""),Se(e,"height","")}var Ht="Sortable"+new Date().getTime();function vS(){var e=[],t;return{captureAnimationState:function(){if(e=[],!!this.options.animation){var r=[].slice.call(this.el.children);r.forEach(function(o){if(!(Se(o,"display")==="none"||o===Re.ghost)){e.push({target:o,rect:yt(o)});var s=ir({},e[e.length-1].rect);if(o.thisAnimationDuration){var a=po(o,!0);a&&(s.top-=a.f,s.left-=a.e)}o.fromRect=s}})}},addAnimationState:function(r){e.push(r)},removeAnimationState:function(r){e.splice(_S(e,{target:r}),1)},animateAll:function(r){var o=this;if(!this.options.animation){clearTimeout(t),typeof r=="function"&&r();return}var s=!1,a=0;e.forEach(function(i){var l=0,c=i.target,d=c.fromRect,f=yt(c),m=c.prevFromRect,p=c.prevToRect,h=i.rect,_=po(c,!0);_&&(f.top-=_.f,f.left-=_.e),c.toRect=f,c.thisAnimationDuration&&Su(m,f)&&!Su(d,f)&&(h.top-f.top)/(h.left-f.left)===(d.top-f.top)/(d.left-f.left)&&(l=zS(h,m,p,o.options)),Su(f,d)||(c.prevFromRect=d,c.prevToRect=f,l||(l=o.options.animation),o.animate(c,h,f,l)),l&&(s=!0,a=Math.max(a,l),clearTimeout(c.animationResetTimer),c.animationResetTimer=setTimeout(function(){c.animationTime=0,c.prevFromRect=null,c.fromRect=null,c.prevToRect=null,c.thisAnimationDuration=null},l),c.thisAnimationDuration=l)}),clearTimeout(t),s?t=setTimeout(function(){typeof r=="function"&&r()},a):typeof r=="function"&&r(),e=[]},animate:function(r,o,s,a){if(a){Se(r,"transition",""),Se(r,"transform","");var i=po(this.el),l=i&&i.a,c=i&&i.d,d=(o.left-s.left)/(l||1),f=(o.top-s.top)/(c||1);r.animatingX=!!d,r.animatingY=!!f,Se(r,"transform","translate3d("+d+"px,"+f+"px,0)"),this.forRepaintDummy=bS(r),Se(r,"transition","transform "+a+"ms"+(this.options.easing?" "+this.options.easing:"")),Se(r,"transform","translate3d(0,0,0)"),typeof r.animated=="number"&&clearTimeout(r.animated),r.animated=setTimeout(function(){Se(r,"transition",""),Se(r,"transform",""),r.animated=!1,r.animatingX=!1,r.animatingY=!1},a)}}}}function bS(e){return e.offsetWidth}function zS(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 So=[],Au={initializeByDefault:!0},Ia={mount:function(t){for(var n in Au)Au.hasOwnProperty(n)&&!(n in t)&&(t[n]=Au[n]);So.forEach(function(r){if(r.pluginName===t.pluginName)throw"Sortable: Cannot mount plugin ".concat(t.pluginName," more than once")}),So.push(t)},pluginEvent:function(t,n,r){var o=this;this.eventCanceled=!1,r.cancel=function(){o.eventCanceled=!0};var s=t+"Global";So.forEach(function(a){n[a.pluginName]&&(n[a.pluginName][s]&&n[a.pluginName][s](ir({sortable:n},r)),n.options[a.pluginName]&&n[a.pluginName][t]&&n[a.pluginName][t](ir({sortable:n},r)))})},initializePlugins:function(t,n,r,o){So.forEach(function(i){var l=i.pluginName;if(!(!t.options[l]&&!i.initializeByDefault)){var c=new i(t,n,t.options);c.sortable=t,c.options=t.options,t[l]=c,An(r,c.defaults)}});for(var s in t.options)if(t.options.hasOwnProperty(s)){var a=this.modifyOption(t,s,t.options[s]);typeof a<"u"&&(t.options[s]=a)}},getEventProperties:function(t,n){var r={};return So.forEach(function(o){typeof o.eventProperties=="function"&&An(r,o.eventProperties.call(n[o.pluginName],t))}),r},modifyOption:function(t,n,r){var o;return So.forEach(function(s){t[s.pluginName]&&s.optionListeners&&typeof s.optionListeners[n]=="function"&&(o=s.optionListeners[n].call(t[s.pluginName],r))}),o}};function Rs(e){var t=e.sortable,n=e.rootEl,r=e.name,o=e.targetEl,s=e.cloneEl,a=e.toEl,i=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[Ht],!!t){var _,z=t.options,b="on"+r.charAt(0).toUpperCase()+r.substr(1);window.CustomEvent&&!kr&&!Pa?_=new CustomEvent(r,{bubbles:!0,cancelable:!0}):(_=document.createEvent("Event"),_.initEvent(r,!0,!0)),_.to=a||n,_.from=i||n,_.item=o||n,_.clone=s,_.oldIndex=l,_.newIndex=c,_.oldDraggableIndex=d,_.newDraggableIndex=f,_.originalEvent=m,_.pullMode=p?p.lastPutMode:void 0;var v=ir(ir({},h),Ia.getEventProperties(r,t));for(var k in v)_[k]=v[k];n&&n.dispatchEvent(_),z[b]&&z[b].call(t,_)}}var CS=["evt"],Qt=function(t,n){var r=arguments.length>2&&arguments[2]!==void 0?arguments[2]:{},o=r.evt,s=iS(r,CS);Ia.pluginEvent.bind(Re)(t,n,ir({dragEl:me,parentEl:wt,ghostEl:qe,rootEl:gt,nextEl:oo,lastDownEl:Zi,cloneEl:kt,cloneHidden:Nr,dragStarted:Ls,putSortable:Mt,activeSortable:Re.active,originalEvent:o,oldIndex:Vo,oldDraggableIndex:ea,newIndex:un,newDraggableIndex:Lr,hideGhostForTarget:Iy,unhideGhostForTarget:Fy,cloneNowHidden:function(){Nr=!0},cloneNowShown:function(){Nr=!1},dispatchSortableEvent:function(i){Wt({sortable:n,name:i,originalEvent:o})}},s))};function Wt(e){Rs(ir({putSortable:Mt,cloneEl:kt,targetEl:me,rootEl:gt,oldIndex:Vo,oldDraggableIndex:ea,newIndex:un,newDraggableIndex:Lr},e))}var me,wt,qe,gt,oo,Zi,kt,Nr,Vo,un,ea,Lr,ei,Mt,Ro=!1,fl=!1,pl=[],to,On,Tu,Ou,zp,Cp,Ls,$o,ta,na=!1,ti=!1,Yi,Bt,Du=[],Fc=!1,hl=[],Ql=typeof document<"u",ni=Ey,wp=Pa||kr?"cssFloat":"float",wS=Ql&&!pS&&!Ey&&"draggable"in document.createElement("div"),Oy=function(){if(Ql){if(kr)return!1;var e=document.createElement("x");return e.style.cssText="pointer-events:auto",e.style.pointerEvents==="auto"}}(),Dy=function(t,n){var r=Se(t),o=parseInt(r.width)-parseInt(r.paddingLeft)-parseInt(r.paddingRight)-parseInt(r.borderLeftWidth)-parseInt(r.borderRightWidth),s=rs(t,0,n),a=rs(t,1,n),i=s&&Se(s),l=a&&Se(a),c=i&&parseInt(i.marginLeft)+parseInt(i.marginRight)+yt(s).width,d=l&&parseInt(l.marginLeft)+parseInt(l.marginRight)+yt(a).width;if(r.display==="flex")return r.flexDirection==="column"||r.flexDirection==="column-reverse"?"vertical":"horizontal";if(r.display==="grid")return r.gridTemplateColumns.split(" ").length<=1?"vertical":"horizontal";if(s&&i.float&&i.float!=="none"){var f=i.float==="left"?"left":"right";return a&&(l.clear==="both"||l.clear===f)?"vertical":"horizontal"}return s&&(i.display==="block"||i.display==="flex"||i.display==="table"||i.display==="grid"||c>=o&&r[wp]==="none"||a&&r[wp]==="none"&&c+d>o)?"vertical":"horizontal"},kS=function(t,n,r){var o=r?t.left:t.top,s=r?t.right:t.bottom,a=r?t.width:t.height,i=r?n.left:n.top,l=r?n.right:n.bottom,c=r?n.width:n.height;return o===i||s===l||o+a/2===i+c/2},xS=function(t,n){var r;return pl.some(function(o){var s=o[Ht].options.emptyInsertThreshold;if(!(!s||Qd(o))){var a=yt(o),i=t>=a.left-s&&t<=a.right+s,l=n>=a.top-s&&n<=a.bottom+s;if(i&&l)return r=o}}),r},Py=function(t){function n(s,a){return function(i,l,c,d){var f=i.options.group.name&&l.options.group.name&&i.options.group.name===l.options.group.name;if(s==null&&(a||f))return!0;if(s==null||s===!1)return!1;if(a&&s==="clone")return s;if(typeof s=="function")return n(s(i,l,c,d),a)(i,l,c,d);var m=(a?i:l).options.group.name;return s===!0||typeof s=="string"&&s===m||s.join&&s.indexOf(m)>-1}}var r={},o=t.group;(!o||Ki(o)!="object")&&(o={name:o}),r.name=o.name,r.checkPull=n(o.pull,!0),r.checkPut=n(o.put),r.revertClone=o.revertClone,t.group=r},Iy=function(){!Oy&&qe&&Se(qe,"display","none")},Fy=function(){!Oy&&qe&&Se(qe,"display","")};Ql&&document.addEventListener("click",function(e){if(fl)return e.preventDefault(),e.stopPropagation&&e.stopPropagation(),e.stopImmediatePropagation&&e.stopImmediatePropagation(),fl=!1,!1},!0);var no=function(t){if(me){t=t.touches?t.touches[0]:t;var n=xS(t.clientX,t.clientY);if(n){var r={};for(var o in t)t.hasOwnProperty(o)&&(r[o]=t[o]);r.target=r.rootEl=n,r.preventDefault=void 0,r.stopPropagation=void 0,n[Ht]._onDragOver(r)}}},ES=function(t){me&&me.parentNode[Ht]._isOutsideThisEl(t.target)};function Re(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=An({},t),e[Ht]=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 Dy(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(a,i){a.setData("Text",i.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:Re.supportPointer!==!1&&"PointerEvent"in window&&!Xs,emptyInsertThreshold:5};Ia.initializePlugins(this,e,n);for(var r in n)!(r in t)&&(t[r]=n[r]);Py(t);for(var o in this)o.charAt(0)==="_"&&typeof this[o]=="function"&&(this[o]=this[o].bind(this));this.nativeDraggable=t.forceFallback?!1:wS,this.nativeDraggable&&(this.options.touchStartThreshold=1),t.supportPointer?Xe(e,"pointerdown",this._onTapStart):(Xe(e,"mousedown",this._onTapStart),Xe(e,"touchstart",this._onTapStart)),this.nativeDraggable&&(Xe(e,"dragover",this),Xe(e,"dragenter",this)),pl.push(this.el),t.store&&t.store.get&&this.sort(t.store.get(this)||[]),An(this,vS())}Re.prototype={constructor:Re,_isOutsideThisEl:function(t){!this.el.contains(t)&&t!==this.el&&($o=null)},_getDirection:function(t,n){return typeof this.options.direction=="function"?this.options.direction.call(this,t,n,me):this.options.direction},_onTapStart:function(t){if(t.cancelable){var n=this,r=this.el,o=this.options,s=o.preventOnFilter,a=t.type,i=t.touches&&t.touches[0]||t.pointerType&&t.pointerType==="touch"&&t,l=(i||t).target,c=t.target.shadowRoot&&(t.path&&t.path[0]||t.composedPath&&t.composedPath()[0])||l,d=o.filter;if(IS(r),!me&&!(/mousedown|pointerdown/.test(a)&&t.button!==0||o.disabled)&&!c.isContentEditable&&!(!this.nativeDraggable&&Xs&&l&&l.tagName.toUpperCase()==="SELECT")&&(l=Fn(l,o.draggable,r,!1),!(l&&l.animated)&&Zi!==l)){if(Vo=Et(l),ea=Et(l,o.draggable),typeof d=="function"){if(d.call(this,t,l,this)){Wt({sortable:n,rootEl:c,name:"filter",targetEl:l,toEl:r,fromEl:r}),Qt("filter",n,{evt:t}),s&&t.cancelable&&t.preventDefault();return}}else if(d&&(d=d.split(",").some(function(f){if(f=Fn(c,f.trim(),r,!1),f)return Wt({sortable:n,rootEl:f,name:"filter",targetEl:l,fromEl:r,toEl:r}),Qt("filter",n,{evt:t}),!0}),d)){s&&t.cancelable&&t.preventDefault();return}o.handle&&!Fn(c,o.handle,r,!1)||this._prepareDragStart(t,i,l)}}},_prepareDragStart:function(t,n,r){var o=this,s=o.el,a=o.options,i=s.ownerDocument,l;if(r&&!me&&r.parentNode===s){var c=yt(r);if(gt=s,me=r,wt=me.parentNode,oo=me.nextSibling,Zi=r,ei=a.group,Re.dragged=me,to={target:me,clientX:(n||t).clientX,clientY:(n||t).clientY},zp=to.clientX-c.left,Cp=to.clientY-c.top,this._lastX=(n||t).clientX,this._lastY=(n||t).clientY,me.style["will-change"]="all",l=function(){if(Qt("delayEnded",o,{evt:t}),Re.eventCanceled){o._onDrop();return}o._disableDelayedDragEvents(),!_p&&o.nativeDraggable&&(me.draggable=!0),o._triggerDragStart(t,n),Wt({sortable:o,name:"choose",originalEvent:t}),Ct(me,a.chosenClass,!0)},a.ignore.split(",").forEach(function(d){$y(me,d.trim(),Pu)}),Xe(i,"dragover",no),Xe(i,"mousemove",no),Xe(i,"touchmove",no),Xe(i,"mouseup",o._onDrop),Xe(i,"touchend",o._onDrop),Xe(i,"touchcancel",o._onDrop),_p&&this.nativeDraggable&&(this.options.touchStartThreshold=4,me.draggable=!0),Qt("delayStart",this,{evt:t}),a.delay&&(!a.delayOnTouchOnly||n)&&(!this.nativeDraggable||!(Pa||kr))){if(Re.eventCanceled){this._onDrop();return}Xe(i,"mouseup",o._disableDelayedDrag),Xe(i,"touchend",o._disableDelayedDrag),Xe(i,"touchcancel",o._disableDelayedDrag),Xe(i,"mousemove",o._delayedDragTouchMoveHandler),Xe(i,"touchmove",o._delayedDragTouchMoveHandler),a.supportPointer&&Xe(i,"pointermove",o._delayedDragTouchMoveHandler),o._dragStartTimer=setTimeout(l,a.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(){me&&Pu(me),clearTimeout(this._dragStartTimer),this._disableDelayedDragEvents()},_disableDelayedDragEvents:function(){var t=this.el.ownerDocument;Ye(t,"mouseup",this._disableDelayedDrag),Ye(t,"touchend",this._disableDelayedDrag),Ye(t,"touchcancel",this._disableDelayedDrag),Ye(t,"mousemove",this._delayedDragTouchMoveHandler),Ye(t,"touchmove",this._delayedDragTouchMoveHandler),Ye(t,"pointermove",this._delayedDragTouchMoveHandler)},_triggerDragStart:function(t,n){n=n||t.pointerType=="touch"&&t,!this.nativeDraggable||n?this.options.supportPointer?Xe(document,"pointermove",this._onTouchMove):n?Xe(document,"touchmove",this._onTouchMove):Xe(document,"mousemove",this._onTouchMove):(Xe(me,"dragend",this),Xe(gt,"dragstart",this._onDragStart));try{document.selection?Ji(function(){document.selection.empty()}):window.getSelection().removeAllRanges()}catch{}},_dragStarted:function(t,n){if(Ro=!1,gt&&me){Qt("dragStarted",this,{evt:n}),this.nativeDraggable&&Xe(document,"dragover",ES);var r=this.options;!t&&Ct(me,r.dragClass,!1),Ct(me,r.ghostClass,!0),Re.active=this,t&&this._appendGhost(),Wt({sortable:this,name:"start",originalEvent:n})}else this._nulling()},_emulateDragOver:function(){if(On){this._lastX=On.clientX,this._lastY=On.clientY,Iy();for(var t=document.elementFromPoint(On.clientX,On.clientY),n=t;t&&t.shadowRoot&&(t=t.shadowRoot.elementFromPoint(On.clientX,On.clientY),t!==n);)n=t;if(me.parentNode[Ht]._isOutsideThisEl(t),n)do{if(n[Ht]){var r=void 0;if(r=n[Ht]._onDragOver({clientX:On.clientX,clientY:On.clientY,target:t,rootEl:n}),r&&!this.options.dragoverBubble)break}t=n}while(n=n.parentNode);Fy()}},_onTouchMove:function(t){if(to){var n=this.options,r=n.fallbackTolerance,o=n.fallbackOffset,s=t.touches?t.touches[0]:t,a=qe&&po(qe,!0),i=qe&&a&&a.a,l=qe&&a&&a.d,c=ni&&Bt&&vp(Bt),d=(s.clientX-to.clientX+o.x)/(i||1)+(c?c[0]-Du[0]:0)/(i||1),f=(s.clientY-to.clientY+o.y)/(l||1)+(c?c[1]-Du[1]:0)/(l||1);if(!Re.active&&!Ro){if(r&&Math.max(Math.abs(s.clientX-this._lastX),Math.abs(s.clientY-this._lastY))<r)return;this._onDragStart(t,!0)}if(qe){a?(a.e+=d-(Tu||0),a.f+=f-(Ou||0)):a={a:1,b:0,c:0,d:1,e:d,f};var m="matrix(".concat(a.a,",").concat(a.b,",").concat(a.c,",").concat(a.d,",").concat(a.e,",").concat(a.f,")");Se(qe,"webkitTransform",m),Se(qe,"mozTransform",m),Se(qe,"msTransform",m),Se(qe,"transform",m),Tu=d,Ou=f,On=s}t.cancelable&&t.preventDefault()}},_appendGhost:function(){if(!qe){var t=this.options.fallbackOnBody?document.body:gt,n=yt(me,!0,ni,!0,t),r=this.options;if(ni){for(Bt=t;Se(Bt,"position")==="static"&&Se(Bt,"transform")==="none"&&Bt!==document;)Bt=Bt.parentNode;Bt!==document.body&&Bt!==document.documentElement?(Bt===document&&(Bt=or()),n.top+=Bt.scrollTop,n.left+=Bt.scrollLeft):Bt=or(),Du=vp(Bt)}qe=me.cloneNode(!0),Ct(qe,r.ghostClass,!1),Ct(qe,r.fallbackClass,!0),Ct(qe,r.dragClass,!0),Se(qe,"transition",""),Se(qe,"transform",""),Se(qe,"box-sizing","border-box"),Se(qe,"margin",0),Se(qe,"top",n.top),Se(qe,"left",n.left),Se(qe,"width",n.width),Se(qe,"height",n.height),Se(qe,"opacity","0.8"),Se(qe,"position",ni?"absolute":"fixed"),Se(qe,"zIndex","100000"),Se(qe,"pointerEvents","none"),Re.ghost=qe,t.appendChild(qe),Se(qe,"transform-origin",zp/parseInt(qe.style.width)*100+"% "+Cp/parseInt(qe.style.height)*100+"%")}},_onDragStart:function(t,n){var r=this,o=t.dataTransfer,s=r.options;if(Qt("dragStart",this,{evt:t}),Re.eventCanceled){this._onDrop();return}Qt("setupClone",this),Re.eventCanceled||(kt=em(me),kt.draggable=!1,kt.style["will-change"]="",this._hideClone(),Ct(kt,this.options.chosenClass,!1),Re.clone=kt),r.cloneId=Ji(function(){Qt("clone",r),!Re.eventCanceled&&(r.options.removeCloneOnHide||gt.insertBefore(kt,me),r._hideClone(),Wt({sortable:r,name:"clone"}))}),!n&&Ct(me,s.dragClass,!0),n?(fl=!0,r._loopId=setInterval(r._emulateDragOver,50)):(Ye(document,"mouseup",r._onDrop),Ye(document,"touchend",r._onDrop),Ye(document,"touchcancel",r._onDrop),o&&(o.effectAllowed="move",s.setData&&s.setData.call(r,o,me)),Xe(document,"drop",r),Se(me,"transform","translateZ(0)")),Ro=!0,r._dragStartId=Ji(r._dragStarted.bind(r,n,t)),Xe(document,"selectstart",r),Ls=!0,Xs&&Se(document.body,"user-select","none")},_onDragOver:function(t){var n=this.el,r=t.target,o,s,a,i=this.options,l=i.group,c=Re.active,d=ei===l,f=i.sort,m=Mt||c,p,h=this,_=!1;if(Fc)return;function z(ye,je){Qt(ye,h,ir({evt:t,isOwner:d,axis:p?"vertical":"horizontal",revert:a,dragRect:o,targetRect:s,canSort:f,fromSortable:m,target:r,completed:v,onMove:function(ce,W){return ri(gt,n,me,o,ce,yt(ce),t,W)},changed:k},je))}function b(){z("dragOverAnimationCapture"),h.captureAnimationState(),h!==m&&m.captureAnimationState()}function v(ye){return z("dragOverCompleted",{insertion:ye}),ye&&(d?c._hideClone():c._showClone(h),h!==m&&(Ct(me,Mt?Mt.options.ghostClass:c.options.ghostClass,!1),Ct(me,i.ghostClass,!0)),Mt!==h&&h!==Re.active?Mt=h:h===Re.active&&Mt&&(Mt=null),m===h&&(h._ignoreWhileAnimating=r),h.animateAll(function(){z("dragOverAnimationComplete"),h._ignoreWhileAnimating=null}),h!==m&&(m.animateAll(),m._ignoreWhileAnimating=null)),(r===me&&!me.animated||r===n&&!r.animated)&&($o=null),!i.dragoverBubble&&!t.rootEl&&r!==document&&(me.parentNode[Ht]._isOutsideThisEl(t.target),!ye&&no(t)),!i.dragoverBubble&&t.stopPropagation&&t.stopPropagation(),_=!0}function k(){un=Et(me),Lr=Et(me,i.draggable),Wt({sortable:h,name:"change",toEl:n,newIndex:un,newDraggableIndex:Lr,originalEvent:t})}if(t.preventDefault!==void 0&&t.cancelable&&t.preventDefault(),r=Fn(r,i.draggable,n,!0),z("dragOver"),Re.eventCanceled)return _;if(me.contains(t.target)||r.animated&&r.animatingX&&r.animatingY||h._ignoreWhileAnimating===r)return v(!1);if(fl=!1,c&&!i.disabled&&(d?f||(a=wt!==gt):Mt===this||(this.lastPutMode=ei.checkPull(this,c,me,t))&&l.checkPut(this,c,me,t))){if(p=this._getDirection(t,r)==="vertical",o=yt(me),z("dragOverValid"),Re.eventCanceled)return _;if(a)return wt=gt,b(),this._hideClone(),z("revert"),Re.eventCanceled||(oo?gt.insertBefore(me,oo):gt.appendChild(me)),v(!0);var C=Qd(n,i.draggable);if(!C||TS(t,p,this)&&!C.animated){if(C===me)return v(!1);if(C&&n===t.target&&(r=C),r&&(s=yt(r)),ri(gt,n,me,o,r,s,t,!!r)!==!1)return b(),n.appendChild(me),wt=n,k(),v(!0)}else if(C&&AS(t,p,this)){var x=rs(n,0,i,!0);if(x===me)return v(!1);if(r=x,s=yt(r),ri(gt,n,me,o,r,s,t,!1)!==!1)return b(),n.insertBefore(me,x),wt=n,k(),v(!0)}else if(r.parentNode===n){s=yt(r);var T=0,L,I=me.parentNode!==n,D=!kS(me.animated&&me.toRect||o,r.animated&&r.toRect||s,p),U=p?"top":"left",Z=yp(r,"top","top")||yp(me,"top","top"),X=Z?Z.scrollTop:void 0;$o!==r&&(L=s[U],na=!1,ti=!D&&i.invertSwap||I),T=OS(t,r,s,p,D?1:i.swapThreshold,i.invertedSwapThreshold==null?i.swapThreshold:i.invertedSwapThreshold,ti,$o===r);var j;if(T!==0){var q=Et(me);do q-=T,j=wt.children[q];while(j&&(Se(j,"display")==="none"||j===qe))}if(T===0||j===r)return v(!1);$o=r,ta=T;var ze=r.nextElementSibling,te=!1;te=T===1;var ae=ri(gt,n,me,o,r,s,t,te);if(ae!==!1)return(ae===1||ae===-1)&&(te=ae===1),Fc=!0,setTimeout($S,30),b(),te&&!ze?n.appendChild(me):r.parentNode.insertBefore(me,te?ze:r),Z&&Ty(Z,0,X-Z.scrollTop),wt=me.parentNode,L!==void 0&&!ti&&(Yi=Math.abs(L-yt(r)[U])),k(),v(!0)}if(n.contains(me))return v(!1)}return!1},_ignoreWhileAnimating:null,_offMoveEvents:function(){Ye(document,"mousemove",this._onTouchMove),Ye(document,"touchmove",this._onTouchMove),Ye(document,"pointermove",this._onTouchMove),Ye(document,"dragover",no),Ye(document,"mousemove",no),Ye(document,"touchmove",no)},_offUpEvents:function(){var t=this.el.ownerDocument;Ye(t,"mouseup",this._onDrop),Ye(t,"touchend",this._onDrop),Ye(t,"pointerup",this._onDrop),Ye(t,"touchcancel",this._onDrop),Ye(document,"selectstart",this)},_onDrop:function(t){var n=this.el,r=this.options;if(un=Et(me),Lr=Et(me,r.draggable),Qt("drop",this,{evt:t}),wt=me&&me.parentNode,un=Et(me),Lr=Et(me,r.draggable),Re.eventCanceled){this._nulling();return}Ro=!1,ti=!1,na=!1,clearInterval(this._loopId),clearTimeout(this._dragStartTimer),Rc(this.cloneId),Rc(this._dragStartId),this.nativeDraggable&&(Ye(document,"drop",this),Ye(n,"dragstart",this._onDragStart)),this._offMoveEvents(),this._offUpEvents(),Xs&&Se(document.body,"user-select",""),Se(me,"transform",""),t&&(Ls&&(t.cancelable&&t.preventDefault(),!r.dropBubble&&t.stopPropagation()),qe&&qe.parentNode&&qe.parentNode.removeChild(qe),(gt===wt||Mt&&Mt.lastPutMode!=="clone")&&kt&&kt.parentNode&&kt.parentNode.removeChild(kt),me&&(this.nativeDraggable&&Ye(me,"dragend",this),Pu(me),me.style["will-change"]="",Ls&&!Ro&&Ct(me,Mt?Mt.options.ghostClass:this.options.ghostClass,!1),Ct(me,this.options.chosenClass,!1),Wt({sortable:this,name:"unchoose",toEl:wt,newIndex:null,newDraggableIndex:null,originalEvent:t}),gt!==wt?(un>=0&&(Wt({rootEl:wt,name:"add",toEl:wt,fromEl:gt,originalEvent:t}),Wt({sortable:this,name:"remove",toEl:wt,originalEvent:t}),Wt({rootEl:wt,name:"sort",toEl:wt,fromEl:gt,originalEvent:t}),Wt({sortable:this,name:"sort",toEl:wt,originalEvent:t})),Mt&&Mt.save()):un!==Vo&&un>=0&&(Wt({sortable:this,name:"update",toEl:wt,originalEvent:t}),Wt({sortable:this,name:"sort",toEl:wt,originalEvent:t})),Re.active&&((un==null||un===-1)&&(un=Vo,Lr=ea),Wt({sortable:this,name:"end",toEl:wt,originalEvent:t}),this.save()))),this._nulling()},_nulling:function(){Qt("nulling",this),gt=me=wt=qe=oo=kt=Zi=Nr=to=On=Ls=un=Lr=Vo=ea=$o=ta=Mt=ei=Re.dragged=Re.ghost=Re.clone=Re.active=null,hl.forEach(function(t){t.checked=!0}),hl.length=Tu=Ou=0},handleEvent:function(t){switch(t.type){case"drop":case"dragend":this._onDrop(t);break;case"dragenter":case"dragover":me&&(this._onDragOver(t),SS(t));break;case"selectstart":t.preventDefault();break}},toArray:function(){for(var t=[],n,r=this.el.children,o=0,s=r.length,a=this.options;o<s;o++)n=r[o],Fn(n,a.draggable,this.el,!1)&&t.push(n.getAttribute(a.dataIdAttr)||PS(n));return t},sort:function(t,n){var r={},o=this.el;this.toArray().forEach(function(s,a){var i=o.children[a];Fn(i,this.options.draggable,o,!1)&&(r[s]=i)},this),n&&this.captureAnimationState(),t.forEach(function(s){r[s]&&(o.removeChild(r[s]),o.appendChild(r[s]))}),n&&this.animateAll()},save:function(){var t=this.options.store;t&&t.set&&t.set(this)},closest:function(t,n){return Fn(t,n||this.options.draggable,this.el,!1)},option:function(t,n){var r=this.options;if(n===void 0)return r[t];var o=Ia.modifyOption(this,t,n);typeof o<"u"?r[t]=o:r[t]=n,t==="group"&&Py(r)},destroy:function(){Qt("destroy",this);var t=this.el;t[Ht]=null,Ye(t,"mousedown",this._onTapStart),Ye(t,"touchstart",this._onTapStart),Ye(t,"pointerdown",this._onTapStart),this.nativeDraggable&&(Ye(t,"dragover",this),Ye(t,"dragenter",this)),Array.prototype.forEach.call(t.querySelectorAll("[draggable]"),function(n){n.removeAttribute("draggable")}),this._onDrop(),this._disableDelayedDragEvents(),pl.splice(pl.indexOf(this.el),1),this.el=t=null},_hideClone:function(){if(!Nr){if(Qt("hideClone",this),Re.eventCanceled)return;Se(kt,"display","none"),this.options.removeCloneOnHide&&kt.parentNode&&kt.parentNode.removeChild(kt),Nr=!0}},_showClone:function(t){if(t.lastPutMode!=="clone"){this._hideClone();return}if(Nr){if(Qt("showClone",this),Re.eventCanceled)return;me.parentNode==gt&&!this.options.group.revertClone?gt.insertBefore(kt,me):oo?gt.insertBefore(kt,oo):gt.appendChild(kt),this.options.group.revertClone&&this.animate(me,kt),Se(kt,"display",""),Nr=!1}}};function SS(e){e.dataTransfer&&(e.dataTransfer.dropEffect="move"),e.cancelable&&e.preventDefault()}function ri(e,t,n,r,o,s,a,i){var l,c=e[Ht],d=c.options.onMove,f;return window.CustomEvent&&!kr&&!Pa?l=new CustomEvent("move",{bubbles:!0,cancelable:!0}):(l=document.createEvent("Event"),l.initEvent("move",!0,!0)),l.to=t,l.from=e,l.dragged=n,l.draggedRect=r,l.related=o||t,l.relatedRect=s||yt(t),l.willInsertAfter=i,l.originalEvent=a,e.dispatchEvent(l),d&&(f=d.call(c,l,a)),f}function Pu(e){e.draggable=!1}function $S(){Fc=!1}function AS(e,t,n){var r=yt(rs(n.el,0,n.options,!0)),o=10;return t?e.clientX<r.left-o||e.clientY<r.top&&e.clientX<r.right:e.clientY<r.top-o||e.clientY<r.bottom&&e.clientX<r.left}function TS(e,t,n){var r=yt(Qd(n.el,n.options.draggable)),o=10;return t?e.clientX>r.right+o||e.clientX<=r.right&&e.clientY>r.bottom&&e.clientX>=r.left:e.clientX>r.right&&e.clientY>r.top||e.clientX<=r.right&&e.clientY>r.bottom+o}function OS(e,t,n,r,o,s,a,i){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(!a){if(i&&Yi<c*o){if(!na&&(ta===1?l>d+c*s/2:l<f-c*s/2)&&(na=!0),na)m=!0;else if(ta===1?l<d+Yi:l>f-Yi)return-ta}else if(l>d+c*(1-o)/2&&l<f-c*(1-o)/2)return DS(t)}return m=m||a,m&&(l<d+c*s/2||l>f-c*s/2)?l>d+c/2?1:-1:0}function DS(e){return Et(me)<Et(e)?1:-1}function PS(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 IS(e){hl.length=0;for(var t=e.getElementsByTagName("input"),n=t.length;n--;){var r=t[n];r.checked&&hl.push(r)}}function Ji(e){return setTimeout(e,0)}function Rc(e){return clearTimeout(e)}Ql&&Xe(document,"touchmove",function(e){(Re.active||Ro)&&e.cancelable&&e.preventDefault()});Re.utils={on:Xe,off:Ye,css:Se,find:$y,is:function(t,n){return!!Fn(t,n,t,!1)},extend:gS,throttle:Ay,closest:Fn,toggleClass:Ct,clone:em,index:Et,nextTick:Ji,cancelNextTick:Rc,detectDirection:Dy,getChild:rs};Re.get=function(e){return e[Ht]};Re.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&&(Re.utils=ir(ir({},Re.utils),r.utils)),Ia.mount(r)})};Re.create=function(e,t){return new Re(e,t)};Re.version=fS;var St=[],Ms,Lc,Mc=!1,Iu,Fu,_l,Ns;function FS(){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?Xe(document,"dragover",this._handleAutoScroll):this.options.supportPointer?Xe(document,"pointermove",this._handleFallbackAutoScroll):r.touches?Xe(document,"touchmove",this._handleFallbackAutoScroll):Xe(document,"mousemove",this._handleFallbackAutoScroll)},dragOverCompleted:function(n){var r=n.originalEvent;!this.options.dragOverBubble&&!r.rootEl&&this._handleAutoScroll(r)},drop:function(){this.sortable.nativeDraggable?Ye(document,"dragover",this._handleAutoScroll):(Ye(document,"pointermove",this._handleFallbackAutoScroll),Ye(document,"touchmove",this._handleFallbackAutoScroll),Ye(document,"mousemove",this._handleFallbackAutoScroll)),kp(),Xi(),yS()},nulling:function(){_l=Lc=Ms=Mc=Ns=Iu=Fu=null,St.length=0},_handleFallbackAutoScroll:function(n){this._handleAutoScroll(n,!0)},_handleAutoScroll:function(n,r){var o=this,s=(n.touches?n.touches[0]:n).clientX,a=(n.touches?n.touches[0]:n).clientY,i=document.elementFromPoint(s,a);if(_l=n,r||this.options.forceAutoScrollFallback||Pa||kr||Xs){Ru(n,this.options,i,r);var l=Vr(i,!0);Mc&&(!Ns||s!==Iu||a!==Fu)&&(Ns&&kp(),Ns=setInterval(function(){var c=Vr(document.elementFromPoint(s,a),!0);c!==l&&(l=c,Xi()),Ru(n,o.options,c,r)},10),Iu=s,Fu=a)}else{if(!this.options.bubbleScroll||Vr(i,!0)===or()){Xi();return}Ru(n,this.options,Vr(i,!1),!1)}}},An(e,{pluginName:"scroll",initializeByDefault:!0})}function Xi(){St.forEach(function(e){clearInterval(e.pid)}),St=[]}function kp(){clearInterval(Ns)}var Ru=Ay(function(e,t,n,r){if(t.scroll){var o=(e.touches?e.touches[0]:e).clientX,s=(e.touches?e.touches[0]:e).clientY,a=t.scrollSensitivity,i=t.scrollSpeed,l=or(),c=!1,d;Lc!==n&&(Lc=n,Xi(),Ms=t.scroll,d=t.scrollFn,Ms===!0&&(Ms=Vr(n,!0)));var f=0,m=Ms;do{var p=m,h=yt(p),_=h.top,z=h.bottom,b=h.left,v=h.right,k=h.width,C=h.height,x=void 0,T=void 0,L=p.scrollWidth,I=p.scrollHeight,D=Se(p),U=p.scrollLeft,Z=p.scrollTop;p===l?(x=k<L&&(D.overflowX==="auto"||D.overflowX==="scroll"||D.overflowX==="visible"),T=C<I&&(D.overflowY==="auto"||D.overflowY==="scroll"||D.overflowY==="visible")):(x=k<L&&(D.overflowX==="auto"||D.overflowX==="scroll"),T=C<I&&(D.overflowY==="auto"||D.overflowY==="scroll"));var X=x&&(Math.abs(v-o)<=a&&U+k<L)-(Math.abs(b-o)<=a&&!!U),j=T&&(Math.abs(z-s)<=a&&Z+C<I)-(Math.abs(_-s)<=a&&!!Z);if(!St[f])for(var q=0;q<=f;q++)St[q]||(St[q]={});(St[f].vx!=X||St[f].vy!=j||St[f].el!==p)&&(St[f].el=p,St[f].vx=X,St[f].vy=j,clearInterval(St[f].pid),(X!=0||j!=0)&&(c=!0,St[f].pid=setInterval((function(){r&&this.layer===0&&Re.active._onTouchMove(_l);var ze=St[this.layer].vy?St[this.layer].vy*i:0,te=St[this.layer].vx?St[this.layer].vx*i:0;typeof d=="function"&&d.call(Re.dragged.parentNode[Ht],te,ze,e,_l,St[this.layer].el)!=="continue"||Ty(St[this.layer].el,te,ze)}).bind({layer:f}),24))),f++}while(t.bubbleScroll&&m!==l&&(m=Vr(m,!1)));Mc=c}},30),Ry=function(t){var n=t.originalEvent,r=t.putSortable,o=t.dragEl,s=t.activeSortable,a=t.dispatchSortableEvent,i=t.hideGhostForTarget,l=t.unhideGhostForTarget;if(n){var c=r||s;i();var d=n.changedTouches&&n.changedTouches.length?n.changedTouches[0]:n,f=document.elementFromPoint(d.clientX,d.clientY);l(),c&&!c.el.contains(f)&&(a("spill"),this.onSpill({dragEl:o,putSortable:r}))}};function tm(){}tm.prototype={startIndex:null,dragStart:function(t){var n=t.oldDraggableIndex;this.startIndex=n},onSpill:function(t){var n=t.dragEl,r=t.putSortable;this.sortable.captureAnimationState(),r&&r.captureAnimationState();var o=rs(this.sortable.el,this.startIndex,this.options);o?this.sortable.el.insertBefore(n,o):this.sortable.el.appendChild(n),this.sortable.animateAll(),r&&r.animateAll()},drop:Ry};An(tm,{pluginName:"revertOnSpill"});function nm(){}nm.prototype={onSpill:function(t){var n=t.dragEl,r=t.putSortable,o=r||this.sortable;o.captureAnimationState(),n.parentNode&&n.parentNode.removeChild(n),o.animateAll()},drop:Ry};An(nm,{pluginName:"removeOnSpill"});var Cn;function RS(){function e(){this.defaults={swapClass:"sortable-swap-highlight"}}return e.prototype={dragStart:function(n){var r=n.dragEl;Cn=r},dragOverValid:function(n){var r=n.completed,o=n.target,s=n.onMove,a=n.activeSortable,i=n.changed,l=n.cancel;if(a.options.swap){var c=this.sortable.el,d=this.options;if(o&&o!==c){var f=Cn;s(o)!==!1?(Ct(o,d.swapClass,!0),Cn=o):Cn=null,f&&f!==Cn&&Ct(f,d.swapClass,!1)}i(),r(!0),l()}},drop:function(n){var r=n.activeSortable,o=n.putSortable,s=n.dragEl,a=o||this.sortable,i=this.options;Cn&&Ct(Cn,i.swapClass,!1),Cn&&(i.swap||o&&o.options.swap)&&s!==Cn&&(a.captureAnimationState(),a!==r&&r.captureAnimationState(),LS(s,Cn),a.animateAll(),a!==r&&r.animateAll())},nulling:function(){Cn=null}},An(e,{pluginName:"swap",eventProperties:function(){return{swapItem:Cn}}})}function LS(e,t){var n=e.parentNode,r=t.parentNode,o,s;!n||!r||n.isEqualNode(t)||r.isEqualNode(e)||(o=Et(e),s=Et(t),n.isEqualNode(r)&&o<s&&s++,n.insertBefore(t,n.children[o]),r.insertBefore(e,r.children[s]))}var He=[],ln=[],ks,Dn,xs=!1,en=!1,Ao=!1,pt,Es,oi;function MS(){function e(t){for(var n in this)n.charAt(0)==="_"&&typeof this[n]=="function"&&(this[n]=this[n].bind(this));t.options.supportPointer?Xe(document,"pointerup",this._deselectMultiDrag):(Xe(document,"mouseup",this._deselectMultiDrag),Xe(document,"touchend",this._deselectMultiDrag)),Xe(document,"keydown",this._checkKeyDown),Xe(document,"keyup",this._checkKeyUp),this.defaults={selectedClass:"sortable-selected",multiDragKey:null,setData:function(o,s){var a="";He.length&&Dn===t?He.forEach(function(i,l){a+=(l?", ":"")+i.textContent}):a=s.textContent,o.setData("Text",a)}}}return e.prototype={multiDragKeyDown:!1,isMultiDrag:!1,delayStartGlobal:function(n){var r=n.dragEl;pt=r},delayEnded:function(){this.isMultiDrag=~He.indexOf(pt)},setupClone:function(n){var r=n.sortable,o=n.cancel;if(this.isMultiDrag){for(var s=0;s<He.length;s++)ln.push(em(He[s])),ln[s].sortableIndex=He[s].sortableIndex,ln[s].draggable=!1,ln[s].style["will-change"]="",Ct(ln[s],this.options.selectedClass,!1),He[s]===pt&&Ct(ln[s],this.options.chosenClass,!1);r._hideClone(),o()}},clone:function(n){var r=n.sortable,o=n.rootEl,s=n.dispatchSortableEvent,a=n.cancel;this.isMultiDrag&&(this.options.removeCloneOnHide||He.length&&Dn===r&&(xp(!0,o),s("clone"),a()))},showClone:function(n){var r=n.cloneNowShown,o=n.rootEl,s=n.cancel;this.isMultiDrag&&(xp(!1,o),ln.forEach(function(a){Se(a,"display","")}),r(),oi=!1,s())},hideClone:function(n){var r=this;n.sortable;var o=n.cloneNowHidden,s=n.cancel;this.isMultiDrag&&(ln.forEach(function(a){Se(a,"display","none"),r.options.removeCloneOnHide&&a.parentNode&&a.parentNode.removeChild(a)}),o(),oi=!0,s())},dragStartGlobal:function(n){n.sortable,!this.isMultiDrag&&Dn&&Dn.multiDrag._deselectMultiDrag(),He.forEach(function(r){r.sortableIndex=Et(r)}),He=He.sort(function(r,o){return r.sortableIndex-o.sortableIndex}),Ao=!0},dragStarted:function(n){var r=this,o=n.sortable;if(this.isMultiDrag){if(this.options.sort&&(o.captureAnimationState(),this.options.animation)){He.forEach(function(a){a!==pt&&Se(a,"position","absolute")});var s=yt(pt,!1,!0,!0);He.forEach(function(a){a!==pt&&bp(a,s)}),en=!0,xs=!0}o.animateAll(function(){en=!1,xs=!1,r.options.animation&&He.forEach(function(a){$u(a)}),r.options.sort&&si()})}},dragOver:function(n){var r=n.target,o=n.completed,s=n.cancel;en&&~He.indexOf(r)&&(o(!1),s())},revert:function(n){var r=n.fromSortable,o=n.rootEl,s=n.sortable,a=n.dragRect;He.length>1&&(He.forEach(function(i){s.addAnimationState({target:i,rect:en?yt(i):a}),$u(i),i.fromRect=a,r.removeAnimationState(i)}),en=!1,NS(!this.options.removeCloneOnHide,o))},dragOverCompleted:function(n){var r=n.sortable,o=n.isOwner,s=n.insertion,a=n.activeSortable,i=n.parentEl,l=n.putSortable,c=this.options;if(s){if(o&&a._hideClone(),xs=!1,c.animation&&He.length>1&&(en||!o&&!a.options.sort&&!l)){var d=yt(pt,!1,!0,!0);He.forEach(function(m){m!==pt&&(bp(m,d),i.appendChild(m))}),en=!0}if(!o)if(en||si(),He.length>1){var f=oi;a._showClone(r),a.options.animation&&!oi&&f&&ln.forEach(function(m){a.addAnimationState({target:m,rect:Es}),m.fromRect=Es,m.thisAnimationDuration=null})}else a._showClone(r)}},dragOverAnimationCapture:function(n){var r=n.dragRect,o=n.isOwner,s=n.activeSortable;if(He.forEach(function(i){i.thisAnimationDuration=null}),s.options.animation&&!o&&s.multiDrag.isMultiDrag){Es=An({},r);var a=po(pt,!0);Es.top-=a.f,Es.left-=a.e}},dragOverAnimationComplete:function(){en&&(en=!1,si())},drop:function(n){var r=n.originalEvent,o=n.rootEl,s=n.parentEl,a=n.sortable,i=n.dispatchSortableEvent,l=n.oldIndex,c=n.putSortable,d=c||this.sortable;if(r){var f=this.options,m=s.children;if(!Ao)if(f.multiDragKey&&!this.multiDragKeyDown&&this._deselectMultiDrag(),Ct(pt,f.selectedClass,!~He.indexOf(pt)),~He.indexOf(pt))He.splice(He.indexOf(pt),1),ks=null,Rs({sortable:a,rootEl:o,name:"deselect",targetEl:pt,originalEvt:r});else{if(He.push(pt),Rs({sortable:a,rootEl:o,name:"select",targetEl:pt,originalEvt:r}),r.shiftKey&&ks&&a.el.contains(ks)){var p=Et(ks),h=Et(pt);if(~p&&~h&&p!==h){var _,z;for(h>p?(z=p,_=h):(z=h,_=p+1);z<_;z++)~He.indexOf(m[z])||(Ct(m[z],f.selectedClass,!0),He.push(m[z]),Rs({sortable:a,rootEl:o,name:"select",targetEl:m[z],originalEvt:r}))}}else ks=pt;Dn=d}if(Ao&&this.isMultiDrag){if(en=!1,(s[Ht].options.sort||s!==o)&&He.length>1){var b=yt(pt),v=Et(pt,":not(."+this.options.selectedClass+")");if(!xs&&f.animation&&(pt.thisAnimationDuration=null),d.captureAnimationState(),!xs&&(f.animation&&(pt.fromRect=b,He.forEach(function(C){if(C.thisAnimationDuration=null,C!==pt){var x=en?yt(C):b;C.fromRect=x,d.addAnimationState({target:C,rect:x})}})),si(),He.forEach(function(C){m[v]?s.insertBefore(C,m[v]):s.appendChild(C),v++}),l===Et(pt))){var k=!1;He.forEach(function(C){if(C.sortableIndex!==Et(C)){k=!0;return}}),k&&i("update")}He.forEach(function(C){$u(C)}),d.animateAll()}Dn=d}(o===s||c&&c.lastPutMode!=="clone")&&ln.forEach(function(C){C.parentNode&&C.parentNode.removeChild(C)})}},nullingGlobal:function(){this.isMultiDrag=Ao=!1,ln.length=0},destroyGlobal:function(){this._deselectMultiDrag(),Ye(document,"pointerup",this._deselectMultiDrag),Ye(document,"mouseup",this._deselectMultiDrag),Ye(document,"touchend",this._deselectMultiDrag),Ye(document,"keydown",this._checkKeyDown),Ye(document,"keyup",this._checkKeyUp)},_deselectMultiDrag:function(n){if(!(typeof Ao<"u"&&Ao)&&Dn===this.sortable&&!(n&&Fn(n.target,this.options.draggable,this.sortable.el,!1))&&!(n&&n.button!==0))for(;He.length;){var r=He[0];Ct(r,this.options.selectedClass,!1),He.shift(),Rs({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)}},An(e,{pluginName:"multiDrag",utils:{select:function(n){var r=n.parentNode[Ht];!r||!r.options.multiDrag||~He.indexOf(n)||(Dn&&Dn!==r&&(Dn.multiDrag._deselectMultiDrag(),Dn=r),Ct(n,r.options.selectedClass,!0),He.push(n))},deselect:function(n){var r=n.parentNode[Ht],o=He.indexOf(n);!r||!r.options.multiDrag||!~o||(Ct(n,r.options.selectedClass,!1),He.splice(o,1))}},eventProperties:function(){var n=this,r=[],o=[];return He.forEach(function(s){r.push({multiDragElement:s,index:s.sortableIndex});var a;en&&s!==pt?a=-1:en?a=Et(s,":not(."+n.options.selectedClass+")"):a=Et(s),o.push({multiDragElement:s,index:a})}),{items:lS(He),clones:[].concat(ln),oldIndicies:r,newIndicies:o}},optionListeners:{multiDragKey:function(n){return n=n.toLowerCase(),n==="ctrl"?n="Control":n.length>1&&(n=n.charAt(0).toUpperCase()+n.substr(1)),n}}})}function NS(e,t){He.forEach(function(n,r){var o=t.children[n.sortableIndex+(e?Number(r):0)];o?t.insertBefore(n,o):t.appendChild(n)})}function xp(e,t){ln.forEach(function(n,r){var o=t.children[n.sortableIndex+(e?Number(r):0)];o?t.insertBefore(n,o):t.appendChild(n)})}function si(){He.forEach(function(e){e!==pt&&e.parentNode&&e.parentNode.removeChild(e)})}Re.mount(new FS);Re.mount(nm,tm);const BS=Object.freeze(Object.defineProperty({__proto__:null,MultiDrag:MS,Sortable:Re,Swap:RS,default:Re},Symbol.toStringTag,{value:"Module"})),VS=zy(BS);(function(e,t){(function(r,o){e.exports=o(xy,VS)})(typeof self<"u"?self:Zt,function(n,r){return function(o){var s={};function a(i){if(s[i])return s[i].exports;var l=s[i]={i,l:!1,exports:{}};return o[i].call(l.exports,l,l.exports,a),l.l=!0,l.exports}return a.m=o,a.c=s,a.d=function(i,l,c){a.o(i,l)||Object.defineProperty(i,l,{enumerable:!0,get:c})},a.r=function(i){typeof Symbol<"u"&&Symbol.toStringTag&&Object.defineProperty(i,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(i,"__esModule",{value:!0})},a.t=function(i,l){if(l&1&&(i=a(i)),l&8||l&4&&typeof i=="object"&&i&&i.__esModule)return i;var c=Object.create(null);if(a.r(c),Object.defineProperty(c,"default",{enumerable:!0,value:i}),l&2&&typeof i!="string")for(var d in i)a.d(c,d,(function(f){return i[f]}).bind(null,d));return c},a.n=function(i){var l=i&&i.__esModule?function(){return i.default}:function(){return i};return a.d(l,"a",l),l},a.o=function(i,l){return Object.prototype.hasOwnProperty.call(i,l)},a.p="",a(a.s="fb15")}({"00ee":function(o,s,a){var i=a("b622"),l=i("toStringTag"),c={};c[l]="z",o.exports=String(c)==="[object z]"},"0366":function(o,s,a){var i=a("1c0b");o.exports=function(l,c,d){if(i(l),c===void 0)return l;switch(d){case 0:return function(){return l.call(c)};case 1:return function(f){return l.call(c,f)};case 2:return function(f,m){return l.call(c,f,m)};case 3:return function(f,m,p){return l.call(c,f,m,p)}}return function(){return l.apply(c,arguments)}}},"057f":function(o,s,a){var i=a("fc6a"),l=a("241c").f,c={}.toString,d=typeof window=="object"&&window&&Object.getOwnPropertyNames?Object.getOwnPropertyNames(window):[],f=function(m){try{return l(m)}catch{return d.slice()}};o.exports.f=function(p){return d&&c.call(p)=="[object Window]"?f(p):l(i(p))}},"06cf":function(o,s,a){var i=a("83ab"),l=a("d1e7"),c=a("5c6c"),d=a("fc6a"),f=a("c04e"),m=a("5135"),p=a("0cfb"),h=Object.getOwnPropertyDescriptor;s.f=i?h:function(z,b){if(z=d(z),b=f(b,!0),p)try{return h(z,b)}catch{}if(m(z,b))return c(!l.f.call(z,b),z[b])}},"0cfb":function(o,s,a){var i=a("83ab"),l=a("d039"),c=a("cc12");o.exports=!i&&!l(function(){return Object.defineProperty(c("div"),"a",{get:function(){return 7}}).a!=7})},"13d5":function(o,s,a){var i=a("23e7"),l=a("d58f").left,c=a("a640"),d=a("ae40"),f=c("reduce"),m=d("reduce",{1:0});i({target:"Array",proto:!0,forced:!f||!m},{reduce:function(h){return l(this,h,arguments.length,arguments.length>1?arguments[1]:void 0)}})},"14c3":function(o,s,a){var i=a("c6b6"),l=a("9263");o.exports=function(c,d){var f=c.exec;if(typeof f=="function"){var m=f.call(c,d);if(typeof m!="object")throw TypeError("RegExp exec method returned something other than an Object or null");return m}if(i(c)!=="RegExp")throw TypeError("RegExp#exec called on incompatible receiver");return l.call(c,d)}},"159b":function(o,s,a){var i=a("da84"),l=a("fdbc"),c=a("17c2"),d=a("9112");for(var f in l){var m=i[f],p=m&&m.prototype;if(p&&p.forEach!==c)try{d(p,"forEach",c)}catch{p.forEach=c}}},"17c2":function(o,s,a){var i=a("b727").forEach,l=a("a640"),c=a("ae40"),d=l("forEach"),f=c("forEach");o.exports=!d||!f?function(p){return i(this,p,arguments.length>1?arguments[1]:void 0)}:[].forEach},"1be4":function(o,s,a){var i=a("d066");o.exports=i("document","documentElement")},"1c0b":function(o,s){o.exports=function(a){if(typeof a!="function")throw TypeError(String(a)+" is not a function");return a}},"1c7e":function(o,s,a){var i=a("b622"),l=i("iterator"),c=!1;try{var d=0,f={next:function(){return{done:!!d++}},return:function(){c=!0}};f[l]=function(){return this},Array.from(f,function(){throw 2})}catch{}o.exports=function(m,p){if(!p&&!c)return!1;var h=!1;try{var _={};_[l]=function(){return{next:function(){return{done:h=!0}}}},m(_)}catch{}return h}},"1d80":function(o,s){o.exports=function(a){if(a==null)throw TypeError("Can't call method on "+a);return a}},"1dde":function(o,s,a){var i=a("d039"),l=a("b622"),c=a("2d00"),d=l("species");o.exports=function(f){return c>=51||!i(function(){var m=[],p=m.constructor={};return p[d]=function(){return{foo:1}},m[f](Boolean).foo!==1})}},"23cb":function(o,s,a){var i=a("a691"),l=Math.max,c=Math.min;o.exports=function(d,f){var m=i(d);return m<0?l(m+f,0):c(m,f)}},"23e7":function(o,s,a){var i=a("da84"),l=a("06cf").f,c=a("9112"),d=a("6eeb"),f=a("ce4e"),m=a("e893"),p=a("94ca");o.exports=function(h,_){var z=h.target,b=h.global,v=h.stat,k,C,x,T,L,I;if(b?C=i:v?C=i[z]||f(z,{}):C=(i[z]||{}).prototype,C)for(x in _){if(L=_[x],h.noTargetGet?(I=l(C,x),T=I&&I.value):T=C[x],k=p(b?x:z+(v?".":"#")+x,h.forced),!k&&T!==void 0){if(typeof L==typeof T)continue;m(L,T)}(h.sham||T&&T.sham)&&c(L,"sham",!0),d(C,x,L,h)}}},"241c":function(o,s,a){var i=a("ca84"),l=a("7839"),c=l.concat("length","prototype");s.f=Object.getOwnPropertyNames||function(f){return i(f,c)}},"25f0":function(o,s,a){var i=a("6eeb"),l=a("825a"),c=a("d039"),d=a("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||_)&&i(RegExp.prototype,f,function(){var b=l(this),v=String(b.source),k=b.flags,C=String(k===void 0&&b instanceof RegExp&&!("flags"in m)?d.call(b):k);return"/"+v+"/"+C},{unsafe:!0})},"2ca0":function(o,s,a){var i=a("23e7"),l=a("06cf").f,c=a("50c4"),d=a("5a34"),f=a("1d80"),m=a("ab13"),p=a("c430"),h="".startsWith,_=Math.min,z=m("startsWith"),b=!p&&!z&&!!function(){var v=l(String.prototype,"startsWith");return v&&!v.writable}();i({target:"String",proto:!0,forced:!b&&!z},{startsWith:function(k){var C=String(f(this));d(k);var x=c(_(arguments.length>1?arguments[1]:void 0,C.length)),T=String(k);return h?h.call(C,T,x):C.slice(x,x+T.length)===T}})},"2d00":function(o,s,a){var i=a("da84"),l=a("342f"),c=i.process,d=c&&c.versions,f=d&&d.v8,m,p;f?(m=f.split("."),p=m[0]+m[1]):l&&(m=l.match(/Edge\/(\d+)/),(!m||m[1]>=74)&&(m=l.match(/Chrome\/(\d+)/),m&&(p=m[1]))),o.exports=p&&+p},"342f":function(o,s,a){var i=a("d066");o.exports=i("navigator","userAgent")||""},"35a1":function(o,s,a){var i=a("f5df"),l=a("3f8c"),c=a("b622"),d=c("iterator");o.exports=function(f){if(f!=null)return f[d]||f["@@iterator"]||l[i(f)]}},"37e8":function(o,s,a){var i=a("83ab"),l=a("9bf2"),c=a("825a"),d=a("df75");o.exports=i?Object.defineProperties:function(m,p){c(m);for(var h=d(p),_=h.length,z=0,b;_>z;)l.f(m,b=h[z++],p[b]);return m}},"3bbe":function(o,s,a){var i=a("861d");o.exports=function(l){if(!i(l)&&l!==null)throw TypeError("Can't set "+String(l)+" as a prototype");return l}},"3ca3":function(o,s,a){var i=a("6547").charAt,l=a("69f3"),c=a("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,z=h.index,b;return z>=_.length?{value:void 0,done:!0}:(b=i(_,z),h.index+=b.length,{value:b,done:!1})})},"3f8c":function(o,s){o.exports={}},4160:function(o,s,a){var i=a("23e7"),l=a("17c2");i({target:"Array",proto:!0,forced:[].forEach!=l},{forEach:l})},"428f":function(o,s,a){var i=a("da84");o.exports=i},"44ad":function(o,s,a){var i=a("d039"),l=a("c6b6"),c="".split;o.exports=i(function(){return!Object("z").propertyIsEnumerable(0)})?function(d){return l(d)=="String"?c.call(d,""):Object(d)}:Object},"44d2":function(o,s,a){var i=a("b622"),l=a("7c73"),c=a("9bf2"),d=i("unscopables"),f=Array.prototype;f[d]==null&&c.f(f,d,{configurable:!0,value:l(null)}),o.exports=function(m){f[d][m]=!0}},"44e7":function(o,s,a){var i=a("861d"),l=a("c6b6"),c=a("b622"),d=c("match");o.exports=function(f){var m;return i(f)&&((m=f[d])!==void 0?!!m:l(f)=="RegExp")}},4930:function(o,s,a){var i=a("d039");o.exports=!!Object.getOwnPropertySymbols&&!i(function(){return!String(Symbol())})},"4d64":function(o,s,a){var i=a("fc6a"),l=a("50c4"),c=a("23cb"),d=function(f){return function(m,p,h){var _=i(m),z=l(_.length),b=c(h,z),v;if(f&&p!=p){for(;z>b;)if(v=_[b++],v!=v)return!0}else for(;z>b;b++)if((f||b in _)&&_[b]===p)return f||b||0;return!f&&-1}};o.exports={includes:d(!0),indexOf:d(!1)}},"4de4":function(o,s,a){var i=a("23e7"),l=a("b727").filter,c=a("1dde"),d=a("ae40"),f=c("filter"),m=d("filter");i({target:"Array",proto:!0,forced:!f||!m},{filter:function(h){return l(this,h,arguments.length>1?arguments[1]:void 0)}})},"4df4":function(o,s,a){var i=a("0366"),l=a("7b0b"),c=a("9bdd"),d=a("e95a"),f=a("50c4"),m=a("8418"),p=a("35a1");o.exports=function(_){var z=l(_),b=typeof this=="function"?this:Array,v=arguments.length,k=v>1?arguments[1]:void 0,C=k!==void 0,x=p(z),T=0,L,I,D,U,Z,X;if(C&&(k=i(k,v>2?arguments[2]:void 0,2)),x!=null&&!(b==Array&&d(x)))for(U=x.call(z),Z=U.next,I=new b;!(D=Z.call(U)).done;T++)X=C?c(U,k,[D.value,T],!0):D.value,m(I,T,X);else for(L=f(z.length),I=new b(L);L>T;T++)X=C?k(z[T],T):z[T],m(I,T,X);return I.length=T,I}},"4fad":function(o,s,a){var i=a("23e7"),l=a("6f53").entries;i({target:"Object",stat:!0},{entries:function(d){return l(d)}})},"50c4":function(o,s,a){var i=a("a691"),l=Math.min;o.exports=function(c){return c>0?l(i(c),9007199254740991):0}},5135:function(o,s){var a={}.hasOwnProperty;o.exports=function(i,l){return a.call(i,l)}},5319:function(o,s,a){var i=a("d784"),l=a("825a"),c=a("7b0b"),d=a("50c4"),f=a("a691"),m=a("1d80"),p=a("8aa5"),h=a("14c3"),_=Math.max,z=Math.min,b=Math.floor,v=/\$([$&'`]|\d\d?|<[^>]*>)/g,k=/\$([$&'`]|\d\d?)/g,C=function(x){return x===void 0?x:String(x)};i("replace",2,function(x,T,L,I){var D=I.REGEXP_REPLACE_SUBSTITUTES_UNDEFINED_CAPTURE,U=I.REPLACE_KEEPS_$0,Z=D?"$":"$0";return[function(q,ze){var te=m(this),ae=q==null?void 0:q[x];return ae!==void 0?ae.call(q,te,ze):T.call(String(te),q,ze)},function(j,q){if(!D&&U||typeof q=="string"&&q.indexOf(Z)===-1){var ze=L(T,j,this,q);if(ze.done)return ze.value}var te=l(j),ae=String(this),ye=typeof q=="function";ye||(q=String(q));var je=te.global;if(je){var at=te.unicode;te.lastIndex=0}for(var ce=[];;){var W=h(te,ae);if(W===null||(ce.push(W),!je))break;var fe=String(W[0]);fe===""&&(te.lastIndex=p(ae,d(te.lastIndex),at))}for(var Ae="",Le=0,Ee=0;Ee<ce.length;Ee++){W=ce[Ee];for(var B=String(W[0]),le=_(z(f(W.index),ae.length),0),ne=[],pe=1;pe<W.length;pe++)ne.push(C(W[pe]));var Oe=W.groups;if(ye){var A=[B].concat(ne,le,ae);Oe!==void 0&&A.push(Oe);var O=String(q.apply(void 0,A))}else O=X(B,ae,le,ne,Oe,q);le>=Le&&(Ae+=ae.slice(Le,le)+O,Le=le+B.length)}return Ae+ae.slice(Le)}];function X(j,q,ze,te,ae,ye){var je=ze+j.length,at=te.length,ce=k;return ae!==void 0&&(ae=c(ae),ce=v),T.call(ye,ce,function(W,fe){var Ae;switch(fe.charAt(0)){case"$":return"$";case"&":return j;case"`":return q.slice(0,ze);case"'":return q.slice(je);case"<":Ae=ae[fe.slice(1,-1)];break;default:var Le=+fe;if(Le===0)return W;if(Le>at){var Ee=b(Le/10);return Ee===0?W:Ee<=at?te[Ee-1]===void 0?fe.charAt(1):te[Ee-1]+fe.charAt(1):W}Ae=te[Le-1]}return Ae===void 0?"":Ae})}})},5692:function(o,s,a){var i=a("c430"),l=a("c6cd");(o.exports=function(c,d){return l[c]||(l[c]=d!==void 0?d:{})})("versions",[]).push({version:"3.6.5",mode:i?"pure":"global",copyright:"© 2020 Denis Pushkarev (zloirock.ru)"})},"56ef":function(o,s,a){var i=a("d066"),l=a("241c"),c=a("7418"),d=a("825a");o.exports=i("Reflect","ownKeys")||function(m){var p=l.f(d(m)),h=c.f;return h?p.concat(h(m)):p}},"5a34":function(o,s,a){var i=a("44e7");o.exports=function(l){if(i(l))throw TypeError("The method doesn't accept regular expressions");return l}},"5c6c":function(o,s){o.exports=function(a,i){return{enumerable:!(a&1),configurable:!(a&2),writable:!(a&4),value:i}}},"5db7":function(o,s,a){var i=a("23e7"),l=a("a2bf"),c=a("7b0b"),d=a("50c4"),f=a("1c0b"),m=a("65f0");i({target:"Array",proto:!0},{flatMap:function(h){var _=c(this),z=d(_.length),b;return f(h),b=m(_,0),b.length=l(b,_,_,z,0,1,h,arguments.length>1?arguments[1]:void 0),b}})},6547:function(o,s,a){var i=a("a691"),l=a("1d80"),c=function(d){return function(f,m){var p=String(l(f)),h=i(m),_=p.length,z,b;return h<0||h>=_?d?"":void 0:(z=p.charCodeAt(h),z<55296||z>56319||h+1===_||(b=p.charCodeAt(h+1))<56320||b>57343?d?p.charAt(h):z:d?p.slice(h,h+2):(z-55296<<10)+(b-56320)+65536)}};o.exports={codeAt:c(!1),charAt:c(!0)}},"65f0":function(o,s,a){var i=a("861d"),l=a("e8b5"),c=a("b622"),d=c("species");o.exports=function(f,m){var p;return l(f)&&(p=f.constructor,typeof p=="function"&&(p===Array||l(p.prototype))?p=void 0:i(p)&&(p=p[d],p===null&&(p=void 0))),new(p===void 0?Array:p)(m===0?0:m)}},"69f3":function(o,s,a){var i=a("7f9a"),l=a("da84"),c=a("861d"),d=a("9112"),f=a("5135"),m=a("f772"),p=a("d012"),h=l.WeakMap,_,z,b,v=function(D){return b(D)?z(D):_(D,{})},k=function(D){return function(U){var Z;if(!c(U)||(Z=z(U)).type!==D)throw TypeError("Incompatible receiver, "+D+" required");return Z}};if(i){var C=new h,x=C.get,T=C.has,L=C.set;_=function(D,U){return L.call(C,D,U),U},z=function(D){return x.call(C,D)||{}},b=function(D){return T.call(C,D)}}else{var I=m("state");p[I]=!0,_=function(D,U){return d(D,I,U),U},z=function(D){return f(D,I)?D[I]:{}},b=function(D){return f(D,I)}}o.exports={set:_,get:z,has:b,enforce:v,getterFor:k}},"6eeb":function(o,s,a){var i=a("da84"),l=a("9112"),c=a("5135"),d=a("ce4e"),f=a("8925"),m=a("69f3"),p=m.get,h=m.enforce,_=String(String).split("String");(o.exports=function(z,b,v,k){var C=k?!!k.unsafe:!1,x=k?!!k.enumerable:!1,T=k?!!k.noTargetGet:!1;if(typeof v=="function"&&(typeof b=="string"&&!c(v,"name")&&l(v,"name",b),h(v).source=_.join(typeof b=="string"?b:"")),z===i){x?z[b]=v:d(b,v);return}else C?!T&&z[b]&&(x=!0):delete z[b];x?z[b]=v:l(z,b,v)})(Function.prototype,"toString",function(){return typeof this=="function"&&p(this).source||f(this)})},"6f53":function(o,s,a){var i=a("83ab"),l=a("df75"),c=a("fc6a"),d=a("d1e7").f,f=function(m){return function(p){for(var h=c(p),_=l(h),z=_.length,b=0,v=[],k;z>b;)k=_[b++],(!i||d.call(h,k))&&v.push(m?[k,h[k]]:h[k]);return v}};o.exports={entries:f(!0),values:f(!1)}},"73d9":function(o,s,a){var i=a("44d2");i("flatMap")},7418:function(o,s){s.f=Object.getOwnPropertySymbols},"746f":function(o,s,a){var i=a("428f"),l=a("5135"),c=a("e538"),d=a("9bf2").f;o.exports=function(f){var m=i.Symbol||(i.Symbol={});l(m,f)||d(m,f,{value:c.f(f)})}},7839:function(o,s){o.exports=["constructor","hasOwnProperty","isPrototypeOf","propertyIsEnumerable","toLocaleString","toString","valueOf"]},"7b0b":function(o,s,a){var i=a("1d80");o.exports=function(l){return Object(i(l))}},"7c73":function(o,s,a){var i=a("825a"),l=a("37e8"),c=a("7839"),d=a("d012"),f=a("1be4"),m=a("cc12"),p=a("f772"),h=">",_="<",z="prototype",b="script",v=p("IE_PROTO"),k=function(){},C=function(D){return _+b+h+D+_+"/"+b+h},x=function(D){D.write(C("")),D.close();var U=D.parentWindow.Object;return D=null,U},T=function(){var D=m("iframe"),U="java"+b+":",Z;return D.style.display="none",f.appendChild(D),D.src=String(U),Z=D.contentWindow.document,Z.open(),Z.write(C("document.F=Object")),Z.close(),Z.F},L,I=function(){try{L=document.domain&&new ActiveXObject("htmlfile")}catch{}I=L?x(L):T();for(var D=c.length;D--;)delete I[z][c[D]];return I()};d[v]=!0,o.exports=Object.create||function(U,Z){var X;return U!==null?(k[z]=i(U),X=new k,k[z]=null,X[v]=U):X=I(),Z===void 0?X:l(X,Z)}},"7dd0":function(o,s,a){var i=a("23e7"),l=a("9ed3"),c=a("e163"),d=a("d2bb"),f=a("d44e"),m=a("9112"),p=a("6eeb"),h=a("b622"),_=a("c430"),z=a("3f8c"),b=a("ae93"),v=b.IteratorPrototype,k=b.BUGGY_SAFARI_ITERATORS,C=h("iterator"),x="keys",T="values",L="entries",I=function(){return this};o.exports=function(D,U,Z,X,j,q,ze){l(Z,U,X);var te=function(Ee){if(Ee===j&&ce)return ce;if(!k&&Ee in je)return je[Ee];switch(Ee){case x:return function(){return new Z(this,Ee)};case T:return function(){return new Z(this,Ee)};case L:return function(){return new Z(this,Ee)}}return function(){return new Z(this)}},ae=U+" Iterator",ye=!1,je=D.prototype,at=je[C]||je["@@iterator"]||j&&je[j],ce=!k&&at||te(j),W=U=="Array"&&je.entries||at,fe,Ae,Le;if(W&&(fe=c(W.call(new D)),v!==Object.prototype&&fe.next&&(!_&&c(fe)!==v&&(d?d(fe,v):typeof fe[C]!="function"&&m(fe,C,I)),f(fe,ae,!0,!0),_&&(z[ae]=I))),j==T&&at&&at.name!==T&&(ye=!0,ce=function(){return at.call(this)}),(!_||ze)&&je[C]!==ce&&m(je,C,ce),z[U]=ce,j)if(Ae={values:te(T),keys:q?ce:te(x),entries:te(L)},ze)for(Le in Ae)(k||ye||!(Le in je))&&p(je,Le,Ae[Le]);else i({target:U,proto:!0,forced:k||ye},Ae);return Ae}},"7f9a":function(o,s,a){var i=a("da84"),l=a("8925"),c=i.WeakMap;o.exports=typeof c=="function"&&/native code/.test(l(c))},"825a":function(o,s,a){var i=a("861d");o.exports=function(l){if(!i(l))throw TypeError(String(l)+" is not an object");return l}},"83ab":function(o,s,a){var i=a("d039");o.exports=!i(function(){return Object.defineProperty({},1,{get:function(){return 7}})[1]!=7})},8418:function(o,s,a){var i=a("c04e"),l=a("9bf2"),c=a("5c6c");o.exports=function(d,f,m){var p=i(f);p in d?l.f(d,p,c(0,m)):d[p]=m}},"861d":function(o,s){o.exports=function(a){return typeof a=="object"?a!==null:typeof a=="function"}},8875:function(o,s,a){var i,l,c;(function(d,f){l=[],i=f,c=typeof i=="function"?i.apply(s,l):i,c!==void 0&&(o.exports=c)})(typeof self<"u"?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(L){var m=/.*at [^(]*\((.*):(.+):(.+)\)$/ig,p=/@([^@]*):(\d+):(\d+)\s*$/ig,h=m.exec(L.stack)||p.exec(L.stack),_=h&&h[1]||!1,z=h&&h[2]||!1,b=document.location.href.replace(document.location.hash,""),v,k,C,x=document.getElementsByTagName("script");_===b&&(v=document.documentElement.outerHTML,k=new RegExp("(?:[^\\n]+?\\n){0,"+(z-2)+"}[^<]*<script>([\\d\\D]*?)<\\/script>[\\d\\D]*","i"),C=v.replace(k,"$1").trim());for(var T=0;T<x.length;T++)if(x[T].readyState==="interactive"||x[T].src===_||_===b&&x[T].innerHTML&&x[T].innerHTML.trim()===C)return x[T];return null}}return d})},8925:function(o,s,a){var i=a("c6cd"),l=Function.toString;typeof i.inspectSource!="function"&&(i.inspectSource=function(c){return l.call(c)}),o.exports=i.inspectSource},"8aa5":function(o,s,a){var i=a("6547").charAt;o.exports=function(l,c,d){return c+(d?i(l,c).length:1)}},"8bbf":function(o,s){o.exports=n},"90e3":function(o,s){var a=0,i=Math.random();o.exports=function(l){return"Symbol("+String(l===void 0?"":l)+")_"+(++a+i).toString(36)}},9112:function(o,s,a){var i=a("83ab"),l=a("9bf2"),c=a("5c6c");o.exports=i?function(d,f,m){return l.f(d,f,c(1,m))}:function(d,f,m){return d[f]=m,d}},9263:function(o,s,a){var i=a("ad6d"),l=a("9f7f"),c=RegExp.prototype.exec,d=String.prototype.replace,f=c,m=function(){var z=/a/,b=/b*/g;return c.call(z,"a"),c.call(b,"a"),z.lastIndex!==0||b.lastIndex!==0}(),p=l.UNSUPPORTED_Y||l.BROKEN_CARET,h=/()??/.exec("")[1]!==void 0,_=m||h||p;_&&(f=function(b){var v=this,k,C,x,T,L=p&&v.sticky,I=i.call(v),D=v.source,U=0,Z=b;return L&&(I=I.replace("y",""),I.indexOf("g")===-1&&(I+="g"),Z=String(b).slice(v.lastIndex),v.lastIndex>0&&(!v.multiline||v.multiline&&b[v.lastIndex-1]!==`
`)&&(D="(?: "+D+")",Z=" "+Z,U++),C=new RegExp("^(?:"+D+")",I)),h&&(C=new RegExp("^"+D+"$(?!\\s)",I)),m&&(k=v.lastIndex),x=c.call(L?C:v,Z),L?x?(x.input=x.input.slice(U),x[0]=x[0].slice(U),x.index=v.lastIndex,v.lastIndex+=x[0].length):v.lastIndex=0:m&&x&&(v.lastIndex=v.global?x.index+x[0].length:k),h&&x&&x.length>1&&d.call(x[0],C,function(){for(T=1;T<arguments.length-2;T++)arguments[T]===void 0&&(x[T]=void 0)}),x}),o.exports=f},"94ca":function(o,s,a){var i=a("d039"),l=/#|\.prototype\./,c=function(h,_){var z=f[d(h)];return z==p?!0:z==m?!1:typeof _=="function"?i(_):!!_},d=c.normalize=function(h){return String(h).replace(l,".").toLowerCase()},f=c.data={},m=c.NATIVE="N",p=c.POLYFILL="P";o.exports=c},"99af":function(o,s,a){var i=a("23e7"),l=a("d039"),c=a("e8b5"),d=a("861d"),f=a("7b0b"),m=a("50c4"),p=a("8418"),h=a("65f0"),_=a("1dde"),z=a("b622"),b=a("2d00"),v=z("isConcatSpreadable"),k=9007199254740991,C="Maximum allowed index exceeded",x=b>=51||!l(function(){var D=[];return D[v]=!1,D.concat()[0]!==D}),T=_("concat"),L=function(D){if(!d(D))return!1;var U=D[v];return U!==void 0?!!U:c(D)},I=!x||!T;i({target:"Array",proto:!0,forced:I},{concat:function(U){var Z=f(this),X=h(Z,0),j=0,q,ze,te,ae,ye;for(q=-1,te=arguments.length;q<te;q++)if(ye=q===-1?Z:arguments[q],L(ye)){if(ae=m(ye.length),j+ae>k)throw TypeError(C);for(ze=0;ze<ae;ze++,j++)ze in ye&&p(X,j,ye[ze])}else{if(j>=k)throw TypeError(C);p(X,j++,ye)}return X.length=j,X}})},"9bdd":function(o,s,a){var i=a("825a");o.exports=function(l,c,d,f){try{return f?c(i(d)[0],d[1]):c(d)}catch(p){var m=l.return;throw m!==void 0&&i(m.call(l)),p}}},"9bf2":function(o,s,a){var i=a("83ab"),l=a("0cfb"),c=a("825a"),d=a("c04e"),f=Object.defineProperty;s.f=i?f:function(p,h,_){if(c(p),h=d(h,!0),c(_),l)try{return f(p,h,_)}catch{}if("get"in _||"set"in _)throw TypeError("Accessors not supported");return"value"in _&&(p[h]=_.value),p}},"9ed3":function(o,s,a){var i=a("ae93").IteratorPrototype,l=a("7c73"),c=a("5c6c"),d=a("d44e"),f=a("3f8c"),m=function(){return this};o.exports=function(p,h,_){var z=h+" Iterator";return p.prototype=l(i,{next:c(1,_)}),d(p,z,!1,!0),f[z]=m,p}},"9f7f":function(o,s,a){var i=a("d039");function l(c,d){return RegExp(c,d)}s.UNSUPPORTED_Y=i(function(){var c=l("a","y");return c.lastIndex=2,c.exec("abcd")!=null}),s.BROKEN_CARET=i(function(){var c=l("^r","gy");return c.lastIndex=2,c.exec("str")!=null})},a2bf:function(o,s,a){var i=a("e8b5"),l=a("50c4"),c=a("0366"),d=function(f,m,p,h,_,z,b,v){for(var k=_,C=0,x=b?c(b,v,3):!1,T;C<h;){if(C in p){if(T=x?x(p[C],C,m):p[C],z>0&&i(T))k=d(f,m,T,l(T.length),k,z-1)-1;else{if(k>=9007199254740991)throw TypeError("Exceed the acceptable array length");f[k]=T}k++}C++}return k};o.exports=d},a352:function(o,s){o.exports=r},a434:function(o,s,a){var i=a("23e7"),l=a("23cb"),c=a("a691"),d=a("50c4"),f=a("7b0b"),m=a("65f0"),p=a("8418"),h=a("1dde"),_=a("ae40"),z=h("splice"),b=_("splice",{ACCESSORS:!0,0:0,1:2}),v=Math.max,k=Math.min,C=9007199254740991,x="Maximum allowed length exceeded";i({target:"Array",proto:!0,forced:!z||!b},{splice:function(L,I){var D=f(this),U=d(D.length),Z=l(L,U),X=arguments.length,j,q,ze,te,ae,ye;if(X===0?j=q=0:X===1?(j=0,q=U-Z):(j=X-2,q=k(v(c(I),0),U-Z)),U+j-q>C)throw TypeError(x);for(ze=m(D,q),te=0;te<q;te++)ae=Z+te,ae in D&&p(ze,te,D[ae]);if(ze.length=q,j<q){for(te=Z;te<U-q;te++)ae=te+q,ye=te+j,ae in D?D[ye]=D[ae]:delete D[ye];for(te=U;te>U-q+j;te--)delete D[te-1]}else if(j>q)for(te=U-q;te>Z;te--)ae=te+q-1,ye=te+j-1,ae in D?D[ye]=D[ae]:delete D[ye];for(te=0;te<j;te++)D[te+Z]=arguments[te+2];return D.length=U-q+j,ze}})},a4d3:function(o,s,a){var i=a("23e7"),l=a("da84"),c=a("d066"),d=a("c430"),f=a("83ab"),m=a("4930"),p=a("fdbf"),h=a("d039"),_=a("5135"),z=a("e8b5"),b=a("861d"),v=a("825a"),k=a("7b0b"),C=a("fc6a"),x=a("c04e"),T=a("5c6c"),L=a("7c73"),I=a("df75"),D=a("241c"),U=a("057f"),Z=a("7418"),X=a("06cf"),j=a("9bf2"),q=a("d1e7"),ze=a("9112"),te=a("6eeb"),ae=a("5692"),ye=a("f772"),je=a("d012"),at=a("90e3"),ce=a("b622"),W=a("e538"),fe=a("746f"),Ae=a("d44e"),Le=a("69f3"),Ee=a("b727").forEach,B=ye("hidden"),le="Symbol",ne="prototype",pe=ce("toPrimitive"),Oe=Le.set,A=Le.getterFor(le),O=Object[ne],P=l.Symbol,K=c("JSON","stringify"),J=X.f,ee=j.f,de=U.f,ie=q.f,se=ae("symbols"),Y=ae("op-symbols"),R=ae("string-to-symbol-registry"),V=ae("symbol-to-string-registry"),ge=ae("wks"),Ce=l.QObject,Fe=!Ce||!Ce[ne]||!Ce[ne].findChild,Ue=f&&h(function(){return L(ee({},"a",{get:function(){return ee(this,"a",{value:7}).a}})).a!=7})?function(xe,ue,Ie){var Ze=J(O,ue);Ze&&delete O[ue],ee(xe,ue,Ie),Ze&&xe!==O&&ee(O,ue,Ze)}:ee,Be=function(xe,ue){var Ie=se[xe]=L(P[ne]);return Oe(Ie,{type:le,tag:xe,description:ue}),f||(Ie.description=ue),Ie},F=p?function(xe){return typeof xe=="symbol"}:function(xe){return Object(xe)instanceof P},M=function(ue,Ie,Ze){ue===O&&M(Y,Ie,Ze),v(ue);var Qe=x(Ie,!0);return v(Ze),_(se,Qe)?(Ze.enumerable?(_(ue,B)&&ue[B][Qe]&&(ue[B][Qe]=!1),Ze=L(Ze,{enumerable:T(0,!1)})):(_(ue,B)||ee(ue,B,T(1,{})),ue[B][Qe]=!0),Ue(ue,Qe,Ze)):ee(ue,Qe,Ze)},G=function(ue,Ie){v(ue);var Ze=C(Ie),Qe=I(Ze).concat(Ve(Ze));return Ee(Qe,function(Lt){(!f||ve.call(Ze,Lt))&&M(ue,Lt,Ze[Lt])}),ue},re=function(ue,Ie){return Ie===void 0?L(ue):G(L(ue),Ie)},ve=function(ue){var Ie=x(ue,!0),Ze=ie.call(this,Ie);return this===O&&_(se,Ie)&&!_(Y,Ie)?!1:Ze||!_(this,Ie)||!_(se,Ie)||_(this,B)&&this[B][Ie]?Ze:!0},Pe=function(ue,Ie){var Ze=C(ue),Qe=x(Ie,!0);if(!(Ze===O&&_(se,Qe)&&!_(Y,Qe))){var Lt=J(Ze,Qe);return Lt&&_(se,Qe)&&!(_(Ze,B)&&Ze[B][Qe])&&(Lt.enumerable=!0),Lt}},$e=function(ue){var Ie=de(C(ue)),Ze=[];return Ee(Ie,function(Qe){!_(se,Qe)&&!_(je,Qe)&&Ze.push(Qe)}),Ze},Ve=function(ue){var Ie=ue===O,Ze=de(Ie?Y:C(ue)),Qe=[];return Ee(Ze,function(Lt){_(se,Lt)&&(!Ie||_(O,Lt))&&Qe.push(se[Lt])}),Qe};if(m||(P=function(){if(this instanceof P)throw TypeError("Symbol is not a constructor");var ue=!arguments.length||arguments[0]===void 0?void 0:String(arguments[0]),Ie=at(ue),Ze=function(Qe){this===O&&Ze.call(Y,Qe),_(this,B)&&_(this[B],Ie)&&(this[B][Ie]=!1),Ue(this,Ie,T(1,Qe))};return f&&Fe&&Ue(O,Ie,{configurable:!0,set:Ze}),Be(Ie,ue)},te(P[ne],"toString",function(){return A(this).tag}),te(P,"withoutSetter",function(xe){return Be(at(xe),xe)}),q.f=ve,j.f=M,X.f=Pe,D.f=U.f=$e,Z.f=Ve,W.f=function(xe){return Be(ce(xe),xe)},f&&(ee(P[ne],"description",{configurable:!0,get:function(){return A(this).description}}),d||te(O,"propertyIsEnumerable",ve,{unsafe:!0}))),i({global:!0,wrap:!0,forced:!m,sham:!m},{Symbol:P}),Ee(I(ge),function(xe){fe(xe)}),i({target:le,stat:!0,forced:!m},{for:function(xe){var ue=String(xe);if(_(R,ue))return R[ue];var Ie=P(ue);return R[ue]=Ie,V[Ie]=ue,Ie},keyFor:function(ue){if(!F(ue))throw TypeError(ue+" is not a symbol");if(_(V,ue))return V[ue]},useSetter:function(){Fe=!0},useSimple:function(){Fe=!1}}),i({target:"Object",stat:!0,forced:!m,sham:!f},{create:re,defineProperty:M,defineProperties:G,getOwnPropertyDescriptor:Pe}),i({target:"Object",stat:!0,forced:!m},{getOwnPropertyNames:$e,getOwnPropertySymbols:Ve}),i({target:"Object",stat:!0,forced:h(function(){Z.f(1)})},{getOwnPropertySymbols:function(ue){return Z.f(k(ue))}}),K){var Ge=!m||h(function(){var xe=P();return K([xe])!="[null]"||K({a:xe})!="{}"||K(Object(xe))!="{}"});i({target:"JSON",stat:!0,forced:Ge},{stringify:function(ue,Ie,Ze){for(var Qe=[ue],Lt=1,ys;arguments.length>Lt;)Qe.push(arguments[Lt++]);if(ys=Ie,!(!b(Ie)&&ue===void 0||F(ue)))return z(Ie)||(Ie=function(Nb,Ba){if(typeof ys=="function"&&(Ba=ys.call(this,Nb,Ba)),!F(Ba))return Ba}),Qe[1]=Ie,K.apply(null,Qe)}})}P[ne][pe]||ze(P[ne],pe,P[ne].valueOf),Ae(P,le),je[B]=!0},a630:function(o,s,a){var i=a("23e7"),l=a("4df4"),c=a("1c7e"),d=!c(function(f){Array.from(f)});i({target:"Array",stat:!0,forced:d},{from:l})},a640:function(o,s,a){var i=a("d039");o.exports=function(l,c){var d=[][l];return!!d&&i(function(){d.call(null,c||function(){throw 1},1)})}},a691:function(o,s){var a=Math.ceil,i=Math.floor;o.exports=function(l){return isNaN(l=+l)?0:(l>0?i:a)(l)}},ab13:function(o,s,a){var i=a("b622"),l=i("match");o.exports=function(c){var d=/./;try{"/./"[c](d)}catch{try{return d[l]=!1,"/./"[c](d)}catch{}}return!1}},ac1f:function(o,s,a){var i=a("23e7"),l=a("9263");i({target:"RegExp",proto:!0,forced:/./.exec!==l},{exec:l})},ad6d:function(o,s,a){var i=a("825a");o.exports=function(){var l=i(this),c="";return l.global&&(c+="g"),l.ignoreCase&&(c+="i"),l.multiline&&(c+="m"),l.dotAll&&(c+="s"),l.unicode&&(c+="u"),l.sticky&&(c+="y"),c}},ae40:function(o,s,a){var i=a("83ab"),l=a("d039"),c=a("5135"),d=Object.defineProperty,f={},m=function(p){throw p};o.exports=function(p,h){if(c(f,p))return f[p];h||(h={});var _=[][p],z=c(h,"ACCESSORS")?h.ACCESSORS:!1,b=c(h,0)?h[0]:m,v=c(h,1)?h[1]:void 0;return f[p]=!!_&&!l(function(){if(z&&!i)return!0;var k={length:-1};z?d(k,1,{enumerable:!0,get:m}):k[1]=1,_.call(k,b,v)})}},ae93:function(o,s,a){var i=a("e163"),l=a("9112"),c=a("5135"),d=a("b622"),f=a("c430"),m=d("iterator"),p=!1,h=function(){return this},_,z,b;[].keys&&(b=[].keys(),"next"in b?(z=i(i(b)),z!==Object.prototype&&(_=z)):p=!0),_==null&&(_={}),!f&&!c(_,m)&&l(_,m,h),o.exports={IteratorPrototype:_,BUGGY_SAFARI_ITERATORS:p}},b041:function(o,s,a){var i=a("00ee"),l=a("f5df");o.exports=i?{}.toString:function(){return"[object "+l(this)+"]"}},b0c0:function(o,s,a){var i=a("83ab"),l=a("9bf2").f,c=Function.prototype,d=c.toString,f=/^\s*function ([^ (]*)/,m="name";i&&!(m in c)&&l(c,m,{configurable:!0,get:function(){try{return d.call(this).match(f)[1]}catch{return""}}})},b622:function(o,s,a){var i=a("da84"),l=a("5692"),c=a("5135"),d=a("90e3"),f=a("4930"),m=a("fdbf"),p=l("wks"),h=i.Symbol,_=m?h:h&&h.withoutSetter||d;o.exports=function(z){return c(p,z)||(f&&c(h,z)?p[z]=h[z]:p[z]=_("Symbol."+z)),p[z]}},b64b:function(o,s,a){var i=a("23e7"),l=a("7b0b"),c=a("df75"),d=a("d039"),f=d(function(){c(1)});i({target:"Object",stat:!0,forced:f},{keys:function(p){return c(l(p))}})},b727:function(o,s,a){var i=a("0366"),l=a("44ad"),c=a("7b0b"),d=a("50c4"),f=a("65f0"),m=[].push,p=function(h){var _=h==1,z=h==2,b=h==3,v=h==4,k=h==6,C=h==5||k;return function(x,T,L,I){for(var D=c(x),U=l(D),Z=i(T,L,3),X=d(U.length),j=0,q=I||f,ze=_?q(x,X):z?q(x,0):void 0,te,ae;X>j;j++)if((C||j in U)&&(te=U[j],ae=Z(te,j,D),h)){if(_)ze[j]=ae;else if(ae)switch(h){case 3:return!0;case 5:return te;case 6:return j;case 2:m.call(ze,te)}else if(v)return!1}return k?-1:b||v?v:ze}};o.exports={forEach:p(0),map:p(1),filter:p(2),some:p(3),every:p(4),find:p(5),findIndex:p(6)}},c04e:function(o,s,a){var i=a("861d");o.exports=function(l,c){if(!i(l))return l;var d,f;if(c&&typeof(d=l.toString)=="function"&&!i(f=d.call(l))||typeof(d=l.valueOf)=="function"&&!i(f=d.call(l))||!c&&typeof(d=l.toString)=="function"&&!i(f=d.call(l)))return f;throw TypeError("Can't convert object to primitive value")}},c430:function(o,s){o.exports=!1},c6b6:function(o,s){var a={}.toString;o.exports=function(i){return a.call(i).slice(8,-1)}},c6cd:function(o,s,a){var i=a("da84"),l=a("ce4e"),c="__core-js_shared__",d=i[c]||l(c,{});o.exports=d},c740:function(o,s,a){var i=a("23e7"),l=a("b727").findIndex,c=a("44d2"),d=a("ae40"),f="findIndex",m=!0,p=d(f);f in[]&&Array(1)[f](function(){m=!1}),i({target:"Array",proto:!0,forced:m||!p},{findIndex:function(_){return l(this,_,arguments.length>1?arguments[1]:void 0)}}),c(f)},c8ba:function(o,s){var a;a=function(){return this}();try{a=a||new Function("return this")()}catch{typeof window=="object"&&(a=window)}o.exports=a},c975:function(o,s,a){var i=a("23e7"),l=a("4d64").indexOf,c=a("a640"),d=a("ae40"),f=[].indexOf,m=!!f&&1/[1].indexOf(1,-0)<0,p=c("indexOf"),h=d("indexOf",{ACCESSORS:!0,1:0});i({target:"Array",proto:!0,forced:m||!p||!h},{indexOf:function(z){return m?f.apply(this,arguments)||0:l(this,z,arguments.length>1?arguments[1]:void 0)}})},ca84:function(o,s,a){var i=a("5135"),l=a("fc6a"),c=a("4d64").indexOf,d=a("d012");o.exports=function(f,m){var p=l(f),h=0,_=[],z;for(z in p)!i(d,z)&&i(p,z)&&_.push(z);for(;m.length>h;)i(p,z=m[h++])&&(~c(_,z)||_.push(z));return _}},caad:function(o,s,a){var i=a("23e7"),l=a("4d64").includes,c=a("44d2"),d=a("ae40"),f=d("indexOf",{ACCESSORS:!0,1:0});i({target:"Array",proto:!0,forced:!f},{includes:function(p){return l(this,p,arguments.length>1?arguments[1]:void 0)}}),c("includes")},cc12:function(o,s,a){var i=a("da84"),l=a("861d"),c=i.document,d=l(c)&&l(c.createElement);o.exports=function(f){return d?c.createElement(f):{}}},ce4e:function(o,s,a){var i=a("da84"),l=a("9112");o.exports=function(c,d){try{l(i,c,d)}catch{i[c]=d}return d}},d012:function(o,s){o.exports={}},d039:function(o,s){o.exports=function(a){try{return!!a()}catch{return!0}}},d066:function(o,s,a){var i=a("428f"),l=a("da84"),c=function(d){return typeof d=="function"?d:void 0};o.exports=function(d,f){return arguments.length<2?c(i[d])||c(l[d]):i[d]&&i[d][f]||l[d]&&l[d][f]}},d1e7:function(o,s,a){var i={}.propertyIsEnumerable,l=Object.getOwnPropertyDescriptor,c=l&&!i.call({1:2},1);s.f=c?function(f){var m=l(this,f);return!!m&&m.enumerable}:i},d28b:function(o,s,a){var i=a("746f");i("iterator")},d2bb:function(o,s,a){var i=a("825a"),l=a("3bbe");o.exports=Object.setPrototypeOf||("__proto__"in{}?function(){var c=!1,d={},f;try{f=Object.getOwnPropertyDescriptor(Object.prototype,"__proto__").set,f.call(d,[]),c=d instanceof Array}catch{}return function(p,h){return i(p),l(h),c?f.call(p,h):p.__proto__=h,p}}():void 0)},d3b7:function(o,s,a){var i=a("00ee"),l=a("6eeb"),c=a("b041");i||l(Object.prototype,"toString",c,{unsafe:!0})},d44e:function(o,s,a){var i=a("9bf2").f,l=a("5135"),c=a("b622"),d=c("toStringTag");o.exports=function(f,m,p){f&&!l(f=p?f:f.prototype,d)&&i(f,d,{configurable:!0,value:m})}},d58f:function(o,s,a){var i=a("1c0b"),l=a("7b0b"),c=a("44ad"),d=a("50c4"),f=function(m){return function(p,h,_,z){i(h);var b=l(p),v=c(b),k=d(b.length),C=m?k-1:0,x=m?-1:1;if(_<2)for(;;){if(C in v){z=v[C],C+=x;break}if(C+=x,m?C<0:k<=C)throw TypeError("Reduce of empty array with no initial value")}for(;m?C>=0:k>C;C+=x)C in v&&(z=h(z,v[C],C,b));return z}};o.exports={left:f(!1),right:f(!0)}},d784:function(o,s,a){a("ac1f");var i=a("6eeb"),l=a("d039"),c=a("b622"),d=a("9263"),f=a("9112"),m=c("species"),p=!l(function(){var v=/./;return v.exec=function(){var k=[];return k.groups={a:"7"},k},"".replace(v,"$<a>")!=="7"}),h=function(){return"a".replace(/./,"$0")==="$0"}(),_=c("replace"),z=function(){return/./[_]?/./[_]("a","$0")==="":!1}(),b=!l(function(){var v=/(?:)/,k=v.exec;v.exec=function(){return k.apply(this,arguments)};var C="ab".split(v);return C.length!==2||C[0]!=="a"||C[1]!=="b"});o.exports=function(v,k,C,x){var T=c(v),L=!l(function(){var j={};return j[T]=function(){return 7},""[v](j)!=7}),I=L&&!l(function(){var j=!1,q=/a/;return v==="split"&&(q={},q.constructor={},q.constructor[m]=function(){return q},q.flags="",q[T]=/./[T]),q.exec=function(){return j=!0,null},q[T](""),!j});if(!L||!I||v==="replace"&&!(p&&h&&!z)||v==="split"&&!b){var D=/./[T],U=C(T,""[v],function(j,q,ze,te,ae){return q.exec===d?L&&!ae?{done:!0,value:D.call(q,ze,te)}:{done:!0,value:j.call(ze,q,te)}:{done:!1}},{REPLACE_KEEPS_$0:h,REGEXP_REPLACE_SUBSTITUTES_UNDEFINED_CAPTURE:z}),Z=U[0],X=U[1];i(String.prototype,v,Z),i(RegExp.prototype,T,k==2?function(j,q){return X.call(j,this,q)}:function(j){return X.call(j,this)})}x&&f(RegExp.prototype[T],"sham",!0)}},d81d:function(o,s,a){var i=a("23e7"),l=a("b727").map,c=a("1dde"),d=a("ae40"),f=c("map"),m=d("map");i({target:"Array",proto:!0,forced:!f||!m},{map:function(h){return l(this,h,arguments.length>1?arguments[1]:void 0)}})},da84:function(o,s,a){(function(i){var l=function(c){return c&&c.Math==Math&&c};o.exports=l(typeof globalThis=="object"&&globalThis)||l(typeof window=="object"&&window)||l(typeof self=="object"&&self)||l(typeof i=="object"&&i)||Function("return this")()}).call(this,a("c8ba"))},dbb4:function(o,s,a){var i=a("23e7"),l=a("83ab"),c=a("56ef"),d=a("fc6a"),f=a("06cf"),m=a("8418");i({target:"Object",stat:!0,sham:!l},{getOwnPropertyDescriptors:function(h){for(var _=d(h),z=f.f,b=c(_),v={},k=0,C,x;b.length>k;)x=z(_,C=b[k++]),x!==void 0&&m(v,C,x);return v}})},dbf1:function(o,s,a){(function(i){a.d(s,"a",function(){return c});function l(){return typeof window<"u"?window.console:i.console}var c=l()}).call(this,a("c8ba"))},ddb0:function(o,s,a){var i=a("da84"),l=a("fdbc"),c=a("e260"),d=a("9112"),f=a("b622"),m=f("iterator"),p=f("toStringTag"),h=c.values;for(var _ in l){var z=i[_],b=z&&z.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 v in c)if(b[v]!==c[v])try{d(b,v,c[v])}catch{b[v]=c[v]}}}}},df75:function(o,s,a){var i=a("ca84"),l=a("7839");o.exports=Object.keys||function(d){return i(d,l)}},e01a:function(o,s,a){var i=a("23e7"),l=a("83ab"),c=a("da84"),d=a("5135"),f=a("861d"),m=a("9bf2").f,p=a("e893"),h=c.Symbol;if(l&&typeof h=="function"&&(!("description"in h.prototype)||h().description!==void 0)){var _={},z=function(){var T=arguments.length<1||arguments[0]===void 0?void 0:String(arguments[0]),L=this instanceof z?new h(T):T===void 0?h():h(T);return T===""&&(_[L]=!0),L};p(z,h);var b=z.prototype=h.prototype;b.constructor=z;var v=b.toString,k=String(h("test"))=="Symbol(test)",C=/^Symbol\((.*)\)[^)]+$/;m(b,"description",{configurable:!0,get:function(){var T=f(this)?this.valueOf():this,L=v.call(T);if(d(_,T))return"";var I=k?L.slice(7,-1):L.replace(C,"$1");return I===""?void 0:I}}),i({global:!0,forced:!0},{Symbol:z})}},e163:function(o,s,a){var i=a("5135"),l=a("7b0b"),c=a("f772"),d=a("e177"),f=c("IE_PROTO"),m=Object.prototype;o.exports=d?Object.getPrototypeOf:function(p){return p=l(p),i(p,f)?p[f]:typeof p.constructor=="function"&&p instanceof p.constructor?p.constructor.prototype:p instanceof Object?m:null}},e177:function(o,s,a){var i=a("d039");o.exports=!i(function(){function l(){}return l.prototype.constructor=null,Object.getPrototypeOf(new l)!==l.prototype})},e260:function(o,s,a){var i=a("fc6a"),l=a("44d2"),c=a("3f8c"),d=a("69f3"),f=a("7dd0"),m="Array Iterator",p=d.set,h=d.getterFor(m);o.exports=f(Array,"Array",function(_,z){p(this,{type:m,target:i(_),index:0,kind:z})},function(){var _=h(this),z=_.target,b=_.kind,v=_.index++;return!z||v>=z.length?(_.target=void 0,{value:void 0,done:!0}):b=="keys"?{value:v,done:!1}:b=="values"?{value:z[v],done:!1}:{value:[v,z[v]],done:!1}},"values"),c.Arguments=c.Array,l("keys"),l("values"),l("entries")},e439:function(o,s,a){var i=a("23e7"),l=a("d039"),c=a("fc6a"),d=a("06cf").f,f=a("83ab"),m=l(function(){d(1)}),p=!f||m;i({target:"Object",stat:!0,forced:p,sham:!f},{getOwnPropertyDescriptor:function(_,z){return d(c(_),z)}})},e538:function(o,s,a){var i=a("b622");s.f=i},e893:function(o,s,a){var i=a("5135"),l=a("56ef"),c=a("06cf"),d=a("9bf2");o.exports=function(f,m){for(var p=l(m),h=d.f,_=c.f,z=0;z<p.length;z++){var b=p[z];i(f,b)||h(f,b,_(m,b))}}},e8b5:function(o,s,a){var i=a("c6b6");o.exports=Array.isArray||function(c){return i(c)=="Array"}},e95a:function(o,s,a){var i=a("b622"),l=a("3f8c"),c=i("iterator"),d=Array.prototype;o.exports=function(f){return f!==void 0&&(l.Array===f||d[c]===f)}},f5df:function(o,s,a){var i=a("00ee"),l=a("c6b6"),c=a("b622"),d=c("toStringTag"),f=l(function(){return arguments}())=="Arguments",m=function(p,h){try{return p[h]}catch{}};o.exports=i?l:function(p){var h,_,z;return p===void 0?"Undefined":p===null?"Null":typeof(_=m(h=Object(p),d))=="string"?_:f?l(h):(z=l(h))=="Object"&&typeof h.callee=="function"?"Arguments":z}},f772:function(o,s,a){var i=a("5692"),l=a("90e3"),c=i("keys");o.exports=function(d){return c[d]||(c[d]=l(d))}},fb15:function(o,s,a){if(a.r(s),typeof window<"u"){var i=window.document.currentScript;{var l=a("8875");i=l(),"currentScript"in document||Object.defineProperty(document,"currentScript",{get:l})}var c=i&&i.src.match(/(.+\/)[^/]+\.js(\?.*)?$/);c&&(a.p=c[1])}a("99af"),a("4de4"),a("4160"),a("c975"),a("d81d"),a("a434"),a("159b"),a("a4d3"),a("e439"),a("dbb4"),a("b64b");function d(F,M,G){return M in F?Object.defineProperty(F,M,{value:G,enumerable:!0,configurable:!0,writable:!0}):F[M]=G,F}function f(F,M){var G=Object.keys(F);if(Object.getOwnPropertySymbols){var re=Object.getOwnPropertySymbols(F);M&&(re=re.filter(function(ve){return Object.getOwnPropertyDescriptor(F,ve).enumerable})),G.push.apply(G,re)}return G}function m(F){for(var M=1;M<arguments.length;M++){var G=arguments[M]!=null?arguments[M]:{};M%2?f(Object(G),!0).forEach(function(re){d(F,re,G[re])}):Object.getOwnPropertyDescriptors?Object.defineProperties(F,Object.getOwnPropertyDescriptors(G)):f(Object(G)).forEach(function(re){Object.defineProperty(F,re,Object.getOwnPropertyDescriptor(G,re))})}return F}function p(F){if(Array.isArray(F))return F}a("e01a"),a("d28b"),a("e260"),a("d3b7"),a("3ca3"),a("ddb0");function h(F,M){if(!(typeof Symbol>"u"||!(Symbol.iterator in Object(F)))){var G=[],re=!0,ve=!1,Pe=void 0;try{for(var $e=F[Symbol.iterator](),Ve;!(re=(Ve=$e.next()).done)&&(G.push(Ve.value),!(M&&G.length===M));re=!0);}catch(Ge){ve=!0,Pe=Ge}finally{try{!re&&$e.return!=null&&$e.return()}finally{if(ve)throw Pe}}return G}}a("a630"),a("fb6a"),a("b0c0"),a("25f0");function _(F,M){(M==null||M>F.length)&&(M=F.length);for(var G=0,re=new Array(M);G<M;G++)re[G]=F[G];return re}function z(F,M){if(F){if(typeof F=="string")return _(F,M);var G=Object.prototype.toString.call(F).slice(8,-1);if(G==="Object"&&F.constructor&&(G=F.constructor.name),G==="Map"||G==="Set")return Array.from(F);if(G==="Arguments"||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(G))return _(F,M)}}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 v(F,M){return p(F)||h(F,M)||z(F,M)||b()}function k(F){if(Array.isArray(F))return _(F)}function C(F){if(typeof Symbol<"u"&&Symbol.iterator in Object(F))return Array.from(F)}function x(){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(F){return k(F)||C(F)||z(F)||x()}var L=a("a352"),I=a.n(L);function D(F){F.parentElement!==null&&F.parentElement.removeChild(F)}function U(F,M,G){var re=G===0?F.children[0]:F.children[G-1].nextSibling;F.insertBefore(M,re)}var Z=a("dbf1");a("13d5"),a("4fad"),a("ac1f"),a("5319");function X(F){var M=Object.create(null);return function(re){var ve=M[re];return ve||(M[re]=F(re))}}var j=/-(\w)/g,q=X(function(F){return F.replace(j,function(M,G){return G.toUpperCase()})});a("5db7"),a("73d9");var ze=["Start","Add","Remove","Update","End"],te=["Choose","Unchoose","Sort","Filter","Clone"],ae=["Move"],ye=[ae,ze,te].flatMap(function(F){return F}).map(function(F){return"on".concat(F)}),je={manage:ae,manageAndEmit:ze,emit:te};function at(F){return ye.indexOf(F)!==-1}a("caad"),a("2ca0");var ce=["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 W(F){return ce.includes(F)}function fe(F){return["transition-group","TransitionGroup"].includes(F)}function Ae(F){return["id","class","role","style"].includes(F)||F.startsWith("data-")||F.startsWith("aria-")||F.startsWith("on")}function Le(F){return F.reduce(function(M,G){var re=v(G,2),ve=re[0],Pe=re[1];return M[ve]=Pe,M},{})}function Ee(F){var M=F.$attrs,G=F.componentData,re=G===void 0?{}:G,ve=Le(Object.entries(M).filter(function(Pe){var $e=v(Pe,2),Ve=$e[0];return $e[1],Ae(Ve)}));return m(m({},ve),re)}function B(F){var M=F.$attrs,G=F.callBackBuilder,re=Le(le(M));Object.entries(G).forEach(function(Pe){var $e=v(Pe,2),Ve=$e[0],Ge=$e[1];je[Ve].forEach(function(xe){re["on".concat(xe)]=Ge(xe)})});var ve="[data-draggable]".concat(re.draggable||"");return m(m({},re),{},{draggable:ve})}function le(F){return Object.entries(F).filter(function(M){var G=v(M,2),re=G[0];return G[1],!Ae(re)}).map(function(M){var G=v(M,2),re=G[0],ve=G[1];return[q(re),ve]}).filter(function(M){var G=v(M,2),re=G[0];return G[1],!at(re)})}a("c740");function ne(F,M){if(!(F instanceof M))throw new TypeError("Cannot call a class as a function")}function pe(F,M){for(var G=0;G<M.length;G++){var re=M[G];re.enumerable=re.enumerable||!1,re.configurable=!0,"value"in re&&(re.writable=!0),Object.defineProperty(F,re.key,re)}}function Oe(F,M,G){return M&&pe(F.prototype,M),G&&pe(F,G),F}var A=function(M){var G=M.el;return G},O=function(M,G){return M.__draggable_context=G},P=function(M){return M.__draggable_context},K=function(){function F(M){var G=M.nodes,re=G.header,ve=G.default,Pe=G.footer,$e=M.root,Ve=M.realList;ne(this,F),this.defaultNodes=ve,this.children=[].concat(T(re),T(ve),T(Pe)),this.externalComponent=$e.externalComponent,this.rootTransition=$e.transition,this.tag=$e.tag,this.realList=Ve}return Oe(F,[{key:"render",value:function(G,re){var ve=this.tag,Pe=this.children,$e=this._isRootComponent,Ve=$e?{default:function(){return Pe}}:Pe;return G(ve,re,Ve)}},{key:"updated",value:function(){var G=this.defaultNodes,re=this.realList;G.forEach(function(ve,Pe){O(A(ve),{element:re[Pe],index:Pe})})}},{key:"getUnderlyingVm",value:function(G){return P(G)}},{key:"getVmIndexFromDomIndex",value:function(G,re){var ve=this.defaultNodes,Pe=ve.length,$e=re.children,Ve=$e.item(G);if(Ve===null)return Pe;var Ge=P(Ve);if(Ge)return Ge.index;if(Pe===0)return 0;var xe=A(ve[0]),ue=T($e).findIndex(function(Ie){return Ie===xe});return G<ue?0:Pe}},{key:"_isRootComponent",get:function(){return this.externalComponent||this.rootTransition}}]),F}(),J=a("8bbf");function ee(F,M){var G=F[M];return G?G():[]}function de(F){var M=F.$slots,G=F.realList,re=F.getKey,ve=G||[],Pe=["header","footer"].map(function(Ie){return ee(M,Ie)}),$e=v(Pe,2),Ve=$e[0],Ge=$e[1],xe=M.item;if(!xe)throw new Error("draggable element must have an item slot");var ue=ve.flatMap(function(Ie,Ze){return xe({element:Ie,index:Ze}).map(function(Qe){return Qe.key=re(Ie),Qe.props=m(m({},Qe.props||{}),{},{"data-draggable":!0}),Qe})});if(ue.length!==ve.length)throw new Error("Item slot must have only one child");return{header:Ve,footer:Ge,default:ue}}function ie(F){var M=fe(F),G=!W(F)&&!M;return{transition:M,externalComponent:G,tag:G?Object(J.resolveComponent)(F):M?J.TransitionGroup:F}}function se(F){var M=F.$slots,G=F.tag,re=F.realList,ve=F.getKey,Pe=de({$slots:M,realList:re,getKey:ve}),$e=ie(G);return new K({nodes:Pe,root:$e,realList:re})}function Y(F,M){var G=this;Object(J.nextTick)(function(){return G.$emit(F.toLowerCase(),M)})}function R(F){var M=this;return function(G,re){if(M.realList!==null)return M["onDrag".concat(F)](G,re)}}function V(F){var M=this,G=R.call(this,F);return function(re,ve){G.call(M,re,ve),Y.call(M,F,re)}}var ge=null,Ce={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(M){return M}},tag:{type:String,default:"div"},move:{type:Function,default:null},componentData:{type:Object,required:!1,default:null}},Fe=["update:modelValue","change"].concat(T([].concat(T(je.manageAndEmit),T(je.emit)).map(function(F){return F.toLowerCase()}))),Ue=Object(J.defineComponent)({name:"draggable",inheritAttrs:!1,props:Ce,emits:Fe,data:function(){return{error:!1}},render:function(){try{this.error=!1;var M=this.$slots,G=this.$attrs,re=this.tag,ve=this.componentData,Pe=this.realList,$e=this.getKey,Ve=se({$slots:M,tag:re,realList:Pe,getKey:$e});this.componentStructure=Ve;var Ge=Ee({$attrs:G,componentData:ve});return Ve.render(J.h,Ge)}catch(xe){return this.error=!0,Object(J.h)("pre",{style:{color:"red"}},xe.stack)}},created:function(){this.list!==null&&this.modelValue!==null&&Z.a.error("modelValue and list props are mutually exclusive! Please set one or another.")},mounted:function(){var M=this;if(!this.error){var G=this.$attrs,re=this.$el,ve=this.componentStructure;ve.updated();var Pe=B({$attrs:G,callBackBuilder:{manageAndEmit:function(Ge){return V.call(M,Ge)},emit:function(Ge){return Y.bind(M,Ge)},manage:function(Ge){return R.call(M,Ge)}}}),$e=re.nodeType===1?re:re.parentElement;this._sortable=new I.a($e,Pe),this.targetDomElement=$e,$e.__draggable_component__=this}},updated:function(){this.componentStructure.updated()},beforeUnmount:function(){this._sortable!==void 0&&this._sortable.destroy()},computed:{realList:function(){var M=this.list;return M||this.modelValue},getKey:function(){var M=this.itemKey;return typeof M=="function"?M:function(G){return G[M]}}},watch:{$attrs:{handler:function(M){var G=this._sortable;G&&le(M).forEach(function(re){var ve=v(re,2),Pe=ve[0],$e=ve[1];G.option(Pe,$e)})},deep:!0}},methods:{getUnderlyingVm:function(M){return this.componentStructure.getUnderlyingVm(M)||null},getUnderlyingPotencialDraggableComponent:function(M){return M.__draggable_component__},emitChanges:function(M){var G=this;Object(J.nextTick)(function(){return G.$emit("change",M)})},alterList:function(M){if(this.list){M(this.list);return}var G=T(this.modelValue);M(G),this.$emit("update:modelValue",G)},spliceList:function(){var M=arguments,G=function(ve){return ve.splice.apply(ve,T(M))};this.alterList(G)},updatePosition:function(M,G){var re=function(Pe){return Pe.splice(G,0,Pe.splice(M,1)[0])};this.alterList(re)},getRelatedContextFromMoveEvent:function(M){var G=M.to,re=M.related,ve=this.getUnderlyingPotencialDraggableComponent(G);if(!ve)return{component:ve};var Pe=ve.realList,$e={list:Pe,component:ve};if(G!==re&&Pe){var Ve=ve.getUnderlyingVm(re)||{};return m(m({},Ve),$e)}return $e},getVmIndexFromDomIndex:function(M){return this.componentStructure.getVmIndexFromDomIndex(M,this.targetDomElement)},onDragStart:function(M){this.context=this.getUnderlyingVm(M.item),M.item._underlying_vm_=this.clone(this.context.element),ge=M.item},onDragAdd:function(M){var G=M.item._underlying_vm_;if(G!==void 0){D(M.item);var re=this.getVmIndexFromDomIndex(M.newIndex);this.spliceList(re,0,G);var ve={element:G,newIndex:re};this.emitChanges({added:ve})}},onDragRemove:function(M){if(U(this.$el,M.item,M.oldIndex),M.pullMode==="clone"){D(M.clone);return}var G=this.context,re=G.index,ve=G.element;this.spliceList(re,1);var Pe={element:ve,oldIndex:re};this.emitChanges({removed:Pe})},onDragUpdate:function(M){D(M.item),U(M.from,M.item,M.oldIndex);var G=this.context.index,re=this.getVmIndexFromDomIndex(M.newIndex);this.updatePosition(G,re);var ve={element:this.context.element,oldIndex:G,newIndex:re};this.emitChanges({moved:ve})},computeFutureIndex:function(M,G){if(!M.element)return 0;var re=T(G.to.children).filter(function(Ve){return Ve.style.display!=="none"}),ve=re.indexOf(G.related),Pe=M.component.getVmIndexFromDomIndex(ve),$e=re.indexOf(ge)!==-1;return $e||!G.willInsertAfter?Pe:Pe+1},onDragMove:function(M,G){var re=this.move,ve=this.realList;if(!re||!ve)return!0;var Pe=this.getRelatedContextFromMoveEvent(M),$e=this.computeFutureIndex(Pe,M),Ve=m(m({},this.context),{},{futureIndex:$e}),Ge=m(m({},M),{},{relatedContext:Pe,draggedContext:Ve});return re(Ge,G)},onDragEnd:function(){ge=null}}}),Be=Ue;s.default=Be},fb6a:function(o,s,a){var i=a("23e7"),l=a("861d"),c=a("e8b5"),d=a("23cb"),f=a("50c4"),m=a("fc6a"),p=a("8418"),h=a("b622"),_=a("1dde"),z=a("ae40"),b=_("slice"),v=z("slice",{ACCESSORS:!0,0:0,1:2}),k=h("species"),C=[].slice,x=Math.max;i({target:"Array",proto:!0,forced:!b||!v},{slice:function(L,I){var D=m(this),U=f(D.length),Z=d(L,U),X=d(I===void 0?U:I,U),j,q,ze;if(c(D)&&(j=D.constructor,typeof j=="function"&&(j===Array||c(j.prototype))?j=void 0:l(j)&&(j=j[k],j===null&&(j=void 0)),j===Array||j===void 0))return C.call(D,Z,X);for(q=new(j===void 0?Array:j)(x(X-Z,0)),ze=0;Z<X;Z++,ze++)Z in D&&p(q,ze,D[Z]);return q.length=ze,q}})},fc6a:function(o,s,a){var i=a("44ad"),l=a("1d80");o.exports=function(c){return i(l(c))}},fdbc:function(o,s){o.exports={CSSRuleList:0,CSSStyleDeclaration:0,CSSValueList:0,ClientRectList:0,DOMRectList:0,DOMStringList:0,DOMTokenList:1,DataTransferItemList:0,FileList:0,HTMLAllCollection:0,HTMLCollection:0,HTMLFormElement:0,HTMLSelectElement:0,MediaList:0,MimeTypeArray:0,NamedNodeMap:0,NodeList:1,PaintRequestList:0,Plugin:0,PluginArray:0,SVGLengthList:0,SVGNumberList:0,SVGPathSegList:0,SVGPointList:0,SVGStringList:0,SVGTransformList:0,SourceBufferList:0,StyleSheetList:0,TextTrackCueList:0,TextTrackList:0,TouchList:0}},fdbf:function(o,s,a){var i=a("4930");o.exports=i&&!Symbol.sham&&typeof Symbol.iterator=="symbol"}}).default})})(ky);var HS=ky.exports;const jS=fs(HS),US={name:"PageQueue",components:{ContentWithHeading:nt,ListItemQueueItem:T2,draggable:jS,ModalDialogQueueItem:wy,ModalDialogAddUrlStream:VE,ModalDialogPlaylistSave:oS},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(){N.queue_clear()},update_show_next_items(e){this.$store.commit(Ug,!this.show_only_next_items)},remove(e){N.queue_remove(e.id)},move_item(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&&N.queue_move(n.id,r)},open_dialog(e){this.selected_item=e,this.show_details_modal=!0},open_add_stream_dialog(){this.show_url_modal=!0},save_dialog(){this.queue_items.length>0&&(this.show_pls_save_modal=!0)}}},qS={class:"fd-page"},WS=["textContent"],GS=["textContent"],KS={class:"buttons is-centered"},ZS=["textContent"],YS=["textContent"],JS=["disabled"],XS=["textContent"],QS=["disabled"],e$=["textContent"],t$=["disabled"],n$=["textContent"],r$=["onClick"],o$=["onClick"];function s$(e,t,n,r,o,s){const a=S("mdicon"),i=S("list-item-queue-item"),l=S("draggable"),c=S("modal-dialog-queue-item"),d=S("modal-dialog-add-url-stream"),f=S("modal-dialog-playlist-save"),m=S("content-with-heading");return w(),$("div",qS,[y(m,null,{"heading-left":E(()=>[u("p",{class:"title is-4",textContent:g(e.$t("page.queue.title"))},null,8,WS),u("p",{class:"heading",textContent:g(e.$t("page.queue.count",{count:s.queue.count}))},null,8,GS)]),"heading-right":E(()=>[u("div",KS,[u("button",{class:De(["button is-small",{"is-info":s.show_only_next_items}]),onClick:t[0]||(t[0]=(...p)=>s.update_show_next_items&&s.update_show_next_items(...p))},[y(a,{class:"icon",name:"arrow-collapse-down",size:"16"}),u("span",{textContent:g(e.$t("page.queue.hide-previous"))},null,8,ZS)],2),u("button",{class:"button is-small",onClick:t[1]||(t[1]=(...p)=>s.open_add_stream_dialog&&s.open_add_stream_dialog(...p))},[y(a,{class:"icon",name:"web",size:"16"}),u("span",{textContent:g(e.$t("page.queue.add-stream"))},null,8,YS)]),u("button",{class:De(["button is-small",{"is-info":o.edit_mode}]),disabled:s.queue_items.length===0,onClick:t[2]||(t[2]=p=>o.edit_mode=!o.edit_mode)},[y(a,{class:"icon",name:"pencil",size:"16"}),u("span",{textContent:g(e.$t("page.queue.edit"))},null,8,XS)],10,JS),u("button",{class:"button is-small",disabled:s.queue_items.length===0,onClick:t[3]||(t[3]=(...p)=>s.queue_clear&&s.queue_clear(...p))},[y(a,{class:"icon",name:"delete-empty",size:"16"}),u("span",{textContent:g(e.$t("page.queue.clear"))},null,8,e$)],8,QS),s.is_queue_save_allowed?(w(),$("button",{key:0,class:"button is-small",disabled:s.queue_items.length===0,onClick:t[4]||(t[4]=(...p)=>s.save_dialog&&s.save_dialog(...p))},[y(a,{class:"icon",name:"content-save",size:"16"}),u("span",{textContent:g(e.$t("page.queue.save"))},null,8,n$)],8,t$)):H("",!0)])]),content:E(()=>[y(l,{modelValue:s.queue_items,"onUpdate:modelValue":t[5]||(t[5]=p=>s.queue_items=p),handle:".handle","item-key":"id",onEnd:s.move_item},{item:E(({element:p,index:h})=>[y(i,{item:p,position:h,current_position:s.current_position,show_only_next_items:s.show_only_next_items,edit_mode:o.edit_mode},{actions:E(()=>[o.edit_mode?H("",!0):(w(),$("a",{key:0,onClick:st(_=>s.open_dialog(p),["prevent","stop"])},[y(a,{class:"icon has-text-dark",name:"dots-vertical",size:"16"})],8,r$)),p.id!==s.state.item_id&&o.edit_mode?(w(),$("a",{key:1,onClick:st(_=>s.remove(p),["prevent","stop"])},[y(a,{class:"icon has-text-grey",name:"delete",size:"18"})],8,o$)):H("",!0)]),_:2},1032,["item","position","current_position","show_only_next_items","edit_mode"])]),_:1},8,["modelValue","onEnd"]),y(c,{show:o.show_details_modal,item:o.selected_item,onClose:t[6]||(t[6]=p=>o.show_details_modal=!1)},null,8,["show","item"]),y(d,{show:o.show_url_modal,onClose:t[7]||(t[7]=p=>o.show_url_modal=!1)},null,8,["show"]),s.is_queue_save_allowed?(w(),be(f,{key:0,show:o.show_pls_save_modal,onClose:t[8]||(t[8]=p=>o.show_pls_save_modal=!1)},null,8,["show"])):H("",!0)]),_:1})])}const a$=oe(US,[["render",s$]]),i$={name:"ControlSlider",props:["value","max","disabled","cursor"],emits:["update:value"],computed:{ratio(){return this.value/this.max}}},l$=["value","disabled","max"];function u$(e,t,n,r,o,s){return w(),$("input",{value:n.value,disabled:n.disabled,class:De(["slider",{"is-inactive":n.disabled}]),max:n.max,type:"range",style:Cr({"--ratio":s.ratio,"--cursor":e.$filters.cursor(n.cursor)}),onInput:t[0]||(t[0]=a=>e.$emit("update:value",a.target.value))},null,46,l$)}const rm=oe(i$,[["render",u$]]);var Ly={exports:{}},c$=[{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=c$,n=t.filter(function(o){return!!o.css}),r=t.filter(function(o){return!!o.vga});e.exports=function(o){var s=e.exports.get(o);return s&&s.value},e.exports.get=function(o){return o=o||"",o=o.trim().toLowerCase(),t.filter(function(s){return s.name.toLowerCase()===o}).pop()},e.exports.all=e.exports.get.all=function(){return t},e.exports.get.css=function(o){return o?(o=o||"",o=o.trim().toLowerCase(),n.filter(function(s){return s.name.toLowerCase()===o}).pop()):n},e.exports.get.vga=function(o){return o?(o=o||"",o=o.trim().toLowerCase(),r.filter(function(s){return s.name.toLowerCase()===o}).pop()):r}})(Ly);var d$=Ly.exports,m$=1/0,f$="[object Symbol]",p$=/[^\x00-\x2f\x3a-\x40\x5b-\x60\x7b-\x7f]+/g,My="\\ud800-\\udfff",h$="\\u0300-\\u036f\\ufe20-\\ufe23",_$="\\u20d0-\\u20f0",Ny="\\u2700-\\u27bf",By="a-z\\xdf-\\xf6\\xf8-\\xff",g$="\\xac\\xb1\\xd7\\xf7",y$="\\x00-\\x2f\\x3a-\\x40\\x5b-\\x60\\x7b-\\xbf",v$="\\u2000-\\u206f",b$=" \\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",Vy="A-Z\\xc0-\\xd6\\xd8-\\xde",z$="\\ufe0e\\ufe0f",Hy=g$+y$+v$+b$,jy="[']",Ep="["+Hy+"]",C$="["+h$+_$+"]",Uy="\\d+",w$="["+Ny+"]",qy="["+By+"]",Wy="[^"+My+Hy+Uy+Ny+By+Vy+"]",k$="\\ud83c[\\udffb-\\udfff]",x$="(?:"+C$+"|"+k$+")",E$="[^"+My+"]",Gy="(?:\\ud83c[\\udde6-\\uddff]){2}",Ky="[\\ud800-\\udbff][\\udc00-\\udfff]",Lo="["+Vy+"]",S$="\\u200d",Sp="(?:"+qy+"|"+Wy+")",$$="(?:"+Lo+"|"+Wy+")",$p="(?:"+jy+"(?:d|ll|m|re|s|t|ve))?",Ap="(?:"+jy+"(?:D|LL|M|RE|S|T|VE))?",Zy=x$+"?",Yy="["+z$+"]?",A$="(?:"+S$+"(?:"+[E$,Gy,Ky].join("|")+")"+Yy+Zy+")*",T$=Yy+Zy+A$,O$="(?:"+[w$,Gy,Ky].join("|")+")"+T$,D$=RegExp([Lo+"?"+qy+"+"+$p+"(?="+[Ep,Lo,"$"].join("|")+")",$$+"+"+Ap+"(?="+[Ep,Lo+Sp,"$"].join("|")+")",Lo+"?"+Sp+"+"+$p,Lo+"+"+Ap,Uy,O$].join("|"),"g"),P$=/[a-z][A-Z]|[A-Z]{2,}[a-z]|[0-9][a-zA-Z]|[a-zA-Z][0-9]|[^a-zA-Z0-9 ]/,I$=typeof Zt=="object"&&Zt&&Zt.Object===Object&&Zt,F$=typeof self=="object"&&self&&self.Object===Object&&self,R$=I$||F$||Function("return this")();function L$(e){return e.match(p$)||[]}function M$(e){return P$.test(e)}function N$(e){return e.match(D$)||[]}var B$=Object.prototype,V$=B$.toString,Tp=R$.Symbol,Op=Tp?Tp.prototype:void 0,Dp=Op?Op.toString:void 0;function H$(e){if(typeof e=="string")return e;if(U$(e))return Dp?Dp.call(e):"";var t=e+"";return t=="0"&&1/e==-m$?"-0":t}function j$(e){return!!e&&typeof e=="object"}function U$(e){return typeof e=="symbol"||j$(e)&&V$.call(e)==f$}function q$(e){return e==null?"":H$(e)}function W$(e,t,n){return e=q$(e),t=n?void 0:t,t===void 0?M$(e)?N$(e):L$(e):e.match(t)||[]}var G$=W$,K$=1/0,Z$="[object Symbol]",Y$=/^\s+/,om="\\ud800-\\udfff",Jy="\\u0300-\\u036f\\ufe20-\\ufe23",Xy="\\u20d0-\\u20f0",Qy="\\ufe0e\\ufe0f",J$="["+om+"]",Nc="["+Jy+Xy+"]",Bc="\\ud83c[\\udffb-\\udfff]",X$="(?:"+Nc+"|"+Bc+")",ev="[^"+om+"]",tv="(?:\\ud83c[\\udde6-\\uddff]){2}",nv="[\\ud800-\\udbff][\\udc00-\\udfff]",rv="\\u200d",ov=X$+"?",sv="["+Qy+"]?",Q$="(?:"+rv+"(?:"+[ev,tv,nv].join("|")+")"+sv+ov+")*",eA=sv+ov+Q$,tA="(?:"+[ev+Nc+"?",Nc,tv,nv,J$].join("|")+")",nA=RegExp(Bc+"(?="+Bc+")|"+tA+eA,"g"),rA=RegExp("["+rv+om+Jy+Xy+Qy+"]"),oA=typeof Zt=="object"&&Zt&&Zt.Object===Object&&Zt,sA=typeof self=="object"&&self&&self.Object===Object&&self,aA=oA||sA||Function("return this")();function iA(e){return e.split("")}function lA(e,t,n,r){for(var o=e.length,s=n+(r?1:-1);r?s--:++s<o;)if(t(e[s],s,e))return s;return-1}function uA(e,t,n){if(t!==t)return lA(e,cA,n);for(var r=n-1,o=e.length;++r<o;)if(e[r]===t)return r;return-1}function cA(e){return e!==e}function dA(e,t){for(var n=-1,r=e.length;++n<r&&uA(t,e[n],0)>-1;);return n}function mA(e){return rA.test(e)}function Pp(e){return mA(e)?fA(e):iA(e)}function fA(e){return e.match(nA)||[]}var pA=Object.prototype,hA=pA.toString,Ip=aA.Symbol,Fp=Ip?Ip.prototype:void 0,Rp=Fp?Fp.toString:void 0;function _A(e,t,n){var r=-1,o=e.length;t<0&&(t=-t>o?0:o+t),n=n>o?o:n,n<0&&(n+=o),o=t>n?0:n-t>>>0,t>>>=0;for(var s=Array(o);++r<o;)s[r]=e[r+t];return s}function av(e){if(typeof e=="string")return e;if(vA(e))return Rp?Rp.call(e):"";var t=e+"";return t=="0"&&1/e==-K$?"-0":t}function gA(e,t,n){var r=e.length;return n=n===void 0?r:n,!t&&n>=r?e:_A(e,t,n)}function yA(e){return!!e&&typeof e=="object"}function vA(e){return typeof e=="symbol"||yA(e)&&hA.call(e)==Z$}function bA(e){return e==null?"":av(e)}function zA(e,t,n){if(e=bA(e),e&&(n||t===void 0))return e.replace(Y$,"");if(!e||!(t=av(t)))return e;var r=Pp(e),o=dA(r,Pp(t));return gA(r,o).join("")}var CA=zA,Vc=1/0,wA=9007199254740991,kA=17976931348623157e292,Lp=0/0,xA="[object Symbol]",EA=/^\s+|\s+$/g,SA=/^[-+]0x[0-9a-f]+$/i,$A=/^0b[01]+$/i,AA=/^0o[0-7]+$/i,sm="\\ud800-\\udfff",iv="\\u0300-\\u036f\\ufe20-\\ufe23",lv="\\u20d0-\\u20f0",uv="\\ufe0e\\ufe0f",TA="["+sm+"]",Hc="["+iv+lv+"]",jc="\\ud83c[\\udffb-\\udfff]",OA="(?:"+Hc+"|"+jc+")",cv="[^"+sm+"]",dv="(?:\\ud83c[\\udde6-\\uddff]){2}",mv="[\\ud800-\\udbff][\\udc00-\\udfff]",fv="\\u200d",pv=OA+"?",hv="["+uv+"]?",DA="(?:"+fv+"(?:"+[cv,dv,mv].join("|")+")"+hv+pv+")*",PA=hv+pv+DA,IA="(?:"+[cv+Hc+"?",Hc,dv,mv,TA].join("|")+")",Uc=RegExp(jc+"(?="+jc+")|"+IA+PA,"g"),FA=RegExp("["+fv+sm+iv+lv+uv+"]"),RA=parseInt,LA=typeof Zt=="object"&&Zt&&Zt.Object===Object&&Zt,MA=typeof self=="object"&&self&&self.Object===Object&&self,NA=LA||MA||Function("return this")(),BA=HA("length");function VA(e){return e.split("")}function HA(e){return function(t){return t==null?void 0:t[e]}}function am(e){return FA.test(e)}function _v(e){return am(e)?UA(e):BA(e)}function jA(e){return am(e)?qA(e):VA(e)}function UA(e){for(var t=Uc.lastIndex=0;Uc.test(e);)t++;return t}function qA(e){return e.match(Uc)||[]}var WA=Object.prototype,GA=WA.toString,Mp=NA.Symbol,KA=Math.ceil,ZA=Math.floor,Np=Mp?Mp.prototype:void 0,Bp=Np?Np.toString:void 0;function Vp(e,t){var n="";if(!e||t<1||t>wA)return n;do t%2&&(n+=e),t=ZA(t/2),t&&(e+=e);while(t);return n}function YA(e,t,n){var r=-1,o=e.length;t<0&&(t=-t>o?0:o+t),n=n>o?o:n,n<0&&(n+=o),o=t>n?0:n-t>>>0,t>>>=0;for(var s=Array(o);++r<o;)s[r]=e[r+t];return s}function gv(e){if(typeof e=="string")return e;if(yv(e))return Bp?Bp.call(e):"";var t=e+"";return t=="0"&&1/e==-Vc?"-0":t}function JA(e,t,n){var r=e.length;return n=n===void 0?r:n,!t&&n>=r?e:YA(e,t,n)}function XA(e,t){t=t===void 0?" ":gv(t);var n=t.length;if(n<2)return n?Vp(t,e):t;var r=Vp(t,KA(e/_v(t)));return am(t)?JA(jA(r),0,e).join(""):r.slice(0,e)}function Hp(e){var t=typeof e;return!!e&&(t=="object"||t=="function")}function QA(e){return!!e&&typeof e=="object"}function yv(e){return typeof e=="symbol"||QA(e)&&GA.call(e)==xA}function e8(e){if(!e)return e===0?e:0;if(e=n8(e),e===Vc||e===-Vc){var t=e<0?-1:1;return t*kA}return e===e?e:0}function t8(e){var t=e8(e),n=t%1;return t===t?n?t-n:t:0}function n8(e){if(typeof e=="number")return e;if(yv(e))return Lp;if(Hp(e)){var t=typeof e.valueOf=="function"?e.valueOf():e;e=Hp(t)?t+"":t}if(typeof e!="string")return e===0?e:+e;e=e.replace(EA,"");var n=$A.test(e);return n||AA.test(e)?RA(e.slice(2),n?2:8):SA.test(e)?Lp:+e}function r8(e){return e==null?"":gv(e)}function o8(e,t,n){e=r8(e),t=t8(t);var r=t?_v(e):0;return t&&r<t?e+XA(t-r,n):e}var s8=o8,a8=(e,t,n,r)=>{const o=(e+(r||"")).toString().includes("%");if(typeof e=="string"?[e,t,n,r]=e.match(/(0?\.?\d{1,3})%?\b/g).map(Number):r!==void 0&&(r=parseFloat(r)),typeof e!="number"||typeof t!="number"||typeof n!="number"||e>255||t>255||n>255)throw new TypeError("Expected three numbers below 256");if(typeof r=="number"){if(!o&&r>=0&&r<=1)r=Math.round(255*r);else if(o&&r>=0&&r<=100)r=Math.round(255*r/100);else throw new TypeError(`Expected alpha value (${r}) as a fraction or percentage`);r=(r|256).toString(16).slice(1)}else r="";return(n|t<<8|e<<16|1<<24).toString(16).slice(1)+r};const ba="a-f\\d",i8=`#?[${ba}]{3}[${ba}]?`,l8=`#?[${ba}]{6}([${ba}]{2})?`,u8=new RegExp(`[^#${ba}]`,"gi"),c8=new RegExp(`^${i8}$|^${l8}$`,"i");var d8=(e,t={})=>{if(typeof e!="string"||u8.test(e)||!c8.test(e))throw new TypeError("Expected a valid hex string");e=e.replace(/^#/,"");let n=1;e.length===8&&(n=Number.parseInt(e.slice(6,8),16)/255,e=e.slice(0,6)),e.length===4&&(n=Number.parseInt(e.slice(3,4).repeat(2),16)/255,e=e.slice(0,3)),e.length===3&&(e=e[0]+e[0]+e[1]+e[1]+e[2]+e[2]);const r=Number.parseInt(e,16),o=r>>16,s=r>>8&255,a=r&255,i=typeof t.alpha=="number"?t.alpha:n;if(t.format==="array")return[o,s,a,i];if(t.format==="css"){const l=i===1?"":` / ${Number((i*100).toFixed(2))}%`;return`rgb(${o} ${s} ${a}${l})`}return{red:o,green:s,blue:a,alpha:i}},m8=d$,f8=G$,p8=CA,h8=s8,_8=a8,vv=d8;const Lu=.75,Mu=.25,Nu=16777215,g8=49979693;var y8=function(e){return"#"+z8(String(JSON.stringify(e)))};function v8(e){var t=f8(e),n=[];return t.forEach(function(r){var o=m8(r);o&&n.push(vv(p8(o,"#"),{format:"array"}))}),n}function b8(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 z8(e){var t,n=v8(e);n.length>0&&(t=b8(n));var r=1,o=0,s=1;if(e.length>0)for(var a=0;a<e.length;a++)e[a].charCodeAt(0)>o&&(o=e[a].charCodeAt(0)),s=parseInt(Nu/o),r=(r+e[a].charCodeAt(0)*s*g8)%Nu;var i=(r*e.length%Nu).toString(16);i=h8(i,6,i);var l=vv(i,{format:"array"});return t?_8(Mu*l[0]+Lu*t[0],Mu*l[1]+Lu*t[1],Mu*l[2]+Lu*t[2]):i}const C8=fs(y8);function w8(e){const t=e.replace(/#/,""),n=parseInt(t.substr(0,2),16),r=parseInt(t.substr(2,2),16),o=parseInt(t.substr(4,2),16);return[.299*n,.587*r,.114*o].reduce((a,i)=>a+i)/255>.5}function k8(e){return w8(e)?"#000000":"#ffffff"}function x8(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 E8(e,t,n){const r=C8(t),o=k8(r),s={width:n.width,height:n.height,textColor:o,backgroundColor:r,caption:e,fontFamily:n.font_family,fontSize:n.font_size,fontWeight:n.font_weight};return x8(s)}const S8={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(){return this.maxwidth>0&&this.maxheight>0?N.artwork_url_append_size_params(this.artwork_url,this.maxwidth,this.maxheight):N.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(){return E8(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 $8(e,t,n,r,o,s){const a=zd("lazy");return w(),$("figure",null,[bt(u("img",{onClick:t[0]||(t[0]=i=>e.$emit("click"))},null,512),[[a,{src:s.artwork_url_with_size,lifecycle:o.lazy_lifecycle}]])])}const Wn=oe(S8,[["render",$8]]);var A8="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",T8="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",O8="M13 14H11V9H13M13 18H11V16H13M1 21H23L12 2L1 21Z",D8="M19.92,12.08L12,20L4.08,12.08L5.5,10.67L11,16.17V2H13V16.17L18.5,10.66L19.92,12.08M12,20H2V22H22V20H12Z",P8="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",I8="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",F8="M9 3V18H12V3H9M12 5L16 18L19 17L15 4L12 5M5 5V18H8V5H5M3 19V21H21V19H3Z",R8="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",eu="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",L8="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",M8="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",N8="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",B8="M21,7L9,19L3.5,13.5L4.91,12.09L9,16.17L19.59,5.59L21,7Z",V8="M7.41,8.58L12,13.17L16.59,8.58L18,10L12,16L6,10L7.41,8.58Z",H8="M7.41,15.41L12,10.83L16.59,15.41L18,14L12,8L6,14L7.41,15.41Z",j8="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",U8="M19,4H15.5L14.5,3H9.5L8.5,4H5V6H19M6,19A2,2 0 0,0 8,21H16A2,2 0 0,0 18,19V7H6V19Z",q8="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",W8="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",G8="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",K8="M3,15V13H5V15H3M3,11V9H5V11H3M7,15V13H9V15H7M7,11V9H9V11H7M11,15V13H13V15H11M11,11V9H13V11H11M15,15V13H17V15H15M15,11V9H17V11H15M19,15V13H21V15H19M19,11V9H21V11H19Z",Z8="M11.5,3C6.85,3 2.92,6.03 1.53,10.22L3.9,11C4.95,7.81 7.96,5.5 11.5,5.5C13.46,5.5 15.23,6.22 16.62,7.38L14,10H21V3L18.4,5.6C16.55,4 14.15,3 11.5,3M19,14V20C19,21.11 18.11,22 17,22H15A2,2 0 0,1 13,20V14A2,2 0 0,1 15,12H17C18.11,12 19,12.9 19,14M15,14V20H17V14H15M11,20C11,21.11 10.1,22 9,22H5V20H9V18H7V16H9V14H5V12H9A2,2 0 0,1 11,14V15.5A1.5,1.5 0 0,1 9.5,17A1.5,1.5 0 0,1 11,18.5V20Z",Y8="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",J8="M14,2H6A2,2 0 0,0 4,4V20A2,2 0 0,0 6,22H18A2,2 0 0,0 20,20V8L14,2M18,20H6V4H13V9H18V20Z",X8="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",Q8="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",eT="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",tT="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",nT="M3,6H21V8H3V6M3,11H21V13H3V11M3,16H21V18H3V16Z",rT="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",oT="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",sT="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",aT="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",iT="M14,19H18V5H14M6,19H10V5H6V19Z",lT="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",uT="M22,14H20V16H14V13H16V11H14V6A2,2 0 0,0 12,4H4V2H2V10H4V8H10V11H8V13H10V18A2,2 0 0,0 12,20H20V22H22",cT="M8,5.14V19.14L19,12.14L8,5.14Z",dT="M3 10H14V12H3V10M3 6H14V8H3V6M3 14H10V16H3V14M16 13V21L22 17L16 13Z",mT="M3 16H10V14H3M18 14V10H16V14H12V16H16V20H18V16H22V14M14 6H3V8H14M14 10H3V12H14V10Z",fT="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",pT="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",hT="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",_T="M17,17H7V14L3,18L7,22V19H19V13H17M7,7H17V10L21,6L17,2V5H5V11H7V7Z",gT="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",yT="M13,15V9H12L10,10V11H11.5V15M17,17H7V14L3,18L7,22V19H19V13H17M7,7H17V10L21,6L17,2V5H5V11H7V7Z",vT="M12.5,3C17.15,3 21.08,6.03 22.47,10.22L20.1,11C19.05,7.81 16.04,5.5 12.5,5.5C10.54,5.5 8.77,6.22 7.38,7.38L10,10H3V3L5.6,5.6C7.45,4 9.85,3 12.5,3M10,12V22H8V14H6V12H10M18,14V20C18,21.11 17.11,22 16,22H14A2,2 0 0,1 12,20V14A2,2 0 0,1 14,12H16C17.11,12 18,12.9 18,14M14,14V20H16V14H14Z",bT="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",zT="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",CT="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",wT="M16,4.5V7H5V9H16V11.5L19.5,8M16,12.5V15H5V17H16V19.5L19.5,16",kT="M20,5V19L13,12M6,5V19H4V5M13,5V19L6,12",xT="M4,5V19L11,12M18,5V19H20V5M11,5V19L18,12",ET="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",ST="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",$T="M18,18H6V6H18V18Z",AT="M11,9L12.42,10.42L8.83,14H18V4H20V16H8.83L12.42,19.58L11,21L5,15L11,9Z",TT="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",OT="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",DT="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 Tr=1e3,PT={name:"PageNowPlaying",components:{ControlSlider:rm,CoverArtwork:Wn,ModalDialogQueueItem:wy},data(){return{cursor:eu,INTERVAL:Tr,interval_id:0,is_dragged:!1,selected_item:{},show_details_modal:!1}},computed:{is_live(){return this.track.length_ms===0},track_progress:{get(){return Math.floor(this.player.item_progress_ms/Tr)},set(e){this.player.item_progress_ms=e*Tr}},player(){return this.$store.state.player},track(){return this.$store.getters.now_playing},track_progress_max(){return this.is_live?1:Math.floor(this.track.length_ms/Tr)},track_elapsed_time(){return this.$filters.durationInHours(this.track_progress*Tr)},track_total_time(){return this.is_live?this.$t("page.now-playing.live"):this.$filters.durationInHours(this.track.length_ms)},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.track.genre&&this.settings_option_show_composer_for_genre.toLowerCase().split(",").findIndex(e=>this.track.genre.toLowerCase().indexOf(e.trim())>=0)>=0)?this.track.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.track.path:null}},watch:{player(){this.interval_id>0&&(window.clearTimeout(this.interval_id),this.interval_id=0),this.player.state==="play"&&(this.interval_id=window.setInterval(this.tick,Tr))}},created(){N.player_status().then(({data:e})=>{this.$store.commit(Bd,e),this.player.state==="play"&&(this.interval_id=window.setInterval(this.tick,Tr))})},unmounted(){this.interval_id>0&&(window.clearTimeout(this.interval_id),this.interval_id=0)},methods:{tick(){this.is_dragged||(this.track_progress+=1)},start_dragging(){this.is_dragged=!0},end_dragging(){this.is_dragged=!1},seek(){this.is_live||N.player_seek_to_pos(this.track_progress*Tr)},open_dialog(e){this.selected_item=e,this.show_details_modal=!0}}},IT={class:"hero is-fullheight"},FT={key:0,class:"hero-body"},RT={class:"container has-text-centered",style:{"max-width":"500px"}},LT={class:"is-flex is-justify-content-space-between"},MT=["textContent"],NT=["textContent"],BT=["textContent"],VT=["textContent"],HT=["textContent"],jT=["textContent"],UT=["textContent"],qT={key:1,class:"hero-body"},WT={class:"container has-text-centered"},GT=["textContent"],KT=["textContent"];function ZT(e,t,n,r,o,s){const a=S("cover-artwork"),i=S("control-slider"),l=S("modal-dialog-queue-item");return w(),$("div",IT,[s.track.id>0?(w(),$("div",FT,[u("div",RT,[y(a,{artwork_url:s.track.artwork_url,artist:s.track.artist,album:s.track.album,class:"is-clickable fd-has-shadow fd-cover-big-image",onClick:t[0]||(t[0]=c=>s.open_dialog(s.track))},null,8,["artwork_url","artist","album"]),y(i,{value:s.track_progress,"onUpdate:value":t[1]||(t[1]=c=>s.track_progress=c),class:"mt-5",disabled:s.is_live,max:s.track_progress_max,cursor:o.cursor,onChange:s.seek,onMousedown:s.start_dragging,onMouseup:s.end_dragging},null,8,["value","disabled","max","cursor","onChange","onMousedown","onMouseup"]),u("div",LT,[u("p",{class:"subtitle is-7",textContent:g(s.track_elapsed_time)},null,8,MT),u("p",{class:"subtitle is-7",textContent:g(s.track_total_time)},null,8,NT)]),u("p",{class:"title is-5",textContent:g(s.track.title)},null,8,BT),u("p",{class:"title is-6",textContent:g(s.track.artist)},null,8,VT),s.composer?(w(),$("p",{key:0,class:"subtitle is-6 has-text-grey has-text-weight-bold",textContent:g(s.composer)},null,8,HT)):H("",!0),s.track.album?(w(),$("p",{key:1,class:"subtitle is-6",textContent:g(s.track.album)},null,8,jT)):H("",!0),s.filepath?(w(),$("p",{key:2,class:"subtitle is-6 has-text-grey",textContent:g(s.filepath)},null,8,UT)):H("",!0)])])):(w(),$("div",qT,[u("div",WT,[u("p",{class:"title is-5",textContent:g(e.$t("page.now-playing.title"))},null,8,GT),u("p",{class:"subtitle",textContent:g(e.$t("page.now-playing.info"))},null,8,KT)])])),y(l,{show:o.show_details_modal,item:o.selected_item,onClose:t[2]||(t[2]=c=>o.show_details_modal=!1)},null,8,["show","item"])])}const YT=oe(PT,[["render",ZT]]),JT={name:"TabsMusic",computed:{spotify_enabled(){return this.$store.state.spotify.webapi_token_valid}}},XT={class:"section fd-tabs-section"},QT={class:"container"},eO={class:"columns is-centered"},tO={class:"column is-four-fifths"},nO={class:"tabs is-centered is-small"},rO=["onClick","onKeypress"],oO=["textContent"],sO=["onClick","onKeypress"],aO=["textContent"],iO=["onClick","onKeypress"],lO=["textContent"],uO=["onClick","onKeypress"],cO=["textContent"],dO=["onClick","onKeypress"],mO=["textContent"],fO=["onClick","onKeypress"],pO=["textContent"];function hO(e,t,n,r,o,s){const a=S("mdicon"),i=S("router-link");return w(),$("section",XT,[u("div",QT,[u("div",eO,[u("div",tO,[u("div",nO,[u("ul",null,[y(i,{to:"/music/browse",custom:""},{default:E(({navigate:l,isActive:c})=>[u("li",{class:De({"is-active":c})},[u("a",{onClick:l,onKeypress:mn(l,["enter"])},[y(a,{class:"icon is-small",name:"web",size:"16"}),u("span",{textContent:g(e.$t("page.browse.tabs.browse"))},null,8,oO)],40,rO)],2)]),_:1}),y(i,{to:"/music/artists",custom:""},{default:E(({navigate:l,isActive:c})=>[u("li",{class:De({"is-active":c})},[u("a",{onClick:l,onKeypress:mn(l,["enter"])},[y(a,{class:"icon is-small",name:"account-music",size:"16"}),u("span",{textContent:g(e.$t("page.browse.tabs.artists"))},null,8,aO)],40,sO)],2)]),_:1}),y(i,{to:"/music/albums",custom:""},{default:E(({navigate:l,isActive:c})=>[u("li",{class:De({"is-active":c})},[u("a",{onClick:l,onKeypress:mn(l,["enter"])},[y(a,{class:"icon is-small",name:"album",size:"16"}),u("span",{textContent:g(e.$t("page.browse.tabs.albums"))},null,8,lO)],40,iO)],2)]),_:1}),y(i,{to:"/music/genres",custom:""},{default:E(({navigate:l,isActive:c})=>[u("li",{class:De({"is-active":c})},[u("a",{onClick:l,onKeypress:mn(l,["enter"])},[y(a,{class:"icon is-small",name:"speaker",size:"16"}),u("span",{textContent:g(e.$t("page.browse.tabs.genres"))},null,8,cO)],40,uO)],2)]),_:1}),y(i,{to:"/music/composers",custom:""},{default:E(({navigate:l,isActive:c})=>[u("li",{class:De({"is-active":c})},[u("a",{onClick:l,onKeypress:mn(l,["enter"])},[y(a,{class:"icon is-small",name:"book-open-page-variant",size:"16"}),u("span",{textContent:g(e.$t("page.browse.tabs.composers"))},null,8,mO)],40,dO)],2)]),_:1}),s.spotify_enabled?(w(),be(i,{key:0,to:"/music/spotify",custom:""},{default:E(({navigate:l,isActive:c})=>[u("li",{class:De({"is-active":c})},[u("a",{onClick:l,onKeypress:mn(l,["enter"])},[y(a,{class:"icon is-small",name:"spotify",size:"16"}),u("span",{textContent:g(e.$t("page.browse.tabs.spotify"))},null,8,pO)],40,fO)],2)]),_:1})):H("",!0)])])])])])])}const ur=oe(JT,[["render",hO]]),_O={name:"ModalDialogAlbum",components:{CoverArtwork:Wn},props:["show","album","media_kind","new_tracks"],emits:["close","remove-podcast","play-count-changed"],data(){return{artwork_visible:!1}},computed:{artwork_url(){return N.artwork_url_append_size_params(this.album.artwork_url)},media_kind_resolved(){return this.media_kind?this.media_kind:this.album.media_kind}},methods:{play(){this.$emit("close"),N.player_play_uri(this.album.uri,!1)},queue_add(){this.$emit("close"),N.queue_add(this.album.uri)},queue_add_next(){this.$emit("close"),N.queue_add_next(this.album.uri)},open_album(){this.$emit("close"),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(){this.$emit("close"),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(){N.library_album_track_update(this.album.id,{play_count:"played"}).then(({data:e})=>{this.$emit("play-count-changed"),this.$emit("close")})},artwork_loaded(){this.artwork_visible=!0},artwork_error(){this.artwork_visible=!1}}},gO={key:0,class:"modal is-active"},yO={class:"modal-content fd-modal-card"},vO={class:"card"},bO={class:"card-content"},zO={class:"title is-4"},CO=["textContent"],wO={key:0,class:"buttons"},kO=["textContent"],xO=["textContent"],EO={class:"content is-small"},SO={key:0},$O=["textContent"],AO=["textContent"],TO={key:1},OO=["textContent"],DO=["textContent"],PO={key:2},IO=["textContent"],FO=["textContent"],RO=["textContent"],LO=["textContent"],MO=["textContent"],NO=["textContent"],BO=["textContent"],VO=["textContent"],HO=["textContent"],jO=["textContent"],UO={class:"card-footer"},qO=["textContent"],WO=["textContent"],GO=["textContent"];function KO(e,t,n,r,o,s){const a=S("cover-artwork"),i=S("mdicon");return w(),$("div",null,[y(Dt,{name:"fade"},{default:E(()=>[n.show?(w(),$("div",gO,[u("div",{class:"modal-background",onClick:t[0]||(t[0]=l=>e.$emit("close"))}),u("div",yO,[u("div",vO,[u("div",bO,[y(a,{artwork_url:n.album.artwork_url,artist:n.album.artist,album:n.album.name,class:"fd-has-shadow fd-cover fd-cover-normal-image mb-5"},null,8,["artwork_url","artist","album"]),u("p",zO,[u("a",{class:"has-text-link",onClick:t[1]||(t[1]=(...l)=>s.open_album&&s.open_album(...l)),textContent:g(n.album.name)},null,8,CO)]),s.media_kind_resolved==="podcast"?(w(),$("div",wO,[u("a",{class:"button is-small",onClick:t[2]||(t[2]=(...l)=>s.mark_played&&s.mark_played(...l)),textContent:g(e.$t("dialog.album.mark-as-played"))},null,8,kO),n.album.data_kind==="url"?(w(),$("a",{key:0,class:"button is-small",onClick:t[3]||(t[3]=l=>e.$emit("remove-podcast")),textContent:g(e.$t("dialog.album.remove-podcast"))},null,8,xO)):H("",!0)])):H("",!0),u("div",EO,[n.album.artist?(w(),$("p",SO,[u("span",{class:"heading",textContent:g(e.$t("dialog.album.artist"))},null,8,$O),u("a",{class:"title is-6 has-text-link",onClick:t[4]||(t[4]=(...l)=>s.open_artist&&s.open_artist(...l)),textContent:g(n.album.artist)},null,8,AO)])):H("",!0),n.album.date_released?(w(),$("p",TO,[u("span",{class:"heading",textContent:g(e.$t("dialog.album.release-date"))},null,8,OO),u("span",{class:"title is-6",textContent:g(e.$filters.date(n.album.date_released))},null,8,DO)])):n.album.year>0?(w(),$("p",PO,[u("span",{class:"heading",textContent:g(e.$t("dialog.album.year"))},null,8,IO),u("span",{class:"title is-6",textContent:g(n.album.year)},null,8,FO)])):H("",!0),u("p",null,[u("span",{class:"heading",textContent:g(e.$t("dialog.album.tracks"))},null,8,RO),u("span",{class:"title is-6",textContent:g(n.album.track_count)},null,8,LO)]),u("p",null,[u("span",{class:"heading",textContent:g(e.$t("dialog.album.duration"))},null,8,MO),u("span",{class:"title is-6",textContent:g(e.$filters.durationInHours(n.album.length_ms))},null,8,NO)]),u("p",null,[u("span",{class:"heading",textContent:g(e.$t("dialog.album.type"))},null,8,BO),u("span",{class:"title is-6",textContent:g([e.$t("media.kind."+n.album.media_kind),e.$t("data.kind."+n.album.data_kind)].join(" - "))},null,8,VO)]),u("p",null,[u("span",{class:"heading",textContent:g(e.$t("dialog.album.added-on"))},null,8,HO),u("span",{class:"title is-6",textContent:g(e.$filters.datetime(n.album.time_added))},null,8,jO)])])]),u("footer",UO,[u("a",{class:"card-footer-item has-text-dark",onClick:t[5]||(t[5]=(...l)=>s.queue_add&&s.queue_add(...l))},[y(i,{class:"icon",name:"playlist-plus",size:"16"}),u("span",{class:"is-size-7",textContent:g(e.$t("dialog.album.add"))},null,8,qO)]),u("a",{class:"card-footer-item has-text-dark",onClick:t[6]||(t[6]=(...l)=>s.queue_add_next&&s.queue_add_next(...l))},[y(i,{class:"icon",name:"playlist-play",size:"16"}),u("span",{class:"is-size-7",textContent:g(e.$t("dialog.album.add-next"))},null,8,WO)]),u("a",{class:"card-footer-item has-text-dark",onClick:t[7]||(t[7]=(...l)=>s.play&&s.play(...l))},[y(i,{class:"icon",name:"play",size:"16"}),u("span",{class:"is-size-7",textContent:g(e.$t("dialog.album.play"))},null,8,GO)])])])]),u("button",{class:"modal-close is-large","aria-label":"close",onClick:t[8]||(t[8]=l=>e.$emit("close"))})])):H("",!0)]),_:1})])}const tu=oe(_O,[["render",KO]]),ZO={name:"ModalDialog",props:["show","title","ok_action","delete_action","close_action"],emits:["delete","close","ok"]},YO={key:0,class:"modal is-active"},JO={class:"modal-content fd-modal-card"},XO={class:"card"},QO={class:"card-content"},e6=["textContent"],t6={class:"card-footer is-clipped"},n6=["textContent"],r6=["textContent"],o6=["textContent"];function s6(e,t,n,r,o,s){const a=S("mdicon");return w(),$("div",null,[y(Dt,{name:"fade"},{default:E(()=>[n.show?(w(),$("div",YO,[u("div",{class:"modal-background",onClick:t[0]||(t[0]=i=>e.$emit("close"))}),u("div",JO,[u("div",XO,[u("div",QO,[n.title?(w(),$("p",{key:0,class:"title is-4",textContent:g(n.title)},null,8,e6)):H("",!0),lt(e.$slots,"modal-content")]),u("footer",t6,[u("a",{class:"card-footer-item has-text-dark",onClick:t[1]||(t[1]=i=>e.$emit("close"))},[y(a,{class:"icon",name:"cancel",size:"16"}),u("span",{class:"is-size-7",textContent:g(n.close_action?n.close_action:e.$t("dialog.cancel"))},null,8,n6)]),n.delete_action?(w(),$("a",{key:0,class:"card-footer-item has-background-danger has-text-white has-text-weight-bold",onClick:t[2]||(t[2]=i=>e.$emit("delete"))},[y(a,{class:"icon",name:"delete",size:"16"}),u("span",{class:"is-size-7",textContent:g(n.delete_action)},null,8,r6)])):H("",!0),n.ok_action?(w(),$("a",{key:1,class:"card-footer-item has-background-info has-text-white has-text-weight-bold",onClick:t[3]||(t[3]=i=>e.$emit("ok"))},[y(a,{class:"icon",name:"check",size:"16"}),u("span",{class:"is-size-7",textContent:g(n.ok_action)},null,8,o6)])):H("",!0)])])]),u("button",{class:"modal-close is-large","aria-label":"close",onClick:t[4]||(t[4]=i=>e.$emit("close"))})])):H("",!0)]),_:3})])}const im=oe(ZO,[["render",s6]]),a6={name:"ListAlbums",components:{CoverArtwork:Wn,ModalDialogAlbum:tu,ModalDialog:im},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:{}}},computed:{is_visible_artwork(){return this.$store.getters.settings_option("webinterface","show_cover_artwork_in_album_lists").value},media_kind_resolved(){return this.media_kind?this.media_kind:this.selected_album.media_kind}},methods:{open_album(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(e){this.selected_album=e,this.show_details_modal=!0},open_remove_podcast_dialog(){N.library_album_tracks(this.selected_album.id,{limit:1}).then(({data:e})=>{N.library_track_playlists(e.items[0].id).then(({data:t})=>{this.rss_playlist_to_remove=t.items.filter(n=>n.type==="rss")[0],this.show_remove_podcast_modal=!0,this.show_details_modal=!1})})},play_count_changed(){this.$emit("play-count-changed")},remove_podcast(){this.show_remove_podcast_modal=!1,N.library_playlist_delete(this.rss_playlist_to_remove.id).then(()=>{this.$emit("podcast-deleted")})}}},i6={key:0,class:"mt-6 mb-5 py-2"},l6=["id","textContent"],u6=["onClick"],c6={key:0,class:"media-left"},d6={class:"media-content is-clickable is-clipped"},m6=["textContent"],f6={class:"subtitle is-7 has-text-grey"},p6=["textContent"],h6=["textContent"],_6={class:"media-right"},g6=["onClick"],y6=["textContent"],v6={class:"is-size-7"},b6=["textContent"],z6=["textContent"];function C6(e,t,n,r,o,s){const a=S("cover-artwork"),i=S("mdicon"),l=S("modal-dialog-album"),c=S("modal-dialog");return w(),$(Te,null,[(w(!0),$(Te,null,ft(n.albums,d=>(w(),$(Te,{key:d.itemId},[!d.isItem&&!n.hide_group_title?(w(),$("div",i6,[u("span",{id:"index_"+d.groupKey,class:"tag is-info is-light is-small has-text-weight-bold",textContent:g(d.groupKey)},null,8,l6)])):d.isItem?(w(),$("div",{key:1,class:"media is-align-items-center",onClick:f=>s.open_album(d.item)},[s.is_visible_artwork?(w(),$("div",c6,[y(a,{artwork_url:d.item.artwork_url,artist:d.item.artist,album:d.item.name,class:"is-clickable fd-has-shadow fd-cover fd-cover-small-image"},null,8,["artwork_url","artist","album"])])):H("",!0),u("div",d6,[u("div",null,[u("h1",{class:"title is-6",textContent:g(d.item.name)},null,8,m6),u("h2",f6,[u("b",{textContent:g(d.item.artist)},null,8,p6)]),d.item.date_released&&d.item.media_kind==="music"?(w(),$("h2",{key:0,class:"subtitle is-7 has-text-grey has-text-weight-normal",textContent:g(e.$filters.date(d.item.date_released))},null,8,h6)):H("",!0)])]),u("div",_6,[u("a",{onClick:st(f=>s.open_dialog(d.item),["prevent","stop"])},[y(i,{class:"icon has-text-dark",name:"dots-vertical",size:"16"})],8,g6)])],8,u6)):H("",!0)],64))),128)),(w(),be(Yr,{to:"#app"},[y(l,{show:o.show_details_modal,album:o.selected_album,media_kind:n.media_kind,onRemovePodcast:t[0]||(t[0]=d=>s.open_remove_podcast_dialog()),onPlayCountChanged:t[1]||(t[1]=d=>s.play_count_changed()),onClose:t[2]||(t[2]=d=>o.show_details_modal=!1)},null,8,["show","album","media_kind"]),y(c,{show:o.show_remove_podcast_modal,title:e.$t("page.podcast.remove-podcast"),delete_action:e.$t("page.podcast.remove"),onClose:t[3]||(t[3]=d=>o.show_remove_podcast_modal=!1),onDelete:s.remove_podcast},{"modal-content":E(()=>[u("p",{textContent:g(e.$t("list.albums.info-1"))},null,8,y6),u("p",v6,[ct(" ("),u("span",{textContent:g(e.$t("list.albums.info-2"))},null,8,b6),u("b",{textContent:g(o.rss_playlist_to_remove.name)},null,8,z6),ct(") ")])]),_:1},8,["show","title","delete_action","onDelete"])]))],64)}const cr=oe(a6,[["render",C6]]),w6={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 qn;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(){this.$emit("close"),N.player_play_uri(this.track.uri,!1)},queue_add(){this.$emit("close"),N.queue_add(this.track.uri)},queue_add_next(){this.$emit("close"),N.queue_add_next(this.track.uri)},open_album(){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(){this.$emit("close"),this.$router.push({path:"/music/artists/"+this.track.album_artist_id})},open_genre(){this.$router.push({name:"Genre",params:{genre:this.track.genre}})},open_spotify_artist(){this.$emit("close"),this.$router.push({path:"/music/spotify/artists/"+this.spotify_track.artists[0].id})},open_spotify_album(){this.$emit("close"),this.$router.push({path:"/music/spotify/albums/"+this.spotify_track.album.id})},mark_new(){N.library_track_update(this.track.id,{play_count:"reset"}).then(()=>{this.$emit("play-count-changed"),this.$emit("close")})},mark_played(){N.library_track_update(this.track.id,{play_count:"increment"}).then(()=>{this.$emit("play-count-changed"),this.$emit("close")})}}},k6={key:0,class:"modal is-active"},x6={class:"modal-content fd-modal-card"},E6={class:"card"},S6={class:"card-content"},$6=["textContent"],A6=["textContent"],T6={key:0,class:"buttons"},O6=["textContent"],D6=["textContent"],P6={class:"content is-small"},I6=["textContent"],F6=["textContent"],R6={key:0},L6=["textContent"],M6=["textContent"],N6={key:1},B6=["textContent"],V6=["textContent"],H6={key:2},j6=["textContent"],U6=["textContent"],q6={key:3},W6=["textContent"],G6=["textContent"],K6={key:4},Z6=["textContent"],Y6=["textContent"],J6=["textContent"],X6=["textContent"],Q6=["textContent"],e3=["textContent"],t3=["textContent"],n3=["textContent"],r3=["textContent"],o3={class:"title is-6"},s3=["textContent"],a3={key:0,class:"has-text-weight-normal"},i3=["textContent"],l3=["textContent"],u3=["textContent"],c3={class:"title is-6"},d3=["textContent"],m3=["textContent"],f3=["textContent"],p3=["textContent"],h3=["textContent"],_3=["textContent"],g3=["textContent"],y3=["textContent"],v3={key:5},b3=["textContent"],z3=["textContent"],C3={class:"card-footer"},w3=["textContent"],k3=["textContent"],x3=["textContent"];function E3(e,t,n,r,o,s){const a=S("mdicon");return w(),$("div",null,[y(Dt,{name:"fade"},{default:E(()=>[n.show?(w(),$("div",k6,[u("div",{class:"modal-background",onClick:t[0]||(t[0]=i=>e.$emit("close"))}),u("div",x6,[u("div",E6,[u("div",S6,[u("p",{class:"title is-4",textContent:g(n.track.title)},null,8,$6),u("p",{class:"subtitle",textContent:g(n.track.artist)},null,8,A6),n.track.media_kind==="podcast"?(w(),$("div",T6,[n.track.play_count>0?(w(),$("a",{key:0,class:"button is-small",onClick:t[1]||(t[1]=(...i)=>s.mark_new&&s.mark_new(...i)),textContent:g(e.$t("dialog.track.mark-as-new"))},null,8,O6)):H("",!0),n.track.play_count===0?(w(),$("a",{key:1,class:"button is-small",onClick:t[2]||(t[2]=(...i)=>s.mark_played&&s.mark_played(...i)),textContent:g(e.$t("dialog.track.mark-as-played"))},null,8,D6)):H("",!0)])):H("",!0),u("div",P6,[u("p",null,[u("span",{class:"heading",textContent:g(e.$t("dialog.track.album"))},null,8,I6),u("a",{class:"title is-6 has-text-link",onClick:t[3]||(t[3]=(...i)=>s.open_album&&s.open_album(...i)),textContent:g(n.track.album)},null,8,F6)]),n.track.album_artist&&n.track.media_kind!=="audiobook"?(w(),$("p",R6,[u("span",{class:"heading",textContent:g(e.$t("dialog.track.album-artist"))},null,8,L6),u("a",{class:"title is-6 has-text-link",onClick:t[4]||(t[4]=(...i)=>s.open_artist&&s.open_artist(...i)),textContent:g(n.track.album_artist)},null,8,M6)])):H("",!0),n.track.composer?(w(),$("p",N6,[u("span",{class:"heading",textContent:g(e.$t("dialog.track.composer"))},null,8,B6),u("span",{class:"title is-6",textContent:g(n.track.composer)},null,8,V6)])):H("",!0),n.track.date_released?(w(),$("p",H6,[u("span",{class:"heading",textContent:g(e.$t("dialog.track.release-date"))},null,8,j6),u("span",{class:"title is-6",textContent:g(e.$filters.date(n.track.date_released))},null,8,U6)])):n.track.year>0?(w(),$("p",q6,[u("span",{class:"heading",textContent:g(e.$t("dialog.track.year"))},null,8,W6),u("span",{class:"title is-6",textContent:g(n.track.year)},null,8,G6)])):H("",!0),n.track.genre?(w(),$("p",K6,[u("span",{class:"heading",textContent:g(e.$t("dialog.track.genre"))},null,8,Z6),u("a",{class:"title is-6 has-text-link",onClick:t[5]||(t[5]=(...i)=>s.open_genre&&s.open_genre(...i)),textContent:g(n.track.genre)},null,8,Y6)])):H("",!0),u("p",null,[u("span",{class:"heading",textContent:g(e.$t("dialog.track.position"))},null,8,J6),u("span",{class:"title is-6",textContent:g([n.track.disc_number,n.track.track_number].join(" / "))},null,8,X6)]),u("p",null,[u("span",{class:"heading",textContent:g(e.$t("dialog.track.duration"))},null,8,Q6),u("span",{class:"title is-6",textContent:g(e.$filters.durationInHours(n.track.length_ms))},null,8,e3)]),u("p",null,[u("span",{class:"heading",textContent:g(e.$t("dialog.track.path"))},null,8,t3),u("span",{class:"title is-6",textContent:g(n.track.path)},null,8,n3)]),u("p",null,[u("span",{class:"heading",textContent:g(e.$t("dialog.track.type"))},null,8,r3),u("span",o3,[u("span",{textContent:g([e.$t("media.kind."+n.track.media_kind),e.$t("data.kind."+n.track.data_kind)].join(" - "))},null,8,s3),n.track.data_kind==="spotify"?(w(),$("span",a3,[ct(" ("),u("a",{onClick:t[6]||(t[6]=(...i)=>s.open_spotify_artist&&s.open_spotify_artist(...i)),textContent:g(e.$t("dialog.track.spotify-artist"))},null,8,i3),ct(", "),u("a",{onClick:t[7]||(t[7]=(...i)=>s.open_spotify_album&&s.open_spotify_album(...i)),textContent:g(e.$t("dialog.track.spotify-album"))},null,8,l3),ct(") ")])):H("",!0)])]),u("p",null,[u("span",{class:"heading",textContent:g(e.$t("dialog.track.quality"))},null,8,u3),u("span",c3,[u("span",{textContent:g(n.track.type)},null,8,d3),n.track.samplerate?(w(),$("span",{key:0,textContent:g(e.$t("dialog.track.samplerate",{rate:n.track.samplerate}))},null,8,m3)):H("",!0),n.track.channels?(w(),$("span",{key:1,textContent:g(e.$t("dialog.track.channels",{channels:e.$filters.channels(n.track.channels)}))},null,8,f3)):H("",!0),n.track.bitrate?(w(),$("span",{key:2,textContent:g(e.$t("dialog.track.bitrate",{rate:n.track.bitrate}))},null,8,p3)):H("",!0)])]),u("p",null,[u("span",{class:"heading",textContent:g(e.$t("dialog.track.added-on"))},null,8,h3),u("span",{class:"title is-6",textContent:g(e.$filters.datetime(n.track.time_added))},null,8,_3)]),u("p",null,[u("span",{class:"heading",textContent:g(e.$t("dialog.track.rating"))},null,8,g3),u("span",{class:"title is-6",textContent:g(e.$t("dialog.track.rating-value",{rating:Math.floor(n.track.rating/10)}))},null,8,y3)]),n.track.comment?(w(),$("p",v3,[u("span",{class:"heading",textContent:g(e.$t("dialog.track.comment"))},null,8,b3),u("span",{class:"title is-6",textContent:g(n.track.comment)},null,8,z3)])):H("",!0)])]),u("footer",C3,[u("a",{class:"card-footer-item has-text-dark",onClick:t[8]||(t[8]=(...i)=>s.queue_add&&s.queue_add(...i))},[y(a,{class:"icon",name:"playlist-plus",size:"16"}),u("span",{class:"is-size-7",textContent:g(e.$t("dialog.track.add"))},null,8,w3)]),u("a",{class:"card-footer-item has-text-dark",onClick:t[9]||(t[9]=(...i)=>s.queue_add_next&&s.queue_add_next(...i))},[y(a,{class:"icon",name:"playlist-play",size:"16"}),u("span",{class:"is-size-7",textContent:g(e.$t("dialog.track.add-next"))},null,8,k3)]),u("a",{class:"card-footer-item has-text-dark",onClick:t[10]||(t[10]=(...i)=>s.play_track&&s.play_track(...i))},[y(a,{class:"icon",name:"play",size:"16"}),u("span",{class:"is-size-7",textContent:g(e.$t("dialog.track.play"))},null,8,x3)])])])]),u("button",{class:"modal-close is-large","aria-label":"close",onClick:t[11]||(t[11]=i=>e.$emit("close"))})])):H("",!0)]),_:1})])}const S3=oe(w6,[["render",E3]]),$3={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 A3(e,t,n,r,o,s){return s.width>0?(w(),$("div",{key:0,class:"progress-bar mt-2",style:Cr({width:s.width_percent})},null,4)):H("",!0)}const T3=oe($3,[["render",A3]]),O3={name:"ListTracks",components:{ModalDialogTrack:S3,ProgressBar:T3},props:["tracks","uris","expression","show_progress","show_icon"],emits:["play-count-changed"],data(){return{show_details_modal:!1,selected_track:{}}},methods:{play_track(e,t){this.uris?N.player_play_uri(this.uris,!1,e):this.expression?N.player_play_expression(this.expression,!1,e):N.player_play_uri(t.uri,!1)},open_dialog(e){this.selected_track=e,this.show_details_modal=!0}}},D3={key:0,class:"mt-6 mb-5 py-2"},P3=["id","textContent"],I3=["onClick"],F3={key:0,class:"media-left is-clickable"},R3={class:"media-content is-clickable is-clipped"},L3=["textContent"],M3=["textContent"],N3=["textContent"],B3={class:"media-right"},V3=["onClick"];function H3(e,t,n,r,o,s){const a=S("mdicon"),i=S("progress-bar"),l=S("modal-dialog-track");return w(),$(Te,null,[(w(!0),$(Te,null,ft(n.tracks,(c,d)=>(w(),$(Te,{key:c.itemId},[c.isItem?c.isItem?(w(),$("div",{key:1,class:De(["media is-align-items-center",{"with-progress":n.show_progress}]),onClick:f=>s.play_track(d,c.item)},[n.show_icon?(w(),$("figure",F3,[y(a,{class:"icon",name:"file-outline",size:"16"})])):H("",!0),u("div",R3,[u("h1",{class:De(["title is-6",{"has-text-grey":c.item.media_kind==="podcast"&&c.item.play_count>0}]),textContent:g(c.item.title)},null,10,L3),u("h2",{class:"subtitle is-7 has-text-grey",textContent:g(c.item.artist)},null,8,M3),u("h2",{class:"subtitle is-7 has-text-grey",textContent:g(c.item.album)},null,8,N3),n.show_progress?(w(),be(i,{key:0,max:c.item.length_ms,value:c.item.seek_ms},null,8,["max","value"])):H("",!0)]),u("div",B3,[u("a",{onClick:st(f=>s.open_dialog(c.item),["prevent","stop"])},[y(a,{class:"icon has-text-dark",name:"dots-vertical",size:"16"})],8,V3)])],10,I3)):H("",!0):(w(),$("div",D3,[u("span",{id:"index_"+c.groupKey,class:"tag is-info is-light is-small has-text-weight-bold",textContent:g(c.groupKey)},null,8,P3)]))],64))),128)),(w(),be(Yr,{to:"#app"},[y(l,{show:o.show_details_modal,track:o.selected_track,onClose:t[0]||(t[0]=c=>o.show_details_modal=!1),onPlayCountChanged:t[1]||(t[1]=c=>e.$emit("play-count-changed"))},null,8,["show","track"])]))],64)}const bn=oe(O3,[["render",H3]]),{t:Bu,locale:lm}=Hl.global,bv="GROUP_KEY_NONE";function zv(){return{compareFn:null,groupKeyFn:e=>bv}}function Gn(e,t=!1,n="_"){return{compareFn:t?null:(r,o)=>{const s=r[e]||n,a=o[e]||n;return s.localeCompare(a,lm.value)},groupKeyFn:r=>{const o=(r[e]||n).charAt(0);return o.match(/\p{Letter}/gu)?o.toUpperCase():o.match(/\p{Number}/gu)?"#":"⌘"}}}function um(e,{direction:t="asc",defaultValue:n=0}){return{compareFn:(r,o)=>{const s=r[e]||n,a=o[e]||n,i=s-a;return t==="asc"?i:i*-1},groupKeyFn:r=>{const o=r[e]||n;return Math.floor(o/10)}}}function gl(e,{direction:t="asc",defaultValue:n="0000"}){return{compareFn:(r,o)=>{const s=r[e]||n,a=o[e]||n,i=s.localeCompare(a,lm.value);return t==="asc"?i:i*-1},groupKeyFn:r=>(r[e]||n).substring(0,4)}}function j3(e,t="0000"){return{compareFn:(n,r)=>{const o=n[e]||t;return(r[e]||t).localeCompare(o,lm.value)},groupKeyFn:n=>{const r=n[e];if(!r)return t;const o=new Date().getTime()-new Date(r).getTime();return o<864e5?Bu("group-by-list.today"):o<6048e5?Bu("group-by-list.last-week"):o<2592e6?Bu("group-by-list.last-month"):r.substring(0,4)}}}class we{constructor({items:t=[],total:n=0,offset:r=0,limit:o=-1}={}){this.items=t,this.total=n,this.offset=r,this.limit=o,this.count=t.length,this.indexList=[],this.group(zv())}get(){return this.itemsByGroup}isEmpty(){return!this.items||this.items.length<=0}group(t,n=[]){const r=n?this.items.filter(s=>n.every(a=>a(s))):this.items;this.count=r.length;let o=t.compareFn?[...r].sort(t.compareFn):r;this.indexList=[...new Set(o.map(t.groupKeyFn))],this.itemsByGroup=o.reduce((s,a)=>{const i=t.groupKeyFn(a);return s[i]=[...s[i]||[],a],s},{})}[Symbol.iterator](){let t=-1,n=-1;return{next:()=>{if(this.isEmpty())return{done:!0};if(t>=this.indexList.length)return{done:!0};if(t<0&&(++t,n=0,this.indexList[t]!==bv))return{value:{groupKey:this.indexList[t],itemId:this.indexList[t],isItem:!1,item:{}},done:!1};let r=this.indexList[t],o=this.itemsByGroup[r];if(n<o.length){const s=this.itemsByGroup[r][n++];return{value:{groupKey:r,itemId:s.id,isItem:!0,item:s},done:!1}}else return++t,n=0,t<this.indexList.length?(r=this.indexList[t],{value:{groupKey:r,itemId:r,isItem:!1,item:{}},done:!1}):{done:!0}}}}}const ai={load(e){return Promise.all([N.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}),N.search({type:"track",expression:"time_played after 8 weeks ago and media_kind is music order by time_played desc",limit:3})])},set(e,t){e.recently_added=new we(t[0].data.albums),e.recently_played=new we(t[1].data.tracks)}},U3={name:"PageBrowse",components:{ContentWithHeading:nt,TabsMusic:ur,ListAlbums:cr,ListTracks:bn},beforeRouteEnter(e,t,n){ai.load(e).then(r=>{n(o=>ai.set(o,r))})},beforeRouteUpdate(e,t,n){const r=this;ai.load(e).then(o=>{ai.set(r,o),n()})},data(){return{recently_added:[],recently_played:{items:[]},show_track_details_modal:!1,selected_track:{}}},methods:{open_browse(e){this.$router.push({path:"/music/browse/"+e})}}},q3={class:"fd-page-with-tabs"},W3=["textContent"],G3=["textContent"],K3={class:"level"},Z3={class:"level-item"},Y3=["textContent"],J3=["textContent"],X3=["textContent"],Q3={class:"level"},e4={class:"level-item"},t4=["textContent"];function n4(e,t,n,r,o,s){const a=S("tabs-music"),i=S("list-albums"),l=S("content-with-heading"),c=S("list-tracks");return w(),$("div",q3,[y(a),y(l,null,{"heading-left":E(()=>[u("p",{class:"title is-4",textContent:g(e.$t("page.browse.recently-added.title"))},null,8,W3),u("p",{class:"heading",textContent:g(e.$t("page.browse.albums"))},null,8,G3)]),content:E(()=>[y(i,{albums:o.recently_added},null,8,["albums"])]),footer:E(()=>[u("nav",K3,[u("p",Z3,[u("a",{class:"button is-light is-small is-rounded",onClick:t[0]||(t[0]=d=>s.open_browse("recently_added")),textContent:g(e.$t("page.browse.show-more"))},null,8,Y3)])])]),_:1}),y(l,null,{"heading-left":E(()=>[u("p",{class:"title is-4",textContent:g(e.$t("page.browse.recently-played.title"))},null,8,J3),u("p",{class:"heading",textContent:g(e.$t("page.browse.tracks"))},null,8,X3)]),content:E(()=>[y(c,{tracks:o.recently_played},null,8,["tracks"])]),footer:E(()=>[u("nav",Q3,[u("p",e4,[u("a",{class:"button is-light is-small is-rounded",onClick:t[1]||(t[1]=d=>s.open_browse("recently_played")),textContent:g(e.$t("page.browse.show-more"))},null,8,t4)])])]),_:1})])}const r4=oe(U3,[["render",n4]]),ii={load(e){const t=Ke.getters.settings_option_recently_added_limit;return N.search({type:"album",expression:"media_kind is music having track_count > 3 order by time_added desc",limit:t})},set(e,t){e.recently_added=new we(t.data.albums),e.recently_added.group(j3("time_added",{direction:"desc"}))}},o4={name:"PageBrowseType",components:{ContentWithHeading:nt,TabsMusic:ur,ListAlbums:cr},beforeRouteEnter(e,t,n){ii.load(e).then(r=>{n(o=>ii.set(o,r))})},beforeRouteUpdate(e,t,n){if(!this.recently_added.isEmpty()){n();return}const r=this;ii.load(e).then(o=>{ii.set(r,o),n()})},data(){return{recently_added:new we}}},s4={class:"fd-page-with-tabs"},a4=["textContent"],i4=["textContent"];function l4(e,t,n,r,o,s){const a=S("tabs-music"),i=S("list-albums"),l=S("content-with-heading");return w(),$("div",s4,[y(a),y(l,null,{"heading-left":E(()=>[u("p",{class:"title is-4",textContent:g(e.$t("page.browse.recently-added.title"))},null,8,a4),u("p",{class:"heading",textContent:g(e.$t("page.browse.recently-added.albums"))},null,8,i4)]),content:E(()=>[y(i,{albums:o.recently_added},null,8,["albums"])]),_:1})])}const u4=oe(o4,[["render",l4]]),li={load(e){return N.search({type:"track",expression:"time_played after 8 weeks ago and media_kind is music order by time_played desc",limit:50})},set(e,t){e.recently_played=new we(t.data.tracks)}},c4={name:"PageBrowseType",components:{ContentWithHeading:nt,TabsMusic:ur,ListTracks:bn},beforeRouteEnter(e,t,n){li.load(e).then(r=>{n(o=>li.set(o,r))})},beforeRouteUpdate(e,t,n){const r=this;li.load(e).then(o=>{li.set(r,o),n()})},data(){return{recently_played:{}}}},d4={class:"fd-page-with-tabs"},m4=["textContent"],f4=["textContent"];function p4(e,t,n,r,o,s){const a=S("tabs-music"),i=S("list-tracks"),l=S("content-with-heading");return w(),$("div",d4,[y(a),y(l,null,{"heading-left":E(()=>[u("p",{class:"title is-4",textContent:g(e.$t("page.browse.recently-played.title"))},null,8,m4),u("p",{class:"heading",textContent:g(e.$t("page.browse.recently-played.tracks"))},null,8,f4)]),content:E(()=>[y(i,{tracks:o.recently_played},null,8,["tracks"])]),_:1})])}const h4=oe(c4,[["render",p4]]),_4={name:"ControlDropdown",props:["value","options"],emits:["update:value"],data(){return{is_active:!1}},computed:{option:{get(){return this.options.find(e=>e.id===this.value)}}},methods:{onClickOutside(e){this.is_active=!1},select(e){this.is_active=!1,this.$emit("update:value",e.id)}}},g4={class:"dropdown-trigger"},y4=["textContent"],v4={id:"dropdown",class:"dropdown-menu",role:"menu"},b4={class:"dropdown-content"},z4=["onClick","textContent"];function C4(e,t,n,r,o,s){const a=S("mdicon"),i=zd("click-away");return bt((w(),$("div",{class:De(["dropdown",{"is-active":o.is_active}])},[u("div",g4,[u("button",{class:"button","aria-haspopup":"true","aria-controls":"dropdown",onClick:t[0]||(t[0]=l=>o.is_active=!o.is_active)},[u("span",{textContent:g(s.option.name)},null,8,y4),y(a,{class:"icon",name:"chevron-down",size:"16"})])]),u("div",v4,[u("div",b4,[(w(!0),$(Te,null,ft(n.options,l=>(w(),$("a",{key:l.id,class:De(["dropdown-item",{"is-active":n.value===l.id}]),onClick:c=>s.select(l),textContent:g(l.name)},null,10,z4))),128))])])],2)),[[i,s.onClickOutside]])}const Co=oe(_4,[["render",C4]]),w4={name:"IndexButtonList",props:["index"],methods:{nav(e){this.$router.push({hash:"#index_"+e})}}},k4={class:"buttons is-centered mb-4 fd-is-square"},x4=["onClick","textContent"];function E4(e,t,n,r,o,s){return w(),$("section",null,[u("nav",k4,[(w(!0),$(Te,null,ft(n.index,a=>(w(),$("a",{key:a,class:"button is-small",onClick:i=>s.nav(a),textContent:g(a)},null,8,x4))),128))])])}const dr=oe(w4,[["render",E4]]),S4={name:"ModalDialogArtist",props:["show","artist"],emits:["close"],methods:{play(){this.$emit("close"),N.player_play_uri(this.artist.uri,!1)},queue_add(){this.$emit("close"),N.queue_add(this.artist.uri)},queue_add_next(){this.$emit("close"),N.queue_add_next(this.artist.uri)},open_artist(){this.$emit("close"),this.$router.push({path:"/music/artists/"+this.artist.id})}}},$4={key:0,class:"modal is-active"},A4={class:"modal-content fd-modal-card"},T4={class:"card"},O4={class:"card-content"},D4={class:"title is-4"},P4=["textContent"],I4={class:"content is-small"},F4=["textContent"],R4=["textContent"],L4=["textContent"],M4=["textContent"],N4=["textContent"],B4=["textContent"],V4=["textContent"],H4=["textContent"],j4={class:"card-footer"},U4=["textContent"],q4=["textContent"],W4=["textContent"];function G4(e,t,n,r,o,s){const a=S("mdicon");return w(),$("div",null,[y(Dt,{name:"fade"},{default:E(()=>[n.show?(w(),$("div",$4,[u("div",{class:"modal-background",onClick:t[0]||(t[0]=i=>e.$emit("close"))}),u("div",A4,[u("div",T4,[u("div",O4,[u("p",D4,[u("a",{class:"has-text-link",onClick:t[1]||(t[1]=(...i)=>s.open_artist&&s.open_artist(...i)),textContent:g(n.artist.name)},null,8,P4)]),u("div",I4,[u("p",null,[u("span",{class:"heading",textContent:g(e.$t("dialog.artist.albums"))},null,8,F4),u("span",{class:"title is-6",textContent:g(n.artist.album_count)},null,8,R4)]),u("p",null,[u("span",{class:"heading",textContent:g(e.$t("dialog.artist.tracks"))},null,8,L4),u("span",{class:"title is-6",textContent:g(n.artist.track_count)},null,8,M4)]),u("p",null,[u("span",{class:"heading",textContent:g(e.$t("dialog.artist.type"))},null,8,N4),u("span",{class:"title is-6",textContent:g(e.$t("data.kind."+n.artist.data_kind))},null,8,B4)]),u("p",null,[u("span",{class:"heading",textContent:g(e.$t("dialog.artist.added-on"))},null,8,V4),u("span",{class:"title is-6",textContent:g(e.$filters.datetime(n.artist.time_added))},null,8,H4)])])]),u("footer",j4,[u("a",{class:"card-footer-item has-text-dark",onClick:t[2]||(t[2]=(...i)=>s.queue_add&&s.queue_add(...i))},[y(a,{class:"icon",name:"playlist-plus",size:"16"}),u("span",{class:"is-size-7",textContent:g(e.$t("dialog.artist.add"))},null,8,U4)]),u("a",{class:"card-footer-item has-text-dark",onClick:t[3]||(t[3]=(...i)=>s.queue_add_next&&s.queue_add_next(...i))},[y(a,{class:"icon",name:"playlist-play",size:"16"}),u("span",{class:"is-size-7",textContent:g(e.$t("dialog.artist.add-next"))},null,8,q4)]),u("a",{class:"card-footer-item has-text-dark",onClick:t[4]||(t[4]=(...i)=>s.play&&s.play(...i))},[y(a,{class:"icon",name:"play",size:"16"}),u("span",{class:"is-size-7",textContent:g(e.$t("dialog.artist.play"))},null,8,W4)])])])]),u("button",{class:"modal-close is-large","aria-label":"close",onClick:t[5]||(t[5]=i=>e.$emit("close"))})])):H("",!0)]),_:1})])}const nu=oe(S4,[["render",G4]]),K4={name:"ListArtists",components:{ModalDialogArtist:nu},props:["artists","media_kind","hide_group_title"],data(){return{show_details_modal:!1,selected_artist:{}}},computed:{media_kind_resolved(){return this.media_kind?this.media_kind:this.selected_artist.media_kind}},methods:{open_artist(e){this.selected_artist=e,this.media_kind_resolved==="audiobook"?this.$router.push({path:"/audiobooks/artists/"+e.id}):this.$router.push({path:"/music/artists/"+e.id})},open_dialog(e){this.selected_artist=e,this.show_details_modal=!0}}},Z4={key:0,class:"mt-6 mb-5 py-2"},Y4={class:"media-content is-clipped"},J4=["id","textContent"],X4=["onClick"],Q4={class:"media-content is-clickable is-clipped"},e5=["textContent"],t5={class:"media-right"},n5=["onClick"];function r5(e,t,n,r,o,s){const a=S("mdicon"),i=S("modal-dialog-artist");return w(),$(Te,null,[(w(!0),$(Te,null,ft(n.artists,l=>(w(),$(Te,{key:l.itemId},[!l.isItem&&!n.hide_group_title?(w(),$("div",Z4,[u("div",Y4,[u("span",{id:"index_"+l.groupKey,class:"tag is-info is-light is-small has-text-weight-bold",textContent:g(l.groupKey)},null,8,J4)])])):l.isItem?(w(),$("div",{key:1,class:"media is-align-items-center",onClick:c=>s.open_artist(l.item)},[u("div",Q4,[u("h1",{class:"title is-6",textContent:g(l.item.name)},null,8,e5)]),u("div",t5,[u("a",{onClick:st(c=>s.open_dialog(l.item),["prevent","stop"])},[y(a,{class:"icon has-text-dark",name:"dots-vertical",size:"16"})],8,n5)])],8,X4)):H("",!0)],64))),128)),(w(),be(Yr,{to:"#app"},[y(i,{show:o.show_details_modal,artist:o.selected_artist,media_kind:n.media_kind,onClose:t[0]||(t[0]=l=>o.show_details_modal=!1)},null,8,["show","artist","media_kind"])]))],64)}const cm=oe(K4,[["render",r5]]),ui={load(e){return N.library_artists("music")},set(e,t){e.artists_list=new we(t.data)}},o5={name:"PageArtists",components:{ContentWithHeading:nt,ControlDropdown:Co,IndexButtonList:dr,ListArtists:cm,TabsMusic:ur},beforeRouteEnter(e,t,n){ui.load(e).then(r=>{n(o=>ui.set(o,r))})},beforeRouteUpdate(e,t,n){if(!this.artists_list.isEmpty()){n();return}const r=this;ui.load(e).then(o=>{ui.set(r,o),n()})},data(){return{artists_list:new we,groupby_options:[{id:1,name:this.$t("page.artists.sort-by.name"),options:Gn("name_sort",!0)},{id:2,name:this.$t("page.artists.sort-by.recently-added"),options:gl("time_added",{direction:"desc"})}]}},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(Bg,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(ql,e)}},hide_spotify:{get(){return this.$store.state.hide_spotify},set(e){this.$store.commit(Ud,e)}}}},s5={class:"fd-page-with-tabs"},a5={class:"columns"},i5={class:"column"},l5=["textContent"],u5={class:"field"},c5={class:"control"},d5=["textContent"],m5=["textContent"],f5={key:0,class:"field"},p5={class:"control"},h5=["textContent"],_5=["textContent"],g5={class:"column"},y5=["textContent"],v5=["textContent"],b5=["textContent"];function z5(e,t,n,r,o,s){const a=S("tabs-music"),i=S("index-button-list"),l=S("control-dropdown"),c=S("list-artists"),d=S("content-with-heading");return w(),$("div",s5,[y(a),y(d,null,{options:E(()=>[y(i,{index:s.artists.indexList},null,8,["index"]),u("div",a5,[u("div",i5,[u("p",{class:"heading mb-5",textContent:g(e.$t("page.artists.filter"))},null,8,l5),u("div",u5,[u("div",c5,[bt(u("input",{id:"switchHideSingles","onUpdate:modelValue":t[0]||(t[0]=f=>s.hide_singles=f),type:"checkbox",class:"switch is-rounded"},null,512),[[ar,s.hide_singles]]),u("label",{for:"switchHideSingles",textContent:g(e.$t("page.artists.hide-singles"))},null,8,d5)]),u("p",{class:"help",textContent:g(e.$t("page.artists.hide-singles-help"))},null,8,m5)]),s.spotify_enabled?(w(),$("div",f5,[u("div",p5,[bt(u("input",{id:"switchHideSpotify","onUpdate:modelValue":t[1]||(t[1]=f=>s.hide_spotify=f),type:"checkbox",class:"switch is-rounded"},null,512),[[ar,s.hide_spotify]]),u("label",{for:"switchHideSpotify",textContent:g(e.$t("page.artists.hide-spotify"))},null,8,h5)]),u("p",{class:"help",textContent:g(e.$t("page.artists.hide-spotify-help"))},null,8,_5)])):H("",!0)]),u("div",g5,[u("p",{class:"heading mb-5",textContent:g(e.$t("page.artists.sort-by.title"))},null,8,y5),y(l,{value:s.selected_groupby_option_id,"onUpdate:value":t[2]||(t[2]=f=>s.selected_groupby_option_id=f),options:o.groupby_options},null,8,["value","options"])])])]),"heading-left":E(()=>[u("p",{class:"title is-4",textContent:g(e.$t("page.artists.title"))},null,8,v5),u("p",{class:"heading",textContent:g(e.$t("page.artists.count",{count:s.artists.count}))},null,8,b5)]),"heading-right":E(()=>[]),content:E(()=>[y(c,{artists:s.artists},null,8,["artists"])]),_:1})])}const C5=oe(o5,[["render",z5]]),ci={load(e){return Promise.all([N.library_artist(e.params.artist_id),N.library_artist_albums(e.params.artist_id)])},set(e,t){e.artist=t[0].data,e.albums_list=new we(t[1].data)}},w5={name:"PageArtist",components:{ContentWithHeading:nt,ControlDropdown:Co,ListAlbums:cr,ModalDialogArtist:nu},beforeRouteEnter(e,t,n){ci.load(e).then(r=>{n(o=>ci.set(o,r))})},beforeRouteUpdate(e,t,n){const r=this;ci.load(e).then(o=>{ci.set(r,o),n()})},data(){return{artist:{},albums_list:new we,groupby_options:[{id:1,name:this.$t("page.artist.sort-by.name"),options:Gn("name_sort",!0)},{id:2,name:this.$t("page.artist.sort-by.release-date"),options:gl("date_released",{direction:"asc"})}],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(Vg,e)}}},methods:{open_tracks(){this.$router.push({path:"/music/artists/"+this.artist.id+"/tracks"})},play(){N.player_play_uri(this.albums.items.map(e=>e.uri).join(","),!0)}}},k5={class:"fd-page"},x5={class:"columns"},E5={class:"column"},S5=["textContent"],$5=["textContent"],A5={class:"buttons is-centered"},T5=["textContent"],O5={class:"heading has-text-centered-mobile"},D5=["textContent"],P5=u("span",null," | ",-1),I5=["textContent"];function F5(e,t,n,r,o,s){const a=S("control-dropdown"),i=S("mdicon"),l=S("list-albums"),c=S("modal-dialog-artist"),d=S("content-with-heading");return w(),$("div",k5,[y(d,null,{options:E(()=>[u("div",x5,[u("div",E5,[u("p",{class:"heading mb-5",textContent:g(e.$t("page.artist.sort-by.title"))},null,8,S5),y(a,{value:s.selected_groupby_option_id,"onUpdate:value":t[0]||(t[0]=f=>s.selected_groupby_option_id=f),options:o.groupby_options},null,8,["value","options"])])])]),"heading-left":E(()=>[u("p",{class:"title is-4",textContent:g(o.artist.name)},null,8,$5)]),"heading-right":E(()=>[u("div",A5,[u("a",{class:"button is-small is-light is-rounded",onClick:t[1]||(t[1]=f=>o.show_artist_details_modal=!0)},[y(i,{class:"icon",name:"dots-horizontal",size:"16"})]),u("a",{class:"button is-small is-dark is-rounded",onClick:t[2]||(t[2]=(...f)=>s.play&&s.play(...f))},[y(i,{class:"icon",name:"shuffle",size:"16"}),u("span",{textContent:g(e.$t("page.artist.shuffle"))},null,8,T5)])])]),content:E(()=>[u("p",O5,[u("span",{textContent:g(e.$t("page.artist.album-count",{count:o.artist.album_count}))},null,8,D5),P5,u("a",{class:"has-text-link",onClick:t[3]||(t[3]=(...f)=>s.open_tracks&&s.open_tracks(...f)),textContent:g(e.$t("page.artist.track-count",{count:o.artist.track_count}))},null,8,I5)]),y(l,{albums:s.albums,hide_group_title:!0},null,8,["albums"]),y(c,{show:o.show_artist_details_modal,artist:o.artist,onClose:t[4]||(t[4]=f=>o.show_artist_details_modal=!1)},null,8,["show","artist"])]),_:1})])}const R5=oe(w5,[["render",F5]]),di={load(e){return N.library_albums("music")},set(e,t){e.albums_list=new we(t.data)}},L5={name:"PageAlbums",components:{ContentWithHeading:nt,ControlDropdown:Co,IndexButtonList:dr,ListAlbums:cr,TabsMusic:ur},beforeRouteEnter(e,t,n){di.load(e).then(r=>{n(o=>di.set(o,r))})},beforeRouteUpdate(e,t,n){if(!this.albums_list.isEmpty()){n();return}const r=this;di.load(e).then(o=>{di.set(r,o),n()})},data(){return{albums_list:new we,groupby_options:[{id:1,name:this.$t("page.albums.sort-by.name"),options:Gn("name_sort",!0)},{id:2,name:this.$t("page.albums.sort-by.recently-added"),options:gl("time_added",{direction:"desc"})},{id:3,name:this.$t("page.albums.sort-by.recently-released"),options:gl("date_released",{direction:"desc"})}]}},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(jg,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(ql,e)}},hide_spotify:{get(){return this.$store.state.hide_spotify},set(e){this.$store.commit(Ud,e)}}}},M5={class:"fd-page-with-tabs"},N5={class:"columns"},B5={class:"column"},V5=["textContent"],H5={class:"field"},j5={class:"control"},U5=["textContent"],q5=["textContent"],W5={key:0,class:"field"},G5={class:"control"},K5=["textContent"],Z5=["textContent"],Y5={class:"column"},J5=["textContent"],X5=["textContent"],Q5=["textContent"];function eD(e,t,n,r,o,s){const a=S("tabs-music"),i=S("index-button-list"),l=S("control-dropdown"),c=S("list-albums"),d=S("content-with-heading");return w(),$("div",M5,[y(a),y(d,null,{options:E(()=>[y(i,{index:s.albums.indexList},null,8,["index"]),u("div",N5,[u("div",B5,[u("p",{class:"heading mb-5",textContent:g(e.$t("page.albums.filter"))},null,8,V5),u("div",H5,[u("div",j5,[bt(u("input",{id:"switchHideSingles","onUpdate:modelValue":t[0]||(t[0]=f=>s.hide_singles=f),type:"checkbox",class:"switch is-rounded"},null,512),[[ar,s.hide_singles]]),u("label",{for:"switchHideSingles",textContent:g(e.$t("page.albums.hide-singles"))},null,8,U5)]),u("p",{class:"help",textContent:g(e.$t("page.albums.hide-singles-help"))},null,8,q5)]),s.spotify_enabled?(w(),$("div",W5,[u("div",G5,[bt(u("input",{id:"switchHideSpotify","onUpdate:modelValue":t[1]||(t[1]=f=>s.hide_spotify=f),type:"checkbox",class:"switch is-rounded"},null,512),[[ar,s.hide_spotify]]),u("label",{for:"switchHideSpotify",textContent:g(e.$t("page.albums.hide-spotify"))},null,8,K5)]),u("p",{class:"help",textContent:g(e.$t("page.albums.hide-spotify-help"))},null,8,Z5)])):H("",!0)]),u("div",Y5,[u("p",{class:"heading mb-5",textContent:g(e.$t("page.albums.sort-by.title"))},null,8,J5),y(l,{value:s.selected_groupby_option_id,"onUpdate:value":t[2]||(t[2]=f=>s.selected_groupby_option_id=f),options:o.groupby_options},null,8,["value","options"])])])]),"heading-left":E(()=>[u("p",{class:"title is-4",textContent:g(e.$t("page.albums.title"))},null,8,X5),u("p",{class:"heading",textContent:g(e.$t("page.albums.count",{count:s.albums.count}))},null,8,Q5)]),"heading-right":E(()=>[]),content:E(()=>[y(c,{albums:s.albums},null,8,["albums"])]),_:1})])}const tD=oe(L5,[["render",eD]]),nD={},rD={class:"hero is-light is-bold"},oD={class:"hero-body"},sD={class:"container"},aD={class:"columns is-centered"},iD={class:"column is-four-fifths"},lD={class:"columns is-flex-direction-row-reverse"},uD={class:"column fd-has-cover"},cD={class:"column m-auto is-three-fifths has-text-centered-mobile"},dD={class:"section pt-0"},mD={class:"container"},fD={class:"columns is-centered"},pD={class:"column is-four-fifths"};function hD(e,t){return w(),$(Te,null,[u("section",rD,[u("div",oD,[u("div",sD,[u("div",aD,[u("div",iD,[u("div",lD,[u("div",uD,[lt(e.$slots,"heading-right")]),u("div",cD,[lt(e.$slots,"heading-left")])])])])])])]),u("section",dD,[u("div",mD,[u("div",fD,[u("div",pD,[lt(e.$slots,"content"),lt(e.$slots,"footer")])])])])],64)}const dm=oe(nD,[["render",hD]]),mi={load(e){return Promise.all([N.library_album(e.params.album_id),N.library_album_tracks(e.params.album_id)])},set(e,t){e.album=t[0].data,e.tracks=new we(t[1].data)}},_D={name:"PageAlbum",components:{ContentWithHero:dm,ListTracks:bn,ModalDialogAlbum:tu,CoverArtwork:Wn},beforeRouteEnter(e,t,n){mi.load(e).then(r=>{n(o=>mi.set(o,r))})},beforeRouteUpdate(e,t,n){const r=this;mi.load(e).then(o=>{mi.set(r,o),n()})},data(){return{album:{},tracks:new we,show_album_details_modal:!1}},methods:{open_artist(){this.show_details_modal=!1,this.$router.push({path:"/music/artists/"+this.album.artist_id})},play(){N.player_play_uri(this.album.uri,!0)}}},gD={class:"fd-page"},yD=["textContent"],vD={class:"subtitle is-6 has-text-link has-text-weight-normal"},bD=["textContent"],zD={class:"buttons fd-is-centered-mobile mt-5"},CD=["textContent"],wD=["textContent"];function kD(e,t,n,r,o,s){const a=S("mdicon"),i=S("cover-artwork"),l=S("list-tracks"),c=S("modal-dialog-album"),d=S("content-with-hero");return w(),$("div",gD,[y(d,null,{"heading-left":E(()=>[u("h1",{class:"title is-5",textContent:g(o.album.name)},null,8,yD),u("h2",vD,[u("a",{class:"has-text-link",onClick:t[0]||(t[0]=(...f)=>s.open_artist&&s.open_artist(...f)),textContent:g(o.album.artist)},null,8,bD)]),u("div",zD,[u("a",{class:"button is-small is-dark is-rounded",onClick:t[1]||(t[1]=(...f)=>s.play&&s.play(...f))},[y(a,{class:"icon",name:"shuffle",size:"16"}),u("span",{textContent:g(e.$t("page.album.shuffle"))},null,8,CD)]),u("a",{class:"button is-small is-light is-rounded",onClick:t[2]||(t[2]=f=>o.show_album_details_modal=!0)},[y(a,{class:"icon",name:"dots-horizontal",size:"16"})])])]),"heading-right":E(()=>[y(i,{artwork_url:o.album.artwork_url,artist:o.album.artist,album:o.album.name,class:"is-clickable fd-has-shadow fd-cover fd-cover-medium-image",onClick:t[3]||(t[3]=f=>o.show_album_details_modal=!0)},null,8,["artwork_url","artist","album"])]),content:E(()=>[u("p",{class:"heading is-7 has-text-centered-mobile mt-5",textContent:g(e.$t("page.album.track-count",{count:o.album.track_count}))},null,8,wD),y(l,{tracks:o.tracks,uris:o.album.uri},null,8,["tracks","uris"]),y(c,{show:o.show_album_details_modal,album:o.album,onClose:t[4]||(t[4]=f=>o.show_album_details_modal=!1)},null,8,["show","album"])]),_:1})])}const xD=oe(_D,[["render",kD]]),ED={name:"ModalDialogGenre",props:["show","genre"],emits:["close"],methods:{play(){this.$emit("close"),N.player_play_expression('genre is "'+this.genre.name+'" and media_kind is music',!1)},queue_add(){this.$emit("close"),N.queue_expression_add('genre is "'+this.genre.name+'" and media_kind is music')},queue_add_next(){this.$emit("close"),N.queue_expression_add_next('genre is "'+this.genre.name+'" and media_kind is music')},open_genre(){this.$emit("close"),this.$router.push({name:"Genre",params:{genre:this.genre.name}})}}},SD={key:0,class:"modal is-active"},$D={class:"modal-content fd-modal-card"},AD={class:"card"},TD={class:"card-content"},OD={class:"title is-4"},DD=["textContent"],PD={class:"content is-small"},ID=["textContent"],FD=["textContent"],RD=["textContent"],LD=["textContent"],MD=["textContent"],ND=["textContent"],BD={class:"card-footer"},VD=["textContent"],HD=["textContent"],jD=["textContent"];function UD(e,t,n,r,o,s){const a=S("mdicon");return w(),$("div",null,[y(Dt,{name:"fade"},{default:E(()=>[n.show?(w(),$("div",SD,[u("div",{class:"modal-background",onClick:t[0]||(t[0]=i=>e.$emit("close"))}),u("div",$D,[u("div",AD,[u("div",TD,[u("p",OD,[u("a",{class:"has-text-link",onClick:t[1]||(t[1]=(...i)=>s.open_genre&&s.open_genre(...i)),textContent:g(n.genre.name)},null,8,DD)]),u("div",PD,[u("p",null,[u("span",{class:"heading",textContent:g(e.$t("dialog.genre.albums"))},null,8,ID),u("span",{class:"title is-6",textContent:g(n.genre.album_count)},null,8,FD)]),u("p",null,[u("span",{class:"heading",textContent:g(e.$t("dialog.genre.tracks"))},null,8,RD),u("span",{class:"title is-6",textContent:g(n.genre.track_count)},null,8,LD)]),u("p",null,[u("span",{class:"heading",textContent:g(e.$t("dialog.genre.duration"))},null,8,MD),u("span",{class:"title is-6",textContent:g(e.$filters.durationInHours(n.genre.length_ms))},null,8,ND)])])]),u("footer",BD,[u("a",{class:"card-footer-item has-text-dark",onClick:t[2]||(t[2]=(...i)=>s.queue_add&&s.queue_add(...i))},[y(a,{class:"icon",name:"playlist-plus",size:"16"}),u("span",{class:"is-size-7",textContent:g(e.$t("dialog.genre.add"))},null,8,VD)]),u("a",{class:"card-footer-item has-text-dark",onClick:t[3]||(t[3]=(...i)=>s.queue_add_next&&s.queue_add_next(...i))},[y(a,{class:"icon",name:"playlist-play",size:"16"}),u("span",{class:"is-size-7",textContent:g(e.$t("dialog.genre.add-next"))},null,8,HD)]),u("a",{class:"card-footer-item has-text-dark",onClick:t[4]||(t[4]=(...i)=>s.play&&s.play(...i))},[y(a,{class:"icon",name:"play",size:"16"}),u("span",{class:"is-size-7",textContent:g(e.$t("dialog.genre.play"))},null,8,jD)])])])]),u("button",{class:"modal-close is-large","aria-label":"close",onClick:t[5]||(t[5]=i=>e.$emit("close"))})])):H("",!0)]),_:1})])}const mm=oe(ED,[["render",UD]]),qD={name:"ListGenres",components:{ModalDialogGenre:mm},props:["genres","media_kind","hide_group_title"],data(){return{show_details_modal:!1,selected_genre:{}}},computed:{media_kind_resolved(){return this.media_kind?this.media_kind:this.selected_genre.media_kind}},methods:{open_genre(e){this.$router.push({name:"Genre",params:{genre:e.name}})},open_dialog(e){this.selected_genre=e,this.show_details_modal=!0}}},WD={key:0,class:"mt-6 mb-5 py-2"},GD={class:"media-content is-clipped"},KD=["id","textContent"],ZD=["onClick"],YD={class:"media-content is-clickable is-clipped"},JD=["textContent"],XD={class:"media-right"},QD=["onClick"];function eP(e,t,n,r,o,s){const a=S("mdicon"),i=S("modal-dialog-genre");return w(),$(Te,null,[(w(!0),$(Te,null,ft(n.genres,l=>(w(),$(Te,{key:l.itemId},[!l.isItem&&!n.hide_group_title?(w(),$("div",WD,[u("div",GD,[u("span",{id:"index_"+l.groupKey,class:"tag is-info is-light is-small has-text-weight-bold",textContent:g(l.groupKey)},null,8,KD)])])):l.isItem?(w(),$("div",{key:1,class:"media is-align-items-center",onClick:c=>s.open_genre(l.item)},[u("div",YD,[u("h1",{class:"title is-6",textContent:g(l.item.name)},null,8,JD)]),u("div",XD,[u("a",{onClick:st(c=>s.open_dialog(l.item),["prevent","stop"])},[y(a,{class:"icon has-text-dark",name:"dots-vertical",size:"16"})],8,QD)])],8,ZD)):H("",!0)],64))),128)),(w(),be(Yr,{to:"#app"},[y(i,{show:o.show_details_modal,genre:o.selected_genre,onClose:t[0]||(t[0]=l=>o.show_details_modal=!1)},null,8,["show","genre"])]))],64)}const tP=oe(qD,[["render",eP]]),fi={load(e){return N.library_genres("music")},set(e,t){e.genres=t.data,e.genres=new we(t.data),e.genres.group(Gn("name_sort"))}},nP={name:"PageGenres",components:{ContentWithHeading:nt,TabsMusic:ur,IndexButtonList:dr,ListGenres:tP},beforeRouteEnter(e,t,n){fi.load(e).then(r=>{n(o=>fi.set(o,r))})},beforeRouteUpdate(e,t,n){const r=this;fi.load(e).then(o=>{fi.set(r,o),n()})},data(){return{genres:new we}}},rP={class:"fd-page-with-tabs"},oP=["textContent"],sP=["textContent"];function aP(e,t,n,r,o,s){const a=S("tabs-music"),i=S("index-button-list"),l=S("list-genres"),c=S("content-with-heading");return w(),$("div",rP,[y(a),y(c,null,{options:E(()=>[y(i,{index:o.genres.indexList},null,8,["index"])]),"heading-left":E(()=>[u("p",{class:"title is-4",textContent:g(e.$t("page.genres.title"))},null,8,oP),u("p",{class:"heading",textContent:g(e.$t("page.genres.count",{count:o.genres.total}))},null,8,sP)]),content:E(()=>[y(l,{genres:o.genres},null,8,["genres"])]),_:1})])}const iP=oe(nP,[["render",aP]]),pi={load(e){return Promise.all([N.library_genre(e.params.genre),N.library_genre_albums(e.params.genre)])},set(e,t){e.genre=t[0].data,e.albums_list=new we(t[1].data.albums),e.albums_list.group(Gn("name_sort",!0))}},lP={name:"PageGenre",components:{ContentWithHeading:nt,IndexButtonList:dr,ListAlbums:cr,ModalDialogGenre:mm},beforeRouteEnter(e,t,n){pi.load(e).then(r=>{n(o=>pi.set(o,r))})},beforeRouteUpdate(e,t,n){if(!this.albums_list.isEmpty()){n();return}const r=this;pi.load(e).then(o=>{pi.set(r,o),n()})},data(){return{genre:{},albums_list:new we,show_genre_details_modal:!1}},methods:{open_tracks(){this.show_details_modal=!1,this.$router.push({name:"GenreTracks",params:{genre:this.genre.name}})},play(){N.player_play_expression('genre is "'+this.genre.name+'" and media_kind is music',!0)}}},uP={class:"fd-page"},cP=["textContent"],dP={class:"buttons is-centered"},mP=["textContent"],fP={class:"heading has-text-centered-mobile"},pP=["textContent"],hP=u("span",null," | ",-1),_P=["textContent"];function gP(e,t,n,r,o,s){const a=S("index-button-list"),i=S("mdicon"),l=S("list-albums"),c=S("modal-dialog-genre"),d=S("content-with-heading");return w(),$("div",uP,[y(d,null,{options:E(()=>[y(a,{index:o.albums_list.indexList},null,8,["index"])]),"heading-left":E(()=>[u("p",{class:"title is-4",textContent:g(o.genre.name)},null,8,cP)]),"heading-right":E(()=>[u("div",dP,[u("a",{class:"button is-small is-light is-rounded",onClick:t[0]||(t[0]=f=>o.show_genre_details_modal=!0)},[y(i,{class:"icon",name:"dots-horizontal",size:"16"})]),u("a",{class:"button is-small is-dark is-rounded",onClick:t[1]||(t[1]=(...f)=>s.play&&s.play(...f))},[y(i,{class:"icon",name:"shuffle",size:"16"}),u("span",{textContent:g(e.$t("page.genre.shuffle"))},null,8,mP)])])]),content:E(()=>[u("p",fP,[u("span",{textContent:g(e.$t("page.genre.album-count",{count:o.genre.album_count}))},null,8,pP),hP,u("a",{class:"has-text-link",onClick:t[2]||(t[2]=(...f)=>s.open_tracks&&s.open_tracks(...f)),textContent:g(e.$t("page.genre.track-count",{count:o.genre.track_count}))},null,8,_P)]),y(l,{albums:o.albums_list},null,8,["albums"]),y(c,{show:o.show_genre_details_modal,genre:o.genre,onClose:t[3]||(t[3]=f=>o.show_genre_details_modal=!1)},null,8,["show","genre"])]),_:1})])}const yP=oe(lP,[["render",gP]]),hi={load(e){return Promise.all([N.library_genre(e.params.genre),N.library_genre_tracks(e.params.genre)])},set(e,t){e.genre=t[0].data,e.tracks_list=new we(t[1].data.tracks)}},vP={name:"PageGenreTracks",components:{ContentWithHeading:nt,ControlDropdown:Co,IndexButtonList:dr,ListTracks:bn,ModalDialogGenre:mm},beforeRouteEnter(e,t,n){hi.load(e).then(r=>{n(o=>hi.set(o,r))})},beforeRouteUpdate(e,t,n){const r=this;hi.load(e).then(o=>{hi.set(r,o),n()})},data(){return{genre:{},groupby_options:[{id:1,name:this.$t("page.genre.sort-by.name"),options:Gn("title_sort")},{id:2,name:this.$t("page.genre.sort-by.rating"),options:um("rating",{direction:"desc"})}],show_genre_details_modal:!1,tracks_list:new we}},computed:{expression(){return'genre is "'+this.genre.name+'" and media_kind is music'},selected_groupby_option_id:{get(){return this.$store.state.genre_tracks_sort},set(e){this.$store.commit(Ng,e)}},tracks(){const e=this.groupby_options.find(t=>t.id===this.selected_groupby_option_id);return this.tracks_list.group(e.options),this.tracks_list}},methods:{open_genre(){this.show_details_modal=!1,this.$router.push({name:"Genre",params:{genre:this.genre.name}})},play(){N.player_play_expression(this.expression,!0)}}},bP={class:"fd-page"},zP={class:"columns"},CP={class:"column"},wP=["textContent"],kP=["textContent"],xP={class:"buttons is-centered"},EP=["textContent"],SP={class:"heading has-text-centered-mobile"},$P=["textContent"],AP=u("span",null," | ",-1),TP=["textContent"];function OP(e,t,n,r,o,s){const a=S("index-button-list"),i=S("control-dropdown"),l=S("mdicon"),c=S("list-tracks"),d=S("modal-dialog-genre"),f=S("content-with-heading");return w(),$("div",bP,[y(f,null,{options:E(()=>[y(a,{index:s.tracks.indexList},null,8,["index"]),u("div",zP,[u("div",CP,[u("p",{class:"heading mb-5",textContent:g(e.$t("page.genre.sort-by.title"))},null,8,wP),y(i,{value:s.selected_groupby_option_id,"onUpdate:value":t[0]||(t[0]=m=>s.selected_groupby_option_id=m),options:o.groupby_options},null,8,["value","options"])])])]),"heading-left":E(()=>[u("p",{class:"title is-4",textContent:g(o.genre.name)},null,8,kP)]),"heading-right":E(()=>[u("div",xP,[u("a",{class:"button is-small is-light is-rounded",onClick:t[1]||(t[1]=m=>o.show_genre_details_modal=!0)},[y(l,{class:"icon",name:"dots-horizontal",size:"16"})]),u("a",{class:"button is-small is-dark is-rounded",onClick:t[2]||(t[2]=(...m)=>s.play&&s.play(...m))},[y(l,{class:"icon",name:"shuffle",size:"16"}),u("span",{textContent:g(e.$t("page.genre.shuffle"))},null,8,EP)])])]),content:E(()=>[u("p",SP,[u("a",{class:"has-text-link",onClick:t[3]||(t[3]=(...m)=>s.open_genre&&s.open_genre(...m)),textContent:g(e.$t("page.genre.album-count",{count:o.genre.album_count}))},null,8,$P),AP,u("span",{textContent:g(e.$t("page.genre.track-count",{count:o.genre.track_count}))},null,8,TP)]),y(c,{tracks:s.tracks,expression:s.expression},null,8,["tracks","expression"]),y(d,{show:o.show_genre_details_modal,genre:o.genre,onClose:t[4]||(t[4]=m=>o.show_genre_details_modal=!1)},null,8,["show","genre"])]),_:1})])}const DP=oe(vP,[["render",OP]]),_i={load(e){return Promise.all([N.library_artist(e.params.artist_id),N.library_artist_tracks(e.params.artist_id)])},set(e,t){e.artist=t[0].data,e.tracks_list=new we(t[1].data.tracks)}},PP={name:"PageArtistTracks",components:{ContentWithHeading:nt,ControlDropdown:Co,IndexButtonList:dr,ListTracks:bn,ModalDialogArtist:nu},beforeRouteEnter(e,t,n){_i.load(e).then(r=>{n(o=>_i.set(o,r))})},beforeRouteUpdate(e,t,n){const r=this;_i.load(e).then(o=>{_i.set(r,o),n()})},data(){return{artist:{},groupby_options:[{id:1,name:this.$t("page.artist.sort-by.name"),options:Gn("title_sort")},{id:2,name:this.$t("page.artist.sort-by.rating"),options:um("rating",{direction:"desc"})}],show_artist_details_modal:!1,tracks_list:new we}},computed:{selected_groupby_option_id:{get(){return this.$store.state.artist_tracks_sort},set(e){this.$store.commit(Hg,e)}},tracks(){const e=this.groupby_options.find(t=>t.id===this.selected_groupby_option_id);return this.tracks_list.group(e.options),this.tracks_list},track_uris(){return this.tracks_list.items.map(e=>e.uri).join(",")}},methods:{open_artist(){this.show_details_modal=!1,this.$router.push({path:"/music/artists/"+this.artist.id})},play(){N.player_play_uri(this.tracks_list.items.map(e=>e.uri).join(","),!0)}}},IP={class:"fd-page"},FP={class:"columns"},RP={class:"column"},LP=["textContent"],MP=["textContent"],NP={class:"buttons is-centered"},BP=["textContent"],VP={class:"heading has-text-centered-mobile"},HP=["textContent"],jP=u("span",null," | ",-1),UP=["textContent"];function qP(e,t,n,r,o,s){const a=S("index-button-list"),i=S("control-dropdown"),l=S("mdicon"),c=S("list-tracks"),d=S("modal-dialog-artist"),f=S("content-with-heading");return w(),$("div",IP,[y(f,null,{options:E(()=>[y(a,{index:s.tracks.indexList},null,8,["index"]),u("div",FP,[u("div",RP,[u("p",{class:"heading mb-5",textContent:g(e.$t("page.artist.sort-by.title"))},null,8,LP),y(i,{value:s.selected_groupby_option_id,"onUpdate:value":t[0]||(t[0]=m=>s.selected_groupby_option_id=m),options:o.groupby_options},null,8,["value","options"])])])]),"heading-left":E(()=>[u("p",{class:"title is-4",textContent:g(o.artist.name)},null,8,MP)]),"heading-right":E(()=>[u("div",NP,[u("a",{class:"button is-small is-light is-rounded",onClick:t[1]||(t[1]=m=>o.show_artist_details_modal=!0)},[y(l,{class:"icon",name:"dots-horizontal",size:"16"})]),u("a",{class:"button is-small is-dark is-rounded",onClick:t[2]||(t[2]=(...m)=>s.play&&s.play(...m))},[y(l,{class:"icon",name:"shuffle",size:"16"}),u("span",{textContent:g(e.$t("page.artist.shuffle"))},null,8,BP)])])]),content:E(()=>[u("p",VP,[u("a",{class:"has-text-link",onClick:t[3]||(t[3]=(...m)=>s.open_artist&&s.open_artist(...m)),textContent:g(e.$t("page.artist.album-count",{count:o.artist.album_count}))},null,8,HP),jP,u("span",{textContent:g(e.$t("page.artist.track-count",{count:o.artist.track_count}))},null,8,UP)]),y(c,{tracks:s.tracks,uris:s.track_uris},null,8,["tracks","uris"]),y(d,{show:o.show_artist_details_modal,artist:o.artist,onClose:t[4]||(t[4]=m=>o.show_artist_details_modal=!1)},null,8,["show","artist"])]),_:1})])}const WP=oe(PP,[["render",qP]]),GP={name:"ModalDialogComposer",props:["show","composer"],emits:["close"],methods:{play(){this.$emit("close"),N.player_play_expression('composer is "'+this.composer.name+'" and media_kind is music',!1)},queue_add(){this.$emit("close"),N.queue_expression_add('composer is "'+this.composer.name+'" and media_kind is music')},queue_add_next(){this.$emit("close"),N.queue_expression_add_next('composer is "'+this.composer.name+'" and media_kind is music')},open_albums(){this.$emit("close"),this.$router.push({name:"ComposerAlbums",params:{composer:this.composer.name}})},open_tracks(){this.show_details_modal=!1,this.$router.push({name:"ComposerTracks",params:{composer:this.composer.name}})}}},KP={key:0,class:"modal is-active"},ZP={class:"modal-content fd-modal-card"},YP={class:"card"},JP={class:"card-content"},XP={class:"title is-4"},QP=["textContent"],eI=["textContent"],tI=["textContent"],nI=["textContent"],rI=["textContent"],oI=["textContent"],sI=["textContent"],aI={class:"card-footer"},iI=["textContent"],lI=["textContent"],uI=["textContent"];function cI(e,t,n,r,o,s){const a=S("mdicon");return w(),$("div",null,[y(Dt,{name:"fade"},{default:E(()=>[n.show?(w(),$("div",KP,[u("div",{class:"modal-background",onClick:t[0]||(t[0]=i=>e.$emit("close"))}),u("div",ZP,[u("div",YP,[u("div",JP,[u("p",XP,[u("a",{class:"has-text-link",onClick:t[1]||(t[1]=(...i)=>s.open_albums&&s.open_albums(...i)),textContent:g(n.composer.name)},null,8,QP)]),u("p",null,[u("span",{class:"heading",textContent:g(e.$t("dialog.composer.albums"))},null,8,eI),u("a",{class:"has-text-link is-6",onClick:t[2]||(t[2]=(...i)=>s.open_albums&&s.open_albums(...i)),textContent:g(n.composer.album_count)},null,8,tI)]),u("p",null,[u("span",{class:"heading",textContent:g(e.$t("dialog.composer.tracks"))},null,8,nI),u("a",{class:"has-text-link is-6",onClick:t[3]||(t[3]=(...i)=>s.open_tracks&&s.open_tracks(...i)),textContent:g(n.composer.track_count)},null,8,rI)]),u("p",null,[u("span",{class:"heading",textContent:g(e.$t("dialog.composer.duration"))},null,8,oI),u("span",{class:"title is-6",textContent:g(e.$filters.durationInHours(n.composer.length_ms))},null,8,sI)])]),u("footer",aI,[u("a",{class:"card-footer-item has-text-dark",onClick:t[4]||(t[4]=(...i)=>s.queue_add&&s.queue_add(...i))},[y(a,{class:"icon",name:"playlist-plus",size:"16"}),u("span",{class:"is-size-7",textContent:g(e.$t("dialog.composer.add"))},null,8,iI)]),u("a",{class:"card-footer-item has-text-dark",onClick:t[5]||(t[5]=(...i)=>s.queue_add_next&&s.queue_add_next(...i))},[y(a,{class:"icon",name:"playlist-play",size:"16"}),u("span",{class:"is-size-7",textContent:g(e.$t("dialog.composer.add-next"))},null,8,lI)]),u("a",{class:"card-footer-item has-text-dark",onClick:t[6]||(t[6]=(...i)=>s.play&&s.play(...i))},[y(a,{class:"icon",name:"play",size:"16"}),u("span",{class:"is-size-7",textContent:g(e.$t("dialog.composer.play"))},null,8,uI)])])])]),u("button",{class:"modal-close is-large","aria-label":"close",onClick:t[7]||(t[7]=i=>e.$emit("close"))})])):H("",!0)]),_:1})])}const fm=oe(GP,[["render",cI]]),dI={name:"ListComposers",components:{ModalDialogComposer:fm},props:["composers","media_kind","hide_group_title"],data(){return{show_details_modal:!1,selected_composer:{}}},computed:{media_kind_resolved(){return this.media_kind?this.media_kind:this.selected_composer.media_kind}},methods:{open_composer(e){this.selected_composer=e,this.$router.push({name:"ComposerAlbums",params:{composer:e.name}})},open_dialog(e){this.selected_composer=e,this.show_details_modal=!0}}},mI={key:0,class:"mt-6 mb-5 py-2"},fI={class:"media-content is-clipped"},pI=["id","textContent"],hI=["onClick"],_I={class:"media-content is-clickable is-clipped"},gI=["textContent"],yI={class:"media-right"},vI=["onClick"];function bI(e,t,n,r,o,s){const a=S("mdicon"),i=S("modal-dialog-composer");return w(),$(Te,null,[(w(!0),$(Te,null,ft(n.composers,l=>(w(),$(Te,{key:l.itemId},[!l.isItem&&!n.hide_group_title?(w(),$("div",mI,[u("div",fI,[u("span",{id:"index_"+l.groupKey,class:"tag is-info is-light is-small has-text-weight-bold",textContent:g(l.groupKey)},null,8,pI)])])):l.isItem?(w(),$("div",{key:1,class:"media is-align-items-center",onClick:c=>s.open_composer(l.item)},[u("div",_I,[u("h1",{class:"title is-6",textContent:g(l.item.name)},null,8,gI)]),u("div",yI,[u("a",{onClick:st(c=>s.open_dialog(l.item),["prevent","stop"])},[y(a,{class:"icon has-text-dark",name:"dots-vertical",size:"16"})],8,vI)])],8,hI)):H("",!0)],64))),128)),(w(),be(Yr,{to:"#app"},[y(i,{show:o.show_details_modal,composer:o.selected_composer,media_kind:n.media_kind,onClose:t[0]||(t[0]=l=>o.show_details_modal=!1)},null,8,["show","composer","media_kind"])]))],64)}const Cv=oe(dI,[["render",bI]]),gi={load(e){return N.library_composers("music")},set(e,t){e.composers=new we(t.data),e.composers.group(Gn("name_sort"))}},zI={name:"PageComposers",components:{ContentWithHeading:nt,TabsMusic:ur,IndexButtonList:dr,ListComposers:Cv},beforeRouteEnter(e,t,n){gi.load(e).then(r=>{n(o=>gi.set(o,r))})},beforeRouteUpdate(e,t,n){if(!this.composers.isEmpty()){n();return}const r=this;gi.load(e).then(o=>{gi.set(r,o),n()})},data(){return{composers:new we}}},CI={class:"fd-page-with-tabs"},wI=["textContent"],kI=["textContent"];function xI(e,t,n,r,o,s){const a=S("tabs-music"),i=S("index-button-list"),l=S("list-composers"),c=S("content-with-heading");return w(),$("div",CI,[y(a),y(c,null,{options:E(()=>[y(i,{index:o.composers.indexList},null,8,["index"])]),"heading-left":E(()=>[u("p",{class:"title is-4",textContent:g(e.$t("page.composers.title"))},null,8,wI),u("p",{class:"heading",textContent:g(e.$t("page.composers.count",{count:o.composers.total}))},null,8,kI)]),content:E(()=>[y(l,{composers:o.composers},null,8,["composers"])]),_:1})])}const EI=oe(zI,[["render",xI]]),yi={load(e){return Promise.all([N.library_composer(e.params.composer),N.library_composer_albums(e.params.composer)])},set(e,t){e.composer=t[0].data,e.albums_list=new we(t[1].data.albums)}},SI={name:"PageComposer",components:{ContentWithHeading:nt,ListAlbums:cr,ModalDialogComposer:fm},beforeRouteEnter(e,t,n){yi.load(e).then(r=>{n(o=>yi.set(o,r))})},beforeRouteUpdate(e,t,n){const r=this;yi.load(e).then(o=>{yi.set(r,o),n()})},data(){return{composer:{},albums_list:new we,show_composer_details_modal:!1}},methods:{open_tracks(){this.$router.push({name:"ComposerTracks",params:{composer:this.composer.name}})},play(){N.player_play_expression('composer is "'+this.composer.name+'" and media_kind is music',!0)}}},$I={class:"fd-page"},AI=["textContent"],TI={class:"buttons is-centered"},OI=["textContent"],DI={class:"heading has-text-centered-mobile"},PI=["textContent"],II=u("span",null," | ",-1),FI=["textContent"];function RI(e,t,n,r,o,s){const a=S("mdicon"),i=S("list-albums"),l=S("modal-dialog-composer"),c=S("content-with-heading");return w(),$("div",$I,[y(c,null,{"heading-left":E(()=>[u("p",{class:"title is-4",textContent:g(o.composer.name)},null,8,AI)]),"heading-right":E(()=>[u("div",TI,[u("a",{class:"button is-small is-light is-rounded",onClick:t[0]||(t[0]=d=>o.show_composer_details_modal=!0)},[y(a,{class:"icon",name:"dots-horizontal",size:"16"})]),u("a",{class:"button is-small is-dark is-rounded",onClick:t[1]||(t[1]=(...d)=>s.play&&s.play(...d))},[y(a,{class:"icon",name:"shuffle",size:"16"}),u("span",{textContent:g(e.$t("page.composer.shuffle"))},null,8,OI)])])]),content:E(()=>[u("p",DI,[u("span",{textContent:g(e.$t("page.composer.album-count",{count:o.composer.album_count}))},null,8,PI),II,u("a",{class:"has-text-link",onClick:t[2]||(t[2]=(...d)=>s.open_tracks&&s.open_tracks(...d)),textContent:g(e.$t("page.composer.track-count",{count:o.composer.track_count}))},null,8,FI)]),y(i,{albums:o.albums_list,hide_group_title:!0},null,8,["albums"]),y(l,{show:o.show_composer_details_modal,composer:o.composer,onClose:t[3]||(t[3]=d=>o.show_composer_details_modal=!1)},null,8,["show","composer"])]),_:1})])}const LI=oe(SI,[["render",RI]]),vi={load(e){return Promise.all([N.library_composer(e.params.composer),N.library_composer_tracks(e.params.composer)])},set(e,t){e.composer=t[0].data,e.tracks_list=new we(t[1].data.tracks)}},MI={name:"PageComposerTracks",components:{ContentWithHeading:nt,ControlDropdown:Co,IndexButtonList:dr,ListTracks:bn,ModalDialogComposer:fm},beforeRouteEnter(e,t,n){vi.load(e).then(r=>{n(o=>vi.set(o,r))})},beforeRouteUpdate(e,t,n){const r=this;vi.load(e).then(o=>{vi.set(r,o),n()})},data(){return{groupby_options:[{id:1,name:this.$t("page.composer.sort-by.name"),options:Gn("title_sort")},{id:2,name:this.$t("page.composer.sort-by.rating"),options:um("rating",{direction:"desc"})}],composer:{},show_composer_details_modal:!1,tracks_list:new we}},computed:{expression(){return'composer is "'+this.composer.name+'" and media_kind is music'},selected_groupby_option_id:{get(){return this.$store.state.composer_tracks_sort},set(e){this.$store.commit(Mg,e)}},tracks(){const e=this.groupby_options.find(t=>t.id===this.selected_groupby_option_id);return this.tracks_list.group(e.options),this.tracks_list}},methods:{open_albums(){this.show_details_modal=!1,this.$router.push({name:"ComposerAlbums",params:{composer:this.composer.name}})},play(){N.player_play_expression(this.expression,!0)}}},NI={class:"fd-page"},BI={class:"columns"},VI={class:"column"},HI=["textContent"],jI=["textContent"],UI={class:"buttons is-centered"},qI=["textContent"],WI={class:"heading has-text-centered-mobile"},GI=["textContent"],KI=u("span",null," | ",-1),ZI=["textContent"];function YI(e,t,n,r,o,s){const a=S("index-button-list"),i=S("control-dropdown"),l=S("mdicon"),c=S("list-tracks"),d=S("modal-dialog-composer"),f=S("content-with-heading");return w(),$("div",NI,[y(f,null,{options:E(()=>[y(a,{index:s.tracks.indexList},null,8,["index"]),u("div",BI,[u("div",VI,[u("p",{class:"heading mb-5",textContent:g(e.$t("page.artist.sort-by.title"))},null,8,HI),y(i,{value:s.selected_groupby_option_id,"onUpdate:value":t[0]||(t[0]=m=>s.selected_groupby_option_id=m),options:o.groupby_options},null,8,["value","options"])])])]),"heading-left":E(()=>[u("p",{class:"title is-4",textContent:g(o.composer.name)},null,8,jI)]),"heading-right":E(()=>[u("div",UI,[u("a",{class:"button is-small is-light is-rounded",onClick:t[1]||(t[1]=m=>o.show_composer_details_modal=!0)},[y(l,{class:"icon",name:"dots-horizontal",size:"16"})]),u("a",{class:"button is-small is-dark is-rounded",onClick:t[2]||(t[2]=(...m)=>s.play&&s.play(...m))},[y(l,{class:"icon",name:"shuffle",size:"16"}),u("span",{textContent:g(e.$t("page.composer.shuffle"))},null,8,qI)])])]),content:E(()=>[u("p",WI,[u("a",{class:"has-text-link",onClick:t[3]||(t[3]=(...m)=>s.open_albums&&s.open_albums(...m)),textContent:g(e.$t("page.composer.album-count",{count:o.composer.album_count}))},null,8,GI),KI,u("span",{textContent:g(e.$t("page.composer.track-count",{count:o.composer.track_count}))},null,8,ZI)]),y(c,{tracks:s.tracks,expression:s.expression},null,8,["tracks","expression"]),y(d,{show:o.show_composer_details_modal,composer:o.composer,onClose:t[4]||(t[4]=m=>o.show_composer_details_modal=!1)},null,8,["show","composer"])]),_:1})])}const JI=oe(MI,[["render",YI]]),XI={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(){this.loading=!0,N.library_add(this.url).then(()=>{this.$emit("close"),this.$emit("podcast-added"),this.url=""}).catch(()=>{this.loading=!1})}}},QI={key:0,class:"modal is-active"},eF={class:"modal-content fd-modal-card"},tF={class:"card"},nF={class:"card-content"},rF=["textContent"],oF={class:"field"},sF={class:"control is-expanded has-icons-left"},aF=["placeholder","disabled"],iF=["textContent"],lF={key:0,class:"card-footer"},uF={class:"card-footer-item button is-loading"},cF=["textContent"],dF={key:1,class:"card-footer is-clipped"},mF=["textContent"],fF=["textContent"];function pF(e,t,n,r,o,s){const a=S("mdicon");return w(),$("div",null,[y(Dt,{name:"fade"},{default:E(()=>[n.show?(w(),$("div",QI,[u("div",{class:"modal-background",onClick:t[0]||(t[0]=i=>e.$emit("close"))}),u("div",eF,[u("div",tF,[u("div",nF,[u("p",{class:"title is-4",textContent:g(e.$t("dialog.add.rss.title"))},null,8,rF),u("form",{onSubmit:t[2]||(t[2]=st((...i)=>s.add_stream&&s.add_stream(...i),["prevent"]))},[u("div",oF,[u("p",sF,[bt(u("input",{ref:"url_field","onUpdate:modelValue":t[1]||(t[1]=i=>o.url=i),class:"input is-shadowless",type:"text",placeholder:e.$t("dialog.add.rss.placeholder"),disabled:o.loading},null,8,aF),[[sn,o.url]]),y(a,{class:"icon is-left",name:"rss",size:"16"})]),u("p",{class:"help",textContent:g(e.$t("dialog.add.rss.help"))},null,8,iF)])],32)]),o.loading?(w(),$("footer",lF,[u("a",uF,[y(a,{class:"icon",name:"web",size:"16"}),u("span",{class:"is-size-7",textContent:g(e.$t("dialog.add.rss.processing"))},null,8,cF)])])):(w(),$("footer",dF,[u("a",{class:"card-footer-item has-text-danger",onClick:t[3]||(t[3]=i=>e.$emit("close"))},[y(a,{class:"icon",name:"cancel",size:"16"}),u("span",{class:"is-size-7",textContent:g(e.$t("dialog.add.rss.cancel"))},null,8,mF)]),u("a",{class:"card-footer-item has-background-info has-text-white has-text-weight-bold",onClick:t[4]||(t[4]=(...i)=>s.add_stream&&s.add_stream(...i))},[y(a,{class:"icon",name:"playlist-plus",size:"16"}),u("span",{class:"is-size-7",textContent:g(e.$t("dialog.add.rss.add"))},null,8,fF)])]))])]),u("button",{class:"modal-close is-large","aria-label":"close",onClick:t[5]||(t[5]=i=>e.$emit("close"))})])):H("",!0)]),_:1})])}const hF=oe(XI,[["render",pF]]),bi={load(e){return Promise.all([N.library_albums("podcast"),N.library_podcasts_new_episodes()])},set(e,t){e.albums=new we(t[0].data),e.new_episodes=new we(t[1].data.tracks)}},_F={name:"PagePodcasts",components:{ContentWithHeading:nt,ListTracks:bn,ListAlbums:cr,ModalDialogAddRss:hF},beforeRouteEnter(e,t,n){bi.load(e).then(r=>{n(o=>bi.set(o,r))})},beforeRouteUpdate(e,t,n){const r=this;bi.load(e).then(o=>{bi.set(r,o),n()})},data(){return{albums:[],new_episodes:{items:[]},show_url_modal:!1}},computed:{rss(){return this.$store.state.rss_count}},methods:{mark_all_played(){this.new_episodes.items.forEach(e=>{N.library_track_update(e.id,{play_count:"increment"})}),this.new_episodes.items={}},open_add_podcast_dialog(e){this.show_url_modal=!0},reload_new_episodes(){N.library_podcasts_new_episodes().then(({data:e})=>{this.new_episodes=new we(e.tracks)})},reload_podcasts(){N.library_albums("podcast").then(({data:e})=>{this.albums=new we(e),this.reload_new_episodes()})},update_rss(){this.$store.commit(qd,"rss"),this.$store.commit(Ta,!0)}}},gF={class:"fd-page"},yF=["textContent"],vF={class:"buttons is-centered"},bF=["textContent"],zF=["textContent"],CF=["textContent"],wF={class:"buttons is-centered"},kF=["textContent"],xF=["textContent"];function EF(e,t,n,r,o,s){const a=S("mdicon"),i=S("list-tracks"),l=S("content-with-heading"),c=S("list-albums"),d=S("modal-dialog-add-rss");return w(),$("div",gF,[o.new_episodes.items.length>0?(w(),be(l,{key:0},{"heading-left":E(()=>[u("p",{class:"title is-4",textContent:g(e.$t("page.podcasts.new-episodes"))},null,8,yF)]),"heading-right":E(()=>[u("div",vF,[u("a",{class:"button is-small",onClick:t[0]||(t[0]=(...f)=>s.mark_all_played&&s.mark_all_played(...f))},[y(a,{class:"icon",name:"pencil",size:"16"}),u("span",{textContent:g(e.$t("page.podcasts.mark-all-played"))},null,8,bF)])])]),content:E(()=>[y(i,{tracks:o.new_episodes,show_progress:!0,onPlayCountChanged:s.reload_new_episodes},null,8,["tracks","onPlayCountChanged"])]),_:1})):H("",!0),y(l,null,{"heading-left":E(()=>[u("p",{class:"title is-4",textContent:g(e.$t("page.podcasts.title"))},null,8,zF),u("p",{class:"heading",textContent:g(e.$t("page.podcasts.count",{count:o.albums.total}))},null,8,CF)]),"heading-right":E(()=>[u("div",wF,[s.rss.tracks>0?(w(),$("a",{key:0,class:"button is-small",onClick:t[1]||(t[1]=(...f)=>s.update_rss&&s.update_rss(...f))},[y(a,{class:"icon",name:"refresh",size:"16"}),u("span",{textContent:g(e.$t("page.podcasts.update"))},null,8,kF)])):H("",!0),u("a",{class:"button is-small",onClick:t[2]||(t[2]=(...f)=>s.open_add_podcast_dialog&&s.open_add_podcast_dialog(...f))},[y(a,{class:"icon",name:"rss",size:"16"}),u("span",{textContent:g(e.$t("page.podcasts.add"))},null,8,xF)])])]),content:E(()=>[y(c,{albums:o.albums,onPlayCountChanged:t[3]||(t[3]=f=>s.reload_new_episodes()),onPodcastDeleted:t[4]||(t[4]=f=>s.reload_podcasts())},null,8,["albums"]),y(d,{show:o.show_url_modal,onClose:t[5]||(t[5]=f=>o.show_url_modal=!1),onPodcastAdded:t[6]||(t[6]=f=>s.reload_podcasts())},null,8,["show"])]),_:1})])}const SF=oe(_F,[["render",EF]]),zi={load(e){return Promise.all([N.library_album(e.params.album_id),N.library_podcast_episodes(e.params.album_id)])},set(e,t){e.album=t[0].data,e.tracks=new we(t[1].data.tracks)}},$F={name:"PagePodcast",components:{ContentWithHeading:nt,ListTracks:bn,ModalDialogAlbum:tu,ModalDialog:im},beforeRouteEnter(e,t,n){zi.load(e).then(r=>{n(o=>zi.set(o,r))})},beforeRouteUpdate(e,t,n){const r=this;zi.load(e).then(o=>{zi.set(r,o),n()})},data(){return{album:{},tracks:new we,show_details_modal:!1,show_remove_podcast_modal:!1,rss_playlist_to_remove:{}}},computed:{new_tracks(){return this.tracks.items.filter(e=>e.play_count===0).length}},methods:{play(){N.player_play_uri(this.album.uri,!1)},open_remove_podcast_dialog(){N.library_track_playlists(this.tracks.items[0].id).then(({data:e})=>{this.rss_playlist_to_remove=e.items.filter(t=>t.type==="rss")[0],this.show_remove_podcast_modal=!0,this.show_details_modal=!1})},remove_podcast(){this.show_remove_podcast_modal=!1,N.library_playlist_delete(this.rss_playlist_to_remove.id).then(()=>{this.$router.replace({path:"/podcasts"})})},reload_tracks(){N.library_podcast_episodes(this.album.id).then(({data:e})=>{this.tracks=new we(e.tracks)})}}},AF={class:"fd-page"},TF=["textContent"],OF={class:"buttons is-centered"},DF=["textContent"],PF=["textContent"],IF=["textContent"],FF={class:"is-size-7"},RF=["textContent"],LF=["textContent"];function MF(e,t,n,r,o,s){const a=S("mdicon"),i=S("list-tracks"),l=S("modal-dialog-album"),c=S("modal-dialog"),d=S("content-with-heading");return w(),$("div",AF,[y(d,null,{"heading-left":E(()=>[u("div",{class:"title is-4",textContent:g(o.album.name)},null,8,TF)]),"heading-right":E(()=>[u("div",OF,[u("a",{class:"button is-small is-light is-rounded",onClick:t[0]||(t[0]=f=>o.show_details_modal=!0)},[y(a,{class:"icon",name:"dots-horizontal",size:"16"})]),u("a",{class:"button is-small is-dark is-rounded",onClick:t[1]||(t[1]=(...f)=>s.play&&s.play(...f))},[y(a,{class:"icon",name:"play",size:"16"}),u("span",{textContent:g(e.$t("page.podcast.play"))},null,8,DF)])])]),content:E(()=>[u("p",{class:"heading has-text-centered-mobile",textContent:g(e.$t("page.podcast.track-count",{count:o.album.track_count}))},null,8,PF),y(i,{tracks:o.tracks,show_progress:!0,onPlayCountChanged:s.reload_tracks},null,8,["tracks","onPlayCountChanged"]),y(l,{show:o.show_details_modal,album:o.album,media_kind:"podcast",new_tracks:s.new_tracks,onClose:t[2]||(t[2]=f=>o.show_details_modal=!1),onPlayCountChanged:s.reload_tracks,onRemovePodcast:s.open_remove_podcast_dialog},null,8,["show","album","new_tracks","onPlayCountChanged","onRemovePodcast"]),y(c,{show:o.show_remove_podcast_modal,title:e.$t("page.podcast.remove-podcast"),delete_action:e.$t("page.podcast.remove"),onClose:t[3]||(t[3]=f=>o.show_remove_podcast_modal=!1),onDelete:s.remove_podcast},{"modal-content":E(()=>[u("p",{textContent:g(e.$t("page.podcast.remove-info-1"))},null,8,IF),u("p",FF,[ct(" ("),u("span",{textContent:g(e.$t("page.podcast.remove-info-2"))},null,8,RF),u("b",{textContent:g(o.rss_playlist_to_remove.name)},null,8,LF),ct(") ")])]),_:1},8,["show","title","delete_action","onDelete"])]),_:1})])}const NF=oe($F,[["render",MF]]),BF={name:"TabsAudiobooks"},VF={class:"section fd-tabs-section"},HF={class:"container"},jF={class:"columns is-centered"},UF={class:"column is-four-fifths"},qF={class:"tabs is-centered is-small"},WF=["onClick","onKeypress"],GF=["textContent"],KF=["onClick","onKeypress"],ZF=["textContent"];function YF(e,t,n,r,o,s){const a=S("mdicon"),i=S("router-link");return w(),$("section",VF,[u("div",HF,[u("div",jF,[u("div",UF,[u("div",qF,[u("ul",null,[y(i,{to:"/audiobooks/artists",custom:""},{default:E(({navigate:l,isActive:c})=>[u("li",{class:De({"is-active":c})},[u("a",{onClick:l,onKeypress:mn(l,["enter"])},[y(a,{class:"icon is-small",name:"account-music",size:"16"}),u("span",{textContent:g(e.$t("page.audiobooks.tabs.authors"))},null,8,GF)],40,WF)],2)]),_:1}),y(i,{to:"/audiobooks/albums",custom:""},{default:E(({navigate:l,isActive:c})=>[u("li",{class:De({"is-active":c})},[u("a",{onClick:l,onKeypress:mn(l,["enter"])},[y(a,{class:"icon is-small",name:"album",size:"16"}),u("span",{textContent:g(e.$t("page.audiobooks.tabs.audiobooks"))},null,8,ZF)],40,KF)],2)]),_:1})])])])])])])}const wv=oe(BF,[["render",YF]]),Ci={load(e){return N.library_albums("audiobook")},set(e,t){e.albums=new we(t.data),e.albums.group(Gn("name_sort",!0))}},JF={name:"PageAudiobooksAlbums",components:{TabsAudiobooks:wv,ContentWithHeading:nt,IndexButtonList:dr,ListAlbums:cr},beforeRouteEnter(e,t,n){Ci.load(e).then(r=>{n(o=>Ci.set(o,r))})},beforeRouteUpdate(e,t,n){if(!this.albums.isEmpty()){n();return}const r=this;Ci.load(e).then(o=>{Ci.set(r,o),n()})},data(){return{albums:new we}}},XF={class:"fd-page-with-tabs"},QF=["textContent"],eR=["textContent"];function tR(e,t,n,r,o,s){const a=S("tabs-audiobooks"),i=S("index-button-list"),l=S("list-albums"),c=S("content-with-heading");return w(),$("div",XF,[y(a),y(c,null,{options:E(()=>[y(i,{index:o.albums.indexList},null,8,["index"])]),"heading-left":E(()=>[u("p",{class:"title is-4",textContent:g(e.$t("page.audiobooks.albums.title"))},null,8,QF),u("p",{class:"heading",textContent:g(e.$t("page.audiobooks.albums.count",{count:o.albums.count}))},null,8,eR)]),content:E(()=>[y(l,{albums:o.albums},null,8,["albums"])]),_:1})])}const nR=oe(JF,[["render",tR]]),wi={load(e){return N.library_artists("audiobook")},set(e,t){e.artists_list=new we(t.data)}},rR={name:"PageAudiobooksArtists",components:{ContentWithHeading:nt,TabsAudiobooks:wv,IndexButtonList:dr,ListArtists:cm},beforeRouteEnter(e,t,n){wi.load(e).then(r=>{n(o=>wi.set(o,r))})},beforeRouteUpdate(e,t,n){if(!this.artists_list.isEmpty()){n();return}const r=this;wi.load(e).then(o=>{wi.set(r,o),n()})},data(){return{artists_list:new we}},computed:{artists(){return this.artists_list?(this.artists_list.group(Gn("name_sort",!0)),this.artists_list):[]}}},oR={class:"fd-page-with-tabs"},sR=["textContent"],aR=["textContent"];function iR(e,t,n,r,o,s){const a=S("tabs-audiobooks"),i=S("index-button-list"),l=S("list-artists"),c=S("content-with-heading");return w(),$("div",oR,[y(a),y(c,null,{options:E(()=>[y(i,{index:s.artists.indexList},null,8,["index"])]),"heading-left":E(()=>[u("p",{class:"title is-4",textContent:g(e.$t("page.audiobooks.artists.title"))},null,8,sR),u("p",{class:"heading",textContent:g(e.$t("page.audiobooks.artists.count",{count:s.artists.count}))},null,8,aR)]),"heading-right":E(()=>[]),content:E(()=>[y(l,{artists:s.artists},null,8,["artists"])]),_:1})])}const lR=oe(rR,[["render",iR]]),ki={load(e){return Promise.all([N.library_artist(e.params.artist_id),N.library_artist_albums(e.params.artist_id)])},set(e,t){e.artist=t[0].data,e.albums=new we(t[1].data)}},uR={name:"PageAudiobooksArtist",components:{ContentWithHeading:nt,ListAlbums:cr,ModalDialogArtist:nu},beforeRouteEnter(e,t,n){ki.load(e).then(r=>{n(o=>ki.set(o,r))})},beforeRouteUpdate(e,t,n){if(!this.albums.isEmpty()){n();return}const r=this;ki.load(e).then(o=>{ki.set(r,o),n()})},data(){return{artist:{},albums:new we,show_artist_details_modal:!1}},methods:{play(){N.player_play_uri(this.albums.items.map(e=>e.uri).join(","),!1)}}},cR={class:"fd-page"},dR=["textContent"],mR={class:"buttons is-centered"},fR=["textContent"],pR=["textContent"];function hR(e,t,n,r,o,s){const a=S("mdicon"),i=S("list-albums"),l=S("modal-dialog-artist"),c=S("content-with-heading");return w(),$("div",cR,[y(c,null,{"heading-left":E(()=>[u("p",{class:"title is-4",textContent:g(o.artist.name)},null,8,dR)]),"heading-right":E(()=>[u("div",mR,[u("a",{class:"button is-small is-light is-rounded",onClick:t[0]||(t[0]=d=>o.show_artist_details_modal=!0)},[y(a,{class:"icon",name:"dots-horizontal",size:"16"})]),u("a",{class:"button is-small is-dark is-rounded",onClick:t[1]||(t[1]=(...d)=>s.play&&s.play(...d))},[y(a,{class:"icon",name:"play",size:"16"}),u("span",{textContent:g(e.$t("page.audiobooks.artist.play"))},null,8,fR)])])]),content:E(()=>[u("p",{class:"heading has-text-centered-mobile",textContent:g(e.$t("page.audiobooks.artist.album-count",{count:o.artist.album_count}))},null,8,pR),y(i,{albums:o.albums},null,8,["albums"]),y(l,{show:o.show_artist_details_modal,artist:o.artist,onClose:t[2]||(t[2]=d=>o.show_artist_details_modal=!1)},null,8,["show","artist"])]),_:1})])}const _R=oe(uR,[["render",hR]]),xi={load(e){return Promise.all([N.library_album(e.params.album_id),N.library_album_tracks(e.params.album_id)])},set(e,t){e.album=t[0].data,e.tracks=new we(t[1].data)}},gR={name:"PageAudiobooksAlbum",components:{ContentWithHero:dm,ListTracks:bn,ModalDialogAlbum:tu,CoverArtwork:Wn},beforeRouteEnter(e,t,n){xi.load(e).then(r=>{n(o=>xi.set(o,r))})},beforeRouteUpdate(e,t,n){const r=this;xi.load(e).then(o=>{xi.set(r,o),n()})},data(){return{album:{},tracks:new we,show_album_details_modal:!1}},methods:{open_artist(){this.show_details_modal=!1,this.$router.push({path:"/audiobooks/artists/"+this.album.artist_id})},play(){N.player_play_uri(this.album.uri,!1)}}},yR={class:"fd-page"},vR=["textContent"],bR={class:"subtitle is-6 has-text-link has-text-weight-normal"},zR=["textContent"],CR={class:"buttons fd-is-centered-mobile mt-5"},wR=["textContent"],kR=["textContent"];function xR(e,t,n,r,o,s){const a=S("mdicon"),i=S("cover-artwork"),l=S("list-tracks"),c=S("modal-dialog-album"),d=S("content-with-hero");return w(),$("div",yR,[y(d,null,{"heading-left":E(()=>[u("h1",{class:"title is-5",textContent:g(o.album.name)},null,8,vR),u("h2",bR,[u("a",{class:"has-text-link",onClick:t[0]||(t[0]=(...f)=>s.open_artist&&s.open_artist(...f)),textContent:g(o.album.artist)},null,8,zR)]),u("div",CR,[u("a",{class:"button is-small is-dark is-rounded",onClick:t[1]||(t[1]=(...f)=>s.play&&s.play(...f))},[y(a,{class:"icon",name:"play",size:"16"}),u("span",{textContent:g(e.$t("page.audiobooks.album.play"))},null,8,wR)]),u("a",{class:"button is-small is-light is-rounded",onClick:t[2]||(t[2]=f=>o.show_album_details_modal=!0)},[y(a,{class:"icon",name:"dots-horizontal",size:"16"})])])]),"heading-right":E(()=>[y(i,{artwork_url:o.album.artwork_url,artist:o.album.artist,album:o.album.name,class:"is-clickable fd-has-shadow fd-cover fd-cover-medium-image",onClick:t[3]||(t[3]=f=>o.show_album_details_modal=!0)},null,8,["artwork_url","artist","album"])]),content:E(()=>[u("p",{class:"heading is-7 has-text-centered-mobile mt-5",textContent:g(e.$t("page.audiobooks.album.track-count",{count:o.album.track_count}))},null,8,kR),y(l,{tracks:o.tracks,uris:o.album.uri},null,8,["tracks","uris"]),y(c,{show:o.show_album_details_modal,album:o.album,media_kind:"audiobook",onClose:t[4]||(t[4]=f=>o.show_album_details_modal=!1)},null,8,["show","album"])]),_:1})])}const ER=oe(gR,[["render",xR]]),SR={name:"ModalDialogPlaylist",props:["show","playlist","uris"],emits:["close"],methods:{play(){this.$emit("close"),N.player_play_uri(this.uris?this.uris:this.playlist.uri,!1)},queue_add(){this.$emit("close"),N.queue_add(this.uris?this.uris:this.playlist.uri)},queue_add_next(){this.$emit("close"),N.queue_add_next(this.uris?this.uris:this.playlist.uri)},open_playlist(){this.$emit("close"),this.$router.push({path:"/playlists/"+this.playlist.id+"/tracks"})}}},$R={key:0,class:"modal is-active"},AR={class:"modal-content fd-modal-card"},TR={class:"card"},OR={class:"card-content"},DR={class:"title is-4"},PR=["textContent"],IR={class:"content is-small"},FR=["textContent"],RR=["textContent"],LR=["textContent"],MR=["textContent"],NR={key:0},BR=["textContent"],VR=["textContent"],HR={key:0,class:"card-footer"},jR=["textContent"],UR=["textContent"],qR=["textContent"];function WR(e,t,n,r,o,s){const a=S("mdicon");return w(),$("div",null,[y(Dt,{name:"fade"},{default:E(()=>[n.show?(w(),$("div",$R,[u("div",{class:"modal-background",onClick:t[0]||(t[0]=i=>e.$emit("close"))}),u("div",AR,[u("div",TR,[u("div",OR,[u("p",DR,[u("a",{class:"has-text-link",onClick:t[1]||(t[1]=(...i)=>s.open_playlist&&s.open_playlist(...i)),textContent:g(n.playlist.name)},null,8,PR)]),u("div",IR,[u("p",null,[u("span",{class:"heading",textContent:g(e.$t("dialog.playlist.path"))},null,8,FR),u("span",{class:"title is-6",textContent:g(n.playlist.path)},null,8,RR)]),u("p",null,[u("span",{class:"heading",textContent:g(e.$t("dialog.playlist.type"))},null,8,LR),u("span",{class:"title is-6",textContent:g(e.$t("playlist.type."+n.playlist.type))},null,8,MR)]),n.playlist.folder?H("",!0):(w(),$("p",NR,[u("span",{class:"heading",textContent:g(e.$t("dialog.playlist.track-count"))},null,8,BR),u("span",{class:"title is-6",textContent:g(n.playlist.item_count)},null,8,VR)]))])]),n.playlist.folder?H("",!0):(w(),$("footer",HR,[u("a",{class:"card-footer-item has-text-dark",onClick:t[2]||(t[2]=(...i)=>s.queue_add&&s.queue_add(...i))},[y(a,{class:"icon",name:"playlist-plus",size:"16"}),u("span",{class:"is-size-7",textContent:g(e.$t("dialog.playlist.add"))},null,8,jR)]),u("a",{class:"card-footer-item has-text-dark",onClick:t[3]||(t[3]=(...i)=>s.queue_add_next&&s.queue_add_next(...i))},[y(a,{class:"icon",name:"playlist-play",size:"16"}),u("span",{class:"is-size-7",textContent:g(e.$t("dialog.playlist.add-next"))},null,8,UR)]),u("a",{class:"card-footer-item has-text-dark",onClick:t[4]||(t[4]=(...i)=>s.play&&s.play(...i))},[y(a,{class:"icon",name:"play",size:"16"}),u("span",{class:"is-size-7",textContent:g(e.$t("dialog.playlist.play"))},null,8,qR)])]))])]),u("button",{class:"modal-close is-large","aria-label":"close",onClick:t[5]||(t[5]=i=>e.$emit("close"))})])):H("",!0)]),_:1})])}const kv=oe(SR,[["render",WR]]),GR={name:"ListPlaylists",components:{ModalDialogPlaylist:kv},props:["playlists"],data(){return{show_details_modal:!1,selected_playlist:{}}},methods:{open_playlist(e){e.type!=="folder"?this.$router.push({path:"/playlists/"+e.id+"/tracks"}):this.$router.push({path:"/playlists/"+e.id})},open_dialog(e){this.selected_playlist=e,this.show_details_modal=!0},icon_name(e){return e.type==="folder"?"folder":e.type==="rss"?"rss":"music-box-multiple"}}},KR=["playlist","onClick"],ZR={class:"media-left is-clickable"},YR={class:"media-content is-clickable is-clipped"},JR=["textContent"],XR={class:"media-right"},QR=["onClick"];function eL(e,t,n,r,o,s){const a=S("mdicon"),i=S("modal-dialog-playlist");return w(),$(Te,null,[(w(!0),$(Te,null,ft(n.playlists,l=>(w(),$("div",{key:l.itemId,class:"media is-align-items-center",playlist:l,onClick:c=>s.open_playlist(l.item)},[u("figure",ZR,[y(a,{class:"icon",name:s.icon_name(l.item),size:"16"},null,8,["name"])]),u("div",YR,[u("h1",{class:"title is-6",textContent:g(l.item.name)},null,8,JR)]),u("div",XR,[u("a",{onClick:st(c=>s.open_dialog(l.item),["prevent","stop"])},[y(a,{class:"icon has-text-dark",name:"dots-vertical",size:"16"})],8,QR)])],8,KR))),128)),(w(),be(Yr,{to:"#app"},[y(i,{show:o.show_details_modal,playlist:o.selected_playlist,onClose:t[0]||(t[0]=l=>o.show_details_modal=!1)},null,8,["show","playlist"])]))],64)}const pm=oe(GR,[["render",eL]]),Ei={load(e){return Promise.all([N.library_playlist(e.params.playlist_id),N.library_playlist_folder(e.params.playlist_id)])},set(e,t){e.playlist=t[0].data,e.playlists_list=new we(t[1].data)}},tL={name:"PagePlaylists",components:{ContentWithHeading:nt,ListPlaylists:pm},beforeRouteEnter(e,t,n){Ei.load(e).then(r=>{n(o=>Ei.set(o,r))})},beforeRouteUpdate(e,t,n){const r=this;Ei.load(e).then(o=>{Ei.set(r,o),n()})},data(){return{playlist:{},playlists_list:new we}},computed:{radio_playlists(){return this.$store.state.config.radio_playlists},playlists(){return this.playlists_list.group(zv(),[e=>e.folder||this.radio_playlists||e.stream_count===0||e.item_count>e.stream_count]),this.playlists_list}}},nL={class:"fd-page"},rL=["textContent"],oL=["textContent"];function sL(e,t,n,r,o,s){const a=S("list-playlists"),i=S("content-with-heading");return w(),$("div",nL,[y(i,null,{"heading-left":E(()=>[u("p",{class:"title is-4",textContent:g(o.playlist.name)},null,8,rL),u("p",{class:"heading",textContent:g(e.$t("page.playlists.count",{count:s.playlists.count}))},null,8,oL)]),content:E(()=>[y(a,{playlists:s.playlists},null,8,["playlists"])]),_:1})])}const aL=oe(tL,[["render",sL]]),Si={load(e){return Promise.all([N.library_playlist(e.params.playlist_id),N.library_playlist_tracks(e.params.playlist_id)])},set(e,t){e.playlist=t[0].data,e.tracks=new we(t[1].data)}},iL={name:"PagePlaylist",components:{ContentWithHeading:nt,ListTracks:bn,ModalDialogPlaylist:kv},beforeRouteEnter(e,t,n){Si.load(e).then(r=>{n(o=>Si.set(o,r))})},beforeRouteUpdate(e,t,n){const r=this;Si.load(e).then(o=>{Si.set(r,o),n()})},data(){return{playlist:{},tracks:new we,show_playlist_details_modal:!1}},computed:{uris(){return this.playlist.random?this.tracks.map(e=>e.uri).join(","):this.playlist.uri}},methods:{play(){N.player_play_uri(this.uris,!0)}}},lL={class:"fd-page"},uL=["textContent"],cL={class:"buttons is-centered"},dL=["textContent"],mL=["textContent"];function fL(e,t,n,r,o,s){const a=S("mdicon"),i=S("list-tracks"),l=S("modal-dialog-playlist"),c=S("content-with-heading");return w(),$("div",lL,[y(c,null,{"heading-left":E(()=>[u("div",{class:"title is-4",textContent:g(o.playlist.name)},null,8,uL)]),"heading-right":E(()=>[u("div",cL,[u("a",{class:"button is-small is-light is-rounded",onClick:t[0]||(t[0]=d=>o.show_playlist_details_modal=!0)},[y(a,{class:"icon",name:"dots-horizontal",size:"16"})]),u("a",{class:"button is-small is-dark is-rounded",onClick:t[1]||(t[1]=(...d)=>s.play&&s.play(...d))},[y(a,{class:"icon",name:"shuffle",size:"16"}),u("span",{textContent:g(e.$t("page.playlist.shuffle"))},null,8,dL)])])]),content:E(()=>[u("p",{class:"heading has-text-centered-mobile",textContent:g(e.$t("page.playlist.track-count",{count:o.tracks.count}))},null,8,mL),y(i,{tracks:o.tracks,uris:s.uris},null,8,["tracks","uris"]),y(l,{show:o.show_playlist_details_modal,playlist:o.playlist,uris:s.uris,onClose:t[2]||(t[2]=d=>o.show_playlist_details_modal=!1)},null,8,["show","playlist","uris"])]),_:1})])}const pL=oe(iL,[["render",fL]]),hL={name:"ModalDialogDirectory",props:["show","directory"],emits:["close"],methods:{play(){this.$emit("close"),N.player_play_expression('path starts with "'+this.directory+'" order by path asc',!1)},queue_add(){this.$emit("close"),N.queue_expression_add('path starts with "'+this.directory+'" order by path asc')},queue_add_next(){this.$emit("close"),N.queue_expression_add_next('path starts with "'+this.directory+'" order by path asc')}}},_L={key:0,class:"modal is-active"},gL={class:"modal-content fd-modal-card"},yL={class:"card"},vL={class:"card-content"},bL=["textContent"],zL={class:"card-footer"},CL=["textContent"],wL=["textContent"],kL=["textContent"];function xL(e,t,n,r,o,s){const a=S("mdicon");return w(),$("div",null,[y(Dt,{name:"fade"},{default:E(()=>[n.show?(w(),$("div",_L,[u("div",{class:"modal-background",onClick:t[0]||(t[0]=i=>e.$emit("close"))}),u("div",gL,[u("div",yL,[u("div",vL,[u("p",{class:"title is-4",textContent:g(n.directory)},null,8,bL)]),u("footer",zL,[u("a",{class:"card-footer-item has-text-dark",onClick:t[1]||(t[1]=(...i)=>s.queue_add&&s.queue_add(...i))},[y(a,{class:"icon",name:"playlist-plus",size:"16"}),u("span",{class:"is-size-7",textContent:g(e.$t("dialog.directory.add"))},null,8,CL)]),u("a",{class:"card-footer-item has-text-dark",onClick:t[2]||(t[2]=(...i)=>s.queue_add_next&&s.queue_add_next(...i))},[y(a,{class:"icon",name:"playlist-play",size:"16"}),u("span",{class:"is-size-7",textContent:g(e.$t("dialog.directory.add-next"))},null,8,wL)]),u("a",{class:"card-footer-item has-text-dark",onClick:t[3]||(t[3]=(...i)=>s.play&&s.play(...i))},[y(a,{class:"icon",name:"play",size:"16"}),u("span",{class:"is-size-7",textContent:g(e.$t("dialog.directory.play"))},null,8,kL)])])])]),u("button",{class:"modal-close is-large","aria-label":"close",onClick:t[4]||(t[4]=i=>e.$emit("close"))})])):H("",!0)]),_:1})])}const xv=oe(hL,[["render",xL]]),EL={name:"ListDirectories",components:{ModalDialogDirectory:xv},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(){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(e){this.$router.push({path:"/files",query:{directory:e.path}})},open_dialog(e){this.selected_directory=e,this.show_details_modal=!0}}},SL={class:"media-left is-clickable"},$L=u("div",{class:"media-content is-clickable is-clipped"},[u("h1",{class:"title is-6"},"..")],-1),AL={class:"media-right"},TL=["onClick"],OL={class:"media-left is-clickable"},DL={class:"media-content is-clickable is-clipped"},PL=["textContent"],IL=["textContent"],FL={class:"media-right"},RL=["onClick"];function LL(e,t,n,r,o,s){const a=S("mdicon"),i=S("modal-dialog-directory");return w(),$(Te,null,[e.$route.query.directory?(w(),$("div",{key:0,class:"media is-align-items-center",onClick:t[0]||(t[0]=l=>s.open_parent_directory())},[u("figure",SL,[y(a,{class:"icon",name:"subdirectory-arrow-left",size:"16"})]),$L,u("div",AL,[lt(e.$slots,"actions")])])):H("",!0),(w(!0),$(Te,null,ft(n.directories,l=>(w(),$("div",{key:l.path,class:"media is-align-items-center",onClick:c=>s.open_directory(l)},[u("figure",OL,[y(a,{class:"icon",name:"folder",size:"16"})]),u("div",DL,[u("h1",{class:"title is-6",textContent:g(l.path.substring(l.path.lastIndexOf("/")+1))},null,8,PL),u("h2",{class:"subtitle is-7 has-text-grey-light",textContent:g(l.path)},null,8,IL)]),u("div",FL,[u("a",{onClick:st(c=>s.open_dialog(l),["prevent","stop"])},[y(a,{class:"icon has-text-dark",name:"dots-vertical",size:"16"})],8,RL)])],8,TL))),128)),(w(),be(Yr,{to:"#app"},[y(i,{show:o.show_details_modal,directory:o.selected_directory,onClose:t[1]||(t[1]=l=>o.show_details_modal=!1)},null,8,["show","directory"])]))],64)}const ML=oe(EL,[["render",LL]]),$i={load(e){return e.query.directory?N.library_files(e.query.directory):Promise.resolve()},set(e,t){t?(e.dirs=t.data.directories,e.playlists=new we(t.data.playlists),e.tracks=new we(t.data.tracks)):(e.dirs=e.$store.state.config.directories.map(n=>({path:n})),e.playlists=new we,e.tracks=new we)}},NL={name:"PageFiles",components:{ContentWithHeading:nt,ListDirectories:ML,ListPlaylists:pm,ListTracks:bn,ModalDialogDirectory:xv},beforeRouteEnter(e,t,n){$i.load(e).then(r=>{n(o=>$i.set(o,r))})},beforeRouteUpdate(e,t,n){const r=this;$i.load(e).then(o=>{$i.set(r,o),n()})},data(){return{dirs:[],playlists:new we,tracks:new we,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(){N.player_play_expression(this.play_expression,!1)}}},BL={class:"fd-page"},VL=["textContent"],HL=["textContent"],jL={class:"buttons is-centered"},UL=["textContent"];function qL(e,t,n,r,o,s){const a=S("mdicon"),i=S("list-directories"),l=S("list-playlists"),c=S("list-tracks"),d=S("modal-dialog-directory"),f=S("content-with-heading");return w(),$("div",BL,[y(f,null,{"heading-left":E(()=>[u("p",{class:"title is-4",textContent:g(e.$t("page.files.title"))},null,8,VL),u("p",{class:"title is-7 has-text-grey",textContent:g(s.current_directory)},null,8,HL)]),"heading-right":E(()=>[u("div",jL,[u("a",{class:"button is-small is-light is-rounded",onClick:t[0]||(t[0]=m=>o.show_details_modal=!0)},[y(a,{class:"icon",name:"dots-horizontal",size:"16"})]),u("a",{class:"button is-small is-dark is-rounded",onClick:t[1]||(t[1]=(...m)=>s.play&&s.play(...m))},[y(a,{class:"icon",name:"play",size:"16"}),u("span",{textContent:g(e.$t("page.files.play"))},null,8,UL)])])]),content:E(()=>[y(i,{directories:o.dirs},null,8,["directories"]),y(l,{playlists:o.playlists},null,8,["playlists"]),y(c,{tracks:o.tracks,expression:s.play_expression,show_icon:!0},null,8,["tracks","expression"]),y(d,{show:o.show_details_modal,directory:s.current_directory,onClose:t[2]||(t[2]=m=>o.show_details_modal=!1)},null,8,["show","directory"])]),_:1})])}const WL=oe(NL,[["render",qL]]),Ai={load(e){return N.library_radio_streams()},set(e,t){e.tracks=new we(t.data.tracks)}},GL={name:"PageRadioStreams",components:{ContentWithHeading:nt,ListTracks:bn},beforeRouteEnter(e,t,n){Ai.load(e).then(r=>{n(o=>Ai.set(o,r))})},beforeRouteUpdate(e,t,n){const r=this;Ai.load(e).then(o=>{Ai.set(r,o),n()})},data(){return{tracks:new we}}},KL={class:"fd-page"},ZL=["textContent"],YL=["textContent"];function JL(e,t,n,r,o,s){const a=S("list-tracks"),i=S("content-with-heading");return w(),$("div",KL,[y(i,null,{"heading-left":E(()=>[u("p",{class:"title is-4",textContent:g(e.$t("page.radio.title"))},null,8,ZL),u("p",{class:"heading has-text-centered-mobile",textContent:g(e.$t("page.radio.count",{count:o.tracks.total}))},null,8,YL)]),content:E(()=>[y(a,{tracks:o.tracks},null,8,["tracks"])]),_:1})])}const XL=oe(GL,[["render",JL]]),QL={name:"ContentText"},eM={class:"section py-3"},tM={class:"container"},nM={class:"columns is-centered"},rM={class:"column is-four-fifths"};function oM(e,t,n,r,o,s){return w(),$("section",eM,[u("div",tM,[u("div",nM,[u("div",rM,[lt(e.$slots,"content")])])])])}const Ev=oe(QL,[["render",oM]]),sM={name:"TabsSearch",props:["query"],computed:{spotify_enabled(){return this.$store.state.spotify.webapi_token_valid},route_query(){return this.query?{type:"track,artist,album,playlist,audiobook,podcast",query:this.query,limit:3,offset:0}:null}},methods:{search_library(){this.$store.commit(Ec,"/search/library"),this.$router.push({path:this.$store.state.search_path,query:this.route_query})},search_spotify(){this.$store.commit(Ec,"/search/spotify"),this.$router.push({path:this.$store.state.search_path,query:this.route_query})}}},aM={key:0,class:"section"},iM={class:"container"},lM={class:"columns is-centered"},uM={class:"column is-four-fifths"},cM={class:"tabs is-centered is-small is-toggle is-toggle-rounded"},dM=["textContent"],mM=["textContent"];function fM(e,t,n,r,o,s){const a=S("mdicon");return s.spotify_enabled?(w(),$("section",aM,[u("div",iM,[u("div",lM,[u("div",uM,[u("div",cM,[u("ul",null,[u("li",{class:De({"is-active":e.$store.state.search_path==="/search/library"})},[u("a",{onClick:t[0]||(t[0]=(...i)=>s.search_library&&s.search_library(...i))},[y(a,{class:"icon is-small",name:"bookshelf",size:"16"}),u("span",{textContent:g(e.$t("page.search.tabs.library"))},null,8,dM)])],2),u("li",{class:De({"is-active":e.$store.state.search_path==="/search/spotify"})},[u("a",{onClick:t[1]||(t[1]=(...i)=>s.search_spotify&&s.search_spotify(...i))},[y(a,{class:"icon is-small",name:"spotify",size:"16"}),u("span",{textContent:g(e.$t("page.search.tabs.spotify"))},null,8,mM)])],2)])])])])])])):H("",!0)}const Sv=oe(sM,[["render",fM]]),pM={name:"PageSearch",components:{ContentWithHeading:nt,ContentText:Ev,TabsSearch:Sv,ListTracks:bn,ListArtists:cm,ListAlbums:cr,ListPlaylists:pm,ListComposers:Cv},data(){return{search_query:"",tracks:new we,artists:new we,albums:new we,composers:new we,playlists:new we,audiobooks:new we,podcasts:new we}},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}},watch:{$route(e,t){this.search(e)}},mounted(){this.search(this.$route)},methods:{search(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(jd,e.query.query)},searchMusic(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),N.search(t).then(({data:n})=>{this.tracks=new we(n.tracks),this.artists=new we(n.artists),this.albums=new we(n.albums),this.composers=new we(n.composers),this.playlists=new we(n.playlists)})},searchAudiobooks(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),N.search(t).then(({data:n})=>{this.audiobooks=new we(n.albums)})},searchPodcasts(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),N.search(t).then(({data:n})=>{this.podcasts=new we(n.albums)})},new_search(){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(){this.$router.push({path:"/search/library",query:{type:"track",query:this.$route.query.query}})},open_search_artists(){this.$router.push({path:"/search/library",query:{type:"artist",query:this.$route.query.query}})},open_search_albums(){this.$router.push({path:"/search/library",query:{type:"album",query:this.$route.query.query}})},open_search_composers(){this.$router.push({path:"/search/library",query:{type:"tracks",query:this.$route.query.query}})},open_search_playlists(){this.$router.push({path:"/search/library",query:{type:"playlist",query:this.$route.query.query}})},open_search_audiobooks(){this.$router.push({path:"/search/library",query:{type:"audiobook",query:this.$route.query.query}})},open_search_podcasts(){this.$router.push({path:"/search/library",query:{type:"podcast",query:this.$route.query.query}})},open_composer(e){this.$router.push({name:"ComposerAlbums",params:{composer:e.name}})},open_playlist(e){this.$router.push({path:"/playlists/"+e.id+"/tracks"})},open_recent_search(e){this.search_query=e,this.new_search()},open_track_dialog(e){this.selected_track=e,this.show_track_details_modal=!0},open_album_dialog(e){this.selected_album=e,this.show_album_details_modal=!0},open_artist_dialog(e){this.selected_artist=e,this.show_artist_details_modal=!0},open_composer_dialog(e){this.selected_composer=e,this.show_composer_details_modal=!0},open_playlist_dialog(e){this.selected_playlist=e,this.show_playlist_details_modal=!0}}},hM={class:"fd-page"},_M={class:"section pb-0"},gM={class:"container"},yM={class:"columns is-centered"},vM={class:"column is-four-fifths"},bM={class:"field"},zM={class:"control is-expanded has-icons-left"},CM=["placeholder"],wM=u("code",null,"query:",-1),kM=["textContent"],xM={class:"tags mt-4"},EM=["onClick","textContent"],SM=["textContent"],$M={key:0,class:"level"},AM={class:"level-item"},TM=["textContent"],OM=["textContent"],DM=["textContent"],PM={key:0,class:"level"},IM={class:"level-item"},FM=["textContent"],RM=["textContent"],LM=["textContent"],MM={key:0,class:"level"},NM={class:"level-item"},BM=["textContent"],VM=["textContent"],HM=["textContent"],jM={key:0,class:"level"},UM={class:"level-item"},qM=["textContent"],WM=["textContent"],GM=["textContent"],KM={key:0,class:"level"},ZM={class:"level-item"},YM=["textContent"],JM=["textContent"],XM=["textContent"],QM={key:0,class:"level"},eN={class:"level-item"},tN=["textContent"],nN=["textContent"],rN=["textContent"],oN={key:0,class:"level"},sN={class:"level-item"},aN=["textContent"],iN=["textContent"];function lN(e,t,n,r,o,s){const a=S("mdicon"),i=S("i18n-t"),l=S("tabs-search"),c=S("list-tracks"),d=S("content-with-heading"),f=S("content-text"),m=S("list-artists"),p=S("list-albums"),h=S("list-composers"),_=S("list-playlists");return w(),$("div",hM,[u("section",_M,[u("div",gM,[u("div",yM,[u("div",vM,[u("form",{onSubmit:t[1]||(t[1]=st((...z)=>s.new_search&&s.new_search(...z),["prevent"]))},[u("div",bM,[u("p",zM,[bt(u("input",{ref:"search_field","onUpdate:modelValue":t[0]||(t[0]=z=>o.search_query=z),class:"input is-rounded is-shadowless",type:"text",placeholder:e.$t("page.search.placeholder"),autocomplete:"off"},null,8,CM),[[sn,o.search_query]]),y(a,{class:"icon is-left",name:"magnify",size:"16"})]),y(i,{tag:"p",class:"help has-text-centered",keypath:"page.search.help",scope:"global"},{query:E(()=>[wM]),help:E(()=>[u("a",{href:"https://owntone.github.io/owntone-server/smart-playlists/",target:"_blank",textContent:g(e.$t("page.search.expression"))},null,8,kM)]),_:1})])],32),u("div",xM,[(w(!0),$(Te,null,ft(s.recent_searches,z=>(w(),$("a",{key:z,class:"tag",onClick:b=>s.open_recent_search(z),textContent:g(z)},null,8,EM))),128))])])])])]),y(l,{query:o.search_query},null,8,["query"]),s.show_tracks&&o.tracks.total?(w(),be(d,{key:0,class:"pt-0"},{"heading-left":E(()=>[u("p",{class:"title is-4",textContent:g(e.$t("page.search.tracks"))},null,8,SM)]),content:E(()=>[y(c,{tracks:o.tracks},null,8,["tracks"])]),footer:E(()=>[s.show_all_tracks_button?(w(),$("nav",$M,[u("p",AM,[u("a",{class:"button is-light is-small is-rounded",onClick:t[2]||(t[2]=(...z)=>s.open_search_tracks&&s.open_search_tracks(...z)),textContent:g(e.$t("page.search.show-tracks",o.tracks.total,{count:e.$filters.number(o.tracks.total)}))},null,8,TM)])])):H("",!0)]),_:1})):H("",!0),s.show_tracks&&!o.tracks.total?(w(),be(f,{key:1,class:"pt-0"},{content:E(()=>[u("p",null,[u("i",{textContent:g(e.$t("page.search.no-tracks"))},null,8,OM)])]),_:1})):H("",!0),s.show_artists&&o.artists.total?(w(),be(d,{key:2},{"heading-left":E(()=>[u("p",{class:"title is-4",textContent:g(e.$t("page.search.artists"))},null,8,DM)]),content:E(()=>[y(m,{artists:o.artists,hide_group_title:!0},null,8,["artists"])]),footer:E(()=>[s.show_all_artists_button?(w(),$("nav",PM,[u("p",IM,[u("a",{class:"button is-light is-small is-rounded",onClick:t[3]||(t[3]=(...z)=>s.open_search_artists&&s.open_search_artists(...z)),textContent:g(e.$t("page.search.show-artists",o.artists.total,{count:e.$filters.number(o.artists.total)}))},null,8,FM)])])):H("",!0)]),_:1})):H("",!0),s.show_artists&&!o.artists.total?(w(),be(f,{key:3},{content:E(()=>[u("p",null,[u("i",{textContent:g(e.$t("page.search.no-artists"))},null,8,RM)])]),_:1})):H("",!0),s.show_albums&&o.albums.total?(w(),be(d,{key:4},{"heading-left":E(()=>[u("p",{class:"title is-4",textContent:g(e.$t("page.search.albums"))},null,8,LM)]),content:E(()=>[y(p,{albums:o.albums,hide_group_title:!0},null,8,["albums"])]),footer:E(()=>[s.show_all_albums_button?(w(),$("nav",MM,[u("p",NM,[u("a",{class:"button is-light is-small is-rounded",onClick:t[4]||(t[4]=(...z)=>s.open_search_albums&&s.open_search_albums(...z)),textContent:g(e.$t("page.search.show-albums",o.albums.total,{count:e.$filters.number(o.albums.total)}))},null,8,BM)])])):H("",!0)]),_:1})):H("",!0),s.show_albums&&!o.albums.total?(w(),be(f,{key:5},{content:E(()=>[u("p",null,[u("i",{textContent:g(e.$t("page.search.no-albums"))},null,8,VM)])]),_:1})):H("",!0),s.show_composers&&o.composers.total?(w(),be(d,{key:6},{"heading-left":E(()=>[u("p",{class:"title is-4",textContent:g(e.$t("page.search.composers"))},null,8,HM)]),content:E(()=>[y(h,{composers:o.composers},null,8,["composers"])]),footer:E(()=>[s.show_all_composers_button?(w(),$("nav",jM,[u("p",UM,[u("a",{class:"button is-light is-small is-rounded",onClick:t[5]||(t[5]=(...z)=>s.open_search_composers&&s.open_search_composers(...z)),textContent:g(e.$t("page.search.show-composers",o.composers.total,{count:e.$filters.number(o.composers.total)}))},null,8,qM)])])):H("",!0)]),_:1})):H("",!0),s.show_composers&&!o.composers.total?(w(),be(f,{key:7},{content:E(()=>[u("p",null,[u("i",{textContent:g(e.$t("page.search.no-composers"))},null,8,WM)])]),_:1})):H("",!0),s.show_playlists&&o.playlists.total?(w(),be(d,{key:8},{"heading-left":E(()=>[u("p",{class:"title is-4",textContent:g(e.$t("page.search.playlists"))},null,8,GM)]),content:E(()=>[y(_,{playlists:o.playlists},null,8,["playlists"])]),footer:E(()=>[s.show_all_playlists_button?(w(),$("nav",KM,[u("p",ZM,[u("a",{class:"button is-light is-small is-rounded",onClick:t[6]||(t[6]=(...z)=>s.open_search_playlists&&s.open_search_playlists(...z)),textContent:g(e.$t("page.search.show-playlists",o.playlists.total,{count:e.$filters.number(o.playlists.total)}))},null,8,YM)])])):H("",!0)]),_:1})):H("",!0),s.show_playlists&&!o.playlists.total?(w(),be(f,{key:9},{content:E(()=>[u("p",null,[u("i",{textContent:g(e.$t("page.search.no-playlists"))},null,8,JM)])]),_:1})):H("",!0),s.show_podcasts&&o.podcasts.total?(w(),be(d,{key:10},{"heading-left":E(()=>[u("p",{class:"title is-4",textContent:g(e.$t("page.search.podcasts"))},null,8,XM)]),content:E(()=>[y(p,{albums:o.podcasts},null,8,["albums"])]),footer:E(()=>[s.show_all_podcasts_button?(w(),$("nav",QM,[u("p",eN,[u("a",{class:"button is-light is-small is-rounded",onClick:t[7]||(t[7]=(...z)=>s.open_search_podcasts&&s.open_search_podcasts(...z)),textContent:g(e.$t("page.search.show-podcasts",o.podcasts.total,{count:e.$filters.number(o.podcasts.total)}))},null,8,tN)])])):H("",!0)]),_:1})):H("",!0),s.show_podcasts&&!o.podcasts.total?(w(),be(f,{key:11},{content:E(()=>[u("p",null,[u("i",{textContent:g(e.$t("page.search.no-podcasts"))},null,8,nN)])]),_:1})):H("",!0),s.show_audiobooks&&o.audiobooks.total?(w(),be(d,{key:12},{"heading-left":E(()=>[u("p",{class:"title is-4",textContent:g(e.$t("page.search.audiobooks"))},null,8,rN)]),content:E(()=>[y(p,{albums:o.audiobooks},null,8,["albums"])]),footer:E(()=>[s.show_all_audiobooks_button?(w(),$("nav",oN,[u("p",sN,[u("a",{class:"button is-light is-small is-rounded",onClick:t[8]||(t[8]=(...z)=>s.open_search_audiobooks&&s.open_search_audiobooks(...z)),textContent:g(e.$t("page.search.show-audiobooks",o.audiobooks.total,{count:e.$filters.number(o.audiobooks.total)}))},null,8,aN)])])):H("",!0)]),_:1})):H("",!0),s.show_audiobooks&&!o.audiobooks.total?(w(),be(f,{key:13},{content:E(()=>[u("p",null,[u("i",{textContent:g(e.$t("page.search.no-audiobooks"))},null,8,iN)])]),_:1})):H("",!0)])}const uN=oe(pM,[["render",lN]]),cN={name:"PageAbout",computed:{config(){return this.$store.state.config},library(){return this.$store.state.library}},methods:{showUpdateDialog(){this.$store.commit(Ta,!0)}}},dN={class:"fd-page"},mN={class:"section"},fN={class:"container"},pN={class:"columns is-centered"},hN={class:"column is-four-fifths has-text-centered-mobile"},_N=["textContent"],gN={class:"section"},yN={class:"container"},vN={class:"columns is-centered"},bN={class:"column is-four-fifths"},zN={class:"content"},CN={class:"level is-mobile"},wN={class:"level-left"},kN={class:"level-item"},xN=["textContent"],EN={class:"level-right"},SN={key:0},$N=["textContent"],AN={key:1},TN=["textContent"],ON={class:"table"},DN=["textContent"],PN=["textContent"],IN=["textContent"],FN=["textContent"],RN=["textContent"],LN=["textContent"],MN=["textContent"],NN=["textContent"],BN=["textContent"],VN={class:"has-text-right"},HN=["textContent"],jN=["textContent"],UN=["textContent"],qN={class:"has-text-right"},WN=["textContent"],GN=["textContent"],KN={class:"section"},ZN={class:"container"},YN={class:"columns is-centered"},JN={class:"column is-four-fifths"},XN={class:"content has-text-centered-mobile"},QN=["textContent"],e7=["textContent"],t7=u("a",{href:"https://bulma.io"},"Bulma",-1),n7=u("a",{href:"https://pictogrammers.com/library/mdi/"},"Material Design Icons",-1),r7=u("a",{href:"https://vuejs.org/"},"Vue.js",-1),o7=u("a",{href:"https://github.com/mzabriskie/axios"},"axios",-1),s7=["textContent"];function a7(e,t,n,r,o,s){const a=S("i18n-t");return w(),$("div",dN,[u("section",mN,[u("div",fN,[u("div",pN,[u("div",hN,[u("h1",{class:"title is-4",textContent:g(s.config.library_name)},null,8,_N)])])])]),u("section",gN,[u("div",yN,[u("div",vN,[u("div",bN,[u("div",zN,[u("nav",CN,[u("div",wN,[u("div",kN,[u("h2",{class:"title is-5",textContent:g(e.$t("page.about.library"))},null,8,xN)])]),u("div",EN,[s.library.updating?(w(),$("div",SN,[u("a",{class:"button is-small is-loading",textContent:g(e.$t("page.about.update"))},null,8,$N)])):(w(),$("div",AN,[u("a",{class:"button is-small",onClick:t[0]||(t[0]=i=>s.showUpdateDialog()),textContent:g(e.$t("page.about.update"))},null,8,TN)]))])]),u("table",ON,[u("tbody",null,[u("tr",null,[u("th",{class:"has-text-left",textContent:g(e.$t("page.about.artists"))},null,8,DN),u("td",{class:"has-text-right",textContent:g(e.$filters.number(s.library.artists))},null,8,PN)]),u("tr",null,[u("th",{class:"has-text-left",textContent:g(e.$t("page.about.albums"))},null,8,IN),u("td",{class:"has-text-right",textContent:g(e.$filters.number(s.library.albums))},null,8,FN)]),u("tr",null,[u("th",{class:"has-text-left",textContent:g(e.$t("page.about.tracks"))},null,8,RN),u("td",{class:"has-text-right",textContent:g(e.$filters.number(s.library.songs))},null,8,LN)]),u("tr",null,[u("th",{class:"has-text-left",textContent:g(e.$t("page.about.total-playtime"))},null,8,MN),u("td",{class:"has-text-right",textContent:g(e.$filters.durationInDays(s.library.db_playtime*1e3))},null,8,NN)]),u("tr",null,[u("th",{class:"has-text-left",textContent:g(e.$t("page.about.updated"))},null,8,BN),u("td",VN,[u("span",{textContent:g(e.$t("page.about.updated-on",{time:e.$filters.timeFromNow(s.library.updated_at)}))},null,8,HN),ct(" ("),u("span",{class:"has-text-grey",textContent:g(e.$filters.datetime(s.library.updated_at))},null,8,jN),ct(") ")])]),u("tr",null,[u("th",{class:"has-text-left",textContent:g(e.$t("page.about.uptime"))},null,8,UN),u("td",qN,[u("span",{textContent:g(e.$filters.timeFromNow(s.library.started_at,!0))},null,8,WN),ct(" ("),u("span",{class:"has-text-grey",textContent:g(e.$filters.datetime(s.library.started_at))},null,8,GN),ct(") ")])])])])])])])])]),u("section",KN,[u("div",ZN,[u("div",YN,[u("div",JN,[u("div",XN,[u("p",{class:"is-size-7",textContent:g(e.$t("page.about.version",{version:s.config.version}))},null,8,QN),u("p",{class:"is-size-7",textContent:g(e.$t("page.about.compiled-with",{options:s.config.buildoptions.join(", ")}))},null,8,e7),y(a,{tag:"p",class:"is-size-7",keypath:"page.about.built-with",scope:"global"},{bulma:E(()=>[t7]),mdi:E(()=>[n7]),vuejs:E(()=>[r7]),axios:E(()=>[o7]),others:E(()=>[u("a",{href:"https://github.com/owntone/owntone-server/network/dependencies",textContent:g(e.$t("page.about.more"))},null,8,s7)]),_:1})])])])])])])}const i7=oe(cN,[["render",a7]]),l7={name:"SpotifyListItemAlbum",props:["album"]},u7={class:"media is-align-items-center"},c7={key:0,class:"media-left is-clickable"},d7={class:"media-content is-clickable is-clipped"},m7=["textContent"],f7={class:"subtitle is-7 has-text-grey"},p7=["textContent"],h7=["textContent"],_7={class:"media-right"};function g7(e,t,n,r,o,s){return w(),$("div",u7,[e.$slots.artwork?(w(),$("div",c7,[lt(e.$slots,"artwork")])):H("",!0),u("div",d7,[u("h1",{class:"title is-6",textContent:g(n.album.name)},null,8,m7),u("h2",f7,[u("b",{textContent:g(n.album.artists[0].name)},null,8,p7)]),u("h2",{class:"subtitle is-7 has-text-grey has-text-weight-normal",textContent:g([n.album.album_type,e.$filters.date(n.album.release_date)].join(", "))},null,8,h7)]),u("div",_7,[lt(e.$slots,"actions")])])}const ru=oe(l7,[["render",g7]]),y7={name:"SpotifyListItemPlaylist",props:["playlist"],methods:{open_playlist(){this.$router.push({path:"/music/spotify/playlists/"+this.playlist.id})}}},v7={class:"media is-align-items-center"},b7=["textContent"],z7=["textContent"],C7={class:"media-right"};function w7(e,t,n,r,o,s){return w(),$("div",v7,[u("div",{class:"media-content is-clickable is-clipped",onClick:t[0]||(t[0]=(...a)=>s.open_playlist&&s.open_playlist(...a))},[u("h1",{class:"title is-6",textContent:g(n.playlist.name)},null,8,b7),u("h2",{class:"subtitle is-7",textContent:g(n.playlist.owner.display_name)},null,8,z7)]),u("div",C7,[lt(e.$slots,"actions")])])}const hm=oe(y7,[["render",w7]]),k7={name:"SpotifyModalDialogAlbum",components:{CoverArtwork:Wn},props:["show","album"],emits:["close"],data(){return{artwork_visible:!1}},computed:{artwork_url(){return this.album.images&&this.album.images.length>0?this.album.images[0].url:""}},methods:{play(){this.$emit("close"),N.player_play_uri(this.album.uri,!1)},queue_add(){this.$emit("close"),N.queue_add(this.album.uri)},queue_add_next(){this.$emit("close"),N.queue_add_next(this.album.uri)},open_album(){this.$router.push({path:"/music/spotify/albums/"+this.album.id})},open_artist(){this.$router.push({path:"/music/spotify/artists/"+this.album.artists[0].id})},artwork_loaded(){this.artwork_visible=!0},artwork_error(){this.artwork_visible=!1}}},x7={key:0,class:"modal is-active"},E7={class:"modal-content fd-modal-card"},S7={class:"card"},$7={class:"card-content"},A7={class:"title is-4"},T7=["textContent"],O7={class:"content is-small"},D7=["textContent"],P7=["textContent"],I7=["textContent"],F7=["textContent"],R7=["textContent"],L7=["textContent"],M7={class:"card-footer"},N7=["textContent"],B7=["textContent"],V7=["textContent"];function H7(e,t,n,r,o,s){const a=S("cover-artwork"),i=S("mdicon");return w(),$("div",null,[y(Dt,{name:"fade"},{default:E(()=>[n.show?(w(),$("div",x7,[u("div",{class:"modal-background",onClick:t[0]||(t[0]=l=>e.$emit("close"))}),u("div",E7,[u("div",S7,[u("div",$7,[y(a,{artwork_url:s.artwork_url,artist:n.album.artist,album:n.album.name,class:"fd-has-shadow fd-cover fd-cover-normal-image mb-5",onLoad:s.artwork_loaded,onError:s.artwork_error},null,8,["artwork_url","artist","album","onLoad","onError"]),u("p",A7,[u("a",{class:"has-text-link",onClick:t[1]||(t[1]=(...l)=>s.open_album&&s.open_album(...l)),textContent:g(n.album.name)},null,8,T7)]),u("div",O7,[u("p",null,[u("span",{class:"heading",textContent:g(e.$t("dialog.spotify.album.album-artist"))},null,8,D7),u("a",{class:"title is-6 has-text-link",onClick:t[2]||(t[2]=(...l)=>s.open_artist&&s.open_artist(...l)),textContent:g(n.album.artists[0].name)},null,8,P7)]),u("p",null,[u("span",{class:"heading",textContent:g(e.$t("dialog.spotify.album.release-date"))},null,8,I7),u("span",{class:"title is-6",textContent:g(e.$filters.date(n.album.release_date))},null,8,F7)]),u("p",null,[u("span",{class:"heading",textContent:g(e.$t("dialog.spotify.album.type"))},null,8,R7),u("span",{class:"title is-6",textContent:g(n.album.album_type)},null,8,L7)])])]),u("footer",M7,[u("a",{class:"card-footer-item has-text-dark",onClick:t[3]||(t[3]=(...l)=>s.queue_add&&s.queue_add(...l))},[y(i,{class:"icon",name:"playlist-plus",size:"16"}),u("span",{class:"is-size-7",textContent:g(e.$t("dialog.spotify.album.add"))},null,8,N7)]),u("a",{class:"card-footer-item has-text-dark",onClick:t[4]||(t[4]=(...l)=>s.queue_add_next&&s.queue_add_next(...l))},[y(i,{class:"icon",name:"playlist-play",size:"16"}),u("span",{class:"is-size-7",textContent:g(e.$t("dialog.spotify.album.add-next"))},null,8,B7)]),u("a",{class:"card-footer-item has-text-dark",onClick:t[5]||(t[5]=(...l)=>s.play&&s.play(...l))},[y(i,{class:"icon",name:"play",size:"16"}),u("span",{class:"is-size-7",textContent:g(e.$t("dialog.spotify.album.play"))},null,8,V7)])])])]),u("button",{class:"modal-close is-large","aria-label":"close",onClick:t[6]||(t[6]=l=>e.$emit("close"))})])):H("",!0)]),_:1})])}const Fa=oe(k7,[["render",H7]]),j7={name:"SpotifyModalDialogPlaylist",props:["show","playlist"],emits:["close"],methods:{play(){this.$emit("close"),N.player_play_uri(this.playlist.uri,!1)},queue_add(){this.$emit("close"),N.queue_add(this.playlist.uri)},queue_add_next(){this.$emit("close"),N.queue_add_next(this.playlist.uri)},open_playlist(){this.$router.push({path:"/music/spotify/playlists/"+this.playlist.id})}}},U7={key:0,class:"modal is-active"},q7={class:"modal-content fd-modal-card"},W7={class:"card"},G7={class:"card-content"},K7={class:"title is-4"},Z7=["textContent"],Y7={class:"content is-small"},J7=["textContent"],X7=["textContent"],Q7=["textContent"],e9=["textContent"],t9=["textContent"],n9=["textContent"],r9={class:"card-footer"},o9=["textContent"],s9=["textContent"],a9=["textContent"];function i9(e,t,n,r,o,s){const a=S("mdicon");return w(),$("div",null,[y(Dt,{name:"fade"},{default:E(()=>[n.show?(w(),$("div",U7,[u("div",{class:"modal-background",onClick:t[0]||(t[0]=i=>e.$emit("close"))}),u("div",q7,[u("div",W7,[u("div",G7,[u("p",K7,[u("a",{class:"has-text-link",onClick:t[1]||(t[1]=(...i)=>s.open_playlist&&s.open_playlist(...i)),textContent:g(n.playlist.name)},null,8,Z7)]),u("div",Y7,[u("p",null,[u("span",{class:"heading",textContent:g(e.$t("dialog.spotify.playlist.owner"))},null,8,J7),u("span",{class:"title is-6",textContent:g(n.playlist.owner.display_name)},null,8,X7)]),u("p",null,[u("span",{class:"heading",textContent:g(e.$t("dialog.spotify.playlist.tracks"))},null,8,Q7),u("span",{class:"title is-6",textContent:g(n.playlist.tracks.total)},null,8,e9)]),u("p",null,[u("span",{class:"heading",textContent:g(e.$t("dialog.spotify.playlist.path"))},null,8,t9),u("span",{class:"title is-6",textContent:g(n.playlist.uri)},null,8,n9)])])]),u("footer",r9,[u("a",{class:"card-footer-item has-text-dark",onClick:t[2]||(t[2]=(...i)=>s.queue_add&&s.queue_add(...i))},[y(a,{class:"icon",name:"playlist-plus",size:"16"}),u("span",{class:"is-size-7",textContent:g(e.$t("dialog.spotify.playlist.add"))},null,8,o9)]),u("a",{class:"card-footer-item has-text-dark",onClick:t[3]||(t[3]=(...i)=>s.queue_add_next&&s.queue_add_next(...i))},[y(a,{class:"icon",name:"playlist-play",size:"16"}),u("span",{class:"is-size-7",textContent:g(e.$t("dialog.spotify.playlist.add-next"))},null,8,s9)]),u("a",{class:"card-footer-item has-text-dark",onClick:t[4]||(t[4]=(...i)=>s.play&&s.play(...i))},[y(a,{class:"icon",name:"play",size:"16"}),u("span",{class:"is-size-7",textContent:g(e.$t("dialog.spotify.playlist.play"))},null,8,a9)])])])]),u("button",{class:"modal-close is-large","aria-label":"close",onClick:t[5]||(t[5]=i=>e.$emit("close"))})])):H("",!0)]),_:1})])}const ou=oe(j7,[["render",i9]]),Ti={load(e){if(Ke.state.spotify_new_releases.length>0&&Ke.state.spotify_featured_playlists.length>0)return Promise.resolve();const t=new qn;return t.setAccessToken(Ke.state.spotify.webapi_token),Promise.all([t.getNewReleases({country:Ke.state.spotify.webapi_country,limit:50}),t.getFeaturedPlaylists({country:Ke.state.spotify.webapi_country,limit:50})])},set(e,t){t&&(Ke.commit(Vd,t[0].albums.items),Ke.commit(Hd,t[1].playlists.items))}},l9={name:"SpotifyPageBrowse",components:{ContentWithHeading:nt,TabsMusic:ur,SpotifyListItemAlbum:ru,SpotifyListItemPlaylist:hm,SpotifyModalDialogAlbum:Fa,SpotifyModalDialogPlaylist:ou,CoverArtwork:Wn},beforeRouteEnter(e,t,n){Ti.load(e).then(r=>{n(o=>Ti.set(o,r))})},beforeRouteUpdate(e,t,n){const r=this;Ti.load(e).then(o=>{Ti.set(r,o),n()})},data(){return{show_album_details_modal:!1,selected_album:{},show_playlist_details_modal:!1,selected_playlist:{}}},computed:{new_releases(){return this.$store.state.spotify_new_releases.slice(0,3)},featured_playlists(){return this.$store.state.spotify_featured_playlists.slice(0,3)},is_visible_artwork(){return this.$store.getters.settings_option("webinterface","show_cover_artwork_in_album_lists").value}},methods:{open_album(e){this.$router.push({path:"/music/spotify/albums/"+e.id})},open_album_dialog(e){this.selected_album=e,this.show_album_details_modal=!0},open_playlist_dialog(e){this.selected_playlist=e,this.show_playlist_details_modal=!0},artwork_url(e){return e.images&&e.images.length>0?e.images[0].url:""}}},u9={class:"fd-page-with-tabs"},c9=["textContent"],d9=["onClick"],m9={class:"level"},f9={class:"level-item"},p9=["textContent"],h9=["onClick"],_9={class:"level"},g9={class:"level-item"};function y9(e,t,n,r,o,s){const a=S("tabs-music"),i=S("cover-artwork"),l=S("mdicon"),c=S("spotify-list-item-album"),d=S("spotify-modal-dialog-album"),f=S("router-link"),m=S("content-with-heading"),p=S("spotify-list-item-playlist"),h=S("spotify-modal-dialog-playlist");return w(),$("div",u9,[y(a),y(m,null,{"heading-left":E(()=>[u("p",{class:"title is-4",textContent:g(e.$t("page.spotify.browse.new-releases"))},null,8,c9)]),content:E(()=>[(w(!0),$(Te,null,ft(s.new_releases,_=>(w(),be(c,{key:_.id,album:_,onClick:z=>s.open_album(_)},$a({actions:E(()=>[u("a",{onClick:st(z=>s.open_album_dialog(_),["prevent","stop"])},[y(l,{class:"icon has-text-dark",name:"dots-vertical",size:"16"})],8,d9)]),_:2},[s.is_visible_artwork?{name:"artwork",fn:E(()=>[y(i,{artwork_url:s.artwork_url(_),artist:_.artist,album:_.name,class:"is-clickable fd-has-shadow fd-cover fd-cover-small-image",maxwidth:64,maxheight:64},null,8,["artwork_url","artist","album"])]),key:"0"}:void 0]),1032,["album","onClick"]))),128)),y(d,{show:o.show_album_details_modal,album:o.selected_album,onClose:t[0]||(t[0]=_=>o.show_album_details_modal=!1)},null,8,["show","album"])]),footer:E(()=>[u("nav",m9,[u("p",f9,[y(f,{to:"/music/spotify/new-releases",class:"button is-light is-small is-rounded"},{default:E(()=>[ct(g(e.$t("page.spotify.browse.show-more")),1)]),_:1})])])]),_:1}),y(m,null,{"heading-left":E(()=>[u("p",{class:"title is-4",textContent:g(e.$t("page.spotify.browse.featured-playlists"))},null,8,p9)]),content:E(()=>[(w(!0),$(Te,null,ft(s.featured_playlists,_=>(w(),be(p,{key:_.id,playlist:_},{actions:E(()=>[u("a",{onClick:st(z=>s.open_playlist_dialog(_),["prevent","stop"])},[y(l,{class:"icon has-text-dark",name:"dots-vertical",size:"16"})],8,h9)]),_:2},1032,["playlist"]))),128)),y(h,{show:o.show_playlist_details_modal,playlist:o.selected_playlist,onClose:t[1]||(t[1]=_=>o.show_playlist_details_modal=!1)},null,8,["show","playlist"])]),footer:E(()=>[u("nav",_9,[u("p",g9,[y(f,{to:"/music/spotify/featured-playlists",class:"button is-light is-small is-rounded"},{default:E(()=>[ct(g(e.$t("page.spotify.browse.show-more")),1)]),_:1})])])]),_:1})])}const v9=oe(l9,[["render",y9]]),Oi={load(e){if(Ke.state.spotify_new_releases.length>0)return Promise.resolve();const t=new qn;return t.setAccessToken(Ke.state.spotify.webapi_token),t.getNewReleases({country:Ke.state.spotify.webapi_country,limit:50})},set(e,t){t&&Ke.commit(Vd,t.albums.items)}},b9={name:"SpotifyPageBrowseNewReleases",components:{ContentWithHeading:nt,TabsMusic:ur,SpotifyListItemAlbum:ru,SpotifyModalDialogAlbum:Fa,CoverArtwork:Wn},beforeRouteEnter(e,t,n){Oi.load(e).then(r=>{n(o=>Oi.set(o,r))})},beforeRouteUpdate(e,t,n){const r=this;Oi.load(e).then(o=>{Oi.set(r,o),n()})},data(){return{show_album_details_modal:!1,selected_album:{}}},computed:{new_releases(){return this.$store.state.spotify_new_releases},is_visible_artwork(){return this.$store.getters.settings_option("webinterface","show_cover_artwork_in_album_lists").value}},methods:{open_album(e){this.$router.push({path:"/music/spotify/albums/"+e.id})},open_album_dialog(e){this.selected_album=e,this.show_album_details_modal=!0},artwork_url(e){return e.images&&e.images.length>0?e.images[0].url:""}}},z9={class:"fd-page-with-tabs"},C9=["textContent"],w9=["onClick"];function k9(e,t,n,r,o,s){const a=S("tabs-music"),i=S("cover-artwork"),l=S("mdicon"),c=S("spotify-list-item-album"),d=S("spotify-modal-dialog-album"),f=S("content-with-heading");return w(),$("div",z9,[y(a),y(f,null,{"heading-left":E(()=>[u("p",{class:"title is-4",textContent:g(e.$t("page.spotify.browse.new-releases"))},null,8,C9)]),content:E(()=>[(w(!0),$(Te,null,ft(s.new_releases,m=>(w(),be(c,{key:m.id,album:m,onClick:p=>s.open_album(m)},$a({actions:E(()=>[u("a",{onClick:st(p=>s.open_album_dialog(m),["prevent","stop"])},[y(l,{class:"icon has-text-dark",name:"dots-vertical",size:"16"})],8,w9)]),_:2},[s.is_visible_artwork?{name:"artwork",fn:E(()=>[y(i,{artwork_url:s.artwork_url(m),artist:m.artist,album:m.name,class:"is-clickable fd-has-shadow fd-cover fd-cover-small-image",maxwidth:64,maxheight:64},null,8,["artwork_url","artist","album"])]),key:"0"}:void 0]),1032,["album","onClick"]))),128)),y(d,{show:o.show_album_details_modal,album:o.selected_album,onClose:t[0]||(t[0]=m=>o.show_album_details_modal=!1)},null,8,["show","album"])]),_:1})])}const x9=oe(b9,[["render",k9]]),Di={load(e){if(Ke.state.spotify_featured_playlists.length>0)return Promise.resolve();const t=new qn;t.setAccessToken(Ke.state.spotify.webapi_token),t.getFeaturedPlaylists({country:Ke.state.spotify.webapi_country,limit:50})},set(e,t){t&&Ke.commit(Hd,t.playlists.items)}},E9={name:"SpotifyPageBrowseFeaturedPlaylists",components:{ContentWithHeading:nt,TabsMusic:ur,SpotifyListItemPlaylist:hm,SpotifyModalDialogPlaylist:ou},beforeRouteEnter(e,t,n){Di.load(e).then(r=>{n(o=>Di.set(o,r))})},beforeRouteUpdate(e,t,n){const r=this;Di.load(e).then(o=>{Di.set(r,o),n()})},data(){return{show_playlist_details_modal:!1,selected_playlist:{}}},computed:{featured_playlists(){return this.$store.state.spotify_featured_playlists}},methods:{open_playlist_dialog(e){this.selected_playlist=e,this.show_playlist_details_modal=!0}}},S9={class:"fd-page-with-tabs"},$9=["textContent"],A9=["onClick"];function T9(e,t,n,r,o,s){const a=S("tabs-music"),i=S("mdicon"),l=S("spotify-list-item-playlist"),c=S("spotify-modal-dialog-playlist"),d=S("content-with-heading");return w(),$("div",S9,[y(a),y(d,null,{"heading-left":E(()=>[u("p",{class:"title is-4",textContent:g(e.$t("page.spotify.browse.featured-playlists"))},null,8,$9)]),content:E(()=>[(w(!0),$(Te,null,ft(s.featured_playlists,f=>(w(),be(l,{key:f.id,playlist:f},{actions:E(()=>[u("a",{onClick:st(m=>s.open_playlist_dialog(f),["prevent","stop"])},[y(i,{class:"icon has-text-dark",name:"dots-vertical",size:"16"})],8,A9)]),_:2},1032,["playlist"]))),128)),y(c,{show:o.show_playlist_details_modal,playlist:o.selected_playlist,onClose:t[0]||(t[0]=f=>o.show_playlist_details_modal=!1)},null,8,["show","playlist"])]),_:1})])}const O9=oe(E9,[["render",T9]]),D9={name:"SpotifyModalDialogArtist",props:["show","artist"],emits:["close"],methods:{play(){this.$emit("close"),N.player_play_uri(this.artist.uri,!1)},queue_add(){this.$emit("close"),N.queue_add(this.artist.uri)},queue_add_next(){this.$emit("close"),N.queue_add_next(this.artist.uri)},open_artist(){this.$router.push({path:"/music/spotify/artists/"+this.artist.id})}}},P9={key:0,class:"modal is-active"},I9={class:"modal-content fd-modal-card"},F9={class:"card"},R9={class:"card-content"},L9={class:"title is-4"},M9=["textContent"],N9={class:"content is-small"},B9=["textContent"],V9=["textContent"],H9=["textContent"],j9=["textContent"],U9={class:"card-footer"},q9=["textContent"],W9=["textContent"],G9=["textContent"];function K9(e,t,n,r,o,s){const a=S("mdicon");return w(),$("div",null,[y(Dt,{name:"fade"},{default:E(()=>[n.show?(w(),$("div",P9,[u("div",{class:"modal-background",onClick:t[0]||(t[0]=i=>e.$emit("close"))}),u("div",I9,[u("div",F9,[u("div",R9,[u("p",L9,[u("a",{class:"has-text-link",onClick:t[1]||(t[1]=(...i)=>s.open_artist&&s.open_artist(...i)),textContent:g(n.artist.name)},null,8,M9)]),u("div",N9,[u("p",null,[u("span",{class:"heading",textContent:g(e.$t("dialog.spotify.artist.popularity"))},null,8,B9),u("span",{class:"title is-6",textContent:g([n.artist.popularity,n.artist.followers.total].join(" / "))},null,8,V9)]),u("p",null,[u("span",{class:"heading",textContent:g(e.$t("dialog.spotify.artist.genres"))},null,8,H9),u("span",{class:"title is-6",textContent:g(n.artist.genres.join(", "))},null,8,j9)])])]),u("footer",U9,[u("a",{class:"card-footer-item has-text-dark",onClick:t[2]||(t[2]=(...i)=>s.queue_add&&s.queue_add(...i))},[y(a,{class:"icon",name:"playlist-plus",size:"16"}),u("span",{class:"is-size-7",textContent:g(e.$t("dialog.spotify.artist.add"))},null,8,q9)]),u("a",{class:"card-footer-item has-text-dark",onClick:t[3]||(t[3]=(...i)=>s.queue_add_next&&s.queue_add_next(...i))},[y(a,{class:"icon",name:"playlist-play",size:"16"}),u("span",{class:"is-size-7",textContent:g(e.$t("dialog.spotify.artist.add-next"))},null,8,W9)]),u("a",{class:"card-footer-item has-text-dark",onClick:t[4]||(t[4]=(...i)=>s.play&&s.play(...i))},[y(a,{class:"icon",name:"play",size:"16"}),u("span",{class:"is-size-7",textContent:g(e.$t("dialog.spotify.artist.play"))},null,8,G9)])])])]),u("button",{class:"modal-close is-large","aria-label":"close",onClick:t[5]||(t[5]=i=>e.$emit("close"))})])):H("",!0)]),_:1})])}const $v=oe(D9,[["render",K9]]);function Z9(e){return e.scrollHeight}function Y9(e){return e.scrollWidth}function J9(e,t){e.scrollTop=e.scrollHeight-t+e.scrollTop}function X9(e,t){e.scrollLeft=e.scrollWidth-t+e.scrollLeft}const Q9=u("div",{class:"loading"},"Loading...",-1),eB=u("div",{class:"no-more"},"No more.",-1),tB=u("div",{class:"no-results"},"No results.",-1),nB=u("div",{class:"error"},"Error.",-1),_m=us({__name:"VueEternalLoading",props:{load:{required:!0,type:Function},isInitial:{required:!1,type:Boolean,default:!0},position:{required:!1,type:String,default:"default"},container:{required:!1,type:Object,default:null},margin:{required:!1,type:String,default:void 0}},emits:["update:isInitial"],setup(e,{emit:t}){const n=e,r=Gt();let o=Gt("loading"),s=Gt(n.isInitial),a=0;function i(){ka(()=>{var k,C;n.position==="top"?J9((k=n.container)!=null?k:document.documentElement,a):n.position==="left"&&X9((C=n.container)!=null?C:document.documentElement,a)})}function l(k,C){return k===0?s.value?(d(),"no-results"):(c(),"no-more"):k!==void 0&&C!==void 0&&k<C?(c(),"no-more"):(s.value=!1,i(),z(),"loading")}function c(){s.value=!1,h("no-more"),i()}function d(){s.value=!1,h("no-results"),i()}function f(){s.value=!1,h("error"),i()}function m(){s.value=!0,h("loading"),z()}function p(){h("loading"),z()}function h(k){o.value=k}function _(){r.value&&v.unobserve(r.value)}function z(){r.value&&v.observe(r.value)}function b(){return new IntersectionObserver(([k])=>{var C,x;k.isIntersecting&&(n.position==="top"?a=Z9((C=n.container)!=null?C:document.documentElement):n.position==="left"&&(a=Y9((x=n.container)!=null?x:document.documentElement)),_(),n.load({loaded:l,noMore:c,noResults:d,error:f},{isFirstLoad:s.value}))},{root:n.container,threshold:0,rootMargin:n.margin})}let v;return typeof IntersectionObserver<"u"&&Uh(()=>{v&&_(),v=b(),z()},{flush:"post"}),Jt(()=>n.isInitial,k=>{k&&m()}),Jt(s,k=>{k||t("update:isInitial",!1)}),(k,C)=>(w(),$("div",{class:"vue-eternal-loading",ref_key:"rootRef",ref:r},[pn(o)==="loading"?lt(k.$slots,"loading",Ds(Mo({key:0},{isFirstLoad:pn(s)})),()=>[Q9]):pn(o)==="no-more"?lt(k.$slots,"no-more",Ds(Mo({key:1},{retry:p})),()=>[eB]):pn(o)==="no-results"?lt(k.$slots,"no-results",Ds(Mo({key:2},{retry:p})),()=>[tB]):pn(o)==="error"?lt(k.$slots,"error",Ds(Mo({key:3},{retry:p})),()=>[nB]):H("",!0)],512))}}),qc=50,Pi={load:function(e){const t=new qn;return t.setAccessToken(Ke.state.spotify.webapi_token),Promise.all([t.getArtist(e.params.artist_id),t.getArtistAlbums(e.params.artist_id,{limit:qc,offset:0,include_groups:"album,single",market:Ke.state.spotify.webapi_country})])},set(e,t){e.artist=t[0],e.albums=[],e.total=0,e.offset=0,e.append_albums(t[1])}},rB={name:"SpotifyPageArtist",components:{ContentWithHeading:nt,SpotifyListItemAlbum:ru,SpotifyModalDialogAlbum:Fa,SpotifyModalDialogArtist:$v,VueEternalLoading:_m,CoverArtwork:Wn},beforeRouteEnter(e,t,n){Pi.load(e).then(r=>{n(o=>Pi.set(o,r))})},beforeRouteUpdate(e,t,n){const r=this;Pi.load(e).then(o=>{Pi.set(r,o),n()})},data(){return{artist:{},albums:[],total:0,offset:0,show_details_modal:!1,selected_album:{},show_artist_details_modal:!1}},computed:{is_visible_artwork(){return this.$store.getters.settings_option("webinterface","show_cover_artwork_in_album_lists").value}},methods:{load_next({loaded:e}){const t=new qn;t.setAccessToken(this.$store.state.spotify.webapi_token),t.getArtistAlbums(this.artist.id,{limit:qc,offset:this.offset,include_groups:"album,single"}).then(n=>{this.append_albums(n),e(n.items.length,qc)})},append_albums(e){this.albums=this.albums.concat(e.items),this.total=e.total,this.offset+=e.limit},play(){this.show_details_modal=!1,N.player_play_uri(this.artist.uri,!0)},open_album(e){this.$router.push({path:"/music/spotify/albums/"+e.id})},open_dialog(e){this.selected_album=e,this.show_details_modal=!0},artwork_url(e){return e.images&&e.images.length>0?e.images[0].url:""}}},oB={class:"fd-page"},sB=["textContent"],aB={class:"buttons is-centered"},iB=["textContent"],lB=["textContent"],uB=["onClick"];function cB(e,t,n,r,o,s){const a=S("mdicon"),i=S("cover-artwork"),l=S("spotify-list-item-album"),c=S("VueEternalLoading"),d=S("spotify-modal-dialog-album"),f=S("spotify-modal-dialog-artist"),m=S("content-with-heading");return w(),$("div",oB,[y(m,null,{"heading-left":E(()=>[u("p",{class:"title is-4",textContent:g(o.artist.name)},null,8,sB)]),"heading-right":E(()=>[u("div",aB,[u("a",{class:"button is-small is-light is-rounded",onClick:t[0]||(t[0]=p=>o.show_artist_details_modal=!0)},[y(a,{class:"icon",name:"dots-horizontal",size:"16"})]),u("a",{class:"button is-small is-dark is-rounded",onClick:t[1]||(t[1]=(...p)=>s.play&&s.play(...p))},[y(a,{class:"icon",name:"shuffle",size:"16"}),u("span",{textContent:g(e.$t("page.spotify.artist.shuffle"))},null,8,iB)])])]),content:E(()=>[u("p",{class:"heading has-text-centered-mobile",textContent:g(e.$t("page.spotify.artist.album-count",{count:o.total}))},null,8,lB),(w(!0),$(Te,null,ft(o.albums,p=>(w(),be(l,{key:p.id,album:p,onClick:h=>s.open_album(p)},$a({actions:E(()=>[u("a",{onClick:st(h=>s.open_dialog(p),["prevent","stop"])},[y(a,{class:"icon has-text-dark",name:"dots-vertical",size:"16"})],8,uB)]),_:2},[s.is_visible_artwork?{name:"artwork",fn:E(()=>[y(i,{artwork_url:s.artwork_url(p),artist:p.artist,album:p.name,class:"is-clickable fd-has-shadow fd-cover fd-cover-small-image",maxwidth:64,maxheight:64},null,8,["artwork_url","artist","album"])]),key:"0"}:void 0]),1032,["album","onClick"]))),128)),o.offset<o.total?(w(),be(c,{key:0,load:s.load_next},{"no-more":E(()=>[ct(" . ")]),_:1},8,["load"])):H("",!0),y(d,{show:o.show_details_modal,album:o.selected_album,onClose:t[2]||(t[2]=p=>o.show_details_modal=!1)},null,8,["show","album"]),y(f,{show:o.show_artist_details_modal,artist:o.artist,onClose:t[3]||(t[3]=p=>o.show_artist_details_modal=!1)},null,8,["show","artist"])]),_:1})])}const dB=oe(rB,[["render",cB]]),mB={name:"SpotifyListItemTrack",props:["track","position","context_uri"],methods:{play(){this.track.is_playable&&N.player_play_uri(this.context_uri,!1,this.position)}}},fB={class:"media is-align-items-center"},pB=["textContent"],hB=["textContent"],_B={key:0,class:"subtitle is-7"},gB=["textContent"],yB=["textContent"],vB={class:"media-right"};function bB(e,t,n,r,o,s){return w(),$("div",fB,[u("div",{class:De(["media-content is-clipped",{"is-clickable":n.track.is_playable,"fd-is-not-allowed":!n.track.is_playable}]),onClick:t[0]||(t[0]=(...a)=>s.play&&s.play(...a))},[u("h1",{class:De(["title is-6",{"has-text-grey-light":!n.track.is_playable}]),textContent:g(n.track.name)},null,10,pB),u("h2",{class:De(["subtitle is-7",{"has-text-grey":n.track.is_playable,"has-text-grey-light":!n.track.is_playable}]),textContent:g(n.track.artists[0].name)},null,10,hB),n.track.is_playable?H("",!0):(w(),$("h2",_B,[ct(" ("),u("span",{textContent:g(e.$t("list.spotify.not-playable-track"))},null,8,gB),n.track.restrictions&&n.track.restrictions.reason?(w(),$("span",{key:0,textContent:g(e.$t("list.spotify.restriction-reason",{reason:n.track.restrictions.reason}))},null,8,yB)):H("",!0),ct(") ")]))],2),u("div",vB,[lt(e.$slots,"actions")])])}const gm=oe(mB,[["render",bB]]),zB={name:"SpotifyModalDialogTrack",props:["show","track","album"],emits:["close"],methods:{play(){this.$emit("close"),N.player_play_uri(this.track.uri,!1)},queue_add(){this.$emit("close"),N.queue_add(this.track.uri)},queue_add_next(){this.$emit("close"),N.queue_add_next(this.track.uri)},open_album(){this.$router.push({path:"/music/spotify/albums/"+this.album.id})},open_artist(){this.$router.push({path:"/music/spotify/artists/"+this.album.artists[0].id})}}},CB={key:0,class:"modal is-active"},wB={class:"modal-content fd-modal-card"},kB={class:"card"},xB={class:"card-content"},EB=["textContent"],SB=["textContent"],$B={class:"content is-small"},AB=["textContent"],TB=["textContent"],OB=["textContent"],DB=["textContent"],PB=["textContent"],IB=["textContent"],FB=["textContent"],RB=["textContent"],LB=["textContent"],MB=["textContent"],NB=["textContent"],BB=["textContent"],VB={class:"card-footer"},HB=["textContent"],jB=["textContent"],UB=["textContent"];function qB(e,t,n,r,o,s){const a=S("mdicon");return w(),$("div",null,[y(Dt,{name:"fade"},{default:E(()=>[n.show?(w(),$("div",CB,[u("div",{class:"modal-background",onClick:t[0]||(t[0]=i=>e.$emit("close"))}),u("div",wB,[u("div",kB,[u("div",xB,[u("p",{class:"title is-4",textContent:g(n.track.name)},null,8,EB),u("p",{class:"subtitle",textContent:g(n.track.artists[0].name)},null,8,SB),u("div",$B,[u("p",null,[u("span",{class:"heading",textContent:g(e.$t("dialog.spotify.track.album"))},null,8,AB),u("a",{class:"title is-6 has-text-link",onClick:t[1]||(t[1]=(...i)=>s.open_album&&s.open_album(...i)),textContent:g(n.album.name)},null,8,TB)]),u("p",null,[u("span",{class:"heading",textContent:g(e.$t("dialog.spotify.track.album-artist"))},null,8,OB),u("a",{class:"title is-6 has-text-link",onClick:t[2]||(t[2]=(...i)=>s.open_artist&&s.open_artist(...i)),textContent:g(n.album.artists[0].name)},null,8,DB)]),u("p",null,[u("span",{class:"heading",textContent:g(e.$t("dialog.spotify.track.release-date"))},null,8,PB),u("span",{class:"title is-6",textContent:g(e.$filters.date(n.album.release_date))},null,8,IB)]),u("p",null,[u("span",{class:"heading",textContent:g(e.$t("dialog.spotify.track.position"))},null,8,FB),u("span",{class:"title is-6",textContent:g([n.track.disc_number,n.track.track_number].join(" / "))},null,8,RB)]),u("p",null,[u("span",{class:"heading",textContent:g(e.$t("dialog.spotify.track.duration"))},null,8,LB),u("span",{class:"title is-6",textContent:g(e.$filters.durationInHours(n.track.duration_ms))},null,8,MB)]),u("p",null,[u("span",{class:"heading",textContent:g(e.$t("dialog.spotify.track.path"))},null,8,NB),u("span",{class:"title is-6",textContent:g(n.track.uri)},null,8,BB)])])]),u("footer",VB,[u("a",{class:"card-footer-item has-text-dark",onClick:t[3]||(t[3]=(...i)=>s.queue_add&&s.queue_add(...i))},[y(a,{class:"icon",name:"playlist-plus",size:"16"}),u("span",{class:"is-size-7",textContent:g(e.$t("dialog.spotify.track.add"))},null,8,HB)]),u("a",{class:"card-footer-item has-text-dark",onClick:t[4]||(t[4]=(...i)=>s.queue_add_next&&s.queue_add_next(...i))},[y(a,{class:"icon",name:"playlist-play",size:"16"}),u("span",{class:"is-size-7",textContent:g(e.$t("dialog.spotify.track.add-next"))},null,8,jB)]),u("a",{class:"card-footer-item has-text-dark",onClick:t[5]||(t[5]=(...i)=>s.play&&s.play(...i))},[y(a,{class:"icon",name:"play",size:"16"}),u("span",{class:"is-size-7",textContent:g(e.$t("dialog.spotify.track.play"))},null,8,UB)])])])]),u("button",{class:"modal-close is-large","aria-label":"close",onClick:t[6]||(t[6]=i=>e.$emit("close"))})])):H("",!0)]),_:1})])}const ym=oe(zB,[["render",qB]]),Ii={load(e){const t=new qn;return t.setAccessToken(Ke.state.spotify.webapi_token),t.getAlbum(e.params.album_id,{market:Ke.state.spotify.webapi_country})},set(e,t){e.album=t}},WB={name:"PageAlbum",components:{ContentWithHero:dm,SpotifyListItemTrack:gm,SpotifyModalDialogTrack:ym,SpotifyModalDialogAlbum:Fa,CoverArtwork:Wn},beforeRouteEnter(e,t,n){Ii.load(e).then(r=>{n(o=>Ii.set(o,r))})},beforeRouteUpdate(e,t,n){const r=this;Ii.load(e).then(o=>{Ii.set(r,o),n()})},data(){return{album:{artists:[{}],tracks:{}},show_track_details_modal:!1,selected_track:{},show_album_details_modal:!1}},computed:{artwork_url(){return this.album.images&&this.album.images.length>0?this.album.images[0].url:""}},methods:{open_artist(){this.$router.push({path:"/music/spotify/artists/"+this.album.artists[0].id})},play(){this.show_details_modal=!1,N.player_play_uri(this.album.uri,!0)},open_track_dialog(e){this.selected_track=e,this.show_track_details_modal=!0}}},GB={class:"fd-page"},KB=["textContent"],ZB={class:"subtitle is-6 has-text-link has-text-weight-normal"},YB=["textContent"],JB={class:"buttons fd-is-centered-mobile mt-5"},XB=["textContent"],QB=["textContent"],eV=["onClick"];function tV(e,t,n,r,o,s){const a=S("mdicon"),i=S("cover-artwork"),l=S("spotify-list-item-track"),c=S("spotify-modal-dialog-track"),d=S("spotify-modal-dialog-album"),f=S("content-with-hero");return w(),$("div",GB,[y(f,null,{"heading-left":E(()=>[u("h1",{class:"title is-5",textContent:g(o.album.name)},null,8,KB),u("h2",ZB,[u("a",{class:"has-text-link",onClick:t[0]||(t[0]=(...m)=>s.open_artist&&s.open_artist(...m)),textContent:g(o.album.artists[0].name)},null,8,YB)]),u("div",JB,[u("a",{class:"button is-small is-dark is-rounded",onClick:t[1]||(t[1]=(...m)=>s.play&&s.play(...m))},[y(a,{class:"icon",name:"shuffle",size:"16"}),u("span",{textContent:g(e.$t("page.spotify.album.shuffle"))},null,8,XB)]),u("a",{class:"button is-small is-light is-rounded",onClick:t[2]||(t[2]=m=>o.show_album_details_modal=!0)},[y(a,{class:"icon",name:"dots-horizontal",size:"16"})])])]),"heading-right":E(()=>[y(i,{artwork_url:s.artwork_url,artist:o.album.artist,album:o.album.name,class:"is-clickable fd-has-shadow fd-cover fd-cover-medium-image",onClick:t[3]||(t[3]=m=>o.show_album_details_modal=!0)},null,8,["artwork_url","artist","album"])]),content:E(()=>[u("p",{class:"heading is-7 has-text-centered-mobile mt-5",textContent:g(e.$t("page.spotify.album.track-count",{count:o.album.tracks.total}))},null,8,QB),(w(!0),$(Te,null,ft(o.album.tracks.items,(m,p)=>(w(),be(l,{key:m.id,track:m,position:p,context_uri:o.album.uri},{actions:E(()=>[u("a",{onClick:st(h=>s.open_track_dialog(m),["prevent","stop"])},[y(a,{class:"icon has-text-dark",name:"dots-vertical",size:"16"})],8,eV)]),_:2},1032,["track","position","context_uri"]))),128)),y(c,{show:o.show_track_details_modal,track:o.selected_track,album:o.album,onClose:t[4]||(t[4]=m=>o.show_track_details_modal=!1)},null,8,["show","track","album"]),y(d,{show:o.show_album_details_modal,album:o.album,onClose:t[5]||(t[5]=m=>o.show_album_details_modal=!1)},null,8,["show","album"])]),_:1})])}const nV=oe(WB,[["render",tV]]),Wc=50,Fi={load:function(e){const t=new qn;return t.setAccessToken(Ke.state.spotify.webapi_token),Promise.all([t.getPlaylist(e.params.playlist_id),t.getPlaylistTracks(e.params.playlist_id,{limit:Wc,offset:0,market:Ke.state.spotify.webapi_country})])},set(e,t){e.playlist=t[0],e.tracks=[],e.total=0,e.offset=0,e.append_tracks(t[1])}},rV={name:"SpotifyPagePlaylist",components:{ContentWithHeading:nt,SpotifyListItemTrack:gm,SpotifyModalDialogTrack:ym,SpotifyModalDialogPlaylist:ou,VueEternalLoading:_m},beforeRouteEnter(e,t,n){Fi.load(e).then(r=>{n(o=>Fi.set(o,r))})},beforeRouteUpdate(e,t,n){const r=this;Fi.load(e).then(o=>{Fi.set(r,o),n()})},data(){return{playlist:{tracks:{}},tracks:[],total:0,offset:0,show_track_details_modal:!1,selected_track:{},show_playlist_details_modal:!1}},methods:{load_next({loaded:e}){const t=new qn;t.setAccessToken(this.$store.state.spotify.webapi_token),t.getPlaylistTracks(this.playlist.id,{limit:Wc,offset:this.offset,market:Ke.state.spotify.webapi_country}).then(n=>{this.append_tracks(n),e(n.items.length,Wc)})},append_tracks(e){let t=Math.max(-1,...this.tracks.map(n=>n.position).filter(n=>n));e.items.forEach(n=>{const r=n.track;r&&(r.is_playable&&(r.position=++t),this.tracks.push(r))}),this.total=e.total,this.offset+=e.limit},play(){this.show_details_modal=!1,N.player_play_uri(this.playlist.uri,!0)},open_track_dialog(e){this.selected_track=e,this.show_track_details_modal=!0}}},oV={class:"fd-page"},sV=["textContent"],aV={class:"buttons is-centered"},iV=["textContent"],lV=["textContent"],uV=["onClick"];function cV(e,t,n,r,o,s){const a=S("mdicon"),i=S("spotify-list-item-track"),l=S("VueEternalLoading"),c=S("spotify-modal-dialog-track"),d=S("spotify-modal-dialog-playlist"),f=S("content-with-heading");return w(),$("div",oV,[y(f,null,{"heading-left":E(()=>[u("div",{class:"title is-4",textContent:g(o.playlist.name)},null,8,sV)]),"heading-right":E(()=>[u("div",aV,[u("a",{class:"button is-small is-light is-rounded",onClick:t[0]||(t[0]=m=>o.show_playlist_details_modal=!0)},[y(a,{class:"icon",name:"dots-horizontal",size:"16"})]),u("a",{class:"button is-small is-dark is-rounded",onClick:t[1]||(t[1]=(...m)=>s.play&&s.play(...m))},[y(a,{class:"icon",name:"shuffle",size:"16"}),u("span",{textContent:g(e.$t("page.spotify.playlist.shuffle"))},null,8,iV)])])]),content:E(()=>[u("p",{class:"heading has-text-centered-mobile",textContent:g(e.$t("page.spotify.playlist.count",{count:o.playlist.tracks.total}))},null,8,lV),(w(!0),$(Te,null,ft(o.tracks,m=>(w(),be(i,{key:m.id,track:m,position:m.position,context_uri:o.playlist.uri},{actions:E(()=>[u("a",{onClick:st(p=>s.open_track_dialog(m),["prevent","stop"])},[y(a,{class:"icon has-text-dark",name:"dots-vertical",size:"16"})],8,uV)]),_:2},1032,["track","position","context_uri"]))),128)),o.offset<o.total?(w(),be(l,{key:0,load:s.load_next},{"no-more":E(()=>[ct(" . ")]),_:1},8,["load"])):H("",!0),y(c,{show:o.show_track_details_modal,track:o.selected_track,album:o.selected_track.album,onClose:t[2]||(t[2]=m=>o.show_track_details_modal=!1)},null,8,["show","track","album"]),y(d,{show:o.show_playlist_details_modal,playlist:o.playlist,onClose:t[3]||(t[3]=m=>o.show_playlist_details_modal=!1)},null,8,["show","playlist"])]),_:1})])}const dV=oe(rV,[["render",cV]]),mV={name:"SpotifyListItemArtist",props:["artist"],methods:{open_artist(){this.$router.push({path:"/music/spotify/artists/"+this.artist.id})}}},fV={class:"media is-align-items-center"},pV=["textContent"],hV={class:"media-right"};function _V(e,t,n,r,o,s){return w(),$("div",fV,[u("div",{class:"media-content is-clickable is-clipped",onClick:t[0]||(t[0]=(...a)=>s.open_artist&&s.open_artist(...a))},[u("h1",{class:"title is-6",textContent:g(n.artist.name)},null,8,pV)]),u("div",hV,[lt(e.$slots,"actions")])])}const gV=oe(mV,[["render",_V]]),Ss=50,yV={name:"SpotifyPageSearch",components:{ContentWithHeading:nt,ContentText:Ev,TabsSearch:Sv,SpotifyListItemTrack:gm,SpotifyListItemArtist:gV,SpotifyListItemAlbum:ru,SpotifyListItemPlaylist:hm,SpotifyModalDialogTrack:ym,SpotifyModalDialogArtist:$v,SpotifyModalDialogAlbum:Fa,SpotifyModalDialogPlaylist:ou,VueEternalLoading:_m,CoverArtwork:Wn},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(){this.query=this.$route.query,this.search()},methods:{reset(){this.tracks={items:[],total:0},this.artists={items:[],total:0},this.albums={items:[],total:0},this.playlists={items:[],total:0}},search(){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:Ss,this.search_param.offset=this.query.offset?this.query.offset:0,this.$store.commit(jd,this.query.query),this.search_all()},spotify_search(){return N.spotify().then(({data:e})=>{this.search_param.market=e.webapi_country;const t=new qn;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(){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({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,Ss)})},search_artists_next({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,Ss)})},search_albums_next({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,Ss)})},search_playlists_next({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,Ss)})},new_search(){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(){this.$router.push({path:"/search/spotify",query:{type:"track",query:this.$route.query.query}})},open_search_artists(){this.$router.push({path:"/search/spotify",query:{type:"artist",query:this.$route.query.query}})},open_search_albums(){this.$router.push({path:"/search/spotify",query:{type:"album",query:this.$route.query.query}})},open_search_playlists(){this.$router.push({path:"/search/spotify",query:{type:"playlist",query:this.$route.query.query}})},open_recent_search(e){this.search_query=e,this.new_search()},open_track_dialog(e){this.selected_track=e,this.show_track_details_modal=!0},open_album_dialog(e){this.selected_album=e,this.show_album_details_modal=!0},open_artist_dialog(e){this.selected_artist=e,this.show_artist_details_modal=!0},open_playlist_dialog(e){this.selected_playlist=e,this.show_playlist_details_modal=!0},open_album(e){this.$router.push({path:"/music/spotify/albums/"+e.id})},artwork_url(e){return e.images&&e.images.length>0?e.images[0].url:""}}},vV={class:"fd-page"},bV={class:"section pb-0"},zV={class:"container"},CV={class:"columns is-centered"},wV={class:"column is-four-fifths"},kV={class:"field"},xV={class:"control is-expanded has-icons-left"},EV=["placeholder"],SV={class:"tags mt-4"},$V=["onClick","textContent"],AV=["textContent"],TV=["onClick"],OV={key:0,class:"level"},DV={class:"level-item"},PV=["textContent"],IV=["textContent"],FV=["textContent"],RV=["onClick"],LV={key:0,class:"level"},MV={class:"level-item"},NV=["textContent"],BV=["textContent"],VV=["textContent"],HV=["onClick"],jV={key:0,class:"level"},UV={class:"level-item"},qV=["textContent"],WV=["textContent"],GV=["textContent"],KV=["onClick"],ZV={key:0,class:"level"},YV={class:"level-item"},JV=["textContent"],XV=["textContent"];function QV(e,t,n,r,o,s){const a=S("mdicon"),i=S("tabs-search"),l=S("spotify-list-item-track"),c=S("VueEternalLoading"),d=S("spotify-modal-dialog-track"),f=S("content-with-heading"),m=S("content-text"),p=S("spotify-list-item-artist"),h=S("spotify-modal-dialog-artist"),_=S("cover-artwork"),z=S("spotify-list-item-album"),b=S("spotify-modal-dialog-album"),v=S("spotify-list-item-playlist"),k=S("spotify-modal-dialog-playlist");return w(),$("div",vV,[u("section",bV,[u("div",zV,[u("div",CV,[u("div",wV,[u("form",{onSubmit:t[1]||(t[1]=st((...C)=>s.new_search&&s.new_search(...C),["prevent"]))},[u("div",kV,[u("p",xV,[bt(u("input",{ref:"search_field","onUpdate:modelValue":t[0]||(t[0]=C=>o.search_query=C),class:"input is-rounded is-shadowless",type:"text",placeholder:e.$t("page.spotify.search.placeholder"),autocomplete:"off"},null,8,EV),[[sn,o.search_query]]),y(a,{class:"icon is-left",name:"magnify",size:"16"})])])],32),u("div",SV,[(w(!0),$(Te,null,ft(s.recent_searches,C=>(w(),$("a",{key:C,class:"tag",onClick:x=>s.open_recent_search(C),textContent:g(C)},null,8,$V))),128))])])])])]),y(i,{query:o.search_query},null,8,["query"]),s.show_tracks&&o.tracks.total?(w(),be(f,{key:0,class:"pt-0"},{"heading-left":E(()=>[u("p",{class:"title is-4",textContent:g(e.$t("page.spotify.search.tracks"))},null,8,AV)]),content:E(()=>[(w(!0),$(Te,null,ft(o.tracks.items,C=>(w(),be(l,{key:C.id,track:C,position:0,context_uri:C.uri},{actions:E(()=>[u("a",{onClick:st(x=>s.open_track_dialog(C),["prevent","stop"])},[y(a,{class:"icon has-text-dark",name:"dots-vertical",size:"16"})],8,TV)]),_:2},1032,["track","context_uri"]))),128)),o.query.type==="track"?(w(),be(c,{key:0,load:s.search_tracks_next},{"no-more":E(()=>[ct(" . ")]),_:1},8,["load"])):H("",!0),y(d,{show:o.show_track_details_modal,track:o.selected_track,album:o.selected_track.album,onClose:t[2]||(t[2]=C=>o.show_track_details_modal=!1)},null,8,["show","track","album"])]),footer:E(()=>[s.show_all_tracks_button?(w(),$("nav",OV,[u("p",DV,[u("a",{class:"button is-light is-small is-rounded",onClick:t[3]||(t[3]=(...C)=>s.open_search_tracks&&s.open_search_tracks(...C)),textContent:g(e.$t("page.spotify.search.show-all-tracks",o.tracks.total,{count:e.$filters.number(o.tracks.total)}))},null,8,PV)])])):H("",!0)]),_:1})):H("",!0),s.show_tracks&&!o.tracks.total?(w(),be(m,{key:1,class:"pt-0"},{content:E(()=>[u("p",null,[u("i",{textContent:g(e.$t("page.spotify.search.no-tracks"))},null,8,IV)])]),_:1})):H("",!0),s.show_artists&&o.artists.total?(w(),be(f,{key:2},{"heading-left":E(()=>[u("p",{class:"title is-4",textContent:g(e.$t("page.spotify.search.artists"))},null,8,FV)]),content:E(()=>[(w(!0),$(Te,null,ft(o.artists.items,C=>(w(),be(p,{key:C.id,artist:C},{actions:E(()=>[u("a",{onClick:st(x=>s.open_artist_dialog(C),["prevent","stop"])},[y(a,{class:"icon has-text-dark",name:"dots-vertical",size:"16"})],8,RV)]),_:2},1032,["artist"]))),128)),o.query.type==="artist"?(w(),be(c,{key:0,load:s.search_artists_next},{"no-more":E(()=>[ct(" . ")]),_:1},8,["load"])):H("",!0),y(h,{show:o.show_artist_details_modal,artist:o.selected_artist,onClose:t[4]||(t[4]=C=>o.show_artist_details_modal=!1)},null,8,["show","artist"])]),footer:E(()=>[s.show_all_artists_button?(w(),$("nav",LV,[u("p",MV,[u("a",{class:"button is-light is-small is-rounded",onClick:t[5]||(t[5]=(...C)=>s.open_search_artists&&s.open_search_artists(...C)),textContent:g(e.$t("page.spotify.search.show-all-artists",o.artists.total,{count:e.$filters.number(o.artists.total)}))},null,8,NV)])])):H("",!0)]),_:1})):H("",!0),s.show_artists&&!o.artists.total?(w(),be(m,{key:3},{content:E(()=>[u("p",null,[u("i",{textContent:g(e.$t("page.spotify.search.no-artists"))},null,8,BV)])]),_:1})):H("",!0),s.show_albums&&o.albums.total?(w(),be(f,{key:4},{"heading-left":E(()=>[u("p",{class:"title is-4",textContent:g(e.$t("page.spotify.search.albums"))},null,8,VV)]),content:E(()=>[(w(!0),$(Te,null,ft(o.albums.items,C=>(w(),be(z,{key:C.id,album:C,onClick:x=>s.open_album(C)},$a({actions:E(()=>[u("a",{onClick:st(x=>s.open_album_dialog(C),["prevent","stop"])},[y(a,{class:"icon has-text-dark",name:"dots-vertical",size:"16"})],8,HV)]),_:2},[s.is_visible_artwork?{name:"artwork",fn:E(()=>[y(_,{artwork_url:s.artwork_url(C),artist:C.artist,album:C.name,class:"is-clickable fd-has-shadow fd-cover fd-cover-small-image",maxwidth:64,maxheight:64},null,8,["artwork_url","artist","album"])]),key:"0"}:void 0]),1032,["album","onClick"]))),128)),o.query.type==="album"?(w(),be(c,{key:0,load:s.search_albums_next},{"no-more":E(()=>[ct(" . ")]),_:1},8,["load"])):H("",!0),y(b,{show:o.show_album_details_modal,album:o.selected_album,onClose:t[6]||(t[6]=C=>o.show_album_details_modal=!1)},null,8,["show","album"])]),footer:E(()=>[s.show_all_albums_button?(w(),$("nav",jV,[u("p",UV,[u("a",{class:"button is-light is-small is-rounded",onClick:t[7]||(t[7]=(...C)=>s.open_search_albums&&s.open_search_albums(...C)),textContent:g(e.$t("page.spotify.search.show-all-albums",o.albums.total,{count:e.$filters.number(o.albums.total)}))},null,8,qV)])])):H("",!0)]),_:1})):H("",!0),s.show_albums&&!o.albums.total?(w(),be(m,{key:5},{content:E(()=>[u("p",null,[u("i",{textContent:g(e.$t("page.spotify.search.no-albums"))},null,8,WV)])]),_:1})):H("",!0),s.show_playlists&&o.playlists.total?(w(),be(f,{key:6},{"heading-left":E(()=>[u("p",{class:"title is-4",textContent:g(e.$t("page.spotify.search.playlists"))},null,8,GV)]),content:E(()=>[(w(!0),$(Te,null,ft(o.playlists.items,C=>(w(),be(v,{key:C.id,playlist:C},{actions:E(()=>[u("a",{onClick:st(x=>s.open_playlist_dialog(C),["prevent","stop"])},[y(a,{class:"icon has-text-dark",name:"dots-vertical",size:"16"})],8,KV)]),_:2},1032,["playlist"]))),128)),o.query.type==="playlist"?(w(),be(c,{key:0,load:s.search_playlists_next},{"no-more":E(()=>[ct(" . ")]),_:1},8,["load"])):H("",!0),y(k,{show:o.show_playlist_details_modal,playlist:o.selected_playlist,onClose:t[8]||(t[8]=C=>o.show_playlist_details_modal=!1)},null,8,["show","playlist"])]),footer:E(()=>[s.show_all_playlists_button?(w(),$("nav",ZV,[u("p",YV,[u("a",{class:"button is-light is-small is-rounded",onClick:t[9]||(t[9]=(...C)=>s.open_search_playlists&&s.open_search_playlists(...C)),textContent:g(e.$t("page.spotify.search.show-all-playlists",o.playlists.total,{count:e.$filters.number(o.playlists.total)}))},null,8,JV)])])):H("",!0)]),_:1})):H("",!0),s.show_playlists&&!o.playlists.total?(w(),be(m,{key:7},{content:E(()=>[u("p",null,[u("i",{textContent:g(e.$t("page.spotify.search.no-playlists"))},null,8,XV)])]),_:1})):H("",!0)])}const eH=oe(yV,[["render",QV]]),tH={name:"SettingsCheckbox",props:["category_name","option_name"],data(){return{timerDelay:2e3,timerId:-1,statusUpdate:""}},computed:{option(){const e=this.$store.getters.settings_option(this.category_name,this.option_name);return e||{category:this.category_name,name:this.option_name,value:!1}},info(){return this.is_success?this.$t("setting.saved"):this.is_error?this.$t("setting.not-saved"):""},is_success(){return this.statusUpdate==="success"},is_error(){return this.statusUpdate==="error"}},methods:{update_setting(){this.timerId=-1;const e={category:this.category_name,name:this.option_name,value:this.option.value};N.settings_update(this.category_name,e).then(()=>{this.$store.commit(Ul,e),this.statusUpdate="success"}).catch(()=>{this.statusUpdate="error"}).finally(()=>{this.timerId=window.setTimeout(this.clear_status,this.timerDelay)})},clear_status(){this.is_error&&(this.option.value=!this.option.value),this.statusUpdate=""}}},nH={class:"field"},rH=["id"],oH=["for"],sH=["textContent"],aH={key:0,class:"help"};function iH(e,t,n,r,o,s){return w(),$("div",nH,[bt(u("input",{id:s.option.name,"onUpdate:modelValue":t[0]||(t[0]=a=>s.option.value=a),type:"checkbox",class:"switch is-rounded mr-2",onChange:t[1]||(t[1]=(...a)=>s.update_setting&&s.update_setting(...a))},null,40,rH),[[ar,s.option.value]]),u("label",{for:s.option.name},[lt(e.$slots,"label")],8,oH),u("i",{class:De(["is-size-7",{"has-text-info":s.is_success,"has-text-danger":s.is_error}]),textContent:g(s.info)},null,10,sH),e.$slots.info?(w(),$("p",aH,[lt(e.$slots,"info")])):H("",!0)])}const Av=oe(tH,[["render",iH]]),lH={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)};N.settings_update(this.category.name,t).then(()=>{this.$store.commit(Ul,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(){this.statusUpdate=""}}},uH=["disabled"],cH={class:"field"},dH={class:"label has-text-weight-normal"},mH=["textContent"],fH={class:"control"},pH=["placeholder","value"],hH={key:0,class:"help"};function _H(e,t,n,r,o,s){return w(),$("fieldset",{disabled:n.disabled},[u("div",cH,[u("label",dH,[lt(e.$slots,"label"),u("i",{class:De(["is-size-7",{"has-text-info":s.is_success,"has-text-danger":s.is_error}]),textContent:g(s.info)},null,10,mH)]),u("div",fH,[u("input",{ref:"setting",class:"column input is-one-fifth",type:"number",min:"0",placeholder:n.placeholder,value:s.value,onInput:t[0]||(t[0]=(...a)=>s.set_update_timer&&s.set_update_timer(...a))},null,40,pH)]),e.$slots.info?(w(),$("p",hH,[lt(e.$slots,"info")])):H("",!0)])],8,uH)}const gH=oe(lH,[["render",_H]]),yH={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};N.settings_update(this.category.name,t).then(()=>{this.$store.commit(Ul,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(){this.statusUpdate=""}}},vH=["disabled"],bH={class:"field"},zH={class:"label has-text-weight-normal"},CH=["textContent"],wH={class:"control"},kH=["placeholder","value"],xH={key:0,class:"help"};function EH(e,t,n,r,o,s){return w(),$("fieldset",{disabled:n.disabled},[u("div",bH,[u("label",zH,[lt(e.$slots,"label"),u("i",{class:De(["is-size-7",{"has-text-info":s.is_success,"has-text-danger":s.is_error}]),textContent:g(s.info)},null,10,CH)]),u("div",wH,[u("input",{ref:"setting",class:"input",type:"text",placeholder:n.placeholder,value:s.value,onInput:t[0]||(t[0]=(...a)=>s.set_update_timer&&s.set_update_timer(...a))},null,40,kH)]),e.$slots.info?(w(),$("p",xH,[lt(e.$slots,"info")])):H("",!0)])],8,vH)}const SH=oe(yH,[["render",EH]]),$H={name:"TabsSettings"},AH={class:"section fd-tabs-section"},TH={class:"container"},OH={class:"columns is-centered"},DH={class:"column is-four-fifths"},PH={class:"tabs is-centered is-small"},IH=["onClick","onKeypress"],FH=["textContent"],RH=["onClick","onKeypress"],LH=["textContent"],MH=["onClick","onKeypress"],NH=["textContent"],BH=["onClick","onKeypress"],VH=["textContent"];function HH(e,t,n,r,o,s){const a=S("router-link");return w(),$("section",AH,[u("div",TH,[u("div",OH,[u("div",DH,[u("div",PH,[u("ul",null,[y(a,{to:"/settings/webinterface",custom:""},{default:E(({navigate:i,isActive:l})=>[u("li",{class:De({"is-active":l})},[u("a",{onClick:i,onKeypress:mn(i,["enter"])},[u("span",{textContent:g(e.$t("page.settings.tabs.general"))},null,8,FH)],40,IH)],2)]),_:1}),y(a,{to:"/settings/remotes-outputs",custom:""},{default:E(({navigate:i,isActive:l})=>[u("li",{class:De({"is-active":l})},[u("a",{onClick:i,onKeypress:mn(i,["enter"])},[u("span",{textContent:g(e.$t("page.settings.tabs.remotes-and-outputs"))},null,8,LH)],40,RH)],2)]),_:1}),y(a,{to:"/settings/artwork",custom:""},{default:E(({navigate:i,isActive:l})=>[u("li",{class:De({"is-active":l})},[u("a",{onClick:i,onKeypress:mn(i,["enter"])},[u("span",{textContent:g(e.$t("page.settings.tabs.artwork"))},null,8,NH)],40,MH)],2)]),_:1}),y(a,{to:"/settings/online-services",custom:""},{default:E(({navigate:i,isActive:l})=>[u("li",{class:De({"is-active":l})},[u("a",{onClick:i,onKeypress:mn(i,["enter"])},[u("span",{textContent:g(e.$t("page.settings.tabs.online-services"))},null,8,VH)],40,BH)],2)]),_:1})])])])])])])}const su=oe($H,[["render",HH]]),jH={name:"SettingsPageWebinterface",components:{ContentWithHeading:nt,ControlDropdown:Co,SettingsCheckbox:Av,SettingsIntfield:gH,SettingsTextfield:SH,TabsSettings:su},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(){const e=this.$i18n.availableLocales;let 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)}))}}}},UH={class:"fd-page-with-tabs"},qH=["textContent"],WH=["textContent"],GH=["textContent"],KH=["textContent"],ZH=["textContent"],YH=["textContent"],JH=["textContent"],XH=["textContent"],QH=["textContent"],ej=["textContent"],tj=["textContent"],nj=["textContent"],rj=["textContent"],oj=["textContent"],sj=["textContent"],aj=["textContent"],ij=["textContent"],lj=["textContent"],uj=["textContent"],cj=["textContent"],dj=["textContent"],mj=["textContent"],fj=["textContent"];function pj(e,t,n,r,o,s){const a=S("tabs-settings"),i=S("control-dropdown"),l=S("content-with-heading"),c=S("settings-checkbox"),d=S("settings-textfield"),f=S("settings-intfield");return w(),$("div",UH,[y(a),y(l,null,{"heading-left":E(()=>[u("div",{class:"title is-4",textContent:g(e.$t("page.settings.general.language"))},null,8,qH)]),content:E(()=>[y(i,{value:s.locale,"onUpdate:value":t[0]||(t[0]=m=>s.locale=m),options:s.locales},null,8,["value","options"])]),_:1}),y(l,null,{"heading-left":E(()=>[u("div",{class:"title is-4",textContent:g(e.$t("page.settings.general.navigation-items"))},null,8,WH)]),content:E(()=>[u("p",{class:"content",textContent:g(e.$t("page.settings.general.navigation-item-selection"))},null,8,GH),u("div",{class:"notification is-size-7",textContent:g(e.$t("page.settings.general.navigation-item-selection-info"))},null,8,KH),y(c,{category_name:"webinterface",option_name:"show_menu_item_playlists"},{label:E(()=>[u("span",{textContent:g(e.$t("page.settings.general.playlists"))},null,8,ZH)]),_:1}),y(c,{category_name:"webinterface",option_name:"show_menu_item_music"},{label:E(()=>[u("span",{textContent:g(e.$t("page.settings.general.music"))},null,8,YH)]),_:1}),y(c,{category_name:"webinterface",option_name:"show_menu_item_podcasts"},{label:E(()=>[u("span",{textContent:g(e.$t("page.settings.general.podcasts"))},null,8,JH)]),_:1}),y(c,{category_name:"webinterface",option_name:"show_menu_item_audiobooks"},{label:E(()=>[u("span",{textContent:g(e.$t("page.settings.general.audiobooks"))},null,8,XH)]),_:1}),y(c,{category_name:"webinterface",option_name:"show_menu_item_radio"},{label:E(()=>[u("span",{textContent:g(e.$t("page.settings.general.radio"))},null,8,QH)]),_:1}),y(c,{category_name:"webinterface",option_name:"show_menu_item_files"},{label:E(()=>[u("span",{textContent:g(e.$t("page.settings.general.files"))},null,8,ej)]),_:1}),y(c,{category_name:"webinterface",option_name:"show_menu_item_search"},{label:E(()=>[u("span",{textContent:g(e.$t("page.settings.general.search"))},null,8,tj)]),_:1})]),_:1}),y(l,null,{"heading-left":E(()=>[u("div",{class:"title is-4",textContent:g(e.$t("page.settings.general.album-lists"))},null,8,nj)]),content:E(()=>[y(c,{category_name:"webinterface",option_name:"show_cover_artwork_in_album_lists"},{label:E(()=>[u("span",{textContent:g(e.$t("page.settings.general.show-coverart"))},null,8,rj)]),_:1})]),_:1}),y(l,null,{"heading-left":E(()=>[u("div",{class:"title is-4",textContent:g(e.$t("page.settings.general.now-playing-page"))},null,8,oj)]),content:E(()=>[y(c,{category_name:"webinterface",option_name:"show_composer_now_playing"},{label:E(()=>[u("span",{textContent:g(e.$t("page.settings.general.show-composer"))},null,8,sj)]),info:E(()=>[u("span",{textContent:g(e.$t("page.settings.general.show-composer-info"))},null,8,aj)]),_:1}),y(d,{category_name:"webinterface",option_name:"show_composer_for_genre",disabled:!s.settings_option_show_composer_now_playing,placeholder:e.$t("page.settings.general.genres")},{label:E(()=>[u("span",{textContent:g(e.$t("page.settings.general.show-composer-genres"))},null,8,ij)]),info:E(()=>[u("p",{class:"help",textContent:g(e.$t("page.settings.general.show-composer-genres-info-1"))},null,8,lj),u("p",{class:"help",textContent:g(e.$t("page.settings.general.show-composer-genres-info-2"))},null,8,uj),u("p",{class:"help",textContent:g(e.$t("page.settings.general.show-composer-genres-info-3"))},null,8,cj)]),_:1},8,["disabled","placeholder"]),y(c,{category_name:"webinterface",option_name:"show_filepath_now_playing"},{label:E(()=>[u("span",{textContent:g(e.$t("page.settings.general.show-path"))},null,8,dj)]),_:1})]),_:1}),y(l,null,{"heading-left":E(()=>[u("div",{class:"title is-4",textContent:g(e.$t("page.settings.general.recently-added-page"))},null,8,mj)]),content:E(()=>[y(f,{category_name:"webinterface",option_name:"recently_added_limit"},{label:E(()=>[u("span",{textContent:g(e.$t("page.settings.general.recently-added-page-info"))},null,8,fj)]),_:1})]),_:1})])}const hj=oe(jH,[["render",pj]]),_j={name:"SettingsPageArtwork",components:{ContentWithHeading:nt,TabsSettings:su,SettingsCheckbox:Av},computed:{spotify(){return this.$store.state.spotify}}},gj={class:"fd-page-with-tabs"},yj=["textContent"],vj=["textContent"],bj=["textContent"],zj=["textContent"],Cj={href:"https://www.spotify.com/",target:"_blank"},wj={class:"icon"},kj=["textContent"],xj={href:"https://www.discogs.com/",target:"_blank"},Ej={class:"icon"},Sj=["textContent"],$j={href:"https://coverartarchive.org/",target:"_blank"},Aj={class:"icon"};function Tj(e,t,n,r,o,s){const a=S("tabs-settings"),i=S("mdicon"),l=S("settings-checkbox"),c=S("content-with-heading");return w(),$("div",gj,[y(a),y(c,null,{"heading-left":E(()=>[u("div",{class:"title is-4",textContent:g(e.$t("page.settings.artwork.artwork"))},null,8,yj)]),content:E(()=>[u("div",{class:"content",textContent:g(e.$t("page.settings.artwork.explanation-1"))},null,8,vj),u("div",{class:"content",textContent:g(e.$t("page.settings.artwork.explanation-2"))},null,8,bj),s.spotify.spotify_logged_in?(w(),be(l,{key:0,category_name:"artwork",option_name:"use_artwork_source_spotify"},{label:E(()=>[u("span",{textContent:g(e.$t("page.settings.artwork.spotify"))},null,8,zj),u("a",Cj,[u("span",wj,[y(i,{name:"open-in-new",size:"16"})])])]),_:1})):H("",!0),y(l,{category_name:"artwork",option_name:"use_artwork_source_discogs"},{label:E(()=>[u("span",{textContent:g(e.$t("page.settings.artwork.discogs"))},null,8,kj),u("a",xj,[u("span",Ej,[y(i,{name:"open-in-new",size:"16"})])])]),_:1}),y(l,{category_name:"artwork",option_name:"use_artwork_source_coverartarchive"},{label:E(()=>[u("span",{textContent:g(e.$t("page.settings.artwork.coverartarchive"))},null,8,Sj),u("a",$j,[u("span",Aj,[y(i,{name:"open-in-new",size:"16"})])])]),_:1})]),_:1})])}const Oj=oe(_j,[["render",Tj]]),Dj={name:"SettingsPageOnlineServices",components:{ContentWithHeading:nt,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(){N.spotify_logout()},login_lastfm(){N.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(){N.lastfm_logout()}}},Pj={class:"fd-page-with-tabs"},Ij=["textContent"],Fj={key:0,class:"notification is-size-7"},Rj=["textContent"],Lj={key:1},Mj={class:"notification is-size-7"},Nj=["textContent"],Bj={class:"mt-5"},Vj=["textContent"],Hj={key:0},jj=["textContent"],Uj=["textContent"],qj={key:1,class:"help is-danger"},Wj=["textContent"],Gj=["textContent"],Kj={class:"field mt-5"},Zj={class:"control"},Yj=["href","textContent"],Jj={class:"help"},Xj=["textContent"],Qj=["textContent"],eU={key:2,class:"field mt-5"},tU={class:"control"},nU=["textContent"],rU=["textContent"],oU={key:0,class:"notification is-size-7"},sU=["textContent"],aU={key:1},iU=["textContent"],lU={key:0},uU=["textContent"],cU={key:1},dU={class:"field is-grouped"},mU={class:"control is-expanded"},fU=["placeholder"],pU=["textContent"],hU={class:"control is-expanded"},_U=["placeholder"],gU=["textContent"],yU={class:"control"},vU=["textContent"],bU=["textContent"],zU=["textContent"];function CU(e,t,n,r,o,s){const a=S("tabs-settings"),i=S("content-with-heading");return w(),$("div",Pj,[y(a),y(i,null,{"heading-left":E(()=>[u("div",{class:"title is-4",textContent:g(e.$t("page.settings.services.spotify.title"))},null,8,Ij)]),content:E(()=>[s.spotify.spotify_installed?H("",!0):(w(),$("div",Fj,[u("p",{textContent:g(e.$t("page.settings.services.spotify.no-support"))},null,8,Rj)])),s.spotify.spotify_installed?(w(),$("div",Lj,[u("div",Mj,[u("span",{textContent:g(e.$t("page.settings.services.spotify.requirements"))},null,8,Nj)]),u("div",Bj,[u("p",{class:"content",textContent:g(e.$t("page.settings.services.spotify.grant-access"))},null,8,Vj),s.spotify.webapi_token_valid?(w(),$("p",Hj,[u("span",{textContent:g(e.$t("page.settings.services.spotify.user"))},null,8,jj),u("code",{textContent:g(s.spotify.webapi_user)},null,8,Uj)])):H("",!0),s.spotify_missing_scope.length>0?(w(),$("p",qj,[u("span",{textContent:g(e.$t("page.settings.services.spotify.reauthorize"))},null,8,Wj),u("code",{textContent:g(s.spotify_missing_scope.join())},null,8,Gj)])):H("",!0),u("div",Kj,[u("div",Zj,[u("a",{class:De(["button",{"is-info":!s.spotify.webapi_token_valid||s.spotify_missing_scope.length>0}]),href:s.spotify.oauth_uri,textContent:g(e.$t("page.settings.services.spotify.authorize"))},null,10,Yj)])]),u("p",Jj,[u("span",{textContent:g(e.$t("page.settings.services.spotify.scopes"))},null,8,Xj),u("code",{textContent:g(s.spotify_required_scope.join(", "))},null,8,Qj)]),s.spotify.webapi_token_valid?(w(),$("div",eU,[u("div",tU,[u("a",{class:"button is-danger",onClick:t[0]||(t[0]=(...l)=>s.logout_spotify&&s.logout_spotify(...l)),textContent:g(e.$t("page.settings.services.logout"))},null,8,nU)])])):H("",!0)])])):H("",!0)]),_:1}),y(i,null,{"heading-left":E(()=>[u("div",{class:"title is-4",textContent:g(e.$t("page.settings.services.lastfm.title"))},null,8,rU)]),content:E(()=>[s.lastfm.enabled?H("",!0):(w(),$("div",oU,[u("p",{textContent:g(e.$t("page.settings.services.lastfm.no-support"))},null,8,sU)])),s.lastfm.enabled?(w(),$("div",aU,[u("p",{class:"content",textContent:g(e.$t("page.settings.services.lastfm.grant-access"))},null,8,iU),s.lastfm.scrobbling_enabled?(w(),$("div",lU,[u("a",{class:"button",onClick:t[1]||(t[1]=(...l)=>s.logoutLastfm&&s.logoutLastfm(...l)),textContent:g(e.$t("page.settings.services.lastfm.stop-scrobbling"))},null,8,uU)])):H("",!0),s.lastfm.scrobbling_enabled?H("",!0):(w(),$("div",cU,[u("form",{onSubmit:t[4]||(t[4]=st((...l)=>s.login_lastfm&&s.login_lastfm(...l),["prevent"]))},[u("div",dU,[u("div",mU,[bt(u("input",{"onUpdate:modelValue":t[2]||(t[2]=l=>o.lastfm_login.user=l),class:"input",type:"text",placeholder:e.$t("page.settings.services.username")},null,8,fU),[[sn,o.lastfm_login.user]]),u("p",{class:"help is-danger",textContent:g(o.lastfm_login.errors.user)},null,8,pU)]),u("div",hU,[bt(u("input",{"onUpdate:modelValue":t[3]||(t[3]=l=>o.lastfm_login.password=l),class:"input",type:"password",placeholder:e.$t("page.settings.services.password")},null,8,_U),[[sn,o.lastfm_login.password]]),u("p",{class:"help is-danger",textContent:g(o.lastfm_login.errors.password)},null,8,gU)]),u("div",yU,[u("button",{class:"button is-info",type:"submit",textContent:g(e.$t("page.settings.services.login"))},null,8,vU)])]),u("p",{class:"help is-danger",textContent:g(o.lastfm_login.errors.error)},null,8,bU),u("p",{class:"help",textContent:g(e.$t("page.settings.services.lastfm.info"))},null,8,zU)],32)]))])):H("",!0)]),_:1})])}const wU=oe(Dj,[["render",CU]]),kU={name:"SettingsPageRemotesOutputs",components:{ContentWithHeading:nt,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(){N.pairing_kickoff(this.pairing_req)},output_toggle(e){N.output_toggle(e)},kickoff_verification(e){N.output_update(e,this.verification_req)}}},xU={class:"fd-page-with-tabs"},EU=["textContent"],SU={key:0,class:"notification"},$U={class:"label has-text-weight-normal"},AU=["textContent"],TU=["textContent"],OU={class:"field is-grouped"},DU={class:"control"},PU=["placeholder"],IU={class:"control"},FU=["textContent"],RU={key:1,class:"content"},LU=["textContent"],MU=["textContent"],NU=["textContent"],BU={class:"field"},VU={class:"control"},HU=["id","onUpdate:modelValue","onChange"],jU=["for","textContent"],UU=["onSubmit"],qU={class:"field is-grouped"},WU={class:"control"},GU=["placeholder"],KU={class:"control"},ZU=["textContent"];function YU(e,t,n,r,o,s){const a=S("tabs-settings"),i=S("content-with-heading");return w(),$("div",xU,[y(a),y(i,null,{"heading-left":E(()=>[u("div",{class:"title is-4",textContent:g(e.$t("page.settings.devices.pairing"))},null,8,EU)]),content:E(()=>[s.pairing.active?(w(),$("div",SU,[u("form",{onSubmit:t[1]||(t[1]=st((...l)=>s.kickoff_pairing&&s.kickoff_pairing(...l),["prevent"]))},[u("label",$U,[u("span",{textContent:g(e.$t("page.settings.devices.pairing-request"))},null,8,AU),u("b",{textContent:g(s.pairing.remote)},null,8,TU)]),u("div",OU,[u("div",DU,[bt(u("input",{"onUpdate:modelValue":t[0]||(t[0]=l=>o.pairing_req.pin=l),class:"input",type:"text",placeholder:e.$t("page.settings.devices.pairing-code")},null,8,PU),[[sn,o.pairing_req.pin]])]),u("div",IU,[u("button",{class:"button is-info",type:"submit",textContent:g(e.$t("page.settings.devices.send"))},null,8,FU)])])],32)])):H("",!0),s.pairing.active?H("",!0):(w(),$("div",RU,[u("p",{textContent:g(e.$t("page.settings.devices.no-active-pairing"))},null,8,LU)]))]),_:1}),y(i,null,{"heading-left":E(()=>[u("div",{class:"title is-4",textContent:g(e.$t("page.settings.devices.speaker-pairing"))},null,8,MU)]),content:E(()=>[u("p",{class:"content",textContent:g(e.$t("page.settings.devices.speaker-pairing-info"))},null,8,NU),(w(!0),$(Te,null,ft(s.outputs,l=>(w(),$("div",{key:l.id},[u("div",BU,[u("div",VU,[bt(u("input",{id:l.id,"onUpdate:modelValue":c=>l.selected=c,type:"checkbox",class:"switch is-rounded mr-2",onChange:c=>s.output_toggle(l.id)},null,40,HU),[[ar,l.selected]]),u("label",{for:l.id,class:"checkbox",textContent:g(l.name)},null,8,jU)])]),l.needs_auth_key?(w(),$("form",{key:0,class:"mb-5",onSubmit:st(c=>s.kickoff_verification(l.id),["prevent"])},[u("div",qU,[u("div",WU,[bt(u("input",{"onUpdate:modelValue":t[2]||(t[2]=c=>o.verification_req.pin=c),class:"input",type:"text",placeholder:e.$t("page.settings.devices.verification-code")},null,8,GU),[[sn,o.verification_req.pin]])]),u("div",KU,[u("button",{class:"button is-info",type:"submit",textContent:g(e.$t("page.settings.devices.verify"))},null,8,ZU)])])],40,UU)):H("",!0)]))),128))]),_:1})])}const JU=oe(kU,[["render",YU]]),Tv=Uk({history:ak(),routes:[{path:"/",name:"PageQueue",component:a$},{path:"/about",name:"About",component:i7},{path:"/now-playing",name:"Now playing",component:YT},{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:h4,meta:{show_progress:!0,has_tabs:!0}},{path:"/music/artists",name:"Artists",component:C5,meta:{show_progress:!0,has_tabs:!0,has_index:!0}},{path:"/music/artists/:artist_id",name:"Artist",component:R5,meta:{show_progress:!0,has_index:!0}},{path:"/music/artists/:artist_id/tracks",name:"Tracks",component:WP,meta:{show_progress:!0,has_index:!0}},{path:"/music/albums",name:"Albums",component:tD,meta:{show_progress:!0,has_tabs:!0,has_index:!0}},{path:"/music/albums/:album_id",name:"Album",component:xD,meta:{show_progress:!0}},{path:"/music/genres",name:"Genres",component:iP,meta:{show_progress:!0,has_tabs:!0,has_index:!0}},{path:"/music/genres/:genre",name:"Genre",component:yP,meta:{show_progress:!0,has_index:!0}},{path:"/music/genres/:genre/tracks",name:"GenreTracks",component:DP,meta:{show_progress:!0,has_index:!0}},{path:"/music/composers",name:"Composers",component:EI,meta:{show_progress:!0,has_tabs:!0,has_index:!0}},{path:"/music/composers/:composer/albums",name:"ComposerAlbums",component:LI,meta:{show_progress:!0,has_index:!0}},{path:"/music/composers/:composer/tracks",name:"ComposerTracks",component:JI,meta:{show_progress:!0,has_index:!0}},{path:"/podcasts",name:"Podcasts",component:SF,meta:{show_progress:!0}},{path:"/podcasts/:album_id",name:"Podcast",component:NF,meta:{show_progress:!0}},{path:"/audiobooks",redirect:"/audiobooks/artists"},{path:"/audiobooks/artists",name:"AudiobooksArtists",component:lR,meta:{show_progress:!0,has_tabs:!0,has_index:!0}},{path:"/audiobooks/artists/:artist_id",name:"AudiobooksArtist",component:_R,meta:{show_progress:!0}},{path:"/audiobooks/albums",name:"AudiobooksAlbums",component:nR,meta:{show_progress:!0,has_tabs:!0,has_index:!0}},{path:"/audiobooks/:album_id",name:"Audiobook",component:ER,meta:{show_progress:!0}},{path:"/radio",name:"Radio",component:XL,meta:{show_progress:!0}},{path:"/files",name:"Files",component:WL,meta:{show_progress:!0}},{path:"/playlists",redirect:"/playlists/0"},{path:"/playlists/:playlist_id",name:"Playlists",component:aL,meta:{show_progress:!0}},{path:"/playlists/:playlist_id/tracks",name:"Playlist",component:pL,meta:{show_progress:!0}},{path:"/search",redirect:"/search/library"},{path:"/search/library",name:"Search Library",component:uN},{path:"/music/spotify",name:"Spotify",component:v9,meta:{show_progress:!0,has_tabs:!0}},{path:"/music/spotify/new-releases",name:"Spotify Browse New Releases",component:x9,meta:{show_progress:!0,has_tabs:!0}},{path:"/music/spotify/featured-playlists",name:"Spotify Browse Featured Playlists",component:O9,meta:{show_progress:!0,has_tabs:!0}},{path:"/music/spotify/artists/:artist_id",name:"Spotify Artist",component:dB,meta:{show_progress:!0}},{path:"/music/spotify/albums/:album_id",name:"Spotify Album",component:nV,meta:{show_progress:!0}},{path:"/music/spotify/playlists/:playlist_id",name:"Spotify Playlist",component:dV,meta:{show_progress:!0}},{path:"/search/spotify",name:"Spotify Search",component:eH},{path:"/settings/webinterface",name:"Settings Webinterface",component:hj},{path:"/settings/artwork",name:"Settings Artwork",component:Oj},{path:"/settings/online-services",name:"Settings Online Services",component:wU},{path:"/settings/remotes-outputs",name:"Settings Remotes Outputs",component:JU}],scrollBehavior(e,t,n){return n?new Promise((o,s)=>{setTimeout(()=>{o(n)},0)}):e.path===t.path&&e.hash?{el:e.hash,top:120}:e.hash?new Promise((o,s)=>{setTimeout(()=>{o({el:e.hash,top:120})},0)}):e.meta.has_index?new Promise((o,s)=>{setTimeout(()=>{e.meta.has_tabs?o({el:"#top",top:140}):o({el:"#top",top:110})},0)}):{left:0,top:0}}});Tv.beforeEach((e,t,n)=>{if(Ke.state.show_burger_menu){Ke.commit(Xo,!1),n(!1);return}if(Ke.state.show_player_menu){Ke.commit(Qo,!1),n(!1);return}n(!0)});var Ov={exports:{}};(function(e){e.exports=function(t){var n={};function r(o){if(n[o])return n[o].exports;var s=n[o]={i:o,l:!1,exports:{}};return t[o].call(s.exports,s,s.exports,r),s.l=!0,s.exports}return r.m=t,r.c=n,r.d=function(o,s,a){r.o(o,s)||Object.defineProperty(o,s,{enumerable:!0,get:a})},r.r=function(o){typeof Symbol<"u"&&Symbol.toStringTag&&Object.defineProperty(o,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(o,"__esModule",{value:!0})},r.t=function(o,s){if(s&1&&(o=r(o)),s&8||s&4&&typeof o=="object"&&o&&o.__esModule)return o;var a=Object.create(null);if(r.r(a),Object.defineProperty(a,"default",{enumerable:!0,value:o}),s&2&&typeof o!="string")for(var i in o)r.d(a,i,(function(l){return o[l]}).bind(null,i));return a},r.n=function(o){var s=o&&o.__esModule?function(){return o.default}:function(){return o};return r.d(s,"a",s),s},r.o=function(o,s){return Object.prototype.hasOwnProperty.call(o,s)},r.p="",r(r.s="fb15")}({8875:function(t,n,r){var o,s,a;(function(i,l){s=[],o=l,a=typeof o=="function"?o.apply(n,s):o,a!==void 0&&(t.exports=a)})(typeof self<"u"?self:this,function(){function i(){var l=Object.getOwnPropertyDescriptor(document,"currentScript");if(!l&&"currentScript"in document&&document.currentScript||l&&l.get!==i&&document.currentScript)return document.currentScript;try{throw new Error}catch(C){var c=/.*at [^(]*\((.*):(.+):(.+)\)$/ig,d=/@([^@]*):(\d+):(\d+)\s*$/ig,f=c.exec(C.stack)||d.exec(C.stack),m=f&&f[1]||!1,p=f&&f[2]||!1,h=document.location.href.replace(document.location.hash,""),_,z,b,v=document.getElementsByTagName("script");m===h&&(_=document.documentElement.outerHTML,z=new RegExp("(?:[^\\n]+?\\n){0,"+(p-2)+"}[^<]*<script>([\\d\\D]*?)<\\/script>[\\d\\D]*","i"),b=_.replace(z,"$1").trim());for(var k=0;k<v.length;k++)if(v[k].readyState==="interactive"||v[k].src===m||m===h&&v[k].innerHTML&&v[k].innerHTML.trim()===b)return v[k];return null}}return i})},"8bbf":function(t,n){t.exports=xy},fb15:function(t,n,r){if(r.r(n),typeof window<"u"){var o=window.document.currentScript;{var s=r("8875");o=s(),"currentScript"in document||Object.defineProperty(document,"currentScript",{get:s})}var a=o&&o.src.match(/(.+\/)[^/]+\.js(\?.*)?$/);a&&(r.p=a[1])}var i=r("8bbf");function l(h,_,z,b,v,k){return Object(i.openBlock)(),Object(i.createBlock)("div",{style:b.finalStyle},null,4)}var c=typeof window<"u",d={name:"VueProgress",serverCacheKey:function(){return"Progress"},setup:function(){var _=c?Object(i.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}},z=Object(i.computed)(function(){var b=_.options,v=!!b.show,k=b.location,C={"z-index":999999,"background-color":b.canSuccess?b.color:b.failedColor,opacity:b.show?1:0,position:b.position};return k==="top"||k==="bottom"?(k==="top"?C.top="0px":C.bottom="0px",b.inverse?C.right="0px":C.left="0px",C.width=_.percent+"%",C.height=b.thickness,C.transition=(v?"width "+b.transition.speed+", ":"")+"opacity "+b.transition.opacity):(k==="left"||k==="right")&&(k==="left"?C.left="0px":C.right="0px",b.inverse?C.top="0px":C.bottom="0px",C.height=_.percent+"%",C.width=b.thickness,C.transition=(v?"height "+b.transition.speed+", ":"")+"opacity "+b.transition.opacity),C});return{progress:_,finalStyle:z}}};d.render=l;var f=d;function m(h,_){for(var z=1,b,v;z<arguments.length;++z){v=arguments[z];for(b in v)Object.prototype.hasOwnProperty.call(v,b)&&(h[b]=v[b])}return h}var p={install:function(_,z){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},v=m(b,z),k=Object(i.reactive)({percent:0,options:v});_.provide("RADON_LOADING_BAR",k);var C={state:{tFailColor:"",tColor:"",timer:null,cut:0},start:function(T){var L=this;T||(T=3e3),k.percent=0,k.options.show=!0,k.options.canSuccess=!0,this.state.cut=1e4/Math.floor(T),clearInterval(this.state.timer),this.state.timer=setInterval(function(){L.increase(L.state.cut*Math.random()),k.percent>95&&k.options.autoFinish&&L.finish()},100)},set:function(T){k.options.show=!0,k.options.canSuccess=!0,k.percent=Math.floor(T)},get:function(){return Math.floor(k.percent)},increase:function(T){k.percent=Math.min(99,k.percent+Math.floor(T))},decrease:function(T){k.percent=k.percent-Math.floor(T)},hide:function(){var T=this;clearInterval(this.state.timer),this.state.timer=null,setTimeout(function(){k.options.show=!1,Object(i.nextTick)(function(){setTimeout(function(){k.percent=0},100),k.options.autoRevert&&setTimeout(function(){T.revert()},300)})},k.options.transition.termination)},pause:function(){clearInterval(this.state.timer)},finish:function(){k.percent=100,this.hide()},fail:function(){k.options.canSuccess=!1,k.percent=100,this.hide()},setFailColor:function(T){k.options.failedColor=T},setColor:function(T){k.options.color=T},setLocation:function(T){k.options.location=T},setTransition:function(T){k.options.transition=T},tempFailColor:function(T){this.state.tFailColor=k.options.failedColor,k.options.failedColor=T},tempColor:function(T){this.state.tColor=k.options.color,k.options.color=T},tempLocation:function(T){this.state.tLocation=k.options.location,k.options.location=T},tempTransition:function(T){this.state.tTransition=k.options.transition,k.options.transition=T},revertColor:function(){k.options.color=this.state.tColor,this.state.tColor=""},revertFailColor:function(){k.options.failedColor=this.state.tFailColor,this.state.tFailColor=""},revertLocation:function(){k.options.location=this.state.tLocation,this.state.tLocation=""},revertTransition:function(){k.options.transition=this.state.tTransition,this.state.tTransition={}},revert:function(){k.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 L in T.func){var I=T.func[L];switch(I.call){case"color":switch(I.modifier){case"set":this.setColor(I.argument);break;case"temp":this.tempColor(I.argument);break}break;case"fail":switch(I.modifier){case"set":this.setFailColor(I.argument);break;case"temp":this.tempFailColor(I.argument);break}break;case"location":switch(I.modifier){case"set":this.setLocation(I.argument);break;case"temp":this.tempLocation(I.argument);break}break;case"transition":switch(I.modifier){case"set":this.setTransition(I.argument);break;case"temp":this.tempTransition(I.argument);break}break}}}};_.component("vue-progress-bar",f),_.config.globalProperties.$Progress=C}};n.default=p}})})(Ov);var XU=Ov.exports;const QU=fs(XU),Dv=function(){return document.ontouchstart!==null?"click":"touchstart"},yl="__vue_click_away__",Pv=function(e,t,n){Iv(e);let r=n.context,o=t.value,s=!1;setTimeout(function(){s=!0},0),e[yl]=function(a){if((!e||!e.contains(a.target))&&o&&s&&typeof o=="function")return o.call(r,a)},document.addEventListener(Dv(),e[yl],!1)},Iv=function(e){document.removeEventListener(Dv(),e[yl],!1),delete e[yl]},eq=function(e,t,n){t.value!==t.oldValue&&Pv(e,t,n)},tq={install:function(e){e.directive("click-away",nq)}},nq={mounted:Pv,updated:eq,unmounted:Iv};var Kn=(e=>(e.LOADING="loading",e.LOADED="loaded",e.ERROR="error",e))(Kn||{});const rq=typeof window<"u"&&window!==null,oq=lq(),sq=Object.prototype.propertyIsEnumerable,jp=Object.getOwnPropertySymbols;function ra(e){return typeof e=="function"||toString.call(e)==="[object Object]"}function aq(e){return typeof e=="object"?e===null:typeof e!="function"}function iq(e){return e!=="__proto__"&&e!=="constructor"&&e!=="prototype"}function lq(){return rq&&"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 uq(e,...t){if(!ra(e))throw new TypeError("expected the first argument to be an object");if(t.length===0||typeof Symbol!="function"||typeof jp!="function")return e;for(const n of t){const r=jp(n);for(const o of r)sq.call(n,o)&&(e[o]=n[o])}return e}function Fv(e,...t){let n=0;for(aq(e)&&(e=t[n++]),e||(e={});n<t.length;n++)if(ra(t[n])){for(const r of Object.keys(t[n]))iq(r)&&(ra(e[r])&&ra(t[n][r])?Fv(e[r],t[n][r]):e[r]=t[n][r]);uq(e,t[n])}return e}const Up="data:image/gif;base64,R0lGODlhAQABAIAAAAAAAP///yH5BAEAAAAALAAAAAABAAEAAAIBRAA7",cq="",dq={rootMargin:"0px",threshold:0},To="data-lazy-timeout-id";class mq{constructor(t){this.options={loading:Up,error:cq,observerOptions:dq,log:!0,lifecycle:{}},this._images=new WeakMap,this.config(t)}config(t={}){Fv(this.options,t)}mount(t,n){if(!t)return;const{src:r,loading:o,error:s,lifecycle:a,delay:i}=this._valueFormatter(typeof n=="string"?n:n.value);this._lifecycle(Kn.LOADING,a,t),t.setAttribute("src",o||Up),oq||(this.loadImages(t,r,s,a),this._log(()=>{throw new Error("Not support IntersectionObserver!")})),this._initIntersectionObserver(t,r,s,a,i)}update(t,n){var i;if(!t)return;(i=this._realObserver(t))==null||i.unobserve(t);const{src:r,error:o,lifecycle:s,delay:a}=this._valueFormatter(typeof n=="string"?n:n.value);this._initIntersectionObserver(t,r,o,s,a)}unmount(t){var n;t&&((n=this._realObserver(t))==null||n.unobserve(t),this._images.delete(t))}loadImages(t,n,r,o){this._setImageSrc(t,n,r,o)}_setImageSrc(t,n,r,o){t.tagName.toLowerCase()==="img"?(n&&t.getAttribute("src")!==n&&t.setAttribute("src",n),this._listenImageStatus(t,()=>{this._lifecycle(Kn.LOADED,o,t)},()=>{var s;t.onload=null,this._lifecycle(Kn.ERROR,o,t),(s=this._realObserver(t))==null||s.disconnect(),r&&t.getAttribute("src")!==r&&t.setAttribute("src",r),this._log(()=>{throw new Error(`Image failed to load!And failed src was: ${n} `)})})):t.style.backgroundImage=`url('${n}')`}_initIntersectionObserver(t,n,r,o,s){var i;const a=this.options.observerOptions;this._images.set(t,new IntersectionObserver(l=>{Array.prototype.forEach.call(l,c=>{s&&s>0?this._delayedIntersectionCallback(t,c,s,n,r,o):this._intersectionCallback(t,c,n,r,o)})},a)),(i=this._realObserver(t))==null||i.observe(t)}_intersectionCallback(t,n,r,o,s){var a;n.isIntersecting&&((a=this._realObserver(t))==null||a.unobserve(n.target),this._setImageSrc(t,r,o,s))}_delayedIntersectionCallback(t,n,r,o,s,a){if(n.isIntersecting){if(n.target.hasAttribute(To))return;const i=setTimeout(()=>{this._intersectionCallback(t,n,o,s,a),n.target.removeAttribute(To)},r);n.target.setAttribute(To,String(i))}else n.target.hasAttribute(To)&&(clearTimeout(Number(n.target.getAttribute(To))),n.target.removeAttribute(To))}_listenImageStatus(t,n,r){t.onload=n,t.onerror=r}_valueFormatter(t){let n=t,r=this.options.loading,o=this.options.error,s=this.options.lifecycle,a=this.options.delay;return ra(t)&&(n=t.src,r=t.loading||this.options.loading,o=t.error||this.options.error,s=t.lifecycle||this.options.lifecycle,a=t.delay||this.options.delay),{src:n,loading:r,error:o,lifecycle:s,delay:a}}_log(t){this.options.log&&t()}_lifecycle(t,n,r){switch(t){case Kn.LOADING:r==null||r.setAttribute("lazy",Kn.LOADING),n!=null&&n.loading&&n.loading(r);break;case Kn.LOADED:r==null||r.setAttribute("lazy",Kn.LOADED),n!=null&&n.loaded&&n.loaded(r);break;case Kn.ERROR:r==null||r.setAttribute("lazy",Kn.ERROR),n!=null&&n.error&&n.error(r);break}}_realObserver(t){return this._images.get(t)}}const fq={install(e,t){const n=new mq(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 Rv={exports:{}};/*!
* vue-scrollto v2.20.0
* (c) 2019 Randjelovic Igor
* @license MIT
*/(function(e,t){(function(n,r){e.exports=r()})(Zt,function(){function n(ce){"@babel/helpers - typeof";return typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?n=function(W){return typeof W}:n=function(W){return W&&typeof Symbol=="function"&&W.constructor===Symbol&&W!==Symbol.prototype?"symbol":typeof W},n(ce)}function r(){return r=Object.assign||function(ce){for(var W=1;W<arguments.length;W++){var fe=arguments[W];for(var Ae in fe)Object.prototype.hasOwnProperty.call(fe,Ae)&&(ce[Ae]=fe[Ae])}return ce},r.apply(this,arguments)}var o=4,s=.001,a=1e-7,i=10,l=11,c=1/(l-1),d=typeof Float32Array=="function";function f(ce,W){return 1-3*W+3*ce}function m(ce,W){return 3*W-6*ce}function p(ce){return 3*ce}function h(ce,W,fe){return((f(W,fe)*ce+m(W,fe))*ce+p(W))*ce}function _(ce,W,fe){return 3*f(W,fe)*ce*ce+2*m(W,fe)*ce+p(W)}function z(ce,W,fe,Ae,Le){var Ee,B,le=0;do B=W+(fe-W)/2,Ee=h(B,Ae,Le)-ce,Ee>0?fe=B:W=B;while(Math.abs(Ee)>a&&++le<i);return B}function b(ce,W,fe,Ae){for(var Le=0;Le<o;++Le){var Ee=_(W,fe,Ae);if(Ee===0)return W;var B=h(W,fe,Ae)-ce;W-=B/Ee}return W}function v(ce){return ce}var k=function(W,fe,Ae,Le){if(!(0<=W&&W<=1&&0<=Ae&&Ae<=1))throw new Error("bezier x values must be in [0, 1] range");if(W===fe&&Ae===Le)return v;for(var Ee=d?new Float32Array(l):new Array(l),B=0;B<l;++B)Ee[B]=h(B*c,W,Ae);function le(ne){for(var pe=0,Oe=1,A=l-1;Oe!==A&&Ee[Oe]<=ne;++Oe)pe+=c;--Oe;var O=(ne-Ee[Oe])/(Ee[Oe+1]-Ee[Oe]),P=pe+O*c,K=_(P,W,Ae);return K>=s?b(ne,P,W,Ae):K===0?P:z(ne,pe,pe+c,W,Ae)}return function(pe){return pe===0?0:pe===1?1:h(le(pe),fe,Le)}},C={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]},x=!1;try{var T=Object.defineProperty({},"passive",{get:function(){x=!0}});window.addEventListener("test",null,T)}catch{}var L={$:function(W){return typeof W!="string"?W:document.querySelector(W)},on:function(W,fe,Ae){var Le=arguments.length>3&&arguments[3]!==void 0?arguments[3]:{passive:!1};fe instanceof Array||(fe=[fe]);for(var Ee=0;Ee<fe.length;Ee++)W.addEventListener(fe[Ee],Ae,x?Le:!1)},off:function(W,fe,Ae){fe instanceof Array||(fe=[fe]);for(var Le=0;Le<fe.length;Le++)W.removeEventListener(fe[Le],Ae)},cumulativeOffset:function(W){var fe=0,Ae=0;do fe+=W.offsetTop||0,Ae+=W.offsetLeft||0,W=W.offsetParent;while(W);return{top:fe,left:Ae}}},I=["mousedown","wheel","DOMMouseScroll","mousewheel","keyup","touchmove"],D={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 U(ce){D=r({},D,ce)}var Z=function(){var W,fe,Ae,Le,Ee,B,le,ne,pe,Oe,A,O,P,K,J,ee,de,ie,se,Y,R,V,ge,Ce=function(xe){ne&&(ge=xe,Y=!0)},Fe,Ue,Be,F;function M(Ge){var xe=Ge.scrollTop;return Ge.tagName.toLowerCase()==="body"&&(xe=xe||document.documentElement.scrollTop),xe}function G(Ge){var xe=Ge.scrollLeft;return Ge.tagName.toLowerCase()==="body"&&(xe=xe||document.documentElement.scrollLeft),xe}function re(){R=L.cumulativeOffset(fe),V=L.cumulativeOffset(W),O&&(J=V.left-R.left+B,ie=J-K),P&&(de=V.top-R.top+B,se=de-ee)}function ve(Ge){if(Y)return Pe();Ue||(Ue=Ge),Ee||re(),Be=Ge-Ue,F=Math.min(Be/Ae,1),F=Fe(F),$e(fe,ee+se*F,K+ie*F),Be<Ae?window.requestAnimationFrame(ve):Pe()}function Pe(){Y||$e(fe,de,J),Ue=!1,L.off(fe,I,Ce),Y&&A&&A(ge,W),!Y&&Oe&&Oe(W)}function $e(Ge,xe,ue){P&&(Ge.scrollTop=xe),O&&(Ge.scrollLeft=ue),Ge.tagName.toLowerCase()==="body"&&(P&&(document.documentElement.scrollTop=xe),O&&(document.documentElement.scrollLeft=ue))}function Ve(Ge,xe){var ue=arguments.length>2&&arguments[2]!==void 0?arguments[2]:{};if(n(xe)==="object"?ue=xe:typeof xe=="number"&&(ue.duration=xe),W=L.$(Ge),!W)return console.warn("[vue-scrollto warn]: Trying to scroll to an element that is not on the page: "+Ge);if(fe=L.$(ue.container||D.container),Ae=ue.hasOwnProperty("duration")?ue.duration:D.duration,Ee=ue.hasOwnProperty("lazy")?ue.lazy:D.lazy,Le=ue.easing||D.easing,B=ue.hasOwnProperty("offset")?ue.offset:D.offset,le=ue.hasOwnProperty("force")?ue.force!==!1:D.force,ne=ue.hasOwnProperty("cancelable")?ue.cancelable!==!1:D.cancelable,pe=ue.onStart||D.onStart,Oe=ue.onDone||D.onDone,A=ue.onCancel||D.onCancel,O=ue.x===void 0?D.x:ue.x,P=ue.y===void 0?D.y:ue.y,typeof B=="function"&&(B=B(W,fe)),K=G(fe),ee=M(fe),re(),Y=!1,!le){var Ie=fe.tagName.toLowerCase()==="body"?document.documentElement.clientHeight||window.innerHeight:fe.offsetHeight,Ze=ee,Qe=Ze+Ie,Lt=de-B,ys=Lt+W.offsetHeight;if(Lt>=Ze&&ys<=Qe){Oe&&Oe(W);return}}if(pe&&pe(W),!se&&!ie){Oe&&Oe(W);return}return typeof Le=="string"&&(Le=C[Le]||C.ease),Fe=k.apply(k,Le),L.on(fe,I,Ce,{passive:!0}),window.requestAnimationFrame(ve),function(){ge=null,Y=!0}}return Ve},X=Z(),j=[];function q(ce){for(var W=0;W<j.length;++W)if(j[W].el===ce)return j.splice(W,1),!0;return!1}function ze(ce){for(var W=0;W<j.length;++W)if(j[W].el===ce)return j[W]}function te(ce){var W=ze(ce);return W||(j.push(W={el:ce,binding:{}}),W)}function ae(ce){var W=te(this).binding;if(W.value){if(ce.preventDefault(),typeof W.value=="string")return X(W.value);X(W.value.el||W.value.element,W.value)}}var ye={bind:function(W,fe){te(W).binding=fe,L.on(W,"click",ae)},unbind:function(W){q(W),L.off(W,"click",ae)},update:function(W,fe){te(W).binding=fe}},je={bind:ye.bind,unbind:ye.unbind,update:ye.update,beforeMount:ye.bind,unmounted:ye.unbind,updated:ye.update,scrollTo:X,bindings:j},at=function(W,fe){fe&&U(fe),W.directive("scroll-to",je);var Ae=W.config.globalProperties||W.prototype;Ae.$scrollTo=je.scrollTo};return typeof window<"u"&&window.Vue&&(window.VueScrollTo=je,window.VueScrollTo.setDefaults=U,window.VueScrollTo.scroller=Z,window.Vue.use&&window.Vue.use(at)),je.install=at,je})})(Rv);var pq=Rv.exports;const hq=fs(pq),_q={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 gq=e=>e.charAt(0).toUpperCase()+e.slice(1),yq=e=>e.split("-").map(gq).join(""),vq=(e,t,n)=>{const r=e[`mdi${yq(t.name)}`]||O8,o={role:t.role,"aria-label":t.ariaLabel,...n},s={fill:"currentColor",width:t.width||t.size,height:t.height||t.size,viewBox:t.viewBox,xmlns:t.xmlns};return{spanAttrs:o,svgAttrs:s,pathAttrs:{d:r}}},bq=(e,t)=>({[t.staticClass||""]:!0,[t.class||""]:!0,[`mdi mdi-${e.name}`]:!0,"mdi-spin":e.spin===!0}),zq=(e,t={})=>({install(n,{icons:r}){if(r===void 0)throw new Error("Icons must be provided separately");n.component("mdicon",{name:"MDIcon",props:_q,...t,render:e(r)})}}),Cq=e=>function(){const{spanAttrs:n,svgAttrs:r,pathAttrs:o}=vq(e,this,this.$attrs);return Qn("span",{...n,class:bq(this,this)},[Qn("svg",r,[this.title?Qn("title",[this.title]):void 0,Qn("path",o)])])},wq=zq(Cq);class wo extends Error{}class kq extends wo{constructor(t){super(`Invalid DateTime: ${t.toMessage()}`)}}class xq extends wo{constructor(t){super(`Invalid Interval: ${t.toMessage()}`)}}class Eq extends wo{constructor(t){super(`Invalid Duration: ${t.toMessage()}`)}}class Bs extends wo{}class Lv extends wo{constructor(t){super(`Invalid unit ${t}`)}}class kn extends wo{}class Or extends wo{constructor(){super("Zone is an abstract class")}}const _e="numeric",jn="short",yn="long",vl={year:_e,month:_e,day:_e},Mv={year:_e,month:jn,day:_e},Sq={year:_e,month:jn,day:_e,weekday:jn},Nv={year:_e,month:yn,day:_e},Bv={year:_e,month:yn,day:_e,weekday:yn},Vv={hour:_e,minute:_e},Hv={hour:_e,minute:_e,second:_e},jv={hour:_e,minute:_e,second:_e,timeZoneName:jn},Uv={hour:_e,minute:_e,second:_e,timeZoneName:yn},qv={hour:_e,minute:_e,hourCycle:"h23"},Wv={hour:_e,minute:_e,second:_e,hourCycle:"h23"},Gv={hour:_e,minute:_e,second:_e,hourCycle:"h23",timeZoneName:jn},Kv={hour:_e,minute:_e,second:_e,hourCycle:"h23",timeZoneName:yn},Zv={year:_e,month:_e,day:_e,hour:_e,minute:_e},Yv={year:_e,month:_e,day:_e,hour:_e,minute:_e,second:_e},Jv={year:_e,month:jn,day:_e,hour:_e,minute:_e},Xv={year:_e,month:jn,day:_e,hour:_e,minute:_e,second:_e},$q={year:_e,month:jn,day:_e,weekday:jn,hour:_e,minute:_e},Qv={year:_e,month:yn,day:_e,hour:_e,minute:_e,timeZoneName:jn},eb={year:_e,month:yn,day:_e,hour:_e,minute:_e,second:_e,timeZoneName:jn},tb={year:_e,month:yn,day:_e,weekday:yn,hour:_e,minute:_e,timeZoneName:yn},nb={year:_e,month:yn,day:_e,weekday:yn,hour:_e,minute:_e,second:_e,timeZoneName:yn};class Ra{get type(){throw new Or}get name(){throw new Or}get ianaName(){return this.name}get isUniversal(){throw new Or}offsetName(t,n){throw new Or}formatOffset(t,n){throw new Or}offset(t){throw new Or}equals(t){throw new Or}get isValid(){throw new Or}}let Vu=null;class au extends Ra{static get instance(){return Vu===null&&(Vu=new au),Vu}get type(){return"system"}get name(){return new Intl.DateTimeFormat().resolvedOptions().timeZone}get isUniversal(){return!1}offsetName(t,{format:n,locale:r}){return ob(t,n,r)}formatOffset(t,n){return sa(this.offset(t),n)}offset(t){return-new Date(t).getTimezoneOffset()}equals(t){return t.type==="system"}get isValid(){return!0}}let Qi={};function Aq(e){return Qi[e]||(Qi[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"})),Qi[e]}const Tq={year:0,month:1,day:2,era:3,hour:4,minute:5,second:6};function Oq(e,t){const n=e.format(t).replace(/\u200E/g,""),r=/(\d+)\/(\d+)\/(\d+) (AD|BC),? (\d+):(\d+):(\d+)/.exec(n),[,o,s,a,i,l,c,d]=r;return[a,o,s,i,l,c,d]}function Dq(e,t){const n=e.formatToParts(t),r=[];for(let o=0;o<n.length;o++){const{type:s,value:a}=n[o],i=Tq[s];s==="era"?r[i]=a:tt(i)||(r[i]=parseInt(a,10))}return r}let Ri={};class zr extends Ra{static create(t){return Ri[t]||(Ri[t]=new zr(t)),Ri[t]}static resetCache(){Ri={},Qi={}}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=zr.isValidZone(t)}get type(){return"iana"}get name(){return this.zoneName}get isUniversal(){return!1}offsetName(t,{format:n,locale:r}){return ob(t,n,r,this.name)}formatOffset(t,n){return sa(this.offset(t),n)}offset(t){const n=new Date(t);if(isNaN(n))return NaN;const r=Aq(this.name);let[o,s,a,i,l,c,d]=r.formatToParts?Dq(r,n):Oq(r,n);i==="BC"&&(o=-Math.abs(o)+1);const m=zm({year:o,month:s,day:a,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 qp={};function Pq(e,t={}){const n=JSON.stringify([e,t]);let r=qp[n];return r||(r=new Intl.ListFormat(e,t),qp[n]=r),r}let Gc={};function Kc(e,t={}){const n=JSON.stringify([e,t]);let r=Gc[n];return r||(r=new Intl.DateTimeFormat(e,t),Gc[n]=r),r}let Zc={};function Iq(e,t={}){const n=JSON.stringify([e,t]);let r=Zc[n];return r||(r=new Intl.NumberFormat(e,t),Zc[n]=r),r}let Yc={};function Fq(e,t={}){const{base:n,...r}=t,o=JSON.stringify([e,r]);let s=Yc[o];return s||(s=new Intl.RelativeTimeFormat(e,t),Yc[o]=s),s}let Vs=null;function Rq(){return Vs||(Vs=new Intl.DateTimeFormat().resolvedOptions().locale,Vs)}function Lq(e){const t=e.indexOf("-x-");t!==-1&&(e=e.substring(0,t));const n=e.indexOf("-u-");if(n===-1)return[e];{let r,o;try{r=Kc(e).resolvedOptions(),o=e}catch{const l=e.substring(0,n);r=Kc(l).resolvedOptions(),o=l}const{numberingSystem:s,calendar:a}=r;return[o,s,a]}}function Mq(e,t,n){return(n||t)&&(e.includes("-u-")||(e+="-u"),n&&(e+=`-ca-${n}`),t&&(e+=`-nu-${t}`)),e}function Nq(e){const t=[];for(let n=1;n<=12;n++){const r=Ne.utc(2016,n,1);t.push(e(r))}return t}function Bq(e){const t=[];for(let n=1;n<=7;n++){const r=Ne.utc(2016,11,13+n);t.push(e(r))}return t}function Li(e,t,n,r,o){const s=e.listingMode(n);return s==="error"?null:s==="en"?r(t):o(t)}function Vq(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 Hq{constructor(t,n,r){this.padTo=r.padTo||0,this.floor=r.floor||!1;const{padTo:o,floor:s,...a}=r;if(!n||Object.keys(a).length>0){const i={useGrouping:!1,...r};r.padTo>0&&(i.minimumIntegerDigits=r.padTo),this.inf=Iq(t,i)}}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):bm(t,3);return At(n,this.padTo)}}}class jq{constructor(t,n,r){this.opts=r,this.originalZone=void 0;let o;if(this.opts.timeZone)this.dt=t;else if(t.zone.type==="fixed"){const a=-1*(t.offset/60),i=a>=0?`Etc/GMT+${a}`:`Etc/GMT${a}`;t.offset!==0&&zr.create(i).valid?(o=i,this.dt=t):(o="UTC",this.dt=t.offset===0?t:t.setZone("UTC").plus({minutes:t.offset}),this.originalZone=t.zone)}else t.zone.type==="system"?this.dt=t:t.zone.type==="iana"?(this.dt=t,o=t.zone.name):(o="UTC",this.dt=t.setZone("UTC").plus({minutes:t.offset}),this.originalZone=t.zone);const s={...this.opts};s.timeZone=s.timeZone||o,this.dtf=Kc(n,s)}format(){return this.originalZone?this.formatToParts().map(({value:t})=>t).join(""):this.dtf.format(this.dt.toJSDate())}formatToParts(){const t=this.dtf.formatToParts(this.dt.toJSDate());return this.originalZone?t.map(n=>{if(n.type==="timeZoneName"){const r=this.originalZone.offsetName(this.dt.ts,{locale:this.dt.locale,format:this.opts.timeZoneName});return{...n,value:r}}else return n}):t}resolvedOptions(){return this.dtf.resolvedOptions()}}class Uq{constructor(t,n,r){this.opts={style:"long",...r},!n&&rb()&&(this.rtf=Fq(t,r))}format(t,n){return this.rtf?this.rtf.format(t,n):iW(n,t,this.opts.numeric,this.opts.style!=="long")}formatToParts(t,n){return this.rtf?this.rtf.formatToParts(t,n):[]}}class _t{static fromOpts(t){return _t.create(t.locale,t.numberingSystem,t.outputCalendar,t.defaultToEN)}static create(t,n,r,o=!1){const s=t||$t.defaultLocale,a=s||(o?"en-US":Rq()),i=n||$t.defaultNumberingSystem,l=r||$t.defaultOutputCalendar;return new _t(a,i,l,s)}static resetCache(){Vs=null,Gc={},Zc={},Yc={}}static fromObject({locale:t,numberingSystem:n,outputCalendar:r}={}){return _t.create(t,n,r)}constructor(t,n,r,o){const[s,a,i]=Lq(t);this.locale=s,this.numberingSystem=n||a||null,this.outputCalendar=r||i||null,this.intl=Mq(this.locale,this.numberingSystem,this.outputCalendar),this.weekdaysCache={format:{},standalone:{}},this.monthsCache={format:{},standalone:{}},this.meridiemCache=null,this.eraCache={},this.specifiedLocale=o,this.fastNumbersCached=null}get fastNumbers(){return this.fastNumbersCached==null&&(this.fastNumbersCached=Vq(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:_t.create(t.locale||this.specifiedLocale,t.numberingSystem||this.numberingSystem,t.outputCalendar||this.outputCalendar,t.defaultToEN||!1)}redefaultToEN(t={}){return this.clone({...t,defaultToEN:!0})}redefaultToSystem(t={}){return this.clone({...t,defaultToEN:!1})}months(t,n=!1,r=!0){return Li(this,t,r,ib,()=>{const o=n?{month:t,day:"numeric"}:{month:t},s=n?"format":"standalone";return this.monthsCache[s][t]||(this.monthsCache[s][t]=Nq(a=>this.extract(a,o,"month"))),this.monthsCache[s][t]})}weekdays(t,n=!1,r=!0){return Li(this,t,r,cb,()=>{const o=n?{weekday:t,year:"numeric",month:"long",day:"numeric"}:{weekday:t},s=n?"format":"standalone";return this.weekdaysCache[s][t]||(this.weekdaysCache[s][t]=Bq(a=>this.extract(a,o,"weekday"))),this.weekdaysCache[s][t]})}meridiems(t=!0){return Li(this,void 0,t,()=>db,()=>{if(!this.meridiemCache){const n={hour:"numeric",hourCycle:"h12"};this.meridiemCache=[Ne.utc(2016,11,13,9),Ne.utc(2016,11,13,19)].map(r=>this.extract(r,n,"dayperiod"))}return this.meridiemCache})}eras(t,n=!0){return Li(this,t,n,mb,()=>{const r={era:t};return this.eraCache[t]||(this.eraCache[t]=[Ne.utc(-40,1,1),Ne.utc(2017,1,1)].map(o=>this.extract(o,r,"era"))),this.eraCache[t]})}extract(t,n,r){const o=this.dtFormatter(t,n),s=o.formatToParts(),a=s.find(i=>i.type.toLowerCase()===r);return a?a.value:null}numberFormatter(t={}){return new Hq(this.intl,t.forceSimple||this.fastNumbers,t)}dtFormatter(t,n={}){return new jq(t,this.intl,n)}relFormatter(t={}){return new Uq(this.intl,this.isEnglish(),t)}listFormatter(t={}){return Pq(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}}let Hu=null;class Yt extends Ra{static get utcInstance(){return Hu===null&&(Hu=new Yt(0)),Hu}static instance(t){return t===0?Yt.utcInstance:new Yt(t)}static parseSpecifier(t){if(t){const n=t.match(/^utc(?:([+-]\d{1,2})(?::(\d{2}))?)?$/i);if(n)return new Yt(lu(n[1],n[2]))}return null}constructor(t){super(),this.fixed=t}get type(){return"fixed"}get name(){return this.fixed===0?"UTC":`UTC${sa(this.fixed,"narrow")}`}get ianaName(){return this.fixed===0?"Etc/UTC":`Etc/GMT${sa(-this.fixed,"narrow")}`}offsetName(){return this.name}formatOffset(t,n){return sa(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 qq extends Ra{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 Br(e,t){if(tt(e)||e===null)return t;if(e instanceof Ra)return e;if(Wq(e)){const n=e.toLowerCase();return n==="default"?t:n==="local"||n==="system"?au.instance:n==="utc"||n==="gmt"?Yt.utcInstance:Yt.parseSpecifier(n)||zr.create(e)}else return ho(e)?Yt.instance(e):typeof e=="object"&&e.offset&&typeof e.offset=="number"?e:new qq(e)}let Wp=()=>Date.now(),Gp="system",Kp=null,Zp=null,Yp=null,Jp=60,Xp;class $t{static get now(){return Wp}static set now(t){Wp=t}static set defaultZone(t){Gp=t}static get defaultZone(){return Br(Gp,au.instance)}static get defaultLocale(){return Kp}static set defaultLocale(t){Kp=t}static get defaultNumberingSystem(){return Zp}static set defaultNumberingSystem(t){Zp=t}static get defaultOutputCalendar(){return Yp}static set defaultOutputCalendar(t){Yp=t}static get twoDigitCutoffYear(){return Jp}static set twoDigitCutoffYear(t){Jp=t%100}static get throwOnInvalid(){return Xp}static set throwOnInvalid(t){Xp=t}static resetCaches(){_t.resetCache(),zr.resetCache()}}function tt(e){return typeof e>"u"}function ho(e){return typeof e=="number"}function iu(e){return typeof e=="number"&&e%1===0}function Wq(e){return typeof e=="string"}function Gq(e){return Object.prototype.toString.call(e)==="[object Date]"}function rb(){try{return typeof Intl<"u"&&!!Intl.RelativeTimeFormat}catch{return!1}}function Kq(e){return Array.isArray(e)?e:[e]}function Qp(e,t,n){if(e.length!==0)return e.reduce((r,o)=>{const s=[t(o),o];return r&&n(r[0],s[0])===r[0]?r:s},null)[1]}function Zq(e,t){return t.reduce((n,r)=>(n[r]=e[r],n),{})}function os(e,t){return Object.prototype.hasOwnProperty.call(e,t)}function _r(e,t,n){return iu(e)&&e>=t&&e<=n}function Yq(e,t){return e-t*Math.floor(e/t)}function At(e,t=2){const n=e<0;let r;return n?r="-"+(""+-e).padStart(t,"0"):r=(""+e).padStart(t,"0"),r}function Mr(e){if(!(tt(e)||e===null||e===""))return parseInt(e,10)}function ro(e){if(!(tt(e)||e===null||e===""))return parseFloat(e)}function vm(e){if(!(tt(e)||e===null||e==="")){const t=parseFloat("0."+e)*1e3;return Math.floor(t)}}function bm(e,t,n=!1){const r=10**t;return(n?Math.trunc:Math.round)(e*r)/r}function La(e){return e%4===0&&(e%100!==0||e%400===0)}function oa(e){return La(e)?366:365}function bl(e,t){const n=Yq(t-1,12)+1,r=e+(t-n)/12;return n===2?La(r)?29:28:[31,null,31,30,31,30,31,31,30,31,30,31][n-1]}function zm(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(e.year,e.month-1,e.day)),+t}function zl(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 Jc(e){return e>99?e:e>$t.twoDigitCutoffYear?1900+e:2e3+e}function ob(e,t,n,r=null){const o=new Date(e),s={hourCycle:"h23",year:"numeric",month:"2-digit",day:"2-digit",hour:"2-digit",minute:"2-digit"};r&&(s.timeZone=r);const a={timeZoneName:t,...s},i=new Intl.DateTimeFormat(n,a).formatToParts(o).find(l=>l.type.toLowerCase()==="timezonename");return i?i.value:null}function lu(e,t){let n=parseInt(e,10);Number.isNaN(n)&&(n=0);const r=parseInt(t,10)||0,o=n<0||Object.is(n,-0)?-r:r;return n*60+o}function sb(e){const t=Number(e);if(typeof e=="boolean"||e===""||Number.isNaN(t))throw new kn(`Invalid unit value ${e}`);return t}function Cl(e,t){const n={};for(const r in e)if(os(e,r)){const o=e[r];if(o==null)continue;n[t(r)]=sb(o)}return n}function sa(e,t){const n=Math.trunc(Math.abs(e/60)),r=Math.trunc(Math.abs(e%60)),o=e>=0?"+":"-";switch(t){case"short":return`${o}${At(n,2)}:${At(r,2)}`;case"narrow":return`${o}${n}${r>0?`:${r}`:""}`;case"techie":return`${o}${At(n,2)}${At(r,2)}`;default:throw new RangeError(`Value format ${t} is out of range for property format`)}}function uu(e){return Zq(e,["hour","minute","second","millisecond"])}const Jq=["January","February","March","April","May","June","July","August","September","October","November","December"],ab=["Jan","Feb","Mar","Apr","May","Jun","Jul","Aug","Sep","Oct","Nov","Dec"],Xq=["J","F","M","A","M","J","J","A","S","O","N","D"];function ib(e){switch(e){case"narrow":return[...Xq];case"short":return[...ab];case"long":return[...Jq];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 lb=["Monday","Tuesday","Wednesday","Thursday","Friday","Saturday","Sunday"],ub=["Mon","Tue","Wed","Thu","Fri","Sat","Sun"],Qq=["M","T","W","T","F","S","S"];function cb(e){switch(e){case"narrow":return[...Qq];case"short":return[...ub];case"long":return[...lb];case"numeric":return["1","2","3","4","5","6","7"];default:return null}}const db=["AM","PM"],eW=["Before Christ","Anno Domini"],tW=["BC","AD"],nW=["B","A"];function mb(e){switch(e){case"narrow":return[...nW];case"short":return[...tW];case"long":return[...eW];default:return null}}function rW(e){return db[e.hour<12?0:1]}function oW(e,t){return cb(t)[e.weekday-1]}function sW(e,t){return ib(t)[e.month-1]}function aW(e,t){return mb(t)[e.year<0?0:1]}function iW(e,t,n="always",r=!1){const o={years:["year","yr."],quarters:["quarter","qtr."],months:["month","mo."],weeks:["week","wk."],days:["day","day","days"],hours:["hour","hr."],minutes:["minute","min."],seconds:["second","sec."]},s=["hours","minutes","seconds"].indexOf(e)===-1;if(n==="auto"&&s){const f=e==="days";switch(t){case 1:return f?"tomorrow":`next ${o[e][0]}`;case-1:return f?"yesterday":`last ${o[e][0]}`;case 0:return f?"today":`this ${o[e][0]}`}}const a=Object.is(t,-0)||t<0,i=Math.abs(t),l=i===1,c=o[e],d=r?l?c[1]:c[2]||c[1]:l?o[e][0]:e;return a?`${i} ${d} ago`:`in ${i} ${d}`}function eh(e,t){let n="";for(const r of e)r.literal?n+=r.val:n+=t(r.val);return n}const lW={D:vl,DD:Mv,DDD:Nv,DDDD:Bv,t:Vv,tt:Hv,ttt:jv,tttt:Uv,T:qv,TT:Wv,TTT:Gv,TTTT:Kv,f:Zv,ff:Jv,fff:Qv,ffff:tb,F:Yv,FF:Xv,FFF:eb,FFFF:nb};class jt{static create(t,n={}){return new jt(t,n)}static parseFormat(t){let n=null,r="",o=!1;const s=[];for(let a=0;a<t.length;a++){const i=t.charAt(a);i==="'"?(r.length>0&&s.push({literal:o||/^\s+$/.test(r),val:r}),n=null,r="",o=!o):o||i===n?r+=i:(r.length>0&&s.push({literal:/^\s+$/.test(r),val:r}),r=i,n=i)}return r.length>0&&s.push({literal:o||/^\s+$/.test(r),val:r}),s}static macroTokenToFormatOpts(t){return lW[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,{...this.opts,...n}).format()}formatDateTime(t,n={}){return this.loc.dtFormatter(t,{...this.opts,...n}).format()}formatDateTimeParts(t,n={}){return this.loc.dtFormatter(t,{...this.opts,...n}).formatToParts()}formatInterval(t,n={}){return this.loc.dtFormatter(t.start,{...this.opts,...n}).dtf.formatRange(t.start.toJSDate(),t.end.toJSDate())}resolvedOptions(t,n={}){return this.loc.dtFormatter(t,{...this.opts,...n}).resolvedOptions()}num(t,n=0){if(this.opts.forceSimple)return At(t,n);const r={...this.opts};return n>0&&(r.padTo=n),this.loc.numberFormatter(r).format(t)}formatDateTimeFromString(t,n){const r=this.loc.listingMode()==="en",o=this.loc.outputCalendar&&this.loc.outputCalendar!=="gregory",s=(p,h)=>this.loc.extract(t,p,h),a=p=>t.isOffsetFixed&&t.offset===0&&p.allowZ?"Z":t.isValid?t.zone.formatOffset(t.ts,p.format):"",i=()=>r?rW(t):s({hour:"numeric",hourCycle:"h12"},"dayperiod"),l=(p,h)=>r?sW(t,p):s(h?{month:p}:{month:p,day:"numeric"},"month"),c=(p,h)=>r?oW(t,p):s(h?{weekday:p}:{weekday:p,month:"long",day:"numeric"},"weekday"),d=p=>{const h=jt.macroTokenToFormatOpts(p);return h?this.formatWithSystemDefault(t,h):p},f=p=>r?aW(t,p):s({era:p},"era"),m=p=>{switch(p){case"S":return this.num(t.millisecond);case"u":case"SSS":return this.num(t.millisecond,3);case"s":return this.num(t.second);case"ss":return this.num(t.second,2);case"uu":return this.num(Math.floor(t.millisecond/10),2);case"uuu":return this.num(Math.floor(t.millisecond/100));case"m":return this.num(t.minute);case"mm":return this.num(t.minute,2);case"h":return this.num(t.hour%12===0?12:t.hour%12);case"hh":return this.num(t.hour%12===0?12:t.hour%12,2);case"H":return this.num(t.hour);case"HH":return this.num(t.hour,2);case"Z":return a({format:"narrow",allowZ:this.opts.allowZ});case"ZZ":return a({format:"short",allowZ:this.opts.allowZ});case"ZZZ":return a({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 i();case"d":return o?s({day:"numeric"},"day"):this.num(t.day);case"dd":return o?s({day:"2-digit"},"day"):this.num(t.day,2);case"c":return this.num(t.weekday);case"ccc":return c("short",!0);case"cccc":return c("long",!0);case"ccccc":return c("narrow",!0);case"E":return this.num(t.weekday);case"EEE":return c("short",!1);case"EEEE":return c("long",!1);case"EEEEE":return c("narrow",!1);case"L":return o?s({month:"numeric",day:"numeric"},"month"):this.num(t.month);case"LL":return o?s({month:"2-digit",day:"numeric"},"month"):this.num(t.month,2);case"LLL":return l("short",!0);case"LLLL":return l("long",!0);case"LLLLL":return l("narrow",!0);case"M":return o?s({month:"numeric"},"month"):this.num(t.month);case"MM":return o?s({month:"2-digit"},"month"):this.num(t.month,2);case"MMM":return l("short",!1);case"MMMM":return l("long",!1);case"MMMMM":return l("narrow",!1);case"y":return o?s({year:"numeric"},"year"):this.num(t.year);case"yy":return o?s({year:"2-digit"},"year"):this.num(t.year.toString().slice(-2),2);case"yyyy":return o?s({year:"numeric"},"year"):this.num(t.year,4);case"yyyyyy":return o?s({year:"numeric"},"year"):this.num(t.year,6);case"G":return f("short");case"GG":return f("long");case"GGGGG":return f("narrow");case"kk":return this.num(t.weekYear.toString().slice(-2),2);case"kkkk":return this.num(t.weekYear,4);case"W":return this.num(t.weekNumber);case"WW":return this.num(t.weekNumber,2);case"o":return this.num(t.ordinal);case"ooo":return this.num(t.ordinal,3);case"q":return this.num(t.quarter);case"qq":return this.num(t.quarter,2);case"X":return this.num(Math.floor(t.ts/1e3));case"x":return this.num(t.ts);default:return d(p)}};return eh(jt.parseFormat(n),m)}formatDurationFromString(t,n){const r=l=>{switch(l[0]){case"S":return"millisecond";case"s":return"second";case"m":return"minute";case"h":return"hour";case"d":return"day";case"w":return"week";case"M":return"month";case"y":return"year";default:return null}},o=l=>c=>{const d=r(c);return d?this.num(l.get(d),c.length):c},s=jt.parseFormat(n),a=s.reduce((l,{literal:c,val:d})=>c?l:l.concat(d),[]),i=t.shiftTo(...a.map(r).filter(l=>l));return eh(s,o(i))}}class Mn{constructor(t,n){this.reason=t,this.explanation=n}toMessage(){return this.explanation?`${this.reason}: ${this.explanation}`:this.reason}}const fb=/[A-Za-z_+-]{1,256}(?::?\/[A-Za-z0-9_+-]{1,256}(?:\/[A-Za-z0-9_+-]{1,256})?)?/;function ps(...e){const t=e.reduce((n,r)=>n+r.source,"");return RegExp(`^${t}$`)}function hs(...e){return t=>e.reduce(([n,r,o],s)=>{const[a,i,l]=s(t,o);return[{...n,...a},i||r,l]},[{},null,1]).slice(0,2)}function _s(e,...t){if(e==null)return[null,null];for(const[n,r]of t){const o=n.exec(e);if(o)return r(o)}return[null,null]}function pb(...e){return(t,n)=>{const r={};let o;for(o=0;o<e.length;o++)r[e[o]]=Mr(t[n+o]);return[r,null,n+o]}}const hb=/(?:(Z)|([+-]\d\d)(?::?(\d\d))?)/,uW=`(?:${hb.source}?(?:\\[(${fb.source})\\])?)?`,Cm=/(\d\d)(?::?(\d\d)(?::?(\d\d)(?:[.,](\d{1,30}))?)?)?/,_b=RegExp(`${Cm.source}${uW}`),wm=RegExp(`(?:T${_b.source})?`),cW=/([+-]\d{6}|\d{4})(?:-?(\d\d)(?:-?(\d\d))?)?/,dW=/(\d{4})-?W(\d\d)(?:-?(\d))?/,mW=/(\d{4})-?(\d{3})/,fW=pb("weekYear","weekNumber","weekDay"),pW=pb("year","ordinal"),hW=/(\d{4})-(\d\d)-(\d\d)/,gb=RegExp(`${Cm.source} ?(?:${hb.source}|(${fb.source}))?`),_W=RegExp(`(?: ${gb.source})?`);function Go(e,t,n){const r=e[t];return tt(r)?n:Mr(r)}function gW(e,t){return[{year:Go(e,t),month:Go(e,t+1,1),day:Go(e,t+2,1)},null,t+3]}function gs(e,t){return[{hours:Go(e,t,0),minutes:Go(e,t+1,0),seconds:Go(e,t+2,0),milliseconds:vm(e[t+3])},null,t+4]}function Ma(e,t){const n=!e[t]&&!e[t+1],r=lu(e[t+1],e[t+2]),o=n?null:Yt.instance(r);return[{},o,t+3]}function Na(e,t){const n=e[t]?zr.create(e[t]):null;return[{},n,t+1]}const yW=RegExp(`^T?${Cm.source}$`),vW=/^-?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 bW(e){const[t,n,r,o,s,a,i,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(ro(n)),months:m(ro(r)),weeks:m(ro(o)),days:m(ro(s)),hours:m(ro(a)),minutes:m(ro(i)),seconds:m(ro(l),l==="-0"),milliseconds:m(vm(c),f)}]}const zW={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 km(e,t,n,r,o,s,a){const i={year:t.length===2?Jc(Mr(t)):Mr(t),month:ab.indexOf(n)+1,day:Mr(r),hour:Mr(o),minute:Mr(s)};return a&&(i.second=Mr(a)),e&&(i.weekday=e.length>3?lb.indexOf(e)+1:ub.indexOf(e)+1),i}const CW=/^(?:(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 wW(e){const[,t,n,r,o,s,a,i,l,c,d,f]=e,m=km(t,o,r,n,s,a,i);let p;return l?p=zW[l]:c?p=0:p=lu(d,f),[m,new Yt(p)]}function kW(e){return e.replace(/\([^()]*\)|[\n\t]/g," ").replace(/(\s\s+)/g," ").trim()}const xW=/^(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$/,EW=/^(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$/,SW=/^(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 th(e){const[,t,n,r,o,s,a,i]=e;return[km(t,o,r,n,s,a,i),Yt.utcInstance]}function $W(e){const[,t,n,r,o,s,a,i]=e;return[km(t,i,n,r,o,s,a),Yt.utcInstance]}const AW=ps(cW,wm),TW=ps(dW,wm),OW=ps(mW,wm),DW=ps(_b),yb=hs(gW,gs,Ma,Na),PW=hs(fW,gs,Ma,Na),IW=hs(pW,gs,Ma,Na),FW=hs(gs,Ma,Na);function RW(e){return _s(e,[AW,yb],[TW,PW],[OW,IW],[DW,FW])}function LW(e){return _s(kW(e),[CW,wW])}function MW(e){return _s(e,[xW,th],[EW,th],[SW,$W])}function NW(e){return _s(e,[vW,bW])}const BW=hs(gs);function VW(e){return _s(e,[yW,BW])}const HW=ps(hW,_W),jW=ps(gb),UW=hs(gs,Ma,Na);function qW(e){return _s(e,[HW,yb],[jW,UW])}const WW="Invalid Duration",vb={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}},GW={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},...vb},wn=146097/400,Oo=146097/4800,KW={years:{quarters:4,months:12,weeks:wn/7,days:wn,hours:wn*24,minutes:wn*24*60,seconds:wn*24*60*60,milliseconds:wn*24*60*60*1e3},quarters:{months:3,weeks:wn/28,days:wn/4,hours:wn*24/4,minutes:wn*24*60/4,seconds:wn*24*60*60/4,milliseconds:wn*24*60*60*1e3/4},months:{weeks:Oo/7,days:Oo,hours:Oo*24,minutes:Oo*24*60,seconds:Oo*24*60*60,milliseconds:Oo*24*60*60*1e3},...vb},so=["years","quarters","months","weeks","days","hours","minutes","seconds","milliseconds"],ZW=so.slice(0).reverse();function Dr(e,t,n=!1){const r={values:n?t.values:{...e.values,...t.values||{}},loc:e.loc.clone(t.loc),conversionAccuracy:t.conversionAccuracy||e.conversionAccuracy,matrix:t.matrix||e.matrix};return new Je(r)}function YW(e){return e<0?Math.floor(e):Math.ceil(e)}function bb(e,t,n,r,o){const s=e[o][n],a=t[n]/s,i=Math.sign(a)===Math.sign(r[o]),l=!i&&r[o]!==0&&Math.abs(a)<=1?YW(a):Math.trunc(a);r[o]+=l,t[n]-=l*s}function JW(e,t){ZW.reduce((n,r)=>tt(t[r])?n:(n&&bb(e,t,n,t,r),r),null)}function XW(e){const t={};for(const[n,r]of Object.entries(e))r!==0&&(t[n]=r);return t}class Je{constructor(t){const n=t.conversionAccuracy==="longterm"||!1;let r=n?KW:GW;t.matrix&&(r=t.matrix),this.values=t.values,this.loc=t.loc||_t.create(),this.conversionAccuracy=n?"longterm":"casual",this.invalid=t.invalid||null,this.matrix=r,this.isLuxonDuration=!0}static fromMillis(t,n){return Je.fromObject({milliseconds:t},n)}static fromObject(t,n={}){if(t==null||typeof t!="object")throw new kn(`Duration.fromObject: argument expected to be an object, got ${t===null?"null":typeof t}`);return new Je({values:Cl(t,Je.normalizeUnit),loc:_t.fromObject(n),conversionAccuracy:n.conversionAccuracy,matrix:n.matrix})}static fromDurationLike(t){if(ho(t))return Je.fromMillis(t);if(Je.isDuration(t))return t;if(typeof t=="object")return Je.fromObject(t);throw new kn(`Unknown duration argument ${t} of type ${typeof t}`)}static fromISO(t,n){const[r]=NW(t);return r?Je.fromObject(r,n):Je.invalid("unparsable",`the input "${t}" can't be parsed as ISO 8601`)}static fromISOTime(t,n){const[r]=VW(t);return r?Je.fromObject(r,n):Je.invalid("unparsable",`the input "${t}" can't be parsed as ISO 8601`)}static invalid(t,n=null){if(!t)throw new kn("need to specify a reason the Duration is invalid");const r=t instanceof Mn?t:new Mn(t,n);if($t.throwOnInvalid)throw new Eq(r);return new Je({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 Lv(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={...n,floor:n.round!==!1&&n.floor!==!1};return this.isValid?jt.create(this.loc,r).formatDurationFromString(this,t):WW}toHuman(t={}){const n=so.map(r=>{const o=this.values[r];return tt(o)?null:this.loc.numberFormatter({style:"unit",unitDisplay:"long",...t,unit:r.slice(0,-1)}).format(o)}).filter(r=>r);return this.loc.listFormatter({type:"conjunction",style:t.listStyle||"narrow",...t}).format(n)}toObject(){return this.isValid?{...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+=bm(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={suppressMilliseconds:!1,suppressSeconds:!1,includePrefix:!1,format:"extended",...t};const r=this.shiftTo("hours","minutes","seconds","milliseconds");let o=t.format==="basic"?"hhmm":"hh:mm";(!t.suppressSeconds||r.seconds!==0||r.milliseconds!==0)&&(o+=t.format==="basic"?"ss":":ss",(!t.suppressMilliseconds||r.milliseconds!==0)&&(o+=".SSS"));let s=r.toFormat(o);return t.includePrefix&&(s="T"+s),s}toJSON(){return this.toISO()}toString(){return this.toISO()}toMillis(){return this.as("milliseconds")}valueOf(){return this.toMillis()}plus(t){if(!this.isValid)return this;const n=Je.fromDurationLike(t),r={};for(const o of so)(os(n.values,o)||os(this.values,o))&&(r[o]=n.get(o)+this.get(o));return Dr(this,{values:r},!0)}minus(t){if(!this.isValid)return this;const n=Je.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]=sb(t(this.values[r],r));return Dr(this,{values:n},!0)}get(t){return this[Je.normalizeUnit(t)]}set(t){if(!this.isValid)return this;const n={...this.values,...Cl(t,Je.normalizeUnit)};return Dr(this,{values:n})}reconfigure({locale:t,numberingSystem:n,conversionAccuracy:r,matrix:o}={}){const a={loc:this.loc.clone({locale:t,numberingSystem:n}),matrix:o,conversionAccuracy:r};return Dr(this,a)}as(t){return this.isValid?this.shiftTo(t).get(t):NaN}normalize(){if(!this.isValid)return this;const t=this.toObject();return JW(this.matrix,t),Dr(this,{values:t},!0)}rescale(){if(!this.isValid)return this;const t=XW(this.normalize().shiftToAll().toObject());return Dr(this,{values:t},!0)}shiftTo(...t){if(!this.isValid)return this;if(t.length===0)return this;t=t.map(a=>Je.normalizeUnit(a));const n={},r={},o=this.toObject();let s;for(const a of so)if(t.indexOf(a)>=0){s=a;let i=0;for(const c in r)i+=this.matrix[c][a]*r[c],r[c]=0;ho(o[a])&&(i+=o[a]);const l=Math.trunc(i);n[a]=l,r[a]=(i*1e3-l*1e3)/1e3;for(const c in o)so.indexOf(c)>so.indexOf(a)&&bb(this.matrix,o,c,n,a)}else ho(o[a])&&(r[a]=o[a]);for(const a in r)r[a]!==0&&(n[s]+=a===s?r[a]:r[a]/this.matrix[s][a]);return Dr(this,{values:n},!0).normalize()}shiftToAll(){return this.isValid?this.shiftTo("years","months","weeks","days","hours","minutes","seconds","milliseconds"):this}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 Dr(this,{values:t},!0)}get years(){return this.isValid?this.values.years||0:NaN}get quarters(){return this.isValid?this.values.quarters||0:NaN}get months(){return this.isValid?this.values.months||0:NaN}get weeks(){return this.isValid?this.values.weeks||0:NaN}get days(){return this.isValid?this.values.days||0:NaN}get hours(){return this.isValid?this.values.hours||0:NaN}get minutes(){return this.isValid?this.values.minutes||0:NaN}get seconds(){return this.isValid?this.values.seconds||0:NaN}get milliseconds(){return this.isValid?this.values.milliseconds||0:NaN}get isValid(){return this.invalid===null}get invalidReason(){return this.invalid?this.invalid.reason:null}get invalidExplanation(){return this.invalid?this.invalid.explanation:null}equals(t){if(!this.isValid||!t.isValid||!this.loc.equals(t.loc))return!1;function n(r,o){return r===void 0||r===0?o===void 0||o===0:r===o}for(const r of so)if(!n(this.values[r],t.values[r]))return!1;return!0}}const Do="Invalid Interval";function QW(e,t){return!e||!e.isValid?xt.invalid("missing or invalid start"):!t||!t.isValid?xt.invalid("missing or invalid end"):t<e?xt.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 xt{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 kn("need to specify a reason the Interval is invalid");const r=t instanceof Mn?t:new Mn(t,n);if($t.throwOnInvalid)throw new xq(r);return new xt({invalid:r})}static fromDateTimes(t,n){const r=Ts(t),o=Ts(n),s=QW(r,o);return s??new xt({start:r,end:o})}static after(t,n){const r=Je.fromDurationLike(n),o=Ts(t);return xt.fromDateTimes(o,o.plus(r))}static before(t,n){const r=Je.fromDurationLike(n),o=Ts(t);return xt.fromDateTimes(o.minus(r),o)}static fromISO(t,n){const[r,o]=(t||"").split("/",2);if(r&&o){let s,a;try{s=Ne.fromISO(r,n),a=s.isValid}catch{a=!1}let i,l;try{i=Ne.fromISO(o,n),l=i.isValid}catch{l=!1}if(a&&l)return xt.fromDateTimes(s,i);if(a){const c=Je.fromISO(o,n);if(c.isValid)return xt.after(s,c)}else if(l){const c=Je.fromISO(r,n);if(c.isValid)return xt.before(i,c)}}return xt.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))+(r.valueOf()!==this.end.valueOf())}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?xt.fromDateTimes(t||this.s,n||this.e):this}splitAt(...t){if(!this.isValid)return[];const n=t.map(Ts).filter(a=>this.contains(a)).sort(),r=[];let{s:o}=this,s=0;for(;o<this.e;){const a=n[s]||this.e,i=+a>+this.e?this.e:a;r.push(xt.fromDateTimes(o,i)),o=i,s+=1}return r}splitBy(t){const n=Je.fromDurationLike(t);if(!this.isValid||!n.isValid||n.as("milliseconds")===0)return[];let{s:r}=this,o=1,s;const a=[];for(;r<this.e;){const i=this.start.plus(n.mapUnits(l=>l*o));s=+i>+this.e?this.e:i,a.push(xt.fromDateTimes(r,s)),r=s,o+=1}return a}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:xt.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 xt.fromDateTimes(n,r)}static merge(t){const[n,r]=t.sort((o,s)=>o.s-s.s).reduce(([o,s],a)=>s?s.overlaps(a)||s.abutsStart(a)?[o,s.union(a)]:[o.concat([s]),a]:[o,a],[[],null]);return r&&n.push(r),n}static xor(t){let n=null,r=0;const o=[],s=t.map(l=>[{time:l.s,type:"s"},{time:l.e,type:"e"}]),a=Array.prototype.concat(...s),i=a.sort((l,c)=>l.time-c.time);for(const l of i)r+=l.type==="s"?1:-1,r===1?n=l.time:(n&&+n!=+l.time&&o.push(xt.fromDateTimes(n,l.time)),n=null);return xt.merge(o)}difference(...t){return xt.xor([this].concat(t)).map(n=>this.intersection(n)).filter(n=>n&&!n.isEmpty())}toString(){return this.isValid?`[${this.s.toISO()} ${this.e.toISO()})`:Do}toLocaleString(t=vl,n={}){return this.isValid?jt.create(this.s.loc.clone(n),t).formatInterval(this):Do}toISO(t){return this.isValid?`${this.s.toISO(t)}/${this.e.toISO(t)}`:Do}toISODate(){return this.isValid?`${this.s.toISODate()}/${this.e.toISODate()}`:Do}toISOTime(t){return this.isValid?`${this.s.toISOTime(t)}/${this.e.toISOTime(t)}`:Do}toFormat(t,{separator:n=" "}={}){return this.isValid?`${this.s.toFormat(t)}${n}${this.e.toFormat(t)}`:Do}toDuration(t,n){return this.isValid?this.e.diff(this.s,t,n):Je.invalid(this.invalidReason)}mapEndpoints(t){return xt.fromDateTimes(t(this.s),t(this.e))}}class Mi{static hasDST(t=$t.defaultZone){const n=Ne.now().setZone(t).set({month:12});return!t.isUniversal&&n.offset!==n.set({month:6}).offset}static isValidIANAZone(t){return zr.isValidZone(t)}static normalizeZone(t){return Br(t,$t.defaultZone)}static months(t="long",{locale:n=null,numberingSystem:r=null,locObj:o=null,outputCalendar:s="gregory"}={}){return(o||_t.create(n,r,s)).months(t)}static monthsFormat(t="long",{locale:n=null,numberingSystem:r=null,locObj:o=null,outputCalendar:s="gregory"}={}){return(o||_t.create(n,r,s)).months(t,!0)}static weekdays(t="long",{locale:n=null,numberingSystem:r=null,locObj:o=null}={}){return(o||_t.create(n,r,null)).weekdays(t)}static weekdaysFormat(t="long",{locale:n=null,numberingSystem:r=null,locObj:o=null}={}){return(o||_t.create(n,r,null)).weekdays(t,!0)}static meridiems({locale:t=null}={}){return _t.create(t).meridiems()}static eras(t="short",{locale:n=null}={}){return _t.create(n,null,"gregory").eras(t)}static features(){return{relative:rb()}}}function nh(e,t){const n=o=>o.toUTC(0,{keepLocalTime:!0}).startOf("day").valueOf(),r=n(t)-n(e);return Math.floor(Je.fromMillis(r).as("days"))}function eG(e,t,n){const r=[["years",(l,c)=>c.year-l.year],["quarters",(l,c)=>c.quarter-l.quarter+(c.year-l.year)*4],["months",(l,c)=>c.month-l.month+(c.year-l.year)*12],["weeks",(l,c)=>{const d=nh(l,c);return(d-d%7)/7}],["days",nh]],o={},s=e;let a,i;for(const[l,c]of r)n.indexOf(l)>=0&&(a=l,o[l]=c(e,t),i=s.plus(o),i>t?(o[l]--,e=s.plus(o)):e=i);return[e,o,i,a]}function tG(e,t,n,r){let[o,s,a,i]=eG(e,t,n);const l=t-o,c=n.filter(f=>["hours","minutes","seconds","milliseconds"].indexOf(f)>=0);c.length===0&&(a<t&&(a=o.plus({[i]:1})),a!==o&&(s[i]=(s[i]||0)+l/(a-o)));const d=Je.fromObject(s,r);return c.length>0?Je.fromMillis(l,r).shiftTo(...c).plus(d):d}const xm={arab:"[٠-٩]",arabext:"[۰-۹]",bali:"[᭐-᭙]",beng:"[-৯]",deva:"[-९]",fullwide:"[-]",gujr:"[-૯]",hanidec:"[|一|二|三|四|五|六|七|八|九]",khmr:"[០-៩]",knda:"[-೯]",laoo:"[-໙]",limb:"[᥆-᥏]",mlym:"[-൯]",mong:"[᠐-᠙]",mymr:"[-၉]",orya:"[-୯]",tamldec:"[-௯]",telu:"[-౯]",thai:"[-๙]",tibt:"[༠-༩]",latn:"\\d"},rh={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]},nG=xm.hanidec.replace(/[\[|\]]/g,"").split("");function rG(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(xm.hanidec)!==-1)t+=nG.indexOf(e[n]);else for(const o in rh){const[s,a]=rh[o];r>=s&&r<=a&&(t+=r-s)}}return parseInt(t,10)}else return t}function Pn({numberingSystem:e},t=""){return new RegExp(`${xm[e||"latn"]}${t}`)}const oG="missing Intl.DateTimeFormat.formatToParts support";function it(e,t=n=>n){return{regex:e,deser:([n])=>t(rG(n))}}const sG=String.fromCharCode(160),zb=`[ ${sG}]`,Cb=new RegExp(zb,"g");function aG(e){return e.replace(/\./g,"\\.?").replace(Cb,zb)}function oh(e){return e.replace(/\./g,"").replace(Cb," ").toLowerCase()}function In(e,t){return e===null?null:{regex:RegExp(e.map(aG).join("|")),deser:([n])=>e.findIndex(r=>oh(n)===oh(r))+t}}function sh(e,t){return{regex:e,deser:([,n,r])=>lu(n,r),groups:t}}function Ni(e){return{regex:e,deser:([t])=>t}}function iG(e){return e.replace(/[\-\[\]{}()*+?.,\\\^$|#\s]/g,"\\$&")}function lG(e,t){const n=Pn(t),r=Pn(t,"{2}"),o=Pn(t,"{3}"),s=Pn(t,"{4}"),a=Pn(t,"{6}"),i=Pn(t,"{1,2}"),l=Pn(t,"{1,3}"),c=Pn(t,"{1,6}"),d=Pn(t,"{1,9}"),f=Pn(t,"{2,4}"),m=Pn(t,"{4,6}"),p=z=>({regex:RegExp(iG(z.val)),deser:([b])=>b,literal:!0}),_=(z=>{if(e.literal)return p(z);switch(z.val){case"G":return In(t.eras("short",!1),0);case"GG":return In(t.eras("long",!1),0);case"y":return it(c);case"yy":return it(f,Jc);case"yyyy":return it(s);case"yyyyy":return it(m);case"yyyyyy":return it(a);case"M":return it(i);case"MM":return it(r);case"MMM":return In(t.months("short",!0,!1),1);case"MMMM":return In(t.months("long",!0,!1),1);case"L":return it(i);case"LL":return it(r);case"LLL":return In(t.months("short",!1,!1),1);case"LLLL":return In(t.months("long",!1,!1),1);case"d":return it(i);case"dd":return it(r);case"o":return it(l);case"ooo":return it(o);case"HH":return it(r);case"H":return it(i);case"hh":return it(r);case"h":return it(i);case"mm":return it(r);case"m":return it(i);case"q":return it(i);case"qq":return it(r);case"s":return it(i);case"ss":return it(r);case"S":return it(l);case"SSS":return it(o);case"u":return Ni(d);case"uu":return Ni(i);case"uuu":return it(n);case"a":return In(t.meridiems(),0);case"kkkk":return it(s);case"kk":return it(f,Jc);case"W":return it(i);case"WW":return it(r);case"E":case"c":return it(n);case"EEE":return In(t.weekdays("short",!1,!1),1);case"EEEE":return In(t.weekdays("long",!1,!1),1);case"ccc":return In(t.weekdays("short",!0,!1),1);case"cccc":return In(t.weekdays("long",!0,!1),1);case"Z":case"ZZ":return sh(new RegExp(`([+-]${i.source})(?::(${r.source}))?`),2);case"ZZZ":return sh(new RegExp(`([+-]${i.source})(${r.source})?`),2);case"z":return Ni(/[a-z_+-/]{1,256}?/i);case" ":return Ni(/[^\S\n\r]/);default:return p(z)}})(e)||{invalidReason:oG};return _.token=e,_}const uG={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"},timeZoneName:{long:"ZZZZZ",short:"ZZZ"}};function cG(e,t){const{type:n,value:r}=e;if(n==="literal"){const a=/^\s+$/.test(r);return{literal:!a,val:a?" ":r}}const o=t[n];let s=uG[n];if(typeof s=="object"&&(s=s[o]),s)return{literal:!1,val:s}}function dG(e){return[`^${e.map(n=>n.regex).reduce((n,r)=>`${n}(${r.source})`,"")}$`,e]}function mG(e,t,n){const r=e.match(t);if(r){const o={};let s=1;for(const a in n)if(os(n,a)){const i=n[a],l=i.groups?i.groups+1:1;!i.literal&&i.token&&(o[i.token.val[0]]=i.deser(r.slice(s,s+l))),s+=l}return[r,o]}else return[r,{}]}function fG(e){const t=s=>{switch(s){case"S":return"millisecond";case"s":return"second";case"m":return"minute";case"h":case"H":return"hour";case"d":return"day";case"o":return"ordinal";case"L":case"M":return"month";case"y":return"year";case"E":case"c":return"weekday";case"W":return"weekNumber";case"k":return"weekYear";case"q":return"quarter";default:return null}};let n=null,r;return tt(e.z)||(n=zr.create(e.z)),tt(e.Z)||(n||(n=new Yt(e.Z)),r=e.Z),tt(e.q)||(e.M=(e.q-1)*3+1),tt(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),tt(e.u)||(e.S=vm(e.u)),[Object.keys(e).reduce((s,a)=>{const i=t(a);return i&&(s[i]=e[a]),s},{}),n,r]}let ju=null;function pG(){return ju||(ju=Ne.fromMillis(1555555555555)),ju}function hG(e,t){if(e.literal)return e;const n=jt.macroTokenToFormatOpts(e.val),r=xb(n,t);return r==null||r.includes(void 0)?e:r}function wb(e,t){return Array.prototype.concat(...e.map(n=>hG(n,t)))}function kb(e,t,n){const r=wb(jt.parseFormat(n),e),o=r.map(a=>lG(a,e)),s=o.find(a=>a.invalidReason);if(s)return{input:t,tokens:r,invalidReason:s.invalidReason};{const[a,i]=dG(o),l=RegExp(a,"i"),[c,d]=mG(t,l,i),[f,m,p]=d?fG(d):[null,null,void 0];if(os(d,"a")&&os(d,"H"))throw new Bs("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 _G(e,t,n){const{result:r,zone:o,specificOffset:s,invalidReason:a}=kb(e,t,n);return[r,o,s,a]}function xb(e,t){return e?jt.create(t,e).formatDateTimeParts(pG()).map(o=>cG(o,e)):null}const Eb=[0,31,59,90,120,151,181,212,243,273,304,334],Sb=[0,31,60,91,121,152,182,213,244,274,305,335];function En(e,t){return new Mn("unit out of range",`you specified ${t} (of type ${typeof t}) as a ${e}, which is invalid`)}function $b(e,t,n){const r=new Date(Date.UTC(e,t-1,n));e<100&&e>=0&&r.setUTCFullYear(r.getUTCFullYear()-1900);const o=r.getUTCDay();return o===0?7:o}function Ab(e,t,n){return n+(La(e)?Sb:Eb)[t-1]}function Tb(e,t){const n=La(e)?Sb:Eb,r=n.findIndex(s=>s<t),o=t-n[r];return{month:r+1,day:o}}function Xc(e){const{year:t,month:n,day:r}=e,o=Ab(t,n,r),s=$b(t,n,r);let a=Math.floor((o-s+10)/7),i;return a<1?(i=t-1,a=zl(i)):a>zl(t)?(i=t+1,a=1):i=t,{weekYear:i,weekNumber:a,weekday:s,...uu(e)}}function ah(e){const{weekYear:t,weekNumber:n,weekday:r}=e,o=$b(t,1,4),s=oa(t);let a=n*7+r-o-3,i;a<1?(i=t-1,a+=oa(i)):a>s?(i=t+1,a-=oa(t)):i=t;const{month:l,day:c}=Tb(i,a);return{year:i,month:l,day:c,...uu(e)}}function Uu(e){const{year:t,month:n,day:r}=e,o=Ab(t,n,r);return{year:t,ordinal:o,...uu(e)}}function ih(e){const{year:t,ordinal:n}=e,{month:r,day:o}=Tb(t,n);return{year:t,month:r,day:o,...uu(e)}}function gG(e){const t=iu(e.weekYear),n=_r(e.weekNumber,1,zl(e.weekYear)),r=_r(e.weekday,1,7);return t?n?r?!1:En("weekday",e.weekday):En("week",e.week):En("weekYear",e.weekYear)}function yG(e){const t=iu(e.year),n=_r(e.ordinal,1,oa(e.year));return t?n?!1:En("ordinal",e.ordinal):En("year",e.year)}function Ob(e){const t=iu(e.year),n=_r(e.month,1,12),r=_r(e.day,1,bl(e.year,e.month));return t?n?r?!1:En("day",e.day):En("month",e.month):En("year",e.year)}function Db(e){const{hour:t,minute:n,second:r,millisecond:o}=e,s=_r(t,0,23)||t===24&&n===0&&r===0&&o===0,a=_r(n,0,59),i=_r(r,0,59),l=_r(o,0,999);return s?a?i?l?!1:En("millisecond",o):En("second",r):En("minute",n):En("hour",t)}const qu="Invalid DateTime",lh=864e13;function Bi(e){return new Mn("unsupported zone",`the zone "${e.name}" is not supported`)}function Wu(e){return e.weekData===null&&(e.weekData=Xc(e.c)),e.weekData}function $s(e,t){const n={ts:e.ts,zone:e.zone,c:e.c,o:e.o,loc:e.loc,invalid:e.invalid};return new Ne({...n,...t,old:n})}function Pb(e,t,n){let r=e-t*60*1e3;const o=n.offset(r);if(t===o)return[r,t];r-=(o-t)*60*1e3;const s=n.offset(r);return o===s?[r,o]:[e-Math.min(o,s)*60*1e3,Math.max(o,s)]}function uh(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 el(e,t,n){return Pb(zm(e),t,n)}function ch(e,t){const n=e.o,r=e.c.year+Math.trunc(t.years),o=e.c.month+Math.trunc(t.months)+Math.trunc(t.quarters)*3,s={...e.c,year:r,month:o,day:Math.min(e.c.day,bl(r,o))+Math.trunc(t.days)+Math.trunc(t.weeks)*7},a=Je.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"),i=zm(s);let[l,c]=Pb(i,n,e.zone);return a!==0&&(l+=a,c=e.zone.offset(l)),{ts:l,o:c}}function As(e,t,n,r,o,s){const{setZone:a,zone:i}=n;if(e&&Object.keys(e).length!==0||t){const l=t||i,c=Ne.fromObject(e,{...n,zone:l,specificOffset:s});return a?c:c.setZone(i)}else return Ne.invalid(new Mn("unparsable",`the input "${o}" can't be parsed as ${r}`))}function Vi(e,t,n=!0){return e.isValid?jt.create(_t.create("en-US"),{allowZ:n,forceSimple:!0}).formatDateTimeFromString(e,t):null}function Gu(e,t){const n=e.c.year>9999||e.c.year<0;let r="";return n&&e.c.year>=0&&(r+="+"),r+=At(e.c.year,n?6:4),t?(r+="-",r+=At(e.c.month),r+="-",r+=At(e.c.day)):(r+=At(e.c.month),r+=At(e.c.day)),r}function dh(e,t,n,r,o,s){let a=At(e.c.hour);return t?(a+=":",a+=At(e.c.minute),(e.c.second!==0||!n)&&(a+=":")):a+=At(e.c.minute),(e.c.second!==0||!n)&&(a+=At(e.c.second),(e.c.millisecond!==0||!r)&&(a+=".",a+=At(e.c.millisecond,3))),o&&(e.isOffsetFixed&&e.offset===0&&!s?a+="Z":e.o<0?(a+="-",a+=At(Math.trunc(-e.o/60)),a+=":",a+=At(Math.trunc(-e.o%60))):(a+="+",a+=At(Math.trunc(e.o/60)),a+=":",a+=At(Math.trunc(e.o%60)))),s&&(a+="["+e.zone.ianaName+"]"),a}const Ib={month:1,day:1,hour:0,minute:0,second:0,millisecond:0},vG={weekNumber:1,weekday:1,hour:0,minute:0,second:0,millisecond:0},bG={ordinal:1,hour:0,minute:0,second:0,millisecond:0},Fb=["year","month","day","hour","minute","second","millisecond"],zG=["weekYear","weekNumber","weekday","hour","minute","second","millisecond"],CG=["year","ordinal","hour","minute","second","millisecond"];function mh(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 Lv(e);return t}function fh(e,t){const n=Br(t.zone,$t.defaultZone),r=_t.fromObject(t),o=$t.now();let s,a;if(tt(e.year))s=o;else{for(const c of Fb)tt(e[c])&&(e[c]=Ib[c]);const i=Ob(e)||Db(e);if(i)return Ne.invalid(i);const l=n.offset(o);[s,a]=el(e,l,n)}return new Ne({ts:s,zone:n,loc:r,o:a})}function ph(e,t,n){const r=tt(n.round)?!0:n.round,o=(a,i)=>(a=bm(a,r||n.calendary?0:2,!0),t.loc.clone(n).relFormatter(n).format(a,i)),s=a=>n.calendary?t.hasSame(e,a)?0:t.startOf(a).diff(e.startOf(a),a).get(a):t.diff(e,a).get(a);if(n.unit)return o(s(n.unit),n.unit);for(const a of n.units){const i=s(a);if(Math.abs(i)>=1)return o(i,a)}return o(e>t?-0:0,n.units[n.units.length-1])}function hh(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 Ne{constructor(t){const n=t.zone||$t.defaultZone;let r=t.invalid||(Number.isNaN(t.ts)?new Mn("invalid input"):null)||(n.isValid?null:Bi(n));this.ts=tt(t.ts)?$t.now():t.ts;let o=null,s=null;if(!r)if(t.old&&t.old.ts===this.ts&&t.old.zone.equals(n))[o,s]=[t.old.c,t.old.o];else{const i=n.offset(this.ts);o=uh(this.ts,i),r=Number.isNaN(o.year)?new Mn("invalid input"):null,o=r?null:o,s=r?null:i}this._zone=n,this.loc=t.loc||_t.create(),this.invalid=r,this.weekData=null,this.c=o,this.o=s,this.isLuxonDateTime=!0}static now(){return new Ne({})}static local(){const[t,n]=hh(arguments),[r,o,s,a,i,l,c]=n;return fh({year:r,month:o,day:s,hour:a,minute:i,second:l,millisecond:c},t)}static utc(){const[t,n]=hh(arguments),[r,o,s,a,i,l,c]=n;return t.zone=Yt.utcInstance,fh({year:r,month:o,day:s,hour:a,minute:i,second:l,millisecond:c},t)}static fromJSDate(t,n={}){const r=Gq(t)?t.valueOf():NaN;if(Number.isNaN(r))return Ne.invalid("invalid input");const o=Br(n.zone,$t.defaultZone);return o.isValid?new Ne({ts:r,zone:o,loc:_t.fromObject(n)}):Ne.invalid(Bi(o))}static fromMillis(t,n={}){if(ho(t))return t<-lh||t>lh?Ne.invalid("Timestamp out of range"):new Ne({ts:t,zone:Br(n.zone,$t.defaultZone),loc:_t.fromObject(n)});throw new kn(`fromMillis requires a numerical input, but received a ${typeof t} with value ${t}`)}static fromSeconds(t,n={}){if(ho(t))return new Ne({ts:t*1e3,zone:Br(n.zone,$t.defaultZone),loc:_t.fromObject(n)});throw new kn("fromSeconds requires a numerical input")}static fromObject(t,n={}){t=t||{};const r=Br(n.zone,$t.defaultZone);if(!r.isValid)return Ne.invalid(Bi(r));const o=$t.now(),s=tt(n.specificOffset)?r.offset(o):n.specificOffset,a=Cl(t,mh),i=!tt(a.ordinal),l=!tt(a.year),c=!tt(a.month)||!tt(a.day),d=l||c,f=a.weekYear||a.weekNumber,m=_t.fromObject(n);if((d||i)&&f)throw new Bs("Can't mix weekYear/weekNumber units with year/month/day or ordinals");if(c&&i)throw new Bs("Can't mix ordinal dates with month/day");const p=f||a.weekday&&!d;let h,_,z=uh(o,s);p?(h=zG,_=vG,z=Xc(z)):i?(h=CG,_=bG,z=Uu(z)):(h=Fb,_=Ib);let b=!1;for(const I of h){const D=a[I];tt(D)?b?a[I]=_[I]:a[I]=z[I]:b=!0}const v=p?gG(a):i?yG(a):Ob(a),k=v||Db(a);if(k)return Ne.invalid(k);const C=p?ah(a):i?ih(a):a,[x,T]=el(C,s,r),L=new Ne({ts:x,zone:r,o:T,loc:m});return a.weekday&&d&&t.weekday!==L.weekday?Ne.invalid("mismatched weekday",`you can't specify both a weekday of ${a.weekday} and a date of ${L.toISO()}`):L}static fromISO(t,n={}){const[r,o]=RW(t);return As(r,o,n,"ISO 8601",t)}static fromRFC2822(t,n={}){const[r,o]=LW(t);return As(r,o,n,"RFC 2822",t)}static fromHTTP(t,n={}){const[r,o]=MW(t);return As(r,o,n,"HTTP",n)}static fromFormat(t,n,r={}){if(tt(t)||tt(n))throw new kn("fromFormat requires an input string and a format");const{locale:o=null,numberingSystem:s=null}=r,a=_t.fromOpts({locale:o,numberingSystem:s,defaultToEN:!0}),[i,l,c,d]=_G(a,t,n);return d?Ne.invalid(d):As(i,l,r,`format ${n}`,t,c)}static fromString(t,n,r={}){return Ne.fromFormat(t,n,r)}static fromSQL(t,n={}){const[r,o]=qW(t);return As(r,o,n,"SQL",t)}static invalid(t,n=null){if(!t)throw new kn("need to specify a reason the DateTime is invalid");const r=t instanceof Mn?t:new Mn(t,n);if($t.throwOnInvalid)throw new kq(r);return new Ne({invalid:r})}static isDateTime(t){return t&&t.isLuxonDateTime||!1}static parseFormatForOpts(t,n={}){const r=xb(t,_t.fromObject(n));return r?r.map(o=>o?o.val:null).join(""):null}static expandFormat(t,n={}){return wb(jt.parseFormat(t),_t.fromObject(n)).map(o=>o.val).join("")}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?Wu(this).weekYear:NaN}get weekNumber(){return this.isValid?Wu(this).weekNumber:NaN}get weekday(){return this.isValid?Wu(this).weekday:NaN}get ordinal(){return this.isValid?Uu(this.c).ordinal:NaN}get monthShort(){return this.isValid?Mi.months("short",{locObj:this.loc})[this.month-1]:null}get monthLong(){return this.isValid?Mi.months("long",{locObj:this.loc})[this.month-1]:null}get weekdayShort(){return this.isValid?Mi.weekdays("short",{locObj:this.loc})[this.weekday-1]:null}get weekdayLong(){return this.isValid?Mi.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 La(this.year)}get daysInMonth(){return bl(this.year,this.month)}get daysInYear(){return this.isValid?oa(this.year):NaN}get weeksInWeekYear(){return this.isValid?zl(this.weekYear):NaN}resolvedLocaleOptions(t={}){const{locale:n,numberingSystem:r,calendar:o}=jt.create(this.loc.clone(t),t).resolvedOptions(this);return{locale:n,numberingSystem:r,outputCalendar:o}}toUTC(t=0,n={}){return this.setZone(Yt.instance(t),n)}toLocal(){return this.setZone($t.defaultZone)}setZone(t,{keepLocalTime:n=!1,keepCalendarTime:r=!1}={}){if(t=Br(t,$t.defaultZone),t.equals(this.zone))return this;if(t.isValid){let o=this.ts;if(n||r){const s=t.offset(this.ts),a=this.toObject();[o]=el(a,s,t)}return $s(this,{ts:o,zone:t})}else return Ne.invalid(Bi(t))}reconfigure({locale:t,numberingSystem:n,outputCalendar:r}={}){const o=this.loc.clone({locale:t,numberingSystem:n,outputCalendar:r});return $s(this,{loc:o})}setLocale(t){return this.reconfigure({locale:t})}set(t){if(!this.isValid)return this;const n=Cl(t,mh),r=!tt(n.weekYear)||!tt(n.weekNumber)||!tt(n.weekday),o=!tt(n.ordinal),s=!tt(n.year),a=!tt(n.month)||!tt(n.day),i=s||a,l=n.weekYear||n.weekNumber;if((i||o)&&l)throw new Bs("Can't mix weekYear/weekNumber units with year/month/day or ordinals");if(a&&o)throw new Bs("Can't mix ordinal dates with month/day");let c;r?c=ah({...Xc(this.c),...n}):tt(n.ordinal)?(c={...this.toObject(),...n},tt(n.day)&&(c.day=Math.min(bl(c.year,c.month),c.day))):c=ih({...Uu(this.c),...n});const[d,f]=el(c,this.o,this.zone);return $s(this,{ts:d,o:f})}plus(t){if(!this.isValid)return this;const n=Je.fromDurationLike(t);return $s(this,ch(this,n))}minus(t){if(!this.isValid)return this;const n=Je.fromDurationLike(t).negate();return $s(this,ch(this,n))}startOf(t){if(!this.isValid)return this;const n={},r=Je.normalizeUnit(t);switch(r){case"years":n.month=1;case"quarters":case"months":n.day=1;case"weeks":case"days":n.hour=0;case"hours":n.minute=0;case"minutes":n.second=0;case"seconds":n.millisecond=0;break}if(r==="weeks"&&(n.weekday=1),r==="quarters"){const o=Math.ceil(this.month/3);n.month=(o-1)*3+1}return this.set(n)}endOf(t){return this.isValid?this.plus({[t]:1}).startOf(t).minus(1):this}toFormat(t,n={}){return this.isValid?jt.create(this.loc.redefaultToEN(n)).formatDateTimeFromString(this,t):qu}toLocaleString(t=vl,n={}){return this.isValid?jt.create(this.loc.clone(n),t).formatDateTime(this):qu}toLocaleParts(t={}){return this.isValid?jt.create(this.loc.clone(t),t).formatDateTimeParts(this):[]}toISO({format:t="extended",suppressSeconds:n=!1,suppressMilliseconds:r=!1,includeOffset:o=!0,extendedZone:s=!1}={}){if(!this.isValid)return null;const a=t==="extended";let i=Gu(this,a);return i+="T",i+=dh(this,a,n,r,o,s),i}toISODate({format:t="extended"}={}){return this.isValid?Gu(this,t==="extended"):null}toISOWeekDate(){return Vi(this,"kkkk-'W'WW-c")}toISOTime({suppressMilliseconds:t=!1,suppressSeconds:n=!1,includeOffset:r=!0,includePrefix:o=!1,extendedZone:s=!1,format:a="extended"}={}){return this.isValid?(o?"T":"")+dh(this,a==="extended",n,t,r,s):null}toRFC2822(){return Vi(this,"EEE, dd LLL yyyy HH:mm:ss ZZZ",!1)}toHTTP(){return Vi(this.toUTC(),"EEE, dd LLL yyyy HH:mm:ss 'GMT'")}toSQLDate(){return this.isValid?Gu(this,!0):null}toSQLTime({includeOffset:t=!0,includeZone:n=!1,includeOffsetSpace:r=!0}={}){let o="HH:mm:ss.SSS";return(n||t)&&(r&&(o+=" "),n?o+="z":t&&(o+="ZZ")),Vi(this,o,!0)}toSQL(t={}){return this.isValid?`${this.toSQLDate()} ${this.toSQLTime(t)}`:null}toString(){return this.isValid?this.toISO():qu}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={...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 Je.invalid("created by diffing an invalid DateTime");const o={locale:this.locale,numberingSystem:this.numberingSystem,...r},s=Kq(n).map(Je.normalizeUnit),a=t.valueOf()>this.valueOf(),i=a?this:t,l=a?t:this,c=tG(i,l,s,o);return a?c.negate():c}diffNow(t="milliseconds",n={}){return this.diff(Ne.now(),t,n)}until(t){return this.isValid?xt.fromDateTimes(this,t):this}hasSame(t,n){if(!this.isValid)return!1;const r=t.valueOf(),o=this.setZone(t.zone,{keepLocalTime:!0});return o.startOf(n)<=r&&r<=o.endOf(n)}equals(t){return this.isValid&&t.isValid&&this.valueOf()===t.valueOf()&&this.zone.equals(t.zone)&&this.loc.equals(t.loc)}toRelative(t={}){if(!this.isValid)return null;const n=t.base||Ne.fromObject({},{zone:this.zone}),r=t.padding?this<n?-t.padding:t.padding:0;let o=["years","months","days","hours","minutes","seconds"],s=t.unit;return Array.isArray(t.unit)&&(o=t.unit,s=void 0),ph(n,this.plus(r),{...t,numeric:"always",units:o,unit:s})}toRelativeCalendar(t={}){return this.isValid?ph(t.base||Ne.fromObject({},{zone:this.zone}),this,{...t,numeric:"auto",units:["years","months","days"],calendary:!0}):null}static min(...t){if(!t.every(Ne.isDateTime))throw new kn("min requires all arguments be DateTimes");return Qp(t,n=>n.valueOf(),Math.min)}static max(...t){if(!t.every(Ne.isDateTime))throw new kn("max requires all arguments be DateTimes");return Qp(t,n=>n.valueOf(),Math.max)}static fromFormatExplain(t,n,r={}){const{locale:o=null,numberingSystem:s=null}=r,a=_t.fromOpts({locale:o,numberingSystem:s,defaultToEN:!0});return kb(a,t,n)}static fromStringExplain(t,n,r={}){return Ne.fromFormatExplain(t,n,r)}static get DATE_SHORT(){return vl}static get DATE_MED(){return Mv}static get DATE_MED_WITH_WEEKDAY(){return Sq}static get DATE_FULL(){return Nv}static get DATE_HUGE(){return Bv}static get TIME_SIMPLE(){return Vv}static get TIME_WITH_SECONDS(){return Hv}static get TIME_WITH_SHORT_OFFSET(){return jv}static get TIME_WITH_LONG_OFFSET(){return Uv}static get TIME_24_SIMPLE(){return qv}static get TIME_24_WITH_SECONDS(){return Wv}static get TIME_24_WITH_SHORT_OFFSET(){return Gv}static get TIME_24_WITH_LONG_OFFSET(){return Kv}static get DATETIME_SHORT(){return Zv}static get DATETIME_SHORT_WITH_SECONDS(){return Yv}static get DATETIME_MED(){return Jv}static get DATETIME_MED_WITH_SECONDS(){return Xv}static get DATETIME_MED_WITH_WEEKDAY(){return $q}static get DATETIME_FULL(){return Qv}static get DATETIME_FULL_WITH_SECONDS(){return eb}static get DATETIME_HUGE(){return tb}static get DATETIME_HUGE_WITH_SECONDS(){return nb}}function Ts(e){if(Ne.isDateTime(e))return e;if(e&&e.valueOf&&ho(e.valueOf()))return Ne.fromJSDate(e);if(e&&typeof e=="object")return Ne.fromObject(e);throw new kn(`Unknown datetime argument: ${e}, of type ${typeof e}`)}const{t:Ku,locale:Zu}=Hl.global,wG={durationInHours(e){const t=Math.floor(e/1e3);return t>3600?Je.fromObject({seconds:t}).shiftTo("hours","minutes","seconds").toFormat("hh:mm:ss"):Je.fromObject({seconds:t}).shiftTo("minutes","seconds").toFormat("mm:ss")},durationInDays(e){const t=Math.floor(e/6e4);return t>1440?Je.fromObject({minutes:t}).shiftTo("days","hours","minutes").toHuman():t>60?Je.fromObject({minutes:t}).shiftTo("hours","minutes").toHuman():Je.fromObject({minutes:t}).shiftTo("minutes").toHuman()},date(e){return Ne.fromISO(e).setLocale(Zu.value).toLocaleString(Ne.DATE_FULL)},datetime(e){return Ne.fromISO(e).setLocale(Zu.value).toLocaleString(Ne.DATETIME_MED)},timeFromNow(e){const t=Ne.now().diff(Ne.fromISO(e));return this.durationInDays(t.as("milliseconds"))},number(e){return e.toLocaleString(Zu.value)},channels(e){return e===1?Ku("filter.mono"):e===2?Ku("filter.stereo"):e?Ku("filter.channels",{value:e}):""},cursor(e,t=20){const r=t/2;return`url("data:image/svg+xml,%3Csvg width='${t}' height='${t}' viewBox='0 0 24 24' xmlns='http://www.w3.org/2000/svg' %3E%3Cpath d='${e}'/%3E%3C/svg%3E") ${r} ${r}, auto`}},kG={mdiAccountMusic:A8,mdiAlbum:T8,mdiArrowCollapseDown:D8,mdiBookOpenPageVariant:P8,mdiBookOpenVariant:I8,mdiBookshelf:F8,mdiBroadcast:R8,mdiCancel:eu,mdiCast:L8,mdiCastVariant:M8,mdiCellphone:N8,mdiCheck:B8,mdiChevronDown:V8,mdiChevronUp:H8,mdiContentSave:j8,mdiDelete:U8,mdiDeleteEmpty:q8,mdiDotsHorizontal:W8,mdiDotsVertical:G8,mdiDragHorizontal:K8,mdiFastForward30:Z8,mdiFileMusic:Y8,mdiFileOutline:J8,mdiFire:X8,mdiFolder:Q8,mdiFolderOpen:eT,mdiMagnify:tT,mdiMenu:nT,mdiMicrophone:rT,mdiMusic:oT,mdiMusicBoxMultiple:sT,mdiOpenInNew:aT,mdiPause:iT,mdiPencil:lT,mdiPipe:uT,mdiPlay:cT,mdiPlaylistPlay:dT,mdiPlaylistPlus:mT,mdiRadio:fT,mdiRadioTower:pT,mdiRefresh:hT,mdiRepeat:_T,mdiRepeatOff:gT,mdiRepeatOnce:yT,mdiRewind10:vT,mdiRss:bT,mdiServer:zT,mdiShuffle:CT,mdiShuffleDisabled:wT,mdiSkipBackward:kT,mdiSkipForward:xT,mdiSpeaker:ET,mdiSpotify:ST,mdiStop:$T,mdiSubdirectoryArrowLeft:AT,mdiVolumeHigh:TT,mdiVolumeOff:OT,mdiWeb:DT},xG={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(Qo,e)}},show_burger_menu:{get(){return this.$store.state.show_burger_menu},set(e){this.$store.commit(Xo,e)}}},methods:{open_link(){this.show_burger_menu&&this.$store.commit(Xo,!1),this.show_player_menu&&this.$store.commit(Qo,!1),this.$router.push({path:this.to})},full_path(){return this.$router.resolve(this.to).href}}},EG=["href"];function SG(e,t,n,r,o,s){return w(),$("a",{class:De(["navbar-item",{"is-active":s.is_active}]),href:s.full_path(),onClick:t[0]||(t[0]=st(a=>s.open_link(),["stop","prevent"]))},[lt(e.$slots,"default")],10,EG)}const Rb=oe(xG,[["render",SG]]),$G={name:"NavbarTop",components:{NavbarItemLink:Rb},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(Xo,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(Ta,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}}},AG={class:"navbar-brand"},TG=u("span",null,null,-1),OG=u("span",null,null,-1),DG=u("span",null,null,-1),PG=[TG,OG,DG],IG=u("div",{class:"navbar-start"},null,-1),FG={class:"navbar-end"},RG={class:"navbar-link is-arrowless"},LG=["textContent"],MG={class:"navbar-dropdown is-right"},NG=["textContent"],BG=["textContent"],VG=["textContent"],HG=["textContent"],jG=["textContent"],UG=["textContent"],qG=["textContent"],WG=["textContent"],GG=["textContent"],KG=["textContent"],ZG=["textContent"],YG=u("hr",{class:"my-3"},null,-1),JG=["textContent"],XG=u("div",{class:"navbar-item is-hidden-desktop"},null,-1);function QG(e,t,n,r,o,s){const a=S("mdicon"),i=S("navbar-item-link");return w(),$("nav",{class:"navbar is-light is-fixed-top",style:Cr(s.zindex),role:"navigation","aria-label":"main navigation"},[u("div",AG,[s.is_visible_playlists?(w(),be(i,{key:0,to:"/playlists"},{default:E(()=>[y(a,{class:"icon",name:"music-box-multiple",size:"16"})]),_:1})):H("",!0),s.is_visible_music?(w(),be(i,{key:1,to:"/music"},{default:E(()=>[y(a,{class:"icon",name:"music",size:"16"})]),_:1})):H("",!0),s.is_visible_podcasts?(w(),be(i,{key:2,to:"/podcasts"},{default:E(()=>[y(a,{class:"icon",name:"microphone",size:"16"})]),_:1})):H("",!0),s.is_visible_audiobooks?(w(),be(i,{key:3,to:"/audiobooks"},{default:E(()=>[y(a,{class:"icon",name:"book-open-variant",size:"16"})]),_:1})):H("",!0),s.is_visible_radio?(w(),be(i,{key:4,to:"/radio"},{default:E(()=>[y(a,{class:"icon",name:"radio",size:"16"})]),_:1})):H("",!0),s.is_visible_files?(w(),be(i,{key:5,to:"/files"},{default:E(()=>[y(a,{class:"icon",name:"folder-open",size:"16"})]),_:1})):H("",!0),s.is_visible_search?(w(),be(i,{key:6,to:"/search"},{default:E(()=>[y(a,{class:"icon",name:"magnify",size:"16"})]),_:1})):H("",!0),u("div",{class:De(["navbar-burger",{"is-active":s.show_burger_menu}]),onClick:t[0]||(t[0]=l=>s.show_burger_menu=!s.show_burger_menu)},PG,2)]),u("div",{class:De(["navbar-menu",{"is-active":s.show_burger_menu}])},[IG,u("div",FG,[u("div",{class:De(["navbar-item has-dropdown is-hoverable",{"is-active":o.show_settings_menu}]),onClick:t[2]||(t[2]=(...l)=>s.on_click_outside_settings&&s.on_click_outside_settings(...l))},[u("a",RG,[y(a,{class:"icon is-hidden-touch",name:"menu",size:"24"}),u("span",{class:"is-hidden-desktop has-text-weight-bold",textContent:g(e.$t("navigation.title"))},null,8,LG)]),u("div",MG,[y(i,{to:"/playlists"},{default:E(()=>[y(a,{class:"icon",name:"music-box-multiple",size:"16"}),u("b",{textContent:g(e.$t("navigation.playlists"))},null,8,NG)]),_:1}),y(i,{to:"/music",exact:""},{default:E(()=>[y(a,{class:"icon",name:"music",size:"16"}),u("b",{textContent:g(e.$t("navigation.music"))},null,8,BG)]),_:1}),y(i,{to:"/music/artists"},{default:E(()=>[u("span",{class:"pl-5",textContent:g(e.$t("navigation.artists"))},null,8,VG)]),_:1}),y(i,{to:"/music/albums"},{default:E(()=>[u("span",{class:"pl-5",textContent:g(e.$t("navigation.albums"))},null,8,HG)]),_:1}),y(i,{to:"/music/genres"},{default:E(()=>[u("span",{class:"pl-5",textContent:g(e.$t("navigation.genres"))},null,8,jG)]),_:1}),s.spotify_enabled?(w(),be(i,{key:0,to:"/music/spotify"},{default:E(()=>[u("span",{class:"pl-5",textContent:g(e.$t("navigation.spotify"))},null,8,UG)]),_:1})):H("",!0),y(i,{to:"/podcasts"},{default:E(()=>[y(a,{class:"icon",name:"microphone",size:"16"}),u("b",{textContent:g(e.$t("navigation.podcasts"))},null,8,qG)]),_:1}),y(i,{to:"/audiobooks"},{default:E(()=>[y(a,{class:"icon",name:"book-open-variant",size:"16"}),u("b",{textContent:g(e.$t("navigation.audiobooks"))},null,8,WG)]),_:1}),y(i,{to:"/radio"},{default:E(()=>[y(a,{class:"icon",name:"radio",size:"16"}),u("b",{textContent:g(e.$t("navigation.radio"))},null,8,GG)]),_:1}),y(i,{to:"/files"},{default:E(()=>[y(a,{class:"icon",name:"folder-open",size:"16"}),u("b",{textContent:g(e.$t("navigation.files"))},null,8,KG)]),_:1}),y(i,{to:"/search"},{default:E(()=>[y(a,{class:"icon",name:"magnify",size:"16"}),u("b",{textContent:g(e.$t("navigation.search"))},null,8,ZG)]),_:1}),YG,y(i,{to:"/settings/webinterface"},{default:E(()=>[ct(g(e.$t("navigation.settings")),1)]),_:1}),u("a",{class:"navbar-item",onClick:t[1]||(t[1]=st(l=>s.open_update_dialog(),["stop","prevent"])),textContent:g(e.$t("navigation.update-library"))},null,8,JG),y(i,{to:"/about"},{default:E(()=>[ct(g(e.$t("navigation.about")),1)]),_:1}),XG])],2)])],2),bt(u("div",{class:"is-overlay",onClick:t[3]||(t[3]=l=>o.show_settings_menu=!1)},null,512),[[ha,o.show_settings_menu]])],4)}const eK=oe($G,[["render",QG]]),Os={_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{}}},tK={name:"NavbarItemOutput",components:{ControlSlider:rm},props:["output"],data(){return{volume:this.output.selected?this.output.volume:0,cursor:eu}},computed:{type_class(){return this.output.type.startsWith("AirPlay")?"cast-variant":this.output.type==="Chromecast"?"cast":this.output.type==="fifo"?"pipe":"server"}},watch:{output(){this.volume=this.output.volume}},methods:{change_volume(){N.player_output_volume(this.output.id,this.volume)},set_enabled(){const e={selected:!this.output.selected};N.output_update(this.output.id,e)}}},nK={class:"navbar-item"},rK={class:"level is-mobile"},oK={class:"level-left is-flex-grow-1"},sK={class:"level-item is-flex-grow-0"},aK={class:"level-item"},iK={class:"is-flex-grow-1"},lK=["textContent"];function uK(e,t,n,r,o,s){const a=S("mdicon"),i=S("control-slider");return w(),$("div",nK,[u("div",rK,[u("div",oK,[u("div",sK,[u("a",{class:De(["button is-clickable is-white is-small",{"has-text-grey-light":!n.output.selected}]),onClick:t[0]||(t[0]=(...l)=>s.set_enabled&&s.set_enabled(...l))},[y(a,{class:"icon",name:s.type_class,size:"18",title:n.output.type},null,8,["name","title"])],2)]),u("div",aK,[u("div",iK,[u("p",{class:De(["heading",{"has-text-grey-light":!n.output.selected}]),textContent:g(n.output.name)},null,10,lK),y(i,{value:o.volume,"onUpdate:value":t[1]||(t[1]=l=>o.volume=l),disabled:!n.output.selected,max:100,cursor:o.cursor,onChange:s.change_volume},null,8,["value","disabled","cursor","onChange"])])])])])])}const cK=oe(tK,[["render",uK]]),dK={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(){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?N.player_pause():this.is_playing&&!this.is_pause_allowed?N.player_stop():N.player_play()}}},mK=["disabled"];function fK(e,t,n,r,o,s){const a=S("mdicon");return w(),$("a",{disabled:s.disabled,onClick:t[0]||(t[0]=(...i)=>s.toggle_play_pause&&s.toggle_play_pause(...i))},[y(a,{name:s.icon_name,size:n.icon_size,title:e.$t("player.button."+s.icon_name)},null,8,["name","size","title"])],8,mK)}const pK=oe(dK,[["render",fK]]),hK={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(){this.disabled||N.player_next()}}},_K=["disabled"];function gK(e,t,n,r,o,s){const a=S("mdicon");return w(),$("a",{disabled:s.disabled,onClick:t[0]||(t[0]=(...i)=>s.play_next&&s.play_next(...i))},[y(a,{name:"skip-forward",size:n.icon_size,title:e.$t("player.button.skip-forward")},null,8,["size","title"])],8,_K)}const yK=oe(hK,[["render",gK]]),vK={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(){this.disabled||N.player_previous()}}},bK=["disabled"];function zK(e,t,n,r,o,s){const a=S("mdicon");return w(),$("a",{disabled:s.disabled,onClick:t[0]||(t[0]=(...i)=>s.play_previous&&s.play_previous(...i))},[y(a,{name:"skip-backward",size:n.icon_size,title:e.$t("player.button.skip-backward")},null,8,["size","title"])],8,bK)}const CK=oe(vK,[["render",zK]]),wK={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(){N.player_shuffle(!this.is_shuffle)}}};function kK(e,t,n,r,o,s){const a=S("mdicon");return w(),$("a",{class:De({"is-info":s.is_shuffle}),onClick:t[0]||(t[0]=(...i)=>s.toggle_shuffle_mode&&s.toggle_shuffle_mode(...i))},[y(a,{class:"icon",name:s.icon_name,size:n.icon_size,title:e.$t("player.button."+s.icon_name)},null,8,["name","size","title"])],2)}const xK=oe(wK,[["render",kK]]),EK={name:"PlayerButtonConsume",props:{icon_size:{type:Number,default:16}},computed:{is_consume(){return this.$store.state.player.consume}},methods:{toggle_consume_mode(){N.player_consume(!this.is_consume)}}};function SK(e,t,n,r,o,s){const a=S("mdicon");return w(),$("a",{class:De({"is-info":s.is_consume}),onClick:t[0]||(t[0]=(...i)=>s.toggle_consume_mode&&s.toggle_consume_mode(...i))},[y(a,{class:"icon",name:"fire",size:n.icon_size,title:e.$t("player.button.consume")},null,8,["size","title"])],2)}const $K=oe(EK,[["render",SK]]),AK={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(){this.is_repeat_all?N.player_repeat("single"):this.is_repeat_single?N.player_repeat("off"):N.player_repeat("all")}}};function TK(e,t,n,r,o,s){const a=S("mdicon");return w(),$("a",{class:De({"is-info":!s.is_repeat_off}),onClick:t[0]||(t[0]=(...i)=>s.toggle_repeat_mode&&s.toggle_repeat_mode(...i))},[y(a,{class:"icon",name:s.icon_name,size:n.icon_size,title:e.$t("player.button."+s.icon_name)},null,8,["name","size","title"])],2)}const OK=oe(AK,[["render",TK]]),DK={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(){this.disabled||N.player_seek(this.seek_ms*-1)}}},PK=["disabled"];function IK(e,t,n,r,o,s){const a=S("mdicon");return s.visible?(w(),$("a",{key:0,disabled:s.disabled,onClick:t[0]||(t[0]=(...i)=>s.seek&&s.seek(...i))},[y(a,{name:"rewind-10",size:n.icon_size,title:e.$t("player.button.seek-backward")},null,8,["size","title"])],8,PK)):H("",!0)}const FK=oe(DK,[["render",IK]]),RK={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(){this.disabled||N.player_seek(this.seek_ms)}}},LK=["disabled"];function MK(e,t,n,r,o,s){const a=S("mdicon");return s.visible?(w(),$("a",{key:0,disabled:s.disabled,onClick:t[0]||(t[0]=(...i)=>s.seek&&s.seek(...i))},[y(a,{name:"fast-forward-30",size:n.icon_size,title:e.$t("player.button.seek-forward")},null,8,["size","title"])],8,LK)):H("",!0)}const NK=oe(RK,[["render",MK]]),BK={name:"NavbarBottom",components:{ControlSlider:rm,NavbarItemLink:Rb,NavbarItemOutput:cK,PlayerButtonPlayPause:pK,PlayerButtonNext:yK,PlayerButtonPrevious:CK,PlayerButtonShuffle:xK,PlayerButtonConsume:$K,PlayerButtonRepeat:OK,PlayerButtonSeekForward:NK,PlayerButtonSeekBack:FK},data(){return{cursor:eu,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(Qo,e)}},show_burger_menu(){return this.$store.state.show_burger_menu},zindex(){return this.show_burger_menu?"z-index: 20":""},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},change_volume(){N.player_volume(this.player.volume)},toggle_mute_volume(){this.player.volume=this.player.volume>0?0:this.old_volume,this.change_volume()},setupAudio(){const e=Os.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(){Os.stopAudio(),this.playing=!1},playChannel(){if(this.playing)return;const e="/stream.mp3";this.loading=!0,Os.playSource(e),Os.setVolume(this.stream_volume/100)},togglePlay(){if(!this.loading)return this.playing?this.closeAudio():this.playChannel()},change_stream_volume(){Os.setVolume(this.stream_volume/100)}}},VK={class:"navbar-dropdown is-right fd-width-auto"},HK={class:"navbar-item"},jK={class:"level is-mobile"},UK={class:"level-left is-flex-grow-1"},qK={class:"level-item is-flex-grow-0"},WK={class:"icon"},GK={class:"level-item"},KK=["textContent"],ZK=u("hr",{class:"my-3"},null,-1),YK=u("hr",{class:"my-3"},null,-1),JK={class:"navbar-item"},XK={class:"level is-mobile"},QK={class:"level-left is-flex-grow-1"},eZ={class:"level-item is-flex-grow-0"},tZ={class:"level-item"},nZ={class:"is-flex-grow-1"},rZ=["textContent"],oZ={href:"stream.mp3",class:"heading ml-2",target:"_blank"},sZ=u("hr",{class:"my-3"},null,-1),aZ={class:"navbar-item is-justify-content-center"},iZ={class:"level"},lZ={class:"level-item"},uZ={class:"buttons has-addons"},cZ={class:"navbar-brand is-flex-grow-1"},dZ={class:"fd-is-text-clipped"},mZ=["textContent"],fZ=u("br",null,null,-1),pZ=["textContent"],hZ=["textContent"],_Z=u("div",{class:"navbar-start"},null,-1),gZ={class:"navbar-end"},yZ={class:"navbar-item"},vZ={class:"buttons has-addons is-centered"},bZ=u("hr",{class:"my-3"},null,-1),zZ={class:"navbar-item"},CZ={class:"level is-mobile"},wZ={class:"level-left is-flex-grow-1"},kZ={class:"level-item is-flex-grow-0"},xZ={class:"level-item"},EZ={class:"is-flex-grow-1"},SZ=["textContent"],$Z=u("hr",{class:"my-3"},null,-1),AZ=u("hr",{class:"my-3"},null,-1),TZ={class:"navbar-item mb-5"},OZ={class:"level is-mobile"},DZ={class:"level-left is-flex-grow-1"},PZ={class:"level-item is-flex-grow-0"},IZ={class:"level-item"},FZ={class:"is-flex-grow-1"},RZ=["textContent"],LZ={href:"stream.mp3",class:"heading ml-2",target:"_blank"};function MZ(e,t,n,r,o,s){const a=S("mdicon"),i=S("control-slider"),l=S("navbar-item-output"),c=S("player-button-repeat"),d=S("player-button-shuffle"),f=S("player-button-consume"),m=S("navbar-item-link"),p=S("player-button-previous"),h=S("player-button-seek-back"),_=S("player-button-play-pause"),z=S("player-button-seek-forward"),b=S("player-button-next");return w(),$("nav",{class:De(["navbar is-block is-white is-fixed-bottom fd-bottom-navbar",{"is-transparent":s.is_now_playing_page,"is-dark":!s.is_now_playing_page}]),style:Cr(s.zindex),role:"navigation","aria-label":"player controls"},[u("div",{class:De(["navbar-item has-dropdown has-dropdown-up is-hidden-touch",{"is-active":s.show_player_menu}])},[u("div",VK,[u("div",HK,[u("div",jK,[u("div",UK,[u("div",qK,[u("a",{class:"button is-white is-small",onClick:t[0]||(t[0]=(...v)=>s.toggle_mute_volume&&s.toggle_mute_volume(...v))},[u("span",WK,[y(a,{name:s.player.volume>0?"volume-high":"volume-off",size:"18"},null,8,["name"])])])]),u("div",GK,[u("div",null,[u("p",{class:"heading",textContent:g(e.$t("navigation.volume"))},null,8,KK),y(i,{value:s.player.volume,"onUpdate:value":t[1]||(t[1]=v=>s.player.volume=v),max:100,onChange:s.change_volume},null,8,["value","onChange"])])])])])]),ZK,(w(!0),$(Te,null,ft(s.outputs,v=>(w(),be(l,{key:v.id,output:v},null,8,["output"]))),128)),YK,u("div",JK,[u("div",XK,[u("div",QK,[u("div",eZ,[u("a",{class:De(["button is-clickable is-white is-small",{"has-text-grey-light":!o.playing&&!o.loading,"is-loading":o.loading}]),onClick:t[2]||(t[2]=(...v)=>s.togglePlay&&s.togglePlay(...v))},[y(a,{class:"icon",name:"broadcast",size:"18"})],2)]),u("div",tZ,[u("div",nZ,[u("div",{class:De(["is-flex is-align-content-center",{"has-text-grey-light":!o.playing}])},[u("p",{class:"heading",textContent:g(e.$t("navigation.stream"))},null,8,rZ),u("a",oZ,[y(a,{class:"icon is-small",name:"open-in-new",size:"16"})])],2),y(i,{value:o.stream_volume,"onUpdate:value":t[3]||(t[3]=v=>o.stream_volume=v),disabled:!o.playing,max:100,cursor:o.cursor,onChange:s.change_stream_volume},null,8,["value","disabled","cursor","onChange"])])])])])]),sZ,u("div",aZ,[u("div",iZ,[u("div",lZ,[u("div",uZ,[y(c,{class:"button"}),y(d,{class:"button"}),y(f,{class:"button"})])])])])])],2),u("div",cZ,[y(m,{to:"/",exact:"",class:"mr-auto"},{default:E(()=>[y(a,{class:"icon",name:"playlist-play",size:"24"})]),_:1}),s.is_now_playing_page?H("",!0):(w(),be(m,{key:0,to:"/now-playing",exact:"",class:"navbar-item fd-is-text-clipped is-expanded is-clipped is-size-7"},{default:E(()=>[u("div",dZ,[u("strong",{textContent:g(s.now_playing.title)},null,8,mZ),fZ,u("span",{textContent:g(s.now_playing.artist)},null,8,pZ),s.now_playing.album?(w(),$("span",{key:0,textContent:g(e.$t("navigation.now-playing",{album:s.now_playing.album}))},null,8,hZ)):H("",!0)])]),_:1})),s.is_now_playing_page?(w(),be(p,{key:1,class:"navbar-item px-2",icon_size:24})):H("",!0),s.is_now_playing_page?(w(),be(h,{key:2,seek_ms:1e4,class:"navbar-item px-2",icon_size:24})):H("",!0),y(_,{class:"navbar-item px-2",icon_size:36,show_disabled_message:""}),s.is_now_playing_page?(w(),be(z,{key:3,seek_ms:3e4,class:"navbar-item px-2",icon_size:24})):H("",!0),s.is_now_playing_page?(w(),be(b,{key:4,class:"navbar-item px-2",icon_size:24})):H("",!0),u("a",{class:"navbar-item ml-auto",onClick:t[4]||(t[4]=v=>s.show_player_menu=!s.show_player_menu)},[y(a,{class:"icon",name:s.show_player_menu?"chevron-down":"chevron-up"},null,8,["name"])])]),u("div",{class:De(["navbar-menu is-hidden-desktop",{"is-active":s.show_player_menu}])},[_Z,u("div",gZ,[u("div",yZ,[u("div",vZ,[y(c,{class:"button"}),y(d,{class:"button"}),y(f,{class:"button"})])]),bZ,u("div",zZ,[u("div",CZ,[u("div",wZ,[u("div",kZ,[u("a",{class:"button is-white is-small",onClick:t[5]||(t[5]=(...v)=>s.toggle_mute_volume&&s.toggle_mute_volume(...v))},[y(a,{class:"icon",name:s.player.volume>0?"volume-high":"volume-off",size:"18"},null,8,["name"])])]),u("div",xZ,[u("div",EZ,[u("p",{class:"heading",textContent:g(e.$t("navigation.volume"))},null,8,SZ),y(i,{value:s.player.volume,"onUpdate:value":t[6]||(t[6]=v=>s.player.volume=v),max:100,onChange:s.change_volume},null,8,["value","onChange"])])])])])]),$Z,(w(!0),$(Te,null,ft(s.outputs,v=>(w(),be(l,{key:v.id,output:v},null,8,["output"]))),128)),AZ,u("div",TZ,[u("div",OZ,[u("div",DZ,[u("div",PZ,[u("a",{class:De(["button is-clickable is-white is-small",{"has-text-grey-light":!o.playing&&!o.loading,"is-loading":o.loading}]),onClick:t[7]||(t[7]=(...v)=>s.togglePlay&&s.togglePlay(...v))},[y(a,{class:"icon",name:"radio-tower",size:"16"})],2)]),u("div",IZ,[u("div",FZ,[u("div",{class:De(["is-flex is-align-content-center",{"has-text-grey-light":!o.playing}])},[u("p",{class:"heading",textContent:g(e.$t("navigation.stream"))},null,8,RZ),u("a",LZ,[y(a,{class:"icon is-small",name:"open-in-new",size:"16"})])],2),y(i,{value:o.stream_volume,"onUpdate:value":t[8]||(t[8]=v=>o.stream_volume=v),disabled:!o.playing,max:100,cursor:o.cursor,onChange:s.change_stream_volume},null,8,["value","disabled","cursor","onChange"])])])])])])])],2)],6)}const NZ=oe(BK,[["render",MZ]]);const BZ={name:"NotificationList",components:{},data(){return{showNav:!1}},computed:{notifications(){return this.$store.state.notifications.list}},methods:{remove(e){this.$store.commit(xc,e)}}},VZ={key:0,class:"fd-notifications"},HZ={class:"columns is-centered"},jZ={class:"column is-half"},UZ=["onClick"],qZ=["textContent"];function WZ(e,t,n,r,o,s){return s.notifications.length>0?(w(),$("section",VZ,[u("div",HZ,[u("div",jZ,[(w(!0),$(Te,null,ft(s.notifications,a=>(w(),$("div",{key:a.id,class:De(["notification has-shadow",["notification",a.type?`is-${a.type}`:""]])},[u("button",{class:"delete",onClick:i=>s.remove(a)},null,8,UZ),u("span",{textContent:g(a.text)},null,8,qZ)],2))),128))])])])):H("",!0)}const GZ=oe(BZ,[["render",WZ]]),KZ={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(){N.pairing_kickoff(this.pairing_req).then(()=>{this.pairing_req.pin=""})}}},ZZ={key:0,class:"modal is-active"},YZ={class:"modal-content fd-modal-card"},JZ={class:"card"},XZ={class:"card-content"},QZ=["textContent"],eY=["textContent"],tY={class:"field"},nY={class:"control"},rY=["placeholder"],oY={class:"card-footer is-clipped"},sY=["textContent"],aY=["textContent"];function iY(e,t,n,r,o,s){const a=S("mdicon");return w(),$("div",null,[y(Dt,{name:"fade"},{default:E(()=>[n.show?(w(),$("div",ZZ,[u("div",{class:"modal-background",onClick:t[0]||(t[0]=i=>e.$emit("close"))}),u("div",YZ,[u("div",JZ,[u("div",XZ,[u("p",{class:"title is-4",textContent:g(e.$t("dialog.remote-pairing.title"))},null,8,QZ),u("form",{onSubmit:t[2]||(t[2]=st((...i)=>s.kickoff_pairing&&s.kickoff_pairing(...i),["prevent"]))},[u("label",{class:"label",textContent:g(s.pairing.remote)},null,8,eY),u("div",tY,[u("div",nY,[bt(u("input",{ref:"pin_field","onUpdate:modelValue":t[1]||(t[1]=i=>o.pairing_req.pin=i),class:"input",type:"text",placeholder:e.$t("dialog.remote-pairing.pairing-code")},null,8,rY),[[sn,o.pairing_req.pin]])])])],32)]),u("footer",oY,[u("a",{class:"card-footer-item has-text-danger",onClick:t[3]||(t[3]=i=>e.$emit("close"))},[y(a,{class:"icon",name:"cancel",size:"16"}),u("span",{class:"is-size-7",textContent:g(e.$t("dialog.remote-pairing.cancel"))},null,8,sY)]),u("a",{class:"card-footer-item has-background-info has-text-white has-text-weight-bold",onClick:t[4]||(t[4]=(...i)=>s.kickoff_pairing&&s.kickoff_pairing(...i))},[y(a,{class:"icon",name:"cellphone",size:"16"}),u("span",{class:"is-size-7",textContent:g(e.$t("dialog.remote-pairing.pair"))},null,8,aY)])])])]),u("button",{class:"modal-close is-large","aria-label":"close",onClick:t[5]||(t[5]=i=>e.$emit("close"))})])):H("",!0)]),_:1})])}const lY=oe(KZ,[["render",iY]]),uY={name:"ModalDialogUpdate",components:{ModalDialog:im},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(qd,e)}}},methods:{update_library(){this.rescan_metadata?N.library_rescan(this.update_dialog_scan_kind):N.library_update(this.update_dialog_scan_kind)},close(){this.update_dialog_scan_kind="",this.$emit("close")}}},cY={key:0},dY=["textContent"],mY={key:0,class:"field"},fY={class:"control"},pY={class:"select is-small"},hY=["textContent"],_Y=["textContent"],gY=["textContent"],yY=["textContent"],vY={class:"field"},bY=["textContent"],zY={key:1},CY=["textContent"];function wY(e,t,n,r,o,s){const a=S("modal-dialog");return w(),be(a,{show:n.show,title:e.$t("dialog.update.title"),ok_action:s.library.updating?"":e.$t("dialog.update.rescan"),close_action:e.$t("dialog.update.cancel"),onOk:s.update_library,onClose:t[2]||(t[2]=i=>s.close())},{"modal-content":E(()=>[s.library.updating?(w(),$("div",zY,[u("p",{class:"mb-3",textContent:g(e.$t("dialog.update.progress"))},null,8,CY)])):(w(),$("div",cY,[u("p",{class:"mb-3",textContent:g(e.$t("dialog.update.info"))},null,8,dY),s.spotify_enabled||s.rss.tracks>0?(w(),$("div",mY,[u("div",fY,[u("div",pY,[bt(u("select",{"onUpdate:modelValue":t[0]||(t[0]=i=>s.update_dialog_scan_kind=i)},[u("option",{value:"",textContent:g(e.$t("dialog.update.all"))},null,8,hY),u("option",{value:"files",textContent:g(e.$t("dialog.update.local"))},null,8,_Y),s.spotify_enabled?(w(),$("option",{key:0,value:"spotify",textContent:g(e.$t("dialog.update.spotify"))},null,8,gY)):H("",!0),s.rss.tracks>0?(w(),$("option",{key:1,value:"rss",textContent:g(e.$t("dialog.update.feeds"))},null,8,yY)):H("",!0)],512),[[Ad,s.update_dialog_scan_kind]])])])])):H("",!0),u("div",vY,[bt(u("input",{id:"rescan","onUpdate:modelValue":t[1]||(t[1]=i=>o.rescan_metadata=i),type:"checkbox",class:"switch is-rounded is-small"},null,512),[[ar,o.rescan_metadata]]),u("label",{for:"rescan",textContent:g(e.$t("dialog.update.rescan-metadata"))},null,8,bY)])]))]),_:1},8,["show","title","ok_action","close_action","onOk"])}const kY=oe(uY,[["render",wY]]);var Lb={exports:{}};(function(e){(function(t,n){e.exports?e.exports=n():t.ReconnectingWebSocket=n()})(Zt,function(){if(!("WebSocket"in window))return;function t(n,r,o){var s={debug:!1,automaticOpen:!0,reconnectInterval:1e3,maxReconnectInterval:3e4,reconnectDecay:1.5,timeoutInterval:2e3,maxReconnectAttempts:null};o||(o={});for(var a in s)typeof o[a]<"u"?this[a]=o[a]:this[a]=s[a];this.url=n,this.reconnectAttempts=0,this.readyState=WebSocket.CONNECTING,this.protocol=null;var i=this,l,c=!1,d=!1,f=document.createElement("div");f.addEventListener("open",function(p){i.onopen(p)}),f.addEventListener("close",function(p){i.onclose(p)}),f.addEventListener("connecting",function(p){i.onconnecting(p)}),f.addEventListener("message",function(p){i.onmessage(p)}),f.addEventListener("error",function(p){i.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(i.url,r||[]),p){if(this.maxReconnectAttempts&&this.reconnectAttempts>this.maxReconnectAttempts)return}else f.dispatchEvent(m("connecting")),this.reconnectAttempts=0;(i.debug||t.debugAll)&&console.debug("ReconnectingWebSocket","attempt-connect",i.url);var h=l,_=setTimeout(function(){(i.debug||t.debugAll)&&console.debug("ReconnectingWebSocket","connection-timeout",i.url),d=!0,h.close(),d=!1},i.timeoutInterval);l.onopen=function(z){clearTimeout(_),(i.debug||t.debugAll)&&console.debug("ReconnectingWebSocket","onopen",i.url),i.protocol=l.protocol,i.readyState=WebSocket.OPEN,i.reconnectAttempts=0;var b=m("open");b.isReconnect=p,p=!1,f.dispatchEvent(b)},l.onclose=function(z){if(clearTimeout(v),l=null,c)i.readyState=WebSocket.CLOSED,f.dispatchEvent(m("close"));else{i.readyState=WebSocket.CONNECTING;var b=m("connecting");b.code=z.code,b.reason=z.reason,b.wasClean=z.wasClean,f.dispatchEvent(b),!p&&!d&&((i.debug||t.debugAll)&&console.debug("ReconnectingWebSocket","onclose",i.url),f.dispatchEvent(m("close")));var v=i.reconnectInterval*Math.pow(i.reconnectDecay,i.reconnectAttempts);setTimeout(function(){i.reconnectAttempts++,i.open(!0)},v>i.maxReconnectInterval?i.maxReconnectInterval:v)}},l.onmessage=function(z){(i.debug||t.debugAll)&&console.debug("ReconnectingWebSocket","onmessage",i.url,z.data);var b=m("message");b.data=z.data,f.dispatchEvent(b)},l.onerror=function(z){(i.debug||t.debugAll)&&console.debug("ReconnectingWebSocket","onerror",i.url,z),f.dispatchEvent(m("error"))}},this.automaticOpen==!0&&this.open(!1),this.send=function(p){if(l)return(i.debug||t.debugAll)&&console.debug("ReconnectingWebSocket","send",i.url,p),l.send(p);throw"INVALID_STATE_ERR : Pausing to reconnect websocket"},this.close=function(p,h){typeof p>"u"&&(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})})(Lb);var xY=Lb.exports;const EY=fs(xY),SY={name:"App",components:{NavbarTop:eK,NavbarBottom:NZ,NotificationList:GZ,ModalDialogRemotePairing:lY,ModalDialogUpdate:kY},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(Xo,e)}},show_player_menu:{get(){return this.$store.state.show_player_menu},set(e){this.$store.commit(Qo,e)}},show_update_dialog:{get(){return this.$store.state.show_update_dialog},set(e){this.$store.commit(Ta,e)}}},watch:{show_burger_menu(){this.update_is_clipped()},show_player_menu(){this.update_is_clipped()}},created(){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(){N.config().then(({data:e})=>{this.$store.commit(Sg,e),this.$store.commit(ql,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(){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 EY(n,"notify",{reconnectInterval:1e3,maxReconnectInterval:2e3});r.onopen=function(){e.reconnect_attempts=0,r.send(JSON.stringify({notify:["update","database","player","options","outputs","volume","queue","spotify","lastfm","pairing"]})),e.update_outputs(),e.update_player_status(),e.update_library_stats(),e.update_settings(),e.update_queue(),e.update_spotify(),e.update_lastfm(),e.update_pairing()},r.onclose=function(){};var o=!1;function s(){o||(e.update_outputs(),e.update_player_status(),e.update_library_stats(),e.update_settings(),e.update_queue(),e.update_spotify(),e.update_lastfm(),e.update_pairing(),o=!0,setTimeout(()=>{o=!1},500))}window.addEventListener("focus",s),document.addEventListener("visibilitychange",()=>{document.visibilityState==="visible"&&s()}),r.onmessage=function(a){const i=JSON.parse(a.data);(i.notify.includes("update")||i.notify.includes("database"))&&e.update_library_stats(),(i.notify.includes("player")||i.notify.includes("options")||i.notify.includes("volume"))&&e.update_player_status(),(i.notify.includes("outputs")||i.notify.includes("volume"))&&e.update_outputs(),i.notify.includes("queue")&&e.update_queue(),i.notify.includes("spotify")&&e.update_spotify(),i.notify.includes("lastfm")&&e.update_lastfm(),i.notify.includes("pairing")&&e.update_pairing()}},update_library_stats(){N.library_stats().then(({data:e})=>{this.$store.commit(Ag,e)}),N.library_count("media_kind is audiobook").then(({data:e})=>{this.$store.commit(Tg,e)}),N.library_count("media_kind is podcast").then(({data:e})=>{this.$store.commit(Og,e)}),N.library_count("scan_kind is rss").then(({data:e})=>{this.$store.commit(Dg,e)})},update_outputs(){N.outputs().then(({data:e})=>{this.$store.commit(Pg,e.outputs)})},update_player_status(){N.player_status().then(({data:e})=>{this.$store.commit(Bd,e)})},update_queue(){N.queue().then(({data:e})=>{this.$store.commit(Ig,e)})},update_settings(){N.settings().then(({data:e})=>{this.$store.commit($g,e)})},update_lastfm(){N.lastfm().then(({data:e})=>{this.$store.commit(Fg,e)})},update_spotify(){N.spotify().then(({data:e})=>{this.$store.commit(Rg,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(){N.pairing().then(({data:e})=>{this.$store.commit(Lg,e),this.pairing_active=e.active})},update_is_clipped(){this.show_burger_menu||this.show_player_menu?document.querySelector("html").classList.add("is-clipped"):document.querySelector("html").classList.remove("is-clipped")}},template:"<App/>"},$Y={id:"app"};function AY(e,t,n,r,o,s){const a=S("navbar-top"),i=S("vue-progress-bar"),l=S("router-view"),c=S("modal-dialog-remote-pairing"),d=S("modal-dialog-update"),f=S("notification-list"),m=S("navbar-bottom");return w(),$("div",$Y,[y(a),y(i,{class:"fd-progress-bar has-background-info"}),y(l,null,{default:E(({Component:p})=>[(w(),be(s_(p)))]),_:1}),y(c,{show:o.pairing_active,onClose:t[0]||(t[0]=p=>o.pairing_active=!1)},null,8,["show"]),y(d,{show:s.show_update_dialog,onClose:t[1]||(t[1]=p=>s.show_update_dialog=!1)},null,8,["show"]),bt(y(f,null,null,512),[[ha,!s.show_burger_menu]]),y(m),bt(u("div",{class:"fd-overlay-fullscreen",onClick:t[2]||(t[2]=p=>s.show_burger_menu=s.show_player_menu=!1)},null,512),[[ha,s.show_burger_menu||s.show_player_menu]])])}const TY=oe(SY,[["render",AY]]);const Mb=G_(TY).use(Ke).use(Tv).use(QU).use(tq).use(fq,{log:!1}).use(hq).use(wq,{icons:kG}).use(Hl);Mb.config.globalProperties.$filters=wG;Mb.mount("#app");