owntone-server/htdocs/assets/index.js
2023-12-27 16:26:33 +00:00

40 lines
827 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 s of document.querySelectorAll('link[rel="modulepreload"]'))r(s);new MutationObserver(s=>{for(const o of s)if(o.type==="childList")for(const a of o.addedNodes)a.tagName==="LINK"&&a.rel==="modulepreload"&&r(a)}).observe(document,{childList:!0,subtree:!0});function n(s){const o={};return s.integrity&&(o.integrity=s.integrity),s.referrerPolicy&&(o.referrerPolicy=s.referrerPolicy),s.crossOrigin==="use-credentials"?o.credentials="include":s.crossOrigin==="anonymous"?o.credentials="omit":o.credentials="same-origin",o}function r(s){if(s.ep)return;s.ep=!0;const o=n(s);fetch(s.href,o)}})();const Bh="UPDATE_CONFIG",Uh="UPDATE_SETTINGS",Ol="UPDATE_SETTINGS_OPTION",jh="UPDATE_LIBRARY_STATS",qh="UPDATE_LIBRARY_RSS_COUNT",Wh="UPDATE_OUTPUTS",hd="UPDATE_PLAYER_STATUS",Kh="UPDATE_QUEUE",uc="UPDATE_LYRICS",Gh="UPDATE_LASTFM",Zh="UPDATE_SPOTIFY",Yh="UPDATE_PAIRING",_d="SPOTIFY_NEW_RELEASES",gd="SPOTIFY_FEATURED_PLAYLISTS",Um="ADD_NOTIFICATION",cc="DELETE_NOTIFICATION",dc="SEARCH_SOURCE",yd="ADD_RECENT_SEARCH",Jh="COMPOSER_TRACKS_SORT",Xh="GENRE_TRACKS_SORT",Dl="HIDE_SINGLES",ka="HIDE_SPOTIFY",Qh="ARTISTS_SORT",e_="ARTIST_ALBUMS_SORT",t_="ARTIST_TRACKS_SORT",n_="ALBUMS_SORT",r_="SHOW_ONLY_NEXT_ITEMS",Qs="SHOW_BURGER_MENU",eo="SHOW_PLAYER_MENU",xa="SHOW_UPDATE_DIALOG",vd="UPDATE_DIALOG_SCAN_KIND";function Pl(e,t){const n=Object.create(null),r=e.split(",");for(let s=0;s<r.length;s++)n[r[s]]=!0;return t?s=>!!n[s.toLowerCase()]:s=>!!n[s]}const dt={},Ws=[],or=()=>{},cb=()=>!1,Ea=e=>e.charCodeAt(0)===111&&e.charCodeAt(1)===110&&(e.charCodeAt(2)>122||e.charCodeAt(2)<97),bd=e=>e.startsWith("onUpdate:"),zt=Object.assign,zd=(e,t)=>{const n=e.indexOf(t);n>-1&&e.splice(n,1)},db=Object.prototype.hasOwnProperty,tt=(e,t)=>db.call(e,t),be=Array.isArray,Ks=e=>fo(e)==="[object Map]",ks=e=>fo(e)==="[object Set]",jm=e=>fo(e)==="[object Date]",mb=e=>fo(e)==="[object RegExp]",De=e=>typeof e=="function",Ct=e=>typeof e=="string",qr=e=>typeof e=="symbol",mt=e=>e!==null&&typeof e=="object",Cd=e=>(mt(e)||De(e))&&De(e.then)&&De(e.catch),s_=Object.prototype.toString,fo=e=>s_.call(e),fb=e=>fo(e).slice(8,-1),o_=e=>fo(e)==="[object Object]",wd=e=>Ct(e)&&e!=="NaN"&&e[0]!=="-"&&""+parseInt(e,10)===e,qo=Pl(",key,ref,ref_for,ref_key,onVnodeBeforeMount,onVnodeMounted,onVnodeBeforeUpdate,onVnodeUpdated,onVnodeBeforeUnmount,onVnodeUnmounted"),Il=e=>{const t=Object.create(null);return n=>t[n]||(t[n]=e(n))},pb=/-(\w)/g,dn=Il(e=>e.replace(pb,(t,n)=>n?n.toUpperCase():"")),hb=/\B([A-Z])/g,Sn=Il(e=>e.replace(hb,"-$1").toLowerCase()),Sa=Il(e=>e.charAt(0).toUpperCase()+e.slice(1)),Wo=Il(e=>e?`on${Sa(e)}`:""),Wr=(e,t)=>!Object.is(e,t),Gs=(e,t)=>{for(let n=0;n<e.length;n++)e[n](t)},ol=(e,t,n)=>{Object.defineProperty(e,t,{configurable:!0,enumerable:!1,value:n})},al=e=>{const t=parseFloat(e);return isNaN(t)?e:t},il=e=>{const t=Ct(e)?Number(e):NaN;return isNaN(t)?e:t};let qm;const mc=()=>qm||(qm=typeof globalThis<"u"?globalThis:typeof self<"u"?self:typeof window<"u"?window:typeof global<"u"?global:{}),_b="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",gb=Pl(_b);function Qr(e){if(be(e)){const t={};for(let n=0;n<e.length;n++){const r=e[n],s=Ct(r)?zb(r):Qr(r);if(s)for(const o in s)t[o]=s[o]}return t}else if(Ct(e)||mt(e))return e}const yb=/;(?![^(]*\))/g,vb=/:([^]+)/,bb=/\/\*[^]*?\*\//g;function zb(e){const t={};return e.replace(bb,"").split(yb).forEach(n=>{if(n){const r=n.split(vb);r.length>1&&(t[r[0].trim()]=r[1].trim())}}),t}function Ee(e){let t="";if(Ct(e))t=e;else if(be(e))for(let n=0;n<e.length;n++){const r=Ee(e[n]);r&&(t+=r+" ")}else if(mt(e))for(const n in e)e[n]&&(t+=n+" ");return t.trim()}function Ro(e){if(!e)return null;let{class:t,style:n}=e;return t&&!Ct(t)&&(e.class=Ee(t)),n&&(e.style=Qr(n)),e}const Cb="itemscope,allowfullscreen,formnovalidate,ismap,nomodule,novalidate,readonly",wb=Pl(Cb);function a_(e){return!!e||e===""}function kb(e,t){if(e.length!==t.length)return!1;let n=!0;for(let r=0;n&&r<e.length;r++)n=Kr(e[r],t[r]);return n}function Kr(e,t){if(e===t)return!0;let n=jm(e),r=jm(t);if(n||r)return n&&r?e.getTime()===t.getTime():!1;if(n=qr(e),r=qr(t),n||r)return e===t;if(n=be(e),r=be(t),n||r)return n&&r?kb(e,t):!1;if(n=mt(e),r=mt(t),n||r){if(!n||!r)return!1;const s=Object.keys(e).length,o=Object.keys(t).length;if(s!==o)return!1;for(const a in e){const i=e.hasOwnProperty(a),l=t.hasOwnProperty(a);if(i&&!l||!i&&l||!Kr(e[a],t[a]))return!1}}return String(e)===String(t)}function Fl(e,t){return e.findIndex(n=>Kr(n,t))}const g=e=>Ct(e)?e:e==null?"":be(e)||mt(e)&&(e.toString===s_||!De(e.toString))?JSON.stringify(e,i_,2):String(e),i_=(e,t)=>t&&t.__v_isRef?i_(e,t.value):Ks(t)?{[`Map(${t.size})`]:[...t.entries()].reduce((n,[r,s],o)=>(n[bu(r,o)+" =>"]=s,n),{})}:ks(t)?{[`Set(${t.size})`]:[...t.values()].map(n=>bu(n))}:qr(t)?bu(t):mt(t)&&!be(t)&&!o_(t)?String(t):t,bu=(e,t="")=>{var n;return qr(e)?`Symbol(${(n=e.description)!=null?n:t})`:e};let gn;class kd{constructor(t=!1){this.detached=t,this._active=!0,this.effects=[],this.cleanups=[],this.parent=gn,!t&&gn&&(this.index=(gn.scopes||(gn.scopes=[])).push(this)-1)}get active(){return this._active}run(t){if(this._active){const n=gn;try{return gn=this,t()}finally{gn=n}}}on(){gn=this}off(){gn=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 s=this.parent.scopes.pop();s&&s!==this&&(this.parent.scopes[this.index]=s,s.index=this.index)}this.parent=void 0,this._active=!1}}}function xd(e){return new kd(e)}function l_(e,t=gn){t&&t.active&&t.effects.push(e)}function u_(){return gn}function xb(e){gn&&gn.cleanups.push(e)}const Ed=e=>{const t=new Set(e);return t.w=0,t.n=0,t},c_=e=>(e.w&Gr)>0,d_=e=>(e.n&Gr)>0,Eb=({deps:e})=>{if(e.length)for(let t=0;t<e.length;t++)e[t].w|=Gr},Sb=e=>{const{deps:t}=e;if(t.length){let n=0;for(let r=0;r<t.length;r++){const s=t[r];c_(s)&&!d_(s)?s.delete(e):t[n++]=s,s.w&=~Gr,s.n&=~Gr}t.length=n}},ll=new WeakMap;let Lo=0,Gr=1;const fc=30;let Un;const hs=Symbol(""),pc=Symbol("");class to{constructor(t,n=null,r){this.fn=t,this.scheduler=n,this.active=!0,this.deps=[],this.parent=void 0,l_(this,r)}run(){if(!this.active)return this.fn();let t=Un,n=Ur;for(;t;){if(t===this)return;t=t.parent}try{return this.parent=Un,Un=this,Ur=!0,Gr=1<<++Lo,Lo<=fc?Eb(this):Wm(this),this.fn()}finally{Lo<=fc&&Sb(this),Gr=1<<--Lo,Un=this.parent,Ur=n,this.parent=void 0,this.deferStop&&this.stop()}}stop(){Un===this?this.deferStop=!0:this.active&&(Wm(this),this.onStop&&this.onStop(),this.active=!1)}}function Wm(e){const{deps:t}=e;if(t.length){for(let n=0;n<t.length;n++)t[n].delete(e);t.length=0}}function $b(e,t){e.effect instanceof to&&(e=e.effect.fn);const n=new to(e);t&&(zt(n,t),t.scope&&l_(n,t.scope)),(!t||!t.lazy)&&n.run();const r=n.run.bind(n);return r.effect=n,r}function Ab(e){e.effect.stop()}let Ur=!0;const m_=[];function po(){m_.push(Ur),Ur=!1}function ho(){const e=m_.pop();Ur=e===void 0?!0:e}function mn(e,t,n){if(Ur&&Un){let r=ll.get(e);r||ll.set(e,r=new Map);let s=r.get(n);s||r.set(n,s=Ed()),f_(s)}}function f_(e,t){let n=!1;Lo<=fc?d_(e)||(e.n|=Gr,n=!c_(e)):n=!e.has(Un),n&&(e.add(Un),Un.deps.push(e))}function gr(e,t,n,r,s,o){const a=ll.get(e);if(!a)return;let i=[];if(t==="clear")i=[...a.values()];else if(n==="length"&&be(e)){const l=Number(r);a.forEach((c,m)=>{(m==="length"||!qr(m)&&m>=l)&&i.push(c)})}else switch(n!==void 0&&i.push(a.get(n)),t){case"add":be(e)?wd(n)&&i.push(a.get("length")):(i.push(a.get(hs)),Ks(e)&&i.push(a.get(pc)));break;case"delete":be(e)||(i.push(a.get(hs)),Ks(e)&&i.push(a.get(pc)));break;case"set":Ks(e)&&i.push(a.get(hs));break}if(i.length===1)i[0]&&hc(i[0]);else{const l=[];for(const c of i)c&&l.push(...c);hc(Ed(l))}}function hc(e,t){const n=be(e)?e:[...e];for(const r of n)r.computed&&Km(r);for(const r of n)r.computed||Km(r)}function Km(e,t){(e!==Un||e.allowRecurse)&&(e.scheduler?e.scheduler():e.run())}function Tb(e,t){var n;return(n=ll.get(e))==null?void 0:n.get(t)}const Ob=Pl("__proto__,__v_isRef,__isVue"),p_=new Set(Object.getOwnPropertyNames(Symbol).filter(e=>e!=="arguments"&&e!=="caller").map(e=>Symbol[e]).filter(qr)),Gm=Db();function Db(){const e={};return["includes","indexOf","lastIndexOf"].forEach(t=>{e[t]=function(...n){const r=Ye(this);for(let o=0,a=this.length;o<a;o++)mn(r,"get",o+"");const s=r[t](...n);return s===-1||s===!1?r[t](...n.map(Ye)):s}}),["push","pop","shift","unshift","splice"].forEach(t=>{e[t]=function(...n){po();const r=Ye(this)[t].apply(this,n);return ho(),r}}),e}function Pb(e){const t=Ye(this);return mn(t,"has",e),t.hasOwnProperty(e)}class h_{constructor(t=!1,n=!1){this._isReadonly=t,this._shallow=n}get(t,n,r){const s=this._isReadonly,o=this._shallow;if(n==="__v_isReactive")return!s;if(n==="__v_isReadonly")return s;if(n==="__v_isShallow")return o;if(n==="__v_raw")return r===(s?o?z_:b_:o?v_:y_).get(t)||Object.getPrototypeOf(t)===Object.getPrototypeOf(r)?t:void 0;const a=be(t);if(!s){if(a&&tt(Gm,n))return Reflect.get(Gm,n,r);if(n==="hasOwnProperty")return Pb}const i=Reflect.get(t,n,r);return(qr(n)?p_.has(n):Ob(n))||(s||mn(t,"get",n),o)?i:Vt(i)?a&&wd(n)?i:i.value:mt(i)?s?Ad(i):_o(i):i}}class __ extends h_{constructor(t=!1){super(!1,t)}set(t,n,r,s){let o=t[n];if(!this._shallow){const l=zs(o);if(!la(r)&&!zs(r)&&(o=Ye(o),r=Ye(r)),!be(t)&&Vt(o)&&!Vt(r))return l?!1:(o.value=r,!0)}const a=be(t)&&wd(n)?Number(n)<t.length:tt(t,n),i=Reflect.set(t,n,r,s);return t===Ye(s)&&(a?Wr(r,o)&&gr(t,"set",n,r):gr(t,"add",n,r)),i}deleteProperty(t,n){const r=tt(t,n);t[n];const s=Reflect.deleteProperty(t,n);return s&&r&&gr(t,"delete",n,void 0),s}has(t,n){const r=Reflect.has(t,n);return(!qr(n)||!p_.has(n))&&mn(t,"has",n),r}ownKeys(t){return mn(t,"iterate",be(t)?"length":hs),Reflect.ownKeys(t)}}class g_ extends h_{constructor(t=!1){super(!0,t)}set(t,n){return!0}deleteProperty(t,n){return!0}}const Ib=new __,Fb=new g_,Rb=new __(!0),Lb=new g_(!0),Sd=e=>e,Rl=e=>Reflect.getPrototypeOf(e);function ja(e,t,n=!1,r=!1){e=e.__v_raw;const s=Ye(e),o=Ye(t);n||(Wr(t,o)&&mn(s,"get",t),mn(s,"get",o));const{has:a}=Rl(s),i=r?Sd:n?Dd:ua;if(a.call(s,t))return i(e.get(t));if(a.call(s,o))return i(e.get(o));e!==s&&e.get(t)}function qa(e,t=!1){const n=this.__v_raw,r=Ye(n),s=Ye(e);return t||(Wr(e,s)&&mn(r,"has",e),mn(r,"has",s)),e===s?n.has(e):n.has(e)||n.has(s)}function Wa(e,t=!1){return e=e.__v_raw,!t&&mn(Ye(e),"iterate",hs),Reflect.get(e,"size",e)}function Zm(e){e=Ye(e);const t=Ye(this);return Rl(t).has.call(t,e)||(t.add(e),gr(t,"add",e,e)),this}function Ym(e,t){t=Ye(t);const n=Ye(this),{has:r,get:s}=Rl(n);let o=r.call(n,e);o||(e=Ye(e),o=r.call(n,e));const a=s.call(n,e);return n.set(e,t),o?Wr(t,a)&&gr(n,"set",e,t):gr(n,"add",e,t),this}function Jm(e){const t=Ye(this),{has:n,get:r}=Rl(t);let s=n.call(t,e);s||(e=Ye(e),s=n.call(t,e)),r&&r.call(t,e);const o=t.delete(e);return s&&gr(t,"delete",e,void 0),o}function Xm(){const e=Ye(this),t=e.size!==0,n=e.clear();return t&&gr(e,"clear",void 0,void 0),n}function Ka(e,t){return function(r,s){const o=this,a=o.__v_raw,i=Ye(a),l=t?Sd:e?Dd:ua;return!e&&mn(i,"iterate",hs),a.forEach((c,m)=>r.call(s,l(c),l(m),o))}}function Ga(e,t,n){return function(...r){const s=this.__v_raw,o=Ye(s),a=Ks(o),i=e==="entries"||e===Symbol.iterator&&a,l=e==="keys"&&a,c=s[e](...r),m=n?Sd:t?Dd:ua;return!t&&mn(o,"iterate",l?pc:hs),{next(){const{value:d,done:f}=c.next();return f?{value:d,done:f}:{value:i?[m(d[0]),m(d[1])]:m(d),done:f}},[Symbol.iterator](){return this}}}}function xr(e){return function(...t){return e==="delete"?!1:e==="clear"?void 0:this}}function Nb(){const e={get(o){return ja(this,o)},get size(){return Wa(this)},has:qa,add:Zm,set:Ym,delete:Jm,clear:Xm,forEach:Ka(!1,!1)},t={get(o){return ja(this,o,!1,!0)},get size(){return Wa(this)},has:qa,add:Zm,set:Ym,delete:Jm,clear:Xm,forEach:Ka(!1,!0)},n={get(o){return ja(this,o,!0)},get size(){return Wa(this,!0)},has(o){return qa.call(this,o,!0)},add:xr("add"),set:xr("set"),delete:xr("delete"),clear:xr("clear"),forEach:Ka(!0,!1)},r={get(o){return ja(this,o,!0,!0)},get size(){return Wa(this,!0)},has(o){return qa.call(this,o,!0)},add:xr("add"),set:xr("set"),delete:xr("delete"),clear:xr("clear"),forEach:Ka(!0,!0)};return["keys","values","entries",Symbol.iterator].forEach(o=>{e[o]=Ga(o,!1,!1),n[o]=Ga(o,!0,!1),t[o]=Ga(o,!1,!0),r[o]=Ga(o,!0,!0)}),[e,n,t,r]}const[Mb,Vb,Hb,Bb]=Nb();function Ll(e,t){const n=t?e?Bb:Hb:e?Vb:Mb;return(r,s,o)=>s==="__v_isReactive"?!e:s==="__v_isReadonly"?e:s==="__v_raw"?r:Reflect.get(tt(n,s)&&s in r?n:r,s,o)}const Ub={get:Ll(!1,!1)},jb={get:Ll(!1,!0)},qb={get:Ll(!0,!1)},Wb={get:Ll(!0,!0)},y_=new WeakMap,v_=new WeakMap,b_=new WeakMap,z_=new WeakMap;function Kb(e){switch(e){case"Object":case"Array":return 1;case"Map":case"Set":case"WeakMap":case"WeakSet":return 2;default:return 0}}function Gb(e){return e.__v_skip||!Object.isExtensible(e)?0:Kb(fb(e))}function _o(e){return zs(e)?e:Nl(e,!1,Ib,Ub,y_)}function $d(e){return Nl(e,!1,Rb,jb,v_)}function Ad(e){return Nl(e,!0,Fb,qb,b_)}function Zb(e){return Nl(e,!0,Lb,Wb,z_)}function Nl(e,t,n,r,s){if(!mt(e)||e.__v_raw&&!(t&&e.__v_isReactive))return e;const o=s.get(e);if(o)return o;const a=Gb(e);if(a===0)return e;const i=new Proxy(e,a===2?r:n);return s.set(e,i),i}function _s(e){return zs(e)?_s(e.__v_raw):!!(e&&e.__v_isReactive)}function zs(e){return!!(e&&e.__v_isReadonly)}function la(e){return!!(e&&e.__v_isShallow)}function Td(e){return _s(e)||zs(e)}function Ye(e){const t=e&&e.__v_raw;return t?Ye(t):e}function Od(e){return ol(e,"__v_skip",!0),e}const ua=e=>mt(e)?_o(e):e,Dd=e=>mt(e)?Ad(e):e;function Pd(e){Ur&&Un&&(e=Ye(e),f_(e.dep||(e.dep=Ed())))}function Ml(e,t){e=Ye(e);const n=e.dep;n&&hc(n)}function Vt(e){return!!(e&&e.__v_isRef===!0)}function Xt(e){return w_(e,!1)}function C_(e){return w_(e,!0)}function w_(e,t){return Vt(e)?e:new Yb(e,t)}class Yb{constructor(t,n){this.__v_isShallow=n,this.dep=void 0,this.__v_isRef=!0,this._rawValue=n?t:Ye(t),this._value=n?t:ua(t)}get value(){return Pd(this),this._value}set value(t){const n=this.__v_isShallow||la(t)||zs(t);t=n?t:Ye(t),Wr(t,this._rawValue)&&(this._rawValue=t,this._value=n?t:ua(t),Ml(this))}}function Jb(e){Ml(e)}function vn(e){return Vt(e)?e.value:e}function Xb(e){return De(e)?e():vn(e)}const Qb={get:(e,t,n)=>vn(Reflect.get(e,t,n)),set:(e,t,n,r)=>{const s=e[t];return Vt(s)&&!Vt(n)?(s.value=n,!0):Reflect.set(e,t,n,r)}};function Id(e){return _s(e)?e:new Proxy(e,Qb)}class ez{constructor(t){this.dep=void 0,this.__v_isRef=!0;const{get:n,set:r}=t(()=>Pd(this),()=>Ml(this));this._get=n,this._set=r}get value(){return this._get()}set value(t){this._set(t)}}function tz(e){return new ez(e)}function nz(e){const t=be(e)?new Array(e.length):{};for(const n in e)t[n]=k_(e,n);return t}class rz{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 Tb(Ye(this._object),this._key)}}class sz{constructor(t){this._getter=t,this.__v_isRef=!0,this.__v_isReadonly=!0}get value(){return this._getter()}}function oz(e,t,n){return Vt(e)?e:De(e)?new sz(e):mt(e)&&arguments.length>1?k_(e,t,n):Xt(e)}function k_(e,t,n){const r=e[t];return Vt(r)?r:new rz(e,t,n)}class az{constructor(t,n,r,s){this._setter=n,this.dep=void 0,this.__v_isRef=!0,this.__v_isReadonly=!1,this._dirty=!0,this.effect=new to(t,()=>{this._dirty||(this._dirty=!0,Ml(this))}),this.effect.computed=this,this.effect.active=this._cacheable=!s,this.__v_isReadonly=r}get value(){const t=Ye(this);return Pd(t),(t._dirty||!t._cacheable)&&(t._dirty=!1,t._value=t.effect.run()),t._value}set value(t){this._setter(t)}}function iz(e,t,n=!1){let r,s;const o=De(e);return o?(r=e,s=or):(r=e.get,s=e.set),new az(r,s,o||!s,n)}function lz(e,...t){}function uz(e,t){}function yr(e,t,n,r){let s;try{s=r?e(...r):e()}catch(o){xs(o,t,n)}return s}function bn(e,t,n,r){if(De(e)){const o=yr(e,t,n,r);return o&&Cd(o)&&o.catch(a=>{xs(a,t,n)}),o}const s=[];for(let o=0;o<e.length;o++)s.push(bn(e[o],t,n,r));return s}function xs(e,t,n,r=!0){const s=t?t.vnode:null;if(t){let o=t.parent;const a=t.proxy,i=n;for(;o;){const c=o.ec;if(c){for(let m=0;m<c.length;m++)if(c[m](e,a,i)===!1)return}o=o.parent}const l=t.appContext.config.errorHandler;if(l){yr(l,null,10,[e,a,i]);return}}cz(e,n,s,r)}function cz(e,t,n,r=!0){console.error(e)}let ca=!1,_c=!1;const qt=[];let tr=0;const Zs=[];let pr=null,ds=0;const x_=Promise.resolve();let Fd=null;function $a(e){const t=Fd||x_;return e?t.then(this?e.bind(this):e):t}function dz(e){let t=tr+1,n=qt.length;for(;t<n;){const r=t+n>>>1,s=qt[r],o=da(s);o<e||o===e&&s.pre?t=r+1:n=r}return t}function Vl(e){(!qt.length||!qt.includes(e,ca&&e.allowRecurse?tr+1:tr))&&(e.id==null?qt.push(e):qt.splice(dz(e.id),0,e),E_())}function E_(){!ca&&!_c&&(_c=!0,Fd=x_.then(S_))}function mz(e){const t=qt.indexOf(e);t>tr&&qt.splice(t,1)}function ul(e){be(e)?Zs.push(...e):(!pr||!pr.includes(e,e.allowRecurse?ds+1:ds))&&Zs.push(e),E_()}function Qm(e,t,n=ca?tr+1:0){for(;n<qt.length;n++){const r=qt[n];if(r&&r.pre){if(e&&r.id!==e.uid)continue;qt.splice(n,1),n--,r()}}}function cl(e){if(Zs.length){const t=[...new Set(Zs)];if(Zs.length=0,pr){pr.push(...t);return}for(pr=t,pr.sort((n,r)=>da(n)-da(r)),ds=0;ds<pr.length;ds++)pr[ds]();pr=null,ds=0}}const da=e=>e.id==null?1/0:e.id,fz=(e,t)=>{const n=da(e)-da(t);if(n===0){if(e.pre&&!t.pre)return-1;if(t.pre&&!e.pre)return 1}return n};function S_(e){_c=!1,ca=!0,qt.sort(fz);try{for(tr=0;tr<qt.length;tr++){const t=qt[tr];t&&t.active!==!1&&yr(t,null,14)}}finally{tr=0,qt.length=0,cl(),ca=!1,Fd=null,(qt.length||Zs.length)&&S_()}}let Ns,Za=[];function $_(e,t){var n,r;Ns=e,Ns?(Ns.enabled=!0,Za.forEach(({event:s,args:o})=>Ns.emit(s,...o)),Za=[]):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(o=>{$_(o,t)}),setTimeout(()=>{Ns||(t.__VUE_DEVTOOLS_HOOK_REPLAY__=null,Za=[])},3e3)):Za=[]}function pz(e,t,...n){if(e.isUnmounted)return;const r=e.vnode.props||dt;let s=n;const o=t.startsWith("update:"),a=o&&t.slice(7);if(a&&a in r){const m=`${a==="modelValue"?"model":a}Modifiers`,{number:d,trim:f}=r[m]||dt;f&&(s=n.map(p=>Ct(p)?p.trim():p)),d&&(s=n.map(al))}let i,l=r[i=Wo(t)]||r[i=Wo(dn(t))];!l&&o&&(l=r[i=Wo(Sn(t))]),l&&bn(l,e,6,s);const c=r[i+"Once"];if(c){if(!e.emitted)e.emitted={};else if(e.emitted[i])return;e.emitted[i]=!0,bn(c,e,6,s)}}function A_(e,t,n=!1){const r=t.emitsCache,s=r.get(e);if(s!==void 0)return s;const o=e.emits;let a={},i=!1;if(!De(e)){const l=c=>{const m=A_(c,t,!0);m&&(i=!0,zt(a,m))};!n&&t.mixins.length&&t.mixins.forEach(l),e.extends&&l(e.extends),e.mixins&&e.mixins.forEach(l)}return!o&&!i?(mt(e)&&r.set(e,null),null):(be(o)?o.forEach(l=>a[l]=null):zt(a,o),mt(e)&&r.set(e,a),a)}function Hl(e,t){return!e||!Ea(t)?!1:(t=t.slice(2).replace(/Once$/,""),tt(e,t[0].toLowerCase()+t.slice(1))||tt(e,Sn(t))||tt(e,t))}let Mt=null,Bl=null;function ma(e){const t=Mt;return Mt=e,Bl=e&&e.type.__scopeId||null,t}function hz(e){Bl=e}function _z(){Bl=null}const gz=e=>x;function x(e,t=Mt,n){if(!t||e._n)return e;const r=(...s)=>{r._d&&wc(-1);const o=ma(t);let a;try{a=e(...s)}finally{ma(o),r._d&&wc(1)}return a};return r._n=!0,r._c=!0,r._d=!0,r}function Ki(e){const{type:t,vnode:n,proxy:r,withProxy:s,props:o,propsOptions:[a],slots:i,attrs:l,emit:c,render:m,renderCache:d,data:f,setupState:p,ctx:h,inheritAttrs:_}=e;let b,w;const C=ma(e);try{if(n.shapeFlag&4){const v=s||r,S=v;b=yn(m.call(S,v,d,o,p,f,h)),w=l}else{const v=t;b=yn(v.length>1?v(o,{attrs:l,slots:i,emit:c}):v(o,null)),w=t.props?l:vz(l)}}catch(v){Yo.length=0,xs(v,e,1),b=y(Gt)}let z=b;if(w&&_!==!1){const v=Object.keys(w),{shapeFlag:S}=z;v.length&&S&7&&(a&&v.some(bd)&&(w=bz(w,a)),z=ir(z,w))}return n.dirs&&(z=ir(z),z.dirs=z.dirs?z.dirs.concat(n.dirs):n.dirs),n.transition&&(z.transition=n.transition),b=z,ma(C),b}function yz(e){let t;for(let n=0;n<e.length;n++){const r=e[n];if(Yr(r)){if(r.type!==Gt||r.children==="v-if"){if(t)return;t=r}}else return}return t}const vz=e=>{let t;for(const n in e)(n==="class"||n==="style"||Ea(n))&&((t||(t={}))[n]=e[n]);return t},bz=(e,t)=>{const n={};for(const r in e)(!bd(r)||!(r.slice(9)in t))&&(n[r]=e[r]);return n};function zz(e,t,n){const{props:r,children:s,component:o}=e,{props:a,children:i,patchFlag:l}=t,c=o.emitsOptions;if(t.dirs||t.transition)return!0;if(n&&l>=0){if(l&1024)return!0;if(l&16)return r?ef(r,a,c):!!a;if(l&8){const m=t.dynamicProps;for(let d=0;d<m.length;d++){const f=m[d];if(a[f]!==r[f]&&!Hl(c,f))return!0}}}else return(s||i)&&(!i||!i.$stable)?!0:r===a?!1:r?a?ef(r,a,c):!0:!!a;return!1}function ef(e,t,n){const r=Object.keys(t);if(r.length!==Object.keys(e).length)return!0;for(let s=0;s<r.length;s++){const o=r[s];if(t[o]!==e[o]&&!Hl(n,o))return!0}return!1}function Rd({vnode:e,parent:t},n){for(;t&&t.subTree===e;)(e=t.vnode).el=n,t=t.parent}const Ld="components",Cz="directives";function E(e,t){return Md(Ld,e,!0,t)||e}const T_=Symbol.for("v-ndc");function O_(e){return Ct(e)?Md(Ld,e,!1)||e:e||T_}function Nd(e){return Md(Cz,e)}function Md(e,t,n=!0,r=!1){const s=Mt||Pt;if(s){const o=s.type;if(e===Ld){const i=Ec(o,!1);if(i&&(i===t||i===dn(t)||i===Sa(dn(t))))return o}const a=tf(s[e]||o[e],t)||tf(s.appContext[e],t);return!a&&r?o:a}}function tf(e,t){return e&&(e[t]||e[dn(t)]||e[Sa(dn(t))])}const D_=e=>e.__isSuspense,wz={name:"Suspense",__isSuspense:!0,process(e,t,n,r,s,o,a,i,l,c){e==null?xz(t,n,r,s,o,a,i,l,c):Ez(e,t,n,r,s,a,i,l,c)},hydrate:Sz,create:Vd,normalize:$z},kz=wz;function fa(e,t){const n=e.props&&e.props[t];De(n)&&n()}function xz(e,t,n,r,s,o,a,i,l){const{p:c,o:{createElement:m}}=l,d=m("div"),f=e.suspense=Vd(e,s,r,t,d,n,o,a,i,l);c(null,f.pendingBranch=e.ssContent,d,null,r,f,o,a),f.deps>0?(fa(e,"onPending"),fa(e,"onFallback"),c(null,e.ssFallback,t,n,r,null,o,a),Ys(f,e.ssFallback)):f.resolve(!1,!0)}function Ez(e,t,n,r,s,o,a,i,{p:l,um:c,o:{createElement:m}}){const d=t.suspense=e.suspense;d.vnode=t,t.el=e.el;const f=t.ssContent,p=t.ssFallback,{activeBranch:h,pendingBranch:_,isInFallback:b,isHydrating:w}=d;if(_)d.pendingBranch=f,jn(f,_)?(l(_,f,d.hiddenContainer,null,s,d,o,a,i),d.deps<=0?d.resolve():b&&(l(h,p,n,r,s,null,o,a,i),Ys(d,p))):(d.pendingId++,w?(d.isHydrating=!1,d.activeBranch=_):c(_,s,d),d.deps=0,d.effects.length=0,d.hiddenContainer=m("div"),b?(l(null,f,d.hiddenContainer,null,s,d,o,a,i),d.deps<=0?d.resolve():(l(h,p,n,r,s,null,o,a,i),Ys(d,p))):h&&jn(f,h)?(l(h,f,n,r,s,d,o,a,i),d.resolve(!0)):(l(null,f,d.hiddenContainer,null,s,d,o,a,i),d.deps<=0&&d.resolve()));else if(h&&jn(f,h))l(h,f,n,r,s,d,o,a,i),Ys(d,f);else if(fa(t,"onPending"),d.pendingBranch=f,d.pendingId++,l(null,f,d.hiddenContainer,null,s,d,o,a,i),d.deps<=0)d.resolve();else{const{timeout:C,pendingId:z}=d;C>0?setTimeout(()=>{d.pendingId===z&&d.fallback(p)},C):C===0&&d.fallback(p)}}function Vd(e,t,n,r,s,o,a,i,l,c,m=!1){const{p:d,m:f,um:p,n:h,o:{parentNode:_,remove:b}}=c;let w;const C=Az(e);C&&t!=null&&t.pendingBranch&&(w=t.pendingId,t.deps++);const z=e.props?il(e.props.timeout):void 0,v={vnode:e,parent:t,parentComponent:n,isSVG:a,container:r,hiddenContainer:s,anchor:o,deps:0,pendingId:0,timeout:typeof z=="number"?z:-1,activeBranch:null,pendingBranch:null,isInFallback:!m,isHydrating:m,isUnmounted:!1,effects:[],resolve(S=!1,A=!1){const{vnode:D,activeBranch:F,pendingBranch:P,pendingId:M,effects:Z,parentComponent:W,container:U}=v;let Q=!1;if(v.isHydrating)v.isHydrating=!1;else if(!S){Q=F&&P.transition&&P.transition.mode==="out-in",Q&&(F.transition.afterLeave=()=>{M===v.pendingId&&(f(P,U,h(F),0),ul(Z))});let{anchor:re}=v;F&&(re=h(F),p(F,W,v,!0)),Q||f(P,U,re,0)}Ys(v,P),v.pendingBranch=null,v.isInFallback=!1;let me=v.parent,K=!1;for(;me;){if(me.pendingBranch){me.effects.push(...Z),K=!0;break}me=me.parent}!K&&!Q&&ul(Z),v.effects=[],C&&t&&t.pendingBranch&&w===t.pendingId&&(t.deps--,t.deps===0&&!A&&t.resolve()),fa(D,"onResolve")},fallback(S){if(!v.pendingBranch)return;const{vnode:A,activeBranch:D,parentComponent:F,container:P,isSVG:M}=v;fa(A,"onFallback");const Z=h(D),W=()=>{v.isInFallback&&(d(null,S,P,Z,F,null,M,i,l),Ys(v,S))},U=S.transition&&S.transition.mode==="out-in";U&&(D.transition.afterLeave=W),v.isInFallback=!0,p(D,F,null,!0),U||W()},move(S,A,D){v.activeBranch&&f(v.activeBranch,S,A,D),v.container=S},next(){return v.activeBranch&&h(v.activeBranch)},registerDep(S,A){const D=!!v.pendingBranch;D&&v.deps++;const F=S.vnode.el;S.asyncDep.catch(P=>{xs(P,S,0)}).then(P=>{if(S.isUnmounted||v.isUnmounted||v.pendingId!==S.suspenseId)return;S.asyncResolved=!0;const{vnode:M}=S;kc(S,P,!1),F&&(M.el=F);const Z=!F&&S.subTree.el;A(S,M,_(F||S.subTree.el),F?null:h(S.subTree),v,a,l),Z&&b(Z),Rd(S,M.el),D&&--v.deps===0&&v.resolve()})},unmount(S,A){v.isUnmounted=!0,v.activeBranch&&p(v.activeBranch,n,S,A),v.pendingBranch&&p(v.pendingBranch,n,S,A)}};return v}function Sz(e,t,n,r,s,o,a,i,l){const c=t.suspense=Vd(t,r,n,e.parentNode,document.createElement("div"),null,s,o,a,i,!0),m=l(e,c.pendingBranch=t.ssContent,n,c,o,a);return c.deps===0&&c.resolve(!1,!0),m}function $z(e){const{shapeFlag:t,children:n}=e,r=t&32;e.ssContent=nf(r?n.default:n),e.ssFallback=r?nf(n.fallback):y(Gt)}function nf(e){let t;if(De(e)){const n=ws&&e._c;n&&(e._d=!1,k()),e=e(),n&&(e._d=!0,t=un,lg())}return be(e)&&(e=yz(e)),e=yn(e),t&&!e.dynamicChildren&&(e.dynamicChildren=t.filter(n=>n!==e)),e}function P_(e,t){t&&t.pendingBranch?be(e)?t.effects.push(...e):t.effects.push(e):ul(e)}function Ys(e,t){e.activeBranch=t;const{vnode:n,parentComponent:r}=e,s=n.el=t.el;r&&r.subTree===n&&(r.vnode.el=s,Rd(r,s))}function Az(e){var t;return((t=e.props)==null?void 0:t.suspensible)!=null&&e.props.suspensible!==!1}function I_(e,t){return Aa(e,null,t)}function F_(e,t){return Aa(e,null,{flush:"post"})}function Tz(e,t){return Aa(e,null,{flush:"sync"})}const Ya={};function en(e,t,n){return Aa(e,t,n)}function Aa(e,t,{immediate:n,deep:r,flush:s,onTrack:o,onTrigger:a}=dt){var i;const l=u_()===((i=Pt)==null?void 0:i.scope)?Pt:null;let c,m=!1,d=!1;if(Vt(e)?(c=()=>e.value,m=la(e)):_s(e)?(c=()=>e,r=!0):be(e)?(d=!0,m=e.some(v=>_s(v)||la(v)),c=()=>e.map(v=>{if(Vt(v))return v.value;if(_s(v))return fs(v);if(De(v))return yr(v,l,2)})):De(e)?t?c=()=>yr(e,l,2):c=()=>{if(!(l&&l.isUnmounted))return f&&f(),bn(e,l,3,[p])}:c=or,t&&r){const v=c;c=()=>fs(v())}let f,p=v=>{f=C.onStop=()=>{yr(v,l,4),f=C.onStop=void 0}},h;if(ro)if(p=or,t?n&&bn(t,l,3,[c(),d?[]:void 0,p]):c(),s==="sync"){const v=yg();h=v.__watcherHandles||(v.__watcherHandles=[])}else return or;let _=d?new Array(e.length).fill(Ya):Ya;const b=()=>{if(C.active)if(t){const v=C.run();(r||m||(d?v.some((S,A)=>Wr(S,_[A])):Wr(v,_)))&&(f&&f(),bn(t,l,3,[v,_===Ya?void 0:d&&_[0]===Ya?[]:_,p]),_=v)}else C.run()};b.allowRecurse=!!t;let w;s==="sync"?w=b:s==="post"?w=()=>Ut(b,l&&l.suspense):(b.pre=!0,l&&(b.id=l.uid),w=()=>Vl(b));const C=new to(c,w);t?n?b():_=C.run():s==="post"?Ut(C.run.bind(C),l&&l.suspense):C.run();const z=()=>{C.stop(),l&&l.scope&&zd(l.scope.effects,C)};return h&&h.push(z),z}function Oz(e,t,n){const r=this.proxy,s=Ct(e)?e.includes(".")?R_(r,e):()=>r[e]:e.bind(r,r);let o;De(t)?o=t:(o=t.handler,n=t);const a=Pt;Jr(this);const i=Aa(s,o.bind(r),n);return a?Jr(a):jr(),i}function R_(e,t){const n=t.split(".");return()=>{let r=e;for(let s=0;s<n.length&&r;s++)r=r[n[s]];return r}}function fs(e,t){if(!mt(e)||e.__v_skip||(t=t||new Set,t.has(e)))return e;if(t.add(e),Vt(e))fs(e.value,t);else if(be(e))for(let n=0;n<e.length;n++)fs(e[n],t);else if(ks(e)||Ks(e))e.forEach(n=>{fs(n,t)});else if(o_(e))for(const n in e)fs(e[n],t);return e}function gt(e,t){const n=Mt;if(n===null)return e;const r=Gl(n)||n.proxy,s=e.dirs||(e.dirs=[]);for(let o=0;o<t.length;o++){let[a,i,l,c=dt]=t[o];a&&(De(a)&&(a={mounted:a,updated:a}),a.deep&&fs(i),s.push({dir:a,instance:r,value:i,oldValue:void 0,arg:l,modifiers:c}))}return e}function er(e,t,n,r){const s=e.dirs,o=t&&t.dirs;for(let a=0;a<s.length;a++){const i=s[a];o&&(i.oldValue=o[a].value);let l=i.dir[r];l&&(po(),bn(l,n,8,[e.el,i,e,t]),ho())}}const Fr=Symbol("_leaveCb"),Ja=Symbol("_enterCb");function Hd(){const e={isMounted:!1,isLeaving:!1,isUnmounting:!1,leavingVNodes:new Map};return go(()=>{e.isMounted=!0}),Wl(()=>{e.isUnmounting=!0}),e}const wn=[Function,Array],Bd={mode:String,appear:Boolean,persisted:Boolean,onBeforeEnter:wn,onEnter:wn,onAfterEnter:wn,onEnterCancelled:wn,onBeforeLeave:wn,onLeave:wn,onAfterLeave:wn,onLeaveCancelled:wn,onBeforeAppear:wn,onAppear:wn,onAfterAppear:wn,onAppearCancelled:wn},Dz={name:"BaseTransition",props:Bd,setup(e,{slots:t}){const n=Fn(),r=Hd();let s;return()=>{const o=t.default&&Ul(t.default(),!0);if(!o||!o.length)return;let a=o[0];if(o.length>1){for(const _ of o)if(_.type!==Gt){a=_;break}}const i=Ye(e),{mode:l}=i;if(r.isLeaving)return zu(a);const c=rf(a);if(!c)return zu(a);const m=no(c,i,r,n);Cs(c,m);const d=n.subTree,f=d&&rf(d);let p=!1;const{getTransitionKey:h}=c.type;if(h){const _=h();s===void 0?s=_:_!==s&&(s=_,p=!0)}if(f&&f.type!==Gt&&(!jn(c,f)||p)){const _=no(f,i,r,n);if(Cs(f,_),l==="out-in")return r.isLeaving=!0,_.afterLeave=()=>{r.isLeaving=!1,n.update.active!==!1&&n.update()},zu(a);l==="in-out"&&c.type!==Gt&&(_.delayLeave=(b,w,C)=>{const z=N_(r,f);z[String(f.key)]=f,b[Fr]=()=>{w(),b[Fr]=void 0,delete m.delayedLeave},m.delayedLeave=C})}return a}}},L_=Dz;function N_(e,t){const{leavingVNodes:n}=e;let r=n.get(t.type);return r||(r=Object.create(null),n.set(t.type,r)),r}function no(e,t,n,r){const{appear:s,mode:o,persisted:a=!1,onBeforeEnter:i,onEnter:l,onAfterEnter:c,onEnterCancelled:m,onBeforeLeave:d,onLeave:f,onAfterLeave:p,onLeaveCancelled:h,onBeforeAppear:_,onAppear:b,onAfterAppear:w,onAppearCancelled:C}=t,z=String(e.key),v=N_(n,e),S=(F,P)=>{F&&bn(F,r,9,P)},A=(F,P)=>{const M=P[1];S(F,P),be(F)?F.every(Z=>Z.length<=1)&&M():F.length<=1&&M()},D={mode:o,persisted:a,beforeEnter(F){let P=i;if(!n.isMounted)if(s)P=_||i;else return;F[Fr]&&F[Fr](!0);const M=v[z];M&&jn(e,M)&&M.el[Fr]&&M.el[Fr](),S(P,[F])},enter(F){let P=l,M=c,Z=m;if(!n.isMounted)if(s)P=b||l,M=w||c,Z=C||m;else return;let W=!1;const U=F[Ja]=Q=>{W||(W=!0,Q?S(Z,[F]):S(M,[F]),D.delayedLeave&&D.delayedLeave(),F[Ja]=void 0)};P?A(P,[F,U]):U()},leave(F,P){const M=String(e.key);if(F[Ja]&&F[Ja](!0),n.isUnmounting)return P();S(d,[F]);let Z=!1;const W=F[Fr]=U=>{Z||(Z=!0,P(),U?S(h,[F]):S(p,[F]),F[Fr]=void 0,v[M]===e&&delete v[M])};v[M]=e,f?A(f,[F,W]):W()},clone(F){return no(F,t,n,r)}};return D}function zu(e){if(Ta(e))return e=ir(e),e.children=null,e}function rf(e){return Ta(e)?e.children?e.children[0]:void 0:e}function Cs(e,t){e.shapeFlag&6&&e.component?Cs(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 Ul(e,t=!1,n){let r=[],s=0;for(let o=0;o<e.length;o++){let a=e[o];const i=n==null?a.key:String(n)+String(a.key!=null?a.key:o);a.type===we?(a.patchFlag&128&&s++,r=r.concat(Ul(a.children,t,i))):(t||a.type!==Gt)&&r.push(i!=null?ir(a,{key:i}):a)}if(s>1)for(let o=0;o<r.length;o++)r[o].patchFlag=-2;return r}/*! #__NO_SIDE_EFFECTS__ */function Cr(e,t){return De(e)?zt({name:e.name},t,{setup:e}):e}const gs=e=>!!e.type.__asyncLoader;/*! #__NO_SIDE_EFFECTS__ */function Pz(e){De(e)&&(e={loader:e});const{loader:t,loadingComponent:n,errorComponent:r,delay:s=200,timeout:o,suspensible:a=!0,onError:i}=e;let l=null,c,m=0;const d=()=>(m++,l=null,f()),f=()=>{let p;return l||(p=l=t().catch(h=>{if(h=h instanceof Error?h:new Error(String(h)),i)return new Promise((_,b)=>{i(h,()=>_(d()),()=>b(h),m+1)});throw h}).then(h=>p!==l&&l?l:(h&&(h.__esModule||h[Symbol.toStringTag]==="Module")&&(h=h.default),c=h,h)))};return Cr({name:"AsyncComponentWrapper",__asyncLoader:f,get __asyncResolved(){return c},setup(){const p=Pt;if(c)return()=>Cu(c,p);const h=C=>{l=null,xs(C,p,13,!r)};if(a&&p.suspense||ro)return f().then(C=>()=>Cu(C,p)).catch(C=>(h(C),()=>r?y(r,{error:C}):null));const _=Xt(!1),b=Xt(),w=Xt(!!s);return s&&setTimeout(()=>{w.value=!1},s),o!=null&&setTimeout(()=>{if(!_.value&&!b.value){const C=new Error(`Async component timed out after ${o}ms.`);h(C),b.value=C}},o),f().then(()=>{_.value=!0,p.parent&&Ta(p.parent.vnode)&&Vl(p.parent.update)}).catch(C=>{h(C),b.value=C}),()=>{if(_.value&&c)return Cu(c,p);if(b.value&&r)return y(r,{error:b.value});if(n&&!w.value)return y(n)}}})}function Cu(e,t){const{ref:n,props:r,children:s,ce:o}=t.vnode,a=y(e,r,s);return a.ref=n,a.ce=o,delete t.vnode.ce,a}const Ta=e=>e.type.__isKeepAlive,Iz={name:"KeepAlive",__isKeepAlive:!0,props:{include:[String,RegExp,Array],exclude:[String,RegExp,Array],max:[String,Number]},setup(e,{slots:t}){const n=Fn(),r=n.ctx;if(!r.renderer)return()=>{const C=t.default&&t.default();return C&&C.length===1?C[0]:C};const s=new Map,o=new Set;let a=null;const i=n.suspense,{renderer:{p:l,m:c,um:m,o:{createElement:d}}}=r,f=d("div");r.activate=(C,z,v,S,A)=>{const D=C.component;c(C,z,v,0,i),l(D.vnode,C,z,v,D,i,S,C.slotScopeIds,A),Ut(()=>{D.isDeactivated=!1,D.a&&Gs(D.a);const F=C.props&&C.props.onVnodeMounted;F&&on(F,D.parent,C)},i)},r.deactivate=C=>{const z=C.component;c(C,f,null,1,i),Ut(()=>{z.da&&Gs(z.da);const v=C.props&&C.props.onVnodeUnmounted;v&&on(v,z.parent,C),z.isDeactivated=!0},i)};function p(C){wu(C),m(C,n,i,!0)}function h(C){s.forEach((z,v)=>{const S=Ec(z.type);S&&(!C||!C(S))&&_(v)})}function _(C){const z=s.get(C);!a||!jn(z,a)?p(z):a&&wu(a),s.delete(C),o.delete(C)}en(()=>[e.include,e.exclude],([C,z])=>{C&&h(v=>No(C,v)),z&&h(v=>!No(z,v))},{flush:"post",deep:!0});let b=null;const w=()=>{b!=null&&s.set(b,ku(n.subTree))};return go(w),ql(w),Wl(()=>{s.forEach(C=>{const{subTree:z,suspense:v}=n,S=ku(z);if(C.type===S.type&&C.key===S.key){wu(S);const A=S.component.da;A&&Ut(A,v);return}p(C)})}),()=>{if(b=null,!t.default)return null;const C=t.default(),z=C[0];if(C.length>1)return a=null,C;if(!Yr(z)||!(z.shapeFlag&4)&&!(z.shapeFlag&128))return a=null,z;let v=ku(z);const S=v.type,A=Ec(gs(v)?v.type.__asyncResolved||{}:S),{include:D,exclude:F,max:P}=e;if(D&&(!A||!No(D,A))||F&&A&&No(F,A))return a=v,z;const M=v.key==null?S:v.key,Z=s.get(M);return v.el&&(v=ir(v),z.shapeFlag&128&&(z.ssContent=v)),b=M,Z?(v.el=Z.el,v.component=Z.component,v.transition&&Cs(v,v.transition),v.shapeFlag|=512,o.delete(M),o.add(M)):(o.add(M),P&&o.size>parseInt(P,10)&&_(o.values().next().value)),v.shapeFlag|=256,a=v,D_(z.type)?z:v}}},Fz=Iz;function No(e,t){return be(e)?e.some(n=>No(n,t)):Ct(e)?e.split(",").includes(t):mb(e)?e.test(t):!1}function M_(e,t){H_(e,"a",t)}function V_(e,t){H_(e,"da",t)}function H_(e,t,n=Pt){const r=e.__wdc||(e.__wdc=()=>{let s=n;for(;s;){if(s.isDeactivated)return;s=s.parent}return e()});if(jl(t,r,n),n){let s=n.parent;for(;s&&s.parent;)Ta(s.parent.vnode)&&Rz(r,t,n,s),s=s.parent}}function Rz(e,t,n,r){const s=jl(t,e,r,!0);Oa(()=>{zd(r[t],s)},n)}function wu(e){e.shapeFlag&=-257,e.shapeFlag&=-513}function ku(e){return e.shapeFlag&128?e.ssContent:e}function jl(e,t,n=Pt,r=!1){if(n){const s=n[e]||(n[e]=[]),o=t.__weh||(t.__weh=(...a)=>{if(n.isUnmounted)return;po(),Jr(n);const i=bn(t,n,e,a);return jr(),ho(),i});return r?s.unshift(o):s.push(o),o}}const wr=e=>(t,n=Pt)=>(!ro||e==="sp")&&jl(e,(...r)=>t(...r),n),B_=wr("bm"),go=wr("m"),U_=wr("bu"),ql=wr("u"),Wl=wr("bum"),Oa=wr("um"),j_=wr("sp"),q_=wr("rtg"),W_=wr("rtc");function K_(e,t=Pt){jl("ec",e,t)}function lt(e,t,n,r){let s;const o=n&&n[r];if(be(e)||Ct(e)){s=new Array(e.length);for(let a=0,i=e.length;a<i;a++)s[a]=t(e[a],a,void 0,o&&o[a])}else if(typeof e=="number"){s=new Array(e);for(let a=0;a<e;a++)s[a]=t(a+1,a,void 0,o&&o[a])}else if(mt(e))if(e[Symbol.iterator])s=Array.from(e,(a,i)=>t(a,i,void 0,o&&o[i]));else{const a=Object.keys(e);s=new Array(a.length);for(let i=0,l=a.length;i<l;i++){const c=a[i];s[i]=t(e[c],c,i,o&&o[i])}}else s=[];return n&&(n[r]=s),s}function Da(e,t){for(let n=0;n<t.length;n++){const r=t[n];if(be(r))for(let s=0;s<r.length;s++)e[r[s].name]=r[s].fn;else r&&(e[r.name]=r.key?(...s)=>{const o=r.fn(...s);return o&&(o.key=r.key),o}:r.fn)}return e}function st(e,t,n={},r,s){if(Mt.isCE||Mt.parent&&gs(Mt.parent)&&Mt.parent.isCE)return t!=="default"&&(n.name=t),y("slot",n,r&&r());let o=e[t];o&&o._c&&(o._d=!1),k();const a=o&&G_(o(n)),i=he(we,{key:n.key||a&&a.key||`_${t}`},a||(r?r():[]),a&&e._===1?64:-2);return!s&&i.scopeId&&(i.slotScopeIds=[i.scopeId+"-s"]),o&&o._c&&(o._d=!0),i}function G_(e){return e.some(t=>Yr(t)?!(t.type===Gt||t.type===we&&!G_(t.children)):!0)?e:null}function Lz(e,t){const n={};for(const r in e)n[t&&/[A-Z]/.test(r)?`on:${r}`:Wo(r)]=e[r];return n}const gc=e=>e?fg(e)?Gl(e)||e.proxy:gc(e.parent):null,Ko=zt(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=>gc(e.parent),$root:e=>gc(e.root),$emit:e=>e.emit,$options:e=>Ud(e),$forceUpdate:e=>e.f||(e.f=()=>Vl(e.update)),$nextTick:e=>e.n||(e.n=$a.bind(e.proxy)),$watch:e=>Oz.bind(e)}),xu=(e,t)=>e!==dt&&!e.__isScriptSetup&&tt(e,t),yc={get({_:e},t){const{ctx:n,setupState:r,data:s,props:o,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 s[t];case 4:return n[t];case 3:return o[t]}else{if(xu(r,t))return a[t]=1,r[t];if(s!==dt&&tt(s,t))return a[t]=2,s[t];if((c=e.propsOptions[0])&&tt(c,t))return a[t]=3,o[t];if(n!==dt&&tt(n,t))return a[t]=4,n[t];vc&&(a[t]=0)}}const m=Ko[t];let d,f;if(m)return t==="$attrs"&&mn(e,"get",t),m(e);if((d=i.__cssModules)&&(d=d[t]))return d;if(n!==dt&&tt(n,t))return a[t]=4,n[t];if(f=l.config.globalProperties,tt(f,t))return f[t]},set({_:e},t,n){const{data:r,setupState:s,ctx:o}=e;return xu(s,t)?(s[t]=n,!0):r!==dt&&tt(r,t)?(r[t]=n,!0):tt(e.props,t)||t[0]==="$"&&t.slice(1)in e?!1:(o[t]=n,!0)},has({_:{data:e,setupState:t,accessCache:n,ctx:r,appContext:s,propsOptions:o}},a){let i;return!!n[a]||e!==dt&&tt(e,a)||xu(t,a)||(i=o[0])&&tt(i,a)||tt(r,a)||tt(Ko,a)||tt(s.config.globalProperties,a)},defineProperty(e,t,n){return n.get!=null?e._.accessCache[t]=0:tt(n,"value")&&this.set(e,t,n.value,null),Reflect.defineProperty(e,t,n)}},Nz=zt({},yc,{get(e,t){if(t!==Symbol.unscopables)return yc.get(e,t,e)},has(e,t){return t[0]!=="_"&&!gb(t)}});function Mz(){return null}function Vz(){return null}function Hz(e){}function Bz(e){}function Uz(){return null}function jz(){}function qz(e,t){return null}function Wz(){return Z_().slots}function Kz(){return Z_().attrs}function Gz(e,t,n){const r=Fn();if(n&&n.local){const s=Xt(e[t]);return en(()=>e[t],o=>s.value=o),en(s,o=>{o!==e[t]&&r.emit(`update:${t}`,o)}),s}else return{__v_isRef:!0,get value(){return e[t]},set value(s){r.emit(`update:${t}`,s)}}}function Z_(){const e=Fn();return e.setupContext||(e.setupContext=_g(e))}function pa(e){return be(e)?e.reduce((t,n)=>(t[n]=null,t),{}):e}function Zz(e,t){const n=pa(e);for(const r in t){if(r.startsWith("__skip"))continue;let s=n[r];s?be(s)||De(s)?s=n[r]={type:s,default:t[r]}:s.default=t[r]:s===null&&(s=n[r]={default:t[r]}),s&&t[`__skip_${r}`]&&(s.skipFactory=!0)}return n}function Yz(e,t){return!e||!t?e||t:be(e)&&be(t)?e.concat(t):zt({},pa(e),pa(t))}function Jz(e,t){const n={};for(const r in e)t.includes(r)||Object.defineProperty(n,r,{enumerable:!0,get:()=>e[r]});return n}function Xz(e){const t=Fn();let n=e();return jr(),Cd(n)&&(n=n.catch(r=>{throw Jr(t),r})),[n,()=>Jr(t)]}let vc=!0;function Qz(e){const t=Ud(e),n=e.proxy,r=e.ctx;vc=!1,t.beforeCreate&&sf(t.beforeCreate,e,"bc");const{data:s,computed:o,methods:a,watch:i,provide:l,inject:c,created:m,beforeMount:d,mounted:f,beforeUpdate:p,updated:h,activated:_,deactivated:b,beforeDestroy:w,beforeUnmount:C,destroyed:z,unmounted:v,render:S,renderTracked:A,renderTriggered:D,errorCaptured:F,serverPrefetch:P,expose:M,inheritAttrs:Z,components:W,directives:U,filters:Q}=t;if(c&&e0(c,r,null),a)for(const re in a){const oe=a[re];De(oe)&&(r[re]=oe.bind(n))}if(s){const re=s.call(n,n);mt(re)&&(e.data=_o(re))}if(vc=!0,o)for(const re in o){const oe=o[re],Fe=De(oe)?oe.bind(n,n):De(oe.get)?oe.get.bind(n,n):or,at=!De(oe)&&De(oe.set)?oe.set.bind(n):or,Ge=Lt({get:Fe,set:at});Object.defineProperty(r,re,{enumerable:!0,configurable:!0,get:()=>Ge.value,set:je=>Ge.value=je})}if(i)for(const re in i)Y_(i[re],r,n,re);if(l){const re=De(l)?l.call(n):l;Reflect.ownKeys(re).forEach(oe=>{Go(oe,re[oe])})}m&&sf(m,e,"c");function K(re,oe){be(oe)?oe.forEach(Fe=>re(Fe.bind(n))):oe&&re(oe.bind(n))}if(K(B_,d),K(go,f),K(U_,p),K(ql,h),K(M_,_),K(V_,b),K(K_,F),K(W_,A),K(q_,D),K(Wl,C),K(Oa,v),K(j_,P),be(M))if(M.length){const re=e.exposed||(e.exposed={});M.forEach(oe=>{Object.defineProperty(re,oe,{get:()=>n[oe],set:Fe=>n[oe]=Fe})})}else e.exposed||(e.exposed={});S&&e.render===or&&(e.render=S),Z!=null&&(e.inheritAttrs=Z),W&&(e.components=W),U&&(e.directives=U)}function e0(e,t,n=or){be(e)&&(e=bc(e));for(const r in e){const s=e[r];let o;mt(s)?"default"in s?o=Wn(s.from||r,s.default,!0):o=Wn(s.from||r):o=Wn(s),Vt(o)?Object.defineProperty(t,r,{enumerable:!0,configurable:!0,get:()=>o.value,set:a=>o.value=a}):t[r]=o}}function sf(e,t,n){bn(be(e)?e.map(r=>r.bind(t.proxy)):e.bind(t.proxy),t,n)}function Y_(e,t,n,r){const s=r.includes(".")?R_(n,r):()=>n[r];if(Ct(e)){const o=t[e];De(o)&&en(s,o)}else if(De(e))en(s,e.bind(n));else if(mt(e))if(be(e))e.forEach(o=>Y_(o,t,n,r));else{const o=De(e.handler)?e.handler.bind(n):t[e.handler];De(o)&&en(s,o,e)}}function Ud(e){const t=e.type,{mixins:n,extends:r}=t,{mixins:s,optionsCache:o,config:{optionMergeStrategies:a}}=e.appContext,i=o.get(t);let l;return i?l=i:!s.length&&!n&&!r?l=t:(l={},s.length&&s.forEach(c=>dl(l,c,a,!0)),dl(l,t,a)),mt(t)&&o.set(t,l),l}function dl(e,t,n,r=!1){const{mixins:s,extends:o}=t;o&&dl(e,o,n,!0),s&&s.forEach(a=>dl(e,a,n,!0));for(const a in t)if(!(r&&a==="expose")){const i=t0[a]||n&&n[a];e[a]=i?i(e[a],t[a]):t[a]}return e}const t0={data:of,props:af,emits:af,methods:Mo,computed:Mo,beforeCreate:Yt,created:Yt,beforeMount:Yt,mounted:Yt,beforeUpdate:Yt,updated:Yt,beforeDestroy:Yt,beforeUnmount:Yt,destroyed:Yt,unmounted:Yt,activated:Yt,deactivated:Yt,errorCaptured:Yt,serverPrefetch:Yt,components:Mo,directives:Mo,watch:r0,provide:of,inject:n0};function of(e,t){return t?e?function(){return zt(De(e)?e.call(this,this):e,De(t)?t.call(this,this):t)}:t:e}function n0(e,t){return Mo(bc(e),bc(t))}function bc(e){if(be(e)){const t={};for(let n=0;n<e.length;n++)t[e[n]]=e[n];return t}return e}function Yt(e,t){return e?[...new Set([].concat(e,t))]:t}function Mo(e,t){return e?zt(Object.create(null),e,t):t}function af(e,t){return e?be(e)&&be(t)?[...new Set([...e,...t])]:zt(Object.create(null),pa(e),pa(t??{})):t}function r0(e,t){if(!e)return t;if(!t)return e;const n=zt(Object.create(null),e);for(const r in t)n[r]=Yt(e[r],t[r]);return n}function J_(){return{app:null,config:{isNativeTag:cb,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 s0=0;function o0(e,t){return function(r,s=null){De(r)||(r=zt({},r)),s!=null&&!mt(s)&&(s=null);const o=J_(),a=new WeakSet;let i=!1;const l=o.app={_uid:s0++,_component:r,_props:s,_container:null,_context:o,_instance:null,version:bg,get config(){return o.config},set config(c){},use(c,...m){return a.has(c)||(c&&De(c.install)?(a.add(c),c.install(l,...m)):De(c)&&(a.add(c),c(l,...m))),l},mixin(c){return o.mixins.includes(c)||o.mixins.push(c),l},component(c,m){return m?(o.components[c]=m,l):o.components[c]},directive(c,m){return m?(o.directives[c]=m,l):o.directives[c]},mount(c,m,d){if(!i){const f=y(r,s);return f.appContext=o,m&&t?t(f,c):e(f,c,d),i=!0,l._container=c,c.__vue_app__=l,Gl(f.component)||f.component.proxy}},unmount(){i&&(e(null,l._container),delete l._container.__vue_app__)},provide(c,m){return o.provides[c]=m,l},runWithContext(c){ha=l;try{return c()}finally{ha=null}}};return l}}let ha=null;function Go(e,t){if(Pt){let n=Pt.provides;const r=Pt.parent&&Pt.parent.provides;r===n&&(n=Pt.provides=Object.create(r)),n[e]=t}}function Wn(e,t,n=!1){const r=Pt||Mt;if(r||ha){const s=r?r.parent==null?r.vnode.appContext&&r.vnode.appContext.provides:r.parent.provides:ha._context.provides;if(s&&e in s)return s[e];if(arguments.length>1)return n&&De(t)?t.call(r&&r.proxy):t}}function a0(){return!!(Pt||Mt||ha)}function i0(e,t,n,r=!1){const s={},o={};ol(o,Kl,1),e.propsDefaults=Object.create(null),X_(e,t,s,o);for(const a in e.propsOptions[0])a in s||(s[a]=void 0);n?e.props=r?s:$d(s):e.type.props?e.props=s:e.props=o,e.attrs=o}function l0(e,t,n,r){const{props:s,attrs:o,vnode:{patchFlag:a}}=e,i=Ye(s),[l]=e.propsOptions;let c=!1;if((r||a>0)&&!(a&16)){if(a&8){const m=e.vnode.dynamicProps;for(let d=0;d<m.length;d++){let f=m[d];if(Hl(e.emitsOptions,f))continue;const p=t[f];if(l)if(tt(o,f))p!==o[f]&&(o[f]=p,c=!0);else{const h=dn(f);s[h]=zc(l,i,h,p,e,!1)}else p!==o[f]&&(o[f]=p,c=!0)}}}else{X_(e,t,s,o)&&(c=!0);let m;for(const d in i)(!t||!tt(t,d)&&((m=Sn(d))===d||!tt(t,m)))&&(l?n&&(n[d]!==void 0||n[m]!==void 0)&&(s[d]=zc(l,i,d,void 0,e,!0)):delete s[d]);if(o!==i)for(const d in o)(!t||!tt(t,d))&&(delete o[d],c=!0)}c&&gr(e,"set","$attrs")}function X_(e,t,n,r){const[s,o]=e.propsOptions;let a=!1,i;if(t)for(let l in t){if(qo(l))continue;const c=t[l];let m;s&&tt(s,m=dn(l))?!o||!o.includes(m)?n[m]=c:(i||(i={}))[m]=c:Hl(e.emitsOptions,l)||(!(l in r)||c!==r[l])&&(r[l]=c,a=!0)}if(o){const l=Ye(n),c=i||dt;for(let m=0;m<o.length;m++){const d=o[m];n[d]=zc(s,l,d,c[d],e,!tt(c,d))}}return a}function zc(e,t,n,r,s,o){const a=e[n];if(a!=null){const i=tt(a,"default");if(i&&r===void 0){const l=a.default;if(a.type!==Function&&!a.skipFactory&&De(l)){const{propsDefaults:c}=s;n in c?r=c[n]:(Jr(s),r=c[n]=l.call(null,t),jr())}else r=l}a[0]&&(o&&!i?r=!1:a[1]&&(r===""||r===Sn(n))&&(r=!0))}return r}function Q_(e,t,n=!1){const r=t.propsCache,s=r.get(e);if(s)return s;const o=e.props,a={},i=[];let l=!1;if(!De(e)){const m=d=>{l=!0;const[f,p]=Q_(d,t,!0);zt(a,f),p&&i.push(...p)};!n&&t.mixins.length&&t.mixins.forEach(m),e.extends&&m(e.extends),e.mixins&&e.mixins.forEach(m)}if(!o&&!l)return mt(e)&&r.set(e,Ws),Ws;if(be(o))for(let m=0;m<o.length;m++){const d=dn(o[m]);lf(d)&&(a[d]=dt)}else if(o)for(const m in o){const d=dn(m);if(lf(d)){const f=o[m],p=a[d]=be(f)||De(f)?{type:f}:zt({},f);if(p){const h=df(Boolean,p.type),_=df(String,p.type);p[0]=h>-1,p[1]=_<0||h<_,(h>-1||tt(p,"default"))&&i.push(d)}}}const c=[a,i];return mt(e)&&r.set(e,c),c}function lf(e){return e[0]!=="$"}function uf(e){const t=e&&e.toString().match(/^\s*(function|class) (\w+)/);return t?t[2]:e===null?"null":""}function cf(e,t){return uf(e)===uf(t)}function df(e,t){return be(t)?t.findIndex(n=>cf(n,e)):De(t)&&cf(t,e)?0:-1}const eg=e=>e[0]==="_"||e==="$stable",jd=e=>be(e)?e.map(yn):[yn(e)],u0=(e,t,n)=>{if(t._n)return t;const r=x((...s)=>jd(t(...s)),n);return r._c=!1,r},tg=(e,t,n)=>{const r=e._ctx;for(const s in e){if(eg(s))continue;const o=e[s];if(De(o))t[s]=u0(s,o,r);else if(o!=null){const a=jd(o);t[s]=()=>a}}},ng=(e,t)=>{const n=jd(t);e.slots.default=()=>n},c0=(e,t)=>{if(e.vnode.shapeFlag&32){const n=t._;n?(e.slots=Ye(t),ol(t,"_",n)):tg(t,e.slots={})}else e.slots={},t&&ng(e,t);ol(e.slots,Kl,1)},d0=(e,t,n)=>{const{vnode:r,slots:s}=e;let o=!0,a=dt;if(r.shapeFlag&32){const i=t._;i?n&&i===1?o=!1:(zt(s,t),!n&&i===1&&delete s._):(o=!t.$stable,tg(t,s)),a=t}else t&&(ng(e,t),a={default:1});if(o)for(const i in s)!eg(i)&&a[i]==null&&delete s[i]};function ml(e,t,n,r,s=!1){if(be(e)){e.forEach((f,p)=>ml(f,t&&(be(t)?t[p]:t),n,r,s));return}if(gs(r)&&!s)return;const o=r.shapeFlag&4?Gl(r.component)||r.component.proxy:r.el,a=s?null:o,{i,r:l}=e,c=t&&t.r,m=i.refs===dt?i.refs={}:i.refs,d=i.setupState;if(c!=null&&c!==l&&(Ct(c)?(m[c]=null,tt(d,c)&&(d[c]=null)):Vt(c)&&(c.value=null)),De(l))yr(l,i,12,[a,m]);else{const f=Ct(l),p=Vt(l);if(f||p){const h=()=>{if(e.f){const _=f?tt(d,l)?d[l]:m[l]:l.value;s?be(_)&&zd(_,o):be(_)?_.includes(o)||_.push(o):f?(m[l]=[o],tt(d,l)&&(d[l]=m[l])):(l.value=[o],e.k&&(m[e.k]=l.value))}else f?(m[l]=a,tt(d,l)&&(d[l]=a)):p&&(l.value=a,e.k&&(m[e.k]=a))};a?(h.id=-1,Ut(h,n)):h()}}}let Er=!1;const Xa=e=>/svg/.test(e.namespaceURI)&&e.tagName!=="foreignObject",Qa=e=>e.nodeType===8;function m0(e){const{mt:t,p:n,o:{patchProp:r,createText:s,nextSibling:o,parentNode:a,remove:i,insert:l,createComment:c}}=e,m=(z,v)=>{if(!v.hasChildNodes()){n(null,z,v),cl(),v._vnode=z;return}Er=!1,d(v.firstChild,z,null,null,null),cl(),v._vnode=z,Er&&console.error("Hydration completed but contains mismatches.")},d=(z,v,S,A,D,F=!1)=>{const P=Qa(z)&&z.data==="[",M=()=>_(z,v,S,A,D,P),{type:Z,ref:W,shapeFlag:U,patchFlag:Q}=v;let me=z.nodeType;v.el=z,Q===-2&&(F=!1,v.dynamicChildren=null);let K=null;switch(Z){case Zr:me!==3?v.children===""?(l(v.el=s(""),a(z),z),K=z):K=M():(z.data!==v.children&&(Er=!0,z.data=v.children),K=o(z));break;case Gt:C(z)?(K=o(z),w(v.el=z.content.firstChild,z,S)):me!==8||P?K=M():K=o(z);break;case ys:if(P&&(z=o(z),me=z.nodeType),me===1||me===3){K=z;const re=!v.children.length;for(let oe=0;oe<v.staticCount;oe++)re&&(v.children+=K.nodeType===1?K.outerHTML:K.data),oe===v.staticCount-1&&(v.anchor=K),K=o(K);return P?o(K):K}else M();break;case we:P?K=h(z,v,S,A,D,F):K=M();break;default:if(U&1)(me!==1||v.type.toLowerCase()!==z.tagName.toLowerCase())&&!C(z)?K=M():K=f(z,v,S,A,D,F);else if(U&6){v.slotScopeIds=D;const re=a(z);if(P?K=b(z):Qa(z)&&z.data==="teleport start"?K=b(z,z.data,"teleport end"):K=o(z),t(v,re,null,S,A,Xa(re),F),gs(v)){let oe;P?(oe=y(we),oe.anchor=K?K.previousSibling:re.lastChild):oe=z.nodeType===3?_t(""):y("div"),oe.el=z,v.component.subTree=oe}}else U&64?me!==8?K=M():K=v.type.hydrate(z,v,S,A,D,F,e,p):U&128&&(K=v.type.hydrate(z,v,S,A,Xa(a(z)),D,F,e,d))}return W!=null&&ml(W,null,A,v),K},f=(z,v,S,A,D,F)=>{F=F||!!v.dynamicChildren;const{type:P,props:M,patchFlag:Z,shapeFlag:W,dirs:U,transition:Q}=v,me=P==="input"||P==="option";if(me||Z!==-1){U&&er(v,null,S,"created");let K=!1;if(C(z)){K=ag(A,Q)&&S&&S.vnode.props&&S.vnode.props.appear;const oe=z.content.firstChild;K&&Q.beforeEnter(oe),w(oe,z,S),v.el=z=oe}if(M)if(me||!F||Z&48)for(const oe in M)(me&&(oe.endsWith("value")||oe==="indeterminate")||Ea(oe)&&!qo(oe)||oe[0]===".")&&r(z,oe,null,M[oe],!1,void 0,S);else M.onClick&&r(z,"onClick",null,M.onClick,!1,void 0,S);let re;if((re=M&&M.onVnodeBeforeMount)&&on(re,S,v),U&&er(v,null,S,"beforeMount"),((re=M&&M.onVnodeMounted)||U||K)&&P_(()=>{re&&on(re,S,v),K&&Q.enter(z),U&&er(v,null,S,"mounted")},A),W&16&&!(M&&(M.innerHTML||M.textContent))){let oe=p(z.firstChild,v,z,S,A,D,F);for(;oe;){Er=!0;const Fe=oe;oe=oe.nextSibling,i(Fe)}}else W&8&&z.textContent!==v.children&&(Er=!0,z.textContent=v.children)}return z.nextSibling},p=(z,v,S,A,D,F,P)=>{P=P||!!v.dynamicChildren;const M=v.children,Z=M.length;for(let W=0;W<Z;W++){const U=P?M[W]:M[W]=yn(M[W]);if(z)z=d(z,U,A,D,F,P);else{if(U.type===Zr&&!U.children)continue;Er=!0,n(null,U,S,null,A,D,Xa(S),F)}}return z},h=(z,v,S,A,D,F)=>{const{slotScopeIds:P}=v;P&&(D=D?D.concat(P):P);const M=a(z),Z=p(o(z),v,M,S,A,D,F);return Z&&Qa(Z)&&Z.data==="]"?o(v.anchor=Z):(Er=!0,l(v.anchor=c("]"),M,Z),Z)},_=(z,v,S,A,D,F)=>{if(Er=!0,v.el=null,F){const Z=b(z);for(;;){const W=o(z);if(W&&W!==Z)i(W);else break}}const P=o(z),M=a(z);return i(z),n(null,v,M,P,S,A,Xa(M),D),P},b=(z,v="[",S="]")=>{let A=0;for(;z;)if(z=o(z),z&&Qa(z)&&(z.data===v&&A++,z.data===S)){if(A===0)return o(z);A--}return z},w=(z,v,S)=>{const A=v.parentNode;A&&A.replaceChild(z,v);let D=S;for(;D;)D.vnode.el===v&&(D.vnode.el=D.subTree.el=z),D=D.parent},C=z=>z.nodeType===1&&z.tagName.toLowerCase()==="template";return[m,d]}const Ut=P_;function rg(e){return og(e)}function sg(e){return og(e,m0)}function og(e,t){const n=mc();n.__VUE__=!0;const{insert:r,remove:s,patchProp:o,createElement:a,createText:i,createComment:l,setText:c,setElementText:m,parentNode:d,nextSibling:f,setScopeId:p=or,insertStaticContent:h}=e,_=(T,O,I,G=null,Y=null,X=null,de=!1,ie=null,ae=!!O.dynamicChildren)=>{if(T===O)return;T&&!jn(T,O)&&(G=j(T),je(T,Y,X,!0),T=null),O.patchFlag===-2&&(ae=!1,O.dynamicChildren=null);const{type:ee,ref:ze,shapeFlag:le}=O;switch(ee){case Zr:b(T,O,I,G);break;case Gt:w(T,O,I,G);break;case ys:T==null&&C(O,I,G,de);break;case we:W(T,O,I,G,Y,X,de,ie,ae);break;default:le&1?S(T,O,I,G,Y,X,de,ie,ae):le&6?U(T,O,I,G,Y,X,de,ie,ae):(le&64||le&128)&&ee.process(T,O,I,G,Y,X,de,ie,ae,se)}ze!=null&&Y&&ml(ze,T&&T.ref,X,O||T,!O)},b=(T,O,I,G)=>{if(T==null)r(O.el=i(O.children),I,G);else{const Y=O.el=T.el;O.children!==T.children&&c(Y,O.children)}},w=(T,O,I,G)=>{T==null?r(O.el=l(O.children||""),I,G):O.el=T.el},C=(T,O,I,G)=>{[T.el,T.anchor]=h(T.children,O,I,G,T.el,T.anchor)},z=({el:T,anchor:O},I,G)=>{let Y;for(;T&&T!==O;)Y=f(T),r(T,I,G),T=Y;r(O,I,G)},v=({el:T,anchor:O})=>{let I;for(;T&&T!==O;)I=f(T),s(T),T=I;s(O)},S=(T,O,I,G,Y,X,de,ie,ae)=>{de=de||O.type==="svg",T==null?A(O,I,G,Y,X,de,ie,ae):P(T,O,Y,X,de,ie,ae)},A=(T,O,I,G,Y,X,de,ie)=>{let ae,ee;const{type:ze,props:le,shapeFlag:L,transition:q,dirs:_e}=T;if(ae=T.el=a(T.type,X,le&&le.is,le),L&8?m(ae,T.children):L&16&&F(T.children,ae,null,G,Y,X&&ze!=="foreignObject",de,ie),_e&&er(T,null,G,"created"),D(ae,T,T.scopeId,de,G),le){for(const Me in le)Me!=="value"&&!qo(Me)&&o(ae,Me,null,le[Me],X,T.children,G,Y,Ne);"value"in le&&o(ae,"value",null,le.value),(ee=le.onVnodeBeforeMount)&&on(ee,G,T)}_e&&er(T,null,G,"beforeMount");const $e=ag(Y,q);$e&&q.beforeEnter(ae),r(ae,O,I),((ee=le&&le.onVnodeMounted)||$e||_e)&&Ut(()=>{ee&&on(ee,G,T),$e&&q.enter(ae),_e&&er(T,null,G,"mounted")},Y)},D=(T,O,I,G,Y)=>{if(I&&p(T,I),G)for(let X=0;X<G.length;X++)p(T,G[X]);if(Y){let X=Y.subTree;if(O===X){const de=Y.vnode;D(T,de,de.scopeId,de.slotScopeIds,Y.parent)}}},F=(T,O,I,G,Y,X,de,ie,ae=0)=>{for(let ee=ae;ee<T.length;ee++){const ze=T[ee]=ie?Rr(T[ee]):yn(T[ee]);_(null,ze,O,I,G,Y,X,de,ie)}},P=(T,O,I,G,Y,X,de)=>{const ie=O.el=T.el;let{patchFlag:ae,dynamicChildren:ee,dirs:ze}=O;ae|=T.patchFlag&16;const le=T.props||dt,L=O.props||dt;let q;I&&rs(I,!1),(q=L.onVnodeBeforeUpdate)&&on(q,I,O,T),ze&&er(O,T,I,"beforeUpdate"),I&&rs(I,!0);const _e=Y&&O.type!=="foreignObject";if(ee?M(T.dynamicChildren,ee,ie,I,G,_e,X):de||oe(T,O,ie,null,I,G,_e,X,!1),ae>0){if(ae&16)Z(ie,O,le,L,I,G,Y);else if(ae&2&&le.class!==L.class&&o(ie,"class",null,L.class,Y),ae&4&&o(ie,"style",le.style,L.style,Y),ae&8){const $e=O.dynamicProps;for(let Me=0;Me<$e.length;Me++){const R=$e[Me],N=le[R],B=L[R];(B!==N||R==="value")&&o(ie,R,N,B,Y,T.children,I,G,Ne)}}ae&1&&T.children!==O.children&&m(ie,O.children)}else!de&&ee==null&&Z(ie,O,le,L,I,G,Y);((q=L.onVnodeUpdated)||ze)&&Ut(()=>{q&&on(q,I,O,T),ze&&er(O,T,I,"updated")},G)},M=(T,O,I,G,Y,X,de)=>{for(let ie=0;ie<O.length;ie++){const ae=T[ie],ee=O[ie],ze=ae.el&&(ae.type===we||!jn(ae,ee)||ae.shapeFlag&70)?d(ae.el):I;_(ae,ee,ze,null,G,Y,X,de,!0)}},Z=(T,O,I,G,Y,X,de)=>{if(I!==G){if(I!==dt)for(const ie in I)!qo(ie)&&!(ie in G)&&o(T,ie,I[ie],null,de,O.children,Y,X,Ne);for(const ie in G){if(qo(ie))continue;const ae=G[ie],ee=I[ie];ae!==ee&&ie!=="value"&&o(T,ie,ee,ae,de,O.children,Y,X,Ne)}"value"in G&&o(T,"value",I.value,G.value)}},W=(T,O,I,G,Y,X,de,ie,ae)=>{const ee=O.el=T?T.el:i(""),ze=O.anchor=T?T.anchor:i("");let{patchFlag:le,dynamicChildren:L,slotScopeIds:q}=O;q&&(ie=ie?ie.concat(q):q),T==null?(r(ee,I,G),r(ze,I,G),F(O.children,I,ze,Y,X,de,ie,ae)):le>0&&le&64&&L&&T.dynamicChildren?(M(T.dynamicChildren,L,I,Y,X,de,ie),(O.key!=null||Y&&O===Y.subTree)&&qd(T,O,!0)):oe(T,O,I,ze,Y,X,de,ie,ae)},U=(T,O,I,G,Y,X,de,ie,ae)=>{O.slotScopeIds=ie,T==null?O.shapeFlag&512?Y.ctx.activate(O,I,G,de,ae):Q(O,I,G,Y,X,de,ae):me(T,O,ae)},Q=(T,O,I,G,Y,X,de)=>{const ie=T.component=mg(T,G,Y);if(Ta(T)&&(ie.ctx.renderer=se),pg(ie),ie.asyncDep){if(Y&&Y.registerDep(ie,K),!T.el){const ae=ie.subTree=y(Gt);w(null,ae,O,I)}return}K(ie,T,O,I,Y,X,de)},me=(T,O,I)=>{const G=O.component=T.component;if(zz(T,O,I))if(G.asyncDep&&!G.asyncResolved){re(G,O,I);return}else G.next=O,mz(G.update),G.update();else O.el=T.el,G.vnode=O},K=(T,O,I,G,Y,X,de)=>{const ie=()=>{if(T.isMounted){let{next:ze,bu:le,u:L,parent:q,vnode:_e}=T,$e=ze,Me;rs(T,!1),ze?(ze.el=_e.el,re(T,ze,de)):ze=_e,le&&Gs(le),(Me=ze.props&&ze.props.onVnodeBeforeUpdate)&&on(Me,q,ze,_e),rs(T,!0);const R=Ki(T),N=T.subTree;T.subTree=R,_(N,R,d(N.el),j(N),T,Y,X),ze.el=R.el,$e===null&&Rd(T,R.el),L&&Ut(L,Y),(Me=ze.props&&ze.props.onVnodeUpdated)&&Ut(()=>on(Me,q,ze,_e),Y)}else{let ze;const{el:le,props:L}=O,{bm:q,m:_e,parent:$e}=T,Me=gs(O);if(rs(T,!1),q&&Gs(q),!Me&&(ze=L&&L.onVnodeBeforeMount)&&on(ze,$e,O),rs(T,!0),le&&Be){const R=()=>{T.subTree=Ki(T),Be(le,T.subTree,T,Y,null)};Me?O.type.__asyncLoader().then(()=>!T.isUnmounted&&R()):R()}else{const R=T.subTree=Ki(T);_(null,R,I,G,T,Y,X),O.el=R.el}if(_e&&Ut(_e,Y),!Me&&(ze=L&&L.onVnodeMounted)){const R=O;Ut(()=>on(ze,$e,R),Y)}(O.shapeFlag&256||$e&&gs($e.vnode)&&$e.vnode.shapeFlag&256)&&T.a&&Ut(T.a,Y),T.isMounted=!0,O=I=G=null}},ae=T.effect=new to(ie,()=>Vl(ee),T.scope),ee=T.update=()=>ae.run();ee.id=T.uid,rs(T,!0),ee()},re=(T,O,I)=>{O.component=T;const G=T.vnode.props;T.vnode=O,T.next=null,l0(T,O.props,G,I),d0(T,O.children,I),po(),Qm(T),ho()},oe=(T,O,I,G,Y,X,de,ie,ae=!1)=>{const ee=T&&T.children,ze=T?T.shapeFlag:0,le=O.children,{patchFlag:L,shapeFlag:q}=O;if(L>0){if(L&128){at(ee,le,I,G,Y,X,de,ie,ae);return}else if(L&256){Fe(ee,le,I,G,Y,X,de,ie,ae);return}}q&8?(ze&16&&Ne(ee,Y,X),le!==ee&&m(I,le)):ze&16?q&16?at(ee,le,I,G,Y,X,de,ie,ae):Ne(ee,Y,X,!0):(ze&8&&m(I,""),q&16&&F(le,I,G,Y,X,de,ie,ae))},Fe=(T,O,I,G,Y,X,de,ie,ae)=>{T=T||Ws,O=O||Ws;const ee=T.length,ze=O.length,le=Math.min(ee,ze);let L;for(L=0;L<le;L++){const q=O[L]=ae?Rr(O[L]):yn(O[L]);_(T[L],q,I,null,Y,X,de,ie,ae)}ee>ze?Ne(T,Y,X,!0,!1,le):F(O,I,G,Y,X,de,ie,ae,le)},at=(T,O,I,G,Y,X,de,ie,ae)=>{let ee=0;const ze=O.length;let le=T.length-1,L=ze-1;for(;ee<=le&&ee<=L;){const q=T[ee],_e=O[ee]=ae?Rr(O[ee]):yn(O[ee]);if(jn(q,_e))_(q,_e,I,null,Y,X,de,ie,ae);else break;ee++}for(;ee<=le&&ee<=L;){const q=T[le],_e=O[L]=ae?Rr(O[L]):yn(O[L]);if(jn(q,_e))_(q,_e,I,null,Y,X,de,ie,ae);else break;le--,L--}if(ee>le){if(ee<=L){const q=L+1,_e=q<ze?O[q].el:G;for(;ee<=L;)_(null,O[ee]=ae?Rr(O[ee]):yn(O[ee]),I,_e,Y,X,de,ie,ae),ee++}}else if(ee>L)for(;ee<=le;)je(T[ee],Y,X,!0),ee++;else{const q=ee,_e=ee,$e=new Map;for(ee=_e;ee<=L;ee++){const Se=O[ee]=ae?Rr(O[ee]):yn(O[ee]);Se.key!=null&&$e.set(Se.key,ee)}let Me,R=0;const N=L-_e+1;let B=!1,ne=0;const ye=new Array(N);for(ee=0;ee<N;ee++)ye[ee]=0;for(ee=q;ee<=le;ee++){const Se=T[ee];if(R>=N){je(Se,Y,X,!0);continue}let Ve;if(Se.key!=null)Ve=$e.get(Se.key);else for(Me=_e;Me<=L;Me++)if(ye[Me-_e]===0&&jn(Se,O[Me])){Ve=Me;break}Ve===void 0?je(Se,Y,X,!0):(ye[Ve-_e]=ee+1,Ve>=ne?ne=Ve:B=!0,_(Se,O[Ve],I,null,Y,X,de,ie,ae),R++)}const Ae=B?f0(ye):Ws;for(Me=Ae.length-1,ee=N-1;ee>=0;ee--){const Se=_e+ee,Ve=O[Se],yt=Se+1<ze?O[Se+1].el:G;ye[ee]===0?_(null,Ve,I,yt,Y,X,de,ie,ae):B&&(Me<0||ee!==Ae[Me]?Ge(Ve,I,yt,2):Me--)}}},Ge=(T,O,I,G,Y=null)=>{const{el:X,type:de,transition:ie,children:ae,shapeFlag:ee}=T;if(ee&6){Ge(T.component.subTree,O,I,G);return}if(ee&128){T.suspense.move(O,I,G);return}if(ee&64){de.move(T,O,I,se);return}if(de===we){r(X,O,I);for(let le=0;le<ae.length;le++)Ge(ae[le],O,I,G);r(T.anchor,O,I);return}if(de===ys){z(T,O,I);return}if(G!==2&&ee&1&&ie)if(G===0)ie.beforeEnter(X),r(X,O,I),Ut(()=>ie.enter(X),Y);else{const{leave:le,delayLeave:L,afterLeave:q}=ie,_e=()=>r(X,O,I),$e=()=>{le(X,()=>{_e(),q&&q()})};L?L(X,_e,$e):$e()}else r(X,O,I)},je=(T,O,I,G=!1,Y=!1)=>{const{type:X,props:de,ref:ie,children:ae,dynamicChildren:ee,shapeFlag:ze,patchFlag:le,dirs:L}=T;if(ie!=null&&ml(ie,null,I,T,!0),ze&256){O.ctx.deactivate(T);return}const q=ze&1&&L,_e=!gs(T);let $e;if(_e&&($e=de&&de.onVnodeBeforeUnmount)&&on($e,O,T),ze&6)pt(T.component,I,G);else{if(ze&128){T.suspense.unmount(I,G);return}q&&er(T,null,O,"beforeUnmount"),ze&64?T.type.remove(T,O,I,Y,se,G):ee&&(X!==we||le>0&&le&64)?Ne(ee,O,I,!1,!0):(X===we&&le&384||!Y&&ze&16)&&Ne(ae,O,I),G&&ut(T)}(_e&&($e=de&&de.onVnodeUnmounted)||q)&&Ut(()=>{$e&&on($e,O,T),q&&er(T,null,O,"unmounted")},I)},ut=T=>{const{type:O,el:I,anchor:G,transition:Y}=T;if(O===we){ft(I,G);return}if(O===ys){v(T);return}const X=()=>{s(I),Y&&!Y.persisted&&Y.afterLeave&&Y.afterLeave()};if(T.shapeFlag&1&&Y&&!Y.persisted){const{leave:de,delayLeave:ie}=Y,ae=()=>de(I,X);ie?ie(T.el,X,ae):ae()}else X()},ft=(T,O)=>{let I;for(;T!==O;)I=f(T),s(T),T=I;s(O)},pt=(T,O,I)=>{const{bum:G,scope:Y,update:X,subTree:de,um:ie}=T;G&&Gs(G),Y.stop(),X&&(X.active=!1,je(de,T,O,I)),ie&&Ut(ie,O),Ut(()=>{T.isUnmounted=!0},O),O&&O.pendingBranch&&!O.isUnmounted&&T.asyncDep&&!T.asyncResolved&&T.suspenseId===O.pendingId&&(O.deps--,O.deps===0&&O.resolve())},Ne=(T,O,I,G=!1,Y=!1,X=0)=>{for(let de=X;de<T.length;de++)je(T[de],O,I,G,Y)},j=T=>T.shapeFlag&6?j(T.component.subTree):T.shapeFlag&128?T.suspense.next():f(T.anchor||T.el),ue=(T,O,I)=>{T==null?O._vnode&&je(O._vnode,null,null,!0):_(O._vnode||null,T,O,null,null,null,I),Qm(),cl(),O._vnode=T},se={p:_,um:je,m:Ge,r:ut,mt:Q,mc:F,pc:oe,pbc:M,n:j,o:e};let ve,Be;return t&&([ve,Be]=t(se)),{render:ue,hydrate:ve,createApp:o0(ue,ve)}}function rs({effect:e,update:t},n){e.allowRecurse=t.allowRecurse=n}function ag(e,t){return(!e||e&&!e.pendingBranch)&&t&&!t.persisted}function qd(e,t,n=!1){const r=e.children,s=t.children;if(be(r)&&be(s))for(let o=0;o<r.length;o++){const a=r[o];let i=s[o];i.shapeFlag&1&&!i.dynamicChildren&&((i.patchFlag<=0||i.patchFlag===32)&&(i=s[o]=Rr(s[o]),i.el=a.el),n||qd(a,i)),i.type===Zr&&(i.el=a.el)}}function f0(e){const t=e.slice(),n=[0];let r,s,o,a,i;const l=e.length;for(r=0;r<l;r++){const c=e[r];if(c!==0){if(s=n[n.length-1],e[s]<c){t[r]=s,n.push(r);continue}for(o=0,a=n.length-1;o<a;)i=o+a>>1,e[n[i]]<c?o=i+1:a=i;c<e[n[o]]&&(o>0&&(t[r]=n[o-1]),n[o]=r)}}for(o=n.length,a=n[o-1];o-- >0;)n[o]=a,a=t[a];return n}const p0=e=>e.__isTeleport,Zo=e=>e&&(e.disabled||e.disabled===""),mf=e=>typeof SVGElement<"u"&&e instanceof SVGElement,Cc=(e,t)=>{const n=e&&e.to;return Ct(n)?t?t(n):null:n},h0={name:"Teleport",__isTeleport:!0,process(e,t,n,r,s,o,a,i,l,c){const{mc:m,pc:d,pbc:f,o:{insert:p,querySelector:h,createText:_,createComment:b}}=c,w=Zo(t.props);let{shapeFlag:C,children:z,dynamicChildren:v}=t;if(e==null){const S=t.el=_(""),A=t.anchor=_("");p(S,n,r),p(A,n,r);const D=t.target=Cc(t.props,h),F=t.targetAnchor=_("");D&&(p(F,D),a=a||mf(D));const P=(M,Z)=>{C&16&&m(z,M,Z,s,o,a,i,l)};w?P(n,A):D&&P(D,F)}else{t.el=e.el;const S=t.anchor=e.anchor,A=t.target=e.target,D=t.targetAnchor=e.targetAnchor,F=Zo(e.props),P=F?n:A,M=F?S:D;if(a=a||mf(A),v?(f(e.dynamicChildren,v,P,s,o,a,i),qd(e,t,!0)):l||d(e,t,P,M,s,o,a,i,!1),w)F?t.props&&e.props&&t.props.to!==e.props.to&&(t.props.to=e.props.to):ei(t,n,S,c,1);else if((t.props&&t.props.to)!==(e.props&&e.props.to)){const Z=t.target=Cc(t.props,h);Z&&ei(t,Z,null,c,0)}else F&&ei(t,A,D,c,1)}ig(t)},remove(e,t,n,r,{um:s,o:{remove:o}},a){const{shapeFlag:i,children:l,anchor:c,targetAnchor:m,target:d,props:f}=e;if(d&&o(m),a&&o(c),i&16){const p=a||!Zo(f);for(let h=0;h<l.length;h++){const _=l[h];s(_,t,n,p,!!_.dynamicChildren)}}},move:ei,hydrate:_0};function ei(e,t,n,{o:{insert:r},m:s},o=2){o===0&&r(e.targetAnchor,t,n);const{el:a,anchor:i,shapeFlag:l,children:c,props:m}=e,d=o===2;if(d&&r(a,t,n),(!d||Zo(m))&&l&16)for(let f=0;f<c.length;f++)s(c[f],t,n,2);d&&r(i,t,n)}function _0(e,t,n,r,s,o,{o:{nextSibling:a,parentNode:i,querySelector:l}},c){const m=t.target=Cc(t.props,l);if(m){const d=m._lpa||m.firstChild;if(t.shapeFlag&16)if(Zo(t.props))t.anchor=c(a(e),t,i(e),n,r,s,o),t.targetAnchor=d;else{t.anchor=a(e);let f=d;for(;f;)if(f=a(f),f&&f.nodeType===8&&f.data==="teleport anchor"){t.targetAnchor=f,m._lpa=t.targetAnchor&&a(t.targetAnchor);break}c(d,t,m,n,r,s,o)}ig(t)}return t.anchor&&a(t.anchor)}const es=h0;function ig(e){const t=e.ctx;if(t&&t.ut){let n=e.children[0].el;for(;n&&n!==e.targetAnchor;)n.nodeType===1&&n.setAttribute("data-v-owner",t.uid),n=n.nextSibling;t.ut()}}const we=Symbol.for("v-fgt"),Zr=Symbol.for("v-txt"),Gt=Symbol.for("v-cmt"),ys=Symbol.for("v-stc"),Yo=[];let un=null;function k(e=!1){Yo.push(un=e?null:[])}function lg(){Yo.pop(),un=Yo[Yo.length-1]||null}let ws=1;function wc(e){ws+=e}function ug(e){return e.dynamicChildren=ws>0?un||Ws:null,lg(),ws>0&&un&&un.push(e),e}function $(e,t,n,r,s,o){return ug(u(e,t,n,r,s,o,!0))}function he(e,t,n,r,s){return ug(y(e,t,n,r,s,!0))}function Yr(e){return e?e.__v_isVNode===!0:!1}function jn(e,t){return e.type===t.type&&e.key===t.key}function g0(e){}const Kl="__vInternal",cg=({key:e})=>e??null,Gi=({ref:e,ref_key:t,ref_for:n})=>(typeof e=="number"&&(e=""+e),e!=null?Ct(e)||Vt(e)||De(e)?{i:Mt,r:e,k:t,f:!!n}:e:null);function u(e,t=null,n=null,r=0,s=null,o=e===we?0:1,a=!1,i=!1){const l={__v_isVNode:!0,__v_skip:!0,type:e,props:t,key:t&&cg(t),ref:t&&Gi(t),scopeId:Bl,slotScopeIds:null,children:n,component:null,suspense:null,ssContent:null,ssFallback:null,dirs:null,transition:null,el:null,anchor:null,target:null,targetAnchor:null,staticCount:0,shapeFlag:o,patchFlag:r,dynamicProps:s,dynamicChildren:null,appContext:null,ctx:Mt};return i?(Wd(l,n),o&128&&e.normalize(l)):n&&(l.shapeFlag|=Ct(n)?8:16),ws>0&&!a&&un&&(l.patchFlag>0||o&6)&&l.patchFlag!==32&&un.push(l),l}const y=y0;function y0(e,t=null,n=null,r=0,s=null,o=!1){if((!e||e===T_)&&(e=Gt),Yr(e)){const i=ir(e,t,!0);return n&&Wd(i,n),ws>0&&!o&&un&&(i.shapeFlag&6?un[un.indexOf(e)]=i:un.push(i)),i.patchFlag|=-2,i}if(E0(e)&&(e=e.__vccOpts),t){t=dg(t);let{class:i,style:l}=t;i&&!Ct(i)&&(t.class=Ee(i)),mt(l)&&(Td(l)&&!be(l)&&(l=zt({},l)),t.style=Qr(l))}const a=Ct(e)?1:D_(e)?128:p0(e)?64:mt(e)?4:De(e)?2:0;return u(e,t,n,r,s,a,o,!0)}function dg(e){return e?Td(e)||Kl in e?zt({},e):e:null}function ir(e,t,n=!1){const{props:r,ref:s,patchFlag:o,children:a}=e,i=t?Us(r||{},t):r;return{__v_isVNode:!0,__v_skip:!0,type:e.type,props:i,key:i&&cg(i),ref:t&&t.ref?n&&s?be(s)?s.concat(Gi(t)):[s,Gi(t)]:Gi(t):s,scopeId:e.scopeId,slotScopeIds:e.slotScopeIds,children:a,target:e.target,targetAnchor:e.targetAnchor,staticCount:e.staticCount,shapeFlag:e.shapeFlag,patchFlag:t&&e.type!==we?o===-1?16:o|16:o,dynamicProps:e.dynamicProps,dynamicChildren:e.dynamicChildren,appContext:e.appContext,dirs:e.dirs,transition:e.transition,component:e.component,suspense:e.suspense,ssContent:e.ssContent&&ir(e.ssContent),ssFallback:e.ssFallback&&ir(e.ssFallback),el:e.el,anchor:e.anchor,ctx:e.ctx,ce:e.ce}}function _t(e=" ",t=0){return y(Zr,null,e,t)}function v0(e,t){const n=y(ys,null,e);return n.staticCount=t,n}function V(e="",t=!1){return t?(k(),he(Gt,null,e)):y(Gt,null,e)}function yn(e){return e==null||typeof e=="boolean"?y(Gt):be(e)?y(we,null,e.slice()):typeof e=="object"?Rr(e):y(Zr,null,String(e))}function Rr(e){return e.el===null&&e.patchFlag!==-1||e.memo?e:ir(e)}function Wd(e,t){let n=0;const{shapeFlag:r}=e;if(t==null)t=null;else if(be(t))n=16;else if(typeof t=="object")if(r&65){const s=t.default;s&&(s._c&&(s._d=!1),Wd(e,s()),s._c&&(s._d=!0));return}else{n=32;const s=t._;!s&&!(Kl in t)?t._ctx=Mt:s===3&&Mt&&(Mt.slots._===1?t._=1:(t._=2,e.patchFlag|=1024))}else De(t)?(t={default:t,_ctx:Mt},n=32):(t=String(t),r&64?(n=16,t=[_t(t)]):n=8);e.children=t,e.shapeFlag|=n}function Us(...e){const t={};for(let n=0;n<e.length;n++){const r=e[n];for(const s in r)if(s==="class")t.class!==r.class&&(t.class=Ee([t.class,r.class]));else if(s==="style")t.style=Qr([t.style,r.style]);else if(Ea(s)){const o=t[s],a=r[s];a&&o!==a&&!(be(o)&&o.includes(a))&&(t[s]=o?[].concat(o,a):a)}else s!==""&&(t[s]=r[s])}return t}function on(e,t,n,r=null){bn(e,t,7,[n,r])}const b0=J_();let z0=0;function mg(e,t,n){const r=e.type,s=(t?t.appContext:e.appContext)||b0,o={uid:z0++,vnode:e,type:r,parent:t,appContext:s,root:null,next:null,subTree:null,effect:null,update:null,scope:new kd(!0),render:null,proxy:null,exposed:null,exposeProxy:null,withProxy:null,provides:t?t.provides:Object.create(s.provides),accessCache:null,renderCache:[],components:null,directives:null,propsOptions:Q_(r,s),emitsOptions:A_(r,s),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 o.ctx={_:o},o.root=t?t.root:o,o.emit=pz.bind(null,o),e.ce&&e.ce(o),o}let Pt=null;const Fn=()=>Pt||Mt;let Kd,As,ff="__VUE_INSTANCE_SETTERS__";(As=mc()[ff])||(As=mc()[ff]=[]),As.push(e=>Pt=e),Kd=e=>{As.length>1?As.forEach(t=>t(e)):As[0](e)};const Jr=e=>{Kd(e),e.scope.on()},jr=()=>{Pt&&Pt.scope.off(),Kd(null)};function fg(e){return e.vnode.shapeFlag&4}let ro=!1;function pg(e,t=!1){ro=t;const{props:n,children:r}=e.vnode,s=fg(e);i0(e,n,s,t),c0(e,r);const o=s?C0(e,t):void 0;return ro=!1,o}function C0(e,t){const n=e.type;e.accessCache=Object.create(null),e.proxy=Od(new Proxy(e.ctx,yc));const{setup:r}=n;if(r){const s=e.setupContext=r.length>1?_g(e):null;Jr(e),po();const o=yr(r,e,0,[e.props,s]);if(ho(),jr(),Cd(o)){if(o.then(jr,jr),t)return o.then(a=>{kc(e,a,t)}).catch(a=>{xs(a,e,0)});e.asyncDep=o}else kc(e,o,t)}else hg(e,t)}function kc(e,t,n){De(t)?e.type.__ssrInlineRender?e.ssrRender=t:e.render=t:mt(t)&&(e.setupState=Id(t)),hg(e,n)}let fl,xc;function w0(e){fl=e,xc=t=>{t.render._rc&&(t.withProxy=new Proxy(t.ctx,Nz))}}const k0=()=>!fl;function hg(e,t,n){const r=e.type;if(!e.render){if(!t&&fl&&!r.render){const s=r.template||Ud(e).template;if(s){const{isCustomElement:o,compilerOptions:a}=e.appContext.config,{delimiters:i,compilerOptions:l}=r,c=zt(zt({isCustomElement:o,delimiters:i},a),l);r.render=fl(s,c)}}e.render=r.render||or,xc&&xc(e)}{Jr(e),po();try{Qz(e)}finally{ho(),jr()}}}function x0(e){return e.attrsProxy||(e.attrsProxy=new Proxy(e.attrs,{get(t,n){return mn(e,"get","$attrs"),t[n]}}))}function _g(e){const t=n=>{e.exposed=n||{}};return{get attrs(){return x0(e)},slots:e.slots,emit:e.emit,expose:t}}function Gl(e){if(e.exposed)return e.exposeProxy||(e.exposeProxy=new Proxy(Id(Od(e.exposed)),{get(t,n){if(n in t)return t[n];if(n in Ko)return Ko[n](e)},has(t,n){return n in t||n in Ko}}))}function Ec(e,t=!0){return De(e)?e.displayName||e.name:e.name||t&&e.__name}function E0(e){return De(e)&&"__vccOpts"in e}const Lt=(e,t)=>iz(e,t,ro);function nr(e,t,n){const r=arguments.length;return r===2?mt(t)&&!be(t)?Yr(t)?y(e,null,[t]):y(e,t):y(e,null,t):(r>3?n=Array.prototype.slice.call(arguments,2):r===3&&Yr(n)&&(n=[n]),y(e,t,n))}const gg=Symbol.for("v-scx"),yg=()=>Wn(gg);function S0(){}function $0(e,t,n,r){const s=n[r];if(s&&vg(s,e))return s;const o=t();return o.memo=e.slice(),n[r]=o}function vg(e,t){const n=e.memo;if(n.length!=t.length)return!1;for(let r=0;r<n.length;r++)if(Wr(n[r],t[r]))return!1;return ws>0&&un&&un.push(e),!0}const bg="3.3.13",A0={createComponentInstance:mg,setupComponent:pg,renderComponentRoot:Ki,setCurrentRenderingInstance:ma,isVNode:Yr,normalizeVNode:yn},T0=A0,O0=null,D0=null,P0="http://www.w3.org/2000/svg",ms=typeof document<"u"?document:null,pf=ms&&ms.createElement("template"),I0={insert:(e,t,n)=>{t.insertBefore(e,n||null)},remove:e=>{const t=e.parentNode;t&&t.removeChild(e)},createElement:(e,t,n,r)=>{const s=t?ms.createElementNS(P0,e):ms.createElement(e,n?{is:n}:void 0);return e==="select"&&r&&r.multiple!=null&&s.setAttribute("multiple",r.multiple),s},createText:e=>ms.createTextNode(e),createComment:e=>ms.createComment(e),setText:(e,t)=>{e.nodeValue=t},setElementText:(e,t)=>{e.textContent=t},parentNode:e=>e.parentNode,nextSibling:e=>e.nextSibling,querySelector:e=>ms.querySelector(e),setScopeId(e,t){e.setAttribute(t,"")},insertStaticContent(e,t,n,r,s,o){const a=n?n.previousSibling:t.lastChild;if(s&&(s===o||s.nextSibling))for(;t.insertBefore(s.cloneNode(!0),n),!(s===o||!(s=s.nextSibling)););else{pf.innerHTML=r?`<svg>${e}</svg>`:e;const i=pf.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]}},Sr="transition",ko="animation",so=Symbol("_vtc"),Ft=(e,{slots:t})=>nr(L_,Cg(e),t);Ft.displayName="Transition";const zg={name:String,type:String,css:{type:Boolean,default:!0},duration:[String,Number,Object],enterFromClass:String,enterActiveClass:String,enterToClass:String,appearFromClass:String,appearActiveClass:String,appearToClass:String,leaveFromClass:String,leaveActiveClass:String,leaveToClass:String},F0=Ft.props=zt({},Bd,zg),ss=(e,t=[])=>{be(e)?e.forEach(n=>n(...t)):e&&e(...t)},hf=e=>e?be(e)?e.some(t=>t.length>1):e.length>1:!1;function Cg(e){const t={};for(const W in e)W in zg||(t[W]=e[W]);if(e.css===!1)return t;const{name:n="v",type:r,duration:s,enterFromClass:o=`${n}-enter-from`,enterActiveClass:a=`${n}-enter-active`,enterToClass:i=`${n}-enter-to`,appearFromClass:l=o,appearActiveClass:c=a,appearToClass:m=i,leaveFromClass:d=`${n}-leave-from`,leaveActiveClass:f=`${n}-leave-active`,leaveToClass:p=`${n}-leave-to`}=e,h=R0(s),_=h&&h[0],b=h&&h[1],{onBeforeEnter:w,onEnter:C,onEnterCancelled:z,onLeave:v,onLeaveCancelled:S,onBeforeAppear:A=w,onAppear:D=C,onAppearCancelled:F=z}=t,P=(W,U,Q)=>{Ir(W,U?m:i),Ir(W,U?c:a),Q&&Q()},M=(W,U)=>{W._isLeaving=!1,Ir(W,d),Ir(W,p),Ir(W,f),U&&U()},Z=W=>(U,Q)=>{const me=W?D:C,K=()=>P(U,W,Q);ss(me,[U,K]),_f(()=>{Ir(U,W?l:o),fr(U,W?m:i),hf(me)||gf(U,r,_,K)})};return zt(t,{onBeforeEnter(W){ss(w,[W]),fr(W,o),fr(W,a)},onBeforeAppear(W){ss(A,[W]),fr(W,l),fr(W,c)},onEnter:Z(!1),onAppear:Z(!0),onLeave(W,U){W._isLeaving=!0;const Q=()=>M(W,U);fr(W,d),kg(),fr(W,f),_f(()=>{W._isLeaving&&(Ir(W,d),fr(W,p),hf(v)||gf(W,r,b,Q))}),ss(v,[W,Q])},onEnterCancelled(W){P(W,!1),ss(z,[W])},onAppearCancelled(W){P(W,!0),ss(F,[W])},onLeaveCancelled(W){M(W),ss(S,[W])}})}function R0(e){if(e==null)return null;if(mt(e))return[Eu(e.enter),Eu(e.leave)];{const t=Eu(e);return[t,t]}}function Eu(e){return il(e)}function fr(e,t){t.split(/\s+/).forEach(n=>n&&e.classList.add(n)),(e[so]||(e[so]=new Set)).add(t)}function Ir(e,t){t.split(/\s+/).forEach(r=>r&&e.classList.remove(r));const n=e[so];n&&(n.delete(t),n.size||(e[so]=void 0))}function _f(e){requestAnimationFrame(()=>{requestAnimationFrame(e)})}let L0=0;function gf(e,t,n,r){const s=e._endId=++L0,o=()=>{s===e._endId&&r()};if(n)return setTimeout(o,n);const{type:a,timeout:i,propCount:l}=wg(e,t);if(!a)return r();const c=a+"end";let m=0;const d=()=>{e.removeEventListener(c,f),o()},f=p=>{p.target===e&&++m>=l&&d()};setTimeout(()=>{m<l&&d()},i+1),e.addEventListener(c,f)}function wg(e,t){const n=window.getComputedStyle(e),r=h=>(n[h]||"").split(", "),s=r(`${Sr}Delay`),o=r(`${Sr}Duration`),a=yf(s,o),i=r(`${ko}Delay`),l=r(`${ko}Duration`),c=yf(i,l);let m=null,d=0,f=0;t===Sr?a>0&&(m=Sr,d=a,f=o.length):t===ko?c>0&&(m=ko,d=c,f=l.length):(d=Math.max(a,c),m=d>0?a>c?Sr:ko:null,f=m?m===Sr?o.length:l.length:0);const p=m===Sr&&/\b(transform|all)(,|$)/.test(r(`${Sr}Property`).toString());return{type:m,timeout:d,propCount:f,hasTransform:p}}function yf(e,t){for(;e.length<t.length;)e=e.concat(e);return Math.max(...t.map((n,r)=>vf(n)+vf(e[r])))}function vf(e){return e==="auto"?0:Number(e.slice(0,-1).replace(",","."))*1e3}function kg(){return document.body.offsetHeight}function N0(e,t,n){const r=e[so];r&&(t=(t?[t,...r]:[...r]).join(" ")),t==null?e.removeAttribute("class"):n?e.setAttribute("class",t):e.className=t}const Gd=Symbol("_vod"),_a={beforeMount(e,{value:t},{transition:n}){e[Gd]=e.style.display==="none"?"":e.style.display,n&&t?n.beforeEnter(e):xo(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),xo(e,!0),r.enter(e)):r.leave(e,()=>{xo(e,!1)}):xo(e,t))},beforeUnmount(e,{value:t}){xo(e,t)}};function xo(e,t){e.style.display=t?e[Gd]:"none"}function M0(){_a.getSSRProps=({value:e})=>{if(!e)return{style:{display:"none"}}}}const xg=Symbol("");function V0(e){const t=Fn();if(!t)return;const n=t.ut=(s=e(t.proxy))=>{Array.from(document.querySelectorAll(`[data-v-owner="${t.uid}"]`)).forEach(o=>$c(o,s))},r=()=>{const s=e(t.proxy);Sc(t.subTree,s),n(s)};F_(r),go(()=>{const s=new MutationObserver(r);s.observe(t.subTree.el.parentNode,{childList:!0}),Oa(()=>s.disconnect())})}function Sc(e,t){if(e.shapeFlag&128){const n=e.suspense;e=n.activeBranch,n.pendingBranch&&!n.isHydrating&&n.effects.push(()=>{Sc(n.activeBranch,t)})}for(;e.component;)e=e.component.subTree;if(e.shapeFlag&1&&e.el)$c(e.el,t);else if(e.type===we)e.children.forEach(n=>Sc(n,t));else if(e.type===ys){let{el:n,anchor:r}=e;for(;n&&($c(n,t),n!==r);)n=n.nextSibling}}function $c(e,t){if(e.nodeType===1){const n=e.style;let r="";for(const s in t)n.setProperty(`--${s}`,t[s]),r+=`--${s}: ${t[s]};`;n[xg]=r}}function H0(e,t,n){const r=e.style,s=Ct(n);if(n&&!s){if(t&&!Ct(t))for(const o in t)n[o]==null&&Ac(r,o,"");for(const o in n)Ac(r,o,n[o])}else{const o=r.display;if(s){if(t!==n){const a=r[xg];a&&(n+=";"+a),r.cssText=n}}else t&&e.removeAttribute("style");Gd in e&&(r.display=o)}}const bf=/\s*!important$/;function Ac(e,t,n){if(be(n))n.forEach(r=>Ac(e,t,r));else if(n==null&&(n=""),t.startsWith("--"))e.setProperty(t,n);else{const r=B0(e,t);bf.test(n)?e.setProperty(Sn(r),n.replace(bf,""),"important"):e[r]=n}}const zf=["Webkit","Moz","ms"],Su={};function B0(e,t){const n=Su[t];if(n)return n;let r=dn(t);if(r!=="filter"&&r in e)return Su[t]=r;r=Sa(r);for(let s=0;s<zf.length;s++){const o=zf[s]+r;if(o in e)return Su[t]=o}return t}const Cf="http://www.w3.org/1999/xlink";function U0(e,t,n,r,s){if(r&&t.startsWith("xlink:"))n==null?e.removeAttributeNS(Cf,t.slice(6,t.length)):e.setAttributeNS(Cf,t,n);else{const o=wb(t);n==null||o&&!a_(n)?e.removeAttribute(t):e.setAttribute(t,o?"":n)}}function j0(e,t,n,r,s,o,a){if(t==="innerHTML"||t==="textContent"){r&&a(r,s,o),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,m=n??"";c!==m&&(e.value=m),n==null&&e.removeAttribute(t);return}let l=!1;if(n===""||n==null){const c=typeof e[t];c==="boolean"?n=a_(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 q0(e,t,n,r){e.removeEventListener(t,n,r)}const wf=Symbol("_vei");function W0(e,t,n,r,s=null){const o=e[wf]||(e[wf]={}),a=o[t];if(r&&a)a.value=r;else{const[i,l]=K0(t);if(r){const c=o[t]=Y0(r,s);hr(e,i,c,l)}else a&&(q0(e,i,a,l),o[t]=void 0)}}const kf=/(?:Once|Passive|Capture)$/;function K0(e){let t;if(kf.test(e)){t={};let r;for(;r=e.match(kf);)e=e.slice(0,e.length-r[0].length),t[r[0].toLowerCase()]=!0}return[e[2]===":"?e.slice(3):Sn(e.slice(2)),t]}let $u=0;const G0=Promise.resolve(),Z0=()=>$u||(G0.then(()=>$u=0),$u=Date.now());function Y0(e,t){const n=r=>{if(!r._vts)r._vts=Date.now();else if(r._vts<=n.attached)return;bn(J0(r,n.value),t,5,[r])};return n.value=e,n.attached=Z0(),n}function J0(e,t){if(be(t)){const n=e.stopImmediatePropagation;return e.stopImmediatePropagation=()=>{n.call(e),e._stopped=!0},t.map(r=>s=>!s._stopped&&r&&r(s))}else return t}const xf=e=>e.charCodeAt(0)===111&&e.charCodeAt(1)===110&&e.charCodeAt(2)>96&&e.charCodeAt(2)<123,X0=(e,t,n,r,s=!1,o,a,i,l)=>{t==="class"?N0(e,r,s):t==="style"?H0(e,n,r):Ea(t)?bd(t)||W0(e,t,n,r,a):(t[0]==="."?(t=t.slice(1),!0):t[0]==="^"?(t=t.slice(1),!1):Q0(e,t,r,s))?j0(e,t,r,o,a,i,l):(t==="true-value"?e._trueValue=r:t==="false-value"&&(e._falseValue=r),U0(e,t,r,s))};function Q0(e,t,n,r){if(r)return!!(t==="innerHTML"||t==="textContent"||t in e&&xf(t)&&De(n));if(t==="spellcheck"||t==="draggable"||t==="translate"||t==="form"||t==="list"&&e.tagName==="INPUT"||t==="type"&&e.tagName==="TEXTAREA")return!1;if(t==="width"||t==="height"){const s=e.tagName;if(s==="IMG"||s==="VIDEO"||s==="CANVAS"||s==="SOURCE")return!1}return xf(t)&&Ct(n)?!1:t in e}/*! #__NO_SIDE_EFFECTS__ */function Eg(e,t){const n=Cr(e);class r extends Zl{constructor(o){super(n,o,t)}}return r.def=n,r}/*! #__NO_SIDE_EFFECTS__ */const eC=e=>Eg(e,Rg),tC=typeof HTMLElement<"u"?HTMLElement:class{};class Zl extends tC{constructor(t,n={},r){super(),this._def=t,this._props=n,this._instance=null,this._connected=!1,this._resolved=!1,this._numberProps=null,this._ob=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,this._ob&&(this._ob.disconnect(),this._ob=null),$a(()=>{this._connected||(Tc(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);this._ob=new MutationObserver(r=>{for(const s of r)this._setAttr(s.attributeName)}),this._ob.observe(this,{attributes:!0});const t=(r,s=!1)=>{const{props:o,styles:a}=r;let i;if(o&&!be(o))for(const l in o){const c=o[l];(c===Number||c&&c.type===Number)&&(l in this._props&&(this._props[l]=il(this._props[l])),(i||(i=Object.create(null)))[dn(l)]=!0)}this._numberProps=i,s&&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=be(n)?n:Object.keys(n||{});for(const s of Object.keys(this))s[0]!=="_"&&r.includes(s)&&this._setProp(s,this[s],!0,!1);for(const s of r.map(dn))Object.defineProperty(this,s,{get(){return this._getProp(s)},set(o){this._setProp(s,o)}})}_setAttr(t){let n=this.getAttribute(t);const r=dn(t);this._numberProps&&this._numberProps[r]&&(n=il(n)),this._setProp(r,n,!1)}_getProp(t){return this._props[t]}_setProp(t,n,r=!0,s=!0){n!==this._props[t]&&(this._props[t]=n,s&&this._instance&&this._update(),r&&(n===!0?this.setAttribute(Sn(t),""):typeof n=="string"||typeof n=="number"?this.setAttribute(Sn(t),n+""):n||this.removeAttribute(Sn(t))))}_update(){Tc(this._createVNode(),this.shadowRoot)}_createVNode(){const t=y(this._def,zt({},this._props));return this._instance||(t.ce=n=>{this._instance=n,n.isCE=!0;const r=(o,a)=>{this.dispatchEvent(new CustomEvent(o,{detail:a}))};n.emit=(o,...a)=>{r(o,a),Sn(o)!==o&&r(Sn(o),a)};let s=this;for(;s=s&&(s.parentNode||s.host);)if(s instanceof Zl){n.parent=s._instance,n.provides=s._instance.provides;break}}),t}_applyStyles(t){t&&t.forEach(n=>{const r=document.createElement("style");r.textContent=n,this.shadowRoot.appendChild(r)})}}function nC(e="$style"){{const t=Fn();if(!t)return dt;const n=t.type.__cssModules;if(!n)return dt;const r=n[e];return r||dt}}const Sg=new WeakMap,$g=new WeakMap,pl=Symbol("_moveCb"),Ef=Symbol("_enterCb"),Ag={name:"TransitionGroup",props:zt({},F0,{tag:String,moveClass:String}),setup(e,{slots:t}){const n=Fn(),r=Hd();let s,o;return ql(()=>{if(!s.length)return;const a=e.moveClass||`${e.name||"v"}-move`;if(!lC(s[0].el,n.vnode.el,a))return;s.forEach(oC),s.forEach(aC);const i=s.filter(iC);kg(),i.forEach(l=>{const c=l.el,m=c.style;fr(c,a),m.transform=m.webkitTransform=m.transitionDuration="";const d=c[pl]=f=>{f&&f.target!==c||(!f||/transform$/.test(f.propertyName))&&(c.removeEventListener("transitionend",d),c[pl]=null,Ir(c,a))};c.addEventListener("transitionend",d)})}),()=>{const a=Ye(e),i=Cg(a);let l=a.tag||we;s=o,o=t.default?Ul(t.default()):[];for(let c=0;c<o.length;c++){const m=o[c];m.key!=null&&Cs(m,no(m,i,r,n))}if(s)for(let c=0;c<s.length;c++){const m=s[c];Cs(m,no(m,i,r,n)),Sg.set(m,m.el.getBoundingClientRect())}return y(l,null,o)}}},rC=e=>delete e.mode;Ag.props;const sC=Ag;function oC(e){const t=e.el;t[pl]&&t[pl](),t[Ef]&&t[Ef]()}function aC(e){$g.set(e,e.el.getBoundingClientRect())}function iC(e){const t=Sg.get(e),n=$g.get(e),r=t.left-n.left,s=t.top-n.top;if(r||s){const o=e.el.style;return o.transform=o.webkitTransform=`translate(${r}px,${s}px)`,o.transitionDuration="0s",e}}function lC(e,t,n){const r=e.cloneNode(),s=e[so];s&&s.forEach(i=>{i.split(/\s+/).forEach(l=>l&&r.classList.remove(l))}),n.split(/\s+/).forEach(i=>i&&r.classList.add(i)),r.style.display="none";const o=t.nodeType===1?t:t.parentNode;o.appendChild(r);const{hasTransform:a}=wg(r);return o.removeChild(r),a}const Xr=e=>{const t=e.props["onUpdate:modelValue"]||!1;return be(t)?n=>Gs(t,n):t};function uC(e){e.target.composing=!0}function Sf(e){const t=e.target;t.composing&&(t.composing=!1,t.dispatchEvent(new Event("input")))}const Tn=Symbol("_assign"),fn={created(e,{modifiers:{lazy:t,trim:n,number:r}},s){e[Tn]=Xr(s);const o=r||s.props&&s.props.type==="number";hr(e,t?"change":"input",a=>{if(a.target.composing)return;let i=e.value;n&&(i=i.trim()),o&&(i=al(i)),e[Tn](i)}),n&&hr(e,"change",()=>{e.value=e.value.trim()}),t||(hr(e,"compositionstart",uC),hr(e,"compositionend",Sf),hr(e,"change",Sf))},mounted(e,{value:t}){e.value=t??""},beforeUpdate(e,{value:t,modifiers:{lazy:n,trim:r,number:s}},o){if(e[Tn]=Xr(o),e.composing)return;const a=s||e.type==="number"?al(e.value):e.value,i=t??"";a!==i&&(document.activeElement===e&&e.type!=="range"&&(n||r&&e.value.trim()===i)||(e.value=i))}},Dn={deep:!0,created(e,t,n){e[Tn]=Xr(n),hr(e,"change",()=>{const r=e._modelValue,s=oo(e),o=e.checked,a=e[Tn];if(be(r)){const i=Fl(r,s),l=i!==-1;if(o&&!l)a(r.concat(s));else if(!o&&l){const c=[...r];c.splice(i,1),a(c)}}else if(ks(r)){const i=new Set(r);o?i.add(s):i.delete(s),a(i)}else a(Tg(e,o))})},mounted:$f,beforeUpdate(e,t,n){e[Tn]=Xr(n),$f(e,t,n)}};function $f(e,{value:t,oldValue:n},r){e._modelValue=t,be(t)?e.checked=Fl(t,r.props.value)>-1:ks(t)?e.checked=t.has(r.props.value):t!==n&&(e.checked=Kr(t,Tg(e,!0)))}const Zd={created(e,{value:t},n){e.checked=Kr(t,n.props.value),e[Tn]=Xr(n),hr(e,"change",()=>{e[Tn](oo(e))})},beforeUpdate(e,{value:t,oldValue:n},r){e[Tn]=Xr(r),t!==n&&(e.checked=Kr(t,r.props.value))}},Yd={deep:!0,created(e,{value:t,modifiers:{number:n}},r){const s=ks(t);hr(e,"change",()=>{const o=Array.prototype.filter.call(e.options,a=>a.selected).map(a=>n?al(oo(a)):oo(a));e[Tn](e.multiple?s?new Set(o):o:o[0])}),e[Tn]=Xr(r)},mounted(e,{value:t}){Af(e,t)},beforeUpdate(e,t,n){e[Tn]=Xr(n)},updated(e,{value:t}){Af(e,t)}};function Af(e,t){const n=e.multiple;if(!(n&&!be(t)&&!ks(t))){for(let r=0,s=e.options.length;r<s;r++){const o=e.options[r],a=oo(o);if(n)be(t)?o.selected=Fl(t,a)>-1:o.selected=t.has(a);else if(Kr(oo(o),t)){e.selectedIndex!==r&&(e.selectedIndex=r);return}}!n&&e.selectedIndex!==-1&&(e.selectedIndex=-1)}}function oo(e){return"_value"in e?e._value:e.value}function Tg(e,t){const n=t?"_trueValue":"_falseValue";return n in e?e[n]:t}const Og={created(e,t,n){ti(e,t,n,null,"created")},mounted(e,t,n){ti(e,t,n,null,"mounted")},beforeUpdate(e,t,n,r){ti(e,t,n,r,"beforeUpdate")},updated(e,t,n,r){ti(e,t,n,r,"updated")}};function Dg(e,t){switch(e){case"SELECT":return Yd;case"TEXTAREA":return fn;default:switch(t){case"checkbox":return Dn;case"radio":return Zd;default:return fn}}}function ti(e,t,n,r,s){const a=Dg(e.tagName,n.props&&n.props.type)[s];a&&a(e,t,n,r)}function cC(){fn.getSSRProps=({value:e})=>({value:e}),Zd.getSSRProps=({value:e},t)=>{if(t.props&&Kr(t.props.value,e))return{checked:!0}},Dn.getSSRProps=({value:e},t)=>{if(be(e)){if(t.props&&Fl(e,t.props.value)>-1)return{checked:!0}}else if(ks(e)){if(t.props&&e.has(t.props.value))return{checked:!0}}else if(e)return{checked:!0}},Og.getSSRProps=(e,t)=>{if(typeof t.type!="string")return;const n=Dg(t.type.toUpperCase(),t.props&&t.props.type);if(n.getSSRProps)return n.getSSRProps(e,t)}}const dC=["ctrl","shift","alt","meta"],mC={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)=>dC.some(n=>e[`${n}Key`]&&!t.includes(n))},nt=(e,t)=>{const n=e._withMods||(e._withMods={}),r=t.join(".");return n[r]||(n[r]=(s,...o)=>{for(let a=0;a<t.length;a++){const i=mC[t[a]];if(i&&i(s,t))return}return e(s,...o)})},fC={esc:"escape",space:" ",up:"arrow-up",left:"arrow-left",right:"arrow-right",down:"arrow-down",delete:"backspace"},an=(e,t)=>{const n=e._withKeys||(e._withKeys={}),r=t.join(".");return n[r]||(n[r]=s=>{if(!("key"in s))return;const o=Sn(s.key);if(t.some(a=>a===o||fC[a]===o))return e(s)})},Pg=zt({patchProp:X0},I0);let Jo,Tf=!1;function Ig(){return Jo||(Jo=rg(Pg))}function Fg(){return Jo=Tf?Jo:sg(Pg),Tf=!0,Jo}const Tc=(...e)=>{Ig().render(...e)},Rg=(...e)=>{Fg().hydrate(...e)},Lg=(...e)=>{const t=Ig().createApp(...e),{mount:n}=t;return t.mount=r=>{const s=Ng(r);if(!s)return;const o=t._component;!De(o)&&!o.render&&!o.template&&(o.template=s.innerHTML),s.innerHTML="";const a=n(s,!1,s instanceof SVGElement);return s instanceof Element&&(s.removeAttribute("v-cloak"),s.setAttribute("data-v-app","")),a},t},pC=(...e)=>{const t=Fg().createApp(...e),{mount:n}=t;return t.mount=r=>{const s=Ng(r);if(s)return n(s,!0,s instanceof SVGElement)},t};function Ng(e){return Ct(e)?document.querySelector(e):e}let Of=!1;const hC=()=>{Of||(Of=!0,cC(),M0())},_C=()=>{},gC=Object.freeze(Object.defineProperty({__proto__:null,BaseTransition:L_,BaseTransitionPropsValidators:Bd,Comment:Gt,EffectScope:kd,Fragment:we,KeepAlive:Fz,ReactiveEffect:to,Static:ys,Suspense:kz,Teleport:es,Text:Zr,Transition:Ft,TransitionGroup:sC,VueElement:Zl,assertNumber:uz,callWithAsyncErrorHandling:bn,callWithErrorHandling:yr,camelize:dn,capitalize:Sa,cloneVNode:ir,compatUtils:D0,compile:_C,computed:Lt,createApp:Lg,createBlock:he,createCommentVNode:V,createElementBlock:$,createElementVNode:u,createHydrationRenderer:sg,createPropsRestProxy:Jz,createRenderer:rg,createSSRApp:pC,createSlots:Da,createStaticVNode:v0,createTextVNode:_t,createVNode:y,customRef:tz,defineAsyncComponent:Pz,defineComponent:Cr,defineCustomElement:Eg,defineEmits:Vz,defineExpose:Hz,defineModel:jz,defineOptions:Bz,defineProps:Mz,defineSSRCustomElement:eC,defineSlots:Uz,get devtools(){return Ns},effect:$b,effectScope:xd,getCurrentInstance:Fn,getCurrentScope:u_,getTransitionRawChildren:Ul,guardReactiveProps:dg,h:nr,handleError:xs,hasInjectionContext:a0,hydrate:Rg,initCustomFormatter:S0,initDirectivesForSSR:hC,inject:Wn,isMemoSame:vg,isProxy:Td,isReactive:_s,isReadonly:zs,isRef:Vt,isRuntimeOnly:k0,isShallow:la,isVNode:Yr,markRaw:Od,mergeDefaults:Zz,mergeModels:Yz,mergeProps:Us,nextTick:$a,normalizeClass:Ee,normalizeProps:Ro,normalizeStyle:Qr,onActivated:M_,onBeforeMount:B_,onBeforeUnmount:Wl,onBeforeUpdate:U_,onDeactivated:V_,onErrorCaptured:K_,onMounted:go,onRenderTracked:W_,onRenderTriggered:q_,onScopeDispose:xb,onServerPrefetch:j_,onUnmounted:Oa,onUpdated:ql,openBlock:k,popScopeId:_z,provide:Go,proxyRefs:Id,pushScopeId:hz,queuePostFlushCb:ul,reactive:_o,readonly:Ad,ref:Xt,registerRuntimeCompiler:w0,render:Tc,renderList:lt,renderSlot:st,resolveComponent:E,resolveDirective:Nd,resolveDynamicComponent:O_,resolveFilter:O0,resolveTransitionHooks:no,setBlockTracking:wc,setDevtoolsHook:$_,setTransitionHooks:Cs,shallowReactive:$d,shallowReadonly:Zb,shallowRef:C_,ssrContextKey:gg,ssrUtils:T0,stop:Ab,toDisplayString:g,toHandlerKey:Wo,toHandlers:Lz,toRaw:Ye,toRef:oz,toRefs:nz,toValue:Xb,transformVNodeArgs:g0,triggerRef:Jb,unref:vn,useAttrs:Kz,useCssModule:nC,useCssVars:V0,useModel:Gz,useSSRContext:yg,useSlots:Wz,useTransitionState:Hd,vModelCheckbox:Dn,vModelDynamic:Og,vModelRadio:Zd,vModelSelect:Yd,vModelText:fn,vShow:_a,version:bg,warn:lz,watch:en,watchEffect:I_,watchPostEffect:F_,watchSyncEffect:Tz,withAsyncContext:Xz,withCtx:x,withDefaults:qz,withDirectives:gt,withKeys:an,withMemo:$0,withModifiers:nt,withScopeId:gz},Symbol.toStringTag,{value:"Module"})),te=(e,t)=>{const n=e.__vccOpts||e;for(const[r,s]of t)n[r]=s;return n},yC={name:"NavbarItemLink",props:{exact:Boolean,to:Object},computed:{is_active(){return this.exact?this.$route.path===this.to:this.$route.path.startsWith(this.to)},show_burger_menu:{get(){return this.$store.state.show_burger_menu},set(e){this.$store.commit(Qs,e)}},show_player_menu:{get(){return this.$store.state.show_player_menu},set(e){this.$store.commit(eo,e)}}},methods:{full_path(){return this.$router.resolve(this.to).href},open_link(){this.show_burger_menu&&this.$store.commit(Qs,!1),this.show_player_menu&&this.$store.commit(eo,!1),this.$router.push(this.to)}}},vC=["href"];function bC(e,t,n,r,s,o){return k(),$("a",{class:Ee(["navbar-item",{"is-active":o.is_active}]),href:o.full_path(),onClick:t[0]||(t[0]=nt(a=>o.open_link(),["stop","prevent"]))},[st(e.$slots,"default")],10,vC)}const Mg=te(yC,[["render",bC]]),zC={name:"NavbarTop",components:{NavbarItemLink:Mg},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},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(Qs,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(xa,e)}},search_name:{get(){return`search-${this.$store.state.search_source}`}},zindex(){return this.show_player_menu?"z-index: 21":""}},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}}},CC={class:"navbar-brand"},wC=u("span",null,null,-1),kC=u("span",null,null,-1),xC=u("span",null,null,-1),EC=[wC,kC,xC],SC=u("div",{class:"navbar-start"},null,-1),$C={class:"navbar-end"},AC={class:"navbar-link is-arrowless"},TC=["textContent"],OC={class:"navbar-dropdown is-right"},DC=["textContent"],PC=["textContent"],IC=["textContent"],FC=["textContent"],RC=["textContent"],LC=["textContent"],NC=["textContent"],MC=["textContent"],VC=["textContent"],HC=["textContent"],BC=["textContent"],UC=u("hr",{class:"my-3"},null,-1),jC=["textContent"];function qC(e,t,n,r,s,o){const a=E("mdicon"),i=E("navbar-item-link");return k(),$("nav",{class:"navbar is-light is-fixed-top",style:Qr(o.zindex),role:"navigation","aria-label":"main navigation"},[u("div",CC,[o.is_visible_playlists?(k(),he(i,{key:0,to:{name:"playlists"}},{default:x(()=>[y(a,{class:"icon",name:"music-box-multiple",size:"16"})]),_:1})):V("",!0),o.is_visible_music?(k(),he(i,{key:1,to:{name:"music"}},{default:x(()=>[y(a,{class:"icon",name:"music",size:"16"})]),_:1})):V("",!0),o.is_visible_podcasts?(k(),he(i,{key:2,to:{name:"podcasts"}},{default:x(()=>[y(a,{class:"icon",name:"microphone",size:"16"})]),_:1})):V("",!0),o.is_visible_audiobooks?(k(),he(i,{key:3,to:{name:"audiobooks"}},{default:x(()=>[y(a,{class:"icon",name:"book-open-variant",size:"16"})]),_:1})):V("",!0),o.is_visible_radio?(k(),he(i,{key:4,to:{name:"radio"}},{default:x(()=>[y(a,{class:"icon",name:"radio",size:"16"})]),_:1})):V("",!0),o.is_visible_files?(k(),he(i,{key:5,to:{name:"files"}},{default:x(()=>[y(a,{class:"icon",name:"folder-open",size:"16"})]),_:1})):V("",!0),o.is_visible_search?(k(),he(i,{key:6,to:{name:o.search_name}},{default:x(()=>[y(a,{class:"icon",name:"magnify",size:"16"})]),_:1},8,["to"])):V("",!0),u("div",{class:Ee(["navbar-burger",{"is-active":o.show_burger_menu}]),onClick:t[0]||(t[0]=l=>o.show_burger_menu=!o.show_burger_menu)},EC,2)]),u("div",{class:Ee(["navbar-menu",{"is-active":o.show_burger_menu}])},[SC,u("div",$C,[u("div",{class:Ee(["navbar-item has-dropdown is-hoverable",{"is-active":s.show_settings_menu}]),onClick:t[2]||(t[2]=(...l)=>o.on_click_outside_settings&&o.on_click_outside_settings(...l))},[u("a",AC,[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,TC)]),u("div",OC,[y(i,{to:{name:"playlists"}},{default:x(()=>[y(a,{class:"icon",name:"music-box-multiple",size:"16"}),u("b",{textContent:g(e.$t("navigation.playlists"))},null,8,DC)]),_:1}),y(i,{to:{name:"music"},exact:""},{default:x(()=>[y(a,{class:"icon",name:"music",size:"16"}),u("b",{textContent:g(e.$t("navigation.music"))},null,8,PC)]),_:1}),y(i,{to:{name:"music-artists"}},{default:x(()=>[u("span",{class:"pl-5",textContent:g(e.$t("navigation.artists"))},null,8,IC)]),_:1}),y(i,{to:{name:"music-albums"}},{default:x(()=>[u("span",{class:"pl-5",textContent:g(e.$t("navigation.albums"))},null,8,FC)]),_:1}),y(i,{to:{name:"music-genres"}},{default:x(()=>[u("span",{class:"pl-5",textContent:g(e.$t("navigation.genres"))},null,8,RC)]),_:1}),o.spotify_enabled?(k(),he(i,{key:0,to:{name:"music-spotify"}},{default:x(()=>[u("span",{class:"pl-5",textContent:g(e.$t("navigation.spotify"))},null,8,LC)]),_:1})):V("",!0),y(i,{to:{name:"podcasts"}},{default:x(()=>[y(a,{class:"icon",name:"microphone",size:"16"}),u("b",{textContent:g(e.$t("navigation.podcasts"))},null,8,NC)]),_:1}),y(i,{to:{name:"audiobooks"}},{default:x(()=>[y(a,{class:"icon",name:"book-open-variant",size:"16"}),u("b",{textContent:g(e.$t("navigation.audiobooks"))},null,8,MC)]),_:1}),y(i,{to:{name:"radio"}},{default:x(()=>[y(a,{class:"icon",name:"radio",size:"16"}),u("b",{textContent:g(e.$t("navigation.radio"))},null,8,VC)]),_:1}),y(i,{to:{name:"files"}},{default:x(()=>[y(a,{class:"icon",name:"folder-open",size:"16"}),u("b",{textContent:g(e.$t("navigation.files"))},null,8,HC)]),_:1}),y(i,{to:{name:o.search_name}},{default:x(()=>[y(a,{class:"icon",name:"magnify",size:"16"}),u("b",{textContent:g(e.$t("navigation.search"))},null,8,BC)]),_:1},8,["to"]),UC,y(i,{to:{name:"settings-webinterface"}},{default:x(()=>[_t(g(e.$t("navigation.settings")),1)]),_:1}),u("a",{class:"navbar-item",onClick:t[1]||(t[1]=nt(l=>o.open_update_dialog(),["stop","prevent"])),textContent:g(e.$t("navigation.update-library"))},null,8,jC),y(i,{to:{name:"about"}},{default:x(()=>[_t(g(e.$t("navigation.about")),1)]),_:1})])],2)])],2),gt(u("div",{class:"is-overlay",onClick:t[3]||(t[3]=l=>s.show_settings_menu=!1)},null,512),[[_a,s.show_settings_menu]])],4)}const WC=te(zC,[["render",qC]]),Eo={_audio:new Audio,_context:null,setupAudio(){return this._context=new(window.AudioContext||window.webkitAudioContext),this._context.createMediaElementSource(this._audio).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._audio&&(this._audio.volume=Math.min(1,Math.max(0,parseFloat(e)||0)))},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{}}},KC={name:"ControlSlider",props:["value","max","disabled","cursor"],emits:["update:value"],computed:{ratio(){return this.value/this.max}}},GC=["value","disabled","max"];function ZC(e,t,n,r,s,o){return k(),$("input",{value:n.value,disabled:n.disabled,class:Ee(["slider",{"is-inactive":n.disabled}]),max:n.max,type:"range",style:Qr({"--ratio":o.ratio,"--cursor":e.$filters.cursor(n.cursor)}),onInput:t[0]||(t[0]=a=>e.$emit("update:value",a.target.value))},null,46,GC)}const Jd=te(KC,[["render",ZC]]);var YC="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",JC="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",XC="M13 14H11V9H13M13 18H11V16H13M1 21H23L12 2L1 21Z",QC="M19.92,12.08L12,20L4.08,12.08L5.5,10.67L11,16.17V2H13V16.17L18.5,10.66L19.92,12.08M12,20H2V22H22V20H12Z",ew="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",tw="M12 21.5C10.65 20.65 8.2 20 6.5 20C4.85 20 3.15 20.3 1.75 21.05C1.65 21.1 1.6 21.1 1.5 21.1C1.25 21.1 1 20.85 1 20.6V6C1.6 5.55 2.25 5.25 3 5C4.11 4.65 5.33 4.5 6.5 4.5C8.45 4.5 10.55 4.9 12 6C13.45 4.9 15.55 4.5 17.5 4.5C18.67 4.5 19.89 4.65 21 5C21.75 5.25 22.4 5.55 23 6V20.6C23 20.85 22.75 21.1 22.5 21.1C22.4 21.1 22.35 21.1 22.25 21.05C20.85 20.3 19.15 20 17.5 20C15.8 20 13.35 20.65 12 21.5M12 8V19.5C13.35 18.65 15.8 18 17.5 18C18.7 18 19.9 18.15 21 18.5V7C19.9 6.65 18.7 6.5 17.5 6.5C15.8 6.5 13.35 7.15 12 8M13 11.5C14.11 10.82 15.6 10.5 17.5 10.5C18.41 10.5 19.26 10.59 20 10.78V9.23C19.13 9.08 18.29 9 17.5 9C15.73 9 14.23 9.28 13 9.84V11.5M17.5 11.67C15.79 11.67 14.29 11.93 13 12.46V14.15C14.11 13.5 15.6 13.16 17.5 13.16C18.54 13.16 19.38 13.24 20 13.4V11.9C19.13 11.74 18.29 11.67 17.5 11.67M20 14.57C19.13 14.41 18.29 14.33 17.5 14.33C15.67 14.33 14.17 14.6 13 15.13V16.82C14.11 16.16 15.6 15.83 17.5 15.83C18.54 15.83 19.38 15.91 20 16.07V14.57Z",nw="M9 3V18H12V3H9M12 5L16 18L19 17L15 4L12 5M5 5V18H8V5H5M3 19V21H21V19H3Z",rw="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",Yl="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",sw="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",ow="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",aw="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",iw="M21,7L9,19L3.5,13.5L4.91,12.09L9,16.17L19.59,5.59L21,7Z",lw="M7.41,8.58L12,13.17L16.59,8.58L18,10L12,16L6,10L7.41,8.58Z",uw="M7.41,15.41L12,10.83L16.59,15.41L18,14L12,8L6,14L7.41,15.41Z",cw="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",dw="M19,4H15.5L14.5,3H9.5L8.5,4H5V6H19M6,19A2,2 0 0,0 8,21H16A2,2 0 0,0 18,19V7H6V19Z",mw="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",fw="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",pw="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",hw="M3,15V13H5V15H3M3,11V9H5V11H3M7,15V13H9V15H7M7,11V9H9V11H7M11,15V13H13V15H11M11,11V9H13V11H11M15,15V13H17V15H15M15,11V9H17V11H15M19,15V13H21V15H19M19,11V9H21V11H19Z",_w="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",gw="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",yw="M14,2H6A2,2 0 0,0 4,4V20A2,2 0 0,0 6,22H18A2,2 0 0,0 20,20V8L14,2M18,20H6V4H13V9H18V20Z",vw="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",bw="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",zw="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",Cw="M13.5,8H12V13L16.28,15.54L17,14.33L13.5,12.25V8M13,3A9,9 0 0,0 4,12H1L4.96,16.03L9,12H6A7,7 0 0,1 13,5A7,7 0 0,1 20,12A7,7 0 0,1 13,19C11.07,19 9.32,18.21 8.06,16.94L6.64,18.36C8.27,20 10.5,21 13,21A9,9 0 0,0 22,12A9,9 0 0,0 13,3",ww="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",kw="M3,6H21V8H3V6M3,11H21V13H3V11M3,16H21V18H3V16Z",xw="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",Ew="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",Sw="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",$w="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",Aw="M14,19H18V5H14M6,19H10V5H6V19Z",Tw="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",Ow="M22,14H20V16H14V13H16V11H14V6A2,2 0 0,0 12,4H4V2H2V10H4V8H10V11H8V13H10V18A2,2 0 0,0 12,20H20V22H22",Dw="M8,5.14V19.14L19,12.14L8,5.14Z",Pw="M3 10H14V12H3V10M3 6H14V8H3V6M3 14H10V16H3V14M16 13V21L22 17L16 13Z",Iw="M3 16H10V14H3M18 14V10H16V14H12V16H16V20H18V16H22V14M14 6H3V8H14M14 10H3V12H14V10Z",Fw="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",Rw="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",Lw="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",Nw="M17,17H7V14L3,18L7,22V19H19V13H17M7,7H17V10L21,6L17,2V5H5V11H7V7Z",Mw="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",Vw="M13,15V9H12L10,10V11H11.5V15M17,17H7V14L3,18L7,22V19H19V13H17M7,7H17V10L21,6L17,2V5H5V11H7V7Z",Hw="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",Bw="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",Uw="M15,20A1,1 0 0,0 16,19V4H8A1,1 0 0,0 7,5V16H5V5A3,3 0 0,1 8,2H19A3,3 0 0,1 22,5V6H20V5A1,1 0 0,0 19,4A1,1 0 0,0 18,5V9L18,19A3,3 0 0,1 15,22H5A3,3 0 0,1 2,19V18H13A2,2 0 0,0 15,20M9,6H14V8H9V6M9,10H14V12H9V10M9,14H14V16H9V14Z",jw="M13.8 22H5C3.3 22 2 20.7 2 19V18H13.1C13 18.3 13 18.7 13 19C13 20.1 13.3 21.1 13.8 22M13.8 16H5V5C5 3.3 6.3 2 8 2H19C20.7 2 22 3.3 22 5V6H20V5C20 4.4 19.6 4 19 4S18 4.4 18 5V13.1C16.2 13.4 14.7 14.5 13.8 16M8 8H15V6H8V8M8 12H14V10H8V12M17 16V22L22 19L17 16Z",qw="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",Ww="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",Kw="M16,4.5V7H5V9H16V11.5L19.5,8M16,12.5V15H5V17H16V19.5L19.5,16",Gw="M20,5V19L13,12M6,5V19H4V5M13,5V19L6,12",Zw="M4,5V19L11,12M18,5V19H20V5M11,5V19L18,12",Yw="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",Jw="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",Xw="M18,18H6V6H18V18Z",Qw="M11,9L12.42,10.42L8.83,14H18V4H20V16H8.83L12.42,19.58L11,21L5,15L11,9Z",ek="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",tk="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",nk="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";function Vg(e,t){return function(){return e.apply(t,arguments)}}const{toString:rk}=Object.prototype,{getPrototypeOf:Xd}=Object,Jl=(e=>t=>{const n=rk.call(t);return e[n]||(e[n]=n.slice(8,-1).toLowerCase())})(Object.create(null)),ur=e=>(e=e.toLowerCase(),t=>Jl(t)===e),Xl=e=>t=>typeof t===e,{isArray:yo}=Array,ga=Xl("undefined");function sk(e){return e!==null&&!ga(e)&&e.constructor!==null&&!ga(e.constructor)&&On(e.constructor.isBuffer)&&e.constructor.isBuffer(e)}const Hg=ur("ArrayBuffer");function ok(e){let t;return typeof ArrayBuffer<"u"&&ArrayBuffer.isView?t=ArrayBuffer.isView(e):t=e&&e.buffer&&Hg(e.buffer),t}const ak=Xl("string"),On=Xl("function"),Bg=Xl("number"),Ql=e=>e!==null&&typeof e=="object",ik=e=>e===!0||e===!1,Zi=e=>{if(Jl(e)!=="object")return!1;const t=Xd(e);return(t===null||t===Object.prototype||Object.getPrototypeOf(t)===null)&&!(Symbol.toStringTag in e)&&!(Symbol.iterator in e)},lk=ur("Date"),uk=ur("File"),ck=ur("Blob"),dk=ur("FileList"),mk=e=>Ql(e)&&On(e.pipe),fk=e=>{let t;return e&&(typeof FormData=="function"&&e instanceof FormData||On(e.append)&&((t=Jl(e))==="formdata"||t==="object"&&On(e.toString)&&e.toString()==="[object FormData]"))},pk=ur("URLSearchParams"),hk=e=>e.trim?e.trim():e.replace(/^[\s\uFEFF\xA0]+|[\s\uFEFF\xA0]+$/g,"");function Pa(e,t,{allOwnKeys:n=!1}={}){if(e===null||typeof e>"u")return;let r,s;if(typeof e!="object"&&(e=[e]),yo(e))for(r=0,s=e.length;r<s;r++)t.call(null,e[r],r,e);else{const o=n?Object.getOwnPropertyNames(e):Object.keys(e),a=o.length;let i;for(r=0;r<a;r++)i=o[r],t.call(null,e[i],i,e)}}function Ug(e,t){t=t.toLowerCase();const n=Object.keys(e);let r=n.length,s;for(;r-- >0;)if(s=n[r],t===s.toLowerCase())return s;return null}const jg=typeof globalThis<"u"?globalThis:typeof self<"u"?self:typeof window<"u"?window:global,qg=e=>!ga(e)&&e!==jg;function Oc(){const{caseless:e}=qg(this)&&this||{},t={},n=(r,s)=>{const o=e&&Ug(t,s)||s;Zi(t[o])&&Zi(r)?t[o]=Oc(t[o],r):Zi(r)?t[o]=Oc({},r):yo(r)?t[o]=r.slice():t[o]=r};for(let r=0,s=arguments.length;r<s;r++)arguments[r]&&Pa(arguments[r],n);return t}const _k=(e,t,n,{allOwnKeys:r}={})=>(Pa(t,(s,o)=>{n&&On(s)?e[o]=Vg(s,n):e[o]=s},{allOwnKeys:r}),e),gk=e=>(e.charCodeAt(0)===65279&&(e=e.slice(1)),e),yk=(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)},vk=(e,t,n,r)=>{let s,o,a;const i={};if(t=t||{},e==null)return t;do{for(s=Object.getOwnPropertyNames(e),o=s.length;o-- >0;)a=s[o],(!r||r(a,e,t))&&!i[a]&&(t[a]=e[a],i[a]=!0);e=n!==!1&&Xd(e)}while(e&&(!n||n(e,t))&&e!==Object.prototype);return t},bk=(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},zk=e=>{if(!e)return null;if(yo(e))return e;let t=e.length;if(!Bg(t))return null;const n=new Array(t);for(;t-- >0;)n[t]=e[t];return n},Ck=(e=>t=>e&&t instanceof e)(typeof Uint8Array<"u"&&Xd(Uint8Array)),wk=(e,t)=>{const r=(e&&e[Symbol.iterator]).call(e);let s;for(;(s=r.next())&&!s.done;){const o=s.value;t.call(e,o[0],o[1])}},kk=(e,t)=>{let n;const r=[];for(;(n=e.exec(t))!==null;)r.push(n);return r},xk=ur("HTMLFormElement"),Ek=e=>e.toLowerCase().replace(/[-_\s]([a-z\d])(\w*)/g,function(n,r,s){return r.toUpperCase()+s}),Df=(({hasOwnProperty:e})=>(t,n)=>e.call(t,n))(Object.prototype),Sk=ur("RegExp"),Wg=(e,t)=>{const n=Object.getOwnPropertyDescriptors(e),r={};Pa(n,(s,o)=>{let a;(a=t(s,o,e))!==!1&&(r[o]=a||s)}),Object.defineProperties(e,r)},$k=e=>{Wg(e,(t,n)=>{if(On(e)&&["arguments","caller","callee"].indexOf(n)!==-1)return!1;const r=e[n];if(On(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+"'")})}})},Ak=(e,t)=>{const n={},r=s=>{s.forEach(o=>{n[o]=!0})};return yo(e)?r(e):r(String(e).split(t)),n},Tk=()=>{},Ok=(e,t)=>(e=+e,Number.isFinite(e)?e:t),Au="abcdefghijklmnopqrstuvwxyz",Pf="0123456789",Kg={DIGIT:Pf,ALPHA:Au,ALPHA_DIGIT:Au+Au.toUpperCase()+Pf},Dk=(e=16,t=Kg.ALPHA_DIGIT)=>{let n="";const{length:r}=t;for(;e--;)n+=t[Math.random()*r|0];return n};function Pk(e){return!!(e&&On(e.append)&&e[Symbol.toStringTag]==="FormData"&&e[Symbol.iterator])}const Ik=e=>{const t=new Array(10),n=(r,s)=>{if(Ql(r)){if(t.indexOf(r)>=0)return;if(!("toJSON"in r)){t[s]=r;const o=yo(r)?[]:{};return Pa(r,(a,i)=>{const l=n(a,s+1);!ga(l)&&(o[i]=l)}),t[s]=void 0,o}}return r};return n(e,0)},Fk=ur("AsyncFunction"),Rk=e=>e&&(Ql(e)||On(e))&&On(e.then)&&On(e.catch),J={isArray:yo,isArrayBuffer:Hg,isBuffer:sk,isFormData:fk,isArrayBufferView:ok,isString:ak,isNumber:Bg,isBoolean:ik,isObject:Ql,isPlainObject:Zi,isUndefined:ga,isDate:lk,isFile:uk,isBlob:ck,isRegExp:Sk,isFunction:On,isStream:mk,isURLSearchParams:pk,isTypedArray:Ck,isFileList:dk,forEach:Pa,merge:Oc,extend:_k,trim:hk,stripBOM:gk,inherits:yk,toFlatObject:vk,kindOf:Jl,kindOfTest:ur,endsWith:bk,toArray:zk,forEachEntry:wk,matchAll:kk,isHTMLForm:xk,hasOwnProperty:Df,hasOwnProp:Df,reduceDescriptors:Wg,freezeMethods:$k,toObjectSet:Ak,toCamelCase:Ek,noop:Tk,toFiniteNumber:Ok,findKey:Ug,global:jg,isContextDefined:qg,ALPHABET:Kg,generateString:Dk,isSpecCompliantForm:Pk,toJSONObject:Ik,isAsyncFn:Fk,isThenable:Rk};function Je(e,t,n,r,s){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),s&&(this.response=s)}J.inherits(Je,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:J.toJSONObject(this.config),code:this.code,status:this.response&&this.response.status?this.response.status:null}}});const Gg=Je.prototype,Zg={};["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=>{Zg[e]={value:e}});Object.defineProperties(Je,Zg);Object.defineProperty(Gg,"isAxiosError",{value:!0});Je.from=(e,t,n,r,s,o)=>{const a=Object.create(Gg);return J.toFlatObject(e,a,function(l){return l!==Error.prototype},i=>i!=="isAxiosError"),Je.call(a,e.message,t,n,r,s),a.cause=e,a.name=e.name,o&&Object.assign(a,o),a};const Lk=null;function Dc(e){return J.isPlainObject(e)||J.isArray(e)}function Yg(e){return J.endsWith(e,"[]")?e.slice(0,-2):e}function If(e,t,n){return e?e.concat(t).map(function(s,o){return s=Yg(s),!n&&o?"["+s+"]":s}).join(n?".":""):t}function Nk(e){return J.isArray(e)&&!e.some(Dc)}const Mk=J.toFlatObject(J,{},null,function(t){return/^is[A-Z]/.test(t)});function eu(e,t,n){if(!J.isObject(e))throw new TypeError("target must be an object");t=t||new FormData,n=J.toFlatObject(n,{metaTokens:!0,dots:!1,indexes:!1},!1,function(_,b){return!J.isUndefined(b[_])});const r=n.metaTokens,s=n.visitor||m,o=n.dots,a=n.indexes,l=(n.Blob||typeof Blob<"u"&&Blob)&&J.isSpecCompliantForm(t);if(!J.isFunction(s))throw new TypeError("visitor must be a function");function c(h){if(h===null)return"";if(J.isDate(h))return h.toISOString();if(!l&&J.isBlob(h))throw new Je("Blob is not supported. Use a Buffer instead.");return J.isArrayBuffer(h)||J.isTypedArray(h)?l&&typeof Blob=="function"?new Blob([h]):Buffer.from(h):h}function m(h,_,b){let w=h;if(h&&!b&&typeof h=="object"){if(J.endsWith(_,"{}"))_=r?_:_.slice(0,-2),h=JSON.stringify(h);else if(J.isArray(h)&&Nk(h)||(J.isFileList(h)||J.endsWith(_,"[]"))&&(w=J.toArray(h)))return _=Yg(_),w.forEach(function(z,v){!(J.isUndefined(z)||z===null)&&t.append(a===!0?If([_],v,o):a===null?_:_+"[]",c(z))}),!1}return Dc(h)?!0:(t.append(If(b,_,o),c(h)),!1)}const d=[],f=Object.assign(Mk,{defaultVisitor:m,convertValue:c,isVisitable:Dc});function p(h,_){if(!J.isUndefined(h)){if(d.indexOf(h)!==-1)throw Error("Circular reference detected in "+_.join("."));d.push(h),J.forEach(h,function(w,C){(!(J.isUndefined(w)||w===null)&&s.call(t,w,J.isString(C)?C.trim():C,_,f))===!0&&p(w,_?_.concat(C):[C])}),d.pop()}}if(!J.isObject(e))throw new TypeError("data must be an object");return p(e),t}function Ff(e){const t={"!":"%21","'":"%27","(":"%28",")":"%29","~":"%7E","%20":"+","%00":"\0"};return encodeURIComponent(e).replace(/[!'()~]|%20|%00/g,function(r){return t[r]})}function Qd(e,t){this._pairs=[],e&&eu(e,this,t)}const Jg=Qd.prototype;Jg.append=function(t,n){this._pairs.push([t,n])};Jg.toString=function(t){const n=t?function(r){return t.call(this,r,Ff)}:Ff;return this._pairs.map(function(s){return n(s[0])+"="+n(s[1])},"").join("&")};function Vk(e){return encodeURIComponent(e).replace(/%3A/gi,":").replace(/%24/g,"$").replace(/%2C/gi,",").replace(/%20/g,"+").replace(/%5B/gi,"[").replace(/%5D/gi,"]")}function Xg(e,t,n){if(!t)return e;const r=n&&n.encode||Vk,s=n&&n.serialize;let o;if(s?o=s(t,n):o=J.isURLSearchParams(t)?t.toString():new Qd(t,n).toString(r),o){const a=e.indexOf("#");a!==-1&&(e=e.slice(0,a)),e+=(e.indexOf("?")===-1?"?":"&")+o}return e}class Hk{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){J.forEach(this.handlers,function(r){r!==null&&t(r)})}}const Rf=Hk,Qg={silentJSONParsing:!0,forcedJSONParsing:!0,clarifyTimeoutError:!1},Bk=typeof URLSearchParams<"u"?URLSearchParams:Qd,Uk=typeof FormData<"u"?FormData:null,jk=typeof Blob<"u"?Blob:null,qk={isBrowser:!0,classes:{URLSearchParams:Bk,FormData:Uk,Blob:jk},protocols:["http","https","file","blob","url","data"]},ey=typeof window<"u"&&typeof document<"u",Wk=(e=>ey&&["ReactNative","NativeScript","NS"].indexOf(e)<0)(typeof navigator<"u"&&navigator.product),Kk=typeof WorkerGlobalScope<"u"&&self instanceof WorkerGlobalScope&&typeof self.importScripts=="function",Gk=Object.freeze(Object.defineProperty({__proto__:null,hasBrowserEnv:ey,hasStandardBrowserEnv:Wk,hasStandardBrowserWebWorkerEnv:Kk},Symbol.toStringTag,{value:"Module"})),rr={...Gk,...qk};function Zk(e,t){return eu(e,new rr.classes.URLSearchParams,Object.assign({visitor:function(n,r,s,o){return rr.isNode&&J.isBuffer(n)?(this.append(r,n.toString("base64")),!1):o.defaultVisitor.apply(this,arguments)}},t))}function Yk(e){return J.matchAll(/\w+|\[(\w*)]/g,e).map(t=>t[0]==="[]"?"":t[1]||t[0])}function Jk(e){const t={},n=Object.keys(e);let r;const s=n.length;let o;for(r=0;r<s;r++)o=n[r],t[o]=e[o];return t}function ty(e){function t(n,r,s,o){let a=n[o++];const i=Number.isFinite(+a),l=o>=n.length;return a=!a&&J.isArray(s)?s.length:a,l?(J.hasOwnProp(s,a)?s[a]=[s[a],r]:s[a]=r,!i):((!s[a]||!J.isObject(s[a]))&&(s[a]=[]),t(n,r,s[a],o)&&J.isArray(s[a])&&(s[a]=Jk(s[a])),!i)}if(J.isFormData(e)&&J.isFunction(e.entries)){const n={};return J.forEachEntry(e,(r,s)=>{t(Yk(r),s,n,0)}),n}return null}function Xk(e,t,n){if(J.isString(e))try{return(t||JSON.parse)(e),J.trim(e)}catch(r){if(r.name!=="SyntaxError")throw r}return(n||JSON.stringify)(e)}const em={transitional:Qg,adapter:["xhr","http"],transformRequest:[function(t,n){const r=n.getContentType()||"",s=r.indexOf("application/json")>-1,o=J.isObject(t);if(o&&J.isHTMLForm(t)&&(t=new FormData(t)),J.isFormData(t))return s&&s?JSON.stringify(ty(t)):t;if(J.isArrayBuffer(t)||J.isBuffer(t)||J.isStream(t)||J.isFile(t)||J.isBlob(t))return t;if(J.isArrayBufferView(t))return t.buffer;if(J.isURLSearchParams(t))return n.setContentType("application/x-www-form-urlencoded;charset=utf-8",!1),t.toString();let i;if(o){if(r.indexOf("application/x-www-form-urlencoded")>-1)return Zk(t,this.formSerializer).toString();if((i=J.isFileList(t))||r.indexOf("multipart/form-data")>-1){const l=this.env&&this.env.FormData;return eu(i?{"files[]":t}:t,l&&new l,this.formSerializer)}}return o||s?(n.setContentType("application/json",!1),Xk(t)):t}],transformResponse:[function(t){const n=this.transitional||em.transitional,r=n&&n.forcedJSONParsing,s=this.responseType==="json";if(t&&J.isString(t)&&(r&&!this.responseType||s)){const a=!(n&&n.silentJSONParsing)&&s;try{return JSON.parse(t)}catch(i){if(a)throw i.name==="SyntaxError"?Je.from(i,Je.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:rr.classes.FormData,Blob:rr.classes.Blob},validateStatus:function(t){return t>=200&&t<300},headers:{common:{Accept:"application/json, text/plain, */*","Content-Type":void 0}}};J.forEach(["delete","get","head","post","put","patch"],e=>{em.headers[e]={}});const tm=em,Qk=J.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"]),ex=e=>{const t={};let n,r,s;return e&&e.split(`
`).forEach(function(a){s=a.indexOf(":"),n=a.substring(0,s).trim().toLowerCase(),r=a.substring(s+1).trim(),!(!n||t[n]&&Qk[n])&&(n==="set-cookie"?t[n]?t[n].push(r):t[n]=[r]:t[n]=t[n]?t[n]+", "+r:r)}),t},Lf=Symbol("internals");function So(e){return e&&String(e).trim().toLowerCase()}function Yi(e){return e===!1||e==null?e:J.isArray(e)?e.map(Yi):String(e)}function tx(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 nx=e=>/^[-_a-zA-Z0-9^`|~,!#$%&'*+.]+$/.test(e.trim());function Tu(e,t,n,r,s){if(J.isFunction(r))return r.call(this,t,n);if(s&&(t=n),!!J.isString(t)){if(J.isString(r))return t.indexOf(r)!==-1;if(J.isRegExp(r))return r.test(t)}}function rx(e){return e.trim().toLowerCase().replace(/([a-z\d])(\w*)/g,(t,n,r)=>n.toUpperCase()+r)}function sx(e,t){const n=J.toCamelCase(" "+t);["get","set","has"].forEach(r=>{Object.defineProperty(e,r+n,{value:function(s,o,a){return this[r].call(this,t,s,o,a)},configurable:!0})})}class tu{constructor(t){t&&this.set(t)}set(t,n,r){const s=this;function o(i,l,c){const m=So(l);if(!m)throw new Error("header name must be a non-empty string");const d=J.findKey(s,m);(!d||s[d]===void 0||c===!0||c===void 0&&s[d]!==!1)&&(s[d||l]=Yi(i))}const a=(i,l)=>J.forEach(i,(c,m)=>o(c,m,l));return J.isPlainObject(t)||t instanceof this.constructor?a(t,n):J.isString(t)&&(t=t.trim())&&!nx(t)?a(ex(t),n):t!=null&&o(n,t,r),this}get(t,n){if(t=So(t),t){const r=J.findKey(this,t);if(r){const s=this[r];if(!n)return s;if(n===!0)return tx(s);if(J.isFunction(n))return n.call(this,s,r);if(J.isRegExp(n))return n.exec(s);throw new TypeError("parser must be boolean|regexp|function")}}}has(t,n){if(t=So(t),t){const r=J.findKey(this,t);return!!(r&&this[r]!==void 0&&(!n||Tu(this,this[r],r,n)))}return!1}delete(t,n){const r=this;let s=!1;function o(a){if(a=So(a),a){const i=J.findKey(r,a);i&&(!n||Tu(r,r[i],i,n))&&(delete r[i],s=!0)}}return J.isArray(t)?t.forEach(o):o(t),s}clear(t){const n=Object.keys(this);let r=n.length,s=!1;for(;r--;){const o=n[r];(!t||Tu(this,this[o],o,t,!0))&&(delete this[o],s=!0)}return s}normalize(t){const n=this,r={};return J.forEach(this,(s,o)=>{const a=J.findKey(r,o);if(a){n[a]=Yi(s),delete n[o];return}const i=t?rx(o):String(o).trim();i!==o&&delete n[o],n[i]=Yi(s),r[i]=!0}),this}concat(...t){return this.constructor.concat(this,...t)}toJSON(t){const n=Object.create(null);return J.forEach(this,(r,s)=>{r!=null&&r!==!1&&(n[s]=t&&J.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(s=>r.set(s)),r}static accessor(t){const r=(this[Lf]=this[Lf]={accessors:{}}).accessors,s=this.prototype;function o(a){const i=So(a);r[i]||(sx(s,a),r[i]=!0)}return J.isArray(t)?t.forEach(o):o(t),this}}tu.accessor(["Content-Type","Content-Length","Accept","Accept-Encoding","User-Agent","Authorization"]);J.reduceDescriptors(tu.prototype,({value:e},t)=>{let n=t[0].toUpperCase()+t.slice(1);return{get:()=>e,set(r){this[n]=r}}});J.freezeMethods(tu);const vr=tu;function Ou(e,t){const n=this||tm,r=t||n,s=vr.from(r.headers);let o=r.data;return J.forEach(e,function(i){o=i.call(n,o,s.normalize(),t?t.status:void 0)}),s.normalize(),o}function ny(e){return!!(e&&e.__CANCEL__)}function Ia(e,t,n){Je.call(this,e??"canceled",Je.ERR_CANCELED,t,n),this.name="CanceledError"}J.inherits(Ia,Je,{__CANCEL__:!0});function ox(e,t,n){const r=n.config.validateStatus;!n.status||!r||r(n.status)?e(n):t(new Je("Request failed with status code "+n.status,[Je.ERR_BAD_REQUEST,Je.ERR_BAD_RESPONSE][Math.floor(n.status/100)-4],n.config,n.request,n))}const ax=rr.hasStandardBrowserEnv?{write(e,t,n,r,s,o){const a=[e+"="+encodeURIComponent(t)];J.isNumber(n)&&a.push("expires="+new Date(n).toGMTString()),J.isString(r)&&a.push("path="+r),J.isString(s)&&a.push("domain="+s),o===!0&&a.push("secure"),document.cookie=a.join("; ")},read(e){const t=document.cookie.match(new RegExp("(^|;\\s*)("+e+")=([^;]*)"));return t?decodeURIComponent(t[3]):null},remove(e){this.write(e,"",Date.now()-864e5)}}:{write(){},read(){return null},remove(){}};function ix(e){return/^([a-z][a-z\d+\-.]*:)?\/\//i.test(e)}function lx(e,t){return t?e.replace(/\/?\/$/,"")+"/"+t.replace(/^\/+/,""):e}function ry(e,t){return e&&!ix(t)?lx(e,t):t}const ux=rr.hasStandardBrowserEnv?function(){const t=/(msie|trident)/i.test(navigator.userAgent),n=document.createElement("a");let r;function s(o){let a=o;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=s(window.location.href),function(a){const i=J.isString(a)?s(a):a;return i.protocol===r.protocol&&i.host===r.host}}():function(){return function(){return!0}}();function cx(e){const t=/^([-+\w]{1,25})(:?\/\/|:)/.exec(e);return t&&t[1]||""}function dx(e,t){e=e||10;const n=new Array(e),r=new Array(e);let s=0,o=0,a;return t=t!==void 0?t:1e3,function(l){const c=Date.now(),m=r[o];a||(a=c),n[s]=l,r[s]=c;let d=o,f=0;for(;d!==s;)f+=n[d++],d=d%e;if(s=(s+1)%e,s===o&&(o=(o+1)%e),c-a<t)return;const p=m&&c-m;return p?Math.round(f*1e3/p):void 0}}function Nf(e,t){let n=0;const r=dx(50,250);return s=>{const o=s.loaded,a=s.lengthComputable?s.total:void 0,i=o-n,l=r(i),c=o<=a;n=o;const m={loaded:o,total:a,progress:a?o/a:void 0,bytes:i,rate:l||void 0,estimated:l&&a&&c?(a-o)/l:void 0,event:s};m[t?"download":"upload"]=!0,e(m)}}const mx=typeof XMLHttpRequest<"u",fx=mx&&function(e){return new Promise(function(n,r){let s=e.data;const o=vr.from(e.headers).normalize();let{responseType:a,withXSRFToken:i}=e,l;function c(){e.cancelToken&&e.cancelToken.unsubscribe(l),e.signal&&e.signal.removeEventListener("abort",l)}let m;if(J.isFormData(s)){if(rr.hasStandardBrowserEnv||rr.hasStandardBrowserWebWorkerEnv)o.setContentType(!1);else if((m=o.getContentType())!==!1){const[_,...b]=m?m.split(";").map(w=>w.trim()).filter(Boolean):[];o.setContentType([_||"multipart/form-data",...b].join("; "))}}let d=new XMLHttpRequest;if(e.auth){const _=e.auth.username||"",b=e.auth.password?unescape(encodeURIComponent(e.auth.password)):"";o.set("Authorization","Basic "+btoa(_+":"+b))}const f=ry(e.baseURL,e.url);d.open(e.method.toUpperCase(),Xg(f,e.params,e.paramsSerializer),!0),d.timeout=e.timeout;function p(){if(!d)return;const _=vr.from("getAllResponseHeaders"in d&&d.getAllResponseHeaders()),w={data:!a||a==="text"||a==="json"?d.responseText:d.response,status:d.status,statusText:d.statusText,headers:_,config:e,request:d};ox(function(z){n(z),c()},function(z){r(z),c()},w),d=null}if("onloadend"in d?d.onloadend=p:d.onreadystatechange=function(){!d||d.readyState!==4||d.status===0&&!(d.responseURL&&d.responseURL.indexOf("file:")===0)||setTimeout(p)},d.onabort=function(){d&&(r(new Je("Request aborted",Je.ECONNABORTED,e,d)),d=null)},d.onerror=function(){r(new Je("Network Error",Je.ERR_NETWORK,e,d)),d=null},d.ontimeout=function(){let b=e.timeout?"timeout of "+e.timeout+"ms exceeded":"timeout exceeded";const w=e.transitional||Qg;e.timeoutErrorMessage&&(b=e.timeoutErrorMessage),r(new Je(b,w.clarifyTimeoutError?Je.ETIMEDOUT:Je.ECONNABORTED,e,d)),d=null},rr.hasStandardBrowserEnv&&(i&&J.isFunction(i)&&(i=i(e)),i||i!==!1&&ux(f))){const _=e.xsrfHeaderName&&e.xsrfCookieName&&ax.read(e.xsrfCookieName);_&&o.set(e.xsrfHeaderName,_)}s===void 0&&o.setContentType(null),"setRequestHeader"in d&&J.forEach(o.toJSON(),function(b,w){d.setRequestHeader(w,b)}),J.isUndefined(e.withCredentials)||(d.withCredentials=!!e.withCredentials),a&&a!=="json"&&(d.responseType=e.responseType),typeof e.onDownloadProgress=="function"&&d.addEventListener("progress",Nf(e.onDownloadProgress,!0)),typeof e.onUploadProgress=="function"&&d.upload&&d.upload.addEventListener("progress",Nf(e.onUploadProgress)),(e.cancelToken||e.signal)&&(l=_=>{d&&(r(!_||_.type?new Ia(null,e,d):_),d.abort(),d=null)},e.cancelToken&&e.cancelToken.subscribe(l),e.signal&&(e.signal.aborted?l():e.signal.addEventListener("abort",l)));const h=cx(f);if(h&&rr.protocols.indexOf(h)===-1){r(new Je("Unsupported protocol "+h+":",Je.ERR_BAD_REQUEST,e));return}d.send(s||null)})},Pc={http:Lk,xhr:fx};J.forEach(Pc,(e,t)=>{if(e){try{Object.defineProperty(e,"name",{value:t})}catch{}Object.defineProperty(e,"adapterName",{value:t})}});const Mf=e=>`- ${e}`,px=e=>J.isFunction(e)||e===null||e===!1,sy={getAdapter:e=>{e=J.isArray(e)?e:[e];const{length:t}=e;let n,r;const s={};for(let o=0;o<t;o++){n=e[o];let a;if(r=n,!px(n)&&(r=Pc[(a=String(n)).toLowerCase()],r===void 0))throw new Je(`Unknown adapter '${a}'`);if(r)break;s[a||"#"+o]=r}if(!r){const o=Object.entries(s).map(([i,l])=>`adapter ${i} `+(l===!1?"is not supported by the environment":"is not available in the build"));let a=t?o.length>1?`since :
`+o.map(Mf).join(`
`):" "+Mf(o[0]):"as no adapter specified";throw new Je("There is no suitable adapter to dispatch the request "+a,"ERR_NOT_SUPPORT")}return r},adapters:Pc};function Du(e){if(e.cancelToken&&e.cancelToken.throwIfRequested(),e.signal&&e.signal.aborted)throw new Ia(null,e)}function Vf(e){return Du(e),e.headers=vr.from(e.headers),e.data=Ou.call(e,e.transformRequest),["post","put","patch"].indexOf(e.method)!==-1&&e.headers.setContentType("application/x-www-form-urlencoded",!1),sy.getAdapter(e.adapter||tm.adapter)(e).then(function(r){return Du(e),r.data=Ou.call(e,e.transformResponse,r),r.headers=vr.from(r.headers),r},function(r){return ny(r)||(Du(e),r&&r.response&&(r.response.data=Ou.call(e,e.transformResponse,r.response),r.response.headers=vr.from(r.response.headers))),Promise.reject(r)})}const Hf=e=>e instanceof vr?e.toJSON():e;function ao(e,t){t=t||{};const n={};function r(c,m,d){return J.isPlainObject(c)&&J.isPlainObject(m)?J.merge.call({caseless:d},c,m):J.isPlainObject(m)?J.merge({},m):J.isArray(m)?m.slice():m}function s(c,m,d){if(J.isUndefined(m)){if(!J.isUndefined(c))return r(void 0,c,d)}else return r(c,m,d)}function o(c,m){if(!J.isUndefined(m))return r(void 0,m)}function a(c,m){if(J.isUndefined(m)){if(!J.isUndefined(c))return r(void 0,c)}else return r(void 0,m)}function i(c,m,d){if(d in t)return r(c,m);if(d in e)return r(void 0,c)}const l={url:o,method:o,data:o,baseURL:a,transformRequest:a,transformResponse:a,paramsSerializer:a,timeout:a,timeoutMessage:a,withCredentials:a,withXSRFToken: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,m)=>s(Hf(c),Hf(m),!0)};return J.forEach(Object.keys(Object.assign({},e,t)),function(m){const d=l[m]||s,f=d(e[m],t[m],m);J.isUndefined(f)&&d!==i||(n[m]=f)}),n}const oy="1.6.3",nm={};["object","boolean","number","function","string","symbol"].forEach((e,t)=>{nm[e]=function(r){return typeof r===e||"a"+(t<1?"n ":" ")+e}});const Bf={};nm.transitional=function(t,n,r){function s(o,a){return"[Axios v"+oy+"] Transitional option '"+o+"'"+a+(r?". "+r:"")}return(o,a,i)=>{if(t===!1)throw new Je(s(a," has been removed"+(n?" in "+n:"")),Je.ERR_DEPRECATED);return n&&!Bf[a]&&(Bf[a]=!0,console.warn(s(a," has been deprecated since v"+n+" and will be removed in the near future"))),t?t(o,a,i):!0}};function hx(e,t,n){if(typeof e!="object")throw new Je("options must be an object",Je.ERR_BAD_OPTION_VALUE);const r=Object.keys(e);let s=r.length;for(;s-- >0;){const o=r[s],a=t[o];if(a){const i=e[o],l=i===void 0||a(i,o,e);if(l!==!0)throw new Je("option "+o+" must be "+l,Je.ERR_BAD_OPTION_VALUE);continue}if(n!==!0)throw new Je("Unknown option "+o,Je.ERR_BAD_OPTION)}}const Ic={assertOptions:hx,validators:nm},$r=Ic.validators;class hl{constructor(t){this.defaults=t,this.interceptors={request:new Rf,response:new Rf}}request(t,n){typeof t=="string"?(n=n||{},n.url=t):n=t||{},n=ao(this.defaults,n);const{transitional:r,paramsSerializer:s,headers:o}=n;r!==void 0&&Ic.assertOptions(r,{silentJSONParsing:$r.transitional($r.boolean),forcedJSONParsing:$r.transitional($r.boolean),clarifyTimeoutError:$r.transitional($r.boolean)},!1),s!=null&&(J.isFunction(s)?n.paramsSerializer={serialize:s}:Ic.assertOptions(s,{encode:$r.function,serialize:$r.function},!0)),n.method=(n.method||this.defaults.method||"get").toLowerCase();let a=o&&J.merge(o.common,o[n.method]);o&&J.forEach(["delete","get","head","post","put","patch","common"],h=>{delete o[h]}),n.headers=vr.concat(a,o);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 m,d=0,f;if(!l){const h=[Vf.bind(this),void 0];for(h.unshift.apply(h,i),h.push.apply(h,c),f=h.length,m=Promise.resolve(n);d<f;)m=m.then(h[d++],h[d++]);return m}f=i.length;let p=n;for(d=0;d<f;){const h=i[d++],_=i[d++];try{p=h(p)}catch(b){_.call(this,b);break}}try{m=Vf.call(this,p)}catch(h){return Promise.reject(h)}for(d=0,f=c.length;d<f;)m=m.then(c[d++],c[d++]);return m}getUri(t){t=ao(this.defaults,t);const n=ry(t.baseURL,t.url);return Xg(n,t.params,t.paramsSerializer)}}J.forEach(["delete","get","head","options"],function(t){hl.prototype[t]=function(n,r){return this.request(ao(r||{},{method:t,url:n,data:(r||{}).data}))}});J.forEach(["post","put","patch"],function(t){function n(r){return function(o,a,i){return this.request(ao(i||{},{method:t,headers:r?{"Content-Type":"multipart/form-data"}:{},url:o,data:a}))}}hl.prototype[t]=n(),hl.prototype[t+"Form"]=n(!0)});const Ji=hl;class rm{constructor(t){if(typeof t!="function")throw new TypeError("executor must be a function.");let n;this.promise=new Promise(function(o){n=o});const r=this;this.promise.then(s=>{if(!r._listeners)return;let o=r._listeners.length;for(;o-- >0;)r._listeners[o](s);r._listeners=null}),this.promise.then=s=>{let o;const a=new Promise(i=>{r.subscribe(i),o=i}).then(s);return a.cancel=function(){r.unsubscribe(o)},a},t(function(o,a,i){r.reason||(r.reason=new Ia(o,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 rm(function(s){t=s}),cancel:t}}}const _x=rm;function gx(e){return function(n){return e.apply(null,n)}}function yx(e){return J.isObject(e)&&e.isAxiosError===!0}const Fc={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(Fc).forEach(([e,t])=>{Fc[t]=e});const vx=Fc;function ay(e){const t=new Ji(e),n=Vg(Ji.prototype.request,t);return J.extend(n,Ji.prototype,t,{allOwnKeys:!0}),J.extend(n,t,null,{allOwnKeys:!0}),n.create=function(s){return ay(ao(e,s))},n}const It=ay(tm);It.Axios=Ji;It.CanceledError=Ia;It.CancelToken=_x;It.isCancel=ny;It.VERSION=oy;It.toFormData=eu;It.AxiosError=Je;It.Cancel=It.CanceledError;It.all=function(t){return Promise.all(t)};It.spread=gx;It.isAxiosError=yx;It.mergeConfig=ao;It.AxiosHeaders=vr;It.formToJSON=e=>ty(J.isHTMLForm(e)?new FormData(e):e);It.getAdapter=sy.getAdapter;It.HttpStatusCode=vx;It.default=It;const fe=It;function bx(){return iy().__VUE_DEVTOOLS_GLOBAL_HOOK__}function iy(){return typeof navigator<"u"&&typeof window<"u"?window:typeof global<"u"?global:{}}const zx=typeof Proxy=="function",Cx="devtools-plugin:setup",wx="plugin:settings:set";let Ts,Rc;function kx(){var e;return Ts!==void 0||(typeof window<"u"&&window.performance?(Ts=!0,Rc=window.performance):typeof global<"u"&&(!((e=global.perf_hooks)===null||e===void 0)&&e.performance)?(Ts=!0,Rc=global.perf_hooks.performance):Ts=!1),Ts}function xx(){return kx()?Rc.now():Date.now()}class Ex{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 s=`__vue-devtools-plugin-settings__${t.id}`;let o=Object.assign({},r);try{const a=localStorage.getItem(s),i=JSON.parse(a);Object.assign(o,i)}catch{}this.fallbacks={getSettings(){return o},setSettings(a){try{localStorage.setItem(s,JSON.stringify(a))}catch{}o=a},now(){return xx()}},n&&n.on(wx,(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 Sx(e,t){const n=e,r=iy(),s=bx(),o=zx&&n.enableEarlyProxy;if(s&&(r.__VUE_DEVTOOLS_PLUGIN_API_AVAILABLE__||!o))s.emit(Cx,e,t);else{const a=o?new Ex(n,s):null;(r.__VUE_DEVTOOLS_PLUGINS__=r.__VUE_DEVTOOLS_PLUGINS__||[]).push({pluginDescriptor:n,setupFn:t,proxy:a}),a&&t(a.proxiedTarget)}}/*!
* vuex v4.1.0
* (c) 2022 Evan You
* @license MIT
*/var $x="store";function vo(e,t){Object.keys(e).forEach(function(n){return t(e[n],n)})}function Ax(e){return e!==null&&typeof e=="object"}function Tx(e){return e&&typeof e.then=="function"}function Ox(e,t){return function(){return e(t)}}function ly(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 uy(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;nu(e,n,[],e._modules.root,!0),sm(e,n,t)}function sm(e,t,n){var r=e._state,s=e._scope;e.getters={},e._makeLocalGettersCache=Object.create(null);var o=e._wrappedGetters,a={},i={},l=xd(!0);l.run(function(){vo(o,function(c,m){a[m]=Ox(c,e),i[m]=Lt(function(){return a[m]()}),Object.defineProperty(e.getters,m,{get:function(){return i[m].value},enumerable:!0})})}),e._state=_o({data:t}),e._scope=l,e.strict&&Rx(e),r&&n&&e._withCommit(function(){r.data=null}),s&&s.stop()}function nu(e,t,n,r,s){var o=!n.length,a=e._modules.getNamespace(n);if(r.namespaced&&(e._modulesNamespaceMap[a],e._modulesNamespaceMap[a]=r),!o&&!s){var i=om(t,n.slice(0,-1)),l=n[n.length-1];e._withCommit(function(){i[l]=r.state})}var c=r.context=Dx(e,a,n);r.forEachMutation(function(m,d){var f=a+d;Px(e,f,m,c)}),r.forEachAction(function(m,d){var f=m.root?d:a+d,p=m.handler||m;Ix(e,f,p,c)}),r.forEachGetter(function(m,d){var f=a+d;Fx(e,f,m,c)}),r.forEachChild(function(m,d){nu(e,t,n.concat(d),m,s)})}function Dx(e,t,n){var r=t==="",s={dispatch:r?e.dispatch:function(o,a,i){var l=_l(o,a,i),c=l.payload,m=l.options,d=l.type;return(!m||!m.root)&&(d=t+d),e.dispatch(d,c)},commit:r?e.commit:function(o,a,i){var l=_l(o,a,i),c=l.payload,m=l.options,d=l.type;(!m||!m.root)&&(d=t+d),e.commit(d,c,m)}};return Object.defineProperties(s,{getters:{get:r?function(){return e.getters}:function(){return cy(e,t)}},state:{get:function(){return om(e.state,n)}}}),s}function cy(e,t){if(!e._makeLocalGettersCache[t]){var n={},r=t.length;Object.keys(e.getters).forEach(function(s){if(s.slice(0,r)===t){var o=s.slice(r);Object.defineProperty(n,o,{get:function(){return e.getters[s]},enumerable:!0})}}),e._makeLocalGettersCache[t]=n}return e._makeLocalGettersCache[t]}function Px(e,t,n,r){var s=e._mutations[t]||(e._mutations[t]=[]);s.push(function(a){n.call(e,r.state,a)})}function Ix(e,t,n,r){var s=e._actions[t]||(e._actions[t]=[]);s.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 Tx(i)||(i=Promise.resolve(i)),e._devtoolHook?i.catch(function(l){throw e._devtoolHook.emit("vuex:error",l),l}):i})}function Fx(e,t,n,r){e._wrappedGetters[t]||(e._wrappedGetters[t]=function(o){return n(r.state,r.getters,o.state,o.getters)})}function Rx(e){en(function(){return e._state.data},function(){},{deep:!0,flush:"sync"})}function om(e,t){return t.reduce(function(n,r){return n[r]},e)}function _l(e,t,n){return Ax(e)&&e.type&&(n=t,t=e,e=e.type),{type:e,payload:t,options:n}}var Lx="vuex bindings",Uf="vuex:mutations",Pu="vuex:actions",Os="vuex",Nx=0;function Mx(e,t){Sx({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:[Lx]},function(n){n.addTimelineLayer({id:Uf,label:"Vuex Mutations",color:jf}),n.addTimelineLayer({id:Pu,label:"Vuex Actions",color:jf}),n.addInspector({id:Os,label:"Vuex",icon:"storage",treeFilterPlaceholder:"Filter stores..."}),n.on.getInspectorTree(function(r){if(r.app===e&&r.inspectorId===Os)if(r.filter){var s=[];py(s,t._modules.root,r.filter,""),r.rootNodes=s}else r.rootNodes=[fy(t._modules.root,"")]}),n.on.getInspectorState(function(r){if(r.app===e&&r.inspectorId===Os){var s=r.nodeId;cy(t,s),r.state=Bx(jx(t._modules,s),s==="root"?t.getters:t._makeLocalGettersCache,s)}}),n.on.editInspectorState(function(r){if(r.app===e&&r.inspectorId===Os){var s=r.nodeId,o=r.path;s!=="root"&&(o=s.split("/").filter(Boolean).concat(o)),t._withCommit(function(){r.set(t._state.data,o,r.state.value)})}}),t.subscribe(function(r,s){var o={};r.payload&&(o.payload=r.payload),o.state=s,n.notifyComponentUpdate(),n.sendInspectorTree(Os),n.sendInspectorState(Os),n.addTimelineEvent({layerId:Uf,event:{time:Date.now(),title:r.type,data:o}})}),t.subscribeAction({before:function(r,s){var o={};r.payload&&(o.payload=r.payload),r._id=Nx++,r._time=Date.now(),o.state=s,n.addTimelineEvent({layerId:Pu,event:{time:r._time,title:r.type,groupId:r._id,subtitle:"start",data:o}})},after:function(r,s){var o={},a=Date.now()-r._time;o.duration={_custom:{type:"duration",display:a+"ms",tooltip:"Action duration",value:a}},r.payload&&(o.payload=r.payload),o.state=s,n.addTimelineEvent({layerId:Pu,event:{time:Date.now(),title:r.type,groupId:r._id,subtitle:"end",data:o}})}})})}var jf=8702998,Vx=6710886,Hx=16777215,dy={label:"namespaced",textColor:Hx,backgroundColor:Vx};function my(e){return e&&e!=="root"?e.split("/").slice(-2,-1)[0]:"Root"}function fy(e,t){return{id:t||"root",label:my(t),tags:e.namespaced?[dy]:[],children:Object.keys(e._children).map(function(n){return fy(e._children[n],t+n+"/")})}}function py(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?[dy]:[]}),Object.keys(t._children).forEach(function(s){py(e,t._children[s],n,r+s+"/")})}function Bx(e,t,n){t=n==="root"?t:t[n];var r=Object.keys(t),s={state:Object.keys(e.state).map(function(a){return{key:a,editable:!0,value:e.state[a]}})};if(r.length){var o=Ux(t);s.getters=Object.keys(o).map(function(a){return{key:a.endsWith("/")?my(a):a,editable:!1,value:Lc(function(){return o[a]})}})}return s}function Ux(e){var t={};return Object.keys(e).forEach(function(n){var r=n.split("/");if(r.length>1){var s=t,o=r.pop();r.forEach(function(a){s[a]||(s[a]={_custom:{value:{},display:a,tooltip:"Module",abstract:!0}}),s=s[a]._custom.value}),s[o]=Lc(function(){return e[n]})}else t[n]=Lc(function(){return e[n]})}),t}function jx(e,t){var n=t.split("/").filter(function(r){return r});return n.reduce(function(r,s,o){var a=r[s];if(!a)throw new Error('Missing module "'+s+'" for path "'+t+'".');return o===n.length-1?a:a._children},t==="root"?e:e.root._children)}function Lc(e){try{return e()}catch(t){return t}}var Yn=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)||{}},hy={namespaced:{configurable:!0}};hy.namespaced.get=function(){return!!this._rawModule.namespaced};Yn.prototype.addChild=function(t,n){this._children[t]=n};Yn.prototype.removeChild=function(t){delete this._children[t]};Yn.prototype.getChild=function(t){return this._children[t]};Yn.prototype.hasChild=function(t){return t in this._children};Yn.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)};Yn.prototype.forEachChild=function(t){vo(this._children,t)};Yn.prototype.forEachGetter=function(t){this._rawModule.getters&&vo(this._rawModule.getters,t)};Yn.prototype.forEachAction=function(t){this._rawModule.actions&&vo(this._rawModule.actions,t)};Yn.prototype.forEachMutation=function(t){this._rawModule.mutations&&vo(this._rawModule.mutations,t)};Object.defineProperties(Yn.prototype,hy);var Es=function(t){this.register([],t,!1)};Es.prototype.get=function(t){return t.reduce(function(n,r){return n.getChild(r)},this.root)};Es.prototype.getNamespace=function(t){var n=this.root;return t.reduce(function(r,s){return n=n.getChild(s),r+(n.namespaced?s+"/":"")},"")};Es.prototype.update=function(t){_y([],this.root,t)};Es.prototype.register=function(t,n,r){var s=this;r===void 0&&(r=!0);var o=new Yn(n,r);if(t.length===0)this.root=o;else{var a=this.get(t.slice(0,-1));a.addChild(t[t.length-1],o)}n.modules&&vo(n.modules,function(i,l){s.register(t.concat(l),i,r)})};Es.prototype.unregister=function(t){var n=this.get(t.slice(0,-1)),r=t[t.length-1],s=n.getChild(r);s&&s.runtime&&n.removeChild(r)};Es.prototype.isRegistered=function(t){var n=this.get(t.slice(0,-1)),r=t[t.length-1];return n?n.hasChild(r):!1};function _y(e,t,n){if(t.update(n),n.modules)for(var r in n.modules){if(!t.getChild(r))return;_y(e.concat(r),t.getChild(r),n.modules[r])}}function qx(e){return new pn(e)}var pn=function(t){var n=this;t===void 0&&(t={});var r=t.plugins;r===void 0&&(r=[]);var s=t.strict;s===void 0&&(s=!1);var o=t.devtools;this._committing=!1,this._actions=Object.create(null),this._actionSubscribers=[],this._mutations=Object.create(null),this._wrappedGetters=Object.create(null),this._modules=new Es(t),this._modulesNamespaceMap=Object.create(null),this._subscribers=[],this._makeLocalGettersCache=Object.create(null),this._scope=null,this._devtools=o;var a=this,i=this,l=i.dispatch,c=i.commit;this.dispatch=function(f,p){return l.call(a,f,p)},this.commit=function(f,p,h){return c.call(a,f,p,h)},this.strict=s;var m=this._modules.root.state;nu(this,m,[],this._modules.root),sm(this,m),r.forEach(function(d){return d(n)})},am={state:{configurable:!0}};pn.prototype.install=function(t,n){t.provide(n||$x,this),t.config.globalProperties.$store=this;var r=this._devtools!==void 0?this._devtools:!1;r&&Mx(t,this)};am.state.get=function(){return this._state.data};am.state.set=function(e){};pn.prototype.commit=function(t,n,r){var s=this,o=_l(t,n,r),a=o.type,i=o.payload,l={type:a,payload:i},c=this._mutations[a];c&&(this._withCommit(function(){c.forEach(function(d){d(i)})}),this._subscribers.slice().forEach(function(m){return m(l,s.state)}))};pn.prototype.dispatch=function(t,n){var r=this,s=_l(t,n),o=s.type,a=s.payload,i={type:o,payload:a},l=this._actions[o];if(l){try{this._actionSubscribers.slice().filter(function(m){return m.before}).forEach(function(m){return m.before(i,r.state)})}catch{}var c=l.length>1?Promise.all(l.map(function(m){return m(a)})):l[0](a);return new Promise(function(m,d){c.then(function(f){try{r._actionSubscribers.filter(function(p){return p.after}).forEach(function(p){return p.after(i,r.state)})}catch{}m(f)},function(f){try{r._actionSubscribers.filter(function(p){return p.error}).forEach(function(p){return p.error(i,r.state,f)})}catch{}d(f)})})}};pn.prototype.subscribe=function(t,n){return ly(t,this._subscribers,n)};pn.prototype.subscribeAction=function(t,n){var r=typeof t=="function"?{before:t}:t;return ly(r,this._actionSubscribers,n)};pn.prototype.watch=function(t,n,r){var s=this;return en(function(){return t(s.state,s.getters)},n,Object.assign({},r))};pn.prototype.replaceState=function(t){var n=this;this._withCommit(function(){n._state.data=t})};pn.prototype.registerModule=function(t,n,r){r===void 0&&(r={}),typeof t=="string"&&(t=[t]),this._modules.register(t,n),nu(this,this.state,t,this._modules.get(t),r.preserveState),sm(this,this.state)};pn.prototype.unregisterModule=function(t){var n=this;typeof t=="string"&&(t=[t]),this._modules.unregister(t),this._withCommit(function(){var r=om(n.state,t.slice(0,-1));delete r[t[t.length-1]]}),uy(this)};pn.prototype.hasModule=function(t){return typeof t=="string"&&(t=[t]),this._modules.isRegistered(t)};pn.prototype.hotUpdate=function(t){this._modules.update(t),uy(this,!0)};pn.prototype._withCommit=function(t){var n=this._committing;this._committing=!0,t(),this._committing=n};Object.defineProperties(pn.prototype,am);const Ue=qx({state(){return{albums_sort:1,artist_albums_sort:1,artist_tracks_sort:1,artists_sort:1,composer_tracks_sort:1,config:{buildoptions:[],version:"",websocket_port:0},genre_tracks_sort:1,hide_singles:!1,hide_spotify:!1,lastfm:{},library:{albums:0,artists:0,db_playtime:0,songs:0,started_at:"01",updated_at:"01",updating:!1},lyrics:{content:[],pane:!1},notifications:{list:[],next_id:1},outputs:[],pairing:{},player:{consume:!1,item_id:0,item_length_ms:0,item_progress_ms:0,repeat:"off",shuffle:!1,state:"stop",volume:0},queue:{count:0,items:[],version:0},recent_searches:[],rss_count:{},search_source:"library",settings:{categories:[]},show_only_next_items:!1,show_burger_menu:!1,show_player_menu:!1,show_update_dialog:!1,spotify:{},spotify_featured_playlists:[],spotify_new_releases:[],update_dialog_scan_kind:""}},getters:{lyrics:e=>e.lyrics.content,lyrics_pane:e=>e.lyrics.pane,now_playing:e=>{const t=e.queue.items.find(n=>n.id===e.player.item_id);return t===void 0?{}:t},settings_category:e=>t=>e.settings.categories.find(n=>n.name===t),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:e=>(t,n)=>{const r=e.settings.categories.find(s=>s.name===t);return r?r.options.find(s=>s.name===n):{}},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_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_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_webinterface:e=>e.settings?e.settings.categories.find(t=>t.name==="webinterface"):null},mutations:{[Bh](e,t){e.config=t},[Uh](e,t){e.settings=t},[Ol](e,t){const n=e.settings.categories.find(s=>s.name===t.category),r=n.options.find(s=>s.name===t.name);r.value=t.value},[jh](e,t){e.library=t},[qh](e,t){e.rss_count=t},[Wh](e,t){e.outputs=t},[hd](e,t){e.player=t},[Kh](e,t){e.queue=t},[uc](e,t){e.lyrics.content=t},[Gh](e,t){e.lastfm=t},[Zh](e,t){e.spotify=t},[Yh](e,t){e.pairing=t},[_d](e,t){e.spotify_new_releases=t},[gd](e,t){e.spotify_featured_playlists=t},[Um](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)},[cc](e,t){const n=e.notifications.list.indexOf(t);n!==-1&&e.notifications.list.splice(n,1)},[dc](e,t){e.search_source=t},[yd](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()},[Jh](e,t){e.composer_tracks_sort=t},[Xh](e,t){e.genre_tracks_sort=t},[Dl](e,t){e.hide_singles=t},[ka](e,t){e.hide_spotify=t},[Qh](e,t){e.artists_sort=t},[e_](e,t){e.artist_albums_sort=t},[t_](e,t){e.artist_tracks_sort=t},[n_](e,t){e.albums_sort=t},[r_](e,t){e.show_only_next_items=t},[Qs](e,t){e.show_burger_menu=t},[eo](e,t){e.show_player_menu=t},[xa](e,t){e.show_update_dialog=t},[vd](e,t){e.update_dialog_scan_kind=t}},actions:{add_notification({commit:e,state:t},n){const r={id:t.notifications.next_id++,text:n.text,timeout:n.timeout,topic:n.topic,type:n.type};e(Um,r),n.timeout>0&&setTimeout(()=>{e(cc,r)},n.timeout)}}});/*!
* shared v9.8.0
* (c) 2023 kazuya kawaguchi
* Released under the MIT License.
*/const Nc=typeof window<"u",ts=(e,t=!1)=>t?Symbol.for(e):Symbol(e),Wx=(e,t,n)=>Kx({l:e,k:t,s:n}),Kx=e=>JSON.stringify(e).replace(/\u2028/g,"\\u2028").replace(/\u2029/g,"\\u2029").replace(/\u0027/g,"\\u0027"),Nt=e=>typeof e=="number"&&isFinite(e),Gx=e=>yy(e)==="[object Date]",gl=e=>yy(e)==="[object RegExp]",ru=e=>Xe(e)&&Object.keys(e).length===0,Zt=Object.assign;let qf;const im=()=>qf||(qf=typeof globalThis<"u"?globalThis:typeof self<"u"?self:typeof window<"u"?window:typeof global<"u"?global:{});function Wf(e){return e.replace(/</g,"&lt;").replace(/>/g,"&gt;").replace(/"/g,"&quot;").replace(/'/g,"&apos;")}const Zx=Object.prototype.hasOwnProperty;function ya(e,t){return Zx.call(e,t)}const Rt=Array.isArray,$t=e=>typeof e=="function",ke=e=>typeof e=="string",At=e=>typeof e=="boolean",ot=e=>e!==null&&typeof e=="object",Yx=e=>ot(e)&&$t(e.then)&&$t(e.catch),gy=Object.prototype.toString,yy=e=>gy.call(e),Xe=e=>{if(!ot(e))return!1;const t=Object.getPrototypeOf(e);return t===null||t.constructor===Object},Jx=e=>e==null?"":Rt(e)||Xe(e)&&e.toString===gy?JSON.stringify(e,null,2):String(e);function Xx(e,t=""){return e.reduce((n,r,s)=>s===0?n+r:n+t+r,"")}function lm(e){let t=e;return()=>++t}function Qx(e,t){typeof console<"u"&&(console.warn("[intlify] "+e),t&&console.warn(t.stack))}const ni=e=>!ot(e)||Rt(e);function Xo(e,t){if(ni(e)||ni(t))throw new Error("Invalid value");for(const n in e)ya(e,n)&&(ni(e[n])||ni(t[n])?t[n]=e[n]:Xo(e[n],t[n]))}/*!
* message-compiler v9.8.0
* (c) 2023 kazuya kawaguchi
* Released under the MIT License.
*/const e2=/\{([0-9a-zA-Z]+)\}/g;function t2(e,...t){return t.length===1&&n2(t[0])&&(t=t[0]),(!t||!t.hasOwnProperty)&&(t={}),e.replace(e2,(n,r)=>t.hasOwnProperty(r)?t[r]:"")}const n2=e=>e!==null&&typeof e=="object",Ht={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,UNHANDLED_CODEGEN_NODE_TYPE:15,UNHANDLED_MINIFIER_NODE_TYPE:16,__EXTEND_POINT__:17},r2={[Ht.EXPECTED_TOKEN]:"Expected token: '{0}'",[Ht.INVALID_TOKEN_IN_PLACEHOLDER]:"Invalid token in placeholder: '{0}'",[Ht.UNTERMINATED_SINGLE_QUOTE_IN_PLACEHOLDER]:"Unterminated single quote in placeholder",[Ht.UNKNOWN_ESCAPE_SEQUENCE]:"Unknown escape sequence: \\{0}",[Ht.INVALID_UNICODE_ESCAPE_SEQUENCE]:"Invalid unicode escape sequence: {0}",[Ht.UNBALANCED_CLOSING_BRACE]:"Unbalanced closing brace",[Ht.UNTERMINATED_CLOSING_BRACE]:"Unterminated closing brace",[Ht.EMPTY_PLACEHOLDER]:"Empty placeholder",[Ht.NOT_ALLOW_NEST_PLACEHOLDER]:"Not allowed nest placeholder",[Ht.INVALID_LINKED_FORMAT]:"Invalid linked format",[Ht.MUST_HAVE_MESSAGES_IN_PLURAL]:"Plural must have messages",[Ht.UNEXPECTED_EMPTY_LINKED_MODIFIER]:"Unexpected empty linked modifier",[Ht.UNEXPECTED_EMPTY_LINKED_KEY]:"Unexpected empty linked key",[Ht.UNEXPECTED_LEXICAL_ANALYSIS]:"Unexpected lexical analysis in token: '{0}'",[Ht.UNHANDLED_CODEGEN_NODE_TYPE]:"unhandled codegen node type: '{0}'",[Ht.UNHANDLED_MINIFIER_NODE_TYPE]:"unhandled mimifier node type: '{0}'"};function vy(e,t,n={}){const{domain:r,messages:s,args:o}=n,a=t2((s||r2)[e]||"",...o||[]),i=new SyntaxError(String(a));return i.code=e,t&&(i.location=t),i.domain=r,i}/*!
* core-base v9.8.0
* (c) 2023 kazuya kawaguchi
* Released under the MIT License.
*/function s2(){typeof __INTLIFY_PROD_DEVTOOLS__!="boolean"&&(im().__INTLIFY_PROD_DEVTOOLS__=!1)}const ns=[];ns[0]={w:[0],i:[3,0],"[":[4],o:[7]};ns[1]={w:[1],".":[2],"[":[4],o:[7]};ns[2]={w:[2],i:[3,0],0:[3,0]};ns[3]={i:[3,0],0:[3,0],w:[1,1],".":[2,1],"[":[4,1],o:[7,1]};ns[4]={"'":[5,0],'"':[6,0],"[":[4,2],"]":[1,3],o:8,l:[4,0]};ns[5]={"'":[4,0],o:8,l:[5,0]};ns[6]={'"':[4,0],o:8,l:[6,0]};const o2=/^\s?(?:true|false|-?[\d.]+|'[^']*'|"[^"]*")\s?$/;function a2(e){return o2.test(e)}function i2(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 l2(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 u2(e){const t=e.trim();return e.charAt(0)==="0"&&isNaN(parseInt(e))?!1:a2(t)?i2(t):"*"+t}function c2(e){const t=[];let n=-1,r=0,s=0,o,a,i,l,c,m,d;const f=[];f[0]=()=>{a===void 0?a=i:a+=i},f[1]=()=>{a!==void 0&&(t.push(a),a=void 0)},f[2]=()=>{f[0](),s++},f[3]=()=>{if(s>0)s--,r=4,f[0]();else{if(s=0,a===void 0||(a=u2(a),a===!1))return!1;f[1]()}};function p(){const h=e[n+1];if(r===5&&h==="'"||r===6&&h==='"')return n++,i="\\"+h,f[0](),!0}for(;r!==null;)if(n++,o=e[n],!(o==="\\"&&p())){if(l=l2(o),d=ns[r],c=d[l]||d.l||8,c===8||(r=c[0],c[1]!==void 0&&(m=f[c[1]],m&&(i=o,m()===!1))))return;if(r===7)return t}}const Kf=new Map;function d2(e,t){return ot(e)?e[t]:null}function m2(e,t){if(!ot(e))return null;let n=Kf.get(t);if(n||(n=c2(t),n&&Kf.set(t,n)),!n)return null;const r=n.length;let s=e,o=0;for(;o<r;){const a=s[n[o]];if(a===void 0||$t(s))return null;s=a,o++}return s}const f2=e=>e,p2=e=>"",h2="text",_2=e=>e.length===0?"":Xx(e),g2=Jx;function Gf(e,t){return e=Math.abs(e),t===2?e?e>1?1:0:1:e?Math.min(e,2):0}function y2(e){const t=Nt(e.pluralIndex)?e.pluralIndex:-1;return e.named&&(Nt(e.named.count)||Nt(e.named.n))?Nt(e.named.count)?e.named.count:Nt(e.named.n)?e.named.n:t:t}function v2(e,t){t.count||(t.count=e),t.n||(t.n=e)}function b2(e={}){const t=e.locale,n=y2(e),r=ot(e.pluralRules)&&ke(t)&&$t(e.pluralRules[t])?e.pluralRules[t]:Gf,s=ot(e.pluralRules)&&ke(t)&&$t(e.pluralRules[t])?Gf:void 0,o=w=>w[r(n,w.length,s)],a=e.list||[],i=w=>a[w],l=e.named||{};Nt(e.pluralIndex)&&v2(n,l);const c=w=>l[w];function m(w){const C=$t(e.messages)?e.messages(w):ot(e.messages)?e.messages[w]:!1;return C||(e.parent?e.parent.message(w):p2)}const d=w=>e.modifiers?e.modifiers[w]:f2,f=Xe(e.processor)&&$t(e.processor.normalize)?e.processor.normalize:_2,p=Xe(e.processor)&&$t(e.processor.interpolate)?e.processor.interpolate:g2,h=Xe(e.processor)&&ke(e.processor.type)?e.processor.type:h2,b={list:i,named:c,plural:o,linked:(w,...C)=>{const[z,v]=C;let S="text",A="";C.length===1?ot(z)?(A=z.modifier||A,S=z.type||S):ke(z)&&(A=z||A):C.length===2&&(ke(z)&&(A=z||A),ke(v)&&(S=v||S));const D=m(w)(b),F=S==="vnode"&&Rt(D)&&A?D[0]:D;return A?d(A)(F,S):F},message:m,type:h,interpolate:p,normalize:f,values:Zt({},a,l)};return b}let va=null;function z2(e){va=e}function C2(e,t,n){va&&va.emit("i18n:init",{timestamp:Date.now(),i18n:e,version:t,meta:n})}const w2=k2("function:translate");function k2(e){return t=>va&&va.emit(e,t)}const x2={NOT_FOUND_KEY:1,FALLBACK_TO_TRANSLATE:2,CANNOT_FORMAT_NUMBER:3,FALLBACK_TO_NUMBER_FORMAT:4,CANNOT_FORMAT_DATE:5,FALLBACK_TO_DATE_FORMAT:6,EXPERIMENTAL_CUSTOM_MESSAGE_COMPILER:7,__EXTEND_POINT__:8},by=Ht.__EXTEND_POINT__,os=lm(by),sr={INVALID_ARGUMENT:by,INVALID_DATE_ARGUMENT:os(),INVALID_ISO_DATE_ARGUMENT:os(),NOT_SUPPORT_NON_STRING_MESSAGE:os(),NOT_SUPPORT_LOCALE_PROMISE_VALUE:os(),NOT_SUPPORT_LOCALE_ASYNC_FUNCTION:os(),NOT_SUPPORT_LOCALE_TYPE:os(),__EXTEND_POINT__:os()};function _r(e){return vy(e,null,void 0)}function um(e,t){return t.locale!=null?Zf(t.locale):Zf(e.locale)}let Iu;function Zf(e){if(ke(e))return e;if($t(e)){if(e.resolvedOnce&&Iu!=null)return Iu;if(e.constructor.name==="Function"){const t=e();if(Yx(t))throw _r(sr.NOT_SUPPORT_LOCALE_PROMISE_VALUE);return Iu=t}else throw _r(sr.NOT_SUPPORT_LOCALE_ASYNC_FUNCTION)}else throw _r(sr.NOT_SUPPORT_LOCALE_TYPE)}function E2(e,t,n){return[...new Set([n,...Rt(t)?t:ot(t)?Object.keys(t):ke(t)?[t]:[n]])]}function zy(e,t,n){const r=ke(n)?n:yl,s=e;s.__localeChainCache||(s.__localeChainCache=new Map);let o=s.__localeChainCache.get(r);if(!o){o=[];let a=[n];for(;Rt(a);)a=Yf(o,a,t);const i=Rt(t)||!Xe(t)?t:t.default?t.default:null;a=ke(i)?[i]:i,Rt(a)&&Yf(o,a,!1),s.__localeChainCache.set(r,o)}return o}function Yf(e,t,n){let r=!0;for(let s=0;s<t.length&&At(r);s++){const o=t[s];ke(o)&&(r=S2(e,t[s],n))}return r}function S2(e,t,n){let r;const s=t.split("-");do{const o=s.join("-");r=$2(e,o,n),s.splice(-1,1)}while(s.length&&r===!0);return r}function $2(e,t,n){let r=!1;if(!e.includes(t)&&(r=!0,t)){r=t[t.length-1]!=="!";const s=t.replace(/!/g,"");e.push(s),(Rt(n)||Xe(n))&&n[s]&&(r=n[s])}return r}const A2="9.8.0",su=-1,yl="en-US",Jf="",Xf=e=>`${e.charAt(0).toLocaleUpperCase()}${e.substr(1)}`;function T2(){return{upper:(e,t)=>t==="text"&&ke(e)?e.toUpperCase():t==="vnode"&&ot(e)&&"__v_isVNode"in e?e.children.toUpperCase():e,lower:(e,t)=>t==="text"&&ke(e)?e.toLowerCase():t==="vnode"&&ot(e)&&"__v_isVNode"in e?e.children.toLowerCase():e,capitalize:(e,t)=>t==="text"&&ke(e)?Xf(e):t==="vnode"&&ot(e)&&"__v_isVNode"in e?Xf(e.children):e}}let O2,Cy;function D2(e){Cy=e}let wy;function P2(e){wy=e}let ky=null;const I2=e=>{ky=e},F2=()=>ky;let xy=null;const Qf=e=>{xy=e},R2=()=>xy;let ep=0;function L2(e={}){const t=$t(e.onWarn)?e.onWarn:Qx,n=ke(e.version)?e.version:A2,r=ke(e.locale)||$t(e.locale)?e.locale:yl,s=$t(r)?yl:r,o=Rt(e.fallbackLocale)||Xe(e.fallbackLocale)||ke(e.fallbackLocale)||e.fallbackLocale===!1?e.fallbackLocale:s,a=Xe(e.messages)?e.messages:{[s]:{}},i=Xe(e.datetimeFormats)?e.datetimeFormats:{[s]:{}},l=Xe(e.numberFormats)?e.numberFormats:{[s]:{}},c=Zt({},e.modifiers||{},T2()),m=e.pluralRules||{},d=$t(e.missing)?e.missing:null,f=At(e.missingWarn)||gl(e.missingWarn)?e.missingWarn:!0,p=At(e.fallbackWarn)||gl(e.fallbackWarn)?e.fallbackWarn:!0,h=!!e.fallbackFormat,_=!!e.unresolving,b=$t(e.postTranslation)?e.postTranslation:null,w=Xe(e.processor)?e.processor:null,C=At(e.warnHtmlMessage)?e.warnHtmlMessage:!0,z=!!e.escapeParameter,v=$t(e.messageCompiler)?e.messageCompiler:O2,S=$t(e.messageResolver)?e.messageResolver:Cy||d2,A=$t(e.localeFallbacker)?e.localeFallbacker:wy||E2,D=ot(e.fallbackContext)?e.fallbackContext:void 0,F=e,P=ot(F.__datetimeFormatters)?F.__datetimeFormatters:new Map,M=ot(F.__numberFormatters)?F.__numberFormatters:new Map,Z=ot(F.__meta)?F.__meta:{};ep++;const W={version:n,cid:ep,locale:r,fallbackLocale:o,messages:a,modifiers:c,pluralRules:m,missing:d,missingWarn:f,fallbackWarn:p,fallbackFormat:h,unresolving:_,postTranslation:b,processor:w,warnHtmlMessage:C,escapeParameter:z,messageCompiler:v,messageResolver:S,localeFallbacker:A,fallbackContext:D,onWarn:t,__meta:Z};return W.datetimeFormats=i,W.numberFormats=l,W.__datetimeFormatters=P,W.__numberFormatters=M,__INTLIFY_PROD_DEVTOOLS__&&C2(W,n,Z),W}function cm(e,t,n,r,s){const{missing:o,onWarn:a}=e;if(o!==null){const i=o(e,n,t,s);return ke(i)?i:t}else return t}function $o(e,t,n){const r=e;r.__localeChainCache=new Map,e.localeFallbacker(e,n,t)}const io=e=>ot(e)&&(e.t===0||e.type===0)&&("b"in e||"body"in e),tp=()=>"",En=e=>$t(e);function np(e,...t){const{fallbackFormat:n,postTranslation:r,unresolving:s,messageCompiler:o,fallbackLocale:a,messages:i}=e,[l,c]=Mc(...t),m=At(c.missingWarn)?c.missingWarn:e.missingWarn,d=At(c.fallbackWarn)?c.fallbackWarn:e.fallbackWarn,f=At(c.escapeParameter)?c.escapeParameter:e.escapeParameter,p=!!c.resolvedMessage,h=ke(c.default)||At(c.default)?At(c.default)?o?l:()=>l:c.default:n?o?l:()=>l:"",_=n||h!=="",b=um(e,c);f&&N2(c);let[w,C,z]=p?[l,b,i[b]||{}]:Ey(e,l,b,a,d,m),v=w,S=l;if(!p&&!(ke(v)||io(v)||En(v))&&_&&(v=h,S=v),!p&&(!(ke(v)||io(v)||En(v))||!ke(C)))return s?su:l;let A=!1;const D=()=>{A=!0},F=En(v)?v:Sy(e,l,C,v,S,D);if(A)return v;const P=H2(e,C,z,c),M=b2(P),Z=M2(e,F,M),W=r?r(Z,l):Z;if(__INTLIFY_PROD_DEVTOOLS__){const U={timestamp:Date.now(),key:ke(l)?l:En(v)?v.key:"",locale:C||(En(v)?v.locale:""),format:ke(v)?v:En(v)?v.source:"",message:W};U.meta=Zt({},e.__meta,F2()||{}),w2(U)}return W}function N2(e){Rt(e.list)?e.list=e.list.map(t=>ke(t)?Wf(t):t):ot(e.named)&&Object.keys(e.named).forEach(t=>{ke(e.named[t])&&(e.named[t]=Wf(e.named[t]))})}function Ey(e,t,n,r,s,o){const{messages:a,onWarn:i,messageResolver:l,localeFallbacker:c}=e,m=c(e,r,n);let d={},f,p=null;const h="translate";for(let _=0;_<m.length&&(f=m[_],d=a[f]||{},(p=l(d,t))===null&&(p=d[t]),!(ke(p)||io(p)||En(p)));_++){const b=cm(e,t,f,o,h);b!==t&&(p=b)}return[p,f,d]}function Sy(e,t,n,r,s,o){const{messageCompiler:a,warnHtmlMessage:i}=e;if(En(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,V2(e,n,s,r,i,o));return l.locale=n,l.key=t,l.source=r,l}function M2(e,t,n){return t(n)}function Mc(...e){const[t,n,r]=e,s={};if(!ke(t)&&!Nt(t)&&!En(t)&&!io(t))throw _r(sr.INVALID_ARGUMENT);const o=Nt(t)?String(t):(En(t),t);return Nt(n)?s.plural=n:ke(n)?s.default=n:Xe(n)&&!ru(n)?s.named=n:Rt(n)&&(s.list=n),Nt(r)?s.plural=r:ke(r)?s.default=r:Xe(r)&&Zt(s,r),[o,s]}function V2(e,t,n,r,s,o){return{locale:t,key:n,warnHtmlMessage:s,onError:a=>{throw o&&o(a),a},onCacheKey:a=>Wx(t,n,a)}}function H2(e,t,n,r){const{modifiers:s,pluralRules:o,messageResolver:a,fallbackLocale:i,fallbackWarn:l,missingWarn:c,fallbackContext:m}=e,f={locale:t,modifiers:s,pluralRules:o,messages:p=>{let h=a(n,p);if(h==null&&m){const[,,_]=Ey(m,p,t,i,l,c);h=a(_,p)}if(ke(h)||io(h)){let _=!1;const w=Sy(e,p,t,h,p,()=>{_=!0});return _?tp:w}else return En(h)?h:tp}};return e.processor&&(f.processor=e.processor),r.list&&(f.list=r.list),r.named&&(f.named=r.named),Nt(r.plural)&&(f.pluralIndex=r.plural),f}function rp(e,...t){const{datetimeFormats:n,unresolving:r,fallbackLocale:s,onWarn:o,localeFallbacker:a}=e,{__datetimeFormatters:i}=e,[l,c,m,d]=Vc(...t),f=At(m.missingWarn)?m.missingWarn:e.missingWarn;At(m.fallbackWarn)?m.fallbackWarn:e.fallbackWarn;const p=!!m.part,h=um(e,m),_=a(e,s,h);if(!ke(l)||l==="")return new Intl.DateTimeFormat(h,d).format(c);let b={},w,C=null;const z="datetime format";for(let A=0;A<_.length&&(w=_[A],b=n[w]||{},C=b[l],!Xe(C));A++)cm(e,l,w,f,z);if(!Xe(C)||!ke(w))return r?su:l;let v=`${w}__${l}`;ru(d)||(v=`${v}__${JSON.stringify(d)}`);let S=i.get(v);return S||(S=new Intl.DateTimeFormat(w,Zt({},C,d)),i.set(v,S)),p?S.formatToParts(c):S.format(c)}const $y=["localeMatcher","weekday","era","year","month","day","hour","minute","second","timeZoneName","formatMatcher","hour12","timeZone","dateStyle","timeStyle","calendar","dayPeriod","numberingSystem","hourCycle","fractionalSecondDigits"];function Vc(...e){const[t,n,r,s]=e,o={};let a={},i;if(ke(t)){const l=t.match(/(\d{4}-\d{2}-\d{2})(T|\s)?(.*)/);if(!l)throw _r(sr.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 _r(sr.INVALID_ISO_DATE_ARGUMENT)}}else if(Gx(t)){if(isNaN(t.getTime()))throw _r(sr.INVALID_DATE_ARGUMENT);i=t}else if(Nt(t))i=t;else throw _r(sr.INVALID_ARGUMENT);return ke(n)?o.key=n:Xe(n)&&Object.keys(n).forEach(l=>{$y.includes(l)?a[l]=n[l]:o[l]=n[l]}),ke(r)?o.locale=r:Xe(r)&&(a=r),Xe(s)&&(a=s),[o.key||"",i,o,a]}function sp(e,t,n){const r=e;for(const s in n){const o=`${t}__${s}`;r.__datetimeFormatters.has(o)&&r.__datetimeFormatters.delete(o)}}function op(e,...t){const{numberFormats:n,unresolving:r,fallbackLocale:s,onWarn:o,localeFallbacker:a}=e,{__numberFormatters:i}=e,[l,c,m,d]=Hc(...t),f=At(m.missingWarn)?m.missingWarn:e.missingWarn;At(m.fallbackWarn)?m.fallbackWarn:e.fallbackWarn;const p=!!m.part,h=um(e,m),_=a(e,s,h);if(!ke(l)||l==="")return new Intl.NumberFormat(h,d).format(c);let b={},w,C=null;const z="number format";for(let A=0;A<_.length&&(w=_[A],b=n[w]||{},C=b[l],!Xe(C));A++)cm(e,l,w,f,z);if(!Xe(C)||!ke(w))return r?su:l;let v=`${w}__${l}`;ru(d)||(v=`${v}__${JSON.stringify(d)}`);let S=i.get(v);return S||(S=new Intl.NumberFormat(w,Zt({},C,d)),i.set(v,S)),p?S.formatToParts(c):S.format(c)}const Ay=["localeMatcher","style","currency","currencyDisplay","currencySign","useGrouping","minimumIntegerDigits","minimumFractionDigits","maximumFractionDigits","minimumSignificantDigits","maximumSignificantDigits","compactDisplay","notation","signDisplay","unit","unitDisplay","roundingMode","roundingPriority","roundingIncrement","trailingZeroDisplay"];function Hc(...e){const[t,n,r,s]=e,o={};let a={};if(!Nt(t))throw _r(sr.INVALID_ARGUMENT);const i=t;return ke(n)?o.key=n:Xe(n)&&Object.keys(n).forEach(l=>{Ay.includes(l)?a[l]=n[l]:o[l]=n[l]}),ke(r)?o.locale=r:Xe(r)&&(a=r),Xe(s)&&(a=s),[o.key||"",i,o,a]}function ap(e,t,n){const r=e;for(const s in n){const o=`${t}__${s}`;r.__numberFormatters.has(o)&&r.__numberFormatters.delete(o)}}s2();/*!
* vue-i18n v9.8.0
* (c) 2023 kazuya kawaguchi
* Released under the MIT License.
*/const B2="9.8.0";function U2(){typeof __INTLIFY_PROD_DEVTOOLS__!="boolean"&&(im().__INTLIFY_PROD_DEVTOOLS__=!1)}const Ty=x2.__EXTEND_POINT__,Ar=lm(Ty);Ar(),Ar(),Ar(),Ar(),Ar(),Ar(),Ar(),Ar();const Oy=sr.__EXTEND_POINT__,nn=lm(Oy),Pn={UNEXPECTED_RETURN_TYPE:Oy,INVALID_ARGUMENT:nn(),MUST_BE_CALL_SETUP_TOP:nn(),NOT_INSTALLED:nn(),NOT_AVAILABLE_IN_LEGACY_MODE:nn(),REQUIRED_VALUE:nn(),INVALID_VALUE:nn(),CANNOT_SETUP_VUE_DEVTOOLS_PLUGIN:nn(),NOT_INSTALLED_WITH_PROVIDE:nn(),UNEXPECTED_ERROR:nn(),NOT_COMPATIBLE_LEGACY_VUE_I18N:nn(),BRIDGE_SUPPORT_VUE_2_ONLY:nn(),MUST_DEFINE_I18N_OPTION_IN_ALLOW_COMPOSITION:nn(),NOT_AVAILABLE_COMPOSITION_IN_LEGACY:nn(),__EXTEND_POINT__:nn()};function Kn(e,...t){return vy(e,null,void 0)}const Bc=ts("__translateVNode"),Uc=ts("__datetimeParts"),jc=ts("__numberParts"),j2=ts("__setPluralRules"),q2=ts("__injectWithOption"),qc=ts("__dispose");function ba(e){if(!ot(e))return e;for(const t in e)if(ya(e,t))if(!t.includes("."))ot(e[t])&&ba(e[t]);else{const n=t.split("."),r=n.length-1;let s=e,o=!1;for(let a=0;a<r;a++){if(n[a]in s||(s[n[a]]={}),!ot(s[n[a]])){o=!0;break}s=s[n[a]]}o||(s[n[r]]=e[t],delete e[t]),ot(s[n[r]])&&ba(s[n[r]])}return e}function Dy(e,t){const{messages:n,__i18n:r,messageResolver:s,flatJson:o}=t,a=Xe(n)?n:Rt(r)?{}:{[e]:{}};if(Rt(r)&&r.forEach(i=>{if("locale"in i&&"resource"in i){const{locale:l,resource:c}=i;l?(a[l]=a[l]||{},Xo(c,a[l])):Xo(c,a)}else ke(i)&&Xo(JSON.parse(i),a)}),s==null&&o)for(const i in a)ya(a,i)&&ba(a[i]);return a}function Py(e){return e.type}function W2(e,t,n){let r=ot(t.messages)?t.messages:{};"__i18nGlobal"in n&&(r=Dy(e.locale.value,{messages:r,__i18n:n.__i18nGlobal}));const s=Object.keys(r);s.length&&s.forEach(o=>{e.mergeLocaleMessage(o,r[o])});{if(ot(t.datetimeFormats)){const o=Object.keys(t.datetimeFormats);o.length&&o.forEach(a=>{e.mergeDateTimeFormat(a,t.datetimeFormats[a])})}if(ot(t.numberFormats)){const o=Object.keys(t.numberFormats);o.length&&o.forEach(a=>{e.mergeNumberFormat(a,t.numberFormats[a])})}}}function ip(e){return y(Zr,null,e,0)}const lp="__INTLIFY_META__",up=()=>[],K2=()=>!1;let cp=0;function dp(e){return(t,n,r,s)=>e(n,r,Fn()||void 0,s)}const G2=()=>{const e=Fn();let t=null;return e&&(t=Py(e)[lp])?{[lp]:t}:null};function Iy(e={},t){const{__root:n,__injectWithOption:r}=e,s=n===void 0,o=e.flatJson;let a=At(e.inheritLocale)?e.inheritLocale:!0;const i=Xt(n&&a?n.locale.value:ke(e.locale)?e.locale:yl),l=Xt(n&&a?n.fallbackLocale.value:ke(e.fallbackLocale)||Rt(e.fallbackLocale)||Xe(e.fallbackLocale)||e.fallbackLocale===!1?e.fallbackLocale:i.value),c=Xt(Dy(i.value,e)),m=Xt(Xe(e.datetimeFormats)?e.datetimeFormats:{[i.value]:{}}),d=Xt(Xe(e.numberFormats)?e.numberFormats:{[i.value]:{}});let f=n?n.missingWarn:At(e.missingWarn)||gl(e.missingWarn)?e.missingWarn:!0,p=n?n.fallbackWarn:At(e.fallbackWarn)||gl(e.fallbackWarn)?e.fallbackWarn:!0,h=n?n.fallbackRoot:At(e.fallbackRoot)?e.fallbackRoot:!0,_=!!e.fallbackFormat,b=$t(e.missing)?e.missing:null,w=$t(e.missing)?dp(e.missing):null,C=$t(e.postTranslation)?e.postTranslation:null,z=n?n.warnHtmlMessage:At(e.warnHtmlMessage)?e.warnHtmlMessage:!0,v=!!e.escapeParameter;const S=n?n.modifiers:Xe(e.modifiers)?e.modifiers:{};let A=e.pluralRules||n&&n.pluralRules,D;D=(()=>{s&&Qf(null);const L={version:B2,locale:i.value,fallbackLocale:l.value,messages:c.value,modifiers:S,pluralRules:A,missing:w===null?void 0:w,missingWarn:f,fallbackWarn:p,fallbackFormat:_,unresolving:!0,postTranslation:C===null?void 0:C,warnHtmlMessage:z,escapeParameter:v,messageResolver:e.messageResolver,messageCompiler:e.messageCompiler,__meta:{framework:"vue"}};L.datetimeFormats=m.value,L.numberFormats=d.value,L.__datetimeFormatters=Xe(D)?D.__datetimeFormatters:void 0,L.__numberFormatters=Xe(D)?D.__numberFormatters:void 0;const q=L2(L);return s&&Qf(q),q})(),$o(D,i.value,l.value);function P(){return[i.value,l.value,c.value,m.value,d.value]}const M=Lt({get:()=>i.value,set:L=>{i.value=L,D.locale=i.value}}),Z=Lt({get:()=>l.value,set:L=>{l.value=L,D.fallbackLocale=l.value,$o(D,i.value,L)}}),W=Lt(()=>c.value),U=Lt(()=>m.value),Q=Lt(()=>d.value);function me(){return $t(C)?C:null}function K(L){C=L,D.postTranslation=L}function re(){return b}function oe(L){L!==null&&(w=dp(L)),b=L,D.missing=w}const Fe=(L,q,_e,$e,Me,R)=>{P();let N;try{__INTLIFY_PROD_DEVTOOLS__,s||(D.fallbackContext=n?R2():void 0),N=L(D)}finally{__INTLIFY_PROD_DEVTOOLS__,s||(D.fallbackContext=void 0)}if(_e!=="translate exists"&&Nt(N)&&N===su||_e==="translate exists"&&!N){const[B,ne]=q();return n&&h?$e(n):Me(B)}else{if(R(N))return N;throw Kn(Pn.UNEXPECTED_RETURN_TYPE)}};function at(...L){return Fe(q=>Reflect.apply(np,null,[q,...L]),()=>Mc(...L),"translate",q=>Reflect.apply(q.t,q,[...L]),q=>q,q=>ke(q))}function Ge(...L){const[q,_e,$e]=L;if($e&&!ot($e))throw Kn(Pn.INVALID_ARGUMENT);return at(q,_e,Zt({resolvedMessage:!0},$e||{}))}function je(...L){return Fe(q=>Reflect.apply(rp,null,[q,...L]),()=>Vc(...L),"datetime format",q=>Reflect.apply(q.d,q,[...L]),()=>Jf,q=>ke(q))}function ut(...L){return Fe(q=>Reflect.apply(op,null,[q,...L]),()=>Hc(...L),"number format",q=>Reflect.apply(q.n,q,[...L]),()=>Jf,q=>ke(q))}function ft(L){return L.map(q=>ke(q)||Nt(q)||At(q)?ip(String(q)):q)}const Ne={normalize:ft,interpolate:L=>L,type:"vnode"};function j(...L){return Fe(q=>{let _e;const $e=q;try{$e.processor=Ne,_e=Reflect.apply(np,null,[$e,...L])}finally{$e.processor=null}return _e},()=>Mc(...L),"translate",q=>q[Bc](...L),q=>[ip(q)],q=>Rt(q))}function ue(...L){return Fe(q=>Reflect.apply(op,null,[q,...L]),()=>Hc(...L),"number format",q=>q[jc](...L),up,q=>ke(q)||Rt(q))}function se(...L){return Fe(q=>Reflect.apply(rp,null,[q,...L]),()=>Vc(...L),"datetime format",q=>q[Uc](...L),up,q=>ke(q)||Rt(q))}function ve(L){A=L,D.pluralRules=A}function Be(L,q){return Fe(()=>{if(!L)return!1;const _e=ke(q)?q:i.value,$e=I(_e),Me=D.messageResolver($e,L);return io(Me)||En(Me)||ke(Me)},()=>[L],"translate exists",_e=>Reflect.apply(_e.te,_e,[L,q]),K2,_e=>At(_e))}function T(L){let q=null;const _e=zy(D,l.value,i.value);for(let $e=0;$e<_e.length;$e++){const Me=c.value[_e[$e]]||{},R=D.messageResolver(Me,L);if(R!=null){q=R;break}}return q}function O(L){const q=T(L);return q??(n?n.tm(L)||{}:{})}function I(L){return c.value[L]||{}}function G(L,q){if(o){const _e={[L]:q};for(const $e in _e)ya(_e,$e)&&ba(_e[$e]);q=_e[L]}c.value[L]=q,D.messages=c.value}function Y(L,q){c.value[L]=c.value[L]||{};const _e={[L]:q};for(const $e in _e)ya(_e,$e)&&ba(_e[$e]);q=_e[L],Xo(q,c.value[L]),D.messages=c.value}function X(L){return m.value[L]||{}}function de(L,q){m.value[L]=q,D.datetimeFormats=m.value,sp(D,L,q)}function ie(L,q){m.value[L]=Zt(m.value[L]||{},q),D.datetimeFormats=m.value,sp(D,L,q)}function ae(L){return d.value[L]||{}}function ee(L,q){d.value[L]=q,D.numberFormats=d.value,ap(D,L,q)}function ze(L,q){d.value[L]=Zt(d.value[L]||{},q),D.numberFormats=d.value,ap(D,L,q)}cp++,n&&Nc&&(en(n.locale,L=>{a&&(i.value=L,D.locale=L,$o(D,i.value,l.value))}),en(n.fallbackLocale,L=>{a&&(l.value=L,D.fallbackLocale=L,$o(D,i.value,l.value))}));const le={id:cp,locale:M,fallbackLocale:Z,get inheritLocale(){return a},set inheritLocale(L){a=L,L&&n&&(i.value=n.locale.value,l.value=n.fallbackLocale.value,$o(D,i.value,l.value))},get availableLocales(){return Object.keys(c.value).sort()},messages:W,get modifiers(){return S},get pluralRules(){return A||{}},get isGlobal(){return s},get missingWarn(){return f},set missingWarn(L){f=L,D.missingWarn=f},get fallbackWarn(){return p},set fallbackWarn(L){p=L,D.fallbackWarn=p},get fallbackRoot(){return h},set fallbackRoot(L){h=L},get fallbackFormat(){return _},set fallbackFormat(L){_=L,D.fallbackFormat=_},get warnHtmlMessage(){return z},set warnHtmlMessage(L){z=L,D.warnHtmlMessage=L},get escapeParameter(){return v},set escapeParameter(L){v=L,D.escapeParameter=L},t:at,getLocaleMessage:I,setLocaleMessage:G,mergeLocaleMessage:Y,getPostTranslationHandler:me,setPostTranslationHandler:K,getMissingHandler:re,setMissingHandler:oe,[j2]:ve};return le.datetimeFormats=U,le.numberFormats=Q,le.rt=Ge,le.te=Be,le.tm=O,le.d=je,le.n=ut,le.getDateTimeFormat=X,le.setDateTimeFormat=de,le.mergeDateTimeFormat=ie,le.getNumberFormat=ae,le.setNumberFormat=ee,le.mergeNumberFormat=ze,le[q2]=r,le[Bc]=j,le[Uc]=se,le[jc]=ue,le}const dm={tag:{type:[String,Object]},locale:{type:String},scope:{type:String,validator:e=>e==="parent"||e==="global",default:"parent"},i18n:{type:Object}};function Z2({slots:e},t){return t.length===1&&t[0]==="default"?(e.default?e.default():[]).reduce((r,s)=>[...r,...s.type===we?s.children:[s]],[]):t.reduce((n,r)=>{const s=e[r];return s&&(n[r]=s()),n},{})}function Fy(e){return we}const Y2=Cr({name:"i18n-t",props:Zt({keypath:{type:String,required:!0},plural:{type:[Number,String],validator:e=>Nt(e)||!isNaN(e)}},dm),setup(e,t){const{slots:n,attrs:r}=t,s=e.i18n||mm({useScope:e.scope,__useComponent:!0});return()=>{const o=Object.keys(n).filter(d=>d!=="_"),a={};e.locale&&(a.locale=e.locale),e.plural!==void 0&&(a.plural=ke(e.plural)?+e.plural:e.plural);const i=Z2(t,o),l=s[Bc](e.keypath,i,a),c=Zt({},r),m=ke(e.tag)||ot(e.tag)?e.tag:Fy();return nr(m,c,l)}}}),mp=Y2;function J2(e){return Rt(e)&&!ke(e[0])}function Ry(e,t,n,r){const{slots:s,attrs:o}=t;return()=>{const a={part:!0};let i={};e.locale&&(a.locale=e.locale),ke(e.format)?a.key=e.format:ot(e.format)&&(ke(e.format.key)&&(a.key=e.format.key),i=Object.keys(e.format).reduce((f,p)=>n.includes(p)?Zt({},f,{[p]:e.format[p]}):f,{}));const l=r(e.value,a,i);let c=[a.key];Rt(l)?c=l.map((f,p)=>{const h=s[f.type],_=h?h({[f.type]:f.value,index:p,parts:l}):[f.value];return J2(_)&&(_[0].key=`${f.type}-${p}`),_}):ke(l)&&(c=[l]);const m=Zt({},o),d=ke(e.tag)||ot(e.tag)?e.tag:Fy();return nr(d,m,c)}}const X2=Cr({name:"i18n-n",props:Zt({value:{type:Number,required:!0},format:{type:[String,Object]}},dm),setup(e,t){const n=e.i18n||mm({useScope:"parent",__useComponent:!0});return Ry(e,t,Ay,(...r)=>n[jc](...r))}}),fp=X2,Q2=Cr({name:"i18n-d",props:Zt({value:{type:[Number,Date],required:!0},format:{type:[String,Object]}},dm),setup(e,t){const n=e.i18n||mm({useScope:"parent",__useComponent:!0});return Ry(e,t,$y,(...r)=>n[Uc](...r))}}),pp=Q2;function eE(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 tE(e){const t=a=>{const{instance:i,modifiers:l,value:c}=a;if(!i||!i.$)throw Kn(Pn.UNEXPECTED_ERROR);const m=eE(e,i.$),d=hp(c);return[Reflect.apply(m.t,m,[..._p(d)]),m]};return{created:(a,i)=>{const[l,c]=t(i);Nc&&e.global===c&&(a.__i18nWatcher=en(c.locale,()=>{i.instance&&i.instance.$forceUpdate()})),a.__composer=c,a.textContent=l},unmounted:a=>{Nc&&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=hp(i);a.textContent=Reflect.apply(l.t,l,[..._p(c)])}},getSSRProps:a=>{const[i]=t(a);return{textContent:i}}}}function hp(e){if(ke(e))return{path:e};if(Xe(e)){if(!("path"in e))throw Kn(Pn.REQUIRED_VALUE,"path");return e}else throw Kn(Pn.INVALID_VALUE)}function _p(e){const{path:t,locale:n,args:r,choice:s,plural:o}=e,a={},i=r||{};return ke(n)&&(a.locale=n),Nt(s)&&(a.plural=s),Nt(o)&&(a.plural=o),[t,i,a]}function nE(e,t,...n){const r=Xe(n[0])?n[0]:{},s=!!r.useI18nComponentName;(At(r.globalInstall)?r.globalInstall:!0)&&([s?"i18n":mp.name,"I18nT"].forEach(a=>e.component(a,mp)),[fp.name,"I18nN"].forEach(a=>e.component(a,fp)),[pp.name,"I18nD"].forEach(a=>e.component(a,pp))),e.directive("t",tE(t))}const rE=ts("global-vue-i18n");function sE(e={},t){const n=At(e.globalInjection)?e.globalInjection:!0,r=!0,s=new Map,[o,a]=oE(e),i=ts("");function l(d){return s.get(d)||null}function c(d,f){s.set(d,f)}function m(d){s.delete(d)}{const d={get mode(){return"composition"},get allowComposition(){return r},async install(f,...p){if(f.__VUE_I18N_SYMBOL__=i,f.provide(f.__VUE_I18N_SYMBOL__,d),Xe(p[0])){const b=p[0];d.__composerExtend=b.__composerExtend,d.__vueI18nExtend=b.__vueI18nExtend}let h=null;n&&(h=fE(f,d.global)),nE(f,d,...p);const _=f.unmount;f.unmount=()=>{h&&h(),d.dispose(),_()}},get global(){return a},dispose(){o.stop()},__instances:s,__getInstance:l,__setInstance:c,__deleteInstance:m};return d}}function mm(e={}){const t=Fn();if(t==null)throw Kn(Pn.MUST_BE_CALL_SETUP_TOP);if(!t.isCE&&t.appContext.app!=null&&!t.appContext.app.__VUE_I18N_SYMBOL__)throw Kn(Pn.NOT_INSTALLED);const n=aE(t),r=lE(n),s=Py(t),o=iE(e,s);if(o==="global")return W2(r,e,s),r;if(o==="parent"){let l=uE(n,t,e.__useComponent);return l==null&&(l=r),l}const a=n;let i=a.__getInstance(t);if(i==null){const l=Zt({},e);"__i18n"in s&&(l.__i18n=s.__i18n),r&&(l.__root=r),i=Iy(l),a.__composerExtend&&(i[qc]=a.__composerExtend(i)),dE(a,t,i),a.__setInstance(t,i)}return i}function oE(e,t,n){const r=xd();{const s=r.run(()=>Iy(e));if(s==null)throw Kn(Pn.UNEXPECTED_ERROR);return[r,s]}}function aE(e){{const t=Wn(e.isCE?rE:e.appContext.app.__VUE_I18N_SYMBOL__);if(!t)throw Kn(e.isCE?Pn.NOT_INSTALLED_WITH_PROVIDE:Pn.UNEXPECTED_ERROR);return t}}function iE(e,t){return ru(e)?"__i18n"in t?"local":"global":e.useScope?e.useScope:"local"}function lE(e){return e.mode==="composition"?e.global:e.global.__composer}function uE(e,t,n=!1){let r=null;const s=t.root;let o=cE(t,n);for(;o!=null;){const a=e;if(e.mode==="composition"&&(r=a.__getInstance(o)),r!=null||s===o)break;o=o.parent}return r}function cE(e,t=!1){return e==null?null:t&&e.vnode.ctx||e.parent}function dE(e,t,n){go(()=>{},t),Oa(()=>{const r=n;e.__deleteInstance(t);const s=r[qc];s&&(s(),delete r[qc])},t)}const mE=["locale","fallbackLocale","availableLocales"],gp=["t","rt","d","n","tm","te"];function fE(e,t){const n=Object.create(null);return mE.forEach(s=>{const o=Object.getOwnPropertyDescriptor(t,s);if(!o)throw Kn(Pn.UNEXPECTED_ERROR);const a=Vt(o.value)?{get(){return o.value.value},set(i){o.value.value=i}}:{get(){return o.get&&o.get()}};Object.defineProperty(n,s,a)}),e.config.globalProperties.$i18n=n,gp.forEach(s=>{const o=Object.getOwnPropertyDescriptor(t,s);if(!o||!o.value)throw Kn(Pn.UNEXPECTED_ERROR);Object.defineProperty(e.config.globalProperties,`$${s}`,o)}),()=>{delete e.config.globalProperties.$i18n,gp.forEach(s=>{delete e.config.globalProperties[`$${s}`]})}}U2();D2(m2);P2(zy);if(__INTLIFY_PROD_DEVTOOLS__){const e=im();e.__INTLIFY__=!0,z2(e.__INTLIFY_DEVTOOLS_GLOBAL_HOOK__)}const Fu=e=>e&&typeof e=="object"&&!Array.isArray(e),Wc=(e,...t)=>{if(!t.length)return e;const n=t.shift();if(Fu(e)&&Fu(n))for(const r in n)Fu(n[r])?(e[r]||Object.assign(e,{[r]:{}}),Wc(e[r],n[r])):Object.assign(e,{[r]:n[r]});return Wc(e,...t)},pE=Wc({},{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(["Podcast hinzufügen"])}},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 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:s}=e;return s([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:s}=e;return s([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:{title:e=>{const{normalize:t}=e;return t(["Sortieren"])},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:s}=e;return s([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-spotify-help":e=>{const{normalize:t}=e;return t(["Nach Aktivierung wird kein Inhalt angezeigt, der nur in der Spotify-Bibliothek enthalten ist."])},"hide-spotify":e=>{const{normalize:t}=e;return t(["Verbirgt Spotify-Inhalt"])},shuffle:e=>{const{normalize:t}=e;return t(["Zufallswiedergabe"])},"track-count":e=>{const{normalize:t,interpolate:n,named:r,plural:s}=e;return s([t([n(r("count"))," Track"]),t([n(r("count"))," Track"]),t([n(r("count"))," Tracks"])])},sort:{title:e=>{const{normalize:t}=e;return t(["Sortieren"])},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:{title:e=>{const{normalize:t}=e;return t(["Sortieren"])},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:s}=e;return s([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:s}=e;return s([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:s}=e;return s([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:s}=e;return s([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"])},genres:e=>{const{normalize:t}=e;return t(["Genres"])}}},composer:{"album-count":e=>{const{normalize:t,interpolate:n,named:r,plural:s}=e;return s([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:s}=e;return s([t([n(r("count"))," Track"]),t([n(r("count"))," Track"]),t([n(r("count"))," Tracks"])])},sort:{title:e=>{const{normalize:t}=e;return t(["Sortieren"])},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:s}=e;return s([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:s}=e;return s([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:s}=e;return s([t([n(r("count"))," Track"]),t([n(r("count"))," Track"]),t([n(r("count"))," Tracks"])])},sort:{title:e=>{const{normalize:t}=e;return t(["Sortieren"])},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:s}=e;return s([t([n(r("count"))," Genre"]),t([n(r("count"))," Genre"]),t([n(r("count"))," Genres"])])},title:e=>{const{normalize:t}=e;return t(["Genres"])}},music:{"show-more":e=>{const{normalize:t}=e;return t(["Zeige mehr"])},"recently-added":{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"])}},tabs:{albums:e=>{const{normalize:t}=e;return t(["Alben"])},artists:e=>{const{normalize:t}=e;return t(["Künstler"])},composers:e=>{const{normalize:t}=e;return t(["Komponisten"])},genres:e=>{const{normalize:t}=e;return t(["Genres"])},history:e=>{const{normalize:t}=e;return t(["Verlauf"])},spotify:e=>{const{normalize:t}=e;return t(["Spotify"])}}},"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:s}=e;return s([t([n(r("count"))," Track"]),t([n(r("count"))," Tracks"])])}},playlists:{title:e=>{const{normalize:t}=e;return t(["Playlisten"])},count:e=>{const{normalize:t,interpolate:n,named:r,plural:s}=e;return s([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:s}=e;return s([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:s}=e;return s([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:s}=e;return s([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:s}=e;return s([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:s}=e;return s([t(["Zeige das Album"]),t(["Zeige alle ",n(r("count"))," Alben"])])},"show-artists":e=>{const{normalize:t,interpolate:n,named:r,plural:s}=e;return s([t(["Zeige den Künstler"]),t(["Zeige alle ",n(r("count"))," Künstler"])])},"show-audiobooks":e=>{const{normalize:t,interpolate:n,named:r,plural:s}=e;return s([t(["Zeige das Buch"]),t(["Zeige alle ",n(r("count"))," Hörbücher"])])},"show-composers":e=>{const{normalize:t,interpolate:n,named:r,plural:s}=e;return s([t(["Zeige den Komponist"]),t(["Zeige alle ",n(r("count"))," Komponisten"])])},"show-playlists":e=>{const{normalize:t,interpolate:n,named:r,plural:s}=e;return s([t(["Zeige die Playlist"]),t(["Zeige alle ",n(r("count"))," Playlisten"])])},"show-podcasts":e=>{const{normalize:t,interpolate:n,named:r,plural:s}=e;return s([t(["Zeige den Podcast"]),t(["Zeige alle ",n(r("count"))," Podcasts"])])},"show-tracks":e=>{const{normalize:t,interpolate:n,named:r,plural:s}=e;return s([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:s}=e;return s([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:s}=e;return s([t([n(r("count"))," Album"]),t([n(r("count"))," Album"]),t([n(r("count"))," Alben"])])},shuffle:e=>{const{normalize:t}=e;return t(["Zufallswiedergabe"])}},music:{"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:s}=e;return s([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:s}=e;return s([t(["Zeige das Album"]),t(["Zeige alle ",n(r("count"))," Alben"])])},"show-all-artists":e=>{const{normalize:t,interpolate:n,named:r,plural:s}=e;return s([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:s}=e;return s([t(["Zeige die Playlist"]),t(["Zeige alle ",n(r("count"))," Playlisten"])])},"show-all-tracks":e=>{const{normalize:t,interpolate:n,named:r,plural:s}=e;return s([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"])},"toggle-lyrics":e=>{const{normalize:t}=e;return t(["Liedtexte anzeigen/verbergen"])}}},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:s}=e;return s([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:s}=e;return s([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"])}},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"])}}},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(["Update library"])}}},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:s}=e;return s([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:s}=e;return s([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:{title:e=>{const{normalize:t}=e;return t(["Sort"])},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:s}=e;return s([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-spotify-help":e=>{const{normalize:t}=e;return t(["If active, hides the content only appearing in your Spotify library."])},"hide-spotify":e=>{const{normalize:t}=e;return t(["Hide the content from Spotify"])},shuffle:e=>{const{normalize:t}=e;return t(["Shuffle"])},"track-count":e=>{const{normalize:t,interpolate:n,named:r,plural:s}=e;return s([t([n(r("count"))," track"]),t([n(r("count"))," track"]),t([n(r("count"))," tracks"])])},sort:{title:e=>{const{normalize:t}=e;return t(["Sort"])},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:s}=e;return s([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:{title:e=>{const{normalize:t}=e;return t(["Sort"])},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:s}=e;return s([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:s}=e;return s([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:s}=e;return s([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:s}=e;return s([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"])},genres:e=>{const{normalize:t}=e;return t(["Genres"])}}},composer:{"album-count":e=>{const{normalize:t,interpolate:n,named:r,plural:s}=e;return s([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:s}=e;return s([t([n(r("count"))," track"]),t([n(r("count"))," track"]),t([n(r("count"))," tracks"])])},sort:{title:e=>{const{normalize:t}=e;return t(["Sort"])},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:s}=e;return s([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:s}=e;return s([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:s}=e;return s([t([n(r("count"))," track"]),t([n(r("count"))," track"]),t([n(r("count"))," tracks"])])},sort:{title:e=>{const{normalize:t}=e;return t(["Sort"])},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:s}=e;return s([t([n(r("count"))," genre"]),t([n(r("count"))," genre"]),t([n(r("count"))," genres"])])},title:e=>{const{normalize:t}=e;return t(["Genres"])}},music:{"show-more":e=>{const{normalize:t}=e;return t(["Show more"])},"recently-added":{title:e=>{const{normalize:t}=e;return t(["Recently added"])}},"recently-played":{title:e=>{const{normalize:t}=e;return t(["Recently played"])}},tabs:{albums:e=>{const{normalize:t}=e;return t(["Albums"])},artists:e=>{const{normalize:t}=e;return t(["Artists"])},composers:e=>{const{normalize:t}=e;return t(["Composers"])},genres:e=>{const{normalize:t}=e;return t(["Genres"])},history:e=>{const{normalize:t}=e;return t(["History"])},spotify:e=>{const{normalize:t}=e;return t(["Spotify"])}}},"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:s}=e;return s([t([n(r("count"))," track"]),t([n(r("count"))," track"]),t([n(r("count"))," tracks"])])}},playlists:{title:e=>{const{normalize:t}=e;return t(["Playlists"])},count:e=>{const{normalize:t,interpolate:n,named:r,plural:s}=e;return s([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:s}=e;return s([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:s}=e;return s([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:s}=e;return s([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:s}=e;return s([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:s}=e;return s([t(["Show the album"]),t(["Show all ",n(r("count"))," albums"])])},"show-artists":e=>{const{normalize:t,interpolate:n,named:r,plural:s}=e;return s([t(["Show the artist"]),t(["Show all ",n(r("count"))," artists"])])},"show-audiobooks":e=>{const{normalize:t,interpolate:n,named:r,plural:s}=e;return s([t(["Show the audiobook"]),t(["Show all ",n(r("count"))," audiobooks"])])},"show-composers":e=>{const{normalize:t,interpolate:n,named:r,plural:s}=e;return s([t(["Show the composer"]),t(["Show all ",n(r("count"))," composers"])])},"show-playlists":e=>{const{normalize:t,interpolate:n,named:r,plural:s}=e;return s([t(["Show the playlist"]),t(["Show all ",n(r("count"))," playlists"])])},"show-podcasts":e=>{const{normalize:t,interpolate:n,named:r,plural:s}=e;return s([t(["Show the podcast"]),t(["Show all ",n(r("count"))," podcasts"])])},"show-tracks":e=>{const{normalize:t,interpolate:n,named:r,plural:s}=e;return s([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:s}=e;return s([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:s}=e;return s([t([n(r("count"))," album"]),t([n(r("count"))," album"]),t([n(r("count"))," albums"])])},shuffle:e=>{const{normalize:t}=e;return t(["Shuffle"])}},music:{"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:s}=e;return s([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:s}=e;return s([t(["Show the album"]),t(["Show all ",n(r("count"))," albums"])])},"show-all-artists":e=>{const{normalize:t,interpolate:n,named:r,plural:s}=e;return s([t(["Show the artist"]),t(["Show all ",n(r("count"))," artists"])])},"show-all-playlists":e=>{const{normalize:t,interpolate:n,named:r,plural:s}=e;return s([t(["Show the playlist"]),t(["Show all ",n(r("count"))," playlists"])])},"show-all-tracks":e=>{const{normalize:t,interpolate:n,named:r,plural:s}=e;return s([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"])},"toggle-lyrics":e=>{const{normalize:t}=e;return t(["Toggle lyrics"])}}},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:s}=e;return s([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:s}=e;return s([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 un 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 un 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(["Actualiser 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:s}=e;return s([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:s}=e;return s([t([n(r("count"))," album"]),t([n(r("count"))," album"]),t([n(r("count"))," albums"])])},filter:e=>{const{normalize:t}=e;return t(["Filtrer"])},"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:{title:e=>{const{normalize:t}=e;return t(["Trier"])},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:s}=e;return s([t([n(r("count"))," album"]),t([n(r("count"))," album"]),t([n(r("count"))," albums"])])},filter:e=>{const{normalize:t}=e;return t(["Filtrer"])},"hide-spotify-help":e=>{const{normalize:t}=e;return t(["Si actif, masque le contenu qui napparaît que dans votre bibliothèque Spotify."])},"hide-spotify":e=>{const{normalize:t}=e;return t(["Masquer le contenu de Spotify"])},shuffle:e=>{const{normalize:t}=e;return t(["Lecture aléatoire"])},"track-count":e=>{const{normalize:t,interpolate:n,named:r,plural:s}=e;return s([t([n(r("count"))," piste"]),t([n(r("count"))," piste"]),t([n(r("count"))," pistes"])])},sort:{title:e=>{const{normalize:t}=e;return t(["Trier"])},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:s}=e;return s([t([n(r("count"))," artiste"]),t([n(r("count"))," artiste"]),t([n(r("count"))," artistes"])])},filter:e=>{const{normalize:t}=e;return t(["Filtrer"])},sort:{title:e=>{const{normalize:t}=e;return t(["Trier"])},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:s}=e;return s([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:s}=e;return s([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:s}=e;return s([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:s}=e;return s([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"])},genres:e=>{const{normalize:t}=e;return t(["Genres"])}}},composer:{"album-count":e=>{const{normalize:t,interpolate:n,named:r,plural:s}=e;return s([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:s}=e;return s([t([n(r("count"))," piste"]),t([n(r("count"))," piste"]),t([n(r("count"))," pistes"])])},sort:{title:e=>{const{normalize:t}=e;return t(["Trier"])},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:s}=e;return s([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:s}=e;return s([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:s}=e;return s([t([n(r("count"))," piste"]),t([n(r("count"))," piste"]),t([n(r("count"))," pistes"])])},sort:{title:e=>{const{normalize:t}=e;return t(["Trier"])},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:s}=e;return s([t([n(r("count"))," genre"]),t([n(r("count"))," genre"]),t([n(r("count"))," genres"])])},title:e=>{const{normalize:t}=e;return t(["Genres"])}},music:{"show-more":e=>{const{normalize:t}=e;return t(["Afficher plus"])},"recently-added":{title:e=>{const{normalize:t}=e;return t(["Ajouts récents"])}},"recently-played":{title:e=>{const{normalize:t}=e;return t(["Lectures récentes"])}},tabs:{albums:e=>{const{normalize:t}=e;return t(["Albums"])},artists:e=>{const{normalize:t}=e;return t(["Artistes"])},composers:e=>{const{normalize:t}=e;return t(["Compositeurs"])},genres:e=>{const{normalize:t}=e;return t(["Genres"])},history:e=>{const{normalize:t}=e;return t(["Historique"])},spotify:e=>{const{normalize:t}=e;return t(["Spotify"])}}},"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:s}=e;return s([t([n(r("count"))," piste"]),t([n(r("count"))," piste"]),t([n(r("count"))," pistes"])])}},playlists:{title:e=>{const{normalize:t}=e;return t(["Listes de lecture"])},count:e=>{const{normalize:t,interpolate:n,named:r,plural:s}=e;return s([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:s}=e;return s([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:s}=e;return s([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:s}=e;return s([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:s}=e;return s([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:s}=e;return s([t(["Afficher lalbum"]),t(["Afficher les ",n(r("count"))," albums"])])},"show-artists":e=>{const{normalize:t,interpolate:n,named:r,plural:s}=e;return s([t(["Afficher lartiste"]),t(["Afficher les ",n(r("count"))," artistes"])])},"show-audiobooks":e=>{const{normalize:t,interpolate:n,named:r,plural:s}=e;return s([t(["Afficher le livre audio"]),t(["Afficher les ",n(r("count"))," livres audio"])])},"show-composers":e=>{const{normalize:t,interpolate:n,named:r,plural:s}=e;return s([t(["Afficher le compositeur"]),t(["Afficher les ",n(r("count"))," compositeurs"])])},"show-playlists":e=>{const{normalize:t,interpolate:n,named:r,plural:s}=e;return s([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:s}=e;return s([t(["Afficher le podcast"]),t(["Afficher les ",n(r("count"))," podcasts"])])},"show-tracks":e=>{const{normalize:t,interpolate:n,named:r,plural:s}=e;return s([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 dalbums"])},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 dalbums 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 illustrations 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:s}=e;return s([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:s}=e;return s([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"])}},music:{"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:s}=e;return s([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:s}=e;return s([t(["Afficher lalbum"]),t(["Afficher les ",n(r("count"))," albums"])])},"show-all-artists":e=>{const{normalize:t,interpolate:n,named:r,plural:s}=e;return s([t(["Afficher lartistes"]),t(["Afficher les ",n(r("count"))," artistes"])])},"show-all-playlists":e=>{const{normalize:t,interpolate:n,named:r,plural:s}=e;return s([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:s}=e;return s([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"])},"toggle-lyrics":e=>{const{normalize:t}=e;return t(["Voir/Cacher les paroles"])}}},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:s}=e;return s([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:s}=e;return s([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(["添加播客"])}},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:s}=e;return s([t([n(r("count"))," 只曲目"]),t([n(r("count"))," 只曲目"])])}},albums:{count:e=>{const{normalize:t,interpolate:n,named:r,plural:s}=e;return s([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:{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:s}=e;return s([t([n(r("count"))," 张专辑"]),t([n(r("count"))," 张专辑"])])},filter: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的内容"])},shuffle:e=>{const{normalize:t}=e;return t(["随机播放"])},"track-count":e=>{const{normalize:t,interpolate:n,named:r,plural:s}=e;return s([t([n(r("count"))," 只曲目"]),t([n(r("count"))," 只曲目"])])},sort:{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:s}=e;return s([t([n(r("count"))," 位艺人"]),t([n(r("count"))," 位艺人"])])},filter:e=>{const{normalize:t}=e;return t(["筛选"])},sort:{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:s}=e;return s([t([n(r("count"))," 只曲目"]),t([n(r("count"))," 只曲目"])])}},albums:{count:e=>{const{normalize:t,interpolate:n,named:r,plural:s}=e;return s([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:s}=e;return s([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:s}=e;return s([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(["有声读物"])},genres:e=>{const{normalize:t}=e;return t(["流派"])}}},composer:{"album-count":e=>{const{normalize:t,interpolate:n,named:r,plural:s}=e;return s([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:s}=e;return s([t([n(r("count"))," 只曲目"]),t([n(r("count"))," 只曲目"])])},sort:{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:s}=e;return s([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:s}=e;return s([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:s}=e;return s([t([n(r("count"))," 只曲目"]),t([n(r("count"))," 只曲目"])])},sort:{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:s}=e;return s([t([n(r("count"))," 个流派"]),t([n(r("count"))," 个流派"])])},title:e=>{const{normalize:t}=e;return t(["流派"])}},music:{"show-more":e=>{const{normalize:t}=e;return t(["显示更多"])},"recently-added":{title:e=>{const{normalize:t}=e;return t(["最近添加"])}},"recently-played":{title:e=>{const{normalize:t}=e;return t(["最近播放"])}},tabs:{albums:e=>{const{normalize:t}=e;return t(["专辑"])},artists:e=>{const{normalize:t}=e;return t(["艺人"])},composers:e=>{const{normalize:t}=e;return t(["作曲家"])},genres:e=>{const{normalize:t}=e;return t(["流派"])},history:e=>{const{normalize:t}=e;return t(["历史"])},spotify:e=>{const{normalize:t}=e;return t(["Spotify"])}}},"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:s}=e;return s([t([n(r("count"))," 只曲目"]),t([n(r("count"))," 只曲目"])])}},playlists:{title:e=>{const{normalize:t}=e;return t(["播放列表"])},count:e=>{const{normalize:t,interpolate:n,named:r,plural:s}=e;return s([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:s}=e;return s([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:s}=e;return s([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:s}=e;return s([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:s}=e;return s([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:s}=e;return s([t(["显示专辑"]),t(["显示所有 ",n(r("count"))," 个专辑"])])},"show-artists":e=>{const{normalize:t,interpolate:n,named:r,plural:s}=e;return s([t(["显示艺人"]),t(["显示所有 ",n(r("count"))," 位艺人"])])},"show-audiobooks":e=>{const{normalize:t,interpolate:n,named:r,plural:s}=e;return s([t(["显示有声书"]),t(["显示所有 ",n(r("count"))," 本有声书"])])},"show-composers":e=>{const{normalize:t,interpolate:n,named:r,plural:s}=e;return s([t(["显示作曲家"]),t(["显示所有 ",n(r("count"))," 位作曲家"])])},"show-playlists":e=>{const{normalize:t,interpolate:n,named:r,plural:s}=e;return s([t(["显示播放列表"]),t(["显示所有 ",n(r("count"))," 个播放列表"])])},"show-podcasts":e=>{const{normalize:t,interpolate:n,named:r,plural:s}=e;return s([t(["显示播客"]),t(["显示所有 ",n(r("count"))," 个播客"])])},"show-tracks":e=>{const{normalize:t,interpolate:n,named:r,plural:s}=e;return s([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:s}=e;return s([t([n(r("count"))," 只曲目"]),t([n(r("count"))," 只曲目"])])}},artist:{"album-count":e=>{const{normalize:t,interpolate:n,named:r,plural:s}=e;return s([t([n(r("count"))," 张专辑"]),t([n(r("count"))," 张专辑"])])},shuffle:e=>{const{normalize:t}=e;return t(["随机播放"])}},music:{"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:s}=e;return s([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:s}=e;return s([t(["显示专辑"]),t(["显示所有 ",n(r("count"))," 个专辑"])])},"show-all-artists":e=>{const{normalize:t,interpolate:n,named:r,plural:s}=e;return s([t(["显示艺人"]),t(["显示所有 ",n(r("count"))," 位艺人"])])},"show-all-playlists":e=>{const{normalize:t,interpolate:n,named:r,plural:s}=e;return s([t(["显示播放列表"]),t(["显示所有 ",n(r("count"))," 个播放列表"])])},"show-all-tracks":e=>{const{normalize:t,interpolate:n,named:r,plural:s}=e;return s([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(["停止"])},"toggle-lyrics":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:s}=e;return s([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:s}=e;return s([t([n(r("count"))," 信道"]),t([n(r("count"))," 信道"])])}}}}),ou=sE({availableLocales:"zh",fallbackLocale:"en",fallbackWarn:!1,legacy:!1,locale:navigator.language,messages:pE,missingWarn:!1}),{t:Ms}=ou.global;fe.interceptors.response.use(e=>e,e=>(e.request.status&&e.request.responseURL&&Ue.dispatch("add_notification",{text:Ms("server.request-failed",{cause:e.request.statusText,status:e.request.status,url:e.request.responseURL}),type:"danger"}),Promise.reject(e)));const H={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},config(){return fe.get("./api/config")},lastfm(){return fe.get("./api/lastfm")},lastfm_login(e){return fe.post("./api/lastfm-login",e)},lastfm_logout(){return fe.get("./api/lastfm-logout")},library_add(e){return fe.post("./api/library/add",void 0,{params:{url:e}})},library_album(e){return fe.get(`./api/library/albums/${e}`)},library_album_track_update(e,t){return fe.put(`./api/library/albums/${e}/tracks`,void 0,{params:t})},library_album_tracks(e,t={limit:-1,offset:0}){return fe.get(`./api/library/albums/${e}/tracks`,{params:t})},library_albums(e=void 0){return fe.get("./api/library/albums",{params:{media_kind:e}})},library_artist(e){return fe.get(`./api/library/artists/${e}`)},library_artist_albums(e){return fe.get(`./api/library/artists/${e}/albums`)},library_artist_tracks(e){if(e){const t={expression:`songartistid is "${e}"`,type:"tracks"};return fe.get("./api/search",{params:t})}},library_artists(e=void 0){return fe.get("./api/library/artists",{params:{media_kind:e}})},library_composer(e){return fe.get(`./api/library/composers/${encodeURIComponent(e)}`)},library_composer_albums(e){const t={expression:`composer is "${e}" and media_kind is music`,type:"albums"};return fe.get("./api/search",{params:t})},library_composer_tracks(e){const t={expression:`composer is "${e}" and media_kind is music`,type:"tracks"};return fe.get("./api/search",{params:t})},library_composers(e=void 0){return fe.get("./api/library/composers",{params:{media_kind:e}})},library_count(e){return fe.get(`./api/library/count?expression=${e}`)},library_files(e=void 0){return fe.get("./api/library/files",{params:{directory:e}})},library_genre(e,t=void 0){return fe.get(`./api/library/genres/${encodeURIComponent(e)}`,{params:{media_kind:t}})},library_genre_albums(e,t){const n={expression:`genre is "${e}" and media_kind is ${t}`,type:"albums"};return fe.get("./api/search",{params:n})},library_genre_tracks(e,t){const n={expression:`genre is "${e}" and media_kind is ${t}`,type:"tracks"};return fe.get("./api/search",{params:n})},library_genres(e=void 0){return fe.get("./api/library/genres",{params:{media_kind:e}})},library_playlist(e){return fe.get(`./api/library/playlists/${e}`)},library_playlist_delete(e){return fe.delete(`./api/library/playlists/${e}`,void 0)},library_playlist_folder(e=0){return fe.get(`./api/library/playlists/${e}/playlists`)},library_playlist_tracks(e){return fe.get(`./api/library/playlists/${e}/tracks`)},library_playlists(){return fe.get("./api/library/playlists")},library_podcast_episodes(e){const t={expression:`media_kind is podcast and songalbumid is "${e}" ORDER BY date_released DESC`,type:"tracks"};return fe.get("./api/search",{params:t})},library_podcasts_new_episodes(){const e={expression:"media_kind is podcast and play_count = 0 ORDER BY time_added DESC",type:"tracks"};return fe.get("./api/search",{params:e})},library_radio_streams(){const e={expression:"data_kind is url and song_length = 0",media_kind:"music",type:"tracks"};return fe.get("./api/search",{params:e})},library_rescan(e){const t={};return e&&(t.scan_kind=e),fe.put("./api/rescan",void 0,{params:t})},library_stats(){return fe.get("./api/library")},library_track(e){return fe.get(`./api/library/tracks/${e}`)},library_track_playlists(e){return fe.get(`./api/library/tracks/${e}/playlists`)},library_track_update(e,t={}){return fe.put(`./api/library/tracks/${e}`,void 0,{params:t})},library_update(e){const t={};return e&&(t.scan_kind=e),fe.put("./api/update",void 0,{params:t})},output_toggle(e){return fe.put(`./api/outputs/${e}/toggle`)},output_update(e,t){return fe.put(`./api/outputs/${e}`,t)},outputs(){return fe.get("./api/outputs")},pairing(){return fe.get("./api/pairing")},pairing_kickoff(e){return fe.post("./api/pairing",e)},player_consume(e){return fe.put(`./api/player/consume?state=${e}`)},player_next(){return fe.put("./api/player/next")},player_output_volume(e,t){return fe.put(`./api/player/volume?volume=${t}&output_id=${e}`)},player_pause(){return fe.put("./api/player/pause")},player_play(e={}){return fe.put("./api/player/play",void 0,{params:e})},player_play_expression(e,t,n=void 0){const r={clear:"true",expression:e,playback:"start",playback_from_position:n,shuffle:`${t}`};return fe.post("./api/queue/items/add",void 0,{params:r})},player_play_uri(e,t,n=void 0){const r={clear:"true",playback:"start",playback_from_position:n,shuffle:`${t}`,uris:e};return fe.post("./api/queue/items/add",void 0,{params:r})},player_playid(e){return fe.put(`./api/player/play?item_id=${e}`)},player_playpos(e){return fe.put(`./api/player/play?position=${e}`)},player_previous(){return fe.put("./api/player/previous")},player_repeat(e){return fe.put(`./api/player/repeat?state=${e}`)},player_seek(e){return fe.put(`./api/player/seek?seek_ms=${e}`)},player_seek_to_pos(e){return fe.put(`./api/player/seek?position_ms=${e}`)},player_shuffle(e){return fe.put(`./api/player/shuffle?state=${e}`)},player_status(){return fe.get("./api/player")},player_stop(){return fe.put("./api/player/stop")},player_volume(e){return fe.put(`./api/player/volume?volume=${e}`)},queue(){return fe.get("./api/queue")},queue_add(e){return fe.post(`./api/queue/items/add?uris=${e}`).then(t=>(Ue.dispatch("add_notification",{text:Ms("server.appended-tracks",{count:t.data.count}),timeout:2e3,type:"info"}),Promise.resolve(t)))},queue_add_next(e){let t=0;return Ue.getters.now_playing&&Ue.getters.now_playing.id&&(t=Ue.getters.now_playing.position+1),fe.post(`./api/queue/items/add?uris=${e}&position=${t}`).then(n=>(Ue.dispatch("add_notification",{text:Ms("server.appended-tracks",{count:n.data.count}),timeout:2e3,type:"info"}),Promise.resolve(n)))},queue_clear(){return fe.put("./api/queue/clear")},queue_expression_add(e){return fe.post("./api/queue/items/add",void 0,{params:{expression:e}}).then(t=>(Ue.dispatch("add_notification",{text:Ms("server.appended-tracks",{count:t.data.count}),timeout:2e3,type:"info"}),Promise.resolve(t)))},queue_expression_add_next(e){const t={};return t.expression=e,t.position=0,Ue.getters.now_playing&&Ue.getters.now_playing.id&&(t.position=Ue.getters.now_playing.position+1),fe.post("./api/queue/items/add",void 0,{params:t}).then(n=>(Ue.dispatch("add_notification",{text:Ms("server.appended-tracks",{count:n.data.count}),timeout:2e3,type:"info"}),Promise.resolve(n)))},queue_move(e,t){return fe.put(`./api/queue/items/${e}?new_position=${t}`)},queue_remove(e){return fe.delete(`./api/queue/items/${e}`)},queue_save_playlist(e){return fe.post("./api/queue/save",void 0,{params:{name:e}}).then(t=>(Ue.dispatch("add_notification",{text:Ms("server.queue-saved",{name:e}),timeout:2e3,type:"info"}),Promise.resolve(t)))},search(e){return fe.get("./api/search",{params:e})},settings(){return fe.get("./api/settings")},settings_update(e,t){return fe.put(`./api/settings/${e}/${t.name}`,t)},spotify(){return fe.get("./api/spotify")},spotify_login(e){return fe.post("./api/spotify-login",e)},spotify_logout(){return fe.get("./api/spotify-logout")}},hE={name:"NavbarItemOutput",components:{ControlSlider:Jd},props:["output"],data(){return{volume:this.output.selected?this.output.volume:0,cursor:Yl}},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(){H.player_output_volume(this.output.id,this.volume)},set_enabled(){const e={selected:!this.output.selected};H.output_update(this.output.id,e)}}},_E={class:"navbar-item"},gE={class:"level is-mobile"},yE={class:"level-left is-flex-grow-1"},vE={class:"level-item is-flex-grow-0"},bE={class:"level-item"},zE={class:"is-flex-grow-1"},CE=["textContent"];function wE(e,t,n,r,s,o){const a=E("mdicon"),i=E("control-slider");return k(),$("div",_E,[u("div",gE,[u("div",yE,[u("div",vE,[u("a",{class:Ee(["button is-clickable is-white is-small",{"has-text-grey-light":!n.output.selected}]),onClick:t[0]||(t[0]=(...l)=>o.set_enabled&&o.set_enabled(...l))},[y(a,{class:"icon",name:o.type_class,size:"18",title:n.output.type},null,8,["name","title"])],2)]),u("div",bE,[u("div",zE,[u("p",{class:Ee(["heading",{"has-text-grey-light":!n.output.selected}]),textContent:g(n.output.name)},null,10,CE),y(i,{value:s.volume,"onUpdate:value":t[1]||(t[1]=l=>s.volume=l),disabled:!n.output.selected,max:100,cursor:s.cursor,onChange:o.change_volume},null,8,["value","disabled","cursor","onChange"])])])])])])}const kE=te(hE,[["render",wE]]),xE={name:"PlayerButtonConsume",props:{icon_size:{type:Number,default:16}},computed:{is_consume(){return this.$store.state.player.consume}},methods:{toggle_consume_mode(){H.player_consume(!this.is_consume)}}};function EE(e,t,n,r,s,o){const a=E("mdicon");return k(),$("a",{class:Ee({"is-info":o.is_consume}),onClick:t[0]||(t[0]=(...i)=>o.toggle_consume_mode&&o.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 SE=te(xE,[["render",EE]]),$E={name:"PlayerButtonLyrics",props:{icon_size:{type:Number,default:16}},computed:{is_active(){return this.$store.getters.lyrics_pane},icon_name(){return this.is_active?"script-text-play":"script-text-outline"}},methods:{toggle_lyrics(){this.$store.state.lyrics.pane=!this.$store.state.lyrics.pane}}};function AE(e,t,n,r,s,o){const a=E("mdicon");return k(),$("a",{class:Ee({"is-info":o.is_active}),onClick:t[0]||(t[0]=(...i)=>o.toggle_lyrics&&o.toggle_lyrics(...i))},[y(a,{class:"icon",name:o.icon_name,size:n.icon_size,title:e.$t("player.button.toggle-lyrics")},null,8,["name","size","title"])],2)}const TE=te($E,[["render",AE]]),OE={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||H.player_next()}}},DE=["disabled"];function PE(e,t,n,r,s,o){const a=E("mdicon");return k(),$("a",{disabled:o.disabled,onClick:t[0]||(t[0]=(...i)=>o.play_next&&o.play_next(...i))},[y(a,{name:"skip-forward",size:n.icon_size,title:e.$t("player.button.skip-forward")},null,8,["size","title"])],8,DE)}const IE=te(OE,[["render",PE]]),FE={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?H.player_pause():this.is_playing&&!this.is_pause_allowed?H.player_stop():H.player_play()}}},RE=["disabled"];function LE(e,t,n,r,s,o){const a=E("mdicon");return k(),$("a",{disabled:o.disabled,onClick:t[0]||(t[0]=(...i)=>o.toggle_play_pause&&o.toggle_play_pause(...i))},[y(a,{name:o.icon_name,size:n.icon_size,title:e.$t("player.button."+o.icon_name)},null,8,["name","size","title"])],8,RE)}const NE=te(FE,[["render",LE]]),ME={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||H.player_previous()}}},VE=["disabled"];function HE(e,t,n,r,s,o){const a=E("mdicon");return k(),$("a",{disabled:o.disabled,onClick:t[0]||(t[0]=(...i)=>o.play_previous&&o.play_previous(...i))},[y(a,{name:"skip-backward",size:n.icon_size,title:e.$t("player.button.skip-backward")},null,8,["size","title"])],8,VE)}const BE=te(ME,[["render",HE]]),UE={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?H.player_repeat("single"):this.is_repeat_single?H.player_repeat("off"):H.player_repeat("all")}}};function jE(e,t,n,r,s,o){const a=E("mdicon");return k(),$("a",{class:Ee({"is-info":!o.is_repeat_off}),onClick:t[0]||(t[0]=(...i)=>o.toggle_repeat_mode&&o.toggle_repeat_mode(...i))},[y(a,{class:"icon",name:o.icon_name,size:n.icon_size,title:e.$t("player.button."+o.icon_name)},null,8,["name","size","title"])],2)}const qE=te(UE,[["render",jE]]),WE={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||H.player_seek(this.seek_ms*-1)}}},KE=["disabled"];function GE(e,t,n,r,s,o){const a=E("mdicon");return o.visible?(k(),$("a",{key:0,disabled:o.disabled,onClick:t[0]||(t[0]=(...i)=>o.seek&&o.seek(...i))},[y(a,{name:"rewind-10",size:n.icon_size,title:e.$t("player.button.seek-backward")},null,8,["size","title"])],8,KE)):V("",!0)}const ZE=te(WE,[["render",GE]]),YE={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||H.player_seek(this.seek_ms)}}},JE=["disabled"];function XE(e,t,n,r,s,o){const a=E("mdicon");return o.visible?(k(),$("a",{key:0,disabled:o.disabled,onClick:t[0]||(t[0]=(...i)=>o.seek&&o.seek(...i))},[y(a,{name:"fast-forward-30",size:n.icon_size,title:e.$t("player.button.seek-forward")},null,8,["size","title"])],8,JE)):V("",!0)}const QE=te(YE,[["render",XE]]),eS={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(){H.player_shuffle(!this.is_shuffle)}}};function tS(e,t,n,r,s,o){const a=E("mdicon");return k(),$("a",{class:Ee({"is-info":o.is_shuffle}),onClick:t[0]||(t[0]=(...i)=>o.toggle_shuffle_mode&&o.toggle_shuffle_mode(...i))},[y(a,{class:"icon",name:o.icon_name,size:n.icon_size,title:e.$t("player.button."+o.icon_name)},null,8,["name","size","title"])],2)}const nS=te(eS,[["render",tS]]),rS={name:"NavbarBottom",components:{ControlSlider:Jd,NavbarItemLink:Mg,NavbarItemOutput:kE,PlayerButtonConsume:SE,PlayerButtonLyrics:TE,PlayerButtonNext:IE,PlayerButtonPlayPause:NE,PlayerButtonPrevious:BE,PlayerButtonRepeat:qE,PlayerButtonSeekBack:ZE,PlayerButtonSeekForward:QE,PlayerButtonShuffle:nS},data(){return{cursor:Yl,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(eo,e)}},now_playing(){return this.$store.getters.now_playing},is_now_playing_page(){return this.$route.name==="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(){H.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=Eo.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(){Eo.stopAudio(),this.playing=!1},playChannel(){if(this.playing)return;const e="/stream.mp3";this.loading=!0,Eo.playSource(e),Eo.setVolume(this.stream_volume/100)},togglePlay(){if(!this.loading)return this.playing?this.closeAudio():this.playChannel()},change_stream_volume(){Eo.setVolume(this.stream_volume/100)}}},sS={class:"navbar-dropdown is-right fd-width-auto"},oS={class:"navbar-item"},aS={class:"level is-mobile"},iS={class:"level-left is-flex-grow-1"},lS={class:"level-item is-flex-grow-0"},uS={class:"icon"},cS={class:"level-item"},dS=["textContent"],mS=u("hr",{class:"my-3"},null,-1),fS=u("hr",{class:"my-3"},null,-1),pS={class:"navbar-item"},hS={class:"level is-mobile"},_S={class:"level-left is-flex-grow-1"},gS={class:"level-item is-flex-grow-0"},yS={class:"level-item"},vS={class:"is-flex-grow-1"},bS=["textContent"],zS={href:"stream.mp3",class:"heading ml-2",target:"_blank"},CS=u("hr",{class:"my-3"},null,-1),wS={class:"navbar-item is-justify-content-center"},kS={class:"level"},xS={class:"level-item"},ES={class:"buttons has-addons"},SS={class:"navbar-brand is-flex-grow-1"},$S={class:"fd-is-text-clipped"},AS=["textContent"],TS=u("br",null,null,-1),OS=["textContent"],DS=["textContent"],PS=u("div",{class:"navbar-start"},null,-1),IS={class:"navbar-end"},FS={class:"navbar-item"},RS={class:"buttons has-addons is-centered"},LS=u("hr",{class:"my-3"},null,-1),NS={class:"navbar-item"},MS={class:"level is-mobile"},VS={class:"level-left is-flex-grow-1"},HS={class:"level-item is-flex-grow-0"},BS={class:"level-item"},US={class:"is-flex-grow-1"},jS=["textContent"],qS=u("hr",{class:"my-3"},null,-1),WS=u("hr",{class:"my-3"},null,-1),KS={class:"navbar-item mb-5"},GS={class:"level is-mobile"},ZS={class:"level-left is-flex-grow-1"},YS={class:"level-item is-flex-grow-0"},JS={class:"level-item"},XS={class:"is-flex-grow-1"},QS=["textContent"],e$={href:"stream.mp3",class:"heading ml-2",target:"_blank"};function t$(e,t,n,r,s,o){const a=E("mdicon"),i=E("control-slider"),l=E("navbar-item-output"),c=E("player-button-repeat"),m=E("player-button-shuffle"),d=E("player-button-consume"),f=E("player-button-lyrics"),p=E("navbar-item-link"),h=E("player-button-previous"),_=E("player-button-seek-back"),b=E("player-button-play-pause"),w=E("player-button-seek-forward"),C=E("player-button-next");return k(),$("nav",{class:Ee(["navbar is-block is-white is-fixed-bottom fd-bottom-navbar",{"is-transparent":o.is_now_playing_page,"is-dark":!o.is_now_playing_page}]),role:"navigation","aria-label":"player controls"},[u("div",{class:Ee(["navbar-item has-dropdown has-dropdown-up is-hidden-touch",{"is-active":o.show_player_menu}])},[u("div",sS,[u("div",oS,[u("div",aS,[u("div",iS,[u("div",lS,[u("a",{class:"button is-white is-small",onClick:t[0]||(t[0]=(...z)=>o.toggle_mute_volume&&o.toggle_mute_volume(...z))},[u("span",uS,[y(a,{name:o.player.volume>0?"volume-high":"volume-off",size:"18"},null,8,["name"])])])]),u("div",cS,[u("div",null,[u("p",{class:"heading",textContent:g(e.$t("navigation.volume"))},null,8,dS),y(i,{value:o.player.volume,"onUpdate:value":t[1]||(t[1]=z=>o.player.volume=z),max:100,onChange:o.change_volume},null,8,["value","onChange"])])])])])]),mS,(k(!0),$(we,null,lt(o.outputs,z=>(k(),he(l,{key:z.id,output:z},null,8,["output"]))),128)),fS,u("div",pS,[u("div",hS,[u("div",_S,[u("div",gS,[u("a",{class:Ee(["button is-clickable is-white is-small",{"has-text-grey-light":!s.playing&&!s.loading,"is-loading":s.loading}]),onClick:t[2]||(t[2]=(...z)=>o.togglePlay&&o.togglePlay(...z))},[y(a,{class:"icon",name:"broadcast",size:"18"})],2)]),u("div",yS,[u("div",vS,[u("div",{class:Ee(["is-flex is-align-content-center",{"has-text-grey-light":!s.playing}])},[u("p",{class:"heading",textContent:g(e.$t("navigation.stream"))},null,8,bS),u("a",zS,[y(a,{class:"icon is-small",name:"open-in-new",size:"16"})])],2),y(i,{value:s.stream_volume,"onUpdate:value":t[3]||(t[3]=z=>s.stream_volume=z),disabled:!s.playing,max:100,cursor:s.cursor,onChange:o.change_stream_volume},null,8,["value","disabled","cursor","onChange"])])])])])]),CS,u("div",wS,[u("div",kS,[u("div",xS,[u("div",ES,[y(c,{class:"button"}),y(m,{class:"button"}),y(d,{class:"button"}),y(f,{class:"button"})])])])])])],2),u("div",SS,[y(p,{to:{name:"queue"},exact:"",class:"mr-auto"},{default:x(()=>[y(a,{class:"icon",name:"playlist-play",size:"24"})]),_:1}),o.is_now_playing_page?V("",!0):(k(),he(p,{key:0,to:{name:"now-playing"},exact:"",class:"navbar-item fd-is-text-clipped is-expanded is-clipped is-size-7"},{default:x(()=>[u("div",$S,[u("strong",{textContent:g(o.now_playing.title)},null,8,AS),TS,u("span",{textContent:g(o.now_playing.artist)},null,8,OS),o.now_playing.album?(k(),$("span",{key:0,textContent:g(e.$t("navigation.now-playing",{album:o.now_playing.album}))},null,8,DS)):V("",!0)])]),_:1})),o.is_now_playing_page?(k(),he(h,{key:1,class:"navbar-item px-2",icon_size:24})):V("",!0),o.is_now_playing_page?(k(),he(_,{key:2,seek_ms:1e4,class:"navbar-item px-2",icon_size:24})):V("",!0),y(b,{class:"navbar-item px-2",icon_size:36,show_disabled_message:""}),o.is_now_playing_page?(k(),he(w,{key:3,seek_ms:3e4,class:"navbar-item px-2",icon_size:24})):V("",!0),o.is_now_playing_page?(k(),he(C,{key:4,class:"navbar-item px-2",icon_size:24})):V("",!0),u("a",{class:"navbar-item ml-auto",onClick:t[4]||(t[4]=z=>o.show_player_menu=!o.show_player_menu)},[y(a,{class:"icon",name:o.show_player_menu?"chevron-down":"chevron-up"},null,8,["name"])])]),u("div",{class:Ee(["navbar-menu is-hidden-desktop",{"is-active":o.show_player_menu}])},[PS,u("div",IS,[u("div",FS,[u("div",RS,[y(c,{class:"button"}),y(m,{class:"button"}),y(d,{class:"button"}),y(f,{class:"button"})])]),LS,u("div",NS,[u("div",MS,[u("div",VS,[u("div",HS,[u("a",{class:"button is-white is-small",onClick:t[5]||(t[5]=(...z)=>o.toggle_mute_volume&&o.toggle_mute_volume(...z))},[y(a,{class:"icon",name:o.player.volume>0?"volume-high":"volume-off",size:"18"},null,8,["name"])])]),u("div",BS,[u("div",US,[u("p",{class:"heading",textContent:g(e.$t("navigation.volume"))},null,8,jS),y(i,{value:o.player.volume,"onUpdate:value":t[6]||(t[6]=z=>o.player.volume=z),max:100,onChange:o.change_volume},null,8,["value","onChange"])])])])])]),qS,(k(!0),$(we,null,lt(o.outputs,z=>(k(),he(l,{key:z.id,output:z},null,8,["output"]))),128)),WS,u("div",KS,[u("div",GS,[u("div",ZS,[u("div",YS,[u("a",{class:Ee(["button is-clickable is-white is-small",{"has-text-grey-light":!s.playing&&!s.loading,"is-loading":s.loading}]),onClick:t[7]||(t[7]=(...z)=>o.togglePlay&&o.togglePlay(...z))},[y(a,{class:"icon",name:"radio-tower",size:"16"})],2)]),u("div",JS,[u("div",XS,[u("div",{class:Ee(["is-flex is-align-content-center",{"has-text-grey-light":!s.playing}])},[u("p",{class:"heading",textContent:g(e.$t("navigation.stream"))},null,8,QS),u("a",e$,[y(a,{class:"icon is-small",name:"open-in-new",size:"16"})])],2),y(i,{value:s.stream_volume,"onUpdate:value":t[8]||(t[8]=z=>s.stream_volume=z),disabled:!s.playing,max:100,cursor:s.cursor,onChange:o.change_stream_volume},null,8,["value","disabled","cursor","onChange"])])])])])])])],2)],2)}const n$=te(rS,[["render",t$]]),r$={name:"NotificationList",computed:{notifications(){return this.$store.state.notifications.list}},methods:{remove(e){this.$store.commit(cc,e)}}},s$={key:0,class:"notifications"},o$={class:"columns is-centered"},a$={class:"column is-half"},i$=["onClick"],l$=["textContent"];function u$(e,t,n,r,s,o){return o.notifications.length>0?(k(),$("section",s$,[u("div",o$,[u("div",a$,[(k(!0),$(we,null,lt(o.notifications,a=>(k(),$("div",{key:a.id,class:Ee(["notification",a.type?`is-${a.type}`:""])},[u("button",{class:"delete",onClick:i=>o.remove(a)},null,8,i$),u("div",{class:"text",textContent:g(a.text)},null,8,l$)],2))),128))])])])):V("",!0)}const c$=te(r$,[["render",u$],["__scopeId","data-v-48edef38"]]),d$={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(){H.pairing_kickoff(this.pairing_req).then(()=>{this.pairing_req.pin=""})}}},m$={key:0,class:"modal is-active"},f$={class:"modal-content fd-modal-card"},p$={class:"card"},h$={class:"card-content"},_$=["textContent"],g$=["textContent"],y$={class:"field"},v$={class:"control"},b$=["placeholder"],z$={class:"card-footer is-clipped"},C$=["textContent"],w$=["textContent"];function k$(e,t,n,r,s,o){const a=E("mdicon");return k(),$("div",null,[y(Ft,{name:"fade"},{default:x(()=>[n.show?(k(),$("div",m$,[u("div",{class:"modal-background",onClick:t[0]||(t[0]=i=>e.$emit("close"))}),u("div",f$,[u("div",p$,[u("div",h$,[u("p",{class:"title is-4",textContent:g(e.$t("dialog.remote-pairing.title"))},null,8,_$),u("form",{onSubmit:t[2]||(t[2]=nt((...i)=>o.kickoff_pairing&&o.kickoff_pairing(...i),["prevent"]))},[u("label",{class:"label",textContent:g(o.pairing.remote)},null,8,g$),u("div",y$,[u("div",v$,[gt(u("input",{ref:"pin_field","onUpdate:modelValue":t[1]||(t[1]=i=>s.pairing_req.pin=i),class:"input",type:"text",pattern:"[\\d]{4}",placeholder:e.$t("dialog.remote-pairing.pairing-code")},null,8,b$),[[fn,s.pairing_req.pin]])])])],32)]),u("footer",z$,[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,C$)]),u("a",{class:"card-footer-item has-background-info has-text-white has-text-weight-bold",onClick:t[4]||(t[4]=(...i)=>o.kickoff_pairing&&o.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,w$)])])])]),u("button",{class:"modal-close is-large","aria-label":"close",onClick:t[5]||(t[5]=i=>e.$emit("close"))})])):V("",!0)]),_:1})])}const x$=te(d$,[["render",k$]]),E$={name:"ModalDialog",props:["show","title","ok_action","delete_action","close_action"],emits:["delete","close","ok"]},S$={key:0,class:"modal is-active"},$$={class:"modal-content fd-modal-card"},A$={class:"card"},T$={class:"card-content"},O$=["textContent"],D$={class:"card-footer is-clipped"},P$=["textContent"],I$=["textContent"],F$=["textContent"];function R$(e,t,n,r,s,o){const a=E("mdicon");return k(),$("div",null,[y(Ft,{name:"fade"},{default:x(()=>[n.show?(k(),$("div",S$,[u("div",{class:"modal-background",onClick:t[0]||(t[0]=i=>e.$emit("close"))}),u("div",$$,[u("div",A$,[u("div",T$,[n.title?(k(),$("p",{key:0,class:"title is-4",textContent:g(n.title)},null,8,O$)):V("",!0),st(e.$slots,"modal-content")]),u("footer",D$,[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,P$)]),n.delete_action?(k(),$("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,I$)])):V("",!0),n.ok_action?(k(),$("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,F$)])):V("",!0)])])]),u("button",{class:"modal-close is-large","aria-label":"close",onClick:t[4]||(t[4]=i=>e.$emit("close"))})])):V("",!0)]),_:3})])}const fm=te(E$,[["render",R$]]),L$={name:"ModalDialogUpdate",components:{ModalDialog:fm},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(vd,e)}}},methods:{update_library(){this.rescan_metadata?H.library_rescan(this.update_dialog_scan_kind):H.library_update(this.update_dialog_scan_kind)},close(){this.update_dialog_scan_kind="",this.$emit("close")}}},N$={key:0},M$=["textContent"],V$={key:0,class:"field"},H$={class:"control"},B$={class:"select is-small"},U$=["textContent"],j$=["textContent"],q$=["textContent"],W$=["textContent"],K$={class:"field"},G$=["textContent"],Z$={key:1},Y$=["textContent"];function J$(e,t,n,r,s,o){const a=E("modal-dialog");return k(),he(a,{show:n.show,title:e.$t("dialog.update.title"),ok_action:o.library.updating?"":e.$t("dialog.update.rescan"),close_action:e.$t("dialog.update.cancel"),onOk:o.update_library,onClose:t[2]||(t[2]=i=>o.close())},{"modal-content":x(()=>[o.library.updating?(k(),$("div",Z$,[u("p",{class:"mb-3",textContent:g(e.$t("dialog.update.progress"))},null,8,Y$)])):(k(),$("div",N$,[u("p",{class:"mb-3",textContent:g(e.$t("dialog.update.info"))},null,8,M$),o.spotify_enabled||o.rss.tracks>0?(k(),$("div",V$,[u("div",H$,[u("div",B$,[gt(u("select",{"onUpdate:modelValue":t[0]||(t[0]=i=>o.update_dialog_scan_kind=i)},[u("option",{value:"",textContent:g(e.$t("dialog.update.all"))},null,8,U$),u("option",{value:"files",textContent:g(e.$t("dialog.update.local"))},null,8,j$),o.spotify_enabled?(k(),$("option",{key:0,value:"spotify",textContent:g(e.$t("dialog.update.spotify"))},null,8,q$)):V("",!0),o.rss.tracks>0?(k(),$("option",{key:1,value:"rss",textContent:g(e.$t("dialog.update.feeds"))},null,8,W$)):V("",!0)],512),[[Yd,o.update_dialog_scan_kind]])])])])):V("",!0),u("div",K$,[gt(u("input",{id:"rescan","onUpdate:modelValue":t[1]||(t[1]=i=>s.rescan_metadata=i),type:"checkbox",class:"switch is-rounded is-small"},null,512),[[Dn,s.rescan_metadata]]),u("label",{for:"rescan",textContent:g(e.$t("dialog.update.rescan-metadata"))},null,8,G$)])]))]),_:1},8,["show","title","ok_action","close_action","onOk"])}const X$=te(L$,[["render",J$]]);var cn=typeof globalThis<"u"?globalThis:typeof window<"u"?window:typeof global<"u"?global:typeof self<"u"?self:{};function Fa(e){return e&&e.__esModule&&Object.prototype.hasOwnProperty.call(e,"default")?e.default:e}function Ly(e){if(e.__esModule)return e;var t=e.default;if(typeof t=="function"){var n=function r(){return this instanceof r?Reflect.construct(t,arguments,this.constructor):t.apply(this,arguments)};n.prototype=t.prototype}else n={};return Object.defineProperty(n,"__esModule",{value:!0}),Object.keys(e).forEach(function(r){var s=Object.getOwnPropertyDescriptor(e,r);Object.defineProperty(n,r,s.get?s:{enumerable:!0,get:function(){return e[r]}})}),n}var Ny={exports:{}};(function(e){(function(t,n){e.exports?e.exports=n():t.ReconnectingWebSocket=n()})(cn,function(){if(!("WebSocket"in window))return;function t(n,r,s){var o={debug:!1,automaticOpen:!0,reconnectInterval:1e3,maxReconnectInterval:3e4,reconnectDecay:1.5,timeoutInterval:2e3,maxReconnectAttempts:null};s||(s={});for(var a in o)typeof s[a]<"u"?this[a]=s[a]:this[a]=o[a];this.url=n,this.reconnectAttempts=0,this.readyState=WebSocket.CONNECTING,this.protocol=null;var i=this,l,c=!1,m=!1,d=document.createElement("div");d.addEventListener("open",function(p){i.onopen(p)}),d.addEventListener("close",function(p){i.onclose(p)}),d.addEventListener("connecting",function(p){i.onconnecting(p)}),d.addEventListener("message",function(p){i.onmessage(p)}),d.addEventListener("error",function(p){i.onerror(p)}),this.addEventListener=d.addEventListener.bind(d),this.removeEventListener=d.removeEventListener.bind(d),this.dispatchEvent=d.dispatchEvent.bind(d);function f(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 d.dispatchEvent(f("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),m=!0,h.close(),m=!1},i.timeoutInterval);l.onopen=function(b){clearTimeout(_),(i.debug||t.debugAll)&&console.debug("ReconnectingWebSocket","onopen",i.url),i.protocol=l.protocol,i.readyState=WebSocket.OPEN,i.reconnectAttempts=0;var w=f("open");w.isReconnect=p,p=!1,d.dispatchEvent(w)},l.onclose=function(b){if(clearTimeout(C),l=null,c)i.readyState=WebSocket.CLOSED,d.dispatchEvent(f("close"));else{i.readyState=WebSocket.CONNECTING;var w=f("connecting");w.code=b.code,w.reason=b.reason,w.wasClean=b.wasClean,d.dispatchEvent(w),!p&&!m&&((i.debug||t.debugAll)&&console.debug("ReconnectingWebSocket","onclose",i.url),d.dispatchEvent(f("close")));var C=i.reconnectInterval*Math.pow(i.reconnectDecay,i.reconnectAttempts);setTimeout(function(){i.reconnectAttempts++,i.open(!0)},C>i.maxReconnectInterval?i.maxReconnectInterval:C)}},l.onmessage=function(b){(i.debug||t.debugAll)&&console.debug("ReconnectingWebSocket","onmessage",i.url,b.data);var w=f("message");w.data=b.data,d.dispatchEvent(w)},l.onerror=function(b){(i.debug||t.debugAll)&&console.debug("ReconnectingWebSocket","onerror",i.url,b),d.dispatchEvent(f("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})})(Ny);var Q$=Ny.exports;const eA=Fa(Q$),tA={name:"App",components:{NavbarTop:WC,NavbarBottom:n$,NotificationList:c$,ModalDialogRemotePairing:x$,ModalDialogUpdate:X$},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(Qs,e)}},show_player_menu:{get(){return this.$store.state.show_player_menu},set(e){this.$store.commit(eo,e)}},show_update_dialog:{get(){return this.$store.state.show_update_dialog},set(e){this.$store.commit(xa,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&&!(e.path===t.path&&e.hash)){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(){H.config().then(({data:e})=>{this.$store.commit(Bh,e),this.$store.commit(Dl,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 eA(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()};let s=!1;function o(){s||(e.update_outputs(),e.update_player_status(),e.update_library_stats(),e.update_settings(),e.update_queue(),e.update_spotify(),e.update_lastfm(),e.update_pairing(),s=!0,setTimeout(()=>{s=!1},500))}window.addEventListener("focus",o),document.addEventListener("visibilitychange",()=>{document.visibilityState==="visible"&&o()}),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(){H.library_stats().then(({data:e})=>{this.$store.commit(jh,e)}),H.library_count("scan_kind is rss").then(({data:e})=>{this.$store.commit(qh,e)})},update_outputs(){H.outputs().then(({data:e})=>{this.$store.commit(Wh,e.outputs)})},update_player_status(){H.player_status().then(({data:e})=>{this.$store.commit(hd,e),this.update_lyrics()})},update_queue(){H.queue().then(({data:e})=>{this.$store.commit(Kh,e),this.update_lyrics()})},update_lyrics(){const e=this.$store.getters.now_playing;e&&e.track_id?H.library_track(e.track_id).then(({data:t})=>{this.$store.commit(uc,t.lyrics)}):this.$store.commit(uc)},update_settings(){H.settings().then(({data:e})=>{this.$store.commit(Uh,e)})},update_lastfm(){H.lastfm().then(({data:e})=>{this.$store.commit(Gh,e)})},update_spotify(){H.spotify().then(({data:e})=>{this.$store.commit(Zh,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(){H.pairing().then(({data:e})=>{this.$store.commit(Yh,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/>"},nA={id:"app"};function rA(e,t,n,r,s,o){const a=E("navbar-top"),i=E("vue-progress-bar"),l=E("router-view"),c=E("modal-dialog-remote-pairing"),m=E("modal-dialog-update"),d=E("notification-list"),f=E("navbar-bottom");return k(),$("div",nA,[y(a),y(i,{class:"fd-progress-bar has-background-info"}),y(l,null,{default:x(({Component:p})=>[(k(),he(O_(p)))]),_:1}),y(c,{show:s.pairing_active,onClose:t[0]||(t[0]=p=>s.pairing_active=!1)},null,8,["show"]),y(m,{show:o.show_update_dialog,onClose:t[1]||(t[1]=p=>o.show_update_dialog=!1)},null,8,["show"]),gt(y(d,null,null,512),[[_a,!o.show_burger_menu]]),y(f),gt(u("div",{class:"fd-overlay-fullscreen",onClick:t[2]||(t[2]=p=>o.show_burger_menu=o.show_player_menu=!1)},null,512),[[_a,o.show_burger_menu||o.show_player_menu]])])}const sA=te(tA,[["render",rA]]);class Ss extends Error{}class oA extends Ss{constructor(t){super(`Invalid DateTime: ${t.toMessage()}`)}}class aA extends Ss{constructor(t){super(`Invalid Interval: ${t.toMessage()}`)}}class iA extends Ss{constructor(t){super(`Invalid Duration: ${t.toMessage()}`)}}class js extends Ss{}class My extends Ss{constructor(t){super(`Invalid unit ${t}`)}}class ln extends Ss{}class Tr extends Ss{constructor(){super("Zone is an abstract class")}}const pe="numeric",Gn="short",zn="long",vl={year:pe,month:pe,day:pe},Vy={year:pe,month:Gn,day:pe},lA={year:pe,month:Gn,day:pe,weekday:Gn},Hy={year:pe,month:zn,day:pe},By={year:pe,month:zn,day:pe,weekday:zn},Uy={hour:pe,minute:pe},jy={hour:pe,minute:pe,second:pe},qy={hour:pe,minute:pe,second:pe,timeZoneName:Gn},Wy={hour:pe,minute:pe,second:pe,timeZoneName:zn},Ky={hour:pe,minute:pe,hourCycle:"h23"},Gy={hour:pe,minute:pe,second:pe,hourCycle:"h23"},Zy={hour:pe,minute:pe,second:pe,hourCycle:"h23",timeZoneName:Gn},Yy={hour:pe,minute:pe,second:pe,hourCycle:"h23",timeZoneName:zn},Jy={year:pe,month:pe,day:pe,hour:pe,minute:pe},Xy={year:pe,month:pe,day:pe,hour:pe,minute:pe,second:pe},Qy={year:pe,month:Gn,day:pe,hour:pe,minute:pe},ev={year:pe,month:Gn,day:pe,hour:pe,minute:pe,second:pe},uA={year:pe,month:Gn,day:pe,weekday:Gn,hour:pe,minute:pe},tv={year:pe,month:zn,day:pe,hour:pe,minute:pe,timeZoneName:Gn},nv={year:pe,month:zn,day:pe,hour:pe,minute:pe,second:pe,timeZoneName:Gn},rv={year:pe,month:zn,day:pe,weekday:zn,hour:pe,minute:pe,timeZoneName:zn},sv={year:pe,month:zn,day:pe,weekday:zn,hour:pe,minute:pe,second:pe,timeZoneName:zn};class Ra{get type(){throw new Tr}get name(){throw new Tr}get ianaName(){return this.name}get isUniversal(){throw new Tr}offsetName(t,n){throw new Tr}formatOffset(t,n){throw new Tr}offset(t){throw new Tr}equals(t){throw new Tr}get isValid(){throw new Tr}}let Ru=null;class au extends Ra{static get instance(){return Ru===null&&(Ru=new au),Ru}get type(){return"system"}get name(){return new Intl.DateTimeFormat().resolvedOptions().timeZone}get isUniversal(){return!1}offsetName(t,{format:n,locale:r}){return fv(t,n,r)}formatOffset(t,n){return Qo(this.offset(t),n)}offset(t){return-new Date(t).getTimezoneOffset()}equals(t){return t.type==="system"}get isValid(){return!0}}let Xi={};function cA(e){return Xi[e]||(Xi[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"})),Xi[e]}const dA={year:0,month:1,day:2,era:3,hour:4,minute:5,second:6};function mA(e,t){const n=e.format(t).replace(/\u200E/g,""),r=/(\d+)\/(\d+)\/(\d+) (AD|BC),? (\d+):(\d+):(\d+)/.exec(n),[,s,o,a,i,l,c,m]=r;return[a,s,o,i,l,c,m]}function fA(e,t){const n=e.formatToParts(t),r=[];for(let s=0;s<n.length;s++){const{type:o,value:a}=n[s],i=dA[o];o==="era"?r[i]=a:Le(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={},Xi={}}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 fv(t,n,r,this.name)}formatOffset(t,n){return Qo(this.offset(t),n)}offset(t){const n=new Date(t);if(isNaN(n))return NaN;const r=cA(this.name);let[s,o,a,i,l,c,m]=r.formatToParts?fA(r,n):mA(r,n);i==="BC"&&(s=-Math.abs(s)+1);const f=lu({year:s,month:o,day:a,hour:l===24?0:l,minute:c,second:m,millisecond:0});let p=+n;const h=p%1e3;return p-=h>=0?h:1e3+h,(f-p)/(60*1e3)}equals(t){return t.type==="iana"&&t.name===this.name}get isValid(){return this.valid}}let yp={};function pA(e,t={}){const n=JSON.stringify([e,t]);let r=yp[n];return r||(r=new Intl.ListFormat(e,t),yp[n]=r),r}let Kc={};function Gc(e,t={}){const n=JSON.stringify([e,t]);let r=Kc[n];return r||(r=new Intl.DateTimeFormat(e,t),Kc[n]=r),r}let Zc={};function hA(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 _A(e,t={}){const{base:n,...r}=t,s=JSON.stringify([e,r]);let o=Yc[s];return o||(o=new Intl.RelativeTimeFormat(e,t),Yc[s]=o),o}let Vo=null;function gA(){return Vo||(Vo=new Intl.DateTimeFormat().resolvedOptions().locale,Vo)}let vp={};function yA(e){let t=vp[e];if(!t){const n=new Intl.Locale(e);t="getWeekInfo"in n?n.getWeekInfo():n.weekInfo,vp[e]=t}return t}function vA(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,s;try{r=Gc(e).resolvedOptions(),s=e}catch{const l=e.substring(0,n);r=Gc(l).resolvedOptions(),s=l}const{numberingSystem:o,calendar:a}=r;return[s,o,a]}}function bA(e,t,n){return(n||t)&&(e.includes("-u-")||(e+="-u"),n&&(e+=`-ca-${n}`),t&&(e+=`-nu-${t}`)),e}function zA(e){const t=[];for(let n=1;n<=12;n++){const r=Pe.utc(2009,n,1);t.push(e(r))}return t}function CA(e){const t=[];for(let n=1;n<=7;n++){const r=Pe.utc(2016,11,13+n);t.push(e(r))}return t}function si(e,t,n,r){const s=e.listingMode();return s==="error"?null:s==="en"?n(t):r(t)}function wA(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 kA{constructor(t,n,r){this.padTo=r.padTo||0,this.floor=r.floor||!1;const{padTo:s,floor:o,...a}=r;if(!n||Object.keys(a).length>0){const i={useGrouping:!1,...r};r.padTo>0&&(i.minimumIntegerDigits=r.padTo),this.inf=hA(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):gm(t,3);return Dt(n,this.padTo)}}}class xA{constructor(t,n,r){this.opts=r,this.originalZone=void 0;let s;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?(s=i,this.dt=t):(s="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,s=t.zone.name):(s="UTC",this.dt=t.setZone("UTC").plus({minutes:t.offset}),this.originalZone=t.zone);const o={...this.opts};o.timeZone=o.timeZone||s,this.dtf=Gc(n,o)}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 EA{constructor(t,n,r){this.opts={style:"long",...r},!n&&dv()&&(this.rtf=_A(t,r))}format(t,n){return this.rtf?this.rtf.format(t,n):WA(n,t,this.opts.numeric,this.opts.style!=="long")}formatToParts(t,n){return this.rtf?this.rtf.formatToParts(t,n):[]}}const SA={firstDay:1,minimalDays:4,weekend:[6,7]};class ct{static fromOpts(t){return ct.create(t.locale,t.numberingSystem,t.outputCalendar,t.weekSettings,t.defaultToEN)}static create(t,n,r,s,o=!1){const a=t||Tt.defaultLocale,i=a||(o?"en-US":gA()),l=n||Tt.defaultNumberingSystem,c=r||Tt.defaultOutputCalendar,m=Jc(s)||Tt.defaultWeekSettings;return new ct(i,l,c,m,a)}static resetCache(){Vo=null,Kc={},Zc={},Yc={}}static fromObject({locale:t,numberingSystem:n,outputCalendar:r,weekSettings:s}={}){return ct.create(t,n,r,s)}constructor(t,n,r,s,o){const[a,i,l]=vA(t);this.locale=a,this.numberingSystem=n||i||null,this.outputCalendar=r||l||null,this.weekSettings=s,this.intl=bA(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=wA(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:ct.create(t.locale||this.specifiedLocale,t.numberingSystem||this.numberingSystem,t.outputCalendar||this.outputCalendar,Jc(t.weekSettings)||this.weekSettings,t.defaultToEN||!1)}redefaultToEN(t={}){return this.clone({...t,defaultToEN:!0})}redefaultToSystem(t={}){return this.clone({...t,defaultToEN:!1})}months(t,n=!1){return si(this,t,_v,()=>{const r=n?{month:t,day:"numeric"}:{month:t},s=n?"format":"standalone";return this.monthsCache[s][t]||(this.monthsCache[s][t]=zA(o=>this.extract(o,r,"month"))),this.monthsCache[s][t]})}weekdays(t,n=!1){return si(this,t,vv,()=>{const r=n?{weekday:t,year:"numeric",month:"long",day:"numeric"}:{weekday:t},s=n?"format":"standalone";return this.weekdaysCache[s][t]||(this.weekdaysCache[s][t]=CA(o=>this.extract(o,r,"weekday"))),this.weekdaysCache[s][t]})}meridiems(){return si(this,void 0,()=>bv,()=>{if(!this.meridiemCache){const t={hour:"numeric",hourCycle:"h12"};this.meridiemCache=[Pe.utc(2016,11,13,9),Pe.utc(2016,11,13,19)].map(n=>this.extract(n,t,"dayperiod"))}return this.meridiemCache})}eras(t){return si(this,t,zv,()=>{const n={era:t};return this.eraCache[t]||(this.eraCache[t]=[Pe.utc(-40,1,1),Pe.utc(2017,1,1)].map(r=>this.extract(r,n,"era"))),this.eraCache[t]})}extract(t,n,r){const s=this.dtFormatter(t,n),o=s.formatToParts(),a=o.find(i=>i.type.toLowerCase()===r);return a?a.value:null}numberFormatter(t={}){return new kA(this.intl,t.forceSimple||this.fastNumbers,t)}dtFormatter(t,n={}){return new xA(t,this.intl,n)}relFormatter(t={}){return new EA(this.intl,this.isEnglish(),t)}listFormatter(t={}){return pA(this.intl,t)}isEnglish(){return this.locale==="en"||this.locale.toLowerCase()==="en-us"||new Intl.DateTimeFormat(this.intl).resolvedOptions().locale.startsWith("en-us")}getWeekSettings(){return this.weekSettings?this.weekSettings:mv()?yA(this.locale):SA}getStartOfWeek(){return this.getWeekSettings().firstDay}getMinDaysInFirstWeek(){return this.getWeekSettings().minimalDays}getWeekendDays(){return this.getWeekSettings().weekend}equals(t){return this.locale===t.locale&&this.numberingSystem===t.numberingSystem&&this.outputCalendar===t.outputCalendar}}let Lu=null;class Qt extends Ra{static get utcInstance(){return Lu===null&&(Lu=new Qt(0)),Lu}static instance(t){return t===0?Qt.utcInstance:new Qt(t)}static parseSpecifier(t){if(t){const n=t.match(/^utc(?:([+-]\d{1,2})(?::(\d{2}))?)?$/i);if(n)return new Qt(uu(n[1],n[2]))}return null}constructor(t){super(),this.fixed=t}get type(){return"fixed"}get name(){return this.fixed===0?"UTC":`UTC${Qo(this.fixed,"narrow")}`}get ianaName(){return this.fixed===0?"Etc/UTC":`Etc/GMT${Qo(-this.fixed,"narrow")}`}offsetName(){return this.name}formatOffset(t,n){return Qo(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 $A 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 Vr(e,t){if(Le(e)||e===null)return t;if(e instanceof Ra)return e;if(OA(e)){const n=e.toLowerCase();return n==="default"?t:n==="local"||n==="system"?au.instance:n==="utc"||n==="gmt"?Qt.utcInstance:Qt.parseSpecifier(n)||zr.create(e)}else return vs(e)?Qt.instance(e):typeof e=="object"&&"offset"in e&&typeof e.offset=="function"?e:new $A(e)}let bp=()=>Date.now(),zp="system",Cp=null,wp=null,kp=null,xp=60,Ep,Sp=null;class Tt{static get now(){return bp}static set now(t){bp=t}static set defaultZone(t){zp=t}static get defaultZone(){return Vr(zp,au.instance)}static get defaultLocale(){return Cp}static set defaultLocale(t){Cp=t}static get defaultNumberingSystem(){return wp}static set defaultNumberingSystem(t){wp=t}static get defaultOutputCalendar(){return kp}static set defaultOutputCalendar(t){kp=t}static get defaultWeekSettings(){return Sp}static set defaultWeekSettings(t){Sp=Jc(t)}static get twoDigitCutoffYear(){return xp}static set twoDigitCutoffYear(t){xp=t%100}static get throwOnInvalid(){return Ep}static set throwOnInvalid(t){Ep=t}static resetCaches(){ct.resetCache(),zr.resetCache()}}class qn{constructor(t,n){this.reason=t,this.explanation=n}toMessage(){return this.explanation?`${this.reason}: ${this.explanation}`:this.reason}}const ov=[0,31,59,90,120,151,181,212,243,273,304,334],av=[0,31,60,91,121,152,182,213,244,274,305,335];function $n(e,t){return new qn("unit out of range",`you specified ${t} (of type ${typeof t}) as a ${e}, which is invalid`)}function pm(e,t,n){const r=new Date(Date.UTC(e,t-1,n));e<100&&e>=0&&r.setUTCFullYear(r.getUTCFullYear()-1900);const s=r.getUTCDay();return s===0?7:s}function iv(e,t,n){return n+(La(e)?av:ov)[t-1]}function lv(e,t){const n=La(e)?av:ov,r=n.findIndex(o=>o<t),s=t-n[r];return{month:r+1,day:s}}function hm(e,t){return(e-t+7)%7+1}function bl(e,t=4,n=1){const{year:r,month:s,day:o}=e,a=iv(r,s,o),i=hm(pm(r,s,o),n);let l=Math.floor((a-i+14-t)/7),c;return l<1?(c=r-1,l=za(c,t,n)):l>za(r,t,n)?(c=r+1,l=1):c=r,{weekYear:c,weekNumber:l,weekday:i,...cu(e)}}function $p(e,t=4,n=1){const{weekYear:r,weekNumber:s,weekday:o}=e,a=hm(pm(r,1,t),n),i=Js(r);let l=s*7+o-a-7+t,c;l<1?(c=r-1,l+=Js(c)):l>i?(c=r+1,l-=Js(r)):c=r;const{month:m,day:d}=lv(c,l);return{year:c,month:m,day:d,...cu(e)}}function Nu(e){const{year:t,month:n,day:r}=e,s=iv(t,n,r);return{year:t,ordinal:s,...cu(e)}}function Ap(e){const{year:t,ordinal:n}=e,{month:r,day:s}=lv(t,n);return{year:t,month:r,day:s,...cu(e)}}function Tp(e,t){if(!Le(e.localWeekday)||!Le(e.localWeekNumber)||!Le(e.localWeekYear)){if(!Le(e.weekday)||!Le(e.weekNumber)||!Le(e.weekYear))throw new js("Cannot mix locale-based week fields with ISO-based week fields");return Le(e.localWeekday)||(e.weekday=e.localWeekday),Le(e.localWeekNumber)||(e.weekNumber=e.localWeekNumber),Le(e.localWeekYear)||(e.weekYear=e.localWeekYear),delete e.localWeekday,delete e.localWeekNumber,delete e.localWeekYear,{minDaysInFirstWeek:t.getMinDaysInFirstWeek(),startOfWeek:t.getStartOfWeek()}}else return{minDaysInFirstWeek:4,startOfWeek:1}}function AA(e,t=4,n=1){const r=iu(e.weekYear),s=An(e.weekNumber,1,za(e.weekYear,t,n)),o=An(e.weekday,1,7);return r?s?o?!1:$n("weekday",e.weekday):$n("week",e.weekNumber):$n("weekYear",e.weekYear)}function TA(e){const t=iu(e.year),n=An(e.ordinal,1,Js(e.year));return t?n?!1:$n("ordinal",e.ordinal):$n("year",e.year)}function uv(e){const t=iu(e.year),n=An(e.month,1,12),r=An(e.day,1,zl(e.year,e.month));return t?n?r?!1:$n("day",e.day):$n("month",e.month):$n("year",e.year)}function cv(e){const{hour:t,minute:n,second:r,millisecond:s}=e,o=An(t,0,23)||t===24&&n===0&&r===0&&s===0,a=An(n,0,59),i=An(r,0,59),l=An(s,0,999);return o?a?i?l?!1:$n("millisecond",s):$n("second",r):$n("minute",n):$n("hour",t)}function Le(e){return typeof e>"u"}function vs(e){return typeof e=="number"}function iu(e){return typeof e=="number"&&e%1===0}function OA(e){return typeof e=="string"}function DA(e){return Object.prototype.toString.call(e)==="[object Date]"}function dv(){try{return typeof Intl<"u"&&!!Intl.RelativeTimeFormat}catch{return!1}}function mv(){try{return typeof Intl<"u"&&!!Intl.Locale&&("weekInfo"in Intl.Locale.prototype||"getWeekInfo"in Intl.Locale.prototype)}catch{return!1}}function PA(e){return Array.isArray(e)?e:[e]}function Op(e,t,n){if(e.length!==0)return e.reduce((r,s)=>{const o=[t(s),s];return r&&n(r[0],o[0])===r[0]?r:o},null)[1]}function IA(e,t){return t.reduce((n,r)=>(n[r]=e[r],n),{})}function lo(e,t){return Object.prototype.hasOwnProperty.call(e,t)}function Jc(e){if(e==null)return null;if(typeof e!="object")throw new ln("Week settings must be an object");if(!An(e.firstDay,1,7)||!An(e.minimalDays,1,7)||!Array.isArray(e.weekend)||e.weekend.some(t=>!An(t,1,7)))throw new ln("Invalid week settings");return{firstDay:e.firstDay,minimalDays:e.minimalDays,weekend:Array.from(e.weekend)}}function An(e,t,n){return iu(e)&&e>=t&&e<=n}function FA(e,t){return e-t*Math.floor(e/t)}function Dt(e,t=2){const n=e<0;let r;return n?r="-"+(""+-e).padStart(t,"0"):r=(""+e).padStart(t,"0"),r}function Lr(e){if(!(Le(e)||e===null||e===""))return parseInt(e,10)}function as(e){if(!(Le(e)||e===null||e===""))return parseFloat(e)}function _m(e){if(!(Le(e)||e===null||e==="")){const t=parseFloat("0."+e)*1e3;return Math.floor(t)}}function gm(e,t,n=!1){const r=10**t;return(n?Math.trunc:Math.round)(e*r)/r}function La(e){return e%4===0&&(e%100!==0||e%400===0)}function Js(e){return La(e)?366:365}function zl(e,t){const n=FA(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 lu(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 Dp(e,t,n){return-hm(pm(e,1,t),n)+t-1}function za(e,t=4,n=1){const r=Dp(e,t,n),s=Dp(e+1,t,n);return(Js(e)-r+s)/7}function Xc(e){return e>99?e:e>Tt.twoDigitCutoffYear?1900+e:2e3+e}function fv(e,t,n,r=null){const s=new Date(e),o={hourCycle:"h23",year:"numeric",month:"2-digit",day:"2-digit",hour:"2-digit",minute:"2-digit"};r&&(o.timeZone=r);const a={timeZoneName:t,...o},i=new Intl.DateTimeFormat(n,a).formatToParts(s).find(l=>l.type.toLowerCase()==="timezonename");return i?i.value:null}function uu(e,t){let n=parseInt(e,10);Number.isNaN(n)&&(n=0);const r=parseInt(t,10)||0,s=n<0||Object.is(n,-0)?-r:r;return n*60+s}function pv(e){const t=Number(e);if(typeof e=="boolean"||e===""||Number.isNaN(t))throw new ln(`Invalid unit value ${e}`);return t}function Cl(e,t){const n={};for(const r in e)if(lo(e,r)){const s=e[r];if(s==null)continue;n[t(r)]=pv(s)}return n}function Qo(e,t){const n=Math.trunc(Math.abs(e/60)),r=Math.trunc(Math.abs(e%60)),s=e>=0?"+":"-";switch(t){case"short":return`${s}${Dt(n,2)}:${Dt(r,2)}`;case"narrow":return`${s}${n}${r>0?`:${r}`:""}`;case"techie":return`${s}${Dt(n,2)}${Dt(r,2)}`;default:throw new RangeError(`Value format ${t} is out of range for property format`)}}function cu(e){return IA(e,["hour","minute","second","millisecond"])}const RA=["January","February","March","April","May","June","July","August","September","October","November","December"],hv=["Jan","Feb","Mar","Apr","May","Jun","Jul","Aug","Sep","Oct","Nov","Dec"],LA=["J","F","M","A","M","J","J","A","S","O","N","D"];function _v(e){switch(e){case"narrow":return[...LA];case"short":return[...hv];case"long":return[...RA];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 gv=["Monday","Tuesday","Wednesday","Thursday","Friday","Saturday","Sunday"],yv=["Mon","Tue","Wed","Thu","Fri","Sat","Sun"],NA=["M","T","W","T","F","S","S"];function vv(e){switch(e){case"narrow":return[...NA];case"short":return[...yv];case"long":return[...gv];case"numeric":return["1","2","3","4","5","6","7"];default:return null}}const bv=["AM","PM"],MA=["Before Christ","Anno Domini"],VA=["BC","AD"],HA=["B","A"];function zv(e){switch(e){case"narrow":return[...HA];case"short":return[...VA];case"long":return[...MA];default:return null}}function BA(e){return bv[e.hour<12?0:1]}function UA(e,t){return vv(t)[e.weekday-1]}function jA(e,t){return _v(t)[e.month-1]}function qA(e,t){return zv(t)[e.year<0?0:1]}function WA(e,t,n="always",r=!1){const s={years:["year","yr."],quarters:["quarter","qtr."],months:["month","mo."],weeks:["week","wk."],days:["day","day","days"],hours:["hour","hr."],minutes:["minute","min."],seconds:["second","sec."]},o=["hours","minutes","seconds"].indexOf(e)===-1;if(n==="auto"&&o){const d=e==="days";switch(t){case 1:return d?"tomorrow":`next ${s[e][0]}`;case-1:return d?"yesterday":`last ${s[e][0]}`;case 0:return d?"today":`this ${s[e][0]}`}}const a=Object.is(t,-0)||t<0,i=Math.abs(t),l=i===1,c=s[e],m=r?l?c[1]:c[2]||c[1]:l?s[e][0]:e;return a?`${i} ${m} ago`:`in ${i} ${m}`}function Pp(e,t){let n="";for(const r of e)r.literal?n+=r.val:n+=t(r.val);return n}const KA={D:vl,DD:Vy,DDD:Hy,DDDD:By,t:Uy,tt:jy,ttt:qy,tttt:Wy,T:Ky,TT:Gy,TTT:Zy,TTTT:Yy,f:Jy,ff:Qy,fff:tv,ffff:rv,F:Xy,FF:ev,FFF:nv,FFFF:sv};class Wt{static create(t,n={}){return new Wt(t,n)}static parseFormat(t){let n=null,r="",s=!1;const o=[];for(let a=0;a<t.length;a++){const i=t.charAt(a);i==="'"?(r.length>0&&o.push({literal:s||/^\s+$/.test(r),val:r}),n=null,r="",s=!s):s||i===n?r+=i:(r.length>0&&o.push({literal:/^\s+$/.test(r),val:r}),r=i,n=i)}return r.length>0&&o.push({literal:s||/^\s+$/.test(r),val:r}),o}static macroTokenToFormatOpts(t){return KA[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()}dtFormatter(t,n={}){return this.loc.dtFormatter(t,{...this.opts,...n})}formatDateTime(t,n){return this.dtFormatter(t,n).format()}formatDateTimeParts(t,n){return this.dtFormatter(t,n).formatToParts()}formatInterval(t,n){return this.dtFormatter(t.start,n).dtf.formatRange(t.start.toJSDate(),t.end.toJSDate())}resolvedOptions(t,n){return this.dtFormatter(t,n).resolvedOptions()}num(t,n=0){if(this.opts.forceSimple)return Dt(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",s=this.loc.outputCalendar&&this.loc.outputCalendar!=="gregory",o=(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?BA(t):o({hour:"numeric",hourCycle:"h12"},"dayperiod"),l=(p,h)=>r?jA(t,p):o(h?{month:p}:{month:p,day:"numeric"},"month"),c=(p,h)=>r?UA(t,p):o(h?{weekday:p}:{weekday:p,month:"long",day:"numeric"},"weekday"),m=p=>{const h=Wt.macroTokenToFormatOpts(p);return h?this.formatWithSystemDefault(t,h):p},d=p=>r?qA(t,p):o({era:p},"era"),f=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 s?o({day:"numeric"},"day"):this.num(t.day);case"dd":return s?o({day:"2-digit"},"day"):this.num(t.day,2);case"c":return this.num(t.weekday);case"ccc":return c("short",!0);case"cccc":return c("long",!0);case"ccccc":return c("narrow",!0);case"E":return this.num(t.weekday);case"EEE":return c("short",!1);case"EEEE":return c("long",!1);case"EEEEE":return c("narrow",!1);case"L":return s?o({month:"numeric",day:"numeric"},"month"):this.num(t.month);case"LL":return s?o({month:"2-digit",day:"numeric"},"month"):this.num(t.month,2);case"LLL":return l("short",!0);case"LLLL":return l("long",!0);case"LLLLL":return l("narrow",!0);case"M":return s?o({month:"numeric"},"month"):this.num(t.month);case"MM":return s?o({month:"2-digit"},"month"):this.num(t.month,2);case"MMM":return l("short",!1);case"MMMM":return l("long",!1);case"MMMMM":return l("narrow",!1);case"y":return s?o({year:"numeric"},"year"):this.num(t.year);case"yy":return s?o({year:"2-digit"},"year"):this.num(t.year.toString().slice(-2),2);case"yyyy":return s?o({year:"numeric"},"year"):this.num(t.year,4);case"yyyyyy":return s?o({year:"numeric"},"year"):this.num(t.year,6);case"G":return d("short");case"GG":return d("long");case"GGGGG":return d("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"n":return this.num(t.localWeekNumber);case"nn":return this.num(t.localWeekNumber,2);case"ii":return this.num(t.localWeekYear.toString().slice(-2),2);case"iiii":return this.num(t.localWeekYear,4);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 m(p)}};return Pp(Wt.parseFormat(n),f)}formatDurationFromString(t,n){const r=l=>{switch(l[0]){case"S":return"millisecond";case"s":return"second";case"m":return"minute";case"h":return"hour";case"d":return"day";case"w":return"week";case"M":return"month";case"y":return"year";default:return null}},s=l=>c=>{const m=r(c);return m?this.num(l.get(m),c.length):c},o=Wt.parseFormat(n),a=o.reduce((l,{literal:c,val:m})=>c?l:l.concat(m),[]),i=t.shiftTo(...a.map(r).filter(l=>l));return Pp(o,s(i))}}const Cv=/[A-Za-z_+-]{1,256}(?::?\/[A-Za-z0-9_+-]{1,256}(?:\/[A-Za-z0-9_+-]{1,256})?)?/;function bo(...e){const t=e.reduce((n,r)=>n+r.source,"");return RegExp(`^${t}$`)}function zo(...e){return t=>e.reduce(([n,r,s],o)=>{const[a,i,l]=o(t,s);return[{...n,...a},i||r,l]},[{},null,1]).slice(0,2)}function Co(e,...t){if(e==null)return[null,null];for(const[n,r]of t){const s=n.exec(e);if(s)return r(s)}return[null,null]}function wv(...e){return(t,n)=>{const r={};let s;for(s=0;s<e.length;s++)r[e[s]]=Lr(t[n+s]);return[r,null,n+s]}}const kv=/(?:(Z)|([+-]\d\d)(?::?(\d\d))?)/,GA=`(?:${kv.source}?(?:\\[(${Cv.source})\\])?)?`,ym=/(\d\d)(?::?(\d\d)(?::?(\d\d)(?:[.,](\d{1,30}))?)?)?/,xv=RegExp(`${ym.source}${GA}`),vm=RegExp(`(?:T${xv.source})?`),ZA=/([+-]\d{6}|\d{4})(?:-?(\d\d)(?:-?(\d\d))?)?/,YA=/(\d{4})-?W(\d\d)(?:-?(\d))?/,JA=/(\d{4})-?(\d{3})/,XA=wv("weekYear","weekNumber","weekDay"),QA=wv("year","ordinal"),e8=/(\d{4})-(\d\d)-(\d\d)/,Ev=RegExp(`${ym.source} ?(?:${kv.source}|(${Cv.source}))?`),t8=RegExp(`(?: ${Ev.source})?`);function Xs(e,t,n){const r=e[t];return Le(r)?n:Lr(r)}function n8(e,t){return[{year:Xs(e,t),month:Xs(e,t+1,1),day:Xs(e,t+2,1)},null,t+3]}function wo(e,t){return[{hours:Xs(e,t,0),minutes:Xs(e,t+1,0),seconds:Xs(e,t+2,0),milliseconds:_m(e[t+3])},null,t+4]}function Na(e,t){const n=!e[t]&&!e[t+1],r=uu(e[t+1],e[t+2]),s=n?null:Qt.instance(r);return[{},s,t+3]}function Ma(e,t){const n=e[t]?zr.create(e[t]):null;return[{},n,t+1]}const r8=RegExp(`^T?${ym.source}$`),s8=/^-?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 o8(e){const[t,n,r,s,o,a,i,l,c]=e,m=t[0]==="-",d=l&&l[0]==="-",f=(p,h=!1)=>p!==void 0&&(h||p&&m)?-p:p;return[{years:f(as(n)),months:f(as(r)),weeks:f(as(s)),days:f(as(o)),hours:f(as(a)),minutes:f(as(i)),seconds:f(as(l),l==="-0"),milliseconds:f(_m(c),d)}]}const a8={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 bm(e,t,n,r,s,o,a){const i={year:t.length===2?Xc(Lr(t)):Lr(t),month:hv.indexOf(n)+1,day:Lr(r),hour:Lr(s),minute:Lr(o)};return a&&(i.second=Lr(a)),e&&(i.weekday=e.length>3?gv.indexOf(e)+1:yv.indexOf(e)+1),i}const i8=/^(?:(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 l8(e){const[,t,n,r,s,o,a,i,l,c,m,d]=e,f=bm(t,s,r,n,o,a,i);let p;return l?p=a8[l]:c?p=0:p=uu(m,d),[f,new Qt(p)]}function u8(e){return e.replace(/\([^()]*\)|[\n\t]/g," ").replace(/(\s\s+)/g," ").trim()}const c8=/^(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$/,d8=/^(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$/,m8=/^(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 Ip(e){const[,t,n,r,s,o,a,i]=e;return[bm(t,s,r,n,o,a,i),Qt.utcInstance]}function f8(e){const[,t,n,r,s,o,a,i]=e;return[bm(t,i,n,r,s,o,a),Qt.utcInstance]}const p8=bo(ZA,vm),h8=bo(YA,vm),_8=bo(JA,vm),g8=bo(xv),Sv=zo(n8,wo,Na,Ma),y8=zo(XA,wo,Na,Ma),v8=zo(QA,wo,Na,Ma),b8=zo(wo,Na,Ma);function z8(e){return Co(e,[p8,Sv],[h8,y8],[_8,v8],[g8,b8])}function C8(e){return Co(u8(e),[i8,l8])}function w8(e){return Co(e,[c8,Ip],[d8,Ip],[m8,f8])}function k8(e){return Co(e,[s8,o8])}const x8=zo(wo);function E8(e){return Co(e,[r8,x8])}const S8=bo(e8,t8),$8=bo(Ev),A8=zo(wo,Na,Ma);function T8(e){return Co(e,[S8,Sv],[$8,A8])}const Fp="Invalid Duration",$v={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}},O8={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},...$v},kn=146097/400,Ds=146097/4800,D8={years:{quarters:4,months:12,weeks:kn/7,days:kn,hours:kn*24,minutes:kn*24*60,seconds:kn*24*60*60,milliseconds:kn*24*60*60*1e3},quarters:{months:3,weeks:kn/28,days:kn/4,hours:kn*24/4,minutes:kn*24*60/4,seconds:kn*24*60*60/4,milliseconds:kn*24*60*60*1e3/4},months:{weeks:Ds/7,days:Ds,hours:Ds*24,minutes:Ds*24*60,seconds:Ds*24*60*60,milliseconds:Ds*24*60*60*1e3},...$v},ps=["years","quarters","months","weeks","days","hours","minutes","seconds","milliseconds"],P8=ps.slice(0).reverse();function Or(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 We(r)}function Av(e,t){let n=t.milliseconds??0;for(const r of P8.slice(1))t[r]&&(n+=t[r]*e[r].milliseconds);return n}function Rp(e,t){const n=Av(e,t)<0?-1:1;ps.reduceRight((r,s)=>{if(Le(t[s]))return r;if(r){const o=t[r]*n,a=e[s][r],i=Math.floor(o/a);t[s]+=i*n,t[r]-=i*a*n}return s},null),ps.reduce((r,s)=>{if(Le(t[s]))return r;if(r){const o=t[r]%1;t[r]-=o,t[s]+=o*e[r][s]}return s},null)}function I8(e){const t={};for(const[n,r]of Object.entries(e))r!==0&&(t[n]=r);return t}class We{constructor(t){const n=t.conversionAccuracy==="longterm"||!1;let r=n?D8:O8;t.matrix&&(r=t.matrix),this.values=t.values,this.loc=t.loc||ct.create(),this.conversionAccuracy=n?"longterm":"casual",this.invalid=t.invalid||null,this.matrix=r,this.isLuxonDuration=!0}static fromMillis(t,n){return We.fromObject({milliseconds:t},n)}static fromObject(t,n={}){if(t==null||typeof t!="object")throw new ln(`Duration.fromObject: argument expected to be an object, got ${t===null?"null":typeof t}`);return new We({values:Cl(t,We.normalizeUnit),loc:ct.fromObject(n),conversionAccuracy:n.conversionAccuracy,matrix:n.matrix})}static fromDurationLike(t){if(vs(t))return We.fromMillis(t);if(We.isDuration(t))return t;if(typeof t=="object")return We.fromObject(t);throw new ln(`Unknown duration argument ${t} of type ${typeof t}`)}static fromISO(t,n){const[r]=k8(t);return r?We.fromObject(r,n):We.invalid("unparsable",`the input "${t}" can't be parsed as ISO 8601`)}static fromISOTime(t,n){const[r]=E8(t);return r?We.fromObject(r,n):We.invalid("unparsable",`the input "${t}" can't be parsed as ISO 8601`)}static invalid(t,n=null){if(!t)throw new ln("need to specify a reason the Duration is invalid");const r=t instanceof qn?t:new qn(t,n);if(Tt.throwOnInvalid)throw new iA(r);return new We({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 My(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?Wt.create(this.loc,r).formatDurationFromString(this,t):Fp}toHuman(t={}){if(!this.isValid)return Fp;const n=ps.map(r=>{const s=this.values[r];return Le(s)?null:this.loc.numberFormatter({style:"unit",unitDisplay:"long",...t,unit:r.slice(0,-1)}).format(s)}).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+=gm(this.seconds+this.milliseconds/1e3,3)+"S"),t==="P"&&(t+="T0S"),t}toISOTime(t={}){if(!this.isValid)return null;const n=this.toMillis();return n<0||n>=864e5?null:(t={suppressMilliseconds:!1,suppressSeconds:!1,includePrefix:!1,format:"extended",...t,includeOffset:!1},Pe.fromMillis(n,{zone:"UTC"}).toISOTime(t))}toJSON(){return this.toISO()}toString(){return this.toISO()}[Symbol.for("nodejs.util.inspect.custom")](){return this.isValid?`Duration { values: ${JSON.stringify(this.values)} }`:`Duration { Invalid, reason: ${this.invalidReason} }`}toMillis(){return this.isValid?Av(this.matrix,this.values):NaN}valueOf(){return this.toMillis()}plus(t){if(!this.isValid)return this;const n=We.fromDurationLike(t),r={};for(const s of ps)(lo(n.values,s)||lo(this.values,s))&&(r[s]=n.get(s)+this.get(s));return Or(this,{values:r},!0)}minus(t){if(!this.isValid)return this;const n=We.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]=pv(t(this.values[r],r));return Or(this,{values:n},!0)}get(t){return this[We.normalizeUnit(t)]}set(t){if(!this.isValid)return this;const n={...this.values,...Cl(t,We.normalizeUnit)};return Or(this,{values:n})}reconfigure({locale:t,numberingSystem:n,conversionAccuracy:r,matrix:s}={}){const a={loc:this.loc.clone({locale:t,numberingSystem:n}),matrix:s,conversionAccuracy:r};return Or(this,a)}as(t){return this.isValid?this.shiftTo(t).get(t):NaN}normalize(){if(!this.isValid)return this;const t=this.toObject();return Rp(this.matrix,t),Or(this,{values:t},!0)}rescale(){if(!this.isValid)return this;const t=I8(this.normalize().shiftToAll().toObject());return Or(this,{values:t},!0)}shiftTo(...t){if(!this.isValid)return this;if(t.length===0)return this;t=t.map(a=>We.normalizeUnit(a));const n={},r={},s=this.toObject();let o;for(const a of ps)if(t.indexOf(a)>=0){o=a;let i=0;for(const c in r)i+=this.matrix[c][a]*r[c],r[c]=0;vs(s[a])&&(i+=s[a]);const l=Math.trunc(i);n[a]=l,r[a]=(i*1e3-l*1e3)/1e3}else vs(s[a])&&(r[a]=s[a]);for(const a in r)r[a]!==0&&(n[o]+=a===o?r[a]:r[a]/this.matrix[o][a]);return Rp(this.matrix,n),Or(this,{values:n},!0)}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 Or(this,{values:t},!0)}get years(){return this.isValid?this.values.years||0:NaN}get quarters(){return this.isValid?this.values.quarters||0:NaN}get months(){return this.isValid?this.values.months||0:NaN}get weeks(){return this.isValid?this.values.weeks||0:NaN}get days(){return this.isValid?this.values.days||0:NaN}get hours(){return this.isValid?this.values.hours||0:NaN}get minutes(){return this.isValid?this.values.minutes||0:NaN}get seconds(){return this.isValid?this.values.seconds||0:NaN}get milliseconds(){return this.isValid?this.values.milliseconds||0:NaN}get isValid(){return this.invalid===null}get invalidReason(){return this.invalid?this.invalid.reason:null}get invalidExplanation(){return this.invalid?this.invalid.explanation:null}equals(t){if(!this.isValid||!t.isValid||!this.loc.equals(t.loc))return!1;function n(r,s){return r===void 0||r===0?s===void 0||s===0:r===s}for(const r of ps)if(!n(this.values[r],t.values[r]))return!1;return!0}}const Ps="Invalid Interval";function F8(e,t){return!e||!e.isValid?Et.invalid("missing or invalid start"):!t||!t.isValid?Et.invalid("missing or invalid end"):t<e?Et.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 Et{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 ln("need to specify a reason the Interval is invalid");const r=t instanceof qn?t:new qn(t,n);if(Tt.throwOnInvalid)throw new aA(r);return new Et({invalid:r})}static fromDateTimes(t,n){const r=To(t),s=To(n),o=F8(r,s);return o??new Et({start:r,end:s})}static after(t,n){const r=We.fromDurationLike(n),s=To(t);return Et.fromDateTimes(s,s.plus(r))}static before(t,n){const r=We.fromDurationLike(n),s=To(t);return Et.fromDateTimes(s.minus(r),s)}static fromISO(t,n){const[r,s]=(t||"").split("/",2);if(r&&s){let o,a;try{o=Pe.fromISO(r,n),a=o.isValid}catch{a=!1}let i,l;try{i=Pe.fromISO(s,n),l=i.isValid}catch{l=!1}if(a&&l)return Et.fromDateTimes(o,i);if(a){const c=We.fromISO(s,n);if(c.isValid)return Et.after(o,c)}else if(l){const c=We.fromISO(r,n);if(c.isValid)return Et.before(i,c)}}return Et.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",n){if(!this.isValid)return NaN;const r=this.start.startOf(t,n);let s;return n!=null&&n.useLocaleWeeks?s=this.end.reconfigure({locale:r.locale}):s=this.end,s=s.startOf(t,n),Math.floor(s.diff(r,t).get(t))+(s.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?Et.fromDateTimes(t||this.s,n||this.e):this}splitAt(...t){if(!this.isValid)return[];const n=t.map(To).filter(a=>this.contains(a)).sort((a,i)=>a.toMillis()-i.toMillis()),r=[];let{s}=this,o=0;for(;s<this.e;){const a=n[o]||this.e,i=+a>+this.e?this.e:a;r.push(Et.fromDateTimes(s,i)),s=i,o+=1}return r}splitBy(t){const n=We.fromDurationLike(t);if(!this.isValid||!n.isValid||n.as("milliseconds")===0)return[];let{s:r}=this,s=1,o;const a=[];for(;r<this.e;){const i=this.start.plus(n.mapUnits(l=>l*s));o=+i>+this.e?this.e:i,a.push(Et.fromDateTimes(r,o)),r=o,s+=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:Et.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 Et.fromDateTimes(n,r)}static merge(t){const[n,r]=t.sort((s,o)=>s.s-o.s).reduce(([s,o],a)=>o?o.overlaps(a)||o.abutsStart(a)?[s,o.union(a)]:[s.concat([o]),a]:[s,a],[[],null]);return r&&n.push(r),n}static xor(t){let n=null,r=0;const s=[],o=t.map(l=>[{time:l.s,type:"s"},{time:l.e,type:"e"}]),a=Array.prototype.concat(...o),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&&s.push(Et.fromDateTimes(n,l.time)),n=null);return Et.merge(s)}difference(...t){return Et.xor([this].concat(t)).map(n=>this.intersection(n)).filter(n=>n&&!n.isEmpty())}toString(){return this.isValid?`[${this.s.toISO()} ${this.e.toISO()})`:Ps}[Symbol.for("nodejs.util.inspect.custom")](){return this.isValid?`Interval { start: ${this.s.toISO()}, end: ${this.e.toISO()} }`:`Interval { Invalid, reason: ${this.invalidReason} }`}toLocaleString(t=vl,n={}){return this.isValid?Wt.create(this.s.loc.clone(n),t).formatInterval(this):Ps}toISO(t){return this.isValid?`${this.s.toISO(t)}/${this.e.toISO(t)}`:Ps}toISODate(){return this.isValid?`${this.s.toISODate()}/${this.e.toISODate()}`:Ps}toISOTime(t){return this.isValid?`${this.s.toISOTime(t)}/${this.e.toISOTime(t)}`:Ps}toFormat(t,{separator:n=" "}={}){return this.isValid?`${this.s.toFormat(t)}${n}${this.e.toFormat(t)}`:Ps}toDuration(t,n){return this.isValid?this.e.diff(this.s,t,n):We.invalid(this.invalidReason)}mapEndpoints(t){return Et.fromDateTimes(t(this.s),t(this.e))}}class oi{static hasDST(t=Tt.defaultZone){const n=Pe.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 Vr(t,Tt.defaultZone)}static getStartOfWeek({locale:t=null,locObj:n=null}={}){return(n||ct.create(t)).getStartOfWeek()}static getMinimumDaysInFirstWeek({locale:t=null,locObj:n=null}={}){return(n||ct.create(t)).getMinDaysInFirstWeek()}static getWeekendWeekdays({locale:t=null,locObj:n=null}={}){return(n||ct.create(t)).getWeekendDays().slice()}static months(t="long",{locale:n=null,numberingSystem:r=null,locObj:s=null,outputCalendar:o="gregory"}={}){return(s||ct.create(n,r,o)).months(t)}static monthsFormat(t="long",{locale:n=null,numberingSystem:r=null,locObj:s=null,outputCalendar:o="gregory"}={}){return(s||ct.create(n,r,o)).months(t,!0)}static weekdays(t="long",{locale:n=null,numberingSystem:r=null,locObj:s=null}={}){return(s||ct.create(n,r,null)).weekdays(t)}static weekdaysFormat(t="long",{locale:n=null,numberingSystem:r=null,locObj:s=null}={}){return(s||ct.create(n,r,null)).weekdays(t,!0)}static meridiems({locale:t=null}={}){return ct.create(t).meridiems()}static eras(t="short",{locale:n=null}={}){return ct.create(n,null,"gregory").eras(t)}static features(){return{relative:dv(),localeWeek:mv()}}}function Lp(e,t){const n=s=>s.toUTC(0,{keepLocalTime:!0}).startOf("day").valueOf(),r=n(t)-n(e);return Math.floor(We.fromMillis(r).as("days"))}function R8(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 m=Lp(l,c);return(m-m%7)/7}],["days",Lp]],s={},o=e;let a,i;for(const[l,c]of r)n.indexOf(l)>=0&&(a=l,s[l]=c(e,t),i=o.plus(s),i>t?(s[l]--,e=o.plus(s),e>t&&(i=e,s[l]--,e=o.plus(s))):e=i);return[e,s,i,a]}function L8(e,t,n,r){let[s,o,a,i]=R8(e,t,n);const l=t-s,c=n.filter(d=>["hours","minutes","seconds","milliseconds"].indexOf(d)>=0);c.length===0&&(a<t&&(a=s.plus({[i]:1})),a!==s&&(o[i]=(o[i]||0)+l/(a-s)));const m=We.fromObject(o,r);return c.length>0?We.fromMillis(l,r).shiftTo(...c).plus(m):m}const zm={arab:"[٠-٩]",arabext:"[۰-۹]",bali:"[᭐-᭙]",beng:"[-৯]",deva:"[-९]",fullwide:"[-]",gujr:"[-૯]",hanidec:"[|一|二|三|四|五|六|七|八|九]",khmr:"[០-៩]",knda:"[-೯]",laoo:"[-໙]",limb:"[᥆-᥏]",mlym:"[-൯]",mong:"[᠐-᠙]",mymr:"[-၉]",orya:"[-୯]",tamldec:"[-௯]",telu:"[-౯]",thai:"[-๙]",tibt:"[༠-༩]",latn:"\\d"},Np={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]},N8=zm.hanidec.replace(/[\[|\]]/g,"").split("");function M8(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(zm.hanidec)!==-1)t+=N8.indexOf(e[n]);else for(const s in Np){const[o,a]=Np[s];r>=o&&r<=a&&(t+=r-o)}}return parseInt(t,10)}else return t}function Nn({numberingSystem:e},t=""){return new RegExp(`${zm[e||"latn"]}${t}`)}const V8="missing Intl.DateTimeFormat.formatToParts support";function rt(e,t=n=>n){return{regex:e,deser:([n])=>t(M8(n))}}const H8=" ",Tv=`[ ${H8}]`,Ov=new RegExp(Tv,"g");function B8(e){return e.replace(/\./g,"\\.?").replace(Ov,Tv)}function Mp(e){return e.replace(/\./g,"").replace(Ov," ").toLowerCase()}function Mn(e,t){return e===null?null:{regex:RegExp(e.map(B8).join("|")),deser:([n])=>e.findIndex(r=>Mp(n)===Mp(r))+t}}function Vp(e,t){return{regex:e,deser:([,n,r])=>uu(n,r),groups:t}}function ai(e){return{regex:e,deser:([t])=>t}}function U8(e){return e.replace(/[\-\[\]{}()*+?.,\\\^$|#\s]/g,"\\$&")}function j8(e,t){const n=Nn(t),r=Nn(t,"{2}"),s=Nn(t,"{3}"),o=Nn(t,"{4}"),a=Nn(t,"{6}"),i=Nn(t,"{1,2}"),l=Nn(t,"{1,3}"),c=Nn(t,"{1,6}"),m=Nn(t,"{1,9}"),d=Nn(t,"{2,4}"),f=Nn(t,"{4,6}"),p=b=>({regex:RegExp(U8(b.val)),deser:([w])=>w,literal:!0}),_=(b=>{if(e.literal)return p(b);switch(b.val){case"G":return Mn(t.eras("short"),0);case"GG":return Mn(t.eras("long"),0);case"y":return rt(c);case"yy":return rt(d,Xc);case"yyyy":return rt(o);case"yyyyy":return rt(f);case"yyyyyy":return rt(a);case"M":return rt(i);case"MM":return rt(r);case"MMM":return Mn(t.months("short",!0),1);case"MMMM":return Mn(t.months("long",!0),1);case"L":return rt(i);case"LL":return rt(r);case"LLL":return Mn(t.months("short",!1),1);case"LLLL":return Mn(t.months("long",!1),1);case"d":return rt(i);case"dd":return rt(r);case"o":return rt(l);case"ooo":return rt(s);case"HH":return rt(r);case"H":return rt(i);case"hh":return rt(r);case"h":return rt(i);case"mm":return rt(r);case"m":return rt(i);case"q":return rt(i);case"qq":return rt(r);case"s":return rt(i);case"ss":return rt(r);case"S":return rt(l);case"SSS":return rt(s);case"u":return ai(m);case"uu":return ai(i);case"uuu":return rt(n);case"a":return Mn(t.meridiems(),0);case"kkkk":return rt(o);case"kk":return rt(d,Xc);case"W":return rt(i);case"WW":return rt(r);case"E":case"c":return rt(n);case"EEE":return Mn(t.weekdays("short",!1),1);case"EEEE":return Mn(t.weekdays("long",!1),1);case"ccc":return Mn(t.weekdays("short",!0),1);case"cccc":return Mn(t.weekdays("long",!0),1);case"Z":case"ZZ":return Vp(new RegExp(`([+-]${i.source})(?::(${r.source}))?`),2);case"ZZZ":return Vp(new RegExp(`([+-]${i.source})(${r.source})?`),2);case"z":return ai(/[a-z_+-/]{1,256}?/i);case" ":return ai(/[^\S\n\r]/);default:return p(b)}})(e)||{invalidReason:V8};return _.token=e,_}const q8={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",hour12:{numeric:"h","2-digit":"hh"},hour24:{numeric:"H","2-digit":"HH"},minute:{numeric:"m","2-digit":"mm"},second:{numeric:"s","2-digit":"ss"},timeZoneName:{long:"ZZZZZ",short:"ZZZ"}};function W8(e,t,n){const{type:r,value:s}=e;if(r==="literal"){const l=/^\s+$/.test(s);return{literal:!l,val:l?" ":s}}const o=t[r];let a=r;r==="hour"&&(t.hour12!=null?a=t.hour12?"hour12":"hour24":t.hourCycle!=null?t.hourCycle==="h11"||t.hourCycle==="h12"?a="hour12":a="hour24":a=n.hour12?"hour12":"hour24");let i=q8[a];if(typeof i=="object"&&(i=i[o]),i)return{literal:!1,val:i}}function K8(e){return[`^${e.map(n=>n.regex).reduce((n,r)=>`${n}(${r.source})`,"")}$`,e]}function G8(e,t,n){const r=e.match(t);if(r){const s={};let o=1;for(const a in n)if(lo(n,a)){const i=n[a],l=i.groups?i.groups+1:1;!i.literal&&i.token&&(s[i.token.val[0]]=i.deser(r.slice(o,o+l))),o+=l}return[r,s]}else return[r,{}]}function Z8(e){const t=o=>{switch(o){case"S":return"millisecond";case"s":return"second";case"m":return"minute";case"h":case"H":return"hour";case"d":return"day";case"o":return"ordinal";case"L":case"M":return"month";case"y":return"year";case"E":case"c":return"weekday";case"W":return"weekNumber";case"k":return"weekYear";case"q":return"quarter";default:return null}};let n=null,r;return Le(e.z)||(n=zr.create(e.z)),Le(e.Z)||(n||(n=new Qt(e.Z)),r=e.Z),Le(e.q)||(e.M=(e.q-1)*3+1),Le(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),Le(e.u)||(e.S=_m(e.u)),[Object.keys(e).reduce((o,a)=>{const i=t(a);return i&&(o[i]=e[a]),o},{}),n,r]}let Mu=null;function Y8(){return Mu||(Mu=Pe.fromMillis(1555555555555)),Mu}function J8(e,t){if(e.literal)return e;const n=Wt.macroTokenToFormatOpts(e.val),r=Iv(n,t);return r==null||r.includes(void 0)?e:r}function Dv(e,t){return Array.prototype.concat(...e.map(n=>J8(n,t)))}function Pv(e,t,n){const r=Dv(Wt.parseFormat(n),e),s=r.map(a=>j8(a,e)),o=s.find(a=>a.invalidReason);if(o)return{input:t,tokens:r,invalidReason:o.invalidReason};{const[a,i]=K8(s),l=RegExp(a,"i"),[c,m]=G8(t,l,i),[d,f,p]=m?Z8(m):[null,null,void 0];if(lo(m,"a")&&lo(m,"H"))throw new js("Can't include meridiem when specifying 24-hour format");return{input:t,tokens:r,regex:l,rawMatches:c,matches:m,result:d,zone:f,specificOffset:p}}}function X8(e,t,n){const{result:r,zone:s,specificOffset:o,invalidReason:a}=Pv(e,t,n);return[r,s,o,a]}function Iv(e,t){if(!e)return null;const r=Wt.create(t,e).dtFormatter(Y8()),s=r.formatToParts(),o=r.resolvedOptions();return s.map(a=>W8(a,e,o))}const Vu="Invalid DateTime",Hp=864e13;function ii(e){return new qn("unsupported zone",`the zone "${e.name}" is not supported`)}function Hu(e){return e.weekData===null&&(e.weekData=bl(e.c)),e.weekData}function Bu(e){return e.localWeekData===null&&(e.localWeekData=bl(e.c,e.loc.getMinDaysInFirstWeek(),e.loc.getStartOfWeek())),e.localWeekData}function is(e,t){const n={ts:e.ts,zone:e.zone,c:e.c,o:e.o,loc:e.loc,invalid:e.invalid};return new Pe({...n,...t,old:n})}function Fv(e,t,n){let r=e-t*60*1e3;const s=n.offset(r);if(t===s)return[r,t];r-=(s-t)*60*1e3;const o=n.offset(r);return s===o?[r,s]:[e-Math.min(s,o)*60*1e3,Math.max(s,o)]}function li(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 Qi(e,t,n){return Fv(lu(e),t,n)}function Bp(e,t){const n=e.o,r=e.c.year+Math.trunc(t.years),s=e.c.month+Math.trunc(t.months)+Math.trunc(t.quarters)*3,o={...e.c,year:r,month:s,day:Math.min(e.c.day,zl(r,s))+Math.trunc(t.days)+Math.trunc(t.weeks)*7},a=We.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=lu(o);let[l,c]=Fv(i,n,e.zone);return a!==0&&(l+=a,c=e.zone.offset(l)),{ts:l,o:c}}function Ao(e,t,n,r,s,o){const{setZone:a,zone:i}=n;if(e&&Object.keys(e).length!==0||t){const l=t||i,c=Pe.fromObject(e,{...n,zone:l,specificOffset:o});return a?c:c.setZone(i)}else return Pe.invalid(new qn("unparsable",`the input "${s}" can't be parsed as ${r}`))}function ui(e,t,n=!0){return e.isValid?Wt.create(ct.create("en-US"),{allowZ:n,forceSimple:!0}).formatDateTimeFromString(e,t):null}function Uu(e,t){const n=e.c.year>9999||e.c.year<0;let r="";return n&&e.c.year>=0&&(r+="+"),r+=Dt(e.c.year,n?6:4),t?(r+="-",r+=Dt(e.c.month),r+="-",r+=Dt(e.c.day)):(r+=Dt(e.c.month),r+=Dt(e.c.day)),r}function Up(e,t,n,r,s,o){let a=Dt(e.c.hour);return t?(a+=":",a+=Dt(e.c.minute),(e.c.millisecond!==0||e.c.second!==0||!n)&&(a+=":")):a+=Dt(e.c.minute),(e.c.millisecond!==0||e.c.second!==0||!n)&&(a+=Dt(e.c.second),(e.c.millisecond!==0||!r)&&(a+=".",a+=Dt(e.c.millisecond,3))),s&&(e.isOffsetFixed&&e.offset===0&&!o?a+="Z":e.o<0?(a+="-",a+=Dt(Math.trunc(-e.o/60)),a+=":",a+=Dt(Math.trunc(-e.o%60))):(a+="+",a+=Dt(Math.trunc(e.o/60)),a+=":",a+=Dt(Math.trunc(e.o%60)))),o&&(a+="["+e.zone.ianaName+"]"),a}const Rv={month:1,day:1,hour:0,minute:0,second:0,millisecond:0},Q8={weekNumber:1,weekday:1,hour:0,minute:0,second:0,millisecond:0},eT={ordinal:1,hour:0,minute:0,second:0,millisecond:0},Lv=["year","month","day","hour","minute","second","millisecond"],tT=["weekYear","weekNumber","weekday","hour","minute","second","millisecond"],nT=["year","ordinal","hour","minute","second","millisecond"];function rT(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 My(e);return t}function jp(e){switch(e.toLowerCase()){case"localweekday":case"localweekdays":return"localWeekday";case"localweeknumber":case"localweeknumbers":return"localWeekNumber";case"localweekyear":case"localweekyears":return"localWeekYear";default:return rT(e)}}function qp(e,t){const n=Vr(t.zone,Tt.defaultZone),r=ct.fromObject(t),s=Tt.now();let o,a;if(Le(e.year))o=s;else{for(const c of Lv)Le(e[c])&&(e[c]=Rv[c]);const i=uv(e)||cv(e);if(i)return Pe.invalid(i);const l=n.offset(s);[o,a]=Qi(e,l,n)}return new Pe({ts:o,zone:n,loc:r,o:a})}function Wp(e,t,n){const r=Le(n.round)?!0:n.round,s=(a,i)=>(a=gm(a,r||n.calendary?0:2,!0),t.loc.clone(n).relFormatter(n).format(a,i)),o=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 s(o(n.unit),n.unit);for(const a of n.units){const i=o(a);if(Math.abs(i)>=1)return s(i,a)}return s(e>t?-0:0,n.units[n.units.length-1])}function Kp(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 Pe{constructor(t){const n=t.zone||Tt.defaultZone;let r=t.invalid||(Number.isNaN(t.ts)?new qn("invalid input"):null)||(n.isValid?null:ii(n));this.ts=Le(t.ts)?Tt.now():t.ts;let s=null,o=null;if(!r)if(t.old&&t.old.ts===this.ts&&t.old.zone.equals(n))[s,o]=[t.old.c,t.old.o];else{const i=n.offset(this.ts);s=li(this.ts,i),r=Number.isNaN(s.year)?new qn("invalid input"):null,s=r?null:s,o=r?null:i}this._zone=n,this.loc=t.loc||ct.create(),this.invalid=r,this.weekData=null,this.localWeekData=null,this.c=s,this.o=o,this.isLuxonDateTime=!0}static now(){return new Pe({})}static local(){const[t,n]=Kp(arguments),[r,s,o,a,i,l,c]=n;return qp({year:r,month:s,day:o,hour:a,minute:i,second:l,millisecond:c},t)}static utc(){const[t,n]=Kp(arguments),[r,s,o,a,i,l,c]=n;return t.zone=Qt.utcInstance,qp({year:r,month:s,day:o,hour:a,minute:i,second:l,millisecond:c},t)}static fromJSDate(t,n={}){const r=DA(t)?t.valueOf():NaN;if(Number.isNaN(r))return Pe.invalid("invalid input");const s=Vr(n.zone,Tt.defaultZone);return s.isValid?new Pe({ts:r,zone:s,loc:ct.fromObject(n)}):Pe.invalid(ii(s))}static fromMillis(t,n={}){if(vs(t))return t<-Hp||t>Hp?Pe.invalid("Timestamp out of range"):new Pe({ts:t,zone:Vr(n.zone,Tt.defaultZone),loc:ct.fromObject(n)});throw new ln(`fromMillis requires a numerical input, but received a ${typeof t} with value ${t}`)}static fromSeconds(t,n={}){if(vs(t))return new Pe({ts:t*1e3,zone:Vr(n.zone,Tt.defaultZone),loc:ct.fromObject(n)});throw new ln("fromSeconds requires a numerical input")}static fromObject(t,n={}){t=t||{};const r=Vr(n.zone,Tt.defaultZone);if(!r.isValid)return Pe.invalid(ii(r));const s=ct.fromObject(n),o=Cl(t,jp),{minDaysInFirstWeek:a,startOfWeek:i}=Tp(o,s),l=Tt.now(),c=Le(n.specificOffset)?r.offset(l):n.specificOffset,m=!Le(o.ordinal),d=!Le(o.year),f=!Le(o.month)||!Le(o.day),p=d||f,h=o.weekYear||o.weekNumber;if((p||m)&&h)throw new js("Can't mix weekYear/weekNumber units with year/month/day or ordinals");if(f&&m)throw new js("Can't mix ordinal dates with month/day");const _=h||o.weekday&&!p;let b,w,C=li(l,c);_?(b=tT,w=Q8,C=bl(C,a,i)):m?(b=nT,w=eT,C=Nu(C)):(b=Lv,w=Rv);let z=!1;for(const M of b){const Z=o[M];Le(Z)?z?o[M]=w[M]:o[M]=C[M]:z=!0}const v=_?AA(o,a,i):m?TA(o):uv(o),S=v||cv(o);if(S)return Pe.invalid(S);const A=_?$p(o,a,i):m?Ap(o):o,[D,F]=Qi(A,c,r),P=new Pe({ts:D,zone:r,o:F,loc:s});return o.weekday&&p&&t.weekday!==P.weekday?Pe.invalid("mismatched weekday",`you can't specify both a weekday of ${o.weekday} and a date of ${P.toISO()}`):P}static fromISO(t,n={}){const[r,s]=z8(t);return Ao(r,s,n,"ISO 8601",t)}static fromRFC2822(t,n={}){const[r,s]=C8(t);return Ao(r,s,n,"RFC 2822",t)}static fromHTTP(t,n={}){const[r,s]=w8(t);return Ao(r,s,n,"HTTP",n)}static fromFormat(t,n,r={}){if(Le(t)||Le(n))throw new ln("fromFormat requires an input string and a format");const{locale:s=null,numberingSystem:o=null}=r,a=ct.fromOpts({locale:s,numberingSystem:o,defaultToEN:!0}),[i,l,c,m]=X8(a,t,n);return m?Pe.invalid(m):Ao(i,l,r,`format ${n}`,t,c)}static fromString(t,n,r={}){return Pe.fromFormat(t,n,r)}static fromSQL(t,n={}){const[r,s]=T8(t);return Ao(r,s,n,"SQL",t)}static invalid(t,n=null){if(!t)throw new ln("need to specify a reason the DateTime is invalid");const r=t instanceof qn?t:new qn(t,n);if(Tt.throwOnInvalid)throw new oA(r);return new Pe({invalid:r})}static isDateTime(t){return t&&t.isLuxonDateTime||!1}static parseFormatForOpts(t,n={}){const r=Iv(t,ct.fromObject(n));return r?r.map(s=>s?s.val:null).join(""):null}static expandFormat(t,n={}){return Dv(Wt.parseFormat(t),ct.fromObject(n)).map(s=>s.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?Hu(this).weekYear:NaN}get weekNumber(){return this.isValid?Hu(this).weekNumber:NaN}get weekday(){return this.isValid?Hu(this).weekday:NaN}get isWeekend(){return this.isValid&&this.loc.getWeekendDays().includes(this.weekday)}get localWeekday(){return this.isValid?Bu(this).weekday:NaN}get localWeekNumber(){return this.isValid?Bu(this).weekNumber:NaN}get localWeekYear(){return this.isValid?Bu(this).weekYear:NaN}get ordinal(){return this.isValid?Nu(this.c).ordinal:NaN}get monthShort(){return this.isValid?oi.months("short",{locObj:this.loc})[this.month-1]:null}get monthLong(){return this.isValid?oi.months("long",{locObj:this.loc})[this.month-1]:null}get weekdayShort(){return this.isValid?oi.weekdays("short",{locObj:this.loc})[this.weekday-1]:null}get weekdayLong(){return this.isValid?oi.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}getPossibleOffsets(){if(!this.isValid||this.isOffsetFixed)return[this];const t=864e5,n=6e4,r=lu(this.c),s=this.zone.offset(r-t),o=this.zone.offset(r+t),a=this.zone.offset(r-s*n),i=this.zone.offset(r-o*n);if(a===i)return[this];const l=r-a*n,c=r-i*n,m=li(l,a),d=li(c,i);return m.hour===d.hour&&m.minute===d.minute&&m.second===d.second&&m.millisecond===d.millisecond?[is(this,{ts:l}),is(this,{ts:c})]:[this]}get isInLeapYear(){return La(this.year)}get daysInMonth(){return zl(this.year,this.month)}get daysInYear(){return this.isValid?Js(this.year):NaN}get weeksInWeekYear(){return this.isValid?za(this.weekYear):NaN}get weeksInLocalWeekYear(){return this.isValid?za(this.localWeekYear,this.loc.getMinDaysInFirstWeek(),this.loc.getStartOfWeek()):NaN}resolvedLocaleOptions(t={}){const{locale:n,numberingSystem:r,calendar:s}=Wt.create(this.loc.clone(t),t).resolvedOptions(this);return{locale:n,numberingSystem:r,outputCalendar:s}}toUTC(t=0,n={}){return this.setZone(Qt.instance(t),n)}toLocal(){return this.setZone(Tt.defaultZone)}setZone(t,{keepLocalTime:n=!1,keepCalendarTime:r=!1}={}){if(t=Vr(t,Tt.defaultZone),t.equals(this.zone))return this;if(t.isValid){let s=this.ts;if(n||r){const o=t.offset(this.ts),a=this.toObject();[s]=Qi(a,o,t)}return is(this,{ts:s,zone:t})}else return Pe.invalid(ii(t))}reconfigure({locale:t,numberingSystem:n,outputCalendar:r}={}){const s=this.loc.clone({locale:t,numberingSystem:n,outputCalendar:r});return is(this,{loc:s})}setLocale(t){return this.reconfigure({locale:t})}set(t){if(!this.isValid)return this;const n=Cl(t,jp),{minDaysInFirstWeek:r,startOfWeek:s}=Tp(n,this.loc),o=!Le(n.weekYear)||!Le(n.weekNumber)||!Le(n.weekday),a=!Le(n.ordinal),i=!Le(n.year),l=!Le(n.month)||!Le(n.day),c=i||l,m=n.weekYear||n.weekNumber;if((c||a)&&m)throw new js("Can't mix weekYear/weekNumber units with year/month/day or ordinals");if(l&&a)throw new js("Can't mix ordinal dates with month/day");let d;o?d=$p({...bl(this.c,r,s),...n},r,s):Le(n.ordinal)?(d={...this.toObject(),...n},Le(n.day)&&(d.day=Math.min(zl(d.year,d.month),d.day))):d=Ap({...Nu(this.c),...n});const[f,p]=Qi(d,this.o,this.zone);return is(this,{ts:f,o:p})}plus(t){if(!this.isValid)return this;const n=We.fromDurationLike(t);return is(this,Bp(this,n))}minus(t){if(!this.isValid)return this;const n=We.fromDurationLike(t).negate();return is(this,Bp(this,n))}startOf(t,{useLocaleWeeks:n=!1}={}){if(!this.isValid)return this;const r={},s=We.normalizeUnit(t);switch(s){case"years":r.month=1;case"quarters":case"months":r.day=1;case"weeks":case"days":r.hour=0;case"hours":r.minute=0;case"minutes":r.second=0;case"seconds":r.millisecond=0;break}if(s==="weeks")if(n){const o=this.loc.getStartOfWeek(),{weekday:a}=this;a<o&&(r.weekNumber=this.weekNumber-1),r.weekday=o}else r.weekday=1;if(s==="quarters"){const o=Math.ceil(this.month/3);r.month=(o-1)*3+1}return this.set(r)}endOf(t,n){return this.isValid?this.plus({[t]:1}).startOf(t,n).minus(1):this}toFormat(t,n={}){return this.isValid?Wt.create(this.loc.redefaultToEN(n)).formatDateTimeFromString(this,t):Vu}toLocaleString(t=vl,n={}){return this.isValid?Wt.create(this.loc.clone(n),t).formatDateTime(this):Vu}toLocaleParts(t={}){return this.isValid?Wt.create(this.loc.clone(t),t).formatDateTimeParts(this):[]}toISO({format:t="extended",suppressSeconds:n=!1,suppressMilliseconds:r=!1,includeOffset:s=!0,extendedZone:o=!1}={}){if(!this.isValid)return null;const a=t==="extended";let i=Uu(this,a);return i+="T",i+=Up(this,a,n,r,s,o),i}toISODate({format:t="extended"}={}){return this.isValid?Uu(this,t==="extended"):null}toISOWeekDate(){return ui(this,"kkkk-'W'WW-c")}toISOTime({suppressMilliseconds:t=!1,suppressSeconds:n=!1,includeOffset:r=!0,includePrefix:s=!1,extendedZone:o=!1,format:a="extended"}={}){return this.isValid?(s?"T":"")+Up(this,a==="extended",n,t,r,o):null}toRFC2822(){return ui(this,"EEE, dd LLL yyyy HH:mm:ss ZZZ",!1)}toHTTP(){return ui(this.toUTC(),"EEE, dd LLL yyyy HH:mm:ss 'GMT'")}toSQLDate(){return this.isValid?Uu(this,!0):null}toSQLTime({includeOffset:t=!0,includeZone:n=!1,includeOffsetSpace:r=!0}={}){let s="HH:mm:ss.SSS";return(n||t)&&(r&&(s+=" "),n?s+="z":t&&(s+="ZZ")),ui(this,s,!0)}toSQL(t={}){return this.isValid?`${this.toSQLDate()} ${this.toSQLTime(t)}`:null}toString(){return this.isValid?this.toISO():Vu}[Symbol.for("nodejs.util.inspect.custom")](){return this.isValid?`DateTime { ts: ${this.toISO()}, zone: ${this.zone.name}, locale: ${this.locale} }`:`DateTime { Invalid, reason: ${this.invalidReason} }`}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 We.invalid("created by diffing an invalid DateTime");const s={locale:this.locale,numberingSystem:this.numberingSystem,...r},o=PA(n).map(We.normalizeUnit),a=t.valueOf()>this.valueOf(),i=a?this:t,l=a?t:this,c=L8(i,l,o,s);return a?c.negate():c}diffNow(t="milliseconds",n={}){return this.diff(Pe.now(),t,n)}until(t){return this.isValid?Et.fromDateTimes(this,t):this}hasSame(t,n,r){if(!this.isValid)return!1;const s=t.valueOf(),o=this.setZone(t.zone,{keepLocalTime:!0});return o.startOf(n,r)<=s&&s<=o.endOf(n,r)}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||Pe.fromObject({},{zone:this.zone}),r=t.padding?this<n?-t.padding:t.padding:0;let s=["years","months","days","hours","minutes","seconds"],o=t.unit;return Array.isArray(t.unit)&&(s=t.unit,o=void 0),Wp(n,this.plus(r),{...t,numeric:"always",units:s,unit:o})}toRelativeCalendar(t={}){return this.isValid?Wp(t.base||Pe.fromObject({},{zone:this.zone}),this,{...t,numeric:"auto",units:["years","months","days"],calendary:!0}):null}static min(...t){if(!t.every(Pe.isDateTime))throw new ln("min requires all arguments be DateTimes");return Op(t,n=>n.valueOf(),Math.min)}static max(...t){if(!t.every(Pe.isDateTime))throw new ln("max requires all arguments be DateTimes");return Op(t,n=>n.valueOf(),Math.max)}static fromFormatExplain(t,n,r={}){const{locale:s=null,numberingSystem:o=null}=r,a=ct.fromOpts({locale:s,numberingSystem:o,defaultToEN:!0});return Pv(a,t,n)}static fromStringExplain(t,n,r={}){return Pe.fromFormatExplain(t,n,r)}static get DATE_SHORT(){return vl}static get DATE_MED(){return Vy}static get DATE_MED_WITH_WEEKDAY(){return lA}static get DATE_FULL(){return Hy}static get DATE_HUGE(){return By}static get TIME_SIMPLE(){return Uy}static get TIME_WITH_SECONDS(){return jy}static get TIME_WITH_SHORT_OFFSET(){return qy}static get TIME_WITH_LONG_OFFSET(){return Wy}static get TIME_24_SIMPLE(){return Ky}static get TIME_24_WITH_SECONDS(){return Gy}static get TIME_24_WITH_SHORT_OFFSET(){return Zy}static get TIME_24_WITH_LONG_OFFSET(){return Yy}static get DATETIME_SHORT(){return Jy}static get DATETIME_SHORT_WITH_SECONDS(){return Xy}static get DATETIME_MED(){return Qy}static get DATETIME_MED_WITH_SECONDS(){return ev}static get DATETIME_MED_WITH_WEEKDAY(){return uA}static get DATETIME_FULL(){return tv}static get DATETIME_FULL_WITH_SECONDS(){return nv}static get DATETIME_HUGE(){return rv}static get DATETIME_HUGE_WITH_SECONDS(){return sv}}function To(e){if(Pe.isDateTime(e))return e;if(e&&e.valueOf&&vs(e.valueOf()))return Pe.fromJSDate(e);if(e&&typeof e=="object")return Pe.fromObject(e);throw new ln(`Unknown datetime argument: ${e}, of type ${typeof e}`)}const{t:ju,locale:qu}=ou.global,sT={durationInHours(e){const t=e>=36e5?"h:mm:ss":"m:ss";return We.fromMillis(e).toFormat(t)},durationInDays(e){const t=Math.floor(e/6e4);return t>1440?We.fromObject({minutes:t}).shiftTo("days","hours","minutes").toHuman():t>60?We.fromObject({minutes:t}).shiftTo("hours","minutes").toHuman():We.fromObject({minutes:t}).shiftTo("minutes").toHuman()},date(e){return Pe.fromISO(e).setLocale(qu.value).toLocaleString(Pe.DATE_FULL)},datetime(e){return Pe.fromISO(e).setLocale(qu.value).toLocaleString(Pe.DATETIME_MED)},timeFromNow(e){const t=Pe.now().diff(Pe.fromISO(e));return this.durationInDays(t.as("milliseconds"))},number(e){return e.toLocaleString(qu.value)},channels(e){return e===1?ju("filter.mono"):e===2?ju("filter.stereo"):e?ju("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`}},oT={mdiAccountMusic:YC,mdiAlbum:JC,mdiArrowCollapseDown:QC,mdiBookOpenPageVariant:ew,mdiBookOpenVariant:tw,mdiBookshelf:nw,mdiBroadcast:rw,mdiCancel:Yl,mdiCast:sw,mdiCastVariant:ow,mdiCellphone:aw,mdiCheck:iw,mdiChevronDown:lw,mdiChevronUp:uw,mdiContentSave:cw,mdiDelete:dw,mdiDeleteEmpty:mw,mdiDotsHorizontal:fw,mdiDotsVertical:pw,mdiDragHorizontal:hw,mdiFastForward30:_w,mdiFileMusic:gw,mdiFileOutline:yw,mdiFire:vw,mdiFolder:bw,mdiFolderOpen:zw,mdiHistory:Cw,mdiMagnify:ww,mdiMenu:kw,mdiMicrophone:xw,mdiMusic:Ew,mdiMusicBoxMultiple:Sw,mdiOpenInNew:$w,mdiPause:Aw,mdiPencil:Tw,mdiPipe:Ow,mdiPlay:Dw,mdiPlaylistPlay:Pw,mdiPlaylistPlus:Iw,mdiRadio:Fw,mdiRadioTower:Rw,mdiRefresh:Lw,mdiRepeat:Nw,mdiRepeatOff:Mw,mdiRepeatOnce:Vw,mdiRewind10:Hw,mdiRss:Bw,mdiScriptTextOutline:Uw,mdiScriptTextPlay:jw,mdiServer:qw,mdiShuffle:Ww,mdiShuffleDisabled:Kw,mdiSkipBackward:Gw,mdiSkipForward:Zw,mdiSpeaker:Yw,mdiSpotify:Jw,mdiStop:Xw,mdiSubdirectoryArrowLeft:Qw,mdiVolumeHigh:ek,mdiVolumeOff:tk,mdiWeb:nk},aT={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}},iT=e=>e.charAt(0).toUpperCase()+e.slice(1),lT=e=>e.split("-").map(iT).join(""),uT=(e,t,n)=>{const r=e[`mdi${lT(t.name)}`]||XC,s={role:t.role,"aria-label":t.ariaLabel,...n},o={fill:"currentColor",width:t.width||t.size,height:t.height||t.size,viewBox:t.viewBox,xmlns:t.xmlns};return{spanAttrs:s,svgAttrs:o,pathAttrs:{d:r}}},cT=(e,t)=>({[t.staticClass||""]:!0,[t.class||""]:!0,[`mdi mdi-${e.name}`]:!0,"mdi-spin":e.spin===!0}),dT=(e,t={})=>({install(n,{icons:r}){if(r===void 0)throw new Error("Icons must be provided separately");n.component("mdicon",{name:"MDIcon",props:aT,...t,render:e(r)})}}),mT=e=>function(){const{spanAttrs:n,svgAttrs:r,pathAttrs:s}=uT(e,this,this.$attrs);return nr("span",{...n,class:cT(this,this)},[nr("svg",r,[this.title?nr("title",[this.title]):void 0,nr("path",s)])])},fT=dT(mT),Nv=function(){return document.ontouchstart!==null?"click":"touchstart"},wl="__vue_click_away__",Mv=function(e,t,n){Vv(e);let r=n.context,s=t.value,o=!1;setTimeout(function(){o=!0},0),e[wl]=function(a){if((!e||!e.contains(a.target))&&s&&o&&typeof s=="function")return s.call(r,a)},document.addEventListener(Nv(),e[wl],!1)},Vv=function(e){document.removeEventListener(Nv(),e[wl],!1),delete e[wl]},pT=function(e,t,n){t.value!==t.oldValue&&Mv(e,t,n)},hT={install:function(e){e.directive("click-away",_T)}},_T={mounted:Mv,updated:pT,unmounted:Vv};var Qn=(e=>(e.LOADING="loading",e.LOADED="loaded",e.ERROR="error",e))(Qn||{});const gT=typeof window<"u"&&window!==null,yT=CT(),vT=Object.prototype.propertyIsEnumerable,Gp=Object.getOwnPropertySymbols;function ea(e){return typeof e=="function"||toString.call(e)==="[object Object]"}function bT(e){return typeof e=="object"?e===null:typeof e!="function"}function zT(e){return e!=="__proto__"&&e!=="constructor"&&e!=="prototype"}function CT(){return gT&&"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 wT(e,...t){if(!ea(e))throw new TypeError("expected the first argument to be an object");if(t.length===0||typeof Symbol!="function"||typeof Gp!="function")return e;for(const n of t){const r=Gp(n);for(const s of r)vT.call(n,s)&&(e[s]=n[s])}return e}function Hv(e,...t){let n=0;for(bT(e)&&(e=t[n++]),e||(e={});n<t.length;n++)if(ea(t[n])){for(const r of Object.keys(t[n]))zT(r)&&(ea(e[r])&&ea(t[n][r])?Hv(e[r],t[n][r]):e[r]=t[n][r]);wT(e,t[n])}return e}const Zp="data:image/gif;base64,R0lGODlhAQABAIAAAAAAAP///yH5BAEAAAAALAAAAAABAAEAAAIBRAA7",kT="",xT={rootMargin:"0px",threshold:0},Is="data-lazy-timeout-id";class ET{constructor(t){this.options={loading:Zp,error:kT,observerOptions:xT,log:!0,lifecycle:{},logLevel:"error"},this._images=new WeakMap,this.config(t)}config(t={}){Hv(this.options,t)}mount(t,n){if(!t)return;const{src:r,loading:s,error:o,lifecycle:a,delay:i}=this._valueFormatter(typeof n=="string"?n:n.value);this._lifecycle(Qn.LOADING,a,t),t.setAttribute("src",s||Zp),yT||(this.loadImages(t,r,o,a),this._log(()=>{this._logger("Not support IntersectionObserver!")})),this._initIntersectionObserver(t,r,o,a,i)}update(t,n){var i;if(!t)return;(i=this._realObserver(t))==null||i.unobserve(t);const{src:r,error:s,lifecycle:o,delay:a}=this._valueFormatter(typeof n=="string"?n:n.value);this._initIntersectionObserver(t,r,s,o,a)}unmount(t){var n;t&&((n=this._realObserver(t))==null||n.unobserve(t),this._images.delete(t))}loadImages(t,n,r,s){this._setImageSrc(t,n,r,s)}_setImageSrc(t,n,r,s){t.tagName.toLowerCase()==="img"?(n&&t.getAttribute("src")!==n&&t.setAttribute("src",n),this._listenImageStatus(t,()=>{this._lifecycle(Qn.LOADED,s,t)},()=>{var o;t.onload=null,this._lifecycle(Qn.ERROR,s,t),(o=this._realObserver(t))==null||o.disconnect(),r&&t.getAttribute("src")!==r&&t.setAttribute("src",r),this._log(()=>{this._logger(`Image failed to load!And failed src was: ${n} `)})})):t.style.backgroundImage=`url('${n}')`}_initIntersectionObserver(t,n,r,s,o){var i;const a=this.options.observerOptions;this._images.set(t,new IntersectionObserver(l=>{Array.prototype.forEach.call(l,c=>{o&&o>0?this._delayedIntersectionCallback(t,c,o,n,r,s):this._intersectionCallback(t,c,n,r,s)})},a)),(i=this._realObserver(t))==null||i.observe(t)}_intersectionCallback(t,n,r,s,o){var a;n.isIntersecting&&((a=this._realObserver(t))==null||a.unobserve(n.target),this._setImageSrc(t,r,s,o))}_delayedIntersectionCallback(t,n,r,s,o,a){if(n.isIntersecting){if(n.target.hasAttribute(Is))return;const i=setTimeout(()=>{this._intersectionCallback(t,n,s,o,a),n.target.removeAttribute(Is)},r);n.target.setAttribute(Is,String(i))}else n.target.hasAttribute(Is)&&(clearTimeout(Number(n.target.getAttribute(Is))),n.target.removeAttribute(Is))}_listenImageStatus(t,n,r){t.onload=n,t.onerror=r}_valueFormatter(t){let n=t,r=this.options.loading,s=this.options.error,o=this.options.lifecycle,a=this.options.delay;return ea(t)&&(n=t.src,r=t.loading||this.options.loading,s=t.error||this.options.error,o=t.lifecycle||this.options.lifecycle,a=t.delay||this.options.delay),{src:n,loading:r,error:s,lifecycle:o,delay:a}}_log(t){this.options.log&&t()}_lifecycle(t,n,r){switch(t){case Qn.LOADING:r==null||r.setAttribute("lazy",Qn.LOADING),n!=null&&n.loading&&n.loading(r);break;case Qn.LOADED:r==null||r.setAttribute("lazy",Qn.LOADED),n!=null&&n.loaded&&n.loaded(r);break;case Qn.ERROR:r==null||r.setAttribute("lazy",Qn.ERROR),n!=null&&n.error&&n.error(r);break}}_realObserver(t){return this._images.get(t)}_logger(t,...n){let r=console.error;switch(this.options.logLevel){case"error":r=console.error;break;case"warn":r=console.warn;break;case"info":r=console.info;break;case"debug":r=console.debug;break}r(t,n)}}const ST={install(e,t){const n=new ET(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 Bv={exports:{}};const Uv=Ly(gC);(function(e){e.exports=function(t){var n={};function r(s){if(n[s])return n[s].exports;var o=n[s]={i:s,l:!1,exports:{}};return t[s].call(o.exports,o,o.exports,r),o.l=!0,o.exports}return r.m=t,r.c=n,r.d=function(s,o,a){r.o(s,o)||Object.defineProperty(s,o,{enumerable:!0,get:a})},r.r=function(s){typeof Symbol<"u"&&Symbol.toStringTag&&Object.defineProperty(s,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(s,"__esModule",{value:!0})},r.t=function(s,o){if(o&1&&(s=r(s)),o&8||o&4&&typeof s=="object"&&s&&s.__esModule)return s;var a=Object.create(null);if(r.r(a),Object.defineProperty(a,"default",{enumerable:!0,value:s}),o&2&&typeof s!="string")for(var i in s)r.d(a,i,(function(l){return s[l]}).bind(null,i));return a},r.n=function(s){var o=s&&s.__esModule?function(){return s.default}:function(){return s};return r.d(o,"a",o),o},r.o=function(s,o){return Object.prototype.hasOwnProperty.call(s,o)},r.p="",r(r.s="fb15")}({8875:function(t,n,r){var s,o,a;(function(i,l){o=[],s=l,a=typeof s=="function"?s.apply(n,o):s,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(v){var c=/.*at [^(]*\((.*):(.+):(.+)\)$/ig,m=/@([^@]*):(\d+):(\d+)\s*$/ig,d=c.exec(v.stack)||m.exec(v.stack),f=d&&d[1]||!1,p=d&&d[2]||!1,h=document.location.href.replace(document.location.hash,""),_,b,w,C=document.getElementsByTagName("script");f===h&&(_=document.documentElement.outerHTML,b=new RegExp("(?:[^\\n]+?\\n){0,"+(p-2)+"}[^<]*<script>([\\d\\D]*?)<\\/script>[\\d\\D]*","i"),w=_.replace(b,"$1").trim());for(var z=0;z<C.length;z++)if(C[z].readyState==="interactive"||C[z].src===f||f===h&&C[z].innerHTML&&C[z].innerHTML.trim()===w)return C[z];return null}}return i})},"8bbf":function(t,n){t.exports=Uv},fb15:function(t,n,r){if(r.r(n),typeof window<"u"){var s=window.document.currentScript;{var o=r("8875");s=o(),"currentScript"in document||Object.defineProperty(document,"currentScript",{get:o})}var a=s&&s.src.match(/(.+\/)[^/]+\.js(\?.*)?$/);a&&(r.p=a[1])}var i=r("8bbf");function l(h,_,b,w,C,z){return Object(i.openBlock)(),Object(i.createBlock)("div",{style:w.finalStyle},null,4)}var c=typeof window<"u",m={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}},b=Object(i.computed)(function(){var w=_.options,C=!!w.show,z=w.location,v={"z-index":999999,"background-color":w.canSuccess?w.color:w.failedColor,opacity:w.show?1:0,position:w.position};return z==="top"||z==="bottom"?(z==="top"?v.top="0px":v.bottom="0px",w.inverse?v.right="0px":v.left="0px",v.width=_.percent+"%",v.height=w.thickness,v.transition=(C?"width "+w.transition.speed+", ":"")+"opacity "+w.transition.opacity):(z==="left"||z==="right")&&(z==="left"?v.left="0px":v.right="0px",w.inverse?v.top="0px":v.bottom="0px",v.height=_.percent+"%",v.width=w.thickness,v.transition=(C?"height "+w.transition.speed+", ":"")+"opacity "+w.transition.opacity),v});return{progress:_,finalStyle:b}}};m.render=l;var d=m;function f(h,_){for(var b=1,w,C;b<arguments.length;++b){C=arguments[b];for(w in C)Object.prototype.hasOwnProperty.call(C,w)&&(h[w]=C[w])}return h}var p={install:function(_,b){var w={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},C=f(w,b),z=Object(i.reactive)({percent:0,options:C});_.provide("RADON_LOADING_BAR",z);var v={state:{tFailColor:"",tColor:"",timer:null,cut:0},start:function(A){var D=this;A||(A=3e3),z.percent=0,z.options.show=!0,z.options.canSuccess=!0,this.state.cut=1e4/Math.floor(A),clearInterval(this.state.timer),this.state.timer=setInterval(function(){D.increase(D.state.cut*Math.random()),z.percent>95&&z.options.autoFinish&&D.finish()},100)},set:function(A){z.options.show=!0,z.options.canSuccess=!0,z.percent=Math.floor(A)},get:function(){return Math.floor(z.percent)},increase:function(A){z.percent=Math.min(99,z.percent+Math.floor(A))},decrease:function(A){z.percent=z.percent-Math.floor(A)},hide:function(){var A=this;clearInterval(this.state.timer),this.state.timer=null,setTimeout(function(){z.options.show=!1,Object(i.nextTick)(function(){setTimeout(function(){z.percent=0},100),z.options.autoRevert&&setTimeout(function(){A.revert()},300)})},z.options.transition.termination)},pause:function(){clearInterval(this.state.timer)},finish:function(){z.percent=100,this.hide()},fail:function(){z.options.canSuccess=!1,z.percent=100,this.hide()},setFailColor:function(A){z.options.failedColor=A},setColor:function(A){z.options.color=A},setLocation:function(A){z.options.location=A},setTransition:function(A){z.options.transition=A},tempFailColor:function(A){this.state.tFailColor=z.options.failedColor,z.options.failedColor=A},tempColor:function(A){this.state.tColor=z.options.color,z.options.color=A},tempLocation:function(A){this.state.tLocation=z.options.location,z.options.location=A},tempTransition:function(A){this.state.tTransition=z.options.transition,z.options.transition=A},revertColor:function(){z.options.color=this.state.tColor,this.state.tColor=""},revertFailColor:function(){z.options.failedColor=this.state.tFailColor,this.state.tFailColor=""},revertLocation:function(){z.options.location=this.state.tLocation,this.state.tLocation=""},revertTransition:function(){z.options.transition=this.state.tTransition,this.state.tTransition={}},revert:function(){z.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(A){for(var D in A.func){var F=A.func[D];switch(F.call){case"color":switch(F.modifier){case"set":this.setColor(F.argument);break;case"temp":this.tempColor(F.argument);break}break;case"fail":switch(F.modifier){case"set":this.setFailColor(F.argument);break;case"temp":this.tempFailColor(F.argument);break}break;case"location":switch(F.modifier){case"set":this.setLocation(F.argument);break;case"temp":this.tempLocation(F.argument);break}break;case"transition":switch(F.modifier){case"set":this.setTransition(F.argument);break;case"temp":this.tempTransition(F.argument);break}break}}}};_.component("vue-progress-bar",d),_.config.globalProperties.$Progress=v}};n.default=p}})})(Bv);var $T=Bv.exports;const AT=Fa($T);/*!
* vue-router v4.2.5
* (c) 2023 Eduardo San Martin Morote
* @license MIT
*/const Vs=typeof window<"u";function TT(e){return e.__esModule||e[Symbol.toStringTag]==="Module"}const it=Object.assign;function Wu(e,t){const n={};for(const r in t){const s=t[r];n[r]=Zn(s)?s.map(e):e(s)}return n}const ta=()=>{},Zn=Array.isArray,OT=/\/$/,DT=e=>e.replace(OT,"");function Ku(e,t,n="/"){let r,s={},o="",a="";const i=t.indexOf("#");let l=t.indexOf("?");return i<l&&i>=0&&(l=-1),l>-1&&(r=t.slice(0,l),o=t.slice(l+1,i>-1?i:t.length),s=e(o)),i>-1&&(r=r||t.slice(0,i),a=t.slice(i,t.length)),r=RT(r??t,n),{fullPath:r+(o&&"?")+o+a,path:r,query:s,hash:a}}function PT(e,t){const n=t.query?e(t.query):"";return t.path+(n&&"?")+n+(t.hash||"")}function Yp(e,t){return!t||!e.toLowerCase().startsWith(t.toLowerCase())?e:e.slice(t.length)||"/"}function IT(e,t,n){const r=t.matched.length-1,s=n.matched.length-1;return r>-1&&r===s&&uo(t.matched[r],n.matched[s])&&jv(t.params,n.params)&&e(t.query)===e(n.query)&&t.hash===n.hash}function uo(e,t){return(e.aliasOf||e)===(t.aliasOf||t)}function jv(e,t){if(Object.keys(e).length!==Object.keys(t).length)return!1;for(const n in e)if(!FT(e[n],t[n]))return!1;return!0}function FT(e,t){return Zn(e)?Jp(e,t):Zn(t)?Jp(t,e):e===t}function Jp(e,t){return Zn(t)?e.length===t.length&&e.every((n,r)=>n===t[r]):e.length===1&&e[0]===t}function RT(e,t){if(e.startsWith("/"))return e;if(!e)return t;const n=t.split("/"),r=e.split("/"),s=r[r.length-1];(s===".."||s===".")&&r.push("");let o=n.length-1,a,i;for(a=0;a<r.length;a++)if(i=r[a],i!==".")if(i==="..")o>1&&o--;else break;return n.slice(0,o).join("/")+"/"+r.slice(a-(a===r.length?1:0)).join("/")}var Ca;(function(e){e.pop="pop",e.push="push"})(Ca||(Ca={}));var na;(function(e){e.back="back",e.forward="forward",e.unknown=""})(na||(na={}));function LT(e){if(!e)if(Vs){const t=document.querySelector("base");e=t&&t.getAttribute("href")||"/",e=e.replace(/^\w+:\/\/[^\/]+/,"")}else e="/";return e[0]!=="/"&&e[0]!=="#"&&(e="/"+e),DT(e)}const NT=/^[^#]+#/;function MT(e,t){return e.replace(NT,"#")+t}function VT(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 du=()=>({left:window.pageXOffset,top:window.pageYOffset});function HT(e){let t;if("el"in e){const n=e.el,r=typeof n=="string"&&n.startsWith("#"),s=typeof n=="string"?r?document.getElementById(n.slice(1)):document.querySelector(n):n;if(!s)return;t=VT(s,e)}else t=e;"scrollBehavior"in document.documentElement.style?window.scrollTo(t):window.scrollTo(t.left!=null?t.left:window.pageXOffset,t.top!=null?t.top:window.pageYOffset)}function Xp(e,t){return(history.state?history.state.position-t:-1)+e}const Qc=new Map;function BT(e,t){Qc.set(e,t)}function UT(e){const t=Qc.get(e);return Qc.delete(e),t}let jT=()=>location.protocol+"//"+location.host;function qv(e,t){const{pathname:n,search:r,hash:s}=t,o=e.indexOf("#");if(o>-1){let i=s.includes(e.slice(o))?e.slice(o).length:1,l=s.slice(i);return l[0]!=="/"&&(l="/"+l),Yp(l,"")}return Yp(n,e)+r+s}function qT(e,t,n,r){let s=[],o=[],a=null;const i=({state:f})=>{const p=qv(e,location),h=n.value,_=t.value;let b=0;if(f){if(n.value=p,t.value=f,a&&a===h){a=null;return}b=_?f.position-_.position:0}else r(p);s.forEach(w=>{w(n.value,h,{delta:b,type:Ca.pop,direction:b?b>0?na.forward:na.back:na.unknown})})};function l(){a=n.value}function c(f){s.push(f);const p=()=>{const h=s.indexOf(f);h>-1&&s.splice(h,1)};return o.push(p),p}function m(){const{history:f}=window;f.state&&f.replaceState(it({},f.state,{scroll:du()}),"")}function d(){for(const f of o)f();o=[],window.removeEventListener("popstate",i),window.removeEventListener("beforeunload",m)}return window.addEventListener("popstate",i),window.addEventListener("beforeunload",m,{passive:!0}),{pauseListeners:l,listen:c,destroy:d}}function Qp(e,t,n,r=!1,s=!1){return{back:e,current:t,forward:n,replaced:r,position:window.history.length,scroll:s?du():null}}function WT(e){const{history:t,location:n}=window,r={value:qv(e,n)},s={value:t.state};s.value||o(r.value,{back:null,current:r.value,forward:null,position:t.length-1,replaced:!0,scroll:null},!0);function o(l,c,m){const d=e.indexOf("#"),f=d>-1?(n.host&&document.querySelector("base")?e:e.slice(d))+l:jT()+e+l;try{t[m?"replaceState":"pushState"](c,"",f),s.value=c}catch(p){console.error(p),n[m?"replace":"assign"](f)}}function a(l,c){const m=it({},t.state,Qp(s.value.back,l,s.value.forward,!0),c,{position:s.value.position});o(l,m,!0),r.value=l}function i(l,c){const m=it({},s.value,t.state,{forward:l,scroll:du()});o(m.current,m,!0);const d=it({},Qp(r.value,l,null),{position:m.position+1},c);o(l,d,!1),r.value=l}return{location:r,state:s,push:i,replace:a}}function KT(e){e=LT(e);const t=WT(e),n=qT(e,t.state,t.location,t.replace);function r(o,a=!0){a||n.pauseListeners(),history.go(o)}const s=it({location:"",base:e,go:r,createHref:MT.bind(null,e)},t,n);return Object.defineProperty(s,"location",{enumerable:!0,get:()=>t.location.value}),Object.defineProperty(s,"state",{enumerable:!0,get:()=>t.state.value}),s}function GT(e){return e=location.host?e||location.pathname+location.search:"",e.includes("#")||(e+="#"),KT(e)}function ZT(e){return typeof e=="string"||e&&typeof e=="object"}function Wv(e){return typeof e=="string"||typeof e=="symbol"}const Dr={path:"/",name:void 0,params:{},query:{},hash:"",fullPath:"/",matched:[],meta:{},redirectedFrom:void 0},Kv=Symbol("");var eh;(function(e){e[e.aborted=4]="aborted",e[e.cancelled=8]="cancelled",e[e.duplicated=16]="duplicated"})(eh||(eh={}));function co(e,t){return it(new Error,{type:e,[Kv]:!0},t)}function mr(e,t){return e instanceof Error&&Kv in e&&(t==null||!!(e.type&t))}const th="[^/]+?",YT={sensitive:!1,strict:!1,start:!0,end:!0},JT=/[.+*?^${}()[\]/\\]/g;function XT(e,t){const n=it({},YT,t),r=[];let s=n.start?"^":"";const o=[];for(const c of e){const m=c.length?[]:[90];n.strict&&!c.length&&(s+="/");for(let d=0;d<c.length;d++){const f=c[d];let p=40+(n.sensitive?.25:0);if(f.type===0)d||(s+="/"),s+=f.value.replace(JT,"\\$&"),p+=40;else if(f.type===1){const{value:h,repeatable:_,optional:b,regexp:w}=f;o.push({name:h,repeatable:_,optional:b});const C=w||th;if(C!==th){p+=10;try{new RegExp(`(${C})`)}catch(v){throw new Error(`Invalid custom RegExp for param "${h}" (${C}): `+v.message)}}let z=_?`((?:${C})(?:/(?:${C}))*)`:`(${C})`;d||(z=b&&c.length<2?`(?:/${z})`:"/"+z),b&&(z+="?"),s+=z,p+=20,b&&(p+=-8),_&&(p+=-20),C===".*"&&(p+=-50)}m.push(p)}r.push(m)}if(n.strict&&n.end){const c=r.length-1;r[c][r[c].length-1]+=.7000000000000001}n.strict||(s+="/?"),n.end?s+="$":n.strict&&(s+="(?:/|$)");const a=new RegExp(s,n.sensitive?"":"i");function i(c){const m=c.match(a),d={};if(!m)return null;for(let f=1;f<m.length;f++){const p=m[f]||"",h=o[f-1];d[h.name]=p&&h.repeatable?p.split("/"):p}return d}function l(c){let m="",d=!1;for(const f of e){(!d||!m.endsWith("/"))&&(m+="/"),d=!1;for(const p of f)if(p.type===0)m+=p.value;else if(p.type===1){const{value:h,repeatable:_,optional:b}=p,w=h in c?c[h]:"";if(Zn(w)&&!_)throw new Error(`Provided param "${h}" is an array but it is not repeatable (* or + modifiers)`);const C=Zn(w)?w.join("/"):w;if(!C)if(b)f.length<2&&(m.endsWith("/")?m=m.slice(0,-1):d=!0);else throw new Error(`Missing required param "${h}"`);m+=C}}return m||"/"}return{re:a,score:r,keys:o,parse:i,stringify:l}}function QT(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]===80?-1:1:e.length>t.length?t.length===1&&t[0]===80?1:-1:0}function eO(e,t){let n=0;const r=e.score,s=t.score;for(;n<r.length&&n<s.length;){const o=QT(r[n],s[n]);if(o)return o;n++}if(Math.abs(s.length-r.length)===1){if(nh(r))return 1;if(nh(s))return-1}return s.length-r.length}function nh(e){const t=e[e.length-1];return e.length>0&&t[t.length-1]<0}const tO={type:0,value:""},nO=/[a-zA-Z0-9_]/;function rO(e){if(!e)return[[]];if(e==="/")return[[tO]];if(!e.startsWith("/"))throw new Error(`Invalid path "${e}"`);function t(p){throw new Error(`ERR (${n})/"${c}": ${p}`)}let n=0,r=n;const s=[];let o;function a(){o&&s.push(o),o=[]}let i=0,l,c="",m="";function d(){c&&(n===0?o.push({type:0,value:c}):n===1||n===2||n===3?(o.length>1&&(l==="*"||l==="+")&&t(`A repeatable param (${c}) must be alone in its segment. eg: '/:ids+.`),o.push({type:1,value:c,regexp:m,repeatable:l==="*"||l==="+",optional:l==="*"||l==="?"})):t("Invalid state to consume buffer"),c="")}function f(){c+=l}for(;i<e.length;){if(l=e[i++],l==="\\"&&n!==2){r=n,n=4;continue}switch(n){case 0:l==="/"?(c&&d(),a()):l===":"?(d(),n=1):f();break;case 4:f(),n=r;break;case 1:l==="("?n=2:nO.test(l)?f():(d(),n=0,l!=="*"&&l!=="?"&&l!=="+"&&i--);break;case 2:l===")"?m[m.length-1]=="\\"?m=m.slice(0,-1)+l:n=3:m+=l;break;case 3:d(),n=0,l!=="*"&&l!=="?"&&l!=="+"&&i--,m="";break;default:t("Unknown state");break}}return n===2&&t(`Unfinished custom RegExp for param "${c}"`),d(),a(),s}function sO(e,t,n){const r=XT(rO(e.path),n),s=it(r,{record:e,parent:t,children:[],alias:[]});return t&&!s.record.aliasOf==!t.record.aliasOf&&t.children.push(s),s}function oO(e,t){const n=[],r=new Map;t=oh({strict:!1,end:!0,sensitive:!1},t);function s(m){return r.get(m)}function o(m,d,f){const p=!f,h=aO(m);h.aliasOf=f&&f.record;const _=oh(t,m),b=[h];if("alias"in m){const z=typeof m.alias=="string"?[m.alias]:m.alias;for(const v of z)b.push(it({},h,{components:f?f.record.components:h.components,path:v,aliasOf:f?f.record:h}))}let w,C;for(const z of b){const{path:v}=z;if(d&&v[0]!=="/"){const S=d.record.path,A=S[S.length-1]==="/"?"":"/";z.path=d.record.path+(v&&A+v)}if(w=sO(z,d,_),f?f.alias.push(w):(C=C||w,C!==w&&C.alias.push(w),p&&m.name&&!sh(w)&&a(m.name)),h.children){const S=h.children;for(let A=0;A<S.length;A++)o(S[A],w,f&&f.children[A])}f=f||w,(w.record.components&&Object.keys(w.record.components).length||w.record.name||w.record.redirect)&&l(w)}return C?()=>{a(C)}:ta}function a(m){if(Wv(m)){const d=r.get(m);d&&(r.delete(m),n.splice(n.indexOf(d),1),d.children.forEach(a),d.alias.forEach(a))}else{const d=n.indexOf(m);d>-1&&(n.splice(d,1),m.record.name&&r.delete(m.record.name),m.children.forEach(a),m.alias.forEach(a))}}function i(){return n}function l(m){let d=0;for(;d<n.length&&eO(m,n[d])>=0&&(m.record.path!==n[d].record.path||!Gv(m,n[d]));)d++;n.splice(d,0,m),m.record.name&&!sh(m)&&r.set(m.record.name,m)}function c(m,d){let f,p={},h,_;if("name"in m&&m.name){if(f=r.get(m.name),!f)throw co(1,{location:m});_=f.record.name,p=it(rh(d.params,f.keys.filter(C=>!C.optional).map(C=>C.name)),m.params&&rh(m.params,f.keys.map(C=>C.name))),h=f.stringify(p)}else if("path"in m)h=m.path,f=n.find(C=>C.re.test(h)),f&&(p=f.parse(h),_=f.record.name);else{if(f=d.name?r.get(d.name):n.find(C=>C.re.test(d.path)),!f)throw co(1,{location:m,currentLocation:d});_=f.record.name,p=it({},d.params,m.params),h=f.stringify(p)}const b=[];let w=f;for(;w;)b.unshift(w.record),w=w.parent;return{name:_,path:h,params:p,matched:b,meta:lO(b)}}return e.forEach(m=>o(m)),{addRoute:o,resolve:c,removeRoute:a,getRoutes:i,getRecordMatcher:s}}function rh(e,t){const n={};for(const r of t)r in e&&(n[r]=e[r]);return n}function aO(e){return{path:e.path,redirect:e.redirect,name:e.name,meta:e.meta||{},aliasOf:void 0,beforeEnter:e.beforeEnter,props:iO(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 iO(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 sh(e){for(;e;){if(e.record.aliasOf)return!0;e=e.parent}return!1}function lO(e){return e.reduce((t,n)=>it(t,n.meta),{})}function oh(e,t){const n={};for(const r in e)n[r]=r in t?t[r]:e[r];return n}function Gv(e,t){return t.children.some(n=>n===e||Gv(e,n))}const Zv=/#/g,uO=/&/g,cO=/\//g,dO=/=/g,mO=/\?/g,Yv=/\+/g,fO=/%5B/g,pO=/%5D/g,Jv=/%5E/g,hO=/%60/g,Xv=/%7B/g,_O=/%7C/g,Qv=/%7D/g,gO=/%20/g;function Cm(e){return encodeURI(""+e).replace(_O,"|").replace(fO,"[").replace(pO,"]")}function yO(e){return Cm(e).replace(Xv,"{").replace(Qv,"}").replace(Jv,"^")}function ed(e){return Cm(e).replace(Yv,"%2B").replace(gO,"+").replace(Zv,"%23").replace(uO,"%26").replace(hO,"`").replace(Xv,"{").replace(Qv,"}").replace(Jv,"^")}function vO(e){return ed(e).replace(dO,"%3D")}function bO(e){return Cm(e).replace(Zv,"%23").replace(mO,"%3F")}function zO(e){return e==null?"":bO(e).replace(cO,"%2F")}function kl(e){try{return decodeURIComponent(""+e)}catch{}return""+e}function CO(e){const t={};if(e===""||e==="?")return t;const r=(e[0]==="?"?e.slice(1):e).split("&");for(let s=0;s<r.length;++s){const o=r[s].replace(Yv," "),a=o.indexOf("="),i=kl(a<0?o:o.slice(0,a)),l=a<0?null:kl(o.slice(a+1));if(i in t){let c=t[i];Zn(c)||(c=t[i]=[c]),c.push(l)}else t[i]=l}return t}function ah(e){let t="";for(let n in e){const r=e[n];if(n=vO(n),r==null){r!==void 0&&(t+=(t.length?"&":"")+n);continue}(Zn(r)?r.map(o=>o&&ed(o)):[r&&ed(r)]).forEach(o=>{o!==void 0&&(t+=(t.length?"&":"")+n,o!=null&&(t+="="+o))})}return t}function wO(e){const t={};for(const n in e){const r=e[n];r!==void 0&&(t[n]=Zn(r)?r.map(s=>s==null?null:""+s):r==null?r:""+r)}return t}const kO=Symbol(""),ih=Symbol(""),wm=Symbol(""),e1=Symbol(""),td=Symbol("");function Oo(){let e=[];function t(r){return e.push(r),()=>{const s=e.indexOf(r);s>-1&&e.splice(s,1)}}function n(){e=[]}return{add:t,list:()=>e.slice(),reset:n}}function Nr(e,t,n,r,s){const o=r&&(r.enterCallbacks[s]=r.enterCallbacks[s]||[]);return()=>new Promise((a,i)=>{const l=d=>{d===!1?i(co(4,{from:n,to:t})):d instanceof Error?i(d):ZT(d)?i(co(2,{from:t,to:d})):(o&&r.enterCallbacks[s]===o&&typeof d=="function"&&o.push(d),a())},c=e.call(r&&r.instances[s],t,n,l);let m=Promise.resolve(c);e.length<3&&(m=m.then(l)),m.catch(d=>i(d))})}function Gu(e,t,n,r){const s=[];for(const o of e)for(const a in o.components){let i=o.components[a];if(!(t!=="beforeRouteEnter"&&!o.instances[a]))if(xO(i)){const c=(i.__vccOpts||i)[t];c&&s.push(Nr(c,n,r,o,a))}else{let l=i();s.push(()=>l.then(c=>{if(!c)return Promise.reject(new Error(`Couldn't resolve component "${a}" at "${o.path}"`));const m=TT(c)?c.default:c;o.components[a]=m;const f=(m.__vccOpts||m)[t];return f&&Nr(f,n,r,o,a)()}))}}return s}function xO(e){return typeof e=="object"||"displayName"in e||"props"in e||"__vccOpts"in e}function lh(e){const t=Wn(wm),n=Wn(e1),r=Lt(()=>t.resolve(vn(e.to))),s=Lt(()=>{const{matched:l}=r.value,{length:c}=l,m=l[c-1],d=n.matched;if(!m||!d.length)return-1;const f=d.findIndex(uo.bind(null,m));if(f>-1)return f;const p=uh(l[c-2]);return c>1&&uh(m)===p&&d[d.length-1].path!==p?d.findIndex(uo.bind(null,l[c-2])):f}),o=Lt(()=>s.value>-1&&AO(n.params,r.value.params)),a=Lt(()=>s.value>-1&&s.value===n.matched.length-1&&jv(n.params,r.value.params));function i(l={}){return $O(l)?t[vn(e.replace)?"replace":"push"](vn(e.to)).catch(ta):Promise.resolve()}return{route:r,href:Lt(()=>r.value.href),isActive:o,isExactActive:a,navigate:i}}const EO=Cr({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:lh,setup(e,{slots:t}){const n=_o(lh(e)),{options:r}=Wn(wm),s=Lt(()=>({[ch(e.activeClass,r.linkActiveClass,"router-link-active")]:n.isActive,[ch(e.exactActiveClass,r.linkExactActiveClass,"router-link-exact-active")]:n.isExactActive}));return()=>{const o=t.default&&t.default(n);return e.custom?o:nr("a",{"aria-current":n.isExactActive?e.ariaCurrentValue:null,href:n.href,onClick:n.navigate,class:s.value},o)}}}),SO=EO;function $O(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 AO(e,t){for(const n in t){const r=t[n],s=e[n];if(typeof r=="string"){if(r!==s)return!1}else if(!Zn(s)||s.length!==r.length||r.some((o,a)=>o!==s[a]))return!1}return!0}function uh(e){return e?e.aliasOf?e.aliasOf.path:e.path:""}const ch=(e,t,n)=>e??t??n,TO=Cr({name:"RouterView",inheritAttrs:!1,props:{name:{type:String,default:"default"},route:Object},compatConfig:{MODE:3},setup(e,{attrs:t,slots:n}){const r=Wn(td),s=Lt(()=>e.route||r.value),o=Wn(ih,0),a=Lt(()=>{let c=vn(o);const{matched:m}=s.value;let d;for(;(d=m[c])&&!d.components;)c++;return c}),i=Lt(()=>s.value.matched[a.value]);Go(ih,Lt(()=>a.value+1)),Go(kO,i),Go(td,s);const l=Xt();return en(()=>[l.value,i.value,e.name],([c,m,d],[f,p,h])=>{m&&(m.instances[d]=c,p&&p!==m&&c&&c===f&&(m.leaveGuards.size||(m.leaveGuards=p.leaveGuards),m.updateGuards.size||(m.updateGuards=p.updateGuards))),c&&m&&(!p||!uo(m,p)||!f)&&(m.enterCallbacks[d]||[]).forEach(_=>_(c))},{flush:"post"}),()=>{const c=s.value,m=e.name,d=i.value,f=d&&d.components[m];if(!f)return dh(n.default,{Component:f,route:c});const p=d.props[m],h=p?p===!0?c.params:typeof p=="function"?p(c):p:null,b=nr(f,it({},h,t,{onVnodeUnmounted:w=>{w.component.isUnmounted&&(d.instances[m]=null)},ref:l}));return dh(n.default,{Component:b,route:c})||b}}});function dh(e,t){if(!e)return null;const n=e(t);return n.length===1?n[0]:n}const OO=TO;function DO(e){const t=oO(e.routes,e),n=e.parseQuery||CO,r=e.stringifyQuery||ah,s=e.history,o=Oo(),a=Oo(),i=Oo(),l=C_(Dr);let c=Dr;Vs&&e.scrollBehavior&&"scrollRestoration"in history&&(history.scrollRestoration="manual");const m=Wu.bind(null,j=>""+j),d=Wu.bind(null,zO),f=Wu.bind(null,kl);function p(j,ue){let se,ve;return Wv(j)?(se=t.getRecordMatcher(j),ve=ue):ve=j,t.addRoute(ve,se)}function h(j){const ue=t.getRecordMatcher(j);ue&&t.removeRoute(ue)}function _(){return t.getRoutes().map(j=>j.record)}function b(j){return!!t.getRecordMatcher(j)}function w(j,ue){if(ue=it({},ue||l.value),typeof j=="string"){const I=Ku(n,j,ue.path),G=t.resolve({path:I.path},ue),Y=s.createHref(I.fullPath);return it(I,G,{params:f(G.params),hash:kl(I.hash),redirectedFrom:void 0,href:Y})}let se;if("path"in j)se=it({},j,{path:Ku(n,j.path,ue.path).path});else{const I=it({},j.params);for(const G in I)I[G]==null&&delete I[G];se=it({},j,{params:d(I)}),ue.params=d(ue.params)}const ve=t.resolve(se,ue),Be=j.hash||"";ve.params=m(f(ve.params));const T=PT(r,it({},j,{hash:yO(Be),path:ve.path})),O=s.createHref(T);return it({fullPath:T,hash:Be,query:r===ah?wO(j.query):j.query||{}},ve,{redirectedFrom:void 0,href:O})}function C(j){return typeof j=="string"?Ku(n,j,l.value.path):it({},j)}function z(j,ue){if(c!==j)return co(8,{from:ue,to:j})}function v(j){return D(j)}function S(j){return v(it(C(j),{replace:!0}))}function A(j){const ue=j.matched[j.matched.length-1];if(ue&&ue.redirect){const{redirect:se}=ue;let ve=typeof se=="function"?se(j):se;return typeof ve=="string"&&(ve=ve.includes("?")||ve.includes("#")?ve=C(ve):{path:ve},ve.params={}),it({query:j.query,hash:j.hash,params:"path"in ve?{}:j.params},ve)}}function D(j,ue){const se=c=w(j),ve=l.value,Be=j.state,T=j.force,O=j.replace===!0,I=A(se);if(I)return D(it(C(I),{state:typeof I=="object"?it({},Be,I.state):Be,force:T,replace:O}),ue||se);const G=se;G.redirectedFrom=ue;let Y;return!T&&IT(r,ve,se)&&(Y=co(16,{to:G,from:ve}),Ge(ve,ve,!0,!1)),(Y?Promise.resolve(Y):M(G,ve)).catch(X=>mr(X)?mr(X,2)?X:at(X):oe(X,G,ve)).then(X=>{if(X){if(mr(X,2))return D(it({replace:O},C(X.to),{state:typeof X.to=="object"?it({},Be,X.to.state):Be,force:T}),ue||G)}else X=W(G,ve,!0,O,Be);return Z(G,ve,X),X})}function F(j,ue){const se=z(j,ue);return se?Promise.reject(se):Promise.resolve()}function P(j){const ue=ft.values().next().value;return ue&&typeof ue.runWithContext=="function"?ue.runWithContext(j):j()}function M(j,ue){let se;const[ve,Be,T]=PO(j,ue);se=Gu(ve.reverse(),"beforeRouteLeave",j,ue);for(const I of ve)I.leaveGuards.forEach(G=>{se.push(Nr(G,j,ue))});const O=F.bind(null,j,ue);return se.push(O),Ne(se).then(()=>{se=[];for(const I of o.list())se.push(Nr(I,j,ue));return se.push(O),Ne(se)}).then(()=>{se=Gu(Be,"beforeRouteUpdate",j,ue);for(const I of Be)I.updateGuards.forEach(G=>{se.push(Nr(G,j,ue))});return se.push(O),Ne(se)}).then(()=>{se=[];for(const I of T)if(I.beforeEnter)if(Zn(I.beforeEnter))for(const G of I.beforeEnter)se.push(Nr(G,j,ue));else se.push(Nr(I.beforeEnter,j,ue));return se.push(O),Ne(se)}).then(()=>(j.matched.forEach(I=>I.enterCallbacks={}),se=Gu(T,"beforeRouteEnter",j,ue),se.push(O),Ne(se))).then(()=>{se=[];for(const I of a.list())se.push(Nr(I,j,ue));return se.push(O),Ne(se)}).catch(I=>mr(I,8)?I:Promise.reject(I))}function Z(j,ue,se){i.list().forEach(ve=>P(()=>ve(j,ue,se)))}function W(j,ue,se,ve,Be){const T=z(j,ue);if(T)return T;const O=ue===Dr,I=Vs?history.state:{};se&&(ve||O?s.replace(j.fullPath,it({scroll:O&&I&&I.scroll},Be)):s.push(j.fullPath,Be)),l.value=j,Ge(j,ue,se,O),at()}let U;function Q(){U||(U=s.listen((j,ue,se)=>{if(!pt.listening)return;const ve=w(j),Be=A(ve);if(Be){D(it(Be,{replace:!0}),ve).catch(ta);return}c=ve;const T=l.value;Vs&&BT(Xp(T.fullPath,se.delta),du()),M(ve,T).catch(O=>mr(O,12)?O:mr(O,2)?(D(O.to,ve).then(I=>{mr(I,20)&&!se.delta&&se.type===Ca.pop&&s.go(-1,!1)}).catch(ta),Promise.reject()):(se.delta&&s.go(-se.delta,!1),oe(O,ve,T))).then(O=>{O=O||W(ve,T,!1),O&&(se.delta&&!mr(O,8)?s.go(-se.delta,!1):se.type===Ca.pop&&mr(O,20)&&s.go(-1,!1)),Z(ve,T,O)}).catch(ta)}))}let me=Oo(),K=Oo(),re;function oe(j,ue,se){at(j);const ve=K.list();return ve.length?ve.forEach(Be=>Be(j,ue,se)):console.error(j),Promise.reject(j)}function Fe(){return re&&l.value!==Dr?Promise.resolve():new Promise((j,ue)=>{me.add([j,ue])})}function at(j){return re||(re=!j,Q(),me.list().forEach(([ue,se])=>j?se(j):ue()),me.reset()),j}function Ge(j,ue,se,ve){const{scrollBehavior:Be}=e;if(!Vs||!Be)return Promise.resolve();const T=!se&&UT(Xp(j.fullPath,0))||(ve||!se)&&history.state&&history.state.scroll||null;return $a().then(()=>Be(j,ue,T)).then(O=>O&&HT(O)).catch(O=>oe(O,j,ue))}const je=j=>s.go(j);let ut;const ft=new Set,pt={currentRoute:l,listening:!0,addRoute:p,removeRoute:h,hasRoute:b,getRoutes:_,resolve:w,options:e,push:v,replace:S,go:je,back:()=>je(-1),forward:()=>je(1),beforeEach:o.add,beforeResolve:a.add,afterEach:i.add,onError:K.add,isReady:Fe,install(j){const ue=this;j.component("RouterLink",SO),j.component("RouterView",OO),j.config.globalProperties.$router=ue,Object.defineProperty(j.config.globalProperties,"$route",{enumerable:!0,get:()=>vn(l)}),Vs&&!ut&&l.value===Dr&&(ut=!0,v(s.location).catch(Be=>{}));const se={};for(const Be in Dr)Object.defineProperty(se,Be,{get:()=>l.value[Be],enumerable:!0});j.provide(wm,ue),j.provide(e1,$d(se)),j.provide(td,l);const ve=j.unmount;ft.add(j),j.unmount=function(){ft.delete(j),ft.size<1&&(c=Dr,U&&U(),U=null,l.value=Dr,ut=!1,re=!1),ve()}}};function Ne(j){return j.reduce((ue,se)=>ue.then(()=>P(se)),Promise.resolve())}return pt}function PO(e,t){const n=[],r=[],s=[],o=Math.max(t.matched.length,e.matched.length);for(let a=0;a<o;a++){const i=t.matched[a];i&&(e.matched.find(c=>uo(c,i))?r.push(i):n.push(i));const l=e.matched[a];l&&(t.matched.find(c=>uo(c,l))||s.push(l))}return[n,r,s]}const IO={name:"PageAbout",computed:{config(){return this.$store.state.config},library(){return this.$store.state.library}},methods:{showUpdateDialog(){this.$store.commit(xa,!0)}}},FO={class:"section"},RO={class:"container"},LO={class:"columns is-centered"},NO={class:"column is-four-fifths has-text-centered-mobile"},MO=["textContent"],VO={class:"section"},HO={class:"container"},BO={class:"columns is-centered"},UO={class:"column is-four-fifths"},jO={class:"content"},qO={class:"level is-mobile"},WO={class:"level-left"},KO={class:"level-item"},GO=["textContent"],ZO={class:"level-right"},YO={key:0},JO=["textContent"],XO={key:1},QO=["textContent"],e3={class:"table"},t3=["textContent"],n3=["textContent"],r3=["textContent"],s3=["textContent"],o3=["textContent"],a3=["textContent"],i3=["textContent"],l3=["textContent"],u3=["textContent"],c3={class:"has-text-right"},d3=["textContent"],m3=["textContent"],f3=["textContent"],p3={class:"has-text-right"},h3=["textContent"],_3=["textContent"],g3={class:"section"},y3={class:"container"},v3={class:"columns is-centered"},b3={class:"column is-four-fifths"},z3={class:"content has-text-centered-mobile"},C3=["textContent"],w3=["textContent"],k3=u("a",{href:"https://bulma.io"},"Bulma",-1),x3=u("a",{href:"https://pictogrammers.com/library/mdi/"},"Material Design Icons",-1),E3=u("a",{href:"https://vuejs.org/"},"Vue.js",-1),S3=u("a",{href:"https://github.com/mzabriskie/axios"},"axios",-1),$3=["textContent"];function A3(e,t,n,r,s,o){const a=E("i18n-t");return k(),$("div",null,[u("section",FO,[u("div",RO,[u("div",LO,[u("div",NO,[u("h1",{class:"title is-4",textContent:g(o.config.library_name)},null,8,MO)])])])]),u("section",VO,[u("div",HO,[u("div",BO,[u("div",UO,[u("div",jO,[u("nav",qO,[u("div",WO,[u("div",KO,[u("h2",{class:"title is-5",textContent:g(e.$t("page.about.library"))},null,8,GO)])]),u("div",ZO,[o.library.updating?(k(),$("div",YO,[u("a",{class:"button is-small is-loading",textContent:g(e.$t("page.about.update"))},null,8,JO)])):(k(),$("div",XO,[u("a",{class:"button is-small",onClick:t[0]||(t[0]=i=>o.showUpdateDialog()),textContent:g(e.$t("page.about.update"))},null,8,QO)]))])]),u("table",e3,[u("tbody",null,[u("tr",null,[u("th",{class:"has-text-left",textContent:g(e.$t("page.about.artists"))},null,8,t3),u("td",{class:"has-text-right",textContent:g(e.$filters.number(o.library.artists))},null,8,n3)]),u("tr",null,[u("th",{class:"has-text-left",textContent:g(e.$t("page.about.albums"))},null,8,r3),u("td",{class:"has-text-right",textContent:g(e.$filters.number(o.library.albums))},null,8,s3)]),u("tr",null,[u("th",{class:"has-text-left",textContent:g(e.$t("page.about.tracks"))},null,8,o3),u("td",{class:"has-text-right",textContent:g(e.$filters.number(o.library.songs))},null,8,a3)]),u("tr",null,[u("th",{class:"has-text-left",textContent:g(e.$t("page.about.total-playtime"))},null,8,i3),u("td",{class:"has-text-right",textContent:g(e.$filters.durationInDays(o.library.db_playtime*1e3))},null,8,l3)]),u("tr",null,[u("th",{class:"has-text-left",textContent:g(e.$t("page.about.updated"))},null,8,u3),u("td",c3,[u("span",{textContent:g(e.$t("page.about.updated-on",{time:e.$filters.timeFromNow(o.library.updated_at)}))},null,8,d3),_t(" ("),u("span",{class:"has-text-grey",textContent:g(e.$filters.datetime(o.library.updated_at))},null,8,m3),_t(") ")])]),u("tr",null,[u("th",{class:"has-text-left",textContent:g(e.$t("page.about.uptime"))},null,8,f3),u("td",p3,[u("span",{textContent:g(e.$filters.timeFromNow(o.library.started_at,!0))},null,8,h3),_t(" ("),u("span",{class:"has-text-grey",textContent:g(e.$filters.datetime(o.library.started_at))},null,8,_3),_t(") ")])])])])])])])])]),u("section",g3,[u("div",y3,[u("div",v3,[u("div",b3,[u("div",z3,[u("p",{class:"is-size-7",textContent:g(e.$t("page.about.version",{version:o.config.version}))},null,8,C3),u("p",{class:"is-size-7",textContent:g(e.$t("page.about.compiled-with",{options:o.config.buildoptions.join(", ")}))},null,8,w3),y(a,{tag:"p",class:"is-size-7",keypath:"page.about.built-with",scope:"global"},{bulma:x(()=>[k3]),mdi:x(()=>[x3]),vuejs:x(()=>[E3]),axios:x(()=>[S3]),others:x(()=>[u("a",{href:"https://github.com/owntone/owntone-server/network/dependencies",textContent:g(e.$t("page.about.more"))},null,8,$3)]),_:1})])])])])])])}const T3=te(IO,[["render",A3]]),O3={},D3={class:"hero is-light is-bold"},P3={class:"hero-body"},I3={class:"container"},F3={class:"columns is-centered"},R3={class:"column is-four-fifths"},L3={class:"columns is-flex-direction-row-reverse"},N3={class:"column fd-has-cover"},M3={class:"column m-auto is-three-fifths has-text-centered-mobile"},V3={class:"section pt-0"},H3={class:"container"},B3={class:"columns is-centered"},U3={class:"column is-four-fifths"};function j3(e,t){return k(),$(we,null,[u("section",D3,[u("div",P3,[u("div",I3,[u("div",F3,[u("div",R3,[u("div",L3,[u("div",N3,[st(e.$slots,"heading-right")]),u("div",M3,[st(e.$slots,"heading-left")])])])])])])]),u("section",V3,[u("div",H3,[u("div",B3,[u("div",U3,[st(e.$slots,"content"),st(e.$slots,"footer")])])])])],64)}const mu=te(O3,[["render",j3]]);var t1={exports:{}},q3=[{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=q3,n=t.filter(function(s){return!!s.css}),r=t.filter(function(s){return!!s.vga});e.exports=function(s){var o=e.exports.get(s);return o&&o.value},e.exports.get=function(s){return s=s||"",s=s.trim().toLowerCase(),t.filter(function(o){return o.name.toLowerCase()===s}).pop()},e.exports.all=e.exports.get.all=function(){return t},e.exports.get.css=function(s){return s?(s=s||"",s=s.trim().toLowerCase(),n.filter(function(o){return o.name.toLowerCase()===s}).pop()):n},e.exports.get.vga=function(s){return s?(s=s||"",s=s.trim().toLowerCase(),r.filter(function(o){return o.name.toLowerCase()===s}).pop()):r}})(t1);var W3=t1.exports,K3=1/0,G3="[object Symbol]",Z3=/[^\x00-\x2f\x3a-\x40\x5b-\x60\x7b-\x7f]+/g,n1="\\ud800-\\udfff",Y3="\\u0300-\\u036f\\ufe20-\\ufe23",J3="\\u20d0-\\u20f0",r1="\\u2700-\\u27bf",s1="a-z\\xdf-\\xf6\\xf8-\\xff",X3="\\xac\\xb1\\xd7\\xf7",Q3="\\x00-\\x2f\\x3a-\\x40\\x5b-\\x60\\x7b-\\xbf",e4="\\u2000-\\u206f",t4=" \\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",o1="A-Z\\xc0-\\xd6\\xd8-\\xde",n4="\\ufe0e\\ufe0f",a1=X3+Q3+e4+t4,i1="[']",mh="["+a1+"]",r4="["+Y3+J3+"]",l1="\\d+",s4="["+r1+"]",u1="["+s1+"]",c1="[^"+n1+a1+l1+r1+s1+o1+"]",o4="\\ud83c[\\udffb-\\udfff]",a4="(?:"+r4+"|"+o4+")",i4="[^"+n1+"]",d1="(?:\\ud83c[\\udde6-\\uddff]){2}",m1="[\\ud800-\\udbff][\\udc00-\\udfff]",Hs="["+o1+"]",l4="\\u200d",fh="(?:"+u1+"|"+c1+")",u4="(?:"+Hs+"|"+c1+")",ph="(?:"+i1+"(?:d|ll|m|re|s|t|ve))?",hh="(?:"+i1+"(?:D|LL|M|RE|S|T|VE))?",f1=a4+"?",p1="["+n4+"]?",c4="(?:"+l4+"(?:"+[i4,d1,m1].join("|")+")"+p1+f1+")*",d4=p1+f1+c4,m4="(?:"+[s4,d1,m1].join("|")+")"+d4,f4=RegExp([Hs+"?"+u1+"+"+ph+"(?="+[mh,Hs,"$"].join("|")+")",u4+"+"+hh+"(?="+[mh,Hs+fh,"$"].join("|")+")",Hs+"?"+fh+"+"+ph,Hs+"+"+hh,l1,m4].join("|"),"g"),p4=/[a-z][A-Z]|[A-Z]{2,}[a-z]|[0-9][a-zA-Z]|[a-zA-Z][0-9]|[^a-zA-Z0-9 ]/,h4=typeof cn=="object"&&cn&&cn.Object===Object&&cn,_4=typeof self=="object"&&self&&self.Object===Object&&self,g4=h4||_4||Function("return this")();function y4(e){return e.match(Z3)||[]}function v4(e){return p4.test(e)}function b4(e){return e.match(f4)||[]}var z4=Object.prototype,C4=z4.toString,_h=g4.Symbol,gh=_h?_h.prototype:void 0,yh=gh?gh.toString:void 0;function w4(e){if(typeof e=="string")return e;if(x4(e))return yh?yh.call(e):"";var t=e+"";return t=="0"&&1/e==-K3?"-0":t}function k4(e){return!!e&&typeof e=="object"}function x4(e){return typeof e=="symbol"||k4(e)&&C4.call(e)==G3}function E4(e){return e==null?"":w4(e)}function S4(e,t,n){return e=E4(e),t=n?void 0:t,t===void 0?v4(e)?b4(e):y4(e):e.match(t)||[]}var $4=S4,A4=1/0,T4="[object Symbol]",O4=/^\s+/,km="\\ud800-\\udfff",h1="\\u0300-\\u036f\\ufe20-\\ufe23",_1="\\u20d0-\\u20f0",g1="\\ufe0e\\ufe0f",D4="["+km+"]",nd="["+h1+_1+"]",rd="\\ud83c[\\udffb-\\udfff]",P4="(?:"+nd+"|"+rd+")",y1="[^"+km+"]",v1="(?:\\ud83c[\\udde6-\\uddff]){2}",b1="[\\ud800-\\udbff][\\udc00-\\udfff]",z1="\\u200d",C1=P4+"?",w1="["+g1+"]?",I4="(?:"+z1+"(?:"+[y1,v1,b1].join("|")+")"+w1+C1+")*",F4=w1+C1+I4,R4="(?:"+[y1+nd+"?",nd,v1,b1,D4].join("|")+")",L4=RegExp(rd+"(?="+rd+")|"+R4+F4,"g"),N4=RegExp("["+z1+km+h1+_1+g1+"]"),M4=typeof cn=="object"&&cn&&cn.Object===Object&&cn,V4=typeof self=="object"&&self&&self.Object===Object&&self,H4=M4||V4||Function("return this")();function B4(e){return e.split("")}function U4(e,t,n,r){for(var s=e.length,o=n+(r?1:-1);r?o--:++o<s;)if(t(e[o],o,e))return o;return-1}function j4(e,t,n){if(t!==t)return U4(e,q4,n);for(var r=n-1,s=e.length;++r<s;)if(e[r]===t)return r;return-1}function q4(e){return e!==e}function W4(e,t){for(var n=-1,r=e.length;++n<r&&j4(t,e[n],0)>-1;);return n}function K4(e){return N4.test(e)}function vh(e){return K4(e)?G4(e):B4(e)}function G4(e){return e.match(L4)||[]}var Z4=Object.prototype,Y4=Z4.toString,bh=H4.Symbol,zh=bh?bh.prototype:void 0,Ch=zh?zh.toString:void 0;function J4(e,t,n){var r=-1,s=e.length;t<0&&(t=-t>s?0:s+t),n=n>s?s:n,n<0&&(n+=s),s=t>n?0:n-t>>>0,t>>>=0;for(var o=Array(s);++r<s;)o[r]=e[r+t];return o}function k1(e){if(typeof e=="string")return e;if(e6(e))return Ch?Ch.call(e):"";var t=e+"";return t=="0"&&1/e==-A4?"-0":t}function X4(e,t,n){var r=e.length;return n=n===void 0?r:n,!t&&n>=r?e:J4(e,t,n)}function Q4(e){return!!e&&typeof e=="object"}function e6(e){return typeof e=="symbol"||Q4(e)&&Y4.call(e)==T4}function t6(e){return e==null?"":k1(e)}function n6(e,t,n){if(e=t6(e),e&&(n||t===void 0))return e.replace(O4,"");if(!e||!(t=k1(t)))return e;var r=vh(e),s=W4(r,vh(t));return X4(r,s).join("")}var r6=n6,sd=1/0,s6=9007199254740991,o6=17976931348623157e292,wh=NaN,a6="[object Symbol]",i6=/^\s+|\s+$/g,l6=/^[-+]0x[0-9a-f]+$/i,u6=/^0b[01]+$/i,c6=/^0o[0-7]+$/i,xm="\\ud800-\\udfff",x1="\\u0300-\\u036f\\ufe20-\\ufe23",E1="\\u20d0-\\u20f0",S1="\\ufe0e\\ufe0f",d6="["+xm+"]",od="["+x1+E1+"]",ad="\\ud83c[\\udffb-\\udfff]",m6="(?:"+od+"|"+ad+")",$1="[^"+xm+"]",A1="(?:\\ud83c[\\udde6-\\uddff]){2}",T1="[\\ud800-\\udbff][\\udc00-\\udfff]",O1="\\u200d",D1=m6+"?",P1="["+S1+"]?",f6="(?:"+O1+"(?:"+[$1,A1,T1].join("|")+")"+P1+D1+")*",p6=P1+D1+f6,h6="(?:"+[$1+od+"?",od,A1,T1,d6].join("|")+")",id=RegExp(ad+"(?="+ad+")|"+h6+p6,"g"),_6=RegExp("["+O1+xm+x1+E1+S1+"]"),g6=parseInt,y6=typeof cn=="object"&&cn&&cn.Object===Object&&cn,v6=typeof self=="object"&&self&&self.Object===Object&&self,b6=y6||v6||Function("return this")(),z6=w6("length");function C6(e){return e.split("")}function w6(e){return function(t){return t==null?void 0:t[e]}}function Em(e){return _6.test(e)}function I1(e){return Em(e)?x6(e):z6(e)}function k6(e){return Em(e)?E6(e):C6(e)}function x6(e){for(var t=id.lastIndex=0;id.test(e);)t++;return t}function E6(e){return e.match(id)||[]}var S6=Object.prototype,$6=S6.toString,kh=b6.Symbol,A6=Math.ceil,T6=Math.floor,xh=kh?kh.prototype:void 0,Eh=xh?xh.toString:void 0;function Sh(e,t){var n="";if(!e||t<1||t>s6)return n;do t%2&&(n+=e),t=T6(t/2),t&&(e+=e);while(t);return n}function O6(e,t,n){var r=-1,s=e.length;t<0&&(t=-t>s?0:s+t),n=n>s?s:n,n<0&&(n+=s),s=t>n?0:n-t>>>0,t>>>=0;for(var o=Array(s);++r<s;)o[r]=e[r+t];return o}function F1(e){if(typeof e=="string")return e;if(R1(e))return Eh?Eh.call(e):"";var t=e+"";return t=="0"&&1/e==-sd?"-0":t}function D6(e,t,n){var r=e.length;return n=n===void 0?r:n,!t&&n>=r?e:O6(e,t,n)}function P6(e,t){t=t===void 0?" ":F1(t);var n=t.length;if(n<2)return n?Sh(t,e):t;var r=Sh(t,A6(e/I1(t)));return Em(t)?D6(k6(r),0,e).join(""):r.slice(0,e)}function $h(e){var t=typeof e;return!!e&&(t=="object"||t=="function")}function I6(e){return!!e&&typeof e=="object"}function R1(e){return typeof e=="symbol"||I6(e)&&$6.call(e)==a6}function F6(e){if(!e)return e===0?e:0;if(e=L6(e),e===sd||e===-sd){var t=e<0?-1:1;return t*o6}return e===e?e:0}function R6(e){var t=F6(e),n=t%1;return t===t?n?t-n:t:0}function L6(e){if(typeof e=="number")return e;if(R1(e))return wh;if($h(e)){var t=typeof e.valueOf=="function"?e.valueOf():e;e=$h(t)?t+"":t}if(typeof e!="string")return e===0?e:+e;e=e.replace(i6,"");var n=u6.test(e);return n||c6.test(e)?g6(e.slice(2),n?2:8):l6.test(e)?wh:+e}function N6(e){return e==null?"":F1(e)}function M6(e,t,n){e=N6(e),t=R6(t);var r=t?I1(e):0;return t&&r<t?e+P6(t-r,n):e}var V6=M6,H6=(e,t,n,r)=>{const s=(e+(r||"")).toString().includes("%");if(typeof e=="string"?[e,t,n,r]=e.match(/(0?\.?\d{1,3})%?\b/g).map(Number):r!==void 0&&(r=parseFloat(r)),typeof e!="number"||typeof t!="number"||typeof n!="number"||e>255||t>255||n>255)throw new TypeError("Expected three numbers below 256");if(typeof r=="number"){if(!s&&r>=0&&r<=1)r=Math.round(255*r);else if(s&&r>=0&&r<=100)r=Math.round(255*r/100);else throw new TypeError(`Expected alpha value (${r}) as a fraction or percentage`);r=(r|256).toString(16).slice(1)}else r="";return(n|t<<8|e<<16|1<<24).toString(16).slice(1)+r};const wa="a-f\\d",B6=`#?[${wa}]{3}[${wa}]?`,U6=`#?[${wa}]{6}([${wa}]{2})?`,j6=new RegExp(`[^#${wa}]`,"gi"),q6=new RegExp(`^${B6}$|^${U6}$`,"i");var W6=(e,t={})=>{if(typeof e!="string"||j6.test(e)||!q6.test(e))throw new TypeError("Expected a valid hex string");e=e.replace(/^#/,"");let n=1;e.length===8&&(n=Number.parseInt(e.slice(6,8),16)/255,e=e.slice(0,6)),e.length===4&&(n=Number.parseInt(e.slice(3,4).repeat(2),16)/255,e=e.slice(0,3)),e.length===3&&(e=e[0]+e[0]+e[1]+e[1]+e[2]+e[2]);const r=Number.parseInt(e,16),s=r>>16,o=r>>8&255,a=r&255,i=typeof t.alpha=="number"?t.alpha:n;if(t.format==="array")return[s,o,a,i];if(t.format==="css"){const l=i===1?"":` / ${Number((i*100).toFixed(2))}%`;return`rgb(${s} ${o} ${a}${l})`}return{red:s,green:o,blue:a,alpha:i}},K6=W3,G6=$4,Z6=r6,Y6=V6,J6=H6,L1=W6;const Zu=.75,Yu=.25,Ju=16777215,X6=49979693;var Q6=function(e){return"#"+n5(String(JSON.stringify(e)))};function e5(e){var t=G6(e),n=[];return t.forEach(function(r){var s=K6(r);s&&n.push(L1(Z6(s,"#"),{format:"array"}))}),n}function t5(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 n5(e){var t,n=e5(e);n.length>0&&(t=t5(n));var r=1,s=0,o=1;if(e.length>0)for(var a=0;a<e.length;a++)e[a].charCodeAt(0)>s&&(s=e[a].charCodeAt(0)),o=parseInt(Ju/s),r=(r+e[a].charCodeAt(0)*o*X6)%Ju;var i=(r*e.length%Ju).toString(16);i=Y6(i,6,i);var l=L1(i,{format:"array"});return t?J6(Yu*l[0]+Zu*t[0],Yu*l[1]+Zu*t[1],Yu*l[2]+Zu*t[2]):i}const r5=Fa(Q6);function s5(e){const t=e.replace(/#/,""),n=parseInt(t.substr(0,2),16),r=parseInt(t.substr(2,2),16),s=parseInt(t.substr(4,2),16);return[.299*n,.587*r,.114*s].reduce((a,i)=>a+i)/255>.5}function o5(e){return s5(e)?"#000000":"#ffffff"}function a5(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 i5(e,t,n){const r=r5(t),s=o5(r),o={width:n.width,height:n.height,textColor:s,backgroundColor:r,caption:e,fontFamily:n.font_family,fontSize:n.font_size,fontWeight:n.font_weight};return a5(o)}const l5={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?H.artwork_url_append_size_params(this.artwork_url,this.maxwidth,this.maxheight):H.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 i5(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 u5(e,t,n,r,s,o){const a=Nd("lazy");return k(),$("figure",null,[gt(u("img",{onClick:t[0]||(t[0]=i=>e.$emit("click"))},null,512),[[a,{src:o.artwork_url_with_size,lifecycle:s.lazy_lifecycle}]])])}const Rn=te(l5,[["render",u5]]),{t:Xu,locale:Sm}=ou.global,N1="GROUP_KEY_NONE";function $m(){return{compareFn:null,groupKeyFn:e=>N1}}function Ln(e,t=!1,n="_"){return{compareFn:t?null:(r,s)=>{const o=r[e]||n,a=s[e]||n;return o.localeCompare(a,Sm.value)},groupKeyFn:r=>{const s=(r[e]||n).charAt(0);return s.match(new RegExp("\\p{Letter}","gu"))?s.toUpperCase():s.match(new RegExp("\\p{Number}","gu"))?"#":"⌘"}}}function Am(e,{direction:t="asc",defaultValue:n=0}){return{compareFn:(r,s)=>{const o=r[e]||n,a=s[e]||n,i=o-a;return t==="asc"?i:i*-1},groupKeyFn:r=>{const s=r[e]||n;return Math.floor(s/10)}}}function c5(e,t="asc",n=1){return{compareFn:(r,s)=>{const o=r[e]||n,a=s[e]||n,i=o-a;return t==="asc"?i:i*-1},groupKeyFn:r=>r[e]||n}}function xl(e,{direction:t="asc",defaultValue:n="0000"}){return{compareFn:(r,s)=>{const o=r[e]||n,a=s[e]||n,i=o.localeCompare(a,Sm.value);return t==="asc"?i:i*-1},groupKeyFn:r=>(r[e]||n).substring(0,4)}}function d5(e,t="0000"){return{compareFn:(n,r)=>{const s=n[e]||t;return(r[e]||t).localeCompare(s,Sm.value)},groupKeyFn:n=>{const r=n[e];if(!r)return t;const s=new Date().getTime()-new Date(r).getTime();return s<864e5?Xu("group-by-list.today"):s<6048e5?Xu("group-by-list.last-week"):s<2592e6?Xu("group-by-list.last-month"):r.substring(0,4)}}}class ge{constructor({items:t=[],total:n=0,offset:r=0,limit:s=-1}={}){this.items=t,this.total=n,this.offset=r,this.limit=s,this.count=t.length,this.indexList=[],this.group($m())}isEmpty(){return!this.items||this.items.length<=0}group(t,n=[]){const r=n?this.items.filter(o=>n.every(a=>a(o))):this.items;this.count=r.length;const s=t.compareFn?[...r].sort(t.compareFn):r;this.indexList=[...new Set(s.map(t.groupKeyFn))],this.itemsGrouped=s.reduce((o,a)=>{const i=t.groupKeyFn(a);return o[i]=[...o[i]||[],a],o},{})}*generate(){for(const t in this.itemsGrouped){t!==N1&&(yield{groupKey:t,itemId:t,isItem:!1,item:{}});for(const n of this.itemsGrouped[t])yield{groupKey:t,itemId:n.id,isItem:!0,item:n}}}[Symbol.iterator](){return this.generate()}}var M1={exports:{}};(function(e){var t=function(){var n="https://api.spotify.com/v1",r=null,s=null,o=function(f,p){return f.abort=p,f},a=function(f,p){var h;if(s!==null){var _=s.defer();f(function(b){_.resolve(b)},function(b){_.reject(b)}),h=_.promise}else window.Promise&&(h=new window.Promise(f));return h?new o(h,p):null},i=function(){var f=Array.prototype.slice.call(arguments),p=f[0],h=f.slice(1);return p=p||{},h.forEach(function(_){for(var b in _)_.hasOwnProperty(b)&&(p[b]=_[b])}),p},l=function(f,p){var h="";for(var _ in p)if(p.hasOwnProperty(_)){var b=p[_];h+=encodeURIComponent(_)+"="+encodeURIComponent(b)+"&"}return h.length>0&&(h=h.substring(0,h.length-1),f=f+"?"+h),f},c=function(f,p){var h=new XMLHttpRequest,_=function(b,w){function C(A){b&&b(A),p&&p(null,A)}function z(){w&&w(h),p&&p(h,null)}var v=f.type||"GET";if(h.open(v,l(f.url,f.params)),r&&h.setRequestHeader("Authorization","Bearer "+r),h.onreadystatechange=function(){if(h.readyState===4){var A=null;try{A=h.responseText?JSON.parse(h.responseText):""}catch(D){console.error(D)}h.status>=200&&h.status<300?C(A):z()}},v==="GET")h.send(null);else{var S=null;f.postData&&(f.contentType==="image/jpeg"?(S=f.postData,h.setRequestHeader("Content-Type",f.contentType)):(S=JSON.stringify(f.postData),h.setRequestHeader("Content-Type","application/json"))),h.send(S)}};return p?(_(),null):a(_,function(){h.abort()})},m=function(f,p,h,_){var b={},w=null;typeof p=="object"?(b=p,w=h):typeof p=="function"&&(w=p);var C=f.type||"GET";return C!=="GET"&&f.postData&&!_?f.postData=i(f.postData,b):f.params=i(f.params,b),c(f,w)},d=function(){};return d.prototype={constructor:t},d.prototype.getGeneric=function(f,p){var h={url:f};return m(h,p)},d.prototype.getMe=function(f,p){var h={url:n+"/me"};return m(h,f,p)},d.prototype.getMySavedTracks=function(f,p){var h={url:n+"/me/tracks"};return m(h,f,p)},d.prototype.addToMySavedTracks=function(f,p,h){var _={url:n+"/me/tracks",type:"PUT",postData:f};return m(_,p,h)},d.prototype.removeFromMySavedTracks=function(f,p,h){var _={url:n+"/me/tracks",type:"DELETE",postData:f};return m(_,p,h)},d.prototype.containsMySavedTracks=function(f,p,h){var _={url:n+"/me/tracks/contains",params:{ids:f.join(",")}};return m(_,p,h)},d.prototype.getMySavedAlbums=function(f,p){var h={url:n+"/me/albums"};return m(h,f,p)},d.prototype.addToMySavedAlbums=function(f,p,h){var _={url:n+"/me/albums",type:"PUT",postData:f};return m(_,p,h)},d.prototype.removeFromMySavedAlbums=function(f,p,h){var _={url:n+"/me/albums",type:"DELETE",postData:f};return m(_,p,h)},d.prototype.containsMySavedAlbums=function(f,p,h){var _={url:n+"/me/albums/contains",params:{ids:f.join(",")}};return m(_,p,h)},d.prototype.getMyTopArtists=function(f,p){var h={url:n+"/me/top/artists"};return m(h,f,p)},d.prototype.getMyTopTracks=function(f,p){var h={url:n+"/me/top/tracks"};return m(h,f,p)},d.prototype.getMyRecentlyPlayedTracks=function(f,p){var h={url:n+"/me/player/recently-played"};return m(h,f,p)},d.prototype.followUsers=function(f,p){var h={url:n+"/me/following/",type:"PUT",params:{ids:f.join(","),type:"user"}};return m(h,p)},d.prototype.followArtists=function(f,p){var h={url:n+"/me/following/",type:"PUT",params:{ids:f.join(","),type:"artist"}};return m(h,p)},d.prototype.followPlaylist=function(f,p,h){var _={url:n+"/playlists/"+f+"/followers",type:"PUT",postData:{}};return m(_,p,h)},d.prototype.unfollowUsers=function(f,p){var h={url:n+"/me/following/",type:"DELETE",params:{ids:f.join(","),type:"user"}};return m(h,p)},d.prototype.unfollowArtists=function(f,p){var h={url:n+"/me/following/",type:"DELETE",params:{ids:f.join(","),type:"artist"}};return m(h,p)},d.prototype.unfollowPlaylist=function(f,p){var h={url:n+"/playlists/"+f+"/followers",type:"DELETE"};return m(h,p)},d.prototype.isFollowingUsers=function(f,p){var h={url:n+"/me/following/contains",type:"GET",params:{ids:f.join(","),type:"user"}};return m(h,p)},d.prototype.isFollowingArtists=function(f,p){var h={url:n+"/me/following/contains",type:"GET",params:{ids:f.join(","),type:"artist"}};return m(h,p)},d.prototype.areFollowingPlaylist=function(f,p,h){var _={url:n+"/playlists/"+f+"/followers/contains",type:"GET",params:{ids:p.join(",")}};return m(_,h)},d.prototype.getFollowedArtists=function(f,p){var h={url:n+"/me/following",type:"GET",params:{type:"artist"}};return m(h,f,p)},d.prototype.getUser=function(f,p,h){var _={url:n+"/users/"+encodeURIComponent(f)};return m(_,p,h)},d.prototype.getUserPlaylists=function(f,p,h){var _;return typeof f=="string"?_={url:n+"/users/"+encodeURIComponent(f)+"/playlists"}:(_={url:n+"/me/playlists"},h=p,p=f),m(_,p,h)},d.prototype.getPlaylist=function(f,p,h){var _={url:n+"/playlists/"+f};return m(_,p,h)},d.prototype.getPlaylistTracks=function(f,p,h){var _={url:n+"/playlists/"+f+"/tracks"};return m(_,p,h)},d.prototype.getPlaylistCoverImage=function(f,p){var h={url:n+"/playlists/"+f+"/images"};return m(h,p)},d.prototype.createPlaylist=function(f,p,h){var _={url:n+"/users/"+encodeURIComponent(f)+"/playlists",type:"POST",postData:p};return m(_,p,h)},d.prototype.changePlaylistDetails=function(f,p,h){var _={url:n+"/playlists/"+f,type:"PUT",postData:p};return m(_,p,h)},d.prototype.addTracksToPlaylist=function(f,p,h,_){var b={url:n+"/playlists/"+f+"/tracks",type:"POST",postData:{uris:p}};return m(b,h,_,!0)},d.prototype.replaceTracksInPlaylist=function(f,p,h){var _={url:n+"/playlists/"+f+"/tracks",type:"PUT",postData:{uris:p}};return m(_,{},h)},d.prototype.reorderTracksInPlaylist=function(f,p,h,_,b){var w={url:n+"/playlists/"+f+"/tracks",type:"PUT",postData:{range_start:p,insert_before:h}};return m(w,_,b)},d.prototype.removeTracksFromPlaylist=function(f,p,h){var _=p.map(function(w){return typeof w=="string"?{uri:w}:w}),b={url:n+"/playlists/"+f+"/tracks",type:"DELETE",postData:{tracks:_}};return m(b,{},h)},d.prototype.removeTracksFromPlaylistWithSnapshotId=function(f,p,h,_){var b=p.map(function(C){return typeof C=="string"?{uri:C}:C}),w={url:n+"/playlists/"+f+"/tracks",type:"DELETE",postData:{tracks:b,snapshot_id:h}};return m(w,{},_)},d.prototype.removeTracksFromPlaylistInPositions=function(f,p,h,_){var b={url:n+"/playlists/"+f+"/tracks",type:"DELETE",postData:{positions:p,snapshot_id:h}};return m(b,{},_)},d.prototype.uploadCustomPlaylistCoverImage=function(f,p,h){var _={url:n+"/playlists/"+f+"/images",type:"PUT",postData:p.replace(/^data:image\/jpeg;base64,/,""),contentType:"image/jpeg"};return m(_,{},h)},d.prototype.getAlbum=function(f,p,h){var _={url:n+"/albums/"+f};return m(_,p,h)},d.prototype.getAlbumTracks=function(f,p,h){var _={url:n+"/albums/"+f+"/tracks"};return m(_,p,h)},d.prototype.getAlbums=function(f,p,h){var _={url:n+"/albums/",params:{ids:f.join(",")}};return m(_,p,h)},d.prototype.getTrack=function(f,p,h){var _={};return _.url=n+"/tracks/"+f,m(_,p,h)},d.prototype.getTracks=function(f,p,h){var _={url:n+"/tracks/",params:{ids:f.join(",")}};return m(_,p,h)},d.prototype.getArtist=function(f,p,h){var _={url:n+"/artists/"+f};return m(_,p,h)},d.prototype.getArtists=function(f,p,h){var _={url:n+"/artists/",params:{ids:f.join(",")}};return m(_,p,h)},d.prototype.getArtistAlbums=function(f,p,h){var _={url:n+"/artists/"+f+"/albums"};return m(_,p,h)},d.prototype.getArtistTopTracks=function(f,p,h,_){var b={url:n+"/artists/"+f+"/top-tracks",params:{country:p}};return m(b,h,_)},d.prototype.getArtistRelatedArtists=function(f,p,h){var _={url:n+"/artists/"+f+"/related-artists"};return m(_,p,h)},d.prototype.getFeaturedPlaylists=function(f,p){var h={url:n+"/browse/featured-playlists"};return m(h,f,p)},d.prototype.getNewReleases=function(f,p){var h={url:n+"/browse/new-releases"};return m(h,f,p)},d.prototype.getCategories=function(f,p){var h={url:n+"/browse/categories"};return m(h,f,p)},d.prototype.getCategory=function(f,p,h){var _={url:n+"/browse/categories/"+f};return m(_,p,h)},d.prototype.getCategoryPlaylists=function(f,p,h){var _={url:n+"/browse/categories/"+f+"/playlists"};return m(_,p,h)},d.prototype.search=function(f,p,h,_){var b={url:n+"/search/",params:{q:f,type:p.join(",")}};return m(b,h,_)},d.prototype.searchAlbums=function(f,p,h){return this.search(f,["album"],p,h)},d.prototype.searchArtists=function(f,p,h){return this.search(f,["artist"],p,h)},d.prototype.searchTracks=function(f,p,h){return this.search(f,["track"],p,h)},d.prototype.searchPlaylists=function(f,p,h){return this.search(f,["playlist"],p,h)},d.prototype.searchShows=function(f,p,h){return this.search(f,["show"],p,h)},d.prototype.searchEpisodes=function(f,p,h){return this.search(f,["episode"],p,h)},d.prototype.getAudioFeaturesForTrack=function(f,p){var h={};return h.url=n+"/audio-features/"+f,m(h,{},p)},d.prototype.getAudioFeaturesForTracks=function(f,p){var h={url:n+"/audio-features",params:{ids:f}};return m(h,{},p)},d.prototype.getAudioAnalysisForTrack=function(f,p){var h={};return h.url=n+"/audio-analysis/"+f,m(h,{},p)},d.prototype.getRecommendations=function(f,p){var h={url:n+"/recommendations"};return m(h,f,p)},d.prototype.getAvailableGenreSeeds=function(f){var p={url:n+"/recommendations/available-genre-seeds"};return m(p,{},f)},d.prototype.getMyDevices=function(f){var p={url:n+"/me/player/devices"};return m(p,{},f)},d.prototype.getMyCurrentPlaybackState=function(f,p){var h={url:n+"/me/player"};return m(h,f,p)},d.prototype.getMyCurrentPlayingTrack=function(f,p){var h={url:n+"/me/player/currently-playing"};return m(h,f,p)},d.prototype.transferMyPlayback=function(f,p,h){var _=p||{};_.device_ids=f;var b={type:"PUT",url:n+"/me/player",postData:_};return m(b,p,h)},d.prototype.play=function(f,p){f=f||{};var h="device_id"in f?{device_id:f.device_id}:null,_={};["context_uri","uris","offset","position_ms"].forEach(function(C){C in f&&(_[C]=f[C])});var b={type:"PUT",url:n+"/me/player/play",params:h,postData:_},w=typeof f=="function"?f:{};return m(b,w,p)},d.prototype.queue=function(f,p,h){p=p||{};var _="device_id"in p?{uri:f,device_id:p.device_id}:{uri:f},b={type:"POST",url:n+"/me/player/queue",params:_};return m(b,p,h)},d.prototype.pause=function(f,p){f=f||{};var h="device_id"in f?{device_id:f.device_id}:null,_={type:"PUT",url:n+"/me/player/pause",params:h};return m(_,f,p)},d.prototype.skipToNext=function(f,p){f=f||{};var h="device_id"in f?{device_id:f.device_id}:null,_={type:"POST",url:n+"/me/player/next",params:h};return m(_,f,p)},d.prototype.skipToPrevious=function(f,p){f=f||{};var h="device_id"in f?{device_id:f.device_id}:null,_={type:"POST",url:n+"/me/player/previous",params:h};return m(_,f,p)},d.prototype.seek=function(f,p,h){p=p||{};var _={position_ms:f};"device_id"in p&&(_.device_id=p.device_id);var b={type:"PUT",url:n+"/me/player/seek",params:_};return m(b,p,h)},d.prototype.setRepeat=function(f,p,h){p=p||{};var _={state:f};"device_id"in p&&(_.device_id=p.device_id);var b={type:"PUT",url:n+"/me/player/repeat",params:_};return m(b,p,h)},d.prototype.setVolume=function(f,p,h){p=p||{};var _={volume_percent:f};"device_id"in p&&(_.device_id=p.device_id);var b={type:"PUT",url:n+"/me/player/volume",params:_};return m(b,p,h)},d.prototype.setShuffle=function(f,p,h){p=p||{};var _={state:f};"device_id"in p&&(_.device_id=p.device_id);var b={type:"PUT",url:n+"/me/player/shuffle",params:_};return m(b,p,h)},d.prototype.getShow=function(f,p,h){var _={};return _.url=n+"/shows/"+f,m(_,p,h)},d.prototype.getShows=function(f,p,h){var _={url:n+"/shows/",params:{ids:f.join(",")}};return m(_,p,h)},d.prototype.getMySavedShows=function(f,p){var h={url:n+"/me/shows"};return m(h,f,p)},d.prototype.addToMySavedShows=function(f,p,h){var _={url:n+"/me/shows",type:"PUT",postData:f};return m(_,p,h)},d.prototype.removeFromMySavedShows=function(f,p,h){var _={url:n+"/me/shows",type:"DELETE",postData:f};return m(_,p,h)},d.prototype.containsMySavedShows=function(f,p,h){var _={url:n+"/me/shows/contains",params:{ids:f.join(",")}};return m(_,p,h)},d.prototype.getShowEpisodes=function(f,p,h){var _={url:n+"/shows/"+f+"/episodes"};return m(_,p,h)},d.prototype.getEpisode=function(f,p,h){var _={};return _.url=n+"/episodes/"+f,m(_,p,h)},d.prototype.getEpisodes=function(f,p,h){var _={url:n+"/episodes/",params:{ids:f.join(",")}};return m(_,p,h)},d.prototype.getAccessToken=function(){return r},d.prototype.setAccessToken=function(f){r=f},d.prototype.setPromiseImplementation=function(f){var p=!1;try{var h=new f(function(_){_()});typeof h.then=="function"&&typeof h.catch=="function"&&(p=!0)}catch(_){console.error(_)}if(p)s=f;else throw new Error("Unsupported implementation of Promises/A+")},d}();e.exports=t})(M1);var m5=M1.exports;const Jn=Fa(m5),f5={name:"ModalDialogTrack",props:["show","track"],emits:["close","play-count-changed"],data(){return{spotify_track:{}}},watch:{track(){if(this.track&&this.track.data_kind==="spotify"&&this.track.media_kind!=="podcast"){const e=new Jn;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:{mark_new(){H.library_track_update(this.track.id,{play_count:"reset"}).then(()=>{this.$emit("play-count-changed"),this.$emit("close")})},mark_played(){H.library_track_update(this.track.id,{play_count:"increment"}).then(()=>{this.$emit("play-count-changed"),this.$emit("close")})},open_album(){this.track.data_kind==="spotify"&&this.track.media_kind!=="podcast"?this.$router.push({name:"music-spotify-album",params:{id:this.spotify_track.album.id}}):this.track.media_kind==="podcast"?this.$router.push({name:"podcast",params:{id:this.track.album_id}}):this.track.media_kind==="audiobook"?this.$router.push({name:"audiobooks-album",params:{id:this.track.album_id}}):this.track.media_kind==="music"&&this.$router.push({name:"music-album",params:{id:this.track.album_id}})},open_album_artist(){this.track.data_kind==="spotify"?this.$router.push({name:"music-spotify-artist",params:{id:this.spotify_track.artists[0].id}}):this.track.media_kind==="music"||this.track.media_kind==="podcast"?this.$router.push({name:"music-artist",params:{id:this.track.album_artist_id}}):this.track.media_kind==="audiobook"&&this.$router.push({name:"audiobooks-artist",params:{id:this.track.album_artist_id}})},open_genre(){this.$router.push({name:"genre-albums",params:{name:this.track.genre},query:{media_kind:this.track.media_kind}})},play(){this.$emit("close"),H.player_play_uri(this.track.uri,!1)},queue_add(){this.$emit("close"),H.queue_add(this.track.uri)},queue_add_next(){this.$emit("close"),H.queue_add_next(this.track.uri)}}},p5={key:0,class:"modal is-active"},h5={class:"modal-content fd-modal-card"},_5={class:"card"},g5={class:"card-content"},y5=["textContent"],v5=["textContent"],b5={key:0,class:"buttons"},z5=["textContent"],C5=["textContent"],w5={class:"content is-small"},k5={key:0},x5=["textContent"],E5=["textContent"],S5={key:1},$5=["textContent"],A5=["textContent"],T5={key:2},O5=["textContent"],D5=["textContent"],P5={key:3},I5=["textContent"],F5=["textContent"],R5={key:4},L5=["textContent"],N5=["textContent"],M5={key:5},V5=["textContent"],H5=["textContent"],B5={key:6},U5=["textContent"],j5=["textContent"],q5={key:7},W5=["textContent"],K5=["textContent"],G5=["textContent"],Z5=["textContent"],Y5=["textContent"],J5={class:"title is-6"},X5=["textContent"],Q5={key:8},eD=["textContent"],tD={class:"title is-6"},nD=["textContent"],rD=["textContent"],sD=["textContent"],oD=["textContent"],aD=["textContent"],iD=["textContent"],lD=["textContent"],uD=["textContent"],cD={key:9},dD=["textContent"],mD=["textContent"],fD={class:"card-footer"},pD=["textContent"],hD=["textContent"],_D=["textContent"];function gD(e,t,n,r,s,o){const a=E("mdicon");return k(),$("div",null,[y(Ft,{name:"fade"},{default:x(()=>[n.show?(k(),$("div",p5,[u("div",{class:"modal-background",onClick:t[0]||(t[0]=i=>e.$emit("close"))}),u("div",h5,[u("div",_5,[u("div",g5,[u("p",{class:"title is-4",textContent:g(n.track.title)},null,8,y5),u("p",{class:"subtitle",textContent:g(n.track.artist)},null,8,v5),n.track.media_kind==="podcast"?(k(),$("div",b5,[n.track.play_count>0?(k(),$("a",{key:0,class:"button is-small",onClick:t[1]||(t[1]=(...i)=>o.mark_new&&o.mark_new(...i)),textContent:g(e.$t("dialog.track.mark-as-new"))},null,8,z5)):V("",!0),n.track.play_count===0?(k(),$("a",{key:1,class:"button is-small",onClick:t[2]||(t[2]=(...i)=>o.mark_played&&o.mark_played(...i)),textContent:g(e.$t("dialog.track.mark-as-played"))},null,8,C5)):V("",!0)])):V("",!0),u("div",w5,[n.track.album?(k(),$("p",k5,[u("span",{class:"heading",textContent:g(e.$t("dialog.track.album"))},null,8,x5),u("a",{class:"title is-6 has-text-link",onClick:t[3]||(t[3]=(...i)=>o.open_album&&o.open_album(...i)),textContent:g(n.track.album)},null,8,E5)])):V("",!0),n.track.album_artist&&n.track.media_kind!=="audiobook"?(k(),$("p",S5,[u("span",{class:"heading",textContent:g(e.$t("dialog.track.album-artist"))},null,8,$5),u("a",{class:"title is-6 has-text-link",onClick:t[4]||(t[4]=(...i)=>o.open_album_artist&&o.open_album_artist(...i)),textContent:g(n.track.album_artist)},null,8,A5)])):V("",!0),n.track.composer?(k(),$("p",T5,[u("span",{class:"heading",textContent:g(e.$t("dialog.track.composer"))},null,8,O5),u("span",{class:"title is-6",textContent:g(n.track.composer)},null,8,D5)])):V("",!0),n.track.date_released?(k(),$("p",P5,[u("span",{class:"heading",textContent:g(e.$t("dialog.track.release-date"))},null,8,I5),u("span",{class:"title is-6",textContent:g(e.$filters.date(n.track.date_released))},null,8,F5)])):n.track.year?(k(),$("p",R5,[u("span",{class:"heading",textContent:g(e.$t("dialog.track.year"))},null,8,L5),u("span",{class:"title is-6",textContent:g(n.track.year)},null,8,N5)])):V("",!0),n.track.genre?(k(),$("p",M5,[u("span",{class:"heading",textContent:g(e.$t("dialog.track.genre"))},null,8,V5),u("a",{class:"title is-6 has-text-link",onClick:t[5]||(t[5]=(...i)=>o.open_genre&&o.open_genre(...i)),textContent:g(n.track.genre)},null,8,H5)])):V("",!0),n.track.disc_number?(k(),$("p",B5,[u("span",{class:"heading",textContent:g(e.$t("dialog.track.position"))},null,8,U5),u("span",{class:"title is-6",textContent:g([n.track.disc_number,n.track.track_number].join(" / "))},null,8,j5)])):V("",!0),n.track.length_ms?(k(),$("p",q5,[u("span",{class:"heading",textContent:g(e.$t("dialog.track.duration"))},null,8,W5),u("span",{class:"title is-6",textContent:g(e.$filters.durationInHours(n.track.length_ms))},null,8,K5)])):V("",!0),u("p",null,[u("span",{class:"heading",textContent:g(e.$t("dialog.track.path"))},null,8,G5),u("span",{class:"title is-6",textContent:g(n.track.path)},null,8,Z5)]),u("p",null,[u("span",{class:"heading",textContent:g(e.$t("dialog.track.type"))},null,8,Y5),u("span",J5,[u("span",{textContent:g([e.$t("media.kind."+n.track.media_kind),e.$t("data.kind."+n.track.data_kind)].join(" - "))},null,8,X5)])]),n.track.samplerate?(k(),$("p",Q5,[u("span",{class:"heading",textContent:g(e.$t("dialog.track.quality"))},null,8,eD),u("span",tD,[u("span",{textContent:g(n.track.type)},null,8,nD),n.track.samplerate?(k(),$("span",{key:0,textContent:g(e.$t("dialog.track.samplerate",{rate:n.track.samplerate}))},null,8,rD)):V("",!0),n.track.channels?(k(),$("span",{key:1,textContent:g(e.$t("dialog.track.channels",{channels:e.$filters.channels(n.track.channels)}))},null,8,sD)):V("",!0),n.track.bitrate?(k(),$("span",{key:2,textContent:g(e.$t("dialog.track.bitrate",{rate:n.track.bitrate}))},null,8,oD)):V("",!0)])])):V("",!0),u("p",null,[u("span",{class:"heading",textContent:g(e.$t("dialog.track.added-on"))},null,8,aD),u("span",{class:"title is-6",textContent:g(e.$filters.datetime(n.track.time_added))},null,8,iD)]),u("p",null,[u("span",{class:"heading",textContent:g(e.$t("dialog.track.rating"))},null,8,lD),u("span",{class:"title is-6",textContent:g(e.$t("dialog.track.rating-value",{rating:Math.floor(n.track.rating/10)}))},null,8,uD)]),n.track.comment?(k(),$("p",cD,[u("span",{class:"heading",textContent:g(e.$t("dialog.track.comment"))},null,8,dD),u("span",{class:"title is-6",textContent:g(n.track.comment)},null,8,mD)])):V("",!0)])]),u("footer",fD,[u("a",{class:"card-footer-item has-text-dark",onClick:t[6]||(t[6]=(...i)=>o.queue_add&&o.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,pD)]),u("a",{class:"card-footer-item has-text-dark",onClick:t[7]||(t[7]=(...i)=>o.queue_add_next&&o.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,hD)]),u("a",{class:"card-footer-item has-text-dark",onClick:t[8]||(t[8]=(...i)=>o.play&&o.play(...i))},[y(a,{class:"icon",name:"play",size:"16"}),u("span",{class:"is-size-7",textContent:g(e.$t("dialog.track.play"))},null,8,_D)])])])]),u("button",{class:"modal-close is-large","aria-label":"close",onClick:t[9]||(t[9]=i=>e.$emit("close"))})])):V("",!0)]),_:1})])}const yD=te(f5,[["render",gD]]),vD={name:"ProgressBar",props:["max","value"]},bD=["value","max"];function zD(e,t,n,r,s,o){return n.value>0?(k(),$("progress",{key:0,class:"progress is-info",value:n.value,max:n.max},null,8,bD)):V("",!0)}const CD=te(vD,[["render",zD],["__scopeId","data-v-b2fd846d"]]),wD={name:"ListTracks",components:{ModalDialogTrack:yD,ProgressBar:CD},props:["tracks","uris","expression","show_progress","show_icon"],emits:["play-count-changed"],data(){return{show_details_modal:!1,selected_track:{}}},methods:{play_track(e){this.uris?H.player_play_uri(this.uris,!1,this.tracks.items.indexOf(e)):this.expression?H.player_play_expression(this.expression,!1,this.tracks.items.indexOf(e)):H.player_play_uri(e.uri,!1)},open_dialog(e){this.selected_track=e,this.show_details_modal=!0}}},kD={key:0,class:"mt-6 mb-5 py-2"},xD=["id","textContent"],ED=["onClick"],SD={key:0,class:"media-left is-clickable"},$D={class:"media-content is-clickable is-clipped"},AD=["textContent"],TD=["textContent"],OD=["textContent"],DD={class:"media-right"},PD=["onClick"];function ID(e,t,n,r,s,o){const a=E("mdicon"),i=E("progress-bar"),l=E("modal-dialog-track");return k(),$(we,null,[(k(!0),$(we,null,lt(n.tracks,c=>(k(),$(we,{key:c.itemId},[c.isItem?(k(),$("div",{key:1,class:Ee(["media is-align-items-center",{"with-progress":n.show_progress}]),onClick:m=>o.play_track(c.item)},[n.show_icon?(k(),$("figure",SD,[y(a,{class:"icon",name:"file-outline",size:"16"})])):V("",!0),u("div",$D,[u("h1",{class:Ee(["title is-6",{"has-text-grey":c.item.media_kind==="podcast"&&c.item.play_count>0}]),textContent:g(c.item.title)},null,10,AD),u("h2",{class:"subtitle is-7 has-text-grey has-text-weight-bold",textContent:g(c.item.artist)},null,8,TD),u("h2",{class:"subtitle is-7 has-text-grey",textContent:g(c.item.album)},null,8,OD),n.show_progress?(k(),he(i,{key:0,max:c.item.length_ms,value:c.item.seek_ms},null,8,["max","value"])):V("",!0)]),u("div",DD,[u("a",{onClick:nt(m=>o.open_dialog(c.item),["prevent","stop"])},[y(a,{class:"icon has-text-dark",name:"dots-vertical",size:"16"})],8,PD)])],10,ED)):(k(),$("div",kD,[u("span",{id:"index_"+c.groupKey,class:"tag is-info is-light is-small has-text-weight-bold",textContent:g(c.groupKey)},null,8,xD)]))],64))),128)),(k(),he(es,{to:"#app"},[y(l,{show:s.show_details_modal,track:s.selected_track,onClose:t[0]||(t[0]=c=>s.show_details_modal=!1),onPlayCountChanged:t[1]||(t[1]=c=>e.$emit("play-count-changed"))},null,8,["show","track"])]))],64)}const Cn=te(wD,[["render",ID]]),FD={name:"ModalDialogAlbum",components:{CoverArtwork:Rn},props:["show","album","media_kind","new_tracks"],emits:["close","remove-podcast","play-count-changed"],data(){return{artwork_visible:!1}},computed:{artwork_url(){return H.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"),H.player_play_uri(this.album.uri,!1)},queue_add(){this.$emit("close"),H.queue_add(this.album.uri)},queue_add_next(){this.$emit("close"),H.queue_add_next(this.album.uri)},open_album(){this.$emit("close"),this.media_kind_resolved==="podcast"?this.$router.push({name:"podcast",params:{id:this.album.id}}):this.media_kind_resolved==="audiobook"?this.$router.push({name:"audiobooks-album",params:{id:this.album.id}}):this.$router.push({name:"music-album",params:{id:this.album.id}})},open_artist(){this.$emit("close"),this.media_kind_resolved==="audiobook"?this.$router.push({name:"audiobooks-artist",params:{id:this.album.artist_id}}):this.$router.push({name:"music-artist",params:{id:this.album.artist_id}})},mark_played(){H.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}}},RD={key:0,class:"modal is-active"},LD={class:"modal-content fd-modal-card"},ND={class:"card"},MD={class:"card-content"},VD={class:"title is-4"},HD=["textContent"],BD={key:0,class:"buttons"},UD=["textContent"],jD=["textContent"],qD={class:"content is-small"},WD={key:0},KD=["textContent"],GD=["textContent"],ZD={key:1},YD=["textContent"],JD=["textContent"],XD={key:2},QD=["textContent"],eP=["textContent"],tP=["textContent"],nP=["textContent"],rP=["textContent"],sP=["textContent"],oP=["textContent"],aP=["textContent"],iP=["textContent"],lP=["textContent"],uP={class:"card-footer"},cP=["textContent"],dP=["textContent"],mP=["textContent"];function fP(e,t,n,r,s,o){const a=E("cover-artwork"),i=E("mdicon");return k(),$("div",null,[y(Ft,{name:"fade"},{default:x(()=>[n.show?(k(),$("div",RD,[u("div",{class:"modal-background",onClick:t[0]||(t[0]=l=>e.$emit("close"))}),u("div",LD,[u("div",ND,[u("div",MD,[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",VD,[u("a",{class:"has-text-link",onClick:t[1]||(t[1]=(...l)=>o.open_album&&o.open_album(...l)),textContent:g(n.album.name)},null,8,HD)]),o.media_kind_resolved==="podcast"?(k(),$("div",BD,[u("a",{class:"button is-small",onClick:t[2]||(t[2]=(...l)=>o.mark_played&&o.mark_played(...l)),textContent:g(e.$t("dialog.album.mark-as-played"))},null,8,UD),n.album.data_kind==="url"?(k(),$("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,jD)):V("",!0)])):V("",!0),u("div",qD,[n.album.artist?(k(),$("p",WD,[u("span",{class:"heading",textContent:g(e.$t("dialog.album.artist"))},null,8,KD),u("a",{class:"title is-6 has-text-link",onClick:t[4]||(t[4]=(...l)=>o.open_artist&&o.open_artist(...l)),textContent:g(n.album.artist)},null,8,GD)])):V("",!0),n.album.date_released?(k(),$("p",ZD,[u("span",{class:"heading",textContent:g(e.$t("dialog.album.release-date"))},null,8,YD),u("span",{class:"title is-6",textContent:g(e.$filters.date(n.album.date_released))},null,8,JD)])):n.album.year>0?(k(),$("p",XD,[u("span",{class:"heading",textContent:g(e.$t("dialog.album.year"))},null,8,QD),u("span",{class:"title is-6",textContent:g(n.album.year)},null,8,eP)])):V("",!0),u("p",null,[u("span",{class:"heading",textContent:g(e.$t("dialog.album.tracks"))},null,8,tP),u("span",{class:"title is-6",textContent:g(n.album.track_count)},null,8,nP)]),u("p",null,[u("span",{class:"heading",textContent:g(e.$t("dialog.album.duration"))},null,8,rP),u("span",{class:"title is-6",textContent:g(e.$filters.durationInHours(n.album.length_ms))},null,8,sP)]),u("p",null,[u("span",{class:"heading",textContent:g(e.$t("dialog.album.type"))},null,8,oP),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,aP)]),u("p",null,[u("span",{class:"heading",textContent:g(e.$t("dialog.album.added-on"))},null,8,iP),u("span",{class:"title is-6",textContent:g(e.$filters.datetime(n.album.time_added))},null,8,lP)])])]),u("footer",uP,[u("a",{class:"card-footer-item has-text-dark",onClick:t[5]||(t[5]=(...l)=>o.queue_add&&o.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,cP)]),u("a",{class:"card-footer-item has-text-dark",onClick:t[6]||(t[6]=(...l)=>o.queue_add_next&&o.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,dP)]),u("a",{class:"card-footer-item has-text-dark",onClick:t[7]||(t[7]=(...l)=>o.play&&o.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,mP)])])])]),u("button",{class:"modal-close is-large","aria-label":"close",onClick:t[8]||(t[8]=l=>e.$emit("close"))})])):V("",!0)]),_:1})])}const fu=te(FD,[["render",fP]]),ci={load(e){return Promise.all([H.library_album(e.params.id),H.library_album_tracks(e.params.id)])},set(e,t){e.album=t[0].data,e.tracks=new ge(t[1].data),e.tracks.group(c5("disc_number")),e.tracks.indexList<=1&&e.tracks.group($m())}},pP={name:"PageAlbum",components:{ContentWithHero:mu,CoverArtwork:Rn,ListTracks:Cn,ModalDialogAlbum:fu},beforeRouteEnter(e,t,n){ci.load(e).then(r=>{n(s=>ci.set(s,r))})},beforeRouteUpdate(e,t,n){const r=this;ci.load(e).then(s=>{ci.set(r,s),n()})},data(){return{album:{},show_details_modal:!1,tracks:new ge}},methods:{open_artist(){this.show_details_modal=!1,this.$router.push({name:"music-artist",params:{id:this.album.artist_id}})},play(){H.player_play_uri(this.album.uri,!0)}}},hP=["textContent"],_P={class:"subtitle is-6 has-text-link"},gP=["textContent"],yP={class:"buttons fd-is-centered-mobile mt-5"},vP=["textContent"],bP=["textContent"];function zP(e,t,n,r,s,o){const a=E("mdicon"),i=E("cover-artwork"),l=E("list-tracks"),c=E("modal-dialog-album"),m=E("content-with-hero");return k(),$("div",null,[y(m,null,{"heading-left":x(()=>[u("h1",{class:"title is-5",textContent:g(s.album.name)},null,8,hP),u("h2",_P,[u("a",{class:"has-text-link",onClick:t[0]||(t[0]=(...d)=>o.open_artist&&o.open_artist(...d)),textContent:g(s.album.artist)},null,8,gP)]),u("div",yP,[u("a",{class:"button is-small is-dark is-rounded",onClick:t[1]||(t[1]=(...d)=>o.play&&o.play(...d))},[y(a,{class:"icon",name:"shuffle",size:"16"}),u("span",{textContent:g(e.$t("page.album.shuffle"))},null,8,vP)]),u("a",{class:"button is-small is-light is-rounded",onClick:t[2]||(t[2]=d=>s.show_details_modal=!0)},[y(a,{class:"icon",name:"dots-horizontal",size:"16"})])])]),"heading-right":x(()=>[y(i,{artwork_url:s.album.artwork_url,artist:s.album.artist,album:s.album.name,class:"is-clickable fd-has-shadow fd-cover fd-cover-medium-image",onClick:t[3]||(t[3]=d=>s.show_details_modal=!0)},null,8,["artwork_url","artist","album"])]),content:x(()=>[u("p",{class:"heading is-7 has-text-centered-mobile mt-5",textContent:g(e.$t("page.album.track-count",{count:s.album.track_count}))},null,8,bP),y(l,{tracks:s.tracks,uris:s.album.uri},null,8,["tracks","uris"]),y(c,{show:s.show_details_modal,album:s.album,onClose:t[4]||(t[4]=d=>s.show_details_modal=!1)},null,8,["show","album"])]),_:1})])}const CP=te(pP,[["render",zP]]),wP={name:"ListItemTrackSpotify",props:["track","position","context_uri"],methods:{play(){this.track.is_playable&&H.player_play_uri(this.context_uri,!1,this.position)}}},kP={class:"media is-align-items-center"},xP=["textContent"],EP=["textContent"],SP={key:0,class:"subtitle is-7"},$P=["textContent"],AP=["textContent"],TP={class:"media-right"};function OP(e,t,n,r,s,o){return k(),$("div",kP,[u("div",{class:Ee(["media-content is-clipped",{"is-clickable":n.track.is_playable,"fd-is-not-allowed":!n.track.is_playable}]),onClick:t[0]||(t[0]=(...a)=>o.play&&o.play(...a))},[u("h1",{class:Ee(["title is-6",{"has-text-grey-light":!n.track.is_playable}]),textContent:g(n.track.name)},null,10,xP),u("h2",{class:Ee(["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,EP),n.track.is_playable?V("",!0):(k(),$("h2",SP,[_t(" ("),u("span",{textContent:g(e.$t("list.spotify.not-playable-track"))},null,8,$P),n.track.restrictions&&n.track.restrictions.reason?(k(),$("span",{key:0,textContent:g(e.$t("list.spotify.restriction-reason",{reason:n.track.restrictions.reason}))},null,8,AP)):V("",!0),_t(") ")]))],2),u("div",TP,[st(e.$slots,"actions")])])}const Tm=te(wP,[["render",OP]]),DP={name:"ModalDialogAlbumSpotify",components:{CoverArtwork:Rn},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"),H.player_play_uri(this.album.uri,!1)},queue_add(){this.$emit("close"),H.queue_add(this.album.uri)},queue_add_next(){this.$emit("close"),H.queue_add_next(this.album.uri)},open_album(){this.$emit("close"),this.$router.push({name:"music-spotify-album",params:{id:this.album.id}})},open_artist(){this.$emit("close"),this.$router.push({name:"music-spotify-artist",params:{id:this.album.artists[0].id}})},artwork_loaded(){this.artwork_visible=!0},artwork_error(){this.artwork_visible=!1}}},PP={key:0,class:"modal is-active"},IP={class:"modal-content fd-modal-card"},FP={class:"card"},RP={class:"card-content"},LP={class:"title is-4"},NP=["textContent"],MP={class:"content is-small"},VP=["textContent"],HP=["textContent"],BP=["textContent"],UP=["textContent"],jP=["textContent"],qP=["textContent"],WP={class:"card-footer"},KP=["textContent"],GP=["textContent"],ZP=["textContent"];function YP(e,t,n,r,s,o){const a=E("cover-artwork"),i=E("mdicon");return k(),$("div",null,[y(Ft,{name:"fade"},{default:x(()=>[n.show?(k(),$("div",PP,[u("div",{class:"modal-background",onClick:t[0]||(t[0]=l=>e.$emit("close"))}),u("div",IP,[u("div",FP,[u("div",RP,[y(a,{artwork_url:o.artwork_url,artist:n.album.artist,album:n.album.name,class:"fd-has-shadow fd-cover fd-cover-normal-image mb-5",onLoad:o.artwork_loaded,onError:o.artwork_error},null,8,["artwork_url","artist","album","onLoad","onError"]),u("p",LP,[u("a",{class:"has-text-link",onClick:t[1]||(t[1]=(...l)=>o.open_album&&o.open_album(...l)),textContent:g(n.album.name)},null,8,NP)]),u("div",MP,[u("p",null,[u("span",{class:"heading",textContent:g(e.$t("dialog.spotify.album.album-artist"))},null,8,VP),u("a",{class:"title is-6 has-text-link",onClick:t[2]||(t[2]=(...l)=>o.open_artist&&o.open_artist(...l)),textContent:g(n.album.artists[0].name)},null,8,HP)]),u("p",null,[u("span",{class:"heading",textContent:g(e.$t("dialog.spotify.album.release-date"))},null,8,BP),u("span",{class:"title is-6",textContent:g(e.$filters.date(n.album.release_date))},null,8,UP)]),u("p",null,[u("span",{class:"heading",textContent:g(e.$t("dialog.spotify.album.type"))},null,8,jP),u("span",{class:"title is-6",textContent:g(n.album.album_type)},null,8,qP)])])]),u("footer",WP,[u("a",{class:"card-footer-item has-text-dark",onClick:t[3]||(t[3]=(...l)=>o.queue_add&&o.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,KP)]),u("a",{class:"card-footer-item has-text-dark",onClick:t[4]||(t[4]=(...l)=>o.queue_add_next&&o.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,GP)]),u("a",{class:"card-footer-item has-text-dark",onClick:t[5]||(t[5]=(...l)=>o.play&&o.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,ZP)])])])]),u("button",{class:"modal-close is-large","aria-label":"close",onClick:t[6]||(t[6]=l=>e.$emit("close"))})])):V("",!0)]),_:1})])}const Va=te(DP,[["render",YP]]),JP={name:"ModalDialogTrackSpotify",props:["show","track","album"],emits:["close"],methods:{play(){this.$emit("close"),H.player_play_uri(this.track.uri,!1)},queue_add(){this.$emit("close"),H.queue_add(this.track.uri)},queue_add_next(){this.$emit("close"),H.queue_add_next(this.track.uri)},open_album(){this.$emit("close"),this.$router.push({name:"music-spotify-album",params:{id:this.album.id}})},open_artist(){this.$emit("close"),this.$router.push({name:"music-spotify-artist",params:{id:this.album.artists[0].id}})}}},XP={key:0,class:"modal is-active"},QP={class:"modal-content fd-modal-card"},eI={class:"card"},tI={class:"card-content"},nI=["textContent"],rI=["textContent"],sI={class:"content is-small"},oI=["textContent"],aI=["textContent"],iI=["textContent"],lI=["textContent"],uI=["textContent"],cI=["textContent"],dI=["textContent"],mI=["textContent"],fI=["textContent"],pI=["textContent"],hI=["textContent"],_I=["textContent"],gI={class:"card-footer"},yI=["textContent"],vI=["textContent"],bI=["textContent"];function zI(e,t,n,r,s,o){const a=E("mdicon");return k(),$("div",null,[y(Ft,{name:"fade"},{default:x(()=>[n.show?(k(),$("div",XP,[u("div",{class:"modal-background",onClick:t[0]||(t[0]=i=>e.$emit("close"))}),u("div",QP,[u("div",eI,[u("div",tI,[u("p",{class:"title is-4",textContent:g(n.track.name)},null,8,nI),u("p",{class:"subtitle",textContent:g(n.track.artists[0].name)},null,8,rI),u("div",sI,[u("p",null,[u("span",{class:"heading",textContent:g(e.$t("dialog.spotify.track.album"))},null,8,oI),u("a",{class:"title is-6 has-text-link",onClick:t[1]||(t[1]=(...i)=>o.open_album&&o.open_album(...i)),textContent:g(n.album.name)},null,8,aI)]),u("p",null,[u("span",{class:"heading",textContent:g(e.$t("dialog.spotify.track.album-artist"))},null,8,iI),u("a",{class:"title is-6 has-text-link",onClick:t[2]||(t[2]=(...i)=>o.open_artist&&o.open_artist(...i)),textContent:g(n.album.artists[0].name)},null,8,lI)]),u("p",null,[u("span",{class:"heading",textContent:g(e.$t("dialog.spotify.track.release-date"))},null,8,uI),u("span",{class:"title is-6",textContent:g(e.$filters.date(n.album.release_date))},null,8,cI)]),u("p",null,[u("span",{class:"heading",textContent:g(e.$t("dialog.spotify.track.position"))},null,8,dI),u("span",{class:"title is-6",textContent:g([n.track.disc_number,n.track.track_number].join(" / "))},null,8,mI)]),u("p",null,[u("span",{class:"heading",textContent:g(e.$t("dialog.spotify.track.duration"))},null,8,fI),u("span",{class:"title is-6",textContent:g(e.$filters.durationInHours(n.track.duration_ms))},null,8,pI)]),u("p",null,[u("span",{class:"heading",textContent:g(e.$t("dialog.spotify.track.path"))},null,8,hI),u("span",{class:"title is-6",textContent:g(n.track.uri)},null,8,_I)])])]),u("footer",gI,[u("a",{class:"card-footer-item has-text-dark",onClick:t[3]||(t[3]=(...i)=>o.queue_add&&o.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,yI)]),u("a",{class:"card-footer-item has-text-dark",onClick:t[4]||(t[4]=(...i)=>o.queue_add_next&&o.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,vI)]),u("a",{class:"card-footer-item has-text-dark",onClick:t[5]||(t[5]=(...i)=>o.play&&o.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,bI)])])])]),u("button",{class:"modal-close is-large","aria-label":"close",onClick:t[6]||(t[6]=i=>e.$emit("close"))})])):V("",!0)]),_:1})])}const Om=te(JP,[["render",zI]]),di={load(e){const t=new Jn;return t.setAccessToken(Ue.state.spotify.webapi_token),t.getAlbum(e.params.id,{market:Ue.state.spotify.webapi_country})},set(e,t){e.album=t}},CI={name:"PageAlbumSpotify",components:{ContentWithHero:mu,CoverArtwork:Rn,ListItemTrackSpotify:Tm,ModalDialogAlbumSpotify:Va,ModalDialogTrackSpotify:Om},beforeRouteEnter(e,t,n){di.load(e).then(r=>{n(s=>di.set(s,r))})},beforeRouteUpdate(e,t,n){const r=this;di.load(e).then(s=>{di.set(r,s),n()})},data(){return{album:{artists:[{}],tracks:{}},selected_track:{},show_details_modal:!1,show_track_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({name:"music-spotify-artist",params:{id:this.album.artists[0].id}})},play(){this.show_details_modal=!1,H.player_play_uri(this.album.uri,!0)},open_track_dialog(e){this.selected_track=e,this.show_track_details_modal=!0}}},wI=["textContent"],kI={class:"subtitle is-6 has-text-link"},xI=["textContent"],EI={class:"buttons fd-is-centered-mobile mt-5"},SI=["textContent"],$I=["textContent"],AI=["onClick"];function TI(e,t,n,r,s,o){const a=E("mdicon"),i=E("cover-artwork"),l=E("list-item-track-spotify"),c=E("modal-dialog-album-spotify"),m=E("modal-dialog-track-spotify"),d=E("content-with-hero");return k(),$("div",null,[y(d,null,{"heading-left":x(()=>[u("h1",{class:"title is-5",textContent:g(s.album.name)},null,8,wI),u("h2",kI,[u("a",{class:"has-text-link",onClick:t[0]||(t[0]=(...f)=>o.open_artist&&o.open_artist(...f)),textContent:g(s.album.artists[0].name)},null,8,xI)]),u("div",EI,[u("a",{class:"button is-small is-dark is-rounded",onClick:t[1]||(t[1]=(...f)=>o.play&&o.play(...f))},[y(a,{class:"icon",name:"shuffle",size:"16"}),u("span",{textContent:g(e.$t("page.spotify.album.shuffle"))},null,8,SI)]),u("a",{class:"button is-small is-light is-rounded",onClick:t[2]||(t[2]=f=>s.show_details_modal=!0)},[y(a,{class:"icon",name:"dots-horizontal",size:"16"})])])]),"heading-right":x(()=>[y(i,{artwork_url:o.artwork_url,artist:s.album.artist,album:s.album.name,class:"is-clickable fd-has-shadow fd-cover fd-cover-medium-image",onClick:t[3]||(t[3]=f=>s.show_details_modal=!0)},null,8,["artwork_url","artist","album"])]),content:x(()=>[u("p",{class:"heading is-7 has-text-centered-mobile mt-5",textContent:g(e.$t("page.spotify.album.track-count",{count:s.album.tracks.total}))},null,8,$I),(k(!0),$(we,null,lt(s.album.tracks.items,(f,p)=>(k(),he(l,{key:f.id,track:f,position:p,context_uri:s.album.uri},{actions:x(()=>[u("a",{onClick:nt(h=>o.open_track_dialog(f),["prevent","stop"])},[y(a,{class:"icon has-text-dark",name:"dots-vertical",size:"16"})],8,AI)]),_:2},1032,["track","position","context_uri"]))),128)),y(c,{show:s.show_details_modal,album:s.album,onClose:t[4]||(t[4]=f=>s.show_details_modal=!1)},null,8,["show","album"]),y(m,{show:s.show_track_details_modal,track:s.selected_track,album:s.album,onClose:t[5]||(t[5]=f=>s.show_track_details_modal=!1)},null,8,["show","track","album"])]),_:1})])}const OI=te(CI,[["render",TI]]),DI={name:"ContentWithHeading",data(){return{options_visible:!1}},computed:{icon_name(){return this.options_visible?"chevron-up":"chevron-down"},position(){return{hash:this.options_visible?"#top":"#app"}}},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})},visibilityChanged(e){this.options_visible=e}}},PI={class:"section"},II={class:"container"},FI={class:"columns is-centered"},RI={class:"column is-four-fifths"},LI={key:0},NI={ref:"options_ref",style:{height:"1px"}},MI={class:"buttons is-centered mt-4 mb-2"},VI={id:"top",class:"level is-clipped"},HI={class:"level-left is-flex-shrink-1"},BI={class:"level-item is-flex-shrink-1 has-text-centered-mobile"},UI={class:"level-right has-text-centered-mobile"},jI={class:"mt-4"};function qI(e,t,n,r,s,o){const a=E("mdicon"),i=E("router-link");return k(),$("section",PI,[u("div",II,[u("div",FI,[u("div",RI,[e.$slots.options?(k(),$("section",LI,[u("div",NI,null,512),st(e.$slots,"options"),u("nav",MI,[y(i,{class:"button is-small is-white",to:o.position},{default:x(()=>[y(a,{class:"icon is-small",name:o.icon_name,size:"16"},null,8,["name"])]),_:1},8,["to"])])])):V("",!0),u("div",{class:Ee({"is-full-height":e.$slots.options})},[u("nav",VI,[u("div",HI,[u("div",BI,[u("div",null,[st(e.$slots,"heading-left")])])]),u("div",UI,[st(e.$slots,"heading-right")])]),st(e.$slots,"content"),u("div",jI,[st(e.$slots,"footer")])],2)])])])])}const Qe=te(DI,[["render",qI]]),WI={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)}}},KI={class:"dropdown-trigger"},GI=["textContent"],ZI={id:"dropdown",class:"dropdown-menu",role:"menu"},YI={class:"dropdown-content"},JI=["onClick","textContent"];function XI(e,t,n,r,s,o){const a=E("mdicon"),i=Nd("click-away");return gt((k(),$("div",{class:Ee(["dropdown",{"is-active":s.is_active}])},[u("div",KI,[u("button",{class:"button","aria-haspopup":"true","aria-controls":"dropdown",onClick:t[0]||(t[0]=l=>s.is_active=!s.is_active)},[u("span",{textContent:g(o.option.name)},null,8,GI),y(a,{class:"icon",name:"chevron-down",size:"16"})])]),u("div",ZI,[u("div",YI,[(k(!0),$(we,null,lt(n.options,l=>(k(),$("a",{key:l.id,class:Ee(["dropdown-item",{"is-active":n.value===l.id}]),onClick:c=>o.select(l),textContent:g(l.name)},null,10,JI))),128))])])],2)),[[i,o.onClickOutside]])}const $s=te(WI,[["render",XI]]),QI={name:"IndexButtonList",props:["index"]},eF={class:"buttons is-centered mb-4 fd-is-square"};function tF(e,t,n,r,s,o){const a=E("router-link");return k(),$("section",null,[u("nav",eF,[(k(!0),$(we,null,lt(n.index,i=>(k(),he(a,{key:i,class:"button is-small",to:"#index_"+i},{default:x(()=>[_t(g(i),1)]),_:2},1032,["to"]))),128))])])}const Xn=te(QI,[["render",tF]]),nF={name:"ListAlbums",components:{CoverArtwork:Rn,ModalDialog:fm,ModalDialogAlbum:fu},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({name:"podcast",params:{id:e.id}}):this.media_kind_resolved==="audiobook"?this.$router.push({name:"audiobooks-album",params:{id:e.id}}):this.$router.push({name:"music-album",params:{id:e.id}})},open_dialog(e){this.selected_album=e,this.show_details_modal=!0},open_remove_podcast_dialog(){H.library_album_tracks(this.selected_album.id,{limit:1}).then(({data:e})=>{H.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,H.library_playlist_delete(this.rss_playlist_to_remove.id).then(()=>{this.$emit("podcast-deleted")})}}},rF={key:0,class:"mt-6 mb-5 py-2"},sF=["id","textContent"],oF=["onClick"],aF={key:0,class:"media-left"},iF={class:"media-content is-clickable is-clipped"},lF=["textContent"],uF=["textContent"],cF=["textContent"],dF={class:"media-right"},mF=["onClick"],fF=["textContent"],pF={class:"is-size-7"},hF=["textContent"],_F=["textContent"];function gF(e,t,n,r,s,o){const a=E("cover-artwork"),i=E("mdicon"),l=E("modal-dialog-album"),c=E("modal-dialog");return k(),$(we,null,[(k(!0),$(we,null,lt(n.albums,m=>(k(),$(we,{key:m.itemId},[!m.isItem&&!n.hide_group_title?(k(),$("div",rF,[u("span",{id:"index_"+m.groupKey,class:"tag is-info is-light is-small has-text-weight-bold",textContent:g(m.groupKey)},null,8,sF)])):m.isItem?(k(),$("div",{key:1,class:"media is-align-items-center",onClick:d=>o.open_album(m.item)},[o.is_visible_artwork?(k(),$("div",aF,[y(a,{artwork_url:m.item.artwork_url,artist:m.item.artist,album:m.item.name,class:"is-clickable fd-has-shadow fd-cover fd-cover-small-image"},null,8,["artwork_url","artist","album"])])):V("",!0),u("div",iF,[u("div",null,[u("h1",{class:"title is-6",textContent:g(m.item.name)},null,8,lF),u("h2",{class:"subtitle is-7 has-text-grey has-text-weight-bold",textContent:g(m.item.artist)},null,8,uF),m.item.date_released&&m.item.media_kind==="music"?(k(),$("h2",{key:0,class:"subtitle is-7 has-text-grey",textContent:g(e.$filters.date(m.item.date_released))},null,8,cF)):V("",!0)])]),u("div",dF,[u("a",{onClick:nt(d=>o.open_dialog(m.item),["prevent","stop"])},[y(i,{class:"icon has-text-dark",name:"dots-vertical",size:"16"})],8,mF)])],8,oF)):V("",!0)],64))),128)),(k(),he(es,{to:"#app"},[y(l,{show:s.show_details_modal,album:s.selected_album,media_kind:n.media_kind,onRemovePodcast:t[0]||(t[0]=m=>o.open_remove_podcast_dialog()),onPlayCountChanged:t[1]||(t[1]=m=>o.play_count_changed()),onClose:t[2]||(t[2]=m=>s.show_details_modal=!1)},null,8,["show","album","media_kind"]),y(c,{show:s.show_remove_podcast_modal,title:e.$t("page.podcast.remove-podcast"),delete_action:e.$t("page.podcast.remove"),onClose:t[3]||(t[3]=m=>s.show_remove_podcast_modal=!1),onDelete:o.remove_podcast},{"modal-content":x(()=>[u("p",{textContent:g(e.$t("list.albums.info-1"))},null,8,fF),u("p",pF,[_t(" ("),u("span",{textContent:g(e.$t("list.albums.info-2"))},null,8,hF),u("b",{textContent:g(s.rss_playlist_to_remove.name)},null,8,_F),_t(") ")])]),_:1},8,["show","title","delete_action","onDelete"])]))],64)}const cr=te(nF,[["render",gF]]),yF={name:"TabsMusic",computed:{spotify_enabled(){return this.$store.state.spotify.webapi_token_valid}}},vF={class:"section fd-tabs-section"},bF={class:"container"},zF={class:"columns is-centered"},CF={class:"column is-four-fifths"},wF={class:"tabs is-centered is-small"},kF=["onClick","onKeypress"],xF=["textContent"],EF=["onClick","onKeypress"],SF=["textContent"],$F=["onClick","onKeypress"],AF=["textContent"],TF=["onClick","onKeypress"],OF=["textContent"],DF=["onClick","onKeypress"],PF=["textContent"],IF=["onClick","onKeypress"],FF=["textContent"];function RF(e,t,n,r,s,o){const a=E("mdicon"),i=E("router-link");return k(),$("section",vF,[u("div",bF,[u("div",zF,[u("div",CF,[u("div",wF,[u("ul",null,[y(i,{to:{name:"music-history"},custom:""},{default:x(({navigate:l,isActive:c})=>[u("li",{class:Ee({"is-active":c})},[u("a",{onClick:l,onKeypress:an(l,["enter"])},[y(a,{class:"icon is-small",name:"history",size:"16"}),u("span",{textContent:g(e.$t("page.music.tabs.history"))},null,8,xF)],40,kF)],2)]),_:1}),y(i,{to:{name:"music-artists"},custom:""},{default:x(({navigate:l,isActive:c})=>[u("li",{class:Ee({"is-active":c})},[u("a",{onClick:l,onKeypress:an(l,["enter"])},[y(a,{class:"icon is-small",name:"account-music",size:"16"}),u("span",{textContent:g(e.$t("page.music.tabs.artists"))},null,8,SF)],40,EF)],2)]),_:1}),y(i,{to:{name:"music-albums"},custom:""},{default:x(({navigate:l,isActive:c})=>[u("li",{class:Ee({"is-active":c})},[u("a",{onClick:l,onKeypress:an(l,["enter"])},[y(a,{class:"icon is-small",name:"album",size:"16"}),u("span",{textContent:g(e.$t("page.music.tabs.albums"))},null,8,AF)],40,$F)],2)]),_:1}),y(i,{to:{name:"music-genres"},custom:""},{default:x(({navigate:l,isActive:c})=>[u("li",{class:Ee({"is-active":c})},[u("a",{onClick:l,onKeypress:an(l,["enter"])},[y(a,{class:"icon is-small",name:"speaker",size:"16"}),u("span",{textContent:g(e.$t("page.music.tabs.genres"))},null,8,OF)],40,TF)],2)]),_:1}),y(i,{to:{name:"music-composers"},custom:""},{default:x(({navigate:l,isActive:c})=>[u("li",{class:Ee({"is-active":c})},[u("a",{onClick:l,onKeypress:an(l,["enter"])},[y(a,{class:"icon is-small",name:"book-open-page-variant",size:"16"}),u("span",{textContent:g(e.$t("page.music.tabs.composers"))},null,8,PF)],40,DF)],2)]),_:1}),o.spotify_enabled?(k(),he(i,{key:0,to:{name:"music-spotify"},custom:""},{default:x(({navigate:l,isActive:c})=>[u("li",{class:Ee({"is-active":c})},[u("a",{onClick:l,onKeypress:an(l,["enter"])},[y(a,{class:"icon is-small",name:"spotify",size:"16"}),u("span",{textContent:g(e.$t("page.music.tabs.spotify"))},null,8,FF)],40,IF)],2)]),_:1})):V("",!0)])])])])])])}const dr=te(yF,[["render",RF]]),mi={load(e){return H.library_albums("music")},set(e,t){e.albums_list=new ge(t.data)}},LF={name:"PageAlbums",components:{ContentWithHeading:Qe,ControlDropdown:$s,IndexButtonList:Xn,ListAlbums:cr,TabsMusic:dr},beforeRouteEnter(e,t,n){mi.load(e).then(r=>{n(s=>mi.set(s,r))})},beforeRouteUpdate(e,t,n){if(!this.albums_list.isEmpty()){n();return}const r=this;mi.load(e).then(s=>{mi.set(r,s),n()})},data(){return{albums_list:new ge,groupby_options:[{id:1,name:this.$t("page.albums.sort.name"),options:Ln("name_sort",!0)},{id:2,name:this.$t("page.albums.sort.recently-added"),options:xl("time_added",{direction:"desc"})},{id:3,name:this.$t("page.albums.sort.recently-released"),options:xl("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(n_,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(Dl,e)}},hide_spotify:{get(){return this.$store.state.hide_spotify},set(e){this.$store.commit(ka,e)}}}},NF={class:"fd-page-with-tabs"},MF={class:"columns"},VF={class:"column"},HF=["textContent"],BF={class:"field"},UF={class:"control"},jF=["textContent"],qF=["textContent"],WF={key:0,class:"field"},KF={class:"control"},GF=["textContent"],ZF=["textContent"],YF={class:"column"},JF=["textContent"],XF=["textContent"],QF=["textContent"];function eR(e,t,n,r,s,o){const a=E("tabs-music"),i=E("index-button-list"),l=E("control-dropdown"),c=E("list-albums"),m=E("content-with-heading");return k(),$("div",NF,[y(a),y(m,null,{options:x(()=>[y(i,{index:o.albums.indexList},null,8,["index"]),u("div",MF,[u("div",VF,[u("p",{class:"heading mb-5",textContent:g(e.$t("page.albums.filter"))},null,8,HF),u("div",BF,[u("div",UF,[gt(u("input",{id:"switchHideSingles","onUpdate:modelValue":t[0]||(t[0]=d=>o.hide_singles=d),type:"checkbox",class:"switch is-rounded"},null,512),[[Dn,o.hide_singles]]),u("label",{for:"switchHideSingles",textContent:g(e.$t("page.albums.hide-singles"))},null,8,jF)]),u("p",{class:"help",textContent:g(e.$t("page.albums.hide-singles-help"))},null,8,qF)]),o.spotify_enabled?(k(),$("div",WF,[u("div",KF,[gt(u("input",{id:"switchHideSpotify","onUpdate:modelValue":t[1]||(t[1]=d=>o.hide_spotify=d),type:"checkbox",class:"switch is-rounded"},null,512),[[Dn,o.hide_spotify]]),u("label",{for:"switchHideSpotify",textContent:g(e.$t("page.albums.hide-spotify"))},null,8,GF)]),u("p",{class:"help",textContent:g(e.$t("page.albums.hide-spotify-help"))},null,8,ZF)])):V("",!0)]),u("div",YF,[u("p",{class:"heading mb-5",textContent:g(e.$t("page.albums.sort.title"))},null,8,JF),y(l,{value:o.selected_groupby_option_id,"onUpdate:value":t[2]||(t[2]=d=>o.selected_groupby_option_id=d),options:s.groupby_options},null,8,["value","options"])])])]),"heading-left":x(()=>[u("p",{class:"title is-4",textContent:g(e.$t("page.albums.title"))},null,8,XF),u("p",{class:"heading",textContent:g(e.$t("page.albums.count",{count:o.albums.count}))},null,8,QF)]),"heading-right":x(()=>[]),content:x(()=>[y(c,{albums:o.albums},null,8,["albums"])]),_:1})])}const tR=te(LF,[["render",eR]]),nR={name:"ModalDialogArtist",props:["show","artist"],emits:["close"],methods:{play(){this.$emit("close"),H.player_play_uri(this.artist.uri,!1)},queue_add(){this.$emit("close"),H.queue_add(this.artist.uri)},queue_add_next(){this.$emit("close"),H.queue_add_next(this.artist.uri)},open_artist(){this.$emit("close"),this.$router.push({name:"music-artist",params:{id:this.artist.id}})}}},rR={key:0,class:"modal is-active"},sR={class:"modal-content fd-modal-card"},oR={class:"card"},aR={class:"card-content"},iR={class:"title is-4"},lR=["textContent"],uR={class:"content is-small"},cR=["textContent"],dR=["textContent"],mR=["textContent"],fR=["textContent"],pR=["textContent"],hR=["textContent"],_R=["textContent"],gR=["textContent"],yR={class:"card-footer"},vR=["textContent"],bR=["textContent"],zR=["textContent"];function CR(e,t,n,r,s,o){const a=E("mdicon");return k(),$("div",null,[y(Ft,{name:"fade"},{default:x(()=>[n.show?(k(),$("div",rR,[u("div",{class:"modal-background",onClick:t[0]||(t[0]=i=>e.$emit("close"))}),u("div",sR,[u("div",oR,[u("div",aR,[u("p",iR,[u("a",{class:"has-text-link",onClick:t[1]||(t[1]=(...i)=>o.open_artist&&o.open_artist(...i)),textContent:g(n.artist.name)},null,8,lR)]),u("div",uR,[u("p",null,[u("span",{class:"heading",textContent:g(e.$t("dialog.artist.albums"))},null,8,cR),u("span",{class:"title is-6",textContent:g(n.artist.album_count)},null,8,dR)]),u("p",null,[u("span",{class:"heading",textContent:g(e.$t("dialog.artist.tracks"))},null,8,mR),u("span",{class:"title is-6",textContent:g(n.artist.track_count)},null,8,fR)]),u("p",null,[u("span",{class:"heading",textContent:g(e.$t("dialog.artist.type"))},null,8,pR),u("span",{class:"title is-6",textContent:g(e.$t("data.kind."+n.artist.data_kind))},null,8,hR)]),u("p",null,[u("span",{class:"heading",textContent:g(e.$t("dialog.artist.added-on"))},null,8,_R),u("span",{class:"title is-6",textContent:g(e.$filters.datetime(n.artist.time_added))},null,8,gR)])])]),u("footer",yR,[u("a",{class:"card-footer-item has-text-dark",onClick:t[2]||(t[2]=(...i)=>o.queue_add&&o.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,vR)]),u("a",{class:"card-footer-item has-text-dark",onClick:t[3]||(t[3]=(...i)=>o.queue_add_next&&o.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,bR)]),u("a",{class:"card-footer-item has-text-dark",onClick:t[4]||(t[4]=(...i)=>o.play&&o.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,zR)])])])]),u("button",{class:"modal-close is-large","aria-label":"close",onClick:t[5]||(t[5]=i=>e.$emit("close"))})])):V("",!0)]),_:1})])}const pu=te(nR,[["render",CR]]),fi={load(e){return Promise.all([H.library_artist(e.params.id),H.library_artist_albums(e.params.id)])},set(e,t){e.artist=t[0].data,e.albums_list=new ge(t[1].data)}},wR={name:"PageArtist",components:{ContentWithHeading:Qe,ControlDropdown:$s,ListAlbums:cr,ModalDialogArtist:pu},beforeRouteEnter(e,t,n){fi.load(e).then(r=>{n(s=>fi.set(s,r))})},beforeRouteUpdate(e,t,n){const r=this;fi.load(e).then(s=>{fi.set(r,s),n()})},data(){return{artist:{},albums_list:new ge,groupby_options:[{id:1,name:this.$t("page.artist.sort.name"),options:Ln("name_sort",!0)},{id:2,name:this.$t("page.artist.sort.release-date"),options:xl("date_released",{direction:"asc"})}],show_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,[t=>!this.hide_spotify||t.data_kind!=="spotify"]),this.albums_list},hide_spotify:{get(){return this.$store.state.hide_spotify},set(e){this.$store.commit(ka,e)}},selected_groupby_option_id:{get(){return this.$store.state.artist_albums_sort},set(e){this.$store.commit(e_,e)}},spotify_enabled(){return this.$store.state.spotify.webapi_token_valid},track_count(){return[...this.albums].reduce((e,t)=>e+(t.isItem?t.item.track_count:0),0)}},methods:{open_tracks(){this.$router.push({name:"music-artist-tracks",params:{id:this.artist.id}})},play(){H.player_play_uri(this.albums.items.map(e=>e.uri).join(","),!0)}}},kR={class:"columns"},xR={class:"column"},ER=["textContent"],SR={key:0,class:"field"},$R={class:"control"},AR=["textContent"],TR=["textContent"],OR={class:"column"},DR=["textContent"],PR=["textContent"],IR={class:"buttons is-centered"},FR=["textContent"],RR={class:"heading has-text-centered-mobile"},LR=["textContent"],NR=u("span",null," | ",-1),MR=["textContent"];function VR(e,t,n,r,s,o){const a=E("control-dropdown"),i=E("mdicon"),l=E("list-albums"),c=E("modal-dialog-artist"),m=E("content-with-heading");return k(),$("div",null,[y(m,null,{options:x(()=>[u("div",kR,[u("div",xR,[u("p",{class:"heading mb-5",textContent:g(e.$t("page.artist.filter"))},null,8,ER),o.spotify_enabled?(k(),$("div",SR,[u("div",$R,[gt(u("input",{id:"switchHideSpotify","onUpdate:modelValue":t[0]||(t[0]=d=>o.hide_spotify=d),type:"checkbox",class:"switch is-rounded"},null,512),[[Dn,o.hide_spotify]]),u("label",{for:"switchHideSpotify",textContent:g(e.$t("page.artist.hide-spotify"))},null,8,AR)]),u("p",{class:"help",textContent:g(e.$t("page.artist.hide-spotify-help"))},null,8,TR)])):V("",!0)]),u("div",OR,[u("p",{class:"heading mb-5",textContent:g(e.$t("page.artist.sort.title"))},null,8,DR),y(a,{value:o.selected_groupby_option_id,"onUpdate:value":t[1]||(t[1]=d=>o.selected_groupby_option_id=d),options:s.groupby_options},null,8,["value","options"])])])]),"heading-left":x(()=>[u("p",{class:"title is-4",textContent:g(s.artist.name)},null,8,PR)]),"heading-right":x(()=>[u("div",IR,[u("a",{class:"button is-small is-light is-rounded",onClick:t[2]||(t[2]=d=>s.show_details_modal=!0)},[y(i,{class:"icon",name:"dots-horizontal",size:"16"})]),u("a",{class:"button is-small is-dark is-rounded",onClick:t[3]||(t[3]=(...d)=>o.play&&o.play(...d))},[y(i,{class:"icon",name:"shuffle",size:"16"}),u("span",{textContent:g(e.$t("page.artist.shuffle"))},null,8,FR)])])]),content:x(()=>[u("p",RR,[u("span",{textContent:g(e.$t("page.artist.album-count",{count:o.albums.count}))},null,8,LR),NR,u("a",{class:"has-text-link",onClick:t[4]||(t[4]=(...d)=>o.open_tracks&&o.open_tracks(...d)),textContent:g(e.$t("page.artist.track-count",{count:o.track_count}))},null,8,MR)]),y(l,{albums:o.albums,hide_group_title:!0},null,8,["albums"]),y(c,{show:s.show_details_modal,artist:s.artist,onClose:t[5]||(t[5]=d=>s.show_details_modal=!1)},null,8,["show","artist"])]),_:1})])}const HR=te(wR,[["render",VR]]),BR={name:"ListItemAlbumSpotify",props:["album"]},UR={class:"media is-align-items-center"},jR={key:0,class:"media-left is-clickable"},qR={class:"media-content is-clickable is-clipped"},WR=["textContent"],KR=["textContent"],GR=["textContent"],ZR={class:"media-right"};function YR(e,t,n,r,s,o){return k(),$("div",UR,[e.$slots.artwork?(k(),$("div",jR,[st(e.$slots,"artwork")])):V("",!0),u("div",qR,[u("h1",{class:"title is-6",textContent:g(n.album.name)},null,8,WR),u("h2",{class:"subtitle is-7 has-text-grey has-text-weight-bold",textContent:g(n.album.artists[0].name)},null,8,KR),u("h2",{class:"subtitle is-7 has-text-grey",textContent:g([n.album.album_type,e.$filters.date(n.album.release_date)].join(", "))},null,8,GR)]),u("div",ZR,[st(e.$slots,"actions")])])}const hu=te(BR,[["render",YR]]),JR={name:"ModalDialogArtistSpotify",props:["show","artist"],emits:["close"],methods:{play(){this.$emit("close"),H.player_play_uri(this.artist.uri,!1)},queue_add(){this.$emit("close"),H.queue_add(this.artist.uri)},queue_add_next(){this.$emit("close"),H.queue_add_next(this.artist.uri)},open_artist(){this.$emit("close"),this.$router.push({name:"music-spotify-artist",params:{id:this.artist.id}})}}},XR={key:0,class:"modal is-active"},QR={class:"modal-content fd-modal-card"},eL={class:"card"},tL={class:"card-content"},nL={class:"title is-4"},rL=["textContent"],sL={class:"content is-small"},oL=["textContent"],aL=["textContent"],iL=["textContent"],lL=["textContent"],uL={class:"card-footer"},cL=["textContent"],dL=["textContent"],mL=["textContent"];function fL(e,t,n,r,s,o){const a=E("mdicon");return k(),$("div",null,[y(Ft,{name:"fade"},{default:x(()=>[n.show?(k(),$("div",XR,[u("div",{class:"modal-background",onClick:t[0]||(t[0]=i=>e.$emit("close"))}),u("div",QR,[u("div",eL,[u("div",tL,[u("p",nL,[u("a",{class:"has-text-link",onClick:t[1]||(t[1]=(...i)=>o.open_artist&&o.open_artist(...i)),textContent:g(n.artist.name)},null,8,rL)]),u("div",sL,[u("p",null,[u("span",{class:"heading",textContent:g(e.$t("dialog.spotify.artist.popularity"))},null,8,oL),u("span",{class:"title is-6",textContent:g([n.artist.popularity,n.artist.followers.total].join(" / "))},null,8,aL)]),u("p",null,[u("span",{class:"heading",textContent:g(e.$t("dialog.spotify.artist.genres"))},null,8,iL),u("span",{class:"title is-6",textContent:g(n.artist.genres.join(", "))},null,8,lL)])])]),u("footer",uL,[u("a",{class:"card-footer-item has-text-dark",onClick:t[2]||(t[2]=(...i)=>o.queue_add&&o.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,cL)]),u("a",{class:"card-footer-item has-text-dark",onClick:t[3]||(t[3]=(...i)=>o.queue_add_next&&o.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,dL)]),u("a",{class:"card-footer-item has-text-dark",onClick:t[4]||(t[4]=(...i)=>o.play&&o.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,mL)])])])]),u("button",{class:"modal-close is-large","aria-label":"close",onClick:t[5]||(t[5]=i=>e.$emit("close"))})])):V("",!0)]),_:1})])}const V1=te(JR,[["render",fL]]);function pL(e){return e.scrollHeight}function hL(e){return e.scrollWidth}function _L(e,t){e.scrollTop=e.scrollHeight-t+e.scrollTop}function gL(e,t){e.scrollLeft=e.scrollWidth-t+e.scrollLeft}const yL=u("div",{class:"loading"},"Loading...",-1),vL=u("div",{class:"no-more"},"No more.",-1),bL=u("div",{class:"no-results"},"No results.",-1),zL=u("div",{class:"error"},"Error.",-1),Dm=Cr({__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=Xt();let s=Xt("loading"),o=Xt(n.isInitial),a=0;function i(){$a(()=>{var z,v;n.position==="top"?_L((z=n.container)!=null?z:document.documentElement,a):n.position==="left"&&gL((v=n.container)!=null?v:document.documentElement,a)})}function l(z,v){return z===0?o.value?(m(),"no-results"):(c(),"no-more"):z!==void 0&&v!==void 0&&z<v?(c(),"no-more"):(o.value=!1,i(),b(),"loading")}function c(){o.value=!1,h("no-more"),i()}function m(){o.value=!1,h("no-results"),i()}function d(){o.value=!1,h("error"),i()}function f(){o.value=!0,h("loading"),b()}function p(){h("loading"),b()}function h(z){s.value=z}function _(){r.value&&C.unobserve(r.value)}function b(){r.value&&C.observe(r.value)}function w(){return new IntersectionObserver(([z])=>{var v,S;z.isIntersecting&&(n.position==="top"?a=pL((v=n.container)!=null?v:document.documentElement):n.position==="left"&&(a=hL((S=n.container)!=null?S:document.documentElement)),_(),n.load({loaded:l,noMore:c,noResults:m,error:d},{isFirstLoad:o.value}))},{root:n.container,threshold:0,rootMargin:n.margin})}let C;return typeof IntersectionObserver<"u"&&I_(()=>{C&&_(),C=w(),b()},{flush:"post"}),en(()=>n.isInitial,z=>{z&&f()}),en(o,z=>{z||t("update:isInitial",!1)}),(z,v)=>(k(),$("div",{class:"vue-eternal-loading",ref_key:"rootRef",ref:r},[vn(s)==="loading"?st(z.$slots,"loading",Ro(Us({key:0},{isFirstLoad:vn(o)})),()=>[yL]):vn(s)==="no-more"?st(z.$slots,"no-more",Ro(Us({key:1},{retry:p})),()=>[vL]):vn(s)==="no-results"?st(z.$slots,"no-results",Ro(Us({key:2},{retry:p})),()=>[bL]):vn(s)==="error"?st(z.$slots,"error",Ro(Us({key:3},{retry:p})),()=>[zL]):V("",!0)],512))}}),ld=50,pi={load(e){const t=new Jn;return t.setAccessToken(Ue.state.spotify.webapi_token),Promise.all([t.getArtist(e.params.id),t.getArtistAlbums(e.params.id,{limit:ld,offset:0,include_groups:"album,single",market:Ue.state.spotify.webapi_country})])},set(e,t){e.artist=t[0],e.albums=[],e.total=0,e.offset=0,e.append_albums(t[1])}},CL={name:"PageArtistSpotify",components:{ContentWithHeading:Qe,CoverArtwork:Rn,ListItemAlbumSpotify:hu,ModalDialogAlbumSpotify:Va,ModalDialogArtistSpotify:V1,VueEternalLoading:Dm},beforeRouteEnter(e,t,n){pi.load(e).then(r=>{n(s=>pi.set(s,r))})},beforeRouteUpdate(e,t,n){const r=this;pi.load(e).then(s=>{pi.set(r,s),n()})},data(){return{albums:[],artist:{},offset:0,selected_album:{},show_album_details_modal:!1,show_details_modal:!1,total:0}},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 Jn;t.setAccessToken(this.$store.state.spotify.webapi_token),t.getArtistAlbums(this.artist.id,{limit:ld,offset:this.offset,include_groups:"album,single"}).then(n=>{this.append_albums(n),e(n.items.length,ld)})},append_albums(e){this.albums=this.albums.concat(e.items),this.total=e.total,this.offset+=e.limit},play(){this.show_album_details_modal=!1,H.player_play_uri(this.artist.uri,!0)},open_album(e){this.$router.push({name:"music-spotify-album",params:{id:e.id}})},open_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:""}}},wL=["textContent"],kL={class:"buttons is-centered"},xL=["textContent"],EL=["textContent"],SL=["onClick"];function $L(e,t,n,r,s,o){const a=E("mdicon"),i=E("cover-artwork"),l=E("list-item-album-spotify"),c=E("VueEternalLoading"),m=E("modal-dialog-artist-spotify"),d=E("modal-dialog-album-spotify"),f=E("content-with-heading");return k(),$("div",null,[y(f,null,{"heading-left":x(()=>[u("p",{class:"title is-4",textContent:g(s.artist.name)},null,8,wL)]),"heading-right":x(()=>[u("div",kL,[u("a",{class:"button is-small is-light is-rounded",onClick:t[0]||(t[0]=p=>s.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]=(...p)=>o.play&&o.play(...p))},[y(a,{class:"icon",name:"shuffle",size:"16"}),u("span",{textContent:g(e.$t("page.spotify.artist.shuffle"))},null,8,xL)])])]),content:x(()=>[u("p",{class:"heading has-text-centered-mobile",textContent:g(e.$t("page.spotify.artist.album-count",{count:s.total}))},null,8,EL),(k(!0),$(we,null,lt(s.albums,p=>(k(),he(l,{key:p.id,album:p,onClick:h=>o.open_album(p)},Da({actions:x(()=>[u("a",{onClick:nt(h=>o.open_dialog(p),["prevent","stop"])},[y(a,{class:"icon has-text-dark",name:"dots-vertical",size:"16"})],8,SL)]),_:2},[o.is_visible_artwork?{name:"artwork",fn:x(()=>[y(i,{artwork_url:o.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)),s.offset<s.total?(k(),he(c,{key:0,load:o.load_next},{"no-more":x(()=>[_t(" . ")]),_:1},8,["load"])):V("",!0),y(m,{show:s.show_details_modal,artist:s.artist,onClose:t[2]||(t[2]=p=>s.show_details_modal=!1)},null,8,["show","artist"]),y(d,{show:s.show_album_details_modal,album:s.selected_album,onClose:t[3]||(t[3]=p=>s.show_album_details_modal=!1)},null,8,["show","album"])]),_:1})])}const AL=te(CL,[["render",$L]]),TL={name:"ListArtists",components:{ModalDialogArtist:pu},props:["artists","hide_group_title"],data(){return{show_details_modal:!1,selected_artist:{}}},methods:{open_artist(e){this.selected_artist=e;const t=e.media_kind==="audiobook"?"audiobooks-artist":"music-artist";this.$router.push({name:t,params:{id:e.id}})},open_dialog(e){this.selected_artist=e,this.show_details_modal=!0}}},OL={key:0,class:"mt-6 mb-5 py-2"},DL={class:"media-content is-clipped"},PL=["id","textContent"],IL=["onClick"],FL={class:"media-content is-clickable is-clipped"},RL=["textContent"],LL={class:"media-right"},NL=["onClick"];function ML(e,t,n,r,s,o){const a=E("mdicon"),i=E("modal-dialog-artist");return k(),$(we,null,[(k(!0),$(we,null,lt(n.artists,l=>(k(),$(we,{key:l.itemId},[!l.isItem&&!n.hide_group_title?(k(),$("div",OL,[u("div",DL,[u("span",{id:"index_"+l.groupKey,class:"tag is-info is-light is-small has-text-weight-bold",textContent:g(l.groupKey)},null,8,PL)])])):l.isItem?(k(),$("div",{key:1,class:"media is-align-items-center",onClick:c=>o.open_artist(l.item)},[u("div",FL,[u("h1",{class:"title is-6",textContent:g(l.item.name)},null,8,RL)]),u("div",LL,[u("a",{onClick:nt(c=>o.open_dialog(l.item),["prevent","stop"])},[y(a,{class:"icon has-text-dark",name:"dots-vertical",size:"16"})],8,NL)])],8,IL)):V("",!0)],64))),128)),(k(),he(es,{to:"#app"},[y(i,{artist:s.selected_artist,show:s.show_details_modal,onClose:t[0]||(t[0]=l=>s.show_details_modal=!1)},null,8,["artist","show"])]))],64)}const Pm=te(TL,[["render",ML]]),hi={load(e){return H.library_artists("music")},set(e,t){e.artists_list=new ge(t.data)}},VL={name:"PageArtists",components:{ContentWithHeading:Qe,ControlDropdown:$s,IndexButtonList:Xn,ListArtists:Pm,TabsMusic:dr},beforeRouteEnter(e,t,n){hi.load(e).then(r=>{n(s=>hi.set(s,r))})},beforeRouteUpdate(e,t,n){if(!this.artists_list.isEmpty()){n();return}const r=this;hi.load(e).then(s=>{hi.set(r,s),n()})},data(){return{artists_list:new ge,groupby_options:[{id:1,name:this.$t("page.artists.sort.name"),options:Ln("name_sort",!0)},{id:2,name:this.$t("page.artists.sort.recently-added"),options:xl("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(Qh,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(Dl,e)}},hide_spotify:{get(){return this.$store.state.hide_spotify},set(e){this.$store.commit(ka,e)}}}},HL={class:"fd-page-with-tabs"},BL={class:"columns"},UL={class:"column"},jL=["textContent"],qL={class:"field"},WL={class:"control"},KL=["textContent"],GL=["textContent"],ZL={key:0,class:"field"},YL={class:"control"},JL=["textContent"],XL=["textContent"],QL={class:"column"},eN=["textContent"],tN=["textContent"],nN=["textContent"];function rN(e,t,n,r,s,o){const a=E("tabs-music"),i=E("index-button-list"),l=E("control-dropdown"),c=E("list-artists"),m=E("content-with-heading");return k(),$("div",HL,[y(a),y(m,null,{options:x(()=>[y(i,{index:o.artists.indexList},null,8,["index"]),u("div",BL,[u("div",UL,[u("p",{class:"heading mb-5",textContent:g(e.$t("page.artists.filter"))},null,8,jL),u("div",qL,[u("div",WL,[gt(u("input",{id:"switchHideSingles","onUpdate:modelValue":t[0]||(t[0]=d=>o.hide_singles=d),type:"checkbox",class:"switch is-rounded"},null,512),[[Dn,o.hide_singles]]),u("label",{for:"switchHideSingles",textContent:g(e.$t("page.artists.hide-singles"))},null,8,KL)]),u("p",{class:"help",textContent:g(e.$t("page.artists.hide-singles-help"))},null,8,GL)]),o.spotify_enabled?(k(),$("div",ZL,[u("div",YL,[gt(u("input",{id:"switchHideSpotify","onUpdate:modelValue":t[1]||(t[1]=d=>o.hide_spotify=d),type:"checkbox",class:"switch is-rounded"},null,512),[[Dn,o.hide_spotify]]),u("label",{for:"switchHideSpotify",textContent:g(e.$t("page.artists.hide-spotify"))},null,8,JL)]),u("p",{class:"help",textContent:g(e.$t("page.artists.hide-spotify-help"))},null,8,XL)])):V("",!0)]),u("div",QL,[u("p",{class:"heading mb-5",textContent:g(e.$t("page.artists.sort.title"))},null,8,eN),y(l,{value:o.selected_groupby_option_id,"onUpdate:value":t[2]||(t[2]=d=>o.selected_groupby_option_id=d),options:s.groupby_options},null,8,["value","options"])])])]),"heading-left":x(()=>[u("p",{class:"title is-4",textContent:g(e.$t("page.artists.title"))},null,8,tN),u("p",{class:"heading",textContent:g(e.$t("page.artists.count",{count:o.artists.count}))},null,8,nN)]),"heading-right":x(()=>[]),content:x(()=>[y(c,{artists:o.artists},null,8,["artists"])]),_:1})])}const sN=te(VL,[["render",rN]]),_i={load(e){return Promise.all([H.library_artist(e.params.id),H.library_artist_tracks(e.params.id)])},set(e,t){e.artist=t[0].data,e.tracks_list=new ge(t[1].data.tracks)}},oN={name:"PageArtistTracks",components:{ContentWithHeading:Qe,ControlDropdown:$s,IndexButtonList:Xn,ListTracks:Cn,ModalDialogArtist:pu},beforeRouteEnter(e,t,n){_i.load(e).then(r=>{n(s=>_i.set(s,r))})},beforeRouteUpdate(e,t,n){const r=this;_i.load(e).then(s=>{_i.set(r,s),n()})},data(){return{artist:{},groupby_options:[{id:1,name:this.$t("page.artist.sort.name"),options:Ln("title_sort")},{id:2,name:this.$t("page.artist.sort.rating"),options:Am("rating",{direction:"desc"})}],show_details_modal:!1,tracks_list:new ge}},computed:{album_count(){return new Set([...this.tracks].filter(e=>e.isItem).map(e=>e.item.album_id)).size},hide_spotify:{get(){return this.$store.state.hide_spotify},set(e){this.$store.commit(ka,e)}},selected_groupby_option_id:{get(){return this.$store.state.artist_tracks_sort},set(e){this.$store.commit(t_,e)}},spotify_enabled(){return this.$store.state.spotify.webapi_token_valid},tracks(){const e=this.groupby_options.find(t=>t.id===this.selected_groupby_option_id);return this.tracks_list.group(e.options,[t=>!this.hide_spotify||t.data_kind!=="spotify"]),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({name:"music-artist",params:{id:this.artist.id}})},play(){H.player_play_uri(this.tracks_list.items.map(e=>e.uri).join(","),!0)}}},aN={class:"columns"},iN={class:"column"},lN=["textContent"],uN={key:0,class:"field"},cN={class:"control"},dN=["textContent"],mN=["textContent"],fN={class:"column"},pN=["textContent"],hN=["textContent"],_N={class:"buttons is-centered"},gN=["textContent"],yN={class:"heading has-text-centered-mobile"},vN=["textContent"],bN=u("span",null," | ",-1),zN=["textContent"];function CN(e,t,n,r,s,o){const a=E("index-button-list"),i=E("control-dropdown"),l=E("mdicon"),c=E("list-tracks"),m=E("modal-dialog-artist"),d=E("content-with-heading");return k(),$("div",null,[y(d,null,{options:x(()=>[y(a,{index:o.tracks.indexList},null,8,["index"]),u("div",aN,[u("div",iN,[u("p",{class:"heading mb-5",textContent:g(e.$t("page.artist.filter"))},null,8,lN),o.spotify_enabled?(k(),$("div",uN,[u("div",cN,[gt(u("input",{id:"switchHideSpotify","onUpdate:modelValue":t[0]||(t[0]=f=>o.hide_spotify=f),type:"checkbox",class:"switch is-rounded"},null,512),[[Dn,o.hide_spotify]]),u("label",{for:"switchHideSpotify",textContent:g(e.$t("page.artist.hide-spotify"))},null,8,dN)]),u("p",{class:"help",textContent:g(e.$t("page.artist.hide-spotify-help"))},null,8,mN)])):V("",!0)]),u("div",fN,[u("p",{class:"heading mb-5",textContent:g(e.$t("page.artist.sort.title"))},null,8,pN),y(i,{value:o.selected_groupby_option_id,"onUpdate:value":t[1]||(t[1]=f=>o.selected_groupby_option_id=f),options:s.groupby_options},null,8,["value","options"])])])]),"heading-left":x(()=>[u("p",{class:"title is-4",textContent:g(s.artist.name)},null,8,hN)]),"heading-right":x(()=>[u("div",_N,[u("a",{class:"button is-small is-light is-rounded",onClick:t[2]||(t[2]=f=>s.show_details_modal=!0)},[y(l,{class:"icon",name:"dots-horizontal",size:"16"})]),u("a",{class:"button is-small is-dark is-rounded",onClick:t[3]||(t[3]=(...f)=>o.play&&o.play(...f))},[y(l,{class:"icon",name:"shuffle",size:"16"}),u("span",{textContent:g(e.$t("page.artist.shuffle"))},null,8,gN)])])]),content:x(()=>[u("p",yN,[u("a",{class:"has-text-link",onClick:t[4]||(t[4]=(...f)=>o.open_artist&&o.open_artist(...f)),textContent:g(e.$t("page.artist.album-count",{count:o.album_count}))},null,8,vN),bN,u("span",{textContent:g(e.$t("page.artist.track-count",{count:o.tracks.count}))},null,8,zN)]),y(c,{tracks:o.tracks,uris:o.track_uris},null,8,["tracks","uris"]),y(m,{show:s.show_details_modal,artist:s.artist,onClose:t[5]||(t[5]=f=>s.show_details_modal=!1)},null,8,["show","artist"])]),_:1})])}const wN=te(oN,[["render",CN]]),gi={load(e){return Promise.all([H.library_album(e.params.id),H.library_album_tracks(e.params.id)])},set(e,t){e.album=t[0].data,e.tracks=new ge(t[1].data)}},kN={name:"PageAudiobooksAlbum",components:{ContentWithHero:mu,CoverArtwork:Rn,ListTracks:Cn,ModalDialogAlbum:fu},beforeRouteEnter(e,t,n){gi.load(e).then(r=>{n(s=>gi.set(s,r))})},beforeRouteUpdate(e,t,n){const r=this;gi.load(e).then(s=>{gi.set(r,s),n()})},data(){return{album:{},show_details_modal:!1,tracks:new ge}},methods:{open_artist(){this.show_details_modal=!1,this.$router.push({name:"audiobooks-artist",params:{id:this.album.artist_id}})},play(){H.player_play_uri(this.album.uri,!1)}}},xN=["textContent"],EN={class:"subtitle is-6 has-text-link"},SN=["textContent"],$N={class:"buttons fd-is-centered-mobile mt-5"},AN=["textContent"],TN=["textContent"];function ON(e,t,n,r,s,o){const a=E("mdicon"),i=E("cover-artwork"),l=E("list-tracks"),c=E("modal-dialog-album"),m=E("content-with-hero");return k(),$("div",null,[y(m,null,{"heading-left":x(()=>[u("h1",{class:"title is-5",textContent:g(s.album.name)},null,8,xN),u("h2",EN,[u("a",{class:"has-text-link",onClick:t[0]||(t[0]=(...d)=>o.open_artist&&o.open_artist(...d)),textContent:g(s.album.artist)},null,8,SN)]),u("div",$N,[u("a",{class:"button is-small is-dark is-rounded",onClick:t[1]||(t[1]=(...d)=>o.play&&o.play(...d))},[y(a,{class:"icon",name:"play",size:"16"}),u("span",{textContent:g(e.$t("page.audiobooks.album.play"))},null,8,AN)]),u("a",{class:"button is-small is-light is-rounded",onClick:t[2]||(t[2]=d=>s.show_details_modal=!0)},[y(a,{class:"icon",name:"dots-horizontal",size:"16"})])])]),"heading-right":x(()=>[y(i,{artwork_url:s.album.artwork_url,artist:s.album.artist,album:s.album.name,class:"is-clickable fd-has-shadow fd-cover fd-cover-medium-image",onClick:t[3]||(t[3]=d=>s.show_details_modal=!0)},null,8,["artwork_url","artist","album"])]),content:x(()=>[u("p",{class:"heading is-7 has-text-centered-mobile mt-5",textContent:g(e.$t("page.audiobooks.album.track-count",{count:s.album.track_count}))},null,8,TN),y(l,{tracks:s.tracks,uris:s.album.uri},null,8,["tracks","uris"]),y(c,{show:s.show_details_modal,album:s.album,media_kind:"audiobook",onClose:t[4]||(t[4]=d=>s.show_details_modal=!1)},null,8,["show","album"])]),_:1})])}const DN=te(kN,[["render",ON]]),PN={name:"TabsAudiobooks"},IN={class:"section fd-tabs-section"},FN={class:"container"},RN={class:"columns is-centered"},LN={class:"column is-four-fifths"},NN={class:"tabs is-centered is-small"},MN=["onClick","onKeypress"],VN=["textContent"],HN=["onClick","onKeypress"],BN=["textContent"],UN=["onClick","onKeypress"],jN=["textContent"];function qN(e,t,n,r,s,o){const a=E("mdicon"),i=E("router-link");return k(),$("section",IN,[u("div",FN,[u("div",RN,[u("div",LN,[u("div",NN,[u("ul",null,[y(i,{to:{name:"audiobooks-artists"},custom:""},{default:x(({navigate:l,isActive:c})=>[u("li",{class:Ee({"is-active":c})},[u("a",{onClick:l,onKeypress:an(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,VN)],40,MN)],2)]),_:1}),y(i,{to:{name:"audiobooks-albums"},custom:""},{default:x(({navigate:l,isActive:c})=>[u("li",{class:Ee({"is-active":c})},[u("a",{onClick:l,onKeypress:an(l,["enter"])},[y(a,{class:"icon is-small",name:"album",size:"16"}),u("span",{textContent:g(e.$t("page.audiobooks.tabs.audiobooks"))},null,8,BN)],40,HN)],2)]),_:1}),y(i,{to:{name:"audiobooks-genres"},custom:""},{default:x(({navigate:l,isActive:c})=>[u("li",{class:Ee({"is-active":c})},[u("a",{onClick:l,onKeypress:an(l,["enter"])},[y(a,{class:"icon is-small",name:"speaker",size:"16"}),u("span",{textContent:g(e.$t("page.audiobooks.tabs.genres"))},null,8,jN)],40,UN)],2)]),_:1})])])])])])])}const Im=te(PN,[["render",qN]]),yi={load(e){return H.library_albums("audiobook")},set(e,t){e.albums=new ge(t.data),e.albums.group(Ln("name_sort",!0))}},WN={name:"PageAudiobooksAlbums",components:{TabsAudiobooks:Im,ContentWithHeading:Qe,IndexButtonList:Xn,ListAlbums:cr},beforeRouteEnter(e,t,n){yi.load(e).then(r=>{n(s=>yi.set(s,r))})},beforeRouteUpdate(e,t,n){if(!this.albums.isEmpty()){n();return}const r=this;yi.load(e).then(s=>{yi.set(r,s),n()})},data(){return{albums:new ge}}},KN={class:"fd-page-with-tabs"},GN=["textContent"],ZN=["textContent"];function YN(e,t,n,r,s,o){const a=E("tabs-audiobooks"),i=E("index-button-list"),l=E("list-albums"),c=E("content-with-heading");return k(),$("div",KN,[y(a),y(c,null,{options:x(()=>[y(i,{index:s.albums.indexList},null,8,["index"])]),"heading-left":x(()=>[u("p",{class:"title is-4",textContent:g(e.$t("page.audiobooks.albums.title"))},null,8,GN),u("p",{class:"heading",textContent:g(e.$t("page.audiobooks.albums.count",{count:s.albums.count}))},null,8,ZN)]),content:x(()=>[y(l,{albums:s.albums},null,8,["albums"])]),_:1})])}const JN=te(WN,[["render",YN]]),vi={load(e){return Promise.all([H.library_artist(e.params.id),H.library_artist_albums(e.params.id)])},set(e,t){e.artist=t[0].data,e.albums=new ge(t[1].data)}},XN={name:"PageAudiobooksArtist",components:{ContentWithHeading:Qe,ListAlbums:cr,ModalDialogArtist:pu},beforeRouteEnter(e,t,n){vi.load(e).then(r=>{n(s=>vi.set(s,r))})},beforeRouteUpdate(e,t,n){if(!this.albums.isEmpty()){n();return}const r=this;vi.load(e).then(s=>{vi.set(r,s),n()})},data(){return{artist:{},albums:new ge,show_details_modal:!1}},methods:{play(){H.player_play_uri(this.albums.items.map(e=>e.uri).join(","),!1)}}},QN=["textContent"],eM={class:"buttons is-centered"},tM=["textContent"],nM=["textContent"];function rM(e,t,n,r,s,o){const a=E("mdicon"),i=E("list-albums"),l=E("modal-dialog-artist"),c=E("content-with-heading");return k(),$("div",null,[y(c,null,{"heading-left":x(()=>[u("p",{class:"title is-4",textContent:g(s.artist.name)},null,8,QN)]),"heading-right":x(()=>[u("div",eM,[u("a",{class:"button is-small is-light is-rounded",onClick:t[0]||(t[0]=m=>s.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)=>o.play&&o.play(...m))},[y(a,{class:"icon",name:"play",size:"16"}),u("span",{textContent:g(e.$t("page.audiobooks.artist.play"))},null,8,tM)])])]),content:x(()=>[u("p",{class:"heading has-text-centered-mobile",textContent:g(e.$t("page.audiobooks.artist.album-count",{count:s.artist.album_count}))},null,8,nM),y(i,{albums:s.albums},null,8,["albums"]),y(l,{show:s.show_details_modal,artist:s.artist,onClose:t[2]||(t[2]=m=>s.show_details_modal=!1)},null,8,["show","artist"])]),_:1})])}const sM=te(XN,[["render",rM]]),bi={load(e){return H.library_artists("audiobook")},set(e,t){e.artists_list=new ge(t.data)}},oM={name:"PageAudiobooksArtists",components:{ContentWithHeading:Qe,TabsAudiobooks:Im,IndexButtonList:Xn,ListArtists:Pm},beforeRouteEnter(e,t,n){bi.load(e).then(r=>{n(s=>bi.set(s,r))})},beforeRouteUpdate(e,t,n){if(!this.artists_list.isEmpty()){n();return}const r=this;bi.load(e).then(s=>{bi.set(r,s),n()})},data(){return{artists_list:new ge}},computed:{artists(){return this.artists_list?(this.artists_list.group(Ln("name_sort",!0)),this.artists_list):[]}}},aM={class:"fd-page-with-tabs"},iM=["textContent"],lM=["textContent"];function uM(e,t,n,r,s,o){const a=E("tabs-audiobooks"),i=E("index-button-list"),l=E("list-artists"),c=E("content-with-heading");return k(),$("div",aM,[y(a),y(c,null,{options:x(()=>[y(i,{index:o.artists.indexList},null,8,["index"])]),"heading-left":x(()=>[u("p",{class:"title is-4",textContent:g(e.$t("page.audiobooks.artists.title"))},null,8,iM),u("p",{class:"heading",textContent:g(e.$t("page.audiobooks.artists.count",{count:o.artists.count}))},null,8,lM)]),"heading-right":x(()=>[]),content:x(()=>[y(l,{artists:o.artists},null,8,["artists"])]),_:1})])}const cM=te(oM,[["render",uM]]),dM={name:"ModalDialogGenre",props:["genre","media_kind","show"],emits:["close"],computed:{expression(){return`genre is "${this.genre.name}" and media_kind is ${this.media_kind}`}},methods:{play(){this.$emit("close"),H.player_play_expression(this.expression,!1)},queue_add(){this.$emit("close"),H.queue_expression_add(this.expression)},queue_add_next(){this.$emit("close"),H.queue_expression_add_next(this.expression)},open_genre(){this.$emit("close"),this.$router.push({name:"genre-albums",params:{name:this.genre.name},query:{media_kind:this.media_kind}})}}},mM={key:0,class:"modal is-active"},fM={class:"modal-content fd-modal-card"},pM={class:"card"},hM={class:"card-content"},_M={class:"title is-4"},gM=["textContent"],yM={class:"content is-small"},vM=["textContent"],bM=["textContent"],zM=["textContent"],CM=["textContent"],wM=["textContent"],kM=["textContent"],xM={class:"card-footer"},EM=["textContent"],SM=["textContent"],$M=["textContent"];function AM(e,t,n,r,s,o){const a=E("mdicon");return k(),$("div",null,[y(Ft,{name:"fade"},{default:x(()=>[n.show?(k(),$("div",mM,[u("div",{class:"modal-background",onClick:t[0]||(t[0]=i=>e.$emit("close"))}),u("div",fM,[u("div",pM,[u("div",hM,[u("p",_M,[u("a",{class:"has-text-link",onClick:t[1]||(t[1]=(...i)=>o.open_genre&&o.open_genre(...i)),textContent:g(n.genre.name)},null,8,gM)]),u("div",yM,[u("p",null,[u("span",{class:"heading",textContent:g(e.$t("dialog.genre.albums"))},null,8,vM),u("span",{class:"title is-6",textContent:g(n.genre.album_count)},null,8,bM)]),u("p",null,[u("span",{class:"heading",textContent:g(e.$t("dialog.genre.tracks"))},null,8,zM),u("span",{class:"title is-6",textContent:g(n.genre.track_count)},null,8,CM)]),u("p",null,[u("span",{class:"heading",textContent:g(e.$t("dialog.genre.duration"))},null,8,wM),u("span",{class:"title is-6",textContent:g(e.$filters.durationInHours(n.genre.length_ms))},null,8,kM)])])]),u("footer",xM,[u("a",{class:"card-footer-item has-text-dark",onClick:t[2]||(t[2]=(...i)=>o.queue_add&&o.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,EM)]),u("a",{class:"card-footer-item has-text-dark",onClick:t[3]||(t[3]=(...i)=>o.queue_add_next&&o.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,SM)]),u("a",{class:"card-footer-item has-text-dark",onClick:t[4]||(t[4]=(...i)=>o.play&&o.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,$M)])])])]),u("button",{class:"modal-close is-large","aria-label":"close",onClick:t[5]||(t[5]=i=>e.$emit("close"))})])):V("",!0)]),_:1})])}const Fm=te(dM,[["render",AM]]),TM={name:"ListGenres",components:{ModalDialogGenre:Fm},props:["genres","hide_group_title","media_kind"],data(){return{show_details_modal:!1,selected_genre:{}}},methods:{open_genre(e){this.$router.push({name:"genre-albums",params:{name:e.name},query:{media_kind:this.media_kind}})},open_dialog(e){this.selected_genre=e,this.show_details_modal=!0}}},OM={key:0,class:"mt-6 mb-5 py-2"},DM={class:"media-content is-clipped"},PM=["id","textContent"],IM=["onClick"],FM={class:"media-content is-clickable is-clipped"},RM=["textContent"],LM={class:"media-right"},NM=["onClick"];function MM(e,t,n,r,s,o){const a=E("mdicon"),i=E("modal-dialog-genre");return k(),$(we,null,[(k(!0),$(we,null,lt(n.genres,l=>(k(),$(we,{key:l.itemId},[!l.isItem&&!n.hide_group_title?(k(),$("div",OM,[u("div",DM,[u("span",{id:"index_"+l.groupKey,class:"tag is-info is-light is-small has-text-weight-bold",textContent:g(l.groupKey)},null,8,PM)])])):l.isItem?(k(),$("div",{key:1,class:"media is-align-items-center",onClick:c=>o.open_genre(l.item)},[u("div",FM,[u("h1",{class:"title is-6",textContent:g(l.item.name)},null,8,RM)]),u("div",LM,[u("a",{onClick:nt(c=>o.open_dialog(l.item),["prevent","stop"])},[y(a,{class:"icon has-text-dark",name:"dots-vertical",size:"16"})],8,NM)])],8,IM)):V("",!0)],64))),128)),(k(),he(es,{to:"#app"},[y(i,{show:s.show_details_modal,genre:s.selected_genre,media_kind:n.media_kind,onClose:t[0]||(t[0]=l=>s.show_details_modal=!1)},null,8,["show","genre","media_kind"])]))],64)}const H1=te(TM,[["render",MM]]),zi={load(e){return H.library_genres("audiobook")},set(e,t){e.genres=t.data,e.genres=new ge(t.data),e.genres.group(Ln("name_sort"))}},VM={name:"PageAudiobooksGenres",components:{ContentWithHeading:Qe,IndexButtonList:Xn,ListGenres:H1,TabsAudiobooks:Im},beforeRouteEnter(e,t,n){zi.load(e).then(r=>{n(s=>zi.set(s,r))})},beforeRouteUpdate(e,t,n){const r=this;zi.load(e).then(s=>{zi.set(r,s),n()})},data(){return{genres:new ge}}},HM={class:"fd-page-with-tabs"},BM=["textContent"],UM=["textContent"];function jM(e,t,n,r,s,o){const a=E("tabs-audiobooks"),i=E("index-button-list"),l=E("list-genres"),c=E("content-with-heading");return k(),$("div",HM,[y(a),y(c,null,{options:x(()=>[y(i,{index:s.genres.indexList},null,8,["index"])]),"heading-left":x(()=>[u("p",{class:"title is-4",textContent:g(e.$t("page.genres.title"))},null,8,BM),u("p",{class:"heading",textContent:g(e.$t("page.genres.count",{count:s.genres.total}))},null,8,UM)]),content:x(()=>[y(l,{genres:s.genres,media_kind:"audiobook"},null,8,["genres"])]),_:1})])}const qM=te(VM,[["render",jM]]),Ci={load(e){return Promise.all([H.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}),H.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 ge(t[0].data.albums),e.recently_played=new ge(t[1].data.tracks)}},WM={name:"PageMusic",components:{ContentWithHeading:Qe,ListAlbums:cr,ListTracks:Cn,TabsMusic:dr},beforeRouteEnter(e,t,n){Ci.load(e).then(r=>{n(s=>Ci.set(s,r))})},beforeRouteUpdate(e,t,n){const r=this;Ci.load(e).then(s=>{Ci.set(r,s),n()})},data(){return{recently_added:[],recently_played:{items:[]},selected_track:{}}}},KM={class:"fd-page-with-tabs"},GM=["textContent"],ZM={class:"level"},YM={class:"level-item"},JM=["textContent"],XM={class:"level"},QM={class:"level-item"};function e7(e,t,n,r,s,o){const a=E("tabs-music"),i=E("list-albums"),l=E("router-link"),c=E("content-with-heading"),m=E("list-tracks");return k(),$("div",KM,[y(a),y(c,null,{"heading-left":x(()=>[u("p",{class:"title is-4",textContent:g(e.$t("page.music.recently-added.title"))},null,8,GM)]),content:x(()=>[y(i,{albums:s.recently_added},null,8,["albums"])]),footer:x(()=>[u("nav",ZM,[u("p",YM,[y(l,{class:"button is-light is-small is-rounded",to:{name:"music-recently-added"}},{default:x(()=>[_t(g(e.$t("page.music.show-more")),1)]),_:1})])])]),_:1}),y(c,null,{"heading-left":x(()=>[u("p",{class:"title is-4",textContent:g(e.$t("page.music.recently-played.title"))},null,8,JM)]),content:x(()=>[y(m,{tracks:s.recently_played},null,8,["tracks"])]),footer:x(()=>[u("nav",XM,[u("p",QM,[y(l,{class:"button is-light is-small is-rounded",to:{name:"music-recently-played"}},{default:x(()=>[_t(g(e.$t("page.music.show-more")),1)]),_:1})])])]),_:1})])}const t7=te(WM,[["render",e7]]),wi={load(e){const t=Ue.getters.settings_option_recently_added_limit;return H.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 ge(t.data.albums),e.recently_added.group(d5("time_added",{direction:"desc"}))}},n7={name:"PageMusicRecentlyAdded",components:{ContentWithHeading:Qe,TabsMusic:dr,ListAlbums:cr},beforeRouteEnter(e,t,n){wi.load(e).then(r=>{n(s=>wi.set(s,r))})},beforeRouteUpdate(e,t,n){if(!this.recently_added.isEmpty()){n();return}const r=this;wi.load(e).then(s=>{wi.set(r,s),n()})},data(){return{recently_added:new ge}}},r7={class:"fd-page-with-tabs"},s7=["textContent"];function o7(e,t,n,r,s,o){const a=E("tabs-music"),i=E("list-albums"),l=E("content-with-heading");return k(),$("div",r7,[y(a),y(l,null,{"heading-left":x(()=>[u("p",{class:"title is-4",textContent:g(e.$t("page.music.recently-added.title"))},null,8,s7)]),content:x(()=>[y(i,{albums:s.recently_added},null,8,["albums"])]),_:1})])}const a7=te(n7,[["render",o7]]),ki={load(e){return H.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 ge(t.data.tracks)}},i7={name:"PageMusicRecentlyPlayed",components:{ContentWithHeading:Qe,TabsMusic:dr,ListTracks:Cn},beforeRouteEnter(e,t,n){ki.load(e).then(r=>{n(s=>ki.set(s,r))})},beforeRouteUpdate(e,t,n){const r=this;ki.load(e).then(s=>{ki.set(r,s),n()})},data(){return{recently_played:{}}}},l7={class:"fd-page-with-tabs"},u7=["textContent"];function c7(e,t,n,r,s,o){const a=E("tabs-music"),i=E("list-tracks"),l=E("content-with-heading");return k(),$("div",l7,[y(a),y(l,null,{"heading-left":x(()=>[u("p",{class:"title is-4",textContent:g(e.$t("page.music.recently-played.title"))},null,8,u7)]),content:x(()=>[y(i,{tracks:s.recently_played},null,8,["tracks"])]),_:1})])}const d7=te(i7,[["render",c7]]),m7={name:"ListItemPlaylistSpotify",props:["playlist"],methods:{open_playlist(){this.$router.push({name:"playlist-spotify",params:{id:this.playlist.id}})}}},f7={class:"media is-align-items-center"},p7=["textContent"],h7=["textContent"],_7={class:"media-right"};function g7(e,t,n,r,s,o){return k(),$("div",f7,[u("div",{class:"media-content is-clickable is-clipped",onClick:t[0]||(t[0]=(...a)=>o.open_playlist&&o.open_playlist(...a))},[u("h1",{class:"title is-6",textContent:g(n.playlist.name)},null,8,p7),u("h2",{class:"subtitle is-7",textContent:g(n.playlist.owner.display_name)},null,8,h7)]),u("div",_7,[st(e.$slots,"actions")])])}const Rm=te(m7,[["render",g7]]),y7={name:"ModalDialogPlaylistSpotify",props:["show","playlist"],emits:["close"],methods:{play(){this.$emit("close"),H.player_play_uri(this.playlist.uri,!1)},queue_add(){this.$emit("close"),H.queue_add(this.playlist.uri)},queue_add_next(){this.$emit("close"),H.queue_add_next(this.playlist.uri)},open_playlist(){this.$emit("close"),this.$router.push({name:"playlist-spotify",params:{id:this.playlist.id}})}}},v7={key:0,class:"modal is-active"},b7={class:"modal-content fd-modal-card"},z7={class:"card"},C7={class:"card-content"},w7={class:"title is-4"},k7=["textContent"],x7={class:"content is-small"},E7=["textContent"],S7=["textContent"],$7=["textContent"],A7=["textContent"],T7=["textContent"],O7=["textContent"],D7={class:"card-footer"},P7=["textContent"],I7=["textContent"],F7=["textContent"];function R7(e,t,n,r,s,o){const a=E("mdicon");return k(),$("div",null,[y(Ft,{name:"fade"},{default:x(()=>[n.show?(k(),$("div",v7,[u("div",{class:"modal-background",onClick:t[0]||(t[0]=i=>e.$emit("close"))}),u("div",b7,[u("div",z7,[u("div",C7,[u("p",w7,[u("a",{class:"has-text-link",onClick:t[1]||(t[1]=(...i)=>o.open_playlist&&o.open_playlist(...i)),textContent:g(n.playlist.name)},null,8,k7)]),u("div",x7,[u("p",null,[u("span",{class:"heading",textContent:g(e.$t("dialog.spotify.playlist.owner"))},null,8,E7),u("span",{class:"title is-6",textContent:g(n.playlist.owner.display_name)},null,8,S7)]),u("p",null,[u("span",{class:"heading",textContent:g(e.$t("dialog.spotify.playlist.tracks"))},null,8,$7),u("span",{class:"title is-6",textContent:g(n.playlist.tracks.total)},null,8,A7)]),u("p",null,[u("span",{class:"heading",textContent:g(e.$t("dialog.spotify.playlist.path"))},null,8,T7),u("span",{class:"title is-6",textContent:g(n.playlist.uri)},null,8,O7)])])]),u("footer",D7,[u("a",{class:"card-footer-item has-text-dark",onClick:t[2]||(t[2]=(...i)=>o.queue_add&&o.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,P7)]),u("a",{class:"card-footer-item has-text-dark",onClick:t[3]||(t[3]=(...i)=>o.queue_add_next&&o.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,I7)]),u("a",{class:"card-footer-item has-text-dark",onClick:t[4]||(t[4]=(...i)=>o.play&&o.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,F7)])])])]),u("button",{class:"modal-close is-large","aria-label":"close",onClick:t[5]||(t[5]=i=>e.$emit("close"))})])):V("",!0)]),_:1})])}const _u=te(y7,[["render",R7]]),xi={load(e){if(Ue.state.spotify_new_releases.length>0&&Ue.state.spotify_featured_playlists.length>0)return Promise.resolve();const t=new Jn;return t.setAccessToken(Ue.state.spotify.webapi_token),Promise.all([t.getNewReleases({country:Ue.state.spotify.webapi_country,limit:50}),t.getFeaturedPlaylists({country:Ue.state.spotify.webapi_country,limit:50})])},set(e,t){t&&(Ue.commit(_d,t[0].albums.items),Ue.commit(gd,t[1].playlists.items))}},L7={name:"PageMusicSpotify",components:{ContentWithHeading:Qe,CoverArtwork:Rn,ListItemAlbumSpotify:hu,ListItemPlaylistSpotify:Rm,ModalDialogAlbumSpotify:Va,ModalDialogPlaylistSpotify:_u,TabsMusic:dr},beforeRouteEnter(e,t,n){xi.load(e).then(r=>{n(s=>xi.set(s,r))})},beforeRouteUpdate(e,t,n){const r=this;xi.load(e).then(s=>{xi.set(r,s),n()})},data(){return{show_album_details_modal:!1,selected_album:{},show_playlist_details_modal:!1,selected_playlist:{}}},computed:{new_releases(){return this.$store.state.spotify_new_releases.slice(0,3)},featured_playlists(){return this.$store.state.spotify_featured_playlists.slice(0,3)},is_visible_artwork(){return this.$store.getters.settings_option("webinterface","show_cover_artwork_in_album_lists").value}},methods:{open_album(e){this.$router.push({name:"music-spotify-album",params:{id: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:""}}},N7={class:"fd-page-with-tabs"},M7=["textContent"],V7=["onClick"],H7={class:"level"},B7={class:"level-item"},U7=["textContent"],j7=["onClick"],q7={class:"level"},W7={class:"level-item"};function K7(e,t,n,r,s,o){const a=E("tabs-music"),i=E("cover-artwork"),l=E("mdicon"),c=E("list-item-album-spotify"),m=E("modal-dialog-album-spotify"),d=E("router-link"),f=E("content-with-heading"),p=E("list-item-playlist-spotify"),h=E("modal-dialog-playlist-spotify");return k(),$("div",N7,[y(a),y(f,null,{"heading-left":x(()=>[u("p",{class:"title is-4",textContent:g(e.$t("page.spotify.music.new-releases"))},null,8,M7)]),content:x(()=>[(k(!0),$(we,null,lt(o.new_releases,_=>(k(),he(c,{key:_.id,album:_,onClick:b=>o.open_album(_)},Da({actions:x(()=>[u("a",{onClick:nt(b=>o.open_album_dialog(_),["prevent","stop"])},[y(l,{class:"icon has-text-dark",name:"dots-vertical",size:"16"})],8,V7)]),_:2},[o.is_visible_artwork?{name:"artwork",fn:x(()=>[y(i,{artwork_url:o.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(m,{show:s.show_album_details_modal,album:s.selected_album,onClose:t[0]||(t[0]=_=>s.show_album_details_modal=!1)},null,8,["show","album"])]),footer:x(()=>[u("nav",H7,[u("p",B7,[y(d,{to:{name:"music-spotify-new-releases"},class:"button is-light is-small is-rounded"},{default:x(()=>[_t(g(e.$t("page.spotify.music.show-more")),1)]),_:1})])])]),_:1}),y(f,null,{"heading-left":x(()=>[u("p",{class:"title is-4",textContent:g(e.$t("page.spotify.music.featured-playlists"))},null,8,U7)]),content:x(()=>[(k(!0),$(we,null,lt(o.featured_playlists,_=>(k(),he(p,{key:_.id,playlist:_},{actions:x(()=>[u("a",{onClick:nt(b=>o.open_playlist_dialog(_),["prevent","stop"])},[y(l,{class:"icon has-text-dark",name:"dots-vertical",size:"16"})],8,j7)]),_:2},1032,["playlist"]))),128)),y(h,{show:s.show_playlist_details_modal,playlist:s.selected_playlist,onClose:t[1]||(t[1]=_=>s.show_playlist_details_modal=!1)},null,8,["show","playlist"])]),footer:x(()=>[u("nav",q7,[u("p",W7,[y(d,{to:{name:"music-spotify-featured-playlists"},class:"button is-light is-small is-rounded"},{default:x(()=>[_t(g(e.$t("page.spotify.music.show-more")),1)]),_:1})])])]),_:1})])}const G7=te(L7,[["render",K7]]),Ei={load(e){if(Ue.state.spotify_featured_playlists.length>0)return Promise.resolve();const t=new Jn;t.setAccessToken(Ue.state.spotify.webapi_token),t.getFeaturedPlaylists({country:Ue.state.spotify.webapi_country,limit:50})},set(e,t){t&&Ue.commit(gd,t.playlists.items)}},Z7={name:"PageMusicSpotifyFeaturedPlaylists",components:{ContentWithHeading:Qe,ListItemPlaylistSpotify:Rm,ModalDialogPlaylistSpotify:_u,TabsMusic:dr},beforeRouteEnter(e,t,n){Ei.load(e).then(r=>{n(s=>Ei.set(s,r))})},beforeRouteUpdate(e,t,n){const r=this;Ei.load(e).then(s=>{Ei.set(r,s),n()})},data(){return{selected_playlist:{},show_details_modal:!1}},computed:{featured_playlists(){return this.$store.state.spotify_featured_playlists}},methods:{open_playlist_dialog(e){this.selected_playlist=e,this.show_details_modal=!0}}},Y7={class:"fd-page-with-tabs"},J7=["textContent"],X7=["onClick"];function Q7(e,t,n,r,s,o){const a=E("tabs-music"),i=E("mdicon"),l=E("list-item-playlist-spotify"),c=E("modal-dialog-playlist-spotify"),m=E("content-with-heading");return k(),$("div",Y7,[y(a),y(m,null,{"heading-left":x(()=>[u("p",{class:"title is-4",textContent:g(e.$t("page.spotify.music.featured-playlists"))},null,8,J7)]),content:x(()=>[(k(!0),$(we,null,lt(o.featured_playlists,d=>(k(),he(l,{key:d.id,playlist:d},{actions:x(()=>[u("a",{onClick:nt(f=>o.open_playlist_dialog(d),["prevent","stop"])},[y(i,{class:"icon has-text-dark",name:"dots-vertical",size:"16"})],8,X7)]),_:2},1032,["playlist"]))),128)),y(c,{show:s.show_details_modal,playlist:s.selected_playlist,onClose:t[0]||(t[0]=d=>s.show_details_modal=!1)},null,8,["show","playlist"])]),_:1})])}const e9=te(Z7,[["render",Q7]]),Si={load(e){if(Ue.state.spotify_new_releases.length>0)return Promise.resolve();const t=new Jn;return t.setAccessToken(Ue.state.spotify.webapi_token),t.getNewReleases({country:Ue.state.spotify.webapi_country,limit:50})},set(e,t){t&&Ue.commit(_d,t.albums.items)}},t9={name:"PageMusicSpotifyNewReleases",components:{ContentWithHeading:Qe,CoverArtwork:Rn,ListItemAlbumSpotify:hu,ModalDialogAlbumSpotify:Va,TabsMusic:dr},beforeRouteEnter(e,t,n){Si.load(e).then(r=>{n(s=>Si.set(s,r))})},beforeRouteUpdate(e,t,n){const r=this;Si.load(e).then(s=>{Si.set(r,s),n()})},data(){return{show_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({name:"music-spotify-album",params:{id:e.id}})},open_album_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:""}}},n9={class:"fd-page-with-tabs"},r9=["textContent"],s9=["onClick"];function o9(e,t,n,r,s,o){const a=E("tabs-music"),i=E("cover-artwork"),l=E("mdicon"),c=E("list-item-album-spotify"),m=E("modal-dialog-album-spotify"),d=E("content-with-heading");return k(),$("div",n9,[y(a),y(d,null,{"heading-left":x(()=>[u("p",{class:"title is-4",textContent:g(e.$t("page.spotify.music.new-releases"))},null,8,r9)]),content:x(()=>[(k(!0),$(we,null,lt(o.new_releases,f=>(k(),he(c,{key:f.id,album:f,onClick:p=>o.open_album(f)},Da({actions:x(()=>[u("a",{onClick:nt(p=>o.open_album_dialog(f),["prevent","stop"])},[y(l,{class:"icon has-text-dark",name:"dots-vertical",size:"16"})],8,s9)]),_:2},[o.is_visible_artwork?{name:"artwork",fn:x(()=>[y(i,{artwork_url:o.artwork_url(f),artist:f.artist,album:f.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(m,{show:s.show_details_modal,album:s.selected_album,onClose:t[0]||(t[0]=f=>s.show_details_modal=!1)},null,8,["show","album"])]),_:1})])}const a9=te(t9,[["render",o9]]),i9={name:"ModalDialogComposer",props:["show","composer"],emits:["close"],methods:{play(){this.$emit("close"),H.player_play_expression(`composer is "${this.composer.name}" and media_kind is music`,!1)},queue_add(){this.$emit("close"),H.queue_expression_add(`composer is "${this.composer.name}" and media_kind is music`)},queue_add_next(){this.$emit("close"),H.queue_expression_add_next(`composer is "${this.composer.name}" and media_kind is music`)},open_albums(){this.$emit("close"),this.$router.push({name:"music-composer-albums",params:{name:this.composer.name}})},open_tracks(){this.$router.push({name:"music-composer-tracks",params:{name:this.composer.name}})}}},l9={key:0,class:"modal is-active"},u9={class:"modal-content fd-modal-card"},c9={class:"card"},d9={class:"card-content"},m9={class:"title is-4"},f9=["textContent"],p9=["textContent"],h9=["textContent"],_9=["textContent"],g9=["textContent"],y9=["textContent"],v9=["textContent"],b9={class:"card-footer"},z9=["textContent"],C9=["textContent"],w9=["textContent"];function k9(e,t,n,r,s,o){const a=E("mdicon");return k(),$("div",null,[y(Ft,{name:"fade"},{default:x(()=>[n.show?(k(),$("div",l9,[u("div",{class:"modal-background",onClick:t[0]||(t[0]=i=>e.$emit("close"))}),u("div",u9,[u("div",c9,[u("div",d9,[u("p",m9,[u("a",{class:"has-text-link",onClick:t[1]||(t[1]=(...i)=>o.open_albums&&o.open_albums(...i)),textContent:g(n.composer.name)},null,8,f9)]),u("p",null,[u("span",{class:"heading",textContent:g(e.$t("dialog.composer.albums"))},null,8,p9),u("a",{class:"has-text-link is-6",onClick:t[2]||(t[2]=(...i)=>o.open_albums&&o.open_albums(...i)),textContent:g(n.composer.album_count)},null,8,h9)]),u("p",null,[u("span",{class:"heading",textContent:g(e.$t("dialog.composer.tracks"))},null,8,_9),u("a",{class:"has-text-link is-6",onClick:t[3]||(t[3]=(...i)=>o.open_tracks&&o.open_tracks(...i)),textContent:g(n.composer.track_count)},null,8,g9)]),u("p",null,[u("span",{class:"heading",textContent:g(e.$t("dialog.composer.duration"))},null,8,y9),u("span",{class:"title is-6",textContent:g(e.$filters.durationInHours(n.composer.length_ms))},null,8,v9)])]),u("footer",b9,[u("a",{class:"card-footer-item has-text-dark",onClick:t[4]||(t[4]=(...i)=>o.queue_add&&o.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,z9)]),u("a",{class:"card-footer-item has-text-dark",onClick:t[5]||(t[5]=(...i)=>o.queue_add_next&&o.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,C9)]),u("a",{class:"card-footer-item has-text-dark",onClick:t[6]||(t[6]=(...i)=>o.play&&o.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,w9)])])])]),u("button",{class:"modal-close is-large","aria-label":"close",onClick:t[7]||(t[7]=i=>e.$emit("close"))})])):V("",!0)]),_:1})])}const Lm=te(i9,[["render",k9]]),$i={load(e){return Promise.all([H.library_composer(e.params.name),H.library_composer_albums(e.params.name)])},set(e,t){e.composer=t[0].data,e.albums_list=new ge(t[1].data.albums)}},x9={name:"PageComposerAlbums",components:{ContentWithHeading:Qe,ListAlbums:cr,ModalDialogComposer:Lm},beforeRouteEnter(e,t,n){$i.load(e).then(r=>{n(s=>$i.set(s,r))})},beforeRouteUpdate(e,t,n){const r=this;$i.load(e).then(s=>{$i.set(r,s),n()})},data(){return{albums_list:new ge,composer:{},show_details_modal:!1}},methods:{open_tracks(){this.$router.push({name:"music-composer-tracks",params:{name:this.composer.name}})},play(){H.player_play_expression(`composer is "${this.composer.name}" and media_kind is music`,!0)}}},E9=["textContent"],S9={class:"buttons is-centered"},$9=["textContent"],A9={class:"heading has-text-centered-mobile"},T9=["textContent"],O9=u("span",null," | ",-1),D9=["textContent"];function P9(e,t,n,r,s,o){const a=E("mdicon"),i=E("list-albums"),l=E("modal-dialog-composer"),c=E("content-with-heading");return k(),$("div",null,[y(c,null,{"heading-left":x(()=>[u("p",{class:"title is-4",textContent:g(s.composer.name)},null,8,E9)]),"heading-right":x(()=>[u("div",S9,[u("a",{class:"button is-small is-light is-rounded",onClick:t[0]||(t[0]=m=>s.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)=>o.play&&o.play(...m))},[y(a,{class:"icon",name:"shuffle",size:"16"}),u("span",{textContent:g(e.$t("page.composer.shuffle"))},null,8,$9)])])]),content:x(()=>[u("p",A9,[u("span",{textContent:g(e.$t("page.composer.album-count",{count:s.composer.album_count}))},null,8,T9),O9,u("a",{class:"has-text-link",onClick:t[2]||(t[2]=(...m)=>o.open_tracks&&o.open_tracks(...m)),textContent:g(e.$t("page.composer.track-count",{count:s.composer.track_count}))},null,8,D9)]),y(i,{albums:s.albums_list,hide_group_title:!0},null,8,["albums"]),y(l,{show:s.show_details_modal,composer:s.composer,onClose:t[3]||(t[3]=m=>s.show_details_modal=!1)},null,8,["show","composer"])]),_:1})])}const I9=te(x9,[["render",P9]]),Ai={load(e){return Promise.all([H.library_composer(e.params.name),H.library_composer_tracks(e.params.name)])},set(e,t){e.composer=t[0].data,e.tracks_list=new ge(t[1].data.tracks)}},F9={name:"PageComposerTracks",components:{ContentWithHeading:Qe,ControlDropdown:$s,IndexButtonList:Xn,ListTracks:Cn,ModalDialogComposer:Lm},beforeRouteEnter(e,t,n){Ai.load(e).then(r=>{n(s=>Ai.set(s,r))})},beforeRouteUpdate(e,t,n){const r=this;Ai.load(e).then(s=>{Ai.set(r,s),n()})},data(){return{composer:{},groupby_options:[{id:1,name:this.$t("page.composer.sort.name"),options:Ln("title_sort")},{id:2,name:this.$t("page.composer.sort.rating"),options:Am("rating",{direction:"desc"})}],show_details_modal:!1,tracks_list:new ge}},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(Jh,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:"music-composer-albums",params:{name:this.composer.name}})},play(){H.player_play_expression(this.expression,!0)}}},R9={class:"columns"},L9={class:"column"},N9=["textContent"],M9=["textContent"],V9={class:"buttons is-centered"},H9=["textContent"],B9={class:"heading has-text-centered-mobile"},U9=["textContent"],j9=u("span",null," | ",-1),q9=["textContent"];function W9(e,t,n,r,s,o){const a=E("index-button-list"),i=E("control-dropdown"),l=E("mdicon"),c=E("list-tracks"),m=E("modal-dialog-composer"),d=E("content-with-heading");return k(),$("div",null,[y(d,null,{options:x(()=>[y(a,{index:o.tracks.indexList},null,8,["index"]),u("div",R9,[u("div",L9,[u("p",{class:"heading mb-5",textContent:g(e.$t("page.artist.sort.title"))},null,8,N9),y(i,{value:o.selected_groupby_option_id,"onUpdate:value":t[0]||(t[0]=f=>o.selected_groupby_option_id=f),options:s.groupby_options},null,8,["value","options"])])])]),"heading-left":x(()=>[u("p",{class:"title is-4",textContent:g(s.composer.name)},null,8,M9)]),"heading-right":x(()=>[u("div",V9,[u("a",{class:"button is-small is-light is-rounded",onClick:t[1]||(t[1]=f=>s.show_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]=(...f)=>o.play&&o.play(...f))},[y(l,{class:"icon",name:"shuffle",size:"16"}),u("span",{textContent:g(e.$t("page.composer.shuffle"))},null,8,H9)])])]),content:x(()=>[u("p",B9,[u("a",{class:"has-text-link",onClick:t[3]||(t[3]=(...f)=>o.open_albums&&o.open_albums(...f)),textContent:g(e.$t("page.composer.album-count",{count:s.composer.album_count}))},null,8,U9),j9,u("span",{textContent:g(e.$t("page.composer.track-count",{count:s.composer.track_count}))},null,8,q9)]),y(c,{tracks:o.tracks,expression:o.expression},null,8,["tracks","expression"]),y(m,{show:s.show_details_modal,composer:s.composer,onClose:t[4]||(t[4]=f=>s.show_details_modal=!1)},null,8,["show","composer"])]),_:1})])}const K9=te(F9,[["render",W9]]),G9={name:"ListComposers",components:{ModalDialogComposer:Lm},props:["composers","media_kind","hide_group_title"],data(){return{show_details_modal:!1,selected_composer:{}}},methods:{open_composer(e){this.selected_composer=e,this.$router.push({name:"music-composer-albums",params:{name:e.name}})},open_dialog(e){this.selected_composer=e,this.show_details_modal=!0}}},Z9={key:0,class:"mt-6 mb-5 py-2"},Y9={class:"media-content is-clipped"},J9=["id","textContent"],X9=["onClick"],Q9={class:"media-content is-clickable is-clipped"},eV=["textContent"],tV={class:"media-right"},nV=["onClick"];function rV(e,t,n,r,s,o){const a=E("mdicon"),i=E("modal-dialog-composer");return k(),$(we,null,[(k(!0),$(we,null,lt(n.composers,l=>(k(),$(we,{key:l.itemId},[!l.isItem&&!n.hide_group_title?(k(),$("div",Z9,[u("div",Y9,[u("span",{id:"index_"+l.groupKey,class:"tag is-info is-light is-small has-text-weight-bold",textContent:g(l.groupKey)},null,8,J9)])])):l.isItem?(k(),$("div",{key:1,class:"media is-align-items-center",onClick:c=>o.open_composer(l.item)},[u("div",Q9,[u("h1",{class:"title is-6",textContent:g(l.item.name)},null,8,eV)]),u("div",tV,[u("a",{onClick:nt(c=>o.open_dialog(l.item),["prevent","stop"])},[y(a,{class:"icon has-text-dark",name:"dots-vertical",size:"16"})],8,nV)])],8,X9)):V("",!0)],64))),128)),(k(),he(es,{to:"#app"},[y(i,{show:s.show_details_modal,composer:s.selected_composer,media_kind:n.media_kind,onClose:t[0]||(t[0]=l=>s.show_details_modal=!1)},null,8,["show","composer","media_kind"])]))],64)}const B1=te(G9,[["render",rV]]),Ti={load(e){return H.library_composers("music")},set(e,t){e.composers=new ge(t.data),e.composers.group(Ln("name_sort"))}},sV={name:"PageComposers",components:{ContentWithHeading:Qe,IndexButtonList:Xn,ListComposers:B1,TabsMusic:dr},beforeRouteEnter(e,t,n){Ti.load(e).then(r=>{n(s=>Ti.set(s,r))})},beforeRouteUpdate(e,t,n){if(!this.composers.isEmpty()){n();return}const r=this;Ti.load(e).then(s=>{Ti.set(r,s),n()})},data(){return{composers:new ge}}},oV={class:"fd-page-with-tabs"},aV=["textContent"],iV=["textContent"];function lV(e,t,n,r,s,o){const a=E("tabs-music"),i=E("index-button-list"),l=E("list-composers"),c=E("content-with-heading");return k(),$("div",oV,[y(a),y(c,null,{options:x(()=>[y(i,{index:s.composers.indexList},null,8,["index"])]),"heading-left":x(()=>[u("p",{class:"title is-4",textContent:g(e.$t("page.composers.title"))},null,8,aV),u("p",{class:"heading",textContent:g(e.$t("page.composers.count",{count:s.composers.total}))},null,8,iV)]),content:x(()=>[y(l,{composers:s.composers},null,8,["composers"])]),_:1})])}const uV=te(sV,[["render",lV]]),cV={name:"ModalDialogDirectory",props:["show","directory"],emits:["close"],methods:{play(){this.$emit("close"),H.player_play_expression(`path starts with "${this.directory}" order by path asc`,!1)},queue_add(){this.$emit("close"),H.queue_expression_add(`path starts with "${this.directory}" order by path asc`)},queue_add_next(){this.$emit("close"),H.queue_expression_add_next(`path starts with "${this.directory}" order by path asc`)}}},dV={key:0,class:"modal is-active"},mV={class:"modal-content fd-modal-card"},fV={class:"card"},pV={class:"card-content"},hV=["textContent"],_V={class:"card-footer"},gV=["textContent"],yV=["textContent"],vV=["textContent"];function bV(e,t,n,r,s,o){const a=E("mdicon");return k(),$("div",null,[y(Ft,{name:"fade"},{default:x(()=>[n.show?(k(),$("div",dV,[u("div",{class:"modal-background",onClick:t[0]||(t[0]=i=>e.$emit("close"))}),u("div",mV,[u("div",fV,[u("div",pV,[u("p",{class:"title is-4",textContent:g(n.directory)},null,8,hV)]),u("footer",_V,[u("a",{class:"card-footer-item has-text-dark",onClick:t[1]||(t[1]=(...i)=>o.queue_add&&o.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,gV)]),u("a",{class:"card-footer-item has-text-dark",onClick:t[2]||(t[2]=(...i)=>o.queue_add_next&&o.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,yV)]),u("a",{class:"card-footer-item has-text-dark",onClick:t[3]||(t[3]=(...i)=>o.play&&o.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,vV)])])])]),u("button",{class:"modal-close is-large","aria-label":"close",onClick:t[4]||(t[4]=i=>e.$emit("close"))})])):V("",!0)]),_:1})])}const U1=te(cV,[["render",bV]]),zV={name:"ListDirectories",components:{ModalDialogDirectory:U1},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({name:"files"}):this.$router.push({name:"files",query:{directory:this.current_directory.slice(0,this.current_directory.lastIndexOf("/"))}})},open_directory(e){this.$router.push({name:"files",query:{directory:e.path}})},open_dialog(e){this.selected_directory=e.path,this.show_details_modal=!0}}},CV={class:"media-left is-clickable"},wV=u("div",{class:"media-content is-clickable is-clipped"},[u("h1",{class:"title is-6"},"..")],-1),kV={class:"media-right"},xV=["onClick"],EV={class:"media-left is-clickable"},SV={class:"media-content is-clickable is-clipped"},$V=["textContent"],AV=["textContent"],TV={class:"media-right"},OV=["onClick"];function DV(e,t,n,r,s,o){const a=E("mdicon"),i=E("modal-dialog-directory");return k(),$(we,null,[e.$route.query.directory?(k(),$("div",{key:0,class:"media is-align-items-center",onClick:t[0]||(t[0]=l=>o.open_parent_directory())},[u("figure",CV,[y(a,{class:"icon",name:"subdirectory-arrow-left",size:"16"})]),wV,u("div",kV,[st(e.$slots,"actions")])])):V("",!0),(k(!0),$(we,null,lt(n.directories,l=>(k(),$("div",{key:l.path,class:"media is-align-items-center",onClick:c=>o.open_directory(l)},[u("figure",EV,[y(a,{class:"icon",name:"folder",size:"16"})]),u("div",SV,[u("h1",{class:"title is-6",textContent:g(l.path.substring(l.path.lastIndexOf("/")+1))},null,8,$V),u("h2",{class:"subtitle is-7 has-text-grey-light",textContent:g(l.path)},null,8,AV)]),u("div",TV,[u("a",{onClick:nt(c=>o.open_dialog(l),["prevent","stop"])},[y(a,{class:"icon has-text-dark",name:"dots-vertical",size:"16"})],8,OV)])],8,xV))),128)),(k(),he(es,{to:"#app"},[y(i,{show:s.show_details_modal,directory:s.selected_directory,onClose:t[1]||(t[1]=l=>s.show_details_modal=!1)},null,8,["show","directory"])]))],64)}const PV=te(zV,[["render",DV]]),IV={name:"ModalDialogPlaylist",props:["show","playlist","uris"],emits:["close"],methods:{play(){this.$emit("close"),H.player_play_uri(this.uris?this.uris:this.playlist.uri,!1)},queue_add(){this.$emit("close"),H.queue_add(this.uris?this.uris:this.playlist.uri)},queue_add_next(){this.$emit("close"),H.queue_add_next(this.uris?this.uris:this.playlist.uri)},open_playlist(){this.$emit("close"),this.$router.push({name:"playlist",params:{id:this.playlist.id}})}}},FV={key:0,class:"modal is-active"},RV={class:"modal-content fd-modal-card"},LV={class:"card"},NV={class:"card-content"},MV={class:"title is-4"},VV=["textContent"],HV={class:"content is-small"},BV=["textContent"],UV=["textContent"],jV=["textContent"],qV=["textContent"],WV={key:0},KV=["textContent"],GV=["textContent"],ZV={key:0,class:"card-footer"},YV=["textContent"],JV=["textContent"],XV=["textContent"];function QV(e,t,n,r,s,o){const a=E("mdicon");return k(),$("div",null,[y(Ft,{name:"fade"},{default:x(()=>[n.show?(k(),$("div",FV,[u("div",{class:"modal-background",onClick:t[0]||(t[0]=i=>e.$emit("close"))}),u("div",RV,[u("div",LV,[u("div",NV,[u("p",MV,[u("a",{class:"has-text-link",onClick:t[1]||(t[1]=(...i)=>o.open_playlist&&o.open_playlist(...i)),textContent:g(n.playlist.name)},null,8,VV)]),u("div",HV,[u("p",null,[u("span",{class:"heading",textContent:g(e.$t("dialog.playlist.path"))},null,8,BV),u("span",{class:"title is-6",textContent:g(n.playlist.path)},null,8,UV)]),u("p",null,[u("span",{class:"heading",textContent:g(e.$t("dialog.playlist.type"))},null,8,jV),u("span",{class:"title is-6",textContent:g(e.$t("playlist.type."+n.playlist.type))},null,8,qV)]),n.playlist.folder?V("",!0):(k(),$("p",WV,[u("span",{class:"heading",textContent:g(e.$t("dialog.playlist.track-count"))},null,8,KV),u("span",{class:"title is-6",textContent:g(n.playlist.item_count)},null,8,GV)]))])]),n.playlist.folder?V("",!0):(k(),$("footer",ZV,[u("a",{class:"card-footer-item has-text-dark",onClick:t[2]||(t[2]=(...i)=>o.queue_add&&o.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,YV)]),u("a",{class:"card-footer-item has-text-dark",onClick:t[3]||(t[3]=(...i)=>o.queue_add_next&&o.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,JV)]),u("a",{class:"card-footer-item has-text-dark",onClick:t[4]||(t[4]=(...i)=>o.play&&o.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,XV)])]))])]),u("button",{class:"modal-close is-large","aria-label":"close",onClick:t[5]||(t[5]=i=>e.$emit("close"))})])):V("",!0)]),_:1})])}const j1=te(IV,[["render",QV]]),eH={name:"ListPlaylists",components:{ModalDialogPlaylist:j1},props:["playlists"],data(){return{show_details_modal:!1,selected_playlist:{}}},methods:{open_playlist(e){e.type==="folder"?this.$router.push({name:"playlist-folder",params:{id:e.id}}):this.$router.push({name:"playlist",params:{id: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"}}},tH=["onClick"],nH={class:"media-left is-clickable"},rH={class:"media-content is-clickable is-clipped"},sH=["textContent"],oH={class:"media-right"},aH=["onClick"];function iH(e,t,n,r,s,o){const a=E("mdicon"),i=E("modal-dialog-playlist");return k(),$(we,null,[(k(!0),$(we,null,lt(n.playlists,l=>(k(),$("div",{key:l.itemId,class:"media is-align-items-center",onClick:c=>o.open_playlist(l.item)},[u("figure",nH,[y(a,{class:"icon",name:o.icon_name(l.item),size:"16"},null,8,["name"])]),u("div",rH,[u("h1",{class:"title is-6",textContent:g(l.item.name)},null,8,sH)]),u("div",oH,[u("a",{onClick:nt(c=>o.open_dialog(l.item),["prevent","stop"])},[y(a,{class:"icon has-text-dark",name:"dots-vertical",size:"16"})],8,aH)])],8,tH))),128)),(k(),he(es,{to:"#app"},[y(i,{show:s.show_details_modal,playlist:s.selected_playlist,onClose:t[0]||(t[0]=l=>s.show_details_modal=!1)},null,8,["show","playlist"])]))],64)}const Nm=te(eH,[["render",iH]]),Oi={load(e){return e.query.directory?H.library_files(e.query.directory):Promise.resolve()},set(e,t){t?(e.dirs=t.data.directories,e.playlists=new ge(t.data.playlists),e.tracks=new ge(t.data.tracks)):(e.dirs=e.$store.state.config.directories.map(n=>({path:n})),e.playlists=new ge,e.tracks=new ge)}},lH={name:"PageFiles",components:{ContentWithHeading:Qe,ListDirectories:PV,ListPlaylists:Nm,ListTracks:Cn,ModalDialogDirectory:U1},beforeRouteEnter(e,t,n){Oi.load(e).then(r=>{n(s=>Oi.set(s,r))})},beforeRouteUpdate(e,t,n){const r=this;Oi.load(e).then(s=>{Oi.set(r,s),n()})},data(){return{dirs:[],playlists:new ge,tracks:new ge,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(){H.player_play_expression(this.play_expression,!1)}}},uH=["textContent"],cH=["textContent"],dH={class:"buttons is-centered"},mH=["textContent"];function fH(e,t,n,r,s,o){const a=E("mdicon"),i=E("list-directories"),l=E("list-playlists"),c=E("list-tracks"),m=E("modal-dialog-directory"),d=E("content-with-heading");return k(),$("div",null,[y(d,null,{"heading-left":x(()=>[u("p",{class:"title is-4",textContent:g(e.$t("page.files.title"))},null,8,uH),u("p",{class:"title is-7 has-text-grey",textContent:g(o.current_directory)},null,8,cH)]),"heading-right":x(()=>[u("div",dH,[u("a",{class:"button is-small is-light is-rounded",onClick:t[0]||(t[0]=f=>s.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)=>o.play&&o.play(...f))},[y(a,{class:"icon",name:"play",size:"16"}),u("span",{textContent:g(e.$t("page.files.play"))},null,8,mH)])])]),content:x(()=>[y(i,{directories:s.dirs},null,8,["directories"]),y(l,{playlists:s.playlists},null,8,["playlists"]),y(c,{tracks:s.tracks,expression:o.play_expression,show_icon:!0},null,8,["tracks","expression"]),y(m,{show:s.show_details_modal,directory:o.current_directory,onClose:t[2]||(t[2]=f=>s.show_details_modal=!1)},null,8,["show","directory"])]),_:1})])}const pH=te(lH,[["render",fH]]),Di={load(e){return Promise.all([H.library_genre(e.params.name,e.query.media_kind),H.library_genre_albums(e.params.name,e.query.media_kind)])},set(e,t){e.genre=t[0].data,e.albums_list=new ge(t[1].data.albums),e.albums_list.group(Ln("name_sort",!0))}},hH={name:"PageGenreAlbums",components:{ContentWithHeading:Qe,IndexButtonList:Xn,ListAlbums:cr,ModalDialogGenre:Fm},beforeRouteEnter(e,t,n){Di.load(e).then(r=>{n(s=>Di.set(s,r))})},beforeRouteUpdate(e,t,n){if(!this.albums_list.isEmpty()){n();return}const r=this;Di.load(e).then(s=>{Di.set(r,s),n()})},data(){return{albums_list:new ge,genre:{},media_kind:this.$route.query.media_kind,show_details_modal:!1}},methods:{open_tracks(){this.show_details_modal=!1,this.$router.push({name:"genre-tracks",params:{name:this.genre.name},query:{media_kind:this.media_kind}})},play(){H.player_play_expression(`genre is "${this.genre.name}" and media_kind is ${this.media_kind}`,!0)}}},_H=["textContent"],gH={class:"buttons is-centered"},yH=["textContent"],vH={class:"heading has-text-centered-mobile"},bH=["textContent"],zH=u("span",null," | ",-1),CH=["textContent"];function wH(e,t,n,r,s,o){const a=E("index-button-list"),i=E("mdicon"),l=E("list-albums"),c=E("modal-dialog-genre"),m=E("content-with-heading");return k(),$("div",null,[y(m,null,{options:x(()=>[y(a,{index:s.albums_list.indexList},null,8,["index"])]),"heading-left":x(()=>[u("p",{class:"title is-4",textContent:g(s.genre.name)},null,8,_H)]),"heading-right":x(()=>[u("div",gH,[u("a",{class:"button is-small is-light is-rounded",onClick:t[0]||(t[0]=d=>s.show_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]=(...d)=>o.play&&o.play(...d))},[y(i,{class:"icon",name:"shuffle",size:"16"}),u("span",{textContent:g(e.$t("page.genre.shuffle"))},null,8,yH)])])]),content:x(()=>[u("p",vH,[u("span",{textContent:g(e.$t("page.genre.album-count",{count:s.genre.album_count}))},null,8,bH),zH,u("a",{class:"has-text-link",onClick:t[2]||(t[2]=(...d)=>o.open_tracks&&o.open_tracks(...d)),textContent:g(e.$t("page.genre.track-count",{count:s.genre.track_count}))},null,8,CH)]),y(l,{albums:s.albums_list},null,8,["albums"]),y(c,{genre:s.genre,media_kind:s.media_kind,show:s.show_details_modal,onClose:t[3]||(t[3]=d=>s.show_details_modal=!1)},null,8,["genre","media_kind","show"])]),_:1})])}const kH=te(hH,[["render",wH]]),Pi={load(e){return Promise.all([H.library_genre(e.params.name,e.query.media_kind),H.library_genre_tracks(e.params.name,e.query.media_kind)])},set(e,t){e.genre=t[0].data,e.tracks_list=new ge(t[1].data.tracks)}},xH={name:"PageGenreTracks",components:{ContentWithHeading:Qe,ControlDropdown:$s,IndexButtonList:Xn,ListTracks:Cn,ModalDialogGenre:Fm},beforeRouteEnter(e,t,n){Pi.load(e).then(r=>{n(s=>Pi.set(s,r))})},beforeRouteUpdate(e,t,n){if(!this.tracks_list.isEmpty()){n();return}const r=this;Pi.load(e).then(s=>{Pi.set(r,s),n()})},data(){return{genre:{},groupby_options:[{id:1,name:this.$t("page.genre.sort.name"),options:Ln("title_sort")},{id:2,name:this.$t("page.genre.sort.rating"),options:Am("rating",{direction:"desc"})}],media_kind:this.$route.query.media_kind,show_details_modal:!1,tracks_list:new ge}},computed:{expression(){return`genre is "${this.genre.name}" and media_kind is ${this.media_kind}`},selected_groupby_option_id:{get(){return this.$store.state.genre_tracks_sort},set(e){this.$store.commit(Xh,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-albums",params:{name:this.genre.name},query:{media_kind:this.media_kind}})},play(){H.player_play_expression(this.expression,!0)}}},EH={class:"columns"},SH={class:"column"},$H=["textContent"],AH=["textContent"],TH={class:"buttons is-centered"},OH=["textContent"],DH={class:"heading has-text-centered-mobile"},PH=["textContent"],IH=u("span",null," | ",-1),FH=["textContent"];function RH(e,t,n,r,s,o){const a=E("index-button-list"),i=E("control-dropdown"),l=E("mdicon"),c=E("list-tracks"),m=E("modal-dialog-genre"),d=E("content-with-heading");return k(),$("div",null,[y(d,null,{options:x(()=>[y(a,{index:o.tracks.indexList},null,8,["index"]),u("div",EH,[u("div",SH,[u("p",{class:"heading mb-5",textContent:g(e.$t("page.genre.sort.title"))},null,8,$H),y(i,{value:o.selected_groupby_option_id,"onUpdate:value":t[0]||(t[0]=f=>o.selected_groupby_option_id=f),options:s.groupby_options},null,8,["value","options"])])])]),"heading-left":x(()=>[u("p",{class:"title is-4",textContent:g(s.genre.name)},null,8,AH)]),"heading-right":x(()=>[u("div",TH,[u("a",{class:"button is-small is-light is-rounded",onClick:t[1]||(t[1]=f=>s.show_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]=(...f)=>o.play&&o.play(...f))},[y(l,{class:"icon",name:"shuffle",size:"16"}),u("span",{textContent:g(e.$t("page.genre.shuffle"))},null,8,OH)])])]),content:x(()=>[u("p",DH,[u("a",{class:"has-text-link",onClick:t[3]||(t[3]=(...f)=>o.open_genre&&o.open_genre(...f)),textContent:g(e.$t("page.genre.album-count",{count:s.genre.album_count}))},null,8,PH),IH,u("span",{textContent:g(e.$t("page.genre.track-count",{count:s.genre.track_count}))},null,8,FH)]),y(c,{tracks:o.tracks,expression:o.expression},null,8,["tracks","expression"]),y(m,{show:s.show_details_modal,genre:s.genre,media_kind:s.media_kind,onClose:t[4]||(t[4]=f=>s.show_details_modal=!1)},null,8,["show","genre","media_kind"])]),_:1})])}const LH=te(xH,[["render",RH]]),Ii={load(e){return H.library_genres("music")},set(e,t){e.genres=t.data,e.genres=new ge(t.data),e.genres.group(Ln("name_sort"))}},NH={name:"PageGenres",components:{ContentWithHeading:Qe,IndexButtonList:Xn,ListGenres:H1,TabsMusic:dr},beforeRouteEnter(e,t,n){Ii.load(e).then(r=>{n(s=>Ii.set(s,r))})},beforeRouteUpdate(e,t,n){const r=this;Ii.load(e).then(s=>{Ii.set(r,s),n()})},data(){return{genres:new ge}}},MH={class:"fd-page-with-tabs"},VH=["textContent"],HH=["textContent"];function BH(e,t,n,r,s,o){const a=E("tabs-music"),i=E("index-button-list"),l=E("list-genres"),c=E("content-with-heading");return k(),$("div",MH,[y(a),y(c,null,{options:x(()=>[y(i,{index:s.genres.indexList},null,8,["index"])]),"heading-left":x(()=>[u("p",{class:"title is-4",textContent:g(e.$t("page.genres.title"))},null,8,VH),u("p",{class:"heading",textContent:g(e.$t("page.genres.count",{count:s.genres.total}))},null,8,HH)]),content:x(()=>[y(l,{genres:s.genres,media_kind:"music"},null,8,["genres"])]),_:1})])}const UH=te(NH,[["render",BH]]),jH={name:"LyricsPane",data(){return this.lastIndex=-1,this.scrollingTimer=null,this.lastItemId=-1,{autoScrolling:!0}},computed:{is_playing(){return this.player.state==="play"},verse_index(){if(this.lyrics.length&&this.lyrics[0].time){const e=this.player.item_progress_ms/1e3,t=this.lyrics,n=this.player.item_id!==this.lastItemId,r=this.lastIndex>=0&&this.lastIndex<t.length&&t[this.lastIndex].time>e;if((n||r)&&this.reset_scrolling(),this.lastIndex<t.length-1&&t[this.lastIndex+1].time>e||this.lastIndex===t.length-1)return this.lastIndex;if(this.lastIndex<t.length-2&&t[this.lastIndex+2].time>e)return this.lastIndex+1;let s=0,o=t.length-1,a;for(;s<=o;){a=s+o>>1;const i=t[a],l=t[a+1];if(i.time<=e&&((l==null?void 0:l.time)>e||!l))return a;i.time<e?s=a+1:o=a-1}return-1}else return this.reset_scrolling(),-1},lyrics(){const e=this.$store.getters.lyrics,t=[];if(e){const n=/(\[(\d+):(\d+)(?:\.\d+)?\] ?)?(.*)/;e.split(`
`).forEach((r,s)=>{const o=n.exec(r);if(o&&o[4]){const a={text:o[4],time:o[2]*60+o[3]*1};t.push(a)}}),t.forEach((r,s,o)=>{const i=(s<o.length-1?o[s+1].time-r.time:3)/r.text.length;let l=0;r.words=r.text.match(/\S+\s*/g).map(c=>{const m=c.length*i;return l+=m,{duration:m,delay:l,text:c}})})}return t},player(){return this.$store.state.player}},watch:{verse_index(){this.autoScrolling&&this.scroll_to_verse(),this.lastIndex=this.verse_index}},methods:{reset_scrolling(){this.player.item_id!=this.lastItemId&&this.$refs.lyrics&&this.$refs.lyrics.scrollTo(0,0),this.lastItemId=this.player.item_id,this.lastIndex=-1},start_scrolling(e){(e.screenX||e.screenX!=0||e.screenY||e.screenY!=0)&&(this.autoScrolling=!1,this.scrollingTimer&&clearTimeout(this.scrollingTimer),this.scrollingTimer=setTimeout(this.autoScrolling=!0,2e3))},scroll_to_verse(){const e=this.$refs.lyrics;if(this.verse_index===-1){e.scrollTo(0,0);return}const t=e.children[this.verse_index];e.scrollBy({top:t.offsetTop-(e.offsetHeight>>1)+(t.offsetHeight>>1)-e.scrollTop,left:0,behavior:"smooth"})}}},qH=["textContent"],WH={key:1};function KH(e,t,n,r,s,o){return k(),$("div",{ref:"lyrics",class:"lyrics",onTouchstart:t[0]||(t[0]=a=>s.autoScrolling=!1),onTouchend:t[1]||(t[1]=a=>s.autoScrolling=!0),onScrollPassive:t[2]||(t[2]=(...a)=>o.start_scrolling&&o.start_scrolling(...a)),onWheelPassive:t[3]||(t[3]=(...a)=>o.start_scrolling&&o.start_scrolling(...a))},[(k(!0),$(we,null,lt(o.lyrics,(a,i)=>(k(),$(we,{key:i},[i===o.verse_index?(k(),$("div",{key:0,class:Ee({"is-highlighted":o.is_playing})},[(k(!0),$(we,null,lt(a.words,l=>(k(),$("span",{key:l,class:"has-text-weight-bold is-size-5"},[u("span",{style:Qr({"animation-duration":`${l.delay}s`}),textContent:g(l.text)},null,12,qH)]))),128))],2)):(k(),$("div",WH,g(a.text),1))],64))),128))],544)}const GH=te(jH,[["render",KH],["__scopeId","data-v-d4edaddb"]]),ZH={name:"ModalDialogQueueItem",props:["show","item"],emits:["close"],data(){return{spotify_track:{}}},watch:{item(){if(this.item&&this.item.data_kind==="spotify"){const e=new Jn;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:{open_album(){this.item.data_kind==="spotify"?this.$router.push({name:"music-spotify-album",params:{id:this.spotify_track.album.id}}):this.item.media_kind==="podcast"?this.$router.push({name:"podcast",params:{id:this.item.album_id}}):this.item.media_kind==="audiobook"?this.$router.push({name:"audiobooks-album",params:{id:this.item.album_id}}):this.item.media_kind==="music"&&this.$router.push({name:"music-album",params:{id:this.item.album_id}})},open_album_artist(){this.item.data_kind==="spotify"?this.$router.push({name:"music-spotify-artist",params:{id:this.spotify_track.artists[0].id}}):this.item.media_kind==="music"||this.item.media_kind==="podcast"?this.$router.push({name:"music-artist",params:{id:this.item.album_artist_id}}):this.item.media_kind==="audiobook"&&this.$router.push({name:"audiobooks-artist",params:{id:this.item.album_artist_id}})},open_genre(){this.$router.push({name:"genre-albums",params:{name:this.item.genre},query:{media_kind:this.item.media_kind}})},play(){this.$emit("close"),H.player_play({item_id:this.item.id})},remove(){this.$emit("close"),H.queue_remove(this.item.id)}}},YH={key:0,class:"modal is-active"},JH={class:"modal-content fd-modal-card"},XH={class:"card"},QH={class:"card-content"},eB=["textContent"],tB=["textContent"],nB={class:"content is-small"},rB={key:0},sB=["textContent"],oB=["textContent"],aB={key:1},iB=["textContent"],lB=["textContent"],uB={key:2},cB=["textContent"],dB=["textContent"],mB={key:3},fB=["textContent"],pB=["textContent"],hB={key:4},_B=["textContent"],gB=["textContent"],yB={key:5},vB=["textContent"],bB=["textContent"],zB={key:6},CB=["textContent"],wB=["textContent"],kB=["textContent"],xB=["textContent"],EB=["textContent"],SB={class:"title is-6"},$B=["textContent"],AB={key:7},TB=["textContent"],OB={class:"title is-6"},DB=["textContent"],PB=["textContent"],IB=["textContent"],FB=["textContent"],RB={class:"card-footer"},LB=["textContent"],NB=["textContent"];function MB(e,t,n,r,s,o){const a=E("mdicon");return k(),$("div",null,[y(Ft,{name:"fade"},{default:x(()=>[n.show?(k(),$("div",YH,[u("div",{class:"modal-background",onClick:t[0]||(t[0]=i=>e.$emit("close"))}),u("div",JH,[u("div",XH,[u("div",QH,[u("p",{class:"title is-4",textContent:g(n.item.title)},null,8,eB),u("p",{class:"subtitle",textContent:g(n.item.artist)},null,8,tB),u("div",nB,[n.item.album?(k(),$("p",rB,[u("span",{class:"heading",textContent:g(e.$t("dialog.queue-item.album"))},null,8,sB),u("a",{class:"title is-6 has-text-link",onClick:t[1]||(t[1]=(...i)=>o.open_album&&o.open_album(...i)),textContent:g(n.item.album)},null,8,oB)])):V("",!0),n.item.album_artist?(k(),$("p",aB,[u("span",{class:"heading",textContent:g(e.$t("dialog.queue-item.album-artist"))},null,8,iB),u("a",{class:"title is-6 has-text-link",onClick:t[2]||(t[2]=(...i)=>o.open_album_artist&&o.open_album_artist(...i)),textContent:g(n.item.album_artist)},null,8,lB)])):V("",!0),n.item.composer?(k(),$("p",uB,[u("span",{class:"heading",textContent:g(e.$t("dialog.queue-item.composer"))},null,8,cB),u("span",{class:"title is-6",textContent:g(n.item.composer)},null,8,dB)])):V("",!0),n.item.year?(k(),$("p",mB,[u("span",{class:"heading",textContent:g(e.$t("dialog.queue-item.year"))},null,8,fB),u("span",{class:"title is-6",textContent:g(n.item.year)},null,8,pB)])):V("",!0),n.item.genre?(k(),$("p",hB,[u("span",{class:"heading",textContent:g(e.$t("dialog.queue-item.genre"))},null,8,_B),u("a",{class:"title is-6 has-text-link",onClick:t[3]||(t[3]=(...i)=>o.open_genre&&o.open_genre(...i)),textContent:g(n.item.genre)},null,8,gB)])):V("",!0),n.item.disc_number?(k(),$("p",yB,[u("span",{class:"heading",textContent:g(e.$t("dialog.queue-item.position"))},null,8,vB),u("span",{class:"title is-6",textContent:g([n.item.disc_number,n.item.track_number].join(" / "))},null,8,bB)])):V("",!0),n.item.length_ms?(k(),$("p",zB,[u("span",{class:"heading",textContent:g(e.$t("dialog.queue-item.duration"))},null,8,CB),u("span",{class:"title is-6",textContent:g(e.$filters.durationInHours(n.item.length_ms))},null,8,wB)])):V("",!0),u("p",null,[u("span",{class:"heading",textContent:g(e.$t("dialog.queue-item.path"))},null,8,kB),u("span",{class:"title is-6",textContent:g(n.item.path)},null,8,xB)]),u("p",null,[u("span",{class:"heading",textContent:g(e.$t("dialog.queue-item.type"))},null,8,EB),u("span",SB,[u("span",{textContent:g([e.$t("media.kind."+n.item.media_kind),e.$t("data.kind."+n.item.data_kind)].join(" - "))},null,8,$B)])]),n.item.samplerate?(k(),$("p",AB,[u("span",{class:"heading",textContent:g(e.$t("dialog.queue-item.quality"))},null,8,TB),u("span",OB,[u("span",{textContent:g(n.item.type)},null,8,DB),n.item.samplerate?(k(),$("span",{key:0,textContent:g(e.$t("dialog.queue-item.samplerate",{rate:n.item.samplerate}))},null,8,PB)):V("",!0),n.item.channels?(k(),$("span",{key:1,textContent:g(e.$t("dialog.queue-item.channels",{channels:e.$filters.channels(n.item.channels)}))},null,8,IB)):V("",!0),n.item.bitrate?(k(),$("span",{key:2,textContent:g(e.$t("dialog.queue-item.bitrate",{rate:n.item.bitrate}))},null,8,FB)):V("",!0)])])):V("",!0)])]),u("footer",RB,[u("a",{class:"card-footer-item has-text-dark",onClick:t[4]||(t[4]=(...i)=>o.remove&&o.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,LB)]),u("a",{class:"card-footer-item has-text-dark",onClick:t[5]||(t[5]=(...i)=>o.play&&o.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,NB)])])])]),u("button",{class:"modal-close is-large","aria-label":"close",onClick:t[6]||(t[6]=i=>e.$emit("close"))})])):V("",!0)]),_:1})])}const q1=te(ZH,[["render",MB]]),Pr=1e3,VB={name:"PageNowPlaying",components:{ControlSlider:Jd,CoverArtwork:Rn,LyricsPane:GH,ModalDialogQueueItem:q1},data(){return{cursor:Yl,INTERVAL:Pr,interval_id:0,is_dragged:!1,selected_item:{},show_details_modal:!1}},computed:{is_live(){return this.track.length_ms===0},lyrics_visible(){return this.$store.getters.lyrics_pane},player(){return this.$store.state.player},track(){return this.$store.getters.now_playing},track_progress:{get(){return Math.floor(this.player.item_progress_ms/Pr)},set(e){this.player.item_progress_ms=e*Pr}},track_progress_max(){return this.is_live?1:Math.floor(this.track.length_ms/Pr)},track_elapsed_time(){return this.$filters.durationInHours(this.track_progress*Pr)},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,Pr))}},created(){H.player_status().then(({data:e})=>{this.$store.commit(hd,e),this.player.state==="play"&&(this.interval_id=window.setInterval(this.tick,Pr))})},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||H.player_seek_to_pos(this.track_progress*Pr)},open_dialog(e){this.selected_item=e,this.show_details_modal=!0}}},HB={class:"hero is-full-height"},BB={key:0,class:"hero-body is-flex is-align-items-center"},UB={class:"container has-text-centered",style:{"max-width":"500px"}},jB={class:"is-flex is-justify-content-space-between"},qB=["textContent"],WB=["textContent"],KB=["textContent"],GB=["textContent"],ZB=["textContent"],YB=["textContent"],JB=["textContent"],XB={key:1,class:"hero-body is-flex is-align-items-center"},QB={class:"container has-text-centered"},eU=["textContent"],tU=["textContent"];function nU(e,t,n,r,s,o){const a=E("cover-artwork"),i=E("lyrics-pane"),l=E("control-slider"),c=E("modal-dialog-queue-item");return k(),$("div",HB,[o.track.id>0?(k(),$("div",BB,[u("div",UB,[y(a,{artwork_url:o.track.artwork_url,artist:o.track.artist,album:o.track.album,class:Ee(["is-clickable fd-has-shadow fd-cover-big-image",{"is-masked":o.lyrics_visible}]),onClick:t[0]||(t[0]=m=>o.open_dialog(o.track))},null,8,["artwork_url","artist","album","class"]),o.lyrics_visible?(k(),he(i,{key:0})):V("",!0),y(l,{value:o.track_progress,"onUpdate:value":t[1]||(t[1]=m=>o.track_progress=m),class:"mt-5",disabled:o.is_live,max:o.track_progress_max,cursor:s.cursor,onChange:o.seek,onMousedown:o.start_dragging,onMouseup:o.end_dragging},null,8,["value","disabled","max","cursor","onChange","onMousedown","onMouseup"]),u("div",jB,[u("p",{class:"subtitle is-7",textContent:g(o.track_elapsed_time)},null,8,qB),u("p",{class:"subtitle is-7",textContent:g(o.track_total_time)},null,8,WB)]),u("p",{class:"title is-5",textContent:g(o.track.title)},null,8,KB),u("p",{class:"title is-6",textContent:g(o.track.artist)},null,8,GB),o.composer?(k(),$("p",{key:1,class:"subtitle is-6 has-text-grey has-text-weight-bold",textContent:g(o.composer)},null,8,ZB)):V("",!0),o.track.album?(k(),$("p",{key:2,class:"subtitle is-6",textContent:g(o.track.album)},null,8,YB)):V("",!0),o.filepath?(k(),$("p",{key:3,class:"subtitle is-6 has-text-grey",textContent:g(o.filepath)},null,8,JB)):V("",!0)])])):(k(),$("div",XB,[u("div",QB,[u("p",{class:"title is-5",textContent:g(e.$t("page.now-playing.title"))},null,8,eU),u("p",{class:"subtitle",textContent:g(e.$t("page.now-playing.info"))},null,8,tU)])])),y(c,{show:s.show_details_modal,item:s.selected_item,onClose:t[2]||(t[2]=m=>s.show_details_modal=!1)},null,8,["show","item"])])}const rU=te(VB,[["render",nU]]),Fi={load(e){return Promise.all([H.library_playlist(e.params.id),H.library_playlist_folder(e.params.id)])},set(e,t){e.playlist=t[0].data,e.playlists_list=new ge(t[1].data)}},sU={name:"PagePlaylistFolder",components:{ContentWithHeading:Qe,ListPlaylists:Nm},beforeRouteEnter(e,t,n){Fi.load(e).then(r=>{n(s=>Fi.set(s,r))})},beforeRouteUpdate(e,t,n){const r=this;Fi.load(e).then(s=>{Fi.set(r,s),n()})},data(){return{playlist:{},playlists_list:new ge}},computed:{playlists(){return this.playlists_list.group($m(),[e=>e.folder||this.radio_playlists||e.stream_count===0||e.item_count>e.stream_count]),this.playlists_list},radio_playlists(){return this.$store.state.config.radio_playlists}}},oU=["textContent"],aU=["textContent"];function iU(e,t,n,r,s,o){const a=E("list-playlists"),i=E("content-with-heading");return k(),$("div",null,[y(i,null,{"heading-left":x(()=>[u("p",{class:"title is-4",textContent:g(s.playlist.id===0?e.$t("page.playlists.title"):s.playlist.name)},null,8,oU),u("p",{class:"heading",textContent:g(e.$t("page.playlists.count",{count:o.playlists.count}))},null,8,aU)]),content:x(()=>[y(a,{playlists:o.playlists},null,8,["playlists"])]),_:1})])}const lU=te(sU,[["render",iU]]),Ri={load(e){return Promise.all([H.library_playlist(e.params.id),H.library_playlist_tracks(e.params.id)])},set(e,t){e.playlist=t[0].data,e.tracks=new ge(t[1].data)}},uU={name:"PagePlaylistTracks",components:{ContentWithHeading:Qe,ListTracks:Cn,ModalDialogPlaylist:j1},beforeRouteEnter(e,t,n){Ri.load(e).then(r=>{n(s=>Ri.set(s,r))})},beforeRouteUpdate(e,t,n){const r=this;Ri.load(e).then(s=>{Ri.set(r,s),n()})},data(){return{playlist:{},show_details_modal:!1,tracks:new ge}},computed:{uris(){return this.playlist.random?this.tracks.map(e=>e.uri).join(","):this.playlist.uri}},methods:{play(){H.player_play_uri(this.uris,!0)}}},cU=["textContent"],dU={class:"buttons is-centered"},mU=["textContent"],fU=["textContent"];function pU(e,t,n,r,s,o){const a=E("mdicon"),i=E("list-tracks"),l=E("modal-dialog-playlist"),c=E("content-with-heading");return k(),$("div",null,[y(c,null,{"heading-left":x(()=>[u("div",{class:"title is-4",textContent:g(s.playlist.name)},null,8,cU)]),"heading-right":x(()=>[u("div",dU,[u("a",{class:"button is-small is-light is-rounded",onClick:t[0]||(t[0]=m=>s.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)=>o.play&&o.play(...m))},[y(a,{class:"icon",name:"shuffle",size:"16"}),u("span",{textContent:g(e.$t("page.playlist.shuffle"))},null,8,mU)])])]),content:x(()=>[u("p",{class:"heading has-text-centered-mobile",textContent:g(e.$t("page.playlist.track-count",{count:s.tracks.count}))},null,8,fU),y(i,{tracks:s.tracks,uris:o.uris},null,8,["tracks","uris"]),y(l,{show:s.show_details_modal,playlist:s.playlist,uris:o.uris,onClose:t[2]||(t[2]=m=>s.show_details_modal=!1)},null,8,["show","playlist","uris"])]),_:1})])}const hU=te(uU,[["render",pU]]),ud=50,Li={load(e){const t=new Jn;return t.setAccessToken(Ue.state.spotify.webapi_token),Promise.all([t.getPlaylist(e.params.id),t.getPlaylistTracks(e.params.id,{limit:ud,offset:0,market:Ue.state.spotify.webapi_country})])},set(e,t){e.playlist=t[0],e.tracks=[],e.total=0,e.offset=0,e.append_tracks(t[1])}},_U={name:"PagePlaylistTracksSpotify",components:{ContentWithHeading:Qe,ListItemTrackSpotify:Tm,ModalDialogPlaylistSpotify:_u,ModalDialogTrackSpotify:Om,VueEternalLoading:Dm},beforeRouteEnter(e,t,n){Li.load(e).then(r=>{n(s=>Li.set(s,r))})},beforeRouteUpdate(e,t,n){const r=this;Li.load(e).then(s=>{Li.set(r,s),n()})},data(){return{playlist:{tracks:{}},tracks:[],total:0,offset:0,show_track_details_modal:!1,selected_track:{},show_playlist_details_modal:!1}},methods:{load_next({loaded:e}){const t=new Jn;t.setAccessToken(this.$store.state.spotify.webapi_token),t.getPlaylistTracks(this.playlist.id,{limit:ud,offset:this.offset,market:Ue.state.spotify.webapi_country}).then(n=>{this.append_tracks(n),e(n.items.length,ud)})},append_tracks(e){let t=Math.max(-1,...this.tracks.map(n=>n.position).filter(n=>n));e.items.forEach(n=>{const{track:r}=n;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,H.player_play_uri(this.playlist.uri,!0)},open_track_dialog(e){this.selected_track=e,this.show_track_details_modal=!0}}},gU=["textContent"],yU={class:"buttons is-centered"},vU=["textContent"],bU=["textContent"],zU=["onClick"];function CU(e,t,n,r,s,o){const a=E("mdicon"),i=E("list-item-track-spotify"),l=E("VueEternalLoading"),c=E("modal-dialog-track-spotify"),m=E("modal-dialog-playlist-spotify"),d=E("content-with-heading");return k(),$("div",null,[y(d,null,{"heading-left":x(()=>[u("div",{class:"title is-4",textContent:g(s.playlist.name)},null,8,gU)]),"heading-right":x(()=>[u("div",yU,[u("a",{class:"button is-small is-light is-rounded",onClick:t[0]||(t[0]=f=>s.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]=(...f)=>o.play&&o.play(...f))},[y(a,{class:"icon",name:"shuffle",size:"16"}),u("span",{textContent:g(e.$t("page.spotify.playlist.shuffle"))},null,8,vU)])])]),content:x(()=>[u("p",{class:"heading has-text-centered-mobile",textContent:g(e.$t("page.spotify.playlist.count",{count:s.playlist.tracks.total}))},null,8,bU),(k(!0),$(we,null,lt(s.tracks,f=>(k(),he(i,{key:f.id,track:f,position:f.position,context_uri:s.playlist.uri},{actions:x(()=>[u("a",{onClick:nt(p=>o.open_track_dialog(f),["prevent","stop"])},[y(a,{class:"icon has-text-dark",name:"dots-vertical",size:"16"})],8,zU)]),_:2},1032,["track","position","context_uri"]))),128)),s.offset<s.total?(k(),he(l,{key:0,load:o.load_next},{"no-more":x(()=>[_t(" . ")]),_:1},8,["load"])):V("",!0),y(c,{show:s.show_track_details_modal,track:s.selected_track,album:s.selected_track.album,onClose:t[2]||(t[2]=f=>s.show_track_details_modal=!1)},null,8,["show","track","album"]),y(m,{show:s.show_playlist_details_modal,playlist:s.playlist,onClose:t[3]||(t[3]=f=>s.show_playlist_details_modal=!1)},null,8,["show","playlist"])]),_:1})])}const wU=te(_U,[["render",CU]]),Ni={load(e){return Promise.all([H.library_album(e.params.id),H.library_podcast_episodes(e.params.id)])},set(e,t){e.album=t[0].data,e.tracks=new ge(t[1].data.tracks)}},kU={name:"PagePodcast",components:{ContentWithHero:mu,CoverArtwork:Rn,ListTracks:Cn,ModalDialog:fm,ModalDialogAlbum:fu},beforeRouteEnter(e,t,n){Ni.load(e).then(r=>{n(s=>Ni.set(s,r))})},beforeRouteUpdate(e,t,n){const r=this;Ni.load(e).then(s=>{Ni.set(r,s),n()})},data(){return{album:{},rss_playlist_to_remove:{},show_details_modal:!1,show_remove_podcast_modal:!1,tracks:new ge}},computed:{new_tracks(){return this.tracks.items.filter(e=>e.play_count===0).length}},methods:{open_remove_podcast_dialog(){H.library_track_playlists(this.tracks.items[0].id).then(({data:e})=>{[this.rss_playlist_to_remove]=e.items.filter(t=>t.type==="rss"),this.show_remove_podcast_modal=!0,this.show_details_modal=!1})},play(){H.player_play_uri(this.album.uri,!1)},reload_tracks(){H.library_podcast_episodes(this.album.id).then(({data:e})=>{this.tracks=new ge(e.tracks)})},remove_podcast(){this.show_remove_podcast_modal=!1,H.library_playlist_delete(this.rss_playlist_to_remove.id).then(()=>{this.$router.replace({name:"podcasts"})})}}},xU=["textContent"],EU=u("h2",{class:"subtitle is-6"}," ",-1),SU={class:"buttons fd-is-centered-mobile mt-5"},$U=["textContent"],AU=["textContent"],TU=["textContent"],OU={class:"is-size-7"},DU=["textContent"],PU=["textContent"];function IU(e,t,n,r,s,o){const a=E("mdicon"),i=E("cover-artwork"),l=E("list-tracks"),c=E("modal-dialog-album"),m=E("modal-dialog"),d=E("content-with-hero");return k(),$("div",null,[y(d,null,{"heading-left":x(()=>[u("h1",{class:"title is-5",textContent:g(s.album.name)},null,8,xU),EU,u("div",SU,[u("a",{class:"button is-small is-dark is-rounded",onClick:t[0]||(t[0]=(...f)=>o.play&&o.play(...f))},[y(a,{class:"icon",name:"play",size:"16"}),u("span",{textContent:g(e.$t("page.podcast.play"))},null,8,$U)]),u("a",{class:"button is-small is-light is-rounded",onClick:t[1]||(t[1]=f=>s.show_details_modal=!0)},[y(a,{class:"icon",name:"dots-horizontal",size:"16"})])])]),"heading-right":x(()=>[y(i,{artwork_url:s.album.artwork_url,artist:s.album.artist,album:s.album.name,class:"is-clickable fd-has-shadow fd-cover fd-cover-medium-image",onClick:t[2]||(t[2]=f=>s.show_details_modal=!0)},null,8,["artwork_url","artist","album"])]),content:x(()=>[u("p",{class:"heading is-7 has-text-centered-mobile mt-5",textContent:g(e.$t("page.podcast.track-count",{count:s.album.track_count}))},null,8,AU),y(l,{tracks:s.tracks,show_progress:!0,onPlayCountChanged:o.reload_tracks},null,8,["tracks","onPlayCountChanged"]),y(c,{show:s.show_details_modal,album:s.album,media_kind:"podcast",new_tracks:o.new_tracks,onClose:t[3]||(t[3]=f=>s.show_details_modal=!1),onPlayCountChanged:o.reload_tracks,onRemovePodcast:o.open_remove_podcast_dialog},null,8,["show","album","new_tracks","onPlayCountChanged","onRemovePodcast"]),y(m,{show:s.show_remove_podcast_modal,title:e.$t("page.podcast.remove-podcast"),delete_action:e.$t("page.podcast.remove"),onClose:t[4]||(t[4]=f=>s.show_remove_podcast_modal=!1),onDelete:o.remove_podcast},{"modal-content":x(()=>[u("p",{textContent:g(e.$t("page.podcast.remove-info-1"))},null,8,TU),u("p",OU,[_t(" ("),u("span",{textContent:g(e.$t("page.podcast.remove-info-2"))},null,8,DU),u("b",{textContent:g(s.rss_playlist_to_remove.name)},null,8,PU),_t(") ")])]),_:1},8,["show","title","delete_action","onDelete"])]),_:1})])}const FU=te(kU,[["render",IU]]),RU={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,H.library_add(this.url).then(()=>{this.$emit("close"),this.$emit("podcast-added"),this.url=""}).catch(()=>{this.loading=!1})}}},LU={key:0,class:"modal is-active"},NU={class:"modal-content fd-modal-card"},MU={class:"card-content"},VU=["textContent"],HU={class:"field"},BU={class:"control is-expanded has-icons-left"},UU=["placeholder","disabled"],jU=["textContent"],qU={key:0,class:"card-footer"},WU={class:"card-footer-item has-text-dark"},KU=["textContent"],GU={key:1,class:"card-footer is-clipped"},ZU=["textContent"],YU=["textContent"];function JU(e,t,n,r,s,o){const a=E("mdicon");return k(),$("div",null,[y(Ft,{name:"fade"},{default:x(()=>[n.show?(k(),$("div",LU,[u("div",{class:"modal-background",onClick:t[0]||(t[0]=i=>e.$emit("close"))}),u("div",NU,[u("form",{class:"card",onSubmit:t[4]||(t[4]=nt((...i)=>o.add_stream&&o.add_stream(...i),["prevent"]))},[u("div",MU,[u("p",{class:"title is-4",textContent:g(e.$t("dialog.add.rss.title"))},null,8,VU),u("div",HU,[u("p",BU,[gt(u("input",{ref:"url_field","onUpdate:modelValue":t[1]||(t[1]=i=>s.url=i),class:"input is-shadowless",type:"url",pattern:"http[s]?://.*",required:"",placeholder:e.$t("dialog.add.rss.placeholder"),disabled:s.loading},null,8,UU),[[fn,s.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,jU)])]),s.loading?(k(),$("footer",qU,[u("a",WU,[y(a,{class:"icon",name:"web",size:"16"}),u("span",{class:"is-size-7",textContent:g(e.$t("dialog.add.rss.processing"))},null,8,KU)])])):(k(),$("footer",GU,[u("a",{class:"card-footer-item has-text-dark",onClick:t[2]||(t[2]=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,ZU)]),u("a",{class:"card-footer-item has-background-info has-text-white has-text-weight-bold",onClick:t[3]||(t[3]=(...i)=>o.add_stream&&o.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,YU)])]))],32)]),u("button",{class:"modal-close is-large","aria-label":"close",onClick:t[5]||(t[5]=i=>e.$emit("close"))})])):V("",!0)]),_:1})])}const XU=te(RU,[["render",JU]]),Mi={load(e){return Promise.all([H.library_albums("podcast"),H.library_podcasts_new_episodes()])},set(e,t){e.albums=new ge(t[0].data),e.new_episodes=new ge(t[1].data.tracks)}},QU={name:"PagePodcasts",components:{ContentWithHeading:Qe,ListTracks:Cn,ListAlbums:cr,ModalDialogAddRss:XU},beforeRouteEnter(e,t,n){Mi.load(e).then(r=>{n(s=>Mi.set(s,r))})},beforeRouteUpdate(e,t,n){const r=this;Mi.load(e).then(s=>{Mi.set(r,s),n()})},data(){return{albums:[],new_episodes:{items:[]},show_url_modal:!1}},computed:{rss(){return this.$store.state.rss_count}},methods:{mark_all_played(){this.new_episodes.items.forEach(e=>{H.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(){H.library_podcasts_new_episodes().then(({data:e})=>{this.new_episodes=new ge(e.tracks)})},reload_podcasts(){H.library_albums("podcast").then(({data:e})=>{this.albums=new ge(e),this.reload_new_episodes()})},update_rss(){this.$store.commit(vd,"rss"),this.$store.commit(xa,!0)}}},ej=["textContent"],tj={class:"buttons is-centered"},nj=["textContent"],rj=["textContent"],sj=["textContent"],oj={class:"buttons is-centered"},aj=["textContent"],ij=["textContent"];function lj(e,t,n,r,s,o){const a=E("mdicon"),i=E("list-tracks"),l=E("content-with-heading"),c=E("list-albums"),m=E("modal-dialog-add-rss");return k(),$("div",null,[s.new_episodes.items.length>0?(k(),he(l,{key:0},{"heading-left":x(()=>[u("p",{class:"title is-4",textContent:g(e.$t("page.podcasts.new-episodes"))},null,8,ej)]),"heading-right":x(()=>[u("div",tj,[u("a",{class:"button is-small",onClick:t[0]||(t[0]=(...d)=>o.mark_all_played&&o.mark_all_played(...d))},[y(a,{class:"icon",name:"pencil",size:"16"}),u("span",{textContent:g(e.$t("page.podcasts.mark-all-played"))},null,8,nj)])])]),content:x(()=>[y(i,{tracks:s.new_episodes,show_progress:!0,onPlayCountChanged:o.reload_new_episodes},null,8,["tracks","onPlayCountChanged"])]),_:1})):V("",!0),y(l,null,{"heading-left":x(()=>[u("p",{class:"title is-4",textContent:g(e.$t("page.podcasts.title"))},null,8,rj),u("p",{class:"heading",textContent:g(e.$t("page.podcasts.count",{count:s.albums.total}))},null,8,sj)]),"heading-right":x(()=>[u("div",oj,[o.rss.tracks>0?(k(),$("a",{key:0,class:"button is-small",onClick:t[1]||(t[1]=(...d)=>o.update_rss&&o.update_rss(...d))},[y(a,{class:"icon",name:"refresh",size:"16"}),u("span",{textContent:g(e.$t("page.podcasts.update"))},null,8,aj)])):V("",!0),u("a",{class:"button is-small",onClick:t[2]||(t[2]=(...d)=>o.open_add_podcast_dialog&&o.open_add_podcast_dialog(...d))},[y(a,{class:"icon",name:"rss",size:"16"}),u("span",{textContent:g(e.$t("page.podcasts.add"))},null,8,ij)])])]),content:x(()=>[y(c,{albums:s.albums,onPlayCountChanged:t[3]||(t[3]=d=>o.reload_new_episodes()),onPodcastDeleted:t[4]||(t[4]=d=>o.reload_podcasts())},null,8,["albums"]),y(m,{show:s.show_url_modal,onClose:t[5]||(t[5]=d=>s.show_url_modal=!1),onPodcastAdded:t[6]||(t[6]=d=>o.reload_podcasts())},null,8,["show"])]),_:1})])}const uj=te(QU,[["render",lj]]),Vi={load(e){return H.library_radio_streams()},set(e,t){e.tracks=new ge(t.data.tracks)}},cj={name:"PageRadioStreams",components:{ContentWithHeading:Qe,ListTracks:Cn},beforeRouteEnter(e,t,n){Vi.load(e).then(r=>{n(s=>Vi.set(s,r))})},beforeRouteUpdate(e,t,n){const r=this;Vi.load(e).then(s=>{Vi.set(r,s),n()})},data(){return{tracks:new ge}}},dj=["textContent"],mj=["textContent"];function fj(e,t,n,r,s,o){const a=E("list-tracks"),i=E("content-with-heading");return k(),$("div",null,[y(i,null,{"heading-left":x(()=>[u("p",{class:"title is-4",textContent:g(e.$t("page.radio.title"))},null,8,dj),u("p",{class:"heading has-text-centered-mobile",textContent:g(e.$t("page.radio.count",{count:s.tracks.total}))},null,8,mj)]),content:x(()=>[y(a,{tracks:s.tracks},null,8,["tracks"])]),_:1})])}const pj=te(cj,[["render",fj]]);var W1={exports:{}};/**!
* Sortable 1.14.0
* @author RubaXa <trash@rubaxa.org>
* @author owenm <owen23355@gmail.com>
* @license MIT
*/function Ah(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter(function(s){return Object.getOwnPropertyDescriptor(e,s).enumerable})),n.push.apply(n,r)}return n}function lr(e){for(var t=1;t<arguments.length;t++){var n=arguments[t]!=null?arguments[t]:{};t%2?Ah(Object(n),!0).forEach(function(r){hj(e,r,n[r])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):Ah(Object(n)).forEach(function(r){Object.defineProperty(e,r,Object.getOwnPropertyDescriptor(n,r))})}return e}function el(e){"@babel/helpers - typeof";return typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?el=function(t){return typeof t}:el=function(t){return t&&typeof Symbol=="function"&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t},el(e)}function hj(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function In(){return In=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},In.apply(this,arguments)}function _j(e,t){if(e==null)return{};var n={},r=Object.keys(e),s,o;for(o=0;o<r.length;o++)s=r[o],!(t.indexOf(s)>=0)&&(n[s]=e[s]);return n}function gj(e,t){if(e==null)return{};var n=_j(e,t),r,s;if(Object.getOwnPropertySymbols){var o=Object.getOwnPropertySymbols(e);for(s=0;s<o.length;s++)r=o[s],!(t.indexOf(r)>=0)&&Object.prototype.propertyIsEnumerable.call(e,r)&&(n[r]=e[r])}return n}function yj(e){return vj(e)||bj(e)||zj(e)||Cj()}function vj(e){if(Array.isArray(e))return cd(e)}function bj(e){if(typeof Symbol<"u"&&e[Symbol.iterator]!=null||e["@@iterator"]!=null)return Array.from(e)}function zj(e,t){if(e){if(typeof e=="string")return cd(e,t);var n=Object.prototype.toString.call(e).slice(8,-1);if(n==="Object"&&e.constructor&&(n=e.constructor.name),n==="Map"||n==="Set")return Array.from(e);if(n==="Arguments"||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n))return cd(e,t)}}function cd(e,t){(t==null||t>e.length)&&(t=e.length);for(var n=0,r=new Array(t);n<t;n++)r[n]=e[n];return r}function Cj(){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 wj="1.14.0";function br(e){if(typeof window<"u"&&window.navigator)return!!navigator.userAgent.match(e)}var kr=br(/(?:Trident.*rv[ :]?11\.|msie|iemobile|Windows Phone)/i),Ha=br(/Edge/i),Th=br(/firefox/i),ra=br(/safari/i)&&!br(/chrome/i)&&!br(/android/i),K1=br(/iP(ad|od|hone)/i),kj=br(/chrome/i)&&br(/android/i),G1={capture:!1,passive:!1};function Ke(e,t,n){e.addEventListener(t,n,!kr&&G1)}function qe(e,t,n){e.removeEventListener(t,n,!kr&&G1)}function El(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 xj(e){return e.host&&e!==document&&e.host.nodeType?e.host:e.parentNode}function Bn(e,t,n,r){if(e){n=n||document;do{if(t!=null&&(t[0]===">"?e.parentNode===n&&El(e,t):El(e,t))||r&&e===n)return e;if(e===n)break}while(e=xj(e))}return null}var Oh=/\s+/g;function wt(e,t,n){if(e&&t)if(e.classList)e.classList[n?"add":"remove"](t);else{var r=(" "+e.className+" ").replace(Oh," ").replace(" "+t+" "," ");e.className=(r+(n?" "+t:"")).replace(Oh," ")}}function Ce(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 bs(e,t){var n="";if(typeof e=="string")n=e;else do{var r=Ce(e,"transform");r&&r!=="none"&&(n=r+" "+n)}while(!t&&(e=e.parentNode));var s=window.DOMMatrix||window.WebKitCSSMatrix||window.CSSMatrix||window.MSCSSMatrix;return s&&new s(n)}function Z1(e,t,n){if(e){var r=e.getElementsByTagName(t),s=0,o=r.length;if(n)for(;s<o;s++)n(r[s],s);return r}return[]}function ar(){var e=document.scrollingElement;return e||document.documentElement}function bt(e,t,n,r,s){if(!(!e.getBoundingClientRect&&e!==window)){var o,a,i,l,c,m,d;if(e!==window&&e.parentNode&&e!==ar()?(o=e.getBoundingClientRect(),a=o.top,i=o.left,l=o.bottom,c=o.right,m=o.height,d=o.width):(a=0,i=0,l=window.innerHeight,c=window.innerWidth,m=window.innerHeight,d=window.innerWidth),(t||n)&&e!==window&&(s=s||e.parentNode,!kr))do if(s&&s.getBoundingClientRect&&(Ce(s,"transform")!=="none"||n&&Ce(s,"position")!=="static")){var f=s.getBoundingClientRect();a-=f.top+parseInt(Ce(s,"border-top-width")),i-=f.left+parseInt(Ce(s,"border-left-width")),l=a+o.height,c=i+o.width;break}while(s=s.parentNode);if(r&&e!==window){var p=bs(s||e),h=p&&p.a,_=p&&p.d;p&&(a/=_,i/=h,d/=h,m/=_,l=a+m,c=i+d)}return{top:a,left:i,bottom:l,right:c,width:d,height:m}}}function Dh(e,t,n){for(var r=Br(e,!0),s=bt(e)[t];r;){var o=bt(r)[n],a=void 0;if(n==="top"||n==="left"?a=s>=o:a=s<=o,!a)return r;if(r===ar())break;r=Br(r,!1)}return!1}function mo(e,t,n,r){for(var s=0,o=0,a=e.children;o<a.length;){if(a[o].style.display!=="none"&&a[o]!==Oe.ghost&&(r||a[o]!==Oe.dragged)&&Bn(a[o],n.draggable,e,!1)){if(s===t)return a[o];s++}o++}return null}function Mm(e,t){for(var n=e.lastElementChild;n&&(n===Oe.ghost||Ce(n,"display")==="none"||t&&!El(n,t));)n=n.previousElementSibling;return n||null}function St(e,t){var n=0;if(!e||!e.parentNode)return-1;for(;e=e.previousElementSibling;)e.nodeName.toUpperCase()!=="TEMPLATE"&&e!==Oe.clone&&(!t||El(e,t))&&n++;return n}function Ph(e){var t=0,n=0,r=ar();if(e)do{var s=bs(e),o=s.a,a=s.d;t+=e.scrollLeft*o,n+=e.scrollTop*a}while(e!==r&&(e=e.parentNode));return[t,n]}function Ej(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 Br(e,t){if(!e||!e.getBoundingClientRect)return ar();var n=e,r=!1;do if(n.clientWidth<n.scrollWidth||n.clientHeight<n.scrollHeight){var s=Ce(n);if(n.clientWidth<n.scrollWidth&&(s.overflowX=="auto"||s.overflowX=="scroll")||n.clientHeight<n.scrollHeight&&(s.overflowY=="auto"||s.overflowY=="scroll")){if(!n.getBoundingClientRect||n===document.body)return ar();if(r||t)return n;r=!0}}while(n=n.parentNode);return ar()}function Sj(e,t){if(e&&t)for(var n in t)t.hasOwnProperty(n)&&(e[n]=t[n]);return e}function Qu(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 sa;function Y1(e,t){return function(){if(!sa){var n=arguments,r=this;n.length===1?e.call(r,n[0]):e.apply(r,n),sa=setTimeout(function(){sa=void 0},t)}}}function $j(){clearTimeout(sa),sa=void 0}function J1(e,t,n){e.scrollLeft+=t,e.scrollTop+=n}function Vm(e){var t=window.Polymer,n=window.jQuery||window.Zepto;return t&&t.dom?t.dom(e).cloneNode(!0):n?n(e).clone(!0)[0]:e.cloneNode(!0)}function Ih(e,t){Ce(e,"position","absolute"),Ce(e,"top",t.top),Ce(e,"left",t.left),Ce(e,"width",t.width),Ce(e,"height",t.height)}function ec(e){Ce(e,"position",""),Ce(e,"top",""),Ce(e,"left",""),Ce(e,"width",""),Ce(e,"height","")}var Kt="Sortable"+new Date().getTime();function Aj(){var e=[],t;return{captureAnimationState:function(){if(e=[],!!this.options.animation){var r=[].slice.call(this.el.children);r.forEach(function(s){if(!(Ce(s,"display")==="none"||s===Oe.ghost)){e.push({target:s,rect:bt(s)});var o=lr({},e[e.length-1].rect);if(s.thisAnimationDuration){var a=bs(s,!0);a&&(o.top-=a.f,o.left-=a.e)}s.fromRect=o}})}},addAnimationState:function(r){e.push(r)},removeAnimationState:function(r){e.splice(Ej(e,{target:r}),1)},animateAll:function(r){var s=this;if(!this.options.animation){clearTimeout(t),typeof r=="function"&&r();return}var o=!1,a=0;e.forEach(function(i){var l=0,c=i.target,m=c.fromRect,d=bt(c),f=c.prevFromRect,p=c.prevToRect,h=i.rect,_=bs(c,!0);_&&(d.top-=_.f,d.left-=_.e),c.toRect=d,c.thisAnimationDuration&&Qu(f,d)&&!Qu(m,d)&&(h.top-d.top)/(h.left-d.left)===(m.top-d.top)/(m.left-d.left)&&(l=Oj(h,f,p,s.options)),Qu(d,m)||(c.prevFromRect=m,c.prevToRect=d,l||(l=s.options.animation),s.animate(c,h,d,l)),l&&(o=!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),o?t=setTimeout(function(){typeof r=="function"&&r()},a):typeof r=="function"&&r(),e=[]},animate:function(r,s,o,a){if(a){Ce(r,"transition",""),Ce(r,"transform","");var i=bs(this.el),l=i&&i.a,c=i&&i.d,m=(s.left-o.left)/(l||1),d=(s.top-o.top)/(c||1);r.animatingX=!!m,r.animatingY=!!d,Ce(r,"transform","translate3d("+m+"px,"+d+"px,0)"),this.forRepaintDummy=Tj(r),Ce(r,"transition","transform "+a+"ms"+(this.options.easing?" "+this.options.easing:"")),Ce(r,"transform","translate3d(0,0,0)"),typeof r.animated=="number"&&clearTimeout(r.animated),r.animated=setTimeout(function(){Ce(r,"transition",""),Ce(r,"transform",""),r.animated=!1,r.animatingX=!1,r.animatingY=!1},a)}}}}function Tj(e){return e.offsetWidth}function Oj(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 Fs=[],tc={initializeByDefault:!0},Ba={mount:function(t){for(var n in tc)tc.hasOwnProperty(n)&&!(n in t)&&(t[n]=tc[n]);Fs.forEach(function(r){if(r.pluginName===t.pluginName)throw"Sortable: Cannot mount plugin ".concat(t.pluginName," more than once")}),Fs.push(t)},pluginEvent:function(t,n,r){var s=this;this.eventCanceled=!1,r.cancel=function(){s.eventCanceled=!0};var o=t+"Global";Fs.forEach(function(a){n[a.pluginName]&&(n[a.pluginName][o]&&n[a.pluginName][o](lr({sortable:n},r)),n.options[a.pluginName]&&n[a.pluginName][t]&&n[a.pluginName][t](lr({sortable:n},r)))})},initializePlugins:function(t,n,r,s){Fs.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,In(r,c.defaults)}});for(var o in t.options)if(t.options.hasOwnProperty(o)){var a=this.modifyOption(t,o,t.options[o]);typeof a<"u"&&(t.options[o]=a)}},getEventProperties:function(t,n){var r={};return Fs.forEach(function(s){typeof s.eventProperties=="function"&&In(r,s.eventProperties.call(n[s.pluginName],t))}),r},modifyOption:function(t,n,r){var s;return Fs.forEach(function(o){t[o.pluginName]&&o.optionListeners&&typeof o.optionListeners[n]=="function"&&(s=o.optionListeners[n].call(t[o.pluginName],r))}),s}};function Ho(e){var t=e.sortable,n=e.rootEl,r=e.name,s=e.targetEl,o=e.cloneEl,a=e.toEl,i=e.fromEl,l=e.oldIndex,c=e.newIndex,m=e.oldDraggableIndex,d=e.newDraggableIndex,f=e.originalEvent,p=e.putSortable,h=e.extraEventProperties;if(t=t||n&&n[Kt],!!t){var _,b=t.options,w="on"+r.charAt(0).toUpperCase()+r.substr(1);window.CustomEvent&&!kr&&!Ha?_=new CustomEvent(r,{bubbles:!0,cancelable:!0}):(_=document.createEvent("Event"),_.initEvent(r,!0,!0)),_.to=a||n,_.from=i||n,_.item=s||n,_.clone=o,_.oldIndex=l,_.newIndex=c,_.oldDraggableIndex=m,_.newDraggableIndex=d,_.originalEvent=f,_.pullMode=p?p.lastPutMode:void 0;var C=lr(lr({},h),Ba.getEventProperties(r,t));for(var z in C)_[z]=C[z];n&&n.dispatchEvent(_),b[w]&&b[w].call(t,_)}}var Dj=["evt"],rn=function(t,n){var r=arguments.length>2&&arguments[2]!==void 0?arguments[2]:{},s=r.evt,o=gj(r,Dj);Ba.pluginEvent.bind(Oe)(t,n,lr({dragEl:ce,parentEl:kt,ghostEl:He,rootEl:vt,nextEl:cs,lastDownEl:tl,cloneEl:xt,cloneHidden:Hr,dragStarted:Bo,putSortable:Bt,activeSortable:Oe.active,originalEvent:s,oldIndex:qs,oldDraggableIndex:oa,newIndex:_n,newDraggableIndex:Mr,hideGhostForTarget:tb,unhideGhostForTarget:nb,cloneNowHidden:function(){Hr=!0},cloneNowShown:function(){Hr=!1},dispatchSortableEvent:function(i){Jt({sortable:n,name:i,originalEvent:s})}},o))};function Jt(e){Ho(lr({putSortable:Bt,cloneEl:xt,targetEl:ce,rootEl:vt,oldIndex:qs,oldDraggableIndex:oa,newIndex:_n,newDraggableIndex:Mr},e))}var ce,kt,He,vt,cs,tl,xt,Hr,qs,_n,oa,Mr,Hi,Bt,Bs=!1,Sl=!1,$l=[],ls,Vn,nc,rc,Fh,Rh,Bo,Rs,aa,ia=!1,Bi=!1,nl,jt,sc=[],dd=!1,Al=[],gu=typeof document<"u",Ui=K1,Lh=Ha||kr?"cssFloat":"float",Pj=gu&&!kj&&!K1&&"draggable"in document.createElement("div"),X1=function(){if(gu){if(kr)return!1;var e=document.createElement("x");return e.style.cssText="pointer-events:auto",e.style.pointerEvents==="auto"}}(),Q1=function(t,n){var r=Ce(t),s=parseInt(r.width)-parseInt(r.paddingLeft)-parseInt(r.paddingRight)-parseInt(r.borderLeftWidth)-parseInt(r.borderRightWidth),o=mo(t,0,n),a=mo(t,1,n),i=o&&Ce(o),l=a&&Ce(a),c=i&&parseInt(i.marginLeft)+parseInt(i.marginRight)+bt(o).width,m=l&&parseInt(l.marginLeft)+parseInt(l.marginRight)+bt(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(o&&i.float&&i.float!=="none"){var d=i.float==="left"?"left":"right";return a&&(l.clear==="both"||l.clear===d)?"vertical":"horizontal"}return o&&(i.display==="block"||i.display==="flex"||i.display==="table"||i.display==="grid"||c>=s&&r[Lh]==="none"||a&&r[Lh]==="none"&&c+m>s)?"vertical":"horizontal"},Ij=function(t,n,r){var s=r?t.left:t.top,o=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 s===i||o===l||s+a/2===i+c/2},Fj=function(t,n){var r;return $l.some(function(s){var o=s[Kt].options.emptyInsertThreshold;if(!(!o||Mm(s))){var a=bt(s),i=t>=a.left-o&&t<=a.right+o,l=n>=a.top-o&&n<=a.bottom+o;if(i&&l)return r=s}}),r},eb=function(t){function n(o,a){return function(i,l,c,m){var d=i.options.group.name&&l.options.group.name&&i.options.group.name===l.options.group.name;if(o==null&&(a||d))return!0;if(o==null||o===!1)return!1;if(a&&o==="clone")return o;if(typeof o=="function")return n(o(i,l,c,m),a)(i,l,c,m);var f=(a?i:l).options.group.name;return o===!0||typeof o=="string"&&o===f||o.join&&o.indexOf(f)>-1}}var r={},s=t.group;(!s||el(s)!="object")&&(s={name:s}),r.name=s.name,r.checkPull=n(s.pull,!0),r.checkPut=n(s.put),r.revertClone=s.revertClone,t.group=r},tb=function(){!X1&&He&&Ce(He,"display","none")},nb=function(){!X1&&He&&Ce(He,"display","")};gu&&document.addEventListener("click",function(e){if(Sl)return e.preventDefault(),e.stopPropagation&&e.stopPropagation(),e.stopImmediatePropagation&&e.stopImmediatePropagation(),Sl=!1,!1},!0);var us=function(t){if(ce){t=t.touches?t.touches[0]:t;var n=Fj(t.clientX,t.clientY);if(n){var r={};for(var s in t)t.hasOwnProperty(s)&&(r[s]=t[s]);r.target=r.rootEl=n,r.preventDefault=void 0,r.stopPropagation=void 0,n[Kt]._onDragOver(r)}}},Rj=function(t){ce&&ce.parentNode[Kt]._isOutsideThisEl(t.target)};function Oe(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=In({},t),e[Kt]=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 Q1(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:Oe.supportPointer!==!1&&"PointerEvent"in window&&!ra,emptyInsertThreshold:5};Ba.initializePlugins(this,e,n);for(var r in n)!(r in t)&&(t[r]=n[r]);eb(t);for(var s in this)s.charAt(0)==="_"&&typeof this[s]=="function"&&(this[s]=this[s].bind(this));this.nativeDraggable=t.forceFallback?!1:Pj,this.nativeDraggable&&(this.options.touchStartThreshold=1),t.supportPointer?Ke(e,"pointerdown",this._onTapStart):(Ke(e,"mousedown",this._onTapStart),Ke(e,"touchstart",this._onTapStart)),this.nativeDraggable&&(Ke(e,"dragover",this),Ke(e,"dragenter",this)),$l.push(this.el),t.store&&t.store.get&&this.sort(t.store.get(this)||[]),In(this,Aj())}Oe.prototype={constructor:Oe,_isOutsideThisEl:function(t){!this.el.contains(t)&&t!==this.el&&(Rs=null)},_getDirection:function(t,n){return typeof this.options.direction=="function"?this.options.direction.call(this,t,n,ce):this.options.direction},_onTapStart:function(t){if(t.cancelable){var n=this,r=this.el,s=this.options,o=s.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,m=s.filter;if(jj(r),!ce&&!(/mousedown|pointerdown/.test(a)&&t.button!==0||s.disabled)&&!c.isContentEditable&&!(!this.nativeDraggable&&ra&&l&&l.tagName.toUpperCase()==="SELECT")&&(l=Bn(l,s.draggable,r,!1),!(l&&l.animated)&&tl!==l)){if(qs=St(l),oa=St(l,s.draggable),typeof m=="function"){if(m.call(this,t,l,this)){Jt({sortable:n,rootEl:c,name:"filter",targetEl:l,toEl:r,fromEl:r}),rn("filter",n,{evt:t}),o&&t.cancelable&&t.preventDefault();return}}else if(m&&(m=m.split(",").some(function(d){if(d=Bn(c,d.trim(),r,!1),d)return Jt({sortable:n,rootEl:d,name:"filter",targetEl:l,fromEl:r,toEl:r}),rn("filter",n,{evt:t}),!0}),m)){o&&t.cancelable&&t.preventDefault();return}s.handle&&!Bn(c,s.handle,r,!1)||this._prepareDragStart(t,i,l)}}},_prepareDragStart:function(t,n,r){var s=this,o=s.el,a=s.options,i=o.ownerDocument,l;if(r&&!ce&&r.parentNode===o){var c=bt(r);if(vt=o,ce=r,kt=ce.parentNode,cs=ce.nextSibling,tl=r,Hi=a.group,Oe.dragged=ce,ls={target:ce,clientX:(n||t).clientX,clientY:(n||t).clientY},Fh=ls.clientX-c.left,Rh=ls.clientY-c.top,this._lastX=(n||t).clientX,this._lastY=(n||t).clientY,ce.style["will-change"]="all",l=function(){if(rn("delayEnded",s,{evt:t}),Oe.eventCanceled){s._onDrop();return}s._disableDelayedDragEvents(),!Th&&s.nativeDraggable&&(ce.draggable=!0),s._triggerDragStart(t,n),Jt({sortable:s,name:"choose",originalEvent:t}),wt(ce,a.chosenClass,!0)},a.ignore.split(",").forEach(function(m){Z1(ce,m.trim(),oc)}),Ke(i,"dragover",us),Ke(i,"mousemove",us),Ke(i,"touchmove",us),Ke(i,"mouseup",s._onDrop),Ke(i,"touchend",s._onDrop),Ke(i,"touchcancel",s._onDrop),Th&&this.nativeDraggable&&(this.options.touchStartThreshold=4,ce.draggable=!0),rn("delayStart",this,{evt:t}),a.delay&&(!a.delayOnTouchOnly||n)&&(!this.nativeDraggable||!(Ha||kr))){if(Oe.eventCanceled){this._onDrop();return}Ke(i,"mouseup",s._disableDelayedDrag),Ke(i,"touchend",s._disableDelayedDrag),Ke(i,"touchcancel",s._disableDelayedDrag),Ke(i,"mousemove",s._delayedDragTouchMoveHandler),Ke(i,"touchmove",s._delayedDragTouchMoveHandler),a.supportPointer&&Ke(i,"pointermove",s._delayedDragTouchMoveHandler),s._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(){ce&&oc(ce),clearTimeout(this._dragStartTimer),this._disableDelayedDragEvents()},_disableDelayedDragEvents:function(){var t=this.el.ownerDocument;qe(t,"mouseup",this._disableDelayedDrag),qe(t,"touchend",this._disableDelayedDrag),qe(t,"touchcancel",this._disableDelayedDrag),qe(t,"mousemove",this._delayedDragTouchMoveHandler),qe(t,"touchmove",this._delayedDragTouchMoveHandler),qe(t,"pointermove",this._delayedDragTouchMoveHandler)},_triggerDragStart:function(t,n){n=n||t.pointerType=="touch"&&t,!this.nativeDraggable||n?this.options.supportPointer?Ke(document,"pointermove",this._onTouchMove):n?Ke(document,"touchmove",this._onTouchMove):Ke(document,"mousemove",this._onTouchMove):(Ke(ce,"dragend",this),Ke(vt,"dragstart",this._onDragStart));try{document.selection?rl(function(){document.selection.empty()}):window.getSelection().removeAllRanges()}catch{}},_dragStarted:function(t,n){if(Bs=!1,vt&&ce){rn("dragStarted",this,{evt:n}),this.nativeDraggable&&Ke(document,"dragover",Rj);var r=this.options;!t&&wt(ce,r.dragClass,!1),wt(ce,r.ghostClass,!0),Oe.active=this,t&&this._appendGhost(),Jt({sortable:this,name:"start",originalEvent:n})}else this._nulling()},_emulateDragOver:function(){if(Vn){this._lastX=Vn.clientX,this._lastY=Vn.clientY,tb();for(var t=document.elementFromPoint(Vn.clientX,Vn.clientY),n=t;t&&t.shadowRoot&&(t=t.shadowRoot.elementFromPoint(Vn.clientX,Vn.clientY),t!==n);)n=t;if(ce.parentNode[Kt]._isOutsideThisEl(t),n)do{if(n[Kt]){var r=void 0;if(r=n[Kt]._onDragOver({clientX:Vn.clientX,clientY:Vn.clientY,target:t,rootEl:n}),r&&!this.options.dragoverBubble)break}t=n}while(n=n.parentNode);nb()}},_onTouchMove:function(t){if(ls){var n=this.options,r=n.fallbackTolerance,s=n.fallbackOffset,o=t.touches?t.touches[0]:t,a=He&&bs(He,!0),i=He&&a&&a.a,l=He&&a&&a.d,c=Ui&&jt&&Ph(jt),m=(o.clientX-ls.clientX+s.x)/(i||1)+(c?c[0]-sc[0]:0)/(i||1),d=(o.clientY-ls.clientY+s.y)/(l||1)+(c?c[1]-sc[1]:0)/(l||1);if(!Oe.active&&!Bs){if(r&&Math.max(Math.abs(o.clientX-this._lastX),Math.abs(o.clientY-this._lastY))<r)return;this._onDragStart(t,!0)}if(He){a?(a.e+=m-(nc||0),a.f+=d-(rc||0)):a={a:1,b:0,c:0,d:1,e:m,f:d};var f="matrix(".concat(a.a,",").concat(a.b,",").concat(a.c,",").concat(a.d,",").concat(a.e,",").concat(a.f,")");Ce(He,"webkitTransform",f),Ce(He,"mozTransform",f),Ce(He,"msTransform",f),Ce(He,"transform",f),nc=m,rc=d,Vn=o}t.cancelable&&t.preventDefault()}},_appendGhost:function(){if(!He){var t=this.options.fallbackOnBody?document.body:vt,n=bt(ce,!0,Ui,!0,t),r=this.options;if(Ui){for(jt=t;Ce(jt,"position")==="static"&&Ce(jt,"transform")==="none"&&jt!==document;)jt=jt.parentNode;jt!==document.body&&jt!==document.documentElement?(jt===document&&(jt=ar()),n.top+=jt.scrollTop,n.left+=jt.scrollLeft):jt=ar(),sc=Ph(jt)}He=ce.cloneNode(!0),wt(He,r.ghostClass,!1),wt(He,r.fallbackClass,!0),wt(He,r.dragClass,!0),Ce(He,"transition",""),Ce(He,"transform",""),Ce(He,"box-sizing","border-box"),Ce(He,"margin",0),Ce(He,"top",n.top),Ce(He,"left",n.left),Ce(He,"width",n.width),Ce(He,"height",n.height),Ce(He,"opacity","0.8"),Ce(He,"position",Ui?"absolute":"fixed"),Ce(He,"zIndex","100000"),Ce(He,"pointerEvents","none"),Oe.ghost=He,t.appendChild(He),Ce(He,"transform-origin",Fh/parseInt(He.style.width)*100+"% "+Rh/parseInt(He.style.height)*100+"%")}},_onDragStart:function(t,n){var r=this,s=t.dataTransfer,o=r.options;if(rn("dragStart",this,{evt:t}),Oe.eventCanceled){this._onDrop();return}rn("setupClone",this),Oe.eventCanceled||(xt=Vm(ce),xt.draggable=!1,xt.style["will-change"]="",this._hideClone(),wt(xt,this.options.chosenClass,!1),Oe.clone=xt),r.cloneId=rl(function(){rn("clone",r),!Oe.eventCanceled&&(r.options.removeCloneOnHide||vt.insertBefore(xt,ce),r._hideClone(),Jt({sortable:r,name:"clone"}))}),!n&&wt(ce,o.dragClass,!0),n?(Sl=!0,r._loopId=setInterval(r._emulateDragOver,50)):(qe(document,"mouseup",r._onDrop),qe(document,"touchend",r._onDrop),qe(document,"touchcancel",r._onDrop),s&&(s.effectAllowed="move",o.setData&&o.setData.call(r,s,ce)),Ke(document,"drop",r),Ce(ce,"transform","translateZ(0)")),Bs=!0,r._dragStartId=rl(r._dragStarted.bind(r,n,t)),Ke(document,"selectstart",r),Bo=!0,ra&&Ce(document.body,"user-select","none")},_onDragOver:function(t){var n=this.el,r=t.target,s,o,a,i=this.options,l=i.group,c=Oe.active,m=Hi===l,d=i.sort,f=Bt||c,p,h=this,_=!1;if(dd)return;function b(oe,Fe){rn(oe,h,lr({evt:t,isOwner:m,axis:p?"vertical":"horizontal",revert:a,dragRect:s,targetRect:o,canSort:d,fromSortable:f,target:r,completed:C,onMove:function(Ge,je){return ji(vt,n,ce,s,Ge,bt(Ge),t,je)},changed:z},Fe))}function w(){b("dragOverAnimationCapture"),h.captureAnimationState(),h!==f&&f.captureAnimationState()}function C(oe){return b("dragOverCompleted",{insertion:oe}),oe&&(m?c._hideClone():c._showClone(h),h!==f&&(wt(ce,Bt?Bt.options.ghostClass:c.options.ghostClass,!1),wt(ce,i.ghostClass,!0)),Bt!==h&&h!==Oe.active?Bt=h:h===Oe.active&&Bt&&(Bt=null),f===h&&(h._ignoreWhileAnimating=r),h.animateAll(function(){b("dragOverAnimationComplete"),h._ignoreWhileAnimating=null}),h!==f&&(f.animateAll(),f._ignoreWhileAnimating=null)),(r===ce&&!ce.animated||r===n&&!r.animated)&&(Rs=null),!i.dragoverBubble&&!t.rootEl&&r!==document&&(ce.parentNode[Kt]._isOutsideThisEl(t.target),!oe&&us(t)),!i.dragoverBubble&&t.stopPropagation&&t.stopPropagation(),_=!0}function z(){_n=St(ce),Mr=St(ce,i.draggable),Jt({sortable:h,name:"change",toEl:n,newIndex:_n,newDraggableIndex:Mr,originalEvent:t})}if(t.preventDefault!==void 0&&t.cancelable&&t.preventDefault(),r=Bn(r,i.draggable,n,!0),b("dragOver"),Oe.eventCanceled)return _;if(ce.contains(t.target)||r.animated&&r.animatingX&&r.animatingY||h._ignoreWhileAnimating===r)return C(!1);if(Sl=!1,c&&!i.disabled&&(m?d||(a=kt!==vt):Bt===this||(this.lastPutMode=Hi.checkPull(this,c,ce,t))&&l.checkPut(this,c,ce,t))){if(p=this._getDirection(t,r)==="vertical",s=bt(ce),b("dragOverValid"),Oe.eventCanceled)return _;if(a)return kt=vt,w(),this._hideClone(),b("revert"),Oe.eventCanceled||(cs?vt.insertBefore(ce,cs):vt.appendChild(ce)),C(!0);var v=Mm(n,i.draggable);if(!v||Vj(t,p,this)&&!v.animated){if(v===ce)return C(!1);if(v&&n===t.target&&(r=v),r&&(o=bt(r)),ji(vt,n,ce,s,r,o,t,!!r)!==!1)return w(),n.appendChild(ce),kt=n,z(),C(!0)}else if(v&&Mj(t,p,this)){var S=mo(n,0,i,!0);if(S===ce)return C(!1);if(r=S,o=bt(r),ji(vt,n,ce,s,r,o,t,!1)!==!1)return w(),n.insertBefore(ce,S),kt=n,z(),C(!0)}else if(r.parentNode===n){o=bt(r);var A=0,D,F=ce.parentNode!==n,P=!Ij(ce.animated&&ce.toRect||s,r.animated&&r.toRect||o,p),M=p?"top":"left",Z=Dh(r,"top","top")||Dh(ce,"top","top"),W=Z?Z.scrollTop:void 0;Rs!==r&&(D=o[M],ia=!1,Bi=!P&&i.invertSwap||F),A=Hj(t,r,o,p,P?1:i.swapThreshold,i.invertedSwapThreshold==null?i.swapThreshold:i.invertedSwapThreshold,Bi,Rs===r);var U;if(A!==0){var Q=St(ce);do Q-=A,U=kt.children[Q];while(U&&(Ce(U,"display")==="none"||U===He))}if(A===0||U===r)return C(!1);Rs=r,aa=A;var me=r.nextElementSibling,K=!1;K=A===1;var re=ji(vt,n,ce,s,r,o,t,K);if(re!==!1)return(re===1||re===-1)&&(K=re===1),dd=!0,setTimeout(Nj,30),w(),K&&!me?n.appendChild(ce):r.parentNode.insertBefore(ce,K?me:r),Z&&J1(Z,0,W-Z.scrollTop),kt=ce.parentNode,D!==void 0&&!Bi&&(nl=Math.abs(D-bt(r)[M])),z(),C(!0)}if(n.contains(ce))return C(!1)}return!1},_ignoreWhileAnimating:null,_offMoveEvents:function(){qe(document,"mousemove",this._onTouchMove),qe(document,"touchmove",this._onTouchMove),qe(document,"pointermove",this._onTouchMove),qe(document,"dragover",us),qe(document,"mousemove",us),qe(document,"touchmove",us)},_offUpEvents:function(){var t=this.el.ownerDocument;qe(t,"mouseup",this._onDrop),qe(t,"touchend",this._onDrop),qe(t,"pointerup",this._onDrop),qe(t,"touchcancel",this._onDrop),qe(document,"selectstart",this)},_onDrop:function(t){var n=this.el,r=this.options;if(_n=St(ce),Mr=St(ce,r.draggable),rn("drop",this,{evt:t}),kt=ce&&ce.parentNode,_n=St(ce),Mr=St(ce,r.draggable),Oe.eventCanceled){this._nulling();return}Bs=!1,Bi=!1,ia=!1,clearInterval(this._loopId),clearTimeout(this._dragStartTimer),md(this.cloneId),md(this._dragStartId),this.nativeDraggable&&(qe(document,"drop",this),qe(n,"dragstart",this._onDragStart)),this._offMoveEvents(),this._offUpEvents(),ra&&Ce(document.body,"user-select",""),Ce(ce,"transform",""),t&&(Bo&&(t.cancelable&&t.preventDefault(),!r.dropBubble&&t.stopPropagation()),He&&He.parentNode&&He.parentNode.removeChild(He),(vt===kt||Bt&&Bt.lastPutMode!=="clone")&&xt&&xt.parentNode&&xt.parentNode.removeChild(xt),ce&&(this.nativeDraggable&&qe(ce,"dragend",this),oc(ce),ce.style["will-change"]="",Bo&&!Bs&&wt(ce,Bt?Bt.options.ghostClass:this.options.ghostClass,!1),wt(ce,this.options.chosenClass,!1),Jt({sortable:this,name:"unchoose",toEl:kt,newIndex:null,newDraggableIndex:null,originalEvent:t}),vt!==kt?(_n>=0&&(Jt({rootEl:kt,name:"add",toEl:kt,fromEl:vt,originalEvent:t}),Jt({sortable:this,name:"remove",toEl:kt,originalEvent:t}),Jt({rootEl:kt,name:"sort",toEl:kt,fromEl:vt,originalEvent:t}),Jt({sortable:this,name:"sort",toEl:kt,originalEvent:t})),Bt&&Bt.save()):_n!==qs&&_n>=0&&(Jt({sortable:this,name:"update",toEl:kt,originalEvent:t}),Jt({sortable:this,name:"sort",toEl:kt,originalEvent:t})),Oe.active&&((_n==null||_n===-1)&&(_n=qs,Mr=oa),Jt({sortable:this,name:"end",toEl:kt,originalEvent:t}),this.save()))),this._nulling()},_nulling:function(){rn("nulling",this),vt=ce=kt=He=cs=xt=tl=Hr=ls=Vn=Bo=_n=Mr=qs=oa=Rs=aa=Bt=Hi=Oe.dragged=Oe.ghost=Oe.clone=Oe.active=null,Al.forEach(function(t){t.checked=!0}),Al.length=nc=rc=0},handleEvent:function(t){switch(t.type){case"drop":case"dragend":this._onDrop(t);break;case"dragenter":case"dragover":ce&&(this._onDragOver(t),Lj(t));break;case"selectstart":t.preventDefault();break}},toArray:function(){for(var t=[],n,r=this.el.children,s=0,o=r.length,a=this.options;s<o;s++)n=r[s],Bn(n,a.draggable,this.el,!1)&&t.push(n.getAttribute(a.dataIdAttr)||Uj(n));return t},sort:function(t,n){var r={},s=this.el;this.toArray().forEach(function(o,a){var i=s.children[a];Bn(i,this.options.draggable,s,!1)&&(r[o]=i)},this),n&&this.captureAnimationState(),t.forEach(function(o){r[o]&&(s.removeChild(r[o]),s.appendChild(r[o]))}),n&&this.animateAll()},save:function(){var t=this.options.store;t&&t.set&&t.set(this)},closest:function(t,n){return Bn(t,n||this.options.draggable,this.el,!1)},option:function(t,n){var r=this.options;if(n===void 0)return r[t];var s=Ba.modifyOption(this,t,n);typeof s<"u"?r[t]=s:r[t]=n,t==="group"&&eb(r)},destroy:function(){rn("destroy",this);var t=this.el;t[Kt]=null,qe(t,"mousedown",this._onTapStart),qe(t,"touchstart",this._onTapStart),qe(t,"pointerdown",this._onTapStart),this.nativeDraggable&&(qe(t,"dragover",this),qe(t,"dragenter",this)),Array.prototype.forEach.call(t.querySelectorAll("[draggable]"),function(n){n.removeAttribute("draggable")}),this._onDrop(),this._disableDelayedDragEvents(),$l.splice($l.indexOf(this.el),1),this.el=t=null},_hideClone:function(){if(!Hr){if(rn("hideClone",this),Oe.eventCanceled)return;Ce(xt,"display","none"),this.options.removeCloneOnHide&&xt.parentNode&&xt.parentNode.removeChild(xt),Hr=!0}},_showClone:function(t){if(t.lastPutMode!=="clone"){this._hideClone();return}if(Hr){if(rn("showClone",this),Oe.eventCanceled)return;ce.parentNode==vt&&!this.options.group.revertClone?vt.insertBefore(xt,ce):cs?vt.insertBefore(xt,cs):vt.appendChild(xt),this.options.group.revertClone&&this.animate(ce,xt),Ce(xt,"display",""),Hr=!1}}};function Lj(e){e.dataTransfer&&(e.dataTransfer.dropEffect="move"),e.cancelable&&e.preventDefault()}function ji(e,t,n,r,s,o,a,i){var l,c=e[Kt],m=c.options.onMove,d;return window.CustomEvent&&!kr&&!Ha?l=new CustomEvent("move",{bubbles:!0,cancelable:!0}):(l=document.createEvent("Event"),l.initEvent("move",!0,!0)),l.to=t,l.from=e,l.dragged=n,l.draggedRect=r,l.related=s||t,l.relatedRect=o||bt(t),l.willInsertAfter=i,l.originalEvent=a,e.dispatchEvent(l),m&&(d=m.call(c,l,a)),d}function oc(e){e.draggable=!1}function Nj(){dd=!1}function Mj(e,t,n){var r=bt(mo(n.el,0,n.options,!0)),s=10;return t?e.clientX<r.left-s||e.clientY<r.top&&e.clientX<r.right:e.clientY<r.top-s||e.clientY<r.bottom&&e.clientX<r.left}function Vj(e,t,n){var r=bt(Mm(n.el,n.options.draggable)),s=10;return t?e.clientX>r.right+s||e.clientX<=r.right&&e.clientY>r.bottom&&e.clientX>=r.left:e.clientX>r.right&&e.clientY>r.top||e.clientX<=r.right&&e.clientY>r.bottom+s}function Hj(e,t,n,r,s,o,a,i){var l=r?e.clientY:e.clientX,c=r?n.height:n.width,m=r?n.top:n.left,d=r?n.bottom:n.right,f=!1;if(!a){if(i&&nl<c*s){if(!ia&&(aa===1?l>m+c*o/2:l<d-c*o/2)&&(ia=!0),ia)f=!0;else if(aa===1?l<m+nl:l>d-nl)return-aa}else if(l>m+c*(1-s)/2&&l<d-c*(1-s)/2)return Bj(t)}return f=f||a,f&&(l<m+c*o/2||l>d-c*o/2)?l>m+c/2?1:-1:0}function Bj(e){return St(ce)<St(e)?1:-1}function Uj(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 jj(e){Al.length=0;for(var t=e.getElementsByTagName("input"),n=t.length;n--;){var r=t[n];r.checked&&Al.push(r)}}function rl(e){return setTimeout(e,0)}function md(e){return clearTimeout(e)}gu&&Ke(document,"touchmove",function(e){(Oe.active||Bs)&&e.cancelable&&e.preventDefault()});Oe.utils={on:Ke,off:qe,css:Ce,find:Z1,is:function(t,n){return!!Bn(t,n,t,!1)},extend:Sj,throttle:Y1,closest:Bn,toggleClass:wt,clone:Vm,index:St,nextTick:rl,cancelNextTick:md,detectDirection:Q1,getChild:mo};Oe.get=function(e){return e[Kt]};Oe.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&&(Oe.utils=lr(lr({},Oe.utils),r.utils)),Ba.mount(r)})};Oe.create=function(e,t){return new Oe(e,t)};Oe.version=wj;var Ot=[],Uo,fd,pd=!1,ac,ic,Tl,jo;function qj(){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?Ke(document,"dragover",this._handleAutoScroll):this.options.supportPointer?Ke(document,"pointermove",this._handleFallbackAutoScroll):r.touches?Ke(document,"touchmove",this._handleFallbackAutoScroll):Ke(document,"mousemove",this._handleFallbackAutoScroll)},dragOverCompleted:function(n){var r=n.originalEvent;!this.options.dragOverBubble&&!r.rootEl&&this._handleAutoScroll(r)},drop:function(){this.sortable.nativeDraggable?qe(document,"dragover",this._handleAutoScroll):(qe(document,"pointermove",this._handleFallbackAutoScroll),qe(document,"touchmove",this._handleFallbackAutoScroll),qe(document,"mousemove",this._handleFallbackAutoScroll)),Nh(),sl(),$j()},nulling:function(){Tl=fd=Uo=pd=jo=ac=ic=null,Ot.length=0},_handleFallbackAutoScroll:function(n){this._handleAutoScroll(n,!0)},_handleAutoScroll:function(n,r){var s=this,o=(n.touches?n.touches[0]:n).clientX,a=(n.touches?n.touches[0]:n).clientY,i=document.elementFromPoint(o,a);if(Tl=n,r||this.options.forceAutoScrollFallback||Ha||kr||ra){lc(n,this.options,i,r);var l=Br(i,!0);pd&&(!jo||o!==ac||a!==ic)&&(jo&&Nh(),jo=setInterval(function(){var c=Br(document.elementFromPoint(o,a),!0);c!==l&&(l=c,sl()),lc(n,s.options,c,r)},10),ac=o,ic=a)}else{if(!this.options.bubbleScroll||Br(i,!0)===ar()){sl();return}lc(n,this.options,Br(i,!1),!1)}}},In(e,{pluginName:"scroll",initializeByDefault:!0})}function sl(){Ot.forEach(function(e){clearInterval(e.pid)}),Ot=[]}function Nh(){clearInterval(jo)}var lc=Y1(function(e,t,n,r){if(t.scroll){var s=(e.touches?e.touches[0]:e).clientX,o=(e.touches?e.touches[0]:e).clientY,a=t.scrollSensitivity,i=t.scrollSpeed,l=ar(),c=!1,m;fd!==n&&(fd=n,sl(),Uo=t.scroll,m=t.scrollFn,Uo===!0&&(Uo=Br(n,!0)));var d=0,f=Uo;do{var p=f,h=bt(p),_=h.top,b=h.bottom,w=h.left,C=h.right,z=h.width,v=h.height,S=void 0,A=void 0,D=p.scrollWidth,F=p.scrollHeight,P=Ce(p),M=p.scrollLeft,Z=p.scrollTop;p===l?(S=z<D&&(P.overflowX==="auto"||P.overflowX==="scroll"||P.overflowX==="visible"),A=v<F&&(P.overflowY==="auto"||P.overflowY==="scroll"||P.overflowY==="visible")):(S=z<D&&(P.overflowX==="auto"||P.overflowX==="scroll"),A=v<F&&(P.overflowY==="auto"||P.overflowY==="scroll"));var W=S&&(Math.abs(C-s)<=a&&M+z<D)-(Math.abs(w-s)<=a&&!!M),U=A&&(Math.abs(b-o)<=a&&Z+v<F)-(Math.abs(_-o)<=a&&!!Z);if(!Ot[d])for(var Q=0;Q<=d;Q++)Ot[Q]||(Ot[Q]={});(Ot[d].vx!=W||Ot[d].vy!=U||Ot[d].el!==p)&&(Ot[d].el=p,Ot[d].vx=W,Ot[d].vy=U,clearInterval(Ot[d].pid),(W!=0||U!=0)&&(c=!0,Ot[d].pid=setInterval((function(){r&&this.layer===0&&Oe.active._onTouchMove(Tl);var me=Ot[this.layer].vy?Ot[this.layer].vy*i:0,K=Ot[this.layer].vx?Ot[this.layer].vx*i:0;typeof m=="function"&&m.call(Oe.dragged.parentNode[Kt],K,me,e,Tl,Ot[this.layer].el)!=="continue"||J1(Ot[this.layer].el,K,me)}).bind({layer:d}),24))),d++}while(t.bubbleScroll&&f!==l&&(f=Br(f,!1)));pd=c}},30),rb=function(t){var n=t.originalEvent,r=t.putSortable,s=t.dragEl,o=t.activeSortable,a=t.dispatchSortableEvent,i=t.hideGhostForTarget,l=t.unhideGhostForTarget;if(n){var c=r||o;i();var m=n.changedTouches&&n.changedTouches.length?n.changedTouches[0]:n,d=document.elementFromPoint(m.clientX,m.clientY);l(),c&&!c.el.contains(d)&&(a("spill"),this.onSpill({dragEl:s,putSortable:r}))}};function Hm(){}Hm.prototype={startIndex:null,dragStart:function(t){var n=t.oldDraggableIndex;this.startIndex=n},onSpill:function(t){var n=t.dragEl,r=t.putSortable;this.sortable.captureAnimationState(),r&&r.captureAnimationState();var s=mo(this.sortable.el,this.startIndex,this.options);s?this.sortable.el.insertBefore(n,s):this.sortable.el.appendChild(n),this.sortable.animateAll(),r&&r.animateAll()},drop:rb};In(Hm,{pluginName:"revertOnSpill"});function Bm(){}Bm.prototype={onSpill:function(t){var n=t.dragEl,r=t.putSortable,s=r||this.sortable;s.captureAnimationState(),n.parentNode&&n.parentNode.removeChild(n),s.animateAll()},drop:rb};In(Bm,{pluginName:"removeOnSpill"});var xn;function Wj(){function e(){this.defaults={swapClass:"sortable-swap-highlight"}}return e.prototype={dragStart:function(n){var r=n.dragEl;xn=r},dragOverValid:function(n){var r=n.completed,s=n.target,o=n.onMove,a=n.activeSortable,i=n.changed,l=n.cancel;if(a.options.swap){var c=this.sortable.el,m=this.options;if(s&&s!==c){var d=xn;o(s)!==!1?(wt(s,m.swapClass,!0),xn=s):xn=null,d&&d!==xn&&wt(d,m.swapClass,!1)}i(),r(!0),l()}},drop:function(n){var r=n.activeSortable,s=n.putSortable,o=n.dragEl,a=s||this.sortable,i=this.options;xn&&wt(xn,i.swapClass,!1),xn&&(i.swap||s&&s.options.swap)&&o!==xn&&(a.captureAnimationState(),a!==r&&r.captureAnimationState(),Kj(o,xn),a.animateAll(),a!==r&&r.animateAll())},nulling:function(){xn=null}},In(e,{pluginName:"swap",eventProperties:function(){return{swapItem:xn}}})}function Kj(e,t){var n=e.parentNode,r=t.parentNode,s,o;!n||!r||n.isEqualNode(t)||r.isEqualNode(e)||(s=St(e),o=St(t),n.isEqualNode(r)&&s<o&&o++,n.insertBefore(t,n.children[s]),r.insertBefore(e,r.children[o]))}var Re=[],hn=[],Do,Hn,Po=!1,sn=!1,Ls=!1,ht,Io,qi;function Gj(){function e(t){for(var n in this)n.charAt(0)==="_"&&typeof this[n]=="function"&&(this[n]=this[n].bind(this));t.options.supportPointer?Ke(document,"pointerup",this._deselectMultiDrag):(Ke(document,"mouseup",this._deselectMultiDrag),Ke(document,"touchend",this._deselectMultiDrag)),Ke(document,"keydown",this._checkKeyDown),Ke(document,"keyup",this._checkKeyUp),this.defaults={selectedClass:"sortable-selected",multiDragKey:null,setData:function(s,o){var a="";Re.length&&Hn===t?Re.forEach(function(i,l){a+=(l?", ":"")+i.textContent}):a=o.textContent,s.setData("Text",a)}}}return e.prototype={multiDragKeyDown:!1,isMultiDrag:!1,delayStartGlobal:function(n){var r=n.dragEl;ht=r},delayEnded:function(){this.isMultiDrag=~Re.indexOf(ht)},setupClone:function(n){var r=n.sortable,s=n.cancel;if(this.isMultiDrag){for(var o=0;o<Re.length;o++)hn.push(Vm(Re[o])),hn[o].sortableIndex=Re[o].sortableIndex,hn[o].draggable=!1,hn[o].style["will-change"]="",wt(hn[o],this.options.selectedClass,!1),Re[o]===ht&&wt(hn[o],this.options.chosenClass,!1);r._hideClone(),s()}},clone:function(n){var r=n.sortable,s=n.rootEl,o=n.dispatchSortableEvent,a=n.cancel;this.isMultiDrag&&(this.options.removeCloneOnHide||Re.length&&Hn===r&&(Mh(!0,s),o("clone"),a()))},showClone:function(n){var r=n.cloneNowShown,s=n.rootEl,o=n.cancel;this.isMultiDrag&&(Mh(!1,s),hn.forEach(function(a){Ce(a,"display","")}),r(),qi=!1,o())},hideClone:function(n){var r=this;n.sortable;var s=n.cloneNowHidden,o=n.cancel;this.isMultiDrag&&(hn.forEach(function(a){Ce(a,"display","none"),r.options.removeCloneOnHide&&a.parentNode&&a.parentNode.removeChild(a)}),s(),qi=!0,o())},dragStartGlobal:function(n){n.sortable,!this.isMultiDrag&&Hn&&Hn.multiDrag._deselectMultiDrag(),Re.forEach(function(r){r.sortableIndex=St(r)}),Re=Re.sort(function(r,s){return r.sortableIndex-s.sortableIndex}),Ls=!0},dragStarted:function(n){var r=this,s=n.sortable;if(this.isMultiDrag){if(this.options.sort&&(s.captureAnimationState(),this.options.animation)){Re.forEach(function(a){a!==ht&&Ce(a,"position","absolute")});var o=bt(ht,!1,!0,!0);Re.forEach(function(a){a!==ht&&Ih(a,o)}),sn=!0,Po=!0}s.animateAll(function(){sn=!1,Po=!1,r.options.animation&&Re.forEach(function(a){ec(a)}),r.options.sort&&Wi()})}},dragOver:function(n){var r=n.target,s=n.completed,o=n.cancel;sn&&~Re.indexOf(r)&&(s(!1),o())},revert:function(n){var r=n.fromSortable,s=n.rootEl,o=n.sortable,a=n.dragRect;Re.length>1&&(Re.forEach(function(i){o.addAnimationState({target:i,rect:sn?bt(i):a}),ec(i),i.fromRect=a,r.removeAnimationState(i)}),sn=!1,Zj(!this.options.removeCloneOnHide,s))},dragOverCompleted:function(n){var r=n.sortable,s=n.isOwner,o=n.insertion,a=n.activeSortable,i=n.parentEl,l=n.putSortable,c=this.options;if(o){if(s&&a._hideClone(),Po=!1,c.animation&&Re.length>1&&(sn||!s&&!a.options.sort&&!l)){var m=bt(ht,!1,!0,!0);Re.forEach(function(f){f!==ht&&(Ih(f,m),i.appendChild(f))}),sn=!0}if(!s)if(sn||Wi(),Re.length>1){var d=qi;a._showClone(r),a.options.animation&&!qi&&d&&hn.forEach(function(f){a.addAnimationState({target:f,rect:Io}),f.fromRect=Io,f.thisAnimationDuration=null})}else a._showClone(r)}},dragOverAnimationCapture:function(n){var r=n.dragRect,s=n.isOwner,o=n.activeSortable;if(Re.forEach(function(i){i.thisAnimationDuration=null}),o.options.animation&&!s&&o.multiDrag.isMultiDrag){Io=In({},r);var a=bs(ht,!0);Io.top-=a.f,Io.left-=a.e}},dragOverAnimationComplete:function(){sn&&(sn=!1,Wi())},drop:function(n){var r=n.originalEvent,s=n.rootEl,o=n.parentEl,a=n.sortable,i=n.dispatchSortableEvent,l=n.oldIndex,c=n.putSortable,m=c||this.sortable;if(r){var d=this.options,f=o.children;if(!Ls)if(d.multiDragKey&&!this.multiDragKeyDown&&this._deselectMultiDrag(),wt(ht,d.selectedClass,!~Re.indexOf(ht)),~Re.indexOf(ht))Re.splice(Re.indexOf(ht),1),Do=null,Ho({sortable:a,rootEl:s,name:"deselect",targetEl:ht,originalEvt:r});else{if(Re.push(ht),Ho({sortable:a,rootEl:s,name:"select",targetEl:ht,originalEvt:r}),r.shiftKey&&Do&&a.el.contains(Do)){var p=St(Do),h=St(ht);if(~p&&~h&&p!==h){var _,b;for(h>p?(b=p,_=h):(b=h,_=p+1);b<_;b++)~Re.indexOf(f[b])||(wt(f[b],d.selectedClass,!0),Re.push(f[b]),Ho({sortable:a,rootEl:s,name:"select",targetEl:f[b],originalEvt:r}))}}else Do=ht;Hn=m}if(Ls&&this.isMultiDrag){if(sn=!1,(o[Kt].options.sort||o!==s)&&Re.length>1){var w=bt(ht),C=St(ht,":not(."+this.options.selectedClass+")");if(!Po&&d.animation&&(ht.thisAnimationDuration=null),m.captureAnimationState(),!Po&&(d.animation&&(ht.fromRect=w,Re.forEach(function(v){if(v.thisAnimationDuration=null,v!==ht){var S=sn?bt(v):w;v.fromRect=S,m.addAnimationState({target:v,rect:S})}})),Wi(),Re.forEach(function(v){f[C]?o.insertBefore(v,f[C]):o.appendChild(v),C++}),l===St(ht))){var z=!1;Re.forEach(function(v){if(v.sortableIndex!==St(v)){z=!0;return}}),z&&i("update")}Re.forEach(function(v){ec(v)}),m.animateAll()}Hn=m}(s===o||c&&c.lastPutMode!=="clone")&&hn.forEach(function(v){v.parentNode&&v.parentNode.removeChild(v)})}},nullingGlobal:function(){this.isMultiDrag=Ls=!1,hn.length=0},destroyGlobal:function(){this._deselectMultiDrag(),qe(document,"pointerup",this._deselectMultiDrag),qe(document,"mouseup",this._deselectMultiDrag),qe(document,"touchend",this._deselectMultiDrag),qe(document,"keydown",this._checkKeyDown),qe(document,"keyup",this._checkKeyUp)},_deselectMultiDrag:function(n){if(!(typeof Ls<"u"&&Ls)&&Hn===this.sortable&&!(n&&Bn(n.target,this.options.draggable,this.sortable.el,!1))&&!(n&&n.button!==0))for(;Re.length;){var r=Re[0];wt(r,this.options.selectedClass,!1),Re.shift(),Ho({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)}},In(e,{pluginName:"multiDrag",utils:{select:function(n){var r=n.parentNode[Kt];!r||!r.options.multiDrag||~Re.indexOf(n)||(Hn&&Hn!==r&&(Hn.multiDrag._deselectMultiDrag(),Hn=r),wt(n,r.options.selectedClass,!0),Re.push(n))},deselect:function(n){var r=n.parentNode[Kt],s=Re.indexOf(n);!r||!r.options.multiDrag||!~s||(wt(n,r.options.selectedClass,!1),Re.splice(s,1))}},eventProperties:function(){var n=this,r=[],s=[];return Re.forEach(function(o){r.push({multiDragElement:o,index:o.sortableIndex});var a;sn&&o!==ht?a=-1:sn?a=St(o,":not(."+n.options.selectedClass+")"):a=St(o),s.push({multiDragElement:o,index:a})}),{items:yj(Re),clones:[].concat(hn),oldIndicies:r,newIndicies:s}},optionListeners:{multiDragKey:function(n){return n=n.toLowerCase(),n==="ctrl"?n="Control":n.length>1&&(n=n.charAt(0).toUpperCase()+n.substr(1)),n}}})}function Zj(e,t){Re.forEach(function(n,r){var s=t.children[n.sortableIndex+(e?Number(r):0)];s?t.insertBefore(n,s):t.appendChild(n)})}function Mh(e,t){hn.forEach(function(n,r){var s=t.children[n.sortableIndex+(e?Number(r):0)];s?t.insertBefore(n,s):t.appendChild(n)})}function Wi(){Re.forEach(function(e){e!==ht&&e.parentNode&&e.parentNode.removeChild(e)})}Oe.mount(new qj);Oe.mount(Bm,Hm);const Yj=Object.freeze(Object.defineProperty({__proto__:null,MultiDrag:Gj,Sortable:Oe,Swap:Wj,default:Oe},Symbol.toStringTag,{value:"Module"})),Jj=Ly(Yj);(function(e,t){(function(r,s){e.exports=s(Uv,Jj)})(typeof self<"u"?self:cn,function(n,r){return function(s){var o={};function a(i){if(o[i])return o[i].exports;var l=o[i]={i,l:!1,exports:{}};return s[i].call(l.exports,l,l.exports,a),l.l=!0,l.exports}return a.m=s,a.c=o,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 m in i)a.d(c,m,(function(d){return i[d]}).bind(null,m));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(s,o,a){var i=a("b622"),l=i("toStringTag"),c={};c[l]="z",s.exports=String(c)==="[object z]"},"0366":function(s,o,a){var i=a("1c0b");s.exports=function(l,c,m){if(i(l),c===void 0)return l;switch(m){case 0:return function(){return l.call(c)};case 1:return function(d){return l.call(c,d)};case 2:return function(d,f){return l.call(c,d,f)};case 3:return function(d,f,p){return l.call(c,d,f,p)}}return function(){return l.apply(c,arguments)}}},"057f":function(s,o,a){var i=a("fc6a"),l=a("241c").f,c={}.toString,m=typeof window=="object"&&window&&Object.getOwnPropertyNames?Object.getOwnPropertyNames(window):[],d=function(f){try{return l(f)}catch{return m.slice()}};s.exports.f=function(p){return m&&c.call(p)=="[object Window]"?d(p):l(i(p))}},"06cf":function(s,o,a){var i=a("83ab"),l=a("d1e7"),c=a("5c6c"),m=a("fc6a"),d=a("c04e"),f=a("5135"),p=a("0cfb"),h=Object.getOwnPropertyDescriptor;o.f=i?h:function(b,w){if(b=m(b),w=d(w,!0),p)try{return h(b,w)}catch{}if(f(b,w))return c(!l.f.call(b,w),b[w])}},"0cfb":function(s,o,a){var i=a("83ab"),l=a("d039"),c=a("cc12");s.exports=!i&&!l(function(){return Object.defineProperty(c("div"),"a",{get:function(){return 7}}).a!=7})},"13d5":function(s,o,a){var i=a("23e7"),l=a("d58f").left,c=a("a640"),m=a("ae40"),d=c("reduce"),f=m("reduce",{1:0});i({target:"Array",proto:!0,forced:!d||!f},{reduce:function(h){return l(this,h,arguments.length,arguments.length>1?arguments[1]:void 0)}})},"14c3":function(s,o,a){var i=a("c6b6"),l=a("9263");s.exports=function(c,m){var d=c.exec;if(typeof d=="function"){var f=d.call(c,m);if(typeof f!="object")throw TypeError("RegExp exec method returned something other than an Object or null");return f}if(i(c)!=="RegExp")throw TypeError("RegExp#exec called on incompatible receiver");return l.call(c,m)}},"159b":function(s,o,a){var i=a("da84"),l=a("fdbc"),c=a("17c2"),m=a("9112");for(var d in l){var f=i[d],p=f&&f.prototype;if(p&&p.forEach!==c)try{m(p,"forEach",c)}catch{p.forEach=c}}},"17c2":function(s,o,a){var i=a("b727").forEach,l=a("a640"),c=a("ae40"),m=l("forEach"),d=c("forEach");s.exports=!m||!d?function(p){return i(this,p,arguments.length>1?arguments[1]:void 0)}:[].forEach},"1be4":function(s,o,a){var i=a("d066");s.exports=i("document","documentElement")},"1c0b":function(s,o){s.exports=function(a){if(typeof a!="function")throw TypeError(String(a)+" is not a function");return a}},"1c7e":function(s,o,a){var i=a("b622"),l=i("iterator"),c=!1;try{var m=0,d={next:function(){return{done:!!m++}},return:function(){c=!0}};d[l]=function(){return this},Array.from(d,function(){throw 2})}catch{}s.exports=function(f,p){if(!p&&!c)return!1;var h=!1;try{var _={};_[l]=function(){return{next:function(){return{done:h=!0}}}},f(_)}catch{}return h}},"1d80":function(s,o){s.exports=function(a){if(a==null)throw TypeError("Can't call method on "+a);return a}},"1dde":function(s,o,a){var i=a("d039"),l=a("b622"),c=a("2d00"),m=l("species");s.exports=function(d){return c>=51||!i(function(){var f=[],p=f.constructor={};return p[m]=function(){return{foo:1}},f[d](Boolean).foo!==1})}},"23cb":function(s,o,a){var i=a("a691"),l=Math.max,c=Math.min;s.exports=function(m,d){var f=i(m);return f<0?l(f+d,0):c(f,d)}},"23e7":function(s,o,a){var i=a("da84"),l=a("06cf").f,c=a("9112"),m=a("6eeb"),d=a("ce4e"),f=a("e893"),p=a("94ca");s.exports=function(h,_){var b=h.target,w=h.global,C=h.stat,z,v,S,A,D,F;if(w?v=i:C?v=i[b]||d(b,{}):v=(i[b]||{}).prototype,v)for(S in _){if(D=_[S],h.noTargetGet?(F=l(v,S),A=F&&F.value):A=v[S],z=p(w?S:b+(C?".":"#")+S,h.forced),!z&&A!==void 0){if(typeof D==typeof A)continue;f(D,A)}(h.sham||A&&A.sham)&&c(D,"sham",!0),m(v,S,D,h)}}},"241c":function(s,o,a){var i=a("ca84"),l=a("7839"),c=l.concat("length","prototype");o.f=Object.getOwnPropertyNames||function(d){return i(d,c)}},"25f0":function(s,o,a){var i=a("6eeb"),l=a("825a"),c=a("d039"),m=a("ad6d"),d="toString",f=RegExp.prototype,p=f[d],h=c(function(){return p.call({source:"a",flags:"b"})!="/a/b"}),_=p.name!=d;(h||_)&&i(RegExp.prototype,d,function(){var w=l(this),C=String(w.source),z=w.flags,v=String(z===void 0&&w instanceof RegExp&&!("flags"in f)?m.call(w):z);return"/"+C+"/"+v},{unsafe:!0})},"2ca0":function(s,o,a){var i=a("23e7"),l=a("06cf").f,c=a("50c4"),m=a("5a34"),d=a("1d80"),f=a("ab13"),p=a("c430"),h="".startsWith,_=Math.min,b=f("startsWith"),w=!p&&!b&&!!function(){var C=l(String.prototype,"startsWith");return C&&!C.writable}();i({target:"String",proto:!0,forced:!w&&!b},{startsWith:function(z){var v=String(d(this));m(z);var S=c(_(arguments.length>1?arguments[1]:void 0,v.length)),A=String(z);return h?h.call(v,A,S):v.slice(S,S+A.length)===A}})},"2d00":function(s,o,a){var i=a("da84"),l=a("342f"),c=i.process,m=c&&c.versions,d=m&&m.v8,f,p;d?(f=d.split("."),p=f[0]+f[1]):l&&(f=l.match(/Edge\/(\d+)/),(!f||f[1]>=74)&&(f=l.match(/Chrome\/(\d+)/),f&&(p=f[1]))),s.exports=p&&+p},"342f":function(s,o,a){var i=a("d066");s.exports=i("navigator","userAgent")||""},"35a1":function(s,o,a){var i=a("f5df"),l=a("3f8c"),c=a("b622"),m=c("iterator");s.exports=function(d){if(d!=null)return d[m]||d["@@iterator"]||l[i(d)]}},"37e8":function(s,o,a){var i=a("83ab"),l=a("9bf2"),c=a("825a"),m=a("df75");s.exports=i?Object.defineProperties:function(f,p){c(f);for(var h=m(p),_=h.length,b=0,w;_>b;)l.f(f,w=h[b++],p[w]);return f}},"3bbe":function(s,o,a){var i=a("861d");s.exports=function(l){if(!i(l)&&l!==null)throw TypeError("Can't set "+String(l)+" as a prototype");return l}},"3ca3":function(s,o,a){var i=a("6547").charAt,l=a("69f3"),c=a("7dd0"),m="String Iterator",d=l.set,f=l.getterFor(m);c(String,"String",function(p){d(this,{type:m,string:String(p),index:0})},function(){var h=f(this),_=h.string,b=h.index,w;return b>=_.length?{value:void 0,done:!0}:(w=i(_,b),h.index+=w.length,{value:w,done:!1})})},"3f8c":function(s,o){s.exports={}},4160:function(s,o,a){var i=a("23e7"),l=a("17c2");i({target:"Array",proto:!0,forced:[].forEach!=l},{forEach:l})},"428f":function(s,o,a){var i=a("da84");s.exports=i},"44ad":function(s,o,a){var i=a("d039"),l=a("c6b6"),c="".split;s.exports=i(function(){return!Object("z").propertyIsEnumerable(0)})?function(m){return l(m)=="String"?c.call(m,""):Object(m)}:Object},"44d2":function(s,o,a){var i=a("b622"),l=a("7c73"),c=a("9bf2"),m=i("unscopables"),d=Array.prototype;d[m]==null&&c.f(d,m,{configurable:!0,value:l(null)}),s.exports=function(f){d[m][f]=!0}},"44e7":function(s,o,a){var i=a("861d"),l=a("c6b6"),c=a("b622"),m=c("match");s.exports=function(d){var f;return i(d)&&((f=d[m])!==void 0?!!f:l(d)=="RegExp")}},4930:function(s,o,a){var i=a("d039");s.exports=!!Object.getOwnPropertySymbols&&!i(function(){return!String(Symbol())})},"4d64":function(s,o,a){var i=a("fc6a"),l=a("50c4"),c=a("23cb"),m=function(d){return function(f,p,h){var _=i(f),b=l(_.length),w=c(h,b),C;if(d&&p!=p){for(;b>w;)if(C=_[w++],C!=C)return!0}else for(;b>w;w++)if((d||w in _)&&_[w]===p)return d||w||0;return!d&&-1}};s.exports={includes:m(!0),indexOf:m(!1)}},"4de4":function(s,o,a){var i=a("23e7"),l=a("b727").filter,c=a("1dde"),m=a("ae40"),d=c("filter"),f=m("filter");i({target:"Array",proto:!0,forced:!d||!f},{filter:function(h){return l(this,h,arguments.length>1?arguments[1]:void 0)}})},"4df4":function(s,o,a){var i=a("0366"),l=a("7b0b"),c=a("9bdd"),m=a("e95a"),d=a("50c4"),f=a("8418"),p=a("35a1");s.exports=function(_){var b=l(_),w=typeof this=="function"?this:Array,C=arguments.length,z=C>1?arguments[1]:void 0,v=z!==void 0,S=p(b),A=0,D,F,P,M,Z,W;if(v&&(z=i(z,C>2?arguments[2]:void 0,2)),S!=null&&!(w==Array&&m(S)))for(M=S.call(b),Z=M.next,F=new w;!(P=Z.call(M)).done;A++)W=v?c(M,z,[P.value,A],!0):P.value,f(F,A,W);else for(D=d(b.length),F=new w(D);D>A;A++)W=v?z(b[A],A):b[A],f(F,A,W);return F.length=A,F}},"4fad":function(s,o,a){var i=a("23e7"),l=a("6f53").entries;i({target:"Object",stat:!0},{entries:function(m){return l(m)}})},"50c4":function(s,o,a){var i=a("a691"),l=Math.min;s.exports=function(c){return c>0?l(i(c),9007199254740991):0}},5135:function(s,o){var a={}.hasOwnProperty;s.exports=function(i,l){return a.call(i,l)}},5319:function(s,o,a){var i=a("d784"),l=a("825a"),c=a("7b0b"),m=a("50c4"),d=a("a691"),f=a("1d80"),p=a("8aa5"),h=a("14c3"),_=Math.max,b=Math.min,w=Math.floor,C=/\$([$&'`]|\d\d?|<[^>]*>)/g,z=/\$([$&'`]|\d\d?)/g,v=function(S){return S===void 0?S:String(S)};i("replace",2,function(S,A,D,F){var P=F.REGEXP_REPLACE_SUBSTITUTES_UNDEFINED_CAPTURE,M=F.REPLACE_KEEPS_$0,Z=P?"$":"$0";return[function(Q,me){var K=f(this),re=Q==null?void 0:Q[S];return re!==void 0?re.call(Q,K,me):A.call(String(K),Q,me)},function(U,Q){if(!P&&M||typeof Q=="string"&&Q.indexOf(Z)===-1){var me=D(A,U,this,Q);if(me.done)return me.value}var K=l(U),re=String(this),oe=typeof Q=="function";oe||(Q=String(Q));var Fe=K.global;if(Fe){var at=K.unicode;K.lastIndex=0}for(var Ge=[];;){var je=h(K,re);if(je===null||(Ge.push(je),!Fe))break;var ut=String(je[0]);ut===""&&(K.lastIndex=p(re,m(K.lastIndex),at))}for(var ft="",pt=0,Ne=0;Ne<Ge.length;Ne++){je=Ge[Ne];for(var j=String(je[0]),ue=_(b(d(je.index),re.length),0),se=[],ve=1;ve<je.length;ve++)se.push(v(je[ve]));var Be=je.groups;if(oe){var T=[j].concat(se,ue,re);Be!==void 0&&T.push(Be);var O=String(Q.apply(void 0,T))}else O=W(j,re,ue,se,Be,Q);ue>=pt&&(ft+=re.slice(pt,ue)+O,pt=ue+j.length)}return ft+re.slice(pt)}];function W(U,Q,me,K,re,oe){var Fe=me+U.length,at=K.length,Ge=z;return re!==void 0&&(re=c(re),Ge=C),A.call(oe,Ge,function(je,ut){var ft;switch(ut.charAt(0)){case"$":return"$";case"&":return U;case"`":return Q.slice(0,me);case"'":return Q.slice(Fe);case"<":ft=re[ut.slice(1,-1)];break;default:var pt=+ut;if(pt===0)return je;if(pt>at){var Ne=w(pt/10);return Ne===0?je:Ne<=at?K[Ne-1]===void 0?ut.charAt(1):K[Ne-1]+ut.charAt(1):je}ft=K[pt-1]}return ft===void 0?"":ft})}})},5692:function(s,o,a){var i=a("c430"),l=a("c6cd");(s.exports=function(c,m){return l[c]||(l[c]=m!==void 0?m:{})})("versions",[]).push({version:"3.6.5",mode:i?"pure":"global",copyright:"© 2020 Denis Pushkarev (zloirock.ru)"})},"56ef":function(s,o,a){var i=a("d066"),l=a("241c"),c=a("7418"),m=a("825a");s.exports=i("Reflect","ownKeys")||function(f){var p=l.f(m(f)),h=c.f;return h?p.concat(h(f)):p}},"5a34":function(s,o,a){var i=a("44e7");s.exports=function(l){if(i(l))throw TypeError("The method doesn't accept regular expressions");return l}},"5c6c":function(s,o){s.exports=function(a,i){return{enumerable:!(a&1),configurable:!(a&2),writable:!(a&4),value:i}}},"5db7":function(s,o,a){var i=a("23e7"),l=a("a2bf"),c=a("7b0b"),m=a("50c4"),d=a("1c0b"),f=a("65f0");i({target:"Array",proto:!0},{flatMap:function(h){var _=c(this),b=m(_.length),w;return d(h),w=f(_,0),w.length=l(w,_,_,b,0,1,h,arguments.length>1?arguments[1]:void 0),w}})},6547:function(s,o,a){var i=a("a691"),l=a("1d80"),c=function(m){return function(d,f){var p=String(l(d)),h=i(f),_=p.length,b,w;return h<0||h>=_?m?"":void 0:(b=p.charCodeAt(h),b<55296||b>56319||h+1===_||(w=p.charCodeAt(h+1))<56320||w>57343?m?p.charAt(h):b:m?p.slice(h,h+2):(b-55296<<10)+(w-56320)+65536)}};s.exports={codeAt:c(!1),charAt:c(!0)}},"65f0":function(s,o,a){var i=a("861d"),l=a("e8b5"),c=a("b622"),m=c("species");s.exports=function(d,f){var p;return l(d)&&(p=d.constructor,typeof p=="function"&&(p===Array||l(p.prototype))?p=void 0:i(p)&&(p=p[m],p===null&&(p=void 0))),new(p===void 0?Array:p)(f===0?0:f)}},"69f3":function(s,o,a){var i=a("7f9a"),l=a("da84"),c=a("861d"),m=a("9112"),d=a("5135"),f=a("f772"),p=a("d012"),h=l.WeakMap,_,b,w,C=function(P){return w(P)?b(P):_(P,{})},z=function(P){return function(M){var Z;if(!c(M)||(Z=b(M)).type!==P)throw TypeError("Incompatible receiver, "+P+" required");return Z}};if(i){var v=new h,S=v.get,A=v.has,D=v.set;_=function(P,M){return D.call(v,P,M),M},b=function(P){return S.call(v,P)||{}},w=function(P){return A.call(v,P)}}else{var F=f("state");p[F]=!0,_=function(P,M){return m(P,F,M),M},b=function(P){return d(P,F)?P[F]:{}},w=function(P){return d(P,F)}}s.exports={set:_,get:b,has:w,enforce:C,getterFor:z}},"6eeb":function(s,o,a){var i=a("da84"),l=a("9112"),c=a("5135"),m=a("ce4e"),d=a("8925"),f=a("69f3"),p=f.get,h=f.enforce,_=String(String).split("String");(s.exports=function(b,w,C,z){var v=z?!!z.unsafe:!1,S=z?!!z.enumerable:!1,A=z?!!z.noTargetGet:!1;if(typeof C=="function"&&(typeof w=="string"&&!c(C,"name")&&l(C,"name",w),h(C).source=_.join(typeof w=="string"?w:"")),b===i){S?b[w]=C:m(w,C);return}else v?!A&&b[w]&&(S=!0):delete b[w];S?b[w]=C:l(b,w,C)})(Function.prototype,"toString",function(){return typeof this=="function"&&p(this).source||d(this)})},"6f53":function(s,o,a){var i=a("83ab"),l=a("df75"),c=a("fc6a"),m=a("d1e7").f,d=function(f){return function(p){for(var h=c(p),_=l(h),b=_.length,w=0,C=[],z;b>w;)z=_[w++],(!i||m.call(h,z))&&C.push(f?[z,h[z]]:h[z]);return C}};s.exports={entries:d(!0),values:d(!1)}},"73d9":function(s,o,a){var i=a("44d2");i("flatMap")},7418:function(s,o){o.f=Object.getOwnPropertySymbols},"746f":function(s,o,a){var i=a("428f"),l=a("5135"),c=a("e538"),m=a("9bf2").f;s.exports=function(d){var f=i.Symbol||(i.Symbol={});l(f,d)||m(f,d,{value:c.f(d)})}},7839:function(s,o){s.exports=["constructor","hasOwnProperty","isPrototypeOf","propertyIsEnumerable","toLocaleString","toString","valueOf"]},"7b0b":function(s,o,a){var i=a("1d80");s.exports=function(l){return Object(i(l))}},"7c73":function(s,o,a){var i=a("825a"),l=a("37e8"),c=a("7839"),m=a("d012"),d=a("1be4"),f=a("cc12"),p=a("f772"),h=">",_="<",b="prototype",w="script",C=p("IE_PROTO"),z=function(){},v=function(P){return _+w+h+P+_+"/"+w+h},S=function(P){P.write(v("")),P.close();var M=P.parentWindow.Object;return P=null,M},A=function(){var P=f("iframe"),M="java"+w+":",Z;return P.style.display="none",d.appendChild(P),P.src=String(M),Z=P.contentWindow.document,Z.open(),Z.write(v("document.F=Object")),Z.close(),Z.F},D,F=function(){try{D=document.domain&&new ActiveXObject("htmlfile")}catch{}F=D?S(D):A();for(var P=c.length;P--;)delete F[b][c[P]];return F()};m[C]=!0,s.exports=Object.create||function(M,Z){var W;return M!==null?(z[b]=i(M),W=new z,z[b]=null,W[C]=M):W=F(),Z===void 0?W:l(W,Z)}},"7dd0":function(s,o,a){var i=a("23e7"),l=a("9ed3"),c=a("e163"),m=a("d2bb"),d=a("d44e"),f=a("9112"),p=a("6eeb"),h=a("b622"),_=a("c430"),b=a("3f8c"),w=a("ae93"),C=w.IteratorPrototype,z=w.BUGGY_SAFARI_ITERATORS,v=h("iterator"),S="keys",A="values",D="entries",F=function(){return this};s.exports=function(P,M,Z,W,U,Q,me){l(Z,M,W);var K=function(Ne){if(Ne===U&&Ge)return Ge;if(!z&&Ne in Fe)return Fe[Ne];switch(Ne){case S:return function(){return new Z(this,Ne)};case A:return function(){return new Z(this,Ne)};case D:return function(){return new Z(this,Ne)}}return function(){return new Z(this)}},re=M+" Iterator",oe=!1,Fe=P.prototype,at=Fe[v]||Fe["@@iterator"]||U&&Fe[U],Ge=!z&&at||K(U),je=M=="Array"&&Fe.entries||at,ut,ft,pt;if(je&&(ut=c(je.call(new P)),C!==Object.prototype&&ut.next&&(!_&&c(ut)!==C&&(m?m(ut,C):typeof ut[v]!="function"&&f(ut,v,F)),d(ut,re,!0,!0),_&&(b[re]=F))),U==A&&at&&at.name!==A&&(oe=!0,Ge=function(){return at.call(this)}),(!_||me)&&Fe[v]!==Ge&&f(Fe,v,Ge),b[M]=Ge,U)if(ft={values:K(A),keys:Q?Ge:K(S),entries:K(D)},me)for(pt in ft)(z||oe||!(pt in Fe))&&p(Fe,pt,ft[pt]);else i({target:M,proto:!0,forced:z||oe},ft);return ft}},"7f9a":function(s,o,a){var i=a("da84"),l=a("8925"),c=i.WeakMap;s.exports=typeof c=="function"&&/native code/.test(l(c))},"825a":function(s,o,a){var i=a("861d");s.exports=function(l){if(!i(l))throw TypeError(String(l)+" is not an object");return l}},"83ab":function(s,o,a){var i=a("d039");s.exports=!i(function(){return Object.defineProperty({},1,{get:function(){return 7}})[1]!=7})},8418:function(s,o,a){var i=a("c04e"),l=a("9bf2"),c=a("5c6c");s.exports=function(m,d,f){var p=i(d);p in m?l.f(m,p,c(0,f)):m[p]=f}},"861d":function(s,o){s.exports=function(a){return typeof a=="object"?a!==null:typeof a=="function"}},8875:function(s,o,a){var i,l,c;(function(m,d){l=[],i=d,c=typeof i=="function"?i.apply(o,l):i,c!==void 0&&(s.exports=c)})(typeof self<"u"?self:this,function(){function m(){var d=Object.getOwnPropertyDescriptor(document,"currentScript");if(!d&&"currentScript"in document&&document.currentScript||d&&d.get!==m&&document.currentScript)return document.currentScript;try{throw new Error}catch(D){var f=/.*at [^(]*\((.*):(.+):(.+)\)$/ig,p=/@([^@]*):(\d+):(\d+)\s*$/ig,h=f.exec(D.stack)||p.exec(D.stack),_=h&&h[1]||!1,b=h&&h[2]||!1,w=document.location.href.replace(document.location.hash,""),C,z,v,S=document.getElementsByTagName("script");_===w&&(C=document.documentElement.outerHTML,z=new RegExp("(?:[^\\n]+?\\n){0,"+(b-2)+"}[^<]*<script>([\\d\\D]*?)<\\/script>[\\d\\D]*","i"),v=C.replace(z,"$1").trim());for(var A=0;A<S.length;A++)if(S[A].readyState==="interactive"||S[A].src===_||_===w&&S[A].innerHTML&&S[A].innerHTML.trim()===v)return S[A];return null}}return m})},8925:function(s,o,a){var i=a("c6cd"),l=Function.toString;typeof i.inspectSource!="function"&&(i.inspectSource=function(c){return l.call(c)}),s.exports=i.inspectSource},"8aa5":function(s,o,a){var i=a("6547").charAt;s.exports=function(l,c,m){return c+(m?i(l,c).length:1)}},"8bbf":function(s,o){s.exports=n},"90e3":function(s,o){var a=0,i=Math.random();s.exports=function(l){return"Symbol("+String(l===void 0?"":l)+")_"+(++a+i).toString(36)}},9112:function(s,o,a){var i=a("83ab"),l=a("9bf2"),c=a("5c6c");s.exports=i?function(m,d,f){return l.f(m,d,c(1,f))}:function(m,d,f){return m[d]=f,m}},9263:function(s,o,a){var i=a("ad6d"),l=a("9f7f"),c=RegExp.prototype.exec,m=String.prototype.replace,d=c,f=function(){var b=/a/,w=/b*/g;return c.call(b,"a"),c.call(w,"a"),b.lastIndex!==0||w.lastIndex!==0}(),p=l.UNSUPPORTED_Y||l.BROKEN_CARET,h=/()??/.exec("")[1]!==void 0,_=f||h||p;_&&(d=function(w){var C=this,z,v,S,A,D=p&&C.sticky,F=i.call(C),P=C.source,M=0,Z=w;return D&&(F=F.replace("y",""),F.indexOf("g")===-1&&(F+="g"),Z=String(w).slice(C.lastIndex),C.lastIndex>0&&(!C.multiline||C.multiline&&w[C.lastIndex-1]!==`
`)&&(P="(?: "+P+")",Z=" "+Z,M++),v=new RegExp("^(?:"+P+")",F)),h&&(v=new RegExp("^"+P+"$(?!\\s)",F)),f&&(z=C.lastIndex),S=c.call(D?v:C,Z),D?S?(S.input=S.input.slice(M),S[0]=S[0].slice(M),S.index=C.lastIndex,C.lastIndex+=S[0].length):C.lastIndex=0:f&&S&&(C.lastIndex=C.global?S.index+S[0].length:z),h&&S&&S.length>1&&m.call(S[0],v,function(){for(A=1;A<arguments.length-2;A++)arguments[A]===void 0&&(S[A]=void 0)}),S}),s.exports=d},"94ca":function(s,o,a){var i=a("d039"),l=/#|\.prototype\./,c=function(h,_){var b=d[m(h)];return b==p?!0:b==f?!1:typeof _=="function"?i(_):!!_},m=c.normalize=function(h){return String(h).replace(l,".").toLowerCase()},d=c.data={},f=c.NATIVE="N",p=c.POLYFILL="P";s.exports=c},"99af":function(s,o,a){var i=a("23e7"),l=a("d039"),c=a("e8b5"),m=a("861d"),d=a("7b0b"),f=a("50c4"),p=a("8418"),h=a("65f0"),_=a("1dde"),b=a("b622"),w=a("2d00"),C=b("isConcatSpreadable"),z=9007199254740991,v="Maximum allowed index exceeded",S=w>=51||!l(function(){var P=[];return P[C]=!1,P.concat()[0]!==P}),A=_("concat"),D=function(P){if(!m(P))return!1;var M=P[C];return M!==void 0?!!M:c(P)},F=!S||!A;i({target:"Array",proto:!0,forced:F},{concat:function(M){var Z=d(this),W=h(Z,0),U=0,Q,me,K,re,oe;for(Q=-1,K=arguments.length;Q<K;Q++)if(oe=Q===-1?Z:arguments[Q],D(oe)){if(re=f(oe.length),U+re>z)throw TypeError(v);for(me=0;me<re;me++,U++)me in oe&&p(W,U,oe[me])}else{if(U>=z)throw TypeError(v);p(W,U++,oe)}return W.length=U,W}})},"9bdd":function(s,o,a){var i=a("825a");s.exports=function(l,c,m,d){try{return d?c(i(m)[0],m[1]):c(m)}catch(p){var f=l.return;throw f!==void 0&&i(f.call(l)),p}}},"9bf2":function(s,o,a){var i=a("83ab"),l=a("0cfb"),c=a("825a"),m=a("c04e"),d=Object.defineProperty;o.f=i?d:function(p,h,_){if(c(p),h=m(h,!0),c(_),l)try{return d(p,h,_)}catch{}if("get"in _||"set"in _)throw TypeError("Accessors not supported");return"value"in _&&(p[h]=_.value),p}},"9ed3":function(s,o,a){var i=a("ae93").IteratorPrototype,l=a("7c73"),c=a("5c6c"),m=a("d44e"),d=a("3f8c"),f=function(){return this};s.exports=function(p,h,_){var b=h+" Iterator";return p.prototype=l(i,{next:c(1,_)}),m(p,b,!1,!0),d[b]=f,p}},"9f7f":function(s,o,a){var i=a("d039");function l(c,m){return RegExp(c,m)}o.UNSUPPORTED_Y=i(function(){var c=l("a","y");return c.lastIndex=2,c.exec("abcd")!=null}),o.BROKEN_CARET=i(function(){var c=l("^r","gy");return c.lastIndex=2,c.exec("str")!=null})},a2bf:function(s,o,a){var i=a("e8b5"),l=a("50c4"),c=a("0366"),m=function(d,f,p,h,_,b,w,C){for(var z=_,v=0,S=w?c(w,C,3):!1,A;v<h;){if(v in p){if(A=S?S(p[v],v,f):p[v],b>0&&i(A))z=m(d,f,A,l(A.length),z,b-1)-1;else{if(z>=9007199254740991)throw TypeError("Exceed the acceptable array length");d[z]=A}z++}v++}return z};s.exports=m},a352:function(s,o){s.exports=r},a434:function(s,o,a){var i=a("23e7"),l=a("23cb"),c=a("a691"),m=a("50c4"),d=a("7b0b"),f=a("65f0"),p=a("8418"),h=a("1dde"),_=a("ae40"),b=h("splice"),w=_("splice",{ACCESSORS:!0,0:0,1:2}),C=Math.max,z=Math.min,v=9007199254740991,S="Maximum allowed length exceeded";i({target:"Array",proto:!0,forced:!b||!w},{splice:function(D,F){var P=d(this),M=m(P.length),Z=l(D,M),W=arguments.length,U,Q,me,K,re,oe;if(W===0?U=Q=0:W===1?(U=0,Q=M-Z):(U=W-2,Q=z(C(c(F),0),M-Z)),M+U-Q>v)throw TypeError(S);for(me=f(P,Q),K=0;K<Q;K++)re=Z+K,re in P&&p(me,K,P[re]);if(me.length=Q,U<Q){for(K=Z;K<M-Q;K++)re=K+Q,oe=K+U,re in P?P[oe]=P[re]:delete P[oe];for(K=M;K>M-Q+U;K--)delete P[K-1]}else if(U>Q)for(K=M-Q;K>Z;K--)re=K+Q-1,oe=K+U-1,re in P?P[oe]=P[re]:delete P[oe];for(K=0;K<U;K++)P[K+Z]=arguments[K+2];return P.length=M-Q+U,me}})},a4d3:function(s,o,a){var i=a("23e7"),l=a("da84"),c=a("d066"),m=a("c430"),d=a("83ab"),f=a("4930"),p=a("fdbf"),h=a("d039"),_=a("5135"),b=a("e8b5"),w=a("861d"),C=a("825a"),z=a("7b0b"),v=a("fc6a"),S=a("c04e"),A=a("5c6c"),D=a("7c73"),F=a("df75"),P=a("241c"),M=a("057f"),Z=a("7418"),W=a("06cf"),U=a("9bf2"),Q=a("d1e7"),me=a("9112"),K=a("6eeb"),re=a("5692"),oe=a("f772"),Fe=a("d012"),at=a("90e3"),Ge=a("b622"),je=a("e538"),ut=a("746f"),ft=a("d44e"),pt=a("69f3"),Ne=a("b727").forEach,j=oe("hidden"),ue="Symbol",se="prototype",ve=Ge("toPrimitive"),Be=pt.set,T=pt.getterFor(ue),O=Object[se],I=l.Symbol,G=c("JSON","stringify"),Y=W.f,X=U.f,de=M.f,ie=Q.f,ae=re("symbols"),ee=re("op-symbols"),ze=re("string-to-symbol-registry"),le=re("symbol-to-string-registry"),L=re("wks"),q=l.QObject,_e=!q||!q[se]||!q[se].findChild,$e=d&&h(function(){return D(X({},"a",{get:function(){return X(this,"a",{value:7}).a}})).a!=7})?function(Ie,xe,Te){var Ze=Y(O,xe);Ze&&delete O[xe],X(Ie,xe,Te),Ze&&Ie!==O&&X(O,xe,Ze)}:X,Me=function(Ie,xe){var Te=ae[Ie]=D(I[se]);return Be(Te,{type:ue,tag:Ie,description:xe}),d||(Te.description=xe),Te},R=p?function(Ie){return typeof Ie=="symbol"}:function(Ie){return Object(Ie)instanceof I},N=function(xe,Te,Ze){xe===O&&N(ee,Te,Ze),C(xe);var et=S(Te,!0);return C(Ze),_(ae,et)?(Ze.enumerable?(_(xe,j)&&xe[j][et]&&(xe[j][et]=!1),Ze=D(Ze,{enumerable:A(0,!1)})):(_(xe,j)||X(xe,j,A(1,{})),xe[j][et]=!0),$e(xe,et,Ze)):X(xe,et,Ze)},B=function(xe,Te){C(xe);var Ze=v(Te),et=F(Ze).concat(Ve(Ze));return Ne(et,function(tn){(!d||ye.call(Ze,tn))&&N(xe,tn,Ze[tn])}),xe},ne=function(xe,Te){return Te===void 0?D(xe):B(D(xe),Te)},ye=function(xe){var Te=S(xe,!0),Ze=ie.call(this,Te);return this===O&&_(ae,Te)&&!_(ee,Te)?!1:Ze||!_(this,Te)||!_(ae,Te)||_(this,j)&&this[j][Te]?Ze:!0},Ae=function(xe,Te){var Ze=v(xe),et=S(Te,!0);if(!(Ze===O&&_(ae,et)&&!_(ee,et))){var tn=Y(Ze,et);return tn&&_(ae,et)&&!(_(Ze,j)&&Ze[j][et])&&(tn.enumerable=!0),tn}},Se=function(xe){var Te=de(v(xe)),Ze=[];return Ne(Te,function(et){!_(ae,et)&&!_(Fe,et)&&Ze.push(et)}),Ze},Ve=function(xe){var Te=xe===O,Ze=de(Te?ee:v(xe)),et=[];return Ne(Ze,function(tn){_(ae,tn)&&(!Te||_(O,tn))&&et.push(ae[tn])}),et};if(f||(I=function(){if(this instanceof I)throw TypeError("Symbol is not a constructor");var xe=!arguments.length||arguments[0]===void 0?void 0:String(arguments[0]),Te=at(xe),Ze=function(et){this===O&&Ze.call(ee,et),_(this,j)&&_(this[j],Te)&&(this[j][Te]=!1),$e(this,Te,A(1,et))};return d&&_e&&$e(O,Te,{configurable:!0,set:Ze}),Me(Te,xe)},K(I[se],"toString",function(){return T(this).tag}),K(I,"withoutSetter",function(Ie){return Me(at(Ie),Ie)}),Q.f=ye,U.f=N,W.f=Ae,P.f=M.f=Se,Z.f=Ve,je.f=function(Ie){return Me(Ge(Ie),Ie)},d&&(X(I[se],"description",{configurable:!0,get:function(){return T(this).description}}),m||K(O,"propertyIsEnumerable",ye,{unsafe:!0}))),i({global:!0,wrap:!0,forced:!f,sham:!f},{Symbol:I}),Ne(F(L),function(Ie){ut(Ie)}),i({target:ue,stat:!0,forced:!f},{for:function(Ie){var xe=String(Ie);if(_(ze,xe))return ze[xe];var Te=I(xe);return ze[xe]=Te,le[Te]=xe,Te},keyFor:function(xe){if(!R(xe))throw TypeError(xe+" is not a symbol");if(_(le,xe))return le[xe]},useSetter:function(){_e=!0},useSimple:function(){_e=!1}}),i({target:"Object",stat:!0,forced:!f,sham:!d},{create:ne,defineProperty:N,defineProperties:B,getOwnPropertyDescriptor:Ae}),i({target:"Object",stat:!0,forced:!f},{getOwnPropertyNames:Se,getOwnPropertySymbols:Ve}),i({target:"Object",stat:!0,forced:h(function(){Z.f(1)})},{getOwnPropertySymbols:function(xe){return Z.f(z(xe))}}),G){var yt=!f||h(function(){var Ie=I();return G([Ie])!="[null]"||G({a:Ie})!="{}"||G(Object(Ie))!="{}"});i({target:"JSON",stat:!0,forced:yt},{stringify:function(xe,Te,Ze){for(var et=[xe],tn=1,vu;arguments.length>tn;)et.push(arguments[tn++]);if(vu=Te,!(!w(Te)&&xe===void 0||R(xe)))return b(Te)||(Te=function(ub,Ua){if(typeof vu=="function"&&(Ua=vu.call(this,ub,Ua)),!R(Ua))return Ua}),et[1]=Te,G.apply(null,et)}})}I[se][ve]||me(I[se],ve,I[se].valueOf),ft(I,ue),Fe[j]=!0},a630:function(s,o,a){var i=a("23e7"),l=a("4df4"),c=a("1c7e"),m=!c(function(d){Array.from(d)});i({target:"Array",stat:!0,forced:m},{from:l})},a640:function(s,o,a){var i=a("d039");s.exports=function(l,c){var m=[][l];return!!m&&i(function(){m.call(null,c||function(){throw 1},1)})}},a691:function(s,o){var a=Math.ceil,i=Math.floor;s.exports=function(l){return isNaN(l=+l)?0:(l>0?i:a)(l)}},ab13:function(s,o,a){var i=a("b622"),l=i("match");s.exports=function(c){var m=/./;try{"/./"[c](m)}catch{try{return m[l]=!1,"/./"[c](m)}catch{}}return!1}},ac1f:function(s,o,a){var i=a("23e7"),l=a("9263");i({target:"RegExp",proto:!0,forced:/./.exec!==l},{exec:l})},ad6d:function(s,o,a){var i=a("825a");s.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(s,o,a){var i=a("83ab"),l=a("d039"),c=a("5135"),m=Object.defineProperty,d={},f=function(p){throw p};s.exports=function(p,h){if(c(d,p))return d[p];h||(h={});var _=[][p],b=c(h,"ACCESSORS")?h.ACCESSORS:!1,w=c(h,0)?h[0]:f,C=c(h,1)?h[1]:void 0;return d[p]=!!_&&!l(function(){if(b&&!i)return!0;var z={length:-1};b?m(z,1,{enumerable:!0,get:f}):z[1]=1,_.call(z,w,C)})}},ae93:function(s,o,a){var i=a("e163"),l=a("9112"),c=a("5135"),m=a("b622"),d=a("c430"),f=m("iterator"),p=!1,h=function(){return this},_,b,w;[].keys&&(w=[].keys(),"next"in w?(b=i(i(w)),b!==Object.prototype&&(_=b)):p=!0),_==null&&(_={}),!d&&!c(_,f)&&l(_,f,h),s.exports={IteratorPrototype:_,BUGGY_SAFARI_ITERATORS:p}},b041:function(s,o,a){var i=a("00ee"),l=a("f5df");s.exports=i?{}.toString:function(){return"[object "+l(this)+"]"}},b0c0:function(s,o,a){var i=a("83ab"),l=a("9bf2").f,c=Function.prototype,m=c.toString,d=/^\s*function ([^ (]*)/,f="name";i&&!(f in c)&&l(c,f,{configurable:!0,get:function(){try{return m.call(this).match(d)[1]}catch{return""}}})},b622:function(s,o,a){var i=a("da84"),l=a("5692"),c=a("5135"),m=a("90e3"),d=a("4930"),f=a("fdbf"),p=l("wks"),h=i.Symbol,_=f?h:h&&h.withoutSetter||m;s.exports=function(b){return c(p,b)||(d&&c(h,b)?p[b]=h[b]:p[b]=_("Symbol."+b)),p[b]}},b64b:function(s,o,a){var i=a("23e7"),l=a("7b0b"),c=a("df75"),m=a("d039"),d=m(function(){c(1)});i({target:"Object",stat:!0,forced:d},{keys:function(p){return c(l(p))}})},b727:function(s,o,a){var i=a("0366"),l=a("44ad"),c=a("7b0b"),m=a("50c4"),d=a("65f0"),f=[].push,p=function(h){var _=h==1,b=h==2,w=h==3,C=h==4,z=h==6,v=h==5||z;return function(S,A,D,F){for(var P=c(S),M=l(P),Z=i(A,D,3),W=m(M.length),U=0,Q=F||d,me=_?Q(S,W):b?Q(S,0):void 0,K,re;W>U;U++)if((v||U in M)&&(K=M[U],re=Z(K,U,P),h)){if(_)me[U]=re;else if(re)switch(h){case 3:return!0;case 5:return K;case 6:return U;case 2:f.call(me,K)}else if(C)return!1}return z?-1:w||C?C:me}};s.exports={forEach:p(0),map:p(1),filter:p(2),some:p(3),every:p(4),find:p(5),findIndex:p(6)}},c04e:function(s,o,a){var i=a("861d");s.exports=function(l,c){if(!i(l))return l;var m,d;if(c&&typeof(m=l.toString)=="function"&&!i(d=m.call(l))||typeof(m=l.valueOf)=="function"&&!i(d=m.call(l))||!c&&typeof(m=l.toString)=="function"&&!i(d=m.call(l)))return d;throw TypeError("Can't convert object to primitive value")}},c430:function(s,o){s.exports=!1},c6b6:function(s,o){var a={}.toString;s.exports=function(i){return a.call(i).slice(8,-1)}},c6cd:function(s,o,a){var i=a("da84"),l=a("ce4e"),c="__core-js_shared__",m=i[c]||l(c,{});s.exports=m},c740:function(s,o,a){var i=a("23e7"),l=a("b727").findIndex,c=a("44d2"),m=a("ae40"),d="findIndex",f=!0,p=m(d);d in[]&&Array(1)[d](function(){f=!1}),i({target:"Array",proto:!0,forced:f||!p},{findIndex:function(_){return l(this,_,arguments.length>1?arguments[1]:void 0)}}),c(d)},c8ba:function(s,o){var a;a=function(){return this}();try{a=a||new Function("return this")()}catch{typeof window=="object"&&(a=window)}s.exports=a},c975:function(s,o,a){var i=a("23e7"),l=a("4d64").indexOf,c=a("a640"),m=a("ae40"),d=[].indexOf,f=!!d&&1/[1].indexOf(1,-0)<0,p=c("indexOf"),h=m("indexOf",{ACCESSORS:!0,1:0});i({target:"Array",proto:!0,forced:f||!p||!h},{indexOf:function(b){return f?d.apply(this,arguments)||0:l(this,b,arguments.length>1?arguments[1]:void 0)}})},ca84:function(s,o,a){var i=a("5135"),l=a("fc6a"),c=a("4d64").indexOf,m=a("d012");s.exports=function(d,f){var p=l(d),h=0,_=[],b;for(b in p)!i(m,b)&&i(p,b)&&_.push(b);for(;f.length>h;)i(p,b=f[h++])&&(~c(_,b)||_.push(b));return _}},caad:function(s,o,a){var i=a("23e7"),l=a("4d64").includes,c=a("44d2"),m=a("ae40"),d=m("indexOf",{ACCESSORS:!0,1:0});i({target:"Array",proto:!0,forced:!d},{includes:function(p){return l(this,p,arguments.length>1?arguments[1]:void 0)}}),c("includes")},cc12:function(s,o,a){var i=a("da84"),l=a("861d"),c=i.document,m=l(c)&&l(c.createElement);s.exports=function(d){return m?c.createElement(d):{}}},ce4e:function(s,o,a){var i=a("da84"),l=a("9112");s.exports=function(c,m){try{l(i,c,m)}catch{i[c]=m}return m}},d012:function(s,o){s.exports={}},d039:function(s,o){s.exports=function(a){try{return!!a()}catch{return!0}}},d066:function(s,o,a){var i=a("428f"),l=a("da84"),c=function(m){return typeof m=="function"?m:void 0};s.exports=function(m,d){return arguments.length<2?c(i[m])||c(l[m]):i[m]&&i[m][d]||l[m]&&l[m][d]}},d1e7:function(s,o,a){var i={}.propertyIsEnumerable,l=Object.getOwnPropertyDescriptor,c=l&&!i.call({1:2},1);o.f=c?function(d){var f=l(this,d);return!!f&&f.enumerable}:i},d28b:function(s,o,a){var i=a("746f");i("iterator")},d2bb:function(s,o,a){var i=a("825a"),l=a("3bbe");s.exports=Object.setPrototypeOf||("__proto__"in{}?function(){var c=!1,m={},d;try{d=Object.getOwnPropertyDescriptor(Object.prototype,"__proto__").set,d.call(m,[]),c=m instanceof Array}catch{}return function(p,h){return i(p),l(h),c?d.call(p,h):p.__proto__=h,p}}():void 0)},d3b7:function(s,o,a){var i=a("00ee"),l=a("6eeb"),c=a("b041");i||l(Object.prototype,"toString",c,{unsafe:!0})},d44e:function(s,o,a){var i=a("9bf2").f,l=a("5135"),c=a("b622"),m=c("toStringTag");s.exports=function(d,f,p){d&&!l(d=p?d:d.prototype,m)&&i(d,m,{configurable:!0,value:f})}},d58f:function(s,o,a){var i=a("1c0b"),l=a("7b0b"),c=a("44ad"),m=a("50c4"),d=function(f){return function(p,h,_,b){i(h);var w=l(p),C=c(w),z=m(w.length),v=f?z-1:0,S=f?-1:1;if(_<2)for(;;){if(v in C){b=C[v],v+=S;break}if(v+=S,f?v<0:z<=v)throw TypeError("Reduce of empty array with no initial value")}for(;f?v>=0:z>v;v+=S)v in C&&(b=h(b,C[v],v,w));return b}};s.exports={left:d(!1),right:d(!0)}},d784:function(s,o,a){a("ac1f");var i=a("6eeb"),l=a("d039"),c=a("b622"),m=a("9263"),d=a("9112"),f=c("species"),p=!l(function(){var C=/./;return C.exec=function(){var z=[];return z.groups={a:"7"},z},"".replace(C,"$<a>")!=="7"}),h=function(){return"a".replace(/./,"$0")==="$0"}(),_=c("replace"),b=function(){return/./[_]?/./[_]("a","$0")==="":!1}(),w=!l(function(){var C=/(?:)/,z=C.exec;C.exec=function(){return z.apply(this,arguments)};var v="ab".split(C);return v.length!==2||v[0]!=="a"||v[1]!=="b"});s.exports=function(C,z,v,S){var A=c(C),D=!l(function(){var U={};return U[A]=function(){return 7},""[C](U)!=7}),F=D&&!l(function(){var U=!1,Q=/a/;return C==="split"&&(Q={},Q.constructor={},Q.constructor[f]=function(){return Q},Q.flags="",Q[A]=/./[A]),Q.exec=function(){return U=!0,null},Q[A](""),!U});if(!D||!F||C==="replace"&&!(p&&h&&!b)||C==="split"&&!w){var P=/./[A],M=v(A,""[C],function(U,Q,me,K,re){return Q.exec===m?D&&!re?{done:!0,value:P.call(Q,me,K)}:{done:!0,value:U.call(me,Q,K)}:{done:!1}},{REPLACE_KEEPS_$0:h,REGEXP_REPLACE_SUBSTITUTES_UNDEFINED_CAPTURE:b}),Z=M[0],W=M[1];i(String.prototype,C,Z),i(RegExp.prototype,A,z==2?function(U,Q){return W.call(U,this,Q)}:function(U){return W.call(U,this)})}S&&d(RegExp.prototype[A],"sham",!0)}},d81d:function(s,o,a){var i=a("23e7"),l=a("b727").map,c=a("1dde"),m=a("ae40"),d=c("map"),f=m("map");i({target:"Array",proto:!0,forced:!d||!f},{map:function(h){return l(this,h,arguments.length>1?arguments[1]:void 0)}})},da84:function(s,o,a){(function(i){var l=function(c){return c&&c.Math==Math&&c};s.exports=l(typeof globalThis=="object"&&globalThis)||l(typeof window=="object"&&window)||l(typeof self=="object"&&self)||l(typeof i=="object"&&i)||Function("return this")()}).call(this,a("c8ba"))},dbb4:function(s,o,a){var i=a("23e7"),l=a("83ab"),c=a("56ef"),m=a("fc6a"),d=a("06cf"),f=a("8418");i({target:"Object",stat:!0,sham:!l},{getOwnPropertyDescriptors:function(h){for(var _=m(h),b=d.f,w=c(_),C={},z=0,v,S;w.length>z;)S=b(_,v=w[z++]),S!==void 0&&f(C,v,S);return C}})},dbf1:function(s,o,a){(function(i){a.d(o,"a",function(){return c});function l(){return typeof window<"u"?window.console:i.console}var c=l()}).call(this,a("c8ba"))},ddb0:function(s,o,a){var i=a("da84"),l=a("fdbc"),c=a("e260"),m=a("9112"),d=a("b622"),f=d("iterator"),p=d("toStringTag"),h=c.values;for(var _ in l){var b=i[_],w=b&&b.prototype;if(w){if(w[f]!==h)try{m(w,f,h)}catch{w[f]=h}if(w[p]||m(w,p,_),l[_]){for(var C in c)if(w[C]!==c[C])try{m(w,C,c[C])}catch{w[C]=c[C]}}}}},df75:function(s,o,a){var i=a("ca84"),l=a("7839");s.exports=Object.keys||function(m){return i(m,l)}},e01a:function(s,o,a){var i=a("23e7"),l=a("83ab"),c=a("da84"),m=a("5135"),d=a("861d"),f=a("9bf2").f,p=a("e893"),h=c.Symbol;if(l&&typeof h=="function"&&(!("description"in h.prototype)||h().description!==void 0)){var _={},b=function(){var A=arguments.length<1||arguments[0]===void 0?void 0:String(arguments[0]),D=this instanceof b?new h(A):A===void 0?h():h(A);return A===""&&(_[D]=!0),D};p(b,h);var w=b.prototype=h.prototype;w.constructor=b;var C=w.toString,z=String(h("test"))=="Symbol(test)",v=/^Symbol\((.*)\)[^)]+$/;f(w,"description",{configurable:!0,get:function(){var A=d(this)?this.valueOf():this,D=C.call(A);if(m(_,A))return"";var F=z?D.slice(7,-1):D.replace(v,"$1");return F===""?void 0:F}}),i({global:!0,forced:!0},{Symbol:b})}},e163:function(s,o,a){var i=a("5135"),l=a("7b0b"),c=a("f772"),m=a("e177"),d=c("IE_PROTO"),f=Object.prototype;s.exports=m?Object.getPrototypeOf:function(p){return p=l(p),i(p,d)?p[d]:typeof p.constructor=="function"&&p instanceof p.constructor?p.constructor.prototype:p instanceof Object?f:null}},e177:function(s,o,a){var i=a("d039");s.exports=!i(function(){function l(){}return l.prototype.constructor=null,Object.getPrototypeOf(new l)!==l.prototype})},e260:function(s,o,a){var i=a("fc6a"),l=a("44d2"),c=a("3f8c"),m=a("69f3"),d=a("7dd0"),f="Array Iterator",p=m.set,h=m.getterFor(f);s.exports=d(Array,"Array",function(_,b){p(this,{type:f,target:i(_),index:0,kind:b})},function(){var _=h(this),b=_.target,w=_.kind,C=_.index++;return!b||C>=b.length?(_.target=void 0,{value:void 0,done:!0}):w=="keys"?{value:C,done:!1}:w=="values"?{value:b[C],done:!1}:{value:[C,b[C]],done:!1}},"values"),c.Arguments=c.Array,l("keys"),l("values"),l("entries")},e439:function(s,o,a){var i=a("23e7"),l=a("d039"),c=a("fc6a"),m=a("06cf").f,d=a("83ab"),f=l(function(){m(1)}),p=!d||f;i({target:"Object",stat:!0,forced:p,sham:!d},{getOwnPropertyDescriptor:function(_,b){return m(c(_),b)}})},e538:function(s,o,a){var i=a("b622");o.f=i},e893:function(s,o,a){var i=a("5135"),l=a("56ef"),c=a("06cf"),m=a("9bf2");s.exports=function(d,f){for(var p=l(f),h=m.f,_=c.f,b=0;b<p.length;b++){var w=p[b];i(d,w)||h(d,w,_(f,w))}}},e8b5:function(s,o,a){var i=a("c6b6");s.exports=Array.isArray||function(c){return i(c)=="Array"}},e95a:function(s,o,a){var i=a("b622"),l=a("3f8c"),c=i("iterator"),m=Array.prototype;s.exports=function(d){return d!==void 0&&(l.Array===d||m[c]===d)}},f5df:function(s,o,a){var i=a("00ee"),l=a("c6b6"),c=a("b622"),m=c("toStringTag"),d=l(function(){return arguments}())=="Arguments",f=function(p,h){try{return p[h]}catch{}};s.exports=i?l:function(p){var h,_,b;return p===void 0?"Undefined":p===null?"Null":typeof(_=f(h=Object(p),m))=="string"?_:d?l(h):(b=l(h))=="Object"&&typeof h.callee=="function"?"Arguments":b}},f772:function(s,o,a){var i=a("5692"),l=a("90e3"),c=i("keys");s.exports=function(m){return c[m]||(c[m]=l(m))}},fb15:function(s,o,a){if(a.r(o),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 m(R,N,B){return N in R?Object.defineProperty(R,N,{value:B,enumerable:!0,configurable:!0,writable:!0}):R[N]=B,R}function d(R,N){var B=Object.keys(R);if(Object.getOwnPropertySymbols){var ne=Object.getOwnPropertySymbols(R);N&&(ne=ne.filter(function(ye){return Object.getOwnPropertyDescriptor(R,ye).enumerable})),B.push.apply(B,ne)}return B}function f(R){for(var N=1;N<arguments.length;N++){var B=arguments[N]!=null?arguments[N]:{};N%2?d(Object(B),!0).forEach(function(ne){m(R,ne,B[ne])}):Object.getOwnPropertyDescriptors?Object.defineProperties(R,Object.getOwnPropertyDescriptors(B)):d(Object(B)).forEach(function(ne){Object.defineProperty(R,ne,Object.getOwnPropertyDescriptor(B,ne))})}return R}function p(R){if(Array.isArray(R))return R}a("e01a"),a("d28b"),a("e260"),a("d3b7"),a("3ca3"),a("ddb0");function h(R,N){if(!(typeof Symbol>"u"||!(Symbol.iterator in Object(R)))){var B=[],ne=!0,ye=!1,Ae=void 0;try{for(var Se=R[Symbol.iterator](),Ve;!(ne=(Ve=Se.next()).done)&&(B.push(Ve.value),!(N&&B.length===N));ne=!0);}catch(yt){ye=!0,Ae=yt}finally{try{!ne&&Se.return!=null&&Se.return()}finally{if(ye)throw Ae}}return B}}a("a630"),a("fb6a"),a("b0c0"),a("25f0");function _(R,N){(N==null||N>R.length)&&(N=R.length);for(var B=0,ne=new Array(N);B<N;B++)ne[B]=R[B];return ne}function b(R,N){if(R){if(typeof R=="string")return _(R,N);var B=Object.prototype.toString.call(R).slice(8,-1);if(B==="Object"&&R.constructor&&(B=R.constructor.name),B==="Map"||B==="Set")return Array.from(R);if(B==="Arguments"||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(B))return _(R,N)}}function w(){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 C(R,N){return p(R)||h(R,N)||b(R,N)||w()}function z(R){if(Array.isArray(R))return _(R)}function v(R){if(typeof Symbol<"u"&&Symbol.iterator in Object(R))return Array.from(R)}function S(){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 A(R){return z(R)||v(R)||b(R)||S()}var D=a("a352"),F=a.n(D);function P(R){R.parentElement!==null&&R.parentElement.removeChild(R)}function M(R,N,B){var ne=B===0?R.children[0]:R.children[B-1].nextSibling;R.insertBefore(N,ne)}var Z=a("dbf1");a("13d5"),a("4fad"),a("ac1f"),a("5319");function W(R){var N=Object.create(null);return function(ne){var ye=N[ne];return ye||(N[ne]=R(ne))}}var U=/-(\w)/g,Q=W(function(R){return R.replace(U,function(N,B){return B.toUpperCase()})});a("5db7"),a("73d9");var me=["Start","Add","Remove","Update","End"],K=["Choose","Unchoose","Sort","Filter","Clone"],re=["Move"],oe=[re,me,K].flatMap(function(R){return R}).map(function(R){return"on".concat(R)}),Fe={manage:re,manageAndEmit:me,emit:K};function at(R){return oe.indexOf(R)!==-1}a("caad"),a("2ca0");var Ge=["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 je(R){return Ge.includes(R)}function ut(R){return["transition-group","TransitionGroup"].includes(R)}function ft(R){return["id","class","role","style"].includes(R)||R.startsWith("data-")||R.startsWith("aria-")||R.startsWith("on")}function pt(R){return R.reduce(function(N,B){var ne=C(B,2),ye=ne[0],Ae=ne[1];return N[ye]=Ae,N},{})}function Ne(R){var N=R.$attrs,B=R.componentData,ne=B===void 0?{}:B,ye=pt(Object.entries(N).filter(function(Ae){var Se=C(Ae,2),Ve=Se[0];return Se[1],ft(Ve)}));return f(f({},ye),ne)}function j(R){var N=R.$attrs,B=R.callBackBuilder,ne=pt(ue(N));Object.entries(B).forEach(function(Ae){var Se=C(Ae,2),Ve=Se[0],yt=Se[1];Fe[Ve].forEach(function(Ie){ne["on".concat(Ie)]=yt(Ie)})});var ye="[data-draggable]".concat(ne.draggable||"");return f(f({},ne),{},{draggable:ye})}function ue(R){return Object.entries(R).filter(function(N){var B=C(N,2),ne=B[0];return B[1],!ft(ne)}).map(function(N){var B=C(N,2),ne=B[0],ye=B[1];return[Q(ne),ye]}).filter(function(N){var B=C(N,2),ne=B[0];return B[1],!at(ne)})}a("c740");function se(R,N){if(!(R instanceof N))throw new TypeError("Cannot call a class as a function")}function ve(R,N){for(var B=0;B<N.length;B++){var ne=N[B];ne.enumerable=ne.enumerable||!1,ne.configurable=!0,"value"in ne&&(ne.writable=!0),Object.defineProperty(R,ne.key,ne)}}function Be(R,N,B){return N&&ve(R.prototype,N),B&&ve(R,B),R}var T=function(N){var B=N.el;return B},O=function(N,B){return N.__draggable_context=B},I=function(N){return N.__draggable_context},G=function(){function R(N){var B=N.nodes,ne=B.header,ye=B.default,Ae=B.footer,Se=N.root,Ve=N.realList;se(this,R),this.defaultNodes=ye,this.children=[].concat(A(ne),A(ye),A(Ae)),this.externalComponent=Se.externalComponent,this.rootTransition=Se.transition,this.tag=Se.tag,this.realList=Ve}return Be(R,[{key:"render",value:function(B,ne){var ye=this.tag,Ae=this.children,Se=this._isRootComponent,Ve=Se?{default:function(){return Ae}}:Ae;return B(ye,ne,Ve)}},{key:"updated",value:function(){var B=this.defaultNodes,ne=this.realList;B.forEach(function(ye,Ae){O(T(ye),{element:ne[Ae],index:Ae})})}},{key:"getUnderlyingVm",value:function(B){return I(B)}},{key:"getVmIndexFromDomIndex",value:function(B,ne){var ye=this.defaultNodes,Ae=ye.length,Se=ne.children,Ve=Se.item(B);if(Ve===null)return Ae;var yt=I(Ve);if(yt)return yt.index;if(Ae===0)return 0;var Ie=T(ye[0]),xe=A(Se).findIndex(function(Te){return Te===Ie});return B<xe?0:Ae}},{key:"_isRootComponent",get:function(){return this.externalComponent||this.rootTransition}}]),R}(),Y=a("8bbf");function X(R,N){var B=R[N];return B?B():[]}function de(R){var N=R.$slots,B=R.realList,ne=R.getKey,ye=B||[],Ae=["header","footer"].map(function(Te){return X(N,Te)}),Se=C(Ae,2),Ve=Se[0],yt=Se[1],Ie=N.item;if(!Ie)throw new Error("draggable element must have an item slot");var xe=ye.flatMap(function(Te,Ze){return Ie({element:Te,index:Ze}).map(function(et){return et.key=ne(Te),et.props=f(f({},et.props||{}),{},{"data-draggable":!0}),et})});if(xe.length!==ye.length)throw new Error("Item slot must have only one child");return{header:Ve,footer:yt,default:xe}}function ie(R){var N=ut(R),B=!je(R)&&!N;return{transition:N,externalComponent:B,tag:B?Object(Y.resolveComponent)(R):N?Y.TransitionGroup:R}}function ae(R){var N=R.$slots,B=R.tag,ne=R.realList,ye=R.getKey,Ae=de({$slots:N,realList:ne,getKey:ye}),Se=ie(B);return new G({nodes:Ae,root:Se,realList:ne})}function ee(R,N){var B=this;Object(Y.nextTick)(function(){return B.$emit(R.toLowerCase(),N)})}function ze(R){var N=this;return function(B,ne){if(N.realList!==null)return N["onDrag".concat(R)](B,ne)}}function le(R){var N=this,B=ze.call(this,R);return function(ne,ye){B.call(N,ne,ye),ee.call(N,R,ne)}}var L=null,q={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(N){return N}},tag:{type:String,default:"div"},move:{type:Function,default:null},componentData:{type:Object,required:!1,default:null}},_e=["update:modelValue","change"].concat(A([].concat(A(Fe.manageAndEmit),A(Fe.emit)).map(function(R){return R.toLowerCase()}))),$e=Object(Y.defineComponent)({name:"draggable",inheritAttrs:!1,props:q,emits:_e,data:function(){return{error:!1}},render:function(){try{this.error=!1;var N=this.$slots,B=this.$attrs,ne=this.tag,ye=this.componentData,Ae=this.realList,Se=this.getKey,Ve=ae({$slots:N,tag:ne,realList:Ae,getKey:Se});this.componentStructure=Ve;var yt=Ne({$attrs:B,componentData:ye});return Ve.render(Y.h,yt)}catch(Ie){return this.error=!0,Object(Y.h)("pre",{style:{color:"red"}},Ie.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 N=this;if(!this.error){var B=this.$attrs,ne=this.$el,ye=this.componentStructure;ye.updated();var Ae=j({$attrs:B,callBackBuilder:{manageAndEmit:function(yt){return le.call(N,yt)},emit:function(yt){return ee.bind(N,yt)},manage:function(yt){return ze.call(N,yt)}}}),Se=ne.nodeType===1?ne:ne.parentElement;this._sortable=new F.a(Se,Ae),this.targetDomElement=Se,Se.__draggable_component__=this}},updated:function(){this.componentStructure.updated()},beforeUnmount:function(){this._sortable!==void 0&&this._sortable.destroy()},computed:{realList:function(){var N=this.list;return N||this.modelValue},getKey:function(){var N=this.itemKey;return typeof N=="function"?N:function(B){return B[N]}}},watch:{$attrs:{handler:function(N){var B=this._sortable;B&&ue(N).forEach(function(ne){var ye=C(ne,2),Ae=ye[0],Se=ye[1];B.option(Ae,Se)})},deep:!0}},methods:{getUnderlyingVm:function(N){return this.componentStructure.getUnderlyingVm(N)||null},getUnderlyingPotencialDraggableComponent:function(N){return N.__draggable_component__},emitChanges:function(N){var B=this;Object(Y.nextTick)(function(){return B.$emit("change",N)})},alterList:function(N){if(this.list){N(this.list);return}var B=A(this.modelValue);N(B),this.$emit("update:modelValue",B)},spliceList:function(){var N=arguments,B=function(ye){return ye.splice.apply(ye,A(N))};this.alterList(B)},updatePosition:function(N,B){var ne=function(Ae){return Ae.splice(B,0,Ae.splice(N,1)[0])};this.alterList(ne)},getRelatedContextFromMoveEvent:function(N){var B=N.to,ne=N.related,ye=this.getUnderlyingPotencialDraggableComponent(B);if(!ye)return{component:ye};var Ae=ye.realList,Se={list:Ae,component:ye};if(B!==ne&&Ae){var Ve=ye.getUnderlyingVm(ne)||{};return f(f({},Ve),Se)}return Se},getVmIndexFromDomIndex:function(N){return this.componentStructure.getVmIndexFromDomIndex(N,this.targetDomElement)},onDragStart:function(N){this.context=this.getUnderlyingVm(N.item),N.item._underlying_vm_=this.clone(this.context.element),L=N.item},onDragAdd:function(N){var B=N.item._underlying_vm_;if(B!==void 0){P(N.item);var ne=this.getVmIndexFromDomIndex(N.newIndex);this.spliceList(ne,0,B);var ye={element:B,newIndex:ne};this.emitChanges({added:ye})}},onDragRemove:function(N){if(M(this.$el,N.item,N.oldIndex),N.pullMode==="clone"){P(N.clone);return}var B=this.context,ne=B.index,ye=B.element;this.spliceList(ne,1);var Ae={element:ye,oldIndex:ne};this.emitChanges({removed:Ae})},onDragUpdate:function(N){P(N.item),M(N.from,N.item,N.oldIndex);var B=this.context.index,ne=this.getVmIndexFromDomIndex(N.newIndex);this.updatePosition(B,ne);var ye={element:this.context.element,oldIndex:B,newIndex:ne};this.emitChanges({moved:ye})},computeFutureIndex:function(N,B){if(!N.element)return 0;var ne=A(B.to.children).filter(function(Ve){return Ve.style.display!=="none"}),ye=ne.indexOf(B.related),Ae=N.component.getVmIndexFromDomIndex(ye),Se=ne.indexOf(L)!==-1;return Se||!B.willInsertAfter?Ae:Ae+1},onDragMove:function(N,B){var ne=this.move,ye=this.realList;if(!ne||!ye)return!0;var Ae=this.getRelatedContextFromMoveEvent(N),Se=this.computeFutureIndex(Ae,N),Ve=f(f({},this.context),{},{futureIndex:Se}),yt=f(f({},N),{},{relatedContext:Ae,draggedContext:Ve});return ne(yt,B)},onDragEnd:function(){L=null}}}),Me=$e;o.default=Me},fb6a:function(s,o,a){var i=a("23e7"),l=a("861d"),c=a("e8b5"),m=a("23cb"),d=a("50c4"),f=a("fc6a"),p=a("8418"),h=a("b622"),_=a("1dde"),b=a("ae40"),w=_("slice"),C=b("slice",{ACCESSORS:!0,0:0,1:2}),z=h("species"),v=[].slice,S=Math.max;i({target:"Array",proto:!0,forced:!w||!C},{slice:function(D,F){var P=f(this),M=d(P.length),Z=m(D,M),W=m(F===void 0?M:F,M),U,Q,me;if(c(P)&&(U=P.constructor,typeof U=="function"&&(U===Array||c(U.prototype))?U=void 0:l(U)&&(U=U[z],U===null&&(U=void 0)),U===Array||U===void 0))return v.call(P,Z,W);for(Q=new(U===void 0?Array:U)(S(W-Z,0)),me=0;Z<W;Z++,me++)Z in P&&p(Q,me,P[Z]);return Q.length=me,Q}})},fc6a:function(s,o,a){var i=a("44ad"),l=a("1d80");s.exports=function(c){return i(l(c))}},fdbc:function(s,o){s.exports={CSSRuleList:0,CSSStyleDeclaration:0,CSSValueList:0,ClientRectList:0,DOMRectList:0,DOMStringList:0,DOMTokenList:1,DataTransferItemList:0,FileList:0,HTMLAllCollection:0,HTMLCollection:0,HTMLFormElement:0,HTMLSelectElement:0,MediaList:0,MimeTypeArray:0,NamedNodeMap:0,NodeList:1,PaintRequestList:0,Plugin:0,PluginArray:0,SVGLengthList:0,SVGNumberList:0,SVGPathSegList:0,SVGPointList:0,SVGStringList:0,SVGTransformList:0,SourceBufferList:0,StyleSheetList:0,TextTrackCueList:0,TextTrackList:0,TouchList:0}},fdbf:function(s,o,a){var i=a("4930");s.exports=i&&!Symbol.sham&&typeof Symbol.iterator=="symbol"}}).default})})(W1);var Xj=W1.exports;const Qj=Fa(Xj),eq={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(){H.player_play({item_id:this.item.id})}}},tq={key:0,class:"media is-align-items-center"},nq={key:0,class:"media-left"},rq=["textContent"],sq=["textContent"],oq=["textContent"],aq={class:"media-right"};function iq(e,t,n,r,s,o){const a=E("mdicon");return o.is_next||!n.show_only_next_items?(k(),$("div",tq,[n.edit_mode?(k(),$("div",nq,[y(a,{class:"icon has-text-grey fd-is-movable handle",name:"drag-horizontal",size:"16"})])):V("",!0),u("div",{class:"media-content is-clickable is-clipped",onClick:t[0]||(t[0]=(...i)=>o.play&&o.play(...i))},[u("h1",{class:Ee(["title is-6",{"has-text-primary":n.item.id===o.state.item_id,"has-text-grey-light":!o.is_next}]),textContent:g(n.item.title)},null,10,rq),u("h2",{class:Ee(["subtitle is-7 has-text-weight-bold",{"has-text-primary":n.item.id===o.state.item_id,"has-text-grey-light":!o.is_next,"has-text-grey":o.is_next&&n.item.id!==o.state.item_id}]),textContent:g(n.item.artist)},null,10,sq),u("h2",{class:Ee(["subtitle is-7",{"has-text-primary":n.item.id===o.state.item_id,"has-text-grey-light":!o.is_next,"has-text-grey":o.is_next&&n.item.id!==o.state.item_id}]),textContent:g(n.item.album)},null,10,oq)]),u("div",aq,[st(e.$slots,"actions")])])):V("",!0)}const lq=te(eq,[["render",iq]]),uq={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,H.queue_add(this.url).then(()=>{this.$emit("close"),this.url=""}).catch(()=>{this.loading=!1})},play(){this.loading=!0,H.player_play_uri(this.url,!1).then(()=>{this.$emit("close"),this.url=""}).catch(()=>{this.loading=!1})}}},cq={key:0,class:"modal is-active"},dq={class:"modal-content fd-modal-card"},mq={class:"card-content"},fq=["textContent"],pq={class:"field"},hq={class:"control is-expanded has-icons-left"},_q=["placeholder","disabled"],gq={key:0,class:"card-footer"},yq={class:"card-footer-item has-text-dark"},vq=["textContent"],bq={key:1,class:"card-footer is-clipped"},zq=["textContent"],Cq=["textContent"],wq=["textContent"];function kq(e,t,n,r,s,o){const a=E("mdicon");return k(),$("div",null,[y(Ft,{name:"fade"},{default:x(()=>[n.show?(k(),$("div",cq,[u("div",{class:"modal-background",onClick:t[0]||(t[0]=i=>e.$emit("close"))}),u("div",dq,[u("form",{class:"card",onSubmit:t[5]||(t[5]=nt((...i)=>o.play&&o.play(...i),["prevent"]))},[u("div",mq,[u("p",{class:"title is-4",textContent:g(e.$t("dialog.add.stream.title"))},null,8,fq),u("div",pq,[u("p",hq,[gt(u("input",{ref:"url_field","onUpdate:modelValue":t[1]||(t[1]=i=>s.url=i),class:"input is-shadowless",type:"url",pattern:"http[s]?://.*",required:"",placeholder:e.$t("dialog.add.stream.placeholder"),disabled:s.loading},null,8,_q),[[fn,s.url]]),y(a,{class:"icon is-left",name:"web",size:"16"})])])]),s.loading?(k(),$("footer",gq,[u("a",yq,[y(a,{class:"icon",name:"web",size:"16"}),u("span",{class:"is-size-7",textContent:g(e.$t("dialog.add.stream.loading"))},null,8,vq)])])):(k(),$("footer",bq,[u("a",{class:"card-footer-item has-text-dark",onClick:t[2]||(t[2]=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,zq)]),u("a",{class:"card-footer-item has-text-dark",onClick:t[3]||(t[3]=(...i)=>o.add_stream&&o.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,Cq)]),u("a",{class:"card-footer-item has-background-info has-text-white has-text-weight-bold",onClick:t[4]||(t[4]=(...i)=>o.play&&o.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,wq)])]))],32)]),u("button",{class:"modal-close is-large","aria-label":"close",onClick:t[6]||(t[6]=i=>e.$emit("close"))})])):V("",!0)]),_:1})])}const xq=te(uq,[["render",kq]]),Eq={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,H.queue_save_playlist(this.playlist_name).then(()=>{this.$emit("close"),this.playlist_name=""}).catch(()=>{this.loading=!1}))}}},Sq={key:0,class:"modal is-active"},$q={class:"modal-content fd-modal-card"},Aq={class:"card"},Tq={class:"card-content"},Oq=["textContent"],Dq={class:"field"},Pq={class:"control is-expanded has-icons-left"},Iq=["placeholder","disabled"],Fq={key:0,class:"card-footer"},Rq={class:"card-footer-item has-text-dark"},Lq=["textContent"],Nq={key:1,class:"card-footer is-clipped"},Mq=["textContent"],Vq=["textContent"];function Hq(e,t,n,r,s,o){const a=E("mdicon");return k(),$("div",null,[y(Ft,{name:"fade"},{default:x(()=>[n.show?(k(),$("div",Sq,[u("div",{class:"modal-background",onClick:t[0]||(t[0]=i=>e.$emit("close"))}),u("div",$q,[u("div",Aq,[u("div",Tq,[u("p",{class:"title is-4",textContent:g(e.$t("dialog.playlist.save.title"))},null,8,Oq),u("form",{class:"mb-5",onSubmit:t[2]||(t[2]=nt((...i)=>o.save&&o.save(...i),["prevent"]))},[u("div",Dq,[u("p",Pq,[gt(u("input",{ref:"playlist_name_field","onUpdate:modelValue":t[1]||(t[1]=i=>s.playlist_name=i),class:"input is-shadowless",type:"text",placeholder:e.$t("dialog.playlist.save.playlist-name"),disabled:s.loading},null,8,Iq),[[fn,s.playlist_name]]),y(a,{class:"icon is-left",name:"file-music",size:"16"})])])],32)]),s.loading?(k(),$("footer",Fq,[u("a",Rq,[y(a,{class:"icon",name:"web",size:"16"}),u("span",{class:"is-size-7",textContent:g(e.$t("dialog.playlist.save.saving"))},null,8,Lq)])])):(k(),$("footer",Nq,[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,Mq)]),u("a",{class:"card-footer-item has-background-info has-text-white has-text-weight-bold",onClick:t[4]||(t[4]=(...i)=>o.save&&o.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,Vq)])]))])]),u("button",{class:"modal-close is-large","aria-label":"close",onClick:t[5]||(t[5]=i=>e.$emit("close"))})])):V("",!0)]),_:1})])}const Bq=te(Eq,[["render",Hq]]),Uq={name:"PageQueue",components:{ContentWithHeading:Qe,draggable:Qj,ListItemQueueItem:lq,ModalDialogAddUrlStream:xq,ModalDialogPlaylistSave:Bq,ModalDialogQueueItem:q1},data(){return{edit_mode:!1,show_details_modal:!1,show_url_modal:!1,show_pls_save_modal:!1,selected_item:{}}},computed:{current_position(){const e=this.$store.getters.now_playing;return e===void 0||e.position===void 0?-1:this.$store.getters.now_playing.position},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){}},show_only_next_items(){return this.$store.state.show_only_next_items},state(){return this.$store.state.player}},methods:{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&&H.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},queue_clear(){H.queue_clear()},remove(e){H.queue_remove(e.id)},update_show_next_items(e){this.$store.commit(r_,!this.show_only_next_items)},save_dialog(){this.queue_items.length>0&&(this.show_pls_save_modal=!0)}}},jq=["textContent"],qq=["textContent"],Wq={class:"buttons is-centered"},Kq=["textContent"],Gq=["textContent"],Zq=["disabled"],Yq=["textContent"],Jq=["disabled"],Xq=["textContent"],Qq=["disabled"],eW=["textContent"],tW=["onClick"],nW=["onClick"];function rW(e,t,n,r,s,o){const a=E("mdicon"),i=E("list-item-queue-item"),l=E("draggable"),c=E("modal-dialog-queue-item"),m=E("modal-dialog-add-url-stream"),d=E("modal-dialog-playlist-save"),f=E("content-with-heading");return k(),$("div",null,[y(f,null,{"heading-left":x(()=>[u("p",{class:"title is-4",textContent:g(e.$t("page.queue.title"))},null,8,jq),u("p",{class:"heading",textContent:g(e.$t("page.queue.count",{count:o.queue.count}))},null,8,qq)]),"heading-right":x(()=>[u("div",Wq,[u("button",{class:Ee(["button is-small",{"is-info":o.show_only_next_items}]),onClick:t[0]||(t[0]=(...p)=>o.update_show_next_items&&o.update_show_next_items(...p))},[y(a,{class:"icon",name:"arrow-collapse-down",size:"16"}),u("span",{textContent:g(e.$t("page.queue.hide-previous"))},null,8,Kq)],2),u("button",{class:"button is-small",onClick:t[1]||(t[1]=(...p)=>o.open_add_stream_dialog&&o.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,Gq)]),u("button",{class:Ee(["button is-small",{"is-info":s.edit_mode}]),disabled:o.queue_items.length===0,onClick:t[2]||(t[2]=p=>s.edit_mode=!s.edit_mode)},[y(a,{class:"icon",name:"pencil",size:"16"}),u("span",{textContent:g(e.$t("page.queue.edit"))},null,8,Yq)],10,Zq),u("button",{class:"button is-small",disabled:o.queue_items.length===0,onClick:t[3]||(t[3]=(...p)=>o.queue_clear&&o.queue_clear(...p))},[y(a,{class:"icon",name:"delete-empty",size:"16"}),u("span",{textContent:g(e.$t("page.queue.clear"))},null,8,Xq)],8,Jq),o.is_queue_save_allowed?(k(),$("button",{key:0,class:"button is-small",disabled:o.queue_items.length===0,onClick:t[4]||(t[4]=(...p)=>o.save_dialog&&o.save_dialog(...p))},[y(a,{class:"icon",name:"content-save",size:"16"}),u("span",{textContent:g(e.$t("page.queue.save"))},null,8,eW)],8,Qq)):V("",!0)])]),content:x(()=>[y(l,{modelValue:o.queue_items,"onUpdate:modelValue":t[5]||(t[5]=p=>o.queue_items=p),handle:".handle","item-key":"id",onEnd:o.move_item},{item:x(({element:p,index:h})=>[y(i,{item:p,position:h,current_position:o.current_position,show_only_next_items:o.show_only_next_items,edit_mode:s.edit_mode},{actions:x(()=>[s.edit_mode?V("",!0):(k(),$("a",{key:0,onClick:nt(_=>o.open_dialog(p),["prevent","stop"])},[y(a,{class:"icon has-text-dark",name:"dots-vertical",size:"16"})],8,tW)),p.id!==o.state.item_id&&s.edit_mode?(k(),$("a",{key:1,onClick:nt(_=>o.remove(p),["prevent","stop"])},[y(a,{class:"icon has-text-grey",name:"delete",size:"18"})],8,nW)):V("",!0)]),_:2},1032,["item","position","current_position","show_only_next_items","edit_mode"])]),_:1},8,["modelValue","onEnd"]),y(c,{show:s.show_details_modal,item:s.selected_item,onClose:t[6]||(t[6]=p=>s.show_details_modal=!1)},null,8,["show","item"]),y(m,{show:s.show_url_modal,onClose:t[7]||(t[7]=p=>s.show_url_modal=!1)},null,8,["show"]),o.is_queue_save_allowed?(k(),he(d,{key:0,show:s.show_pls_save_modal,onClose:t[8]||(t[8]=p=>s.show_pls_save_modal=!1)},null,8,["show"])):V("",!0)]),_:1})])}const sW=te(Uq,[["render",rW]]),oW={name:"ContentText"},aW={class:"section py-3"},iW={class:"container"},lW={class:"columns is-centered"},uW={class:"column is-four-fifths"};function cW(e,t,n,r,s,o){return k(),$("section",aW,[u("div",iW,[u("div",lW,[u("div",uW,[st(e.$slots,"content")])])])])}const sb=te(oW,[["render",cW]]),dW={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(dc,"library"),this.$router.push({name:"search-library",query:this.route_query})},search_spotify(){this.$store.commit(dc,"spotify"),this.$router.push({name:"search-spotify",query:this.route_query})}}},mW={key:0,class:"section"},fW={class:"container"},pW={class:"columns is-centered"},hW={class:"column is-four-fifths"},_W={class:"tabs is-centered is-small is-toggle is-toggle-rounded"},gW=["textContent"],yW=["textContent"];function vW(e,t,n,r,s,o){const a=E("mdicon");return o.spotify_enabled?(k(),$("section",mW,[u("div",fW,[u("div",pW,[u("div",hW,[u("div",_W,[u("ul",null,[u("li",{class:Ee({"is-active":e.$store.state.search_source==="library"})},[u("a",{onClick:t[0]||(t[0]=(...i)=>o.search_library&&o.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,gW)])],2),u("li",{class:Ee({"is-active":e.$store.state.search_source==="spotify"})},[u("a",{onClick:t[1]||(t[1]=(...i)=>o.search_spotify&&o.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,yW)])],2)])])])])])])):V("",!0)}const ob=te(dW,[["render",vW]]),bW={name:"PageSearchLibrary",components:{ContentText:sb,ContentWithHeading:Qe,ListAlbums:cr,ListArtists:Pm,ListComposers:B1,ListPlaylists:Nm,ListTracks:Cn,TabsSearch:ob},data(){return{albums:new ge,artists:new ge,audiobooks:new ge,composers:new ge,playlists:new ge,podcasts:new ge,search_query:"",tracks:new ge}},computed:{recent_searches(){return this.$store.state.recent_searches},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_all_artists_button(){return this.artists.total>this.artists.items.length},show_all_audiobooks_button(){return this.audiobooks.total>this.audiobooks.items.length},show_all_composers_button(){return this.composers.total>this.composers.items.length},show_all_playlists_button(){return this.playlists.total>this.playlists.items.length},show_all_podcasts_button(){return this.podcasts.total>this.podcasts.items.length},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_audiobooks(){return this.$route.query.type&&this.$route.query.type.includes("audiobook")},show_composers(){return this.$route.query.type&&this.$route.query.type.includes("composer")},show_playlists(){return this.$route.query.type&&this.$route.query.type.includes("playlist")},show_podcasts(){return this.$route.query.type&&this.$route.query.type.includes("podcast")},show_tracks(){return this.$route.query.type&&this.$route.query.type.includes("track")}},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(yd,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:/u,"").trim():t.query=e.query,e.limit&&(t.limit=e.limit,t.offset=e.offset),H.search(t).then(({data:n})=>{this.tracks=new ge(n.tracks),this.artists=new ge(n.artists),this.albums=new ge(n.albums),this.composers=new ge(n.composers),this.playlists=new ge(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:/u,"").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),H.search(t).then(({data:n})=>{this.audiobooks=new ge(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:/u,"").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),H.search(t).then(({data:n})=>{this.podcasts=new ge(n.albums)})},new_search(){this.search_query&&(this.$router.push({name:"search-library",query:{limit:3,offset:0,query:this.search_query,type:"track,artist,album,playlist,audiobook,podcast,composer"}}),this.$refs.search_field.blur())},open_search_tracks(){this.$router.push({name:"search-library",query:{query:this.$route.query.query,type:"track"}})},open_search_artists(){this.$router.push({name:"search-library",query:{query:this.$route.query.query,type:"artist"}})},open_search_albums(){this.$router.push({name:"search-library",query:{query:this.$route.query.query,type:"album"}})},open_search_composers(){this.$router.push({name:"search-library",query:{query:this.$route.query.query,type:"tracks"}})},open_search_playlists(){this.$router.push({name:"search-library",query:{query:this.$route.query.query,type:"playlist"}})},open_search_audiobooks(){this.$router.push({name:"search-library",query:{query:this.$route.query.query,type:"audiobook"}})},open_search_podcasts(){this.$router.push({name:"search-library",query:{query:this.$route.query.query,type:"podcast"}})},open_composer(e){this.$router.push({name:"music-composer-albums",params:{name:e.name}})},open_playlist(e){this.$router.push({name:"playlist",params:{id:e.id}})},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}}},zW={class:"section pb-0"},CW={class:"container"},wW={class:"columns is-centered"},kW={class:"column is-four-fifths"},xW={class:"field"},EW={class:"control is-expanded has-icons-left"},SW=["placeholder"],$W=u("code",null,"query:",-1),AW=["textContent"],TW={class:"tags mt-4"},OW=["onClick","textContent"],DW=["textContent"],PW={key:0,class:"level"},IW={class:"level-item"},FW=["textContent"],RW=["textContent"],LW=["textContent"],NW={key:0,class:"level"},MW={class:"level-item"},VW=["textContent"],HW=["textContent"],BW=["textContent"],UW={key:0,class:"level"},jW={class:"level-item"},qW=["textContent"],WW=["textContent"],KW=["textContent"],GW={key:0,class:"level"},ZW={class:"level-item"},YW=["textContent"],JW=["textContent"],XW=["textContent"],QW={key:0,class:"level"},eK={class:"level-item"},tK=["textContent"],nK=["textContent"],rK=["textContent"],sK={key:0,class:"level"},oK={class:"level-item"},aK=["textContent"],iK=["textContent"],lK=["textContent"],uK={key:0,class:"level"},cK={class:"level-item"},dK=["textContent"],mK=["textContent"];function fK(e,t,n,r,s,o){const a=E("mdicon"),i=E("i18n-t"),l=E("tabs-search"),c=E("list-tracks"),m=E("content-with-heading"),d=E("content-text"),f=E("list-artists"),p=E("list-albums"),h=E("list-composers"),_=E("list-playlists");return k(),$("div",null,[u("section",zW,[u("div",CW,[u("div",wW,[u("div",kW,[u("form",{onSubmit:t[1]||(t[1]=nt((...b)=>o.new_search&&o.new_search(...b),["prevent"]))},[u("div",xW,[u("p",EW,[gt(u("input",{ref:"search_field","onUpdate:modelValue":t[0]||(t[0]=b=>s.search_query=b),class:"input is-rounded is-shadowless",type:"text",placeholder:e.$t("page.search.placeholder"),autocomplete:"off"},null,8,SW),[[fn,s.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:x(()=>[$W]),help:x(()=>[u("a",{href:"https://owntone.github.io/owntone-server/smart-playlists/",target:"_blank",textContent:g(e.$t("page.search.expression"))},null,8,AW)]),_:1})])],32),u("div",TW,[(k(!0),$(we,null,lt(o.recent_searches,b=>(k(),$("a",{key:b,class:"tag",onClick:w=>o.open_recent_search(b),textContent:g(b)},null,8,OW))),128))])])])])]),y(l,{query:s.search_query},null,8,["query"]),o.show_tracks&&s.tracks.total?(k(),he(m,{key:0,class:"pt-0"},{"heading-left":x(()=>[u("p",{class:"title is-4",textContent:g(e.$t("page.search.tracks"))},null,8,DW)]),content:x(()=>[y(c,{tracks:s.tracks},null,8,["tracks"])]),footer:x(()=>[o.show_all_tracks_button?(k(),$("nav",PW,[u("p",IW,[u("a",{class:"button is-light is-small is-rounded",onClick:t[2]||(t[2]=(...b)=>o.open_search_tracks&&o.open_search_tracks(...b)),textContent:g(e.$t("page.search.show-tracks",s.tracks.total,{count:e.$filters.number(s.tracks.total)}))},null,8,FW)])])):V("",!0)]),_:1})):V("",!0),o.show_tracks&&!s.tracks.total?(k(),he(d,{key:1,class:"pt-0"},{content:x(()=>[u("p",null,[u("i",{textContent:g(e.$t("page.search.no-tracks"))},null,8,RW)])]),_:1})):V("",!0),o.show_artists&&s.artists.total?(k(),he(m,{key:2},{"heading-left":x(()=>[u("p",{class:"title is-4",textContent:g(e.$t("page.search.artists"))},null,8,LW)]),content:x(()=>[y(f,{artists:s.artists,hide_group_title:!0},null,8,["artists"])]),footer:x(()=>[o.show_all_artists_button?(k(),$("nav",NW,[u("p",MW,[u("a",{class:"button is-light is-small is-rounded",onClick:t[3]||(t[3]=(...b)=>o.open_search_artists&&o.open_search_artists(...b)),textContent:g(e.$t("page.search.show-artists",s.artists.total,{count:e.$filters.number(s.artists.total)}))},null,8,VW)])])):V("",!0)]),_:1})):V("",!0),o.show_artists&&!s.artists.total?(k(),he(d,{key:3},{content:x(()=>[u("p",null,[u("i",{textContent:g(e.$t("page.search.no-artists"))},null,8,HW)])]),_:1})):V("",!0),o.show_albums&&s.albums.total?(k(),he(m,{key:4},{"heading-left":x(()=>[u("p",{class:"title is-4",textContent:g(e.$t("page.search.albums"))},null,8,BW)]),content:x(()=>[y(p,{albums:s.albums,hide_group_title:!0},null,8,["albums"])]),footer:x(()=>[o.show_all_albums_button?(k(),$("nav",UW,[u("p",jW,[u("a",{class:"button is-light is-small is-rounded",onClick:t[4]||(t[4]=(...b)=>o.open_search_albums&&o.open_search_albums(...b)),textContent:g(e.$t("page.search.show-albums",s.albums.total,{count:e.$filters.number(s.albums.total)}))},null,8,qW)])])):V("",!0)]),_:1})):V("",!0),o.show_albums&&!s.albums.total?(k(),he(d,{key:5},{content:x(()=>[u("p",null,[u("i",{textContent:g(e.$t("page.search.no-albums"))},null,8,WW)])]),_:1})):V("",!0),o.show_composers&&s.composers.total?(k(),he(m,{key:6},{"heading-left":x(()=>[u("p",{class:"title is-4",textContent:g(e.$t("page.search.composers"))},null,8,KW)]),content:x(()=>[y(h,{composers:s.composers},null,8,["composers"])]),footer:x(()=>[o.show_all_composers_button?(k(),$("nav",GW,[u("p",ZW,[u("a",{class:"button is-light is-small is-rounded",onClick:t[5]||(t[5]=(...b)=>o.open_search_composers&&o.open_search_composers(...b)),textContent:g(e.$t("page.search.show-composers",s.composers.total,{count:e.$filters.number(s.composers.total)}))},null,8,YW)])])):V("",!0)]),_:1})):V("",!0),o.show_composers&&!s.composers.total?(k(),he(d,{key:7},{content:x(()=>[u("p",null,[u("i",{textContent:g(e.$t("page.search.no-composers"))},null,8,JW)])]),_:1})):V("",!0),o.show_playlists&&s.playlists.total?(k(),he(m,{key:8},{"heading-left":x(()=>[u("p",{class:"title is-4",textContent:g(e.$t("page.search.playlists"))},null,8,XW)]),content:x(()=>[y(_,{playlists:s.playlists},null,8,["playlists"])]),footer:x(()=>[o.show_all_playlists_button?(k(),$("nav",QW,[u("p",eK,[u("a",{class:"button is-light is-small is-rounded",onClick:t[6]||(t[6]=(...b)=>o.open_search_playlists&&o.open_search_playlists(...b)),textContent:g(e.$t("page.search.show-playlists",s.playlists.total,{count:e.$filters.number(s.playlists.total)}))},null,8,tK)])])):V("",!0)]),_:1})):V("",!0),o.show_playlists&&!s.playlists.total?(k(),he(d,{key:9},{content:x(()=>[u("p",null,[u("i",{textContent:g(e.$t("page.search.no-playlists"))},null,8,nK)])]),_:1})):V("",!0),o.show_podcasts&&s.podcasts.total?(k(),he(m,{key:10},{"heading-left":x(()=>[u("p",{class:"title is-4",textContent:g(e.$t("page.search.podcasts"))},null,8,rK)]),content:x(()=>[y(p,{albums:s.podcasts},null,8,["albums"])]),footer:x(()=>[o.show_all_podcasts_button?(k(),$("nav",sK,[u("p",oK,[u("a",{class:"button is-light is-small is-rounded",onClick:t[7]||(t[7]=(...b)=>o.open_search_podcasts&&o.open_search_podcasts(...b)),textContent:g(e.$t("page.search.show-podcasts",s.podcasts.total,{count:e.$filters.number(s.podcasts.total)}))},null,8,aK)])])):V("",!0)]),_:1})):V("",!0),o.show_podcasts&&!s.podcasts.total?(k(),he(d,{key:11},{content:x(()=>[u("p",null,[u("i",{textContent:g(e.$t("page.search.no-podcasts"))},null,8,iK)])]),_:1})):V("",!0),o.show_audiobooks&&s.audiobooks.total?(k(),he(m,{key:12},{"heading-left":x(()=>[u("p",{class:"title is-4",textContent:g(e.$t("page.search.audiobooks"))},null,8,lK)]),content:x(()=>[y(p,{albums:s.audiobooks},null,8,["albums"])]),footer:x(()=>[o.show_all_audiobooks_button?(k(),$("nav",uK,[u("p",cK,[u("a",{class:"button is-light is-small is-rounded",onClick:t[8]||(t[8]=(...b)=>o.open_search_audiobooks&&o.open_search_audiobooks(...b)),textContent:g(e.$t("page.search.show-audiobooks",s.audiobooks.total,{count:e.$filters.number(s.audiobooks.total)}))},null,8,dK)])])):V("",!0)]),_:1})):V("",!0),o.show_audiobooks&&!s.audiobooks.total?(k(),he(d,{key:13},{content:x(()=>[u("p",null,[u("i",{textContent:g(e.$t("page.search.no-audiobooks"))},null,8,mK)])]),_:1})):V("",!0)])}const pK=te(bW,[["render",fK]]),hK={name:"ListItemArtistSpotify",props:["artist"],methods:{open_artist(){this.$router.push({name:"music-spotify-artist",params:{id:this.artist.id}})}}},_K={class:"media is-align-items-center"},gK=["textContent"],yK={class:"media-right"};function vK(e,t,n,r,s,o){return k(),$("div",_K,[u("div",{class:"media-content is-clickable is-clipped",onClick:t[0]||(t[0]=(...a)=>o.open_artist&&o.open_artist(...a))},[u("h1",{class:"title is-6",textContent:g(n.artist.name)},null,8,gK)]),u("div",yK,[st(e.$slots,"actions")])])}const bK=te(hK,[["render",vK]]),Fo=50,zK={name:"PageSearchSpotify",components:{ContentText:sb,ContentWithHeading:Qe,CoverArtwork:Rn,ListItemAlbumSpotify:hu,ListItemArtistSpotify:bK,ListItemPlaylistSpotify:Rm,ListItemTrackSpotify:Tm,ModalDialogAlbumSpotify:Va,ModalDialogArtistSpotify:V1,ModalDialogPlaylistSpotify:_u,ModalDialogTrackSpotify:Om,TabsSearch:ob,VueEternalLoading:Dm},data(){return{albums:{items:[],total:0},artists:{items:[],total:0},playlists:{items:[],total:0},query:{},search_param:{},search_query:"",selected_album:{},selected_artist:{},selected_playlist:{},selected_track:{},show_album_details_modal:!1,show_artist_details_modal:!1,show_playlist_details_modal:!1,show_track_details_modal:!1,tracks:{items:[],total:0},validSearchTypes:["track","artist","album","playlist"]}},computed:{is_visible_artwork(){return this.$store.getters.settings_option("webinterface","show_cover_artwork_in_album_lists").value},recent_searches(){return this.$store.state.recent_searches.filter(e=>!e.startsWith("query:"))},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_all_artists_button(){return this.artists.total>this.artists.items.length},show_all_playlists_button(){return this.playlists.total>this.playlists.items.length},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_playlists(){return this.$route.query.type&&this.$route.query.type.includes("playlist")},show_tracks(){return this.$route.query.type&&this.$route.query.type.includes("track")}},watch:{$route(e,t){this.query=e.query,this.search()}},mounted(){this.query=this.$route.query,this.search()},methods:{artwork_url(e){return e.images&&e.images.length>0?e.images[0].url:""},new_search(){this.search_query&&(this.$router.push({name:"search-spotify",query:{limit:3,offset:0,query:this.search_query,type:"track,artist,album,playlist,audiobook,podcast"}}),this.$refs.search_field.blur())},open_album(e){this.$router.push({name:"music-spotify-album",params:{id:e.id}})},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_recent_search(e){this.search_query=e,this.new_search()},open_search_albums(){this.$router.push({name:"search-spotify",query:{query:this.$route.query.query,type:"album"}})},open_search_artists(){this.$router.push({name:"search-spotify",query:{query:this.$route.query.query,type:"artist"}})},open_search_playlists(){this.$router.push({name:"search-spotify",query:{query:this.$route.query.query,type:"playlist"}})},open_search_tracks(){this.$router.push({name:"search-spotify",query:{query:this.$route.query.query,type:"track"}})},open_track_dialog(e){this.selected_track=e,this.show_track_details_modal=!0},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:Fo,this.search_param.offset=this.query.offset?this.query.offset:0,this.$store.commit(yd,this.query.query),this.search_all()},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,Fo)})},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_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,Fo)})},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,Fo)})},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,Fo)})},spotify_search(){return H.spotify().then(({data:e})=>{this.search_param.market=e.webapi_country;const t=new Jn;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)})}}},CK={class:"section pb-0"},wK={class:"container"},kK={class:"columns is-centered"},xK={class:"column is-four-fifths"},EK={class:"field"},SK={class:"control is-expanded has-icons-left"},$K=["placeholder"],AK={class:"tags mt-4"},TK=["onClick","textContent"],OK=["textContent"],DK=["onClick"],PK={key:0,class:"level"},IK={class:"level-item"},FK=["textContent"],RK=["textContent"],LK=["textContent"],NK=["onClick"],MK={key:0,class:"level"},VK={class:"level-item"},HK=["textContent"],BK=["textContent"],UK=["textContent"],jK=["onClick"],qK={key:0,class:"level"},WK={class:"level-item"},KK=["textContent"],GK=["textContent"],ZK=["textContent"],YK=["onClick"],JK={key:0,class:"level"},XK={class:"level-item"},QK=["textContent"],eG=["textContent"];function tG(e,t,n,r,s,o){const a=E("mdicon"),i=E("tabs-search"),l=E("list-item-track-spotify"),c=E("VueEternalLoading"),m=E("modal-dialog-track-spotify"),d=E("content-with-heading"),f=E("content-text"),p=E("list-item-artist-spotify"),h=E("modal-dialog-artist-spotify"),_=E("cover-artwork"),b=E("list-item-album-spotify"),w=E("modal-dialog-album-spotify"),C=E("list-item-playlist-spotify"),z=E("modal-dialog-playlist-spotify");return k(),$("div",null,[u("section",CK,[u("div",wK,[u("div",kK,[u("div",xK,[u("form",{onSubmit:t[1]||(t[1]=nt((...v)=>o.new_search&&o.new_search(...v),["prevent"]))},[u("div",EK,[u("p",SK,[gt(u("input",{ref:"search_field","onUpdate:modelValue":t[0]||(t[0]=v=>s.search_query=v),class:"input is-rounded is-shadowless",type:"text",placeholder:e.$t("page.spotify.search.placeholder"),autocomplete:"off"},null,8,$K),[[fn,s.search_query]]),y(a,{class:"icon is-left",name:"magnify",size:"16"})])])],32),u("div",AK,[(k(!0),$(we,null,lt(o.recent_searches,v=>(k(),$("a",{key:v,class:"tag",onClick:S=>o.open_recent_search(v),textContent:g(v)},null,8,TK))),128))])])])])]),y(i,{query:s.search_query},null,8,["query"]),o.show_tracks&&s.tracks.total?(k(),he(d,{key:0,class:"pt-0"},{"heading-left":x(()=>[u("p",{class:"title is-4",textContent:g(e.$t("page.spotify.search.tracks"))},null,8,OK)]),content:x(()=>[(k(!0),$(we,null,lt(s.tracks.items,v=>(k(),he(l,{key:v.id,track:v,position:0,context_uri:v.uri},{actions:x(()=>[u("a",{onClick:nt(S=>o.open_track_dialog(v),["prevent","stop"])},[y(a,{class:"icon has-text-dark",name:"dots-vertical",size:"16"})],8,DK)]),_:2},1032,["track","context_uri"]))),128)),s.query.type==="track"?(k(),he(c,{key:0,load:o.search_tracks_next},{"no-more":x(()=>[_t(" . ")]),_:1},8,["load"])):V("",!0),y(m,{show:s.show_track_details_modal,track:s.selected_track,album:s.selected_track.album,onClose:t[2]||(t[2]=v=>s.show_track_details_modal=!1)},null,8,["show","track","album"])]),footer:x(()=>[o.show_all_tracks_button?(k(),$("nav",PK,[u("p",IK,[u("a",{class:"button is-light is-small is-rounded",onClick:t[3]||(t[3]=(...v)=>o.open_search_tracks&&o.open_search_tracks(...v)),textContent:g(e.$t("page.spotify.search.show-all-tracks",s.tracks.total,{count:e.$filters.number(s.tracks.total)}))},null,8,FK)])])):V("",!0)]),_:1})):V("",!0),o.show_tracks&&!s.tracks.total?(k(),he(f,{key:1,class:"pt-0"},{content:x(()=>[u("p",null,[u("i",{textContent:g(e.$t("page.spotify.search.no-tracks"))},null,8,RK)])]),_:1})):V("",!0),o.show_artists&&s.artists.total?(k(),he(d,{key:2},{"heading-left":x(()=>[u("p",{class:"title is-4",textContent:g(e.$t("page.spotify.search.artists"))},null,8,LK)]),content:x(()=>[(k(!0),$(we,null,lt(s.artists.items,v=>(k(),he(p,{key:v.id,artist:v},{actions:x(()=>[u("a",{onClick:nt(S=>o.open_artist_dialog(v),["prevent","stop"])},[y(a,{class:"icon has-text-dark",name:"dots-vertical",size:"16"})],8,NK)]),_:2},1032,["artist"]))),128)),s.query.type==="artist"?(k(),he(c,{key:0,load:o.search_artists_next},{"no-more":x(()=>[_t(" . ")]),_:1},8,["load"])):V("",!0),y(h,{show:s.show_artist_details_modal,artist:s.selected_artist,onClose:t[4]||(t[4]=v=>s.show_artist_details_modal=!1)},null,8,["show","artist"])]),footer:x(()=>[o.show_all_artists_button?(k(),$("nav",MK,[u("p",VK,[u("a",{class:"button is-light is-small is-rounded",onClick:t[5]||(t[5]=(...v)=>o.open_search_artists&&o.open_search_artists(...v)),textContent:g(e.$t("page.spotify.search.show-all-artists",s.artists.total,{count:e.$filters.number(s.artists.total)}))},null,8,HK)])])):V("",!0)]),_:1})):V("",!0),o.show_artists&&!s.artists.total?(k(),he(f,{key:3},{content:x(()=>[u("p",null,[u("i",{textContent:g(e.$t("page.spotify.search.no-artists"))},null,8,BK)])]),_:1})):V("",!0),o.show_albums&&s.albums.total?(k(),he(d,{key:4},{"heading-left":x(()=>[u("p",{class:"title is-4",textContent:g(e.$t("page.spotify.search.albums"))},null,8,UK)]),content:x(()=>[(k(!0),$(we,null,lt(s.albums.items,v=>(k(),he(b,{key:v.id,album:v,onClick:S=>o.open_album(v)},Da({actions:x(()=>[u("a",{onClick:nt(S=>o.open_album_dialog(v),["prevent","stop"])},[y(a,{class:"icon has-text-dark",name:"dots-vertical",size:"16"})],8,jK)]),_:2},[o.is_visible_artwork?{name:"artwork",fn:x(()=>[y(_,{artwork_url:o.artwork_url(v),artist:v.artist,album:v.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)),s.query.type==="album"?(k(),he(c,{key:0,load:o.search_albums_next},{"no-more":x(()=>[_t(" . ")]),_:1},8,["load"])):V("",!0),y(w,{show:s.show_album_details_modal,album:s.selected_album,onClose:t[6]||(t[6]=v=>s.show_album_details_modal=!1)},null,8,["show","album"])]),footer:x(()=>[o.show_all_albums_button?(k(),$("nav",qK,[u("p",WK,[u("a",{class:"button is-light is-small is-rounded",onClick:t[7]||(t[7]=(...v)=>o.open_search_albums&&o.open_search_albums(...v)),textContent:g(e.$t("page.spotify.search.show-all-albums",s.albums.total,{count:e.$filters.number(s.albums.total)}))},null,8,KK)])])):V("",!0)]),_:1})):V("",!0),o.show_albums&&!s.albums.total?(k(),he(f,{key:5},{content:x(()=>[u("p",null,[u("i",{textContent:g(e.$t("page.spotify.search.no-albums"))},null,8,GK)])]),_:1})):V("",!0),o.show_playlists&&s.playlists.total?(k(),he(d,{key:6},{"heading-left":x(()=>[u("p",{class:"title is-4",textContent:g(e.$t("page.spotify.search.playlists"))},null,8,ZK)]),content:x(()=>[(k(!0),$(we,null,lt(s.playlists.items,v=>(k(),he(C,{key:v.id,playlist:v},{actions:x(()=>[u("a",{onClick:nt(S=>o.open_playlist_dialog(v),["prevent","stop"])},[y(a,{class:"icon has-text-dark",name:"dots-vertical",size:"16"})],8,YK)]),_:2},1032,["playlist"]))),128)),s.query.type==="playlist"?(k(),he(c,{key:0,load:o.search_playlists_next},{"no-more":x(()=>[_t(" . ")]),_:1},8,["load"])):V("",!0),y(z,{show:s.show_playlist_details_modal,playlist:s.selected_playlist,onClose:t[8]||(t[8]=v=>s.show_playlist_details_modal=!1)},null,8,["show","playlist"])]),footer:x(()=>[o.show_all_playlists_button?(k(),$("nav",JK,[u("p",XK,[u("a",{class:"button is-light is-small is-rounded",onClick:t[9]||(t[9]=(...v)=>o.open_search_playlists&&o.open_search_playlists(...v)),textContent:g(e.$t("page.spotify.search.show-all-playlists",s.playlists.total,{count:e.$filters.number(s.playlists.total)}))},null,8,QK)])])):V("",!0)]),_:1})):V("",!0),o.show_playlists&&!s.playlists.total?(k(),he(f,{key:7},{content:x(()=>[u("p",null,[u("i",{textContent:g(e.$t("page.spotify.search.no-playlists"))},null,8,eG)])]),_:1})):V("",!0)])}const nG=te(zK,[["render",tG]]),rG={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};H.settings_update(this.category_name,e).then(()=>{this.$store.commit(Ol,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=""}}},sG={class:"field"},oG=["id"],aG=["for"],iG=["textContent"],lG={key:0,class:"help"};function uG(e,t,n,r,s,o){return k(),$("div",sG,[gt(u("input",{id:o.option.name,"onUpdate:modelValue":t[0]||(t[0]=a=>o.option.value=a),type:"checkbox",class:"switch is-rounded mr-2",onChange:t[1]||(t[1]=(...a)=>o.update_setting&&o.update_setting(...a))},null,40,oG),[[Dn,o.option.value]]),u("label",{class:"pt-0",for:o.option.name},[st(e.$slots,"label")],8,aG),u("i",{class:Ee(["is-size-7",{"has-text-info":o.is_success,"has-text-danger":o.is_error}]),textContent:g(o.info)},null,10,iG),e.$slots.info?(k(),$("p",lG,[st(e.$slots,"info")])):V("",!0)])}const ab=te(rG,[["render",uG]]),cG={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)};H.settings_update(this.category.name,t).then(()=>{this.$store.commit(Ol,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=""}}},dG=["disabled"],mG={class:"field"},fG={class:"label has-text-weight-normal"},pG=["textContent"],hG={class:"control"},_G=["placeholder","value"],gG={key:0,class:"help"};function yG(e,t,n,r,s,o){return k(),$("fieldset",{disabled:n.disabled},[u("div",mG,[u("label",fG,[st(e.$slots,"label"),u("i",{class:Ee(["is-size-7",{"has-text-info":o.is_success,"has-text-danger":o.is_error}]),textContent:g(o.info)},null,10,pG)]),u("div",hG,[u("input",{ref:"setting",class:"column input is-one-fifth",type:"number",min:"0",placeholder:n.placeholder,value:o.value,onInput:t[0]||(t[0]=(...a)=>o.set_update_timer&&o.set_update_timer(...a))},null,40,_G)]),e.$slots.info?(k(),$("p",gG,[st(e.$slots,"info")])):V("",!0)])],8,dG)}const vG=te(cG,[["render",yG]]),bG={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};H.settings_update(this.category.name,t).then(()=>{this.$store.commit(Ol,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=""}}},zG=["disabled"],CG={class:"field"},wG={class:"label has-text-weight-normal"},kG=["textContent"],xG={class:"control"},EG=["placeholder","value"],SG={key:0,class:"help"};function $G(e,t,n,r,s,o){return k(),$("fieldset",{disabled:n.disabled},[u("div",CG,[u("label",wG,[st(e.$slots,"label"),u("i",{class:Ee(["is-size-7",{"has-text-info":o.is_success,"has-text-danger":o.is_error}]),textContent:g(o.info)},null,10,kG)]),u("div",xG,[u("input",{ref:"setting",class:"input",type:"text",placeholder:n.placeholder,value:o.value,onInput:t[0]||(t[0]=(...a)=>o.set_update_timer&&o.set_update_timer(...a))},null,40,EG)]),e.$slots.info?(k(),$("p",SG,[st(e.$slots,"info")])):V("",!0)])],8,zG)}const AG=te(bG,[["render",$G]]),TG={name:"TabsSettings"},OG={class:"section fd-tabs-section"},DG={class:"container"},PG={class:"columns is-centered"},IG={class:"column is-four-fifths"},FG={class:"tabs is-centered is-small"},RG=["onClick","onKeypress"],LG=["textContent"],NG=["onClick","onKeypress"],MG=["textContent"],VG=["onClick","onKeypress"],HG=["textContent"],BG=["onClick","onKeypress"],UG=["textContent"];function jG(e,t,n,r,s,o){const a=E("router-link");return k(),$("section",OG,[u("div",DG,[u("div",PG,[u("div",IG,[u("div",FG,[u("ul",null,[y(a,{to:{name:"settings-webinterface"},custom:""},{default:x(({navigate:i,isActive:l})=>[u("li",{class:Ee({"is-active":l})},[u("a",{onClick:i,onKeypress:an(i,["enter"])},[u("span",{textContent:g(e.$t("page.settings.tabs.general"))},null,8,LG)],40,RG)],2)]),_:1}),y(a,{to:{name:"settings-remotes-outputs"},custom:""},{default:x(({navigate:i,isActive:l})=>[u("li",{class:Ee({"is-active":l})},[u("a",{onClick:i,onKeypress:an(i,["enter"])},[u("span",{textContent:g(e.$t("page.settings.tabs.remotes-and-outputs"))},null,8,MG)],40,NG)],2)]),_:1}),y(a,{to:{name:"settings-artwork"},custom:""},{default:x(({navigate:i,isActive:l})=>[u("li",{class:Ee({"is-active":l})},[u("a",{onClick:i,onKeypress:an(i,["enter"])},[u("span",{textContent:g(e.$t("page.settings.tabs.artwork"))},null,8,HG)],40,VG)],2)]),_:1}),y(a,{to:{name:"settings-online-services"},custom:""},{default:x(({navigate:i,isActive:l})=>[u("li",{class:Ee({"is-active":l})},[u("a",{onClick:i,onKeypress:an(i,["enter"])},[u("span",{textContent:g(e.$t("page.settings.tabs.online-services"))},null,8,UG)],40,BG)],2)]),_:1})])])])])])])}const yu=te(TG,[["render",jG]]),qG={name:"PageSettingsWebinterface",components:{ContentWithHeading:Qe,ControlDropdown:$s,SettingsCheckbox:ab,SettingsIntfield:vG,SettingsTextfield:AG,TabsSettings:yu},computed:{locale:{get(){const e=this.$i18n.availableLocales;let t=e.find(r=>r===this.$i18n.locale);const[n]=this.$i18n.locale.split("-");return t||(t=e.find(r=>r===n)),t||(t=e.forEach(r=>r.split("-")[0]===n)),t||(t=this.$i18n.fallbackLocale),t},set(e){this.$i18n.locale=e}},locales:{get(){return this.$i18n.availableLocales.map(e=>({id:e,name:this.$t(`language.${e}`)}))}},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}}},WG={class:"fd-page-with-tabs"},KG=["textContent"],GG=["textContent"],ZG=["textContent"],YG=["textContent"],JG=["textContent"],XG=["textContent"],QG=["textContent"],eZ=["textContent"],tZ=["textContent"],nZ=["textContent"],rZ=["textContent"],sZ=["textContent"],oZ=["textContent"],aZ=["textContent"],iZ=["textContent"],lZ=["textContent"],uZ=["textContent"],cZ=["textContent"],dZ=["textContent"],mZ=["textContent"],fZ=["textContent"],pZ=["textContent"],hZ=["textContent"];function _Z(e,t,n,r,s,o){const a=E("tabs-settings"),i=E("control-dropdown"),l=E("content-with-heading"),c=E("settings-checkbox"),m=E("settings-textfield"),d=E("settings-intfield");return k(),$("div",WG,[y(a),y(l,null,{"heading-left":x(()=>[u("div",{class:"title is-4",textContent:g(e.$t("page.settings.general.language"))},null,8,KG)]),content:x(()=>[y(i,{value:o.locale,"onUpdate:value":t[0]||(t[0]=f=>o.locale=f),options:o.locales},null,8,["value","options"])]),_:1}),y(l,null,{"heading-left":x(()=>[u("div",{class:"title is-4",textContent:g(e.$t("page.settings.general.navigation-items"))},null,8,GG)]),content:x(()=>[u("p",{class:"content",textContent:g(e.$t("page.settings.general.navigation-item-selection"))},null,8,ZG),u("div",{class:"notification is-size-7",textContent:g(e.$t("page.settings.general.navigation-item-selection-info"))},null,8,YG),y(c,{category_name:"webinterface",option_name:"show_menu_item_playlists"},{label:x(()=>[u("span",{textContent:g(e.$t("page.settings.general.playlists"))},null,8,JG)]),_:1}),y(c,{category_name:"webinterface",option_name:"show_menu_item_music"},{label:x(()=>[u("span",{textContent:g(e.$t("page.settings.general.music"))},null,8,XG)]),_:1}),y(c,{category_name:"webinterface",option_name:"show_menu_item_podcasts"},{label:x(()=>[u("span",{textContent:g(e.$t("page.settings.general.podcasts"))},null,8,QG)]),_:1}),y(c,{category_name:"webinterface",option_name:"show_menu_item_audiobooks"},{label:x(()=>[u("span",{textContent:g(e.$t("page.settings.general.audiobooks"))},null,8,eZ)]),_:1}),y(c,{category_name:"webinterface",option_name:"show_menu_item_radio"},{label:x(()=>[u("span",{textContent:g(e.$t("page.settings.general.radio"))},null,8,tZ)]),_:1}),y(c,{category_name:"webinterface",option_name:"show_menu_item_files"},{label:x(()=>[u("span",{textContent:g(e.$t("page.settings.general.files"))},null,8,nZ)]),_:1}),y(c,{category_name:"webinterface",option_name:"show_menu_item_search"},{label:x(()=>[u("span",{textContent:g(e.$t("page.settings.general.search"))},null,8,rZ)]),_:1})]),_:1}),y(l,null,{"heading-left":x(()=>[u("div",{class:"title is-4",textContent:g(e.$t("page.settings.general.album-lists"))},null,8,sZ)]),content:x(()=>[y(c,{category_name:"webinterface",option_name:"show_cover_artwork_in_album_lists"},{label:x(()=>[u("span",{textContent:g(e.$t("page.settings.general.show-coverart"))},null,8,oZ)]),_:1})]),_:1}),y(l,null,{"heading-left":x(()=>[u("div",{class:"title is-4",textContent:g(e.$t("page.settings.general.now-playing-page"))},null,8,aZ)]),content:x(()=>[y(c,{category_name:"webinterface",option_name:"show_composer_now_playing"},{label:x(()=>[u("span",{textContent:g(e.$t("page.settings.general.show-composer"))},null,8,iZ)]),info:x(()=>[u("span",{textContent:g(e.$t("page.settings.general.show-composer-info"))},null,8,lZ)]),_:1}),y(m,{category_name:"webinterface",option_name:"show_composer_for_genre",disabled:!o.settings_option_show_composer_now_playing,placeholder:e.$t("page.settings.general.genres")},{label:x(()=>[u("span",{textContent:g(e.$t("page.settings.general.show-composer-genres"))},null,8,uZ)]),info:x(()=>[u("p",{class:"help",textContent:g(e.$t("page.settings.general.show-composer-genres-info-1"))},null,8,cZ),u("p",{class:"help",textContent:g(e.$t("page.settings.general.show-composer-genres-info-2"))},null,8,dZ),u("p",{class:"help",textContent:g(e.$t("page.settings.general.show-composer-genres-info-3"))},null,8,mZ)]),_:1},8,["disabled","placeholder"]),y(c,{category_name:"webinterface",option_name:"show_filepath_now_playing"},{label:x(()=>[u("span",{textContent:g(e.$t("page.settings.general.show-path"))},null,8,fZ)]),_:1})]),_:1}),y(l,null,{"heading-left":x(()=>[u("div",{class:"title is-4",textContent:g(e.$t("page.settings.general.recently-added-page"))},null,8,pZ)]),content:x(()=>[y(d,{category_name:"webinterface",option_name:"recently_added_limit"},{label:x(()=>[u("span",{textContent:g(e.$t("page.settings.general.recently-added-page-info"))},null,8,hZ)]),_:1})]),_:1})])}const gZ=te(qG,[["render",_Z]]),yZ={name:"PageSettingsArtwork",components:{ContentWithHeading:Qe,SettingsCheckbox:ab,TabsSettings:yu},computed:{spotify(){return this.$store.state.spotify}}},vZ={class:"fd-page-with-tabs"},bZ=["textContent"],zZ=["textContent"],CZ=["textContent"],wZ=["textContent"],kZ={href:"https://www.spotify.com/",target:"_blank"},xZ={class:"icon"},EZ=["textContent"],SZ={href:"https://www.discogs.com/",target:"_blank"},$Z={class:"icon"},AZ=["textContent"],TZ={href:"https://coverartarchive.org/",target:"_blank"},OZ={class:"icon"};function DZ(e,t,n,r,s,o){const a=E("tabs-settings"),i=E("mdicon"),l=E("settings-checkbox"),c=E("content-with-heading");return k(),$("div",vZ,[y(a),y(c,null,{"heading-left":x(()=>[u("div",{class:"title is-4",textContent:g(e.$t("page.settings.artwork.artwork"))},null,8,bZ)]),content:x(()=>[u("div",{class:"content",textContent:g(e.$t("page.settings.artwork.explanation-1"))},null,8,zZ),u("div",{class:"content",textContent:g(e.$t("page.settings.artwork.explanation-2"))},null,8,CZ),o.spotify.spotify_logged_in?(k(),he(l,{key:0,category_name:"artwork",option_name:"use_artwork_source_spotify"},{label:x(()=>[u("span",{textContent:g(e.$t("page.settings.artwork.spotify"))},null,8,wZ),u("a",kZ,[u("span",xZ,[y(i,{name:"open-in-new",size:"16"})])])]),_:1})):V("",!0),y(l,{category_name:"artwork",option_name:"use_artwork_source_discogs"},{label:x(()=>[u("span",{textContent:g(e.$t("page.settings.artwork.discogs"))},null,8,EZ),u("a",SZ,[u("span",$Z,[y(i,{name:"open-in-new",size:"16"})])])]),_:1}),y(l,{category_name:"artwork",option_name:"use_artwork_source_coverartarchive"},{label:x(()=>[u("span",{textContent:g(e.$t("page.settings.artwork.coverartarchive"))},null,8,AZ),u("a",TZ,[u("span",OZ,[y(i,{name:"open-in-new",size:"16"})])])]),_:1})]),_:1})])}const PZ=te(yZ,[["render",DZ]]),IZ={name:"PageSettingsOnlineServices",components:{ContentWithHeading:Qe,TabsSettings:yu},data(){return{lastfm_login:{errors:{error:"",password:"",user:""},password:"",user:""}}},computed:{lastfm(){return this.$store.state.lastfm},spotify(){return this.$store.state.spotify},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):[]},spotify_required_scope(){return this.spotify.webapi_required_scope?this.spotify.webapi_required_scope.split(" "):[]}},methods:{login_lastfm(){H.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(){H.lastfm_logout()},logout_spotify(){H.spotify_logout()}}},FZ={class:"fd-page-with-tabs"},RZ=["textContent"],LZ={key:0,class:"notification is-size-7"},NZ=["textContent"],MZ={key:1},VZ={class:"notification is-size-7"},HZ=["textContent"],BZ={class:"mt-5"},UZ=["textContent"],jZ={key:0},qZ=["textContent"],WZ=["textContent"],KZ={key:1,class:"help is-danger"},GZ=["textContent"],ZZ=["textContent"],YZ={class:"field mt-5"},JZ={class:"control"},XZ=["href","textContent"],QZ={class:"help"},eY=["textContent"],tY=["textContent"],nY={key:2,class:"field mt-5"},rY={class:"control"},sY=["textContent"],oY=["textContent"],aY={key:0,class:"notification is-size-7"},iY=["textContent"],lY={key:1},uY=["textContent"],cY={key:0},dY=["textContent"],mY={key:1},fY={class:"field is-grouped"},pY={class:"control is-expanded"},hY=["placeholder"],_Y=["textContent"],gY={class:"control is-expanded"},yY=["placeholder"],vY=["textContent"],bY={class:"control"},zY=["textContent"],CY=["textContent"],wY=["textContent"];function kY(e,t,n,r,s,o){const a=E("tabs-settings"),i=E("content-with-heading");return k(),$("div",FZ,[y(a),y(i,null,{"heading-left":x(()=>[u("div",{class:"title is-4",textContent:g(e.$t("page.settings.services.spotify.title"))},null,8,RZ)]),content:x(()=>[o.spotify.spotify_installed?V("",!0):(k(),$("div",LZ,[u("p",{textContent:g(e.$t("page.settings.services.spotify.no-support"))},null,8,NZ)])),o.spotify.spotify_installed?(k(),$("div",MZ,[u("div",VZ,[u("span",{textContent:g(e.$t("page.settings.services.spotify.requirements"))},null,8,HZ)]),u("div",BZ,[u("p",{class:"content",textContent:g(e.$t("page.settings.services.spotify.grant-access"))},null,8,UZ),o.spotify.webapi_token_valid?(k(),$("p",jZ,[u("span",{textContent:g(e.$t("page.settings.services.spotify.user"))},null,8,qZ),u("code",{textContent:g(o.spotify.webapi_user)},null,8,WZ)])):V("",!0),o.spotify_missing_scope.length>0?(k(),$("p",KZ,[u("span",{textContent:g(e.$t("page.settings.services.spotify.reauthorize"))},null,8,GZ),u("code",{textContent:g(o.spotify_missing_scope.join())},null,8,ZZ)])):V("",!0),u("div",YZ,[u("div",JZ,[u("a",{class:Ee(["button",{"is-info":!o.spotify.webapi_token_valid||o.spotify_missing_scope.length>0}]),href:o.spotify.oauth_uri,textContent:g(e.$t("page.settings.services.spotify.authorize"))},null,10,XZ)])]),u("p",QZ,[u("span",{textContent:g(e.$t("page.settings.services.spotify.scopes"))},null,8,eY),u("code",{textContent:g(o.spotify_required_scope.join(", "))},null,8,tY)]),o.spotify.webapi_token_valid?(k(),$("div",nY,[u("div",rY,[u("a",{class:"button is-danger",onClick:t[0]||(t[0]=(...l)=>o.logout_spotify&&o.logout_spotify(...l)),textContent:g(e.$t("page.settings.services.logout"))},null,8,sY)])])):V("",!0)])])):V("",!0)]),_:1}),y(i,null,{"heading-left":x(()=>[u("div",{class:"title is-4",textContent:g(e.$t("page.settings.services.lastfm.title"))},null,8,oY)]),content:x(()=>[o.lastfm.enabled?V("",!0):(k(),$("div",aY,[u("p",{textContent:g(e.$t("page.settings.services.lastfm.no-support"))},null,8,iY)])),o.lastfm.enabled?(k(),$("div",lY,[u("p",{class:"content",textContent:g(e.$t("page.settings.services.lastfm.grant-access"))},null,8,uY),o.lastfm.scrobbling_enabled?(k(),$("div",cY,[u("a",{class:"button",onClick:t[1]||(t[1]=(...l)=>o.logoutLastfm&&o.logoutLastfm(...l)),textContent:g(e.$t("page.settings.services.lastfm.stop-scrobbling"))},null,8,dY)])):V("",!0),o.lastfm.scrobbling_enabled?V("",!0):(k(),$("div",mY,[u("form",{onSubmit:t[4]||(t[4]=nt((...l)=>o.login_lastfm&&o.login_lastfm(...l),["prevent"]))},[u("div",fY,[u("div",pY,[gt(u("input",{"onUpdate:modelValue":t[2]||(t[2]=l=>s.lastfm_login.user=l),class:"input",type:"text",placeholder:e.$t("page.settings.services.username")},null,8,hY),[[fn,s.lastfm_login.user]]),u("p",{class:"help is-danger",textContent:g(s.lastfm_login.errors.user)},null,8,_Y)]),u("div",gY,[gt(u("input",{"onUpdate:modelValue":t[3]||(t[3]=l=>s.lastfm_login.password=l),class:"input",type:"password",placeholder:e.$t("page.settings.services.password")},null,8,yY),[[fn,s.lastfm_login.password]]),u("p",{class:"help is-danger",textContent:g(s.lastfm_login.errors.password)},null,8,vY)]),u("div",bY,[u("button",{class:"button is-info",type:"submit",textContent:g(e.$t("page.settings.services.login"))},null,8,zY)])]),u("p",{class:"help is-danger",textContent:g(s.lastfm_login.errors.error)},null,8,CY),u("p",{class:"help",textContent:g(e.$t("page.settings.services.lastfm.info"))},null,8,wY)],32)]))])):V("",!0)]),_:1})])}const xY=te(IZ,[["render",kY]]),EY={name:"PageSettingsRemotesOutputs",components:{ContentWithHeading:Qe,TabsSettings:yu},data(){return{pairing_req:{pin:""},verification_req:{pin:""}}},computed:{outputs(){return this.$store.state.outputs},pairing(){return this.$store.state.pairing}},methods:{kickoff_pairing(){H.pairing_kickoff(this.pairing_req)},kickoff_verification(e){H.output_update(e,this.verification_req)},output_toggle(e){H.output_toggle(e)}}},SY={class:"fd-page-with-tabs"},$Y=["textContent"],AY={key:0,class:"notification"},TY={class:"label has-text-weight-normal"},OY=["textContent"],DY=["textContent"],PY={class:"field is-grouped"},IY={class:"control"},FY=["placeholder"],RY={class:"control"},LY=["textContent"],NY={key:1,class:"content"},MY=["textContent"],VY=["textContent"],HY=["textContent"],BY={class:"field"},UY={class:"control"},jY=["id","onUpdate:modelValue","onChange"],qY=["for","textContent"],WY=["onSubmit"],KY={class:"field is-grouped"},GY={class:"control"},ZY=["placeholder"],YY={class:"control"},JY=["textContent"];function XY(e,t,n,r,s,o){const a=E("tabs-settings"),i=E("content-with-heading");return k(),$("div",SY,[y(a),y(i,null,{"heading-left":x(()=>[u("div",{class:"title is-4",textContent:g(e.$t("page.settings.devices.pairing"))},null,8,$Y)]),content:x(()=>[o.pairing.active?(k(),$("div",AY,[u("form",{onSubmit:t[1]||(t[1]=nt((...l)=>o.kickoff_pairing&&o.kickoff_pairing(...l),["prevent"]))},[u("label",TY,[u("span",{textContent:g(e.$t("page.settings.devices.pairing-request"))},null,8,OY),u("b",{textContent:g(o.pairing.remote)},null,8,DY)]),u("div",PY,[u("div",IY,[gt(u("input",{"onUpdate:modelValue":t[0]||(t[0]=l=>s.pairing_req.pin=l),class:"input",type:"text",pattern:"[\\d]{4}",placeholder:e.$t("page.settings.devices.pairing-code")},null,8,FY),[[fn,s.pairing_req.pin]])]),u("div",RY,[u("button",{class:"button is-info",type:"submit",textContent:g(e.$t("page.settings.devices.send"))},null,8,LY)])])],32)])):V("",!0),o.pairing.active?V("",!0):(k(),$("div",NY,[u("p",{textContent:g(e.$t("page.settings.devices.no-active-pairing"))},null,8,MY)]))]),_:1}),y(i,null,{"heading-left":x(()=>[u("div",{class:"title is-4",textContent:g(e.$t("page.settings.devices.speaker-pairing"))},null,8,VY)]),content:x(()=>[u("p",{class:"content",textContent:g(e.$t("page.settings.devices.speaker-pairing-info"))},null,8,HY),(k(!0),$(we,null,lt(o.outputs,l=>(k(),$("div",{key:l.id},[u("div",BY,[u("div",UY,[gt(u("input",{id:l.id,"onUpdate:modelValue":c=>l.selected=c,type:"checkbox",class:"switch is-rounded mr-2",onChange:c=>o.output_toggle(l.id)},null,40,jY),[[Dn,l.selected]]),u("label",{for:l.id,class:"checkbox",textContent:g(l.name)},null,8,qY)])]),l.needs_auth_key?(k(),$("form",{key:0,class:"mb-5",onSubmit:nt(c=>o.kickoff_verification(l.id),["prevent"])},[u("div",KY,[u("div",GY,[gt(u("input",{"onUpdate:modelValue":t[2]||(t[2]=c=>s.verification_req.pin=c),class:"input",type:"text",pattern:"[\\d]{4}",placeholder:e.$t("page.settings.devices.verification-code")},null,8,ZY),[[fn,s.verification_req.pin]])]),u("div",YY,[u("button",{class:"button is-info",type:"submit",textContent:g(e.$t("page.settings.devices.verify"))},null,8,JY)])])],40,WY)):V("",!0)]))),128))]),_:1})])}const QY=te(EY,[["render",XY]]),Vh=140,Hh=110,ib=DO({history:GT(),routes:[{component:T3,name:"about",path:"/about"},{component:CP,meta:{show_progress:!0},name:"music-album",path:"/music/albums/:id"},{component:OI,meta:{show_progress:!0},name:"music-spotify-album",path:"/music/spotify/albums/:id"},{component:tR,meta:{has_index:!0,has_tabs:!0,show_progress:!0},name:"music-albums",path:"/music/albums"},{component:HR,meta:{has_index:!0,show_progress:!0},name:"music-artist",path:"/music/artists/:id"},{component:AL,meta:{show_progress:!0},name:"music-spotify-artist",path:"/music/spotify/artists/:id"},{component:sN,meta:{has_index:!0,has_tabs:!0,show_progress:!0},name:"music-artists",path:"/music/artists"},{component:wN,meta:{has_index:!0,show_progress:!0},name:"music-artist-tracks",path:"/music/artists/:id/tracks"},{component:DN,meta:{show_progress:!0},name:"audiobooks-album",path:"/audiobooks/albums/:id"},{component:JN,meta:{has_index:!0,has_tabs:!0,show_progress:!0},name:"audiobooks-albums",path:"/audiobooks/albums"},{component:sM,meta:{show_progress:!0},name:"audiobooks-artist",path:"/audiobooks/artists/:id"},{component:cM,meta:{has_index:!0,has_tabs:!0,show_progress:!0},name:"audiobooks-artists",path:"/audiobooks/artists"},{component:qM,meta:{has_index:!0,has_tabs:!0,show_progress:!0},name:"audiobooks-genres",path:"/audiobooks/genres"},{name:"audiobooks",path:"/audiobooks",redirect:{name:"audiobooks-artists"}},{name:"music",path:"/music",redirect:{name:"music-history"}},{component:t7,meta:{has_tabs:!0,show_progress:!0},name:"music-history",path:"/music/history"},{component:a7,meta:{has_tabs:!0,show_progress:!0},name:"music-recently-added",path:"/music/recently-added"},{component:d7,meta:{has_tabs:!0,show_progress:!0},name:"music-recently-played",path:"/music/recently-played"},{component:G7,meta:{has_tabs:!0,show_progress:!0},name:"music-spotify",path:"/music/spotify"},{component:e9,meta:{has_tabs:!0,show_progress:!0},name:"music-spotify-featured-playlists",path:"/music/spotify/featured-playlists"},{component:a9,meta:{has_tabs:!0,show_progress:!0},name:"music-spotify-new-releases",path:"/music/spotify/new-releases"},{component:I9,meta:{has_index:!0,show_progress:!0},name:"music-composer-albums",path:"/music/composers/:name/albums"},{component:K9,meta:{has_index:!0,show_progress:!0},name:"music-composer-tracks",path:"/music/composers/:name/tracks"},{component:uV,meta:{has_index:!0,has_tabs:!0,show_progress:!0},name:"music-composers",path:"/music/composers"},{component:pH,meta:{show_progress:!0},name:"files",path:"/files"},{component:kH,meta:{has_index:!0,show_progress:!0},name:"genre-albums",path:"/genres/:name/albums"},{component:LH,meta:{has_index:!0,show_progress:!0},name:"genre-tracks",path:"/genres/:name/tracks"},{component:UH,meta:{has_index:!0,has_tabs:!0,show_progress:!0},name:"music-genres",path:"/music/genres"},{component:rU,name:"now-playing",path:"/now-playing"},{name:"playlists",path:"/playlists",redirect:{name:"playlist-folder",params:{id:0}}},{component:lU,meta:{show_progress:!0},name:"playlist-folder",path:"/playlists/:id"},{component:hU,meta:{show_progress:!0},name:"playlist",path:"/playlists/:id/tracks"},{component:wU,meta:{show_progress:!0},name:"playlist-spotify",path:"/playlists/spotify/:id/tracks"},{component:FU,meta:{show_progress:!0},name:"podcast",path:"/podcasts/:id"},{component:uj,meta:{show_progress:!0},name:"podcasts",path:"/podcasts"},{component:pj,meta:{show_progress:!0},name:"radio",path:"/radio"},{component:sW,name:"queue",path:"/"},{component:pK,name:"search-library",path:"/search/library"},{component:nG,name:"search-spotify",path:"/search/spotify"},{component:gZ,name:"settings-webinterface",path:"/settings/webinterface"},{component:PZ,name:"settings-artwork",path:"/settings/artwork"},{component:xY,name:"settings-online-services",path:"/settings/online-services"},{component:QY,name:"settings-remotes-outputs",path:"/settings/remotes-outputs"}],scrollBehavior(e,t,n){if(n)return new Promise((s,o)=>{setTimeout(()=>{s(n)},0)});if(e.path===t.path&&e.hash){const s=e.meta.has_tabs?Vh:Hh;return{behavior:"smooth",el:e.hash,top:s}}return e.hash?new Promise((s,o)=>{setTimeout(()=>{s({el:e.hash,top:120})},0)}):e.meta.has_index?new Promise((s,o)=>{const a=e.meta.has_tabs?Vh:Hh;setTimeout(()=>{s({el:"#top",top:a})},0)}):{left:0,top:0}}});ib.beforeEach((e,t,n)=>{if(Ue.state.show_burger_menu){Ue.commit(Qs,!1),n(!1);return}if(Ue.state.show_player_menu){Ue.commit(eo,!1),n(!1);return}n(!0)});const lb=Lg(sA).use(Ue).use(ib).use(AT).use(hT).use(ST,{log:!1}).use(fT,{icons:oT}).use(ou);lb.config.globalProperties.$filters=sT;lb.mount("#app");