mirror of
https://github.com/owntone/owntone-server.git
synced 2024-12-27 23:55:57 -05:00
70 lines
800 KiB
JavaScript
70 lines
800 KiB
JavaScript
(function(){const t=document.createElement("link").relList;if(t&&t.supports&&t.supports("modulepreload"))return;for(const o of document.querySelectorAll('link[rel="modulepreload"]'))r(o);new MutationObserver(o=>{for(const s of o)if(s.type==="childList")for(const i of s.addedNodes)i.tagName==="LINK"&&i.rel==="modulepreload"&&r(i)}).observe(document,{childList:!0,subtree:!0});function n(o){const s={};return o.integrity&&(s.integrity=o.integrity),o.referrerPolicy&&(s.referrerPolicy=o.referrerPolicy),o.crossOrigin==="use-credentials"?s.credentials="include":o.crossOrigin==="anonymous"?s.credentials="omit":s.credentials="same-origin",s}function r(o){if(o.ep)return;o.ep=!0;const s=n(o);fetch(o.href,s)}})();const ih="UPDATE_CONFIG",ah="UPDATE_SETTINGS",lh="UPDATE_LIBRARY_STATS",ch="UPDATE_LIBRARY_RSS_COUNT",uh="UPDATE_OUTPUTS",td="UPDATE_PLAYER_STATUS",dh="UPDATE_QUEUE",nu="UPDATE_LYRICS",mh="UPDATE_LASTFM",fh="UPDATE_SPOTIFY",ph="UPDATE_PAIRING",nd="SPOTIFY_NEW_RELEASES",rd="SPOTIFY_FEATURED_PLAYLISTS",ru="SEARCH_SOURCE",hh="COMPOSER_TRACKS_SORT",_h="GENRE_TRACKS_SORT",El="HIDE_SINGLES",gi="HIDE_SPOTIFY",gh="ARTISTS_SORT",yh="ARTIST_ALBUMS_SORT",vh="ARTIST_TRACKS_SORT",bh="ALBUMS_SORT",zh="SHOW_ONLY_NEXT_ITEMS",Qo="SHOW_BURGER_MENU",es="SHOW_PLAYER_MENU",yi="SHOW_UPDATE_DIALOG",od="UPDATE_DIALOG_SCAN_KIND";/**
|
||
* @vue/shared v3.4.21
|
||
* (c) 2018-present Yuxi (Evan) You and Vue contributors
|
||
* @license MIT
|
||
**/function $l(e,t){const n=new Set(e.split(","));return t?r=>n.has(r.toLowerCase()):r=>n.has(r)}const ct={},jo=[],an=()=>{},Q1=()=>!1,vi=e=>e.charCodeAt(0)===111&&e.charCodeAt(1)===110&&(e.charCodeAt(2)>122||e.charCodeAt(2)<97),sd=e=>e.startsWith("onUpdate:"),zt=Object.assign,id=(e,t)=>{const n=e.indexOf(t);n>-1&&e.splice(n,1)},ev=Object.prototype.hasOwnProperty,nt=(e,t)=>ev.call(e,t),ze=Array.isArray,qo=e=>ds(e)==="[object Map]",zo=e=>ds(e)==="[object Set]",xm=e=>ds(e)==="[object Date]",tv=e=>ds(e)==="[object RegExp]",Pe=e=>typeof e=="function",wt=e=>typeof e=="string",jr=e=>typeof e=="symbol",ft=e=>e!==null&&typeof e=="object",ad=e=>(ft(e)||Pe(e))&&Pe(e.then)&&Pe(e.catch),wh=Object.prototype.toString,ds=e=>wh.call(e),nv=e=>ds(e).slice(8,-1),Ch=e=>ds(e)==="[object Object]",ld=e=>wt(e)&&e!=="NaN"&&e[0]!=="-"&&""+parseInt(e,10)===e,Bo=$l(",key,ref,ref_for,ref_key,onVnodeBeforeMount,onVnodeMounted,onVnodeBeforeUpdate,onVnodeUpdated,onVnodeBeforeUnmount,onVnodeUnmounted"),Tl=e=>{const t=Object.create(null);return n=>t[n]||(t[n]=e(n))},rv=/-(\w)/g,Xt=Tl(e=>e.replace(rv,(t,n)=>n?n.toUpperCase():"")),ov=/\B([A-Z])/g,_n=Tl(e=>e.replace(ov,"-$1").toLowerCase()),bi=Tl(e=>e.charAt(0).toUpperCase()+e.slice(1)),Hs=Tl(e=>e?`on${bi(e)}`:""),qn=(e,t)=>!Object.is(e,t),Wo=(e,t)=>{for(let n=0;n<e.length;n++)e[n](t)},Qa=(e,t,n)=>{Object.defineProperty(e,t,{configurable:!0,enumerable:!1,value:n})},ni=e=>{const t=parseFloat(e);return isNaN(t)?e:t},el=e=>{const t=wt(e)?Number(e):NaN;return isNaN(t)?e:t};let Sm;const kh=()=>Sm||(Sm=typeof globalThis<"u"?globalThis:typeof self<"u"?self:typeof window<"u"?window:typeof global<"u"?global:{}),sv="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,Error",iv=$l(sv);function Kr(e){if(ze(e)){const t={};for(let n=0;n<e.length;n++){const r=e[n],o=wt(r)?uv(r):Kr(r);if(o)for(const s in o)t[s]=o[s]}return t}else if(wt(e)||ft(e))return e}const av=/;(?![^(]*\))/g,lv=/:([^]+)/,cv=/\/\*[^]*?\*\//g;function uv(e){const t={};return e.replace(cv,"").split(av).forEach(n=>{if(n){const r=n.split(lv);r.length>1&&(t[r[0].trim()]=r[1].trim())}}),t}function Se(e){let t="";if(wt(e))t=e;else if(ze(e))for(let n=0;n<e.length;n++){const r=Se(e[n]);r&&(t+=r+" ")}else if(ft(e))for(const n in e)e[n]&&(t+=n+" ");return t.trim()}function Is(e){if(!e)return null;let{class:t,style:n}=e;return t&&!wt(t)&&(e.class=Se(t)),n&&(e.style=Kr(n)),e}const dv="itemscope,allowfullscreen,formnovalidate,ismap,nomodule,novalidate,readonly",mv=$l(dv);function xh(e){return!!e||e===""}function fv(e,t){if(e.length!==t.length)return!1;let n=!0;for(let r=0;n&&r<e.length;r++)n=qr(e[r],t[r]);return n}function qr(e,t){if(e===t)return!0;let n=xm(e),r=xm(t);if(n||r)return n&&r?e.getTime()===t.getTime():!1;if(n=jr(e),r=jr(t),n||r)return e===t;if(n=ze(e),r=ze(t),n||r)return n&&r?fv(e,t):!1;if(n=ft(e),r=ft(t),n||r){if(!n||!r)return!1;const o=Object.keys(e).length,s=Object.keys(t).length;if(o!==s)return!1;for(const i in e){const a=e.hasOwnProperty(i),l=t.hasOwnProperty(i);if(a&&!l||!a&&l||!qr(e[i],t[i]))return!1}}return String(e)===String(t)}function Al(e,t){return e.findIndex(n=>qr(n,t))}const g=e=>wt(e)?e:e==null?"":ze(e)||ft(e)&&(e.toString===wh||!Pe(e.toString))?JSON.stringify(e,Sh,2):String(e),Sh=(e,t)=>t&&t.__v_isRef?Sh(e,t.value):qo(t)?{[`Map(${t.size})`]:[...t.entries()].reduce((n,[r,o],s)=>(n[hc(r,s)+" =>"]=o,n),{})}:zo(t)?{[`Set(${t.size})`]:[...t.values()].map(n=>hc(n))}:jr(t)?hc(t):ft(t)&&!ze(t)&&!Ch(t)?String(t):t,hc=(e,t="")=>{var n;return jr(e)?`Symbol(${(n=e.description)!=null?n:t})`:e};/**
|
||
* @vue/reactivity v3.4.21
|
||
* (c) 2018-present Yuxi (Evan) You and Vue contributors
|
||
* @license MIT
|
||
**/let pn;class cd{constructor(t=!1){this.detached=t,this._active=!0,this.effects=[],this.cleanups=[],this.parent=pn,!t&&pn&&(this.index=(pn.scopes||(pn.scopes=[])).push(this)-1)}get active(){return this._active}run(t){if(this._active){const n=pn;try{return pn=this,t()}finally{pn=n}}}on(){pn=this}off(){pn=this.parent}stop(t){if(this._active){let n,r;for(n=0,r=this.effects.length;n<r;n++)this.effects[n].stop();for(n=0,r=this.cleanups.length;n<r;n++)this.cleanups[n]();if(this.scopes)for(n=0,r=this.scopes.length;n<r;n++)this.scopes[n].stop(!0);if(!this.detached&&this.parent&&!t){const o=this.parent.scopes.pop();o&&o!==this&&(this.parent.scopes[this.index]=o,o.index=this.index)}this.parent=void 0,this._active=!1}}}function ud(e){return new cd(e)}function Eh(e,t=pn){t&&t.active&&t.effects.push(e)}function $h(){return pn}function pv(e){pn&&pn.cleanups.push(e)}let co;class ts{constructor(t,n,r,o){this.fn=t,this.trigger=n,this.scheduler=r,this.active=!0,this.deps=[],this._dirtyLevel=4,this._trackId=0,this._runnings=0,this._shouldSchedule=!1,this._depsLength=0,Eh(this,o)}get dirty(){if(this._dirtyLevel===2||this._dirtyLevel===3){this._dirtyLevel=1,wo();for(let t=0;t<this._depsLength;t++){const n=this.deps[t];if(n.computed&&(hv(n.computed),this._dirtyLevel>=4))break}this._dirtyLevel===1&&(this._dirtyLevel=0),Co()}return this._dirtyLevel>=4}set dirty(t){this._dirtyLevel=t?4:0}run(){if(this._dirtyLevel=0,!this.active)return this.fn();let t=Ur,n=co;try{return Ur=!0,co=this,this._runnings++,Em(this),this.fn()}finally{$m(this),this._runnings--,co=n,Ur=t}}stop(){var t;this.active&&(Em(this),$m(this),(t=this.onStop)==null||t.call(this),this.active=!1)}}function hv(e){return e.value}function Em(e){e._trackId++,e._depsLength=0}function $m(e){if(e.deps.length>e._depsLength){for(let t=e._depsLength;t<e.deps.length;t++)Th(e.deps[t],e);e.deps.length=e._depsLength}}function Th(e,t){const n=e.get(t);n!==void 0&&t._trackId!==n&&(e.delete(t),e.size===0&&e.cleanup())}function _v(e,t){e.effect instanceof ts&&(e=e.effect.fn);const n=new ts(e,an,()=>{n.dirty&&n.run()});t&&(zt(n,t),t.scope&&Eh(n,t.scope)),(!t||!t.lazy)&&n.run();const r=n.run.bind(n);return r.effect=n,r}function gv(e){e.effect.stop()}let Ur=!0,ou=0;const Ah=[];function wo(){Ah.push(Ur),Ur=!1}function Co(){const e=Ah.pop();Ur=e===void 0?!0:e}function dd(){ou++}function md(){for(ou--;!ou&&su.length;)su.shift()()}function Oh(e,t,n){if(t.get(e)!==e._trackId){t.set(e,e._trackId);const r=e.deps[e._depsLength];r!==t?(r&&Th(r,e),e.deps[e._depsLength++]=t):e._depsLength++}}const su=[];function Ph(e,t,n){dd();for(const r of e.keys()){let o;r._dirtyLevel<t&&(o??(o=e.get(r)===r._trackId))&&(r._shouldSchedule||(r._shouldSchedule=r._dirtyLevel===0),r._dirtyLevel=t),r._shouldSchedule&&(o??(o=e.get(r)===r._trackId))&&(r.trigger(),(!r._runnings||r.allowRecurse)&&r._dirtyLevel!==2&&(r._shouldSchedule=!1,r.scheduler&&su.push(r.scheduler)))}md()}const Ih=(e,t)=>{const n=new Map;return n.cleanup=e,n.computed=t,n},tl=new WeakMap,uo=Symbol(""),iu=Symbol("");function cn(e,t,n){if(Ur&&co){let r=tl.get(e);r||tl.set(e,r=new Map);let o=r.get(n);o||r.set(n,o=Ih(()=>r.delete(n))),Oh(co,o)}}function pr(e,t,n,r,o,s){const i=tl.get(e);if(!i)return;let a=[];if(t==="clear")a=[...i.values()];else if(n==="length"&&ze(e)){const l=Number(r);i.forEach((u,m)=>{(m==="length"||!jr(m)&&m>=l)&&a.push(u)})}else switch(n!==void 0&&a.push(i.get(n)),t){case"add":ze(e)?ld(n)&&a.push(i.get("length")):(a.push(i.get(uo)),qo(e)&&a.push(i.get(iu)));break;case"delete":ze(e)||(a.push(i.get(uo)),qo(e)&&a.push(i.get(iu)));break;case"set":qo(e)&&a.push(i.get(uo));break}dd();for(const l of a)l&&Ph(l,4);md()}function yv(e,t){var n;return(n=tl.get(e))==null?void 0:n.get(t)}const vv=$l("__proto__,__v_isRef,__isVue"),Rh=new Set(Object.getOwnPropertyNames(Symbol).filter(e=>e!=="arguments"&&e!=="caller").map(e=>Symbol[e]).filter(jr)),Tm=bv();function bv(){const e={};return["includes","indexOf","lastIndexOf"].forEach(t=>{e[t]=function(...n){const r=Ye(this);for(let s=0,i=this.length;s<i;s++)cn(r,"get",s+"");const o=r[t](...n);return o===-1||o===!1?r[t](...n.map(Ye)):o}}),["push","pop","shift","unshift","splice"].forEach(t=>{e[t]=function(...n){wo(),dd();const r=Ye(this)[t].apply(this,n);return md(),Co(),r}}),e}function zv(e){const t=Ye(this);return cn(t,"has",e),t.hasOwnProperty(e)}class Dh{constructor(t=!1,n=!1){this._isReadonly=t,this._isShallow=n}get(t,n,r){const o=this._isReadonly,s=this._isShallow;if(n==="__v_isReactive")return!o;if(n==="__v_isReadonly")return o;if(n==="__v_isShallow")return s;if(n==="__v_raw")return r===(o?s?Hh:Vh:s?Fh:Mh).get(t)||Object.getPrototypeOf(t)===Object.getPrototypeOf(r)?t:void 0;const i=ze(t);if(!o){if(i&&nt(Tm,n))return Reflect.get(Tm,n,r);if(n==="hasOwnProperty")return zv}const a=Reflect.get(t,n,r);return(jr(n)?Rh.has(n):vv(n))||(o||cn(t,"get",n),s)?a:Ft(a)?i&&ld(n)?a:a.value:ft(a)?o?hd(a):ms(a):a}}class Lh extends Dh{constructor(t=!1){super(!1,t)}set(t,n,r,o){let s=t[n];if(!this._isShallow){const l=go(s);if(!ri(r)&&!go(r)&&(s=Ye(s),r=Ye(r)),!ze(t)&&Ft(s)&&!Ft(r))return l?!1:(s.value=r,!0)}const i=ze(t)&&ld(n)?Number(n)<t.length:nt(t,n),a=Reflect.set(t,n,r,o);return t===Ye(o)&&(i?qn(r,s)&&pr(t,"set",n,r):pr(t,"add",n,r)),a}deleteProperty(t,n){const r=nt(t,n);t[n];const o=Reflect.deleteProperty(t,n);return o&&r&&pr(t,"delete",n,void 0),o}has(t,n){const r=Reflect.has(t,n);return(!jr(n)||!Rh.has(n))&&cn(t,"has",n),r}ownKeys(t){return cn(t,"iterate",ze(t)?"length":uo),Reflect.ownKeys(t)}}class Nh extends Dh{constructor(t=!1){super(!0,t)}set(t,n){return!0}deleteProperty(t,n){return!0}}const wv=new Lh,Cv=new Nh,kv=new Lh(!0),xv=new Nh(!0),fd=e=>e,Ol=e=>Reflect.getPrototypeOf(e);function Li(e,t,n=!1,r=!1){e=e.__v_raw;const o=Ye(e),s=Ye(t);n||(qn(t,s)&&cn(o,"get",t),cn(o,"get",s));const{has:i}=Ol(o),a=r?fd:n?yd:oi;if(i.call(o,t))return a(e.get(t));if(i.call(o,s))return a(e.get(s));e!==o&&e.get(t)}function Ni(e,t=!1){const n=this.__v_raw,r=Ye(n),o=Ye(e);return t||(qn(e,o)&&cn(r,"has",e),cn(r,"has",o)),e===o?n.has(e):n.has(e)||n.has(o)}function Mi(e,t=!1){return e=e.__v_raw,!t&&cn(Ye(e),"iterate",uo),Reflect.get(e,"size",e)}function Am(e){e=Ye(e);const t=Ye(this);return Ol(t).has.call(t,e)||(t.add(e),pr(t,"add",e,e)),this}function Om(e,t){t=Ye(t);const n=Ye(this),{has:r,get:o}=Ol(n);let s=r.call(n,e);s||(e=Ye(e),s=r.call(n,e));const i=o.call(n,e);return n.set(e,t),s?qn(t,i)&&pr(n,"set",e,t):pr(n,"add",e,t),this}function Pm(e){const t=Ye(this),{has:n,get:r}=Ol(t);let o=n.call(t,e);o||(e=Ye(e),o=n.call(t,e)),r&&r.call(t,e);const s=t.delete(e);return o&&pr(t,"delete",e,void 0),s}function Im(){const e=Ye(this),t=e.size!==0,n=e.clear();return t&&pr(e,"clear",void 0,void 0),n}function Fi(e,t){return function(r,o){const s=this,i=s.__v_raw,a=Ye(i),l=t?fd:e?yd:oi;return!e&&cn(a,"iterate",uo),i.forEach((u,m)=>r.call(o,l(u),l(m),s))}}function Vi(e,t,n){return function(...r){const o=this.__v_raw,s=Ye(o),i=qo(s),a=e==="entries"||e===Symbol.iterator&&i,l=e==="keys"&&i,u=o[e](...r),m=n?fd:t?yd:oi;return!t&&cn(s,"iterate",l?iu:uo),{next(){const{value:d,done:f}=u.next();return f?{value:d,done:f}:{value:a?[m(d[0]),m(d[1])]:m(d),done:f}},[Symbol.iterator](){return this}}}}function wr(e){return function(...t){return e==="delete"?!1:e==="clear"?void 0:this}}function Sv(){const e={get(s){return Li(this,s)},get size(){return Mi(this)},has:Ni,add:Am,set:Om,delete:Pm,clear:Im,forEach:Fi(!1,!1)},t={get(s){return Li(this,s,!1,!0)},get size(){return Mi(this)},has:Ni,add:Am,set:Om,delete:Pm,clear:Im,forEach:Fi(!1,!0)},n={get(s){return Li(this,s,!0)},get size(){return Mi(this,!0)},has(s){return Ni.call(this,s,!0)},add:wr("add"),set:wr("set"),delete:wr("delete"),clear:wr("clear"),forEach:Fi(!0,!1)},r={get(s){return Li(this,s,!0,!0)},get size(){return Mi(this,!0)},has(s){return Ni.call(this,s,!0)},add:wr("add"),set:wr("set"),delete:wr("delete"),clear:wr("clear"),forEach:Fi(!0,!0)};return["keys","values","entries",Symbol.iterator].forEach(s=>{e[s]=Vi(s,!1,!1),n[s]=Vi(s,!0,!1),t[s]=Vi(s,!1,!0),r[s]=Vi(s,!0,!0)}),[e,n,t,r]}const[Ev,$v,Tv,Av]=Sv();function Pl(e,t){const n=t?e?Av:Tv:e?$v:Ev;return(r,o,s)=>o==="__v_isReactive"?!e:o==="__v_isReadonly"?e:o==="__v_raw"?r:Reflect.get(nt(n,o)&&o in r?n:r,o,s)}const Ov={get:Pl(!1,!1)},Pv={get:Pl(!1,!0)},Iv={get:Pl(!0,!1)},Rv={get:Pl(!0,!0)},Mh=new WeakMap,Fh=new WeakMap,Vh=new WeakMap,Hh=new WeakMap;function Dv(e){switch(e){case"Object":case"Array":return 1;case"Map":case"Set":case"WeakMap":case"WeakSet":return 2;default:return 0}}function Lv(e){return e.__v_skip||!Object.isExtensible(e)?0:Dv(nv(e))}function ms(e){return go(e)?e:Il(e,!1,wv,Ov,Mh)}function pd(e){return Il(e,!1,kv,Pv,Fh)}function hd(e){return Il(e,!0,Cv,Iv,Vh)}function Nv(e){return Il(e,!0,xv,Rv,Hh)}function Il(e,t,n,r,o){if(!ft(e)||e.__v_raw&&!(t&&e.__v_isReactive))return e;const s=o.get(e);if(s)return s;const i=Lv(e);if(i===0)return e;const a=new Proxy(e,i===2?r:n);return o.set(e,a),a}function mo(e){return go(e)?mo(e.__v_raw):!!(e&&e.__v_isReactive)}function go(e){return!!(e&&e.__v_isReadonly)}function ri(e){return!!(e&&e.__v_isShallow)}function _d(e){return mo(e)||go(e)}function Ye(e){const t=e&&e.__v_raw;return t?Ye(t):e}function gd(e){return Object.isExtensible(e)&&Qa(e,"__v_skip",!0),e}const oi=e=>ft(e)?ms(e):e,yd=e=>ft(e)?hd(e):e;class Uh{constructor(t,n,r,o){this.getter=t,this._setter=n,this.dep=void 0,this.__v_isRef=!0,this.__v_isReadonly=!1,this.effect=new ts(()=>t(this._value),()=>Go(this,this.effect._dirtyLevel===2?2:3)),this.effect.computed=this,this.effect.active=this._cacheable=!o,this.__v_isReadonly=r}get value(){const t=Ye(this);return(!t._cacheable||t.effect.dirty)&&qn(t._value,t._value=t.effect.run())&&Go(t,4),vd(t),t.effect._dirtyLevel>=2&&Go(t,2),t._value}set value(t){this._setter(t)}get _dirty(){return this.effect.dirty}set _dirty(t){this.effect.dirty=t}}function Mv(e,t,n=!1){let r,o;const s=Pe(e);return s?(r=e,o=an):(r=e.get,o=e.set),new Uh(r,o,s||!o,n)}function vd(e){var t;Ur&&co&&(e=Ye(e),Oh(co,(t=e.dep)!=null?t:e.dep=Ih(()=>e.dep=void 0,e instanceof Uh?e:void 0)))}function Go(e,t=4,n){e=Ye(e);const r=e.dep;r&&Ph(r,t)}function Ft(e){return!!(e&&e.__v_isRef===!0)}function rr(e){return jh(e,!1)}function bd(e){return jh(e,!0)}function jh(e,t){return Ft(e)?e:new Fv(e,t)}class Fv{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:oi(t)}get value(){return vd(this),this._value}set value(t){const n=this.__v_isShallow||ri(t)||go(t);t=n?t:Ye(t),qn(t,this._rawValue)&&(this._rawValue=t,this._value=n?t:oi(t),Go(this,4))}}function Vv(e){Go(e,4)}function gn(e){return Ft(e)?e.value:e}function Hv(e){return Pe(e)?e():gn(e)}const Uv={get:(e,t,n)=>gn(Reflect.get(e,t,n)),set:(e,t,n,r)=>{const o=e[t];return Ft(o)&&!Ft(n)?(o.value=n,!0):Reflect.set(e,t,n,r)}};function zd(e){return mo(e)?e:new Proxy(e,Uv)}class jv{constructor(t){this.dep=void 0,this.__v_isRef=!0;const{get:n,set:r}=t(()=>vd(this),()=>Go(this));this._get=n,this._set=r}get value(){return this._get()}set value(t){this._set(t)}}function qh(e){return new jv(e)}function qv(e){const t=ze(e)?new Array(e.length):{};for(const n in e)t[n]=Bh(e,n);return t}class Bv{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 yv(Ye(this._object),this._key)}}class Wv{constructor(t){this._getter=t,this.__v_isRef=!0,this.__v_isReadonly=!0}get value(){return this._getter()}}function Gv(e,t,n){return Ft(e)?e:Pe(e)?new Wv(e):ft(e)&&arguments.length>1?Bh(e,t,n):rr(e)}function Bh(e,t,n){const r=e[t];return Ft(r)?r:new Bv(e,t,n)}const Kv={GET:"get",HAS:"has",ITERATE:"iterate"},Zv={SET:"set",ADD:"add",DELETE:"delete",CLEAR:"clear"};/**
|
||
* @vue/runtime-core v3.4.21
|
||
* (c) 2018-present Yuxi (Evan) You and Vue contributors
|
||
* @license MIT
|
||
**/function Yv(e,t){}const Jv={SETUP_FUNCTION:0,0:"SETUP_FUNCTION",RENDER_FUNCTION:1,1:"RENDER_FUNCTION",WATCH_GETTER:2,2:"WATCH_GETTER",WATCH_CALLBACK:3,3:"WATCH_CALLBACK",WATCH_CLEANUP:4,4:"WATCH_CLEANUP",NATIVE_EVENT_HANDLER:5,5:"NATIVE_EVENT_HANDLER",COMPONENT_EVENT_HANDLER:6,6:"COMPONENT_EVENT_HANDLER",VNODE_HOOK:7,7:"VNODE_HOOK",DIRECTIVE_HOOK:8,8:"DIRECTIVE_HOOK",TRANSITION_HOOK:9,9:"TRANSITION_HOOK",APP_ERROR_HANDLER:10,10:"APP_ERROR_HANDLER",APP_WARN_HANDLER:11,11:"APP_WARN_HANDLER",FUNCTION_REF:12,12:"FUNCTION_REF",ASYNC_COMPONENT_LOADER:13,13:"ASYNC_COMPONENT_LOADER",SCHEDULER:14,14:"SCHEDULER"},Xv={sp:"serverPrefetch hook",bc:"beforeCreate hook",c:"created hook",bm:"beforeMount hook",m:"mounted hook",bu:"beforeUpdate hook",u:"updated",bum:"beforeUnmount hook",um:"unmounted hook",a:"activated hook",da:"deactivated hook",ec:"errorCaptured hook",rtc:"renderTracked hook",rtg:"renderTriggered hook",0:"setup function",1:"render function",2:"watcher getter",3:"watcher callback",4:"watcher cleanup function",5:"native event handler",6:"component event handler",7:"vnode hook",8:"directive hook",9:"transition hook",10:"app errorHandler",11:"app warnHandler",12:"ref function",13:"async component loader",14:"scheduler flush. This is likely a Vue internals bug. Please open an issue at https://github.com/vuejs/core ."};function hr(e,t,n,r){try{return r?e(...r):e()}catch(o){ko(o,t,n)}}function yn(e,t,n,r){if(Pe(e)){const s=hr(e,t,n,r);return s&&ad(s)&&s.catch(i=>{ko(i,t,n)}),s}const o=[];for(let s=0;s<e.length;s++)o.push(yn(e[s],t,n,r));return o}function ko(e,t,n,r=!0){const o=t?t.vnode:null;if(t){let s=t.parent;const i=t.proxy,a=`https://vuejs.org/error-reference/#runtime-${n}`;for(;s;){const u=s.ec;if(u){for(let m=0;m<u.length;m++)if(u[m](e,i,a)===!1)return}s=s.parent}const l=t.appContext.config.errorHandler;if(l){hr(l,null,10,[e,i,a]);return}}Qv(e,n,o,r)}function Qv(e,t,n,r=!0){console.error(e)}let si=!1,au=!1;const qt=[];let Qn=0;const Ko=[];let Pr=null,io=0;const Wh=Promise.resolve();let wd=null;function fs(e){const t=wd||Wh;return e?t.then(this?e.bind(this):e):t}function eb(e){let t=Qn+1,n=qt.length;for(;t<n;){const r=t+n>>>1,o=qt[r],s=ii(o);s<e||s===e&&o.pre?t=r+1:n=r}return t}function Rl(e){(!qt.length||!qt.includes(e,si&&e.allowRecurse?Qn+1:Qn))&&(e.id==null?qt.push(e):qt.splice(eb(e.id),0,e),Gh())}function Gh(){!si&&!au&&(au=!0,wd=Wh.then(Kh))}function tb(e){const t=qt.indexOf(e);t>Qn&&qt.splice(t,1)}function nl(e){ze(e)?Ko.push(...e):(!Pr||!Pr.includes(e,e.allowRecurse?io+1:io))&&Ko.push(e),Gh()}function Rm(e,t,n=si?Qn+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 rl(e){if(Ko.length){const t=[...new Set(Ko)].sort((n,r)=>ii(n)-ii(r));if(Ko.length=0,Pr){Pr.push(...t);return}for(Pr=t,io=0;io<Pr.length;io++)Pr[io]();Pr=null,io=0}}const ii=e=>e.id==null?1/0:e.id,nb=(e,t)=>{const n=ii(e)-ii(t);if(n===0){if(e.pre&&!t.pre)return-1;if(t.pre&&!e.pre)return 1}return n};function Kh(e){au=!1,si=!0,qt.sort(nb);try{for(Qn=0;Qn<qt.length;Qn++){const t=qt[Qn];t&&t.active!==!1&&hr(t,null,14)}}finally{Qn=0,qt.length=0,rl(),si=!1,wd=null,(qt.length||Ko.length)&&Kh()}}let Lo,Hi=[];function Zh(e,t){var n,r;Lo=e,Lo?(Lo.enabled=!0,Hi.forEach(({event:o,args:s})=>Lo.emit(o,...s)),Hi=[]):typeof window<"u"&&window.HTMLElement&&!((r=(n=window.navigator)==null?void 0:n.userAgent)!=null&&r.includes("jsdom"))?((t.__VUE_DEVTOOLS_HOOK_REPLAY__=t.__VUE_DEVTOOLS_HOOK_REPLAY__||[]).push(s=>{Zh(s,t)}),setTimeout(()=>{Lo||(t.__VUE_DEVTOOLS_HOOK_REPLAY__=null,Hi=[])},3e3)):Hi=[]}function rb(e,t,...n){if(e.isUnmounted)return;const r=e.vnode.props||ct;let o=n;const s=t.startsWith("update:"),i=s&&t.slice(7);if(i&&i in r){const m=`${i==="modelValue"?"model":i}Modifiers`,{number:d,trim:f}=r[m]||ct;f&&(o=n.map(p=>wt(p)?p.trim():p)),d&&(o=n.map(ni))}let a,l=r[a=Hs(t)]||r[a=Hs(Xt(t))];!l&&s&&(l=r[a=Hs(_n(t))]),l&&yn(l,e,6,o);const u=r[a+"Once"];if(u){if(!e.emitted)e.emitted={};else if(e.emitted[a])return;e.emitted[a]=!0,yn(u,e,6,o)}}function Yh(e,t,n=!1){const r=t.emitsCache,o=r.get(e);if(o!==void 0)return o;const s=e.emits;let i={},a=!1;if(!Pe(e)){const l=u=>{const m=Yh(u,t,!0);m&&(a=!0,zt(i,m))};!n&&t.mixins.length&&t.mixins.forEach(l),e.extends&&l(e.extends),e.mixins&&e.mixins.forEach(l)}return!s&&!a?(ft(e)&&r.set(e,null),null):(ze(s)?s.forEach(l=>i[l]=null):zt(i,s),ft(e)&&r.set(e,i),i)}function Dl(e,t){return!e||!vi(t)?!1:(t=t.slice(2).replace(/Once$/,""),nt(e,t[0].toLowerCase()+t.slice(1))||nt(e,_n(t))||nt(e,t))}let It=null,Ll=null;function ai(e){const t=It;return It=e,Ll=e&&e.type.__scopeId||null,t}function ob(e){Ll=e}function sb(){Ll=null}const ib=e=>S;function S(e,t=It,n){if(!t||e._n)return e;const r=(...o)=>{r._d&&hu(-1);const s=ai(t);let i;try{i=e(...o)}finally{ai(s),r._d&&hu(1)}return i};return r._n=!0,r._c=!0,r._d=!0,r}function Fa(e){const{type:t,vnode:n,proxy:r,withProxy:o,props:s,propsOptions:[i],slots:a,attrs:l,emit:u,render:m,renderCache:d,data:f,setupState:p,ctx:h,inheritAttrs:_}=e;let b,C;const w=ai(e);try{if(n.shapeFlag&4){const z=o||r,E=z;b=hn(m.call(E,z,d,s,p,f,h)),C=l}else{const z=t;b=hn(z.length>1?z(s,{attrs:l,slots:a,emit:u}):z(s,null)),C=t.props?l:lb(l)}}catch(z){Bs.length=0,ko(z,e,1),b=y(Gt)}let v=b;if(C&&_!==!1){const z=Object.keys(C),{shapeFlag:E}=v;z.length&&E&7&&(i&&z.some(sd)&&(C=cb(C,i)),v=sr(v,C))}return n.dirs&&(v=sr(v),v.dirs=v.dirs?v.dirs.concat(n.dirs):n.dirs),n.transition&&(v.transition=n.transition),b=v,ai(w),b}function ab(e,t=!0){let n;for(let r=0;r<e.length;r++){const o=e[r];if(Wr(o)){if(o.type!==Gt||o.children==="v-if"){if(n)return;n=o}}else return}return n}const lb=e=>{let t;for(const n in e)(n==="class"||n==="style"||vi(n))&&((t||(t={}))[n]=e[n]);return t},cb=(e,t)=>{const n={};for(const r in e)(!sd(r)||!(r.slice(9)in t))&&(n[r]=e[r]);return n};function ub(e,t,n){const{props:r,children:o,component:s}=e,{props:i,children:a,patchFlag:l}=t,u=s.emitsOptions;if(t.dirs||t.transition)return!0;if(n&&l>=0){if(l&1024)return!0;if(l&16)return r?Dm(r,i,u):!!i;if(l&8){const m=t.dynamicProps;for(let d=0;d<m.length;d++){const f=m[d];if(i[f]!==r[f]&&!Dl(u,f))return!0}}}else return(o||a)&&(!a||!a.$stable)?!0:r===i?!1:r?i?Dm(r,i,u):!0:!!i;return!1}function Dm(e,t,n){const r=Object.keys(t);if(r.length!==Object.keys(e).length)return!0;for(let o=0;o<r.length;o++){const s=r[o];if(t[s]!==e[s]&&!Dl(n,s))return!0}return!1}function Cd({vnode:e,parent:t},n){for(;t;){const r=t.subTree;if(r.suspense&&r.suspense.activeBranch===e&&(r.el=e.el),r===e)(e=t.vnode).el=n,t=t.parent;else break}}const kd="components",db="directives";function $(e,t){return Sd(kd,e,!0,t)||e}const Jh=Symbol.for("v-ndc");function Xh(e){return wt(e)?Sd(kd,e,!1)||e:e||Jh}function xd(e){return Sd(db,e)}function Sd(e,t,n=!0,r=!1){const o=It||Dt;if(o){const s=o.type;if(e===kd){const a=bu(s,!1);if(a&&(a===t||a===Xt(t)||a===bi(Xt(t))))return s}const i=Lm(o[e]||s[e],t)||Lm(o.appContext[e],t);return!i&&r?s:i}}function Lm(e,t){return e&&(e[t]||e[Xt(t)]||e[bi(Xt(t))])}const Qh=e=>e.__isSuspense;let lu=0;const mb={name:"Suspense",__isSuspense:!0,process(e,t,n,r,o,s,i,a,l,u){if(e==null)pb(t,n,r,o,s,i,a,l,u);else{if(s&&s.deps>0&&!e.suspense.isInFallback){t.suspense=e.suspense,t.suspense.vnode=t,t.el=e.el;return}hb(e,t,n,r,o,i,a,l,u)}},hydrate:_b,create:Ed,normalize:gb},fb=mb;function li(e,t){const n=e.props&&e.props[t];Pe(n)&&n()}function pb(e,t,n,r,o,s,i,a,l){const{p:u,o:{createElement:m}}=l,d=m("div"),f=e.suspense=Ed(e,o,r,t,d,n,s,i,a,l);u(null,f.pendingBranch=e.ssContent,d,null,r,f,s,i),f.deps>0?(li(e,"onPending"),li(e,"onFallback"),u(null,e.ssFallback,t,n,r,null,s,i),Zo(f,e.ssFallback)):f.resolve(!1,!0)}function hb(e,t,n,r,o,s,i,a,{p:l,um:u,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:C}=d;if(_)d.pendingBranch=f,Hn(f,_)?(l(_,f,d.hiddenContainer,null,o,d,s,i,a),d.deps<=0?d.resolve():b&&(C||(l(h,p,n,r,o,null,s,i,a),Zo(d,p)))):(d.pendingId=lu++,C?(d.isHydrating=!1,d.activeBranch=_):u(_,o,d),d.deps=0,d.effects.length=0,d.hiddenContainer=m("div"),b?(l(null,f,d.hiddenContainer,null,o,d,s,i,a),d.deps<=0?d.resolve():(l(h,p,n,r,o,null,s,i,a),Zo(d,p))):h&&Hn(f,h)?(l(h,f,n,r,o,d,s,i,a),d.resolve(!0)):(l(null,f,d.hiddenContainer,null,o,d,s,i,a),d.deps<=0&&d.resolve()));else if(h&&Hn(f,h))l(h,f,n,r,o,d,s,i,a),Zo(d,f);else if(li(t,"onPending"),d.pendingBranch=f,f.shapeFlag&512?d.pendingId=f.component.suspenseId:d.pendingId=lu++,l(null,f,d.hiddenContainer,null,o,d,s,i,a),d.deps<=0)d.resolve();else{const{timeout:w,pendingId:v}=d;w>0?setTimeout(()=>{d.pendingId===v&&d.fallback(p)},w):w===0&&d.fallback(p)}}function Ed(e,t,n,r,o,s,i,a,l,u,m=!1){const{p:d,m:f,um:p,n:h,o:{parentNode:_,remove:b}}=u;let C;const w=yb(e);w&&t!=null&&t.pendingBranch&&(C=t.pendingId,t.deps++);const v=e.props?el(e.props.timeout):void 0,z=s,E={vnode:e,parent:t,parentComponent:n,namespace:i,container:r,hiddenContainer:o,deps:0,pendingId:lu++,timeout:typeof v=="number"?v:-1,activeBranch:null,pendingBranch:null,isInFallback:!m,isHydrating:m,isUnmounted:!1,effects:[],resolve(x=!1,M=!1){const{vnode:P,activeBranch:I,pendingBranch:N,pendingId:Z,effects:j,parentComponent:B,container:X}=E;let pe=!1;E.isHydrating?E.isHydrating=!1:x||(pe=I&&N.transition&&N.transition.mode==="out-in",pe&&(I.transition.afterLeave=()=>{Z===E.pendingId&&(f(N,X,s===z?h(I):s,0),nl(j))}),I&&(_(I.el)!==E.hiddenContainer&&(s=h(I)),p(I,B,E,!0)),pe||f(N,X,s,0)),Zo(E,N),E.pendingBranch=null,E.isInFallback=!1;let G=E.parent,re=!1;for(;G;){if(G.pendingBranch){G.effects.push(...j),re=!0;break}G=G.parent}!re&&!pe&&nl(j),E.effects=[],w&&t&&t.pendingBranch&&C===t.pendingId&&(t.deps--,t.deps===0&&!M&&t.resolve()),li(P,"onResolve")},fallback(x){if(!E.pendingBranch)return;const{vnode:M,activeBranch:P,parentComponent:I,container:N,namespace:Z}=E;li(M,"onFallback");const j=h(P),B=()=>{E.isInFallback&&(d(null,x,N,j,I,null,Z,a,l),Zo(E,x))},X=x.transition&&x.transition.mode==="out-in";X&&(P.transition.afterLeave=B),E.isInFallback=!0,p(P,I,null,!0),X||B()},move(x,M,P){E.activeBranch&&f(E.activeBranch,x,M,P),E.container=x},next(){return E.activeBranch&&h(E.activeBranch)},registerDep(x,M){const P=!!E.pendingBranch;P&&E.deps++;const I=x.vnode.el;x.asyncDep.catch(N=>{ko(N,x,0)}).then(N=>{if(x.isUnmounted||E.isUnmounted||E.pendingId!==x.suspenseId)return;x.asyncResolved=!0;const{vnode:Z}=x;yu(x,N,!1),I&&(Z.el=I);const j=!I&&x.subTree.el;M(x,Z,_(I||x.subTree.el),I?null:h(x.subTree),E,i,l),j&&b(j),Cd(x,Z.el),P&&--E.deps===0&&E.resolve()})},unmount(x,M){E.isUnmounted=!0,E.activeBranch&&p(E.activeBranch,n,x,M),E.pendingBranch&&p(E.pendingBranch,n,x,M)}};return E}function _b(e,t,n,r,o,s,i,a,l){const u=t.suspense=Ed(t,r,n,e.parentNode,document.createElement("div"),null,o,s,i,a,!0),m=l(e,u.pendingBranch=t.ssContent,n,u,s,i);return u.deps===0&&u.resolve(!1,!0),m}function gb(e){const{shapeFlag:t,children:n}=e,r=t&32;e.ssContent=Nm(r?n.default:n),e.ssFallback=r?Nm(n.fallback):y(Gt)}function Nm(e){let t;if(Pe(e)){const n=vo&&e._c;n&&(e._d=!1,k()),e=e(),n&&(e._d=!0,t=ln,I_())}return ze(e)&&(e=ab(e)),e=hn(e),t&&!e.dynamicChildren&&(e.dynamicChildren=t.filter(n=>n!==e)),e}function e_(e,t){t&&t.pendingBranch?ze(e)?t.effects.push(...e):t.effects.push(e):nl(e)}function Zo(e,t){e.activeBranch=t;const{vnode:n,parentComponent:r}=e;let o=t.el;for(;!o&&t.component;)t=t.component.subTree,o=t.el;n.el=o,r&&r.subTree===n&&(r.vnode.el=o,Cd(r,o))}function yb(e){var t;return((t=e.props)==null?void 0:t.suspensible)!=null&&e.props.suspensible!==!1}const t_=Symbol.for("v-scx"),n_=()=>jn(t_);function r_(e,t){return zi(e,null,t)}function o_(e,t){return zi(e,null,{flush:"post"})}function s_(e,t){return zi(e,null,{flush:"sync"})}const Ui={};function vn(e,t,n){return zi(e,t,n)}function zi(e,t,{immediate:n,deep:r,flush:o,once:s,onTrack:i,onTrigger:a}=ct){if(t&&s){const x=t;t=(...M)=>{x(...M),E()}}const l=Dt,u=x=>r===!0?x:ao(x,r===!1?1:void 0);let m,d=!1,f=!1;if(Ft(e)?(m=()=>e.value,d=ri(e)):mo(e)?(m=()=>u(e),d=!0):ze(e)?(f=!0,d=e.some(x=>mo(x)||ri(x)),m=()=>e.map(x=>{if(Ft(x))return x.value;if(mo(x))return u(x);if(Pe(x))return hr(x,l,2)})):Pe(e)?t?m=()=>hr(e,l,2):m=()=>(p&&p(),yn(e,l,3,[h])):m=an,t&&r){const x=m;m=()=>ao(x())}let p,h=x=>{p=v.onStop=()=>{hr(x,l,4),p=v.onStop=void 0}},_;if(xi)if(h=an,t?n&&yn(t,l,3,[m(),f?[]:void 0,h]):m(),o==="sync"){const x=n_();_=x.__watcherHandles||(x.__watcherHandles=[])}else return an;let b=f?new Array(e.length).fill(Ui):Ui;const C=()=>{if(!(!v.active||!v.dirty))if(t){const x=v.run();(r||d||(f?x.some((M,P)=>qn(M,b[P])):qn(x,b)))&&(p&&p(),yn(t,l,3,[x,b===Ui?void 0:f&&b[0]===Ui?[]:b,h]),b=x)}else v.run()};C.allowRecurse=!!t;let w;o==="sync"?w=C:o==="post"?w=()=>Ut(C,l&&l.suspense):(C.pre=!0,l&&(C.id=l.uid),w=()=>Rl(C));const v=new ts(m,an,w),z=$h(),E=()=>{v.stop(),z&&id(z.effects,v)};return t?n?C():b=v.run():o==="post"?Ut(v.run.bind(v),l&&l.suspense):v.run(),_&&_.push(E),E}function vb(e,t,n){const r=this.proxy,o=wt(e)?e.includes(".")?i_(r,e):()=>r[e]:e.bind(r,r);let s;Pe(t)?s=t:(s=t.handler,n=t);const i=bo(this),a=zi(o,s.bind(r),n);return i(),a}function i_(e,t){const n=t.split(".");return()=>{let r=e;for(let o=0;o<n.length&&r;o++)r=r[n[o]];return r}}function ao(e,t,n=0,r){if(!ft(e)||e.__v_skip)return e;if(t&&t>0){if(n>=t)return e;n++}if(r=r||new Set,r.has(e))return e;if(r.add(e),Ft(e))ao(e.value,t,n,r);else if(ze(e))for(let o=0;o<e.length;o++)ao(e[o],t,n,r);else if(zo(e)||qo(e))e.forEach(o=>{ao(o,t,n,r)});else if(Ch(e))for(const o in e)ao(e[o],t,n,r);return e}function yt(e,t){if(It===null)return e;const n=Ul(It)||It.proxy,r=e.dirs||(e.dirs=[]);for(let o=0;o<t.length;o++){let[s,i,a,l=ct]=t[o];s&&(Pe(s)&&(s={mounted:s,updated:s}),s.deep&&ao(i),r.push({dir:s,instance:n,value:i,oldValue:void 0,arg:a,modifiers:l}))}return e}function Xn(e,t,n,r){const o=e.dirs,s=t&&t.dirs;for(let i=0;i<o.length;i++){const a=o[i];s&&(a.oldValue=s[i].value);let l=a.dir[r];l&&(wo(),yn(l,n,8,[e.el,a,e,t]),Co())}}const Ir=Symbol("_leaveCb"),ji=Symbol("_enterCb");function $d(){const e={isMounted:!1,isLeaving:!1,isUnmounting:!1,leavingVNodes:new Map};return ps(()=>{e.isMounted=!0}),Vl(()=>{e.isUnmounting=!0}),e}const wn=[Function,Array],Td={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},bb={name:"BaseTransition",props:Td,setup(e,{slots:t}){const n=In(),r=$d();return()=>{const o=t.default&&Nl(t.default(),!0);if(!o||!o.length)return;let s=o[0];if(o.length>1){for(const f of o)if(f.type!==Gt){s=f;break}}const i=Ye(e),{mode:a}=i;if(r.isLeaving)return _c(s);const l=Mm(s);if(!l)return _c(s);const u=ns(l,i,r,n);yo(l,u);const m=n.subTree,d=m&&Mm(m);if(d&&d.type!==Gt&&!Hn(l,d)){const f=ns(d,i,r,n);if(yo(d,f),a==="out-in")return r.isLeaving=!0,f.afterLeave=()=>{r.isLeaving=!1,n.update.active!==!1&&(n.effect.dirty=!0,n.update())},_c(s);a==="in-out"&&l.type!==Gt&&(f.delayLeave=(p,h,_)=>{const b=l_(r,d);b[String(d.key)]=d,p[Ir]=()=>{h(),p[Ir]=void 0,delete u.delayedLeave},u.delayedLeave=_})}return s}}},a_=bb;function l_(e,t){const{leavingVNodes:n}=e;let r=n.get(t.type);return r||(r=Object.create(null),n.set(t.type,r)),r}function ns(e,t,n,r){const{appear:o,mode:s,persisted:i=!1,onBeforeEnter:a,onEnter:l,onAfterEnter:u,onEnterCancelled:m,onBeforeLeave:d,onLeave:f,onAfterLeave:p,onLeaveCancelled:h,onBeforeAppear:_,onAppear:b,onAfterAppear:C,onAppearCancelled:w}=t,v=String(e.key),z=l_(n,e),E=(P,I)=>{P&&yn(P,r,9,I)},x=(P,I)=>{const N=I[1];E(P,I),ze(P)?P.every(Z=>Z.length<=1)&&N():P.length<=1&&N()},M={mode:s,persisted:i,beforeEnter(P){let I=a;if(!n.isMounted)if(o)I=_||a;else return;P[Ir]&&P[Ir](!0);const N=z[v];N&&Hn(e,N)&&N.el[Ir]&&N.el[Ir](),E(I,[P])},enter(P){let I=l,N=u,Z=m;if(!n.isMounted)if(o)I=b||l,N=C||u,Z=w||m;else return;let j=!1;const B=P[ji]=X=>{j||(j=!0,X?E(Z,[P]):E(N,[P]),M.delayedLeave&&M.delayedLeave(),P[ji]=void 0)};I?x(I,[P,B]):B()},leave(P,I){const N=String(e.key);if(P[ji]&&P[ji](!0),n.isUnmounting)return I();E(d,[P]);let Z=!1;const j=P[Ir]=B=>{Z||(Z=!0,I(),B?E(h,[P]):E(p,[P]),P[Ir]=void 0,z[N]===e&&delete z[N])};z[N]=e,f?x(f,[P,j]):j()},clone(P){return ns(P,t,n,r)}};return M}function _c(e){if(wi(e))return e=sr(e),e.children=null,e}function Mm(e){return wi(e)?e.children?e.children[0]:void 0:e}function yo(e,t){e.shapeFlag&6&&e.component?yo(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 Nl(e,t=!1,n){let r=[],o=0;for(let s=0;s<e.length;s++){let i=e[s];const a=n==null?i.key:String(n)+String(i.key!=null?i.key:s);i.type===Ce?(i.patchFlag&128&&o++,r=r.concat(Nl(i.children,t,a))):(t||i.type!==Gt)&&r.push(a!=null?sr(i,{key:a}):i)}if(o>1)for(let s=0;s<r.length;s++)r[s].patchFlag=-2;return r}/*! #__NO_SIDE_EFFECTS__ */function vr(e,t){return Pe(e)?zt({name:e.name},t,{setup:e}):e}const fo=e=>!!e.type.__asyncLoader;/*! #__NO_SIDE_EFFECTS__ */function zb(e){Pe(e)&&(e={loader:e});const{loader:t,loadingComponent:n,errorComponent:r,delay:o=200,timeout:s,suspensible:i=!0,onError:a}=e;let l=null,u,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)),a)return new Promise((_,b)=>{a(h,()=>_(d()),()=>b(h),m+1)});throw h}).then(h=>p!==l&&l?l:(h&&(h.__esModule||h[Symbol.toStringTag]==="Module")&&(h=h.default),u=h,h)))};return vr({name:"AsyncComponentWrapper",__asyncLoader:f,get __asyncResolved(){return u},setup(){const p=Dt;if(u)return()=>gc(u,p);const h=w=>{l=null,ko(w,p,13,!r)};if(i&&p.suspense||xi)return f().then(w=>()=>gc(w,p)).catch(w=>(h(w),()=>r?y(r,{error:w}):null));const _=rr(!1),b=rr(),C=rr(!!o);return o&&setTimeout(()=>{C.value=!1},o),s!=null&&setTimeout(()=>{if(!_.value&&!b.value){const w=new Error(`Async component timed out after ${s}ms.`);h(w),b.value=w}},s),f().then(()=>{_.value=!0,p.parent&&wi(p.parent.vnode)&&(p.parent.effect.dirty=!0,Rl(p.parent.update))}).catch(w=>{h(w),b.value=w}),()=>{if(_.value&&u)return gc(u,p);if(b.value&&r)return y(r,{error:b.value});if(n&&!C.value)return y(n)}}})}function gc(e,t){const{ref:n,props:r,children:o,ce:s}=t.vnode,i=y(e,r,o);return i.ref=n,i.ce=s,delete t.vnode.ce,i}const wi=e=>e.type.__isKeepAlive,wb={name:"KeepAlive",__isKeepAlive:!0,props:{include:[String,RegExp,Array],exclude:[String,RegExp,Array],max:[String,Number]},setup(e,{slots:t}){const n=In(),r=n.ctx;if(!r.renderer)return()=>{const w=t.default&&t.default();return w&&w.length===1?w[0]:w};const o=new Map,s=new Set;let i=null;const a=n.suspense,{renderer:{p:l,m:u,um:m,o:{createElement:d}}}=r,f=d("div");r.activate=(w,v,z,E,x)=>{const M=w.component;u(w,v,z,0,a),l(M.vnode,w,v,z,M,a,E,w.slotScopeIds,x),Ut(()=>{M.isDeactivated=!1,M.a&&Wo(M.a);const P=w.props&&w.props.onVnodeMounted;P&&rn(P,M.parent,w)},a)},r.deactivate=w=>{const v=w.component;u(w,f,null,1,a),Ut(()=>{v.da&&Wo(v.da);const z=w.props&&w.props.onVnodeUnmounted;z&&rn(z,v.parent,w),v.isDeactivated=!0},a)};function p(w){yc(w),m(w,n,a,!0)}function h(w){o.forEach((v,z)=>{const E=bu(v.type);E&&(!w||!w(E))&&_(z)})}function _(w){const v=o.get(w);!i||!Hn(v,i)?p(v):i&&yc(i),o.delete(w),s.delete(w)}vn(()=>[e.include,e.exclude],([w,v])=>{w&&h(z=>Rs(w,z)),v&&h(z=>!Rs(v,z))},{flush:"post",deep:!0});let b=null;const C=()=>{b!=null&&o.set(b,vc(n.subTree))};return ps(C),Fl(C),Vl(()=>{o.forEach(w=>{const{subTree:v,suspense:z}=n,E=vc(v);if(w.type===E.type&&w.key===E.key){yc(E);const x=E.component.da;x&&Ut(x,z);return}p(w)})}),()=>{if(b=null,!t.default)return null;const w=t.default(),v=w[0];if(w.length>1)return i=null,w;if(!Wr(v)||!(v.shapeFlag&4)&&!(v.shapeFlag&128))return i=null,v;let z=vc(v);const E=z.type,x=bu(fo(z)?z.type.__asyncResolved||{}:E),{include:M,exclude:P,max:I}=e;if(M&&(!x||!Rs(M,x))||P&&x&&Rs(P,x))return i=z,v;const N=z.key==null?E:z.key,Z=o.get(N);return z.el&&(z=sr(z),v.shapeFlag&128&&(v.ssContent=z)),b=N,Z?(z.el=Z.el,z.component=Z.component,z.transition&&yo(z,z.transition),z.shapeFlag|=512,s.delete(N),s.add(N)):(s.add(N),I&&s.size>parseInt(I,10)&&_(s.values().next().value)),z.shapeFlag|=256,i=z,Qh(v.type)?v:z}}},Cb=wb;function Rs(e,t){return ze(e)?e.some(n=>Rs(n,t)):wt(e)?e.split(",").includes(t):tv(e)?e.test(t):!1}function c_(e,t){d_(e,"a",t)}function u_(e,t){d_(e,"da",t)}function d_(e,t,n=Dt){const r=e.__wdc||(e.__wdc=()=>{let o=n;for(;o;){if(o.isDeactivated)return;o=o.parent}return e()});if(Ml(t,r,n),n){let o=n.parent;for(;o&&o.parent;)wi(o.parent.vnode)&&kb(r,t,n,o),o=o.parent}}function kb(e,t,n,r){const o=Ml(t,e,r,!0);Ci(()=>{id(r[t],o)},n)}function yc(e){e.shapeFlag&=-257,e.shapeFlag&=-513}function vc(e){return e.shapeFlag&128?e.ssContent:e}function Ml(e,t,n=Dt,r=!1){if(n){const o=n[e]||(n[e]=[]),s=t.__weh||(t.__weh=(...i)=>{if(n.isUnmounted)return;wo();const a=bo(n),l=yn(t,n,e,i);return a(),Co(),l});return r?o.unshift(s):o.push(s),s}}const br=e=>(t,n=Dt)=>(!xi||e==="sp")&&Ml(e,(...r)=>t(...r),n),m_=br("bm"),ps=br("m"),f_=br("bu"),Fl=br("u"),Vl=br("bum"),Ci=br("um"),p_=br("sp"),h_=br("rtg"),__=br("rtc");function g_(e,t=Dt){Ml("ec",e,t)}function ut(e,t,n,r){let o;const s=n&&n[r];if(ze(e)||wt(e)){o=new Array(e.length);for(let i=0,a=e.length;i<a;i++)o[i]=t(e[i],i,void 0,s&&s[i])}else if(typeof e=="number"){o=new Array(e);for(let i=0;i<e;i++)o[i]=t(i+1,i,void 0,s&&s[i])}else if(ft(e))if(e[Symbol.iterator])o=Array.from(e,(i,a)=>t(i,a,void 0,s&&s[a]));else{const i=Object.keys(e);o=new Array(i.length);for(let a=0,l=i.length;a<l;a++){const u=i[a];o[a]=t(e[u],u,a,s&&s[a])}}else o=[];return n&&(n[r]=o),o}function ki(e,t){for(let n=0;n<t.length;n++){const r=t[n];if(ze(r))for(let o=0;o<r.length;o++)e[r[o].name]=r[o].fn;else r&&(e[r.name]=r.key?(...o)=>{const s=r.fn(...o);return s&&(s.key=r.key),s}:r.fn)}return e}function it(e,t,n={},r,o){if(It.isCE||It.parent&&fo(It.parent)&&It.parent.isCE)return t!=="default"&&(n.name=t),y("slot",n,r&&r());let s=e[t];s&&s._c&&(s._d=!1),k();const i=s&&y_(s(n)),a=_e(Ce,{key:n.key||i&&i.key||`_${t}`},i||(r?r():[]),i&&e._===1?64:-2);return!o&&a.scopeId&&(a.slotScopeIds=[a.scopeId+"-s"]),s&&s._c&&(s._d=!0),a}function y_(e){return e.some(t=>Wr(t)?!(t.type===Gt||t.type===Ce&&!y_(t.children)):!0)?e:null}function xb(e,t){const n={};for(const r in e)n[t&&/[A-Z]/.test(r)?`on:${r}`:Hs(r)]=e[r];return n}const cu=e=>e?M_(e)?Ul(e)||e.proxy:cu(e.parent):null,Us=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=>cu(e.parent),$root:e=>cu(e.root),$emit:e=>e.emit,$options:e=>Ad(e),$forceUpdate:e=>e.f||(e.f=()=>{e.effect.dirty=!0,Rl(e.update)}),$nextTick:e=>e.n||(e.n=fs.bind(e.proxy)),$watch:e=>vb.bind(e)}),bc=(e,t)=>e!==ct&&!e.__isScriptSetup&&nt(e,t),uu={get({_:e},t){const{ctx:n,setupState:r,data:o,props:s,accessCache:i,type:a,appContext:l}=e;let u;if(t[0]!=="$"){const p=i[t];if(p!==void 0)switch(p){case 1:return r[t];case 2:return o[t];case 4:return n[t];case 3:return s[t]}else{if(bc(r,t))return i[t]=1,r[t];if(o!==ct&&nt(o,t))return i[t]=2,o[t];if((u=e.propsOptions[0])&&nt(u,t))return i[t]=3,s[t];if(n!==ct&&nt(n,t))return i[t]=4,n[t];du&&(i[t]=0)}}const m=Us[t];let d,f;if(m)return t==="$attrs"&&cn(e,"get",t),m(e);if((d=a.__cssModules)&&(d=d[t]))return d;if(n!==ct&&nt(n,t))return i[t]=4,n[t];if(f=l.config.globalProperties,nt(f,t))return f[t]},set({_:e},t,n){const{data:r,setupState:o,ctx:s}=e;return bc(o,t)?(o[t]=n,!0):r!==ct&&nt(r,t)?(r[t]=n,!0):nt(e.props,t)||t[0]==="$"&&t.slice(1)in e?!1:(s[t]=n,!0)},has({_:{data:e,setupState:t,accessCache:n,ctx:r,appContext:o,propsOptions:s}},i){let a;return!!n[i]||e!==ct&&nt(e,i)||bc(t,i)||(a=s[0])&&nt(a,i)||nt(r,i)||nt(Us,i)||nt(o.config.globalProperties,i)},defineProperty(e,t,n){return n.get!=null?e._.accessCache[t]=0:nt(n,"value")&&this.set(e,t,n.value,null),Reflect.defineProperty(e,t,n)}},Sb=zt({},uu,{get(e,t){if(t!==Symbol.unscopables)return uu.get(e,t,e)},has(e,t){return t[0]!=="_"&&!iv(t)}});function Eb(){return null}function $b(){return null}function Tb(e){}function Ab(e){}function Ob(){return null}function Pb(){}function Ib(e,t){return null}function Rb(){return v_().slots}function Db(){return v_().attrs}function v_(){const e=In();return e.setupContext||(e.setupContext=H_(e))}function ci(e){return ze(e)?e.reduce((t,n)=>(t[n]=null,t),{}):e}function Lb(e,t){const n=ci(e);for(const r in t){if(r.startsWith("__skip"))continue;let o=n[r];o?ze(o)||Pe(o)?o=n[r]={type:o,default:t[r]}:o.default=t[r]:o===null&&(o=n[r]={default:t[r]}),o&&t[`__skip_${r}`]&&(o.skipFactory=!0)}return n}function Nb(e,t){return!e||!t?e||t:ze(e)&&ze(t)?e.concat(t):zt({},ci(e),ci(t))}function Mb(e,t){const n={};for(const r in e)t.includes(r)||Object.defineProperty(n,r,{enumerable:!0,get:()=>e[r]});return n}function Fb(e){const t=In();let n=e();return gu(),ad(n)&&(n=n.catch(r=>{throw bo(t),r})),[n,()=>bo(t)]}let du=!0;function Vb(e){const t=Ad(e),n=e.proxy,r=e.ctx;du=!1,t.beforeCreate&&Fm(t.beforeCreate,e,"bc");const{data:o,computed:s,methods:i,watch:a,provide:l,inject:u,created:m,beforeMount:d,mounted:f,beforeUpdate:p,updated:h,activated:_,deactivated:b,beforeDestroy:C,beforeUnmount:w,destroyed:v,unmounted:z,render:E,renderTracked:x,renderTriggered:M,errorCaptured:P,serverPrefetch:I,expose:N,inheritAttrs:Z,components:j,directives:B,filters:X}=t;if(u&&Hb(u,r,null),i)for(const re in i){const se=i[re];Pe(se)&&(r[re]=se.bind(n))}if(o){const re=o.call(n,n);ft(re)&&(e.data=ms(re))}if(du=!0,s)for(const re in s){const se=s[re],je=Pe(se)?se.bind(n,n):Pe(se.get)?se.get.bind(n,n):an,Je=!Pe(se)&&Pe(se.set)?se.set.bind(n):an,We=Nt({get:je,set:Je});Object.defineProperty(r,re,{enumerable:!0,configurable:!0,get:()=>We.value,set:Ue=>We.value=Ue})}if(a)for(const re in a)b_(a[re],r,n,re);if(l){const re=Pe(l)?l.call(n):l;Reflect.ownKeys(re).forEach(se=>{js(se,re[se])})}m&&Fm(m,e,"c");function G(re,se){ze(se)?se.forEach(je=>re(je.bind(n))):se&&re(se.bind(n))}if(G(m_,d),G(ps,f),G(f_,p),G(Fl,h),G(c_,_),G(u_,b),G(g_,P),G(__,x),G(h_,M),G(Vl,w),G(Ci,z),G(p_,I),ze(N))if(N.length){const re=e.exposed||(e.exposed={});N.forEach(se=>{Object.defineProperty(re,se,{get:()=>n[se],set:je=>n[se]=je})})}else e.exposed||(e.exposed={});E&&e.render===an&&(e.render=E),Z!=null&&(e.inheritAttrs=Z),j&&(e.components=j),B&&(e.directives=B)}function Hb(e,t,n=an){ze(e)&&(e=mu(e));for(const r in e){const o=e[r];let s;ft(o)?"default"in o?s=jn(o.from||r,o.default,!0):s=jn(o.from||r):s=jn(o),Ft(s)?Object.defineProperty(t,r,{enumerable:!0,configurable:!0,get:()=>s.value,set:i=>s.value=i}):t[r]=s}}function Fm(e,t,n){yn(ze(e)?e.map(r=>r.bind(t.proxy)):e.bind(t.proxy),t,n)}function b_(e,t,n,r){const o=r.includes(".")?i_(n,r):()=>n[r];if(wt(e)){const s=t[e];Pe(s)&&vn(o,s)}else if(Pe(e))vn(o,e.bind(n));else if(ft(e))if(ze(e))e.forEach(s=>b_(s,t,n,r));else{const s=Pe(e.handler)?e.handler.bind(n):t[e.handler];Pe(s)&&vn(o,s,e)}}function Ad(e){const t=e.type,{mixins:n,extends:r}=t,{mixins:o,optionsCache:s,config:{optionMergeStrategies:i}}=e.appContext,a=s.get(t);let l;return a?l=a:!o.length&&!n&&!r?l=t:(l={},o.length&&o.forEach(u=>ol(l,u,i,!0)),ol(l,t,i)),ft(t)&&s.set(t,l),l}function ol(e,t,n,r=!1){const{mixins:o,extends:s}=t;s&&ol(e,s,n,!0),o&&o.forEach(i=>ol(e,i,n,!0));for(const i in t)if(!(r&&i==="expose")){const a=Ub[i]||n&&n[i];e[i]=a?a(e[i],t[i]):t[i]}return e}const Ub={data:Vm,props:Hm,emits:Hm,methods:Ds,computed:Ds,beforeCreate:Zt,created:Zt,beforeMount:Zt,mounted:Zt,beforeUpdate:Zt,updated:Zt,beforeDestroy:Zt,beforeUnmount:Zt,destroyed:Zt,unmounted:Zt,activated:Zt,deactivated:Zt,errorCaptured:Zt,serverPrefetch:Zt,components:Ds,directives:Ds,watch:qb,provide:Vm,inject:jb};function Vm(e,t){return t?e?function(){return zt(Pe(e)?e.call(this,this):e,Pe(t)?t.call(this,this):t)}:t:e}function jb(e,t){return Ds(mu(e),mu(t))}function mu(e){if(ze(e)){const t={};for(let n=0;n<e.length;n++)t[e[n]]=e[n];return t}return e}function Zt(e,t){return e?[...new Set([].concat(e,t))]:t}function Ds(e,t){return e?zt(Object.create(null),e,t):t}function Hm(e,t){return e?ze(e)&&ze(t)?[...new Set([...e,...t])]:zt(Object.create(null),ci(e),ci(t??{})):t}function qb(e,t){if(!e)return t;if(!t)return e;const n=zt(Object.create(null),e);for(const r in t)n[r]=Zt(e[r],t[r]);return n}function z_(){return{app:null,config:{isNativeTag:Q1,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 Bb=0;function Wb(e,t){return function(r,o=null){Pe(r)||(r=zt({},r)),o!=null&&!ft(o)&&(o=null);const s=z_(),i=new WeakSet;let a=!1;const l=s.app={_uid:Bb++,_component:r,_props:o,_container:null,_context:s,_instance:null,version:j_,get config(){return s.config},set config(u){},use(u,...m){return i.has(u)||(u&&Pe(u.install)?(i.add(u),u.install(l,...m)):Pe(u)&&(i.add(u),u(l,...m))),l},mixin(u){return s.mixins.includes(u)||s.mixins.push(u),l},component(u,m){return m?(s.components[u]=m,l):s.components[u]},directive(u,m){return m?(s.directives[u]=m,l):s.directives[u]},mount(u,m,d){if(!a){const f=y(r,o);return f.appContext=s,d===!0?d="svg":d===!1&&(d=void 0),m&&t?t(f,u):e(f,u,d),a=!0,l._container=u,u.__vue_app__=l,Ul(f.component)||f.component.proxy}},unmount(){a&&(e(null,l._container),delete l._container.__vue_app__)},provide(u,m){return s.provides[u]=m,l},runWithContext(u){const m=Yo;Yo=l;try{return u()}finally{Yo=m}}};return l}}let Yo=null;function js(e,t){if(Dt){let n=Dt.provides;const r=Dt.parent&&Dt.parent.provides;r===n&&(n=Dt.provides=Object.create(r)),n[e]=t}}function jn(e,t,n=!1){const r=Dt||It;if(r||Yo){const o=r?r.parent==null?r.vnode.appContext&&r.vnode.appContext.provides:r.parent.provides:Yo._context.provides;if(o&&e in o)return o[e];if(arguments.length>1)return n&&Pe(t)?t.call(r&&r.proxy):t}}function Gb(){return!!(Dt||It||Yo)}function Kb(e,t,n,r=!1){const o={},s={};Qa(s,Hl,1),e.propsDefaults=Object.create(null),w_(e,t,o,s);for(const i in e.propsOptions[0])i in o||(o[i]=void 0);n?e.props=r?o:pd(o):e.type.props?e.props=o:e.props=s,e.attrs=s}function Zb(e,t,n,r){const{props:o,attrs:s,vnode:{patchFlag:i}}=e,a=Ye(o),[l]=e.propsOptions;let u=!1;if((r||i>0)&&!(i&16)){if(i&8){const m=e.vnode.dynamicProps;for(let d=0;d<m.length;d++){let f=m[d];if(Dl(e.emitsOptions,f))continue;const p=t[f];if(l)if(nt(s,f))p!==s[f]&&(s[f]=p,u=!0);else{const h=Xt(f);o[h]=fu(l,a,h,p,e,!1)}else p!==s[f]&&(s[f]=p,u=!0)}}}else{w_(e,t,o,s)&&(u=!0);let m;for(const d in a)(!t||!nt(t,d)&&((m=_n(d))===d||!nt(t,m)))&&(l?n&&(n[d]!==void 0||n[m]!==void 0)&&(o[d]=fu(l,a,d,void 0,e,!0)):delete o[d]);if(s!==a)for(const d in s)(!t||!nt(t,d))&&(delete s[d],u=!0)}u&&pr(e,"set","$attrs")}function w_(e,t,n,r){const[o,s]=e.propsOptions;let i=!1,a;if(t)for(let l in t){if(Bo(l))continue;const u=t[l];let m;o&&nt(o,m=Xt(l))?!s||!s.includes(m)?n[m]=u:(a||(a={}))[m]=u:Dl(e.emitsOptions,l)||(!(l in r)||u!==r[l])&&(r[l]=u,i=!0)}if(s){const l=Ye(n),u=a||ct;for(let m=0;m<s.length;m++){const d=s[m];n[d]=fu(o,l,d,u[d],e,!nt(u,d))}}return i}function fu(e,t,n,r,o,s){const i=e[n];if(i!=null){const a=nt(i,"default");if(a&&r===void 0){const l=i.default;if(i.type!==Function&&!i.skipFactory&&Pe(l)){const{propsDefaults:u}=o;if(n in u)r=u[n];else{const m=bo(o);r=u[n]=l.call(null,t),m()}}else r=l}i[0]&&(s&&!a?r=!1:i[1]&&(r===""||r===_n(n))&&(r=!0))}return r}function C_(e,t,n=!1){const r=t.propsCache,o=r.get(e);if(o)return o;const s=e.props,i={},a=[];let l=!1;if(!Pe(e)){const m=d=>{l=!0;const[f,p]=C_(d,t,!0);zt(i,f),p&&a.push(...p)};!n&&t.mixins.length&&t.mixins.forEach(m),e.extends&&m(e.extends),e.mixins&&e.mixins.forEach(m)}if(!s&&!l)return ft(e)&&r.set(e,jo),jo;if(ze(s))for(let m=0;m<s.length;m++){const d=Xt(s[m]);Um(d)&&(i[d]=ct)}else if(s)for(const m in s){const d=Xt(m);if(Um(d)){const f=s[m],p=i[d]=ze(f)||Pe(f)?{type:f}:zt({},f);if(p){const h=Bm(Boolean,p.type),_=Bm(String,p.type);p[0]=h>-1,p[1]=_<0||h<_,(h>-1||nt(p,"default"))&&a.push(d)}}}const u=[i,a];return ft(e)&&r.set(e,u),u}function Um(e){return e[0]!=="$"&&!Bo(e)}function jm(e){return e===null?"null":typeof e=="function"?e.name||"":typeof e=="object"&&e.constructor&&e.constructor.name||""}function qm(e,t){return jm(e)===jm(t)}function Bm(e,t){return ze(t)?t.findIndex(n=>qm(n,e)):Pe(t)&&qm(t,e)?0:-1}const k_=e=>e[0]==="_"||e==="$stable",Od=e=>ze(e)?e.map(hn):[hn(e)],Yb=(e,t,n)=>{if(t._n)return t;const r=S((...o)=>Od(t(...o)),n);return r._c=!1,r},x_=(e,t,n)=>{const r=e._ctx;for(const o in e){if(k_(o))continue;const s=e[o];if(Pe(s))t[o]=Yb(o,s,r);else if(s!=null){const i=Od(s);t[o]=()=>i}}},S_=(e,t)=>{const n=Od(t);e.slots.default=()=>n},Jb=(e,t)=>{if(e.vnode.shapeFlag&32){const n=t._;n?(e.slots=Ye(t),Qa(t,"_",n)):x_(t,e.slots={})}else e.slots={},t&&S_(e,t);Qa(e.slots,Hl,1)},Xb=(e,t,n)=>{const{vnode:r,slots:o}=e;let s=!0,i=ct;if(r.shapeFlag&32){const a=t._;a?n&&a===1?s=!1:(zt(o,t),!n&&a===1&&delete o._):(s=!t.$stable,x_(t,o)),i=t}else t&&(S_(e,t),i={default:1});if(s)for(const a in o)!k_(a)&&i[a]==null&&delete o[a]};function sl(e,t,n,r,o=!1){if(ze(e)){e.forEach((f,p)=>sl(f,t&&(ze(t)?t[p]:t),n,r,o));return}if(fo(r)&&!o)return;const s=r.shapeFlag&4?Ul(r.component)||r.component.proxy:r.el,i=o?null:s,{i:a,r:l}=e,u=t&&t.r,m=a.refs===ct?a.refs={}:a.refs,d=a.setupState;if(u!=null&&u!==l&&(wt(u)?(m[u]=null,nt(d,u)&&(d[u]=null)):Ft(u)&&(u.value=null)),Pe(l))hr(l,a,12,[i,m]);else{const f=wt(l),p=Ft(l);if(f||p){const h=()=>{if(e.f){const _=f?nt(d,l)?d[l]:m[l]:l.value;o?ze(_)&&id(_,s):ze(_)?_.includes(s)||_.push(s):f?(m[l]=[s],nt(d,l)&&(d[l]=m[l])):(l.value=[s],e.k&&(m[e.k]=l.value))}else f?(m[l]=i,nt(d,l)&&(d[l]=i)):p&&(l.value=i,e.k&&(m[e.k]=i))};i?(h.id=-1,Ut(h,n)):h()}}}let Cr=!1;const Qb=e=>e.namespaceURI.includes("svg")&&e.tagName!=="foreignObject",ez=e=>e.namespaceURI.includes("MathML"),qi=e=>{if(Qb(e))return"svg";if(ez(e))return"mathml"},Bi=e=>e.nodeType===8;function tz(e){const{mt:t,p:n,o:{patchProp:r,createText:o,nextSibling:s,parentNode:i,remove:a,insert:l,createComment:u}}=e,m=(v,z)=>{if(!z.hasChildNodes()){n(null,v,z),rl(),z._vnode=v;return}Cr=!1,d(z.firstChild,v,null,null,null),rl(),z._vnode=v,Cr&&console.error("Hydration completed but contains mismatches.")},d=(v,z,E,x,M,P=!1)=>{const I=Bi(v)&&v.data==="[",N=()=>_(v,z,E,x,M,I),{type:Z,ref:j,shapeFlag:B,patchFlag:X}=z;let pe=v.nodeType;z.el=v,X===-2&&(P=!1,z.dynamicChildren=null);let G=null;switch(Z){case Br:pe!==3?z.children===""?(l(z.el=o(""),i(v),v),G=v):G=N():(v.data!==z.children&&(Cr=!0,v.data=z.children),G=s(v));break;case Gt:w(v)?(G=s(v),C(z.el=v.content.firstChild,v,E)):pe!==8||I?G=N():G=s(v);break;case po:if(I&&(v=s(v),pe=v.nodeType),pe===1||pe===3){G=v;const re=!z.children.length;for(let se=0;se<z.staticCount;se++)re&&(z.children+=G.nodeType===1?G.outerHTML:G.data),se===z.staticCount-1&&(z.anchor=G),G=s(G);return I?s(G):G}else N();break;case Ce:I?G=h(v,z,E,x,M,P):G=N();break;default:if(B&1)(pe!==1||z.type.toLowerCase()!==v.tagName.toLowerCase())&&!w(v)?G=N():G=f(v,z,E,x,M,P);else if(B&6){z.slotScopeIds=M;const re=i(v);if(I?G=b(v):Bi(v)&&v.data==="teleport start"?G=b(v,v.data,"teleport end"):G=s(v),t(z,re,null,E,x,qi(re),P),fo(z)){let se;I?(se=y(Ce),se.anchor=G?G.previousSibling:re.lastChild):se=v.nodeType===3?gt(""):y("div"),se.el=v,z.component.subTree=se}}else B&64?pe!==8?G=N():G=z.type.hydrate(v,z,E,x,M,P,e,p):B&128&&(G=z.type.hydrate(v,z,E,x,qi(i(v)),M,P,e,d))}return j!=null&&sl(j,null,x,z),G},f=(v,z,E,x,M,P)=>{P=P||!!z.dynamicChildren;const{type:I,props:N,patchFlag:Z,shapeFlag:j,dirs:B,transition:X}=z,pe=I==="input"||I==="option";if(pe||Z!==-1){B&&Xn(z,null,E,"created");let G=!1;if(w(v)){G=A_(x,X)&&E&&E.vnode.props&&E.vnode.props.appear;const se=v.content.firstChild;G&&X.beforeEnter(se),C(se,v,E),z.el=v=se}if(j&16&&!(N&&(N.innerHTML||N.textContent))){let se=p(v.firstChild,z,v,E,x,M,P);for(;se;){Cr=!0;const je=se;se=se.nextSibling,a(je)}}else j&8&&v.textContent!==z.children&&(Cr=!0,v.textContent=z.children);if(N)if(pe||!P||Z&48)for(const se in N)(pe&&(se.endsWith("value")||se==="indeterminate")||vi(se)&&!Bo(se)||se[0]===".")&&r(v,se,null,N[se],void 0,void 0,E);else N.onClick&&r(v,"onClick",null,N.onClick,void 0,void 0,E);let re;(re=N&&N.onVnodeBeforeMount)&&rn(re,E,z),B&&Xn(z,null,E,"beforeMount"),((re=N&&N.onVnodeMounted)||B||G)&&e_(()=>{re&&rn(re,E,z),G&&X.enter(v),B&&Xn(z,null,E,"mounted")},x)}return v.nextSibling},p=(v,z,E,x,M,P,I)=>{I=I||!!z.dynamicChildren;const N=z.children,Z=N.length;for(let j=0;j<Z;j++){const B=I?N[j]:N[j]=hn(N[j]);if(v)v=d(v,B,x,M,P,I);else{if(B.type===Br&&!B.children)continue;Cr=!0,n(null,B,E,null,x,M,qi(E),P)}}return v},h=(v,z,E,x,M,P)=>{const{slotScopeIds:I}=z;I&&(M=M?M.concat(I):I);const N=i(v),Z=p(s(v),z,N,E,x,M,P);return Z&&Bi(Z)&&Z.data==="]"?s(z.anchor=Z):(Cr=!0,l(z.anchor=u("]"),N,Z),Z)},_=(v,z,E,x,M,P)=>{if(Cr=!0,z.el=null,P){const Z=b(v);for(;;){const j=s(v);if(j&&j!==Z)a(j);else break}}const I=s(v),N=i(v);return a(v),n(null,z,N,I,E,x,qi(N),M),I},b=(v,z="[",E="]")=>{let x=0;for(;v;)if(v=s(v),v&&Bi(v)&&(v.data===z&&x++,v.data===E)){if(x===0)return s(v);x--}return v},C=(v,z,E)=>{const x=z.parentNode;x&&x.replaceChild(v,z);let M=E;for(;M;)M.vnode.el===z&&(M.vnode.el=M.subTree.el=v),M=M.parent},w=v=>v.nodeType===1&&v.tagName.toLowerCase()==="template";return[m,d]}const Ut=e_;function E_(e){return T_(e)}function $_(e){return T_(e,tz)}function T_(e,t){const n=kh();n.__VUE__=!0;const{insert:r,remove:o,patchProp:s,createElement:i,createText:a,createComment:l,setText:u,setElementText:m,parentNode:d,nextSibling:f,setScopeId:p=an,insertStaticContent:h}=e,_=(T,O,H,Y=null,K=null,ae=null,de=void 0,ne=null,le=!!O.dynamicChildren)=>{if(T===O)return;T&&!Hn(T,O)&&(Y=W(T),Ue(T,K,ae,!0),T=null),O.patchFlag===-2&&(le=!1,O.dynamicChildren=null);const{type:Q,ref:he,shapeFlag:me}=O;switch(Q){case Br:b(T,O,H,Y);break;case Gt:C(T,O,H,Y);break;case po:T==null&&w(O,H,Y,de);break;case Ce:j(T,O,H,Y,K,ae,de,ne,le);break;default:me&1?E(T,O,H,Y,K,ae,de,ne,le):me&6?B(T,O,H,Y,K,ae,de,ne,le):(me&64||me&128)&&Q.process(T,O,H,Y,K,ae,de,ne,le,ge)}he!=null&&K&&sl(he,T&&T.ref,ae,O||T,!O)},b=(T,O,H,Y)=>{if(T==null)r(O.el=a(O.children),H,Y);else{const K=O.el=T.el;O.children!==T.children&&u(K,O.children)}},C=(T,O,H,Y)=>{T==null?r(O.el=l(O.children||""),H,Y):O.el=T.el},w=(T,O,H,Y)=>{[T.el,T.anchor]=h(T.children,O,H,Y,T.el,T.anchor)},v=({el:T,anchor:O},H,Y)=>{let K;for(;T&&T!==O;)K=f(T),r(T,H,Y),T=K;r(O,H,Y)},z=({el:T,anchor:O})=>{let H;for(;T&&T!==O;)H=f(T),o(T),T=H;o(O)},E=(T,O,H,Y,K,ae,de,ne,le)=>{O.type==="svg"?de="svg":O.type==="math"&&(de="mathml"),T==null?x(O,H,Y,K,ae,de,ne,le):I(T,O,K,ae,de,ne,le)},x=(T,O,H,Y,K,ae,de,ne)=>{let le,Q;const{props:he,shapeFlag:me,transition:L,dirs:q}=T;if(le=T.el=i(T.type,ae,he&&he.is,he),me&8?m(le,T.children):me&16&&P(T.children,le,null,Y,K,zc(T,ae),de,ne),q&&Xn(T,null,Y,"created"),M(le,T,T.scopeId,de,Y),he){for(const Ee in he)Ee!=="value"&&!Bo(Ee)&&s(le,Ee,null,he[Ee],ae,T.children,Y,K,Me);"value"in he&&s(le,"value",null,he.value,ae),(Q=he.onVnodeBeforeMount)&&rn(Q,Y,T)}q&&Xn(T,null,Y,"beforeMount");const ye=A_(K,L);ye&&L.beforeEnter(le),r(le,O,H),((Q=he&&he.onVnodeMounted)||ye||q)&&Ut(()=>{Q&&rn(Q,Y,T),ye&&L.enter(le),q&&Xn(T,null,Y,"mounted")},K)},M=(T,O,H,Y,K)=>{if(H&&p(T,H),Y)for(let ae=0;ae<Y.length;ae++)p(T,Y[ae]);if(K){let ae=K.subTree;if(O===ae){const de=K.vnode;M(T,de,de.scopeId,de.slotScopeIds,K.parent)}}},P=(T,O,H,Y,K,ae,de,ne,le=0)=>{for(let Q=le;Q<T.length;Q++){const he=T[Q]=ne?Rr(T[Q]):hn(T[Q]);_(null,he,O,H,Y,K,ae,de,ne)}},I=(T,O,H,Y,K,ae,de)=>{const ne=O.el=T.el;let{patchFlag:le,dynamicChildren:Q,dirs:he}=O;le|=T.patchFlag&16;const me=T.props||ct,L=O.props||ct;let q;if(H&&Xr(H,!1),(q=L.onVnodeBeforeUpdate)&&rn(q,H,O,T),he&&Xn(O,T,H,"beforeUpdate"),H&&Xr(H,!0),Q?N(T.dynamicChildren,Q,ne,H,Y,zc(O,K),ae):de||se(T,O,ne,null,H,Y,zc(O,K),ae,!1),le>0){if(le&16)Z(ne,O,me,L,H,Y,K);else if(le&2&&me.class!==L.class&&s(ne,"class",null,L.class,K),le&4&&s(ne,"style",me.style,L.style,K),le&8){const ye=O.dynamicProps;for(let Ee=0;Ee<ye.length;Ee++){const R=ye[Ee],D=me[R],U=L[R];(U!==D||R==="value")&&s(ne,R,D,U,K,T.children,H,Y,Me)}}le&1&&T.children!==O.children&&m(ne,O.children)}else!de&&Q==null&&Z(ne,O,me,L,H,Y,K);((q=L.onVnodeUpdated)||he)&&Ut(()=>{q&&rn(q,H,O,T),he&&Xn(O,T,H,"updated")},Y)},N=(T,O,H,Y,K,ae,de)=>{for(let ne=0;ne<O.length;ne++){const le=T[ne],Q=O[ne],he=le.el&&(le.type===Ce||!Hn(le,Q)||le.shapeFlag&70)?d(le.el):H;_(le,Q,he,null,Y,K,ae,de,!0)}},Z=(T,O,H,Y,K,ae,de)=>{if(H!==Y){if(H!==ct)for(const ne in H)!Bo(ne)&&!(ne in Y)&&s(T,ne,H[ne],null,de,O.children,K,ae,Me);for(const ne in Y){if(Bo(ne))continue;const le=Y[ne],Q=H[ne];le!==Q&&ne!=="value"&&s(T,ne,Q,le,de,O.children,K,ae,Me)}"value"in Y&&s(T,"value",H.value,Y.value,de)}},j=(T,O,H,Y,K,ae,de,ne,le)=>{const Q=O.el=T?T.el:a(""),he=O.anchor=T?T.anchor:a("");let{patchFlag:me,dynamicChildren:L,slotScopeIds:q}=O;q&&(ne=ne?ne.concat(q):q),T==null?(r(Q,H,Y),r(he,H,Y),P(O.children||[],H,he,K,ae,de,ne,le)):me>0&&me&64&&L&&T.dynamicChildren?(N(T.dynamicChildren,L,H,K,ae,de,ne),(O.key!=null||K&&O===K.subTree)&&Pd(T,O,!0)):se(T,O,H,he,K,ae,de,ne,le)},B=(T,O,H,Y,K,ae,de,ne,le)=>{O.slotScopeIds=ne,T==null?O.shapeFlag&512?K.ctx.activate(O,H,Y,de,le):X(O,H,Y,K,ae,de,le):pe(T,O,le)},X=(T,O,H,Y,K,ae,de)=>{const ne=T.component=N_(T,Y,K);if(wi(T)&&(ne.ctx.renderer=ge),F_(ne),ne.asyncDep){if(K&&K.registerDep(ne,G),!T.el){const le=ne.subTree=y(Gt);C(null,le,O,H)}}else G(ne,T,O,H,K,ae,de)},pe=(T,O,H)=>{const Y=O.component=T.component;if(ub(T,O,H))if(Y.asyncDep&&!Y.asyncResolved){re(Y,O,H);return}else Y.next=O,tb(Y.update),Y.effect.dirty=!0,Y.update();else O.el=T.el,Y.vnode=O},G=(T,O,H,Y,K,ae,de)=>{const ne=()=>{if(T.isMounted){let{next:he,bu:me,u:L,parent:q,vnode:ye}=T;{const ee=O_(T);if(ee){he&&(he.el=ye.el,re(T,he,de)),ee.asyncDep.then(()=>{T.isUnmounted||ne()});return}}let Ee=he,R;Xr(T,!1),he?(he.el=ye.el,re(T,he,de)):he=ye,me&&Wo(me),(R=he.props&&he.props.onVnodeBeforeUpdate)&&rn(R,q,he,ye),Xr(T,!0);const D=Fa(T),U=T.subTree;T.subTree=D,_(U,D,d(U.el),W(U),T,K,ae),he.el=D.el,Ee===null&&Cd(T,D.el),L&&Ut(L,K),(R=he.props&&he.props.onVnodeUpdated)&&Ut(()=>rn(R,q,he,ye),K)}else{let he;const{el:me,props:L}=O,{bm:q,m:ye,parent:Ee}=T,R=fo(O);if(Xr(T,!1),q&&Wo(q),!R&&(he=L&&L.onVnodeBeforeMount)&&rn(he,Ee,O),Xr(T,!0),me&&Ke){const D=()=>{T.subTree=Fa(T),Ke(me,T.subTree,T,K,null)};R?O.type.__asyncLoader().then(()=>!T.isUnmounted&&D()):D()}else{const D=T.subTree=Fa(T);_(null,D,H,Y,T,K,ae),O.el=D.el}if(ye&&Ut(ye,K),!R&&(he=L&&L.onVnodeMounted)){const D=O;Ut(()=>rn(he,Ee,D),K)}(O.shapeFlag&256||Ee&&fo(Ee.vnode)&&Ee.vnode.shapeFlag&256)&&T.a&&Ut(T.a,K),T.isMounted=!0,O=H=Y=null}},le=T.effect=new ts(ne,an,()=>Rl(Q),T.scope),Q=T.update=()=>{le.dirty&&le.run()};Q.id=T.uid,Xr(T,!0),Q()},re=(T,O,H)=>{O.component=T;const Y=T.vnode.props;T.vnode=O,T.next=null,Zb(T,O.props,Y,H),Xb(T,O.children,H),wo(),Rm(T),Co()},se=(T,O,H,Y,K,ae,de,ne,le=!1)=>{const Q=T&&T.children,he=T?T.shapeFlag:0,me=O.children,{patchFlag:L,shapeFlag:q}=O;if(L>0){if(L&128){Je(Q,me,H,Y,K,ae,de,ne,le);return}else if(L&256){je(Q,me,H,Y,K,ae,de,ne,le);return}}q&8?(he&16&&Me(Q,K,ae),me!==Q&&m(H,me)):he&16?q&16?Je(Q,me,H,Y,K,ae,de,ne,le):Me(Q,K,ae,!0):(he&8&&m(H,""),q&16&&P(me,H,Y,K,ae,de,ne,le))},je=(T,O,H,Y,K,ae,de,ne,le)=>{T=T||jo,O=O||jo;const Q=T.length,he=O.length,me=Math.min(Q,he);let L;for(L=0;L<me;L++){const q=O[L]=le?Rr(O[L]):hn(O[L]);_(T[L],q,H,null,K,ae,de,ne,le)}Q>he?Me(T,K,ae,!0,!1,me):P(O,H,Y,K,ae,de,ne,le,me)},Je=(T,O,H,Y,K,ae,de,ne,le)=>{let Q=0;const he=O.length;let me=T.length-1,L=he-1;for(;Q<=me&&Q<=L;){const q=T[Q],ye=O[Q]=le?Rr(O[Q]):hn(O[Q]);if(Hn(q,ye))_(q,ye,H,null,K,ae,de,ne,le);else break;Q++}for(;Q<=me&&Q<=L;){const q=T[me],ye=O[L]=le?Rr(O[L]):hn(O[L]);if(Hn(q,ye))_(q,ye,H,null,K,ae,de,ne,le);else break;me--,L--}if(Q>me){if(Q<=L){const q=L+1,ye=q<he?O[q].el:Y;for(;Q<=L;)_(null,O[Q]=le?Rr(O[Q]):hn(O[Q]),H,ye,K,ae,de,ne,le),Q++}}else if(Q>L)for(;Q<=me;)Ue(T[Q],K,ae,!0),Q++;else{const q=Q,ye=Q,Ee=new Map;for(Q=ye;Q<=L;Q++){const Re=O[Q]=le?Rr(O[Q]):hn(O[Q]);Re.key!=null&&Ee.set(Re.key,Q)}let R,D=0;const U=L-ye+1;let ee=!1,be=0;const $e=new Array(U);for(Q=0;Q<U;Q++)$e[Q]=0;for(Q=q;Q<=me;Q++){const Re=T[Q];if(D>=U){Ue(Re,K,ae,!0);continue}let rt;if(Re.key!=null)rt=Ee.get(Re.key);else for(R=ye;R<=L;R++)if($e[R-ye]===0&&Hn(Re,O[R])){rt=R;break}rt===void 0?Ue(Re,K,ae,!0):($e[rt-ye]=Q+1,rt>=be?be=rt:ee=!0,_(Re,O[rt],H,null,K,ae,de,ne,le),D++)}const De=ee?nz($e):jo;for(R=De.length-1,Q=U-1;Q>=0;Q--){const Re=ye+Q,rt=O[Re],Ae=Re+1<he?O[Re+1].el:Y;$e[Q]===0?_(null,rt,H,Ae,K,ae,de,ne,le):ee&&(R<0||Q!==De[R]?We(rt,H,Ae,2):R--)}}},We=(T,O,H,Y,K=null)=>{const{el:ae,type:de,transition:ne,children:le,shapeFlag:Q}=T;if(Q&6){We(T.component.subTree,O,H,Y);return}if(Q&128){T.suspense.move(O,H,Y);return}if(Q&64){de.move(T,O,H,ge);return}if(de===Ce){r(ae,O,H);for(let me=0;me<le.length;me++)We(le[me],O,H,Y);r(T.anchor,O,H);return}if(de===po){v(T,O,H);return}if(Y!==2&&Q&1&&ne)if(Y===0)ne.beforeEnter(ae),r(ae,O,H),Ut(()=>ne.enter(ae),K);else{const{leave:me,delayLeave:L,afterLeave:q}=ne,ye=()=>r(ae,O,H),Ee=()=>{me(ae,()=>{ye(),q&&q()})};L?L(ae,ye,Ee):Ee()}else r(ae,O,H)},Ue=(T,O,H,Y=!1,K=!1)=>{const{type:ae,props:de,ref:ne,children:le,dynamicChildren:Q,shapeFlag:he,patchFlag:me,dirs:L}=T;if(ne!=null&&sl(ne,null,H,T,!0),he&256){O.ctx.deactivate(T);return}const q=he&1&&L,ye=!fo(T);let Ee;if(ye&&(Ee=de&&de.onVnodeBeforeUnmount)&&rn(Ee,O,T),he&6)ht(T.component,H,Y);else{if(he&128){T.suspense.unmount(H,Y);return}q&&Xn(T,null,O,"beforeUnmount"),he&64?T.type.remove(T,O,H,K,ge,Y):Q&&(ae!==Ce||me>0&&me&64)?Me(Q,O,H,!1,!0):(ae===Ce&&me&384||!K&&he&16)&&Me(le,O,H),Y&&dt(T)}(ye&&(Ee=de&&de.onVnodeUnmounted)||q)&&Ut(()=>{Ee&&rn(Ee,O,T),q&&Xn(T,null,O,"unmounted")},H)},dt=T=>{const{type:O,el:H,anchor:Y,transition:K}=T;if(O===Ce){pt(H,Y);return}if(O===po){z(T);return}const ae=()=>{o(H),K&&!K.persisted&&K.afterLeave&&K.afterLeave()};if(T.shapeFlag&1&&K&&!K.persisted){const{leave:de,delayLeave:ne}=K,le=()=>de(H,ae);ne?ne(T.el,ae,le):le()}else ae()},pt=(T,O)=>{let H;for(;T!==O;)H=f(T),o(T),T=H;o(O)},ht=(T,O,H)=>{const{bum:Y,scope:K,update:ae,subTree:de,um:ne}=T;Y&&Wo(Y),K.stop(),ae&&(ae.active=!1,Ue(de,T,O,H)),ne&&Ut(ne,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())},Me=(T,O,H,Y=!1,K=!1,ae=0)=>{for(let de=ae;de<T.length;de++)Ue(T[de],O,H,Y,K)},W=T=>T.shapeFlag&6?W(T.component.subTree):T.shapeFlag&128?T.suspense.next():f(T.anchor||T.el);let ce=!1;const ie=(T,O,H)=>{T==null?O._vnode&&Ue(O._vnode,null,null,!0):_(O._vnode||null,T,O,null,null,null,H),ce||(ce=!0,Rm(),rl(),ce=!1),O._vnode=T},ge={p:_,um:Ue,m:We,r:dt,mt:X,mc:P,pc:se,pbc:N,n:W,o:e};let Ve,Ke;return t&&([Ve,Ke]=t(ge)),{render:ie,hydrate:Ve,createApp:Wb(ie,Ve)}}function zc({type:e,props:t},n){return n==="svg"&&e==="foreignObject"||n==="mathml"&&e==="annotation-xml"&&t&&t.encoding&&t.encoding.includes("html")?void 0:n}function Xr({effect:e,update:t},n){e.allowRecurse=t.allowRecurse=n}function A_(e,t){return(!e||e&&!e.pendingBranch)&&t&&!t.persisted}function Pd(e,t,n=!1){const r=e.children,o=t.children;if(ze(r)&&ze(o))for(let s=0;s<r.length;s++){const i=r[s];let a=o[s];a.shapeFlag&1&&!a.dynamicChildren&&((a.patchFlag<=0||a.patchFlag===32)&&(a=o[s]=Rr(o[s]),a.el=i.el),n||Pd(i,a)),a.type===Br&&(a.el=i.el)}}function nz(e){const t=e.slice(),n=[0];let r,o,s,i,a;const l=e.length;for(r=0;r<l;r++){const u=e[r];if(u!==0){if(o=n[n.length-1],e[o]<u){t[r]=o,n.push(r);continue}for(s=0,i=n.length-1;s<i;)a=s+i>>1,e[n[a]]<u?s=a+1:i=a;u<e[n[s]]&&(s>0&&(t[r]=n[s-1]),n[s]=r)}}for(s=n.length,i=n[s-1];s-- >0;)n[s]=i,i=t[i];return n}function O_(e){const t=e.subTree.component;if(t)return t.asyncDep&&!t.asyncResolved?t:O_(t)}const rz=e=>e.__isTeleport,qs=e=>e&&(e.disabled||e.disabled===""),Wm=e=>typeof SVGElement<"u"&&e instanceof SVGElement,Gm=e=>typeof MathMLElement=="function"&&e instanceof MathMLElement,pu=(e,t)=>{const n=e&&e.to;return wt(n)?t?t(n):null:n},oz={name:"Teleport",__isTeleport:!0,process(e,t,n,r,o,s,i,a,l,u){const{mc:m,pc:d,pbc:f,o:{insert:p,querySelector:h,createText:_,createComment:b}}=u,C=qs(t.props);let{shapeFlag:w,children:v,dynamicChildren:z}=t;if(e==null){const E=t.el=_(""),x=t.anchor=_("");p(E,n,r),p(x,n,r);const M=t.target=pu(t.props,h),P=t.targetAnchor=_("");M&&(p(P,M),i==="svg"||Wm(M)?i="svg":(i==="mathml"||Gm(M))&&(i="mathml"));const I=(N,Z)=>{w&16&&m(v,N,Z,o,s,i,a,l)};C?I(n,x):M&&I(M,P)}else{t.el=e.el;const E=t.anchor=e.anchor,x=t.target=e.target,M=t.targetAnchor=e.targetAnchor,P=qs(e.props),I=P?n:x,N=P?E:M;if(i==="svg"||Wm(x)?i="svg":(i==="mathml"||Gm(x))&&(i="mathml"),z?(f(e.dynamicChildren,z,I,o,s,i,a),Pd(e,t,!0)):l||d(e,t,I,N,o,s,i,a,!1),C)P?t.props&&e.props&&t.props.to!==e.props.to&&(t.props.to=e.props.to):Wi(t,n,E,u,1);else if((t.props&&t.props.to)!==(e.props&&e.props.to)){const Z=t.target=pu(t.props,h);Z&&Wi(t,Z,null,u,0)}else P&&Wi(t,x,M,u,1)}P_(t)},remove(e,t,n,r,{um:o,o:{remove:s}},i){const{shapeFlag:a,children:l,anchor:u,targetAnchor:m,target:d,props:f}=e;if(d&&s(m),i&&s(u),a&16){const p=i||!qs(f);for(let h=0;h<l.length;h++){const _=l[h];o(_,t,n,p,!!_.dynamicChildren)}}},move:Wi,hydrate:sz};function Wi(e,t,n,{o:{insert:r},m:o},s=2){s===0&&r(e.targetAnchor,t,n);const{el:i,anchor:a,shapeFlag:l,children:u,props:m}=e,d=s===2;if(d&&r(i,t,n),(!d||qs(m))&&l&16)for(let f=0;f<u.length;f++)o(u[f],t,n,2);d&&r(a,t,n)}function sz(e,t,n,r,o,s,{o:{nextSibling:i,parentNode:a,querySelector:l}},u){const m=t.target=pu(t.props,l);if(m){const d=m._lpa||m.firstChild;if(t.shapeFlag&16)if(qs(t.props))t.anchor=u(i(e),t,a(e),n,r,o,s),t.targetAnchor=d;else{t.anchor=i(e);let f=d;for(;f;)if(f=i(f),f&&f.nodeType===8&&f.data==="teleport anchor"){t.targetAnchor=f,m._lpa=t.targetAnchor&&i(t.targetAnchor);break}u(d,t,m,n,r,o,s)}P_(t)}return t.anchor&&i(t.anchor)}const Zr=oz;function P_(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 Ce=Symbol.for("v-fgt"),Br=Symbol.for("v-txt"),Gt=Symbol.for("v-cmt"),po=Symbol.for("v-stc"),Bs=[];let ln=null;function k(e=!1){Bs.push(ln=e?null:[])}function I_(){Bs.pop(),ln=Bs[Bs.length-1]||null}let vo=1;function hu(e){vo+=e}function R_(e){return e.dynamicChildren=vo>0?ln||jo:null,I_(),vo>0&&ln&&ln.push(e),e}function A(e,t,n,r,o,s){return R_(c(e,t,n,r,o,s,!0))}function _e(e,t,n,r,o){return R_(y(e,t,n,r,o,!0))}function Wr(e){return e?e.__v_isVNode===!0:!1}function Hn(e,t){return e.type===t.type&&e.key===t.key}function iz(e){}const Hl="__vInternal",D_=({key:e})=>e??null,Va=({ref:e,ref_key:t,ref_for:n})=>(typeof e=="number"&&(e=""+e),e!=null?wt(e)||Ft(e)||Pe(e)?{i:It,r:e,k:t,f:!!n}:e:null);function c(e,t=null,n=null,r=0,o=null,s=e===Ce?0:1,i=!1,a=!1){const l={__v_isVNode:!0,__v_skip:!0,type:e,props:t,key:t&&D_(t),ref:t&&Va(t),scopeId:Ll,slotScopeIds:null,children:n,component:null,suspense:null,ssContent:null,ssFallback:null,dirs:null,transition:null,el:null,anchor:null,target:null,targetAnchor:null,staticCount:0,shapeFlag:s,patchFlag:r,dynamicProps:o,dynamicChildren:null,appContext:null,ctx:It};return a?(Id(l,n),s&128&&e.normalize(l)):n&&(l.shapeFlag|=wt(n)?8:16),vo>0&&!i&&ln&&(l.patchFlag>0||s&6)&&l.patchFlag!==32&&ln.push(l),l}const y=az;function az(e,t=null,n=null,r=0,o=null,s=!1){if((!e||e===Jh)&&(e=Gt),Wr(e)){const a=sr(e,t,!0);return n&&Id(a,n),vo>0&&!s&&ln&&(a.shapeFlag&6?ln[ln.indexOf(e)]=a:ln.push(a)),a.patchFlag|=-2,a}if(hz(e)&&(e=e.__vccOpts),t){t=L_(t);let{class:a,style:l}=t;a&&!wt(a)&&(t.class=Se(a)),ft(l)&&(_d(l)&&!ze(l)&&(l=zt({},l)),t.style=Kr(l))}const i=wt(e)?1:Qh(e)?128:rz(e)?64:ft(e)?4:Pe(e)?2:0;return c(e,t,n,r,o,i,s,!0)}function L_(e){return e?_d(e)||Hl in e?zt({},e):e:null}function sr(e,t,n=!1){const{props:r,ref:o,patchFlag:s,children:i}=e,a=t?Vo(r||{},t):r;return{__v_isVNode:!0,__v_skip:!0,type:e.type,props:a,key:a&&D_(a),ref:t&&t.ref?n&&o?ze(o)?o.concat(Va(t)):[o,Va(t)]:Va(t):o,scopeId:e.scopeId,slotScopeIds:e.slotScopeIds,children:i,target:e.target,targetAnchor:e.targetAnchor,staticCount:e.staticCount,shapeFlag:e.shapeFlag,patchFlag:t&&e.type!==Ce?s===-1?16:s|16:s,dynamicProps:e.dynamicProps,dynamicChildren:e.dynamicChildren,appContext:e.appContext,dirs:e.dirs,transition:e.transition,component:e.component,suspense:e.suspense,ssContent:e.ssContent&&sr(e.ssContent),ssFallback:e.ssFallback&&sr(e.ssFallback),el:e.el,anchor:e.anchor,ctx:e.ctx,ce:e.ce}}function gt(e=" ",t=0){return y(Br,null,e,t)}function lz(e,t){const n=y(po,null,e);return n.staticCount=t,n}function F(e="",t=!1){return t?(k(),_e(Gt,null,e)):y(Gt,null,e)}function hn(e){return e==null||typeof e=="boolean"?y(Gt):ze(e)?y(Ce,null,e.slice()):typeof e=="object"?Rr(e):y(Br,null,String(e))}function Rr(e){return e.el===null&&e.patchFlag!==-1||e.memo?e:sr(e)}function Id(e,t){let n=0;const{shapeFlag:r}=e;if(t==null)t=null;else if(ze(t))n=16;else if(typeof t=="object")if(r&65){const o=t.default;o&&(o._c&&(o._d=!1),Id(e,o()),o._c&&(o._d=!0));return}else{n=32;const o=t._;!o&&!(Hl in t)?t._ctx=It:o===3&&It&&(It.slots._===1?t._=1:(t._=2,e.patchFlag|=1024))}else Pe(t)?(t={default:t,_ctx:It},n=32):(t=String(t),r&64?(n=16,t=[gt(t)]):n=8);e.children=t,e.shapeFlag|=n}function Vo(...e){const t={};for(let n=0;n<e.length;n++){const r=e[n];for(const o in r)if(o==="class")t.class!==r.class&&(t.class=Se([t.class,r.class]));else if(o==="style")t.style=Kr([t.style,r.style]);else if(vi(o)){const s=t[o],i=r[o];i&&s!==i&&!(ze(s)&&s.includes(i))&&(t[o]=s?[].concat(s,i):i)}else o!==""&&(t[o]=r[o])}return t}function rn(e,t,n,r=null){yn(e,t,7,[n,r])}const cz=z_();let uz=0;function N_(e,t,n){const r=e.type,o=(t?t.appContext:e.appContext)||cz,s={uid:uz++,vnode:e,type:r,parent:t,appContext:o,root:null,next:null,subTree:null,effect:null,update:null,scope:new cd(!0),render:null,proxy:null,exposed:null,exposeProxy:null,withProxy:null,provides:t?t.provides:Object.create(o.provides),accessCache:null,renderCache:[],components:null,directives:null,propsOptions:C_(r,o),emitsOptions:Yh(r,o),emit:null,emitted:null,propsDefaults:ct,inheritAttrs:r.inheritAttrs,ctx:ct,data:ct,props:ct,attrs:ct,slots:ct,refs:ct,setupState:ct,setupContext:null,attrsProxy:null,slotsProxy:null,suspense:n,suspenseId:n?n.pendingId:0,asyncDep:null,asyncResolved:!1,isMounted:!1,isUnmounted:!1,isDeactivated:!1,bc:null,c:null,bm:null,m:null,bu:null,u:null,um:null,bum:null,da:null,a:null,rtg:null,rtc:null,ec:null,sp:null};return s.ctx={_:s},s.root=t?t.root:s,s.emit=rb.bind(null,s),e.ce&&e.ce(s),s}let Dt=null;const In=()=>Dt||It;let il,_u;{const e=kh(),t=(n,r)=>{let o;return(o=e[n])||(o=e[n]=[]),o.push(r),s=>{o.length>1?o.forEach(i=>i(s)):o[0](s)}};il=t("__VUE_INSTANCE_SETTERS__",n=>Dt=n),_u=t("__VUE_SSR_SETTERS__",n=>xi=n)}const bo=e=>{const t=Dt;return il(e),e.scope.on(),()=>{e.scope.off(),il(t)}},gu=()=>{Dt&&Dt.scope.off(),il(null)};function M_(e){return e.vnode.shapeFlag&4}let xi=!1;function F_(e,t=!1){t&&_u(t);const{props:n,children:r}=e.vnode,o=M_(e);Kb(e,n,o,t),Jb(e,r);const s=o?dz(e,t):void 0;return t&&_u(!1),s}function dz(e,t){const n=e.type;e.accessCache=Object.create(null),e.proxy=gd(new Proxy(e.ctx,uu));const{setup:r}=n;if(r){const o=e.setupContext=r.length>1?H_(e):null,s=bo(e);wo();const i=hr(r,e,0,[e.props,o]);if(Co(),s(),ad(i)){if(i.then(gu,gu),t)return i.then(a=>{yu(e,a,t)}).catch(a=>{ko(a,e,0)});e.asyncDep=i}else yu(e,i,t)}else V_(e,t)}function yu(e,t,n){Pe(t)?e.type.__ssrInlineRender?e.ssrRender=t:e.render=t:ft(t)&&(e.setupState=zd(t)),V_(e,n)}let al,vu;function mz(e){al=e,vu=t=>{t.render._rc&&(t.withProxy=new Proxy(t.ctx,Sb))}}const fz=()=>!al;function V_(e,t,n){const r=e.type;if(!e.render){if(!t&&al&&!r.render){const o=r.template||Ad(e).template;if(o){const{isCustomElement:s,compilerOptions:i}=e.appContext.config,{delimiters:a,compilerOptions:l}=r,u=zt(zt({isCustomElement:s,delimiters:a},i),l);r.render=al(o,u)}}e.render=r.render||an,vu&&vu(e)}{const o=bo(e);wo();try{Vb(e)}finally{Co(),o()}}}function pz(e){return e.attrsProxy||(e.attrsProxy=new Proxy(e.attrs,{get(t,n){return cn(e,"get","$attrs"),t[n]}}))}function H_(e){const t=n=>{e.exposed=n||{}};return{get attrs(){return pz(e)},slots:e.slots,emit:e.emit,expose:t}}function Ul(e){if(e.exposed)return e.exposeProxy||(e.exposeProxy=new Proxy(zd(gd(e.exposed)),{get(t,n){if(n in t)return t[n];if(n in Us)return Us[n](e)},has(t,n){return n in t||n in Us}}))}function bu(e,t=!0){return Pe(e)?e.displayName||e.name:e.name||t&&e.__name}function hz(e){return Pe(e)&&"__vccOpts"in e}const Nt=(e,t)=>Mv(e,t,xi);function _z(e,t,n=ct){const r=In(),o=Xt(t),s=_n(t),i=qh((l,u)=>{let m;return s_(()=>{const d=e[t];qn(m,d)&&(m=d,u())}),{get(){return l(),n.get?n.get(m):m},set(d){const f=r.vnode.props;!(f&&(t in f||o in f||s in f)&&(`onUpdate:${t}`in f||`onUpdate:${o}`in f||`onUpdate:${s}`in f))&&qn(d,m)&&(m=d,u()),r.emit(`update:${t}`,n.set?n.set(d):d)}}}),a=t==="modelValue"?"modelModifiers":`${t}Modifiers`;return i[Symbol.iterator]=()=>{let l=0;return{next(){return l<2?{value:l++?e[a]||{}:i,done:!1}:{done:!0}}}},i}function er(e,t,n){const r=arguments.length;return r===2?ft(t)&&!ze(t)?Wr(t)?y(e,null,[t]):y(e,t):y(e,null,t):(r>3?n=Array.prototype.slice.call(arguments,2):r===3&&Wr(n)&&(n=[n]),y(e,t,n))}function gz(){}function yz(e,t,n,r){const o=n[r];if(o&&U_(o,e))return o;const s=t();return s.memo=e.slice(),n[r]=s}function U_(e,t){const n=e.memo;if(n.length!=t.length)return!1;for(let r=0;r<n.length;r++)if(qn(n[r],t[r]))return!1;return vo>0&&ln&&ln.push(e),!0}const j_="3.4.21",vz=an,bz=Xv,zz=Lo,wz=Zh,Cz={createComponentInstance:N_,setupComponent:F_,renderComponentRoot:Fa,setCurrentRenderingInstance:ai,isVNode:Wr,normalizeVNode:hn},kz=Cz,xz=null,Sz=null,Ez=null;/**
|
||
* @vue/runtime-dom v3.4.21
|
||
* (c) 2018-present Yuxi (Evan) You and Vue contributors
|
||
* @license MIT
|
||
**/const $z="http://www.w3.org/2000/svg",Tz="http://www.w3.org/1998/Math/MathML",Dr=typeof document<"u"?document:null,Km=Dr&&Dr.createElement("template"),Az={insert:(e,t,n)=>{t.insertBefore(e,n||null)},remove:e=>{const t=e.parentNode;t&&t.removeChild(e)},createElement:(e,t,n,r)=>{const o=t==="svg"?Dr.createElementNS($z,e):t==="mathml"?Dr.createElementNS(Tz,e):Dr.createElement(e,n?{is:n}:void 0);return e==="select"&&r&&r.multiple!=null&&o.setAttribute("multiple",r.multiple),o},createText:e=>Dr.createTextNode(e),createComment:e=>Dr.createComment(e),setText:(e,t)=>{e.nodeValue=t},setElementText:(e,t)=>{e.textContent=t},parentNode:e=>e.parentNode,nextSibling:e=>e.nextSibling,querySelector:e=>Dr.querySelector(e),setScopeId(e,t){e.setAttribute(t,"")},insertStaticContent(e,t,n,r,o,s){const i=n?n.previousSibling:t.lastChild;if(o&&(o===s||o.nextSibling))for(;t.insertBefore(o.cloneNode(!0),n),!(o===s||!(o=o.nextSibling)););else{Km.innerHTML=r==="svg"?`<svg>${e}</svg>`:r==="mathml"?`<math>${e}</math>`:e;const a=Km.content;if(r==="svg"||r==="mathml"){const l=a.firstChild;for(;l.firstChild;)a.appendChild(l.firstChild);a.removeChild(l)}t.insertBefore(a,n)}return[i?i.nextSibling:t.firstChild,n?n.previousSibling:t.lastChild]}},kr="transition",zs="animation",rs=Symbol("_vtc"),Rt=(e,{slots:t})=>er(a_,B_(e),t);Rt.displayName="Transition";const q_={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},Oz=Rt.props=zt({},Td,q_),Qr=(e,t=[])=>{ze(e)?e.forEach(n=>n(...t)):e&&e(...t)},Zm=e=>e?ze(e)?e.some(t=>t.length>1):e.length>1:!1;function B_(e){const t={};for(const j in e)j in q_||(t[j]=e[j]);if(e.css===!1)return t;const{name:n="v",type:r,duration:o,enterFromClass:s=`${n}-enter-from`,enterActiveClass:i=`${n}-enter-active`,enterToClass:a=`${n}-enter-to`,appearFromClass:l=s,appearActiveClass:u=i,appearToClass:m=a,leaveFromClass:d=`${n}-leave-from`,leaveActiveClass:f=`${n}-leave-active`,leaveToClass:p=`${n}-leave-to`}=e,h=Pz(o),_=h&&h[0],b=h&&h[1],{onBeforeEnter:C,onEnter:w,onEnterCancelled:v,onLeave:z,onLeaveCancelled:E,onBeforeAppear:x=C,onAppear:M=w,onAppearCancelled:P=v}=t,I=(j,B,X)=>{Or(j,B?m:a),Or(j,B?u:i),X&&X()},N=(j,B)=>{j._isLeaving=!1,Or(j,d),Or(j,p),Or(j,f),B&&B()},Z=j=>(B,X)=>{const pe=j?M:w,G=()=>I(B,j,X);Qr(pe,[B,G]),Ym(()=>{Or(B,j?l:s),dr(B,j?m:a),Zm(pe)||Jm(B,r,_,G)})};return zt(t,{onBeforeEnter(j){Qr(C,[j]),dr(j,s),dr(j,i)},onBeforeAppear(j){Qr(x,[j]),dr(j,l),dr(j,u)},onEnter:Z(!1),onAppear:Z(!0),onLeave(j,B){j._isLeaving=!0;const X=()=>N(j,B);dr(j,d),G_(),dr(j,f),Ym(()=>{j._isLeaving&&(Or(j,d),dr(j,p),Zm(z)||Jm(j,r,b,X))}),Qr(z,[j,X])},onEnterCancelled(j){I(j,!1),Qr(v,[j])},onAppearCancelled(j){I(j,!0),Qr(P,[j])},onLeaveCancelled(j){N(j),Qr(E,[j])}})}function Pz(e){if(e==null)return null;if(ft(e))return[wc(e.enter),wc(e.leave)];{const t=wc(e);return[t,t]}}function wc(e){return el(e)}function dr(e,t){t.split(/\s+/).forEach(n=>n&&e.classList.add(n)),(e[rs]||(e[rs]=new Set)).add(t)}function Or(e,t){t.split(/\s+/).forEach(r=>r&&e.classList.remove(r));const n=e[rs];n&&(n.delete(t),n.size||(e[rs]=void 0))}function Ym(e){requestAnimationFrame(()=>{requestAnimationFrame(e)})}let Iz=0;function Jm(e,t,n,r){const o=e._endId=++Iz,s=()=>{o===e._endId&&r()};if(n)return setTimeout(s,n);const{type:i,timeout:a,propCount:l}=W_(e,t);if(!i)return r();const u=i+"end";let m=0;const d=()=>{e.removeEventListener(u,f),s()},f=p=>{p.target===e&&++m>=l&&d()};setTimeout(()=>{m<l&&d()},a+1),e.addEventListener(u,f)}function W_(e,t){const n=window.getComputedStyle(e),r=h=>(n[h]||"").split(", "),o=r(`${kr}Delay`),s=r(`${kr}Duration`),i=Xm(o,s),a=r(`${zs}Delay`),l=r(`${zs}Duration`),u=Xm(a,l);let m=null,d=0,f=0;t===kr?i>0&&(m=kr,d=i,f=s.length):t===zs?u>0&&(m=zs,d=u,f=l.length):(d=Math.max(i,u),m=d>0?i>u?kr:zs:null,f=m?m===kr?s.length:l.length:0);const p=m===kr&&/\b(transform|all)(,|$)/.test(r(`${kr}Property`).toString());return{type:m,timeout:d,propCount:f,hasTransform:p}}function Xm(e,t){for(;e.length<t.length;)e=e.concat(e);return Math.max(...t.map((n,r)=>Qm(n)+Qm(e[r])))}function Qm(e){return e==="auto"?0:Number(e.slice(0,-1).replace(",","."))*1e3}function G_(){return document.body.offsetHeight}function Rz(e,t,n){const r=e[rs];r&&(t=(t?[t,...r]:[...r]).join(" ")),t==null?e.removeAttribute("class"):n?e.setAttribute("class",t):e.className=t}const ll=Symbol("_vod"),K_=Symbol("_vsh"),ui={beforeMount(e,{value:t},{transition:n}){e[ll]=e.style.display==="none"?"":e.style.display,n&&t?n.beforeEnter(e):ws(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),ws(e,!0),r.enter(e)):r.leave(e,()=>{ws(e,!1)}):ws(e,t))},beforeUnmount(e,{value:t}){ws(e,t)}};function ws(e,t){e.style.display=t?e[ll]:"none",e[K_]=!t}function Dz(){ui.getSSRProps=({value:e})=>{if(!e)return{style:{display:"none"}}}}const Z_=Symbol("");function Lz(e){const t=In();if(!t)return;const n=t.ut=(o=e(t.proxy))=>{Array.from(document.querySelectorAll(`[data-v-owner="${t.uid}"]`)).forEach(s=>wu(s,o))},r=()=>{const o=e(t.proxy);zu(t.subTree,o),n(o)};o_(r),ps(()=>{const o=new MutationObserver(r);o.observe(t.subTree.el.parentNode,{childList:!0}),Ci(()=>o.disconnect())})}function zu(e,t){if(e.shapeFlag&128){const n=e.suspense;e=n.activeBranch,n.pendingBranch&&!n.isHydrating&&n.effects.push(()=>{zu(n.activeBranch,t)})}for(;e.component;)e=e.component.subTree;if(e.shapeFlag&1&&e.el)wu(e.el,t);else if(e.type===Ce)e.children.forEach(n=>zu(n,t));else if(e.type===po){let{el:n,anchor:r}=e;for(;n&&(wu(n,t),n!==r);)n=n.nextSibling}}function wu(e,t){if(e.nodeType===1){const n=e.style;let r="";for(const o in t)n.setProperty(`--${o}`,t[o]),r+=`--${o}: ${t[o]};`;n[Z_]=r}}const Nz=/(^|;)\s*display\s*:/;function Mz(e,t,n){const r=e.style,o=wt(n);let s=!1;if(n&&!o){if(t)if(wt(t))for(const i of t.split(";")){const a=i.slice(0,i.indexOf(":")).trim();n[a]==null&&Ha(r,a,"")}else for(const i in t)n[i]==null&&Ha(r,i,"");for(const i in n)i==="display"&&(s=!0),Ha(r,i,n[i])}else if(o){if(t!==n){const i=r[Z_];i&&(n+=";"+i),r.cssText=n,s=Nz.test(n)}}else t&&e.removeAttribute("style");ll in e&&(e[ll]=s?r.display:"",e[K_]&&(r.display="none"))}const ef=/\s*!important$/;function Ha(e,t,n){if(ze(n))n.forEach(r=>Ha(e,t,r));else if(n==null&&(n=""),t.startsWith("--"))e.setProperty(t,n);else{const r=Fz(e,t);ef.test(n)?e.setProperty(_n(r),n.replace(ef,""),"important"):e[r]=n}}const tf=["Webkit","Moz","ms"],Cc={};function Fz(e,t){const n=Cc[t];if(n)return n;let r=Xt(t);if(r!=="filter"&&r in e)return Cc[t]=r;r=bi(r);for(let o=0;o<tf.length;o++){const s=tf[o]+r;if(s in e)return Cc[t]=s}return t}const nf="http://www.w3.org/1999/xlink";function Vz(e,t,n,r,o){if(r&&t.startsWith("xlink:"))n==null?e.removeAttributeNS(nf,t.slice(6,t.length)):e.setAttributeNS(nf,t,n);else{const s=mv(t);n==null||s&&!xh(n)?e.removeAttribute(t):e.setAttribute(t,s?"":n)}}function Hz(e,t,n,r,o,s,i){if(t==="innerHTML"||t==="textContent"){r&&i(r,o,s),e[t]=n??"";return}const a=e.tagName;if(t==="value"&&a!=="PROGRESS"&&!a.includes("-")){const u=a==="OPTION"?e.getAttribute("value")||"":e.value,m=n??"";(u!==m||!("_value"in e))&&(e.value=m),n==null&&e.removeAttribute(t),e._value=n;return}let l=!1;if(n===""||n==null){const u=typeof e[t];u==="boolean"?n=xh(n):n==null&&u==="string"?(n="",l=!0):u==="number"&&(n=0,l=!0)}try{e[t]=n}catch{}l&&e.removeAttribute(t)}function mr(e,t,n,r){e.addEventListener(t,n,r)}function Uz(e,t,n,r){e.removeEventListener(t,n,r)}const rf=Symbol("_vei");function jz(e,t,n,r,o=null){const s=e[rf]||(e[rf]={}),i=s[t];if(r&&i)i.value=r;else{const[a,l]=qz(t);if(r){const u=s[t]=Gz(r,o);mr(e,a,u,l)}else i&&(Uz(e,a,i,l),s[t]=void 0)}}const of=/(?:Once|Passive|Capture)$/;function qz(e){let t;if(of.test(e)){t={};let r;for(;r=e.match(of);)e=e.slice(0,e.length-r[0].length),t[r[0].toLowerCase()]=!0}return[e[2]===":"?e.slice(3):_n(e.slice(2)),t]}let kc=0;const Bz=Promise.resolve(),Wz=()=>kc||(Bz.then(()=>kc=0),kc=Date.now());function Gz(e,t){const n=r=>{if(!r._vts)r._vts=Date.now();else if(r._vts<=n.attached)return;yn(Kz(r,n.value),t,5,[r])};return n.value=e,n.attached=Wz(),n}function Kz(e,t){if(ze(t)){const n=e.stopImmediatePropagation;return e.stopImmediatePropagation=()=>{n.call(e),e._stopped=!0},t.map(r=>o=>!o._stopped&&r&&r(o))}else return t}const sf=e=>e.charCodeAt(0)===111&&e.charCodeAt(1)===110&&e.charCodeAt(2)>96&&e.charCodeAt(2)<123,Zz=(e,t,n,r,o,s,i,a,l)=>{const u=o==="svg";t==="class"?Rz(e,r,u):t==="style"?Mz(e,n,r):vi(t)?sd(t)||jz(e,t,n,r,i):(t[0]==="."?(t=t.slice(1),!0):t[0]==="^"?(t=t.slice(1),!1):Yz(e,t,r,u))?Hz(e,t,r,s,i,a,l):(t==="true-value"?e._trueValue=r:t==="false-value"&&(e._falseValue=r),Vz(e,t,r,u))};function Yz(e,t,n,r){if(r)return!!(t==="innerHTML"||t==="textContent"||t in e&&sf(t)&&Pe(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 o=e.tagName;if(o==="IMG"||o==="VIDEO"||o==="CANVAS"||o==="SOURCE")return!1}return sf(t)&&wt(n)?!1:t in e}/*! #__NO_SIDE_EFFECTS__ */function Y_(e,t){const n=vr(e);class r extends jl{constructor(s){super(n,s,t)}}return r.def=n,r}/*! #__NO_SIDE_EFFECTS__ */const Jz=e=>Y_(e,ig),Xz=typeof HTMLElement<"u"?HTMLElement:class{};class jl extends Xz{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),fs(()=>{this._connected||(Cu(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 o of r)this._setAttr(o.attributeName)}),this._ob.observe(this,{attributes:!0});const t=(r,o=!1)=>{const{props:s,styles:i}=r;let a;if(s&&!ze(s))for(const l in s){const u=s[l];(u===Number||u&&u.type===Number)&&(l in this._props&&(this._props[l]=el(this._props[l])),(a||(a=Object.create(null)))[Xt(l)]=!0)}this._numberProps=a,o&&this._resolveProps(r),this._applyStyles(i),this._update()},n=this._def.__asyncLoader;n?n().then(r=>t(r,!0)):t(this._def)}_resolveProps(t){const{props:n}=t,r=ze(n)?n:Object.keys(n||{});for(const o of Object.keys(this))o[0]!=="_"&&r.includes(o)&&this._setProp(o,this[o],!0,!1);for(const o of r.map(Xt))Object.defineProperty(this,o,{get(){return this._getProp(o)},set(s){this._setProp(o,s)}})}_setAttr(t){let n=this.getAttribute(t);const r=Xt(t);this._numberProps&&this._numberProps[r]&&(n=el(n)),this._setProp(r,n,!1)}_getProp(t){return this._props[t]}_setProp(t,n,r=!0,o=!0){n!==this._props[t]&&(this._props[t]=n,o&&this._instance&&this._update(),r&&(n===!0?this.setAttribute(_n(t),""):typeof n=="string"||typeof n=="number"?this.setAttribute(_n(t),n+""):n||this.removeAttribute(_n(t))))}_update(){Cu(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=(s,i)=>{this.dispatchEvent(new CustomEvent(s,{detail:i}))};n.emit=(s,...i)=>{r(s,i),_n(s)!==s&&r(_n(s),i)};let o=this;for(;o=o&&(o.parentNode||o.host);)if(o instanceof jl){n.parent=o._instance,n.provides=o._instance.provides;break}}),t}_applyStyles(t){t&&t.forEach(n=>{const r=document.createElement("style");r.textContent=n,this.shadowRoot.appendChild(r)})}}function Qz(e="$style"){{const t=In();if(!t)return ct;const n=t.type.__cssModules;if(!n)return ct;const r=n[e];return r||ct}}const J_=new WeakMap,X_=new WeakMap,cl=Symbol("_moveCb"),af=Symbol("_enterCb"),Q_={name:"TransitionGroup",props:zt({},Oz,{tag:String,moveClass:String}),setup(e,{slots:t}){const n=In(),r=$d();let o,s;return Fl(()=>{if(!o.length)return;const i=e.moveClass||`${e.name||"v"}-move`;if(!s0(o[0].el,n.vnode.el,i))return;o.forEach(n0),o.forEach(r0);const a=o.filter(o0);G_(),a.forEach(l=>{const u=l.el,m=u.style;dr(u,i),m.transform=m.webkitTransform=m.transitionDuration="";const d=u[cl]=f=>{f&&f.target!==u||(!f||/transform$/.test(f.propertyName))&&(u.removeEventListener("transitionend",d),u[cl]=null,Or(u,i))};u.addEventListener("transitionend",d)})}),()=>{const i=Ye(e),a=B_(i);let l=i.tag||Ce;o=s,s=t.default?Nl(t.default()):[];for(let u=0;u<s.length;u++){const m=s[u];m.key!=null&&yo(m,ns(m,a,r,n))}if(o)for(let u=0;u<o.length;u++){const m=o[u];yo(m,ns(m,a,r,n)),J_.set(m,m.el.getBoundingClientRect())}return y(l,null,s)}}},e0=e=>delete e.mode;Q_.props;const t0=Q_;function n0(e){const t=e.el;t[cl]&&t[cl](),t[af]&&t[af]()}function r0(e){X_.set(e,e.el.getBoundingClientRect())}function o0(e){const t=J_.get(e),n=X_.get(e),r=t.left-n.left,o=t.top-n.top;if(r||o){const s=e.el.style;return s.transform=s.webkitTransform=`translate(${r}px,${o}px)`,s.transitionDuration="0s",e}}function s0(e,t,n){const r=e.cloneNode(),o=e[rs];o&&o.forEach(a=>{a.split(/\s+/).forEach(l=>l&&r.classList.remove(l))}),n.split(/\s+/).forEach(a=>a&&r.classList.add(a)),r.style.display="none";const s=t.nodeType===1?t:t.parentNode;s.appendChild(r);const{hasTransform:i}=W_(r);return s.removeChild(r),i}const Gr=e=>{const t=e.props["onUpdate:modelValue"]||!1;return ze(t)?n=>Wo(t,n):t};function i0(e){e.target.composing=!0}function lf(e){const t=e.target;t.composing&&(t.composing=!1,t.dispatchEvent(new Event("input")))}const $n=Symbol("_assign"),un={created(e,{modifiers:{lazy:t,trim:n,number:r}},o){e[$n]=Gr(o);const s=r||o.props&&o.props.type==="number";mr(e,t?"change":"input",i=>{if(i.target.composing)return;let a=e.value;n&&(a=a.trim()),s&&(a=ni(a)),e[$n](a)}),n&&mr(e,"change",()=>{e.value=e.value.trim()}),t||(mr(e,"compositionstart",i0),mr(e,"compositionend",lf),mr(e,"change",lf))},mounted(e,{value:t}){e.value=t??""},beforeUpdate(e,{value:t,modifiers:{lazy:n,trim:r,number:o}},s){if(e[$n]=Gr(s),e.composing)return;const i=o||e.type==="number"?ni(e.value):e.value,a=t??"";i!==a&&(document.activeElement===e&&e.type!=="range"&&(n||r&&e.value.trim()===a)||(e.value=a))}},An={deep:!0,created(e,t,n){e[$n]=Gr(n),mr(e,"change",()=>{const r=e._modelValue,o=os(e),s=e.checked,i=e[$n];if(ze(r)){const a=Al(r,o),l=a!==-1;if(s&&!l)i(r.concat(o));else if(!s&&l){const u=[...r];u.splice(a,1),i(u)}}else if(zo(r)){const a=new Set(r);s?a.add(o):a.delete(o),i(a)}else i(eg(e,s))})},mounted:cf,beforeUpdate(e,t,n){e[$n]=Gr(n),cf(e,t,n)}};function cf(e,{value:t,oldValue:n},r){e._modelValue=t,ze(t)?e.checked=Al(t,r.props.value)>-1:zo(t)?e.checked=t.has(r.props.value):t!==n&&(e.checked=qr(t,eg(e,!0)))}const Rd={created(e,{value:t},n){e.checked=qr(t,n.props.value),e[$n]=Gr(n),mr(e,"change",()=>{e[$n](os(e))})},beforeUpdate(e,{value:t,oldValue:n},r){e[$n]=Gr(r),t!==n&&(e.checked=qr(t,r.props.value))}},Dd={deep:!0,created(e,{value:t,modifiers:{number:n}},r){const o=zo(t);mr(e,"change",()=>{const s=Array.prototype.filter.call(e.options,i=>i.selected).map(i=>n?ni(os(i)):os(i));e[$n](e.multiple?o?new Set(s):s:s[0]),e._assigning=!0,fs(()=>{e._assigning=!1})}),e[$n]=Gr(r)},mounted(e,{value:t,modifiers:{number:n}}){uf(e,t,n)},beforeUpdate(e,t,n){e[$n]=Gr(n)},updated(e,{value:t,modifiers:{number:n}}){e._assigning||uf(e,t,n)}};function uf(e,t,n){const r=e.multiple,o=ze(t);if(!(r&&!o&&!zo(t))){for(let s=0,i=e.options.length;s<i;s++){const a=e.options[s],l=os(a);if(r)if(o){const u=typeof l;u==="string"||u==="number"?a.selected=t.includes(n?ni(l):l):a.selected=Al(t,l)>-1}else a.selected=t.has(l);else if(qr(os(a),t)){e.selectedIndex!==s&&(e.selectedIndex=s);return}}!r&&e.selectedIndex!==-1&&(e.selectedIndex=-1)}}function os(e){return"_value"in e?e._value:e.value}function eg(e,t){const n=t?"_trueValue":"_falseValue";return n in e?e[n]:t}const tg={created(e,t,n){Gi(e,t,n,null,"created")},mounted(e,t,n){Gi(e,t,n,null,"mounted")},beforeUpdate(e,t,n,r){Gi(e,t,n,r,"beforeUpdate")},updated(e,t,n,r){Gi(e,t,n,r,"updated")}};function ng(e,t){switch(e){case"SELECT":return Dd;case"TEXTAREA":return un;default:switch(t){case"checkbox":return An;case"radio":return Rd;default:return un}}}function Gi(e,t,n,r,o){const i=ng(e.tagName,n.props&&n.props.type)[o];i&&i(e,t,n,r)}function a0(){un.getSSRProps=({value:e})=>({value:e}),Rd.getSSRProps=({value:e},t)=>{if(t.props&&qr(t.props.value,e))return{checked:!0}},An.getSSRProps=({value:e},t)=>{if(ze(e)){if(t.props&&Al(e,t.props.value)>-1)return{checked:!0}}else if(zo(e)){if(t.props&&e.has(t.props.value))return{checked:!0}}else if(e)return{checked:!0}},tg.getSSRProps=(e,t)=>{if(typeof t.type!="string")return;const n=ng(t.type.toUpperCase(),t.props&&t.props.type);if(n.getSSRProps)return n.getSSRProps(e,t)}}const l0=["ctrl","shift","alt","meta"],c0={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)=>l0.some(n=>e[`${n}Key`]&&!t.includes(n))},ot=(e,t)=>{const n=e._withMods||(e._withMods={}),r=t.join(".");return n[r]||(n[r]=(o,...s)=>{for(let i=0;i<t.length;i++){const a=c0[t[i]];if(a&&a(o,t))return}return e(o,...s)})},u0={esc:"escape",space:" ",up:"arrow-up",left:"arrow-left",right:"arrow-right",down:"arrow-down",delete:"backspace"},on=(e,t)=>{const n=e._withKeys||(e._withKeys={}),r=t.join(".");return n[r]||(n[r]=o=>{if(!("key"in o))return;const s=_n(o.key);if(t.some(i=>i===s||u0[i]===s))return e(o)})},rg=zt({patchProp:Zz},Az);let Ws,df=!1;function og(){return Ws||(Ws=E_(rg))}function sg(){return Ws=df?Ws:$_(rg),df=!0,Ws}const Cu=(...e)=>{og().render(...e)},ig=(...e)=>{sg().hydrate(...e)},ag=(...e)=>{const t=og().createApp(...e),{mount:n}=t;return t.mount=r=>{const o=cg(r);if(!o)return;const s=t._component;!Pe(s)&&!s.render&&!s.template&&(s.template=o.innerHTML),o.innerHTML="";const i=n(o,!1,lg(o));return o instanceof Element&&(o.removeAttribute("v-cloak"),o.setAttribute("data-v-app","")),i},t},d0=(...e)=>{const t=sg().createApp(...e),{mount:n}=t;return t.mount=r=>{const o=cg(r);if(o)return n(o,!0,lg(o))},t};function lg(e){if(e instanceof SVGElement)return"svg";if(typeof MathMLElement=="function"&&e instanceof MathMLElement)return"mathml"}function cg(e){return wt(e)?document.querySelector(e):e}let mf=!1;const m0=()=>{mf||(mf=!0,a0(),Dz())};/**
|
||
* vue v3.4.21
|
||
* (c) 2018-present Yuxi (Evan) You and Vue contributors
|
||
* @license MIT
|
||
**/const f0=()=>{},p0=Object.freeze(Object.defineProperty({__proto__:null,BaseTransition:a_,BaseTransitionPropsValidators:Td,Comment:Gt,DeprecationTypes:Ez,EffectScope:cd,ErrorCodes:Jv,ErrorTypeStrings:bz,Fragment:Ce,KeepAlive:Cb,ReactiveEffect:ts,Static:po,Suspense:fb,Teleport:Zr,Text:Br,TrackOpTypes:Kv,Transition:Rt,TransitionGroup:t0,TriggerOpTypes:Zv,VueElement:jl,assertNumber:Yv,callWithAsyncErrorHandling:yn,callWithErrorHandling:hr,camelize:Xt,capitalize:bi,cloneVNode:sr,compatUtils:Sz,compile:f0,computed:Nt,createApp:ag,createBlock:_e,createCommentVNode:F,createElementBlock:A,createElementVNode:c,createHydrationRenderer:$_,createPropsRestProxy:Mb,createRenderer:E_,createSSRApp:d0,createSlots:ki,createStaticVNode:lz,createTextVNode:gt,createVNode:y,customRef:qh,defineAsyncComponent:zb,defineComponent:vr,defineCustomElement:Y_,defineEmits:$b,defineExpose:Tb,defineModel:Pb,defineOptions:Ab,defineProps:Eb,defineSSRCustomElement:Jz,defineSlots:Ob,devtools:zz,effect:_v,effectScope:ud,getCurrentInstance:In,getCurrentScope:$h,getTransitionRawChildren:Nl,guardReactiveProps:L_,h:er,handleError:ko,hasInjectionContext:Gb,hydrate:ig,initCustomFormatter:gz,initDirectivesForSSR:m0,inject:jn,isMemoSame:U_,isProxy:_d,isReactive:mo,isReadonly:go,isRef:Ft,isRuntimeOnly:fz,isShallow:ri,isVNode:Wr,markRaw:gd,mergeDefaults:Lb,mergeModels:Nb,mergeProps:Vo,nextTick:fs,normalizeClass:Se,normalizeProps:Is,normalizeStyle:Kr,onActivated:c_,onBeforeMount:m_,onBeforeUnmount:Vl,onBeforeUpdate:f_,onDeactivated:u_,onErrorCaptured:g_,onMounted:ps,onRenderTracked:__,onRenderTriggered:h_,onScopeDispose:pv,onServerPrefetch:p_,onUnmounted:Ci,onUpdated:Fl,openBlock:k,popScopeId:sb,provide:js,proxyRefs:zd,pushScopeId:ob,queuePostFlushCb:nl,reactive:ms,readonly:hd,ref:rr,registerRuntimeCompiler:mz,render:Cu,renderList:ut,renderSlot:it,resolveComponent:$,resolveDirective:xd,resolveDynamicComponent:Xh,resolveFilter:xz,resolveTransitionHooks:ns,setBlockTracking:hu,setDevtoolsHook:wz,setTransitionHooks:yo,shallowReactive:pd,shallowReadonly:Nv,shallowRef:bd,ssrContextKey:t_,ssrUtils:kz,stop:gv,toDisplayString:g,toHandlerKey:Hs,toHandlers:xb,toRaw:Ye,toRef:Gv,toRefs:qv,toValue:Hv,transformVNodeArgs:iz,triggerRef:Vv,unref:gn,useAttrs:Db,useCssModule:Qz,useCssVars:Lz,useModel:_z,useSSRContext:n_,useSlots:Rb,useTransitionState:$d,vModelCheckbox:An,vModelDynamic:tg,vModelRadio:Rd,vModelSelect:Dd,vModelText:un,vShow:ui,version:j_,warn:vz,watch:vn,watchEffect:r_,watchPostEffect:o_,watchSyncEffect:s_,withAsyncContext:Fb,withCtx:S,withDefaults:Ib,withDirectives:yt,withKeys:on,withMemo:yz,withModifiers:ot,withScopeId:ib},Symbol.toStringTag,{value:"Module"})),te=(e,t)=>{const n=e.__vccOpts||e;for(const[r,o]of t)n[r]=o;return n},h0={name:"NavbarItemLink",props:{exact:Boolean,to:{required:!0,type: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(Qo,e)}},show_player_menu:{get(){return this.$store.state.show_player_menu},set(e){this.$store.commit(es,e)}}},methods:{full_path(){return this.$router.resolve(this.to).href},open_link(){this.show_burger_menu&&this.$store.commit(Qo,!1),this.show_player_menu&&this.$store.commit(es,!1),this.$router.push(this.to)}}},_0=["href"];function g0(e,t,n,r,o,s){return k(),A("a",{class:Se(["navbar-item",{"is-active":s.is_active}]),href:s.full_path(),onClick:t[0]||(t[0]=ot(i=>s.open_link(),["stop","prevent"]))},[it(e.$slots,"default")],10,_0)}const ug=te(h0,[["render",g0]]),y0={name:"NavbarTop",components:{NavbarItemLink:ug},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(Qo,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(yi,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}}},v0={class:"navbar-brand"},b0=c("span",null,null,-1),z0=c("span",null,null,-1),w0=c("span",null,null,-1),C0=[b0,z0,w0],k0=c("div",{class:"navbar-start"},null,-1),x0={class:"navbar-end"},S0={class:"navbar-item is-arrowless is-hidden-touch"},E0={class:"navbar-dropdown is-right"},$0=["textContent"],T0=["textContent"],A0=["textContent"],O0=["textContent"],P0=["textContent"],I0=["textContent"],R0=["textContent"],D0=["textContent"],L0=["textContent"],N0=["textContent"],M0=["textContent"],F0=c("hr",{class:"my-3"},null,-1),V0=["textContent"];function H0(e,t,n,r,o,s){const i=$("mdicon"),a=$("navbar-item-link");return k(),A("nav",{class:"navbar is-light is-fixed-top",style:Kr(s.zindex),role:"navigation","aria-label":"main navigation"},[c("div",v0,[s.is_visible_playlists?(k(),_e(a,{key:0,to:{name:"playlists"}},{default:S(()=>[y(i,{class:"icon",name:"music-box-multiple",size:"16"})]),_:1})):F("",!0),s.is_visible_music?(k(),_e(a,{key:1,to:{name:"music"}},{default:S(()=>[y(i,{class:"icon",name:"music",size:"16"})]),_:1})):F("",!0),s.is_visible_podcasts?(k(),_e(a,{key:2,to:{name:"podcasts"}},{default:S(()=>[y(i,{class:"icon",name:"microphone",size:"16"})]),_:1})):F("",!0),s.is_visible_audiobooks?(k(),_e(a,{key:3,to:{name:"audiobooks"}},{default:S(()=>[y(i,{class:"icon",name:"book-open-variant",size:"16"})]),_:1})):F("",!0),s.is_visible_radio?(k(),_e(a,{key:4,to:{name:"radio"}},{default:S(()=>[y(i,{class:"icon",name:"radio",size:"16"})]),_:1})):F("",!0),s.is_visible_files?(k(),_e(a,{key:5,to:{name:"files"}},{default:S(()=>[y(i,{class:"icon",name:"folder-open",size:"16"})]),_:1})):F("",!0),s.is_visible_search?(k(),_e(a,{key:6,to:{name:s.search_name}},{default:S(()=>[y(i,{class:"icon",name:"magnify",size:"16"})]),_:1},8,["to"])):F("",!0),c("div",{class:Se(["navbar-burger",{"is-active":s.show_burger_menu}]),onClick:t[0]||(t[0]=l=>s.show_burger_menu=!s.show_burger_menu)},C0,2)]),c("div",{class:Se(["navbar-menu",{"is-active":s.show_burger_menu}])},[k0,c("div",x0,[c("div",{class:Se(["navbar-item has-dropdown is-hoverable",{"is-active":o.show_settings_menu}]),onClick:t[2]||(t[2]=(...l)=>s.on_click_outside_settings&&s.on_click_outside_settings(...l))},[c("a",S0,[y(i,{class:"icon",name:"menu",size:"24"})]),c("div",E0,[y(a,{to:{name:"playlists"}},{default:S(()=>[y(i,{class:"icon",name:"music-box-multiple",size:"16"}),c("b",{textContent:g(e.$t("navigation.playlists"))},null,8,$0)]),_:1}),y(a,{to:{name:"music"},exact:""},{default:S(()=>[y(i,{class:"icon",name:"music",size:"16"}),c("b",{textContent:g(e.$t("navigation.music"))},null,8,T0)]),_:1}),y(a,{to:{name:"music-artists"}},{default:S(()=>[c("span",{class:"pl-5",textContent:g(e.$t("navigation.artists"))},null,8,A0)]),_:1}),y(a,{to:{name:"music-albums"}},{default:S(()=>[c("span",{class:"pl-5",textContent:g(e.$t("navigation.albums"))},null,8,O0)]),_:1}),y(a,{to:{name:"music-genres"}},{default:S(()=>[c("span",{class:"pl-5",textContent:g(e.$t("navigation.genres"))},null,8,P0)]),_:1}),s.spotify_enabled?(k(),_e(a,{key:0,to:{name:"music-spotify"}},{default:S(()=>[c("span",{class:"pl-5",textContent:g(e.$t("navigation.spotify"))},null,8,I0)]),_:1})):F("",!0),y(a,{to:{name:"podcasts"}},{default:S(()=>[y(i,{class:"icon",name:"microphone",size:"16"}),c("b",{textContent:g(e.$t("navigation.podcasts"))},null,8,R0)]),_:1}),y(a,{to:{name:"audiobooks"}},{default:S(()=>[y(i,{class:"icon",name:"book-open-variant",size:"16"}),c("b",{textContent:g(e.$t("navigation.audiobooks"))},null,8,D0)]),_:1}),y(a,{to:{name:"radio"}},{default:S(()=>[y(i,{class:"icon",name:"radio",size:"16"}),c("b",{textContent:g(e.$t("navigation.radio"))},null,8,L0)]),_:1}),y(a,{to:{name:"files"}},{default:S(()=>[y(i,{class:"icon",name:"folder-open",size:"16"}),c("b",{textContent:g(e.$t("navigation.files"))},null,8,N0)]),_:1}),y(a,{to:{name:s.search_name}},{default:S(()=>[y(i,{class:"icon",name:"magnify",size:"16"}),c("b",{textContent:g(e.$t("navigation.search"))},null,8,M0)]),_:1},8,["to"]),F0,y(a,{to:{name:"settings-webinterface"}},{default:S(()=>[gt(g(e.$t("navigation.settings")),1)]),_:1}),c("a",{class:"navbar-item",onClick:t[1]||(t[1]=ot(l=>s.open_update_dialog(),["stop","prevent"])),textContent:g(e.$t("navigation.update-library"))},null,8,V0),y(a,{to:{name:"about"}},{default:S(()=>[gt(g(e.$t("navigation.about")),1)]),_:1})])],2)])],2),yt(c("div",{class:"is-overlay",onClick:t[3]||(t[3]=l=>o.show_settings_menu=!1)},null,512),[[ui,o.show_settings_menu]])],4)}const U0=te(y0,[["render",H0]]),j0={name:"ControlSlider",props:{cursor:{default:"",type:String},disabled:Boolean,max:{required:!0,type:Number},value:{required:!0,type:Number}},emits:["update:value"],computed:{ratio(){return this.value/this.max}}},q0=["value","disabled","max"];function B0(e,t,n,r,o,s){return k(),A("input",{value:n.value,disabled:n.disabled,class:Se(["slider",{"is-inactive":n.disabled}]),max:n.max,type:"range",style:Kr({"--ratio":s.ratio,"--cursor":e.$filters.cursor(n.cursor)}),onInput:t[0]||(t[0]=i=>e.$emit("update:value",i.target.valueAsNumber))},null,46,q0)}const Ld=te(j0,[["render",B0]]);var W0="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",G0="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",K0="M13 14H11V9H13M13 18H11V16H13M1 21H23L12 2L1 21Z",Z0="M19.92,12.08L12,20L4.08,12.08L5.5,10.67L11,16.17V2H13V16.17L18.5,10.66L19.92,12.08M12,20H2V22H22V20H12Z",Y0="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",J0="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",X0="M9 3V18H12V3H9M12 5L16 18L19 17L15 4L12 5M5 5V18H8V5H5M3 19V21H21V19H3Z",Q0="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",ql="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",ew="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",tw="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",nw="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",rw="M21,7L9,19L3.5,13.5L4.91,12.09L9,16.17L19.59,5.59L21,7Z",ow="M7.41,8.58L12,13.17L16.59,8.58L18,10L12,16L6,10L7.41,8.58Z",sw="M7.41,15.41L12,10.83L16.59,15.41L18,14L12,8L6,14L7.41,15.41Z",iw="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",aw="M19,4H15.5L14.5,3H9.5L8.5,4H5V6H19M6,19A2,2 0 0,0 8,21H16A2,2 0 0,0 18,19V7H6V19Z",lw="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",cw="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",uw="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",dw="M3,15V13H5V15H3M3,11V9H5V11H3M7,15V13H9V15H7M7,11V9H9V11H7M11,15V13H13V15H11M11,11V9H13V11H11M15,15V13H17V15H15M15,11V9H17V11H15M19,15V13H21V15H19M19,11V9H21V11H19Z",mw="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",fw="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",pw="M14,2H6A2,2 0 0,0 4,4V20A2,2 0 0,0 6,22H18A2,2 0 0,0 20,20V8L14,2M18,20H6V4H13V9H18V20Z",hw="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",_w="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",gw="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",yw="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",vw="M12,4V2A10,10 0 0,0 2,12H4A8,8 0 0,1 12,4Z",bw="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",zw="M3,6H21V8H3V6M3,11H21V13H3V11M3,16H21V18H3V16Z",ww="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",Cw="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",kw="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",xw="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",Sw="M14,19H18V5H14M6,19H10V5H6V19Z",Ew="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",$w="M22,14H20V16H14V13H16V11H14V6A2,2 0 0,0 12,4H4V2H2V10H4V8H10V11H8V13H10V18A2,2 0 0,0 12,20H20V22H22",Tw="M8,5.14V19.14L19,12.14L8,5.14Z",Aw="M3 10H14V12H3V10M3 6H14V8H3V6M3 14H10V16H3V14M16 13V21L22 17L16 13Z",Ow="M3 16H10V14H3M18 14V10H16V14H12V16H16V20H18V16H22V14M14 6H3V8H14M14 10H3V12H14V10Z",Pw="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",Iw="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",Rw="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",Dw="M17,17H7V14L3,18L7,22V19H19V13H17M7,7H17V10L21,6L17,2V5H5V11H7V7Z",Lw="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",Nw="M13,15V9H12L10,10V11H11.5V15M17,17H7V14L3,18L7,22V19H19V13H17M7,7H17V10L21,6L17,2V5H5V11H7V7Z",Mw="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",Fw="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",Vw="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",Hw="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",Uw="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",jw="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",qw="M16,4.5V7H5V9H16V11.5L19.5,8M16,12.5V15H5V17H16V19.5L19.5,16",Bw="M20,5V19L13,12M6,5V19H4V5M13,5V19L6,12",Ww="M4,5V19L11,12M18,5V19H20V5M11,5V19L18,12",Gw="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",Kw="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",Zw="M18,18H6V6H18V18Z",Yw="M11,9L12.42,10.42L8.83,14H18V4H20V16H8.83L12.42,19.58L11,21L5,15L11,9Z",Jw="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",Xw="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",Qw="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 dg(e,t){return function(){return e.apply(t,arguments)}}const{toString:eC}=Object.prototype,{getPrototypeOf:Nd}=Object,Bl=(e=>t=>{const n=eC.call(t);return e[n]||(e[n]=n.slice(8,-1).toLowerCase())})(Object.create(null)),ar=e=>(e=e.toLowerCase(),t=>Bl(t)===e),Wl=e=>t=>typeof t===e,{isArray:hs}=Array,di=Wl("undefined");function tC(e){return e!==null&&!di(e)&&e.constructor!==null&&!di(e.constructor)&&Tn(e.constructor.isBuffer)&&e.constructor.isBuffer(e)}const mg=ar("ArrayBuffer");function nC(e){let t;return typeof ArrayBuffer<"u"&&ArrayBuffer.isView?t=ArrayBuffer.isView(e):t=e&&e.buffer&&mg(e.buffer),t}const rC=Wl("string"),Tn=Wl("function"),fg=Wl("number"),Gl=e=>e!==null&&typeof e=="object",oC=e=>e===!0||e===!1,Ua=e=>{if(Bl(e)!=="object")return!1;const t=Nd(e);return(t===null||t===Object.prototype||Object.getPrototypeOf(t)===null)&&!(Symbol.toStringTag in e)&&!(Symbol.iterator in e)},sC=ar("Date"),iC=ar("File"),aC=ar("Blob"),lC=ar("FileList"),cC=e=>Gl(e)&&Tn(e.pipe),uC=e=>{let t;return e&&(typeof FormData=="function"&&e instanceof FormData||Tn(e.append)&&((t=Bl(e))==="formdata"||t==="object"&&Tn(e.toString)&&e.toString()==="[object FormData]"))},dC=ar("URLSearchParams"),mC=e=>e.trim?e.trim():e.replace(/^[\s\uFEFF\xA0]+|[\s\uFEFF\xA0]+$/g,"");function Si(e,t,{allOwnKeys:n=!1}={}){if(e===null||typeof e>"u")return;let r,o;if(typeof e!="object"&&(e=[e]),hs(e))for(r=0,o=e.length;r<o;r++)t.call(null,e[r],r,e);else{const s=n?Object.getOwnPropertyNames(e):Object.keys(e),i=s.length;let a;for(r=0;r<i;r++)a=s[r],t.call(null,e[a],a,e)}}function pg(e,t){t=t.toLowerCase();const n=Object.keys(e);let r=n.length,o;for(;r-- >0;)if(o=n[r],t===o.toLowerCase())return o;return null}const hg=typeof globalThis<"u"?globalThis:typeof self<"u"?self:typeof window<"u"?window:global,_g=e=>!di(e)&&e!==hg;function ku(){const{caseless:e}=_g(this)&&this||{},t={},n=(r,o)=>{const s=e&&pg(t,o)||o;Ua(t[s])&&Ua(r)?t[s]=ku(t[s],r):Ua(r)?t[s]=ku({},r):hs(r)?t[s]=r.slice():t[s]=r};for(let r=0,o=arguments.length;r<o;r++)arguments[r]&&Si(arguments[r],n);return t}const fC=(e,t,n,{allOwnKeys:r}={})=>(Si(t,(o,s)=>{n&&Tn(o)?e[s]=dg(o,n):e[s]=o},{allOwnKeys:r}),e),pC=e=>(e.charCodeAt(0)===65279&&(e=e.slice(1)),e),hC=(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)},_C=(e,t,n,r)=>{let o,s,i;const a={};if(t=t||{},e==null)return t;do{for(o=Object.getOwnPropertyNames(e),s=o.length;s-- >0;)i=o[s],(!r||r(i,e,t))&&!a[i]&&(t[i]=e[i],a[i]=!0);e=n!==!1&&Nd(e)}while(e&&(!n||n(e,t))&&e!==Object.prototype);return t},gC=(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},yC=e=>{if(!e)return null;if(hs(e))return e;let t=e.length;if(!fg(t))return null;const n=new Array(t);for(;t-- >0;)n[t]=e[t];return n},vC=(e=>t=>e&&t instanceof e)(typeof Uint8Array<"u"&&Nd(Uint8Array)),bC=(e,t)=>{const r=(e&&e[Symbol.iterator]).call(e);let o;for(;(o=r.next())&&!o.done;){const s=o.value;t.call(e,s[0],s[1])}},zC=(e,t)=>{let n;const r=[];for(;(n=e.exec(t))!==null;)r.push(n);return r},wC=ar("HTMLFormElement"),CC=e=>e.toLowerCase().replace(/[-_\s]([a-z\d])(\w*)/g,function(n,r,o){return r.toUpperCase()+o}),ff=(({hasOwnProperty:e})=>(t,n)=>e.call(t,n))(Object.prototype),kC=ar("RegExp"),gg=(e,t)=>{const n=Object.getOwnPropertyDescriptors(e),r={};Si(n,(o,s)=>{let i;(i=t(o,s,e))!==!1&&(r[s]=i||o)}),Object.defineProperties(e,r)},xC=e=>{gg(e,(t,n)=>{if(Tn(e)&&["arguments","caller","callee"].indexOf(n)!==-1)return!1;const r=e[n];if(Tn(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+"'")})}})},SC=(e,t)=>{const n={},r=o=>{o.forEach(s=>{n[s]=!0})};return hs(e)?r(e):r(String(e).split(t)),n},EC=()=>{},$C=(e,t)=>(e=+e,Number.isFinite(e)?e:t),xc="abcdefghijklmnopqrstuvwxyz",pf="0123456789",yg={DIGIT:pf,ALPHA:xc,ALPHA_DIGIT:xc+xc.toUpperCase()+pf},TC=(e=16,t=yg.ALPHA_DIGIT)=>{let n="";const{length:r}=t;for(;e--;)n+=t[Math.random()*r|0];return n};function AC(e){return!!(e&&Tn(e.append)&&e[Symbol.toStringTag]==="FormData"&&e[Symbol.iterator])}const OC=e=>{const t=new Array(10),n=(r,o)=>{if(Gl(r)){if(t.indexOf(r)>=0)return;if(!("toJSON"in r)){t[o]=r;const s=hs(r)?[]:{};return Si(r,(i,a)=>{const l=n(i,o+1);!di(l)&&(s[a]=l)}),t[o]=void 0,s}}return r};return n(e,0)},PC=ar("AsyncFunction"),IC=e=>e&&(Gl(e)||Tn(e))&&Tn(e.then)&&Tn(e.catch),J={isArray:hs,isArrayBuffer:mg,isBuffer:tC,isFormData:uC,isArrayBufferView:nC,isString:rC,isNumber:fg,isBoolean:oC,isObject:Gl,isPlainObject:Ua,isUndefined:di,isDate:sC,isFile:iC,isBlob:aC,isRegExp:kC,isFunction:Tn,isStream:cC,isURLSearchParams:dC,isTypedArray:vC,isFileList:lC,forEach:Si,merge:ku,extend:fC,trim:mC,stripBOM:pC,inherits:hC,toFlatObject:_C,kindOf:Bl,kindOfTest:ar,endsWith:gC,toArray:yC,forEachEntry:bC,matchAll:zC,isHTMLForm:wC,hasOwnProperty:ff,hasOwnProp:ff,reduceDescriptors:gg,freezeMethods:xC,toObjectSet:SC,toCamelCase:CC,noop:EC,toFiniteNumber:$C,findKey:pg,global:hg,isContextDefined:_g,ALPHABET:yg,generateString:TC,isSpecCompliantForm:AC,toJSONObject:OC,isAsyncFn:PC,isThenable:IC};function Xe(e,t,n,r,o){Error.call(this),Error.captureStackTrace?Error.captureStackTrace(this,this.constructor):this.stack=new Error().stack,this.message=e,this.name="AxiosError",t&&(this.code=t),n&&(this.config=n),r&&(this.request=r),o&&(this.response=o)}J.inherits(Xe,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 vg=Xe.prototype,bg={};["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=>{bg[e]={value:e}});Object.defineProperties(Xe,bg);Object.defineProperty(vg,"isAxiosError",{value:!0});Xe.from=(e,t,n,r,o,s)=>{const i=Object.create(vg);return J.toFlatObject(e,i,function(l){return l!==Error.prototype},a=>a!=="isAxiosError"),Xe.call(i,e.message,t,n,r,o),i.cause=e,i.name=e.name,s&&Object.assign(i,s),i};const RC=null;function xu(e){return J.isPlainObject(e)||J.isArray(e)}function zg(e){return J.endsWith(e,"[]")?e.slice(0,-2):e}function hf(e,t,n){return e?e.concat(t).map(function(o,s){return o=zg(o),!n&&s?"["+o+"]":o}).join(n?".":""):t}function DC(e){return J.isArray(e)&&!e.some(xu)}const LC=J.toFlatObject(J,{},null,function(t){return/^is[A-Z]/.test(t)});function Kl(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,o=n.visitor||m,s=n.dots,i=n.indexes,l=(n.Blob||typeof Blob<"u"&&Blob)&&J.isSpecCompliantForm(t);if(!J.isFunction(o))throw new TypeError("visitor must be a function");function u(h){if(h===null)return"";if(J.isDate(h))return h.toISOString();if(!l&&J.isBlob(h))throw new Xe("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 C=h;if(h&&!b&&typeof h=="object"){if(J.endsWith(_,"{}"))_=r?_:_.slice(0,-2),h=JSON.stringify(h);else if(J.isArray(h)&&DC(h)||(J.isFileList(h)||J.endsWith(_,"[]"))&&(C=J.toArray(h)))return _=zg(_),C.forEach(function(v,z){!(J.isUndefined(v)||v===null)&&t.append(i===!0?hf([_],z,s):i===null?_:_+"[]",u(v))}),!1}return xu(h)?!0:(t.append(hf(b,_,s),u(h)),!1)}const d=[],f=Object.assign(LC,{defaultVisitor:m,convertValue:u,isVisitable:xu});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(C,w){(!(J.isUndefined(C)||C===null)&&o.call(t,C,J.isString(w)?w.trim():w,_,f))===!0&&p(C,_?_.concat(w):[w])}),d.pop()}}if(!J.isObject(e))throw new TypeError("data must be an object");return p(e),t}function _f(e){const t={"!":"%21","'":"%27","(":"%28",")":"%29","~":"%7E","%20":"+","%00":"\0"};return encodeURIComponent(e).replace(/[!'()~]|%20|%00/g,function(r){return t[r]})}function Md(e,t){this._pairs=[],e&&Kl(e,this,t)}const wg=Md.prototype;wg.append=function(t,n){this._pairs.push([t,n])};wg.toString=function(t){const n=t?function(r){return t.call(this,r,_f)}:_f;return this._pairs.map(function(o){return n(o[0])+"="+n(o[1])},"").join("&")};function NC(e){return encodeURIComponent(e).replace(/%3A/gi,":").replace(/%24/g,"$").replace(/%2C/gi,",").replace(/%20/g,"+").replace(/%5B/gi,"[").replace(/%5D/gi,"]")}function Cg(e,t,n){if(!t)return e;const r=n&&n.encode||NC,o=n&&n.serialize;let s;if(o?s=o(t,n):s=J.isURLSearchParams(t)?t.toString():new Md(t,n).toString(r),s){const i=e.indexOf("#");i!==-1&&(e=e.slice(0,i)),e+=(e.indexOf("?")===-1?"?":"&")+s}return e}class gf{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 kg={silentJSONParsing:!0,forcedJSONParsing:!0,clarifyTimeoutError:!1},MC=typeof URLSearchParams<"u"?URLSearchParams:Md,FC=typeof FormData<"u"?FormData:null,VC=typeof Blob<"u"?Blob:null,HC={isBrowser:!0,classes:{URLSearchParams:MC,FormData:FC,Blob:VC},protocols:["http","https","file","blob","url","data"]},xg=typeof window<"u"&&typeof document<"u",UC=(e=>xg&&["ReactNative","NativeScript","NS"].indexOf(e)<0)(typeof navigator<"u"&&navigator.product),jC=typeof WorkerGlobalScope<"u"&&self instanceof WorkerGlobalScope&&typeof self.importScripts=="function",qC=Object.freeze(Object.defineProperty({__proto__:null,hasBrowserEnv:xg,hasStandardBrowserEnv:UC,hasStandardBrowserWebWorkerEnv:jC},Symbol.toStringTag,{value:"Module"})),tr={...qC,...HC};function BC(e,t){return Kl(e,new tr.classes.URLSearchParams,Object.assign({visitor:function(n,r,o,s){return tr.isNode&&J.isBuffer(n)?(this.append(r,n.toString("base64")),!1):s.defaultVisitor.apply(this,arguments)}},t))}function WC(e){return J.matchAll(/\w+|\[(\w*)]/g,e).map(t=>t[0]==="[]"?"":t[1]||t[0])}function GC(e){const t={},n=Object.keys(e);let r;const o=n.length;let s;for(r=0;r<o;r++)s=n[r],t[s]=e[s];return t}function Sg(e){function t(n,r,o,s){let i=n[s++];if(i==="__proto__")return!0;const a=Number.isFinite(+i),l=s>=n.length;return i=!i&&J.isArray(o)?o.length:i,l?(J.hasOwnProp(o,i)?o[i]=[o[i],r]:o[i]=r,!a):((!o[i]||!J.isObject(o[i]))&&(o[i]=[]),t(n,r,o[i],s)&&J.isArray(o[i])&&(o[i]=GC(o[i])),!a)}if(J.isFormData(e)&&J.isFunction(e.entries)){const n={};return J.forEachEntry(e,(r,o)=>{t(WC(r),o,n,0)}),n}return null}function KC(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 Fd={transitional:kg,adapter:["xhr","http"],transformRequest:[function(t,n){const r=n.getContentType()||"",o=r.indexOf("application/json")>-1,s=J.isObject(t);if(s&&J.isHTMLForm(t)&&(t=new FormData(t)),J.isFormData(t))return o?JSON.stringify(Sg(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 a;if(s){if(r.indexOf("application/x-www-form-urlencoded")>-1)return BC(t,this.formSerializer).toString();if((a=J.isFileList(t))||r.indexOf("multipart/form-data")>-1){const l=this.env&&this.env.FormData;return Kl(a?{"files[]":t}:t,l&&new l,this.formSerializer)}}return s||o?(n.setContentType("application/json",!1),KC(t)):t}],transformResponse:[function(t){const n=this.transitional||Fd.transitional,r=n&&n.forcedJSONParsing,o=this.responseType==="json";if(t&&J.isString(t)&&(r&&!this.responseType||o)){const i=!(n&&n.silentJSONParsing)&&o;try{return JSON.parse(t)}catch(a){if(i)throw a.name==="SyntaxError"?Xe.from(a,Xe.ERR_BAD_RESPONSE,this,null,this.response):a}}return t}],timeout:0,xsrfCookieName:"XSRF-TOKEN",xsrfHeaderName:"X-XSRF-TOKEN",maxContentLength:-1,maxBodyLength:-1,env:{FormData:tr.classes.FormData,Blob:tr.classes.Blob},validateStatus:function(t){return t>=200&&t<300},headers:{common:{Accept:"application/json, text/plain, */*","Content-Type":void 0}}};J.forEach(["delete","get","head","post","put","patch"],e=>{Fd.headers[e]={}});const Vd=Fd,ZC=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"]),YC=e=>{const t={};let n,r,o;return e&&e.split(`
|
||
`).forEach(function(i){o=i.indexOf(":"),n=i.substring(0,o).trim().toLowerCase(),r=i.substring(o+1).trim(),!(!n||t[n]&&ZC[n])&&(n==="set-cookie"?t[n]?t[n].push(r):t[n]=[r]:t[n]=t[n]?t[n]+", "+r:r)}),t},yf=Symbol("internals");function Cs(e){return e&&String(e).trim().toLowerCase()}function ja(e){return e===!1||e==null?e:J.isArray(e)?e.map(ja):String(e)}function JC(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 XC=e=>/^[-_a-zA-Z0-9^`|~,!#$%&'*+.]+$/.test(e.trim());function Sc(e,t,n,r,o){if(J.isFunction(r))return r.call(this,t,n);if(o&&(t=n),!!J.isString(t)){if(J.isString(r))return t.indexOf(r)!==-1;if(J.isRegExp(r))return r.test(t)}}function QC(e){return e.trim().toLowerCase().replace(/([a-z\d])(\w*)/g,(t,n,r)=>n.toUpperCase()+r)}function ek(e,t){const n=J.toCamelCase(" "+t);["get","set","has"].forEach(r=>{Object.defineProperty(e,r+n,{value:function(o,s,i){return this[r].call(this,t,o,s,i)},configurable:!0})})}class Zl{constructor(t){t&&this.set(t)}set(t,n,r){const o=this;function s(a,l,u){const m=Cs(l);if(!m)throw new Error("header name must be a non-empty string");const d=J.findKey(o,m);(!d||o[d]===void 0||u===!0||u===void 0&&o[d]!==!1)&&(o[d||l]=ja(a))}const i=(a,l)=>J.forEach(a,(u,m)=>s(u,m,l));return J.isPlainObject(t)||t instanceof this.constructor?i(t,n):J.isString(t)&&(t=t.trim())&&!XC(t)?i(YC(t),n):t!=null&&s(n,t,r),this}get(t,n){if(t=Cs(t),t){const r=J.findKey(this,t);if(r){const o=this[r];if(!n)return o;if(n===!0)return JC(o);if(J.isFunction(n))return n.call(this,o,r);if(J.isRegExp(n))return n.exec(o);throw new TypeError("parser must be boolean|regexp|function")}}}has(t,n){if(t=Cs(t),t){const r=J.findKey(this,t);return!!(r&&this[r]!==void 0&&(!n||Sc(this,this[r],r,n)))}return!1}delete(t,n){const r=this;let o=!1;function s(i){if(i=Cs(i),i){const a=J.findKey(r,i);a&&(!n||Sc(r,r[a],a,n))&&(delete r[a],o=!0)}}return J.isArray(t)?t.forEach(s):s(t),o}clear(t){const n=Object.keys(this);let r=n.length,o=!1;for(;r--;){const s=n[r];(!t||Sc(this,this[s],s,t,!0))&&(delete this[s],o=!0)}return o}normalize(t){const n=this,r={};return J.forEach(this,(o,s)=>{const i=J.findKey(r,s);if(i){n[i]=ja(o),delete n[s];return}const a=t?QC(s):String(s).trim();a!==s&&delete n[s],n[a]=ja(o),r[a]=!0}),this}concat(...t){return this.constructor.concat(this,...t)}toJSON(t){const n=Object.create(null);return J.forEach(this,(r,o)=>{r!=null&&r!==!1&&(n[o]=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(o=>r.set(o)),r}static accessor(t){const r=(this[yf]=this[yf]={accessors:{}}).accessors,o=this.prototype;function s(i){const a=Cs(i);r[a]||(ek(o,i),r[a]=!0)}return J.isArray(t)?t.forEach(s):s(t),this}}Zl.accessor(["Content-Type","Content-Length","Accept","Accept-Encoding","User-Agent","Authorization"]);J.reduceDescriptors(Zl.prototype,({value:e},t)=>{let n=t[0].toUpperCase()+t.slice(1);return{get:()=>e,set(r){this[n]=r}}});J.freezeMethods(Zl);const _r=Zl;function Ec(e,t){const n=this||Vd,r=t||n,o=_r.from(r.headers);let s=r.data;return J.forEach(e,function(a){s=a.call(n,s,o.normalize(),t?t.status:void 0)}),o.normalize(),s}function Eg(e){return!!(e&&e.__CANCEL__)}function Ei(e,t,n){Xe.call(this,e??"canceled",Xe.ERR_CANCELED,t,n),this.name="CanceledError"}J.inherits(Ei,Xe,{__CANCEL__:!0});function tk(e,t,n){const r=n.config.validateStatus;!n.status||!r||r(n.status)?e(n):t(new Xe("Request failed with status code "+n.status,[Xe.ERR_BAD_REQUEST,Xe.ERR_BAD_RESPONSE][Math.floor(n.status/100)-4],n.config,n.request,n))}const nk=tr.hasStandardBrowserEnv?{write(e,t,n,r,o,s){const i=[e+"="+encodeURIComponent(t)];J.isNumber(n)&&i.push("expires="+new Date(n).toGMTString()),J.isString(r)&&i.push("path="+r),J.isString(o)&&i.push("domain="+o),s===!0&&i.push("secure"),document.cookie=i.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 rk(e){return/^([a-z][a-z\d+\-.]*:)?\/\//i.test(e)}function ok(e,t){return t?e.replace(/\/?\/$/,"")+"/"+t.replace(/^\/+/,""):e}function $g(e,t){return e&&!rk(t)?ok(e,t):t}const sk=tr.hasStandardBrowserEnv?function(){const t=/(msie|trident)/i.test(navigator.userAgent),n=document.createElement("a");let r;function o(s){let i=s;return t&&(n.setAttribute("href",i),i=n.href),n.setAttribute("href",i),{href:n.href,protocol:n.protocol?n.protocol.replace(/:$/,""):"",host:n.host,search:n.search?n.search.replace(/^\?/,""):"",hash:n.hash?n.hash.replace(/^#/,""):"",hostname:n.hostname,port:n.port,pathname:n.pathname.charAt(0)==="/"?n.pathname:"/"+n.pathname}}return r=o(window.location.href),function(i){const a=J.isString(i)?o(i):i;return a.protocol===r.protocol&&a.host===r.host}}():function(){return function(){return!0}}();function ik(e){const t=/^([-+\w]{1,25})(:?\/\/|:)/.exec(e);return t&&t[1]||""}function ak(e,t){e=e||10;const n=new Array(e),r=new Array(e);let o=0,s=0,i;return t=t!==void 0?t:1e3,function(l){const u=Date.now(),m=r[s];i||(i=u),n[o]=l,r[o]=u;let d=s,f=0;for(;d!==o;)f+=n[d++],d=d%e;if(o=(o+1)%e,o===s&&(s=(s+1)%e),u-i<t)return;const p=m&&u-m;return p?Math.round(f*1e3/p):void 0}}function vf(e,t){let n=0;const r=ak(50,250);return o=>{const s=o.loaded,i=o.lengthComputable?o.total:void 0,a=s-n,l=r(a),u=s<=i;n=s;const m={loaded:s,total:i,progress:i?s/i:void 0,bytes:a,rate:l||void 0,estimated:l&&i&&u?(i-s)/l:void 0,event:o};m[t?"download":"upload"]=!0,e(m)}}const lk=typeof XMLHttpRequest<"u",ck=lk&&function(e){return new Promise(function(n,r){let o=e.data;const s=_r.from(e.headers).normalize();let{responseType:i,withXSRFToken:a}=e,l;function u(){e.cancelToken&&e.cancelToken.unsubscribe(l),e.signal&&e.signal.removeEventListener("abort",l)}let m;if(J.isFormData(o)){if(tr.hasStandardBrowserEnv||tr.hasStandardBrowserWebWorkerEnv)s.setContentType(!1);else if((m=s.getContentType())!==!1){const[_,...b]=m?m.split(";").map(C=>C.trim()).filter(Boolean):[];s.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)):"";s.set("Authorization","Basic "+btoa(_+":"+b))}const f=$g(e.baseURL,e.url);d.open(e.method.toUpperCase(),Cg(f,e.params,e.paramsSerializer),!0),d.timeout=e.timeout;function p(){if(!d)return;const _=_r.from("getAllResponseHeaders"in d&&d.getAllResponseHeaders()),C={data:!i||i==="text"||i==="json"?d.responseText:d.response,status:d.status,statusText:d.statusText,headers:_,config:e,request:d};tk(function(v){n(v),u()},function(v){r(v),u()},C),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 Xe("Request aborted",Xe.ECONNABORTED,e,d)),d=null)},d.onerror=function(){r(new Xe("Network Error",Xe.ERR_NETWORK,e,d)),d=null},d.ontimeout=function(){let b=e.timeout?"timeout of "+e.timeout+"ms exceeded":"timeout exceeded";const C=e.transitional||kg;e.timeoutErrorMessage&&(b=e.timeoutErrorMessage),r(new Xe(b,C.clarifyTimeoutError?Xe.ETIMEDOUT:Xe.ECONNABORTED,e,d)),d=null},tr.hasStandardBrowserEnv&&(a&&J.isFunction(a)&&(a=a(e)),a||a!==!1&&sk(f))){const _=e.xsrfHeaderName&&e.xsrfCookieName&&nk.read(e.xsrfCookieName);_&&s.set(e.xsrfHeaderName,_)}o===void 0&&s.setContentType(null),"setRequestHeader"in d&&J.forEach(s.toJSON(),function(b,C){d.setRequestHeader(C,b)}),J.isUndefined(e.withCredentials)||(d.withCredentials=!!e.withCredentials),i&&i!=="json"&&(d.responseType=e.responseType),typeof e.onDownloadProgress=="function"&&d.addEventListener("progress",vf(e.onDownloadProgress,!0)),typeof e.onUploadProgress=="function"&&d.upload&&d.upload.addEventListener("progress",vf(e.onUploadProgress)),(e.cancelToken||e.signal)&&(l=_=>{d&&(r(!_||_.type?new Ei(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=ik(f);if(h&&tr.protocols.indexOf(h)===-1){r(new Xe("Unsupported protocol "+h+":",Xe.ERR_BAD_REQUEST,e));return}d.send(o||null)})},Su={http:RC,xhr:ck};J.forEach(Su,(e,t)=>{if(e){try{Object.defineProperty(e,"name",{value:t})}catch{}Object.defineProperty(e,"adapterName",{value:t})}});const bf=e=>`- ${e}`,uk=e=>J.isFunction(e)||e===null||e===!1,Tg={getAdapter:e=>{e=J.isArray(e)?e:[e];const{length:t}=e;let n,r;const o={};for(let s=0;s<t;s++){n=e[s];let i;if(r=n,!uk(n)&&(r=Su[(i=String(n)).toLowerCase()],r===void 0))throw new Xe(`Unknown adapter '${i}'`);if(r)break;o[i||"#"+s]=r}if(!r){const s=Object.entries(o).map(([a,l])=>`adapter ${a} `+(l===!1?"is not supported by the environment":"is not available in the build"));let i=t?s.length>1?`since :
|
||
`+s.map(bf).join(`
|
||
`):" "+bf(s[0]):"as no adapter specified";throw new Xe("There is no suitable adapter to dispatch the request "+i,"ERR_NOT_SUPPORT")}return r},adapters:Su};function $c(e){if(e.cancelToken&&e.cancelToken.throwIfRequested(),e.signal&&e.signal.aborted)throw new Ei(null,e)}function zf(e){return $c(e),e.headers=_r.from(e.headers),e.data=Ec.call(e,e.transformRequest),["post","put","patch"].indexOf(e.method)!==-1&&e.headers.setContentType("application/x-www-form-urlencoded",!1),Tg.getAdapter(e.adapter||Vd.adapter)(e).then(function(r){return $c(e),r.data=Ec.call(e,e.transformResponse,r),r.headers=_r.from(r.headers),r},function(r){return Eg(r)||($c(e),r&&r.response&&(r.response.data=Ec.call(e,e.transformResponse,r.response),r.response.headers=_r.from(r.response.headers))),Promise.reject(r)})}const wf=e=>e instanceof _r?e.toJSON():e;function ss(e,t){t=t||{};const n={};function r(u,m,d){return J.isPlainObject(u)&&J.isPlainObject(m)?J.merge.call({caseless:d},u,m):J.isPlainObject(m)?J.merge({},m):J.isArray(m)?m.slice():m}function o(u,m,d){if(J.isUndefined(m)){if(!J.isUndefined(u))return r(void 0,u,d)}else return r(u,m,d)}function s(u,m){if(!J.isUndefined(m))return r(void 0,m)}function i(u,m){if(J.isUndefined(m)){if(!J.isUndefined(u))return r(void 0,u)}else return r(void 0,m)}function a(u,m,d){if(d in t)return r(u,m);if(d in e)return r(void 0,u)}const l={url:s,method:s,data:s,baseURL:i,transformRequest:i,transformResponse:i,paramsSerializer:i,timeout:i,timeoutMessage:i,withCredentials:i,withXSRFToken:i,adapter:i,responseType:i,xsrfCookieName:i,xsrfHeaderName:i,onUploadProgress:i,onDownloadProgress:i,decompress:i,maxContentLength:i,maxBodyLength:i,beforeRedirect:i,transport:i,httpAgent:i,httpsAgent:i,cancelToken:i,socketPath:i,responseEncoding:i,validateStatus:a,headers:(u,m)=>o(wf(u),wf(m),!0)};return J.forEach(Object.keys(Object.assign({},e,t)),function(m){const d=l[m]||o,f=d(e[m],t[m],m);J.isUndefined(f)&&d!==a||(n[m]=f)}),n}const Ag="1.6.7",Hd={};["object","boolean","number","function","string","symbol"].forEach((e,t)=>{Hd[e]=function(r){return typeof r===e||"a"+(t<1?"n ":" ")+e}});const Cf={};Hd.transitional=function(t,n,r){function o(s,i){return"[Axios v"+Ag+"] Transitional option '"+s+"'"+i+(r?". "+r:"")}return(s,i,a)=>{if(t===!1)throw new Xe(o(i," has been removed"+(n?" in "+n:"")),Xe.ERR_DEPRECATED);return n&&!Cf[i]&&(Cf[i]=!0,console.warn(o(i," has been deprecated since v"+n+" and will be removed in the near future"))),t?t(s,i,a):!0}};function dk(e,t,n){if(typeof e!="object")throw new Xe("options must be an object",Xe.ERR_BAD_OPTION_VALUE);const r=Object.keys(e);let o=r.length;for(;o-- >0;){const s=r[o],i=t[s];if(i){const a=e[s],l=a===void 0||i(a,s,e);if(l!==!0)throw new Xe("option "+s+" must be "+l,Xe.ERR_BAD_OPTION_VALUE);continue}if(n!==!0)throw new Xe("Unknown option "+s,Xe.ERR_BAD_OPTION)}}const Eu={assertOptions:dk,validators:Hd},xr=Eu.validators;class ul{constructor(t){this.defaults=t,this.interceptors={request:new gf,response:new gf}}async request(t,n){try{return await this._request(t,n)}catch(r){if(r instanceof Error){let o;Error.captureStackTrace?Error.captureStackTrace(o={}):o=new Error;const s=o.stack?o.stack.replace(/^.+\n/,""):"";r.stack?s&&!String(r.stack).endsWith(s.replace(/^.+\n.+\n/,""))&&(r.stack+=`
|
||
`+s):r.stack=s}throw r}}_request(t,n){typeof t=="string"?(n=n||{},n.url=t):n=t||{},n=ss(this.defaults,n);const{transitional:r,paramsSerializer:o,headers:s}=n;r!==void 0&&Eu.assertOptions(r,{silentJSONParsing:xr.transitional(xr.boolean),forcedJSONParsing:xr.transitional(xr.boolean),clarifyTimeoutError:xr.transitional(xr.boolean)},!1),o!=null&&(J.isFunction(o)?n.paramsSerializer={serialize:o}:Eu.assertOptions(o,{encode:xr.function,serialize:xr.function},!0)),n.method=(n.method||this.defaults.method||"get").toLowerCase();let i=s&&J.merge(s.common,s[n.method]);s&&J.forEach(["delete","get","head","post","put","patch","common"],h=>{delete s[h]}),n.headers=_r.concat(i,s);const a=[];let l=!0;this.interceptors.request.forEach(function(_){typeof _.runWhen=="function"&&_.runWhen(n)===!1||(l=l&&_.synchronous,a.unshift(_.fulfilled,_.rejected))});const u=[];this.interceptors.response.forEach(function(_){u.push(_.fulfilled,_.rejected)});let m,d=0,f;if(!l){const h=[zf.bind(this),void 0];for(h.unshift.apply(h,a),h.push.apply(h,u),f=h.length,m=Promise.resolve(n);d<f;)m=m.then(h[d++],h[d++]);return m}f=a.length;let p=n;for(d=0;d<f;){const h=a[d++],_=a[d++];try{p=h(p)}catch(b){_.call(this,b);break}}try{m=zf.call(this,p)}catch(h){return Promise.reject(h)}for(d=0,f=u.length;d<f;)m=m.then(u[d++],u[d++]);return m}getUri(t){t=ss(this.defaults,t);const n=$g(t.baseURL,t.url);return Cg(n,t.params,t.paramsSerializer)}}J.forEach(["delete","get","head","options"],function(t){ul.prototype[t]=function(n,r){return this.request(ss(r||{},{method:t,url:n,data:(r||{}).data}))}});J.forEach(["post","put","patch"],function(t){function n(r){return function(s,i,a){return this.request(ss(a||{},{method:t,headers:r?{"Content-Type":"multipart/form-data"}:{},url:s,data:i}))}}ul.prototype[t]=n(),ul.prototype[t+"Form"]=n(!0)});const qa=ul;class Ud{constructor(t){if(typeof t!="function")throw new TypeError("executor must be a function.");let n;this.promise=new Promise(function(s){n=s});const r=this;this.promise.then(o=>{if(!r._listeners)return;let s=r._listeners.length;for(;s-- >0;)r._listeners[s](o);r._listeners=null}),this.promise.then=o=>{let s;const i=new Promise(a=>{r.subscribe(a),s=a}).then(o);return i.cancel=function(){r.unsubscribe(s)},i},t(function(s,i,a){r.reason||(r.reason=new Ei(s,i,a),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 Ud(function(o){t=o}),cancel:t}}}const mk=Ud;function fk(e){return function(n){return e.apply(null,n)}}function pk(e){return J.isObject(e)&&e.isAxiosError===!0}const $u={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($u).forEach(([e,t])=>{$u[t]=e});const hk=$u;function Og(e){const t=new qa(e),n=dg(qa.prototype.request,t);return J.extend(n,qa.prototype,t,{allOwnKeys:!0}),J.extend(n,t,null,{allOwnKeys:!0}),n.create=function(o){return Og(ss(e,o))},n}const oe=Og(Vd);oe.Axios=qa;oe.CanceledError=Ei;oe.CancelToken=mk;oe.isCancel=Eg;oe.VERSION=Ag;oe.toFormData=Kl;oe.AxiosError=Xe;oe.Cancel=oe.CanceledError;oe.all=function(t){return Promise.all(t)};oe.spread=fk;oe.isAxiosError=pk;oe.mergeConfig=ss;oe.AxiosHeaders=_r;oe.formToJSON=e=>Sg(J.isHTMLForm(e)?new FormData(e):e);oe.getAdapter=Tg.getAdapter;oe.HttpStatusCode=hk;oe.default=oe;/*!
|
||
* shared v9.9.1
|
||
* (c) 2024 kazuya kawaguchi
|
||
* Released under the MIT License.
|
||
*/const dl=typeof window<"u",Yr=(e,t=!1)=>t?Symbol.for(e):Symbol(e),_k=(e,t,n)=>gk({l:e,k:t,s:n}),gk=e=>JSON.stringify(e).replace(/\u2028/g,"\\u2028").replace(/\u2029/g,"\\u2029").replace(/\u0027/g,"\\u0027"),Mt=e=>typeof e=="number"&&isFinite(e),yk=e=>Ig(e)==="[object Date]",ml=e=>Ig(e)==="[object RegExp]",Yl=e=>Qe(e)&&Object.keys(e).length===0,Kt=Object.assign;let kf;const jd=()=>kf||(kf=typeof globalThis<"u"?globalThis:typeof self<"u"?self:typeof window<"u"?window:typeof global<"u"?global:{});function xf(e){return e.replace(/</g,"<").replace(/>/g,">").replace(/"/g,""").replace(/'/g,"'")}const vk=Object.prototype.hasOwnProperty;function fl(e,t){return vk.call(e,t)}const Lt=Array.isArray,$t=e=>typeof e=="function",ke=e=>typeof e=="string",Tt=e=>typeof e=="boolean",at=e=>e!==null&&typeof e=="object",bk=e=>at(e)&&$t(e.then)&&$t(e.catch),Pg=Object.prototype.toString,Ig=e=>Pg.call(e),Qe=e=>{if(!at(e))return!1;const t=Object.getPrototypeOf(e);return t===null||t.constructor===Object},zk=e=>e==null?"":Lt(e)||Qe(e)&&e.toString===Pg?JSON.stringify(e,null,2):String(e);function wk(e,t=""){return e.reduce((n,r,o)=>o===0?n+r:n+t+r,"")}function qd(e){let t=e;return()=>++t}function Ck(e,t){typeof console<"u"&&(console.warn("[intlify] "+e),t&&console.warn(t.stack))}const Ki=e=>!at(e)||Lt(e);function Ba(e,t){if(Ki(e)||Ki(t))throw new Error("Invalid value");const n=[{src:e,des:t}];for(;n.length;){const{src:r,des:o}=n.pop();Object.keys(r).forEach(s=>{Ki(r[s])||Ki(o[s])?o[s]=r[s]:n.push({src:r[s],des:o[s]})})}}/*!
|
||
* message-compiler v9.9.1
|
||
* (c) 2024 kazuya kawaguchi
|
||
* Released under the MIT License.
|
||
*/const kk=/\{([0-9a-zA-Z]+)\}/g;function xk(e,...t){return t.length===1&&Sk(t[0])&&(t=t[0]),(!t||!t.hasOwnProperty)&&(t={}),e.replace(kk,(n,r)=>t.hasOwnProperty(r)?t[r]:"")}const Sk=e=>e!==null&&typeof e=="object",Vt={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},Ek={[Vt.EXPECTED_TOKEN]:"Expected token: '{0}'",[Vt.INVALID_TOKEN_IN_PLACEHOLDER]:"Invalid token in placeholder: '{0}'",[Vt.UNTERMINATED_SINGLE_QUOTE_IN_PLACEHOLDER]:"Unterminated single quote in placeholder",[Vt.UNKNOWN_ESCAPE_SEQUENCE]:"Unknown escape sequence: \\{0}",[Vt.INVALID_UNICODE_ESCAPE_SEQUENCE]:"Invalid unicode escape sequence: {0}",[Vt.UNBALANCED_CLOSING_BRACE]:"Unbalanced closing brace",[Vt.UNTERMINATED_CLOSING_BRACE]:"Unterminated closing brace",[Vt.EMPTY_PLACEHOLDER]:"Empty placeholder",[Vt.NOT_ALLOW_NEST_PLACEHOLDER]:"Not allowed nest placeholder",[Vt.INVALID_LINKED_FORMAT]:"Invalid linked format",[Vt.MUST_HAVE_MESSAGES_IN_PLURAL]:"Plural must have messages",[Vt.UNEXPECTED_EMPTY_LINKED_MODIFIER]:"Unexpected empty linked modifier",[Vt.UNEXPECTED_EMPTY_LINKED_KEY]:"Unexpected empty linked key",[Vt.UNEXPECTED_LEXICAL_ANALYSIS]:"Unexpected lexical analysis in token: '{0}'",[Vt.UNHANDLED_CODEGEN_NODE_TYPE]:"unhandled codegen node type: '{0}'",[Vt.UNHANDLED_MINIFIER_NODE_TYPE]:"unhandled mimifier node type: '{0}'"};function Rg(e,t,n={}){const{domain:r,messages:o,args:s}=n,i=xk((o||Ek)[e]||"",...s||[]),a=new SyntaxError(String(i));return a.code=e,t&&(a.location=t),a.domain=r,a}/*!
|
||
* core-base v9.9.1
|
||
* (c) 2024 kazuya kawaguchi
|
||
* Released under the MIT License.
|
||
*/function $k(){typeof __INTLIFY_PROD_DEVTOOLS__!="boolean"&&(jd().__INTLIFY_PROD_DEVTOOLS__=!1)}const Jr=[];Jr[0]={w:[0],i:[3,0],"[":[4],o:[7]};Jr[1]={w:[1],".":[2],"[":[4],o:[7]};Jr[2]={w:[2],i:[3,0],0:[3,0]};Jr[3]={i:[3,0],0:[3,0],w:[1,1],".":[2,1],"[":[4,1],o:[7,1]};Jr[4]={"'":[5,0],'"':[6,0],"[":[4,2],"]":[1,3],o:8,l:[4,0]};Jr[5]={"'":[4,0],o:8,l:[5,0]};Jr[6]={'"':[4,0],o:8,l:[6,0]};const Tk=/^\s?(?:true|false|-?[\d.]+|'[^']*'|"[^"]*")\s?$/;function Ak(e){return Tk.test(e)}function Ok(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 Pk(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 Ik(e){const t=e.trim();return e.charAt(0)==="0"&&isNaN(parseInt(e))?!1:Ak(t)?Ok(t):"*"+t}function Rk(e){const t=[];let n=-1,r=0,o=0,s,i,a,l,u,m,d;const f=[];f[0]=()=>{i===void 0?i=a:i+=a},f[1]=()=>{i!==void 0&&(t.push(i),i=void 0)},f[2]=()=>{f[0](),o++},f[3]=()=>{if(o>0)o--,r=4,f[0]();else{if(o=0,i===void 0||(i=Ik(i),i===!1))return!1;f[1]()}};function p(){const h=e[n+1];if(r===5&&h==="'"||r===6&&h==='"')return n++,a="\\"+h,f[0](),!0}for(;r!==null;)if(n++,s=e[n],!(s==="\\"&&p())){if(l=Pk(s),d=Jr[r],u=d[l]||d.l||8,u===8||(r=u[0],u[1]!==void 0&&(m=f[u[1]],m&&(a=s,m()===!1))))return;if(r===7)return t}}const Sf=new Map;function Dk(e,t){return at(e)?e[t]:null}function Lk(e,t){if(!at(e))return null;let n=Sf.get(t);if(n||(n=Rk(t),n&&Sf.set(t,n)),!n)return null;const r=n.length;let o=e,s=0;for(;s<r;){const i=o[n[s]];if(i===void 0||$t(o))return null;o=i,s++}return o}const Nk=e=>e,Mk=e=>"",Fk="text",Vk=e=>e.length===0?"":wk(e),Hk=zk;function Ef(e,t){return e=Math.abs(e),t===2?e?e>1?1:0:1:e?Math.min(e,2):0}function Uk(e){const t=Mt(e.pluralIndex)?e.pluralIndex:-1;return e.named&&(Mt(e.named.count)||Mt(e.named.n))?Mt(e.named.count)?e.named.count:Mt(e.named.n)?e.named.n:t:t}function jk(e,t){t.count||(t.count=e),t.n||(t.n=e)}function qk(e={}){const t=e.locale,n=Uk(e),r=at(e.pluralRules)&&ke(t)&&$t(e.pluralRules[t])?e.pluralRules[t]:Ef,o=at(e.pluralRules)&&ke(t)&&$t(e.pluralRules[t])?Ef:void 0,s=C=>C[r(n,C.length,o)],i=e.list||[],a=C=>i[C],l=e.named||{};Mt(e.pluralIndex)&&jk(n,l);const u=C=>l[C];function m(C){const w=$t(e.messages)?e.messages(C):at(e.messages)?e.messages[C]:!1;return w||(e.parent?e.parent.message(C):Mk)}const d=C=>e.modifiers?e.modifiers[C]:Nk,f=Qe(e.processor)&&$t(e.processor.normalize)?e.processor.normalize:Vk,p=Qe(e.processor)&&$t(e.processor.interpolate)?e.processor.interpolate:Hk,h=Qe(e.processor)&&ke(e.processor.type)?e.processor.type:Fk,b={list:a,named:u,plural:s,linked:(C,...w)=>{const[v,z]=w;let E="text",x="";w.length===1?at(v)?(x=v.modifier||x,E=v.type||E):ke(v)&&(x=v||x):w.length===2&&(ke(v)&&(x=v||x),ke(z)&&(E=z||E));const M=m(C)(b),P=E==="vnode"&&Lt(M)&&x?M[0]:M;return x?d(x)(P,E):P},message:m,type:h,interpolate:p,normalize:f,values:Kt({},i,l)};return b}let mi=null;function Bk(e){mi=e}function Wk(e,t,n){mi&&mi.emit("i18n:init",{timestamp:Date.now(),i18n:e,version:t,meta:n})}const Gk=Kk("function:translate");function Kk(e){return t=>mi&&mi.emit(e,t)}const Zk={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},Dg=Vt.__EXTEND_POINT__,eo=qd(Dg),nr={INVALID_ARGUMENT:Dg,INVALID_DATE_ARGUMENT:eo(),INVALID_ISO_DATE_ARGUMENT:eo(),NOT_SUPPORT_NON_STRING_MESSAGE:eo(),NOT_SUPPORT_LOCALE_PROMISE_VALUE:eo(),NOT_SUPPORT_LOCALE_ASYNC_FUNCTION:eo(),NOT_SUPPORT_LOCALE_TYPE:eo(),__EXTEND_POINT__:eo()};function fr(e){return Rg(e,null,void 0)}function Bd(e,t){return t.locale!=null?$f(t.locale):$f(e.locale)}let Tc;function $f(e){if(ke(e))return e;if($t(e)){if(e.resolvedOnce&&Tc!=null)return Tc;if(e.constructor.name==="Function"){const t=e();if(bk(t))throw fr(nr.NOT_SUPPORT_LOCALE_PROMISE_VALUE);return Tc=t}else throw fr(nr.NOT_SUPPORT_LOCALE_ASYNC_FUNCTION)}else throw fr(nr.NOT_SUPPORT_LOCALE_TYPE)}function Yk(e,t,n){return[...new Set([n,...Lt(t)?t:at(t)?Object.keys(t):ke(t)?[t]:[n]])]}function Lg(e,t,n){const r=ke(n)?n:pl,o=e;o.__localeChainCache||(o.__localeChainCache=new Map);let s=o.__localeChainCache.get(r);if(!s){s=[];let i=[n];for(;Lt(i);)i=Tf(s,i,t);const a=Lt(t)||!Qe(t)?t:t.default?t.default:null;i=ke(a)?[a]:a,Lt(i)&&Tf(s,i,!1),o.__localeChainCache.set(r,s)}return s}function Tf(e,t,n){let r=!0;for(let o=0;o<t.length&&Tt(r);o++){const s=t[o];ke(s)&&(r=Jk(e,t[o],n))}return r}function Jk(e,t,n){let r;const o=t.split("-");do{const s=o.join("-");r=Xk(e,s,n),o.splice(-1,1)}while(o.length&&r===!0);return r}function Xk(e,t,n){let r=!1;if(!e.includes(t)&&(r=!0,t)){r=t[t.length-1]!=="!";const o=t.replace(/!/g,"");e.push(o),(Lt(n)||Qe(n))&&n[o]&&(r=n[o])}return r}const Qk="9.9.1",Jl=-1,pl="en-US",Af="",Of=e=>`${e.charAt(0).toLocaleUpperCase()}${e.substr(1)}`;function ex(){return{upper:(e,t)=>t==="text"&&ke(e)?e.toUpperCase():t==="vnode"&&at(e)&&"__v_isVNode"in e?e.children.toUpperCase():e,lower:(e,t)=>t==="text"&&ke(e)?e.toLowerCase():t==="vnode"&&at(e)&&"__v_isVNode"in e?e.children.toLowerCase():e,capitalize:(e,t)=>t==="text"&&ke(e)?Of(e):t==="vnode"&&at(e)&&"__v_isVNode"in e?Of(e.children):e}}let tx,Ng;function nx(e){Ng=e}let Mg;function rx(e){Mg=e}let Fg=null;const ox=e=>{Fg=e},sx=()=>Fg;let Vg=null;const Pf=e=>{Vg=e},ix=()=>Vg;let If=0;function ax(e={}){const t=$t(e.onWarn)?e.onWarn:Ck,n=ke(e.version)?e.version:Qk,r=ke(e.locale)||$t(e.locale)?e.locale:pl,o=$t(r)?pl:r,s=Lt(e.fallbackLocale)||Qe(e.fallbackLocale)||ke(e.fallbackLocale)||e.fallbackLocale===!1?e.fallbackLocale:o,i=Qe(e.messages)?e.messages:{[o]:{}},a=Qe(e.datetimeFormats)?e.datetimeFormats:{[o]:{}},l=Qe(e.numberFormats)?e.numberFormats:{[o]:{}},u=Kt({},e.modifiers||{},ex()),m=e.pluralRules||{},d=$t(e.missing)?e.missing:null,f=Tt(e.missingWarn)||ml(e.missingWarn)?e.missingWarn:!0,p=Tt(e.fallbackWarn)||ml(e.fallbackWarn)?e.fallbackWarn:!0,h=!!e.fallbackFormat,_=!!e.unresolving,b=$t(e.postTranslation)?e.postTranslation:null,C=Qe(e.processor)?e.processor:null,w=Tt(e.warnHtmlMessage)?e.warnHtmlMessage:!0,v=!!e.escapeParameter,z=$t(e.messageCompiler)?e.messageCompiler:tx,E=$t(e.messageResolver)?e.messageResolver:Ng||Dk,x=$t(e.localeFallbacker)?e.localeFallbacker:Mg||Yk,M=at(e.fallbackContext)?e.fallbackContext:void 0,P=e,I=at(P.__datetimeFormatters)?P.__datetimeFormatters:new Map,N=at(P.__numberFormatters)?P.__numberFormatters:new Map,Z=at(P.__meta)?P.__meta:{};If++;const j={version:n,cid:If,locale:r,fallbackLocale:s,messages:i,modifiers:u,pluralRules:m,missing:d,missingWarn:f,fallbackWarn:p,fallbackFormat:h,unresolving:_,postTranslation:b,processor:C,warnHtmlMessage:w,escapeParameter:v,messageCompiler:z,messageResolver:E,localeFallbacker:x,fallbackContext:M,onWarn:t,__meta:Z};return j.datetimeFormats=a,j.numberFormats=l,j.__datetimeFormatters=I,j.__numberFormatters=N,__INTLIFY_PROD_DEVTOOLS__&&Wk(j,n,Z),j}function Wd(e,t,n,r,o){const{missing:s,onWarn:i}=e;if(s!==null){const a=s(e,n,t,o);return ke(a)?a:t}else return t}function ks(e,t,n){const r=e;r.__localeChainCache=new Map,e.localeFallbacker(e,n,t)}const is=e=>at(e)&&(e.t===0||e.type===0)&&("b"in e||"body"in e),Rf=()=>"",xn=e=>$t(e);function Df(e,...t){const{fallbackFormat:n,postTranslation:r,unresolving:o,messageCompiler:s,fallbackLocale:i,messages:a}=e,[l,u]=Tu(...t),m=Tt(u.missingWarn)?u.missingWarn:e.missingWarn,d=Tt(u.fallbackWarn)?u.fallbackWarn:e.fallbackWarn,f=Tt(u.escapeParameter)?u.escapeParameter:e.escapeParameter,p=!!u.resolvedMessage,h=ke(u.default)||Tt(u.default)?Tt(u.default)?s?l:()=>l:u.default:n?s?l:()=>l:"",_=n||h!=="",b=Bd(e,u);f&&lx(u);let[C,w,v]=p?[l,b,a[b]||{}]:Hg(e,l,b,i,d,m),z=C,E=l;if(!p&&!(ke(z)||is(z)||xn(z))&&_&&(z=h,E=z),!p&&(!(ke(z)||is(z)||xn(z))||!ke(w)))return o?Jl:l;let x=!1;const M=()=>{x=!0},P=xn(z)?z:Ug(e,l,w,z,E,M);if(x)return z;const I=dx(e,w,v,u),N=qk(I),Z=cx(e,P,N),j=r?r(Z,l):Z;if(__INTLIFY_PROD_DEVTOOLS__){const B={timestamp:Date.now(),key:ke(l)?l:xn(z)?z.key:"",locale:w||(xn(z)?z.locale:""),format:ke(z)?z:xn(z)?z.source:"",message:j};B.meta=Kt({},e.__meta,sx()||{}),Gk(B)}return j}function lx(e){Lt(e.list)?e.list=e.list.map(t=>ke(t)?xf(t):t):at(e.named)&&Object.keys(e.named).forEach(t=>{ke(e.named[t])&&(e.named[t]=xf(e.named[t]))})}function Hg(e,t,n,r,o,s){const{messages:i,onWarn:a,messageResolver:l,localeFallbacker:u}=e,m=u(e,r,n);let d={},f,p=null;const h="translate";for(let _=0;_<m.length&&(f=m[_],d=i[f]||{},(p=l(d,t))===null&&(p=d[t]),!(ke(p)||is(p)||xn(p)));_++){const b=Wd(e,t,f,s,h);b!==t&&(p=b)}return[p,f,d]}function Ug(e,t,n,r,o,s){const{messageCompiler:i,warnHtmlMessage:a}=e;if(xn(r)){const u=r;return u.locale=u.locale||n,u.key=u.key||t,u}if(i==null){const u=()=>r;return u.locale=n,u.key=t,u}const l=i(r,ux(e,n,o,r,a,s));return l.locale=n,l.key=t,l.source=r,l}function cx(e,t,n){return t(n)}function Tu(...e){const[t,n,r]=e,o={};if(!ke(t)&&!Mt(t)&&!xn(t)&&!is(t))throw fr(nr.INVALID_ARGUMENT);const s=Mt(t)?String(t):(xn(t),t);return Mt(n)?o.plural=n:ke(n)?o.default=n:Qe(n)&&!Yl(n)?o.named=n:Lt(n)&&(o.list=n),Mt(r)?o.plural=r:ke(r)?o.default=r:Qe(r)&&Kt(o,r),[s,o]}function ux(e,t,n,r,o,s){return{locale:t,key:n,warnHtmlMessage:o,onError:i=>{throw s&&s(i),i},onCacheKey:i=>_k(t,n,i)}}function dx(e,t,n,r){const{modifiers:o,pluralRules:s,messageResolver:i,fallbackLocale:a,fallbackWarn:l,missingWarn:u,fallbackContext:m}=e,f={locale:t,modifiers:o,pluralRules:s,messages:p=>{let h=i(n,p);if(h==null&&m){const[,,_]=Hg(m,p,t,a,l,u);h=i(_,p)}if(ke(h)||is(h)){let _=!1;const C=Ug(e,p,t,h,p,()=>{_=!0});return _?Rf:C}else return xn(h)?h:Rf}};return e.processor&&(f.processor=e.processor),r.list&&(f.list=r.list),r.named&&(f.named=r.named),Mt(r.plural)&&(f.pluralIndex=r.plural),f}function Lf(e,...t){const{datetimeFormats:n,unresolving:r,fallbackLocale:o,onWarn:s,localeFallbacker:i}=e,{__datetimeFormatters:a}=e,[l,u,m,d]=Au(...t),f=Tt(m.missingWarn)?m.missingWarn:e.missingWarn;Tt(m.fallbackWarn)?m.fallbackWarn:e.fallbackWarn;const p=!!m.part,h=Bd(e,m),_=i(e,o,h);if(!ke(l)||l==="")return new Intl.DateTimeFormat(h,d).format(u);let b={},C,w=null;const v="datetime format";for(let x=0;x<_.length&&(C=_[x],b=n[C]||{},w=b[l],!Qe(w));x++)Wd(e,l,C,f,v);if(!Qe(w)||!ke(C))return r?Jl:l;let z=`${C}__${l}`;Yl(d)||(z=`${z}__${JSON.stringify(d)}`);let E=a.get(z);return E||(E=new Intl.DateTimeFormat(C,Kt({},w,d)),a.set(z,E)),p?E.formatToParts(u):E.format(u)}const jg=["localeMatcher","weekday","era","year","month","day","hour","minute","second","timeZoneName","formatMatcher","hour12","timeZone","dateStyle","timeStyle","calendar","dayPeriod","numberingSystem","hourCycle","fractionalSecondDigits"];function Au(...e){const[t,n,r,o]=e,s={};let i={},a;if(ke(t)){const l=t.match(/(\d{4}-\d{2}-\d{2})(T|\s)?(.*)/);if(!l)throw fr(nr.INVALID_ISO_DATE_ARGUMENT);const u=l[3]?l[3].trim().startsWith("T")?`${l[1].trim()}${l[3].trim()}`:`${l[1].trim()}T${l[3].trim()}`:l[1].trim();a=new Date(u);try{a.toISOString()}catch{throw fr(nr.INVALID_ISO_DATE_ARGUMENT)}}else if(yk(t)){if(isNaN(t.getTime()))throw fr(nr.INVALID_DATE_ARGUMENT);a=t}else if(Mt(t))a=t;else throw fr(nr.INVALID_ARGUMENT);return ke(n)?s.key=n:Qe(n)&&Object.keys(n).forEach(l=>{jg.includes(l)?i[l]=n[l]:s[l]=n[l]}),ke(r)?s.locale=r:Qe(r)&&(i=r),Qe(o)&&(i=o),[s.key||"",a,s,i]}function Nf(e,t,n){const r=e;for(const o in n){const s=`${t}__${o}`;r.__datetimeFormatters.has(s)&&r.__datetimeFormatters.delete(s)}}function Mf(e,...t){const{numberFormats:n,unresolving:r,fallbackLocale:o,onWarn:s,localeFallbacker:i}=e,{__numberFormatters:a}=e,[l,u,m,d]=Ou(...t),f=Tt(m.missingWarn)?m.missingWarn:e.missingWarn;Tt(m.fallbackWarn)?m.fallbackWarn:e.fallbackWarn;const p=!!m.part,h=Bd(e,m),_=i(e,o,h);if(!ke(l)||l==="")return new Intl.NumberFormat(h,d).format(u);let b={},C,w=null;const v="number format";for(let x=0;x<_.length&&(C=_[x],b=n[C]||{},w=b[l],!Qe(w));x++)Wd(e,l,C,f,v);if(!Qe(w)||!ke(C))return r?Jl:l;let z=`${C}__${l}`;Yl(d)||(z=`${z}__${JSON.stringify(d)}`);let E=a.get(z);return E||(E=new Intl.NumberFormat(C,Kt({},w,d)),a.set(z,E)),p?E.formatToParts(u):E.format(u)}const qg=["localeMatcher","style","currency","currencyDisplay","currencySign","useGrouping","minimumIntegerDigits","minimumFractionDigits","maximumFractionDigits","minimumSignificantDigits","maximumSignificantDigits","compactDisplay","notation","signDisplay","unit","unitDisplay","roundingMode","roundingPriority","roundingIncrement","trailingZeroDisplay"];function Ou(...e){const[t,n,r,o]=e,s={};let i={};if(!Mt(t))throw fr(nr.INVALID_ARGUMENT);const a=t;return ke(n)?s.key=n:Qe(n)&&Object.keys(n).forEach(l=>{qg.includes(l)?i[l]=n[l]:s[l]=n[l]}),ke(r)?s.locale=r:Qe(r)&&(i=r),Qe(o)&&(i=o),[s.key||"",a,s,i]}function Ff(e,t,n){const r=e;for(const o in n){const s=`${t}__${o}`;r.__numberFormatters.has(s)&&r.__numberFormatters.delete(s)}}$k();function mx(){return Bg().__VUE_DEVTOOLS_GLOBAL_HOOK__}function Bg(){return typeof navigator<"u"&&typeof window<"u"?window:typeof globalThis<"u"?globalThis:{}}const fx=typeof Proxy=="function",px="devtools-plugin:setup",hx="plugin:settings:set";let $o,Pu;function _x(){var e;return $o!==void 0||(typeof window<"u"&&window.performance?($o=!0,Pu=window.performance):typeof globalThis<"u"&&(!((e=globalThis.perf_hooks)===null||e===void 0)&&e.performance)?($o=!0,Pu=globalThis.perf_hooks.performance):$o=!1),$o}function gx(){return _x()?Pu.now():Date.now()}class yx{constructor(t,n){this.target=null,this.targetQueue=[],this.onQueue=[],this.plugin=t,this.hook=n;const r={};if(t.settings)for(const i in t.settings){const a=t.settings[i];r[i]=a.defaultValue}const o=`__vue-devtools-plugin-settings__${t.id}`;let s=Object.assign({},r);try{const i=localStorage.getItem(o),a=JSON.parse(i);Object.assign(s,a)}catch{}this.fallbacks={getSettings(){return s},setSettings(i){try{localStorage.setItem(o,JSON.stringify(i))}catch{}s=i},now(){return gx()}},n&&n.on(hx,(i,a)=>{i===this.plugin.id&&this.fallbacks.setSettings(a)}),this.proxiedOn=new Proxy({},{get:(i,a)=>this.target?this.target.on[a]:(...l)=>{this.onQueue.push({method:a,args:l})}}),this.proxiedTarget=new Proxy({},{get:(i,a)=>this.target?this.target[a]:a==="on"?this.proxiedOn:Object.keys(this.fallbacks).includes(a)?(...l)=>(this.targetQueue.push({method:a,args:l,resolve:()=>{}}),this.fallbacks[a](...l)):(...l)=>new Promise(u=>{this.targetQueue.push({method:a,args:l,resolve:u})})})}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 vx(e,t){const n=e,r=Bg(),o=mx(),s=fx&&n.enableEarlyProxy;if(o&&(r.__VUE_DEVTOOLS_PLUGIN_API_AVAILABLE__||!s))o.emit(px,e,t);else{const i=s?new yx(n,o):null;(r.__VUE_DEVTOOLS_PLUGINS__=r.__VUE_DEVTOOLS_PLUGINS__||[]).push({pluginDescriptor:n,setupFn:t,proxy:i}),i&&t(i.proxiedTarget)}}/*!
|
||
* vue-i18n v9.9.1
|
||
* (c) 2024 kazuya kawaguchi
|
||
* Released under the MIT License.
|
||
*/const bx="9.9.1";function zx(){typeof __INTLIFY_PROD_DEVTOOLS__!="boolean"&&(jd().__INTLIFY_PROD_DEVTOOLS__=!1)}const Wg=Zk.__EXTEND_POINT__,Sr=qd(Wg);Sr(),Sr(),Sr(),Sr(),Sr(),Sr(),Sr(),Sr();const Gg=nr.__EXTEND_POINT__,en=qd(Gg),On={UNEXPECTED_RETURN_TYPE:Gg,INVALID_ARGUMENT:en(),MUST_BE_CALL_SETUP_TOP:en(),NOT_INSTALLED:en(),NOT_AVAILABLE_IN_LEGACY_MODE:en(),REQUIRED_VALUE:en(),INVALID_VALUE:en(),CANNOT_SETUP_VUE_DEVTOOLS_PLUGIN:en(),NOT_INSTALLED_WITH_PROVIDE:en(),UNEXPECTED_ERROR:en(),NOT_COMPATIBLE_LEGACY_VUE_I18N:en(),BRIDGE_SUPPORT_VUE_2_ONLY:en(),MUST_DEFINE_I18N_OPTION_IN_ALLOW_COMPOSITION:en(),NOT_AVAILABLE_COMPOSITION_IN_LEGACY:en(),__EXTEND_POINT__:en()};function Bn(e,...t){return Rg(e,null,void 0)}const Iu=Yr("__translateVNode"),Ru=Yr("__datetimeParts"),Du=Yr("__numberParts"),wx=Yr("__setPluralRules"),Cx=Yr("__injectWithOption"),Lu=Yr("__dispose");function fi(e){if(!at(e))return e;for(const t in e)if(fl(e,t))if(!t.includes("."))at(e[t])&&fi(e[t]);else{const n=t.split("."),r=n.length-1;let o=e,s=!1;for(let i=0;i<r;i++){if(n[i]in o||(o[n[i]]={}),!at(o[n[i]])){s=!0;break}o=o[n[i]]}s||(o[n[r]]=e[t],delete e[t]),at(o[n[r]])&&fi(o[n[r]])}return e}function Kg(e,t){const{messages:n,__i18n:r,messageResolver:o,flatJson:s}=t,i=Qe(n)?n:Lt(r)?{}:{[e]:{}};if(Lt(r)&&r.forEach(a=>{if("locale"in a&&"resource"in a){const{locale:l,resource:u}=a;l?(i[l]=i[l]||{},Ba(u,i[l])):Ba(u,i)}else ke(a)&&Ba(JSON.parse(a),i)}),o==null&&s)for(const a in i)fl(i,a)&&fi(i[a]);return i}function Zg(e){return e.type}function kx(e,t,n){let r=at(t.messages)?t.messages:{};"__i18nGlobal"in n&&(r=Kg(e.locale.value,{messages:r,__i18n:n.__i18nGlobal}));const o=Object.keys(r);o.length&&o.forEach(s=>{e.mergeLocaleMessage(s,r[s])});{if(at(t.datetimeFormats)){const s=Object.keys(t.datetimeFormats);s.length&&s.forEach(i=>{e.mergeDateTimeFormat(i,t.datetimeFormats[i])})}if(at(t.numberFormats)){const s=Object.keys(t.numberFormats);s.length&&s.forEach(i=>{e.mergeNumberFormat(i,t.numberFormats[i])})}}}function Vf(e){return y(Br,null,e,0)}const Hf="__INTLIFY_META__",Uf=()=>[],xx=()=>!1;let jf=0;function qf(e){return(t,n,r,o)=>e(n,r,In()||void 0,o)}const Sx=()=>{const e=In();let t=null;return e&&(t=Zg(e)[Hf])?{[Hf]:t}:null};function Yg(e={},t){const{__root:n,__injectWithOption:r}=e,o=n===void 0,s=e.flatJson,i=dl?rr:bd;let a=Tt(e.inheritLocale)?e.inheritLocale:!0;const l=i(n&&a?n.locale.value:ke(e.locale)?e.locale:pl),u=i(n&&a?n.fallbackLocale.value:ke(e.fallbackLocale)||Lt(e.fallbackLocale)||Qe(e.fallbackLocale)||e.fallbackLocale===!1?e.fallbackLocale:l.value),m=i(Kg(l.value,e)),d=i(Qe(e.datetimeFormats)?e.datetimeFormats:{[l.value]:{}}),f=i(Qe(e.numberFormats)?e.numberFormats:{[l.value]:{}});let p=n?n.missingWarn:Tt(e.missingWarn)||ml(e.missingWarn)?e.missingWarn:!0,h=n?n.fallbackWarn:Tt(e.fallbackWarn)||ml(e.fallbackWarn)?e.fallbackWarn:!0,_=n?n.fallbackRoot:Tt(e.fallbackRoot)?e.fallbackRoot:!0,b=!!e.fallbackFormat,C=$t(e.missing)?e.missing:null,w=$t(e.missing)?qf(e.missing):null,v=$t(e.postTranslation)?e.postTranslation:null,z=n?n.warnHtmlMessage:Tt(e.warnHtmlMessage)?e.warnHtmlMessage:!0,E=!!e.escapeParameter;const x=n?n.modifiers:Qe(e.modifiers)?e.modifiers:{};let M=e.pluralRules||n&&n.pluralRules,P;P=(()=>{o&&Pf(null);const L={version:bx,locale:l.value,fallbackLocale:u.value,messages:m.value,modifiers:x,pluralRules:M,missing:w===null?void 0:w,missingWarn:p,fallbackWarn:h,fallbackFormat:b,unresolving:!0,postTranslation:v===null?void 0:v,warnHtmlMessage:z,escapeParameter:E,messageResolver:e.messageResolver,messageCompiler:e.messageCompiler,__meta:{framework:"vue"}};L.datetimeFormats=d.value,L.numberFormats=f.value,L.__datetimeFormatters=Qe(P)?P.__datetimeFormatters:void 0,L.__numberFormatters=Qe(P)?P.__numberFormatters:void 0;const q=ax(L);return o&&Pf(q),q})(),ks(P,l.value,u.value);function N(){return[l.value,u.value,m.value,d.value,f.value]}const Z=Nt({get:()=>l.value,set:L=>{l.value=L,P.locale=l.value}}),j=Nt({get:()=>u.value,set:L=>{u.value=L,P.fallbackLocale=u.value,ks(P,l.value,L)}}),B=Nt(()=>m.value),X=Nt(()=>d.value),pe=Nt(()=>f.value);function G(){return $t(v)?v:null}function re(L){v=L,P.postTranslation=L}function se(){return C}function je(L){L!==null&&(w=qf(L)),C=L,P.missing=w}const Je=(L,q,ye,Ee,R,D)=>{N();let U;try{__INTLIFY_PROD_DEVTOOLS__,o||(P.fallbackContext=n?ix():void 0),U=L(P)}finally{__INTLIFY_PROD_DEVTOOLS__,o||(P.fallbackContext=void 0)}if(ye!=="translate exists"&&Mt(U)&&U===Jl||ye==="translate exists"&&!U){const[ee,be]=q();return n&&_?Ee(n):R(ee)}else{if(D(U))return U;throw Bn(On.UNEXPECTED_RETURN_TYPE)}};function We(...L){return Je(q=>Reflect.apply(Df,null,[q,...L]),()=>Tu(...L),"translate",q=>Reflect.apply(q.t,q,[...L]),q=>q,q=>ke(q))}function Ue(...L){const[q,ye,Ee]=L;if(Ee&&!at(Ee))throw Bn(On.INVALID_ARGUMENT);return We(q,ye,Kt({resolvedMessage:!0},Ee||{}))}function dt(...L){return Je(q=>Reflect.apply(Lf,null,[q,...L]),()=>Au(...L),"datetime format",q=>Reflect.apply(q.d,q,[...L]),()=>Af,q=>ke(q))}function pt(...L){return Je(q=>Reflect.apply(Mf,null,[q,...L]),()=>Ou(...L),"number format",q=>Reflect.apply(q.n,q,[...L]),()=>Af,q=>ke(q))}function ht(L){return L.map(q=>ke(q)||Mt(q)||Tt(q)?Vf(String(q)):q)}const W={normalize:ht,interpolate:L=>L,type:"vnode"};function ce(...L){return Je(q=>{let ye;const Ee=q;try{Ee.processor=W,ye=Reflect.apply(Df,null,[Ee,...L])}finally{Ee.processor=null}return ye},()=>Tu(...L),"translate",q=>q[Iu](...L),q=>[Vf(q)],q=>Lt(q))}function ie(...L){return Je(q=>Reflect.apply(Mf,null,[q,...L]),()=>Ou(...L),"number format",q=>q[Du](...L),Uf,q=>ke(q)||Lt(q))}function ge(...L){return Je(q=>Reflect.apply(Lf,null,[q,...L]),()=>Au(...L),"datetime format",q=>q[Ru](...L),Uf,q=>ke(q)||Lt(q))}function Ve(L){M=L,P.pluralRules=M}function Ke(L,q){return Je(()=>{if(!L)return!1;const ye=ke(q)?q:l.value,Ee=H(ye),R=P.messageResolver(Ee,L);return is(R)||xn(R)||ke(R)},()=>[L],"translate exists",ye=>Reflect.apply(ye.te,ye,[L,q]),xx,ye=>Tt(ye))}function T(L){let q=null;const ye=Lg(P,u.value,l.value);for(let Ee=0;Ee<ye.length;Ee++){const R=m.value[ye[Ee]]||{},D=P.messageResolver(R,L);if(D!=null){q=D;break}}return q}function O(L){const q=T(L);return q??(n?n.tm(L)||{}:{})}function H(L){return m.value[L]||{}}function Y(L,q){if(s){const ye={[L]:q};for(const Ee in ye)fl(ye,Ee)&&fi(ye[Ee]);q=ye[L]}m.value[L]=q,P.messages=m.value}function K(L,q){m.value[L]=m.value[L]||{};const ye={[L]:q};if(s)for(const Ee in ye)fl(ye,Ee)&&fi(ye[Ee]);q=ye[L],Ba(q,m.value[L]),P.messages=m.value}function ae(L){return d.value[L]||{}}function de(L,q){d.value[L]=q,P.datetimeFormats=d.value,Nf(P,L,q)}function ne(L,q){d.value[L]=Kt(d.value[L]||{},q),P.datetimeFormats=d.value,Nf(P,L,q)}function le(L){return f.value[L]||{}}function Q(L,q){f.value[L]=q,P.numberFormats=f.value,Ff(P,L,q)}function he(L,q){f.value[L]=Kt(f.value[L]||{},q),P.numberFormats=f.value,Ff(P,L,q)}jf++,n&&dl&&(vn(n.locale,L=>{a&&(l.value=L,P.locale=L,ks(P,l.value,u.value))}),vn(n.fallbackLocale,L=>{a&&(u.value=L,P.fallbackLocale=L,ks(P,l.value,u.value))}));const me={id:jf,locale:Z,fallbackLocale:j,get inheritLocale(){return a},set inheritLocale(L){a=L,L&&n&&(l.value=n.locale.value,u.value=n.fallbackLocale.value,ks(P,l.value,u.value))},get availableLocales(){return Object.keys(m.value).sort()},messages:B,get modifiers(){return x},get pluralRules(){return M||{}},get isGlobal(){return o},get missingWarn(){return p},set missingWarn(L){p=L,P.missingWarn=p},get fallbackWarn(){return h},set fallbackWarn(L){h=L,P.fallbackWarn=h},get fallbackRoot(){return _},set fallbackRoot(L){_=L},get fallbackFormat(){return b},set fallbackFormat(L){b=L,P.fallbackFormat=b},get warnHtmlMessage(){return z},set warnHtmlMessage(L){z=L,P.warnHtmlMessage=L},get escapeParameter(){return E},set escapeParameter(L){E=L,P.escapeParameter=L},t:We,getLocaleMessage:H,setLocaleMessage:Y,mergeLocaleMessage:K,getPostTranslationHandler:G,setPostTranslationHandler:re,getMissingHandler:se,setMissingHandler:je,[wx]:Ve};return me.datetimeFormats=X,me.numberFormats=pe,me.rt=Ue,me.te=Ke,me.tm=O,me.d=dt,me.n=pt,me.getDateTimeFormat=ae,me.setDateTimeFormat=de,me.mergeDateTimeFormat=ne,me.getNumberFormat=le,me.setNumberFormat=Q,me.mergeNumberFormat=he,me[Cx]=r,me[Iu]=ce,me[Ru]=ge,me[Du]=ie,me}const Gd={tag:{type:[String,Object]},locale:{type:String},scope:{type:String,validator:e=>e==="parent"||e==="global",default:"parent"},i18n:{type:Object}};function Ex({slots:e},t){return t.length===1&&t[0]==="default"?(e.default?e.default():[]).reduce((r,o)=>[...r,...o.type===Ce?o.children:[o]],[]):t.reduce((n,r)=>{const o=e[r];return o&&(n[r]=o()),n},{})}function Jg(e){return Ce}const $x=vr({name:"i18n-t",props:Kt({keypath:{type:String,required:!0},plural:{type:[Number,String],validator:e=>Mt(e)||!isNaN(e)}},Gd),setup(e,t){const{slots:n,attrs:r}=t,o=e.i18n||Kd({useScope:e.scope,__useComponent:!0});return()=>{const s=Object.keys(n).filter(d=>d!=="_"),i={};e.locale&&(i.locale=e.locale),e.plural!==void 0&&(i.plural=ke(e.plural)?+e.plural:e.plural);const a=Ex(t,s),l=o[Iu](e.keypath,a,i),u=Kt({},r),m=ke(e.tag)||at(e.tag)?e.tag:Jg();return er(m,u,l)}}}),Bf=$x;function Tx(e){return Lt(e)&&!ke(e[0])}function Xg(e,t,n,r){const{slots:o,attrs:s}=t;return()=>{const i={part:!0};let a={};e.locale&&(i.locale=e.locale),ke(e.format)?i.key=e.format:at(e.format)&&(ke(e.format.key)&&(i.key=e.format.key),a=Object.keys(e.format).reduce((f,p)=>n.includes(p)?Kt({},f,{[p]:e.format[p]}):f,{}));const l=r(e.value,i,a);let u=[i.key];Lt(l)?u=l.map((f,p)=>{const h=o[f.type],_=h?h({[f.type]:f.value,index:p,parts:l}):[f.value];return Tx(_)&&(_[0].key=`${f.type}-${p}`),_}):ke(l)&&(u=[l]);const m=Kt({},s),d=ke(e.tag)||at(e.tag)?e.tag:Jg();return er(d,m,u)}}const Ax=vr({name:"i18n-n",props:Kt({value:{type:Number,required:!0},format:{type:[String,Object]}},Gd),setup(e,t){const n=e.i18n||Kd({useScope:"parent",__useComponent:!0});return Xg(e,t,qg,(...r)=>n[Du](...r))}}),Wf=Ax,Ox=vr({name:"i18n-d",props:Kt({value:{type:[Number,Date],required:!0},format:{type:[String,Object]}},Gd),setup(e,t){const n=e.i18n||Kd({useScope:"parent",__useComponent:!0});return Xg(e,t,jg,(...r)=>n[Ru](...r))}}),Gf=Ox;function Px(e,t){const n=e;if(e.mode==="composition")return n.__getInstance(t)||e.global;{const r=n.__getInstance(t);return r!=null?r.__composer:e.global.__composer}}function Ix(e){const t=i=>{const{instance:a,modifiers:l,value:u}=i;if(!a||!a.$)throw Bn(On.UNEXPECTED_ERROR);const m=Px(e,a.$),d=Kf(u);return[Reflect.apply(m.t,m,[...Zf(d)]),m]};return{created:(i,a)=>{const[l,u]=t(a);dl&&e.global===u&&(i.__i18nWatcher=vn(u.locale,()=>{a.instance&&a.instance.$forceUpdate()})),i.__composer=u,i.textContent=l},unmounted:i=>{dl&&i.__i18nWatcher&&(i.__i18nWatcher(),i.__i18nWatcher=void 0,delete i.__i18nWatcher),i.__composer&&(i.__composer=void 0,delete i.__composer)},beforeUpdate:(i,{value:a})=>{if(i.__composer){const l=i.__composer,u=Kf(a);i.textContent=Reflect.apply(l.t,l,[...Zf(u)])}},getSSRProps:i=>{const[a]=t(i);return{textContent:a}}}}function Kf(e){if(ke(e))return{path:e};if(Qe(e)){if(!("path"in e))throw Bn(On.REQUIRED_VALUE,"path");return e}else throw Bn(On.INVALID_VALUE)}function Zf(e){const{path:t,locale:n,args:r,choice:o,plural:s}=e,i={},a=r||{};return ke(n)&&(i.locale=n),Mt(o)&&(i.plural=o),Mt(s)&&(i.plural=s),[t,a,i]}function Rx(e,t,...n){const r=Qe(n[0])?n[0]:{},o=!!r.useI18nComponentName;(Tt(r.globalInstall)?r.globalInstall:!0)&&([o?"i18n":Bf.name,"I18nT"].forEach(i=>e.component(i,Bf)),[Wf.name,"I18nN"].forEach(i=>e.component(i,Wf)),[Gf.name,"I18nD"].forEach(i=>e.component(i,Gf))),e.directive("t",Ix(t))}const Dx=Yr("global-vue-i18n");function Lx(e={},t){const n=Tt(e.globalInjection)?e.globalInjection:!0,r=!0,o=new Map,[s,i]=Nx(e),a=Yr("");function l(d){return o.get(d)||null}function u(d,f){o.set(d,f)}function m(d){o.delete(d)}{const d={get mode(){return"composition"},get allowComposition(){return r},async install(f,...p){if(f.__VUE_I18N_SYMBOL__=a,f.provide(f.__VUE_I18N_SYMBOL__,d),Qe(p[0])){const b=p[0];d.__composerExtend=b.__composerExtend,d.__vueI18nExtend=b.__vueI18nExtend}let h=null;n&&(h=Bx(f,d.global)),Rx(f,d,...p);const _=f.unmount;f.unmount=()=>{h&&h(),d.dispose(),_()}},get global(){return i},dispose(){s.stop()},__instances:o,__getInstance:l,__setInstance:u,__deleteInstance:m};return d}}function Kd(e={}){const t=In();if(t==null)throw Bn(On.MUST_BE_CALL_SETUP_TOP);if(!t.isCE&&t.appContext.app!=null&&!t.appContext.app.__VUE_I18N_SYMBOL__)throw Bn(On.NOT_INSTALLED);const n=Mx(t),r=Vx(n),o=Zg(t),s=Fx(e,o);if(s==="global")return kx(r,e,o),r;if(s==="parent"){let l=Hx(n,t,e.__useComponent);return l==null&&(l=r),l}const i=n;let a=i.__getInstance(t);if(a==null){const l=Kt({},e);"__i18n"in o&&(l.__i18n=o.__i18n),r&&(l.__root=r),a=Yg(l),i.__composerExtend&&(a[Lu]=i.__composerExtend(a)),jx(i,t,a),i.__setInstance(t,a)}return a}function Nx(e,t,n){const r=ud();{const o=r.run(()=>Yg(e));if(o==null)throw Bn(On.UNEXPECTED_ERROR);return[r,o]}}function Mx(e){{const t=jn(e.isCE?Dx:e.appContext.app.__VUE_I18N_SYMBOL__);if(!t)throw Bn(e.isCE?On.NOT_INSTALLED_WITH_PROVIDE:On.UNEXPECTED_ERROR);return t}}function Fx(e,t){return Yl(e)?"__i18n"in t?"local":"global":e.useScope?e.useScope:"local"}function Vx(e){return e.mode==="composition"?e.global:e.global.__composer}function Hx(e,t,n=!1){let r=null;const o=t.root;let s=Ux(t,n);for(;s!=null;){const i=e;if(e.mode==="composition"&&(r=i.__getInstance(s)),r!=null||o===s)break;s=s.parent}return r}function Ux(e,t=!1){return e==null?null:t&&e.vnode.ctx||e.parent}function jx(e,t,n){ps(()=>{},t),Ci(()=>{const r=n;e.__deleteInstance(t);const o=r[Lu];o&&(o(),delete r[Lu])},t)}const qx=["locale","fallbackLocale","availableLocales"],Yf=["t","rt","d","n","tm","te"];function Bx(e,t){const n=Object.create(null);return qx.forEach(o=>{const s=Object.getOwnPropertyDescriptor(t,o);if(!s)throw Bn(On.UNEXPECTED_ERROR);const i=Ft(s.value)?{get(){return s.value.value},set(a){s.value.value=a}}:{get(){return s.get&&s.get()}};Object.defineProperty(n,o,i)}),e.config.globalProperties.$i18n=n,Yf.forEach(o=>{const s=Object.getOwnPropertyDescriptor(t,o);if(!s||!s.value)throw Bn(On.UNEXPECTED_ERROR);Object.defineProperty(e.config.globalProperties,`$${o}`,s)}),()=>{delete e.config.globalProperties.$i18n,Yf.forEach(o=>{delete e.config.globalProperties[`$${o}`]})}}zx();nx(Lk);rx(Lg);if(__INTLIFY_PROD_DEVTOOLS__){const e=jd();e.__INTLIFY__=!0,Bk(e.__INTLIFY_DEVTOOLS_GLOBAL_HOOK__)}const Ac=e=>e&&typeof e=="object"&&!Array.isArray(e),Nu=(e,...t)=>{if(!t.length)return e;const n=t.shift();if(Ac(e)&&Ac(n))for(const r in n)Ac(n[r])?(e[r]||Object.assign(e,{[r]:{}}),Nu(e[r],n[r])):Object.assign(e,{[r]:n[r]});return Nu(e,...t)},Wx=Nu({},{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"])},"update-library":e=>{const{normalize:t}=e;return t(["Bibliothek neu einlesen"])}},page:{about:{albums:e=>{const{normalize:t}=e;return t(["Albums"])},artists:e=>{const{normalize:t}=e;return t(["Künstler"])},"built-with":e=>{const{normalize:t,interpolate:n,named:r}=e;return t(["Oberfläche erstellt mit ",n(r("bulma")),", ",n(r("mdi")),", ",n(r("vuejs")),", ",n(r("axios"))," und ",n(r("others")),"."])},"compiled-with":e=>{const{normalize:t,interpolate:n,named:r}=e;return t(["Compiliert mit Unterstützung von ",n(r("options")),"."])},library:e=>{const{normalize:t}=e;return t(["Bibliothek"])},more:e=>{const{normalize:t}=e;return t(["mehr"])},"total-playtime":e=>{const{normalize:t}=e;return t(["Gesamte Spielzeit"])},tracks:e=>{const{normalize:t}=e;return t(["Tracks"])},update:e=>{const{normalize:t}=e;return t(["Neu einlesen"])},"updated-on":e=>{const{normalize:t,interpolate:n,named:r}=e;return t(["vor ",n(r("time"))])},updated:e=>{const{normalize:t}=e;return t(["Neu eingelesen"])},uptime:e=>{const{normalize:t}=e;return t(["Laufzeit"])},version:e=>{const{normalize:t,interpolate:n,named:r}=e;return t(["Version ",n(r("version"))])}},album:{shuffle:e=>{const{normalize:t}=e;return t(["Zufallswiedergabe"])},"track-count":e=>{const{normalize:t,interpolate:n,named:r,plural:o}=e;return o([t([n(r("count"))," Track"]),t([n(r("count"))," Track"]),t([n(r("count"))," Tracks"])])}},albums:{count:e=>{const{normalize:t,interpolate:n,named:r,plural:o}=e;return o([t([n(r("count"))," Album"]),t([n(r("count"))," Album"]),t([n(r("count"))," Alben"])])},filter:e=>{const{normalize:t}=e;return t(["Filter"])},"hide-singles-help":e=>{const{normalize:t}=e;return t(["Nach Aktivierung werden keine Singles und Alben angezeigt, die nur in Playlisten enthalten sind."])},"hide-singles":e=>{const{normalize:t}=e;return t(["Nach Aktivierung werden keine Singles angezeigt"])},"hide-spotify-help":e=>{const{normalize:t}=e;return t(["Nach Aktivierung werden keine Alben angezeigt, die nur in der Spotify-Bibliothek enthalten sind."])},"hide-spotify":e=>{const{normalize:t}=e;return t(["Verbirgt Spotify-Alben"])},title:e=>{const{normalize:t}=e;return t(["Alben"])},sort:{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:o}=e;return o([t([n(r("count"))," Album"]),t([n(r("count"))," Album"]),t([n(r("count"))," Alben"])])},filter:e=>{const{normalize:t}=e;return t(["Filter"])},"hide-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:o}=e;return o([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:o}=e;return o([t([n(r("count"))," Track"]),t([n(r("count"))," Track"]),t([n(r("count"))," Tracks"])])}},albums:{count:e=>{const{normalize:t,interpolate:n,named:r,plural:o}=e;return o([t([n(r("count"))," Hörbuch"]),t([n(r("count"))," Hörbuch"]),t([n(r("count"))," Hörbücher"])])},title:e=>{const{normalize:t}=e;return t(["Hörbücher"])}},artist:{"album-count":e=>{const{normalize:t,interpolate:n,named:r,plural:o}=e;return o([t([n(r("count"))," Album"]),t([n(r("count"))," Album"]),t([n(r("count"))," Alben"])])},play:e=>{const{normalize:t}=e;return t(["Spielen"])}},artists:{count:e=>{const{normalize:t,interpolate:n,named:r,plural:o}=e;return o([t([n(r("count"))," Autor"]),t([n(r("count"))," Autor"]),t([n(r("count"))," Autoren"])])},title:e=>{const{normalize:t}=e;return t(["Autoren"])}},tabs:{authors:e=>{const{normalize:t}=e;return t(["Autoren"])},audiobooks:e=>{const{normalize:t}=e;return t(["Hörbücher"])},genres:e=>{const{normalize:t}=e;return t(["Genres"])}}},composer:{"album-count":e=>{const{normalize:t,interpolate:n,named:r,plural:o}=e;return o([t([n(r("count"))," Album"]),t([n(r("count"))," Album"]),t([n(r("count"))," Alben"])])},shuffle:e=>{const{normalize:t}=e;return t(["Zufallswiedergabe"])},"track-count":e=>{const{normalize:t,interpolate:n,named:r,plural:o}=e;return o([t([n(r("count"))," Track"]),t([n(r("count"))," Track"]),t([n(r("count"))," Tracks"])])},sort:{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:o}=e;return o([t([n(r("count"))," Komponist"]),t([n(r("count"))," Komponist"]),t([n(r("count"))," Komponisten"])])},title:e=>{const{normalize:t}=e;return t(["Komponisten"])}},files:{play:e=>{const{normalize:t}=e;return t(["Spielen"])},title:e=>{const{normalize:t}=e;return t(["Dateien"])}},genre:{"album-count":e=>{const{normalize:t,interpolate:n,named:r,plural:o}=e;return o([t([n(r("count"))," Album"]),t([n(r("count"))," Album"]),t([n(r("count"))," Alben"])])},shuffle:e=>{const{normalize:t}=e;return t(["Zufallswiedergabe"])},"track-count":e=>{const{normalize:t,interpolate:n,named:r,plural:o}=e;return o([t([n(r("count"))," Track"]),t([n(r("count"))," Track"]),t([n(r("count"))," Tracks"])])},sort:{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:o}=e;return o([t([n(r("count"))," Genre"]),t([n(r("count"))," Genre"]),t([n(r("count"))," Genres"])])},title:e=>{const{normalize:t}=e;return t(["Genres"])}},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:o}=e;return o([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:o}=e;return o([t([n(r("count"))," Playlist"]),t([n(r("count"))," Playlisten"])])}},podcast:{play:e=>{const{normalize:t}=e;return t(["Spielen"])},remove:e=>{const{normalize:t}=e;return t(["Entfernen"])},"remove-info-1":e=>{const{normalize:t}=e;return t(["Diesen Podcast wirklich dauerhaft aus der Bibliothek löschen?"])},"remove-info-2":e=>{const{normalize:t}=e;return t(["Damit wird auch die RSS-Playliste gelöscht. "])},"remove-podcast":e=>{const{normalize:t}=e;return t(["Entferne podcast"])},"track-count":e=>{const{normalize:t,interpolate:n,named:r,plural:o}=e;return o([t([n(r("count"))," Track"]),t([n(r("count"))," Tracks"])])}},podcasts:{add:e=>{const{normalize:t}=e;return t(["Hinzufügen"])},count:e=>{const{normalize:t,interpolate:n,named:r,plural:o}=e;return o([t([n(r("count"))," Podcast"]),t([n(r("count"))," Podcasts"])])},"mark-all-played":e=>{const{normalize:t}=e;return t(["Alle abgespielten markieren"])},"new-episodes":e=>{const{normalize:t}=e;return t(["Neue Episoden"])},title:e=>{const{normalize:t}=e;return t(["Podcasts"])},update:e=>{const{normalize:t}=e;return t(["Neu einlesen"])}},queue:{"add-stream":e=>{const{normalize:t}=e;return t(["Stream hinzufügen"])},clear:e=>{const{normalize:t}=e;return t(["Alle entfernen"])},count:e=>{const{normalize:t,interpolate:n,named:r,plural:o}=e;return o([t([n(r("count"))," Track"]),t([n(r("count"))," Track"]),t([n(r("count"))," Tracks"])])},edit:e=>{const{normalize:t}=e;return t(["Bearbeiten"])},"hide-previous":e=>{const{normalize:t}=e;return t(["Vorherige verbergen"])},title:e=>{const{normalize:t}=e;return t(["Warteschlange"])},save:e=>{const{normalize:t}=e;return t(["Speichern"])}},radio:{count:e=>{const{normalize:t,interpolate:n,named:r,plural:o}=e;return o([t([n(r("count"))," Station"]),t([n(r("count"))," Station"]),t([n(r("count"))," Stationen"])])},title:e=>{const{normalize:t}=e;return t(["Radio"])}},search:{albums:e=>{const{normalize:t}=e;return t(["Alben"])},artists:e=>{const{normalize:t}=e;return t(["Künstler"])},audiobooks:e=>{const{normalize:t}=e;return t(["Hörbücher"])},composers:e=>{const{normalize:t}=e;return t(["Komponisten"])},expression:e=>{const{normalize:t}=e;return t(["Ausdrücken"])},help:e=>{const{normalize:t,interpolate:n,named:r}=e;return t(["Tip: Du kannst mit einer Smart-Playlist-Abfrage-Sprache nach ",n(r("help"))," suchen wenn Du dem Ausdruck ein ",n(r("query"))," voranstellst."])},"no-albums":e=>{const{normalize:t}=e;return t(["Keine Alben gefunden"])},"no-artists":e=>{const{normalize:t}=e;return t(["Keine Künstler gefunden"])},"no-audiobooks":e=>{const{normalize:t}=e;return t(["Keine Hörbücher gefunden"])},"no-composers":e=>{const{normalize:t}=e;return t(["Keine Komponisten gefunden"])},"no-playlists":e=>{const{normalize:t}=e;return t(["Keine Playlisten gefunden"])},"no-podcasts":e=>{const{normalize:t}=e;return t(["Keine Podcasts gefunden"])},"no-tracks":e=>{const{normalize:t}=e;return t(["Keine Tracks gefunden"])},placeholder:e=>{const{normalize:t}=e;return t(["Suche"])},playlists:e=>{const{normalize:t}=e;return t(["Playlisten"])},podcasts:e=>{const{normalize:t}=e;return t(["Podcasts"])},"show-albums":e=>{const{normalize:t,interpolate:n,named:r,plural:o}=e;return o([t(["Zeige das Album"]),t(["Zeige alle ",n(r("count"))," Alben"])])},"show-artists":e=>{const{normalize:t,interpolate:n,named:r,plural:o}=e;return o([t(["Zeige den Künstler"]),t(["Zeige alle ",n(r("count"))," Künstler"])])},"show-audiobooks":e=>{const{normalize:t,interpolate:n,named:r,plural:o}=e;return o([t(["Zeige das Buch"]),t(["Zeige alle ",n(r("count"))," Hörbücher"])])},"show-composers":e=>{const{normalize:t,interpolate:n,named:r,plural:o}=e;return o([t(["Zeige den Komponist"]),t(["Zeige alle ",n(r("count"))," Komponisten"])])},"show-playlists":e=>{const{normalize:t,interpolate:n,named:r,plural:o}=e;return o([t(["Zeige die Playlist"]),t(["Zeige alle ",n(r("count"))," Playlisten"])])},"show-podcasts":e=>{const{normalize:t,interpolate:n,named:r,plural:o}=e;return o([t(["Zeige den Podcast"]),t(["Zeige alle ",n(r("count"))," Podcasts"])])},"show-tracks":e=>{const{normalize:t,interpolate:n,named:r,plural:o}=e;return o([t(["Zeige den Track"]),t(["Zeige alle ",n(r("count"))," Tracks"])])},tracks:e=>{const{normalize:t}=e;return t(["Tracks"])},tabs:{library:e=>{const{normalize:t}=e;return t(["Bibliothek"])},spotify:e=>{const{normalize:t}=e;return t(["Spotify"])}}},settings:{artwork:{artwork:e=>{const{normalize:t}=e;return t(["Artwork"])},coverartarchive:e=>{const{normalize:t}=e;return t(["Cover Art Archive"])},discogs:e=>{const{normalize:t}=e;return t(["Discogs"])},"explanation-1":e=>{const{normalize:t}=e;return t(["OwnTone verarbeitet PNG- und JPEG-Artwork, welches in einer eigenen Datei in der Bibliothek, in die Dateien eingebettet oder online von Radiostationen bereitgestellt werden kann."])},"explanation-2":e=>{const{normalize:t}=e;return t(["Zusätzlich kann auf folgende Artwork-Anbieter zugegriffen werden:"])},spotify:e=>{const{normalize:t}=e;return t(["Spotify"])}},devices:{"no-active-pairing":e=>{const{normalize:t}=e;return t(["Keine aktive Pairing-Anfrage"])},"pairing-code":e=>{const{normalize:t}=e;return t(["Pairing-Code"])},"pairing-request":e=>{const{normalize:t}=e;return t(["Remote-Pairing-Anfrage von "])},pairing:e=>{const{normalize:t}=e;return t(["Pairing Remote"])},send:e=>{const{normalize:t}=e;return t(["Senden"])},"speaker-pairing-info":e=>{const{normalize:t}=e;return t(["Wenn der Laufsprecher PIN-basiertes Pairing verlangt, aktiviere ihn hier und gib dann den hier PIN an, der am Lautsprecher angezeigt wird."])},"speaker-pairing":e=>{const{normalize:t}=e;return t(["Lautsprecher-Pairing und Geräteverifikation"])},"verification-code":e=>{const{normalize:t}=e;return t(["Verifikationscode"])},verify:e=>{const{normalize:t}=e;return t(["Verifizieren"])}},general:{"album-lists":e=>{const{normalize:t}=e;return t(["Album-Listen"])},audiobooks:e=>{const{normalize:t}=e;return t(["Hörbücher"])},files:e=>{const{normalize:t}=e;return t(["Dateien"])},genres:e=>{const{normalize:t}=e;return t(["Genres"])},language:e=>{const{normalize:t}=e;return t(["Sprache"])},music:e=>{const{normalize:t}=e;return t(["Musik"])},"navigation-item-selection-info":e=>{const{normalize:t}=e;return t(["Wenn mehr Dateien ausgewählt werden, als der Bildschirm anzeigen kann, verschwindet das Burger-Menü."])},"navigation-item-selection":e=>{const{normalize:t}=e;return t(["Wähle hier die Einträge des oberen Navigationsmenüs "])},"navigation-items":e=>{const{normalize:t}=e;return t(["Navigationsmenüs"])},"now-playing-page":e=>{const{normalize:t}=e;return t(["Aktuell läuft-Seite"])},playlists:e=>{const{normalize:t}=e;return t(["Playlisten"])},podcasts:e=>{const{normalize:t}=e;return t(["Podcasts"])},radio:e=>{const{normalize:t}=e;return t(["Radio"])},"recently-added-page-info":e=>{const{normalize:t}=e;return t(['Beschränkte die Zahl der Alben auf der "kürzlich hinzugefügt"-Seite'])},"recently-added-page":e=>{const{normalize:t}=e;return t(["Kürzlich hinzugefügt-Seite"])},search:e=>{const{normalize:t}=e;return t(["Suche"])},"show-composer-genres-info-1":e=>{const{normalize:t}=e;return t(['Komma-separierte Liste der Genres, wo der Komponist auf der "Aktuell läuft"-Seite angezeigt werden soll'])},"show-composer-genres-info-2":e=>{const{normalize:t}=e;return t(["Leer lassen, um ihn immer anzuzeigen."])},"show-composer-genres-info-3":e=>{const{normalize:t}=e;return t(['Der Genre-Tag des aktuellen Tracks wird abgeglichen als Teil-String des Genre-Tags. Z.B. "classical, soundtrack" wird den Komponisten beim Genre-Tag "Contemporary Classical" anzeigen'])},"show-composer-genres":e=>{const{normalize:t}=e;return t(["Zeige den Komponisten für die aufgelisteten Genres an"])},"show-composer-info":e=>{const{normalize:t}=e;return t(['Wenn aktiviert, wird der Komponist auf der "Aktuell läuft"-Seite angezeigt.'])},"show-composer":e=>{const{normalize:t}=e;return t(["Komponisten anzeigen"])},"show-coverart":e=>{const{normalize:t}=e;return t(["Zeige Cover-Artwork in der Albumliste"])},"show-path":e=>{const{normalize:t}=e;return t(['Dateipfad auf der "Aktuell läuft"-Seite anzeigen'])}},services:{lastfm:{"grant-access":e=>{const{normalize:t}=e;return t(["Melde Dich mit Deinem Last.fm-Benutzernamen und Passwort an, um Scrobbeln zu aktivieren"])},info:e=>{const{normalize:t}=e;return t(["OwnTone wird den Benutzernamen und das Passwort von last.fm nicht speichern, nur den Sitzungs-Schlüssel. Dieser läuft nicht ab."])},title:e=>{const{normalize:t}=e;return t(["Last.fm"])},"no-support":e=>{const{normalize:t}=e;return t(["OwnTone wurde ohne Unterstützung für Last.fm erstellt."])}},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"])},"grant-access":e=>{const{normalize:t}=e;return t(["Zugriff auf die Spotify Web-API gestatten"])},reauthorize:e=>{const{normalize:t}=e;return t(["Bitte den Zugriff der Web-API durch setzen folgender Zugriffsrechte für OwnTone: "])},title:e=>{const{normalize:t}=e;return t(["Spotify"])}},login:e=>{const{normalize:t}=e;return t(["Einloggen"])},logout:e=>{const{normalize:t}=e;return t(["Ausloggen"])},password:e=>{const{normalize:t}=e;return t(["Passwort"])},username:e=>{const{normalize:t}=e;return t(["Benutzername"])}},tabs:{artwork:e=>{const{normalize:t}=e;return t(["Artwork"])},general:e=>{const{normalize:t}=e;return t(["Allgemein"])},"online-services":e=>{const{normalize:t}=e;return t(["Online-Services"])},"remotes-and-outputs":e=>{const{normalize:t}=e;return t(["Fernbedienungen und Ausgänge"])}}},spotify:{album:{shuffle:e=>{const{normalize:t}=e;return t(["Zufallswiedergabe"])},"track-count":e=>{const{normalize:t,interpolate:n,named:r,plural:o}=e;return o([t([n(r("count"))," Track"]),t([n(r("count"))," Track"]),t([n(r("count"))," Tracks"])])}},artist:{"album-count":e=>{const{normalize:t,interpolate:n,named:r,plural:o}=e;return o([t([n(r("count"))," Album"]),t([n(r("count"))," Album"]),t([n(r("count"))," Alben"])])},shuffle:e=>{const{normalize:t}=e;return t(["Zufallswiedergabe"])}},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:o}=e;return o([t([n(r("count"))," Track"]),t([n(r("count"))," Track"]),t([n(r("count"))," Tracks"])])},shuffle:e=>{const{normalize:t}=e;return t(["Zufallswiedergabe"])}},search:{albums:e=>{const{normalize:t}=e;return t(["Alben"])},artists:e=>{const{normalize:t}=e;return t(["Künstler"])},"no-albums":e=>{const{normalize:t}=e;return t(["Keine Alben gefunden"])},"no-artists":e=>{const{normalize:t}=e;return t(["Keine Künstler gefunden"])},"no-playlists":e=>{const{normalize:t}=e;return t(["Keine Playlisten gefunden"])},"no-tracks":e=>{const{normalize:t}=e;return t(["Keine Tracks gefunden"])},placeholder:e=>{const{normalize:t}=e;return t(["Suche"])},playlists:e=>{const{normalize:t}=e;return t(["Playlisten"])},"show-all-albums":e=>{const{normalize:t,interpolate:n,named:r,plural:o}=e;return o([t(["Zeige das Album"]),t(["Zeige alle ",n(r("count"))," Alben"])])},"show-all-artists":e=>{const{normalize:t,interpolate:n,named:r,plural:o}=e;return o([t(["Zeige den Künstler"]),t(["Zeige alle ",n(r("count"))," Künstler"])])},"show-all-playlists":e=>{const{normalize:t,interpolate:n,named:r,plural:o}=e;return o([t(["Zeige die Playlist"]),t(["Zeige alle ",n(r("count"))," Playlisten"])])},"show-all-tracks":e=>{const{normalize:t,interpolate:n,named:r,plural:o}=e;return o([t(["Zeige den Track"]),t(["Zeige alle ",n(r("count"))," Tracks"])])},tracks:e=>{const{normalize:t}=e;return t(["Tracks"])}}}},playlist:{type:{plain:e=>{const{normalize:t}=e;return t(["Einfache"])},smart:e=>{const{normalize:t}=e;return t(["Intelligente"])}}},player:{button:{consume:e=>{const{normalize:t}=e;return t(["Verlauf löschen"])},pause:e=>{const{normalize:t}=e;return t(["Wiedergabe anhalten"])},play:e=>{const{normalize:t}=e;return t(["Wiedergeben"])},repeat:e=>{const{normalize:t}=e;return t(["Alle Tracks wiederholen"])},"repeat-off":e=>{const{normalize:t}=e;return t(["Tracks einmal lesen"])},"repeat-once":e=>{const{normalize:t}=e;return t(["Aktuellen Track wiederholen"])},"seek-backward":e=>{const{normalize:t}=e;return t(["Rückwärts im Track suchen"])},"seek-forward":e=>{const{normalize:t}=e;return t(["Vorwärts im Track suchen"])},shuffle:e=>{const{normalize:t}=e;return t(["Tracks zufällig wiedergeben"])},"shuffle-disabled":e=>{const{normalize:t}=e;return t(["Tracks in Reihenfolge wiedergeben"])},"skip-backward":e=>{const{normalize:t}=e;return t(["Zum vorherigen Track springen"])},"skip-forward":e=>{const{normalize:t}=e;return t(["Zum nächsten Track springen"])},stop:e=>{const{normalize:t}=e;return t(["Wiedergabe stoppen"])},"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:o}=e;return o([t([n(r("count"))," Track an die Abspielliste angehängt"]),t([n(r("count"))," Tracks an die Abspielliste angehängt"])])},"empty-queue":e=>{const{normalize:t}=e;return t(["Warteschlange ist leer"])}},"group-by-list":{today:e=>{const{normalize:t}=e;return t(["Heute"])},"last-week":e=>{const{normalize:t}=e;return t(["Letzte Woche"])},"last-month":e=>{const{normalize:t}=e;return t(["Letzer Monat"])}},filter:{mono:e=>{const{normalize:t}=e;return t(["Mono"])},stereo:e=>{const{normalize:t}=e;return t(["Stereo"])},channels:e=>{const{normalize:t,interpolate:n,named:r,plural:o}=e;return o([t([n(r("count"))," Kanal"]),t([n(r("count"))," Kanäle"])])}}}},{en:{data:{kind:{file:e=>{const{normalize:t}=e;return t(["File"])},url:e=>{const{normalize:t}=e;return t(["URL"])},spotify:e=>{const{normalize:t}=e;return t(["Spotify"])},pipe:e=>{const{normalize:t}=e;return t(["Stream"])}}},dialog:{cancel:e=>{const{normalize:t}=e;return t(["Cancel"])},add:{rss:{add:e=>{const{normalize:t}=e;return t(["Add"])},cancel:e=>{const{normalize:t}=e;return t(["Cancel"])},help:e=>{const{normalize:t}=e;return t(["Adding a podcast includes creating an RSS playlist, that will allow OwnTone to manage the podcast subscription."])},placeholder:e=>{const{normalize:t}=e;return t(["https://url-to-rss"])},processing:e=>{const{normalize:t}=e;return t(["Processing…"])},title:e=>{const{normalize:t}=e;return t(["Add podcast"])}},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"])},"update-library":e=>{const{normalize:t}=e;return t(["Update Library"])}},page:{about:{albums:e=>{const{normalize:t}=e;return t(["Albums"])},artists:e=>{const{normalize:t}=e;return t(["Artists"])},"built-with":e=>{const{normalize:t,interpolate:n,named:r}=e;return t(["Web interface built with ",n(r("bulma")),", ",n(r("mdi")),", ",n(r("vuejs")),", ",n(r("axios"))," and ",n(r("others")),"."])},"compiled-with":e=>{const{normalize:t,interpolate:n,named:r}=e;return t(["Compiled with support for ",n(r("options")),"."])},library:e=>{const{normalize:t}=e;return t(["Library"])},more:e=>{const{normalize:t}=e;return t(["more"])},"total-playtime":e=>{const{normalize:t}=e;return t(["Total playtime"])},tracks:e=>{const{normalize:t}=e;return t(["Tracks"])},update:e=>{const{normalize:t}=e;return t(["Update"])},"updated-on":e=>{const{normalize:t,interpolate:n,named:r}=e;return t([n(r("time"))," ago"])},updated:e=>{const{normalize:t}=e;return t(["Updated"])},uptime:e=>{const{normalize:t}=e;return t(["Uptime"])},version:e=>{const{normalize:t,interpolate:n,named:r}=e;return t(["Version ",n(r("version"))])}},album:{shuffle:e=>{const{normalize:t}=e;return t(["Shuffle"])},"track-count":e=>{const{normalize:t,interpolate:n,named:r,plural:o}=e;return o([t([n(r("count"))," track"]),t([n(r("count"))," track"]),t([n(r("count"))," tracks"])])}},albums:{count:e=>{const{normalize:t,interpolate:n,named:r,plural:o}=e;return o([t([n(r("count"))," album"]),t([n(r("count"))," album"]),t([n(r("count"))," albums"])])},filter:e=>{const{normalize:t}=e;return t(["Filter"])},"hide-singles-help":e=>{const{normalize:t}=e;return t(["If active, hides singles and albums with tracks that only appear in playlists."])},"hide-singles":e=>{const{normalize:t}=e;return t(["Hide singles"])},"hide-spotify-help":e=>{const{normalize:t}=e;return t(["If active, hides albums that only appear in your Spotify library."])},"hide-spotify":e=>{const{normalize:t}=e;return t(["Hide albums from Spotify"])},title:e=>{const{normalize:t}=e;return t(["Albums"])},sort:{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:o}=e;return o([t([n(r("count"))," album"]),t([n(r("count"))," album"]),t([n(r("count"))," albums"])])},filter:e=>{const{normalize:t}=e;return t(["Filter"])},"hide-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:o}=e;return o([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:o}=e;return o([t([n(r("count"))," artist"]),t([n(r("count"))," artist"]),t([n(r("count"))," artists"])])},filter:e=>{const{normalize:t}=e;return t(["Filter"])},sort:{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:o}=e;return o([t([n(r("count"))," track"]),t([n(r("count"))," track"]),t([n(r("count"))," tracks"])])}},albums:{count:e=>{const{normalize:t,interpolate:n,named:r,plural:o}=e;return o([t([n(r("count"))," audiobook"]),t([n(r("count"))," audiobook"]),t([n(r("count"))," audiobooks"])])},title:e=>{const{normalize:t}=e;return t(["Audiobooks"])}},artist:{"album-count":e=>{const{normalize:t,interpolate:n,named:r,plural:o}=e;return o([t([n(r("count"))," album"]),t([n(r("count"))," album"]),t([n(r("count"))," albums"])])},play:e=>{const{normalize:t}=e;return t(["Play"])}},artists:{count:e=>{const{normalize:t,interpolate:n,named:r,plural:o}=e;return o([t([n(r("count"))," author"]),t([n(r("count"))," author"]),t([n(r("count"))," authors"])])},title:e=>{const{normalize:t}=e;return t(["Authors"])}},tabs:{authors:e=>{const{normalize:t}=e;return t(["Authors"])},audiobooks:e=>{const{normalize:t}=e;return t(["Audiobooks"])},genres:e=>{const{normalize:t}=e;return t(["Genres"])}}},composer:{"album-count":e=>{const{normalize:t,interpolate:n,named:r,plural:o}=e;return o([t([n(r("count"))," album"]),t([n(r("count"))," album"]),t([n(r("count"))," albums"])])},shuffle:e=>{const{normalize:t}=e;return t(["Shuffle"])},"track-count":e=>{const{normalize:t,interpolate:n,named:r,plural:o}=e;return o([t([n(r("count"))," track"]),t([n(r("count"))," track"]),t([n(r("count"))," tracks"])])},sort:{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:o}=e;return o([t([n(r("count"))," composer"]),t([n(r("count"))," composer"]),t([n(r("count"))," composers"])])},title:e=>{const{normalize:t}=e;return t(["Composers"])}},files:{play:e=>{const{normalize:t}=e;return t(["Play"])},title:e=>{const{normalize:t}=e;return t(["Files"])}},genre:{"album-count":e=>{const{normalize:t,interpolate:n,named:r,plural:o}=e;return o([t([n(r("count"))," album"]),t([n(r("count"))," album"]),t([n(r("count"))," albums"])])},shuffle:e=>{const{normalize:t}=e;return t(["Shuffle"])},"track-count":e=>{const{normalize:t,interpolate:n,named:r,plural:o}=e;return o([t([n(r("count"))," track"]),t([n(r("count"))," track"]),t([n(r("count"))," tracks"])])},sort:{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:o}=e;return o([t([n(r("count"))," genre"]),t([n(r("count"))," genre"]),t([n(r("count"))," genres"])])},title:e=>{const{normalize:t}=e;return t(["Genres"])}},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:o}=e;return o([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:o}=e;return o([t([n(r("count"))," playlist"]),t([n(r("count"))," playlist"]),t([n(r("count"))," playlists"])])}},podcast:{play:e=>{const{normalize:t}=e;return t(["Play"])},remove:e=>{const{normalize:t}=e;return t(["Remove"])},"remove-info-1":e=>{const{normalize:t}=e;return t(["Permanently remove this podcast from your library?"])},"remove-info-2":e=>{const{normalize:t}=e;return t(["This will also remove the RSS playlist "])},"remove-podcast":e=>{const{normalize:t}=e;return t(["Remove podcast"])},"track-count":e=>{const{normalize:t,interpolate:n,named:r,plural:o}=e;return o([t([n(r("count"))," track"]),t([n(r("count"))," track"]),t([n(r("count"))," tracks"])])}},podcasts:{add:e=>{const{normalize:t}=e;return t(["Add"])},count:e=>{const{normalize:t,interpolate:n,named:r,plural:o}=e;return o([t([n(r("count"))," podcast"]),t([n(r("count"))," podcast"]),t([n(r("count"))," podcasts"])])},"mark-all-played":e=>{const{normalize:t}=e;return t(["Mark All Played"])},"new-episodes":e=>{const{normalize:t}=e;return t(["New Episodes"])},title:e=>{const{normalize:t}=e;return t(["Podcasts"])},update:e=>{const{normalize:t}=e;return t(["Update"])}},queue:{"add-stream":e=>{const{normalize:t}=e;return t(["Add stream"])},clear:e=>{const{normalize:t}=e;return t(["Clear"])},count:e=>{const{normalize:t,interpolate:n,named:r,plural:o}=e;return o([t([n(r("count"))," track"]),t([n(r("count"))," track"]),t([n(r("count"))," tracks"])])},edit:e=>{const{normalize:t}=e;return t(["Edit"])},"hide-previous":e=>{const{normalize:t}=e;return t(["Hide previous"])},title:e=>{const{normalize:t}=e;return t(["Queue"])},save:e=>{const{normalize:t}=e;return t(["Save"])}},radio:{count:e=>{const{normalize:t,interpolate:n,named:r,plural:o}=e;return o([t([n(r("count"))," station"]),t([n(r("count"))," station"]),t([n(r("count"))," stations"])])},title:e=>{const{normalize:t}=e;return t(["Radio"])}},search:{albums:e=>{const{normalize:t}=e;return t(["Albums"])},artists:e=>{const{normalize:t}=e;return t(["Artists"])},audiobooks:e=>{const{normalize:t}=e;return t(["Audiobooks"])},composers:e=>{const{normalize:t}=e;return t(["Composers"])},expression:e=>{const{normalize:t}=e;return t(["expression"])},help:e=>{const{normalize:t,interpolate:n,named:r}=e;return t(["Tip: you can search by a smart playlist query language ",n(r("help"))," if you prefix it with ",n(r("query")),"."])},"no-albums":e=>{const{normalize:t}=e;return t(["No albums found"])},"no-artists":e=>{const{normalize:t}=e;return t(["No artists found"])},"no-audiobooks":e=>{const{normalize:t}=e;return t(["No audiobooks found"])},"no-composers":e=>{const{normalize:t}=e;return t(["No composers found"])},"no-playlists":e=>{const{normalize:t}=e;return t(["No playlists found"])},"no-podcasts":e=>{const{normalize:t}=e;return t(["No podcasts found"])},"no-tracks":e=>{const{normalize:t}=e;return t(["No tracks found"])},placeholder:e=>{const{normalize:t}=e;return t(["Search"])},playlists:e=>{const{normalize:t}=e;return t(["Playlists"])},podcasts:e=>{const{normalize:t}=e;return t(["Podcasts"])},"show-albums":e=>{const{normalize:t,interpolate:n,named:r,plural:o}=e;return o([t(["Show the album"]),t(["Show all ",n(r("count"))," albums"])])},"show-artists":e=>{const{normalize:t,interpolate:n,named:r,plural:o}=e;return o([t(["Show the artist"]),t(["Show all ",n(r("count"))," artists"])])},"show-audiobooks":e=>{const{normalize:t,interpolate:n,named:r,plural:o}=e;return o([t(["Show the audiobook"]),t(["Show all ",n(r("count"))," audiobooks"])])},"show-composers":e=>{const{normalize:t,interpolate:n,named:r,plural:o}=e;return o([t(["Show the composer"]),t(["Show all ",n(r("count"))," composers"])])},"show-playlists":e=>{const{normalize:t,interpolate:n,named:r,plural:o}=e;return o([t(["Show the playlist"]),t(["Show all ",n(r("count"))," playlists"])])},"show-podcasts":e=>{const{normalize:t,interpolate:n,named:r,plural:o}=e;return o([t(["Show the podcast"]),t(["Show all ",n(r("count"))," podcasts"])])},"show-tracks":e=>{const{normalize:t,interpolate:n,named:r,plural:o}=e;return o([t(["Show the track"]),t(["Show all ",n(r("count"))," tracks"])])},tracks:e=>{const{normalize:t}=e;return t(["Tracks"])},tabs:{library:e=>{const{normalize:t}=e;return t(["Library"])},spotify:e=>{const{normalize:t}=e;return t(["Spotify"])}}},settings:{artwork:{artwork:e=>{const{normalize:t}=e;return t(["Artwork"])},coverartarchive:e=>{const{normalize:t}=e;return t(["Cover Art Archive"])},discogs:e=>{const{normalize:t}=e;return t(["Discogs"])},"explanation-1":e=>{const{normalize:t}=e;return t(["OwnTone supports PNG and JPEG artwork which is either placed as separate image files in the library, embedded in the media files or made available online by radio stations."])},"explanation-2":e=>{const{normalize:t}=e;return t(["In addition to that, you can enable fetching artwork from the following artwork providers:"])},spotify:e=>{const{normalize:t}=e;return t(["Spotify"])}},devices:{"no-active-pairing":e=>{const{normalize:t}=e;return t(["No active pairing request."])},"pairing-code":e=>{const{normalize:t}=e;return t(["Pairing code"])},"pairing-request":e=>{const{normalize:t}=e;return t(["Remote pairing request from "])},pairing:e=>{const{normalize:t}=e;return t(["Remote Pairing"])},send:e=>{const{normalize:t}=e;return t(["Send"])},"speaker-pairing-info":e=>{const{normalize:t}=e;return t(["If your speaker requires pairing then activate it below and enter the PIN that it displays."])},"speaker-pairing":e=>{const{normalize:t}=e;return t(["Speaker pairing and device verification"])},"verification-code":e=>{const{normalize:t}=e;return t(["Verification code"])},verify:e=>{const{normalize:t}=e;return t(["Verify"])}},general:{"album-lists":e=>{const{normalize:t}=e;return t(["Album Lists"])},audiobooks:e=>{const{normalize:t}=e;return t(["Audiobooks"])},files:e=>{const{normalize:t}=e;return t(["Files"])},genres:e=>{const{normalize:t}=e;return t(["Genres"])},language:e=>{const{normalize:t}=e;return t(["Language"])},music:e=>{const{normalize:t}=e;return t(["Music"])},"navigation-item-selection-info":e=>{const{normalize:t}=e;return t(["If you select more items than can be shown on your screen then the burger menu will disappear."])},"navigation-item-selection":e=>{const{normalize:t}=e;return t(["Select the top navigation bar menu items"])},"navigation-items":e=>{const{normalize:t}=e;return t(["Navigation Bar"])},"now-playing-page":e=>{const{normalize:t}=e;return t(["Now playing page"])},playlists:e=>{const{normalize:t}=e;return t(["Playlists"])},podcasts:e=>{const{normalize:t}=e;return t(["Podcasts"])},radio:e=>{const{normalize:t}=e;return t(["Radio"])},"recently-added-page-info":e=>{const{normalize:t}=e;return t(['Limit the number of albums shown on the "Recently Added" page'])},"recently-added-page":e=>{const{normalize:t}=e;return t(["Recently added page"])},search:e=>{const{normalize:t}=e;return t(["Search"])},"show-composer-genres-info-1":e=>{const{normalize:t}=e;return t(['Comma separated list of genres the composer should be displayed on the "Now playing page"'])},"show-composer-genres-info-2":e=>{const{normalize:t}=e;return t(["Leave empty to always show the composer."])},"show-composer-genres-info-3":e=>{const{normalize:t}=e;return t(['The genre tag of the current track is matched by checking, if one of the defined genres are included. For example setting to "classical, soundtrack" will show the composer for tracks with a genre tag of "Contemporary Classical"'])},"show-composer-genres":e=>{const{normalize:t}=e;return t(["Show composer only for listed genres"])},"show-composer-info":e=>{const{normalize:t}=e;return t(['If enabled the composer of the current playing track is shown on the "Now playing page"'])},"show-composer":e=>{const{normalize:t}=e;return t(["Show composer"])},"show-coverart":e=>{const{normalize:t}=e;return t(["Show cover artwork in album list"])},"show-path":e=>{const{normalize:t}=e;return t(['Show filepath on the "Now playing" page'])}},services:{lastfm:{"grant-access":e=>{const{normalize:t}=e;return t(["Login with your Last.fm username and password to enable scrobbling"])},info:e=>{const{normalize:t}=e;return t(["OwnTone will not store your Last.fm username/password, only the session key. The session key does not expire."])},title:e=>{const{normalize:t}=e;return t(["Last.fm"])},"no-support":e=>{const{normalize:t}=e;return t(["OwnTone was built without support for Last.fm."])}},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"])},"grant-access":e=>{const{normalize:t}=e;return t(["Grant access to the Spotify Web API"])},reauthorize:e=>{const{normalize:t}=e;return t(["Please reauthorize Web API access to grant OwnTone the following additional access rights: "])},title:e=>{const{normalize:t}=e;return t(["Spotify"])}},login:e=>{const{normalize:t}=e;return t(["Login"])},logout:e=>{const{normalize:t}=e;return t(["Logout"])},password:e=>{const{normalize:t}=e;return t(["Password"])},username:e=>{const{normalize:t}=e;return t(["Username"])}},tabs:{artwork:e=>{const{normalize:t}=e;return t(["Artwork"])},general:e=>{const{normalize:t}=e;return t(["General"])},"online-services":e=>{const{normalize:t}=e;return t(["Online Services"])},"remotes-and-outputs":e=>{const{normalize:t}=e;return t(["Remotes and Outputs"])}}},spotify:{album:{shuffle:e=>{const{normalize:t}=e;return t(["Shuffle"])},"track-count":e=>{const{normalize:t,interpolate:n,named:r,plural:o}=e;return o([t([n(r("count"))," track"]),t([n(r("count"))," track"]),t([n(r("count"))," tracks"])])}},artist:{"album-count":e=>{const{normalize:t,interpolate:n,named:r,plural:o}=e;return o([t([n(r("count"))," album"]),t([n(r("count"))," album"]),t([n(r("count"))," albums"])])},shuffle:e=>{const{normalize:t}=e;return t(["Shuffle"])}},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:o}=e;return o([t([n(r("count"))," track"]),t([n(r("count"))," track"]),t([n(r("count"))," tracks"])])},shuffle:e=>{const{normalize:t}=e;return t(["Shuffle"])}},search:{albums:e=>{const{normalize:t}=e;return t(["Albums"])},artists:e=>{const{normalize:t}=e;return t(["Artists"])},"no-albums":e=>{const{normalize:t}=e;return t(["No albums found"])},"no-artists":e=>{const{normalize:t}=e;return t(["No artists found"])},"no-playlists":e=>{const{normalize:t}=e;return t(["No playlists found"])},"no-tracks":e=>{const{normalize:t}=e;return t(["No tracks found"])},placeholder:e=>{const{normalize:t}=e;return t(["Search"])},playlists:e=>{const{normalize:t}=e;return t(["Playlists"])},"show-all-albums":e=>{const{normalize:t,interpolate:n,named:r,plural:o}=e;return o([t(["Show the album"]),t(["Show all ",n(r("count"))," albums"])])},"show-all-artists":e=>{const{normalize:t,interpolate:n,named:r,plural:o}=e;return o([t(["Show the artist"]),t(["Show all ",n(r("count"))," artists"])])},"show-all-playlists":e=>{const{normalize:t,interpolate:n,named:r,plural:o}=e;return o([t(["Show the playlist"]),t(["Show all ",n(r("count"))," playlists"])])},"show-all-tracks":e=>{const{normalize:t,interpolate:n,named:r,plural:o}=e;return o([t(["Show the track"]),t(["Show all ",n(r("count"))," tracks"])])},tracks:e=>{const{normalize:t}=e;return t(["Tracks"])}}}},playlist:{type:{plain:e=>{const{normalize:t}=e;return t(["Plain"])},smart:e=>{const{normalize:t}=e;return t(["Smart"])}}},player:{button:{consume:e=>{const{normalize:t}=e;return t(["Clear history"])},pause:e=>{const{normalize:t}=e;return t(["Pause"])},play:e=>{const{normalize:t}=e;return t(["Play"])},repeat:e=>{const{normalize:t}=e;return t(["Repeat all tracks"])},"repeat-off":e=>{const{normalize:t}=e;return t(["Read tracks once"])},"repeat-once":e=>{const{normalize:t}=e;return t(["Repeat current track"])},"seek-backward":e=>{const{normalize:t}=e;return t(["Seek backward in the track"])},"seek-forward":e=>{const{normalize:t}=e;return t(["Seek forward in the track"])},shuffle:e=>{const{normalize:t}=e;return t(["Play tracks randomly"])},"shuffle-disabled":e=>{const{normalize:t}=e;return t(["Play tracks in order"])},"skip-backward":e=>{const{normalize:t}=e;return t(["Skip to previous track"])},"skip-forward":e=>{const{normalize:t}=e;return t(["Skip to next track"])},stop:e=>{const{normalize:t}=e;return t(["Stop"])},"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:o}=e;return o([t([n(r("count"))," track appended to the queue"]),t([n(r("count"))," tracks appended to the queue"])])},"empty-queue":e=>{const{normalize:t}=e;return t(["Queue is empty"])}},"group-by-list":{today:e=>{const{normalize:t}=e;return t(["Today"])},"last-week":e=>{const{normalize:t}=e;return t(["Last week"])},"last-month":e=>{const{normalize:t}=e;return t(["Last month"])}},filter:{mono:e=>{const{normalize:t}=e;return t(["mono"])},stereo:e=>{const{normalize:t}=e;return t(["stereo"])},channels:e=>{const{normalize:t,interpolate:n,named:r,plural:o}=e;return o([t([n(r("count"))," channel"]),t([n(r("count"))," channels"])])}}}},{fr:{data:{kind:{file:e=>{const{normalize:t}=e;return t(["Fichier"])},url:e=>{const{normalize:t}=e;return t(["URL"])},spotify:e=>{const{normalize:t}=e;return t(["Spotify"])},pipe:e=>{const{normalize:t}=e;return t(["Flux"])}}},dialog:{cancel:e=>{const{normalize:t}=e;return t(["Annuler"])},add:{rss:{add:e=>{const{normalize:t}=e;return t(["Ajouter"])},cancel:e=>{const{normalize:t}=e;return t(["Annuler"])},help:e=>{const{normalize:t}=e;return t(["L’ajout d’un podcast inclut la création d’une liste de lecture RSS, qui permettra à OwnTone de gérer l’abonnement 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 l’album"])},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 d’attente dans une liste de lecture"])}}},"queue-item":{"album-artist":e=>{const{normalize:t}=e;return t(["Artiste de l’album"])},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 l’album"])},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 l’album"])},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 l’album"])},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 d’un 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"])},"update-library":e=>{const{normalize:t}=e;return t(["Actualiser la bibliothèque"])}},page:{about:{albums:e=>{const{normalize:t}=e;return t(["Albums"])},artists:e=>{const{normalize:t}=e;return t(["Artistes"])},"built-with":e=>{const{normalize:t,interpolate:n,named:r}=e;return t(["Interface utilisateur construite avec ",n(r("bulma")),", ",n(r("mdi")),", ",n(r("vuejs")),", ",n(r("axios"))," et ",n(r("others")),"."])},"compiled-with":e=>{const{normalize:t,interpolate:n,named:r}=e;return t(["Compilé avec les options ",n(r("options")),"."])},library:e=>{const{normalize:t}=e;return t(["Bibliothèque"])},more:e=>{const{normalize:t}=e;return t(["plus"])},"total-playtime":e=>{const{normalize:t}=e;return t(["Durée totale de lecture"])},tracks:e=>{const{normalize:t}=e;return t(["Pistes"])},update:e=>{const{normalize:t}=e;return t(["Actualiser"])},"updated-on":e=>{const{normalize:t,interpolate:n,named:r}=e;return t(["il y a ",n(r("time"))])},updated:e=>{const{normalize:t}=e;return t(["Mis à jour"])},uptime:e=>{const{normalize:t}=e;return t(["Temps de fonctionnement"])},version:e=>{const{normalize:t,interpolate:n,named:r}=e;return t(["Version ",n(r("version"))])}},album:{shuffle:e=>{const{normalize:t}=e;return t(["Lecture aléatoire"])},"track-count":e=>{const{normalize:t,interpolate:n,named:r,plural:o}=e;return o([t([n(r("count"))," piste"]),t([n(r("count"))," piste"]),t([n(r("count"))," pistes"])])}},albums:{count:e=>{const{normalize:t,interpolate:n,named:r,plural:o}=e;return o([t([n(r("count"))," album"]),t([n(r("count"))," album"]),t([n(r("count"))," albums"])])},filter:e=>{const{normalize:t}=e;return t(["Filtrer"])},"hide-singles-help":e=>{const{normalize:t}=e;return t(["Si actif, masque les singles et les albums dont les pistes n’apparaissent que dans les listes de lecture."])},"hide-singles":e=>{const{normalize:t}=e;return t(["Masquer les singles"])},"hide-spotify-help":e=>{const{normalize:t}=e;return t(["Si actif, masque les albums qui n’apparaissent 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:o}=e;return o([t([n(r("count"))," album"]),t([n(r("count"))," album"]),t([n(r("count"))," albums"])])},filter:e=>{const{normalize:t}=e;return t(["Filtrer"])},"hide-spotify-help":e=>{const{normalize:t}=e;return t(["Si actif, masque le contenu qui n’apparaî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:o}=e;return o([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:o}=e;return o([t([n(r("count"))," artiste"]),t([n(r("count"))," artiste"]),t([n(r("count"))," artistes"])])},filter:e=>{const{normalize:t}=e;return t(["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 n’apparaissent que dans des singles ou des listes de lecture."])},"hide-singles":e=>{const{normalize:t}=e;return t(["Masquer les singles"])},"hide-spotify-help":e=>{const{normalize:t}=e;return t(["Si actif, masque les artistes qui n’apparaissent que dans votre bibliothèque Spotify."])},"hide-spotify":e=>{const{normalize:t}=e;return t(["Masquer les artistes de Spotify"])},title:e=>{const{normalize:t}=e;return t(["Artistes"])}},audiobooks:{album:{play:e=>{const{normalize:t}=e;return t(["Lire"])},"track-count":e=>{const{normalize:t,interpolate:n,named:r,plural:o}=e;return o([t([n(r("count"))," piste"]),t([n(r("count"))," piste"]),t([n(r("count"))," pistes"])])}},albums:{count:e=>{const{normalize:t,interpolate:n,named:r,plural:o}=e;return o([t([n(r("count"))," livre audio"]),t([n(r("count"))," livre audio"]),t([n(r("count"))," livres audio"])])},title:e=>{const{normalize:t}=e;return t(["Livres audio"])}},artist:{"album-count":e=>{const{normalize:t,interpolate:n,named:r,plural:o}=e;return o([t([n(r("count"))," album"]),t([n(r("count"))," album"]),t([n(r("count"))," albums"])])},play:e=>{const{normalize:t}=e;return t(["Lire"])}},artists:{count:e=>{const{normalize:t,interpolate:n,named:r,plural:o}=e;return o([t([n(r("count"))," auteur"]),t([n(r("count"))," auteur"]),t([n(r("count"))," auteurs"])])},title:e=>{const{normalize:t}=e;return t(["Auteurs"])}},tabs:{authors:e=>{const{normalize:t}=e;return t(["Auteurs"])},audiobooks:e=>{const{normalize:t}=e;return t(["Livres audio"])},genres:e=>{const{normalize:t}=e;return t(["Genres"])}}},composer:{"album-count":e=>{const{normalize:t,interpolate:n,named:r,plural:o}=e;return o([t([n(r("count"))," album"]),t([n(r("count"))," album"]),t([n(r("count"))," albums"])])},shuffle:e=>{const{normalize:t}=e;return t(["Lecture aléatoire"])},"track-count":e=>{const{normalize:t,interpolate:n,named:r,plural:o}=e;return o([t([n(r("count"))," piste"]),t([n(r("count"))," piste"]),t([n(r("count"))," pistes"])])},sort:{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:o}=e;return o([t([n(r("count"))," compositeur"]),t([n(r("count"))," compositeur"]),t([n(r("count"))," compositeurs"])])},title:e=>{const{normalize:t}=e;return t(["Compositeurs"])}},files:{play:e=>{const{normalize:t}=e;return t(["Lire"])},title:e=>{const{normalize:t}=e;return t(["Fichiers"])}},genre:{"album-count":e=>{const{normalize:t,interpolate:n,named:r,plural:o}=e;return o([t([n(r("count"))," album"]),t([n(r("count"))," album"]),t([n(r("count"))," albums"])])},shuffle:e=>{const{normalize:t}=e;return t(["Lecture aléatoire"])},"track-count":e=>{const{normalize:t,interpolate:n,named:r,plural:o}=e;return o([t([n(r("count"))," piste"]),t([n(r("count"))," piste"]),t([n(r("count"))," pistes"])])},sort:{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:o}=e;return o([t([n(r("count"))," genre"]),t([n(r("count"))," genre"]),t([n(r("count"))," genres"])])},title:e=>{const{normalize:t}=e;return t(["Genres"])}},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 d’attente est vide"])}},playlist:{length:e=>{const{normalize:t,interpolate:n,named:r}=e;return t([n(r("length"))," pistes"])},shuffle:e=>{const{normalize:t}=e;return t(["Lecture aléatoire"])},"track-count":e=>{const{normalize:t,interpolate:n,named:r,plural:o}=e;return o([t([n(r("count"))," piste"]),t([n(r("count"))," piste"]),t([n(r("count"))," pistes"])])}},playlists:{title:e=>{const{normalize:t}=e;return t(["Listes de lecture"])},count:e=>{const{normalize:t,interpolate:n,named:r,plural:o}=e;return o([t([n(r("count"))," liste de lecture"]),t([n(r("count"))," liste de lecture"]),t([n(r("count"))," listes de lecture"])])}},podcast:{play:e=>{const{normalize:t}=e;return t(["Lire"])},remove:e=>{const{normalize:t}=e;return t(["Supprimer"])},"remove-info-1":e=>{const{normalize:t}=e;return t(["Supprimer ce podcast de manière permanente de la bibliothèque ?"])},"remove-info-2":e=>{const{normalize:t}=e;return t(["Cela supprimera également la liste de lecture RSS "])},"remove-podcast":e=>{const{normalize:t}=e;return t(["Supprimer le podcast"])},"track-count":e=>{const{normalize:t,interpolate:n,named:r,plural:o}=e;return o([t([n(r("count"))," piste"]),t([n(r("count"))," piste"]),t([n(r("count"))," pistes"])])}},podcasts:{add:e=>{const{normalize:t}=e;return t(["Ajouter"])},count:e=>{const{normalize:t,interpolate:n,named:r,plural:o}=e;return o([t([n(r("count"))," podcast"]),t([n(r("count"))," podcast"]),t([n(r("count"))," podcasts"])])},"mark-all-played":e=>{const{normalize:t}=e;return t(["Marquer comme lus"])},"new-episodes":e=>{const{normalize:t}=e;return t(["Nouveaux épisodes"])},title:e=>{const{normalize:t}=e;return t(["Podcasts"])},update:e=>{const{normalize:t}=e;return t(["Actualiser"])}},queue:{"add-stream":e=>{const{normalize:t}=e;return t(["Ajouter un flux"])},clear:e=>{const{normalize:t}=e;return t(["Effacer"])},count:e=>{const{normalize:t,interpolate:n,named:r,plural:o}=e;return o([t([n(r("count"))," piste"]),t([n(r("count"))," piste"]),t([n(r("count"))," pistes"])])},edit:e=>{const{normalize:t}=e;return t(["Éditer"])},"hide-previous":e=>{const{normalize:t}=e;return t(["Masquer l’historique"])},queue:e=>{const{normalize:t}=e;return t(["File d’attente"])},save:e=>{const{normalize:t}=e;return t(["Enregistrer"])}},radio:{count:e=>{const{normalize:t,interpolate:n,named:r,plural:o}=e;return o([t([n(r("count"))," station"]),t([n(r("count"))," station"]),t([n(r("count"))," stations"])])},title:e=>{const{normalize:t}=e;return t(["Radio"])}},search:{albums:e=>{const{normalize:t}=e;return t(["Albums"])},artists:e=>{const{normalize:t}=e;return t(["Artistes"])},audiobooks:e=>{const{normalize:t}=e;return t(["Livres audio"])},composers:e=>{const{normalize:t}=e;return t(["Compositeurs"])},expression:e=>{const{normalize:t}=e;return t(["expression"])},help:e=>{const{normalize:t,interpolate:n,named:r}=e;return t(["Astuce : vous pouvez effectuer une recherche avec une ",n(r("help"))," du langage de requête de liste de lecture intelligente en préfixant votre requête avec ",n(r("query"))])},"no-albums":e=>{const{normalize:t}=e;return t(["Aucun album trouvé"])},"no-artists":e=>{const{normalize:t}=e;return t(["Aucun artiste trouvé"])},"no-audiobooks":e=>{const{normalize:t}=e;return t(["Aucun livre audio trouvé"])},"no-composers":e=>{const{normalize:t}=e;return t(["Aucun compositeur trouvé"])},"no-playlists":e=>{const{normalize:t}=e;return t(["Aucune liste de lecture trouvée"])},"no-podcasts":e=>{const{normalize:t}=e;return t(["Aucune podcast trouvé"])},"no-tracks":e=>{const{normalize:t}=e;return t(["Aucune piste trouvée"])},placeholder:e=>{const{normalize:t}=e;return t(["Recherche"])},playlists:e=>{const{normalize:t}=e;return t(["Listes de lecture"])},podcasts:e=>{const{normalize:t}=e;return t(["Podcasts"])},"show-albums":e=>{const{normalize:t,interpolate:n,named:r,plural:o}=e;return o([t(["Afficher l’album"]),t(["Afficher les ",n(r("count"))," albums"])])},"show-artists":e=>{const{normalize:t,interpolate:n,named:r,plural:o}=e;return o([t(["Afficher l’artiste"]),t(["Afficher les ",n(r("count"))," artistes"])])},"show-audiobooks":e=>{const{normalize:t,interpolate:n,named:r,plural:o}=e;return o([t(["Afficher le livre audio"]),t(["Afficher les ",n(r("count"))," livres audio"])])},"show-composers":e=>{const{normalize:t,interpolate:n,named:r,plural:o}=e;return o([t(["Afficher le compositeur"]),t(["Afficher les ",n(r("count"))," compositeurs"])])},"show-playlists":e=>{const{normalize:t,interpolate:n,named:r,plural:o}=e;return o([t(["Afficher la liste de lecture"]),t(["Afficher les ",n(r("count"))," listes de lecture"])])},"show-podcasts":e=>{const{normalize:t,interpolate:n,named:r,plural:o}=e;return o([t(["Afficher le podcast"]),t(["Afficher les ",n(r("count"))," podcasts"])])},"show-tracks":e=>{const{normalize:t,interpolate:n,named:r,plural:o}=e;return o([t(["Afficher la piste"]),t(["Afficher les ",n(r("n"))," pistes"])])},tracks:e=>{const{normalize:t}=e;return t(["Pistes"])},tabs:{library:e=>{const{normalize:t}=e;return t(["Bibliothèque"])},spotify:e=>{const{normalize:t}=e;return t(["Spotify"])}}},settings:{artwork:{artwork:e=>{const{normalize:t}=e;return t(["Illustrations"])},coverartarchive:e=>{const{normalize:t}=e;return t(["Cover Art Archive"])},discogs:e=>{const{normalize:t}=e;return t(["Discogs"])},"explanation-1":e=>{const{normalize:t}=e;return t(["Prend en charge les illustrations au format PNG et JPEG qui sont soit placées dans la bibliothèque en tant que fichiers image séparés, soit intégrées dans les fichiers média, soit mises à disposition en ligne par les stations de radio."])},"explanation-2":e=>{const{normalize:t}=e;return t(["En outre, vous pouvez activer la récupération des illustrations à partir des fournisseurs d’illustrations 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 qu’elle affiche."])},"speaker-pairing":e=>{const{normalize:t}=e;return t(["Jumelage d’enceinte et vérification d’appareil"])},"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 d’albums"])},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 d’albums 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 l’un 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 d’albums"])},"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 d’utilisateur et votre mot de passe Last.fm pour activer le scrobbling."])},info:e=>{const{normalize:t}=e;return t(["Le nom d’utilisateur et le mot de passe Last.fm ne sont pas enregistrés, uniquement la clé de session. La clé de session n’expire pas."])},title:e=>{const{normalize:t}=e;return t(["Last.fm"])},"no-support":e=>{const{normalize:t}=e;return t(["L’option Last.fm n’est pas présente."])}},spotify:{"no-support":e=>{const{normalize:t}=e;return t(["L’option Spotify n’est 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(["L’accès à l’API de Spotify permet l’analyse de votre bibliothèque Spotify. Les champs d’application 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 l’accès à l’API"])},"grant-access":e=>{const{normalize:t}=e;return t(["Accordez l’accès à l’API de Spotify"])},reauthorize:e=>{const{normalize:t}=e;return t(["Veuillez autoriser à nouveau l’accès à l’API pour accorder à OwnTone les droits d’accè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 d’utilisateur"])}},tabs:{artwork:e=>{const{normalize:t}=e;return t(["Illustrations"])},general:e=>{const{normalize:t}=e;return t(["Général"])},"online-services":e=>{const{normalize:t}=e;return t(["Services en ligne"])},"remotes-and-outputs":e=>{const{normalize:t}=e;return t(["Télécommandes et sorties"])}}},spotify:{album:{shuffle:e=>{const{normalize:t}=e;return t(["Lecture aléatoire"])},"track-count":e=>{const{normalize:t,interpolate:n,named:r,plural:o}=e;return o([t([n(r("count"))," piste"]),t([n(r("count"))," piste"]),t([n(r("count"))," pistes"])])}},artist:{"album-count":e=>{const{normalize:t,interpolate:n,named:r,plural:o}=e;return o([t([n(r("count"))," album"]),t([n(r("count"))," album"]),t([n(r("count"))," albums"])])},shuffle:e=>{const{normalize:t}=e;return t(["Lecture aléatoire"])}},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:o}=e;return o([t([n(r("count"))," piste"]),t([n(r("count"))," piste"]),t([n(r("count"))," pistes"])])},shuffle:e=>{const{normalize:t}=e;return t(["Lecture aléatoire"])}},search:{albums:e=>{const{normalize:t}=e;return t(["Albums"])},artists:e=>{const{normalize:t}=e;return t(["Artistes"])},"no-albums":e=>{const{normalize:t}=e;return t(["Aucun album trouvé"])},"no-artists":e=>{const{normalize:t}=e;return t(["Aucun artiste trouvé"])},"no-playlists":e=>{const{normalize:t}=e;return t(["Aucune liste de lecture trouvée"])},"no-tracks":e=>{const{normalize:t}=e;return t(["Aucune piste trouvée"])},placeholder:e=>{const{normalize:t}=e;return t(["Recherche"])},playlists:e=>{const{normalize:t}=e;return t(["Listes de lecture"])},"show-all-albums":e=>{const{normalize:t,interpolate:n,named:r,plural:o}=e;return o([t(["Afficher l’album"]),t(["Afficher les ",n(r("count"))," albums"])])},"show-all-artists":e=>{const{normalize:t,interpolate:n,named:r,plural:o}=e;return o([t(["Afficher l’artistes"]),t(["Afficher les ",n(r("count"))," artistes"])])},"show-all-playlists":e=>{const{normalize:t,interpolate:n,named:r,plural:o}=e;return o([t(["Afficher la liste de lecture"]),t(["Afficher les ",n(r("count"))," listes de lecture"])])},"show-all-tracks":e=>{const{normalize:t,interpolate:n,named:r,plural:o}=e;return o([t(["Afficher la piste"]),t(["Afficher les ",n(r("count"))," pistes"])])},tracks:e=>{const{normalize:t}=e;return t(["Pistes"])}}}},playlist:{type:{plain:e=>{const{normalize:t}=e;return t(["Simple"])},smart:e=>{const{normalize:t}=e;return t(["Intelligente"])}}},player:{button:{consume:e=>{const{normalize:t}=e;return t(["Effacer l’historique"])},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 l’ordre"])},"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 à l’enregistrement 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 d’attente enregistrée dans la liste de lecture ",n(r("name"))])},"appended-tracks":e=>{const{normalize:t,interpolate:n,named:r,plural:o}=e;return o([t([n(r("count"))," piste ajoutée à la file d’attente"]),t([n(r("count"))," pistes ajoutées à la file d’attente"])])},"empty-queue":e=>{const{normalize:t}=e;return t(["La file d’attente est vide"])}},"group-by-list":{today:e=>{const{normalize:t}=e;return t(["Aujourd’hui"])},"last-week":e=>{const{normalize:t}=e;return t(["La semaine dernière"])},"last-month":e=>{const{normalize:t}=e;return t(["Le mois dernier"])}},filter:{mono:e=>{const{normalize:t}=e;return t(["mono"])},stereo:e=>{const{normalize:t}=e;return t(["stéréo"])},channels:e=>{const{normalize:t,interpolate:n,named:r,plural:o}=e;return o([t([n(r("count"))," canal"]),t([n(r("count"))," canaux"])])}}}},{zh:{data:{kind:{file:e=>{const{normalize:t}=e;return t(["文件"])},url:e=>{const{normalize:t}=e;return t(["链接"])},spotify:e=>{const{normalize:t}=e;return t(["Spotify"])},pipe:e=>{const{normalize:t}=e;return t(["流"])}}},dialog:{cancel:e=>{const{normalize:t}=e;return t(["取消"])},add:{rss:{add:e=>{const{normalize:t}=e;return t(["添加"])},cancel:e=>{const{normalize:t}=e;return t(["取消"])},help:e=>{const{normalize:t}=e;return t(["添加一个可生成播放列表的播客RSS链接,这将允许OwnTone管理订阅"])},placeholder:e=>{const{normalize:t}=e;return t(["https://url-to-rss"])},processing:e=>{const{normalize:t}=e;return t(["处理中…"])},title:e=>{const{normalize:t}=e;return t(["添加播客"])}},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"])},"update-library":e=>{const{normalize:t}=e;return t(["更新资料库"])}},page:{about:{albums:e=>{const{normalize:t}=e;return t(["专辑"])},artists:e=>{const{normalize:t}=e;return t(["艺人"])},"built-with":e=>{const{normalize:t,interpolate:n,named:r}=e;return t(["界面贡献者包括 ",n(r("bulma")),",",n(r("mdi")),",",n(r("vuejs")),",",n(r("axios"))," 和 ",n(r("others"))])},"compiled-with":e=>{const{normalize:t,interpolate:n,named:r}=e;return t(["编译支持来自于 ",n(r("options"))])},library:e=>{const{normalize:t}=e;return t(["资料库"])},more:e=>{const{normalize:t}=e;return t(["更多"])},"total-playtime":e=>{const{normalize:t}=e;return t(["总播放时长"])},tracks:e=>{const{normalize:t}=e;return t(["曲目总数"])},update:e=>{const{normalize:t}=e;return t(["更新"])},"updated-on":e=>{const{normalize:t,interpolate:n,named:r}=e;return t([n(r("time"))," 前"])},updated:e=>{const{normalize:t}=e;return t(["更新于"])},uptime:e=>{const{normalize:t}=e;return t(["运行时长"])},version:e=>{const{normalize:t,interpolate:n,named:r}=e;return t(["版本 ",n(r("version"))])}},album:{shuffle:e=>{const{normalize:t}=e;return t(["随机播放"])},"track-count":e=>{const{normalize:t,interpolate:n,named:r,plural:o}=e;return o([t([n(r("count"))," 只曲目"]),t([n(r("count"))," 只曲目"])])}},albums:{count:e=>{const{normalize:t,interpolate:n,named:r,plural:o}=e;return o([t([n(r("count"))," 张专辑"]),t([n(r("count"))," 张专辑"])])},filter:e=>{const{normalize:t}=e;return t(["筛选"])},"hide-singles-help":e=>{const{normalize:t}=e;return t(["如果激活,将隐藏仅在播放列表出现的单曲和专辑"])},"hide-singles":e=>{const{normalize:t}=e;return t(["隐藏单曲"])},"hide-spotify-help":e=>{const{normalize:t}=e;return t(["如果激活,将隐藏仅在Spotify资料库出现的专辑"])},"hide-spotify":e=>{const{normalize:t}=e;return t(["隐藏来自Spotify的专辑"])},title:e=>{const{normalize:t}=e;return t(["专辑"])},sort:{title:e=>{const{normalize:t}=e;return t(["分类"])},name:e=>{const{normalize:t}=e;return t(["名称"])},"recently-added":e=>{const{normalize:t}=e;return t(["最近添加"])},"recently-released":e=>{const{normalize:t}=e;return t(["最近发行"])}}},artist:{"album-count":e=>{const{normalize:t,interpolate:n,named:r,plural:o}=e;return o([t([n(r("count"))," 张专辑"]),t([n(r("count"))," 张专辑"])])},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:o}=e;return o([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:o}=e;return o([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:o}=e;return o([t([n(r("count"))," 只曲目"]),t([n(r("count"))," 只曲目"])])}},albums:{count:e=>{const{normalize:t,interpolate:n,named:r,plural:o}=e;return o([t([n(r("count"))," 个有声读物"]),t([n(r("count"))," 个有声读物"])])},title:e=>{const{normalize:t}=e;return t(["有声读物"])}},artist:{"album-count":e=>{const{normalize:t,interpolate:n,named:r,plural:o}=e;return o([t([n(r("count"))," 张专辑"]),t([n(r("count"))," 张专辑"])])},play:e=>{const{normalize:t}=e;return t(["播放"])}},artists:{count:e=>{const{normalize:t,interpolate:n,named:r,plural:o}=e;return o([t([n(r("count"))," 位作者"]),t([n(r("count"))," 位作者"])])},title:e=>{const{normalize:t}=e;return t(["作者"])}},tabs:{authors:e=>{const{normalize:t}=e;return t(["作者"])},audiobooks:e=>{const{normalize:t}=e;return t(["有声读物"])},genres:e=>{const{normalize:t}=e;return t(["流派"])}}},composer:{"album-count":e=>{const{normalize:t,interpolate:n,named:r,plural:o}=e;return o([t([n(r("count"))," 张专辑"]),t([n(r("count"))," 张专辑"])])},shuffle:e=>{const{normalize:t}=e;return t(["随机播放"])},"track-count":e=>{const{normalize:t,interpolate:n,named:r,plural:o}=e;return o([t([n(r("count"))," 只曲目"]),t([n(r("count"))," 只曲目"])])},sort:{title:e=>{const{normalize:t}=e;return t(["分类"])},name:e=>{const{normalize:t}=e;return t(["名称"])},rating:e=>{const{normalize:t}=e;return t(["评级"])}}},composers:{count:e=>{const{normalize:t,interpolate:n,named:r,plural:o}=e;return o([t([n(r("count"))," 位作曲家"]),t([n(r("count"))," 位作曲家"])])},title:e=>{const{normalize:t}=e;return t(["作曲家"])}},files:{play:e=>{const{normalize:t}=e;return t(["播放"])},title:e=>{const{normalize:t}=e;return t(["文件"])}},genre:{"album-count":e=>{const{normalize:t,interpolate:n,named:r,plural:o}=e;return o([t([n(r("count"))," 张专辑"]),t([n(r("count"))," 张专辑"])])},shuffle:e=>{const{normalize:t}=e;return t(["随机播放"])},"track-count":e=>{const{normalize:t,interpolate:n,named:r,plural:o}=e;return o([t([n(r("count"))," 只曲目"]),t([n(r("count"))," 只曲目"])])},sort:{title:e=>{const{normalize:t}=e;return t(["分类"])},name:e=>{const{normalize:t}=e;return t(["名称"])},rating:e=>{const{normalize:t}=e;return t(["评级"])}}},genres:{count:e=>{const{normalize:t,interpolate:n,named:r,plural:o}=e;return o([t([n(r("count"))," 个流派"]),t([n(r("count"))," 个流派"])])},title:e=>{const{normalize:t}=e;return t(["流派"])}},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:o}=e;return o([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:o}=e;return o([t([n(r("count"))," 个播放列表"]),t([n(r("count"))," 个播放列表"])])}},podcast:{play:e=>{const{normalize:t}=e;return t(["播放"])},remove:e=>{const{normalize:t}=e;return t(["移除"])},"remove-info-1":e=>{const{normalize:t}=e;return t(["从资料库中永久移除该播客?"])},"remove-info-2":e=>{const{normalize:t}=e;return t(["这也将移除该播客RSS列表 "])},"remove-podcast":e=>{const{normalize:t}=e;return t(["移除播客"])},"track-count":e=>{const{normalize:t,interpolate:n,named:r,plural:o}=e;return o([t([n(r("count"))," 只曲目"]),t([n(r("count"))," 只曲目"])])}},podcasts:{add:e=>{const{normalize:t}=e;return t(["最后播放"])},count:e=>{const{normalize:t,interpolate:n,named:r,plural:o}=e;return o([t([n(r("count"))," 个播客"]),t([n(r("count"))," 个播客"])])},"mark-all-played":e=>{const{normalize:t}=e;return t(["全部标记为已播放"])},"new-episodes":e=>{const{normalize:t}=e;return t(["最新单集"])},title:e=>{const{normalize:t}=e;return t(["播客"])},update:e=>{const{normalize:t}=e;return t(["更新"])}},queue:{"add-stream":e=>{const{normalize:t}=e;return t(["添加流"])},clear:e=>{const{normalize:t}=e;return t(["清除"])},count:e=>{const{normalize:t,interpolate:n,named:r,plural:o}=e;return o([t([n(r("count"))," 只曲目"]),t([n(r("count"))," 只曲目"])])},edit:e=>{const{normalize:t}=e;return t(["编辑"])},"hide-previous":e=>{const{normalize:t}=e;return t(["隐藏历史"])},title:e=>{const{normalize:t}=e;return t(["清单"])},save:e=>{const{normalize:t}=e;return t(["保存"])}},radio:{count:e=>{const{normalize:t,interpolate:n,named:r,plural:o}=e;return o([t([n(r("count"))," 个电台"]),t([n(r("count"))," 个电台"])])},title:e=>{const{normalize:t}=e;return t(["广播电台"])}},search:{albums:e=>{const{normalize:t}=e;return t(["专辑"])},artists:e=>{const{normalize:t}=e;return t(["艺人"])},audiobooks:e=>{const{normalize:t}=e;return t(["有声读物"])},composers:e=>{const{normalize:t}=e;return t(["作曲家"])},expression:e=>{const{normalize:t}=e;return t(["表达式"])},help:e=>{const{normalize:t,interpolate:n,named:r}=e;return t(["提示:如果您使用 ",n(r("query"))," 前缀,则可以通过智能播放列表查询语言 ",n(r("help"))," 进行搜索"])},"no-albums":e=>{const{normalize:t}=e;return t(["没有发现专辑"])},"no-artists":e=>{const{normalize:t}=e;return t(["没有发现艺人"])},"no-audiobooks":e=>{const{normalize:t}=e;return t(["没有发现有声书"])},"no-composers":e=>{const{normalize:t}=e;return t(["没有发现作曲家"])},"no-playlists":e=>{const{normalize:t}=e;return t(["没有发现播放列表"])},"no-podcasts":e=>{const{normalize:t}=e;return t(["没有发现播客"])},"no-tracks":e=>{const{normalize:t}=e;return t(["没有发现曲目"])},placeholder:e=>{const{normalize:t}=e;return t(["搜索"])},playlists:e=>{const{normalize:t}=e;return t(["播放列表"])},podcasts:e=>{const{normalize:t}=e;return t(["播客"])},"show-albums":e=>{const{normalize:t,interpolate:n,named:r,plural:o}=e;return o([t(["显示专辑"]),t(["显示所有 ",n(r("count"))," 个专辑"])])},"show-artists":e=>{const{normalize:t,interpolate:n,named:r,plural:o}=e;return o([t(["显示艺人"]),t(["显示所有 ",n(r("count"))," 位艺人"])])},"show-audiobooks":e=>{const{normalize:t,interpolate:n,named:r,plural:o}=e;return o([t(["显示有声书"]),t(["显示所有 ",n(r("count"))," 本有声书"])])},"show-composers":e=>{const{normalize:t,interpolate:n,named:r,plural:o}=e;return o([t(["显示作曲家"]),t(["显示所有 ",n(r("count"))," 位作曲家"])])},"show-playlists":e=>{const{normalize:t,interpolate:n,named:r,plural:o}=e;return o([t(["显示播放列表"]),t(["显示所有 ",n(r("count"))," 个播放列表"])])},"show-podcasts":e=>{const{normalize:t,interpolate:n,named:r,plural:o}=e;return o([t(["显示播客"]),t(["显示所有 ",n(r("count"))," 个播客"])])},"show-tracks":e=>{const{normalize:t,interpolate:n,named:r,plural:o}=e;return o([t(["显示曲目"]),t(["显示所有 ",n(r("count"))," 只曲目"])])},tracks:e=>{const{normalize:t}=e;return t(["曲目"])},tabs:{library:e=>{const{normalize:t}=e;return t(["资料库"])},spotify:e=>{const{normalize:t}=e;return t(["Spotify"])}}},settings:{artwork:{artwork:e=>{const{normalize:t}=e;return t(["封面"])},coverartarchive:e=>{const{normalize:t}=e;return t(["Cover Art Archive"])},discogs:e=>{const{normalize:t}=e;return t(["Discogs"])},"explanation-1":e=>{const{normalize:t}=e;return t(["OwnTone支持PNG和 JPEG封面,这些封面可以作为单独的图像文件放置在库中或嵌入到媒体文件中,也可以通过广播电台在线提供"])},"explanation-2":e=>{const{normalize:t}=e;return t(["除此之外,您还可以从以下素材提供者获取封面:"])},spotify:e=>{const{normalize:t}=e;return t(["Spotify"])}},devices:{"no-active-pairing":e=>{const{normalize:t}=e;return t(["没有活跃的配对请求"])},"pairing-code":e=>{const{normalize:t}=e;return t(["配对代码"])},"pairing-request":e=>{const{normalize:t}=e;return t(["远程配对请求来自于 "])},pairing:e=>{const{normalize:t}=e;return t(["遥控配对"])},send:e=>{const{normalize:t}=e;return t(["发送"])},"speaker-pairing-info":e=>{const{normalize:t}=e;return t(["如果您的扬声器需要配对,请在下面输入它显示的 PIN以激活"])},"speaker-pairing":e=>{const{normalize:t}=e;return t(["扬声器配对和设备验证"])},"verification-code":e=>{const{normalize:t}=e;return t(["验证码"])},verify:e=>{const{normalize:t}=e;return t(["验证"])}},general:{"album-lists":e=>{const{normalize:t}=e;return t(["专辑列表"])},audiobooks:e=>{const{normalize:t}=e;return t(["有声读物"])},files:e=>{const{normalize:t}=e;return t(["文件"])},genres:e=>{const{normalize:t}=e;return t(["流派"])},language:e=>{const{normalize:t}=e;return t(["语言"])},music:e=>{const{normalize:t}=e;return t(["音乐"])},"navigation-item-selection-info":e=>{const{normalize:t}=e;return t(["如果您选择的项目多于屏幕上可以显示的项目,则侧边栏菜单将会消失"])},"navigation-item-selection":e=>{const{normalize:t}=e;return t(["选择顶部导航栏菜单项"])},"navigation-items":e=>{const{normalize:t}=e;return t(["导航条"])},"now-playing-page":e=>{const{normalize:t}=e;return t(["“正在播放”页面"])},playlists:e=>{const{normalize:t}=e;return t(["播放列表"])},podcasts:e=>{const{normalize:t}=e;return t(["播客"])},radio:e=>{const{normalize:t}=e;return t(["广播电台"])},"recently-added-page-info":e=>{const{normalize:t}=e;return t(["限制“最近添加”页面上显示的专辑数量"])},"recently-added-page":e=>{const{normalize:t}=e;return t(["“最近添加”页面"])},search:e=>{const{normalize:t}=e;return t(["搜索"])},"show-composer-genres-info-1":e=>{const{normalize:t}=e;return t(["以逗号分隔流派,作曲家会在“正在播放的页面”上显示"])},"show-composer-genres-info-2":e=>{const{normalize:t}=e;return t(["留空以始终显示作曲家"])},"show-composer-genres-info-3":e=>{const{normalize:t}=e;return t(["通过检查是否包含定义的流派之一来匹配当前曲目的流派标签。例如,设置为“古典、原声带”将显示流派标签为“当代古典”的曲目的作曲家"])},"show-composer-genres":e=>{const{normalize:t}=e;return t(["仅显示列出的流派的作曲家"])},"show-composer-info":e=>{const{normalize:t}=e;return t(["如果启用,当前播放曲目的作曲家将显示在“正在播放页面”上"])},"show-composer":e=>{const{normalize:t}=e;return t(["显示作曲家"])},"show-coverart":e=>{const{normalize:t}=e;return t(["在专辑列表中显示封面艺术作品"])},"show-path":e=>{const{normalize:t}=e;return t(["在“正在播放”页面显示文件路径"])}},services:{lastfm:{"grant-access":e=>{const{normalize:t}=e;return t(["使用您的 Last.fm 用户名和密码登录以启用记录功能"])},info:e=>{const{normalize:t}=e;return t(["OwnTone不会存储您的 Last.fm 用户名/密码,仅存储会话密钥。会话密钥不会过期"])},title:e=>{const{normalize:t}=e;return t(["Last.fm"])},"no-support":e=>{const{normalize:t}=e;return t(["OwnTone的构建没有来自Last.fm的官方支持"])}},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 访问"])},"grant-access":e=>{const{normalize:t}=e;return t(["授予对 Spotify Web API 的访问权限"])},reauthorize:e=>{const{normalize:t}=e;return t(["请重新授权 Web API 访问权限,以授予 OwnTone 以下附加访问权限:"])},title:e=>{const{normalize:t}=e;return t(["Spotify"])}},login:e=>{const{normalize:t}=e;return t(["登入"])},logout:e=>{const{normalize:t}=e;return t(["退出"])},password:e=>{const{normalize:t}=e;return t(["密码"])},username:e=>{const{normalize:t}=e;return t(["用户名"])}},tabs:{artwork:e=>{const{normalize:t}=e;return t(["封面"])},general:e=>{const{normalize:t}=e;return t(["概览"])},"online-services":e=>{const{normalize:t}=e;return t(["在线服务"])},"remotes-and-outputs":e=>{const{normalize:t}=e;return t(["遥控和输出"])}}},spotify:{album:{shuffle:e=>{const{normalize:t}=e;return t(["随机播放"])},"track-count":e=>{const{normalize:t,interpolate:n,named:r,plural:o}=e;return o([t([n(r("count"))," 只曲目"]),t([n(r("count"))," 只曲目"])])}},artist:{"album-count":e=>{const{normalize:t,interpolate:n,named:r,plural:o}=e;return o([t([n(r("count"))," 张专辑"]),t([n(r("count"))," 张专辑"])])},shuffle:e=>{const{normalize:t}=e;return t(["随机播放"])}},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:o}=e;return o([t([n(r("count"))," 只曲目"]),t([n(r("count"))," 只曲目"])])},shuffle:e=>{const{normalize:t}=e;return t(["随机播放"])}},search:{albums:e=>{const{normalize:t}=e;return t(["专辑"])},artists:e=>{const{normalize:t}=e;return t(["艺人"])},"no-albums":e=>{const{normalize:t}=e;return t(["没有发现专辑"])},"no-artists":e=>{const{normalize:t}=e;return t(["没有发现艺人"])},"no-playlists":e=>{const{normalize:t}=e;return t(["没有发现播放列表"])},"no-tracks":e=>{const{normalize:t}=e;return t(["没有发现曲目"])},placeholder:e=>{const{normalize:t}=e;return t(["搜索"])},playlists:e=>{const{normalize:t}=e;return t(["播放列表"])},"show-all-albums":e=>{const{normalize:t,interpolate:n,named:r,plural:o}=e;return o([t(["显示专辑"]),t(["显示所有 ",n(r("count"))," 个专辑"])])},"show-all-artists":e=>{const{normalize:t,interpolate:n,named:r,plural:o}=e;return o([t(["显示艺人"]),t(["显示所有 ",n(r("count"))," 位艺人"])])},"show-all-playlists":e=>{const{normalize:t,interpolate:n,named:r,plural:o}=e;return o([t(["显示播放列表"]),t(["显示所有 ",n(r("count"))," 个播放列表"])])},"show-all-tracks":e=>{const{normalize:t,interpolate:n,named:r,plural:o}=e;return o([t(["显示曲目"]),t(["显示所有 ",n(r("count"))," 只曲目"])])},tracks:e=>{const{normalize:t}=e;return t(["曲目"])}}}},playlist:{type:{plain:e=>{const{normalize:t}=e;return t(["简单"])},smart:e=>{const{normalize:t}=e;return t(["智能"])}}},player:{button:{consume:e=>{const{normalize:t}=e;return t(["清除历史"])},pause:e=>{const{normalize:t}=e;return t(["暂停"])},play:e=>{const{normalize:t}=e;return t(["播放"])},repeat:e=>{const{normalize:t}=e;return t(["重复播放所有曲目"])},"repeat-off":e=>{const{normalize:t}=e;return t(["所有曲目仅播放一遍"])},"repeat-once":e=>{const{normalize:t}=e;return t(["重复当前曲目"])},"seek-backward":e=>{const{normalize:t}=e;return t(["在当前曲目后退"])},"seek-forward":e=>{const{normalize:t}=e;return t(["在当前曲目前进"])},shuffle:e=>{const{normalize:t}=e;return t(["随机播放曲目"])},"shuffle-disabled":e=>{const{normalize:t}=e;return t(["按顺序播放曲目"])},"skip-backward":e=>{const{normalize:t}=e;return t(["播放上一首"])},"skip-forward":e=>{const{normalize:t}=e;return t(["播放下一首"])},stop:e=>{const{normalize:t}=e;return t(["停止"])},"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:o}=e;return o([t(["已附加到队列的 ",n(r("count"))," 只曲目"]),t(["已附加到队列的 ",n(r("count"))," 只曲目"])])},"empty-queue":e=>{const{normalize:t}=e;return t(["清单是空的"])}},"group-by-list":{today:e=>{const{normalize:t}=e;return t(["今日"])},"last-week":e=>{const{normalize:t}=e;return t(["上周"])},"last-month":e=>{const{normalize:t}=e;return t(["上月"])}},filter:{mono:e=>{const{normalize:t}=e;return t(["单声道"])},stereo:e=>{const{normalize:t}=e;return t(["立体声"])},channels:e=>{const{normalize:t,interpolate:n,named:r,plural:o}=e;return o([t([n(r("count"))," 信道"]),t([n(r("count"))," 信道"])])}}}}),Xl=Lx({availableLocales:"zh",fallbackLocale:"en",fallbackWarn:!1,legacy:!1,locale:navigator.language,messages:Wx,missingWarn:!1});/*!
|
||
* vuex v4.1.0
|
||
* (c) 2022 Evan You
|
||
* @license MIT
|
||
*/var Gx="store";function _s(e,t){Object.keys(e).forEach(function(n){return t(e[n],n)})}function Kx(e){return e!==null&&typeof e=="object"}function Zx(e){return e&&typeof e.then=="function"}function Yx(e,t){return function(){return e(t)}}function Qg(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 ey(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;Ql(e,n,[],e._modules.root,!0),Zd(e,n,t)}function Zd(e,t,n){var r=e._state,o=e._scope;e.getters={},e._makeLocalGettersCache=Object.create(null);var s=e._wrappedGetters,i={},a={},l=ud(!0);l.run(function(){_s(s,function(u,m){i[m]=Yx(u,e),a[m]=Nt(function(){return i[m]()}),Object.defineProperty(e.getters,m,{get:function(){return a[m].value},enumerable:!0})})}),e._state=ms({data:t}),e._scope=l,e.strict&&tS(e),r&&n&&e._withCommit(function(){r.data=null}),o&&o.stop()}function Ql(e,t,n,r,o){var s=!n.length,i=e._modules.getNamespace(n);if(r.namespaced&&(e._modulesNamespaceMap[i],e._modulesNamespaceMap[i]=r),!s&&!o){var a=Yd(t,n.slice(0,-1)),l=n[n.length-1];e._withCommit(function(){a[l]=r.state})}var u=r.context=Jx(e,i,n);r.forEachMutation(function(m,d){var f=i+d;Xx(e,f,m,u)}),r.forEachAction(function(m,d){var f=m.root?d:i+d,p=m.handler||m;Qx(e,f,p,u)}),r.forEachGetter(function(m,d){var f=i+d;eS(e,f,m,u)}),r.forEachChild(function(m,d){Ql(e,t,n.concat(d),m,o)})}function Jx(e,t,n){var r=t==="",o={dispatch:r?e.dispatch:function(s,i,a){var l=hl(s,i,a),u=l.payload,m=l.options,d=l.type;return(!m||!m.root)&&(d=t+d),e.dispatch(d,u)},commit:r?e.commit:function(s,i,a){var l=hl(s,i,a),u=l.payload,m=l.options,d=l.type;(!m||!m.root)&&(d=t+d),e.commit(d,u,m)}};return Object.defineProperties(o,{getters:{get:r?function(){return e.getters}:function(){return ty(e,t)}},state:{get:function(){return Yd(e.state,n)}}}),o}function ty(e,t){if(!e._makeLocalGettersCache[t]){var n={},r=t.length;Object.keys(e.getters).forEach(function(o){if(o.slice(0,r)===t){var s=o.slice(r);Object.defineProperty(n,s,{get:function(){return e.getters[o]},enumerable:!0})}}),e._makeLocalGettersCache[t]=n}return e._makeLocalGettersCache[t]}function Xx(e,t,n,r){var o=e._mutations[t]||(e._mutations[t]=[]);o.push(function(i){n.call(e,r.state,i)})}function Qx(e,t,n,r){var o=e._actions[t]||(e._actions[t]=[]);o.push(function(i){var a=n.call(e,{dispatch:r.dispatch,commit:r.commit,getters:r.getters,state:r.state,rootGetters:e.getters,rootState:e.state},i);return Zx(a)||(a=Promise.resolve(a)),e._devtoolHook?a.catch(function(l){throw e._devtoolHook.emit("vuex:error",l),l}):a})}function eS(e,t,n,r){e._wrappedGetters[t]||(e._wrappedGetters[t]=function(s){return n(r.state,r.getters,s.state,s.getters)})}function tS(e){vn(function(){return e._state.data},function(){},{deep:!0,flush:"sync"})}function Yd(e,t){return t.reduce(function(n,r){return n[r]},e)}function hl(e,t,n){return Kx(e)&&e.type&&(n=t,t=e,e=e.type),{type:e,payload:t,options:n}}var nS="vuex bindings",Jf="vuex:mutations",Oc="vuex:actions",To="vuex",rS=0;function oS(e,t){vx({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:[nS]},function(n){n.addTimelineLayer({id:Jf,label:"Vuex Mutations",color:Xf}),n.addTimelineLayer({id:Oc,label:"Vuex Actions",color:Xf}),n.addInspector({id:To,label:"Vuex",icon:"storage",treeFilterPlaceholder:"Filter stores..."}),n.on.getInspectorTree(function(r){if(r.app===e&&r.inspectorId===To)if(r.filter){var o=[];sy(o,t._modules.root,r.filter,""),r.rootNodes=o}else r.rootNodes=[oy(t._modules.root,"")]}),n.on.getInspectorState(function(r){if(r.app===e&&r.inspectorId===To){var o=r.nodeId;ty(t,o),r.state=aS(cS(t._modules,o),o==="root"?t.getters:t._makeLocalGettersCache,o)}}),n.on.editInspectorState(function(r){if(r.app===e&&r.inspectorId===To){var o=r.nodeId,s=r.path;o!=="root"&&(s=o.split("/").filter(Boolean).concat(s)),t._withCommit(function(){r.set(t._state.data,s,r.state.value)})}}),t.subscribe(function(r,o){var s={};r.payload&&(s.payload=r.payload),s.state=o,n.notifyComponentUpdate(),n.sendInspectorTree(To),n.sendInspectorState(To),n.addTimelineEvent({layerId:Jf,event:{time:Date.now(),title:r.type,data:s}})}),t.subscribeAction({before:function(r,o){var s={};r.payload&&(s.payload=r.payload),r._id=rS++,r._time=Date.now(),s.state=o,n.addTimelineEvent({layerId:Oc,event:{time:r._time,title:r.type,groupId:r._id,subtitle:"start",data:s}})},after:function(r,o){var s={},i=Date.now()-r._time;s.duration={_custom:{type:"duration",display:i+"ms",tooltip:"Action duration",value:i}},r.payload&&(s.payload=r.payload),s.state=o,n.addTimelineEvent({layerId:Oc,event:{time:Date.now(),title:r.type,groupId:r._id,subtitle:"end",data:s}})}})})}var Xf=8702998,sS=6710886,iS=16777215,ny={label:"namespaced",textColor:iS,backgroundColor:sS};function ry(e){return e&&e!=="root"?e.split("/").slice(-2,-1)[0]:"Root"}function oy(e,t){return{id:t||"root",label:ry(t),tags:e.namespaced?[ny]:[],children:Object.keys(e._children).map(function(n){return oy(e._children[n],t+n+"/")})}}function sy(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?[ny]:[]}),Object.keys(t._children).forEach(function(o){sy(e,t._children[o],n,r+o+"/")})}function aS(e,t,n){t=n==="root"?t:t[n];var r=Object.keys(t),o={state:Object.keys(e.state).map(function(i){return{key:i,editable:!0,value:e.state[i]}})};if(r.length){var s=lS(t);o.getters=Object.keys(s).map(function(i){return{key:i.endsWith("/")?ry(i):i,editable:!1,value:Mu(function(){return s[i]})}})}return o}function lS(e){var t={};return Object.keys(e).forEach(function(n){var r=n.split("/");if(r.length>1){var o=t,s=r.pop();r.forEach(function(i){o[i]||(o[i]={_custom:{value:{},display:i,tooltip:"Module",abstract:!0}}),o=o[i]._custom.value}),o[s]=Mu(function(){return e[n]})}else t[n]=Mu(function(){return e[n]})}),t}function cS(e,t){var n=t.split("/").filter(function(r){return r});return n.reduce(function(r,o,s){var i=r[o];if(!i)throw new Error('Missing module "'+o+'" for path "'+t+'".');return s===n.length-1?i:i._children},t==="root"?e:e.root._children)}function Mu(e){try{return e()}catch(t){return t}}var Kn=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)||{}},iy={namespaced:{configurable:!0}};iy.namespaced.get=function(){return!!this._rawModule.namespaced};Kn.prototype.addChild=function(t,n){this._children[t]=n};Kn.prototype.removeChild=function(t){delete this._children[t]};Kn.prototype.getChild=function(t){return this._children[t]};Kn.prototype.hasChild=function(t){return t in this._children};Kn.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)};Kn.prototype.forEachChild=function(t){_s(this._children,t)};Kn.prototype.forEachGetter=function(t){this._rawModule.getters&&_s(this._rawModule.getters,t)};Kn.prototype.forEachAction=function(t){this._rawModule.actions&&_s(this._rawModule.actions,t)};Kn.prototype.forEachMutation=function(t){this._rawModule.mutations&&_s(this._rawModule.mutations,t)};Object.defineProperties(Kn.prototype,iy);var xo=function(t){this.register([],t,!1)};xo.prototype.get=function(t){return t.reduce(function(n,r){return n.getChild(r)},this.root)};xo.prototype.getNamespace=function(t){var n=this.root;return t.reduce(function(r,o){return n=n.getChild(o),r+(n.namespaced?o+"/":"")},"")};xo.prototype.update=function(t){ay([],this.root,t)};xo.prototype.register=function(t,n,r){var o=this;r===void 0&&(r=!0);var s=new Kn(n,r);if(t.length===0)this.root=s;else{var i=this.get(t.slice(0,-1));i.addChild(t[t.length-1],s)}n.modules&&_s(n.modules,function(a,l){o.register(t.concat(l),a,r)})};xo.prototype.unregister=function(t){var n=this.get(t.slice(0,-1)),r=t[t.length-1],o=n.getChild(r);o&&o.runtime&&n.removeChild(r)};xo.prototype.isRegistered=function(t){var n=this.get(t.slice(0,-1)),r=t[t.length-1];return n?n.hasChild(r):!1};function ay(e,t,n){if(t.update(n),n.modules)for(var r in n.modules){if(!t.getChild(r))return;ay(e.concat(r),t.getChild(r),n.modules[r])}}function uS(e){return new dn(e)}var dn=function(t){var n=this;t===void 0&&(t={});var r=t.plugins;r===void 0&&(r=[]);var o=t.strict;o===void 0&&(o=!1);var s=t.devtools;this._committing=!1,this._actions=Object.create(null),this._actionSubscribers=[],this._mutations=Object.create(null),this._wrappedGetters=Object.create(null),this._modules=new xo(t),this._modulesNamespaceMap=Object.create(null),this._subscribers=[],this._makeLocalGettersCache=Object.create(null),this._scope=null,this._devtools=s;var i=this,a=this,l=a.dispatch,u=a.commit;this.dispatch=function(f,p){return l.call(i,f,p)},this.commit=function(f,p,h){return u.call(i,f,p,h)},this.strict=o;var m=this._modules.root.state;Ql(this,m,[],this._modules.root),Zd(this,m),r.forEach(function(d){return d(n)})},Jd={state:{configurable:!0}};dn.prototype.install=function(t,n){t.provide(n||Gx,this),t.config.globalProperties.$store=this;var r=this._devtools!==void 0?this._devtools:!1;r&&oS(t,this)};Jd.state.get=function(){return this._state.data};Jd.state.set=function(e){};dn.prototype.commit=function(t,n,r){var o=this,s=hl(t,n,r),i=s.type,a=s.payload,l={type:i,payload:a},u=this._mutations[i];u&&(this._withCommit(function(){u.forEach(function(d){d(a)})}),this._subscribers.slice().forEach(function(m){return m(l,o.state)}))};dn.prototype.dispatch=function(t,n){var r=this,o=hl(t,n),s=o.type,i=o.payload,a={type:s,payload:i},l=this._actions[s];if(l){try{this._actionSubscribers.slice().filter(function(m){return m.before}).forEach(function(m){return m.before(a,r.state)})}catch{}var u=l.length>1?Promise.all(l.map(function(m){return m(i)})):l[0](i);return new Promise(function(m,d){u.then(function(f){try{r._actionSubscribers.filter(function(p){return p.after}).forEach(function(p){return p.after(a,r.state)})}catch{}m(f)},function(f){try{r._actionSubscribers.filter(function(p){return p.error}).forEach(function(p){return p.error(a,r.state,f)})}catch{}d(f)})})}};dn.prototype.subscribe=function(t,n){return Qg(t,this._subscribers,n)};dn.prototype.subscribeAction=function(t,n){var r=typeof t=="function"?{before:t}:t;return Qg(r,this._actionSubscribers,n)};dn.prototype.watch=function(t,n,r){var o=this;return vn(function(){return t(o.state,o.getters)},n,Object.assign({},r))};dn.prototype.replaceState=function(t){var n=this;this._withCommit(function(){n._state.data=t})};dn.prototype.registerModule=function(t,n,r){r===void 0&&(r={}),typeof t=="string"&&(t=[t]),this._modules.register(t,n),Ql(this,this.state,t,this._modules.get(t),r.preserveState),Zd(this,this.state)};dn.prototype.unregisterModule=function(t){var n=this;typeof t=="string"&&(t=[t]),this._modules.unregister(t),this._withCommit(function(){var r=Yd(n.state,t.slice(0,-1));delete r[t[t.length-1]]}),ey(this)};dn.prototype.hasModule=function(t){return typeof t=="string"&&(t=[t]),this._modules.isRegistered(t)};dn.prototype.hotUpdate=function(t){this._modules.update(t),ey(this,!0)};dn.prototype._withCommit=function(t){var n=this._committing;this._committing=!0,t(),this._committing=n};Object.defineProperties(dn.prototype,Jd);const He=uS({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:{now_playing:e=>e.queue.items.find(t=>t.id===e.player.item_id)??{},settings_option_recently_added_limit:(e,t)=>{var n,r;return((r=(n=t.settings_webinterface)==null?void 0:n.options.find(o=>o.name==="recently_added_limit"))==null?void 0:r.value)??100},settings_option:e=>(t,n)=>{var r;return((r=e.settings.categories.find(o=>o.name===t))==null?void 0:r.options.find(o=>o.name===n))??{}},settings_option_show_composer_for_genre:(e,t)=>{var n,r;return((r=(n=t.settings_webinterface)==null?void 0:n.options.find(o=>o.name==="show_composer_for_genre"))==null?void 0:r.value)??null},settings_option_show_composer_now_playing:(e,t)=>{var n,r;return((r=(n=t.settings_webinterface)==null?void 0:n.options.find(o=>o.name==="show_composer_now_playing"))==null?void 0:r.value)??!1},settings_option_show_filepath_now_playing:(e,t)=>{var n,r;return((r=(n=t.settings_webinterface)==null?void 0:n.options.find(o=>o.name==="show_filepath_now_playing"))==null?void 0:r.value)??!1},settings_webinterface:e=>{var t;return((t=e.settings)==null?void 0:t.categories.find(n=>n.name==="webinterface"))??null}},mutations:{[ih](e,t){e.config=t},[ah](e,t){e.settings=t},[lh](e,t){e.library=t},[ch](e,t){e.rss_count=t},[uh](e,t){e.outputs=t},[td](e,t){e.player=t},[dh](e,t){e.queue=t},[nu](e,t){e.lyrics.content=t},[mh](e,t){e.lastfm=t},[fh](e,t){e.spotify=t},[ph](e,t){e.pairing=t},[nd](e,t){e.spotify_new_releases=t},[rd](e,t){e.spotify_featured_playlists=t},[ru](e,t){e.search_source=t},[hh](e,t){e.composer_tracks_sort=t},[_h](e,t){e.genre_tracks_sort=t},[El](e,t){e.hide_singles=t},[gi](e,t){e.hide_spotify=t},[gh](e,t){e.artists_sort=t},[yh](e,t){e.artist_albums_sort=t},[vh](e,t){e.artist_tracks_sort=t},[bh](e,t){e.albums_sort=t},[zh](e,t){e.show_only_next_items=t},[Qo](e,t){e.show_burger_menu=t},[es](e,t){e.show_player_menu=t},[yi](e,t){e.show_update_dialog=t},[od](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};if(r.topic){const o=t.notifications.list.findIndex(s=>s.topic===r.topic);if(o>=0){t.notifications.list.splice(o,1,r);return}}t.notifications.list.push(r),n.timeout>0&&setTimeout(()=>{this.dispatch("delete_notification",r)},n.timeout)},add_recent_search({commit:e,state:t},n){const r=t.recent_searches.findIndex(o=>o===n);r>=0&&t.recent_searches.splice(r,1),t.recent_searches.splice(0,0,n),t.recent_searches.length>5&&t.recent_searches.pop()},delete_notification({commit:e,state:t},n){const r=t.notifications.list.indexOf(n);r!==-1&&t.notifications.list.splice(r,1)},update_settings_option({commit:e,state:t},n){const r=t.settings.categories.find(s=>s.name===n.category),o=r.options.find(s=>s.name===n.name);o.value=n.value}}}),{t:No}=Xl.global;oe.interceptors.response.use(e=>e,e=>(e.request.status&&e.request.responseURL&&He.dispatch("add_notification",{text:No("server.request-failed",{cause:e.request.statusText,status:e.request.status,url:e.request.responseURL}),type:"danger"}),Promise.reject(e)));const V={config(){return oe.get("./api/config")},lastfm(){return oe.get("./api/lastfm")},lastfm_login(e){return oe.post("./api/lastfm-login",e)},lastfm_logout(){return oe.get("./api/lastfm-logout")},library_add(e){return oe.post("./api/library/add",void 0,{params:{url:e}})},library_album(e){return oe.get(`./api/library/albums/${e}`)},library_album_track_update(e,t){return oe.put(`./api/library/albums/${e}/tracks`,void 0,{params:t})},library_album_tracks(e,t={limit:-1,offset:0}){return oe.get(`./api/library/albums/${e}/tracks`,{params:t})},library_albums(e=void 0){return oe.get("./api/library/albums",{params:{media_kind:e}})},library_artist(e){return oe.get(`./api/library/artists/${e}`)},library_artist_albums(e){return oe.get(`./api/library/artists/${e}/albums`)},library_artist_tracks(e){if(e){const t={expression:`songartistid is "${e}"`,type:"tracks"};return oe.get("./api/search",{params:t})}},library_artists(e=void 0){return oe.get("./api/library/artists",{params:{media_kind:e}})},library_composer(e){return oe.get(`./api/library/composers/${encodeURIComponent(e)}`)},library_composer_albums(e){const t={expression:`composer is "${e}" and media_kind is music`,type:"albums"};return oe.get("./api/search",{params:t})},library_composer_tracks(e){const t={expression:`composer is "${e}" and media_kind is music`,type:"tracks"};return oe.get("./api/search",{params:t})},library_composers(e=void 0){return oe.get("./api/library/composers",{params:{media_kind:e}})},library_count(e){return oe.get(`./api/library/count?expression=${e}`)},library_files(e=void 0){return oe.get("./api/library/files",{params:{directory:e}})},library_genre(e,t=void 0){return oe.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 oe.get("./api/search",{params:n})},library_genre_tracks(e,t){const n={expression:`genre is "${e}" and media_kind is ${t}`,type:"tracks"};return oe.get("./api/search",{params:n})},library_genres(e=void 0){return oe.get("./api/library/genres",{params:{media_kind:e}})},library_playlist(e){return oe.get(`./api/library/playlists/${e}`)},library_playlist_delete(e){return oe.delete(`./api/library/playlists/${e}`,void 0)},library_playlist_folder(e=0){return oe.get(`./api/library/playlists/${e}/playlists`)},library_playlist_tracks(e){return oe.get(`./api/library/playlists/${e}/tracks`)},library_playlists(){return oe.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 oe.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 oe.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 oe.get("./api/search",{params:e})},library_rescan(e){const t={};return e&&(t.scan_kind=e),oe.put("./api/rescan",void 0,{params:t})},library_stats(){return oe.get("./api/library")},library_track(e){return oe.get(`./api/library/tracks/${e}`)},library_track_playlists(e){return oe.get(`./api/library/tracks/${e}/playlists`)},library_track_update(e,t={}){return oe.put(`./api/library/tracks/${e}`,void 0,{params:t})},library_update(e){const t={};return e&&(t.scan_kind=e),oe.put("./api/update",void 0,{params:t})},output_toggle(e){return oe.put(`./api/outputs/${e}/toggle`)},output_update(e,t){return oe.put(`./api/outputs/${e}`,t)},outputs(){return oe.get("./api/outputs")},pairing(){return oe.get("./api/pairing")},pairing_kickoff(e){return oe.post("./api/pairing",e)},player_consume(e){return oe.put(`./api/player/consume?state=${e}`)},player_next(){return oe.put("./api/player/next")},player_output_volume(e,t){return oe.put(`./api/player/volume?volume=${t}&output_id=${e}`)},player_pause(){return oe.put("./api/player/pause")},player_play(e={}){return oe.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 oe.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 oe.post("./api/queue/items/add",void 0,{params:r})},player_playid(e){return oe.put(`./api/player/play?item_id=${e}`)},player_playpos(e){return oe.put(`./api/player/play?position=${e}`)},player_previous(){return oe.put("./api/player/previous")},player_repeat(e){return oe.put(`./api/player/repeat?state=${e}`)},player_seek(e){return oe.put(`./api/player/seek?seek_ms=${e}`)},player_seek_to_pos(e){return oe.put(`./api/player/seek?position_ms=${e}`)},player_shuffle(e){return oe.put(`./api/player/shuffle?state=${e}`)},player_status(){return oe.get("./api/player")},player_stop(){return oe.put("./api/player/stop")},player_volume(e){return oe.put(`./api/player/volume?volume=${e}`)},queue(){return oe.get("./api/queue")},queue_add(e){return oe.post(`./api/queue/items/add?uris=${e}`).then(t=>(He.dispatch("add_notification",{text:No("server.appended-tracks",{count:t.data.count}),timeout:2e3,type:"info"}),Promise.resolve(t)))},queue_add_next(e){let t=0;return He.getters.now_playing&&He.getters.now_playing.id&&(t=He.getters.now_playing.position+1),oe.post(`./api/queue/items/add?uris=${e}&position=${t}`).then(n=>(He.dispatch("add_notification",{text:No("server.appended-tracks",{count:n.data.count}),timeout:2e3,type:"info"}),Promise.resolve(n)))},queue_clear(){return oe.put("./api/queue/clear")},queue_expression_add(e){return oe.post("./api/queue/items/add",void 0,{params:{expression:e}}).then(t=>(He.dispatch("add_notification",{text:No("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,He.getters.now_playing&&He.getters.now_playing.id&&(t.position=He.getters.now_playing.position+1),oe.post("./api/queue/items/add",void 0,{params:t}).then(n=>(He.dispatch("add_notification",{text:No("server.appended-tracks",{count:n.data.count}),timeout:2e3,type:"info"}),Promise.resolve(n)))},queue_move(e,t){return oe.put(`./api/queue/items/${e}?new_position=${t}`)},queue_remove(e){return oe.delete(`./api/queue/items/${e}`)},queue_save_playlist(e){return oe.post("./api/queue/save",void 0,{params:{name:e}}).then(t=>(He.dispatch("add_notification",{text:No("server.queue-saved",{name:e}),timeout:2e3,type:"info"}),Promise.resolve(t)))},search(e){return oe.get("./api/search",{params:e})},settings(){return oe.get("./api/settings")},settings_update(e,t){return oe.put(`./api/settings/${e}/${t.name}`,t)},spotify(){return oe.get("./api/spotify")},spotify_logout(){return oe.get("./api/spotify-logout")}},dS={name:"NavbarItemOutput",components:{ControlSlider:Ld},props:{output:{required:!0,type:Object}},data(){return{cursor:ql,volume:this.output.selected?this.output.volume:0}},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(){V.player_output_volume(this.output.id,this.volume)},set_enabled(){const e={selected:!this.output.selected};V.output_update(this.output.id,e)}}},mS={class:"navbar-item"},fS={class:"level is-mobile"},pS={class:"level-left is-flex-grow-1"},hS={class:"level-item is-flex-grow-0"},_S={class:"level-item"},gS={class:"is-flex-grow-1"},yS=["textContent"];function vS(e,t,n,r,o,s){const i=$("mdicon"),a=$("control-slider");return k(),A("div",mS,[c("div",fS,[c("div",pS,[c("div",hS,[c("a",{class:Se(["button is-white is-small",{"has-text-grey-light":!n.output.selected}]),onClick:t[0]||(t[0]=(...l)=>s.set_enabled&&s.set_enabled(...l))},[y(i,{class:"icon",name:s.type_class,size:"18",title:n.output.type},null,8,["name","title"])],2)]),c("div",_S,[c("div",gS,[c("p",{class:Se(["heading",{"has-text-grey-light":!n.output.selected}]),textContent:g(n.output.name)},null,10,yS),y(a,{value:o.volume,"onUpdate:value":t[1]||(t[1]=l=>o.volume=l),disabled:!n.output.selected,max:100,cursor:o.cursor,onChange:s.change_volume},null,8,["value","disabled","cursor","onChange"])])])])])])}const bS=te(dS,[["render",vS]]),zS={name:"PlayerButtonConsume",props:{icon_size:{default:16,type:Number}},computed:{is_consume(){return this.$store.state.player.consume}},methods:{toggle_consume_mode(){V.player_consume(!this.is_consume)}}};function wS(e,t,n,r,o,s){const i=$("mdicon");return k(),A("a",{class:Se({"is-info":s.is_consume}),onClick:t[0]||(t[0]=(...a)=>s.toggle_consume_mode&&s.toggle_consume_mode(...a))},[y(i,{class:"icon",name:"fire",size:n.icon_size,title:e.$t("player.button.consume")},null,8,["size","title"])],2)}const CS=te(zS,[["render",wS]]),kS={name:"PlayerButtonLyrics",props:{icon_size:{default:16,type:Number}},computed:{is_active(){return this.$store.state.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 xS(e,t,n,r,o,s){const i=$("mdicon");return k(),A("a",{class:Se({"is-info":s.is_active}),onClick:t[0]||(t[0]=(...a)=>s.toggle_lyrics&&s.toggle_lyrics(...a))},[y(i,{class:"icon",name:s.icon_name,size:n.icon_size,title:e.$t("player.button.toggle-lyrics")},null,8,["name","size","title"])],2)}const SS=te(kS,[["render",xS]]),ES={name:"PlayerButtonNext",props:{icon_size:{default:16,type:Number}},computed:{disabled(){return!this.$store.state.queue||this.$store.state.queue.count<=0}},methods:{play_next(){this.disabled||V.player_next()}}},$S=["disabled"];function TS(e,t,n,r,o,s){const i=$("mdicon");return k(),A("a",{disabled:s.disabled,onClick:t[0]||(t[0]=(...a)=>s.play_next&&s.play_next(...a))},[y(i,{name:"skip-forward",size:n.icon_size,title:e.$t("player.button.skip-forward")},null,8,["size","title"])],8,$S)}const AS=te(ES,[["render",TS]]),OS={name:"PlayerButtonPlayPause",props:{icon_size:{default:16,type:Number},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?V.player_pause():this.is_playing&&!this.is_pause_allowed?V.player_stop():V.player_play()}}},PS=["disabled"];function IS(e,t,n,r,o,s){const i=$("mdicon");return k(),A("a",{disabled:s.disabled,onClick:t[0]||(t[0]=(...a)=>s.toggle_play_pause&&s.toggle_play_pause(...a))},[y(i,{name:s.icon_name,size:n.icon_size,title:e.$t("player.button."+s.icon_name)},null,8,["name","size","title"])],8,PS)}const RS=te(OS,[["render",IS]]),DS={name:"PlayerButtonPrevious",props:{icon_size:{default:16,type:Number}},computed:{disabled(){return!this.$store.state.queue||this.$store.state.queue.count<=0}},methods:{play_previous(){this.disabled||V.player_previous()}}},LS=["disabled"];function NS(e,t,n,r,o,s){const i=$("mdicon");return k(),A("a",{disabled:s.disabled,onClick:t[0]||(t[0]=(...a)=>s.play_previous&&s.play_previous(...a))},[y(i,{name:"skip-backward",size:n.icon_size,title:e.$t("player.button.skip-backward")},null,8,["size","title"])],8,LS)}const MS=te(DS,[["render",NS]]),FS={name:"PlayerButtonRepeat",props:{icon_size:{default:16,type:Number}},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?V.player_repeat("single"):this.is_repeat_single?V.player_repeat("off"):V.player_repeat("all")}}};function VS(e,t,n,r,o,s){const i=$("mdicon");return k(),A("a",{class:Se({"is-info":!s.is_repeat_off}),onClick:t[0]||(t[0]=(...a)=>s.toggle_repeat_mode&&s.toggle_repeat_mode(...a))},[y(i,{class:"icon",name:s.icon_name,size:n.icon_size,title:e.$t("player.button."+s.icon_name)},null,8,["name","size","title"])],2)}const HS=te(FS,[["render",VS]]),US={name:"PlayerButtonSeekBack",props:{icon_size:{default:16,type:Number},seek_ms:{required:!0,type:Number}},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||V.player_seek(this.seek_ms*-1)}}},jS=["disabled"];function qS(e,t,n,r,o,s){const i=$("mdicon");return s.visible?(k(),A("a",{key:0,disabled:s.disabled,onClick:t[0]||(t[0]=(...a)=>s.seek&&s.seek(...a))},[y(i,{name:"rewind-10",size:n.icon_size,title:e.$t("player.button.seek-backward")},null,8,["size","title"])],8,jS)):F("",!0)}const BS=te(US,[["render",qS]]),WS={name:"PlayerButtonSeekForward",props:{icon_size:{default:16,type:Number},seek_ms:{required:!0,type:Number}},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||V.player_seek(this.seek_ms)}}},GS=["disabled"];function KS(e,t,n,r,o,s){const i=$("mdicon");return s.visible?(k(),A("a",{key:0,disabled:s.disabled,onClick:t[0]||(t[0]=(...a)=>s.seek&&s.seek(...a))},[y(i,{name:"fast-forward-30",size:n.icon_size,title:e.$t("player.button.seek-forward")},null,8,["size","title"])],8,GS)):F("",!0)}const ZS=te(WS,[["render",KS]]),YS={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(){V.player_shuffle(!this.is_shuffle)}}};function JS(e,t,n,r,o,s){const i=$("mdicon");return k(),A("a",{class:Se({"is-info":s.is_shuffle}),onClick:t[0]||(t[0]=(...a)=>s.toggle_shuffle_mode&&s.toggle_shuffle_mode(...a))},[y(i,{class:"icon",name:s.icon_name,size:n.icon_size,title:e.$t("player.button."+s.icon_name)},null,8,["name","size","title"])],2)}const XS=te(YS,[["render",JS]]),xs={_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{}}},QS={name:"NavbarBottom",components:{ControlSlider:Ld,NavbarItemLink:ug,NavbarItemOutput:bS,PlayerButtonConsume:CS,PlayerButtonLyrics:SS,PlayerButtonNext:AS,PlayerButtonPlayPause:RS,PlayerButtonPrevious:MS,PlayerButtonRepeat:HS,PlayerButtonSeekBack:BS,PlayerButtonSeekForward:ZS,PlayerButtonShuffle:XS},data(){return{cursor:ql,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(es,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(){V.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=xs.setupAudio();e.addEventListener("waiting",t=>{this.playing=!1,this.loading=!0}),e.addEventListener("playing",t=>{this.playing=!0,this.loading=!1}),e.addEventListener("ended",t=>{this.playing=!1,this.loading=!1}),e.addEventListener("error",t=>{this.closeAudio(),this.$store.dispatch("add_notification",{text:this.$t("navigation.stream-error"),type:"danger"}),this.playing=!1,this.loading=!1})},closeAudio(){xs.stopAudio(),this.playing=!1},playChannel(){if(this.playing)return;const e="/stream.mp3";this.loading=!0,xs.playSource(e),xs.setVolume(this.stream_volume/100)},togglePlay(){if(!this.loading)return this.playing?this.closeAudio():this.playChannel()},change_stream_volume(){xs.setVolume(this.stream_volume/100)}}},e2={class:"navbar-dropdown is-right fd-width-auto"},t2={class:"navbar-item"},n2={class:"level is-mobile"},r2={class:"level-left is-flex-grow-1"},o2={class:"level-item is-flex-grow-0"},s2={class:"level-item"},i2=["textContent"],a2=c("hr",{class:"my-3"},null,-1),l2=c("hr",{class:"my-3"},null,-1),c2={class:"navbar-item"},u2={class:"level is-mobile"},d2={class:"level-left is-flex-grow-1"},m2={class:"level-item is-flex-grow-0"},f2={class:"level-item"},p2={class:"is-flex-grow-1"},h2=["textContent"],_2={href:"stream.mp3",class:"heading ml-2",target:"_blank"},g2=c("hr",{class:"my-3"},null,-1),y2={class:"navbar-item is-justify-content-center"},v2={class:"level"},b2={class:"level-item"},z2={class:"buttons has-addons"},w2={class:"navbar-brand is-flex-grow-1"},C2={class:"fd-is-text-clipped"},k2=["textContent"],x2=c("br",null,null,-1),S2=["textContent"],E2=["textContent"],$2=c("div",{class:"navbar-start"},null,-1),T2={class:"navbar-end"},A2={class:"navbar-item"},O2={class:"buttons has-addons is-centered"},P2=c("hr",{class:"my-3"},null,-1),I2={class:"navbar-item"},R2={class:"level is-mobile"},D2={class:"level-left is-flex-grow-1"},L2={class:"level-item is-flex-grow-0"},N2={class:"level-item"},M2={class:"is-flex-grow-1"},F2=["textContent"],V2=c("hr",{class:"my-3"},null,-1),H2=c("hr",{class:"my-3"},null,-1),U2={class:"navbar-item mb-5"},j2={class:"level is-mobile"},q2={class:"level-left is-flex-grow-1"},B2={class:"level-item is-flex-grow-0"},W2={class:"level-item"},G2={class:"is-flex-grow-1"},K2=["textContent"],Z2={href:"stream.mp3",class:"heading ml-2",target:"_blank"};function Y2(e,t,n,r,o,s){const i=$("mdicon"),a=$("control-slider"),l=$("navbar-item-output"),u=$("player-button-repeat"),m=$("player-button-shuffle"),d=$("player-button-consume"),f=$("player-button-lyrics"),p=$("navbar-item-link"),h=$("player-button-previous"),_=$("player-button-seek-back"),b=$("player-button-play-pause"),C=$("player-button-seek-forward"),w=$("player-button-next");return k(),A("nav",{class:Se(["navbar is-block is-white is-fixed-bottom fd-bottom-navbar",{"is-transparent":s.is_now_playing_page,"is-dark":!s.is_now_playing_page}]),role:"navigation","aria-label":"player controls"},[c("div",{class:Se(["navbar-item has-dropdown has-dropdown-up is-hidden-touch",{"is-active":s.show_player_menu}])},[c("div",e2,[c("div",t2,[c("div",n2,[c("div",r2,[c("div",o2,[c("a",{class:"button is-white is-small",onClick:t[0]||(t[0]=(...v)=>s.toggle_mute_volume&&s.toggle_mute_volume(...v))},[y(i,{class:"icon",name:s.player.volume>0?"volume-high":"volume-off",size:"18"},null,8,["name"])])]),c("div",s2,[c("div",null,[c("p",{class:"heading",textContent:g(e.$t("navigation.volume"))},null,8,i2),y(a,{value:s.player.volume,"onUpdate:value":t[1]||(t[1]=v=>s.player.volume=v),max:100,onChange:s.change_volume},null,8,["value","onChange"])])])])])]),a2,(k(!0),A(Ce,null,ut(s.outputs,v=>(k(),_e(l,{key:v.id,output:v},null,8,["output"]))),128)),l2,c("div",c2,[c("div",u2,[c("div",d2,[c("div",m2,[c("a",{class:Se(["button is-white is-small",{"has-text-grey-light":!o.playing&&!o.loading,"is-loading":o.loading}]),onClick:t[2]||(t[2]=(...v)=>s.togglePlay&&s.togglePlay(...v))},[y(i,{class:"icon",name:"broadcast",size:"18"})],2)]),c("div",f2,[c("div",p2,[c("div",{class:Se(["is-flex is-align-content-center",{"has-text-grey-light":!o.playing}])},[c("p",{class:"heading",textContent:g(e.$t("navigation.stream"))},null,8,h2),c("a",_2,[y(i,{class:"icon is-small",name:"open-in-new",size:"16"})])],2),y(a,{value:o.stream_volume,"onUpdate:value":t[3]||(t[3]=v=>o.stream_volume=v),disabled:!o.playing,max:100,cursor:o.cursor,onChange:s.change_stream_volume},null,8,["value","disabled","cursor","onChange"])])])])])]),g2,c("div",y2,[c("div",v2,[c("div",b2,[c("div",z2,[y(u,{class:"button"}),y(m,{class:"button"}),y(d,{class:"button"}),y(f,{class:"button"})])])])])])],2),c("div",w2,[y(p,{to:{name:"queue"},exact:"",class:"mr-auto"},{default:S(()=>[y(i,{class:"icon",name:"playlist-play",size:"24"})]),_:1}),s.is_now_playing_page?F("",!0):(k(),_e(p,{key:0,to:{name:"now-playing"},exact:"",class:"fd-is-text-clipped is-expanded is-clipped is-size-7"},{default:S(()=>[c("div",C2,[c("strong",{textContent:g(s.now_playing.title)},null,8,k2),x2,c("span",{textContent:g(s.now_playing.artist)},null,8,S2),s.now_playing.album?(k(),A("span",{key:0,textContent:g(e.$t("navigation.now-playing",{album:s.now_playing.album}))},null,8,E2)):F("",!0)])]),_:1})),s.is_now_playing_page?(k(),_e(h,{key:1,class:"navbar-item px-2",icon_size:24})):F("",!0),s.is_now_playing_page?(k(),_e(_,{key:2,seek_ms:1e4,class:"navbar-item px-2",icon_size:24})):F("",!0),y(b,{class:"navbar-item px-2",icon_size:36,show_disabled_message:""}),s.is_now_playing_page?(k(),_e(C,{key:3,seek_ms:3e4,class:"navbar-item px-2",icon_size:24})):F("",!0),s.is_now_playing_page?(k(),_e(w,{key:4,class:"navbar-item px-2",icon_size:24})):F("",!0),c("a",{class:"navbar-item ml-auto",onClick:t[4]||(t[4]=v=>s.show_player_menu=!s.show_player_menu)},[y(i,{class:"icon",name:s.show_player_menu?"chevron-down":"chevron-up"},null,8,["name"])])]),c("div",{class:Se(["navbar-menu is-hidden-desktop",{"is-active":s.show_player_menu}])},[$2,c("div",T2,[c("div",A2,[c("div",O2,[y(u,{class:"button"}),y(m,{class:"button"}),y(d,{class:"button"}),y(f,{class:"button"})])]),P2,c("div",I2,[c("div",R2,[c("div",D2,[c("div",L2,[c("a",{class:"button is-white is-small",onClick:t[5]||(t[5]=(...v)=>s.toggle_mute_volume&&s.toggle_mute_volume(...v))},[y(i,{class:"icon",name:s.player.volume>0?"volume-high":"volume-off",size:"18"},null,8,["name"])])]),c("div",N2,[c("div",M2,[c("p",{class:"heading",textContent:g(e.$t("navigation.volume"))},null,8,F2),y(a,{value:s.player.volume,"onUpdate:value":t[6]||(t[6]=v=>s.player.volume=v),max:100,onChange:s.change_volume},null,8,["value","onChange"])])])])])]),V2,(k(!0),A(Ce,null,ut(s.outputs,v=>(k(),_e(l,{key:v.id,output:v},null,8,["output"]))),128)),H2,c("div",U2,[c("div",j2,[c("div",q2,[c("div",B2,[c("a",{class:Se(["button is-white is-small",{"has-text-grey-light":!o.playing&&!o.loading,"is-loading":o.loading}]),onClick:t[7]||(t[7]=(...v)=>s.togglePlay&&s.togglePlay(...v))},[y(i,{class:"icon",name:"radio-tower",size:"16"})],2)]),c("div",W2,[c("div",G2,[c("div",{class:Se(["is-flex is-align-content-center",{"has-text-grey-light":!o.playing}])},[c("p",{class:"heading",textContent:g(e.$t("navigation.stream"))},null,8,K2),c("a",Z2,[y(i,{class:"icon is-small",name:"open-in-new",size:"16"})])],2),y(a,{value:o.stream_volume,"onUpdate:value":t[8]||(t[8]=v=>o.stream_volume=v),disabled:!o.playing,max:100,cursor:o.cursor,onChange:s.change_stream_volume},null,8,["value","disabled","cursor","onChange"])])])])])])])],2)],2)}const J2=te(QS,[["render",Y2]]),X2={name:"NotificationList",computed:{notifications(){return this.$store.state.notifications.list}},methods:{remove(e){this.$store.dispatch("delete_notification",e)}}},Q2={key:0,class:"notifications"},eE={class:"columns is-centered"},tE={class:"column is-half"},nE=["onClick"],rE=["textContent"];function oE(e,t,n,r,o,s){return s.notifications.length>0?(k(),A("section",Q2,[c("div",eE,[c("div",tE,[(k(!0),A(Ce,null,ut(s.notifications,i=>(k(),A("div",{key:i.id,class:Se(["notification",i.type?`is-${i.type}`:""])},[c("button",{class:"delete",onClick:a=>s.remove(i)},null,8,nE),c("div",{class:"text",textContent:g(i.text)},null,8,rE)],2))),128))])])])):F("",!0)}const sE=te(X2,[["render",oE],["__scopeId","data-v-422ad582"]]),iE={name:"ModalDialogRemotePairing",props:{show:Boolean},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(){V.pairing_kickoff(this.pairing_req).then(()=>{this.pairing_req.pin=""})}}},aE={key:0,class:"modal is-active"},lE={class:"modal-content fd-modal-card"},cE={class:"card"},uE={class:"card-content"},dE=["textContent"],mE=["textContent"],fE={class:"field"},pE={class:"control"},hE=["placeholder"],_E={class:"card-footer is-clipped"},gE=["textContent"],yE=["textContent"];function vE(e,t,n,r,o,s){const i=$("mdicon");return k(),A("div",null,[y(Rt,{name:"fade"},{default:S(()=>[n.show?(k(),A("div",aE,[c("div",{class:"modal-background",onClick:t[0]||(t[0]=a=>e.$emit("close"))}),c("div",lE,[c("div",cE,[c("div",uE,[c("p",{class:"title is-4",textContent:g(e.$t("dialog.remote-pairing.title"))},null,8,dE),c("form",{onSubmit:t[2]||(t[2]=ot((...a)=>s.kickoff_pairing&&s.kickoff_pairing(...a),["prevent"]))},[c("label",{class:"label",textContent:g(s.pairing.remote)},null,8,mE),c("div",fE,[c("div",pE,[yt(c("input",{ref:"pin_field","onUpdate:modelValue":t[1]||(t[1]=a=>o.pairing_req.pin=a),class:"input",type:"text",pattern:"[\\d]{4}",placeholder:e.$t("dialog.remote-pairing.pairing-code")},null,8,hE),[[un,o.pairing_req.pin]])])])],32)]),c("footer",_E,[c("a",{class:"card-footer-item has-text-danger",onClick:t[3]||(t[3]=a=>e.$emit("close"))},[y(i,{class:"icon",name:"cancel",size:"16"}),c("span",{class:"is-size-7",textContent:g(e.$t("dialog.remote-pairing.cancel"))},null,8,gE)]),c("a",{class:"card-footer-item has-background-info has-text-white has-text-weight-bold",onClick:t[4]||(t[4]=(...a)=>s.kickoff_pairing&&s.kickoff_pairing(...a))},[y(i,{class:"icon",name:"cellphone",size:"16"}),c("span",{class:"is-size-7",textContent:g(e.$t("dialog.remote-pairing.pair"))},null,8,yE)])])])]),c("button",{class:"modal-close is-large","aria-label":"close",onClick:t[5]||(t[5]=a=>e.$emit("close"))})])):F("",!0)]),_:1})])}const bE=te(iE,[["render",vE]]),zE={name:"ModalDialog",props:{close_action:{default:"dialog.cancel",type:String},delete_action:{default:"",type:String},ok_action:{default:"",type:String},show:Boolean,title:{required:!0,type:String}},emits:["delete","close","ok"]},wE={key:0,class:"modal is-active"},CE={class:"modal-content fd-modal-card"},kE={class:"card"},xE={class:"card-content"},SE=["textContent"],EE={class:"card-footer is-clipped"},$E=["textContent"],TE=["textContent"],AE=["textContent"];function OE(e,t,n,r,o,s){const i=$("mdicon");return k(),A("div",null,[y(Rt,{name:"fade"},{default:S(()=>[n.show?(k(),A("div",wE,[c("div",{class:"modal-background",onClick:t[0]||(t[0]=a=>e.$emit("close"))}),c("div",CE,[c("div",kE,[c("div",xE,[n.title?(k(),A("p",{key:0,class:"title is-4",textContent:g(n.title)},null,8,SE)):F("",!0),it(e.$slots,"modal-content")]),c("footer",EE,[c("a",{class:"card-footer-item has-text-dark",onClick:t[1]||(t[1]=a=>e.$emit("close"))},[y(i,{class:"icon",name:"cancel",size:"16"}),c("span",{class:"is-size-7",textContent:g(n.close_action)},null,8,$E)]),n.delete_action?(k(),A("a",{key:0,class:"card-footer-item has-background-danger has-text-white has-text-weight-bold",onClick:t[2]||(t[2]=a=>e.$emit("delete"))},[y(i,{class:"icon",name:"delete",size:"16"}),c("span",{class:"is-size-7",textContent:g(n.delete_action)},null,8,TE)])):F("",!0),n.ok_action?(k(),A("a",{key:1,class:"card-footer-item has-background-info has-text-white has-text-weight-bold",onClick:t[3]||(t[3]=a=>e.$emit("ok"))},[y(i,{class:"icon",name:"check",size:"16"}),c("span",{class:"is-size-7",textContent:g(n.ok_action)},null,8,AE)])):F("",!0)])])]),c("button",{class:"modal-close is-large","aria-label":"close",onClick:t[4]||(t[4]=a=>e.$emit("close"))})])):F("",!0)]),_:3})])}const Xd=te(zE,[["render",OE]]),PE={name:"ModalDialogUpdate",components:{ModalDialog:Xd},props:{show:Boolean},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(od,e)}}},methods:{update_library(){this.rescan_metadata?V.library_rescan(this.update_dialog_scan_kind):V.library_update(this.update_dialog_scan_kind)},close(){this.update_dialog_scan_kind="",this.$emit("close")}}},IE={key:0},RE=["textContent"],DE={key:0,class:"field"},LE={class:"control"},NE={class:"select is-small"},ME=["textContent"],FE=["textContent"],VE=["textContent"],HE=["textContent"],UE={class:"field"},jE=["textContent"],qE={key:1},BE=["textContent"];function WE(e,t,n,r,o,s){const i=$("modal-dialog");return k(),_e(i,{show:n.show,title:e.$t("dialog.update.title"),ok_action:s.library.updating?"":e.$t("dialog.update.rescan"),close_action:e.$t("dialog.update.cancel"),onOk:s.update_library,onClose:t[2]||(t[2]=a=>s.close())},{"modal-content":S(()=>[s.library.updating?(k(),A("div",qE,[c("p",{class:"mb-3",textContent:g(e.$t("dialog.update.progress"))},null,8,BE)])):(k(),A("div",IE,[c("p",{class:"mb-3",textContent:g(e.$t("dialog.update.info"))},null,8,RE),s.spotify_enabled||s.rss.tracks>0?(k(),A("div",DE,[c("div",LE,[c("div",NE,[yt(c("select",{"onUpdate:modelValue":t[0]||(t[0]=a=>s.update_dialog_scan_kind=a)},[c("option",{value:"",textContent:g(e.$t("dialog.update.all"))},null,8,ME),c("option",{value:"files",textContent:g(e.$t("dialog.update.local"))},null,8,FE),s.spotify_enabled?(k(),A("option",{key:0,value:"spotify",textContent:g(e.$t("dialog.update.spotify"))},null,8,VE)):F("",!0),s.rss.tracks>0?(k(),A("option",{key:1,value:"rss",textContent:g(e.$t("dialog.update.feeds"))},null,8,HE)):F("",!0)],512),[[Dd,s.update_dialog_scan_kind]])])])])):F("",!0),c("div",UE,[yt(c("input",{id:"rescan","onUpdate:modelValue":t[1]||(t[1]=a=>o.rescan_metadata=a),type:"checkbox",class:"switch is-rounded is-small"},null,512),[[An,o.rescan_metadata]]),c("label",{for:"rescan",textContent:g(e.$t("dialog.update.rescan-metadata"))},null,8,jE)])]))]),_:1},8,["show","title","ok_action","close_action","onOk"])}const GE=te(PE,[["render",WE]]);var ly=typeof globalThis<"u"?globalThis:typeof window<"u"?window:typeof global<"u"?global:typeof self<"u"?self:{};function ec(e){return e&&e.__esModule&&Object.prototype.hasOwnProperty.call(e,"default")?e.default:e}function cy(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 o=Object.getOwnPropertyDescriptor(e,r);Object.defineProperty(n,r,o.get?o:{enumerable:!0,get:function(){return e[r]}})}),n}var uy={exports:{}};(function(e){(function(t,n){e.exports?e.exports=n():t.ReconnectingWebSocket=n()})(ly,function(){if(!("WebSocket"in window))return;function t(n,r,o){var s={debug:!1,automaticOpen:!0,reconnectInterval:1e3,maxReconnectInterval:3e4,reconnectDecay:1.5,timeoutInterval:2e3,maxReconnectAttempts:null};o||(o={});for(var i in s)typeof o[i]<"u"?this[i]=o[i]:this[i]=s[i];this.url=n,this.reconnectAttempts=0,this.readyState=WebSocket.CONNECTING,this.protocol=null;var a=this,l,u=!1,m=!1,d=document.createElement("div");d.addEventListener("open",function(p){a.onopen(p)}),d.addEventListener("close",function(p){a.onclose(p)}),d.addEventListener("connecting",function(p){a.onconnecting(p)}),d.addEventListener("message",function(p){a.onmessage(p)}),d.addEventListener("error",function(p){a.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(a.url,r||[]),p){if(this.maxReconnectAttempts&&this.reconnectAttempts>this.maxReconnectAttempts)return}else d.dispatchEvent(f("connecting")),this.reconnectAttempts=0;(a.debug||t.debugAll)&&console.debug("ReconnectingWebSocket","attempt-connect",a.url);var h=l,_=setTimeout(function(){(a.debug||t.debugAll)&&console.debug("ReconnectingWebSocket","connection-timeout",a.url),m=!0,h.close(),m=!1},a.timeoutInterval);l.onopen=function(b){clearTimeout(_),(a.debug||t.debugAll)&&console.debug("ReconnectingWebSocket","onopen",a.url),a.protocol=l.protocol,a.readyState=WebSocket.OPEN,a.reconnectAttempts=0;var C=f("open");C.isReconnect=p,p=!1,d.dispatchEvent(C)},l.onclose=function(b){if(clearTimeout(w),l=null,u)a.readyState=WebSocket.CLOSED,d.dispatchEvent(f("close"));else{a.readyState=WebSocket.CONNECTING;var C=f("connecting");C.code=b.code,C.reason=b.reason,C.wasClean=b.wasClean,d.dispatchEvent(C),!p&&!m&&((a.debug||t.debugAll)&&console.debug("ReconnectingWebSocket","onclose",a.url),d.dispatchEvent(f("close")));var w=a.reconnectInterval*Math.pow(a.reconnectDecay,a.reconnectAttempts);setTimeout(function(){a.reconnectAttempts++,a.open(!0)},w>a.maxReconnectInterval?a.maxReconnectInterval:w)}},l.onmessage=function(b){(a.debug||t.debugAll)&&console.debug("ReconnectingWebSocket","onmessage",a.url,b.data);var C=f("message");C.data=b.data,d.dispatchEvent(C)},l.onerror=function(b){(a.debug||t.debugAll)&&console.debug("ReconnectingWebSocket","onerror",a.url,b),d.dispatchEvent(f("error"))}},this.automaticOpen==!0&&this.open(!1),this.send=function(p){if(l)return(a.debug||t.debugAll)&&console.debug("ReconnectingWebSocket","send",a.url,p),l.send(p);throw"INVALID_STATE_ERR : Pausing to reconnect websocket"},this.close=function(p,h){typeof p>"u"&&(p=1e3),u=!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})})(uy);var KE=uy.exports;const ZE=ec(KE),YE={name:"App",components:{NavbarTop:U0,NavbarBottom:J2,NotificationList:sE,ModalDialogRemotePairing:bE,ModalDialogUpdate:GE},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(Qo,e)}},show_player_menu:{get(){return this.$store.state.show_player_menu},set(e){this.$store.commit(es,e)}},show_update_dialog:{get(){return this.$store.state.show_update_dialog},set(e){this.$store.commit(yi,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(){V.config().then(({data:e})=>{this.$store.commit(ih,e),this.$store.commit(El,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 ZE(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 o=!1;function s(){o||(e.update_outputs(),e.update_player_status(),e.update_library_stats(),e.update_settings(),e.update_queue(),e.update_spotify(),e.update_lastfm(),e.update_pairing(),o=!0,setTimeout(()=>{o=!1},500))}window.addEventListener("focus",s),document.addEventListener("visibilitychange",()=>{document.visibilityState==="visible"&&s()}),r.onmessage=function(i){const a=JSON.parse(i.data);(a.notify.includes("update")||a.notify.includes("database"))&&e.update_library_stats(),(a.notify.includes("player")||a.notify.includes("options")||a.notify.includes("volume"))&&e.update_player_status(),(a.notify.includes("outputs")||a.notify.includes("volume"))&&e.update_outputs(),a.notify.includes("queue")&&e.update_queue(),a.notify.includes("spotify")&&e.update_spotify(),a.notify.includes("lastfm")&&e.update_lastfm(),a.notify.includes("pairing")&&e.update_pairing()}},update_library_stats(){V.library_stats().then(({data:e})=>{this.$store.commit(lh,e)}),V.library_count("scan_kind is rss").then(({data:e})=>{this.$store.commit(ch,e)})},update_outputs(){V.outputs().then(({data:e})=>{this.$store.commit(uh,e.outputs)})},update_player_status(){V.player_status().then(({data:e})=>{this.$store.commit(td,e),this.update_lyrics()})},update_queue(){V.queue().then(({data:e})=>{this.$store.commit(dh,e),this.update_lyrics()})},update_lyrics(){const e=this.$store.getters.now_playing;e&&e.track_id?V.library_track(e.track_id).then(({data:t})=>{this.$store.commit(nu,t.lyrics)}):this.$store.commit(nu)},update_settings(){V.settings().then(({data:e})=>{this.$store.commit(ah,e)})},update_lastfm(){V.lastfm().then(({data:e})=>{this.$store.commit(mh,e)})},update_spotify(){V.spotify().then(({data:e})=>{this.$store.commit(fh,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(){V.pairing().then(({data:e})=>{this.$store.commit(ph,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/>"},JE={id:"app"};function XE(e,t,n,r,o,s){const i=$("navbar-top"),a=$("vue-progress-bar"),l=$("router-view"),u=$("modal-dialog-remote-pairing"),m=$("modal-dialog-update"),d=$("notification-list"),f=$("navbar-bottom");return k(),A("div",JE,[y(i),y(a,{class:"fd-progress-bar has-background-info"}),y(l,null,{default:S(({Component:p})=>[(k(),_e(Xh(p)))]),_:1}),y(u,{show:o.pairing_active,onClose:t[0]||(t[0]=p=>o.pairing_active=!1)},null,8,["show"]),y(m,{show:s.show_update_dialog,onClose:t[1]||(t[1]=p=>s.show_update_dialog=!1)},null,8,["show"]),yt(y(d,null,null,512),[[ui,!s.show_burger_menu]]),y(f),yt(c("div",{class:"fd-overlay-fullscreen",onClick:t[2]||(t[2]=p=>s.show_burger_menu=s.show_player_menu=!1)},null,512),[[ui,s.show_burger_menu||s.show_player_menu]])])}const QE=te(YE,[["render",XE]]);class So extends Error{}class e$ extends So{constructor(t){super(`Invalid DateTime: ${t.toMessage()}`)}}class t$ extends So{constructor(t){super(`Invalid Interval: ${t.toMessage()}`)}}class n$ extends So{constructor(t){super(`Invalid Duration: ${t.toMessage()}`)}}class Ho extends So{}class dy extends So{constructor(t){super(`Invalid unit ${t}`)}}class sn extends So{}class Er extends So{constructor(){super("Zone is an abstract class")}}const fe="numeric",Wn="short",bn="long",_l={year:fe,month:fe,day:fe},my={year:fe,month:Wn,day:fe},r$={year:fe,month:Wn,day:fe,weekday:Wn},fy={year:fe,month:bn,day:fe},py={year:fe,month:bn,day:fe,weekday:bn},hy={hour:fe,minute:fe},_y={hour:fe,minute:fe,second:fe},gy={hour:fe,minute:fe,second:fe,timeZoneName:Wn},yy={hour:fe,minute:fe,second:fe,timeZoneName:bn},vy={hour:fe,minute:fe,hourCycle:"h23"},by={hour:fe,minute:fe,second:fe,hourCycle:"h23"},zy={hour:fe,minute:fe,second:fe,hourCycle:"h23",timeZoneName:Wn},wy={hour:fe,minute:fe,second:fe,hourCycle:"h23",timeZoneName:bn},Cy={year:fe,month:fe,day:fe,hour:fe,minute:fe},ky={year:fe,month:fe,day:fe,hour:fe,minute:fe,second:fe},xy={year:fe,month:Wn,day:fe,hour:fe,minute:fe},Sy={year:fe,month:Wn,day:fe,hour:fe,minute:fe,second:fe},o$={year:fe,month:Wn,day:fe,weekday:Wn,hour:fe,minute:fe},Ey={year:fe,month:bn,day:fe,hour:fe,minute:fe,timeZoneName:Wn},$y={year:fe,month:bn,day:fe,hour:fe,minute:fe,second:fe,timeZoneName:Wn},Ty={year:fe,month:bn,day:fe,weekday:bn,hour:fe,minute:fe,timeZoneName:bn},Ay={year:fe,month:bn,day:fe,weekday:bn,hour:fe,minute:fe,second:fe,timeZoneName:bn};class $i{get type(){throw new Er}get name(){throw new Er}get ianaName(){return this.name}get isUniversal(){throw new Er}offsetName(t,n){throw new Er}formatOffset(t,n){throw new Er}offset(t){throw new Er}equals(t){throw new Er}get isValid(){throw new Er}}let Pc=null;class tc extends $i{static get instance(){return Pc===null&&(Pc=new tc),Pc}get type(){return"system"}get name(){return new Intl.DateTimeFormat().resolvedOptions().timeZone}get isUniversal(){return!1}offsetName(t,{format:n,locale:r}){return Fy(t,n,r)}formatOffset(t,n){return Gs(this.offset(t),n)}offset(t){return-new Date(t).getTimezoneOffset()}equals(t){return t.type==="system"}get isValid(){return!0}}let Wa={};function s$(e){return Wa[e]||(Wa[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"})),Wa[e]}const i$={year:0,month:1,day:2,era:3,hour:4,minute:5,second:6};function a$(e,t){const n=e.format(t).replace(/\u200E/g,""),r=/(\d+)\/(\d+)\/(\d+) (AD|BC),? (\d+):(\d+):(\d+)/.exec(n),[,o,s,i,a,l,u,m]=r;return[i,o,s,a,l,u,m]}function l$(e,t){const n=e.formatToParts(t),r=[];for(let o=0;o<n.length;o++){const{type:s,value:i}=n[o],a=i$[s];s==="era"?r[a]=i:Ne(a)||(r[a]=parseInt(i,10))}return r}let Zi={};class yr extends $i{static create(t){return Zi[t]||(Zi[t]=new yr(t)),Zi[t]}static resetCache(){Zi={},Wa={}}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=yr.isValidZone(t)}get type(){return"iana"}get name(){return this.zoneName}get isUniversal(){return!1}offsetName(t,{format:n,locale:r}){return Fy(t,n,r,this.name)}formatOffset(t,n){return Gs(this.offset(t),n)}offset(t){const n=new Date(t);if(isNaN(n))return NaN;const r=s$(this.name);let[o,s,i,a,l,u,m]=r.formatToParts?l$(r,n):a$(r,n);a==="BC"&&(o=-Math.abs(o)+1);const f=rc({year:o,month:s,day:i,hour:l===24?0:l,minute:u,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 Qf={};function c$(e,t={}){const n=JSON.stringify([e,t]);let r=Qf[n];return r||(r=new Intl.ListFormat(e,t),Qf[n]=r),r}let Fu={};function Vu(e,t={}){const n=JSON.stringify([e,t]);let r=Fu[n];return r||(r=new Intl.DateTimeFormat(e,t),Fu[n]=r),r}let Hu={};function u$(e,t={}){const n=JSON.stringify([e,t]);let r=Hu[n];return r||(r=new Intl.NumberFormat(e,t),Hu[n]=r),r}let Uu={};function d$(e,t={}){const{base:n,...r}=t,o=JSON.stringify([e,r]);let s=Uu[o];return s||(s=new Intl.RelativeTimeFormat(e,t),Uu[o]=s),s}let Ls=null;function m$(){return Ls||(Ls=new Intl.DateTimeFormat().resolvedOptions().locale,Ls)}let ep={};function f$(e){let t=ep[e];if(!t){const n=new Intl.Locale(e);t="getWeekInfo"in n?n.getWeekInfo():n.weekInfo,ep[e]=t}return t}function p$(e){const t=e.indexOf("-x-");t!==-1&&(e=e.substring(0,t));const n=e.indexOf("-u-");if(n===-1)return[e];{let r,o;try{r=Vu(e).resolvedOptions(),o=e}catch{const l=e.substring(0,n);r=Vu(l).resolvedOptions(),o=l}const{numberingSystem:s,calendar:i}=r;return[o,s,i]}}function h$(e,t,n){return(n||t)&&(e.includes("-u-")||(e+="-u"),n&&(e+=`-ca-${n}`),t&&(e+=`-nu-${t}`)),e}function _$(e){const t=[];for(let n=1;n<=12;n++){const r=Ie.utc(2009,n,1);t.push(e(r))}return t}function g$(e){const t=[];for(let n=1;n<=7;n++){const r=Ie.utc(2016,11,13+n);t.push(e(r))}return t}function Yi(e,t,n,r){const o=e.listingMode();return o==="error"?null:o==="en"?n(t):r(t)}function y$(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 v${constructor(t,n,r){this.padTo=r.padTo||0,this.floor=r.floor||!1;const{padTo:o,floor:s,...i}=r;if(!n||Object.keys(i).length>0){const a={useGrouping:!1,...r};r.padTo>0&&(a.minimumIntegerDigits=r.padTo),this.inf=u$(t,a)}}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):nm(t,3);return Pt(n,this.padTo)}}}class b${constructor(t,n,r){this.opts=r,this.originalZone=void 0;let o;if(this.opts.timeZone)this.dt=t;else if(t.zone.type==="fixed"){const i=-1*(t.offset/60),a=i>=0?`Etc/GMT+${i}`:`Etc/GMT${i}`;t.offset!==0&&yr.create(a).valid?(o=a,this.dt=t):(o="UTC",this.dt=t.offset===0?t:t.setZone("UTC").plus({minutes:t.offset}),this.originalZone=t.zone)}else t.zone.type==="system"?this.dt=t:t.zone.type==="iana"?(this.dt=t,o=t.zone.name):(o="UTC",this.dt=t.setZone("UTC").plus({minutes:t.offset}),this.originalZone=t.zone);const s={...this.opts};s.timeZone=s.timeZone||o,this.dtf=Vu(n,s)}format(){return this.originalZone?this.formatToParts().map(({value:t})=>t).join(""):this.dtf.format(this.dt.toJSDate())}formatToParts(){const t=this.dtf.formatToParts(this.dt.toJSDate());return this.originalZone?t.map(n=>{if(n.type==="timeZoneName"){const r=this.originalZone.offsetName(this.dt.ts,{locale:this.dt.locale,format:this.opts.timeZoneName});return{...n,value:r}}else return n}):t}resolvedOptions(){return this.dtf.resolvedOptions()}}class z${constructor(t,n,r){this.opts={style:"long",...r},!n&&Ny()&&(this.rtf=d$(t,r))}format(t,n){return this.rtf?this.rtf.format(t,n):H$(n,t,this.opts.numeric,this.opts.style!=="long")}formatToParts(t,n){return this.rtf?this.rtf.formatToParts(t,n):[]}}const w$={firstDay:1,minimalDays:4,weekend:[6,7]};class mt{static fromOpts(t){return mt.create(t.locale,t.numberingSystem,t.outputCalendar,t.weekSettings,t.defaultToEN)}static create(t,n,r,o,s=!1){const i=t||At.defaultLocale,a=i||(s?"en-US":m$()),l=n||At.defaultNumberingSystem,u=r||At.defaultOutputCalendar,m=ju(o)||At.defaultWeekSettings;return new mt(a,l,u,m,i)}static resetCache(){Ls=null,Fu={},Hu={},Uu={}}static fromObject({locale:t,numberingSystem:n,outputCalendar:r,weekSettings:o}={}){return mt.create(t,n,r,o)}constructor(t,n,r,o,s){const[i,a,l]=p$(t);this.locale=i,this.numberingSystem=n||a||null,this.outputCalendar=r||l||null,this.weekSettings=o,this.intl=h$(this.locale,this.numberingSystem,this.outputCalendar),this.weekdaysCache={format:{},standalone:{}},this.monthsCache={format:{},standalone:{}},this.meridiemCache=null,this.eraCache={},this.specifiedLocale=s,this.fastNumbersCached=null}get fastNumbers(){return this.fastNumbersCached==null&&(this.fastNumbersCached=y$(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:mt.create(t.locale||this.specifiedLocale,t.numberingSystem||this.numberingSystem,t.outputCalendar||this.outputCalendar,ju(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 Yi(this,t,Uy,()=>{const r=n?{month:t,day:"numeric"}:{month:t},o=n?"format":"standalone";return this.monthsCache[o][t]||(this.monthsCache[o][t]=_$(s=>this.extract(s,r,"month"))),this.monthsCache[o][t]})}weekdays(t,n=!1){return Yi(this,t,By,()=>{const r=n?{weekday:t,year:"numeric",month:"long",day:"numeric"}:{weekday:t},o=n?"format":"standalone";return this.weekdaysCache[o][t]||(this.weekdaysCache[o][t]=g$(s=>this.extract(s,r,"weekday"))),this.weekdaysCache[o][t]})}meridiems(){return Yi(this,void 0,()=>Wy,()=>{if(!this.meridiemCache){const t={hour:"numeric",hourCycle:"h12"};this.meridiemCache=[Ie.utc(2016,11,13,9),Ie.utc(2016,11,13,19)].map(n=>this.extract(n,t,"dayperiod"))}return this.meridiemCache})}eras(t){return Yi(this,t,Gy,()=>{const n={era:t};return this.eraCache[t]||(this.eraCache[t]=[Ie.utc(-40,1,1),Ie.utc(2017,1,1)].map(r=>this.extract(r,n,"era"))),this.eraCache[t]})}extract(t,n,r){const o=this.dtFormatter(t,n),s=o.formatToParts(),i=s.find(a=>a.type.toLowerCase()===r);return i?i.value:null}numberFormatter(t={}){return new v$(this.intl,t.forceSimple||this.fastNumbers,t)}dtFormatter(t,n={}){return new b$(t,this.intl,n)}relFormatter(t={}){return new z$(this.intl,this.isEnglish(),t)}listFormatter(t={}){return c$(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:My()?f$(this.locale):w$}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 Ic=null;class Jt extends $i{static get utcInstance(){return Ic===null&&(Ic=new Jt(0)),Ic}static instance(t){return t===0?Jt.utcInstance:new Jt(t)}static parseSpecifier(t){if(t){const n=t.match(/^utc(?:([+-]\d{1,2})(?::(\d{2}))?)?$/i);if(n)return new Jt(oc(n[1],n[2]))}return null}constructor(t){super(),this.fixed=t}get type(){return"fixed"}get name(){return this.fixed===0?"UTC":`UTC${Gs(this.fixed,"narrow")}`}get ianaName(){return this.fixed===0?"Etc/UTC":`Etc/GMT${Gs(-this.fixed,"narrow")}`}offsetName(){return this.name}formatOffset(t,n){return Gs(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 C$ extends $i{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 Fr(e,t){if(Ne(e)||e===null)return t;if(e instanceof $i)return e;if(S$(e)){const n=e.toLowerCase();return n==="default"?t:n==="local"||n==="system"?tc.instance:n==="utc"||n==="gmt"?Jt.utcInstance:Jt.parseSpecifier(n)||yr.create(e)}else return ho(e)?Jt.instance(e):typeof e=="object"&&"offset"in e&&typeof e.offset=="function"?e:new C$(e)}let tp=()=>Date.now(),np="system",rp=null,op=null,sp=null,ip=60,ap,lp=null;class At{static get now(){return tp}static set now(t){tp=t}static set defaultZone(t){np=t}static get defaultZone(){return Fr(np,tc.instance)}static get defaultLocale(){return rp}static set defaultLocale(t){rp=t}static get defaultNumberingSystem(){return op}static set defaultNumberingSystem(t){op=t}static get defaultOutputCalendar(){return sp}static set defaultOutputCalendar(t){sp=t}static get defaultWeekSettings(){return lp}static set defaultWeekSettings(t){lp=ju(t)}static get twoDigitCutoffYear(){return ip}static set twoDigitCutoffYear(t){ip=t%100}static get throwOnInvalid(){return ap}static set throwOnInvalid(t){ap=t}static resetCaches(){mt.resetCache(),yr.resetCache()}}class Un{constructor(t,n){this.reason=t,this.explanation=n}toMessage(){return this.explanation?`${this.reason}: ${this.explanation}`:this.reason}}const Oy=[0,31,59,90,120,151,181,212,243,273,304,334],Py=[0,31,60,91,121,152,182,213,244,274,305,335];function Sn(e,t){return new Un("unit out of range",`you specified ${t} (of type ${typeof t}) as a ${e}, which is invalid`)}function Qd(e,t,n){const r=new Date(Date.UTC(e,t-1,n));e<100&&e>=0&&r.setUTCFullYear(r.getUTCFullYear()-1900);const o=r.getUTCDay();return o===0?7:o}function Iy(e,t,n){return n+(Ti(e)?Py:Oy)[t-1]}function Ry(e,t){const n=Ti(e)?Py:Oy,r=n.findIndex(s=>s<t),o=t-n[r];return{month:r+1,day:o}}function em(e,t){return(e-t+7)%7+1}function gl(e,t=4,n=1){const{year:r,month:o,day:s}=e,i=Iy(r,o,s),a=em(Qd(r,o,s),n);let l=Math.floor((i-a+14-t)/7),u;return l<1?(u=r-1,l=pi(u,t,n)):l>pi(r,t,n)?(u=r+1,l=1):u=r,{weekYear:u,weekNumber:l,weekday:a,...sc(e)}}function cp(e,t=4,n=1){const{weekYear:r,weekNumber:o,weekday:s}=e,i=em(Qd(r,1,t),n),a=Jo(r);let l=o*7+s-i-7+t,u;l<1?(u=r-1,l+=Jo(u)):l>a?(u=r+1,l-=Jo(r)):u=r;const{month:m,day:d}=Ry(u,l);return{year:u,month:m,day:d,...sc(e)}}function Rc(e){const{year:t,month:n,day:r}=e,o=Iy(t,n,r);return{year:t,ordinal:o,...sc(e)}}function up(e){const{year:t,ordinal:n}=e,{month:r,day:o}=Ry(t,n);return{year:t,month:r,day:o,...sc(e)}}function dp(e,t){if(!Ne(e.localWeekday)||!Ne(e.localWeekNumber)||!Ne(e.localWeekYear)){if(!Ne(e.weekday)||!Ne(e.weekNumber)||!Ne(e.weekYear))throw new Ho("Cannot mix locale-based week fields with ISO-based week fields");return Ne(e.localWeekday)||(e.weekday=e.localWeekday),Ne(e.localWeekNumber)||(e.weekNumber=e.localWeekNumber),Ne(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 k$(e,t=4,n=1){const r=nc(e.weekYear),o=En(e.weekNumber,1,pi(e.weekYear,t,n)),s=En(e.weekday,1,7);return r?o?s?!1:Sn("weekday",e.weekday):Sn("week",e.weekNumber):Sn("weekYear",e.weekYear)}function x$(e){const t=nc(e.year),n=En(e.ordinal,1,Jo(e.year));return t?n?!1:Sn("ordinal",e.ordinal):Sn("year",e.year)}function Dy(e){const t=nc(e.year),n=En(e.month,1,12),r=En(e.day,1,yl(e.year,e.month));return t?n?r?!1:Sn("day",e.day):Sn("month",e.month):Sn("year",e.year)}function Ly(e){const{hour:t,minute:n,second:r,millisecond:o}=e,s=En(t,0,23)||t===24&&n===0&&r===0&&o===0,i=En(n,0,59),a=En(r,0,59),l=En(o,0,999);return s?i?a?l?!1:Sn("millisecond",o):Sn("second",r):Sn("minute",n):Sn("hour",t)}function Ne(e){return typeof e>"u"}function ho(e){return typeof e=="number"}function nc(e){return typeof e=="number"&&e%1===0}function S$(e){return typeof e=="string"}function E$(e){return Object.prototype.toString.call(e)==="[object Date]"}function Ny(){try{return typeof Intl<"u"&&!!Intl.RelativeTimeFormat}catch{return!1}}function My(){try{return typeof Intl<"u"&&!!Intl.Locale&&("weekInfo"in Intl.Locale.prototype||"getWeekInfo"in Intl.Locale.prototype)}catch{return!1}}function $$(e){return Array.isArray(e)?e:[e]}function mp(e,t,n){if(e.length!==0)return e.reduce((r,o)=>{const s=[t(o),o];return r&&n(r[0],s[0])===r[0]?r:s},null)[1]}function T$(e,t){return t.reduce((n,r)=>(n[r]=e[r],n),{})}function as(e,t){return Object.prototype.hasOwnProperty.call(e,t)}function ju(e){if(e==null)return null;if(typeof e!="object")throw new sn("Week settings must be an object");if(!En(e.firstDay,1,7)||!En(e.minimalDays,1,7)||!Array.isArray(e.weekend)||e.weekend.some(t=>!En(t,1,7)))throw new sn("Invalid week settings");return{firstDay:e.firstDay,minimalDays:e.minimalDays,weekend:Array.from(e.weekend)}}function En(e,t,n){return nc(e)&&e>=t&&e<=n}function A$(e,t){return e-t*Math.floor(e/t)}function Pt(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(!(Ne(e)||e===null||e===""))return parseInt(e,10)}function to(e){if(!(Ne(e)||e===null||e===""))return parseFloat(e)}function tm(e){if(!(Ne(e)||e===null||e==="")){const t=parseFloat("0."+e)*1e3;return Math.floor(t)}}function nm(e,t,n=!1){const r=10**t;return(n?Math.trunc:Math.round)(e*r)/r}function Ti(e){return e%4===0&&(e%100!==0||e%400===0)}function Jo(e){return Ti(e)?366:365}function yl(e,t){const n=A$(t-1,12)+1,r=e+(t-n)/12;return n===2?Ti(r)?29:28:[31,null,31,30,31,30,31,31,30,31,30,31][n-1]}function rc(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 fp(e,t,n){return-em(Qd(e,1,t),n)+t-1}function pi(e,t=4,n=1){const r=fp(e,t,n),o=fp(e+1,t,n);return(Jo(e)-r+o)/7}function qu(e){return e>99?e:e>At.twoDigitCutoffYear?1900+e:2e3+e}function Fy(e,t,n,r=null){const o=new Date(e),s={hourCycle:"h23",year:"numeric",month:"2-digit",day:"2-digit",hour:"2-digit",minute:"2-digit"};r&&(s.timeZone=r);const i={timeZoneName:t,...s},a=new Intl.DateTimeFormat(n,i).formatToParts(o).find(l=>l.type.toLowerCase()==="timezonename");return a?a.value:null}function oc(e,t){let n=parseInt(e,10);Number.isNaN(n)&&(n=0);const r=parseInt(t,10)||0,o=n<0||Object.is(n,-0)?-r:r;return n*60+o}function Vy(e){const t=Number(e);if(typeof e=="boolean"||e===""||Number.isNaN(t))throw new sn(`Invalid unit value ${e}`);return t}function vl(e,t){const n={};for(const r in e)if(as(e,r)){const o=e[r];if(o==null)continue;n[t(r)]=Vy(o)}return n}function Gs(e,t){const n=Math.trunc(Math.abs(e/60)),r=Math.trunc(Math.abs(e%60)),o=e>=0?"+":"-";switch(t){case"short":return`${o}${Pt(n,2)}:${Pt(r,2)}`;case"narrow":return`${o}${n}${r>0?`:${r}`:""}`;case"techie":return`${o}${Pt(n,2)}${Pt(r,2)}`;default:throw new RangeError(`Value format ${t} is out of range for property format`)}}function sc(e){return T$(e,["hour","minute","second","millisecond"])}const O$=["January","February","March","April","May","June","July","August","September","October","November","December"],Hy=["Jan","Feb","Mar","Apr","May","Jun","Jul","Aug","Sep","Oct","Nov","Dec"],P$=["J","F","M","A","M","J","J","A","S","O","N","D"];function Uy(e){switch(e){case"narrow":return[...P$];case"short":return[...Hy];case"long":return[...O$];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 jy=["Monday","Tuesday","Wednesday","Thursday","Friday","Saturday","Sunday"],qy=["Mon","Tue","Wed","Thu","Fri","Sat","Sun"],I$=["M","T","W","T","F","S","S"];function By(e){switch(e){case"narrow":return[...I$];case"short":return[...qy];case"long":return[...jy];case"numeric":return["1","2","3","4","5","6","7"];default:return null}}const Wy=["AM","PM"],R$=["Before Christ","Anno Domini"],D$=["BC","AD"],L$=["B","A"];function Gy(e){switch(e){case"narrow":return[...L$];case"short":return[...D$];case"long":return[...R$];default:return null}}function N$(e){return Wy[e.hour<12?0:1]}function M$(e,t){return By(t)[e.weekday-1]}function F$(e,t){return Uy(t)[e.month-1]}function V$(e,t){return Gy(t)[e.year<0?0:1]}function H$(e,t,n="always",r=!1){const o={years:["year","yr."],quarters:["quarter","qtr."],months:["month","mo."],weeks:["week","wk."],days:["day","day","days"],hours:["hour","hr."],minutes:["minute","min."],seconds:["second","sec."]},s=["hours","minutes","seconds"].indexOf(e)===-1;if(n==="auto"&&s){const d=e==="days";switch(t){case 1:return d?"tomorrow":`next ${o[e][0]}`;case-1:return d?"yesterday":`last ${o[e][0]}`;case 0:return d?"today":`this ${o[e][0]}`}}const i=Object.is(t,-0)||t<0,a=Math.abs(t),l=a===1,u=o[e],m=r?l?u[1]:u[2]||u[1]:l?o[e][0]:e;return i?`${a} ${m} ago`:`in ${a} ${m}`}function pp(e,t){let n="";for(const r of e)r.literal?n+=r.val:n+=t(r.val);return n}const U$={D:_l,DD:my,DDD:fy,DDDD:py,t:hy,tt:_y,ttt:gy,tttt:yy,T:vy,TT:by,TTT:zy,TTTT:wy,f:Cy,ff:xy,fff:Ey,ffff:Ty,F:ky,FF:Sy,FFF:$y,FFFF:Ay};class Bt{static create(t,n={}){return new Bt(t,n)}static parseFormat(t){let n=null,r="",o=!1;const s=[];for(let i=0;i<t.length;i++){const a=t.charAt(i);a==="'"?(r.length>0&&s.push({literal:o||/^\s+$/.test(r),val:r}),n=null,r="",o=!o):o||a===n?r+=a:(r.length>0&&s.push({literal:/^\s+$/.test(r),val:r}),r=a,n=a)}return r.length>0&&s.push({literal:o||/^\s+$/.test(r),val:r}),s}static macroTokenToFormatOpts(t){return U$[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 Pt(t,n);const r={...this.opts};return n>0&&(r.padTo=n),this.loc.numberFormatter(r).format(t)}formatDateTimeFromString(t,n){const r=this.loc.listingMode()==="en",o=this.loc.outputCalendar&&this.loc.outputCalendar!=="gregory",s=(p,h)=>this.loc.extract(t,p,h),i=p=>t.isOffsetFixed&&t.offset===0&&p.allowZ?"Z":t.isValid?t.zone.formatOffset(t.ts,p.format):"",a=()=>r?N$(t):s({hour:"numeric",hourCycle:"h12"},"dayperiod"),l=(p,h)=>r?F$(t,p):s(h?{month:p}:{month:p,day:"numeric"},"month"),u=(p,h)=>r?M$(t,p):s(h?{weekday:p}:{weekday:p,month:"long",day:"numeric"},"weekday"),m=p=>{const h=Bt.macroTokenToFormatOpts(p);return h?this.formatWithSystemDefault(t,h):p},d=p=>r?V$(t,p):s({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 i({format:"narrow",allowZ:this.opts.allowZ});case"ZZ":return i({format:"short",allowZ:this.opts.allowZ});case"ZZZ":return i({format:"techie",allowZ:this.opts.allowZ});case"ZZZZ":return t.zone.offsetName(t.ts,{format:"short",locale:this.loc.locale});case"ZZZZZ":return t.zone.offsetName(t.ts,{format:"long",locale:this.loc.locale});case"z":return t.zoneName;case"a":return a();case"d":return o?s({day:"numeric"},"day"):this.num(t.day);case"dd":return o?s({day:"2-digit"},"day"):this.num(t.day,2);case"c":return this.num(t.weekday);case"ccc":return u("short",!0);case"cccc":return u("long",!0);case"ccccc":return u("narrow",!0);case"E":return this.num(t.weekday);case"EEE":return u("short",!1);case"EEEE":return u("long",!1);case"EEEEE":return u("narrow",!1);case"L":return o?s({month:"numeric",day:"numeric"},"month"):this.num(t.month);case"LL":return o?s({month:"2-digit",day:"numeric"},"month"):this.num(t.month,2);case"LLL":return l("short",!0);case"LLLL":return l("long",!0);case"LLLLL":return l("narrow",!0);case"M":return o?s({month:"numeric"},"month"):this.num(t.month);case"MM":return o?s({month:"2-digit"},"month"):this.num(t.month,2);case"MMM":return l("short",!1);case"MMMM":return l("long",!1);case"MMMMM":return l("narrow",!1);case"y":return o?s({year:"numeric"},"year"):this.num(t.year);case"yy":return o?s({year:"2-digit"},"year"):this.num(t.year.toString().slice(-2),2);case"yyyy":return o?s({year:"numeric"},"year"):this.num(t.year,4);case"yyyyyy":return o?s({year:"numeric"},"year"):this.num(t.year,6);case"G":return 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(Bt.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}},o=l=>u=>{const m=r(u);return m?this.num(l.get(m),u.length):u},s=Bt.parseFormat(n),i=s.reduce((l,{literal:u,val:m})=>u?l:l.concat(m),[]),a=t.shiftTo(...i.map(r).filter(l=>l));return pp(s,o(a))}}const Ky=/[A-Za-z_+-]{1,256}(?::?\/[A-Za-z0-9_+-]{1,256}(?:\/[A-Za-z0-9_+-]{1,256})?)?/;function gs(...e){const t=e.reduce((n,r)=>n+r.source,"");return RegExp(`^${t}$`)}function ys(...e){return t=>e.reduce(([n,r,o],s)=>{const[i,a,l]=s(t,o);return[{...n,...i},a||r,l]},[{},null,1]).slice(0,2)}function vs(e,...t){if(e==null)return[null,null];for(const[n,r]of t){const o=n.exec(e);if(o)return r(o)}return[null,null]}function Zy(...e){return(t,n)=>{const r={};let o;for(o=0;o<e.length;o++)r[e[o]]=Lr(t[n+o]);return[r,null,n+o]}}const Yy=/(?:(Z)|([+-]\d\d)(?::?(\d\d))?)/,j$=`(?:${Yy.source}?(?:\\[(${Ky.source})\\])?)?`,rm=/(\d\d)(?::?(\d\d)(?::?(\d\d)(?:[.,](\d{1,30}))?)?)?/,Jy=RegExp(`${rm.source}${j$}`),om=RegExp(`(?:T${Jy.source})?`),q$=/([+-]\d{6}|\d{4})(?:-?(\d\d)(?:-?(\d\d))?)?/,B$=/(\d{4})-?W(\d\d)(?:-?(\d))?/,W$=/(\d{4})-?(\d{3})/,G$=Zy("weekYear","weekNumber","weekDay"),K$=Zy("year","ordinal"),Z$=/(\d{4})-(\d\d)-(\d\d)/,Xy=RegExp(`${rm.source} ?(?:${Yy.source}|(${Ky.source}))?`),Y$=RegExp(`(?: ${Xy.source})?`);function Xo(e,t,n){const r=e[t];return Ne(r)?n:Lr(r)}function J$(e,t){return[{year:Xo(e,t),month:Xo(e,t+1,1),day:Xo(e,t+2,1)},null,t+3]}function bs(e,t){return[{hours:Xo(e,t,0),minutes:Xo(e,t+1,0),seconds:Xo(e,t+2,0),milliseconds:tm(e[t+3])},null,t+4]}function Ai(e,t){const n=!e[t]&&!e[t+1],r=oc(e[t+1],e[t+2]),o=n?null:Jt.instance(r);return[{},o,t+3]}function Oi(e,t){const n=e[t]?yr.create(e[t]):null;return[{},n,t+1]}const X$=RegExp(`^T?${rm.source}$`),Q$=/^-?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 eT(e){const[t,n,r,o,s,i,a,l,u]=e,m=t[0]==="-",d=l&&l[0]==="-",f=(p,h=!1)=>p!==void 0&&(h||p&&m)?-p:p;return[{years:f(to(n)),months:f(to(r)),weeks:f(to(o)),days:f(to(s)),hours:f(to(i)),minutes:f(to(a)),seconds:f(to(l),l==="-0"),milliseconds:f(tm(u),d)}]}const tT={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 sm(e,t,n,r,o,s,i){const a={year:t.length===2?qu(Lr(t)):Lr(t),month:Hy.indexOf(n)+1,day:Lr(r),hour:Lr(o),minute:Lr(s)};return i&&(a.second=Lr(i)),e&&(a.weekday=e.length>3?jy.indexOf(e)+1:qy.indexOf(e)+1),a}const nT=/^(?:(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 rT(e){const[,t,n,r,o,s,i,a,l,u,m,d]=e,f=sm(t,o,r,n,s,i,a);let p;return l?p=tT[l]:u?p=0:p=oc(m,d),[f,new Jt(p)]}function oT(e){return e.replace(/\([^()]*\)|[\n\t]/g," ").replace(/(\s\s+)/g," ").trim()}const sT=/^(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$/,iT=/^(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$/,aT=/^(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 hp(e){const[,t,n,r,o,s,i,a]=e;return[sm(t,o,r,n,s,i,a),Jt.utcInstance]}function lT(e){const[,t,n,r,o,s,i,a]=e;return[sm(t,a,n,r,o,s,i),Jt.utcInstance]}const cT=gs(q$,om),uT=gs(B$,om),dT=gs(W$,om),mT=gs(Jy),Qy=ys(J$,bs,Ai,Oi),fT=ys(G$,bs,Ai,Oi),pT=ys(K$,bs,Ai,Oi),hT=ys(bs,Ai,Oi);function _T(e){return vs(e,[cT,Qy],[uT,fT],[dT,pT],[mT,hT])}function gT(e){return vs(oT(e),[nT,rT])}function yT(e){return vs(e,[sT,hp],[iT,hp],[aT,lT])}function vT(e){return vs(e,[Q$,eT])}const bT=ys(bs);function zT(e){return vs(e,[X$,bT])}const wT=gs(Z$,Y$),CT=gs(Xy),kT=ys(bs,Ai,Oi);function xT(e){return vs(e,[wT,Qy],[CT,kT])}const _p="Invalid Duration",e1={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}},ST={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},...e1},Cn=146097/400,Ao=146097/4800,ET={years:{quarters:4,months:12,weeks:Cn/7,days:Cn,hours:Cn*24,minutes:Cn*24*60,seconds:Cn*24*60*60,milliseconds:Cn*24*60*60*1e3},quarters:{months:3,weeks:Cn/28,days:Cn/4,hours:Cn*24/4,minutes:Cn*24*60/4,seconds:Cn*24*60*60/4,milliseconds:Cn*24*60*60*1e3/4},months:{weeks:Ao/7,days:Ao,hours:Ao*24,minutes:Ao*24*60,seconds:Ao*24*60*60,milliseconds:Ao*24*60*60*1e3},...e1},lo=["years","quarters","months","weeks","days","hours","minutes","seconds","milliseconds"],$T=lo.slice(0).reverse();function $r(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 Be(r)}function t1(e,t){let n=t.milliseconds??0;for(const r of $T.slice(1))t[r]&&(n+=t[r]*e[r].milliseconds);return n}function gp(e,t){const n=t1(e,t)<0?-1:1;lo.reduceRight((r,o)=>{if(Ne(t[o]))return r;if(r){const s=t[r]*n,i=e[o][r],a=Math.floor(s/i);t[o]+=a*n,t[r]-=a*i*n}return o},null),lo.reduce((r,o)=>{if(Ne(t[o]))return r;if(r){const s=t[r]%1;t[r]-=s,t[o]+=s*e[r][o]}return o},null)}function TT(e){const t={};for(const[n,r]of Object.entries(e))r!==0&&(t[n]=r);return t}class Be{constructor(t){const n=t.conversionAccuracy==="longterm"||!1;let r=n?ET:ST;t.matrix&&(r=t.matrix),this.values=t.values,this.loc=t.loc||mt.create(),this.conversionAccuracy=n?"longterm":"casual",this.invalid=t.invalid||null,this.matrix=r,this.isLuxonDuration=!0}static fromMillis(t,n){return Be.fromObject({milliseconds:t},n)}static fromObject(t,n={}){if(t==null||typeof t!="object")throw new sn(`Duration.fromObject: argument expected to be an object, got ${t===null?"null":typeof t}`);return new Be({values:vl(t,Be.normalizeUnit),loc:mt.fromObject(n),conversionAccuracy:n.conversionAccuracy,matrix:n.matrix})}static fromDurationLike(t){if(ho(t))return Be.fromMillis(t);if(Be.isDuration(t))return t;if(typeof t=="object")return Be.fromObject(t);throw new sn(`Unknown duration argument ${t} of type ${typeof t}`)}static fromISO(t,n){const[r]=vT(t);return r?Be.fromObject(r,n):Be.invalid("unparsable",`the input "${t}" can't be parsed as ISO 8601`)}static fromISOTime(t,n){const[r]=zT(t);return r?Be.fromObject(r,n):Be.invalid("unparsable",`the input "${t}" can't be parsed as ISO 8601`)}static invalid(t,n=null){if(!t)throw new sn("need to specify a reason the Duration is invalid");const r=t instanceof Un?t:new Un(t,n);if(At.throwOnInvalid)throw new n$(r);return new Be({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 dy(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?Bt.create(this.loc,r).formatDurationFromString(this,t):_p}toHuman(t={}){if(!this.isValid)return _p;const n=lo.map(r=>{const o=this.values[r];return Ne(o)?null:this.loc.numberFormatter({style:"unit",unitDisplay:"long",...t,unit:r.slice(0,-1)}).format(o)}).filter(r=>r);return this.loc.listFormatter({type:"conjunction",style:t.listStyle||"narrow",...t}).format(n)}toObject(){return this.isValid?{...this.values}:{}}toISO(){if(!this.isValid)return null;let t="P";return this.years!==0&&(t+=this.years+"Y"),(this.months!==0||this.quarters!==0)&&(t+=this.months+this.quarters*3+"M"),this.weeks!==0&&(t+=this.weeks+"W"),this.days!==0&&(t+=this.days+"D"),(this.hours!==0||this.minutes!==0||this.seconds!==0||this.milliseconds!==0)&&(t+="T"),this.hours!==0&&(t+=this.hours+"H"),this.minutes!==0&&(t+=this.minutes+"M"),(this.seconds!==0||this.milliseconds!==0)&&(t+=nm(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},Ie.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?t1(this.matrix,this.values):NaN}valueOf(){return this.toMillis()}plus(t){if(!this.isValid)return this;const n=Be.fromDurationLike(t),r={};for(const o of lo)(as(n.values,o)||as(this.values,o))&&(r[o]=n.get(o)+this.get(o));return $r(this,{values:r},!0)}minus(t){if(!this.isValid)return this;const n=Be.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]=Vy(t(this.values[r],r));return $r(this,{values:n},!0)}get(t){return this[Be.normalizeUnit(t)]}set(t){if(!this.isValid)return this;const n={...this.values,...vl(t,Be.normalizeUnit)};return $r(this,{values:n})}reconfigure({locale:t,numberingSystem:n,conversionAccuracy:r,matrix:o}={}){const i={loc:this.loc.clone({locale:t,numberingSystem:n}),matrix:o,conversionAccuracy:r};return $r(this,i)}as(t){return this.isValid?this.shiftTo(t).get(t):NaN}normalize(){if(!this.isValid)return this;const t=this.toObject();return gp(this.matrix,t),$r(this,{values:t},!0)}rescale(){if(!this.isValid)return this;const t=TT(this.normalize().shiftToAll().toObject());return $r(this,{values:t},!0)}shiftTo(...t){if(!this.isValid)return this;if(t.length===0)return this;t=t.map(i=>Be.normalizeUnit(i));const n={},r={},o=this.toObject();let s;for(const i of lo)if(t.indexOf(i)>=0){s=i;let a=0;for(const u in r)a+=this.matrix[u][i]*r[u],r[u]=0;ho(o[i])&&(a+=o[i]);const l=Math.trunc(a);n[i]=l,r[i]=(a*1e3-l*1e3)/1e3}else ho(o[i])&&(r[i]=o[i]);for(const i in r)r[i]!==0&&(n[s]+=i===s?r[i]:r[i]/this.matrix[s][i]);return gp(this.matrix,n),$r(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 $r(this,{values:t},!0)}get years(){return this.isValid?this.values.years||0:NaN}get quarters(){return this.isValid?this.values.quarters||0:NaN}get months(){return this.isValid?this.values.months||0:NaN}get weeks(){return this.isValid?this.values.weeks||0:NaN}get days(){return this.isValid?this.values.days||0:NaN}get hours(){return this.isValid?this.values.hours||0:NaN}get minutes(){return this.isValid?this.values.minutes||0:NaN}get seconds(){return this.isValid?this.values.seconds||0:NaN}get milliseconds(){return this.isValid?this.values.milliseconds||0:NaN}get isValid(){return this.invalid===null}get invalidReason(){return this.invalid?this.invalid.reason:null}get invalidExplanation(){return this.invalid?this.invalid.explanation:null}equals(t){if(!this.isValid||!t.isValid||!this.loc.equals(t.loc))return!1;function n(r,o){return r===void 0||r===0?o===void 0||o===0:r===o}for(const r of lo)if(!n(this.values[r],t.values[r]))return!1;return!0}}const Oo="Invalid Interval";function AT(e,t){return!e||!e.isValid?St.invalid("missing or invalid start"):!t||!t.isValid?St.invalid("missing or invalid end"):t<e?St.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 St{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 sn("need to specify a reason the Interval is invalid");const r=t instanceof Un?t:new Un(t,n);if(At.throwOnInvalid)throw new t$(r);return new St({invalid:r})}static fromDateTimes(t,n){const r=Es(t),o=Es(n),s=AT(r,o);return s??new St({start:r,end:o})}static after(t,n){const r=Be.fromDurationLike(n),o=Es(t);return St.fromDateTimes(o,o.plus(r))}static before(t,n){const r=Be.fromDurationLike(n),o=Es(t);return St.fromDateTimes(o.minus(r),o)}static fromISO(t,n){const[r,o]=(t||"").split("/",2);if(r&&o){let s,i;try{s=Ie.fromISO(r,n),i=s.isValid}catch{i=!1}let a,l;try{a=Ie.fromISO(o,n),l=a.isValid}catch{l=!1}if(i&&l)return St.fromDateTimes(s,a);if(i){const u=Be.fromISO(o,n);if(u.isValid)return St.after(s,u)}else if(l){const u=Be.fromISO(r,n);if(u.isValid)return St.before(a,u)}}return St.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 o;return n!=null&&n.useLocaleWeeks?o=this.end.reconfigure({locale:r.locale}):o=this.end,o=o.startOf(t,n),Math.floor(o.diff(r,t).get(t))+(o.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?St.fromDateTimes(t||this.s,n||this.e):this}splitAt(...t){if(!this.isValid)return[];const n=t.map(Es).filter(i=>this.contains(i)).sort((i,a)=>i.toMillis()-a.toMillis()),r=[];let{s:o}=this,s=0;for(;o<this.e;){const i=n[s]||this.e,a=+i>+this.e?this.e:i;r.push(St.fromDateTimes(o,a)),o=a,s+=1}return r}splitBy(t){const n=Be.fromDurationLike(t);if(!this.isValid||!n.isValid||n.as("milliseconds")===0)return[];let{s:r}=this,o=1,s;const i=[];for(;r<this.e;){const a=this.start.plus(n.mapUnits(l=>l*o));s=+a>+this.e?this.e:a,i.push(St.fromDateTimes(r,s)),r=s,o+=1}return i}divideEqually(t){return this.isValid?this.splitBy(this.length()/t).slice(0,t):[]}overlaps(t){return this.e>t.s&&this.s<t.e}abutsStart(t){return this.isValid?+this.e==+t.s:!1}abutsEnd(t){return this.isValid?+t.e==+this.s:!1}engulfs(t){return this.isValid?this.s<=t.s&&this.e>=t.e:!1}equals(t){return!this.isValid||!t.isValid?!1:this.s.equals(t.s)&&this.e.equals(t.e)}intersection(t){if(!this.isValid)return this;const n=this.s>t.s?this.s:t.s,r=this.e<t.e?this.e:t.e;return n>=r?null:St.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 St.fromDateTimes(n,r)}static merge(t){const[n,r]=t.sort((o,s)=>o.s-s.s).reduce(([o,s],i)=>s?s.overlaps(i)||s.abutsStart(i)?[o,s.union(i)]:[o.concat([s]),i]:[o,i],[[],null]);return r&&n.push(r),n}static xor(t){let n=null,r=0;const o=[],s=t.map(l=>[{time:l.s,type:"s"},{time:l.e,type:"e"}]),i=Array.prototype.concat(...s),a=i.sort((l,u)=>l.time-u.time);for(const l of a)r+=l.type==="s"?1:-1,r===1?n=l.time:(n&&+n!=+l.time&&o.push(St.fromDateTimes(n,l.time)),n=null);return St.merge(o)}difference(...t){return St.xor([this].concat(t)).map(n=>this.intersection(n)).filter(n=>n&&!n.isEmpty())}toString(){return this.isValid?`[${this.s.toISO()} – ${this.e.toISO()})`:Oo}[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=_l,n={}){return this.isValid?Bt.create(this.s.loc.clone(n),t).formatInterval(this):Oo}toISO(t){return this.isValid?`${this.s.toISO(t)}/${this.e.toISO(t)}`:Oo}toISODate(){return this.isValid?`${this.s.toISODate()}/${this.e.toISODate()}`:Oo}toISOTime(t){return this.isValid?`${this.s.toISOTime(t)}/${this.e.toISOTime(t)}`:Oo}toFormat(t,{separator:n=" – "}={}){return this.isValid?`${this.s.toFormat(t)}${n}${this.e.toFormat(t)}`:Oo}toDuration(t,n){return this.isValid?this.e.diff(this.s,t,n):Be.invalid(this.invalidReason)}mapEndpoints(t){return St.fromDateTimes(t(this.s),t(this.e))}}class Ji{static hasDST(t=At.defaultZone){const n=Ie.now().setZone(t).set({month:12});return!t.isUniversal&&n.offset!==n.set({month:6}).offset}static isValidIANAZone(t){return yr.isValidZone(t)}static normalizeZone(t){return Fr(t,At.defaultZone)}static getStartOfWeek({locale:t=null,locObj:n=null}={}){return(n||mt.create(t)).getStartOfWeek()}static getMinimumDaysInFirstWeek({locale:t=null,locObj:n=null}={}){return(n||mt.create(t)).getMinDaysInFirstWeek()}static getWeekendWeekdays({locale:t=null,locObj:n=null}={}){return(n||mt.create(t)).getWeekendDays().slice()}static months(t="long",{locale:n=null,numberingSystem:r=null,locObj:o=null,outputCalendar:s="gregory"}={}){return(o||mt.create(n,r,s)).months(t)}static monthsFormat(t="long",{locale:n=null,numberingSystem:r=null,locObj:o=null,outputCalendar:s="gregory"}={}){return(o||mt.create(n,r,s)).months(t,!0)}static weekdays(t="long",{locale:n=null,numberingSystem:r=null,locObj:o=null}={}){return(o||mt.create(n,r,null)).weekdays(t)}static weekdaysFormat(t="long",{locale:n=null,numberingSystem:r=null,locObj:o=null}={}){return(o||mt.create(n,r,null)).weekdays(t,!0)}static meridiems({locale:t=null}={}){return mt.create(t).meridiems()}static eras(t="short",{locale:n=null}={}){return mt.create(n,null,"gregory").eras(t)}static features(){return{relative:Ny(),localeWeek:My()}}}function yp(e,t){const n=o=>o.toUTC(0,{keepLocalTime:!0}).startOf("day").valueOf(),r=n(t)-n(e);return Math.floor(Be.fromMillis(r).as("days"))}function OT(e,t,n){const r=[["years",(l,u)=>u.year-l.year],["quarters",(l,u)=>u.quarter-l.quarter+(u.year-l.year)*4],["months",(l,u)=>u.month-l.month+(u.year-l.year)*12],["weeks",(l,u)=>{const m=yp(l,u);return(m-m%7)/7}],["days",yp]],o={},s=e;let i,a;for(const[l,u]of r)n.indexOf(l)>=0&&(i=l,o[l]=u(e,t),a=s.plus(o),a>t?(o[l]--,e=s.plus(o),e>t&&(a=e,o[l]--,e=s.plus(o))):e=a);return[e,o,a,i]}function PT(e,t,n,r){let[o,s,i,a]=OT(e,t,n);const l=t-o,u=n.filter(d=>["hours","minutes","seconds","milliseconds"].indexOf(d)>=0);u.length===0&&(i<t&&(i=o.plus({[a]:1})),i!==o&&(s[a]=(s[a]||0)+l/(i-o)));const m=Be.fromObject(s,r);return u.length>0?Be.fromMillis(l,r).shiftTo(...u).plus(m):m}const im={arab:"[٠-٩]",arabext:"[۰-۹]",bali:"[᭐-᭙]",beng:"[০-৯]",deva:"[०-९]",fullwide:"[0-9]",gujr:"[૦-૯]",hanidec:"[〇|一|二|三|四|五|六|七|八|九]",khmr:"[០-៩]",knda:"[೦-೯]",laoo:"[໐-໙]",limb:"[᥆-᥏]",mlym:"[൦-൯]",mong:"[᠐-᠙]",mymr:"[၀-၉]",orya:"[୦-୯]",tamldec:"[௦-௯]",telu:"[౦-౯]",thai:"[๐-๙]",tibt:"[༠-༩]",latn:"\\d"},vp={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]},IT=im.hanidec.replace(/[\[|\]]/g,"").split("");function RT(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(im.hanidec)!==-1)t+=IT.indexOf(e[n]);else for(const o in vp){const[s,i]=vp[o];r>=s&&r<=i&&(t+=r-s)}}return parseInt(t,10)}else return t}function Ln({numberingSystem:e},t=""){return new RegExp(`${im[e||"latn"]}${t}`)}const DT="missing Intl.DateTimeFormat.formatToParts support";function st(e,t=n=>n){return{regex:e,deser:([n])=>t(RT(n))}}const LT=" ",n1=`[ ${LT}]`,r1=new RegExp(n1,"g");function NT(e){return e.replace(/\./g,"\\.?").replace(r1,n1)}function bp(e){return e.replace(/\./g,"").replace(r1," ").toLowerCase()}function Nn(e,t){return e===null?null:{regex:RegExp(e.map(NT).join("|")),deser:([n])=>e.findIndex(r=>bp(n)===bp(r))+t}}function zp(e,t){return{regex:e,deser:([,n,r])=>oc(n,r),groups:t}}function Xi(e){return{regex:e,deser:([t])=>t}}function MT(e){return e.replace(/[\-\[\]{}()*+?.,\\\^$|#\s]/g,"\\$&")}function FT(e,t){const n=Ln(t),r=Ln(t,"{2}"),o=Ln(t,"{3}"),s=Ln(t,"{4}"),i=Ln(t,"{6}"),a=Ln(t,"{1,2}"),l=Ln(t,"{1,3}"),u=Ln(t,"{1,6}"),m=Ln(t,"{1,9}"),d=Ln(t,"{2,4}"),f=Ln(t,"{4,6}"),p=b=>({regex:RegExp(MT(b.val)),deser:([C])=>C,literal:!0}),_=(b=>{if(e.literal)return p(b);switch(b.val){case"G":return Nn(t.eras("short"),0);case"GG":return Nn(t.eras("long"),0);case"y":return st(u);case"yy":return st(d,qu);case"yyyy":return st(s);case"yyyyy":return st(f);case"yyyyyy":return st(i);case"M":return st(a);case"MM":return st(r);case"MMM":return Nn(t.months("short",!0),1);case"MMMM":return Nn(t.months("long",!0),1);case"L":return st(a);case"LL":return st(r);case"LLL":return Nn(t.months("short",!1),1);case"LLLL":return Nn(t.months("long",!1),1);case"d":return st(a);case"dd":return st(r);case"o":return st(l);case"ooo":return st(o);case"HH":return st(r);case"H":return st(a);case"hh":return st(r);case"h":return st(a);case"mm":return st(r);case"m":return st(a);case"q":return st(a);case"qq":return st(r);case"s":return st(a);case"ss":return st(r);case"S":return st(l);case"SSS":return st(o);case"u":return Xi(m);case"uu":return Xi(a);case"uuu":return st(n);case"a":return Nn(t.meridiems(),0);case"kkkk":return st(s);case"kk":return st(d,qu);case"W":return st(a);case"WW":return st(r);case"E":case"c":return st(n);case"EEE":return Nn(t.weekdays("short",!1),1);case"EEEE":return Nn(t.weekdays("long",!1),1);case"ccc":return Nn(t.weekdays("short",!0),1);case"cccc":return Nn(t.weekdays("long",!0),1);case"Z":case"ZZ":return zp(new RegExp(`([+-]${a.source})(?::(${r.source}))?`),2);case"ZZZ":return zp(new RegExp(`([+-]${a.source})(${r.source})?`),2);case"z":return Xi(/[a-z_+-/]{1,256}?/i);case" ":return Xi(/[^\S\n\r]/);default:return p(b)}})(e)||{invalidReason:DT};return _.token=e,_}const VT={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 HT(e,t,n){const{type:r,value:o}=e;if(r==="literal"){const l=/^\s+$/.test(o);return{literal:!l,val:l?" ":o}}const s=t[r];let i=r;r==="hour"&&(t.hour12!=null?i=t.hour12?"hour12":"hour24":t.hourCycle!=null?t.hourCycle==="h11"||t.hourCycle==="h12"?i="hour12":i="hour24":i=n.hour12?"hour12":"hour24");let a=VT[i];if(typeof a=="object"&&(a=a[s]),a)return{literal:!1,val:a}}function UT(e){return[`^${e.map(n=>n.regex).reduce((n,r)=>`${n}(${r.source})`,"")}$`,e]}function jT(e,t,n){const r=e.match(t);if(r){const o={};let s=1;for(const i in n)if(as(n,i)){const a=n[i],l=a.groups?a.groups+1:1;!a.literal&&a.token&&(o[a.token.val[0]]=a.deser(r.slice(s,s+l))),s+=l}return[r,o]}else return[r,{}]}function qT(e){const t=s=>{switch(s){case"S":return"millisecond";case"s":return"second";case"m":return"minute";case"h":case"H":return"hour";case"d":return"day";case"o":return"ordinal";case"L":case"M":return"month";case"y":return"year";case"E":case"c":return"weekday";case"W":return"weekNumber";case"k":return"weekYear";case"q":return"quarter";default:return null}};let n=null,r;return Ne(e.z)||(n=yr.create(e.z)),Ne(e.Z)||(n||(n=new Jt(e.Z)),r=e.Z),Ne(e.q)||(e.M=(e.q-1)*3+1),Ne(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),Ne(e.u)||(e.S=tm(e.u)),[Object.keys(e).reduce((s,i)=>{const a=t(i);return a&&(s[a]=e[i]),s},{}),n,r]}let Dc=null;function BT(){return Dc||(Dc=Ie.fromMillis(1555555555555)),Dc}function WT(e,t){if(e.literal)return e;const n=Bt.macroTokenToFormatOpts(e.val),r=i1(n,t);return r==null||r.includes(void 0)?e:r}function o1(e,t){return Array.prototype.concat(...e.map(n=>WT(n,t)))}function s1(e,t,n){const r=o1(Bt.parseFormat(n),e),o=r.map(i=>FT(i,e)),s=o.find(i=>i.invalidReason);if(s)return{input:t,tokens:r,invalidReason:s.invalidReason};{const[i,a]=UT(o),l=RegExp(i,"i"),[u,m]=jT(t,l,a),[d,f,p]=m?qT(m):[null,null,void 0];if(as(m,"a")&&as(m,"H"))throw new Ho("Can't include meridiem when specifying 24-hour format");return{input:t,tokens:r,regex:l,rawMatches:u,matches:m,result:d,zone:f,specificOffset:p}}}function GT(e,t,n){const{result:r,zone:o,specificOffset:s,invalidReason:i}=s1(e,t,n);return[r,o,s,i]}function i1(e,t){if(!e)return null;const r=Bt.create(t,e).dtFormatter(BT()),o=r.formatToParts(),s=r.resolvedOptions();return o.map(i=>HT(i,e,s))}const Lc="Invalid DateTime",wp=864e13;function Qi(e){return new Un("unsupported zone",`the zone "${e.name}" is not supported`)}function Nc(e){return e.weekData===null&&(e.weekData=gl(e.c)),e.weekData}function Mc(e){return e.localWeekData===null&&(e.localWeekData=gl(e.c,e.loc.getMinDaysInFirstWeek(),e.loc.getStartOfWeek())),e.localWeekData}function no(e,t){const n={ts:e.ts,zone:e.zone,c:e.c,o:e.o,loc:e.loc,invalid:e.invalid};return new Ie({...n,...t,old:n})}function a1(e,t,n){let r=e-t*60*1e3;const o=n.offset(r);if(t===o)return[r,t];r-=(o-t)*60*1e3;const s=n.offset(r);return o===s?[r,o]:[e-Math.min(o,s)*60*1e3,Math.max(o,s)]}function ea(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 Ga(e,t,n){return a1(rc(e),t,n)}function Cp(e,t){const n=e.o,r=e.c.year+Math.trunc(t.years),o=e.c.month+Math.trunc(t.months)+Math.trunc(t.quarters)*3,s={...e.c,year:r,month:o,day:Math.min(e.c.day,yl(r,o))+Math.trunc(t.days)+Math.trunc(t.weeks)*7},i=Be.fromObject({years:t.years-Math.trunc(t.years),quarters:t.quarters-Math.trunc(t.quarters),months:t.months-Math.trunc(t.months),weeks:t.weeks-Math.trunc(t.weeks),days:t.days-Math.trunc(t.days),hours:t.hours,minutes:t.minutes,seconds:t.seconds,milliseconds:t.milliseconds}).as("milliseconds"),a=rc(s);let[l,u]=a1(a,n,e.zone);return i!==0&&(l+=i,u=e.zone.offset(l)),{ts:l,o:u}}function Ss(e,t,n,r,o,s){const{setZone:i,zone:a}=n;if(e&&Object.keys(e).length!==0||t){const l=t||a,u=Ie.fromObject(e,{...n,zone:l,specificOffset:s});return i?u:u.setZone(a)}else return Ie.invalid(new Un("unparsable",`the input "${o}" can't be parsed as ${r}`))}function ta(e,t,n=!0){return e.isValid?Bt.create(mt.create("en-US"),{allowZ:n,forceSimple:!0}).formatDateTimeFromString(e,t):null}function Fc(e,t){const n=e.c.year>9999||e.c.year<0;let r="";return n&&e.c.year>=0&&(r+="+"),r+=Pt(e.c.year,n?6:4),t?(r+="-",r+=Pt(e.c.month),r+="-",r+=Pt(e.c.day)):(r+=Pt(e.c.month),r+=Pt(e.c.day)),r}function kp(e,t,n,r,o,s){let i=Pt(e.c.hour);return t?(i+=":",i+=Pt(e.c.minute),(e.c.millisecond!==0||e.c.second!==0||!n)&&(i+=":")):i+=Pt(e.c.minute),(e.c.millisecond!==0||e.c.second!==0||!n)&&(i+=Pt(e.c.second),(e.c.millisecond!==0||!r)&&(i+=".",i+=Pt(e.c.millisecond,3))),o&&(e.isOffsetFixed&&e.offset===0&&!s?i+="Z":e.o<0?(i+="-",i+=Pt(Math.trunc(-e.o/60)),i+=":",i+=Pt(Math.trunc(-e.o%60))):(i+="+",i+=Pt(Math.trunc(e.o/60)),i+=":",i+=Pt(Math.trunc(e.o%60)))),s&&(i+="["+e.zone.ianaName+"]"),i}const l1={month:1,day:1,hour:0,minute:0,second:0,millisecond:0},KT={weekNumber:1,weekday:1,hour:0,minute:0,second:0,millisecond:0},ZT={ordinal:1,hour:0,minute:0,second:0,millisecond:0},c1=["year","month","day","hour","minute","second","millisecond"],YT=["weekYear","weekNumber","weekday","hour","minute","second","millisecond"],JT=["year","ordinal","hour","minute","second","millisecond"];function XT(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 dy(e);return t}function xp(e){switch(e.toLowerCase()){case"localweekday":case"localweekdays":return"localWeekday";case"localweeknumber":case"localweeknumbers":return"localWeekNumber";case"localweekyear":case"localweekyears":return"localWeekYear";default:return XT(e)}}function Sp(e,t){const n=Fr(t.zone,At.defaultZone),r=mt.fromObject(t),o=At.now();let s,i;if(Ne(e.year))s=o;else{for(const u of c1)Ne(e[u])&&(e[u]=l1[u]);const a=Dy(e)||Ly(e);if(a)return Ie.invalid(a);const l=n.offset(o);[s,i]=Ga(e,l,n)}return new Ie({ts:s,zone:n,loc:r,o:i})}function Ep(e,t,n){const r=Ne(n.round)?!0:n.round,o=(i,a)=>(i=nm(i,r||n.calendary?0:2,!0),t.loc.clone(n).relFormatter(n).format(i,a)),s=i=>n.calendary?t.hasSame(e,i)?0:t.startOf(i).diff(e.startOf(i),i).get(i):t.diff(e,i).get(i);if(n.unit)return o(s(n.unit),n.unit);for(const i of n.units){const a=s(i);if(Math.abs(a)>=1)return o(a,i)}return o(e>t?-0:0,n.units[n.units.length-1])}function $p(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 Ie{constructor(t){const n=t.zone||At.defaultZone;let r=t.invalid||(Number.isNaN(t.ts)?new Un("invalid input"):null)||(n.isValid?null:Qi(n));this.ts=Ne(t.ts)?At.now():t.ts;let o=null,s=null;if(!r)if(t.old&&t.old.ts===this.ts&&t.old.zone.equals(n))[o,s]=[t.old.c,t.old.o];else{const a=n.offset(this.ts);o=ea(this.ts,a),r=Number.isNaN(o.year)?new Un("invalid input"):null,o=r?null:o,s=r?null:a}this._zone=n,this.loc=t.loc||mt.create(),this.invalid=r,this.weekData=null,this.localWeekData=null,this.c=o,this.o=s,this.isLuxonDateTime=!0}static now(){return new Ie({})}static local(){const[t,n]=$p(arguments),[r,o,s,i,a,l,u]=n;return Sp({year:r,month:o,day:s,hour:i,minute:a,second:l,millisecond:u},t)}static utc(){const[t,n]=$p(arguments),[r,o,s,i,a,l,u]=n;return t.zone=Jt.utcInstance,Sp({year:r,month:o,day:s,hour:i,minute:a,second:l,millisecond:u},t)}static fromJSDate(t,n={}){const r=E$(t)?t.valueOf():NaN;if(Number.isNaN(r))return Ie.invalid("invalid input");const o=Fr(n.zone,At.defaultZone);return o.isValid?new Ie({ts:r,zone:o,loc:mt.fromObject(n)}):Ie.invalid(Qi(o))}static fromMillis(t,n={}){if(ho(t))return t<-wp||t>wp?Ie.invalid("Timestamp out of range"):new Ie({ts:t,zone:Fr(n.zone,At.defaultZone),loc:mt.fromObject(n)});throw new sn(`fromMillis requires a numerical input, but received a ${typeof t} with value ${t}`)}static fromSeconds(t,n={}){if(ho(t))return new Ie({ts:t*1e3,zone:Fr(n.zone,At.defaultZone),loc:mt.fromObject(n)});throw new sn("fromSeconds requires a numerical input")}static fromObject(t,n={}){t=t||{};const r=Fr(n.zone,At.defaultZone);if(!r.isValid)return Ie.invalid(Qi(r));const o=mt.fromObject(n),s=vl(t,xp),{minDaysInFirstWeek:i,startOfWeek:a}=dp(s,o),l=At.now(),u=Ne(n.specificOffset)?r.offset(l):n.specificOffset,m=!Ne(s.ordinal),d=!Ne(s.year),f=!Ne(s.month)||!Ne(s.day),p=d||f,h=s.weekYear||s.weekNumber;if((p||m)&&h)throw new Ho("Can't mix weekYear/weekNumber units with year/month/day or ordinals");if(f&&m)throw new Ho("Can't mix ordinal dates with month/day");const _=h||s.weekday&&!p;let b,C,w=ea(l,u);_?(b=YT,C=KT,w=gl(w,i,a)):m?(b=JT,C=ZT,w=Rc(w)):(b=c1,C=l1);let v=!1;for(const N of b){const Z=s[N];Ne(Z)?v?s[N]=C[N]:s[N]=w[N]:v=!0}const z=_?k$(s,i,a):m?x$(s):Dy(s),E=z||Ly(s);if(E)return Ie.invalid(E);const x=_?cp(s,i,a):m?up(s):s,[M,P]=Ga(x,u,r),I=new Ie({ts:M,zone:r,o:P,loc:o});return s.weekday&&p&&t.weekday!==I.weekday?Ie.invalid("mismatched weekday",`you can't specify both a weekday of ${s.weekday} and a date of ${I.toISO()}`):I}static fromISO(t,n={}){const[r,o]=_T(t);return Ss(r,o,n,"ISO 8601",t)}static fromRFC2822(t,n={}){const[r,o]=gT(t);return Ss(r,o,n,"RFC 2822",t)}static fromHTTP(t,n={}){const[r,o]=yT(t);return Ss(r,o,n,"HTTP",n)}static fromFormat(t,n,r={}){if(Ne(t)||Ne(n))throw new sn("fromFormat requires an input string and a format");const{locale:o=null,numberingSystem:s=null}=r,i=mt.fromOpts({locale:o,numberingSystem:s,defaultToEN:!0}),[a,l,u,m]=GT(i,t,n);return m?Ie.invalid(m):Ss(a,l,r,`format ${n}`,t,u)}static fromString(t,n,r={}){return Ie.fromFormat(t,n,r)}static fromSQL(t,n={}){const[r,o]=xT(t);return Ss(r,o,n,"SQL",t)}static invalid(t,n=null){if(!t)throw new sn("need to specify a reason the DateTime is invalid");const r=t instanceof Un?t:new Un(t,n);if(At.throwOnInvalid)throw new e$(r);return new Ie({invalid:r})}static isDateTime(t){return t&&t.isLuxonDateTime||!1}static parseFormatForOpts(t,n={}){const r=i1(t,mt.fromObject(n));return r?r.map(o=>o?o.val:null).join(""):null}static expandFormat(t,n={}){return o1(Bt.parseFormat(t),mt.fromObject(n)).map(o=>o.val).join("")}get(t){return this[t]}get isValid(){return this.invalid===null}get invalidReason(){return this.invalid?this.invalid.reason:null}get invalidExplanation(){return this.invalid?this.invalid.explanation:null}get locale(){return this.isValid?this.loc.locale:null}get numberingSystem(){return this.isValid?this.loc.numberingSystem:null}get outputCalendar(){return this.isValid?this.loc.outputCalendar:null}get zone(){return this._zone}get zoneName(){return this.isValid?this.zone.name:null}get year(){return this.isValid?this.c.year:NaN}get quarter(){return this.isValid?Math.ceil(this.c.month/3):NaN}get month(){return this.isValid?this.c.month:NaN}get day(){return this.isValid?this.c.day:NaN}get hour(){return this.isValid?this.c.hour:NaN}get minute(){return this.isValid?this.c.minute:NaN}get second(){return this.isValid?this.c.second:NaN}get millisecond(){return this.isValid?this.c.millisecond:NaN}get weekYear(){return this.isValid?Nc(this).weekYear:NaN}get weekNumber(){return this.isValid?Nc(this).weekNumber:NaN}get weekday(){return this.isValid?Nc(this).weekday:NaN}get isWeekend(){return this.isValid&&this.loc.getWeekendDays().includes(this.weekday)}get localWeekday(){return this.isValid?Mc(this).weekday:NaN}get localWeekNumber(){return this.isValid?Mc(this).weekNumber:NaN}get localWeekYear(){return this.isValid?Mc(this).weekYear:NaN}get ordinal(){return this.isValid?Rc(this.c).ordinal:NaN}get monthShort(){return this.isValid?Ji.months("short",{locObj:this.loc})[this.month-1]:null}get monthLong(){return this.isValid?Ji.months("long",{locObj:this.loc})[this.month-1]:null}get weekdayShort(){return this.isValid?Ji.weekdays("short",{locObj:this.loc})[this.weekday-1]:null}get weekdayLong(){return this.isValid?Ji.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=rc(this.c),o=this.zone.offset(r-t),s=this.zone.offset(r+t),i=this.zone.offset(r-o*n),a=this.zone.offset(r-s*n);if(i===a)return[this];const l=r-i*n,u=r-a*n,m=ea(l,i),d=ea(u,a);return m.hour===d.hour&&m.minute===d.minute&&m.second===d.second&&m.millisecond===d.millisecond?[no(this,{ts:l}),no(this,{ts:u})]:[this]}get isInLeapYear(){return Ti(this.year)}get daysInMonth(){return yl(this.year,this.month)}get daysInYear(){return this.isValid?Jo(this.year):NaN}get weeksInWeekYear(){return this.isValid?pi(this.weekYear):NaN}get weeksInLocalWeekYear(){return this.isValid?pi(this.localWeekYear,this.loc.getMinDaysInFirstWeek(),this.loc.getStartOfWeek()):NaN}resolvedLocaleOptions(t={}){const{locale:n,numberingSystem:r,calendar:o}=Bt.create(this.loc.clone(t),t).resolvedOptions(this);return{locale:n,numberingSystem:r,outputCalendar:o}}toUTC(t=0,n={}){return this.setZone(Jt.instance(t),n)}toLocal(){return this.setZone(At.defaultZone)}setZone(t,{keepLocalTime:n=!1,keepCalendarTime:r=!1}={}){if(t=Fr(t,At.defaultZone),t.equals(this.zone))return this;if(t.isValid){let o=this.ts;if(n||r){const s=t.offset(this.ts),i=this.toObject();[o]=Ga(i,s,t)}return no(this,{ts:o,zone:t})}else return Ie.invalid(Qi(t))}reconfigure({locale:t,numberingSystem:n,outputCalendar:r}={}){const o=this.loc.clone({locale:t,numberingSystem:n,outputCalendar:r});return no(this,{loc:o})}setLocale(t){return this.reconfigure({locale:t})}set(t){if(!this.isValid)return this;const n=vl(t,xp),{minDaysInFirstWeek:r,startOfWeek:o}=dp(n,this.loc),s=!Ne(n.weekYear)||!Ne(n.weekNumber)||!Ne(n.weekday),i=!Ne(n.ordinal),a=!Ne(n.year),l=!Ne(n.month)||!Ne(n.day),u=a||l,m=n.weekYear||n.weekNumber;if((u||i)&&m)throw new Ho("Can't mix weekYear/weekNumber units with year/month/day or ordinals");if(l&&i)throw new Ho("Can't mix ordinal dates with month/day");let d;s?d=cp({...gl(this.c,r,o),...n},r,o):Ne(n.ordinal)?(d={...this.toObject(),...n},Ne(n.day)&&(d.day=Math.min(yl(d.year,d.month),d.day))):d=up({...Rc(this.c),...n});const[f,p]=Ga(d,this.o,this.zone);return no(this,{ts:f,o:p})}plus(t){if(!this.isValid)return this;const n=Be.fromDurationLike(t);return no(this,Cp(this,n))}minus(t){if(!this.isValid)return this;const n=Be.fromDurationLike(t).negate();return no(this,Cp(this,n))}startOf(t,{useLocaleWeeks:n=!1}={}){if(!this.isValid)return this;const r={},o=Be.normalizeUnit(t);switch(o){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(o==="weeks")if(n){const s=this.loc.getStartOfWeek(),{weekday:i}=this;i<s&&(r.weekNumber=this.weekNumber-1),r.weekday=s}else r.weekday=1;if(o==="quarters"){const s=Math.ceil(this.month/3);r.month=(s-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?Bt.create(this.loc.redefaultToEN(n)).formatDateTimeFromString(this,t):Lc}toLocaleString(t=_l,n={}){return this.isValid?Bt.create(this.loc.clone(n),t).formatDateTime(this):Lc}toLocaleParts(t={}){return this.isValid?Bt.create(this.loc.clone(t),t).formatDateTimeParts(this):[]}toISO({format:t="extended",suppressSeconds:n=!1,suppressMilliseconds:r=!1,includeOffset:o=!0,extendedZone:s=!1}={}){if(!this.isValid)return null;const i=t==="extended";let a=Fc(this,i);return a+="T",a+=kp(this,i,n,r,o,s),a}toISODate({format:t="extended"}={}){return this.isValid?Fc(this,t==="extended"):null}toISOWeekDate(){return ta(this,"kkkk-'W'WW-c")}toISOTime({suppressMilliseconds:t=!1,suppressSeconds:n=!1,includeOffset:r=!0,includePrefix:o=!1,extendedZone:s=!1,format:i="extended"}={}){return this.isValid?(o?"T":"")+kp(this,i==="extended",n,t,r,s):null}toRFC2822(){return ta(this,"EEE, dd LLL yyyy HH:mm:ss ZZZ",!1)}toHTTP(){return ta(this.toUTC(),"EEE, dd LLL yyyy HH:mm:ss 'GMT'")}toSQLDate(){return this.isValid?Fc(this,!0):null}toSQLTime({includeOffset:t=!0,includeZone:n=!1,includeOffsetSpace:r=!0}={}){let o="HH:mm:ss.SSS";return(n||t)&&(r&&(o+=" "),n?o+="z":t&&(o+="ZZ")),ta(this,o,!0)}toSQL(t={}){return this.isValid?`${this.toSQLDate()} ${this.toSQLTime(t)}`:null}toString(){return this.isValid?this.toISO():Lc}[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 Be.invalid("created by diffing an invalid DateTime");const o={locale:this.locale,numberingSystem:this.numberingSystem,...r},s=$$(n).map(Be.normalizeUnit),i=t.valueOf()>this.valueOf(),a=i?this:t,l=i?t:this,u=PT(a,l,s,o);return i?u.negate():u}diffNow(t="milliseconds",n={}){return this.diff(Ie.now(),t,n)}until(t){return this.isValid?St.fromDateTimes(this,t):this}hasSame(t,n,r){if(!this.isValid)return!1;const o=t.valueOf(),s=this.setZone(t.zone,{keepLocalTime:!0});return s.startOf(n,r)<=o&&o<=s.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||Ie.fromObject({},{zone:this.zone}),r=t.padding?this<n?-t.padding:t.padding:0;let o=["years","months","days","hours","minutes","seconds"],s=t.unit;return Array.isArray(t.unit)&&(o=t.unit,s=void 0),Ep(n,this.plus(r),{...t,numeric:"always",units:o,unit:s})}toRelativeCalendar(t={}){return this.isValid?Ep(t.base||Ie.fromObject({},{zone:this.zone}),this,{...t,numeric:"auto",units:["years","months","days"],calendary:!0}):null}static min(...t){if(!t.every(Ie.isDateTime))throw new sn("min requires all arguments be DateTimes");return mp(t,n=>n.valueOf(),Math.min)}static max(...t){if(!t.every(Ie.isDateTime))throw new sn("max requires all arguments be DateTimes");return mp(t,n=>n.valueOf(),Math.max)}static fromFormatExplain(t,n,r={}){const{locale:o=null,numberingSystem:s=null}=r,i=mt.fromOpts({locale:o,numberingSystem:s,defaultToEN:!0});return s1(i,t,n)}static fromStringExplain(t,n,r={}){return Ie.fromFormatExplain(t,n,r)}static get DATE_SHORT(){return _l}static get DATE_MED(){return my}static get DATE_MED_WITH_WEEKDAY(){return r$}static get DATE_FULL(){return fy}static get DATE_HUGE(){return py}static get TIME_SIMPLE(){return hy}static get TIME_WITH_SECONDS(){return _y}static get TIME_WITH_SHORT_OFFSET(){return gy}static get TIME_WITH_LONG_OFFSET(){return yy}static get TIME_24_SIMPLE(){return vy}static get TIME_24_WITH_SECONDS(){return by}static get TIME_24_WITH_SHORT_OFFSET(){return zy}static get TIME_24_WITH_LONG_OFFSET(){return wy}static get DATETIME_SHORT(){return Cy}static get DATETIME_SHORT_WITH_SECONDS(){return ky}static get DATETIME_MED(){return xy}static get DATETIME_MED_WITH_SECONDS(){return Sy}static get DATETIME_MED_WITH_WEEKDAY(){return o$}static get DATETIME_FULL(){return Ey}static get DATETIME_FULL_WITH_SECONDS(){return $y}static get DATETIME_HUGE(){return Ty}static get DATETIME_HUGE_WITH_SECONDS(){return Ay}}function Es(e){if(Ie.isDateTime(e))return e;if(e&&e.valueOf&&ho(e.valueOf()))return Ie.fromJSDate(e);if(e&&typeof e=="object")return Ie.fromObject(e);throw new sn(`Unknown datetime argument: ${e}, of type ${typeof e}`)}const{t:Vc,locale:Hc}=Xl.global,QT={durationInHours(e){const t=e>=36e5?"h:mm:ss":"m:ss";return Be.fromMillis(e).toFormat(t)},durationInDays(e){const t=Math.floor(e/6e4);return t>1440?Be.fromObject({minutes:t}).shiftTo("days","hours","minutes").toHuman():t>60?Be.fromObject({minutes:t}).shiftTo("hours","minutes").toHuman():Be.fromObject({minutes:t}).shiftTo("minutes").toHuman()},date(e){return Ie.fromISO(e).setLocale(Hc.value).toLocaleString(Ie.DATE_FULL)},datetime(e){return Ie.fromISO(e).setLocale(Hc.value).toLocaleString(Ie.DATETIME_MED)},timeFromNow(e){const t=Ie.now().diff(Ie.fromISO(e));return this.durationInDays(t.as("milliseconds"))},number(e){return e.toLocaleString(Hc.value)},channels(e){return e===1?Vc("filter.mono"):e===2?Vc("filter.stereo"):e?Vc("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`}},eA={mdiAccountMusic:W0,mdiAlbum:G0,mdiArrowCollapseDown:Z0,mdiBookOpenPageVariant:Y0,mdiBookOpenVariant:J0,mdiBookshelf:X0,mdiBroadcast:Q0,mdiCancel:ql,mdiCast:ew,mdiCastVariant:tw,mdiCellphone:nw,mdiCheck:rw,mdiChevronDown:ow,mdiChevronUp:sw,mdiContentSave:iw,mdiDelete:aw,mdiDeleteEmpty:lw,mdiDotsHorizontal:cw,mdiDotsVertical:uw,mdiDragHorizontal:dw,mdiFastForward30:mw,mdiFileMusic:fw,mdiFileOutline:pw,mdiFire:hw,mdiFolder:_w,mdiFolderOpen:gw,mdiHistory:yw,mdiLoading:vw,mdiMagnify:bw,mdiMenu:zw,mdiMicrophone:ww,mdiMusic:Cw,mdiMusicBoxMultiple:kw,mdiOpenInNew:xw,mdiPause:Sw,mdiPencil:Ew,mdiPipe:$w,mdiPlay:Tw,mdiPlaylistPlay:Aw,mdiPlaylistPlus:Ow,mdiRadio:Pw,mdiRadioTower:Iw,mdiRefresh:Rw,mdiRepeat:Dw,mdiRepeatOff:Lw,mdiRepeatOnce:Nw,mdiRewind10:Mw,mdiRss:Fw,mdiScriptTextOutline:Vw,mdiScriptTextPlay:Hw,mdiServer:Uw,mdiShuffle:jw,mdiShuffleDisabled:qw,mdiSkipBackward:Bw,mdiSkipForward:Ww,mdiSpeaker:Gw,mdiSpotify:Kw,mdiStop:Zw,mdiSubdirectoryArrowLeft:Yw,mdiVolumeHigh:Jw,mdiVolumeOff:Xw,mdiWeb:Qw},tA={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}},nA=e=>e.charAt(0).toUpperCase()+e.slice(1),rA=e=>e.split("-").map(nA).join(""),oA=(e,t,n)=>{const r=e[`mdi${rA(t.name)}`]||K0,o={role:t.role,"aria-label":t.ariaLabel,...n},s={fill:"currentColor",width:t.width||t.size,height:t.height||t.size,viewBox:t.viewBox,xmlns:t.xmlns};return{spanAttrs:o,svgAttrs:s,pathAttrs:{d:r}}},sA=(e,t)=>({[t.staticClass||""]:!0,[t.class||""]:!0,[`mdi mdi-${e.name}`]:!0,"mdi-spin":e.spin===!0}),iA=(e,t={})=>({install(n,{icons:r}){if(r===void 0)throw new Error("Icons must be provided separately");n.component("mdicon",{name:"MDIcon",props:tA,...t,render:e(r)})}}),aA=e=>function(){const{spanAttrs:n,svgAttrs:r,pathAttrs:o}=oA(e,this,this.$attrs);return er("span",{...n,class:sA(this,this)},[er("svg",r,[this.title?er("title",[this.title]):void 0,er("path",o)])])},lA=iA(aA),u1=function(){return document.ontouchstart!==null?"click":"touchstart"},bl="__vue_click_away__",d1=function(e,t,n){m1(e);let r=n.context,o=t.value,s=!1;setTimeout(function(){s=!0},0),e[bl]=function(i){if((!e||!e.contains(i.target))&&o&&s&&typeof o=="function")return o.call(r,i)},document.addEventListener(u1(),e[bl],!1)},m1=function(e){document.removeEventListener(u1(),e[bl],!1),delete e[bl]},cA=function(e,t,n){t.value!==t.oldValue&&d1(e,t,n)},uA={install:function(e){e.directive("click-away",dA)}},dA={mounted:d1,updated:cA,unmounted:m1};var Jn=(e=>(e.LOADING="loading",e.LOADED="loaded",e.ERROR="error",e))(Jn||{});const mA=typeof window<"u"&&window!==null,fA=gA(),pA=Object.prototype.propertyIsEnumerable,Tp=Object.getOwnPropertySymbols;function Ks(e){return typeof e=="function"||toString.call(e)==="[object Object]"}function hA(e){return typeof e=="object"?e===null:typeof e!="function"}function _A(e){return e!=="__proto__"&&e!=="constructor"&&e!=="prototype"}function gA(){return mA&&"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 yA(e,...t){if(!Ks(e))throw new TypeError("expected the first argument to be an object");if(t.length===0||typeof Symbol!="function"||typeof Tp!="function")return e;for(const n of t){const r=Tp(n);for(const o of r)pA.call(n,o)&&(e[o]=n[o])}return e}function f1(e,...t){let n=0;for(hA(e)&&(e=t[n++]),e||(e={});n<t.length;n++)if(Ks(t[n])){for(const r of Object.keys(t[n]))_A(r)&&(Ks(e[r])&&Ks(t[n][r])?f1(e[r],t[n][r]):e[r]=t[n][r]);yA(e,t[n])}return e}const Ap="data:image/gif;base64,R0lGODlhAQABAIAAAAAAAP///yH5BAEAAAAALAAAAAABAAEAAAIBRAA7",vA="",bA={rootMargin:"0px",threshold:0},Po="data-lazy-timeout-id";class zA{constructor(t){this.options={loading:Ap,error:vA,observerOptions:bA,log:!0,lifecycle:{},logLevel:"error"},this._images=new WeakMap,this.config(t)}config(t={}){f1(this.options,t)}mount(t,n){if(!t)return;const{src:r,loading:o,error:s,lifecycle:i,delay:a}=this._valueFormatter(typeof n=="string"?n:n.value);this._lifecycle(Jn.LOADING,i,t),t.setAttribute("src",o||Ap),fA||(this.loadImages(t,r,s,i),this._log(()=>{this._logger("Not support IntersectionObserver!")})),this._initIntersectionObserver(t,r,s,i,a)}update(t,n){var a;if(!t)return;(a=this._realObserver(t))==null||a.unobserve(t);const{src:r,error:o,lifecycle:s,delay:i}=this._valueFormatter(typeof n=="string"?n:n.value);this._initIntersectionObserver(t,r,o,s,i)}unmount(t){var n;t&&((n=this._realObserver(t))==null||n.unobserve(t),this._images.delete(t))}loadImages(t,n,r,o){this._setImageSrc(t,n,r,o)}_setImageSrc(t,n,r,o){t.tagName.toLowerCase()==="img"?(n&&t.getAttribute("src")!==n&&t.setAttribute("src",n),this._listenImageStatus(t,()=>{this._lifecycle(Jn.LOADED,o,t)},()=>{var s;t.onload=null,this._lifecycle(Jn.ERROR,o,t),(s=this._realObserver(t))==null||s.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,o,s){var a;const i=this.options.observerOptions;this._images.set(t,new IntersectionObserver(l=>{Array.prototype.forEach.call(l,u=>{s&&s>0?this._delayedIntersectionCallback(t,u,s,n,r,o):this._intersectionCallback(t,u,n,r,o)})},i)),(a=this._realObserver(t))==null||a.observe(t)}_intersectionCallback(t,n,r,o,s){var i;n.isIntersecting&&((i=this._realObserver(t))==null||i.unobserve(n.target),this._setImageSrc(t,r,o,s))}_delayedIntersectionCallback(t,n,r,o,s,i){if(n.isIntersecting){if(n.target.hasAttribute(Po))return;const a=setTimeout(()=>{this._intersectionCallback(t,n,o,s,i),n.target.removeAttribute(Po)},r);n.target.setAttribute(Po,String(a))}else n.target.hasAttribute(Po)&&(clearTimeout(Number(n.target.getAttribute(Po))),n.target.removeAttribute(Po))}_listenImageStatus(t,n,r){t.onload=n,t.onerror=r}_valueFormatter(t){let n=t,r=this.options.loading,o=this.options.error,s=this.options.lifecycle,i=this.options.delay;return Ks(t)&&(n=t.src,r=t.loading||this.options.loading,o=t.error||this.options.error,s=t.lifecycle||this.options.lifecycle,i=t.delay||this.options.delay),{src:n,loading:r,error:o,lifecycle:s,delay:i}}_log(t){this.options.log&&t()}_lifecycle(t,n,r){switch(t){case Jn.LOADING:r==null||r.setAttribute("lazy",Jn.LOADING),n!=null&&n.loading&&n.loading(r);break;case Jn.LOADED:r==null||r.setAttribute("lazy",Jn.LOADED),n!=null&&n.loaded&&n.loaded(r);break;case Jn.ERROR:r==null||r.setAttribute("lazy",Jn.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 wA={install(e,t){const n=new zA(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 p1={exports:{}};const h1=cy(p0);(function(e){e.exports=function(t){var n={};function r(o){if(n[o])return n[o].exports;var s=n[o]={i:o,l:!1,exports:{}};return t[o].call(s.exports,s,s.exports,r),s.l=!0,s.exports}return r.m=t,r.c=n,r.d=function(o,s,i){r.o(o,s)||Object.defineProperty(o,s,{enumerable:!0,get:i})},r.r=function(o){typeof Symbol<"u"&&Symbol.toStringTag&&Object.defineProperty(o,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(o,"__esModule",{value:!0})},r.t=function(o,s){if(s&1&&(o=r(o)),s&8||s&4&&typeof o=="object"&&o&&o.__esModule)return o;var i=Object.create(null);if(r.r(i),Object.defineProperty(i,"default",{enumerable:!0,value:o}),s&2&&typeof o!="string")for(var a in o)r.d(i,a,(function(l){return o[l]}).bind(null,a));return i},r.n=function(o){var s=o&&o.__esModule?function(){return o.default}:function(){return o};return r.d(s,"a",s),s},r.o=function(o,s){return Object.prototype.hasOwnProperty.call(o,s)},r.p="",r(r.s="fb15")}({8875:function(t,n,r){var o,s,i;(function(a,l){s=[],o=l,i=typeof o=="function"?o.apply(n,s):o,i!==void 0&&(t.exports=i)})(typeof self<"u"?self:this,function(){function a(){var l=Object.getOwnPropertyDescriptor(document,"currentScript");if(!l&&"currentScript"in document&&document.currentScript||l&&l.get!==a&&document.currentScript)return document.currentScript;try{throw new Error}catch(z){var u=/.*at [^(]*\((.*):(.+):(.+)\)$/ig,m=/@([^@]*):(\d+):(\d+)\s*$/ig,d=u.exec(z.stack)||m.exec(z.stack),f=d&&d[1]||!1,p=d&&d[2]||!1,h=document.location.href.replace(document.location.hash,""),_,b,C,w=document.getElementsByTagName("script");f===h&&(_=document.documentElement.outerHTML,b=new RegExp("(?:[^\\n]+?\\n){0,"+(p-2)+"}[^<]*<script>([\\d\\D]*?)<\\/script>[\\d\\D]*","i"),C=_.replace(b,"$1").trim());for(var v=0;v<w.length;v++)if(w[v].readyState==="interactive"||w[v].src===f||f===h&&w[v].innerHTML&&w[v].innerHTML.trim()===C)return w[v];return null}}return a})},"8bbf":function(t,n){t.exports=h1},fb15:function(t,n,r){if(r.r(n),typeof window<"u"){var o=window.document.currentScript;{var s=r("8875");o=s(),"currentScript"in document||Object.defineProperty(document,"currentScript",{get:s})}var i=o&&o.src.match(/(.+\/)[^/]+\.js(\?.*)?$/);i&&(r.p=i[1])}var a=r("8bbf");function l(h,_,b,C,w,v){return Object(a.openBlock)(),Object(a.createBlock)("div",{style:C.finalStyle},null,4)}var u=typeof window<"u",m={name:"VueProgress",serverCacheKey:function(){return"Progress"},setup:function(){var _=u?Object(a.inject)("RADON_LOADING_BAR"):{percent:0,options:{canSuccess:!0,show:!1,color:"rgb(19, 91, 55)",failedColor:"red",thickness:"2px",transition:{speed:"0.2s",opacity:"0.6s",termination:300},location:"top",autoRevert:!0,inverse:!1}},b=Object(a.computed)(function(){var C=_.options,w=!!C.show,v=C.location,z={"z-index":999999,"background-color":C.canSuccess?C.color:C.failedColor,opacity:C.show?1:0,position:C.position};return v==="top"||v==="bottom"?(v==="top"?z.top="0px":z.bottom="0px",C.inverse?z.right="0px":z.left="0px",z.width=_.percent+"%",z.height=C.thickness,z.transition=(w?"width "+C.transition.speed+", ":"")+"opacity "+C.transition.opacity):(v==="left"||v==="right")&&(v==="left"?z.left="0px":z.right="0px",C.inverse?z.top="0px":z.bottom="0px",z.height=_.percent+"%",z.width=C.thickness,z.transition=(w?"height "+C.transition.speed+", ":"")+"opacity "+C.transition.opacity),z});return{progress:_,finalStyle:b}}};m.render=l;var d=m;function f(h,_){for(var b=1,C,w;b<arguments.length;++b){w=arguments[b];for(C in w)Object.prototype.hasOwnProperty.call(w,C)&&(h[C]=w[C])}return h}var p={install:function(_,b){var C={canSuccess:!0,show:!1,color:"#73ccec",position:"fixed",failedColor:"red",thickness:"2px",transition:{speed:"0.2s",opacity:"0.6s",termination:300},autoRevert:!0,location:"top",inverse:!1,autoFinish:!0},w=f(C,b),v=Object(a.reactive)({percent:0,options:w});_.provide("RADON_LOADING_BAR",v);var z={state:{tFailColor:"",tColor:"",timer:null,cut:0},start:function(x){var M=this;x||(x=3e3),v.percent=0,v.options.show=!0,v.options.canSuccess=!0,this.state.cut=1e4/Math.floor(x),clearInterval(this.state.timer),this.state.timer=setInterval(function(){M.increase(M.state.cut*Math.random()),v.percent>95&&v.options.autoFinish&&M.finish()},100)},set:function(x){v.options.show=!0,v.options.canSuccess=!0,v.percent=Math.floor(x)},get:function(){return Math.floor(v.percent)},increase:function(x){v.percent=Math.min(99,v.percent+Math.floor(x))},decrease:function(x){v.percent=v.percent-Math.floor(x)},hide:function(){var x=this;clearInterval(this.state.timer),this.state.timer=null,setTimeout(function(){v.options.show=!1,Object(a.nextTick)(function(){setTimeout(function(){v.percent=0},100),v.options.autoRevert&&setTimeout(function(){x.revert()},300)})},v.options.transition.termination)},pause:function(){clearInterval(this.state.timer)},finish:function(){v.percent=100,this.hide()},fail:function(){v.options.canSuccess=!1,v.percent=100,this.hide()},setFailColor:function(x){v.options.failedColor=x},setColor:function(x){v.options.color=x},setLocation:function(x){v.options.location=x},setTransition:function(x){v.options.transition=x},tempFailColor:function(x){this.state.tFailColor=v.options.failedColor,v.options.failedColor=x},tempColor:function(x){this.state.tColor=v.options.color,v.options.color=x},tempLocation:function(x){this.state.tLocation=v.options.location,v.options.location=x},tempTransition:function(x){this.state.tTransition=v.options.transition,v.options.transition=x},revertColor:function(){v.options.color=this.state.tColor,this.state.tColor=""},revertFailColor:function(){v.options.failedColor=this.state.tFailColor,this.state.tFailColor=""},revertLocation:function(){v.options.location=this.state.tLocation,this.state.tLocation=""},revertTransition:function(){v.options.transition=this.state.tTransition,this.state.tTransition={}},revert:function(){v.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(x){for(var M in x.func){var P=x.func[M];switch(P.call){case"color":switch(P.modifier){case"set":this.setColor(P.argument);break;case"temp":this.tempColor(P.argument);break}break;case"fail":switch(P.modifier){case"set":this.setFailColor(P.argument);break;case"temp":this.tempFailColor(P.argument);break}break;case"location":switch(P.modifier){case"set":this.setLocation(P.argument);break;case"temp":this.tempLocation(P.argument);break}break;case"transition":switch(P.modifier){case"set":this.setTransition(P.argument);break;case"temp":this.tempTransition(P.argument);break}break}}}};_.component("vue-progress-bar",d),_.config.globalProperties.$Progress=z}};n.default=p}})})(p1);var CA=p1.exports;const kA=ec(CA);/*!
|
||
* vue-router v4.3.0
|
||
* (c) 2024 Eduardo San Martin Morote
|
||
* @license MIT
|
||
*/const Mo=typeof document<"u";function xA(e){return e.__esModule||e[Symbol.toStringTag]==="Module"}const lt=Object.assign;function Uc(e,t){const n={};for(const r in t){const o=t[r];n[r]=Gn(o)?o.map(e):e(o)}return n}const Zs=()=>{},Gn=Array.isArray,_1=/#/g,SA=/&/g,EA=/\//g,$A=/=/g,TA=/\?/g,g1=/\+/g,AA=/%5B/g,OA=/%5D/g,y1=/%5E/g,PA=/%60/g,v1=/%7B/g,IA=/%7C/g,b1=/%7D/g,RA=/%20/g;function am(e){return encodeURI(""+e).replace(IA,"|").replace(AA,"[").replace(OA,"]")}function DA(e){return am(e).replace(v1,"{").replace(b1,"}").replace(y1,"^")}function Bu(e){return am(e).replace(g1,"%2B").replace(RA,"+").replace(_1,"%23").replace(SA,"%26").replace(PA,"`").replace(v1,"{").replace(b1,"}").replace(y1,"^")}function LA(e){return Bu(e).replace($A,"%3D")}function NA(e){return am(e).replace(_1,"%23").replace(TA,"%3F")}function MA(e){return e==null?"":NA(e).replace(EA,"%2F")}function hi(e){try{return decodeURIComponent(""+e)}catch{}return""+e}const FA=/\/$/,VA=e=>e.replace(FA,"");function jc(e,t,n="/"){let r,o={},s="",i="";const a=t.indexOf("#");let l=t.indexOf("?");return a<l&&a>=0&&(l=-1),l>-1&&(r=t.slice(0,l),s=t.slice(l+1,a>-1?a:t.length),o=e(s)),a>-1&&(r=r||t.slice(0,a),i=t.slice(a,t.length)),r=qA(r??t,n),{fullPath:r+(s&&"?")+s+i,path:r,query:o,hash:hi(i)}}function HA(e,t){const n=t.query?e(t.query):"";return t.path+(n&&"?")+n+(t.hash||"")}function Op(e,t){return!t||!e.toLowerCase().startsWith(t.toLowerCase())?e:e.slice(t.length)||"/"}function UA(e,t,n){const r=t.matched.length-1,o=n.matched.length-1;return r>-1&&r===o&&ls(t.matched[r],n.matched[o])&&z1(t.params,n.params)&&e(t.query)===e(n.query)&&t.hash===n.hash}function ls(e,t){return(e.aliasOf||e)===(t.aliasOf||t)}function z1(e,t){if(Object.keys(e).length!==Object.keys(t).length)return!1;for(const n in e)if(!jA(e[n],t[n]))return!1;return!0}function jA(e,t){return Gn(e)?Pp(e,t):Gn(t)?Pp(t,e):e===t}function Pp(e,t){return Gn(t)?e.length===t.length&&e.every((n,r)=>n===t[r]):e.length===1&&e[0]===t}function qA(e,t){if(e.startsWith("/"))return e;if(!e)return t;const n=t.split("/"),r=e.split("/"),o=r[r.length-1];(o===".."||o===".")&&r.push("");let s=n.length-1,i,a;for(i=0;i<r.length;i++)if(a=r[i],a!==".")if(a==="..")s>1&&s--;else break;return n.slice(0,s).join("/")+"/"+r.slice(i).join("/")}var _i;(function(e){e.pop="pop",e.push="push"})(_i||(_i={}));var Ys;(function(e){e.back="back",e.forward="forward",e.unknown=""})(Ys||(Ys={}));function BA(e){if(!e)if(Mo){const t=document.querySelector("base");e=t&&t.getAttribute("href")||"/",e=e.replace(/^\w+:\/\/[^\/]+/,"")}else e="/";return e[0]!=="/"&&e[0]!=="#"&&(e="/"+e),VA(e)}const WA=/^[^#]+#/;function GA(e,t){return e.replace(WA,"#")+t}function KA(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 ic=()=>({left:window.scrollX,top:window.scrollY});function ZA(e){let t;if("el"in e){const n=e.el,r=typeof n=="string"&&n.startsWith("#"),o=typeof n=="string"?r?document.getElementById(n.slice(1)):document.querySelector(n):n;if(!o)return;t=KA(o,e)}else t=e;"scrollBehavior"in document.documentElement.style?window.scrollTo(t):window.scrollTo(t.left!=null?t.left:window.scrollX,t.top!=null?t.top:window.scrollY)}function Ip(e,t){return(history.state?history.state.position-t:-1)+e}const Wu=new Map;function YA(e,t){Wu.set(e,t)}function JA(e){const t=Wu.get(e);return Wu.delete(e),t}let XA=()=>location.protocol+"//"+location.host;function w1(e,t){const{pathname:n,search:r,hash:o}=t,s=e.indexOf("#");if(s>-1){let a=o.includes(e.slice(s))?e.slice(s).length:1,l=o.slice(a);return l[0]!=="/"&&(l="/"+l),Op(l,"")}return Op(n,e)+r+o}function QA(e,t,n,r){let o=[],s=[],i=null;const a=({state:f})=>{const p=w1(e,location),h=n.value,_=t.value;let b=0;if(f){if(n.value=p,t.value=f,i&&i===h){i=null;return}b=_?f.position-_.position:0}else r(p);o.forEach(C=>{C(n.value,h,{delta:b,type:_i.pop,direction:b?b>0?Ys.forward:Ys.back:Ys.unknown})})};function l(){i=n.value}function u(f){o.push(f);const p=()=>{const h=o.indexOf(f);h>-1&&o.splice(h,1)};return s.push(p),p}function m(){const{history:f}=window;f.state&&f.replaceState(lt({},f.state,{scroll:ic()}),"")}function d(){for(const f of s)f();s=[],window.removeEventListener("popstate",a),window.removeEventListener("beforeunload",m)}return window.addEventListener("popstate",a),window.addEventListener("beforeunload",m,{passive:!0}),{pauseListeners:l,listen:u,destroy:d}}function Rp(e,t,n,r=!1,o=!1){return{back:e,current:t,forward:n,replaced:r,position:window.history.length,scroll:o?ic():null}}function eO(e){const{history:t,location:n}=window,r={value:w1(e,n)},o={value:t.state};o.value||s(r.value,{back:null,current:r.value,forward:null,position:t.length-1,replaced:!0,scroll:null},!0);function s(l,u,m){const d=e.indexOf("#"),f=d>-1?(n.host&&document.querySelector("base")?e:e.slice(d))+l:XA()+e+l;try{t[m?"replaceState":"pushState"](u,"",f),o.value=u}catch(p){console.error(p),n[m?"replace":"assign"](f)}}function i(l,u){const m=lt({},t.state,Rp(o.value.back,l,o.value.forward,!0),u,{position:o.value.position});s(l,m,!0),r.value=l}function a(l,u){const m=lt({},o.value,t.state,{forward:l,scroll:ic()});s(m.current,m,!0);const d=lt({},Rp(r.value,l,null),{position:m.position+1},u);s(l,d,!1),r.value=l}return{location:r,state:o,push:a,replace:i}}function tO(e){e=BA(e);const t=eO(e),n=QA(e,t.state,t.location,t.replace);function r(s,i=!0){i||n.pauseListeners(),history.go(s)}const o=lt({location:"",base:e,go:r,createHref:GA.bind(null,e)},t,n);return Object.defineProperty(o,"location",{enumerable:!0,get:()=>t.location.value}),Object.defineProperty(o,"state",{enumerable:!0,get:()=>t.state.value}),o}function nO(e){return e=location.host?e||location.pathname+location.search:"",e.includes("#")||(e+="#"),tO(e)}function rO(e){return typeof e=="string"||e&&typeof e=="object"}function C1(e){return typeof e=="string"||typeof e=="symbol"}const Tr={path:"/",name:void 0,params:{},query:{},hash:"",fullPath:"/",matched:[],meta:{},redirectedFrom:void 0},k1=Symbol("");var Dp;(function(e){e[e.aborted=4]="aborted",e[e.cancelled=8]="cancelled",e[e.duplicated=16]="duplicated"})(Dp||(Dp={}));function cs(e,t){return lt(new Error,{type:e,[k1]:!0},t)}function ur(e,t){return e instanceof Error&&k1 in e&&(t==null||!!(e.type&t))}const Lp="[^/]+?",oO={sensitive:!1,strict:!1,start:!0,end:!0},sO=/[.+*?^${}()[\]/\\]/g;function iO(e,t){const n=lt({},oO,t),r=[];let o=n.start?"^":"";const s=[];for(const u of e){const m=u.length?[]:[90];n.strict&&!u.length&&(o+="/");for(let d=0;d<u.length;d++){const f=u[d];let p=40+(n.sensitive?.25:0);if(f.type===0)d||(o+="/"),o+=f.value.replace(sO,"\\$&"),p+=40;else if(f.type===1){const{value:h,repeatable:_,optional:b,regexp:C}=f;s.push({name:h,repeatable:_,optional:b});const w=C||Lp;if(w!==Lp){p+=10;try{new RegExp(`(${w})`)}catch(z){throw new Error(`Invalid custom RegExp for param "${h}" (${w}): `+z.message)}}let v=_?`((?:${w})(?:/(?:${w}))*)`:`(${w})`;d||(v=b&&u.length<2?`(?:/${v})`:"/"+v),b&&(v+="?"),o+=v,p+=20,b&&(p+=-8),_&&(p+=-20),w===".*"&&(p+=-50)}m.push(p)}r.push(m)}if(n.strict&&n.end){const u=r.length-1;r[u][r[u].length-1]+=.7000000000000001}n.strict||(o+="/?"),n.end?o+="$":n.strict&&(o+="(?:/|$)");const i=new RegExp(o,n.sensitive?"":"i");function a(u){const m=u.match(i),d={};if(!m)return null;for(let f=1;f<m.length;f++){const p=m[f]||"",h=s[f-1];d[h.name]=p&&h.repeatable?p.split("/"):p}return d}function l(u){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,C=h in u?u[h]:"";if(Gn(C)&&!_)throw new Error(`Provided param "${h}" is an array but it is not repeatable (* or + modifiers)`);const w=Gn(C)?C.join("/"):C;if(!w)if(b)f.length<2&&(m.endsWith("/")?m=m.slice(0,-1):d=!0);else throw new Error(`Missing required param "${h}"`);m+=w}}return m||"/"}return{re:i,score:r,keys:s,parse:a,stringify:l}}function aO(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 lO(e,t){let n=0;const r=e.score,o=t.score;for(;n<r.length&&n<o.length;){const s=aO(r[n],o[n]);if(s)return s;n++}if(Math.abs(o.length-r.length)===1){if(Np(r))return 1;if(Np(o))return-1}return o.length-r.length}function Np(e){const t=e[e.length-1];return e.length>0&&t[t.length-1]<0}const cO={type:0,value:""},uO=/[a-zA-Z0-9_]/;function dO(e){if(!e)return[[]];if(e==="/")return[[cO]];if(!e.startsWith("/"))throw new Error(`Invalid path "${e}"`);function t(p){throw new Error(`ERR (${n})/"${u}": ${p}`)}let n=0,r=n;const o=[];let s;function i(){s&&o.push(s),s=[]}let a=0,l,u="",m="";function d(){u&&(n===0?s.push({type:0,value:u}):n===1||n===2||n===3?(s.length>1&&(l==="*"||l==="+")&&t(`A repeatable param (${u}) must be alone in its segment. eg: '/:ids+.`),s.push({type:1,value:u,regexp:m,repeatable:l==="*"||l==="+",optional:l==="*"||l==="?"})):t("Invalid state to consume buffer"),u="")}function f(){u+=l}for(;a<e.length;){if(l=e[a++],l==="\\"&&n!==2){r=n,n=4;continue}switch(n){case 0:l==="/"?(u&&d(),i()):l===":"?(d(),n=1):f();break;case 4:f(),n=r;break;case 1:l==="("?n=2:uO.test(l)?f():(d(),n=0,l!=="*"&&l!=="?"&&l!=="+"&&a--);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!=="+"&&a--,m="";break;default:t("Unknown state");break}}return n===2&&t(`Unfinished custom RegExp for param "${u}"`),d(),i(),o}function mO(e,t,n){const r=iO(dO(e.path),n),o=lt(r,{record:e,parent:t,children:[],alias:[]});return t&&!o.record.aliasOf==!t.record.aliasOf&&t.children.push(o),o}function fO(e,t){const n=[],r=new Map;t=Vp({strict:!1,end:!0,sensitive:!1},t);function o(m){return r.get(m)}function s(m,d,f){const p=!f,h=pO(m);h.aliasOf=f&&f.record;const _=Vp(t,m),b=[h];if("alias"in m){const v=typeof m.alias=="string"?[m.alias]:m.alias;for(const z of v)b.push(lt({},h,{components:f?f.record.components:h.components,path:z,aliasOf:f?f.record:h}))}let C,w;for(const v of b){const{path:z}=v;if(d&&z[0]!=="/"){const E=d.record.path,x=E[E.length-1]==="/"?"":"/";v.path=d.record.path+(z&&x+z)}if(C=mO(v,d,_),f?f.alias.push(C):(w=w||C,w!==C&&w.alias.push(C),p&&m.name&&!Fp(C)&&i(m.name)),h.children){const E=h.children;for(let x=0;x<E.length;x++)s(E[x],C,f&&f.children[x])}f=f||C,(C.record.components&&Object.keys(C.record.components).length||C.record.name||C.record.redirect)&&l(C)}return w?()=>{i(w)}:Zs}function i(m){if(C1(m)){const d=r.get(m);d&&(r.delete(m),n.splice(n.indexOf(d),1),d.children.forEach(i),d.alias.forEach(i))}else{const d=n.indexOf(m);d>-1&&(n.splice(d,1),m.record.name&&r.delete(m.record.name),m.children.forEach(i),m.alias.forEach(i))}}function a(){return n}function l(m){let d=0;for(;d<n.length&&lO(m,n[d])>=0&&(m.record.path!==n[d].record.path||!x1(m,n[d]));)d++;n.splice(d,0,m),m.record.name&&!Fp(m)&&r.set(m.record.name,m)}function u(m,d){let f,p={},h,_;if("name"in m&&m.name){if(f=r.get(m.name),!f)throw cs(1,{location:m});_=f.record.name,p=lt(Mp(d.params,f.keys.filter(w=>!w.optional).concat(f.parent?f.parent.keys.filter(w=>w.optional):[]).map(w=>w.name)),m.params&&Mp(m.params,f.keys.map(w=>w.name))),h=f.stringify(p)}else if(m.path!=null)h=m.path,f=n.find(w=>w.re.test(h)),f&&(p=f.parse(h),_=f.record.name);else{if(f=d.name?r.get(d.name):n.find(w=>w.re.test(d.path)),!f)throw cs(1,{location:m,currentLocation:d});_=f.record.name,p=lt({},d.params,m.params),h=f.stringify(p)}const b=[];let C=f;for(;C;)b.unshift(C.record),C=C.parent;return{name:_,path:h,params:p,matched:b,meta:_O(b)}}return e.forEach(m=>s(m)),{addRoute:s,resolve:u,removeRoute:i,getRoutes:a,getRecordMatcher:o}}function Mp(e,t){const n={};for(const r of t)r in e&&(n[r]=e[r]);return n}function pO(e){return{path:e.path,redirect:e.redirect,name:e.name,meta:e.meta||{},aliasOf:void 0,beforeEnter:e.beforeEnter,props:hO(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 hO(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 Fp(e){for(;e;){if(e.record.aliasOf)return!0;e=e.parent}return!1}function _O(e){return e.reduce((t,n)=>lt(t,n.meta),{})}function Vp(e,t){const n={};for(const r in e)n[r]=r in t?t[r]:e[r];return n}function x1(e,t){return t.children.some(n=>n===e||x1(e,n))}function gO(e){const t={};if(e===""||e==="?")return t;const r=(e[0]==="?"?e.slice(1):e).split("&");for(let o=0;o<r.length;++o){const s=r[o].replace(g1," "),i=s.indexOf("="),a=hi(i<0?s:s.slice(0,i)),l=i<0?null:hi(s.slice(i+1));if(a in t){let u=t[a];Gn(u)||(u=t[a]=[u]),u.push(l)}else t[a]=l}return t}function Hp(e){let t="";for(let n in e){const r=e[n];if(n=LA(n),r==null){r!==void 0&&(t+=(t.length?"&":"")+n);continue}(Gn(r)?r.map(s=>s&&Bu(s)):[r&&Bu(r)]).forEach(s=>{s!==void 0&&(t+=(t.length?"&":"")+n,s!=null&&(t+="="+s))})}return t}function yO(e){const t={};for(const n in e){const r=e[n];r!==void 0&&(t[n]=Gn(r)?r.map(o=>o==null?null:""+o):r==null?r:""+r)}return t}const vO=Symbol(""),Up=Symbol(""),lm=Symbol(""),S1=Symbol(""),Gu=Symbol("");function $s(){let e=[];function t(r){return e.push(r),()=>{const o=e.indexOf(r);o>-1&&e.splice(o,1)}}function n(){e=[]}return{add:t,list:()=>e.slice(),reset:n}}function Nr(e,t,n,r,o,s=i=>i()){const i=r&&(r.enterCallbacks[o]=r.enterCallbacks[o]||[]);return()=>new Promise((a,l)=>{const u=f=>{f===!1?l(cs(4,{from:n,to:t})):f instanceof Error?l(f):rO(f)?l(cs(2,{from:t,to:f})):(i&&r.enterCallbacks[o]===i&&typeof f=="function"&&i.push(f),a())},m=s(()=>e.call(r&&r.instances[o],t,n,u));let d=Promise.resolve(m);e.length<3&&(d=d.then(u)),d.catch(f=>l(f))})}function qc(e,t,n,r,o=s=>s()){const s=[];for(const i of e)for(const a in i.components){let l=i.components[a];if(!(t!=="beforeRouteEnter"&&!i.instances[a]))if(bO(l)){const m=(l.__vccOpts||l)[t];m&&s.push(Nr(m,n,r,i,a,o))}else{let u=l();s.push(()=>u.then(m=>{if(!m)return Promise.reject(new Error(`Couldn't resolve component "${a}" at "${i.path}"`));const d=xA(m)?m.default:m;i.components[a]=d;const p=(d.__vccOpts||d)[t];return p&&Nr(p,n,r,i,a,o)()}))}}return s}function bO(e){return typeof e=="object"||"displayName"in e||"props"in e||"__vccOpts"in e}function jp(e){const t=jn(lm),n=jn(S1),r=Nt(()=>t.resolve(gn(e.to))),o=Nt(()=>{const{matched:l}=r.value,{length:u}=l,m=l[u-1],d=n.matched;if(!m||!d.length)return-1;const f=d.findIndex(ls.bind(null,m));if(f>-1)return f;const p=qp(l[u-2]);return u>1&&qp(m)===p&&d[d.length-1].path!==p?d.findIndex(ls.bind(null,l[u-2])):f}),s=Nt(()=>o.value>-1&&kO(n.params,r.value.params)),i=Nt(()=>o.value>-1&&o.value===n.matched.length-1&&z1(n.params,r.value.params));function a(l={}){return CO(l)?t[gn(e.replace)?"replace":"push"](gn(e.to)).catch(Zs):Promise.resolve()}return{route:r,href:Nt(()=>r.value.href),isActive:s,isExactActive:i,navigate:a}}const zO=vr({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:jp,setup(e,{slots:t}){const n=ms(jp(e)),{options:r}=jn(lm),o=Nt(()=>({[Bp(e.activeClass,r.linkActiveClass,"router-link-active")]:n.isActive,[Bp(e.exactActiveClass,r.linkExactActiveClass,"router-link-exact-active")]:n.isExactActive}));return()=>{const s=t.default&&t.default(n);return e.custom?s:er("a",{"aria-current":n.isExactActive?e.ariaCurrentValue:null,href:n.href,onClick:n.navigate,class:o.value},s)}}}),wO=zO;function CO(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 kO(e,t){for(const n in t){const r=t[n],o=e[n];if(typeof r=="string"){if(r!==o)return!1}else if(!Gn(o)||o.length!==r.length||r.some((s,i)=>s!==o[i]))return!1}return!0}function qp(e){return e?e.aliasOf?e.aliasOf.path:e.path:""}const Bp=(e,t,n)=>e??t??n,xO=vr({name:"RouterView",inheritAttrs:!1,props:{name:{type:String,default:"default"},route:Object},compatConfig:{MODE:3},setup(e,{attrs:t,slots:n}){const r=jn(Gu),o=Nt(()=>e.route||r.value),s=jn(Up,0),i=Nt(()=>{let u=gn(s);const{matched:m}=o.value;let d;for(;(d=m[u])&&!d.components;)u++;return u}),a=Nt(()=>o.value.matched[i.value]);js(Up,Nt(()=>i.value+1)),js(vO,a),js(Gu,o);const l=rr();return vn(()=>[l.value,a.value,e.name],([u,m,d],[f,p,h])=>{m&&(m.instances[d]=u,p&&p!==m&&u&&u===f&&(m.leaveGuards.size||(m.leaveGuards=p.leaveGuards),m.updateGuards.size||(m.updateGuards=p.updateGuards))),u&&m&&(!p||!ls(m,p)||!f)&&(m.enterCallbacks[d]||[]).forEach(_=>_(u))},{flush:"post"}),()=>{const u=o.value,m=e.name,d=a.value,f=d&&d.components[m];if(!f)return Wp(n.default,{Component:f,route:u});const p=d.props[m],h=p?p===!0?u.params:typeof p=="function"?p(u):p:null,b=er(f,lt({},h,t,{onVnodeUnmounted:C=>{C.component.isUnmounted&&(d.instances[m]=null)},ref:l}));return Wp(n.default,{Component:b,route:u})||b}}});function Wp(e,t){if(!e)return null;const n=e(t);return n.length===1?n[0]:n}const SO=xO;function EO(e){const t=fO(e.routes,e),n=e.parseQuery||gO,r=e.stringifyQuery||Hp,o=e.history,s=$s(),i=$s(),a=$s(),l=bd(Tr);let u=Tr;Mo&&e.scrollBehavior&&"scrollRestoration"in history&&(history.scrollRestoration="manual");const m=Uc.bind(null,W=>""+W),d=Uc.bind(null,MA),f=Uc.bind(null,hi);function p(W,ce){let ie,ge;return C1(W)?(ie=t.getRecordMatcher(W),ge=ce):ge=W,t.addRoute(ge,ie)}function h(W){const ce=t.getRecordMatcher(W);ce&&t.removeRoute(ce)}function _(){return t.getRoutes().map(W=>W.record)}function b(W){return!!t.getRecordMatcher(W)}function C(W,ce){if(ce=lt({},ce||l.value),typeof W=="string"){const O=jc(n,W,ce.path),H=t.resolve({path:O.path},ce),Y=o.createHref(O.fullPath);return lt(O,H,{params:f(H.params),hash:hi(O.hash),redirectedFrom:void 0,href:Y})}let ie;if(W.path!=null)ie=lt({},W,{path:jc(n,W.path,ce.path).path});else{const O=lt({},W.params);for(const H in O)O[H]==null&&delete O[H];ie=lt({},W,{params:d(O)}),ce.params=d(ce.params)}const ge=t.resolve(ie,ce),Ve=W.hash||"";ge.params=m(f(ge.params));const Ke=HA(r,lt({},W,{hash:DA(Ve),path:ge.path})),T=o.createHref(Ke);return lt({fullPath:Ke,hash:Ve,query:r===Hp?yO(W.query):W.query||{}},ge,{redirectedFrom:void 0,href:T})}function w(W){return typeof W=="string"?jc(n,W,l.value.path):lt({},W)}function v(W,ce){if(u!==W)return cs(8,{from:ce,to:W})}function z(W){return M(W)}function E(W){return z(lt(w(W),{replace:!0}))}function x(W){const ce=W.matched[W.matched.length-1];if(ce&&ce.redirect){const{redirect:ie}=ce;let ge=typeof ie=="function"?ie(W):ie;return typeof ge=="string"&&(ge=ge.includes("?")||ge.includes("#")?ge=w(ge):{path:ge},ge.params={}),lt({query:W.query,hash:W.hash,params:ge.path!=null?{}:W.params},ge)}}function M(W,ce){const ie=u=C(W),ge=l.value,Ve=W.state,Ke=W.force,T=W.replace===!0,O=x(ie);if(O)return M(lt(w(O),{state:typeof O=="object"?lt({},Ve,O.state):Ve,force:Ke,replace:T}),ce||ie);const H=ie;H.redirectedFrom=ce;let Y;return!Ke&&UA(r,ge,ie)&&(Y=cs(16,{to:H,from:ge}),We(ge,ge,!0,!1)),(Y?Promise.resolve(Y):N(H,ge)).catch(K=>ur(K)?ur(K,2)?K:Je(K):se(K,H,ge)).then(K=>{if(K){if(ur(K,2))return M(lt({replace:T},w(K.to),{state:typeof K.to=="object"?lt({},Ve,K.to.state):Ve,force:Ke}),ce||H)}else K=j(H,ge,!0,T,Ve);return Z(H,ge,K),K})}function P(W,ce){const ie=v(W,ce);return ie?Promise.reject(ie):Promise.resolve()}function I(W){const ce=pt.values().next().value;return ce&&typeof ce.runWithContext=="function"?ce.runWithContext(W):W()}function N(W,ce){let ie;const[ge,Ve,Ke]=$O(W,ce);ie=qc(ge.reverse(),"beforeRouteLeave",W,ce);for(const O of ge)O.leaveGuards.forEach(H=>{ie.push(Nr(H,W,ce))});const T=P.bind(null,W,ce);return ie.push(T),Me(ie).then(()=>{ie=[];for(const O of s.list())ie.push(Nr(O,W,ce));return ie.push(T),Me(ie)}).then(()=>{ie=qc(Ve,"beforeRouteUpdate",W,ce);for(const O of Ve)O.updateGuards.forEach(H=>{ie.push(Nr(H,W,ce))});return ie.push(T),Me(ie)}).then(()=>{ie=[];for(const O of Ke)if(O.beforeEnter)if(Gn(O.beforeEnter))for(const H of O.beforeEnter)ie.push(Nr(H,W,ce));else ie.push(Nr(O.beforeEnter,W,ce));return ie.push(T),Me(ie)}).then(()=>(W.matched.forEach(O=>O.enterCallbacks={}),ie=qc(Ke,"beforeRouteEnter",W,ce,I),ie.push(T),Me(ie))).then(()=>{ie=[];for(const O of i.list())ie.push(Nr(O,W,ce));return ie.push(T),Me(ie)}).catch(O=>ur(O,8)?O:Promise.reject(O))}function Z(W,ce,ie){a.list().forEach(ge=>I(()=>ge(W,ce,ie)))}function j(W,ce,ie,ge,Ve){const Ke=v(W,ce);if(Ke)return Ke;const T=ce===Tr,O=Mo?history.state:{};ie&&(ge||T?o.replace(W.fullPath,lt({scroll:T&&O&&O.scroll},Ve)):o.push(W.fullPath,Ve)),l.value=W,We(W,ce,ie,T),Je()}let B;function X(){B||(B=o.listen((W,ce,ie)=>{if(!ht.listening)return;const ge=C(W),Ve=x(ge);if(Ve){M(lt(Ve,{replace:!0}),ge).catch(Zs);return}u=ge;const Ke=l.value;Mo&&YA(Ip(Ke.fullPath,ie.delta),ic()),N(ge,Ke).catch(T=>ur(T,12)?T:ur(T,2)?(M(T.to,ge).then(O=>{ur(O,20)&&!ie.delta&&ie.type===_i.pop&&o.go(-1,!1)}).catch(Zs),Promise.reject()):(ie.delta&&o.go(-ie.delta,!1),se(T,ge,Ke))).then(T=>{T=T||j(ge,Ke,!1),T&&(ie.delta&&!ur(T,8)?o.go(-ie.delta,!1):ie.type===_i.pop&&ur(T,20)&&o.go(-1,!1)),Z(ge,Ke,T)}).catch(Zs)}))}let pe=$s(),G=$s(),re;function se(W,ce,ie){Je(W);const ge=G.list();return ge.length?ge.forEach(Ve=>Ve(W,ce,ie)):console.error(W),Promise.reject(W)}function je(){return re&&l.value!==Tr?Promise.resolve():new Promise((W,ce)=>{pe.add([W,ce])})}function Je(W){return re||(re=!W,X(),pe.list().forEach(([ce,ie])=>W?ie(W):ce()),pe.reset()),W}function We(W,ce,ie,ge){const{scrollBehavior:Ve}=e;if(!Mo||!Ve)return Promise.resolve();const Ke=!ie&&JA(Ip(W.fullPath,0))||(ge||!ie)&&history.state&&history.state.scroll||null;return fs().then(()=>Ve(W,ce,Ke)).then(T=>T&&ZA(T)).catch(T=>se(T,W,ce))}const Ue=W=>o.go(W);let dt;const pt=new Set,ht={currentRoute:l,listening:!0,addRoute:p,removeRoute:h,hasRoute:b,getRoutes:_,resolve:C,options:e,push:z,replace:E,go:Ue,back:()=>Ue(-1),forward:()=>Ue(1),beforeEach:s.add,beforeResolve:i.add,afterEach:a.add,onError:G.add,isReady:je,install(W){const ce=this;W.component("RouterLink",wO),W.component("RouterView",SO),W.config.globalProperties.$router=ce,Object.defineProperty(W.config.globalProperties,"$route",{enumerable:!0,get:()=>gn(l)}),Mo&&!dt&&l.value===Tr&&(dt=!0,z(o.location).catch(Ve=>{}));const ie={};for(const Ve in Tr)Object.defineProperty(ie,Ve,{get:()=>l.value[Ve],enumerable:!0});W.provide(lm,ce),W.provide(S1,pd(ie)),W.provide(Gu,l);const ge=W.unmount;pt.add(W),W.unmount=function(){pt.delete(W),pt.size<1&&(u=Tr,B&&B(),B=null,l.value=Tr,dt=!1,re=!1),ge()}}};function Me(W){return W.reduce((ce,ie)=>ce.then(()=>I(ie)),Promise.resolve())}return ht}function $O(e,t){const n=[],r=[],o=[],s=Math.max(t.matched.length,e.matched.length);for(let i=0;i<s;i++){const a=t.matched[i];a&&(e.matched.find(u=>ls(u,a))?r.push(a):n.push(a));const l=e.matched[i];l&&(t.matched.find(u=>ls(u,l))||o.push(l))}return[n,r,o]}const TO={name:"PageAbout",computed:{config(){return this.$store.state.config},library(){return this.$store.state.library}},methods:{showUpdateDialog(){this.$store.commit(yi,!0)}}},AO={class:"section"},OO={class:"container"},PO={class:"columns is-centered"},IO={class:"column is-four-fifths has-text-centered-mobile"},RO=["textContent"],DO={class:"section"},LO={class:"container"},NO={class:"columns is-centered"},MO={class:"column is-four-fifths"},FO={class:"content"},VO={class:"level is-mobile"},HO={class:"level-left"},UO={class:"level-item"},jO=["textContent"],qO={class:"level-right"},BO={key:0},WO=["textContent"],GO={key:1},KO=["textContent"],ZO={class:"table"},YO=["textContent"],JO=["textContent"],XO=["textContent"],QO=["textContent"],e8=["textContent"],t8=["textContent"],n8=["textContent"],r8=["textContent"],o8=["textContent"],s8={class:"has-text-right"},i8=["textContent"],a8=["textContent"],l8=["textContent"],c8={class:"has-text-right"},u8=["textContent"],d8=["textContent"],m8={class:"section"},f8={class:"container"},p8={class:"columns is-centered"},h8={class:"column is-four-fifths"},_8={class:"content has-text-centered-mobile"},g8=["textContent"],y8=["textContent"],v8=c("a",{href:"https://bulma.io"},"Bulma",-1),b8=c("a",{href:"https://pictogrammers.com/library/mdi/"},"Material Design Icons",-1),z8=c("a",{href:"https://vuejs.org/"},"Vue.js",-1),w8=c("a",{href:"https://github.com/mzabriskie/axios"},"axios",-1),C8=["textContent"];function k8(e,t,n,r,o,s){const i=$("i18n-t");return k(),A("div",null,[c("section",AO,[c("div",OO,[c("div",PO,[c("div",IO,[c("h1",{class:"title is-4",textContent:g(s.config.library_name)},null,8,RO)])])])]),c("section",DO,[c("div",LO,[c("div",NO,[c("div",MO,[c("div",FO,[c("nav",VO,[c("div",HO,[c("div",UO,[c("p",{class:"title is-5",textContent:g(e.$t("page.about.library"))},null,8,jO)])]),c("div",qO,[s.library.updating?(k(),A("div",BO,[c("a",{class:"button is-small is-loading",textContent:g(e.$t("page.about.update"))},null,8,WO)])):(k(),A("div",GO,[c("a",{class:"button is-small",onClick:t[0]||(t[0]=a=>s.showUpdateDialog()),textContent:g(e.$t("page.about.update"))},null,8,KO)]))])]),c("table",ZO,[c("tbody",null,[c("tr",null,[c("th",{class:"has-text-left",textContent:g(e.$t("page.about.artists"))},null,8,YO),c("td",{class:"has-text-right",textContent:g(e.$filters.number(s.library.artists))},null,8,JO)]),c("tr",null,[c("th",{class:"has-text-left",textContent:g(e.$t("page.about.albums"))},null,8,XO),c("td",{class:"has-text-right",textContent:g(e.$filters.number(s.library.albums))},null,8,QO)]),c("tr",null,[c("th",{class:"has-text-left",textContent:g(e.$t("page.about.tracks"))},null,8,e8),c("td",{class:"has-text-right",textContent:g(e.$filters.number(s.library.songs))},null,8,t8)]),c("tr",null,[c("th",{class:"has-text-left",textContent:g(e.$t("page.about.total-playtime"))},null,8,n8),c("td",{class:"has-text-right",textContent:g(e.$filters.durationInDays(s.library.db_playtime*1e3))},null,8,r8)]),c("tr",null,[c("th",{class:"has-text-left",textContent:g(e.$t("page.about.updated"))},null,8,o8),c("td",s8,[c("span",{textContent:g(e.$t("page.about.updated-on",{time:e.$filters.timeFromNow(s.library.updated_at)}))},null,8,i8),gt(" ("),c("span",{class:"has-text-grey",textContent:g(e.$filters.datetime(s.library.updated_at))},null,8,a8),gt(") ")])]),c("tr",null,[c("th",{class:"has-text-left",textContent:g(e.$t("page.about.uptime"))},null,8,l8),c("td",c8,[c("span",{textContent:g(e.$filters.timeFromNow(s.library.started_at,!0))},null,8,u8),gt(" ("),c("span",{class:"has-text-grey",textContent:g(e.$filters.datetime(s.library.started_at))},null,8,d8),gt(") ")])])])])])])])])]),c("section",m8,[c("div",f8,[c("div",p8,[c("div",h8,[c("div",_8,[c("p",{class:"is-size-7",textContent:g(e.$t("page.about.version",{version:s.config.version}))},null,8,g8),c("p",{class:"is-size-7",textContent:g(e.$t("page.about.compiled-with",{options:s.config.buildoptions.join(", ")}))},null,8,y8),y(i,{tag:"p",class:"is-size-7",keypath:"page.about.built-with",scope:"global"},{bulma:S(()=>[v8]),mdi:S(()=>[b8]),vuejs:S(()=>[z8]),axios:S(()=>[w8]),others:S(()=>[c("a",{href:"https://github.com/owntone/owntone-server/network/dependencies",textContent:g(e.$t("page.about.more"))},null,8,C8)]),_:1})])])])])])])}const x8=te(TO,[["render",k8]]),{t:Bc,locale:cm}=Xl.global,E1="GROUP_KEY_NONE";function um(){return{compareFn:null,groupKeyFn:e=>E1}}function Rn(e,t=!1,n="_"){return{compareFn:t?null:(r,o)=>{const s=r[e]||n,i=o[e]||n;return s.localeCompare(i,cm.value)},groupKeyFn:r=>{const o=(r[e]||n).charAt(0);return o.match(new RegExp("\\p{Letter}","gu"))?o.toUpperCase():o.match(new RegExp("\\p{Number}","gu"))?"#":"⌘"}}}function dm(e,{direction:t="asc",defaultValue:n=0}){return{compareFn:(r,o)=>{const s=r[e]||n,i=o[e]||n,a=s-i;return t==="asc"?a:a*-1},groupKeyFn:r=>{const o=r[e]||n;return Math.floor(o/10)}}}function S8(e,t="asc",n=1){return{compareFn:(r,o)=>{const s=r[e]||n,i=o[e]||n,a=s-i;return t==="asc"?a:a*-1},groupKeyFn:r=>r[e]||n}}function zl(e,{direction:t="asc",defaultValue:n="0000"}){return{compareFn:(r,o)=>{const s=r[e]||n,i=o[e]||n,a=s.localeCompare(i,cm.value);return t==="asc"?a:a*-1},groupKeyFn:r=>(r[e]||n).substring(0,4)}}function E8(e,t="0000"){return{compareFn:(n,r)=>{const o=n[e]||t;return(r[e]||t).localeCompare(o,cm.value)},groupKeyFn:n=>{const r=n[e];if(!r)return t;const o=new Date().getTime()-new Date(r).getTime();return o<864e5?Bc("group-by-list.today"):o<6048e5?Bc("group-by-list.last-week"):o<2592e6?Bc("group-by-list.last-month"):r.substring(0,4)}}}class ve{constructor({items:t=[],total:n=0,offset:r=0,limit:o=-1}={}){this.items=t,this.total=n,this.offset=r,this.limit=o,this.count=t.length,this.indices=[],this.group(um())}group(t,n=[]){const r=n?this.items.filter(s=>n.every(i=>i(s))):this.items;this.count=r.length;const o=t.compareFn?[...r].sort(t.compareFn):r;this.indices=[...new Set(o.map(t.groupKeyFn))],this.itemsGrouped=o.reduce((s,i)=>{const a=t.groupKeyFn(i);return s[a]=[...s[a]||[],i],s},{})}*generate(){for(const t in this.itemsGrouped){t!==E1&&(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()}}const $8={},T8={class:"hero is-light is-bold"},A8={class:"hero-body"},O8={class:"container"},P8={class:"columns is-centered"},I8={class:"column is-four-fifths"},R8={class:"columns is-flex-direction-row-reverse"},D8={class:"column fd-has-cover"},L8={class:"column m-auto is-three-fifths has-text-centered-mobile"},N8={class:"section pt-0"},M8={class:"container"},F8={class:"columns is-centered"},V8={class:"column is-four-fifths"};function H8(e,t){return k(),A(Ce,null,[c("section",T8,[c("div",A8,[c("div",O8,[c("div",P8,[c("div",I8,[c("div",R8,[c("div",D8,[it(e.$slots,"heading-right")]),c("div",L8,[it(e.$slots,"heading-left")])])])])])])]),c("section",N8,[c("div",M8,[c("div",F8,[c("div",V8,[it(e.$slots,"content"),it(e.$slots,"footer")])])])])],64)}const ac=te($8,[["render",H8]]),U8=e=>{for(var t=0,n=0;n<e.length;n++)t=e.charCodeAt(n)+((t<<5)-t);return(t&16777215).toString(16)},j8=e=>[.2126,.7152,.0722].reduce((t,n,r)=>t+ +("0x"+e.slice(r*2,r*2+2))*n,0)/255,q8=e=>{const t=U8(e.alternate),n=`<svg xmlns="http://www.w3.org/2000/svg"
|
||
width="${e.size}" height="${e.size}"
|
||
viewBox="0 0 ${e.size} ${e.size}">
|
||
<rect width="100%" height="100%" fill="#${t}"/>
|
||
<text x="50%" y="50%" dominant-baseline="middle" text-anchor="middle"
|
||
font-weight="${e.font.weight}" font-family="${e.font.family}"
|
||
font-size="${e.size/3}" fill="${j8(t)>.5?"#000000":"#FFFFFF"}">
|
||
${e.caption}
|
||
</text>
|
||
</svg>`;return`data:image/svg+xml;charset=UTF-8,${encodeURIComponent(n)}`},B8={name:"CoverArtwork",props:{album:{default:"",type:String},artist:{default:"",type:String},artwork_url:{default:"",type:String}},emits:["click"],data(){return{font:{family:"sans-serif",weight:"bold"},lifecycle:{error:e=>{e.src=this.dataURI()}},size:600}},computed:{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 q8({alternate:this.alt_text,caption:this.caption,font:this.font,size:this.size})}}};function W8(e,t,n,r,o,s){const i=xd("lazy");return k(),A("figure",null,[yt(c("img",{onClick:t[0]||(t[0]=a=>e.$emit("click"))},null,512),[[i,{src:n.artwork_url,lifecycle:o.lifecycle}]])])}const Dn=te(B8,[["render",W8]]);var $1={exports:{}};(function(e){var t=function(){var n="https://api.spotify.com/v1",r=null,o=null,s=function(f,p){return f.abort=p,f},i=function(f,p){var h;if(o!==null){var _=o.defer();f(function(b){_.resolve(b)},function(b){_.reject(b)}),h=_.promise}else window.Promise&&(h=new window.Promise(f));return h?new s(h,p):null},a=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},u=function(f,p){var h=new XMLHttpRequest,_=function(b,C){function w(x){b&&b(x),p&&p(null,x)}function v(){C&&C(h),p&&p(h,null)}var z=f.type||"GET";if(h.open(z,l(f.url,f.params)),r&&h.setRequestHeader("Authorization","Bearer "+r),h.onreadystatechange=function(){if(h.readyState===4){var x=null;try{x=h.responseText?JSON.parse(h.responseText):""}catch(M){console.error(M)}h.status>=200&&h.status<300?w(x):v()}},z==="GET")h.send(null);else{var E=null;f.postData&&(f.contentType==="image/jpeg"?(E=f.postData,h.setRequestHeader("Content-Type",f.contentType)):(E=JSON.stringify(f.postData),h.setRequestHeader("Content-Type","application/json"))),h.send(E)}};return p?(_(),null):i(_,function(){h.abort()})},m=function(f,p,h,_){var b={},C=null;typeof p=="object"?(b=p,C=h):typeof p=="function"&&(C=p);var w=f.type||"GET";return w!=="GET"&&f.postData&&!_?f.postData=a(f.postData,b):f.params=a(f.params,b),u(f,C)},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 C={url:n+"/playlists/"+f+"/tracks",type:"PUT",postData:{range_start:p,insert_before:h}};return m(C,_,b)},d.prototype.removeTracksFromPlaylist=function(f,p,h){var _=p.map(function(C){return typeof C=="string"?{uri:C}:C}),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(w){return typeof w=="string"?{uri:w}:w}),C={url:n+"/playlists/"+f+"/tracks",type:"DELETE",postData:{tracks:b,snapshot_id:h}};return m(C,{},_)},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(w){w in f&&(_[w]=f[w])});var b={type:"PUT",url:n+"/me/player/play",params:h,postData:_},C=typeof f=="function"?f:{};return m(b,C,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)o=f;else throw new Error("Unsupported implementation of Promises/A+")},d}();e.exports=t})($1);var G8=$1.exports;const Zn=ec(G8),K8={name:"ModalDialogTrack",props:{show:Boolean,track:{required:!0,type:Object}},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 Zn;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(){V.library_track_update(this.track.id,{play_count:"reset"}).then(()=>{this.$emit("play-count-changed"),this.$emit("close")})},mark_played(){V.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"),V.player_play_uri(this.track.uri,!1)},queue_add(){this.$emit("close"),V.queue_add(this.track.uri)},queue_add_next(){this.$emit("close"),V.queue_add_next(this.track.uri)}}},Z8={key:0,class:"modal is-active"},Y8={class:"modal-content fd-modal-card"},J8={class:"card"},X8={class:"card-content"},Q8=["textContent"],eP=["textContent"],tP={key:0,class:"buttons"},nP=["textContent"],rP=["textContent"],oP={class:"content is-small"},sP={key:0},iP=["textContent"],aP=["textContent"],lP={key:1},cP=["textContent"],uP=["textContent"],dP={key:2},mP=["textContent"],fP=["textContent"],pP={key:3},hP=["textContent"],_P=["textContent"],gP={key:4},yP=["textContent"],vP=["textContent"],bP={key:5},zP=["textContent"],wP=["textContent"],CP={key:6},kP=["textContent"],xP=["textContent"],SP={key:7},EP=["textContent"],$P=["textContent"],TP=["textContent"],AP=["textContent"],OP=["textContent"],PP={class:"title is-6"},IP=["textContent"],RP={key:8},DP=["textContent"],LP={class:"title is-6"},NP=["textContent"],MP=["textContent"],FP=["textContent"],VP=["textContent"],HP=["textContent"],UP=["textContent"],jP=["textContent"],qP=["textContent"],BP={key:9},WP=["textContent"],GP=["textContent"],KP={class:"card-footer"},ZP=["textContent"],YP=["textContent"],JP=["textContent"];function XP(e,t,n,r,o,s){const i=$("mdicon");return k(),A("div",null,[y(Rt,{name:"fade"},{default:S(()=>[n.show?(k(),A("div",Z8,[c("div",{class:"modal-background",onClick:t[0]||(t[0]=a=>e.$emit("close"))}),c("div",Y8,[c("div",J8,[c("div",X8,[c("p",{class:"title is-4",textContent:g(n.track.title)},null,8,Q8),c("p",{class:"subtitle",textContent:g(n.track.artist)},null,8,eP),n.track.media_kind==="podcast"?(k(),A("div",tP,[n.track.play_count>0?(k(),A("a",{key:0,class:"button is-small",onClick:t[1]||(t[1]=(...a)=>s.mark_new&&s.mark_new(...a)),textContent:g(e.$t("dialog.track.mark-as-new"))},null,8,nP)):F("",!0),n.track.play_count===0?(k(),A("a",{key:1,class:"button is-small",onClick:t[2]||(t[2]=(...a)=>s.mark_played&&s.mark_played(...a)),textContent:g(e.$t("dialog.track.mark-as-played"))},null,8,rP)):F("",!0)])):F("",!0),c("div",oP,[n.track.album?(k(),A("p",sP,[c("span",{class:"heading",textContent:g(e.$t("dialog.track.album"))},null,8,iP),c("a",{class:"title is-6 has-text-link",onClick:t[3]||(t[3]=(...a)=>s.open_album&&s.open_album(...a)),textContent:g(n.track.album)},null,8,aP)])):F("",!0),n.track.album_artist&&n.track.media_kind!=="audiobook"?(k(),A("p",lP,[c("span",{class:"heading",textContent:g(e.$t("dialog.track.album-artist"))},null,8,cP),c("a",{class:"title is-6 has-text-link",onClick:t[4]||(t[4]=(...a)=>s.open_album_artist&&s.open_album_artist(...a)),textContent:g(n.track.album_artist)},null,8,uP)])):F("",!0),n.track.composer?(k(),A("p",dP,[c("span",{class:"heading",textContent:g(e.$t("dialog.track.composer"))},null,8,mP),c("span",{class:"title is-6",textContent:g(n.track.composer)},null,8,fP)])):F("",!0),n.track.date_released?(k(),A("p",pP,[c("span",{class:"heading",textContent:g(e.$t("dialog.track.release-date"))},null,8,hP),c("span",{class:"title is-6",textContent:g(e.$filters.date(n.track.date_released))},null,8,_P)])):n.track.year?(k(),A("p",gP,[c("span",{class:"heading",textContent:g(e.$t("dialog.track.year"))},null,8,yP),c("span",{class:"title is-6",textContent:g(n.track.year)},null,8,vP)])):F("",!0),n.track.genre?(k(),A("p",bP,[c("span",{class:"heading",textContent:g(e.$t("dialog.track.genre"))},null,8,zP),c("a",{class:"title is-6 has-text-link",onClick:t[5]||(t[5]=(...a)=>s.open_genre&&s.open_genre(...a)),textContent:g(n.track.genre)},null,8,wP)])):F("",!0),n.track.disc_number?(k(),A("p",CP,[c("span",{class:"heading",textContent:g(e.$t("dialog.track.position"))},null,8,kP),c("span",{class:"title is-6",textContent:g([n.track.disc_number,n.track.track_number].join(" / "))},null,8,xP)])):F("",!0),n.track.length_ms?(k(),A("p",SP,[c("span",{class:"heading",textContent:g(e.$t("dialog.track.duration"))},null,8,EP),c("span",{class:"title is-6",textContent:g(e.$filters.durationInHours(n.track.length_ms))},null,8,$P)])):F("",!0),c("p",null,[c("span",{class:"heading",textContent:g(e.$t("dialog.track.path"))},null,8,TP),c("span",{class:"title is-6",textContent:g(n.track.path)},null,8,AP)]),c("p",null,[c("span",{class:"heading",textContent:g(e.$t("dialog.track.type"))},null,8,OP),c("span",PP,[c("span",{textContent:g([e.$t("media.kind."+n.track.media_kind),e.$t("data.kind."+n.track.data_kind)].join(" - "))},null,8,IP)])]),n.track.samplerate?(k(),A("p",RP,[c("span",{class:"heading",textContent:g(e.$t("dialog.track.quality"))},null,8,DP),c("span",LP,[c("span",{textContent:g(n.track.type)},null,8,NP),n.track.samplerate?(k(),A("span",{key:0,textContent:g(e.$t("dialog.track.samplerate",{rate:n.track.samplerate}))},null,8,MP)):F("",!0),n.track.channels?(k(),A("span",{key:1,textContent:g(e.$t("dialog.track.channels",{channels:e.$filters.channels(n.track.channels)}))},null,8,FP)):F("",!0),n.track.bitrate?(k(),A("span",{key:2,textContent:g(e.$t("dialog.track.bitrate",{rate:n.track.bitrate}))},null,8,VP)):F("",!0)])])):F("",!0),c("p",null,[c("span",{class:"heading",textContent:g(e.$t("dialog.track.added-on"))},null,8,HP),c("span",{class:"title is-6",textContent:g(e.$filters.datetime(n.track.time_added))},null,8,UP)]),c("p",null,[c("span",{class:"heading",textContent:g(e.$t("dialog.track.rating"))},null,8,jP),c("span",{class:"title is-6",textContent:g(e.$t("dialog.track.rating-value",{rating:Math.floor(n.track.rating/10)}))},null,8,qP)]),n.track.comment?(k(),A("p",BP,[c("span",{class:"heading",textContent:g(e.$t("dialog.track.comment"))},null,8,WP),c("span",{class:"title is-6",textContent:g(n.track.comment)},null,8,GP)])):F("",!0)])]),c("footer",KP,[c("a",{class:"card-footer-item has-text-dark",onClick:t[6]||(t[6]=(...a)=>s.queue_add&&s.queue_add(...a))},[y(i,{class:"icon",name:"playlist-plus",size:"16"}),c("span",{class:"is-size-7",textContent:g(e.$t("dialog.track.add"))},null,8,ZP)]),c("a",{class:"card-footer-item has-text-dark",onClick:t[7]||(t[7]=(...a)=>s.queue_add_next&&s.queue_add_next(...a))},[y(i,{class:"icon",name:"playlist-play",size:"16"}),c("span",{class:"is-size-7",textContent:g(e.$t("dialog.track.add-next"))},null,8,YP)]),c("a",{class:"card-footer-item has-text-dark",onClick:t[8]||(t[8]=(...a)=>s.play&&s.play(...a))},[y(i,{class:"icon",name:"play",size:"16"}),c("span",{class:"is-size-7",textContent:g(e.$t("dialog.track.play"))},null,8,JP)])])])]),c("button",{class:"modal-close is-large","aria-label":"close",onClick:t[9]||(t[9]=a=>e.$emit("close"))})])):F("",!0)]),_:1})])}const QP=te(K8,[["render",XP]]),eI={name:"ListTracks",components:{ModalDialogTrack:QP},props:{expression:{default:"",type:String},show_icon:Boolean,show_progress:Boolean,tracks:{required:!0,type:Object},uris:{default:"",type:String}},emits:["play-count-changed"],data(){return{show_details_modal:!1,selected_track:{}}},methods:{play_track(e){this.uris?V.player_play_uri(this.uris,!1,this.tracks.items.indexOf(e)):this.expression?V.player_play_expression(this.expression,!1,this.tracks.items.indexOf(e)):V.player_play_uri(e.uri,!1)},open_dialog(e){this.selected_track=e,this.show_details_modal=!0}}},tI={key:0,class:"mt-6 mb-5 py-2"},nI=["id","textContent"],rI=["onClick"],oI={key:0,class:"media-left is-clickable"},sI={class:"media-content is-clickable is-clipped"},iI=["textContent"],aI=["textContent"],lI=["textContent"],cI=["max","value"],uI={class:"media-right"},dI=["onClick"];function mI(e,t,n,r,o,s){const i=$("mdicon"),a=$("modal-dialog-track");return k(),A(Ce,null,[(k(!0),A(Ce,null,ut(n.tracks,l=>(k(),A(Ce,{key:l.itemId},[l.isItem?(k(),A("div",{key:1,class:Se(["media is-align-items-center",{"with-progress":n.show_progress}]),onClick:u=>s.play_track(l.item)},[n.show_icon?(k(),A("figure",oI,[y(i,{class:"icon",name:"file-outline",size:"16"})])):F("",!0),c("div",sI,[c("h1",{class:Se(["title is-6",{"has-text-grey":l.item.media_kind==="podcast"&&l.item.play_count>0}]),textContent:g(l.item.title)},null,10,iI),c("h2",{class:"subtitle is-7 has-text-grey has-text-weight-bold",textContent:g(l.item.artist)},null,8,aI),c("h2",{class:"subtitle is-7 has-text-grey",textContent:g(l.item.album)},null,8,lI),n.show_progress&&l.item.seek_ms>0?(k(),A("progress",{key:0,class:"progress is-info",max:l.item.length_ms,value:l.item.seek_ms},null,8,cI)):F("",!0)]),c("div",uI,[c("a",{onClick:ot(u=>s.open_dialog(l.item),["prevent","stop"])},[y(i,{class:"icon has-text-dark",name:"dots-vertical",size:"16"})],8,dI)])],10,rI)):(k(),A("div",tI,[c("span",{id:"index_"+l.groupKey,class:"tag is-info is-light is-small has-text-weight-bold",textContent:g(l.groupKey)},null,8,nI)]))],64))),128)),(k(),_e(Zr,{to:"#app"},[y(a,{show:o.show_details_modal,track:o.selected_track,onClose:t[0]||(t[0]=l=>o.show_details_modal=!1),onPlayCountChanged:t[1]||(t[1]=l=>e.$emit("play-count-changed"))},null,8,["show","track"])]))],64)}const zn=te(eI,[["render",mI],["__scopeId","data-v-082925ee"]]),fI={name:"ModalDialogAlbum",components:{CoverArtwork:Dn},props:{album:{required:!0,type:Object},media_kind:{default:"",type:String},show:Boolean},emits:["close","remove-podcast","play-count-changed"],data(){return{artwork_visible:!1}},computed:{media_kind_resolved(){return this.media_kind?this.media_kind:this.album.media_kind}},methods:{play(){this.$emit("close"),V.player_play_uri(this.album.uri,!1)},queue_add(){this.$emit("close"),V.queue_add(this.album.uri)},queue_add_next(){this.$emit("close"),V.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(){V.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}}},pI={key:0,class:"modal is-active"},hI={class:"modal-content fd-modal-card"},_I={class:"card"},gI={class:"card-content"},yI={class:"title is-4"},vI=["textContent"],bI={key:0,class:"buttons"},zI=["textContent"],wI=["textContent"],CI={class:"content is-small"},kI={key:0},xI=["textContent"],SI=["textContent"],EI={key:1},$I=["textContent"],TI=["textContent"],AI={key:2},OI=["textContent"],PI=["textContent"],II=["textContent"],RI=["textContent"],DI=["textContent"],LI=["textContent"],NI=["textContent"],MI=["textContent"],FI=["textContent"],VI=["textContent"],HI={class:"card-footer"},UI=["textContent"],jI=["textContent"],qI=["textContent"];function BI(e,t,n,r,o,s){const i=$("cover-artwork"),a=$("mdicon");return k(),A("div",null,[y(Rt,{name:"fade"},{default:S(()=>[n.show?(k(),A("div",pI,[c("div",{class:"modal-background",onClick:t[0]||(t[0]=l=>e.$emit("close"))}),c("div",hI,[c("div",_I,[c("div",gI,[y(i,{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"]),c("p",yI,[c("a",{class:"has-text-link",onClick:t[1]||(t[1]=(...l)=>s.open_album&&s.open_album(...l)),textContent:g(n.album.name)},null,8,vI)]),s.media_kind_resolved==="podcast"?(k(),A("div",bI,[c("a",{class:"button is-small",onClick:t[2]||(t[2]=(...l)=>s.mark_played&&s.mark_played(...l)),textContent:g(e.$t("dialog.album.mark-as-played"))},null,8,zI),n.album.data_kind==="url"?(k(),A("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,wI)):F("",!0)])):F("",!0),c("div",CI,[n.album.artist?(k(),A("p",kI,[c("span",{class:"heading",textContent:g(e.$t("dialog.album.artist"))},null,8,xI),c("a",{class:"title is-6 has-text-link",onClick:t[4]||(t[4]=(...l)=>s.open_artist&&s.open_artist(...l)),textContent:g(n.album.artist)},null,8,SI)])):F("",!0),n.album.date_released?(k(),A("p",EI,[c("span",{class:"heading",textContent:g(e.$t("dialog.album.release-date"))},null,8,$I),c("span",{class:"title is-6",textContent:g(e.$filters.date(n.album.date_released))},null,8,TI)])):n.album.year>0?(k(),A("p",AI,[c("span",{class:"heading",textContent:g(e.$t("dialog.album.year"))},null,8,OI),c("span",{class:"title is-6",textContent:g(n.album.year)},null,8,PI)])):F("",!0),c("p",null,[c("span",{class:"heading",textContent:g(e.$t("dialog.album.tracks"))},null,8,II),c("span",{class:"title is-6",textContent:g(n.album.track_count)},null,8,RI)]),c("p",null,[c("span",{class:"heading",textContent:g(e.$t("dialog.album.duration"))},null,8,DI),c("span",{class:"title is-6",textContent:g(e.$filters.durationInHours(n.album.length_ms))},null,8,LI)]),c("p",null,[c("span",{class:"heading",textContent:g(e.$t("dialog.album.type"))},null,8,NI),c("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,MI)]),c("p",null,[c("span",{class:"heading",textContent:g(e.$t("dialog.album.added-on"))},null,8,FI),c("span",{class:"title is-6",textContent:g(e.$filters.datetime(n.album.time_added))},null,8,VI)])])]),c("footer",HI,[c("a",{class:"card-footer-item has-text-dark",onClick:t[5]||(t[5]=(...l)=>s.queue_add&&s.queue_add(...l))},[y(a,{class:"icon",name:"playlist-plus",size:"16"}),c("span",{class:"is-size-7",textContent:g(e.$t("dialog.album.add"))},null,8,UI)]),c("a",{class:"card-footer-item has-text-dark",onClick:t[6]||(t[6]=(...l)=>s.queue_add_next&&s.queue_add_next(...l))},[y(a,{class:"icon",name:"playlist-play",size:"16"}),c("span",{class:"is-size-7",textContent:g(e.$t("dialog.album.add-next"))},null,8,jI)]),c("a",{class:"card-footer-item has-text-dark",onClick:t[7]||(t[7]=(...l)=>s.play&&s.play(...l))},[y(a,{class:"icon",name:"play",size:"16"}),c("span",{class:"is-size-7",textContent:g(e.$t("dialog.album.play"))},null,8,qI)])])])]),c("button",{class:"modal-close is-large","aria-label":"close",onClick:t[8]||(t[8]=l=>e.$emit("close"))})])):F("",!0)]),_:1})])}const lc=te(fI,[["render",BI]]),na={load(e){return Promise.all([V.library_album(e.params.id),V.library_album_tracks(e.params.id)])},set(e,t){e.album=t[0].data,e.tracks=new ve(t[1].data),e.tracks.group(S8("disc_number")),e.tracks.indices<=1&&e.tracks.group(um())}},WI={name:"PageAlbum",components:{ContentWithHero:ac,CoverArtwork:Dn,ListTracks:zn,ModalDialogAlbum:lc},beforeRouteEnter(e,t,n){na.load(e).then(r=>{n(o=>na.set(o,r))})},beforeRouteUpdate(e,t,n){const r=this;na.load(e).then(o=>{na.set(r,o),n()})},data(){return{album:{},show_details_modal:!1,tracks:new ve}},methods:{open_artist(){this.show_details_modal=!1,this.$router.push({name:"music-artist",params:{id:this.album.artist_id}})},play(){V.player_play_uri(this.album.uri,!0)}}},GI=["textContent"],KI={class:"subtitle is-6 has-text-link"},ZI=["textContent"],YI={class:"buttons fd-is-centered-mobile mt-5"},JI=["textContent"],XI=["textContent"];function QI(e,t,n,r,o,s){const i=$("mdicon"),a=$("cover-artwork"),l=$("list-tracks"),u=$("modal-dialog-album"),m=$("content-with-hero");return k(),A("div",null,[y(m,null,{"heading-left":S(()=>[c("h1",{class:"title is-5",textContent:g(o.album.name)},null,8,GI),c("h2",KI,[c("a",{class:"has-text-link",onClick:t[0]||(t[0]=(...d)=>s.open_artist&&s.open_artist(...d)),textContent:g(o.album.artist)},null,8,ZI)]),c("div",YI,[c("a",{class:"button is-small is-dark is-rounded",onClick:t[1]||(t[1]=(...d)=>s.play&&s.play(...d))},[y(i,{class:"icon",name:"shuffle",size:"16"}),c("span",{textContent:g(e.$t("page.album.shuffle"))},null,8,JI)]),c("a",{class:"button is-small is-light is-rounded",onClick:t[2]||(t[2]=d=>o.show_details_modal=!0)},[y(i,{class:"icon",name:"dots-horizontal",size:"16"})])])]),"heading-right":S(()=>[y(a,{artwork_url:o.album.artwork_url,artist:o.album.artist,album:o.album.name,class:"is-clickable fd-has-shadow fd-cover fd-cover-medium-image",onClick:t[3]||(t[3]=d=>o.show_details_modal=!0)},null,8,["artwork_url","artist","album"])]),content:S(()=>[c("p",{class:"heading is-7 has-text-centered-mobile mt-5",textContent:g(e.$t("page.album.track-count",{count:o.album.track_count}))},null,8,XI),y(l,{tracks:o.tracks,uris:o.album.uri},null,8,["tracks","uris"]),y(u,{show:o.show_details_modal,album:o.album,onClose:t[4]||(t[4]=d=>o.show_details_modal=!1)},null,8,["show","album"])]),_:1})])}const e6=te(WI,[["render",QI]]),t6={name:"ListItemTrackSpotify",props:{context_uri:{required:!0,type:String},position:{required:!0,type:Number},track:{required:!0,type:Object}},methods:{play(){this.track.is_playable&&V.player_play_uri(this.context_uri,!1,this.position)}}},n6={class:"media is-align-items-center"},r6=["textContent"],o6=["textContent"],s6={key:0,class:"subtitle is-7"},i6=["textContent"],a6=["textContent"],l6={class:"media-right"};function c6(e,t,n,r,o,s){return k(),A("div",n6,[c("div",{class:Se(["media-content is-clipped",{"is-clickable":n.track.is_playable,"fd-is-not-allowed":!n.track.is_playable}]),onClick:t[0]||(t[0]=(...i)=>s.play&&s.play(...i))},[c("h1",{class:Se(["title is-6",{"has-text-grey-light":!n.track.is_playable}]),textContent:g(n.track.name)},null,10,r6),c("h2",{class:Se(["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,o6),n.track.is_playable?F("",!0):(k(),A("h2",s6,[gt(" ("),c("span",{textContent:g(e.$t("list.spotify.not-playable-track"))},null,8,i6),n.track.restrictions&&n.track.restrictions.reason?(k(),A("span",{key:0,textContent:g(e.$t("list.spotify.restriction-reason",{reason:n.track.restrictions.reason}))},null,8,a6)):F("",!0),gt(") ")]))],2),c("div",l6,[it(e.$slots,"actions")])])}const mm=te(t6,[["render",c6]]),u6={name:"ModalDialogAlbumSpotify",components:{CoverArtwork:Dn},props:{album:{required:!0,type:Object},show:Boolean},emits:["close"],data(){return{artwork_visible:!1}},methods:{artwork_url(e){var t,n;return((n=(t=e.images)==null?void 0:t[0])==null?void 0:n.url)||""},play(){this.$emit("close"),V.player_play_uri(this.album.uri,!1)},queue_add(){this.$emit("close"),V.queue_add(this.album.uri)},queue_add_next(){this.$emit("close"),V.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}}},d6={key:0,class:"modal is-active"},m6={class:"modal-content fd-modal-card"},f6={class:"card"},p6={class:"card-content"},h6={class:"title is-4"},_6=["textContent"],g6={class:"content is-small"},y6=["textContent"],v6=["textContent"],b6=["textContent"],z6=["textContent"],w6=["textContent"],C6=["textContent"],k6={class:"card-footer"},x6=["textContent"],S6=["textContent"],E6=["textContent"];function $6(e,t,n,r,o,s){const i=$("cover-artwork"),a=$("mdicon");return k(),A("div",null,[y(Rt,{name:"fade"},{default:S(()=>[n.show?(k(),A("div",d6,[c("div",{class:"modal-background",onClick:t[0]||(t[0]=l=>e.$emit("close"))}),c("div",m6,[c("div",f6,[c("div",p6,[y(i,{artwork_url:s.artwork_url(n.album),artist:n.album.artist,album:n.album.name,class:"fd-has-shadow fd-cover fd-cover-normal-image mb-5",onLoad:s.artwork_loaded,onError:s.artwork_error},null,8,["artwork_url","artist","album","onLoad","onError"]),c("p",h6,[c("a",{class:"has-text-link",onClick:t[1]||(t[1]=(...l)=>s.open_album&&s.open_album(...l)),textContent:g(n.album.name)},null,8,_6)]),c("div",g6,[c("p",null,[c("span",{class:"heading",textContent:g(e.$t("dialog.spotify.album.album-artist"))},null,8,y6),c("a",{class:"title is-6 has-text-link",onClick:t[2]||(t[2]=(...l)=>s.open_artist&&s.open_artist(...l)),textContent:g(n.album.artists[0].name)},null,8,v6)]),c("p",null,[c("span",{class:"heading",textContent:g(e.$t("dialog.spotify.album.release-date"))},null,8,b6),c("span",{class:"title is-6",textContent:g(e.$filters.date(n.album.release_date))},null,8,z6)]),c("p",null,[c("span",{class:"heading",textContent:g(e.$t("dialog.spotify.album.type"))},null,8,w6),c("span",{class:"title is-6",textContent:g(n.album.album_type)},null,8,C6)])])]),c("footer",k6,[c("a",{class:"card-footer-item has-text-dark",onClick:t[3]||(t[3]=(...l)=>s.queue_add&&s.queue_add(...l))},[y(a,{class:"icon",name:"playlist-plus",size:"16"}),c("span",{class:"is-size-7",textContent:g(e.$t("dialog.spotify.album.add"))},null,8,x6)]),c("a",{class:"card-footer-item has-text-dark",onClick:t[4]||(t[4]=(...l)=>s.queue_add_next&&s.queue_add_next(...l))},[y(a,{class:"icon",name:"playlist-play",size:"16"}),c("span",{class:"is-size-7",textContent:g(e.$t("dialog.spotify.album.add-next"))},null,8,S6)]),c("a",{class:"card-footer-item has-text-dark",onClick:t[5]||(t[5]=(...l)=>s.play&&s.play(...l))},[y(a,{class:"icon",name:"play",size:"16"}),c("span",{class:"is-size-7",textContent:g(e.$t("dialog.spotify.album.play"))},null,8,E6)])])])]),c("button",{class:"modal-close is-large","aria-label":"close",onClick:t[6]||(t[6]=l=>e.$emit("close"))})])):F("",!0)]),_:1})])}const Pi=te(u6,[["render",$6]]),T6={name:"ModalDialogTrackSpotify",props:{album:{default(){return{}},type:Object},show:Boolean,track:{required:!0,type:Object}},emits:["close"],methods:{play(){this.$emit("close"),V.player_play_uri(this.track.uri,!1)},queue_add(){this.$emit("close"),V.queue_add(this.track.uri)},queue_add_next(){this.$emit("close"),V.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}})}}},A6={key:0,class:"modal is-active"},O6={class:"modal-content fd-modal-card"},P6={class:"card"},I6={class:"card-content"},R6=["textContent"],D6=["textContent"],L6={class:"content is-small"},N6=["textContent"],M6=["textContent"],F6=["textContent"],V6=["textContent"],H6=["textContent"],U6=["textContent"],j6=["textContent"],q6=["textContent"],B6=["textContent"],W6=["textContent"],G6=["textContent"],K6=["textContent"],Z6={class:"card-footer"},Y6=["textContent"],J6=["textContent"],X6=["textContent"];function Q6(e,t,n,r,o,s){const i=$("mdicon");return k(),A("div",null,[y(Rt,{name:"fade"},{default:S(()=>[n.show?(k(),A("div",A6,[c("div",{class:"modal-background",onClick:t[0]||(t[0]=a=>e.$emit("close"))}),c("div",O6,[c("div",P6,[c("div",I6,[c("p",{class:"title is-4",textContent:g(n.track.name)},null,8,R6),c("p",{class:"subtitle",textContent:g(n.track.artists[0].name)},null,8,D6),c("div",L6,[c("p",null,[c("span",{class:"heading",textContent:g(e.$t("dialog.spotify.track.album"))},null,8,N6),c("a",{class:"title is-6 has-text-link",onClick:t[1]||(t[1]=(...a)=>s.open_album&&s.open_album(...a)),textContent:g(n.album.name)},null,8,M6)]),c("p",null,[c("span",{class:"heading",textContent:g(e.$t("dialog.spotify.track.album-artist"))},null,8,F6),c("a",{class:"title is-6 has-text-link",onClick:t[2]||(t[2]=(...a)=>s.open_artist&&s.open_artist(...a)),textContent:g(n.album.artists[0].name)},null,8,V6)]),c("p",null,[c("span",{class:"heading",textContent:g(e.$t("dialog.spotify.track.release-date"))},null,8,H6),c("span",{class:"title is-6",textContent:g(e.$filters.date(n.album.release_date))},null,8,U6)]),c("p",null,[c("span",{class:"heading",textContent:g(e.$t("dialog.spotify.track.position"))},null,8,j6),c("span",{class:"title is-6",textContent:g([n.track.disc_number,n.track.track_number].join(" / "))},null,8,q6)]),c("p",null,[c("span",{class:"heading",textContent:g(e.$t("dialog.spotify.track.duration"))},null,8,B6),c("span",{class:"title is-6",textContent:g(e.$filters.durationInHours(n.track.duration_ms))},null,8,W6)]),c("p",null,[c("span",{class:"heading",textContent:g(e.$t("dialog.spotify.track.path"))},null,8,G6),c("span",{class:"title is-6",textContent:g(n.track.uri)},null,8,K6)])])]),c("footer",Z6,[c("a",{class:"card-footer-item has-text-dark",onClick:t[3]||(t[3]=(...a)=>s.queue_add&&s.queue_add(...a))},[y(i,{class:"icon",name:"playlist-plus",size:"16"}),c("span",{class:"is-size-7",textContent:g(e.$t("dialog.spotify.track.add"))},null,8,Y6)]),c("a",{class:"card-footer-item has-text-dark",onClick:t[4]||(t[4]=(...a)=>s.queue_add_next&&s.queue_add_next(...a))},[y(i,{class:"icon",name:"playlist-play",size:"16"}),c("span",{class:"is-size-7",textContent:g(e.$t("dialog.spotify.track.add-next"))},null,8,J6)]),c("a",{class:"card-footer-item has-text-dark",onClick:t[5]||(t[5]=(...a)=>s.play&&s.play(...a))},[y(i,{class:"icon",name:"play",size:"16"}),c("span",{class:"is-size-7",textContent:g(e.$t("dialog.spotify.track.play"))},null,8,X6)])])])]),c("button",{class:"modal-close is-large","aria-label":"close",onClick:t[6]||(t[6]=a=>e.$emit("close"))})])):F("",!0)]),_:1})])}const fm=te(T6,[["render",Q6]]),ra={load(e){const t=new Zn;return t.setAccessToken(He.state.spotify.webapi_token),t.getAlbum(e.params.id,{market:He.state.spotify.webapi_country})},set(e,t){e.album=t}},e4={name:"PageAlbumSpotify",components:{ContentWithHero:ac,CoverArtwork:Dn,ListItemTrackSpotify:mm,ModalDialogAlbumSpotify:Pi,ModalDialogTrackSpotify:fm},beforeRouteEnter(e,t,n){ra.load(e).then(r=>{n(o=>ra.set(o,r))})},beforeRouteUpdate(e,t,n){const r=this;ra.load(e).then(o=>{ra.set(r,o),n()})},data(){return{album:{artists:[{}],tracks:{}},selected_track:{},show_details_modal:!1,show_track_details_modal:!1}},methods:{artwork_url(e){var t,n;return((n=(t=e.images)==null?void 0:t[0])==null?void 0:n.url)||""},open_artist(){this.$router.push({name:"music-spotify-artist",params:{id:this.album.artists[0].id}})},play(){this.show_details_modal=!1,V.player_play_uri(this.album.uri,!0)},open_track_dialog(e){this.selected_track=e,this.show_track_details_modal=!0}}},t4=["textContent"],n4={class:"subtitle is-6 has-text-link"},r4=["textContent"],o4={class:"buttons fd-is-centered-mobile mt-5"},s4=["textContent"],i4=["textContent"],a4=["onClick"];function l4(e,t,n,r,o,s){const i=$("mdicon"),a=$("cover-artwork"),l=$("list-item-track-spotify"),u=$("modal-dialog-album-spotify"),m=$("modal-dialog-track-spotify"),d=$("content-with-hero");return k(),A("div",null,[y(d,null,{"heading-left":S(()=>[c("h1",{class:"title is-5",textContent:g(o.album.name)},null,8,t4),c("h2",n4,[c("a",{class:"has-text-link",onClick:t[0]||(t[0]=(...f)=>s.open_artist&&s.open_artist(...f)),textContent:g(o.album.artists[0].name)},null,8,r4)]),c("div",o4,[c("a",{class:"button is-small is-dark is-rounded",onClick:t[1]||(t[1]=(...f)=>s.play&&s.play(...f))},[y(i,{class:"icon",name:"shuffle",size:"16"}),c("span",{textContent:g(e.$t("page.spotify.album.shuffle"))},null,8,s4)]),c("a",{class:"button is-small is-light is-rounded",onClick:t[2]||(t[2]=f=>o.show_details_modal=!0)},[y(i,{class:"icon",name:"dots-horizontal",size:"16"})])])]),"heading-right":S(()=>[y(a,{artwork_url:s.artwork_url(o.album),artist:o.album.artist,album:o.album.name,class:"is-clickable fd-has-shadow fd-cover fd-cover-medium-image",onClick:t[3]||(t[3]=f=>o.show_details_modal=!0)},null,8,["artwork_url","artist","album"])]),content:S(()=>[c("p",{class:"heading is-7 has-text-centered-mobile mt-5",textContent:g(e.$t("page.spotify.album.track-count",{count:o.album.tracks.total}))},null,8,i4),(k(!0),A(Ce,null,ut(o.album.tracks.items,(f,p)=>(k(),_e(l,{key:f.id,track:f,position:p,context_uri:o.album.uri},{actions:S(()=>[c("a",{onClick:ot(h=>s.open_track_dialog(f),["prevent","stop"])},[y(i,{class:"icon has-text-dark",name:"dots-vertical",size:"16"})],8,a4)]),_:2},1032,["track","position","context_uri"]))),128)),y(u,{show:o.show_details_modal,album:o.album,onClose:t[4]||(t[4]=f=>o.show_details_modal=!1)},null,8,["show","album"]),y(m,{show:o.show_track_details_modal,track:o.selected_track,album:o.album,onClose:t[5]||(t[5]=f=>o.show_track_details_modal=!1)},null,8,["show","track","album"])]),_:1})])}const c4=te(e4,[["render",l4]]),u4={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}}},d4={class:"section"},m4={class:"container"},f4={class:"columns is-centered"},p4={class:"column is-four-fifths"},h4={key:0},_4={ref:"options_ref",style:{height:"1px"}},g4={class:"buttons is-centered mt-4 mb-2"},y4={id:"top",class:"level is-clipped"},v4={class:"level-left is-flex-shrink-1"},b4={class:"level-item is-flex-shrink-1 has-text-centered-mobile"},z4={class:"level-right has-text-centered-mobile"},w4={class:"mt-4"};function C4(e,t,n,r,o,s){const i=$("mdicon"),a=$("router-link");return k(),A("section",d4,[c("div",m4,[c("div",f4,[c("div",p4,[e.$slots.options?(k(),A("section",h4,[c("div",_4,null,512),it(e.$slots,"options"),c("nav",g4,[y(a,{class:"button is-small is-white",to:s.position},{default:S(()=>[y(i,{class:"icon is-small",name:s.icon_name,size:"16"},null,8,["name"])]),_:1},8,["to"])])])):F("",!0),c("div",{class:Se({"is-full-height":e.$slots.options})},[c("nav",y4,[c("div",v4,[c("div",b4,[c("div",null,[it(e.$slots,"heading-left")])])]),c("div",z4,[it(e.$slots,"heading-right")])]),it(e.$slots,"content"),c("div",w4,[it(e.$slots,"footer")])],2)])])])])}const et=te(u4,[["render",C4]]),k4={name:"ControlDropdown",props:{options:{required:!0,type:Array},value:{required:!0,type:[String,Number]}},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)}}},x4={class:"dropdown-trigger"},S4=["textContent"],E4={id:"dropdown",class:"dropdown-menu",role:"menu"},$4={class:"dropdown-content"},T4=["onClick","textContent"];function A4(e,t,n,r,o,s){const i=$("mdicon"),a=xd("click-away");return yt((k(),A("div",{class:Se(["dropdown",{"is-active":o.is_active}])},[c("div",x4,[c("button",{class:"button","aria-haspopup":"true","aria-controls":"dropdown",onClick:t[0]||(t[0]=l=>o.is_active=!o.is_active)},[c("span",{textContent:g(s.option.name)},null,8,S4),y(i,{class:"icon",name:"chevron-down",size:"16"})])]),c("div",E4,[c("div",$4,[(k(!0),A(Ce,null,ut(n.options,l=>(k(),A("a",{key:l.id,class:Se(["dropdown-item",{"is-active":n.value===l.id}]),onClick:u=>s.select(l),textContent:g(l.name)},null,10,T4))),128))])])],2)),[[a,s.onClickOutside]])}const Eo=te(k4,[["render",A4]]),O4={name:"IndexButtonList",props:{indices:{required:!0,type:Array}}},P4={class:"buttons is-centered mb-4 fd-is-square"};function I4(e,t,n,r,o,s){const i=$("router-link");return k(),A("section",null,[c("nav",P4,[(k(!0),A(Ce,null,ut(n.indices,a=>(k(),_e(i,{key:a,class:"button is-small",to:"#index_"+a},{default:S(()=>[gt(g(a),1)]),_:2},1032,["to"]))),128))])])}const Yn=te(O4,[["render",I4]]),R4={name:"ListAlbums",components:{CoverArtwork:Dn,ModalDialog:Xd,ModalDialogAlbum:lc},props:{albums:{required:!0,type:Object},hide_group_title:Boolean,media_kind:{default:"",type:String}},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(){V.library_album_tracks(this.selected_album.id,{limit:1}).then(({data:e})=>{V.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,V.library_playlist_delete(this.rss_playlist_to_remove.id).then(()=>{this.$emit("podcast-deleted")})}}},D4={key:0,class:"mt-6 mb-5 py-2"},L4=["id","textContent"],N4=["onClick"],M4={key:0,class:"media-left"},F4={class:"media-content is-clickable is-clipped"},V4=["textContent"],H4=["textContent"],U4=["textContent"],j4={class:"media-right"},q4=["onClick"],B4=["textContent"],W4={class:"is-size-7"},G4=["textContent"],K4=["textContent"];function Z4(e,t,n,r,o,s){const i=$("cover-artwork"),a=$("mdicon"),l=$("modal-dialog-album"),u=$("modal-dialog");return k(),A(Ce,null,[(k(!0),A(Ce,null,ut(n.albums,m=>(k(),A(Ce,{key:m.itemId},[!m.isItem&&!n.hide_group_title?(k(),A("div",D4,[c("span",{id:"index_"+m.groupKey,class:"tag is-info is-light is-small has-text-weight-bold",textContent:g(m.groupKey)},null,8,L4)])):m.isItem?(k(),A("div",{key:1,class:"media is-align-items-center",onClick:d=>s.open_album(m.item)},[s.is_visible_artwork?(k(),A("div",M4,[y(i,{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"])])):F("",!0),c("div",F4,[c("div",null,[c("h1",{class:"title is-6",textContent:g(m.item.name)},null,8,V4),c("h2",{class:"subtitle is-7 has-text-grey has-text-weight-bold",textContent:g(m.item.artist)},null,8,H4),m.item.date_released&&m.item.media_kind==="music"?(k(),A("h2",{key:0,class:"subtitle is-7 has-text-grey",textContent:g(e.$filters.date(m.item.date_released))},null,8,U4)):F("",!0)])]),c("div",j4,[c("a",{onClick:ot(d=>s.open_dialog(m.item),["prevent","stop"])},[y(a,{class:"icon has-text-dark",name:"dots-vertical",size:"16"})],8,q4)])],8,N4)):F("",!0)],64))),128)),(k(),_e(Zr,{to:"#app"},[y(l,{show:o.show_details_modal,album:o.selected_album,media_kind:n.media_kind,onRemovePodcast:t[0]||(t[0]=m=>s.open_remove_podcast_dialog()),onPlayCountChanged:t[1]||(t[1]=m=>s.play_count_changed()),onClose:t[2]||(t[2]=m=>o.show_details_modal=!1)},null,8,["show","album","media_kind"]),y(u,{show:o.show_remove_podcast_modal,title:e.$t("page.podcast.remove-podcast"),delete_action:e.$t("page.podcast.remove"),onClose:t[3]||(t[3]=m=>o.show_remove_podcast_modal=!1),onDelete:s.remove_podcast},{"modal-content":S(()=>[c("p",{textContent:g(e.$t("list.albums.info-1"))},null,8,B4),c("p",W4,[gt(" ("),c("span",{textContent:g(e.$t("list.albums.info-2"))},null,8,G4),c("b",{textContent:g(o.rss_playlist_to_remove.name)},null,8,K4),gt(") ")])]),_:1},8,["show","title","delete_action","onDelete"])]))],64)}const lr=te(R4,[["render",Z4]]),Y4={name:"TabsMusic",computed:{spotify_enabled(){return this.$store.state.spotify.webapi_token_valid}}},J4={class:"section fd-tabs-section"},X4={class:"container"},Q4={class:"columns is-centered"},e5={class:"column is-four-fifths"},t5={class:"tabs is-centered is-small"},n5=["onClick","onKeypress"],r5=["textContent"],o5=["onClick","onKeypress"],s5=["textContent"],i5=["onClick","onKeypress"],a5=["textContent"],l5=["onClick","onKeypress"],c5=["textContent"],u5=["onClick","onKeypress"],d5=["textContent"],m5=["onClick","onKeypress"],f5=["textContent"];function p5(e,t,n,r,o,s){const i=$("mdicon"),a=$("router-link");return k(),A("section",J4,[c("div",X4,[c("div",Q4,[c("div",e5,[c("div",t5,[c("ul",null,[y(a,{to:{name:"music-history"},custom:""},{default:S(({navigate:l,isActive:u})=>[c("li",{class:Se({"is-active":u})},[c("a",{onClick:l,onKeypress:on(l,["enter"])},[y(i,{class:"icon is-small",name:"history",size:"16"}),c("span",{textContent:g(e.$t("page.music.tabs.history"))},null,8,r5)],40,n5)],2)]),_:1}),y(a,{to:{name:"music-artists"},custom:""},{default:S(({navigate:l,isActive:u})=>[c("li",{class:Se({"is-active":u})},[c("a",{onClick:l,onKeypress:on(l,["enter"])},[y(i,{class:"icon is-small",name:"account-music",size:"16"}),c("span",{textContent:g(e.$t("page.music.tabs.artists"))},null,8,s5)],40,o5)],2)]),_:1}),y(a,{to:{name:"music-albums"},custom:""},{default:S(({navigate:l,isActive:u})=>[c("li",{class:Se({"is-active":u})},[c("a",{onClick:l,onKeypress:on(l,["enter"])},[y(i,{class:"icon is-small",name:"album",size:"16"}),c("span",{textContent:g(e.$t("page.music.tabs.albums"))},null,8,a5)],40,i5)],2)]),_:1}),y(a,{to:{name:"music-genres"},custom:""},{default:S(({navigate:l,isActive:u})=>[c("li",{class:Se({"is-active":u})},[c("a",{onClick:l,onKeypress:on(l,["enter"])},[y(i,{class:"icon is-small",name:"speaker",size:"16"}),c("span",{textContent:g(e.$t("page.music.tabs.genres"))},null,8,c5)],40,l5)],2)]),_:1}),y(a,{to:{name:"music-composers"},custom:""},{default:S(({navigate:l,isActive:u})=>[c("li",{class:Se({"is-active":u})},[c("a",{onClick:l,onKeypress:on(l,["enter"])},[y(i,{class:"icon is-small",name:"book-open-page-variant",size:"16"}),c("span",{textContent:g(e.$t("page.music.tabs.composers"))},null,8,d5)],40,u5)],2)]),_:1}),s.spotify_enabled?(k(),_e(a,{key:0,to:{name:"music-spotify"},custom:""},{default:S(({navigate:l,isActive:u})=>[c("li",{class:Se({"is-active":u})},[c("a",{onClick:l,onKeypress:on(l,["enter"])},[y(i,{class:"icon is-small",name:"spotify",size:"16"}),c("span",{textContent:g(e.$t("page.music.tabs.spotify"))},null,8,f5)],40,m5)],2)]),_:1})):F("",!0)])])])])])])}const cr=te(Y4,[["render",p5]]),oa={load(e){return V.library_albums("music")},set(e,t){e.albums_list=new ve(t.data)}},h5={name:"PageAlbums",components:{ContentWithHeading:et,ControlDropdown:Eo,IndexButtonList:Yn,ListAlbums:lr,TabsMusic:cr},beforeRouteEnter(e,t,n){oa.load(e).then(r=>{n(o=>oa.set(o,r))})},beforeRouteUpdate(e,t,n){const r=this;oa.load(e).then(o=>{oa.set(r,o),n()})},data(){return{albums_list:new ve,grouping_options:[{id:1,name:this.$t("page.albums.sort.name"),options:Rn("name_sort",!0)},{id:2,name:this.$t("page.albums.sort.recently-added"),options:zl("time_added",{direction:"desc"})},{id:3,name:this.$t("page.albums.sort.recently-released"),options:zl("date_released",{direction:"desc"})}]}},computed:{albums(){const e=this.grouping_options.find(t=>t.id===this.selected_grouping_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_grouping_option_id:{get(){return this.$store.state.albums_sort},set(e){this.$store.commit(bh,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(El,e)}},hide_spotify:{get(){return this.$store.state.hide_spotify},set(e){this.$store.commit(gi,e)}}}},_5={class:"fd-page-with-tabs"},g5={class:"columns"},y5={class:"column"},v5=["textContent"],b5={class:"field"},z5={class:"control"},w5=["textContent"],C5=["textContent"],k5={key:0,class:"field"},x5={class:"control"},S5=["textContent"],E5=["textContent"],$5={class:"column"},T5=["textContent"],A5=["textContent"],O5=["textContent"];function P5(e,t,n,r,o,s){const i=$("tabs-music"),a=$("index-button-list"),l=$("control-dropdown"),u=$("list-albums"),m=$("content-with-heading");return k(),A("div",_5,[y(i),y(m,null,{options:S(()=>[y(a,{indices:s.albums.indices},null,8,["indices"]),c("div",g5,[c("div",y5,[c("p",{class:"heading mb-5",textContent:g(e.$t("page.albums.filter"))},null,8,v5),c("div",b5,[c("div",z5,[yt(c("input",{id:"switchHideSingles","onUpdate:modelValue":t[0]||(t[0]=d=>s.hide_singles=d),type:"checkbox",class:"switch is-rounded"},null,512),[[An,s.hide_singles]]),c("label",{for:"switchHideSingles",textContent:g(e.$t("page.albums.hide-singles"))},null,8,w5)]),c("p",{class:"help",textContent:g(e.$t("page.albums.hide-singles-help"))},null,8,C5)]),s.spotify_enabled?(k(),A("div",k5,[c("div",x5,[yt(c("input",{id:"switchHideSpotify","onUpdate:modelValue":t[1]||(t[1]=d=>s.hide_spotify=d),type:"checkbox",class:"switch is-rounded"},null,512),[[An,s.hide_spotify]]),c("label",{for:"switchHideSpotify",textContent:g(e.$t("page.albums.hide-spotify"))},null,8,S5)]),c("p",{class:"help",textContent:g(e.$t("page.albums.hide-spotify-help"))},null,8,E5)])):F("",!0)]),c("div",$5,[c("p",{class:"heading mb-5",textContent:g(e.$t("page.albums.sort.title"))},null,8,T5),y(l,{value:s.selected_grouping_option_id,"onUpdate:value":t[2]||(t[2]=d=>s.selected_grouping_option_id=d),options:o.grouping_options},null,8,["value","options"])])])]),"heading-left":S(()=>[c("p",{class:"title is-4",textContent:g(e.$t("page.albums.title"))},null,8,A5),c("p",{class:"heading",textContent:g(e.$t("page.albums.count",{count:s.albums.count}))},null,8,O5)]),"heading-right":S(()=>[]),content:S(()=>[y(u,{albums:s.albums},null,8,["albums"])]),_:1})])}const I5=te(h5,[["render",P5]]),R5={name:"ModalDialogArtist",props:{artist:{required:!0,type:Object},show:Boolean},emits:["close"],methods:{play(){this.$emit("close"),V.player_play_uri(this.artist.uri,!1)},queue_add(){this.$emit("close"),V.queue_add(this.artist.uri)},queue_add_next(){this.$emit("close"),V.queue_add_next(this.artist.uri)},open_artist(){this.$emit("close"),this.$router.push({name:"music-artist",params:{id:this.artist.id}})}}},D5={key:0,class:"modal is-active"},L5={class:"modal-content fd-modal-card"},N5={class:"card"},M5={class:"card-content"},F5={class:"title is-4"},V5=["textContent"],H5={class:"content is-small"},U5=["textContent"],j5=["textContent"],q5=["textContent"],B5=["textContent"],W5=["textContent"],G5=["textContent"],K5=["textContent"],Z5=["textContent"],Y5={class:"card-footer"},J5=["textContent"],X5=["textContent"],Q5=["textContent"];function e3(e,t,n,r,o,s){const i=$("mdicon");return k(),A("div",null,[y(Rt,{name:"fade"},{default:S(()=>[n.show?(k(),A("div",D5,[c("div",{class:"modal-background",onClick:t[0]||(t[0]=a=>e.$emit("close"))}),c("div",L5,[c("div",N5,[c("div",M5,[c("p",F5,[c("a",{class:"has-text-link",onClick:t[1]||(t[1]=(...a)=>s.open_artist&&s.open_artist(...a)),textContent:g(n.artist.name)},null,8,V5)]),c("div",H5,[c("p",null,[c("span",{class:"heading",textContent:g(e.$t("dialog.artist.albums"))},null,8,U5),c("span",{class:"title is-6",textContent:g(n.artist.album_count)},null,8,j5)]),c("p",null,[c("span",{class:"heading",textContent:g(e.$t("dialog.artist.tracks"))},null,8,q5),c("span",{class:"title is-6",textContent:g(n.artist.track_count)},null,8,B5)]),c("p",null,[c("span",{class:"heading",textContent:g(e.$t("dialog.artist.type"))},null,8,W5),c("span",{class:"title is-6",textContent:g(e.$t("data.kind."+n.artist.data_kind))},null,8,G5)]),c("p",null,[c("span",{class:"heading",textContent:g(e.$t("dialog.artist.added-on"))},null,8,K5),c("span",{class:"title is-6",textContent:g(e.$filters.datetime(n.artist.time_added))},null,8,Z5)])])]),c("footer",Y5,[c("a",{class:"card-footer-item has-text-dark",onClick:t[2]||(t[2]=(...a)=>s.queue_add&&s.queue_add(...a))},[y(i,{class:"icon",name:"playlist-plus",size:"16"}),c("span",{class:"is-size-7",textContent:g(e.$t("dialog.artist.add"))},null,8,J5)]),c("a",{class:"card-footer-item has-text-dark",onClick:t[3]||(t[3]=(...a)=>s.queue_add_next&&s.queue_add_next(...a))},[y(i,{class:"icon",name:"playlist-play",size:"16"}),c("span",{class:"is-size-7",textContent:g(e.$t("dialog.artist.add-next"))},null,8,X5)]),c("a",{class:"card-footer-item has-text-dark",onClick:t[4]||(t[4]=(...a)=>s.play&&s.play(...a))},[y(i,{class:"icon",name:"play",size:"16"}),c("span",{class:"is-size-7",textContent:g(e.$t("dialog.artist.play"))},null,8,Q5)])])])]),c("button",{class:"modal-close is-large","aria-label":"close",onClick:t[5]||(t[5]=a=>e.$emit("close"))})])):F("",!0)]),_:1})])}const cc=te(R5,[["render",e3]]),sa={load(e){return Promise.all([V.library_artist(e.params.id),V.library_artist_albums(e.params.id)])},set(e,t){e.artist=t[0].data,e.albums_list=new ve(t[1].data)}},t3={name:"PageArtist",components:{ContentWithHeading:et,ControlDropdown:Eo,ListAlbums:lr,ModalDialogArtist:cc},beforeRouteEnter(e,t,n){sa.load(e).then(r=>{n(o=>sa.set(o,r))})},beforeRouteUpdate(e,t,n){const r=this;sa.load(e).then(o=>{sa.set(r,o),n()})},data(){return{artist:{},albums_list:new ve,grouping_options:[{id:1,name:this.$t("page.artist.sort.name"),options:Rn("name_sort",!0)},{id:2,name:this.$t("page.artist.sort.release-date"),options:zl("date_released",{direction:"asc"})}],show_details_modal:!1}},computed:{albums(){const e=this.grouping_options.find(t=>t.id===this.selected_grouping_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(gi,e)}},selected_grouping_option_id:{get(){return this.$store.state.artist_albums_sort},set(e){this.$store.commit(yh,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(){V.player_play_uri(this.albums.items.map(e=>e.uri).join(","),!0)}}},n3={class:"columns"},r3={class:"column"},o3=["textContent"],s3={key:0,class:"field"},i3={class:"control"},a3=["textContent"],l3=["textContent"],c3={class:"column"},u3=["textContent"],d3=["textContent"],m3={class:"buttons is-centered"},f3=["textContent"],p3={class:"heading has-text-centered-mobile"},h3=["textContent"],_3=c("span",null," | ",-1),g3=["textContent"];function y3(e,t,n,r,o,s){const i=$("control-dropdown"),a=$("mdicon"),l=$("list-albums"),u=$("modal-dialog-artist"),m=$("content-with-heading");return k(),A("div",null,[y(m,null,{options:S(()=>[c("div",n3,[c("div",r3,[c("p",{class:"heading mb-5",textContent:g(e.$t("page.artist.filter"))},null,8,o3),s.spotify_enabled?(k(),A("div",s3,[c("div",i3,[yt(c("input",{id:"switchHideSpotify","onUpdate:modelValue":t[0]||(t[0]=d=>s.hide_spotify=d),type:"checkbox",class:"switch is-rounded"},null,512),[[An,s.hide_spotify]]),c("label",{for:"switchHideSpotify",textContent:g(e.$t("page.artist.hide-spotify"))},null,8,a3)]),c("p",{class:"help",textContent:g(e.$t("page.artist.hide-spotify-help"))},null,8,l3)])):F("",!0)]),c("div",c3,[c("p",{class:"heading mb-5",textContent:g(e.$t("page.artist.sort.title"))},null,8,u3),y(i,{value:s.selected_grouping_option_id,"onUpdate:value":t[1]||(t[1]=d=>s.selected_grouping_option_id=d),options:o.grouping_options},null,8,["value","options"])])])]),"heading-left":S(()=>[c("p",{class:"title is-4",textContent:g(o.artist.name)},null,8,d3)]),"heading-right":S(()=>[c("div",m3,[c("a",{class:"button is-small is-light is-rounded",onClick:t[2]||(t[2]=d=>o.show_details_modal=!0)},[y(a,{class:"icon",name:"dots-horizontal",size:"16"})]),c("a",{class:"button is-small is-dark is-rounded",onClick:t[3]||(t[3]=(...d)=>s.play&&s.play(...d))},[y(a,{class:"icon",name:"shuffle",size:"16"}),c("span",{textContent:g(e.$t("page.artist.shuffle"))},null,8,f3)])])]),content:S(()=>[c("p",p3,[c("span",{textContent:g(e.$t("page.artist.album-count",{count:s.albums.count}))},null,8,h3),_3,c("a",{class:"has-text-link",onClick:t[4]||(t[4]=(...d)=>s.open_tracks&&s.open_tracks(...d)),textContent:g(e.$t("page.artist.track-count",{count:s.track_count}))},null,8,g3)]),y(l,{albums:s.albums,hide_group_title:!0},null,8,["albums"]),y(u,{show:o.show_details_modal,artist:o.artist,onClose:t[5]||(t[5]=d=>o.show_details_modal=!1)},null,8,["show","artist"])]),_:1})])}const v3=te(t3,[["render",y3]]),b3={name:"ListItemAlbumSpotify",props:{album:{required:!0,type:Object}}},z3={class:"media is-align-items-center"},w3={key:0,class:"media-left is-clickable"},C3={class:"media-content is-clickable is-clipped"},k3=["textContent"],x3=["textContent"],S3=["textContent"],E3={class:"media-right"};function $3(e,t,n,r,o,s){return k(),A("div",z3,[e.$slots.artwork?(k(),A("div",w3,[it(e.$slots,"artwork")])):F("",!0),c("div",C3,[c("h1",{class:"title is-6",textContent:g(n.album.name)},null,8,k3),c("h2",{class:"subtitle is-7 has-text-grey has-text-weight-bold",textContent:g(n.album.artists[0].name)},null,8,x3),c("h2",{class:"subtitle is-7 has-text-grey",textContent:g([n.album.album_type,e.$filters.date(n.album.release_date)].join(", "))},null,8,S3)]),c("div",E3,[it(e.$slots,"actions")])])}const uc=te(b3,[["render",$3]]),T3={name:"ModalDialogArtistSpotify",props:{artist:{required:!0,type:Object},show:Boolean},emits:["close"],methods:{play(){this.$emit("close"),V.player_play_uri(this.artist.uri,!1)},queue_add(){this.$emit("close"),V.queue_add(this.artist.uri)},queue_add_next(){this.$emit("close"),V.queue_add_next(this.artist.uri)},open_artist(){this.$emit("close"),this.$router.push({name:"music-spotify-artist",params:{id:this.artist.id}})}}},A3={key:0,class:"modal is-active"},O3={class:"modal-content fd-modal-card"},P3={class:"card"},I3={class:"card-content"},R3={class:"title is-4"},D3=["textContent"],L3={class:"content is-small"},N3=["textContent"],M3=["textContent"],F3=["textContent"],V3=["textContent"],H3={class:"card-footer"},U3=["textContent"],j3=["textContent"],q3=["textContent"];function B3(e,t,n,r,o,s){const i=$("mdicon");return k(),A("div",null,[y(Rt,{name:"fade"},{default:S(()=>[n.show?(k(),A("div",A3,[c("div",{class:"modal-background",onClick:t[0]||(t[0]=a=>e.$emit("close"))}),c("div",O3,[c("div",P3,[c("div",I3,[c("p",R3,[c("a",{class:"has-text-link",onClick:t[1]||(t[1]=(...a)=>s.open_artist&&s.open_artist(...a)),textContent:g(n.artist.name)},null,8,D3)]),c("div",L3,[c("p",null,[c("span",{class:"heading",textContent:g(e.$t("dialog.spotify.artist.popularity"))},null,8,N3),c("span",{class:"title is-6",textContent:g([n.artist.popularity,n.artist.followers.total].join(" / "))},null,8,M3)]),c("p",null,[c("span",{class:"heading",textContent:g(e.$t("dialog.spotify.artist.genres"))},null,8,F3),c("span",{class:"title is-6",textContent:g(n.artist.genres.join(", "))},null,8,V3)])])]),c("footer",H3,[c("a",{class:"card-footer-item has-text-dark",onClick:t[2]||(t[2]=(...a)=>s.queue_add&&s.queue_add(...a))},[y(i,{class:"icon",name:"playlist-plus",size:"16"}),c("span",{class:"is-size-7",textContent:g(e.$t("dialog.spotify.artist.add"))},null,8,U3)]),c("a",{class:"card-footer-item has-text-dark",onClick:t[3]||(t[3]=(...a)=>s.queue_add_next&&s.queue_add_next(...a))},[y(i,{class:"icon",name:"playlist-play",size:"16"}),c("span",{class:"is-size-7",textContent:g(e.$t("dialog.spotify.artist.add-next"))},null,8,j3)]),c("a",{class:"card-footer-item has-text-dark",onClick:t[4]||(t[4]=(...a)=>s.play&&s.play(...a))},[y(i,{class:"icon",name:"play",size:"16"}),c("span",{class:"is-size-7",textContent:g(e.$t("dialog.spotify.artist.play"))},null,8,q3)])])])]),c("button",{class:"modal-close is-large","aria-label":"close",onClick:t[5]||(t[5]=a=>e.$emit("close"))})])):F("",!0)]),_:1})])}const T1=te(T3,[["render",B3]]);function W3(e){return e.scrollHeight}function G3(e){return e.scrollWidth}function K3(e,t){e.scrollTop=e.scrollHeight-t+e.scrollTop}function Z3(e,t){e.scrollLeft=e.scrollWidth-t+e.scrollLeft}const Y3=c("div",{class:"loading"},"Loading...",-1),J3=c("div",{class:"no-more"},"No more.",-1),X3=c("div",{class:"no-results"},"No results.",-1),Q3=c("div",{class:"error"},"Error.",-1),pm=vr({__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=rr();let o=rr("loading"),s=rr(n.isInitial),i=0;function a(){fs(()=>{var v,z;n.position==="top"?K3((v=n.container)!=null?v:document.documentElement,i):n.position==="left"&&Z3((z=n.container)!=null?z:document.documentElement,i)})}function l(v,z){return v===0?s.value?(m(),"no-results"):(u(),"no-more"):v!==void 0&&z!==void 0&&v<z?(u(),"no-more"):(s.value=!1,a(),b(),"loading")}function u(){s.value=!1,h("no-more"),a()}function m(){s.value=!1,h("no-results"),a()}function d(){s.value=!1,h("error"),a()}function f(){s.value=!0,h("loading"),b()}function p(){h("loading"),b()}function h(v){o.value=v}function _(){r.value&&w.unobserve(r.value)}function b(){r.value&&w.observe(r.value)}function C(){return new IntersectionObserver(([v])=>{var z,E;v.isIntersecting&&(n.position==="top"?i=W3((z=n.container)!=null?z:document.documentElement):n.position==="left"&&(i=G3((E=n.container)!=null?E:document.documentElement)),_(),n.load({loaded:l,noMore:u,noResults:m,error:d},{isFirstLoad:s.value}))},{root:n.container,threshold:0,rootMargin:n.margin})}let w;return typeof IntersectionObserver<"u"&&r_(()=>{w&&_(),w=C(),b()},{flush:"post"}),vn(()=>n.isInitial,v=>{v&&f()}),vn(s,v=>{v||t("update:isInitial",!1)}),(v,z)=>(k(),A("div",{class:"vue-eternal-loading",ref_key:"rootRef",ref:r},[gn(o)==="loading"?it(v.$slots,"loading",Is(Vo({key:0},{isFirstLoad:gn(s)})),()=>[Y3]):gn(o)==="no-more"?it(v.$slots,"no-more",Is(Vo({key:1},{retry:p})),()=>[J3]):gn(o)==="no-results"?it(v.$slots,"no-results",Is(Vo({key:2},{retry:p})),()=>[X3]):gn(o)==="error"?it(v.$slots,"error",Is(Vo({key:3},{retry:p})),()=>[Q3]):F("",!0)],512))}}),Ku=50,ia={load(e){const t=new Zn;return t.setAccessToken(He.state.spotify.webapi_token),Promise.all([t.getArtist(e.params.id),t.getArtistAlbums(e.params.id,{limit:Ku,offset:0,include_groups:"album,single",market:He.state.spotify.webapi_country})])},set(e,t){e.artist=t[0],e.albums=[],e.total=0,e.offset=0,e.append_albums(t[1])}},eR={name:"PageArtistSpotify",components:{ContentWithHeading:et,CoverArtwork:Dn,ListItemAlbumSpotify:uc,ModalDialogAlbumSpotify:Pi,ModalDialogArtistSpotify:T1,VueEternalLoading:pm},beforeRouteEnter(e,t,n){ia.load(e).then(r=>{n(o=>ia.set(o,r))})},beforeRouteUpdate(e,t,n){const r=this;ia.load(e).then(o=>{ia.set(r,o),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 Zn;t.setAccessToken(this.$store.state.spotify.webapi_token),t.getArtistAlbums(this.artist.id,{limit:Ku,offset:this.offset,include_groups:"album,single"}).then(n=>{this.append_albums(n),e(n.items.length,Ku)})},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,V.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:""}}},tR=["textContent"],nR={class:"buttons is-centered"},rR=["textContent"],oR=["textContent"],sR=["onClick"],iR={class:"columns is-centered"},aR={class:"column has-text-centered"};function lR(e,t,n,r,o,s){const i=$("mdicon"),a=$("cover-artwork"),l=$("list-item-album-spotify"),u=$("VueEternalLoading"),m=$("modal-dialog-artist-spotify"),d=$("modal-dialog-album-spotify"),f=$("content-with-heading");return k(),A("div",null,[y(f,null,{"heading-left":S(()=>[c("p",{class:"title is-4",textContent:g(o.artist.name)},null,8,tR)]),"heading-right":S(()=>[c("div",nR,[c("a",{class:"button is-small is-light is-rounded",onClick:t[0]||(t[0]=p=>o.show_details_modal=!0)},[y(i,{class:"icon",name:"dots-horizontal",size:"16"})]),c("a",{class:"button is-small is-dark is-rounded",onClick:t[1]||(t[1]=(...p)=>s.play&&s.play(...p))},[y(i,{class:"icon",name:"shuffle",size:"16"}),c("span",{textContent:g(e.$t("page.spotify.artist.shuffle"))},null,8,rR)])])]),content:S(()=>[c("p",{class:"heading has-text-centered-mobile",textContent:g(e.$t("page.spotify.artist.album-count",{count:o.total}))},null,8,oR),(k(!0),A(Ce,null,ut(o.albums,p=>(k(),_e(l,{key:p.id,album:p,onClick:h=>s.open_album(p)},ki({actions:S(()=>[c("a",{onClick:ot(h=>s.open_dialog(p),["prevent","stop"])},[y(i,{class:"icon has-text-dark",name:"dots-vertical",size:"16"})],8,sR)]),_:2},[s.is_visible_artwork?{name:"artwork",fn:S(()=>[y(a,{artwork_url:s.artwork_url(p),artist:p.artist,album:p.name,class:"is-clickable fd-has-shadow fd-cover fd-cover-small-image"},null,8,["artwork_url","artist","album"])]),key:"0"}:void 0]),1032,["album","onClick"]))),128)),o.offset<o.total?(k(),_e(u,{key:0,load:s.load_next},{loading:S(()=>[c("div",iR,[c("div",aR,[y(i,{class:"icon mdi-spin",name:"loading"})])])]),"no-more":S(()=>[gt(" ")]),_:1},8,["load"])):F("",!0),y(m,{show:o.show_details_modal,artist:o.artist,onClose:t[2]||(t[2]=p=>o.show_details_modal=!1)},null,8,["show","artist"]),y(d,{show:o.show_album_details_modal,album:o.selected_album,onClose:t[3]||(t[3]=p=>o.show_album_details_modal=!1)},null,8,["show","album"])]),_:1})])}const cR=te(eR,[["render",lR]]),aa={load(e){return Promise.all([V.library_artist(e.params.id),V.library_artist_tracks(e.params.id)])},set(e,t){e.artist=t[0].data,e.tracks_list=new ve(t[1].data.tracks)}},uR={name:"PageArtistTracks",components:{ContentWithHeading:et,ControlDropdown:Eo,IndexButtonList:Yn,ListTracks:zn,ModalDialogArtist:cc},beforeRouteEnter(e,t,n){aa.load(e).then(r=>{n(o=>aa.set(o,r))})},beforeRouteUpdate(e,t,n){const r=this;aa.load(e).then(o=>{aa.set(r,o),n()})},data(){return{artist:{},grouping_options:[{id:1,name:this.$t("page.artist.sort.name"),options:Rn("title_sort")},{id:2,name:this.$t("page.artist.sort.rating"),options:dm("rating",{direction:"desc"})}],show_details_modal:!1,tracks_list:new ve}},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(gi,e)}},selected_grouping_option_id:{get(){return this.$store.state.artist_tracks_sort},set(e){this.$store.commit(vh,e)}},spotify_enabled(){return this.$store.state.spotify.webapi_token_valid},tracks(){const e=this.grouping_options.find(t=>t.id===this.selected_grouping_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(){V.player_play_uri(this.tracks_list.items.map(e=>e.uri).join(","),!0)}}},dR={class:"columns"},mR={class:"column"},fR=["textContent"],pR={key:0,class:"field"},hR={class:"control"},_R=["textContent"],gR=["textContent"],yR={class:"column"},vR=["textContent"],bR=["textContent"],zR={class:"buttons is-centered"},wR=["textContent"],CR={class:"heading has-text-centered-mobile"},kR=["textContent"],xR=c("span",null," | ",-1),SR=["textContent"];function ER(e,t,n,r,o,s){const i=$("index-button-list"),a=$("control-dropdown"),l=$("mdicon"),u=$("list-tracks"),m=$("modal-dialog-artist"),d=$("content-with-heading");return k(),A("div",null,[y(d,null,{options:S(()=>[y(i,{indices:s.tracks.indices},null,8,["indices"]),c("div",dR,[c("div",mR,[c("p",{class:"heading mb-5",textContent:g(e.$t("page.artist.filter"))},null,8,fR),s.spotify_enabled?(k(),A("div",pR,[c("div",hR,[yt(c("input",{id:"switchHideSpotify","onUpdate:modelValue":t[0]||(t[0]=f=>s.hide_spotify=f),type:"checkbox",class:"switch is-rounded"},null,512),[[An,s.hide_spotify]]),c("label",{for:"switchHideSpotify",textContent:g(e.$t("page.artist.hide-spotify"))},null,8,_R)]),c("p",{class:"help",textContent:g(e.$t("page.artist.hide-spotify-help"))},null,8,gR)])):F("",!0)]),c("div",yR,[c("p",{class:"heading mb-5",textContent:g(e.$t("page.artist.sort.title"))},null,8,vR),y(a,{value:s.selected_grouping_option_id,"onUpdate:value":t[1]||(t[1]=f=>s.selected_grouping_option_id=f),options:o.grouping_options},null,8,["value","options"])])])]),"heading-left":S(()=>[c("p",{class:"title is-4",textContent:g(o.artist.name)},null,8,bR)]),"heading-right":S(()=>[c("div",zR,[c("a",{class:"button is-small is-light is-rounded",onClick:t[2]||(t[2]=f=>o.show_details_modal=!0)},[y(l,{class:"icon",name:"dots-horizontal",size:"16"})]),c("a",{class:"button is-small is-dark is-rounded",onClick:t[3]||(t[3]=(...f)=>s.play&&s.play(...f))},[y(l,{class:"icon",name:"shuffle",size:"16"}),c("span",{textContent:g(e.$t("page.artist.shuffle"))},null,8,wR)])])]),content:S(()=>[c("p",CR,[c("a",{class:"has-text-link",onClick:t[4]||(t[4]=(...f)=>s.open_artist&&s.open_artist(...f)),textContent:g(e.$t("page.artist.album-count",{count:s.album_count}))},null,8,kR),xR,c("span",{textContent:g(e.$t("page.artist.track-count",{count:s.tracks.count}))},null,8,SR)]),y(u,{tracks:s.tracks,uris:s.track_uris},null,8,["tracks","uris"]),y(m,{show:o.show_details_modal,artist:o.artist,onClose:t[5]||(t[5]=f=>o.show_details_modal=!1)},null,8,["show","artist"])]),_:1})])}const $R=te(uR,[["render",ER]]),TR={name:"ListArtists",components:{ModalDialogArtist:cc},props:{artists:{required:!0,type:Object},hide_group_title:Boolean},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}}},AR={key:0,class:"mt-6 mb-5 py-2"},OR={class:"media-content is-clipped"},PR=["id","textContent"],IR=["onClick"],RR={class:"media-content is-clickable is-clipped"},DR=["textContent"],LR={class:"media-right"},NR=["onClick"];function MR(e,t,n,r,o,s){const i=$("mdicon"),a=$("modal-dialog-artist");return k(),A(Ce,null,[(k(!0),A(Ce,null,ut(n.artists,l=>(k(),A(Ce,{key:l.itemId},[!l.isItem&&!n.hide_group_title?(k(),A("div",AR,[c("div",OR,[c("span",{id:"index_"+l.groupKey,class:"tag is-info is-light is-small has-text-weight-bold",textContent:g(l.groupKey)},null,8,PR)])])):l.isItem?(k(),A("div",{key:1,class:"media is-align-items-center",onClick:u=>s.open_artist(l.item)},[c("div",RR,[c("h1",{class:"title is-6",textContent:g(l.item.name)},null,8,DR)]),c("div",LR,[c("a",{onClick:ot(u=>s.open_dialog(l.item),["prevent","stop"])},[y(i,{class:"icon has-text-dark",name:"dots-vertical",size:"16"})],8,NR)])],8,IR)):F("",!0)],64))),128)),(k(),_e(Zr,{to:"#app"},[y(a,{artist:o.selected_artist,show:o.show_details_modal,onClose:t[0]||(t[0]=l=>o.show_details_modal=!1)},null,8,["artist","show"])]))],64)}const hm=te(TR,[["render",MR]]),la={load(e){return V.library_artists("music")},set(e,t){e.artists_list=new ve(t.data)}},FR={name:"PageArtists",components:{ContentWithHeading:et,ControlDropdown:Eo,IndexButtonList:Yn,ListArtists:hm,TabsMusic:cr},beforeRouteEnter(e,t,n){la.load(e).then(r=>{n(o=>la.set(o,r))})},beforeRouteUpdate(e,t,n){const r=this;la.load(e).then(o=>{la.set(r,o),n()})},data(){return{artists_list:new ve,grouping_options:[{id:1,name:this.$t("page.artists.sort.name"),options:Rn("name_sort",!0)},{id:2,name:this.$t("page.artists.sort.recently-added"),options:zl("time_added",{direction:"desc"})}]}},computed:{artists(){if(!this.artists_list)return[];const e=this.grouping_options.find(t=>t.id===this.selected_grouping_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_grouping_option_id:{get(){return this.$store.state.artists_sort},set(e){this.$store.commit(gh,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(El,e)}},hide_spotify:{get(){return this.$store.state.hide_spotify},set(e){this.$store.commit(gi,e)}}}},VR={class:"fd-page-with-tabs"},HR={class:"columns"},UR={class:"column"},jR=["textContent"],qR={class:"field"},BR={class:"control"},WR=["textContent"],GR=["textContent"],KR={key:0,class:"field"},ZR={class:"control"},YR=["textContent"],JR=["textContent"],XR={class:"column"},QR=["textContent"],eD=["textContent"],tD=["textContent"];function nD(e,t,n,r,o,s){const i=$("tabs-music"),a=$("index-button-list"),l=$("control-dropdown"),u=$("list-artists"),m=$("content-with-heading");return k(),A("div",VR,[y(i),y(m,null,{options:S(()=>[y(a,{indices:s.artists.indices},null,8,["indices"]),c("div",HR,[c("div",UR,[c("p",{class:"heading mb-5",textContent:g(e.$t("page.artists.filter"))},null,8,jR),c("div",qR,[c("div",BR,[yt(c("input",{id:"switchHideSingles","onUpdate:modelValue":t[0]||(t[0]=d=>s.hide_singles=d),type:"checkbox",class:"switch is-rounded"},null,512),[[An,s.hide_singles]]),c("label",{for:"switchHideSingles",textContent:g(e.$t("page.artists.hide-singles"))},null,8,WR)]),c("p",{class:"help",textContent:g(e.$t("page.artists.hide-singles-help"))},null,8,GR)]),s.spotify_enabled?(k(),A("div",KR,[c("div",ZR,[yt(c("input",{id:"switchHideSpotify","onUpdate:modelValue":t[1]||(t[1]=d=>s.hide_spotify=d),type:"checkbox",class:"switch is-rounded"},null,512),[[An,s.hide_spotify]]),c("label",{for:"switchHideSpotify",textContent:g(e.$t("page.artists.hide-spotify"))},null,8,YR)]),c("p",{class:"help",textContent:g(e.$t("page.artists.hide-spotify-help"))},null,8,JR)])):F("",!0)]),c("div",XR,[c("p",{class:"heading mb-5",textContent:g(e.$t("page.artists.sort.title"))},null,8,QR),y(l,{value:s.selected_grouping_option_id,"onUpdate:value":t[2]||(t[2]=d=>s.selected_grouping_option_id=d),options:o.grouping_options},null,8,["value","options"])])])]),"heading-left":S(()=>[c("p",{class:"title is-4",textContent:g(e.$t("page.artists.title"))},null,8,eD),c("p",{class:"heading",textContent:g(e.$t("page.artists.count",{count:s.artists.count}))},null,8,tD)]),"heading-right":S(()=>[]),content:S(()=>[y(u,{artists:s.artists},null,8,["artists"])]),_:1})])}const rD=te(FR,[["render",nD]]),ca={load(e){return Promise.all([V.library_album(e.params.id),V.library_album_tracks(e.params.id)])},set(e,t){e.album=t[0].data,e.tracks=new ve(t[1].data)}},oD={name:"PageAudiobooksAlbum",components:{ContentWithHero:ac,CoverArtwork:Dn,ListTracks:zn,ModalDialogAlbum:lc},beforeRouteEnter(e,t,n){ca.load(e).then(r=>{n(o=>ca.set(o,r))})},beforeRouteUpdate(e,t,n){const r=this;ca.load(e).then(o=>{ca.set(r,o),n()})},data(){return{album:{},show_details_modal:!1,tracks:new ve}},methods:{open_artist(){this.show_details_modal=!1,this.$router.push({name:"audiobooks-artist",params:{id:this.album.artist_id}})},play(){V.player_play_uri(this.album.uri,!1)}}},sD=["textContent"],iD={class:"subtitle is-6 has-text-link"},aD=["textContent"],lD={class:"buttons fd-is-centered-mobile mt-5"},cD=["textContent"],uD=["textContent"];function dD(e,t,n,r,o,s){const i=$("mdicon"),a=$("cover-artwork"),l=$("list-tracks"),u=$("modal-dialog-album"),m=$("content-with-hero");return k(),A("div",null,[y(m,null,{"heading-left":S(()=>[c("h1",{class:"title is-5",textContent:g(o.album.name)},null,8,sD),c("h2",iD,[c("a",{class:"has-text-link",onClick:t[0]||(t[0]=(...d)=>s.open_artist&&s.open_artist(...d)),textContent:g(o.album.artist)},null,8,aD)]),c("div",lD,[c("a",{class:"button is-small is-dark is-rounded",onClick:t[1]||(t[1]=(...d)=>s.play&&s.play(...d))},[y(i,{class:"icon",name:"play",size:"16"}),c("span",{textContent:g(e.$t("page.audiobooks.album.play"))},null,8,cD)]),c("a",{class:"button is-small is-light is-rounded",onClick:t[2]||(t[2]=d=>o.show_details_modal=!0)},[y(i,{class:"icon",name:"dots-horizontal",size:"16"})])])]),"heading-right":S(()=>[y(a,{artwork_url:o.album.artwork_url,artist:o.album.artist,album:o.album.name,class:"is-clickable fd-has-shadow fd-cover fd-cover-medium-image",onClick:t[3]||(t[3]=d=>o.show_details_modal=!0)},null,8,["artwork_url","artist","album"])]),content:S(()=>[c("p",{class:"heading is-7 has-text-centered-mobile mt-5",textContent:g(e.$t("page.audiobooks.album.track-count",{count:o.album.track_count}))},null,8,uD),y(l,{tracks:o.tracks,uris:o.album.uri},null,8,["tracks","uris"]),y(u,{show:o.show_details_modal,album:o.album,media_kind:"audiobook",onClose:t[4]||(t[4]=d=>o.show_details_modal=!1)},null,8,["show","album"])]),_:1})])}const mD=te(oD,[["render",dD]]),fD={name:"TabsAudiobooks"},pD={class:"section fd-tabs-section"},hD={class:"container"},_D={class:"columns is-centered"},gD={class:"column is-four-fifths"},yD={class:"tabs is-centered is-small"},vD=["onClick","onKeypress"],bD=["textContent"],zD=["onClick","onKeypress"],wD=["textContent"],CD=["onClick","onKeypress"],kD=["textContent"];function xD(e,t,n,r,o,s){const i=$("mdicon"),a=$("router-link");return k(),A("section",pD,[c("div",hD,[c("div",_D,[c("div",gD,[c("div",yD,[c("ul",null,[y(a,{to:{name:"audiobooks-artists"},custom:""},{default:S(({navigate:l,isActive:u})=>[c("li",{class:Se({"is-active":u})},[c("a",{onClick:l,onKeypress:on(l,["enter"])},[y(i,{class:"icon is-small",name:"account-music",size:"16"}),c("span",{textContent:g(e.$t("page.audiobooks.tabs.authors"))},null,8,bD)],40,vD)],2)]),_:1}),y(a,{to:{name:"audiobooks-albums"},custom:""},{default:S(({navigate:l,isActive:u})=>[c("li",{class:Se({"is-active":u})},[c("a",{onClick:l,onKeypress:on(l,["enter"])},[y(i,{class:"icon is-small",name:"album",size:"16"}),c("span",{textContent:g(e.$t("page.audiobooks.tabs.audiobooks"))},null,8,wD)],40,zD)],2)]),_:1}),y(a,{to:{name:"audiobooks-genres"},custom:""},{default:S(({navigate:l,isActive:u})=>[c("li",{class:Se({"is-active":u})},[c("a",{onClick:l,onKeypress:on(l,["enter"])},[y(i,{class:"icon is-small",name:"speaker",size:"16"}),c("span",{textContent:g(e.$t("page.audiobooks.tabs.genres"))},null,8,kD)],40,CD)],2)]),_:1})])])])])])])}const _m=te(fD,[["render",xD]]),ua={load(e){return V.library_albums("audiobook")},set(e,t){e.albums=new ve(t.data),e.albums.group(Rn("name_sort",!0))}},SD={name:"PageAudiobooksAlbums",components:{TabsAudiobooks:_m,ContentWithHeading:et,IndexButtonList:Yn,ListAlbums:lr},beforeRouteEnter(e,t,n){ua.load(e).then(r=>{n(o=>ua.set(o,r))})},beforeRouteUpdate(e,t,n){const r=this;ua.load(e).then(o=>{ua.set(r,o),n()})},data(){return{albums:new ve}}},ED={class:"fd-page-with-tabs"},$D=["textContent"],TD=["textContent"];function AD(e,t,n,r,o,s){const i=$("tabs-audiobooks"),a=$("index-button-list"),l=$("list-albums"),u=$("content-with-heading");return k(),A("div",ED,[y(i),y(u,null,{options:S(()=>[y(a,{indices:o.albums.indices},null,8,["indices"])]),"heading-left":S(()=>[c("p",{class:"title is-4",textContent:g(e.$t("page.audiobooks.albums.title"))},null,8,$D),c("p",{class:"heading",textContent:g(e.$t("page.audiobooks.albums.count",{count:o.albums.count}))},null,8,TD)]),content:S(()=>[y(l,{albums:o.albums},null,8,["albums"])]),_:1})])}const OD=te(SD,[["render",AD]]),da={load(e){return Promise.all([V.library_artist(e.params.id),V.library_artist_albums(e.params.id)])},set(e,t){e.artist=t[0].data,e.albums=new ve(t[1].data)}},PD={name:"PageAudiobooksArtist",components:{ContentWithHeading:et,ListAlbums:lr,ModalDialogArtist:cc},beforeRouteEnter(e,t,n){da.load(e).then(r=>{n(o=>da.set(o,r))})},beforeRouteUpdate(e,t,n){const r=this;da.load(e).then(o=>{da.set(r,o),n()})},data(){return{albums:new ve,artist:{},show_details_modal:!1}},methods:{play(){V.player_play_uri(this.albums.items.map(e=>e.uri).join(","),!1)}}},ID=["textContent"],RD={class:"buttons is-centered"},DD=["textContent"],LD=["textContent"];function ND(e,t,n,r,o,s){const i=$("mdicon"),a=$("list-albums"),l=$("modal-dialog-artist"),u=$("content-with-heading");return k(),A("div",null,[y(u,null,{"heading-left":S(()=>[c("p",{class:"title is-4",textContent:g(o.artist.name)},null,8,ID)]),"heading-right":S(()=>[c("div",RD,[c("a",{class:"button is-small is-light is-rounded",onClick:t[0]||(t[0]=m=>o.show_details_modal=!0)},[y(i,{class:"icon",name:"dots-horizontal",size:"16"})]),c("a",{class:"button is-small is-dark is-rounded",onClick:t[1]||(t[1]=(...m)=>s.play&&s.play(...m))},[y(i,{class:"icon",name:"play",size:"16"}),c("span",{textContent:g(e.$t("page.audiobooks.artist.play"))},null,8,DD)])])]),content:S(()=>[c("p",{class:"heading has-text-centered-mobile",textContent:g(e.$t("page.audiobooks.artist.album-count",{count:o.artist.album_count}))},null,8,LD),y(a,{albums:o.albums},null,8,["albums"]),y(l,{show:o.show_details_modal,artist:o.artist,onClose:t[2]||(t[2]=m=>o.show_details_modal=!1)},null,8,["show","artist"])]),_:1})])}const MD=te(PD,[["render",ND]]),ma={load(e){return V.library_artists("audiobook")},set(e,t){e.artists_list=new ve(t.data)}},FD={name:"PageAudiobooksArtists",components:{ContentWithHeading:et,TabsAudiobooks:_m,IndexButtonList:Yn,ListArtists:hm},beforeRouteEnter(e,t,n){ma.load(e).then(r=>{n(o=>ma.set(o,r))})},beforeRouteUpdate(e,t,n){const r=this;ma.load(e).then(o=>{ma.set(r,o),n()})},data(){return{artists_list:new ve}},computed:{artists(){return this.artists_list?(this.artists_list.group(Rn("name_sort",!0)),this.artists_list):[]}}},VD={class:"fd-page-with-tabs"},HD=["textContent"],UD=["textContent"];function jD(e,t,n,r,o,s){const i=$("tabs-audiobooks"),a=$("index-button-list"),l=$("list-artists"),u=$("content-with-heading");return k(),A("div",VD,[y(i),y(u,null,{options:S(()=>[y(a,{indices:s.artists.indices},null,8,["indices"])]),"heading-left":S(()=>[c("p",{class:"title is-4",textContent:g(e.$t("page.audiobooks.artists.title"))},null,8,HD),c("p",{class:"heading",textContent:g(e.$t("page.audiobooks.artists.count",{count:s.artists.count}))},null,8,UD)]),"heading-right":S(()=>[]),content:S(()=>[y(l,{artists:s.artists},null,8,["artists"])]),_:1})])}const qD=te(FD,[["render",jD]]),BD={name:"ModalDialogGenre",props:{genre:{required:!0,type:Object},media_kind:{required:!0,type:String},show:Boolean},emits:["close"],computed:{expression(){return`genre is "${this.genre.name}" and media_kind is ${this.media_kind}`}},methods:{play(){this.$emit("close"),V.player_play_expression(this.expression,!1)},queue_add(){this.$emit("close"),V.queue_expression_add(this.expression)},queue_add_next(){this.$emit("close"),V.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}})}}},WD={key:0,class:"modal is-active"},GD={class:"modal-content fd-modal-card"},KD={class:"card"},ZD={class:"card-content"},YD={class:"title is-4"},JD=["textContent"],XD={class:"content is-small"},QD=["textContent"],eL=["textContent"],tL=["textContent"],nL=["textContent"],rL=["textContent"],oL=["textContent"],sL={class:"card-footer"},iL=["textContent"],aL=["textContent"],lL=["textContent"];function cL(e,t,n,r,o,s){const i=$("mdicon");return k(),A("div",null,[y(Rt,{name:"fade"},{default:S(()=>[n.show?(k(),A("div",WD,[c("div",{class:"modal-background",onClick:t[0]||(t[0]=a=>e.$emit("close"))}),c("div",GD,[c("div",KD,[c("div",ZD,[c("p",YD,[c("a",{class:"has-text-link",onClick:t[1]||(t[1]=(...a)=>s.open_genre&&s.open_genre(...a)),textContent:g(n.genre.name)},null,8,JD)]),c("div",XD,[c("p",null,[c("span",{class:"heading",textContent:g(e.$t("dialog.genre.albums"))},null,8,QD),c("span",{class:"title is-6",textContent:g(n.genre.album_count)},null,8,eL)]),c("p",null,[c("span",{class:"heading",textContent:g(e.$t("dialog.genre.tracks"))},null,8,tL),c("span",{class:"title is-6",textContent:g(n.genre.track_count)},null,8,nL)]),c("p",null,[c("span",{class:"heading",textContent:g(e.$t("dialog.genre.duration"))},null,8,rL),c("span",{class:"title is-6",textContent:g(e.$filters.durationInHours(n.genre.length_ms))},null,8,oL)])])]),c("footer",sL,[c("a",{class:"card-footer-item has-text-dark",onClick:t[2]||(t[2]=(...a)=>s.queue_add&&s.queue_add(...a))},[y(i,{class:"icon",name:"playlist-plus",size:"16"}),c("span",{class:"is-size-7",textContent:g(e.$t("dialog.genre.add"))},null,8,iL)]),c("a",{class:"card-footer-item has-text-dark",onClick:t[3]||(t[3]=(...a)=>s.queue_add_next&&s.queue_add_next(...a))},[y(i,{class:"icon",name:"playlist-play",size:"16"}),c("span",{class:"is-size-7",textContent:g(e.$t("dialog.genre.add-next"))},null,8,aL)]),c("a",{class:"card-footer-item has-text-dark",onClick:t[4]||(t[4]=(...a)=>s.play&&s.play(...a))},[y(i,{class:"icon",name:"play",size:"16"}),c("span",{class:"is-size-7",textContent:g(e.$t("dialog.genre.play"))},null,8,lL)])])])]),c("button",{class:"modal-close is-large","aria-label":"close",onClick:t[5]||(t[5]=a=>e.$emit("close"))})])):F("",!0)]),_:1})])}const gm=te(BD,[["render",cL]]),uL={name:"ListGenres",components:{ModalDialogGenre:gm},props:{genres:{required:!0,type:Object},hide_group_title:Boolean,media_kind:{required:!0,type:String}},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}}},dL={key:0,class:"mt-6 mb-5 py-2"},mL={class:"media-content is-clipped"},fL=["id","textContent"],pL=["onClick"],hL={class:"media-content is-clickable is-clipped"},_L=["textContent"],gL={class:"media-right"},yL=["onClick"];function vL(e,t,n,r,o,s){const i=$("mdicon"),a=$("modal-dialog-genre");return k(),A(Ce,null,[(k(!0),A(Ce,null,ut(n.genres,l=>(k(),A(Ce,{key:l.itemId},[!l.isItem&&!n.hide_group_title?(k(),A("div",dL,[c("div",mL,[c("span",{id:"index_"+l.groupKey,class:"tag is-info is-light is-small has-text-weight-bold",textContent:g(l.groupKey)},null,8,fL)])])):l.isItem?(k(),A("div",{key:1,class:"media is-align-items-center",onClick:u=>s.open_genre(l.item)},[c("div",hL,[c("h1",{class:"title is-6",textContent:g(l.item.name)},null,8,_L)]),c("div",gL,[c("a",{onClick:ot(u=>s.open_dialog(l.item),["prevent","stop"])},[y(i,{class:"icon has-text-dark",name:"dots-vertical",size:"16"})],8,yL)])],8,pL)):F("",!0)],64))),128)),(k(),_e(Zr,{to:"#app"},[y(a,{show:o.show_details_modal,genre:o.selected_genre,media_kind:n.media_kind,onClose:t[0]||(t[0]=l=>o.show_details_modal=!1)},null,8,["show","genre","media_kind"])]))],64)}const A1=te(uL,[["render",vL]]),fa={load(e){return V.library_genres("audiobook")},set(e,t){e.genres=t.data,e.genres=new ve(t.data),e.genres.group(Rn("name_sort"))}},bL={name:"PageAudiobooksGenres",components:{ContentWithHeading:et,IndexButtonList:Yn,ListGenres:A1,TabsAudiobooks:_m},beforeRouteEnter(e,t,n){fa.load(e).then(r=>{n(o=>fa.set(o,r))})},beforeRouteUpdate(e,t,n){const r=this;fa.load(e).then(o=>{fa.set(r,o),n()})},data(){return{genres:new ve}}},zL={class:"fd-page-with-tabs"},wL=["textContent"],CL=["textContent"];function kL(e,t,n,r,o,s){const i=$("tabs-audiobooks"),a=$("index-button-list"),l=$("list-genres"),u=$("content-with-heading");return k(),A("div",zL,[y(i),y(u,null,{options:S(()=>[y(a,{indices:o.genres.indices},null,8,["indices"])]),"heading-left":S(()=>[c("p",{class:"title is-4",textContent:g(e.$t("page.genres.title"))},null,8,wL),c("p",{class:"heading",textContent:g(e.$t("page.genres.count",{count:o.genres.total}))},null,8,CL)]),content:S(()=>[y(l,{genres:o.genres,media_kind:"audiobook"},null,8,["genres"])]),_:1})])}const xL=te(bL,[["render",kL]]),SL={name:"ModalDialogComposer",props:{composer:{required:!0,type:Object},show:Boolean},emits:["close"],methods:{play(){this.$emit("close"),V.player_play_expression(`composer is "${this.composer.name}" and media_kind is music`,!1)},queue_add(){this.$emit("close"),V.queue_expression_add(`composer is "${this.composer.name}" and media_kind is music`)},queue_add_next(){this.$emit("close"),V.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}})}}},EL={key:0,class:"modal is-active"},$L={class:"modal-content fd-modal-card"},TL={class:"card"},AL={class:"card-content"},OL={class:"title is-4"},PL=["textContent"],IL=["textContent"],RL=["textContent"],DL=["textContent"],LL=["textContent"],NL=["textContent"],ML=["textContent"],FL={class:"card-footer"},VL=["textContent"],HL=["textContent"],UL=["textContent"];function jL(e,t,n,r,o,s){const i=$("mdicon");return k(),A("div",null,[y(Rt,{name:"fade"},{default:S(()=>[n.show?(k(),A("div",EL,[c("div",{class:"modal-background",onClick:t[0]||(t[0]=a=>e.$emit("close"))}),c("div",$L,[c("div",TL,[c("div",AL,[c("p",OL,[c("a",{class:"has-text-link",onClick:t[1]||(t[1]=(...a)=>s.open_albums&&s.open_albums(...a)),textContent:g(n.composer.name)},null,8,PL)]),c("p",null,[c("span",{class:"heading",textContent:g(e.$t("dialog.composer.albums"))},null,8,IL),c("a",{class:"has-text-link is-6",onClick:t[2]||(t[2]=(...a)=>s.open_albums&&s.open_albums(...a)),textContent:g(n.composer.album_count)},null,8,RL)]),c("p",null,[c("span",{class:"heading",textContent:g(e.$t("dialog.composer.tracks"))},null,8,DL),c("a",{class:"has-text-link is-6",onClick:t[3]||(t[3]=(...a)=>s.open_tracks&&s.open_tracks(...a)),textContent:g(n.composer.track_count)},null,8,LL)]),c("p",null,[c("span",{class:"heading",textContent:g(e.$t("dialog.composer.duration"))},null,8,NL),c("span",{class:"title is-6",textContent:g(e.$filters.durationInHours(n.composer.length_ms))},null,8,ML)])]),c("footer",FL,[c("a",{class:"card-footer-item has-text-dark",onClick:t[4]||(t[4]=(...a)=>s.queue_add&&s.queue_add(...a))},[y(i,{class:"icon",name:"playlist-plus",size:"16"}),c("span",{class:"is-size-7",textContent:g(e.$t("dialog.composer.add"))},null,8,VL)]),c("a",{class:"card-footer-item has-text-dark",onClick:t[5]||(t[5]=(...a)=>s.queue_add_next&&s.queue_add_next(...a))},[y(i,{class:"icon",name:"playlist-play",size:"16"}),c("span",{class:"is-size-7",textContent:g(e.$t("dialog.composer.add-next"))},null,8,HL)]),c("a",{class:"card-footer-item has-text-dark",onClick:t[6]||(t[6]=(...a)=>s.play&&s.play(...a))},[y(i,{class:"icon",name:"play",size:"16"}),c("span",{class:"is-size-7",textContent:g(e.$t("dialog.composer.play"))},null,8,UL)])])])]),c("button",{class:"modal-close is-large","aria-label":"close",onClick:t[7]||(t[7]=a=>e.$emit("close"))})])):F("",!0)]),_:1})])}const ym=te(SL,[["render",jL]]),pa={load(e){return Promise.all([V.library_composer(e.params.name),V.library_composer_albums(e.params.name)])},set(e,t){e.composer=t[0].data,e.albums_list=new ve(t[1].data.albums)}},qL={name:"PageComposerAlbums",components:{ContentWithHeading:et,ListAlbums:lr,ModalDialogComposer:ym},beforeRouteEnter(e,t,n){pa.load(e).then(r=>{n(o=>pa.set(o,r))})},beforeRouteUpdate(e,t,n){const r=this;pa.load(e).then(o=>{pa.set(r,o),n()})},data(){return{albums_list:new ve,composer:{},show_details_modal:!1}},methods:{open_tracks(){this.$router.push({name:"music-composer-tracks",params:{name:this.composer.name}})},play(){V.player_play_expression(`composer is "${this.composer.name}" and media_kind is music`,!0)}}},BL=["textContent"],WL={class:"buttons is-centered"},GL=["textContent"],KL={class:"heading has-text-centered-mobile"},ZL=["textContent"],YL=c("span",null," | ",-1),JL=["textContent"];function XL(e,t,n,r,o,s){const i=$("mdicon"),a=$("list-albums"),l=$("modal-dialog-composer"),u=$("content-with-heading");return k(),A("div",null,[y(u,null,{"heading-left":S(()=>[c("p",{class:"title is-4",textContent:g(o.composer.name)},null,8,BL)]),"heading-right":S(()=>[c("div",WL,[c("a",{class:"button is-small is-light is-rounded",onClick:t[0]||(t[0]=m=>o.show_details_modal=!0)},[y(i,{class:"icon",name:"dots-horizontal",size:"16"})]),c("a",{class:"button is-small is-dark is-rounded",onClick:t[1]||(t[1]=(...m)=>s.play&&s.play(...m))},[y(i,{class:"icon",name:"shuffle",size:"16"}),c("span",{textContent:g(e.$t("page.composer.shuffle"))},null,8,GL)])])]),content:S(()=>[c("p",KL,[c("span",{textContent:g(e.$t("page.composer.album-count",{count:o.composer.album_count}))},null,8,ZL),YL,c("a",{class:"has-text-link",onClick:t[2]||(t[2]=(...m)=>s.open_tracks&&s.open_tracks(...m)),textContent:g(e.$t("page.composer.track-count",{count:o.composer.track_count}))},null,8,JL)]),y(a,{albums:o.albums_list,hide_group_title:!0},null,8,["albums"]),y(l,{show:o.show_details_modal,composer:o.composer,onClose:t[3]||(t[3]=m=>o.show_details_modal=!1)},null,8,["show","composer"])]),_:1})])}const QL=te(qL,[["render",XL]]),ha={load(e){return Promise.all([V.library_composer(e.params.name),V.library_composer_tracks(e.params.name)])},set(e,t){e.composer=t[0].data,e.tracks_list=new ve(t[1].data.tracks)}},eN={name:"PageComposerTracks",components:{ContentWithHeading:et,ControlDropdown:Eo,IndexButtonList:Yn,ListTracks:zn,ModalDialogComposer:ym},beforeRouteEnter(e,t,n){ha.load(e).then(r=>{n(o=>ha.set(o,r))})},beforeRouteUpdate(e,t,n){const r=this;ha.load(e).then(o=>{ha.set(r,o),n()})},data(){return{composer:{},grouping_options:[{id:1,name:this.$t("page.composer.sort.name"),options:Rn("title_sort")},{id:2,name:this.$t("page.composer.sort.rating"),options:dm("rating",{direction:"desc"})}],show_details_modal:!1,tracks_list:new ve}},computed:{expression(){return`composer is "${this.composer.name}" and media_kind is music`},selected_grouping_option_id:{get(){return this.$store.state.composer_tracks_sort},set(e){this.$store.commit(hh,e)}},tracks(){const e=this.grouping_options.find(t=>t.id===this.selected_grouping_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(){V.player_play_expression(this.expression,!0)}}},tN={class:"columns"},nN={class:"column"},rN=["textContent"],oN=["textContent"],sN={class:"buttons is-centered"},iN=["textContent"],aN={class:"heading has-text-centered-mobile"},lN=["textContent"],cN=c("span",null," | ",-1),uN=["textContent"];function dN(e,t,n,r,o,s){const i=$("index-button-list"),a=$("control-dropdown"),l=$("mdicon"),u=$("list-tracks"),m=$("modal-dialog-composer"),d=$("content-with-heading");return k(),A("div",null,[y(d,null,{options:S(()=>[y(i,{indices:s.tracks.indices},null,8,["indices"]),c("div",tN,[c("div",nN,[c("p",{class:"heading mb-5",textContent:g(e.$t("page.artist.sort.title"))},null,8,rN),y(a,{value:s.selected_grouping_option_id,"onUpdate:value":t[0]||(t[0]=f=>s.selected_grouping_option_id=f),options:o.grouping_options},null,8,["value","options"])])])]),"heading-left":S(()=>[c("p",{class:"title is-4",textContent:g(o.composer.name)},null,8,oN)]),"heading-right":S(()=>[c("div",sN,[c("a",{class:"button is-small is-light is-rounded",onClick:t[1]||(t[1]=f=>o.show_details_modal=!0)},[y(l,{class:"icon",name:"dots-horizontal",size:"16"})]),c("a",{class:"button is-small is-dark is-rounded",onClick:t[2]||(t[2]=(...f)=>s.play&&s.play(...f))},[y(l,{class:"icon",name:"shuffle",size:"16"}),c("span",{textContent:g(e.$t("page.composer.shuffle"))},null,8,iN)])])]),content:S(()=>[c("p",aN,[c("a",{class:"has-text-link",onClick:t[3]||(t[3]=(...f)=>s.open_albums&&s.open_albums(...f)),textContent:g(e.$t("page.composer.album-count",{count:o.composer.album_count}))},null,8,lN),cN,c("span",{textContent:g(e.$t("page.composer.track-count",{count:o.composer.track_count}))},null,8,uN)]),y(u,{tracks:s.tracks,expression:s.expression},null,8,["tracks","expression"]),y(m,{show:o.show_details_modal,composer:o.composer,onClose:t[4]||(t[4]=f=>o.show_details_modal=!1)},null,8,["show","composer"])]),_:1})])}const mN=te(eN,[["render",dN]]),fN={name:"ListComposers",components:{ModalDialogComposer:ym},props:{composers:{required:!0,type:Object},hide_group_title:Boolean,media_kind:{default:"",type:String}},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}}},pN={key:0,class:"mt-6 mb-5 py-2"},hN={class:"media-content is-clipped"},_N=["id","textContent"],gN=["onClick"],yN={class:"media-content is-clickable is-clipped"},vN=["textContent"],bN={class:"media-right"},zN=["onClick"];function wN(e,t,n,r,o,s){const i=$("mdicon"),a=$("modal-dialog-composer");return k(),A(Ce,null,[(k(!0),A(Ce,null,ut(n.composers,l=>(k(),A(Ce,{key:l.itemId},[!l.isItem&&!n.hide_group_title?(k(),A("div",pN,[c("div",hN,[c("span",{id:"index_"+l.groupKey,class:"tag is-info is-light is-small has-text-weight-bold",textContent:g(l.groupKey)},null,8,_N)])])):l.isItem?(k(),A("div",{key:1,class:"media is-align-items-center",onClick:u=>s.open_composer(l.item)},[c("div",yN,[c("h1",{class:"title is-6",textContent:g(l.item.name)},null,8,vN)]),c("div",bN,[c("a",{onClick:ot(u=>s.open_dialog(l.item),["prevent","stop"])},[y(i,{class:"icon has-text-dark",name:"dots-vertical",size:"16"})],8,zN)])],8,gN)):F("",!0)],64))),128)),(k(),_e(Zr,{to:"#app"},[y(a,{show:o.show_details_modal,composer:o.selected_composer,media_kind:n.media_kind,onClose:t[0]||(t[0]=l=>o.show_details_modal=!1)},null,8,["show","composer","media_kind"])]))],64)}const O1=te(fN,[["render",wN]]),_a={load(e){return V.library_composers("music")},set(e,t){e.composers=new ve(t.data),e.composers.group(Rn("name_sort"))}},CN={name:"PageComposers",components:{ContentWithHeading:et,IndexButtonList:Yn,ListComposers:O1,TabsMusic:cr},beforeRouteEnter(e,t,n){_a.load(e).then(r=>{n(o=>_a.set(o,r))})},beforeRouteUpdate(e,t,n){const r=this;_a.load(e).then(o=>{_a.set(r,o),n()})},data(){return{composers:new ve}}},kN={class:"fd-page-with-tabs"},xN=["textContent"],SN=["textContent"];function EN(e,t,n,r,o,s){const i=$("tabs-music"),a=$("index-button-list"),l=$("list-composers"),u=$("content-with-heading");return k(),A("div",kN,[y(i),y(u,null,{options:S(()=>[y(a,{indices:o.composers.indices},null,8,["indices"])]),"heading-left":S(()=>[c("p",{class:"title is-4",textContent:g(e.$t("page.composers.title"))},null,8,xN),c("p",{class:"heading",textContent:g(e.$t("page.composers.count",{count:o.composers.total}))},null,8,SN)]),content:S(()=>[y(l,{composers:o.composers},null,8,["composers"])]),_:1})])}const $N=te(CN,[["render",EN]]),TN={name:"ModalDialogDirectory",props:{directory:{required:!0,type:String},show:Boolean},emits:["close"],methods:{play(){this.$emit("close"),V.player_play_expression(`path starts with "${this.directory}" order by path asc`,!1)},queue_add(){this.$emit("close"),V.queue_expression_add(`path starts with "${this.directory}" order by path asc`)},queue_add_next(){this.$emit("close"),V.queue_expression_add_next(`path starts with "${this.directory}" order by path asc`)}}},AN={key:0,class:"modal is-active"},ON={class:"modal-content fd-modal-card"},PN={class:"card"},IN={class:"card-content"},RN=["textContent"],DN={class:"card-footer"},LN=["textContent"],NN=["textContent"],MN=["textContent"];function FN(e,t,n,r,o,s){const i=$("mdicon");return k(),A("div",null,[y(Rt,{name:"fade"},{default:S(()=>[n.show?(k(),A("div",AN,[c("div",{class:"modal-background",onClick:t[0]||(t[0]=a=>e.$emit("close"))}),c("div",ON,[c("div",PN,[c("div",IN,[c("p",{class:"title is-4",textContent:g(n.directory)},null,8,RN)]),c("footer",DN,[c("a",{class:"card-footer-item has-text-dark",onClick:t[1]||(t[1]=(...a)=>s.queue_add&&s.queue_add(...a))},[y(i,{class:"icon",name:"playlist-plus",size:"16"}),c("span",{class:"is-size-7",textContent:g(e.$t("dialog.directory.add"))},null,8,LN)]),c("a",{class:"card-footer-item has-text-dark",onClick:t[2]||(t[2]=(...a)=>s.queue_add_next&&s.queue_add_next(...a))},[y(i,{class:"icon",name:"playlist-play",size:"16"}),c("span",{class:"is-size-7",textContent:g(e.$t("dialog.directory.add-next"))},null,8,NN)]),c("a",{class:"card-footer-item has-text-dark",onClick:t[3]||(t[3]=(...a)=>s.play&&s.play(...a))},[y(i,{class:"icon",name:"play",size:"16"}),c("span",{class:"is-size-7",textContent:g(e.$t("dialog.directory.play"))},null,8,MN)])])])]),c("button",{class:"modal-close is-large","aria-label":"close",onClick:t[4]||(t[4]=a=>e.$emit("close"))})])):F("",!0)]),_:1})])}const P1=te(TN,[["render",FN]]),VN={name:"ListDirectories",components:{ModalDialogDirectory:P1},props:{directories:{required:!0,type:Array}},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}}},HN={class:"media-left is-clickable"},UN=c("div",{class:"media-content is-clickable is-clipped"},[c("h1",{class:"title is-6"},"..")],-1),jN={class:"media-right"},qN=["onClick"],BN={class:"media-left is-clickable"},WN={class:"media-content is-clickable is-clipped"},GN=["textContent"],KN=["textContent"],ZN={class:"media-right"},YN=["onClick"];function JN(e,t,n,r,o,s){const i=$("mdicon"),a=$("modal-dialog-directory");return k(),A(Ce,null,[e.$route.query.directory?(k(),A("div",{key:0,class:"media is-align-items-center",onClick:t[0]||(t[0]=l=>s.open_parent_directory())},[c("figure",HN,[y(i,{class:"icon",name:"subdirectory-arrow-left",size:"16"})]),UN,c("div",jN,[it(e.$slots,"actions")])])):F("",!0),(k(!0),A(Ce,null,ut(n.directories,l=>(k(),A("div",{key:l.path,class:"media is-align-items-center",onClick:u=>s.open_directory(l)},[c("figure",BN,[y(i,{class:"icon",name:"folder",size:"16"})]),c("div",WN,[c("h1",{class:"title is-6",textContent:g(l.path.substring(l.path.lastIndexOf("/")+1))},null,8,GN),c("h2",{class:"subtitle is-7 has-text-grey",textContent:g(l.path)},null,8,KN)]),c("div",ZN,[c("a",{onClick:ot(u=>s.open_dialog(l),["prevent","stop"])},[y(i,{class:"icon has-text-dark",name:"dots-vertical",size:"16"})],8,YN)])],8,qN))),128)),(k(),_e(Zr,{to:"#app"},[y(a,{show:o.show_details_modal,directory:o.selected_directory,onClose:t[1]||(t[1]=l=>o.show_details_modal=!1)},null,8,["show","directory"])]))],64)}const XN=te(VN,[["render",JN]]),QN={name:"ModalDialogPlaylist",props:{playlist:{required:!0,type:Object},show:Boolean,uris:{default:"",type:String}},emits:["close"],methods:{play(){this.$emit("close"),V.player_play_uri(this.uris?this.uris:this.playlist.uri,!1)},queue_add(){this.$emit("close"),V.queue_add(this.uris?this.uris:this.playlist.uri)},queue_add_next(){this.$emit("close"),V.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}})}}},eM={key:0,class:"modal is-active"},tM={class:"modal-content fd-modal-card"},nM={class:"card"},rM={class:"card-content"},oM={class:"title is-4"},sM=["textContent"],iM={class:"content is-small"},aM=["textContent"],lM=["textContent"],cM=["textContent"],uM=["textContent"],dM={key:0},mM=["textContent"],fM=["textContent"],pM={key:0,class:"card-footer"},hM=["textContent"],_M=["textContent"],gM=["textContent"];function yM(e,t,n,r,o,s){const i=$("mdicon");return k(),A("div",null,[y(Rt,{name:"fade"},{default:S(()=>[n.show?(k(),A("div",eM,[c("div",{class:"modal-background",onClick:t[0]||(t[0]=a=>e.$emit("close"))}),c("div",tM,[c("div",nM,[c("div",rM,[c("p",oM,[c("a",{class:"has-text-link",onClick:t[1]||(t[1]=(...a)=>s.open_playlist&&s.open_playlist(...a)),textContent:g(n.playlist.name)},null,8,sM)]),c("div",iM,[c("p",null,[c("span",{class:"heading",textContent:g(e.$t("dialog.playlist.path"))},null,8,aM),c("span",{class:"title is-6",textContent:g(n.playlist.path)},null,8,lM)]),c("p",null,[c("span",{class:"heading",textContent:g(e.$t("dialog.playlist.type"))},null,8,cM),c("span",{class:"title is-6",textContent:g(e.$t("playlist.type."+n.playlist.type))},null,8,uM)]),n.playlist.folder?F("",!0):(k(),A("p",dM,[c("span",{class:"heading",textContent:g(e.$t("dialog.playlist.track-count"))},null,8,mM),c("span",{class:"title is-6",textContent:g(n.playlist.item_count)},null,8,fM)]))])]),n.playlist.folder?F("",!0):(k(),A("footer",pM,[c("a",{class:"card-footer-item has-text-dark",onClick:t[2]||(t[2]=(...a)=>s.queue_add&&s.queue_add(...a))},[y(i,{class:"icon",name:"playlist-plus",size:"16"}),c("span",{class:"is-size-7",textContent:g(e.$t("dialog.playlist.add"))},null,8,hM)]),c("a",{class:"card-footer-item has-text-dark",onClick:t[3]||(t[3]=(...a)=>s.queue_add_next&&s.queue_add_next(...a))},[y(i,{class:"icon",name:"playlist-play",size:"16"}),c("span",{class:"is-size-7",textContent:g(e.$t("dialog.playlist.add-next"))},null,8,_M)]),c("a",{class:"card-footer-item has-text-dark",onClick:t[4]||(t[4]=(...a)=>s.play&&s.play(...a))},[y(i,{class:"icon",name:"play",size:"16"}),c("span",{class:"is-size-7",textContent:g(e.$t("dialog.playlist.play"))},null,8,gM)])]))])]),c("button",{class:"modal-close is-large","aria-label":"close",onClick:t[5]||(t[5]=a=>e.$emit("close"))})])):F("",!0)]),_:1})])}const I1=te(QN,[["render",yM]]),vM={name:"ListPlaylists",components:{ModalDialogPlaylist:I1},props:{playlists:{required:!0,type:Object}},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"}}},bM=["onClick"],zM={class:"media-left is-clickable"},wM={class:"media-content is-clickable is-clipped"},CM=["textContent"],kM={class:"media-right"},xM=["onClick"];function SM(e,t,n,r,o,s){const i=$("mdicon"),a=$("modal-dialog-playlist");return k(),A(Ce,null,[(k(!0),A(Ce,null,ut(n.playlists,l=>(k(),A("div",{key:l.itemId,class:"media is-align-items-center",onClick:u=>s.open_playlist(l.item)},[c("figure",zM,[y(i,{class:"icon",name:s.icon_name(l.item),size:"16"},null,8,["name"])]),c("div",wM,[c("h1",{class:"title is-6",textContent:g(l.item.name)},null,8,CM)]),c("div",kM,[c("a",{onClick:ot(u=>s.open_dialog(l.item),["prevent","stop"])},[y(i,{class:"icon has-text-dark",name:"dots-vertical",size:"16"})],8,xM)])],8,bM))),128)),(k(),_e(Zr,{to:"#app"},[y(a,{show:o.show_details_modal,playlist:o.selected_playlist,onClose:t[0]||(t[0]=l=>o.show_details_modal=!1)},null,8,["show","playlist"])]))],64)}const vm=te(vM,[["render",SM]]),ga={load(e){return e.query.directory?V.library_files(e.query.directory):Promise.resolve()},set(e,t){t?(e.dirs=t.data.directories,e.playlists=new ve(t.data.playlists),e.tracks=new ve(t.data.tracks)):(e.dirs=e.$store.state.config.directories.map(n=>({path:n})),e.playlists=new ve,e.tracks=new ve)}},EM={name:"PageFiles",components:{ContentWithHeading:et,ListDirectories:XN,ListPlaylists:vm,ListTracks:zn,ModalDialogDirectory:P1},beforeRouteEnter(e,t,n){ga.load(e).then(r=>{n(o=>ga.set(o,r))})},beforeRouteUpdate(e,t,n){const r=this;ga.load(e).then(o=>{ga.set(r,o),n()})},data(){return{dirs:[],playlists:new ve,tracks:new ve,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(){V.player_play_expression(this.play_expression,!1)}}},$M=["textContent"],TM=["textContent"],AM={class:"buttons is-centered"},OM=["textContent"];function PM(e,t,n,r,o,s){const i=$("mdicon"),a=$("list-directories"),l=$("list-playlists"),u=$("list-tracks"),m=$("modal-dialog-directory"),d=$("content-with-heading");return k(),A("div",null,[y(d,null,{"heading-left":S(()=>[c("p",{class:"title is-4",textContent:g(e.$t("page.files.title"))},null,8,$M),c("p",{class:"title is-7 has-text-grey",textContent:g(s.current_directory)},null,8,TM)]),"heading-right":S(()=>[c("div",AM,[c("a",{class:"button is-small is-light is-rounded",onClick:t[0]||(t[0]=f=>o.show_details_modal=!0)},[y(i,{class:"icon",name:"dots-horizontal",size:"16"})]),c("a",{class:"button is-small is-dark is-rounded",onClick:t[1]||(t[1]=(...f)=>s.play&&s.play(...f))},[y(i,{class:"icon",name:"play",size:"16"}),c("span",{textContent:g(e.$t("page.files.play"))},null,8,OM)])])]),content:S(()=>[y(a,{directories:o.dirs},null,8,["directories"]),y(l,{playlists:o.playlists},null,8,["playlists"]),y(u,{tracks:o.tracks,expression:s.play_expression,show_icon:!0},null,8,["tracks","expression"]),y(m,{show:o.show_details_modal,directory:s.current_directory,onClose:t[2]||(t[2]=f=>o.show_details_modal=!1)},null,8,["show","directory"])]),_:1})])}const IM=te(EM,[["render",PM]]),ya={load(e){return Promise.all([V.library_genre(e.params.name,e.query.media_kind),V.library_genre_albums(e.params.name,e.query.media_kind)])},set(e,t){e.genre=t[0].data,e.albums=new ve(t[1].data.albums),e.albums.group(Rn("name_sort",!0))}},RM={name:"PageGenreAlbums",components:{ContentWithHeading:et,IndexButtonList:Yn,ListAlbums:lr,ModalDialogGenre:gm},beforeRouteEnter(e,t,n){ya.load(e).then(r=>{n(o=>ya.set(o,r))})},beforeRouteUpdate(e,t,n){const r=this;ya.load(e).then(o=>{ya.set(r,o),n()})},data(){return{albums:new ve,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(){V.player_play_expression(`genre is "${this.genre.name}" and media_kind is ${this.media_kind}`,!0)}}},DM=["textContent"],LM={class:"buttons is-centered"},NM=["textContent"],MM={class:"heading has-text-centered-mobile"},FM=["textContent"],VM=c("span",null," | ",-1),HM=["textContent"];function UM(e,t,n,r,o,s){const i=$("index-button-list"),a=$("mdicon"),l=$("list-albums"),u=$("modal-dialog-genre"),m=$("content-with-heading");return k(),A("div",null,[y(m,null,{options:S(()=>[y(i,{indices:o.albums.indices},null,8,["indices"])]),"heading-left":S(()=>[c("p",{class:"title is-4",textContent:g(o.genre.name)},null,8,DM)]),"heading-right":S(()=>[c("div",LM,[c("a",{class:"button is-small is-light is-rounded",onClick:t[0]||(t[0]=d=>o.show_details_modal=!0)},[y(a,{class:"icon",name:"dots-horizontal",size:"16"})]),c("a",{class:"button is-small is-dark is-rounded",onClick:t[1]||(t[1]=(...d)=>s.play&&s.play(...d))},[y(a,{class:"icon",name:"shuffle",size:"16"}),c("span",{textContent:g(e.$t("page.genre.shuffle"))},null,8,NM)])])]),content:S(()=>[c("p",MM,[c("span",{textContent:g(e.$t("page.genre.album-count",{count:o.genre.album_count}))},null,8,FM),VM,c("a",{class:"has-text-link",onClick:t[2]||(t[2]=(...d)=>s.open_tracks&&s.open_tracks(...d)),textContent:g(e.$t("page.genre.track-count",{count:o.genre.track_count}))},null,8,HM)]),y(l,{albums:o.albums},null,8,["albums"]),y(u,{genre:o.genre,media_kind:o.media_kind,show:o.show_details_modal,onClose:t[3]||(t[3]=d=>o.show_details_modal=!1)},null,8,["genre","media_kind","show"])]),_:1})])}const jM=te(RM,[["render",UM]]),va={load(e){return Promise.all([V.library_genre(e.params.name,e.query.media_kind),V.library_genre_tracks(e.params.name,e.query.media_kind)])},set(e,t){e.genre=t[0].data,e.tracks_list=new ve(t[1].data.tracks)}},qM={name:"PageGenreTracks",components:{ContentWithHeading:et,ControlDropdown:Eo,IndexButtonList:Yn,ListTracks:zn,ModalDialogGenre:gm},beforeRouteEnter(e,t,n){va.load(e).then(r=>{n(o=>va.set(o,r))})},beforeRouteUpdate(e,t,n){const r=this;va.load(e).then(o=>{va.set(r,o),n()})},data(){return{genre:{},grouping_options:[{id:1,name:this.$t("page.genre.sort.name"),options:Rn("title_sort")},{id:2,name:this.$t("page.genre.sort.rating"),options:dm("rating",{direction:"desc"})}],media_kind:this.$route.query.media_kind,show_details_modal:!1,tracks_list:new ve}},computed:{expression(){return`genre is "${this.genre.name}" and media_kind is ${this.media_kind}`},selected_grouping_option_id:{get(){return this.$store.state.genre_tracks_sort},set(e){this.$store.commit(_h,e)}},tracks(){const e=this.grouping_options.find(t=>t.id===this.selected_grouping_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(){V.player_play_expression(this.expression,!0)}}},BM={class:"columns"},WM={class:"column"},GM=["textContent"],KM=["textContent"],ZM={class:"buttons is-centered"},YM=["textContent"],JM={class:"heading has-text-centered-mobile"},XM=["textContent"],QM=c("span",null," | ",-1),e7=["textContent"];function t7(e,t,n,r,o,s){const i=$("index-button-list"),a=$("control-dropdown"),l=$("mdicon"),u=$("list-tracks"),m=$("modal-dialog-genre"),d=$("content-with-heading");return k(),A("div",null,[y(d,null,{options:S(()=>[y(i,{indices:s.tracks.indices},null,8,["indices"]),c("div",BM,[c("div",WM,[c("p",{class:"heading mb-5",textContent:g(e.$t("page.genre.sort.title"))},null,8,GM),y(a,{value:s.selected_grouping_option_id,"onUpdate:value":t[0]||(t[0]=f=>s.selected_grouping_option_id=f),options:o.grouping_options},null,8,["value","options"])])])]),"heading-left":S(()=>[c("p",{class:"title is-4",textContent:g(o.genre.name)},null,8,KM)]),"heading-right":S(()=>[c("div",ZM,[c("a",{class:"button is-small is-light is-rounded",onClick:t[1]||(t[1]=f=>o.show_details_modal=!0)},[y(l,{class:"icon",name:"dots-horizontal",size:"16"})]),c("a",{class:"button is-small is-dark is-rounded",onClick:t[2]||(t[2]=(...f)=>s.play&&s.play(...f))},[y(l,{class:"icon",name:"shuffle",size:"16"}),c("span",{textContent:g(e.$t("page.genre.shuffle"))},null,8,YM)])])]),content:S(()=>[c("p",JM,[c("a",{class:"has-text-link",onClick:t[3]||(t[3]=(...f)=>s.open_genre&&s.open_genre(...f)),textContent:g(e.$t("page.genre.album-count",{count:o.genre.album_count}))},null,8,XM),QM,c("span",{textContent:g(e.$t("page.genre.track-count",{count:o.genre.track_count}))},null,8,e7)]),y(u,{tracks:s.tracks,expression:s.expression},null,8,["tracks","expression"]),y(m,{show:o.show_details_modal,genre:o.genre,media_kind:o.media_kind,onClose:t[4]||(t[4]=f=>o.show_details_modal=!1)},null,8,["show","genre","media_kind"])]),_:1})])}const n7=te(qM,[["render",t7]]),ba={load(e){return V.library_genres("music")},set(e,t){e.genres=t.data,e.genres=new ve(t.data),e.genres.group(Rn("name_sort"))}},r7={name:"PageGenres",components:{ContentWithHeading:et,IndexButtonList:Yn,ListGenres:A1,TabsMusic:cr},beforeRouteEnter(e,t,n){ba.load(e).then(r=>{n(o=>ba.set(o,r))})},beforeRouteUpdate(e,t,n){const r=this;ba.load(e).then(o=>{ba.set(r,o),n()})},data(){return{genres:new ve}}},o7={class:"fd-page-with-tabs"},s7=["textContent"],i7=["textContent"];function a7(e,t,n,r,o,s){const i=$("tabs-music"),a=$("index-button-list"),l=$("list-genres"),u=$("content-with-heading");return k(),A("div",o7,[y(i),y(u,null,{options:S(()=>[y(a,{indices:o.genres.indices},null,8,["indices"])]),"heading-left":S(()=>[c("p",{class:"title is-4",textContent:g(e.$t("page.genres.title"))},null,8,s7),c("p",{class:"heading",textContent:g(e.$t("page.genres.count",{count:o.genres.total}))},null,8,i7)]),content:S(()=>[y(l,{genres:o.genres,media_kind:"music"},null,8,["genres"])]),_:1})])}const l7=te(r7,[["render",a7]]),za={load(e){return Promise.all([V.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}),V.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 ve(t[0].data.albums),e.recently_played=new ve(t[1].data.tracks)}},c7={name:"PageMusic",components:{ContentWithHeading:et,ListAlbums:lr,ListTracks:zn,TabsMusic:cr},beforeRouteEnter(e,t,n){za.load(e).then(r=>{n(o=>za.set(o,r))})},beforeRouteUpdate(e,t,n){const r=this;za.load(e).then(o=>{za.set(r,o),n()})},data(){return{recently_added:[],recently_played:{items:[]},selected_track:{}}}},u7={class:"fd-page-with-tabs"},d7=["textContent"],m7={class:"level"},f7={class:"level-item"},p7=["textContent"],h7={class:"level"},_7={class:"level-item"};function g7(e,t,n,r,o,s){const i=$("tabs-music"),a=$("list-albums"),l=$("router-link"),u=$("content-with-heading"),m=$("list-tracks");return k(),A("div",u7,[y(i),y(u,null,{"heading-left":S(()=>[c("p",{class:"title is-4",textContent:g(e.$t("page.music.recently-added.title"))},null,8,d7)]),content:S(()=>[y(a,{albums:o.recently_added},null,8,["albums"])]),footer:S(()=>[c("nav",m7,[c("p",f7,[y(l,{class:"button is-light is-small is-rounded",to:{name:"music-recently-added"}},{default:S(()=>[gt(g(e.$t("page.music.show-more")),1)]),_:1})])])]),_:1}),y(u,null,{"heading-left":S(()=>[c("p",{class:"title is-4",textContent:g(e.$t("page.music.recently-played.title"))},null,8,p7)]),content:S(()=>[y(m,{tracks:o.recently_played},null,8,["tracks"])]),footer:S(()=>[c("nav",h7,[c("p",_7,[y(l,{class:"button is-light is-small is-rounded",to:{name:"music-recently-played"}},{default:S(()=>[gt(g(e.$t("page.music.show-more")),1)]),_:1})])])]),_:1})])}const y7=te(c7,[["render",g7]]),wa={load(e){const t=He.getters.settings_option_recently_added_limit;return V.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 ve(t.data.albums),e.recently_added.group(E8("time_added",{direction:"desc"}))}},v7={name:"PageMusicRecentlyAdded",components:{ContentWithHeading:et,ListAlbums:lr,TabsMusic:cr},beforeRouteEnter(e,t,n){wa.load(e).then(r=>{n(o=>wa.set(o,r))})},beforeRouteUpdate(e,t,n){const r=this;wa.load(e).then(o=>{wa.set(r,o),n()})},data(){return{recently_added:new ve}}},b7={class:"fd-page-with-tabs"},z7=["textContent"];function w7(e,t,n,r,o,s){const i=$("tabs-music"),a=$("list-albums"),l=$("content-with-heading");return k(),A("div",b7,[y(i),y(l,null,{"heading-left":S(()=>[c("p",{class:"title is-4",textContent:g(e.$t("page.music.recently-added.title"))},null,8,z7)]),content:S(()=>[y(a,{albums:o.recently_added},null,8,["albums"])]),_:1})])}const C7=te(v7,[["render",w7]]),Ca={load(e){return V.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 ve(t.data.tracks)}},k7={name:"PageMusicRecentlyPlayed",components:{ContentWithHeading:et,ListTracks:zn,TabsMusic:cr},beforeRouteEnter(e,t,n){Ca.load(e).then(r=>{n(o=>Ca.set(o,r))})},beforeRouteUpdate(e,t,n){const r=this;Ca.load(e).then(o=>{Ca.set(r,o),n()})},data(){return{recently_played:{}}}},x7={class:"fd-page-with-tabs"},S7=["textContent"];function E7(e,t,n,r,o,s){const i=$("tabs-music"),a=$("list-tracks"),l=$("content-with-heading");return k(),A("div",x7,[y(i),y(l,null,{"heading-left":S(()=>[c("p",{class:"title is-4",textContent:g(e.$t("page.music.recently-played.title"))},null,8,S7)]),content:S(()=>[y(a,{tracks:o.recently_played},null,8,["tracks"])]),_:1})])}const $7=te(k7,[["render",E7]]),T7={name:"ListItemPlaylistSpotify",props:{playlist:{required:!0,type:Object}},methods:{open_playlist(){this.$router.push({name:"playlist-spotify",params:{id:this.playlist.id}})}}},A7={class:"media is-align-items-center"},O7=["textContent"],P7=["textContent"],I7={class:"media-right"};function R7(e,t,n,r,o,s){return k(),A("div",A7,[c("div",{class:"media-content is-clickable is-clipped",onClick:t[0]||(t[0]=(...i)=>s.open_playlist&&s.open_playlist(...i))},[c("h1",{class:"title is-6",textContent:g(n.playlist.name)},null,8,O7),c("h2",{class:"subtitle is-7",textContent:g(n.playlist.owner.display_name)},null,8,P7)]),c("div",I7,[it(e.$slots,"actions")])])}const bm=te(T7,[["render",R7]]),D7={name:"ModalDialogPlaylistSpotify",props:{playlist:{required:!0,type:Object},show:Boolean},emits:["close"],methods:{play(){this.$emit("close"),V.player_play_uri(this.playlist.uri,!1)},queue_add(){this.$emit("close"),V.queue_add(this.playlist.uri)},queue_add_next(){this.$emit("close"),V.queue_add_next(this.playlist.uri)},open_playlist(){this.$emit("close"),this.$router.push({name:"playlist-spotify",params:{id:this.playlist.id}})}}},L7={key:0,class:"modal is-active"},N7={class:"modal-content fd-modal-card"},M7={class:"card"},F7={class:"card-content"},V7={class:"title is-4"},H7=["textContent"],U7={class:"content is-small"},j7=["textContent"],q7=["textContent"],B7=["textContent"],W7=["textContent"],G7=["textContent"],K7=["textContent"],Z7={class:"card-footer"},Y7=["textContent"],J7=["textContent"],X7=["textContent"];function Q7(e,t,n,r,o,s){const i=$("mdicon");return k(),A("div",null,[y(Rt,{name:"fade"},{default:S(()=>[n.show?(k(),A("div",L7,[c("div",{class:"modal-background",onClick:t[0]||(t[0]=a=>e.$emit("close"))}),c("div",N7,[c("div",M7,[c("div",F7,[c("p",V7,[c("a",{class:"has-text-link",onClick:t[1]||(t[1]=(...a)=>s.open_playlist&&s.open_playlist(...a)),textContent:g(n.playlist.name)},null,8,H7)]),c("div",U7,[c("p",null,[c("span",{class:"heading",textContent:g(e.$t("dialog.spotify.playlist.owner"))},null,8,j7),c("span",{class:"title is-6",textContent:g(n.playlist.owner.display_name)},null,8,q7)]),c("p",null,[c("span",{class:"heading",textContent:g(e.$t("dialog.spotify.playlist.tracks"))},null,8,B7),c("span",{class:"title is-6",textContent:g(n.playlist.tracks.total)},null,8,W7)]),c("p",null,[c("span",{class:"heading",textContent:g(e.$t("dialog.spotify.playlist.path"))},null,8,G7),c("span",{class:"title is-6",textContent:g(n.playlist.uri)},null,8,K7)])])]),c("footer",Z7,[c("a",{class:"card-footer-item has-text-dark",onClick:t[2]||(t[2]=(...a)=>s.queue_add&&s.queue_add(...a))},[y(i,{class:"icon",name:"playlist-plus",size:"16"}),c("span",{class:"is-size-7",textContent:g(e.$t("dialog.spotify.playlist.add"))},null,8,Y7)]),c("a",{class:"card-footer-item has-text-dark",onClick:t[3]||(t[3]=(...a)=>s.queue_add_next&&s.queue_add_next(...a))},[y(i,{class:"icon",name:"playlist-play",size:"16"}),c("span",{class:"is-size-7",textContent:g(e.$t("dialog.spotify.playlist.add-next"))},null,8,J7)]),c("a",{class:"card-footer-item has-text-dark",onClick:t[4]||(t[4]=(...a)=>s.play&&s.play(...a))},[y(i,{class:"icon",name:"play",size:"16"}),c("span",{class:"is-size-7",textContent:g(e.$t("dialog.spotify.playlist.play"))},null,8,X7)])])])]),c("button",{class:"modal-close is-large","aria-label":"close",onClick:t[5]||(t[5]=a=>e.$emit("close"))})])):F("",!0)]),_:1})])}const dc=te(D7,[["render",Q7]]),ka={load(e){if(He.state.spotify_new_releases.length>0&&He.state.spotify_featured_playlists.length>0)return Promise.resolve();const t=new Zn;return t.setAccessToken(He.state.spotify.webapi_token),Promise.all([t.getNewReleases({country:He.state.spotify.webapi_country,limit:50}),t.getFeaturedPlaylists({country:He.state.spotify.webapi_country,limit:50})])},set(e,t){t&&(He.commit(nd,t[0].albums.items),He.commit(rd,t[1].playlists.items))}},eF={name:"PageMusicSpotify",components:{ContentWithHeading:et,CoverArtwork:Dn,ListItemAlbumSpotify:uc,ListItemPlaylistSpotify:bm,ModalDialogAlbumSpotify:Pi,ModalDialogPlaylistSpotify:dc,TabsMusic:cr},beforeRouteEnter(e,t,n){ka.load(e).then(r=>{n(o=>ka.set(o,r))})},beforeRouteUpdate(e,t,n){const r=this;ka.load(e).then(o=>{ka.set(r,o),n()})},data(){return{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){var t,n;return((n=(t=e.images)==null?void 0:t[0])==null?void 0:n.url)||""}}},tF={class:"fd-page-with-tabs"},nF=["textContent"],rF=["onClick"],oF={class:"level"},sF={class:"level-item"},iF=["textContent"],aF=["onClick"],lF={class:"level"},cF={class:"level-item"};function uF(e,t,n,r,o,s){const i=$("tabs-music"),a=$("cover-artwork"),l=$("mdicon"),u=$("list-item-album-spotify"),m=$("modal-dialog-album-spotify"),d=$("router-link"),f=$("content-with-heading"),p=$("list-item-playlist-spotify"),h=$("modal-dialog-playlist-spotify");return k(),A("div",tF,[y(i),y(f,null,{"heading-left":S(()=>[c("p",{class:"title is-4",textContent:g(e.$t("page.spotify.music.new-releases"))},null,8,nF)]),content:S(()=>[(k(!0),A(Ce,null,ut(s.new_releases,_=>(k(),_e(u,{key:_.id,album:_,onClick:b=>s.open_album(_)},ki({actions:S(()=>[c("a",{onClick:ot(b=>s.open_album_dialog(_),["prevent","stop"])},[y(l,{class:"icon has-text-dark",name:"dots-vertical",size:"16"})],8,rF)]),_:2},[s.is_visible_artwork?{name:"artwork",fn:S(()=>[y(a,{artwork_url:s.artwork_url(_),artist:_.artist,album:_.name,class:"is-clickable fd-has-shadow fd-cover fd-cover-small-image"},null,8,["artwork_url","artist","album"])]),key:"0"}:void 0]),1032,["album","onClick"]))),128)),y(m,{show:o.show_album_details_modal,album:o.selected_album,onClose:t[0]||(t[0]=_=>o.show_album_details_modal=!1)},null,8,["show","album"])]),footer:S(()=>[c("nav",oF,[c("p",sF,[y(d,{to:{name:"music-spotify-new-releases"},class:"button is-light is-small is-rounded"},{default:S(()=>[gt(g(e.$t("page.spotify.music.show-more")),1)]),_:1})])])]),_:1}),y(f,null,{"heading-left":S(()=>[c("p",{class:"title is-4",textContent:g(e.$t("page.spotify.music.featured-playlists"))},null,8,iF)]),content:S(()=>[(k(!0),A(Ce,null,ut(s.featured_playlists,_=>(k(),_e(p,{key:_.id,playlist:_},{actions:S(()=>[c("a",{onClick:ot(b=>s.open_playlist_dialog(_),["prevent","stop"])},[y(l,{class:"icon has-text-dark",name:"dots-vertical",size:"16"})],8,aF)]),_:2},1032,["playlist"]))),128)),y(h,{show:o.show_playlist_details_modal,playlist:o.selected_playlist,onClose:t[1]||(t[1]=_=>o.show_playlist_details_modal=!1)},null,8,["show","playlist"])]),footer:S(()=>[c("nav",lF,[c("p",cF,[y(d,{to:{name:"music-spotify-featured-playlists"},class:"button is-light is-small is-rounded"},{default:S(()=>[gt(g(e.$t("page.spotify.music.show-more")),1)]),_:1})])])]),_:1})])}const dF=te(eF,[["render",uF]]),xa={load(e){if(He.state.spotify_featured_playlists.length>0)return Promise.resolve();const t=new Zn;t.setAccessToken(He.state.spotify.webapi_token),t.getFeaturedPlaylists({country:He.state.spotify.webapi_country,limit:50})},set(e,t){t&&He.commit(rd,t.playlists.items)}},mF={name:"PageMusicSpotifyFeaturedPlaylists",components:{ContentWithHeading:et,ListItemPlaylistSpotify:bm,ModalDialogPlaylistSpotify:dc,TabsMusic:cr},beforeRouteEnter(e,t,n){xa.load(e).then(r=>{n(o=>xa.set(o,r))})},beforeRouteUpdate(e,t,n){const r=this;xa.load(e).then(o=>{xa.set(r,o),n()})},data(){return{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}}},fF={class:"fd-page-with-tabs"},pF=["textContent"],hF=["onClick"];function _F(e,t,n,r,o,s){const i=$("tabs-music"),a=$("mdicon"),l=$("list-item-playlist-spotify"),u=$("modal-dialog-playlist-spotify"),m=$("content-with-heading");return k(),A("div",fF,[y(i),y(m,null,{"heading-left":S(()=>[c("p",{class:"title is-4",textContent:g(e.$t("page.spotify.music.featured-playlists"))},null,8,pF)]),content:S(()=>[(k(!0),A(Ce,null,ut(s.featured_playlists,d=>(k(),_e(l,{key:d.id,playlist:d},{actions:S(()=>[c("a",{onClick:ot(f=>s.open_playlist_dialog(d),["prevent","stop"])},[y(a,{class:"icon has-text-dark",name:"dots-vertical",size:"16"})],8,hF)]),_:2},1032,["playlist"]))),128)),y(u,{show:o.show_details_modal,playlist:o.selected_playlist,onClose:t[0]||(t[0]=d=>o.show_details_modal=!1)},null,8,["show","playlist"])]),_:1})])}const gF=te(mF,[["render",_F]]),Sa={load(e){if(He.state.spotify_new_releases.length>0)return Promise.resolve();const t=new Zn;return t.setAccessToken(He.state.spotify.webapi_token),t.getNewReleases({country:He.state.spotify.webapi_country,limit:50})},set(e,t){t&&He.commit(nd,t.albums.items)}},yF={name:"PageMusicSpotifyNewReleases",components:{ContentWithHeading:et,CoverArtwork:Dn,ListItemAlbumSpotify:uc,ModalDialogAlbumSpotify:Pi,TabsMusic:cr},beforeRouteEnter(e,t,n){Sa.load(e).then(r=>{n(o=>Sa.set(o,r))})},beforeRouteUpdate(e,t,n){const r=this;Sa.load(e).then(o=>{Sa.set(r,o),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){var t,n;return((n=(t=e.images)==null?void 0:t[0])==null?void 0:n.url)||""}}},vF={class:"fd-page-with-tabs"},bF=["textContent"],zF=["onClick"];function wF(e,t,n,r,o,s){const i=$("tabs-music"),a=$("cover-artwork"),l=$("mdicon"),u=$("list-item-album-spotify"),m=$("modal-dialog-album-spotify"),d=$("content-with-heading");return k(),A("div",vF,[y(i),y(d,null,{"heading-left":S(()=>[c("p",{class:"title is-4",textContent:g(e.$t("page.spotify.music.new-releases"))},null,8,bF)]),content:S(()=>[(k(!0),A(Ce,null,ut(s.new_releases,f=>(k(),_e(u,{key:f.id,album:f,onClick:p=>s.open_album(f)},ki({actions:S(()=>[c("a",{onClick:ot(p=>s.open_album_dialog(f),["prevent","stop"])},[y(l,{class:"icon has-text-dark",name:"dots-vertical",size:"16"})],8,zF)]),_:2},[s.is_visible_artwork?{name:"artwork",fn:S(()=>[y(a,{artwork_url:s.artwork_url(f),artist:f.artist,album:f.name,class:"is-clickable fd-has-shadow fd-cover fd-cover-small-image"},null,8,["artwork_url","artist","album"])]),key:"0"}:void 0]),1032,["album","onClick"]))),128)),y(m,{show:o.show_details_modal,album:o.selected_album,onClose:t[0]||(t[0]=f=>o.show_details_modal=!1)},null,8,["show","album"])]),_:1})])}const CF=te(yF,[["render",wF]]),kF={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 o=0,s=t.length-1,i;for(;o<=s;){i=o+s>>1;const a=t[i],l=t[i+1];if(a.time<=e&&((l==null?void 0:l.time)>e||!l))return i;a.time<e?o=i+1:s=i-1}return-1}else return this.reset_scrolling(),-1},lyrics(){const e=this.$store.state.lyrics.content,t=[];if(e){const n=/(\[(\d+):(\d+)(?:\.\d+)?\] ?)?(.*)/;e.split(`
|
||
`).forEach((r,o)=>{const s=n.exec(r);if(s&&s[4]){const i={text:s[4],time:s[2]*60+s[3]*1};t.push(i)}}),t.forEach((r,o,s)=>{const a=(o<s.length-1?s[o+1].time-r.time:3)/r.text.length;let l=0;r.words=r.text.match(/\S+\s*/g).map(u=>{const m=u.length*a;return l+=m,{duration:m,delay:l,text:u}})})}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"})}}},xF=["textContent"],SF={key:1};function EF(e,t,n,r,o,s){return k(),A("div",{ref:"lyrics",class:"lyrics",onTouchstart:t[0]||(t[0]=i=>o.autoScrolling=!1),onTouchend:t[1]||(t[1]=i=>o.autoScrolling=!0),onScrollPassive:t[2]||(t[2]=(...i)=>s.start_scrolling&&s.start_scrolling(...i)),onWheelPassive:t[3]||(t[3]=(...i)=>s.start_scrolling&&s.start_scrolling(...i))},[(k(!0),A(Ce,null,ut(s.lyrics,(i,a)=>(k(),A(Ce,{key:a},[a===s.verse_index?(k(),A("div",{key:0,class:Se({"is-highlighted":s.is_playing})},[(k(!0),A(Ce,null,ut(i.words,l=>(k(),A("span",{key:l,class:"has-text-weight-bold is-size-5"},[c("span",{style:Kr({"animation-duration":`${l.delay}s`}),textContent:g(l.text)},null,12,xF)]))),128))],2)):(k(),A("div",SF,g(i.text),1))],64))),128))],544)}const $F=te(kF,[["render",EF],["__scopeId","data-v-32f71750"]]),TF={name:"ModalDialogQueueItem",props:{item:{required:!0,type:Object},show:Boolean},emits:["close"],data(){return{spotify_track:{}}},watch:{item(){if(this.item&&this.item.data_kind==="spotify"){const e=new Zn;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"),V.player_play({item_id:this.item.id})},remove(){this.$emit("close"),V.queue_remove(this.item.id)}}},AF={key:0,class:"modal is-active"},OF={class:"modal-content fd-modal-card"},PF={class:"card"},IF={class:"card-content"},RF=["textContent"],DF=["textContent"],LF={class:"content is-small"},NF={key:0},MF=["textContent"],FF=["textContent"],VF={key:1},HF=["textContent"],UF=["textContent"],jF={key:2},qF=["textContent"],BF=["textContent"],WF={key:3},GF=["textContent"],KF=["textContent"],ZF={key:4},YF=["textContent"],JF=["textContent"],XF={key:5},QF=["textContent"],eV=["textContent"],tV={key:6},nV=["textContent"],rV=["textContent"],oV=["textContent"],sV=["textContent"],iV=["textContent"],aV={class:"title is-6"},lV=["textContent"],cV={key:7},uV=["textContent"],dV={class:"title is-6"},mV=["textContent"],fV=["textContent"],pV=["textContent"],hV=["textContent"],_V={class:"card-footer"},gV=["textContent"],yV=["textContent"];function vV(e,t,n,r,o,s){const i=$("mdicon");return k(),A("div",null,[y(Rt,{name:"fade"},{default:S(()=>[n.show?(k(),A("div",AF,[c("div",{class:"modal-background",onClick:t[0]||(t[0]=a=>e.$emit("close"))}),c("div",OF,[c("div",PF,[c("div",IF,[c("p",{class:"title is-4",textContent:g(n.item.title)},null,8,RF),c("p",{class:"subtitle",textContent:g(n.item.artist)},null,8,DF),c("div",LF,[n.item.album?(k(),A("p",NF,[c("span",{class:"heading",textContent:g(e.$t("dialog.queue-item.album"))},null,8,MF),c("a",{class:"title is-6 has-text-link",onClick:t[1]||(t[1]=(...a)=>s.open_album&&s.open_album(...a)),textContent:g(n.item.album)},null,8,FF)])):F("",!0),n.item.album_artist?(k(),A("p",VF,[c("span",{class:"heading",textContent:g(e.$t("dialog.queue-item.album-artist"))},null,8,HF),c("a",{class:"title is-6 has-text-link",onClick:t[2]||(t[2]=(...a)=>s.open_album_artist&&s.open_album_artist(...a)),textContent:g(n.item.album_artist)},null,8,UF)])):F("",!0),n.item.composer?(k(),A("p",jF,[c("span",{class:"heading",textContent:g(e.$t("dialog.queue-item.composer"))},null,8,qF),c("span",{class:"title is-6",textContent:g(n.item.composer)},null,8,BF)])):F("",!0),n.item.year?(k(),A("p",WF,[c("span",{class:"heading",textContent:g(e.$t("dialog.queue-item.year"))},null,8,GF),c("span",{class:"title is-6",textContent:g(n.item.year)},null,8,KF)])):F("",!0),n.item.genre?(k(),A("p",ZF,[c("span",{class:"heading",textContent:g(e.$t("dialog.queue-item.genre"))},null,8,YF),c("a",{class:"title is-6 has-text-link",onClick:t[3]||(t[3]=(...a)=>s.open_genre&&s.open_genre(...a)),textContent:g(n.item.genre)},null,8,JF)])):F("",!0),n.item.disc_number?(k(),A("p",XF,[c("span",{class:"heading",textContent:g(e.$t("dialog.queue-item.position"))},null,8,QF),c("span",{class:"title is-6",textContent:g([n.item.disc_number,n.item.track_number].join(" / "))},null,8,eV)])):F("",!0),n.item.length_ms?(k(),A("p",tV,[c("span",{class:"heading",textContent:g(e.$t("dialog.queue-item.duration"))},null,8,nV),c("span",{class:"title is-6",textContent:g(e.$filters.durationInHours(n.item.length_ms))},null,8,rV)])):F("",!0),c("p",null,[c("span",{class:"heading",textContent:g(e.$t("dialog.queue-item.path"))},null,8,oV),c("span",{class:"title is-6",textContent:g(n.item.path)},null,8,sV)]),c("p",null,[c("span",{class:"heading",textContent:g(e.$t("dialog.queue-item.type"))},null,8,iV),c("span",aV,[c("span",{textContent:g([e.$t("media.kind."+n.item.media_kind),e.$t("data.kind."+n.item.data_kind)].join(" - "))},null,8,lV)])]),n.item.samplerate?(k(),A("p",cV,[c("span",{class:"heading",textContent:g(e.$t("dialog.queue-item.quality"))},null,8,uV),c("span",dV,[c("span",{textContent:g(n.item.type)},null,8,mV),n.item.samplerate?(k(),A("span",{key:0,textContent:g(e.$t("dialog.queue-item.samplerate",{rate:n.item.samplerate}))},null,8,fV)):F("",!0),n.item.channels?(k(),A("span",{key:1,textContent:g(e.$t("dialog.queue-item.channels",{channels:e.$filters.channels(n.item.channels)}))},null,8,pV)):F("",!0),n.item.bitrate?(k(),A("span",{key:2,textContent:g(e.$t("dialog.queue-item.bitrate",{rate:n.item.bitrate}))},null,8,hV)):F("",!0)])])):F("",!0)])]),c("footer",_V,[c("a",{class:"card-footer-item has-text-dark",onClick:t[4]||(t[4]=(...a)=>s.remove&&s.remove(...a))},[y(i,{class:"icon",name:"delete",size:"16"}),c("span",{class:"is-size-7",textContent:g(e.$t("dialog.queue-item.remove"))},null,8,gV)]),c("a",{class:"card-footer-item has-text-dark",onClick:t[5]||(t[5]=(...a)=>s.play&&s.play(...a))},[y(i,{class:"icon",name:"play",size:"16"}),c("span",{class:"is-size-7",textContent:g(e.$t("dialog.queue-item.play"))},null,8,yV)])])])]),c("button",{class:"modal-close is-large","aria-label":"close",onClick:t[6]||(t[6]=a=>e.$emit("close"))})])):F("",!0)]),_:1})])}const R1=te(TF,[["render",vV]]),Ar=1e3,bV={name:"PageNowPlaying",components:{ControlSlider:Ld,CoverArtwork:Dn,LyricsPane:$F,ModalDialogQueueItem:R1},data(){return{cursor:ql,INTERVAL:Ar,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.state.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/Ar)},set(e){this.player.item_progress_ms=e*Ar}},track_progress_max(){return this.is_live?1:Math.floor(this.track.length_ms/Ar)},track_elapsed_time(){return this.$filters.durationInHours(this.track_progress*Ar)},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,Ar))}},created(){V.player_status().then(({data:e})=>{this.$store.commit(td,e),this.player.state==="play"&&(this.interval_id=window.setInterval(this.tick,Ar))})},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||V.player_seek_to_pos(this.track_progress*Ar)},open_dialog(e){this.selected_item=e,this.show_details_modal=!0}}},zV={class:"hero is-full-height"},wV={key:0,class:"hero-body is-flex is-align-items-center"},CV={class:"container has-text-centered",style:{"max-width":"500px"}},kV={class:"is-flex is-justify-content-space-between"},xV=["textContent"],SV=["textContent"],EV=["textContent"],$V=["textContent"],TV=["textContent"],AV=["textContent"],OV=["textContent"],PV={key:1,class:"hero-body is-flex is-align-items-center"},IV={class:"container has-text-centered"},RV=["textContent"],DV=["textContent"];function LV(e,t,n,r,o,s){const i=$("cover-artwork"),a=$("lyrics-pane"),l=$("control-slider"),u=$("modal-dialog-queue-item");return k(),A("div",zV,[s.track.id>0?(k(),A("div",wV,[c("div",CV,[y(i,{artwork_url:s.track.artwork_url,artist:s.track.artist,album:s.track.album,class:Se(["is-clickable fd-has-shadow fd-cover-big-image",{"is-masked":s.lyrics_visible}]),onClick:t[0]||(t[0]=m=>s.open_dialog(s.track))},null,8,["artwork_url","artist","album","class"]),s.lyrics_visible?(k(),_e(a,{key:0})):F("",!0),y(l,{value:s.track_progress,"onUpdate:value":t[1]||(t[1]=m=>s.track_progress=m),class:"mt-5",disabled:s.is_live,max:s.track_progress_max,cursor:o.cursor,onChange:s.seek,onMousedown:s.start_dragging,onMouseup:s.end_dragging},null,8,["value","disabled","max","cursor","onChange","onMousedown","onMouseup"]),c("div",kV,[c("p",{class:"subtitle is-7",textContent:g(s.track_elapsed_time)},null,8,xV),c("p",{class:"subtitle is-7",textContent:g(s.track_total_time)},null,8,SV)]),c("p",{class:"title is-5",textContent:g(s.track.title)},null,8,EV),c("p",{class:"title is-6",textContent:g(s.track.artist)},null,8,$V),s.composer?(k(),A("p",{key:1,class:"subtitle is-6 has-text-grey has-text-weight-bold",textContent:g(s.composer)},null,8,TV)):F("",!0),s.track.album?(k(),A("p",{key:2,class:"subtitle is-6",textContent:g(s.track.album)},null,8,AV)):F("",!0),s.filepath?(k(),A("p",{key:3,class:"subtitle is-6 has-text-grey",textContent:g(s.filepath)},null,8,OV)):F("",!0)])])):(k(),A("div",PV,[c("div",IV,[c("p",{class:"title is-5",textContent:g(e.$t("page.now-playing.title"))},null,8,RV),c("p",{class:"subtitle",textContent:g(e.$t("page.now-playing.info"))},null,8,DV)])])),y(u,{show:o.show_details_modal,item:o.selected_item,onClose:t[2]||(t[2]=m=>o.show_details_modal=!1)},null,8,["show","item"])])}const NV=te(bV,[["render",LV]]),Ea={load(e){return Promise.all([V.library_playlist(e.params.id),V.library_playlist_folder(e.params.id)])},set(e,t){e.playlist=t[0].data,e.playlists_list=new ve(t[1].data)}},MV={name:"PagePlaylistFolder",components:{ContentWithHeading:et,ListPlaylists:vm},beforeRouteEnter(e,t,n){Ea.load(e).then(r=>{n(o=>Ea.set(o,r))})},beforeRouteUpdate(e,t,n){const r=this;Ea.load(e).then(o=>{Ea.set(r,o),n()})},data(){return{playlist:{},playlists_list:new ve}},computed:{playlists(){return this.playlists_list.group(um(),[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}}},FV=["textContent"],VV=["textContent"];function HV(e,t,n,r,o,s){const i=$("list-playlists"),a=$("content-with-heading");return k(),A("div",null,[y(a,null,{"heading-left":S(()=>[c("p",{class:"title is-4",textContent:g(o.playlist.id===0?e.$t("page.playlists.title"):o.playlist.name)},null,8,FV),c("p",{class:"heading",textContent:g(e.$t("page.playlists.count",{count:s.playlists.count}))},null,8,VV)]),content:S(()=>[y(i,{playlists:s.playlists},null,8,["playlists"])]),_:1})])}const UV=te(MV,[["render",HV]]),$a={load(e){return Promise.all([V.library_playlist(e.params.id),V.library_playlist_tracks(e.params.id)])},set(e,t){e.playlist=t[0].data,e.tracks=new ve(t[1].data)}},jV={name:"PagePlaylistTracks",components:{ContentWithHeading:et,ListTracks:zn,ModalDialogPlaylist:I1},beforeRouteEnter(e,t,n){$a.load(e).then(r=>{n(o=>$a.set(o,r))})},beforeRouteUpdate(e,t,n){const r=this;$a.load(e).then(o=>{$a.set(r,o),n()})},data(){return{playlist:{},show_details_modal:!1,tracks:new ve}},computed:{uris(){return this.playlist.random?this.tracks.map(e=>e.uri).join(","):this.playlist.uri}},methods:{play(){V.player_play_uri(this.uris,!0)}}},qV=["textContent"],BV={class:"buttons is-centered"},WV=["textContent"],GV=["textContent"];function KV(e,t,n,r,o,s){const i=$("mdicon"),a=$("list-tracks"),l=$("modal-dialog-playlist"),u=$("content-with-heading");return k(),A("div",null,[y(u,null,{"heading-left":S(()=>[c("div",{class:"title is-4",textContent:g(o.playlist.name)},null,8,qV)]),"heading-right":S(()=>[c("div",BV,[c("a",{class:"button is-small is-light is-rounded",onClick:t[0]||(t[0]=m=>o.show_details_modal=!0)},[y(i,{class:"icon",name:"dots-horizontal",size:"16"})]),c("a",{class:"button is-small is-dark is-rounded",onClick:t[1]||(t[1]=(...m)=>s.play&&s.play(...m))},[y(i,{class:"icon",name:"shuffle",size:"16"}),c("span",{textContent:g(e.$t("page.playlist.shuffle"))},null,8,WV)])])]),content:S(()=>[c("p",{class:"heading has-text-centered-mobile",textContent:g(e.$t("page.playlist.track-count",{count:o.tracks.count}))},null,8,GV),y(a,{tracks:o.tracks,uris:s.uris},null,8,["tracks","uris"]),y(l,{show:o.show_details_modal,playlist:o.playlist,uris:s.uris,onClose:t[2]||(t[2]=m=>o.show_details_modal=!1)},null,8,["show","playlist","uris"])]),_:1})])}const ZV=te(jV,[["render",KV]]),Zu=50,Ta={load(e){const t=new Zn;return t.setAccessToken(He.state.spotify.webapi_token),Promise.all([t.getPlaylist(e.params.id),t.getPlaylistTracks(e.params.id,{limit:Zu,offset:0,market:He.state.spotify.webapi_country})])},set(e,t){e.playlist=t[0],e.tracks=[],e.total=0,e.offset=0,e.append_tracks(t[1])}},YV={name:"PagePlaylistTracksSpotify",components:{ContentWithHeading:et,ListItemTrackSpotify:mm,ModalDialogPlaylistSpotify:dc,ModalDialogTrackSpotify:fm,VueEternalLoading:pm},beforeRouteEnter(e,t,n){Ta.load(e).then(r=>{n(o=>Ta.set(o,r))})},beforeRouteUpdate(e,t,n){const r=this;Ta.load(e).then(o=>{Ta.set(r,o),n()})},data(){return{playlist:{tracks:{}},tracks:[],total:0,offset:0,show_track_details_modal:!1,selected_track:{},show_playlist_details_modal:!1}},methods:{load_next({loaded:e}){const t=new Zn;t.setAccessToken(this.$store.state.spotify.webapi_token),t.getPlaylistTracks(this.playlist.id,{limit:Zu,offset:this.offset,market:He.state.spotify.webapi_country}).then(n=>{this.append_tracks(n),e(n.items.length,Zu)})},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,V.player_play_uri(this.playlist.uri,!0)},open_track_dialog(e){this.selected_track=e,this.show_track_details_modal=!0}}},JV=["textContent"],XV={class:"buttons is-centered"},QV=["textContent"],e9=["textContent"],t9=["onClick"],n9={class:"columns is-centered"},r9={class:"column has-text-centered"};function o9(e,t,n,r,o,s){const i=$("mdicon"),a=$("list-item-track-spotify"),l=$("VueEternalLoading"),u=$("modal-dialog-track-spotify"),m=$("modal-dialog-playlist-spotify"),d=$("content-with-heading");return k(),A("div",null,[y(d,null,{"heading-left":S(()=>[c("div",{class:"title is-4",textContent:g(o.playlist.name)},null,8,JV)]),"heading-right":S(()=>[c("div",XV,[c("a",{class:"button is-small is-light is-rounded",onClick:t[0]||(t[0]=f=>o.show_playlist_details_modal=!0)},[y(i,{class:"icon",name:"dots-horizontal",size:"16"})]),c("a",{class:"button is-small is-dark is-rounded",onClick:t[1]||(t[1]=(...f)=>s.play&&s.play(...f))},[y(i,{class:"icon",name:"shuffle",size:"16"}),c("span",{textContent:g(e.$t("page.spotify.playlist.shuffle"))},null,8,QV)])])]),content:S(()=>[c("p",{class:"heading has-text-centered-mobile",textContent:g(e.$t("page.spotify.playlist.count",{count:o.playlist.tracks.total}))},null,8,e9),(k(!0),A(Ce,null,ut(o.tracks,f=>(k(),_e(a,{key:f.id,track:f,position:f.position,context_uri:o.playlist.uri},{actions:S(()=>[c("a",{onClick:ot(p=>s.open_track_dialog(f),["prevent","stop"])},[y(i,{class:"icon has-text-dark",name:"dots-vertical",size:"16"})],8,t9)]),_:2},1032,["track","position","context_uri"]))),128)),o.offset<o.total?(k(),_e(l,{key:0,load:s.load_next},{loading:S(()=>[c("div",n9,[c("div",r9,[y(i,{class:"icon mdi-spin",name:"loading"})])])]),"no-more":S(()=>[gt(" ")]),_:1},8,["load"])):F("",!0),y(u,{show:o.show_track_details_modal,track:o.selected_track,album:o.selected_track.album,onClose:t[2]||(t[2]=f=>o.show_track_details_modal=!1)},null,8,["show","track","album"]),y(m,{show:o.show_playlist_details_modal,playlist:o.playlist,onClose:t[3]||(t[3]=f=>o.show_playlist_details_modal=!1)},null,8,["show","playlist"])]),_:1})])}const s9=te(YV,[["render",o9]]),Aa={load(e){return Promise.all([V.library_album(e.params.id),V.library_podcast_episodes(e.params.id)])},set(e,t){e.album=t[0].data,e.tracks=new ve(t[1].data.tracks)}},i9={name:"PagePodcast",components:{ContentWithHero:ac,CoverArtwork:Dn,ListTracks:zn,ModalDialog:Xd,ModalDialogAlbum:lc},beforeRouteEnter(e,t,n){Aa.load(e).then(r=>{n(o=>Aa.set(o,r))})},beforeRouteUpdate(e,t,n){const r=this;Aa.load(e).then(o=>{Aa.set(r,o),n()})},data(){return{album:{},rss_playlist_to_remove:{},show_details_modal:!1,show_remove_podcast_modal:!1,tracks:new ve}},methods:{open_remove_podcast_dialog(){V.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(){V.player_play_uri(this.album.uri,!1)},reload_tracks(){V.library_podcast_episodes(this.album.id).then(({data:e})=>{this.tracks=new ve(e.tracks)})},remove_podcast(){this.show_remove_podcast_modal=!1,V.library_playlist_delete(this.rss_playlist_to_remove.id).then(()=>{this.$router.replace({name:"podcasts"})})}}},a9=["textContent"],l9=c("h2",{class:"subtitle is-6"}," ",-1),c9={class:"buttons fd-is-centered-mobile mt-5"},u9=["textContent"],d9=["textContent"],m9=["textContent"],f9={class:"is-size-7"},p9=["textContent"],h9=["textContent"];function _9(e,t,n,r,o,s){const i=$("mdicon"),a=$("cover-artwork"),l=$("list-tracks"),u=$("modal-dialog-album"),m=$("modal-dialog"),d=$("content-with-hero");return k(),A("div",null,[y(d,null,{"heading-left":S(()=>[c("h1",{class:"title is-5",textContent:g(o.album.name)},null,8,a9),l9,c("div",c9,[c("a",{class:"button is-small is-dark is-rounded",onClick:t[0]||(t[0]=(...f)=>s.play&&s.play(...f))},[y(i,{class:"icon",name:"play",size:"16"}),c("span",{textContent:g(e.$t("page.podcast.play"))},null,8,u9)]),c("a",{class:"button is-small is-light is-rounded",onClick:t[1]||(t[1]=f=>o.show_details_modal=!0)},[y(i,{class:"icon",name:"dots-horizontal",size:"16"})])])]),"heading-right":S(()=>[y(a,{artwork_url:o.album.artwork_url,artist:o.album.artist,album:o.album.name,class:"is-clickable fd-has-shadow fd-cover fd-cover-medium-image",onClick:t[2]||(t[2]=f=>o.show_details_modal=!0)},null,8,["artwork_url","artist","album"])]),content:S(()=>[c("p",{class:"heading is-7 has-text-centered-mobile mt-5",textContent:g(e.$t("page.podcast.track-count",{count:o.album.track_count}))},null,8,d9),y(l,{tracks:o.tracks,show_progress:!0,onPlayCountChanged:s.reload_tracks},null,8,["tracks","onPlayCountChanged"]),y(u,{show:o.show_details_modal,album:o.album,media_kind:"podcast",onClose:t[3]||(t[3]=f=>o.show_details_modal=!1),onPlayCountChanged:s.reload_tracks,onRemovePodcast:s.open_remove_podcast_dialog},null,8,["show","album","onPlayCountChanged","onRemovePodcast"]),y(m,{show:o.show_remove_podcast_modal,title:e.$t("page.podcast.remove-podcast"),delete_action:e.$t("page.podcast.remove"),onClose:t[4]||(t[4]=f=>o.show_remove_podcast_modal=!1),onDelete:s.remove_podcast},{"modal-content":S(()=>[c("p",{textContent:g(e.$t("page.podcast.remove-info-1"))},null,8,m9),c("p",f9,[gt(" ("),c("span",{textContent:g(e.$t("page.podcast.remove-info-2"))},null,8,p9),c("b",{textContent:g(o.rss_playlist_to_remove.name)},null,8,h9),gt(") ")])]),_:1},8,["show","title","delete_action","onDelete"])]),_:1})])}const g9=te(i9,[["render",_9]]),y9={name:"ModalDialogAddRss",props:{show:Boolean},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,V.library_add(this.url).then(()=>{this.$emit("close"),this.$emit("podcast-added"),this.url=""}).catch(()=>{this.loading=!1})}}},v9={key:0,class:"modal is-active"},b9={class:"modal-content fd-modal-card"},z9={class:"card-content"},w9=["textContent"],C9={class:"field"},k9={class:"control has-icons-left"},x9=["placeholder","disabled"],S9=["textContent"],E9={key:0,class:"card-footer"},$9={class:"card-footer-item has-text-dark"},T9=["textContent"],A9={key:1,class:"card-footer is-clipped"},O9=["textContent"],P9=["textContent"];function I9(e,t,n,r,o,s){const i=$("mdicon");return k(),A("div",null,[y(Rt,{name:"fade"},{default:S(()=>[n.show?(k(),A("div",v9,[c("div",{class:"modal-background",onClick:t[0]||(t[0]=a=>e.$emit("close"))}),c("div",b9,[c("form",{class:"card",onSubmit:t[4]||(t[4]=ot((...a)=>s.add_stream&&s.add_stream(...a),["prevent"]))},[c("div",z9,[c("p",{class:"title is-4",textContent:g(e.$t("dialog.add.rss.title"))},null,8,w9),c("div",C9,[c("p",k9,[yt(c("input",{ref:"url_field","onUpdate:modelValue":t[1]||(t[1]=a=>o.url=a),class:"input is-shadowless",type:"url",pattern:"http[s]?://.*",required:"",placeholder:e.$t("dialog.add.rss.placeholder"),disabled:o.loading},null,8,x9),[[un,o.url]]),y(i,{class:"icon is-left",name:"rss",size:"16"})]),c("p",{class:"help",textContent:g(e.$t("dialog.add.rss.help"))},null,8,S9)])]),o.loading?(k(),A("footer",E9,[c("a",$9,[y(i,{class:"icon",name:"web",size:"16"}),c("span",{class:"is-size-7",textContent:g(e.$t("dialog.add.rss.processing"))},null,8,T9)])])):(k(),A("footer",A9,[c("a",{class:"card-footer-item has-text-dark",onClick:t[2]||(t[2]=a=>e.$emit("close"))},[y(i,{class:"icon",name:"cancel",size:"16"}),c("span",{class:"is-size-7",textContent:g(e.$t("dialog.add.rss.cancel"))},null,8,O9)]),c("a",{class:"card-footer-item has-background-info has-text-white has-text-weight-bold",onClick:t[3]||(t[3]=(...a)=>s.add_stream&&s.add_stream(...a))},[y(i,{class:"icon",name:"playlist-plus",size:"16"}),c("span",{class:"is-size-7",textContent:g(e.$t("dialog.add.rss.add"))},null,8,P9)])]))],32)]),c("button",{class:"modal-close is-large","aria-label":"close",onClick:t[5]||(t[5]=a=>e.$emit("close"))})])):F("",!0)]),_:1})])}const R9=te(y9,[["render",I9]]),Oa={load(e){return Promise.all([V.library_albums("podcast"),V.library_podcasts_new_episodes()])},set(e,t){e.albums=new ve(t[0].data),e.new_episodes=new ve(t[1].data.tracks)}},D9={name:"PagePodcasts",components:{ContentWithHeading:et,ListTracks:zn,ListAlbums:lr,ModalDialogAddRss:R9},beforeRouteEnter(e,t,n){Oa.load(e).then(r=>{n(o=>Oa.set(o,r))})},beforeRouteUpdate(e,t,n){const r=this;Oa.load(e).then(o=>{Oa.set(r,o),n()})},data(){return{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=>{V.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(){V.library_podcasts_new_episodes().then(({data:e})=>{this.new_episodes=new ve(e.tracks)})},reload_podcasts(){V.library_albums("podcast").then(({data:e})=>{this.albums=new ve(e),this.reload_new_episodes()})},update_rss(){this.$store.commit(od,"rss"),this.$store.commit(yi,!0)}}},L9=["textContent"],N9={class:"buttons is-centered"},M9=["textContent"],F9=["textContent"],V9=["textContent"],H9={class:"buttons is-centered"},U9=["textContent"],j9=["textContent"];function q9(e,t,n,r,o,s){const i=$("mdicon"),a=$("list-tracks"),l=$("content-with-heading"),u=$("list-albums"),m=$("modal-dialog-add-rss");return k(),A("div",null,[o.new_episodes.items.length>0?(k(),_e(l,{key:0},{"heading-left":S(()=>[c("p",{class:"title is-4",textContent:g(e.$t("page.podcasts.new-episodes"))},null,8,L9)]),"heading-right":S(()=>[c("div",N9,[c("a",{class:"button is-small",onClick:t[0]||(t[0]=(...d)=>s.mark_all_played&&s.mark_all_played(...d))},[y(i,{class:"icon",name:"pencil",size:"16"}),c("span",{textContent:g(e.$t("page.podcasts.mark-all-played"))},null,8,M9)])])]),content:S(()=>[y(a,{tracks:o.new_episodes,show_progress:!0,onPlayCountChanged:s.reload_new_episodes},null,8,["tracks","onPlayCountChanged"])]),_:1})):F("",!0),y(l,null,{"heading-left":S(()=>[c("p",{class:"title is-4",textContent:g(e.$t("page.podcasts.title"))},null,8,F9),c("p",{class:"heading",textContent:g(e.$t("page.podcasts.count",{count:o.albums.total}))},null,8,V9)]),"heading-right":S(()=>[c("div",H9,[s.rss.tracks>0?(k(),A("a",{key:0,class:"button is-small",onClick:t[1]||(t[1]=(...d)=>s.update_rss&&s.update_rss(...d))},[y(i,{class:"icon",name:"refresh",size:"16"}),c("span",{textContent:g(e.$t("page.podcasts.update"))},null,8,U9)])):F("",!0),c("a",{class:"button is-small",onClick:t[2]||(t[2]=(...d)=>s.open_add_podcast_dialog&&s.open_add_podcast_dialog(...d))},[y(i,{class:"icon",name:"rss",size:"16"}),c("span",{textContent:g(e.$t("page.podcasts.add"))},null,8,j9)])])]),content:S(()=>[y(u,{albums:o.albums,onPlayCountChanged:t[3]||(t[3]=d=>s.reload_new_episodes()),onPodcastDeleted:t[4]||(t[4]=d=>s.reload_podcasts())},null,8,["albums"]),y(m,{show:o.show_url_modal,onClose:t[5]||(t[5]=d=>o.show_url_modal=!1),onPodcastAdded:t[6]||(t[6]=d=>s.reload_podcasts())},null,8,["show"])]),_:1})])}const B9=te(D9,[["render",q9]]),W9={name:"ListItemQueueItem",props:{current_position:{required:!0,type:Number},edit_mode:Boolean,item:{required:!0,type:Object},position:{required:!0,type:Number},show_only_next_items:Boolean},computed:{state(){return this.$store.state.player},is_next(){return this.current_position<0||this.position>=this.current_position}},methods:{play(){V.player_play({item_id:this.item.id})}}},G9={key:0,class:"media is-align-items-center"},K9={key:0,class:"media-left"},Z9=["textContent"],Y9=["textContent"],J9=["textContent"],X9={class:"media-right"};function Q9(e,t,n,r,o,s){const i=$("mdicon");return s.is_next||!n.show_only_next_items?(k(),A("div",G9,[n.edit_mode?(k(),A("div",K9,[y(i,{class:"icon has-text-grey fd-is-movable handle",name:"drag-horizontal",size:"16"})])):F("",!0),c("div",{class:"media-content is-clickable is-clipped",onClick:t[0]||(t[0]=(...a)=>s.play&&s.play(...a))},[c("h1",{class:Se(["title is-6",{"has-text-primary":n.item.id===s.state.item_id,"has-text-grey-light":!s.is_next}]),textContent:g(n.item.title)},null,10,Z9),c("h2",{class:Se(["subtitle is-7 has-text-weight-bold",{"has-text-primary":n.item.id===s.state.item_id,"has-text-grey-light":!s.is_next,"has-text-grey":s.is_next&&n.item.id!==s.state.item_id}]),textContent:g(n.item.artist)},null,10,Y9),c("h2",{class:Se(["subtitle is-7",{"has-text-primary":n.item.id===s.state.item_id,"has-text-grey-light":!s.is_next,"has-text-grey":s.is_next&&n.item.id!==s.state.item_id}]),textContent:g(n.item.album)},null,10,J9)]),c("div",X9,[it(e.$slots,"actions")])])):F("",!0)}const eH=te(W9,[["render",Q9]]),tH={name:"ModalDialogAddUrlStream",props:{show:Boolean},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,V.queue_add(this.url).then(()=>{this.$emit("close"),this.url=""}).catch(()=>{this.loading=!1})},play(){this.loading=!0,V.player_play_uri(this.url,!1).then(()=>{this.$emit("close"),this.url=""}).catch(()=>{this.loading=!1})}}},nH={key:0,class:"modal is-active"},rH={class:"modal-content fd-modal-card"},oH={class:"card-content"},sH=["textContent"],iH={class:"field"},aH={class:"control has-icons-left"},lH=["placeholder","disabled"],cH={key:0,class:"card-footer"},uH={class:"card-footer-item has-text-dark"},dH=["textContent"],mH={key:1,class:"card-footer is-clipped"},fH=["textContent"],pH=["textContent"],hH=["textContent"];function _H(e,t,n,r,o,s){const i=$("mdicon");return k(),A("div",null,[y(Rt,{name:"fade"},{default:S(()=>[n.show?(k(),A("div",nH,[c("div",{class:"modal-background",onClick:t[0]||(t[0]=a=>e.$emit("close"))}),c("div",rH,[c("form",{class:"card",onSubmit:t[5]||(t[5]=ot((...a)=>s.play&&s.play(...a),["prevent"]))},[c("div",oH,[c("p",{class:"title is-4",textContent:g(e.$t("dialog.add.stream.title"))},null,8,sH),c("div",iH,[c("p",aH,[yt(c("input",{ref:"url_field","onUpdate:modelValue":t[1]||(t[1]=a=>o.url=a),class:"input is-shadowless",type:"url",pattern:"http[s]?://.*",required:"",placeholder:e.$t("dialog.add.stream.placeholder"),disabled:o.loading},null,8,lH),[[un,o.url]]),y(i,{class:"icon is-left",name:"web",size:"16"})])])]),o.loading?(k(),A("footer",cH,[c("a",uH,[y(i,{class:"icon",name:"web",size:"16"}),c("span",{class:"is-size-7",textContent:g(e.$t("dialog.add.stream.loading"))},null,8,dH)])])):(k(),A("footer",mH,[c("a",{class:"card-footer-item has-text-dark",onClick:t[2]||(t[2]=a=>e.$emit("close"))},[y(i,{class:"icon",name:"cancel",size:"16"}),c("span",{class:"is-size-7",textContent:g(e.$t("dialog.add.stream.cancel"))},null,8,fH)]),c("a",{class:"card-footer-item has-text-dark",onClick:t[3]||(t[3]=(...a)=>s.add_stream&&s.add_stream(...a))},[y(i,{class:"icon",name:"playlist-plus",size:"16"}),c("span",{class:"is-size-7",textContent:g(e.$t("dialog.add.stream.add"))},null,8,pH)]),c("a",{class:"card-footer-item has-background-info has-text-white has-text-weight-bold",onClick:t[4]||(t[4]=(...a)=>s.play&&s.play(...a))},[y(i,{class:"icon",name:"play",size:"16"}),c("span",{class:"is-size-7",textContent:g(e.$t("dialog.add.stream.play"))},null,8,hH)])]))],32)]),c("button",{class:"modal-close is-large","aria-label":"close",onClick:t[6]||(t[6]=a=>e.$emit("close"))})])):F("",!0)]),_:1})])}const gH=te(tH,[["render",_H]]),yH={name:"ModalDialogPlaylistSave",props:{show:Boolean},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,V.queue_save_playlist(this.playlist_name).then(()=>{this.$emit("close"),this.playlist_name=""}).catch(()=>{this.loading=!1}))}}},vH={key:0,class:"modal is-active"},bH={class:"modal-content fd-modal-card"},zH={class:"card"},wH={class:"card-content"},CH=["textContent"],kH={class:"field"},xH={class:"control has-icons-left"},SH=["placeholder","disabled"],EH={key:0,class:"card-footer"},$H={class:"card-footer-item has-text-dark"},TH=["textContent"],AH={key:1,class:"card-footer is-clipped"},OH=["textContent"],PH=["textContent"];function IH(e,t,n,r,o,s){const i=$("mdicon");return k(),A("div",null,[y(Rt,{name:"fade"},{default:S(()=>[n.show?(k(),A("div",vH,[c("div",{class:"modal-background",onClick:t[0]||(t[0]=a=>e.$emit("close"))}),c("div",bH,[c("div",zH,[c("div",wH,[c("p",{class:"title is-4",textContent:g(e.$t("dialog.playlist.save.title"))},null,8,CH),c("form",{class:"mb-5",onSubmit:t[2]||(t[2]=ot((...a)=>s.save&&s.save(...a),["prevent"]))},[c("div",kH,[c("p",xH,[yt(c("input",{ref:"playlist_name_field","onUpdate:modelValue":t[1]||(t[1]=a=>o.playlist_name=a),class:"input is-shadowless",type:"text",placeholder:e.$t("dialog.playlist.save.playlist-name"),disabled:o.loading},null,8,SH),[[un,o.playlist_name]]),y(i,{class:"icon is-left",name:"file-music",size:"16"})])])],32)]),o.loading?(k(),A("footer",EH,[c("a",$H,[y(i,{class:"icon",name:"web",size:"16"}),c("span",{class:"is-size-7",textContent:g(e.$t("dialog.playlist.save.saving"))},null,8,TH)])])):(k(),A("footer",AH,[c("a",{class:"card-footer-item has-text-danger",onClick:t[3]||(t[3]=a=>e.$emit("close"))},[y(i,{class:"icon",name:"cancel",size:"16"}),c("span",{class:"is-size-7",textContent:g(e.$t("dialog.playlist.save.cancel"))},null,8,OH)]),c("a",{class:"card-footer-item has-background-info has-text-white has-text-weight-bold",onClick:t[4]||(t[4]=(...a)=>s.save&&s.save(...a))},[y(i,{class:"icon",name:"content-save",size:"16"}),c("span",{class:"is-size-7",textContent:g(e.$t("dialog.playlist.save.save"))},null,8,PH)])]))])]),c("button",{class:"modal-close is-large","aria-label":"close",onClick:t[5]||(t[5]=a=>e.$emit("close"))})])):F("",!0)]),_:1})])}const RH=te(yH,[["render",IH]]);var D1={exports:{}};/**!
|
||
* Sortable 1.14.0
|
||
* @author RubaXa <trash@rubaxa.org>
|
||
* @author owenm <owen23355@gmail.com>
|
||
* @license MIT
|
||
*/function Gp(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter(function(o){return Object.getOwnPropertyDescriptor(e,o).enumerable})),n.push.apply(n,r)}return n}function ir(e){for(var t=1;t<arguments.length;t++){var n=arguments[t]!=null?arguments[t]:{};t%2?Gp(Object(n),!0).forEach(function(r){DH(e,r,n[r])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):Gp(Object(n)).forEach(function(r){Object.defineProperty(e,r,Object.getOwnPropertyDescriptor(n,r))})}return e}function Ka(e){"@babel/helpers - typeof";return typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?Ka=function(t){return typeof t}:Ka=function(t){return t&&typeof Symbol=="function"&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t},Ka(e)}function DH(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function Pn(){return Pn=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},Pn.apply(this,arguments)}function LH(e,t){if(e==null)return{};var n={},r=Object.keys(e),o,s;for(s=0;s<r.length;s++)o=r[s],!(t.indexOf(o)>=0)&&(n[o]=e[o]);return n}function NH(e,t){if(e==null)return{};var n=LH(e,t),r,o;if(Object.getOwnPropertySymbols){var s=Object.getOwnPropertySymbols(e);for(o=0;o<s.length;o++)r=s[o],!(t.indexOf(r)>=0)&&Object.prototype.propertyIsEnumerable.call(e,r)&&(n[r]=e[r])}return n}function MH(e){return FH(e)||VH(e)||HH(e)||UH()}function FH(e){if(Array.isArray(e))return Yu(e)}function VH(e){if(typeof Symbol<"u"&&e[Symbol.iterator]!=null||e["@@iterator"]!=null)return Array.from(e)}function HH(e,t){if(e){if(typeof e=="string")return Yu(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 Yu(e,t)}}function Yu(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 UH(){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 jH="1.14.0";function gr(e){if(typeof window<"u"&&window.navigator)return!!navigator.userAgent.match(e)}var zr=gr(/(?:Trident.*rv[ :]?11\.|msie|iemobile|Windows Phone)/i),Ii=gr(/Edge/i),Kp=gr(/firefox/i),Js=gr(/safari/i)&&!gr(/chrome/i)&&!gr(/android/i),L1=gr(/iP(ad|od|hone)/i),qH=gr(/chrome/i)&&gr(/android/i),N1={capture:!1,passive:!1};function Ge(e,t,n){e.addEventListener(t,n,!zr&&N1)}function qe(e,t,n){e.removeEventListener(t,n,!zr&&N1)}function wl(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 BH(e){return e.host&&e!==document&&e.host.nodeType?e.host:e.parentNode}function Vn(e,t,n,r){if(e){n=n||document;do{if(t!=null&&(t[0]===">"?e.parentNode===n&&wl(e,t):wl(e,t))||r&&e===n)return e;if(e===n)break}while(e=BH(e))}return null}var Zp=/\s+/g;function Ct(e,t,n){if(e&&t)if(e.classList)e.classList[n?"add":"remove"](t);else{var r=(" "+e.className+" ").replace(Zp," ").replace(" "+t+" "," ");e.className=(r+(n?" "+t:"")).replace(Zp," ")}}function we(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 _o(e,t){var n="";if(typeof e=="string")n=e;else do{var r=we(e,"transform");r&&r!=="none"&&(n=r+" "+n)}while(!t&&(e=e.parentNode));var o=window.DOMMatrix||window.WebKitCSSMatrix||window.CSSMatrix||window.MSCSSMatrix;return o&&new o(n)}function M1(e,t,n){if(e){var r=e.getElementsByTagName(t),o=0,s=r.length;if(n)for(;o<s;o++)n(r[o],o);return r}return[]}function or(){var e=document.scrollingElement;return e||document.documentElement}function bt(e,t,n,r,o){if(!(!e.getBoundingClientRect&&e!==window)){var s,i,a,l,u,m,d;if(e!==window&&e.parentNode&&e!==or()?(s=e.getBoundingClientRect(),i=s.top,a=s.left,l=s.bottom,u=s.right,m=s.height,d=s.width):(i=0,a=0,l=window.innerHeight,u=window.innerWidth,m=window.innerHeight,d=window.innerWidth),(t||n)&&e!==window&&(o=o||e.parentNode,!zr))do if(o&&o.getBoundingClientRect&&(we(o,"transform")!=="none"||n&&we(o,"position")!=="static")){var f=o.getBoundingClientRect();i-=f.top+parseInt(we(o,"border-top-width")),a-=f.left+parseInt(we(o,"border-left-width")),l=i+s.height,u=a+s.width;break}while(o=o.parentNode);if(r&&e!==window){var p=_o(o||e),h=p&&p.a,_=p&&p.d;p&&(i/=_,a/=h,d/=h,m/=_,l=i+m,u=a+d)}return{top:i,left:a,bottom:l,right:u,width:d,height:m}}}function Yp(e,t,n){for(var r=Hr(e,!0),o=bt(e)[t];r;){var s=bt(r)[n],i=void 0;if(n==="top"||n==="left"?i=o>=s:i=o<=s,!i)return r;if(r===or())break;r=Hr(r,!1)}return!1}function us(e,t,n,r){for(var o=0,s=0,i=e.children;s<i.length;){if(i[s].style.display!=="none"&&i[s]!==Oe.ghost&&(r||i[s]!==Oe.dragged)&&Vn(i[s],n.draggable,e,!1)){if(o===t)return i[s];o++}s++}return null}function zm(e,t){for(var n=e.lastElementChild;n&&(n===Oe.ghost||we(n,"display")==="none"||t&&!wl(n,t));)n=n.previousElementSibling;return n||null}function Et(e,t){var n=0;if(!e||!e.parentNode)return-1;for(;e=e.previousElementSibling;)e.nodeName.toUpperCase()!=="TEMPLATE"&&e!==Oe.clone&&(!t||wl(e,t))&&n++;return n}function Jp(e){var t=0,n=0,r=or();if(e)do{var o=_o(e),s=o.a,i=o.d;t+=e.scrollLeft*s,n+=e.scrollTop*i}while(e!==r&&(e=e.parentNode));return[t,n]}function WH(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 Hr(e,t){if(!e||!e.getBoundingClientRect)return or();var n=e,r=!1;do if(n.clientWidth<n.scrollWidth||n.clientHeight<n.scrollHeight){var o=we(n);if(n.clientWidth<n.scrollWidth&&(o.overflowX=="auto"||o.overflowX=="scroll")||n.clientHeight<n.scrollHeight&&(o.overflowY=="auto"||o.overflowY=="scroll")){if(!n.getBoundingClientRect||n===document.body)return or();if(r||t)return n;r=!0}}while(n=n.parentNode);return or()}function GH(e,t){if(e&&t)for(var n in t)t.hasOwnProperty(n)&&(e[n]=t[n]);return e}function Wc(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 Xs;function F1(e,t){return function(){if(!Xs){var n=arguments,r=this;n.length===1?e.call(r,n[0]):e.apply(r,n),Xs=setTimeout(function(){Xs=void 0},t)}}}function KH(){clearTimeout(Xs),Xs=void 0}function V1(e,t,n){e.scrollLeft+=t,e.scrollTop+=n}function wm(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 Xp(e,t){we(e,"position","absolute"),we(e,"top",t.top),we(e,"left",t.left),we(e,"width",t.width),we(e,"height",t.height)}function Gc(e){we(e,"position",""),we(e,"top",""),we(e,"left",""),we(e,"width",""),we(e,"height","")}var Wt="Sortable"+new Date().getTime();function ZH(){var e=[],t;return{captureAnimationState:function(){if(e=[],!!this.options.animation){var r=[].slice.call(this.el.children);r.forEach(function(o){if(!(we(o,"display")==="none"||o===Oe.ghost)){e.push({target:o,rect:bt(o)});var s=ir({},e[e.length-1].rect);if(o.thisAnimationDuration){var i=_o(o,!0);i&&(s.top-=i.f,s.left-=i.e)}o.fromRect=s}})}},addAnimationState:function(r){e.push(r)},removeAnimationState:function(r){e.splice(WH(e,{target:r}),1)},animateAll:function(r){var o=this;if(!this.options.animation){clearTimeout(t),typeof r=="function"&&r();return}var s=!1,i=0;e.forEach(function(a){var l=0,u=a.target,m=u.fromRect,d=bt(u),f=u.prevFromRect,p=u.prevToRect,h=a.rect,_=_o(u,!0);_&&(d.top-=_.f,d.left-=_.e),u.toRect=d,u.thisAnimationDuration&&Wc(f,d)&&!Wc(m,d)&&(h.top-d.top)/(h.left-d.left)===(m.top-d.top)/(m.left-d.left)&&(l=JH(h,f,p,o.options)),Wc(d,m)||(u.prevFromRect=m,u.prevToRect=d,l||(l=o.options.animation),o.animate(u,h,d,l)),l&&(s=!0,i=Math.max(i,l),clearTimeout(u.animationResetTimer),u.animationResetTimer=setTimeout(function(){u.animationTime=0,u.prevFromRect=null,u.fromRect=null,u.prevToRect=null,u.thisAnimationDuration=null},l),u.thisAnimationDuration=l)}),clearTimeout(t),s?t=setTimeout(function(){typeof r=="function"&&r()},i):typeof r=="function"&&r(),e=[]},animate:function(r,o,s,i){if(i){we(r,"transition",""),we(r,"transform","");var a=_o(this.el),l=a&&a.a,u=a&&a.d,m=(o.left-s.left)/(l||1),d=(o.top-s.top)/(u||1);r.animatingX=!!m,r.animatingY=!!d,we(r,"transform","translate3d("+m+"px,"+d+"px,0)"),this.forRepaintDummy=YH(r),we(r,"transition","transform "+i+"ms"+(this.options.easing?" "+this.options.easing:"")),we(r,"transform","translate3d(0,0,0)"),typeof r.animated=="number"&&clearTimeout(r.animated),r.animated=setTimeout(function(){we(r,"transition",""),we(r,"transform",""),r.animated=!1,r.animatingX=!1,r.animatingY=!1},i)}}}}function YH(e){return e.offsetWidth}function JH(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 Io=[],Kc={initializeByDefault:!0},Ri={mount:function(t){for(var n in Kc)Kc.hasOwnProperty(n)&&!(n in t)&&(t[n]=Kc[n]);Io.forEach(function(r){if(r.pluginName===t.pluginName)throw"Sortable: Cannot mount plugin ".concat(t.pluginName," more than once")}),Io.push(t)},pluginEvent:function(t,n,r){var o=this;this.eventCanceled=!1,r.cancel=function(){o.eventCanceled=!0};var s=t+"Global";Io.forEach(function(i){n[i.pluginName]&&(n[i.pluginName][s]&&n[i.pluginName][s](ir({sortable:n},r)),n.options[i.pluginName]&&n[i.pluginName][t]&&n[i.pluginName][t](ir({sortable:n},r)))})},initializePlugins:function(t,n,r,o){Io.forEach(function(a){var l=a.pluginName;if(!(!t.options[l]&&!a.initializeByDefault)){var u=new a(t,n,t.options);u.sortable=t,u.options=t.options,t[l]=u,Pn(r,u.defaults)}});for(var s in t.options)if(t.options.hasOwnProperty(s)){var i=this.modifyOption(t,s,t.options[s]);typeof i<"u"&&(t.options[s]=i)}},getEventProperties:function(t,n){var r={};return Io.forEach(function(o){typeof o.eventProperties=="function"&&Pn(r,o.eventProperties.call(n[o.pluginName],t))}),r},modifyOption:function(t,n,r){var o;return Io.forEach(function(s){t[s.pluginName]&&s.optionListeners&&typeof s.optionListeners[n]=="function"&&(o=s.optionListeners[n].call(t[s.pluginName],r))}),o}};function Ns(e){var t=e.sortable,n=e.rootEl,r=e.name,o=e.targetEl,s=e.cloneEl,i=e.toEl,a=e.fromEl,l=e.oldIndex,u=e.newIndex,m=e.oldDraggableIndex,d=e.newDraggableIndex,f=e.originalEvent,p=e.putSortable,h=e.extraEventProperties;if(t=t||n&&n[Wt],!!t){var _,b=t.options,C="on"+r.charAt(0).toUpperCase()+r.substr(1);window.CustomEvent&&!zr&&!Ii?_=new CustomEvent(r,{bubbles:!0,cancelable:!0}):(_=document.createEvent("Event"),_.initEvent(r,!0,!0)),_.to=i||n,_.from=a||n,_.item=o||n,_.clone=s,_.oldIndex=l,_.newIndex=u,_.oldDraggableIndex=m,_.newDraggableIndex=d,_.originalEvent=f,_.pullMode=p?p.lastPutMode:void 0;var w=ir(ir({},h),Ri.getEventProperties(r,t));for(var v in w)_[v]=w[v];n&&n.dispatchEvent(_),b[C]&&b[C].call(t,_)}}var XH=["evt"],tn=function(t,n){var r=arguments.length>2&&arguments[2]!==void 0?arguments[2]:{},o=r.evt,s=NH(r,XH);Ri.pluginEvent.bind(Oe)(t,n,ir({dragEl:ue,parentEl:kt,ghostEl:Fe,rootEl:vt,nextEl:so,lastDownEl:Za,cloneEl:xt,cloneHidden:Vr,dragStarted:Ms,putSortable:Ht,activeSortable:Oe.active,originalEvent:o,oldIndex:Uo,oldDraggableIndex:Qs,newIndex:fn,newDraggableIndex:Mr,hideGhostForTarget:q1,unhideGhostForTarget:B1,cloneNowHidden:function(){Vr=!0},cloneNowShown:function(){Vr=!1},dispatchSortableEvent:function(a){Yt({sortable:n,name:a,originalEvent:o})}},s))};function Yt(e){Ns(ir({putSortable:Ht,cloneEl:xt,targetEl:ue,rootEl:vt,oldIndex:Uo,oldDraggableIndex:Qs,newIndex:fn,newDraggableIndex:Mr},e))}var ue,kt,Fe,vt,so,Za,xt,Vr,Uo,fn,Qs,Mr,Pa,Ht,Fo=!1,Cl=!1,kl=[],ro,Mn,Zc,Yc,Qp,eh,Ms,Ro,ei,ti=!1,Ia=!1,Ya,jt,Jc=[],Ju=!1,xl=[],mc=typeof document<"u",Ra=L1,th=Ii||zr?"cssFloat":"float",QH=mc&&!qH&&!L1&&"draggable"in document.createElement("div"),H1=function(){if(mc){if(zr)return!1;var e=document.createElement("x");return e.style.cssText="pointer-events:auto",e.style.pointerEvents==="auto"}}(),U1=function(t,n){var r=we(t),o=parseInt(r.width)-parseInt(r.paddingLeft)-parseInt(r.paddingRight)-parseInt(r.borderLeftWidth)-parseInt(r.borderRightWidth),s=us(t,0,n),i=us(t,1,n),a=s&&we(s),l=i&&we(i),u=a&&parseInt(a.marginLeft)+parseInt(a.marginRight)+bt(s).width,m=l&&parseInt(l.marginLeft)+parseInt(l.marginRight)+bt(i).width;if(r.display==="flex")return r.flexDirection==="column"||r.flexDirection==="column-reverse"?"vertical":"horizontal";if(r.display==="grid")return r.gridTemplateColumns.split(" ").length<=1?"vertical":"horizontal";if(s&&a.float&&a.float!=="none"){var d=a.float==="left"?"left":"right";return i&&(l.clear==="both"||l.clear===d)?"vertical":"horizontal"}return s&&(a.display==="block"||a.display==="flex"||a.display==="table"||a.display==="grid"||u>=o&&r[th]==="none"||i&&r[th]==="none"&&u+m>o)?"vertical":"horizontal"},eU=function(t,n,r){var o=r?t.left:t.top,s=r?t.right:t.bottom,i=r?t.width:t.height,a=r?n.left:n.top,l=r?n.right:n.bottom,u=r?n.width:n.height;return o===a||s===l||o+i/2===a+u/2},tU=function(t,n){var r;return kl.some(function(o){var s=o[Wt].options.emptyInsertThreshold;if(!(!s||zm(o))){var i=bt(o),a=t>=i.left-s&&t<=i.right+s,l=n>=i.top-s&&n<=i.bottom+s;if(a&&l)return r=o}}),r},j1=function(t){function n(s,i){return function(a,l,u,m){var d=a.options.group.name&&l.options.group.name&&a.options.group.name===l.options.group.name;if(s==null&&(i||d))return!0;if(s==null||s===!1)return!1;if(i&&s==="clone")return s;if(typeof s=="function")return n(s(a,l,u,m),i)(a,l,u,m);var f=(i?a:l).options.group.name;return s===!0||typeof s=="string"&&s===f||s.join&&s.indexOf(f)>-1}}var r={},o=t.group;(!o||Ka(o)!="object")&&(o={name:o}),r.name=o.name,r.checkPull=n(o.pull,!0),r.checkPut=n(o.put),r.revertClone=o.revertClone,t.group=r},q1=function(){!H1&&Fe&&we(Fe,"display","none")},B1=function(){!H1&&Fe&&we(Fe,"display","")};mc&&document.addEventListener("click",function(e){if(Cl)return e.preventDefault(),e.stopPropagation&&e.stopPropagation(),e.stopImmediatePropagation&&e.stopImmediatePropagation(),Cl=!1,!1},!0);var oo=function(t){if(ue){t=t.touches?t.touches[0]:t;var n=tU(t.clientX,t.clientY);if(n){var r={};for(var o in t)t.hasOwnProperty(o)&&(r[o]=t[o]);r.target=r.rootEl=n,r.preventDefault=void 0,r.stopPropagation=void 0,n[Wt]._onDragOver(r)}}},nU=function(t){ue&&ue.parentNode[Wt]._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=Pn({},t),e[Wt]=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 U1(e,this.options)},ghostClass:"sortable-ghost",chosenClass:"sortable-chosen",dragClass:"sortable-drag",ignore:"a, img",filter:null,preventOnFilter:!0,animation:0,easing:null,setData:function(i,a){i.setData("Text",a.textContent)},dropBubble:!1,dragoverBubble:!1,dataIdAttr:"data-id",delay:0,delayOnTouchOnly:!1,touchStartThreshold:(Number.parseInt?Number:window).parseInt(window.devicePixelRatio,10)||1,forceFallback:!1,fallbackClass:"sortable-fallback",fallbackOnBody:!1,fallbackTolerance:0,fallbackOffset:{x:0,y:0},supportPointer:Oe.supportPointer!==!1&&"PointerEvent"in window&&!Js,emptyInsertThreshold:5};Ri.initializePlugins(this,e,n);for(var r in n)!(r in t)&&(t[r]=n[r]);j1(t);for(var o in this)o.charAt(0)==="_"&&typeof this[o]=="function"&&(this[o]=this[o].bind(this));this.nativeDraggable=t.forceFallback?!1:QH,this.nativeDraggable&&(this.options.touchStartThreshold=1),t.supportPointer?Ge(e,"pointerdown",this._onTapStart):(Ge(e,"mousedown",this._onTapStart),Ge(e,"touchstart",this._onTapStart)),this.nativeDraggable&&(Ge(e,"dragover",this),Ge(e,"dragenter",this)),kl.push(this.el),t.store&&t.store.get&&this.sort(t.store.get(this)||[]),Pn(this,ZH())}Oe.prototype={constructor:Oe,_isOutsideThisEl:function(t){!this.el.contains(t)&&t!==this.el&&(Ro=null)},_getDirection:function(t,n){return typeof this.options.direction=="function"?this.options.direction.call(this,t,n,ue):this.options.direction},_onTapStart:function(t){if(t.cancelable){var n=this,r=this.el,o=this.options,s=o.preventOnFilter,i=t.type,a=t.touches&&t.touches[0]||t.pointerType&&t.pointerType==="touch"&&t,l=(a||t).target,u=t.target.shadowRoot&&(t.path&&t.path[0]||t.composedPath&&t.composedPath()[0])||l,m=o.filter;if(uU(r),!ue&&!(/mousedown|pointerdown/.test(i)&&t.button!==0||o.disabled)&&!u.isContentEditable&&!(!this.nativeDraggable&&Js&&l&&l.tagName.toUpperCase()==="SELECT")&&(l=Vn(l,o.draggable,r,!1),!(l&&l.animated)&&Za!==l)){if(Uo=Et(l),Qs=Et(l,o.draggable),typeof m=="function"){if(m.call(this,t,l,this)){Yt({sortable:n,rootEl:u,name:"filter",targetEl:l,toEl:r,fromEl:r}),tn("filter",n,{evt:t}),s&&t.cancelable&&t.preventDefault();return}}else if(m&&(m=m.split(",").some(function(d){if(d=Vn(u,d.trim(),r,!1),d)return Yt({sortable:n,rootEl:d,name:"filter",targetEl:l,fromEl:r,toEl:r}),tn("filter",n,{evt:t}),!0}),m)){s&&t.cancelable&&t.preventDefault();return}o.handle&&!Vn(u,o.handle,r,!1)||this._prepareDragStart(t,a,l)}}},_prepareDragStart:function(t,n,r){var o=this,s=o.el,i=o.options,a=s.ownerDocument,l;if(r&&!ue&&r.parentNode===s){var u=bt(r);if(vt=s,ue=r,kt=ue.parentNode,so=ue.nextSibling,Za=r,Pa=i.group,Oe.dragged=ue,ro={target:ue,clientX:(n||t).clientX,clientY:(n||t).clientY},Qp=ro.clientX-u.left,eh=ro.clientY-u.top,this._lastX=(n||t).clientX,this._lastY=(n||t).clientY,ue.style["will-change"]="all",l=function(){if(tn("delayEnded",o,{evt:t}),Oe.eventCanceled){o._onDrop();return}o._disableDelayedDragEvents(),!Kp&&o.nativeDraggable&&(ue.draggable=!0),o._triggerDragStart(t,n),Yt({sortable:o,name:"choose",originalEvent:t}),Ct(ue,i.chosenClass,!0)},i.ignore.split(",").forEach(function(m){M1(ue,m.trim(),Xc)}),Ge(a,"dragover",oo),Ge(a,"mousemove",oo),Ge(a,"touchmove",oo),Ge(a,"mouseup",o._onDrop),Ge(a,"touchend",o._onDrop),Ge(a,"touchcancel",o._onDrop),Kp&&this.nativeDraggable&&(this.options.touchStartThreshold=4,ue.draggable=!0),tn("delayStart",this,{evt:t}),i.delay&&(!i.delayOnTouchOnly||n)&&(!this.nativeDraggable||!(Ii||zr))){if(Oe.eventCanceled){this._onDrop();return}Ge(a,"mouseup",o._disableDelayedDrag),Ge(a,"touchend",o._disableDelayedDrag),Ge(a,"touchcancel",o._disableDelayedDrag),Ge(a,"mousemove",o._delayedDragTouchMoveHandler),Ge(a,"touchmove",o._delayedDragTouchMoveHandler),i.supportPointer&&Ge(a,"pointermove",o._delayedDragTouchMoveHandler),o._dragStartTimer=setTimeout(l,i.delay)}else l()}},_delayedDragTouchMoveHandler:function(t){var n=t.touches?t.touches[0]:t;Math.max(Math.abs(n.clientX-this._lastX),Math.abs(n.clientY-this._lastY))>=Math.floor(this.options.touchStartThreshold/(this.nativeDraggable&&window.devicePixelRatio||1))&&this._disableDelayedDrag()},_disableDelayedDrag:function(){ue&&Xc(ue),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?Ge(document,"pointermove",this._onTouchMove):n?Ge(document,"touchmove",this._onTouchMove):Ge(document,"mousemove",this._onTouchMove):(Ge(ue,"dragend",this),Ge(vt,"dragstart",this._onDragStart));try{document.selection?Ja(function(){document.selection.empty()}):window.getSelection().removeAllRanges()}catch{}},_dragStarted:function(t,n){if(Fo=!1,vt&&ue){tn("dragStarted",this,{evt:n}),this.nativeDraggable&&Ge(document,"dragover",nU);var r=this.options;!t&&Ct(ue,r.dragClass,!1),Ct(ue,r.ghostClass,!0),Oe.active=this,t&&this._appendGhost(),Yt({sortable:this,name:"start",originalEvent:n})}else this._nulling()},_emulateDragOver:function(){if(Mn){this._lastX=Mn.clientX,this._lastY=Mn.clientY,q1();for(var t=document.elementFromPoint(Mn.clientX,Mn.clientY),n=t;t&&t.shadowRoot&&(t=t.shadowRoot.elementFromPoint(Mn.clientX,Mn.clientY),t!==n);)n=t;if(ue.parentNode[Wt]._isOutsideThisEl(t),n)do{if(n[Wt]){var r=void 0;if(r=n[Wt]._onDragOver({clientX:Mn.clientX,clientY:Mn.clientY,target:t,rootEl:n}),r&&!this.options.dragoverBubble)break}t=n}while(n=n.parentNode);B1()}},_onTouchMove:function(t){if(ro){var n=this.options,r=n.fallbackTolerance,o=n.fallbackOffset,s=t.touches?t.touches[0]:t,i=Fe&&_o(Fe,!0),a=Fe&&i&&i.a,l=Fe&&i&&i.d,u=Ra&&jt&&Jp(jt),m=(s.clientX-ro.clientX+o.x)/(a||1)+(u?u[0]-Jc[0]:0)/(a||1),d=(s.clientY-ro.clientY+o.y)/(l||1)+(u?u[1]-Jc[1]:0)/(l||1);if(!Oe.active&&!Fo){if(r&&Math.max(Math.abs(s.clientX-this._lastX),Math.abs(s.clientY-this._lastY))<r)return;this._onDragStart(t,!0)}if(Fe){i?(i.e+=m-(Zc||0),i.f+=d-(Yc||0)):i={a:1,b:0,c:0,d:1,e:m,f:d};var f="matrix(".concat(i.a,",").concat(i.b,",").concat(i.c,",").concat(i.d,",").concat(i.e,",").concat(i.f,")");we(Fe,"webkitTransform",f),we(Fe,"mozTransform",f),we(Fe,"msTransform",f),we(Fe,"transform",f),Zc=m,Yc=d,Mn=s}t.cancelable&&t.preventDefault()}},_appendGhost:function(){if(!Fe){var t=this.options.fallbackOnBody?document.body:vt,n=bt(ue,!0,Ra,!0,t),r=this.options;if(Ra){for(jt=t;we(jt,"position")==="static"&&we(jt,"transform")==="none"&&jt!==document;)jt=jt.parentNode;jt!==document.body&&jt!==document.documentElement?(jt===document&&(jt=or()),n.top+=jt.scrollTop,n.left+=jt.scrollLeft):jt=or(),Jc=Jp(jt)}Fe=ue.cloneNode(!0),Ct(Fe,r.ghostClass,!1),Ct(Fe,r.fallbackClass,!0),Ct(Fe,r.dragClass,!0),we(Fe,"transition",""),we(Fe,"transform",""),we(Fe,"box-sizing","border-box"),we(Fe,"margin",0),we(Fe,"top",n.top),we(Fe,"left",n.left),we(Fe,"width",n.width),we(Fe,"height",n.height),we(Fe,"opacity","0.8"),we(Fe,"position",Ra?"absolute":"fixed"),we(Fe,"zIndex","100000"),we(Fe,"pointerEvents","none"),Oe.ghost=Fe,t.appendChild(Fe),we(Fe,"transform-origin",Qp/parseInt(Fe.style.width)*100+"% "+eh/parseInt(Fe.style.height)*100+"%")}},_onDragStart:function(t,n){var r=this,o=t.dataTransfer,s=r.options;if(tn("dragStart",this,{evt:t}),Oe.eventCanceled){this._onDrop();return}tn("setupClone",this),Oe.eventCanceled||(xt=wm(ue),xt.draggable=!1,xt.style["will-change"]="",this._hideClone(),Ct(xt,this.options.chosenClass,!1),Oe.clone=xt),r.cloneId=Ja(function(){tn("clone",r),!Oe.eventCanceled&&(r.options.removeCloneOnHide||vt.insertBefore(xt,ue),r._hideClone(),Yt({sortable:r,name:"clone"}))}),!n&&Ct(ue,s.dragClass,!0),n?(Cl=!0,r._loopId=setInterval(r._emulateDragOver,50)):(qe(document,"mouseup",r._onDrop),qe(document,"touchend",r._onDrop),qe(document,"touchcancel",r._onDrop),o&&(o.effectAllowed="move",s.setData&&s.setData.call(r,o,ue)),Ge(document,"drop",r),we(ue,"transform","translateZ(0)")),Fo=!0,r._dragStartId=Ja(r._dragStarted.bind(r,n,t)),Ge(document,"selectstart",r),Ms=!0,Js&&we(document.body,"user-select","none")},_onDragOver:function(t){var n=this.el,r=t.target,o,s,i,a=this.options,l=a.group,u=Oe.active,m=Pa===l,d=a.sort,f=Ht||u,p,h=this,_=!1;if(Ju)return;function b(se,je){tn(se,h,ir({evt:t,isOwner:m,axis:p?"vertical":"horizontal",revert:i,dragRect:o,targetRect:s,canSort:d,fromSortable:f,target:r,completed:w,onMove:function(We,Ue){return Da(vt,n,ue,o,We,bt(We),t,Ue)},changed:v},je))}function C(){b("dragOverAnimationCapture"),h.captureAnimationState(),h!==f&&f.captureAnimationState()}function w(se){return b("dragOverCompleted",{insertion:se}),se&&(m?u._hideClone():u._showClone(h),h!==f&&(Ct(ue,Ht?Ht.options.ghostClass:u.options.ghostClass,!1),Ct(ue,a.ghostClass,!0)),Ht!==h&&h!==Oe.active?Ht=h:h===Oe.active&&Ht&&(Ht=null),f===h&&(h._ignoreWhileAnimating=r),h.animateAll(function(){b("dragOverAnimationComplete"),h._ignoreWhileAnimating=null}),h!==f&&(f.animateAll(),f._ignoreWhileAnimating=null)),(r===ue&&!ue.animated||r===n&&!r.animated)&&(Ro=null),!a.dragoverBubble&&!t.rootEl&&r!==document&&(ue.parentNode[Wt]._isOutsideThisEl(t.target),!se&&oo(t)),!a.dragoverBubble&&t.stopPropagation&&t.stopPropagation(),_=!0}function v(){fn=Et(ue),Mr=Et(ue,a.draggable),Yt({sortable:h,name:"change",toEl:n,newIndex:fn,newDraggableIndex:Mr,originalEvent:t})}if(t.preventDefault!==void 0&&t.cancelable&&t.preventDefault(),r=Vn(r,a.draggable,n,!0),b("dragOver"),Oe.eventCanceled)return _;if(ue.contains(t.target)||r.animated&&r.animatingX&&r.animatingY||h._ignoreWhileAnimating===r)return w(!1);if(Cl=!1,u&&!a.disabled&&(m?d||(i=kt!==vt):Ht===this||(this.lastPutMode=Pa.checkPull(this,u,ue,t))&&l.checkPut(this,u,ue,t))){if(p=this._getDirection(t,r)==="vertical",o=bt(ue),b("dragOverValid"),Oe.eventCanceled)return _;if(i)return kt=vt,C(),this._hideClone(),b("revert"),Oe.eventCanceled||(so?vt.insertBefore(ue,so):vt.appendChild(ue)),w(!0);var z=zm(n,a.draggable);if(!z||iU(t,p,this)&&!z.animated){if(z===ue)return w(!1);if(z&&n===t.target&&(r=z),r&&(s=bt(r)),Da(vt,n,ue,o,r,s,t,!!r)!==!1)return C(),n.appendChild(ue),kt=n,v(),w(!0)}else if(z&&sU(t,p,this)){var E=us(n,0,a,!0);if(E===ue)return w(!1);if(r=E,s=bt(r),Da(vt,n,ue,o,r,s,t,!1)!==!1)return C(),n.insertBefore(ue,E),kt=n,v(),w(!0)}else if(r.parentNode===n){s=bt(r);var x=0,M,P=ue.parentNode!==n,I=!eU(ue.animated&&ue.toRect||o,r.animated&&r.toRect||s,p),N=p?"top":"left",Z=Yp(r,"top","top")||Yp(ue,"top","top"),j=Z?Z.scrollTop:void 0;Ro!==r&&(M=s[N],ti=!1,Ia=!I&&a.invertSwap||P),x=aU(t,r,s,p,I?1:a.swapThreshold,a.invertedSwapThreshold==null?a.swapThreshold:a.invertedSwapThreshold,Ia,Ro===r);var B;if(x!==0){var X=Et(ue);do X-=x,B=kt.children[X];while(B&&(we(B,"display")==="none"||B===Fe))}if(x===0||B===r)return w(!1);Ro=r,ei=x;var pe=r.nextElementSibling,G=!1;G=x===1;var re=Da(vt,n,ue,o,r,s,t,G);if(re!==!1)return(re===1||re===-1)&&(G=re===1),Ju=!0,setTimeout(oU,30),C(),G&&!pe?n.appendChild(ue):r.parentNode.insertBefore(ue,G?pe:r),Z&&V1(Z,0,j-Z.scrollTop),kt=ue.parentNode,M!==void 0&&!Ia&&(Ya=Math.abs(M-bt(r)[N])),v(),w(!0)}if(n.contains(ue))return w(!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",oo),qe(document,"mousemove",oo),qe(document,"touchmove",oo)},_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(fn=Et(ue),Mr=Et(ue,r.draggable),tn("drop",this,{evt:t}),kt=ue&&ue.parentNode,fn=Et(ue),Mr=Et(ue,r.draggable),Oe.eventCanceled){this._nulling();return}Fo=!1,Ia=!1,ti=!1,clearInterval(this._loopId),clearTimeout(this._dragStartTimer),Xu(this.cloneId),Xu(this._dragStartId),this.nativeDraggable&&(qe(document,"drop",this),qe(n,"dragstart",this._onDragStart)),this._offMoveEvents(),this._offUpEvents(),Js&&we(document.body,"user-select",""),we(ue,"transform",""),t&&(Ms&&(t.cancelable&&t.preventDefault(),!r.dropBubble&&t.stopPropagation()),Fe&&Fe.parentNode&&Fe.parentNode.removeChild(Fe),(vt===kt||Ht&&Ht.lastPutMode!=="clone")&&xt&&xt.parentNode&&xt.parentNode.removeChild(xt),ue&&(this.nativeDraggable&&qe(ue,"dragend",this),Xc(ue),ue.style["will-change"]="",Ms&&!Fo&&Ct(ue,Ht?Ht.options.ghostClass:this.options.ghostClass,!1),Ct(ue,this.options.chosenClass,!1),Yt({sortable:this,name:"unchoose",toEl:kt,newIndex:null,newDraggableIndex:null,originalEvent:t}),vt!==kt?(fn>=0&&(Yt({rootEl:kt,name:"add",toEl:kt,fromEl:vt,originalEvent:t}),Yt({sortable:this,name:"remove",toEl:kt,originalEvent:t}),Yt({rootEl:kt,name:"sort",toEl:kt,fromEl:vt,originalEvent:t}),Yt({sortable:this,name:"sort",toEl:kt,originalEvent:t})),Ht&&Ht.save()):fn!==Uo&&fn>=0&&(Yt({sortable:this,name:"update",toEl:kt,originalEvent:t}),Yt({sortable:this,name:"sort",toEl:kt,originalEvent:t})),Oe.active&&((fn==null||fn===-1)&&(fn=Uo,Mr=Qs),Yt({sortable:this,name:"end",toEl:kt,originalEvent:t}),this.save()))),this._nulling()},_nulling:function(){tn("nulling",this),vt=ue=kt=Fe=so=xt=Za=Vr=ro=Mn=Ms=fn=Mr=Uo=Qs=Ro=ei=Ht=Pa=Oe.dragged=Oe.ghost=Oe.clone=Oe.active=null,xl.forEach(function(t){t.checked=!0}),xl.length=Zc=Yc=0},handleEvent:function(t){switch(t.type){case"drop":case"dragend":this._onDrop(t);break;case"dragenter":case"dragover":ue&&(this._onDragOver(t),rU(t));break;case"selectstart":t.preventDefault();break}},toArray:function(){for(var t=[],n,r=this.el.children,o=0,s=r.length,i=this.options;o<s;o++)n=r[o],Vn(n,i.draggable,this.el,!1)&&t.push(n.getAttribute(i.dataIdAttr)||cU(n));return t},sort:function(t,n){var r={},o=this.el;this.toArray().forEach(function(s,i){var a=o.children[i];Vn(a,this.options.draggable,o,!1)&&(r[s]=a)},this),n&&this.captureAnimationState(),t.forEach(function(s){r[s]&&(o.removeChild(r[s]),o.appendChild(r[s]))}),n&&this.animateAll()},save:function(){var t=this.options.store;t&&t.set&&t.set(this)},closest:function(t,n){return Vn(t,n||this.options.draggable,this.el,!1)},option:function(t,n){var r=this.options;if(n===void 0)return r[t];var o=Ri.modifyOption(this,t,n);typeof o<"u"?r[t]=o:r[t]=n,t==="group"&&j1(r)},destroy:function(){tn("destroy",this);var t=this.el;t[Wt]=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(),kl.splice(kl.indexOf(this.el),1),this.el=t=null},_hideClone:function(){if(!Vr){if(tn("hideClone",this),Oe.eventCanceled)return;we(xt,"display","none"),this.options.removeCloneOnHide&&xt.parentNode&&xt.parentNode.removeChild(xt),Vr=!0}},_showClone:function(t){if(t.lastPutMode!=="clone"){this._hideClone();return}if(Vr){if(tn("showClone",this),Oe.eventCanceled)return;ue.parentNode==vt&&!this.options.group.revertClone?vt.insertBefore(xt,ue):so?vt.insertBefore(xt,so):vt.appendChild(xt),this.options.group.revertClone&&this.animate(ue,xt),we(xt,"display",""),Vr=!1}}};function rU(e){e.dataTransfer&&(e.dataTransfer.dropEffect="move"),e.cancelable&&e.preventDefault()}function Da(e,t,n,r,o,s,i,a){var l,u=e[Wt],m=u.options.onMove,d;return window.CustomEvent&&!zr&&!Ii?l=new CustomEvent("move",{bubbles:!0,cancelable:!0}):(l=document.createEvent("Event"),l.initEvent("move",!0,!0)),l.to=t,l.from=e,l.dragged=n,l.draggedRect=r,l.related=o||t,l.relatedRect=s||bt(t),l.willInsertAfter=a,l.originalEvent=i,e.dispatchEvent(l),m&&(d=m.call(u,l,i)),d}function Xc(e){e.draggable=!1}function oU(){Ju=!1}function sU(e,t,n){var r=bt(us(n.el,0,n.options,!0)),o=10;return t?e.clientX<r.left-o||e.clientY<r.top&&e.clientX<r.right:e.clientY<r.top-o||e.clientY<r.bottom&&e.clientX<r.left}function iU(e,t,n){var r=bt(zm(n.el,n.options.draggable)),o=10;return t?e.clientX>r.right+o||e.clientX<=r.right&&e.clientY>r.bottom&&e.clientX>=r.left:e.clientX>r.right&&e.clientY>r.top||e.clientX<=r.right&&e.clientY>r.bottom+o}function aU(e,t,n,r,o,s,i,a){var l=r?e.clientY:e.clientX,u=r?n.height:n.width,m=r?n.top:n.left,d=r?n.bottom:n.right,f=!1;if(!i){if(a&&Ya<u*o){if(!ti&&(ei===1?l>m+u*s/2:l<d-u*s/2)&&(ti=!0),ti)f=!0;else if(ei===1?l<m+Ya:l>d-Ya)return-ei}else if(l>m+u*(1-o)/2&&l<d-u*(1-o)/2)return lU(t)}return f=f||i,f&&(l<m+u*s/2||l>d-u*s/2)?l>m+u/2?1:-1:0}function lU(e){return Et(ue)<Et(e)?1:-1}function cU(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 uU(e){xl.length=0;for(var t=e.getElementsByTagName("input"),n=t.length;n--;){var r=t[n];r.checked&&xl.push(r)}}function Ja(e){return setTimeout(e,0)}function Xu(e){return clearTimeout(e)}mc&&Ge(document,"touchmove",function(e){(Oe.active||Fo)&&e.cancelable&&e.preventDefault()});Oe.utils={on:Ge,off:qe,css:we,find:M1,is:function(t,n){return!!Vn(t,n,t,!1)},extend:GH,throttle:F1,closest:Vn,toggleClass:Ct,clone:wm,index:Et,nextTick:Ja,cancelNextTick:Xu,detectDirection:U1,getChild:us};Oe.get=function(e){return e[Wt]};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=ir(ir({},Oe.utils),r.utils)),Ri.mount(r)})};Oe.create=function(e,t){return new Oe(e,t)};Oe.version=jH;var Ot=[],Fs,Qu,ed=!1,Qc,eu,Sl,Vs;function dU(){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?Ge(document,"dragover",this._handleAutoScroll):this.options.supportPointer?Ge(document,"pointermove",this._handleFallbackAutoScroll):r.touches?Ge(document,"touchmove",this._handleFallbackAutoScroll):Ge(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(),Xa(),KH()},nulling:function(){Sl=Qu=Fs=ed=Vs=Qc=eu=null,Ot.length=0},_handleFallbackAutoScroll:function(n){this._handleAutoScroll(n,!0)},_handleAutoScroll:function(n,r){var o=this,s=(n.touches?n.touches[0]:n).clientX,i=(n.touches?n.touches[0]:n).clientY,a=document.elementFromPoint(s,i);if(Sl=n,r||this.options.forceAutoScrollFallback||Ii||zr||Js){tu(n,this.options,a,r);var l=Hr(a,!0);ed&&(!Vs||s!==Qc||i!==eu)&&(Vs&&nh(),Vs=setInterval(function(){var u=Hr(document.elementFromPoint(s,i),!0);u!==l&&(l=u,Xa()),tu(n,o.options,u,r)},10),Qc=s,eu=i)}else{if(!this.options.bubbleScroll||Hr(a,!0)===or()){Xa();return}tu(n,this.options,Hr(a,!1),!1)}}},Pn(e,{pluginName:"scroll",initializeByDefault:!0})}function Xa(){Ot.forEach(function(e){clearInterval(e.pid)}),Ot=[]}function nh(){clearInterval(Vs)}var tu=F1(function(e,t,n,r){if(t.scroll){var o=(e.touches?e.touches[0]:e).clientX,s=(e.touches?e.touches[0]:e).clientY,i=t.scrollSensitivity,a=t.scrollSpeed,l=or(),u=!1,m;Qu!==n&&(Qu=n,Xa(),Fs=t.scroll,m=t.scrollFn,Fs===!0&&(Fs=Hr(n,!0)));var d=0,f=Fs;do{var p=f,h=bt(p),_=h.top,b=h.bottom,C=h.left,w=h.right,v=h.width,z=h.height,E=void 0,x=void 0,M=p.scrollWidth,P=p.scrollHeight,I=we(p),N=p.scrollLeft,Z=p.scrollTop;p===l?(E=v<M&&(I.overflowX==="auto"||I.overflowX==="scroll"||I.overflowX==="visible"),x=z<P&&(I.overflowY==="auto"||I.overflowY==="scroll"||I.overflowY==="visible")):(E=v<M&&(I.overflowX==="auto"||I.overflowX==="scroll"),x=z<P&&(I.overflowY==="auto"||I.overflowY==="scroll"));var j=E&&(Math.abs(w-o)<=i&&N+v<M)-(Math.abs(C-o)<=i&&!!N),B=x&&(Math.abs(b-s)<=i&&Z+z<P)-(Math.abs(_-s)<=i&&!!Z);if(!Ot[d])for(var X=0;X<=d;X++)Ot[X]||(Ot[X]={});(Ot[d].vx!=j||Ot[d].vy!=B||Ot[d].el!==p)&&(Ot[d].el=p,Ot[d].vx=j,Ot[d].vy=B,clearInterval(Ot[d].pid),(j!=0||B!=0)&&(u=!0,Ot[d].pid=setInterval((function(){r&&this.layer===0&&Oe.active._onTouchMove(Sl);var pe=Ot[this.layer].vy?Ot[this.layer].vy*a:0,G=Ot[this.layer].vx?Ot[this.layer].vx*a:0;typeof m=="function"&&m.call(Oe.dragged.parentNode[Wt],G,pe,e,Sl,Ot[this.layer].el)!=="continue"||V1(Ot[this.layer].el,G,pe)}).bind({layer:d}),24))),d++}while(t.bubbleScroll&&f!==l&&(f=Hr(f,!1)));ed=u}},30),W1=function(t){var n=t.originalEvent,r=t.putSortable,o=t.dragEl,s=t.activeSortable,i=t.dispatchSortableEvent,a=t.hideGhostForTarget,l=t.unhideGhostForTarget;if(n){var u=r||s;a();var m=n.changedTouches&&n.changedTouches.length?n.changedTouches[0]:n,d=document.elementFromPoint(m.clientX,m.clientY);l(),u&&!u.el.contains(d)&&(i("spill"),this.onSpill({dragEl:o,putSortable:r}))}};function Cm(){}Cm.prototype={startIndex:null,dragStart:function(t){var n=t.oldDraggableIndex;this.startIndex=n},onSpill:function(t){var n=t.dragEl,r=t.putSortable;this.sortable.captureAnimationState(),r&&r.captureAnimationState();var o=us(this.sortable.el,this.startIndex,this.options);o?this.sortable.el.insertBefore(n,o):this.sortable.el.appendChild(n),this.sortable.animateAll(),r&&r.animateAll()},drop:W1};Pn(Cm,{pluginName:"revertOnSpill"});function km(){}km.prototype={onSpill:function(t){var n=t.dragEl,r=t.putSortable,o=r||this.sortable;o.captureAnimationState(),n.parentNode&&n.parentNode.removeChild(n),o.animateAll()},drop:W1};Pn(km,{pluginName:"removeOnSpill"});var kn;function mU(){function e(){this.defaults={swapClass:"sortable-swap-highlight"}}return e.prototype={dragStart:function(n){var r=n.dragEl;kn=r},dragOverValid:function(n){var r=n.completed,o=n.target,s=n.onMove,i=n.activeSortable,a=n.changed,l=n.cancel;if(i.options.swap){var u=this.sortable.el,m=this.options;if(o&&o!==u){var d=kn;s(o)!==!1?(Ct(o,m.swapClass,!0),kn=o):kn=null,d&&d!==kn&&Ct(d,m.swapClass,!1)}a(),r(!0),l()}},drop:function(n){var r=n.activeSortable,o=n.putSortable,s=n.dragEl,i=o||this.sortable,a=this.options;kn&&Ct(kn,a.swapClass,!1),kn&&(a.swap||o&&o.options.swap)&&s!==kn&&(i.captureAnimationState(),i!==r&&r.captureAnimationState(),fU(s,kn),i.animateAll(),i!==r&&r.animateAll())},nulling:function(){kn=null}},Pn(e,{pluginName:"swap",eventProperties:function(){return{swapItem:kn}}})}function fU(e,t){var n=e.parentNode,r=t.parentNode,o,s;!n||!r||n.isEqualNode(t)||r.isEqualNode(e)||(o=Et(e),s=Et(t),n.isEqualNode(r)&&o<s&&s++,n.insertBefore(t,n.children[o]),r.insertBefore(e,r.children[s]))}var Le=[],mn=[],Ts,Fn,As=!1,nn=!1,Do=!1,_t,Os,La;function pU(){function e(t){for(var n in this)n.charAt(0)==="_"&&typeof this[n]=="function"&&(this[n]=this[n].bind(this));t.options.supportPointer?Ge(document,"pointerup",this._deselectMultiDrag):(Ge(document,"mouseup",this._deselectMultiDrag),Ge(document,"touchend",this._deselectMultiDrag)),Ge(document,"keydown",this._checkKeyDown),Ge(document,"keyup",this._checkKeyUp),this.defaults={selectedClass:"sortable-selected",multiDragKey:null,setData:function(o,s){var i="";Le.length&&Fn===t?Le.forEach(function(a,l){i+=(l?", ":"")+a.textContent}):i=s.textContent,o.setData("Text",i)}}}return e.prototype={multiDragKeyDown:!1,isMultiDrag:!1,delayStartGlobal:function(n){var r=n.dragEl;_t=r},delayEnded:function(){this.isMultiDrag=~Le.indexOf(_t)},setupClone:function(n){var r=n.sortable,o=n.cancel;if(this.isMultiDrag){for(var s=0;s<Le.length;s++)mn.push(wm(Le[s])),mn[s].sortableIndex=Le[s].sortableIndex,mn[s].draggable=!1,mn[s].style["will-change"]="",Ct(mn[s],this.options.selectedClass,!1),Le[s]===_t&&Ct(mn[s],this.options.chosenClass,!1);r._hideClone(),o()}},clone:function(n){var r=n.sortable,o=n.rootEl,s=n.dispatchSortableEvent,i=n.cancel;this.isMultiDrag&&(this.options.removeCloneOnHide||Le.length&&Fn===r&&(rh(!0,o),s("clone"),i()))},showClone:function(n){var r=n.cloneNowShown,o=n.rootEl,s=n.cancel;this.isMultiDrag&&(rh(!1,o),mn.forEach(function(i){we(i,"display","")}),r(),La=!1,s())},hideClone:function(n){var r=this;n.sortable;var o=n.cloneNowHidden,s=n.cancel;this.isMultiDrag&&(mn.forEach(function(i){we(i,"display","none"),r.options.removeCloneOnHide&&i.parentNode&&i.parentNode.removeChild(i)}),o(),La=!0,s())},dragStartGlobal:function(n){n.sortable,!this.isMultiDrag&&Fn&&Fn.multiDrag._deselectMultiDrag(),Le.forEach(function(r){r.sortableIndex=Et(r)}),Le=Le.sort(function(r,o){return r.sortableIndex-o.sortableIndex}),Do=!0},dragStarted:function(n){var r=this,o=n.sortable;if(this.isMultiDrag){if(this.options.sort&&(o.captureAnimationState(),this.options.animation)){Le.forEach(function(i){i!==_t&&we(i,"position","absolute")});var s=bt(_t,!1,!0,!0);Le.forEach(function(i){i!==_t&&Xp(i,s)}),nn=!0,As=!0}o.animateAll(function(){nn=!1,As=!1,r.options.animation&&Le.forEach(function(i){Gc(i)}),r.options.sort&&Na()})}},dragOver:function(n){var r=n.target,o=n.completed,s=n.cancel;nn&&~Le.indexOf(r)&&(o(!1),s())},revert:function(n){var r=n.fromSortable,o=n.rootEl,s=n.sortable,i=n.dragRect;Le.length>1&&(Le.forEach(function(a){s.addAnimationState({target:a,rect:nn?bt(a):i}),Gc(a),a.fromRect=i,r.removeAnimationState(a)}),nn=!1,hU(!this.options.removeCloneOnHide,o))},dragOverCompleted:function(n){var r=n.sortable,o=n.isOwner,s=n.insertion,i=n.activeSortable,a=n.parentEl,l=n.putSortable,u=this.options;if(s){if(o&&i._hideClone(),As=!1,u.animation&&Le.length>1&&(nn||!o&&!i.options.sort&&!l)){var m=bt(_t,!1,!0,!0);Le.forEach(function(f){f!==_t&&(Xp(f,m),a.appendChild(f))}),nn=!0}if(!o)if(nn||Na(),Le.length>1){var d=La;i._showClone(r),i.options.animation&&!La&&d&&mn.forEach(function(f){i.addAnimationState({target:f,rect:Os}),f.fromRect=Os,f.thisAnimationDuration=null})}else i._showClone(r)}},dragOverAnimationCapture:function(n){var r=n.dragRect,o=n.isOwner,s=n.activeSortable;if(Le.forEach(function(a){a.thisAnimationDuration=null}),s.options.animation&&!o&&s.multiDrag.isMultiDrag){Os=Pn({},r);var i=_o(_t,!0);Os.top-=i.f,Os.left-=i.e}},dragOverAnimationComplete:function(){nn&&(nn=!1,Na())},drop:function(n){var r=n.originalEvent,o=n.rootEl,s=n.parentEl,i=n.sortable,a=n.dispatchSortableEvent,l=n.oldIndex,u=n.putSortable,m=u||this.sortable;if(r){var d=this.options,f=s.children;if(!Do)if(d.multiDragKey&&!this.multiDragKeyDown&&this._deselectMultiDrag(),Ct(_t,d.selectedClass,!~Le.indexOf(_t)),~Le.indexOf(_t))Le.splice(Le.indexOf(_t),1),Ts=null,Ns({sortable:i,rootEl:o,name:"deselect",targetEl:_t,originalEvt:r});else{if(Le.push(_t),Ns({sortable:i,rootEl:o,name:"select",targetEl:_t,originalEvt:r}),r.shiftKey&&Ts&&i.el.contains(Ts)){var p=Et(Ts),h=Et(_t);if(~p&&~h&&p!==h){var _,b;for(h>p?(b=p,_=h):(b=h,_=p+1);b<_;b++)~Le.indexOf(f[b])||(Ct(f[b],d.selectedClass,!0),Le.push(f[b]),Ns({sortable:i,rootEl:o,name:"select",targetEl:f[b],originalEvt:r}))}}else Ts=_t;Fn=m}if(Do&&this.isMultiDrag){if(nn=!1,(s[Wt].options.sort||s!==o)&&Le.length>1){var C=bt(_t),w=Et(_t,":not(."+this.options.selectedClass+")");if(!As&&d.animation&&(_t.thisAnimationDuration=null),m.captureAnimationState(),!As&&(d.animation&&(_t.fromRect=C,Le.forEach(function(z){if(z.thisAnimationDuration=null,z!==_t){var E=nn?bt(z):C;z.fromRect=E,m.addAnimationState({target:z,rect:E})}})),Na(),Le.forEach(function(z){f[w]?s.insertBefore(z,f[w]):s.appendChild(z),w++}),l===Et(_t))){var v=!1;Le.forEach(function(z){if(z.sortableIndex!==Et(z)){v=!0;return}}),v&&a("update")}Le.forEach(function(z){Gc(z)}),m.animateAll()}Fn=m}(o===s||u&&u.lastPutMode!=="clone")&&mn.forEach(function(z){z.parentNode&&z.parentNode.removeChild(z)})}},nullingGlobal:function(){this.isMultiDrag=Do=!1,mn.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 Do<"u"&&Do)&&Fn===this.sortable&&!(n&&Vn(n.target,this.options.draggable,this.sortable.el,!1))&&!(n&&n.button!==0))for(;Le.length;){var r=Le[0];Ct(r,this.options.selectedClass,!1),Le.shift(),Ns({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)}},Pn(e,{pluginName:"multiDrag",utils:{select:function(n){var r=n.parentNode[Wt];!r||!r.options.multiDrag||~Le.indexOf(n)||(Fn&&Fn!==r&&(Fn.multiDrag._deselectMultiDrag(),Fn=r),Ct(n,r.options.selectedClass,!0),Le.push(n))},deselect:function(n){var r=n.parentNode[Wt],o=Le.indexOf(n);!r||!r.options.multiDrag||!~o||(Ct(n,r.options.selectedClass,!1),Le.splice(o,1))}},eventProperties:function(){var n=this,r=[],o=[];return Le.forEach(function(s){r.push({multiDragElement:s,index:s.sortableIndex});var i;nn&&s!==_t?i=-1:nn?i=Et(s,":not(."+n.options.selectedClass+")"):i=Et(s),o.push({multiDragElement:s,index:i})}),{items:MH(Le),clones:[].concat(mn),oldIndicies:r,newIndicies:o}},optionListeners:{multiDragKey:function(n){return n=n.toLowerCase(),n==="ctrl"?n="Control":n.length>1&&(n=n.charAt(0).toUpperCase()+n.substr(1)),n}}})}function hU(e,t){Le.forEach(function(n,r){var o=t.children[n.sortableIndex+(e?Number(r):0)];o?t.insertBefore(n,o):t.appendChild(n)})}function rh(e,t){mn.forEach(function(n,r){var o=t.children[n.sortableIndex+(e?Number(r):0)];o?t.insertBefore(n,o):t.appendChild(n)})}function Na(){Le.forEach(function(e){e!==_t&&e.parentNode&&e.parentNode.removeChild(e)})}Oe.mount(new dU);Oe.mount(km,Cm);const _U=Object.freeze(Object.defineProperty({__proto__:null,MultiDrag:pU,Sortable:Oe,Swap:mU,default:Oe},Symbol.toStringTag,{value:"Module"})),gU=cy(_U);(function(e,t){(function(r,o){e.exports=o(h1,gU)})(typeof self<"u"?self:ly,function(n,r){return function(o){var s={};function i(a){if(s[a])return s[a].exports;var l=s[a]={i:a,l:!1,exports:{}};return o[a].call(l.exports,l,l.exports,i),l.l=!0,l.exports}return i.m=o,i.c=s,i.d=function(a,l,u){i.o(a,l)||Object.defineProperty(a,l,{enumerable:!0,get:u})},i.r=function(a){typeof Symbol<"u"&&Symbol.toStringTag&&Object.defineProperty(a,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(a,"__esModule",{value:!0})},i.t=function(a,l){if(l&1&&(a=i(a)),l&8||l&4&&typeof a=="object"&&a&&a.__esModule)return a;var u=Object.create(null);if(i.r(u),Object.defineProperty(u,"default",{enumerable:!0,value:a}),l&2&&typeof a!="string")for(var m in a)i.d(u,m,(function(d){return a[d]}).bind(null,m));return u},i.n=function(a){var l=a&&a.__esModule?function(){return a.default}:function(){return a};return i.d(l,"a",l),l},i.o=function(a,l){return Object.prototype.hasOwnProperty.call(a,l)},i.p="",i(i.s="fb15")}({"00ee":function(o,s,i){var a=i("b622"),l=a("toStringTag"),u={};u[l]="z",o.exports=String(u)==="[object z]"},"0366":function(o,s,i){var a=i("1c0b");o.exports=function(l,u,m){if(a(l),u===void 0)return l;switch(m){case 0:return function(){return l.call(u)};case 1:return function(d){return l.call(u,d)};case 2:return function(d,f){return l.call(u,d,f)};case 3:return function(d,f,p){return l.call(u,d,f,p)}}return function(){return l.apply(u,arguments)}}},"057f":function(o,s,i){var a=i("fc6a"),l=i("241c").f,u={}.toString,m=typeof window=="object"&&window&&Object.getOwnPropertyNames?Object.getOwnPropertyNames(window):[],d=function(f){try{return l(f)}catch{return m.slice()}};o.exports.f=function(p){return m&&u.call(p)=="[object Window]"?d(p):l(a(p))}},"06cf":function(o,s,i){var a=i("83ab"),l=i("d1e7"),u=i("5c6c"),m=i("fc6a"),d=i("c04e"),f=i("5135"),p=i("0cfb"),h=Object.getOwnPropertyDescriptor;s.f=a?h:function(b,C){if(b=m(b),C=d(C,!0),p)try{return h(b,C)}catch{}if(f(b,C))return u(!l.f.call(b,C),b[C])}},"0cfb":function(o,s,i){var a=i("83ab"),l=i("d039"),u=i("cc12");o.exports=!a&&!l(function(){return Object.defineProperty(u("div"),"a",{get:function(){return 7}}).a!=7})},"13d5":function(o,s,i){var a=i("23e7"),l=i("d58f").left,u=i("a640"),m=i("ae40"),d=u("reduce"),f=m("reduce",{1:0});a({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(o,s,i){var a=i("c6b6"),l=i("9263");o.exports=function(u,m){var d=u.exec;if(typeof d=="function"){var f=d.call(u,m);if(typeof f!="object")throw TypeError("RegExp exec method returned something other than an Object or null");return f}if(a(u)!=="RegExp")throw TypeError("RegExp#exec called on incompatible receiver");return l.call(u,m)}},"159b":function(o,s,i){var a=i("da84"),l=i("fdbc"),u=i("17c2"),m=i("9112");for(var d in l){var f=a[d],p=f&&f.prototype;if(p&&p.forEach!==u)try{m(p,"forEach",u)}catch{p.forEach=u}}},"17c2":function(o,s,i){var a=i("b727").forEach,l=i("a640"),u=i("ae40"),m=l("forEach"),d=u("forEach");o.exports=!m||!d?function(p){return a(this,p,arguments.length>1?arguments[1]:void 0)}:[].forEach},"1be4":function(o,s,i){var a=i("d066");o.exports=a("document","documentElement")},"1c0b":function(o,s){o.exports=function(i){if(typeof i!="function")throw TypeError(String(i)+" is not a function");return i}},"1c7e":function(o,s,i){var a=i("b622"),l=a("iterator"),u=!1;try{var m=0,d={next:function(){return{done:!!m++}},return:function(){u=!0}};d[l]=function(){return this},Array.from(d,function(){throw 2})}catch{}o.exports=function(f,p){if(!p&&!u)return!1;var h=!1;try{var _={};_[l]=function(){return{next:function(){return{done:h=!0}}}},f(_)}catch{}return h}},"1d80":function(o,s){o.exports=function(i){if(i==null)throw TypeError("Can't call method on "+i);return i}},"1dde":function(o,s,i){var a=i("d039"),l=i("b622"),u=i("2d00"),m=l("species");o.exports=function(d){return u>=51||!a(function(){var f=[],p=f.constructor={};return p[m]=function(){return{foo:1}},f[d](Boolean).foo!==1})}},"23cb":function(o,s,i){var a=i("a691"),l=Math.max,u=Math.min;o.exports=function(m,d){var f=a(m);return f<0?l(f+d,0):u(f,d)}},"23e7":function(o,s,i){var a=i("da84"),l=i("06cf").f,u=i("9112"),m=i("6eeb"),d=i("ce4e"),f=i("e893"),p=i("94ca");o.exports=function(h,_){var b=h.target,C=h.global,w=h.stat,v,z,E,x,M,P;if(C?z=a:w?z=a[b]||d(b,{}):z=(a[b]||{}).prototype,z)for(E in _){if(M=_[E],h.noTargetGet?(P=l(z,E),x=P&&P.value):x=z[E],v=p(C?E:b+(w?".":"#")+E,h.forced),!v&&x!==void 0){if(typeof M==typeof x)continue;f(M,x)}(h.sham||x&&x.sham)&&u(M,"sham",!0),m(z,E,M,h)}}},"241c":function(o,s,i){var a=i("ca84"),l=i("7839"),u=l.concat("length","prototype");s.f=Object.getOwnPropertyNames||function(d){return a(d,u)}},"25f0":function(o,s,i){var a=i("6eeb"),l=i("825a"),u=i("d039"),m=i("ad6d"),d="toString",f=RegExp.prototype,p=f[d],h=u(function(){return p.call({source:"a",flags:"b"})!="/a/b"}),_=p.name!=d;(h||_)&&a(RegExp.prototype,d,function(){var C=l(this),w=String(C.source),v=C.flags,z=String(v===void 0&&C instanceof RegExp&&!("flags"in f)?m.call(C):v);return"/"+w+"/"+z},{unsafe:!0})},"2ca0":function(o,s,i){var a=i("23e7"),l=i("06cf").f,u=i("50c4"),m=i("5a34"),d=i("1d80"),f=i("ab13"),p=i("c430"),h="".startsWith,_=Math.min,b=f("startsWith"),C=!p&&!b&&!!function(){var w=l(String.prototype,"startsWith");return w&&!w.writable}();a({target:"String",proto:!0,forced:!C&&!b},{startsWith:function(v){var z=String(d(this));m(v);var E=u(_(arguments.length>1?arguments[1]:void 0,z.length)),x=String(v);return h?h.call(z,x,E):z.slice(E,E+x.length)===x}})},"2d00":function(o,s,i){var a=i("da84"),l=i("342f"),u=a.process,m=u&&u.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]))),o.exports=p&&+p},"342f":function(o,s,i){var a=i("d066");o.exports=a("navigator","userAgent")||""},"35a1":function(o,s,i){var a=i("f5df"),l=i("3f8c"),u=i("b622"),m=u("iterator");o.exports=function(d){if(d!=null)return d[m]||d["@@iterator"]||l[a(d)]}},"37e8":function(o,s,i){var a=i("83ab"),l=i("9bf2"),u=i("825a"),m=i("df75");o.exports=a?Object.defineProperties:function(f,p){u(f);for(var h=m(p),_=h.length,b=0,C;_>b;)l.f(f,C=h[b++],p[C]);return f}},"3bbe":function(o,s,i){var a=i("861d");o.exports=function(l){if(!a(l)&&l!==null)throw TypeError("Can't set "+String(l)+" as a prototype");return l}},"3ca3":function(o,s,i){var a=i("6547").charAt,l=i("69f3"),u=i("7dd0"),m="String Iterator",d=l.set,f=l.getterFor(m);u(String,"String",function(p){d(this,{type:m,string:String(p),index:0})},function(){var h=f(this),_=h.string,b=h.index,C;return b>=_.length?{value:void 0,done:!0}:(C=a(_,b),h.index+=C.length,{value:C,done:!1})})},"3f8c":function(o,s){o.exports={}},4160:function(o,s,i){var a=i("23e7"),l=i("17c2");a({target:"Array",proto:!0,forced:[].forEach!=l},{forEach:l})},"428f":function(o,s,i){var a=i("da84");o.exports=a},"44ad":function(o,s,i){var a=i("d039"),l=i("c6b6"),u="".split;o.exports=a(function(){return!Object("z").propertyIsEnumerable(0)})?function(m){return l(m)=="String"?u.call(m,""):Object(m)}:Object},"44d2":function(o,s,i){var a=i("b622"),l=i("7c73"),u=i("9bf2"),m=a("unscopables"),d=Array.prototype;d[m]==null&&u.f(d,m,{configurable:!0,value:l(null)}),o.exports=function(f){d[m][f]=!0}},"44e7":function(o,s,i){var a=i("861d"),l=i("c6b6"),u=i("b622"),m=u("match");o.exports=function(d){var f;return a(d)&&((f=d[m])!==void 0?!!f:l(d)=="RegExp")}},4930:function(o,s,i){var a=i("d039");o.exports=!!Object.getOwnPropertySymbols&&!a(function(){return!String(Symbol())})},"4d64":function(o,s,i){var a=i("fc6a"),l=i("50c4"),u=i("23cb"),m=function(d){return function(f,p,h){var _=a(f),b=l(_.length),C=u(h,b),w;if(d&&p!=p){for(;b>C;)if(w=_[C++],w!=w)return!0}else for(;b>C;C++)if((d||C in _)&&_[C]===p)return d||C||0;return!d&&-1}};o.exports={includes:m(!0),indexOf:m(!1)}},"4de4":function(o,s,i){var a=i("23e7"),l=i("b727").filter,u=i("1dde"),m=i("ae40"),d=u("filter"),f=m("filter");a({target:"Array",proto:!0,forced:!d||!f},{filter:function(h){return l(this,h,arguments.length>1?arguments[1]:void 0)}})},"4df4":function(o,s,i){var a=i("0366"),l=i("7b0b"),u=i("9bdd"),m=i("e95a"),d=i("50c4"),f=i("8418"),p=i("35a1");o.exports=function(_){var b=l(_),C=typeof this=="function"?this:Array,w=arguments.length,v=w>1?arguments[1]:void 0,z=v!==void 0,E=p(b),x=0,M,P,I,N,Z,j;if(z&&(v=a(v,w>2?arguments[2]:void 0,2)),E!=null&&!(C==Array&&m(E)))for(N=E.call(b),Z=N.next,P=new C;!(I=Z.call(N)).done;x++)j=z?u(N,v,[I.value,x],!0):I.value,f(P,x,j);else for(M=d(b.length),P=new C(M);M>x;x++)j=z?v(b[x],x):b[x],f(P,x,j);return P.length=x,P}},"4fad":function(o,s,i){var a=i("23e7"),l=i("6f53").entries;a({target:"Object",stat:!0},{entries:function(m){return l(m)}})},"50c4":function(o,s,i){var a=i("a691"),l=Math.min;o.exports=function(u){return u>0?l(a(u),9007199254740991):0}},5135:function(o,s){var i={}.hasOwnProperty;o.exports=function(a,l){return i.call(a,l)}},5319:function(o,s,i){var a=i("d784"),l=i("825a"),u=i("7b0b"),m=i("50c4"),d=i("a691"),f=i("1d80"),p=i("8aa5"),h=i("14c3"),_=Math.max,b=Math.min,C=Math.floor,w=/\$([$&'`]|\d\d?|<[^>]*>)/g,v=/\$([$&'`]|\d\d?)/g,z=function(E){return E===void 0?E:String(E)};a("replace",2,function(E,x,M,P){var I=P.REGEXP_REPLACE_SUBSTITUTES_UNDEFINED_CAPTURE,N=P.REPLACE_KEEPS_$0,Z=I?"$":"$0";return[function(X,pe){var G=f(this),re=X==null?void 0:X[E];return re!==void 0?re.call(X,G,pe):x.call(String(G),X,pe)},function(B,X){if(!I&&N||typeof X=="string"&&X.indexOf(Z)===-1){var pe=M(x,B,this,X);if(pe.done)return pe.value}var G=l(B),re=String(this),se=typeof X=="function";se||(X=String(X));var je=G.global;if(je){var Je=G.unicode;G.lastIndex=0}for(var We=[];;){var Ue=h(G,re);if(Ue===null||(We.push(Ue),!je))break;var dt=String(Ue[0]);dt===""&&(G.lastIndex=p(re,m(G.lastIndex),Je))}for(var pt="",ht=0,Me=0;Me<We.length;Me++){Ue=We[Me];for(var W=String(Ue[0]),ce=_(b(d(Ue.index),re.length),0),ie=[],ge=1;ge<Ue.length;ge++)ie.push(z(Ue[ge]));var Ve=Ue.groups;if(se){var Ke=[W].concat(ie,ce,re);Ve!==void 0&&Ke.push(Ve);var T=String(X.apply(void 0,Ke))}else T=j(W,re,ce,ie,Ve,X);ce>=ht&&(pt+=re.slice(ht,ce)+T,ht=ce+W.length)}return pt+re.slice(ht)}];function j(B,X,pe,G,re,se){var je=pe+B.length,Je=G.length,We=v;return re!==void 0&&(re=u(re),We=w),x.call(se,We,function(Ue,dt){var pt;switch(dt.charAt(0)){case"$":return"$";case"&":return B;case"`":return X.slice(0,pe);case"'":return X.slice(je);case"<":pt=re[dt.slice(1,-1)];break;default:var ht=+dt;if(ht===0)return Ue;if(ht>Je){var Me=C(ht/10);return Me===0?Ue:Me<=Je?G[Me-1]===void 0?dt.charAt(1):G[Me-1]+dt.charAt(1):Ue}pt=G[ht-1]}return pt===void 0?"":pt})}})},5692:function(o,s,i){var a=i("c430"),l=i("c6cd");(o.exports=function(u,m){return l[u]||(l[u]=m!==void 0?m:{})})("versions",[]).push({version:"3.6.5",mode:a?"pure":"global",copyright:"© 2020 Denis Pushkarev (zloirock.ru)"})},"56ef":function(o,s,i){var a=i("d066"),l=i("241c"),u=i("7418"),m=i("825a");o.exports=a("Reflect","ownKeys")||function(f){var p=l.f(m(f)),h=u.f;return h?p.concat(h(f)):p}},"5a34":function(o,s,i){var a=i("44e7");o.exports=function(l){if(a(l))throw TypeError("The method doesn't accept regular expressions");return l}},"5c6c":function(o,s){o.exports=function(i,a){return{enumerable:!(i&1),configurable:!(i&2),writable:!(i&4),value:a}}},"5db7":function(o,s,i){var a=i("23e7"),l=i("a2bf"),u=i("7b0b"),m=i("50c4"),d=i("1c0b"),f=i("65f0");a({target:"Array",proto:!0},{flatMap:function(h){var _=u(this),b=m(_.length),C;return d(h),C=f(_,0),C.length=l(C,_,_,b,0,1,h,arguments.length>1?arguments[1]:void 0),C}})},6547:function(o,s,i){var a=i("a691"),l=i("1d80"),u=function(m){return function(d,f){var p=String(l(d)),h=a(f),_=p.length,b,C;return h<0||h>=_?m?"":void 0:(b=p.charCodeAt(h),b<55296||b>56319||h+1===_||(C=p.charCodeAt(h+1))<56320||C>57343?m?p.charAt(h):b:m?p.slice(h,h+2):(b-55296<<10)+(C-56320)+65536)}};o.exports={codeAt:u(!1),charAt:u(!0)}},"65f0":function(o,s,i){var a=i("861d"),l=i("e8b5"),u=i("b622"),m=u("species");o.exports=function(d,f){var p;return l(d)&&(p=d.constructor,typeof p=="function"&&(p===Array||l(p.prototype))?p=void 0:a(p)&&(p=p[m],p===null&&(p=void 0))),new(p===void 0?Array:p)(f===0?0:f)}},"69f3":function(o,s,i){var a=i("7f9a"),l=i("da84"),u=i("861d"),m=i("9112"),d=i("5135"),f=i("f772"),p=i("d012"),h=l.WeakMap,_,b,C,w=function(I){return C(I)?b(I):_(I,{})},v=function(I){return function(N){var Z;if(!u(N)||(Z=b(N)).type!==I)throw TypeError("Incompatible receiver, "+I+" required");return Z}};if(a){var z=new h,E=z.get,x=z.has,M=z.set;_=function(I,N){return M.call(z,I,N),N},b=function(I){return E.call(z,I)||{}},C=function(I){return x.call(z,I)}}else{var P=f("state");p[P]=!0,_=function(I,N){return m(I,P,N),N},b=function(I){return d(I,P)?I[P]:{}},C=function(I){return d(I,P)}}o.exports={set:_,get:b,has:C,enforce:w,getterFor:v}},"6eeb":function(o,s,i){var a=i("da84"),l=i("9112"),u=i("5135"),m=i("ce4e"),d=i("8925"),f=i("69f3"),p=f.get,h=f.enforce,_=String(String).split("String");(o.exports=function(b,C,w,v){var z=v?!!v.unsafe:!1,E=v?!!v.enumerable:!1,x=v?!!v.noTargetGet:!1;if(typeof w=="function"&&(typeof C=="string"&&!u(w,"name")&&l(w,"name",C),h(w).source=_.join(typeof C=="string"?C:"")),b===a){E?b[C]=w:m(C,w);return}else z?!x&&b[C]&&(E=!0):delete b[C];E?b[C]=w:l(b,C,w)})(Function.prototype,"toString",function(){return typeof this=="function"&&p(this).source||d(this)})},"6f53":function(o,s,i){var a=i("83ab"),l=i("df75"),u=i("fc6a"),m=i("d1e7").f,d=function(f){return function(p){for(var h=u(p),_=l(h),b=_.length,C=0,w=[],v;b>C;)v=_[C++],(!a||m.call(h,v))&&w.push(f?[v,h[v]]:h[v]);return w}};o.exports={entries:d(!0),values:d(!1)}},"73d9":function(o,s,i){var a=i("44d2");a("flatMap")},7418:function(o,s){s.f=Object.getOwnPropertySymbols},"746f":function(o,s,i){var a=i("428f"),l=i("5135"),u=i("e538"),m=i("9bf2").f;o.exports=function(d){var f=a.Symbol||(a.Symbol={});l(f,d)||m(f,d,{value:u.f(d)})}},7839:function(o,s){o.exports=["constructor","hasOwnProperty","isPrototypeOf","propertyIsEnumerable","toLocaleString","toString","valueOf"]},"7b0b":function(o,s,i){var a=i("1d80");o.exports=function(l){return Object(a(l))}},"7c73":function(o,s,i){var a=i("825a"),l=i("37e8"),u=i("7839"),m=i("d012"),d=i("1be4"),f=i("cc12"),p=i("f772"),h=">",_="<",b="prototype",C="script",w=p("IE_PROTO"),v=function(){},z=function(I){return _+C+h+I+_+"/"+C+h},E=function(I){I.write(z("")),I.close();var N=I.parentWindow.Object;return I=null,N},x=function(){var I=f("iframe"),N="java"+C+":",Z;return I.style.display="none",d.appendChild(I),I.src=String(N),Z=I.contentWindow.document,Z.open(),Z.write(z("document.F=Object")),Z.close(),Z.F},M,P=function(){try{M=document.domain&&new ActiveXObject("htmlfile")}catch{}P=M?E(M):x();for(var I=u.length;I--;)delete P[b][u[I]];return P()};m[w]=!0,o.exports=Object.create||function(N,Z){var j;return N!==null?(v[b]=a(N),j=new v,v[b]=null,j[w]=N):j=P(),Z===void 0?j:l(j,Z)}},"7dd0":function(o,s,i){var a=i("23e7"),l=i("9ed3"),u=i("e163"),m=i("d2bb"),d=i("d44e"),f=i("9112"),p=i("6eeb"),h=i("b622"),_=i("c430"),b=i("3f8c"),C=i("ae93"),w=C.IteratorPrototype,v=C.BUGGY_SAFARI_ITERATORS,z=h("iterator"),E="keys",x="values",M="entries",P=function(){return this};o.exports=function(I,N,Z,j,B,X,pe){l(Z,N,j);var G=function(Me){if(Me===B&&We)return We;if(!v&&Me in je)return je[Me];switch(Me){case E:return function(){return new Z(this,Me)};case x:return function(){return new Z(this,Me)};case M:return function(){return new Z(this,Me)}}return function(){return new Z(this)}},re=N+" Iterator",se=!1,je=I.prototype,Je=je[z]||je["@@iterator"]||B&&je[B],We=!v&&Je||G(B),Ue=N=="Array"&&je.entries||Je,dt,pt,ht;if(Ue&&(dt=u(Ue.call(new I)),w!==Object.prototype&&dt.next&&(!_&&u(dt)!==w&&(m?m(dt,w):typeof dt[z]!="function"&&f(dt,z,P)),d(dt,re,!0,!0),_&&(b[re]=P))),B==x&&Je&&Je.name!==x&&(se=!0,We=function(){return Je.call(this)}),(!_||pe)&&je[z]!==We&&f(je,z,We),b[N]=We,B)if(pt={values:G(x),keys:X?We:G(E),entries:G(M)},pe)for(ht in pt)(v||se||!(ht in je))&&p(je,ht,pt[ht]);else a({target:N,proto:!0,forced:v||se},pt);return pt}},"7f9a":function(o,s,i){var a=i("da84"),l=i("8925"),u=a.WeakMap;o.exports=typeof u=="function"&&/native code/.test(l(u))},"825a":function(o,s,i){var a=i("861d");o.exports=function(l){if(!a(l))throw TypeError(String(l)+" is not an object");return l}},"83ab":function(o,s,i){var a=i("d039");o.exports=!a(function(){return Object.defineProperty({},1,{get:function(){return 7}})[1]!=7})},8418:function(o,s,i){var a=i("c04e"),l=i("9bf2"),u=i("5c6c");o.exports=function(m,d,f){var p=a(d);p in m?l.f(m,p,u(0,f)):m[p]=f}},"861d":function(o,s){o.exports=function(i){return typeof i=="object"?i!==null:typeof i=="function"}},8875:function(o,s,i){var a,l,u;(function(m,d){l=[],a=d,u=typeof a=="function"?a.apply(s,l):a,u!==void 0&&(o.exports=u)})(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(M){var f=/.*at [^(]*\((.*):(.+):(.+)\)$/ig,p=/@([^@]*):(\d+):(\d+)\s*$/ig,h=f.exec(M.stack)||p.exec(M.stack),_=h&&h[1]||!1,b=h&&h[2]||!1,C=document.location.href.replace(document.location.hash,""),w,v,z,E=document.getElementsByTagName("script");_===C&&(w=document.documentElement.outerHTML,v=new RegExp("(?:[^\\n]+?\\n){0,"+(b-2)+"}[^<]*<script>([\\d\\D]*?)<\\/script>[\\d\\D]*","i"),z=w.replace(v,"$1").trim());for(var x=0;x<E.length;x++)if(E[x].readyState==="interactive"||E[x].src===_||_===C&&E[x].innerHTML&&E[x].innerHTML.trim()===z)return E[x];return null}}return m})},8925:function(o,s,i){var a=i("c6cd"),l=Function.toString;typeof a.inspectSource!="function"&&(a.inspectSource=function(u){return l.call(u)}),o.exports=a.inspectSource},"8aa5":function(o,s,i){var a=i("6547").charAt;o.exports=function(l,u,m){return u+(m?a(l,u).length:1)}},"8bbf":function(o,s){o.exports=n},"90e3":function(o,s){var i=0,a=Math.random();o.exports=function(l){return"Symbol("+String(l===void 0?"":l)+")_"+(++i+a).toString(36)}},9112:function(o,s,i){var a=i("83ab"),l=i("9bf2"),u=i("5c6c");o.exports=a?function(m,d,f){return l.f(m,d,u(1,f))}:function(m,d,f){return m[d]=f,m}},9263:function(o,s,i){var a=i("ad6d"),l=i("9f7f"),u=RegExp.prototype.exec,m=String.prototype.replace,d=u,f=function(){var b=/a/,C=/b*/g;return u.call(b,"a"),u.call(C,"a"),b.lastIndex!==0||C.lastIndex!==0}(),p=l.UNSUPPORTED_Y||l.BROKEN_CARET,h=/()??/.exec("")[1]!==void 0,_=f||h||p;_&&(d=function(C){var w=this,v,z,E,x,M=p&&w.sticky,P=a.call(w),I=w.source,N=0,Z=C;return M&&(P=P.replace("y",""),P.indexOf("g")===-1&&(P+="g"),Z=String(C).slice(w.lastIndex),w.lastIndex>0&&(!w.multiline||w.multiline&&C[w.lastIndex-1]!==`
|
||
`)&&(I="(?: "+I+")",Z=" "+Z,N++),z=new RegExp("^(?:"+I+")",P)),h&&(z=new RegExp("^"+I+"$(?!\\s)",P)),f&&(v=w.lastIndex),E=u.call(M?z:w,Z),M?E?(E.input=E.input.slice(N),E[0]=E[0].slice(N),E.index=w.lastIndex,w.lastIndex+=E[0].length):w.lastIndex=0:f&&E&&(w.lastIndex=w.global?E.index+E[0].length:v),h&&E&&E.length>1&&m.call(E[0],z,function(){for(x=1;x<arguments.length-2;x++)arguments[x]===void 0&&(E[x]=void 0)}),E}),o.exports=d},"94ca":function(o,s,i){var a=i("d039"),l=/#|\.prototype\./,u=function(h,_){var b=d[m(h)];return b==p?!0:b==f?!1:typeof _=="function"?a(_):!!_},m=u.normalize=function(h){return String(h).replace(l,".").toLowerCase()},d=u.data={},f=u.NATIVE="N",p=u.POLYFILL="P";o.exports=u},"99af":function(o,s,i){var a=i("23e7"),l=i("d039"),u=i("e8b5"),m=i("861d"),d=i("7b0b"),f=i("50c4"),p=i("8418"),h=i("65f0"),_=i("1dde"),b=i("b622"),C=i("2d00"),w=b("isConcatSpreadable"),v=9007199254740991,z="Maximum allowed index exceeded",E=C>=51||!l(function(){var I=[];return I[w]=!1,I.concat()[0]!==I}),x=_("concat"),M=function(I){if(!m(I))return!1;var N=I[w];return N!==void 0?!!N:u(I)},P=!E||!x;a({target:"Array",proto:!0,forced:P},{concat:function(N){var Z=d(this),j=h(Z,0),B=0,X,pe,G,re,se;for(X=-1,G=arguments.length;X<G;X++)if(se=X===-1?Z:arguments[X],M(se)){if(re=f(se.length),B+re>v)throw TypeError(z);for(pe=0;pe<re;pe++,B++)pe in se&&p(j,B,se[pe])}else{if(B>=v)throw TypeError(z);p(j,B++,se)}return j.length=B,j}})},"9bdd":function(o,s,i){var a=i("825a");o.exports=function(l,u,m,d){try{return d?u(a(m)[0],m[1]):u(m)}catch(p){var f=l.return;throw f!==void 0&&a(f.call(l)),p}}},"9bf2":function(o,s,i){var a=i("83ab"),l=i("0cfb"),u=i("825a"),m=i("c04e"),d=Object.defineProperty;s.f=a?d:function(p,h,_){if(u(p),h=m(h,!0),u(_),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(o,s,i){var a=i("ae93").IteratorPrototype,l=i("7c73"),u=i("5c6c"),m=i("d44e"),d=i("3f8c"),f=function(){return this};o.exports=function(p,h,_){var b=h+" Iterator";return p.prototype=l(a,{next:u(1,_)}),m(p,b,!1,!0),d[b]=f,p}},"9f7f":function(o,s,i){var a=i("d039");function l(u,m){return RegExp(u,m)}s.UNSUPPORTED_Y=a(function(){var u=l("a","y");return u.lastIndex=2,u.exec("abcd")!=null}),s.BROKEN_CARET=a(function(){var u=l("^r","gy");return u.lastIndex=2,u.exec("str")!=null})},a2bf:function(o,s,i){var a=i("e8b5"),l=i("50c4"),u=i("0366"),m=function(d,f,p,h,_,b,C,w){for(var v=_,z=0,E=C?u(C,w,3):!1,x;z<h;){if(z in p){if(x=E?E(p[z],z,f):p[z],b>0&&a(x))v=m(d,f,x,l(x.length),v,b-1)-1;else{if(v>=9007199254740991)throw TypeError("Exceed the acceptable array length");d[v]=x}v++}z++}return v};o.exports=m},a352:function(o,s){o.exports=r},a434:function(o,s,i){var a=i("23e7"),l=i("23cb"),u=i("a691"),m=i("50c4"),d=i("7b0b"),f=i("65f0"),p=i("8418"),h=i("1dde"),_=i("ae40"),b=h("splice"),C=_("splice",{ACCESSORS:!0,0:0,1:2}),w=Math.max,v=Math.min,z=9007199254740991,E="Maximum allowed length exceeded";a({target:"Array",proto:!0,forced:!b||!C},{splice:function(M,P){var I=d(this),N=m(I.length),Z=l(M,N),j=arguments.length,B,X,pe,G,re,se;if(j===0?B=X=0:j===1?(B=0,X=N-Z):(B=j-2,X=v(w(u(P),0),N-Z)),N+B-X>z)throw TypeError(E);for(pe=f(I,X),G=0;G<X;G++)re=Z+G,re in I&&p(pe,G,I[re]);if(pe.length=X,B<X){for(G=Z;G<N-X;G++)re=G+X,se=G+B,re in I?I[se]=I[re]:delete I[se];for(G=N;G>N-X+B;G--)delete I[G-1]}else if(B>X)for(G=N-X;G>Z;G--)re=G+X-1,se=G+B-1,re in I?I[se]=I[re]:delete I[se];for(G=0;G<B;G++)I[G+Z]=arguments[G+2];return I.length=N-X+B,pe}})},a4d3:function(o,s,i){var a=i("23e7"),l=i("da84"),u=i("d066"),m=i("c430"),d=i("83ab"),f=i("4930"),p=i("fdbf"),h=i("d039"),_=i("5135"),b=i("e8b5"),C=i("861d"),w=i("825a"),v=i("7b0b"),z=i("fc6a"),E=i("c04e"),x=i("5c6c"),M=i("7c73"),P=i("df75"),I=i("241c"),N=i("057f"),Z=i("7418"),j=i("06cf"),B=i("9bf2"),X=i("d1e7"),pe=i("9112"),G=i("6eeb"),re=i("5692"),se=i("f772"),je=i("d012"),Je=i("90e3"),We=i("b622"),Ue=i("e538"),dt=i("746f"),pt=i("d44e"),ht=i("69f3"),Me=i("b727").forEach,W=se("hidden"),ce="Symbol",ie="prototype",ge=We("toPrimitive"),Ve=ht.set,Ke=ht.getterFor(ce),T=Object[ie],O=l.Symbol,H=u("JSON","stringify"),Y=j.f,K=B.f,ae=N.f,de=X.f,ne=re("symbols"),le=re("op-symbols"),Q=re("string-to-symbol-registry"),he=re("symbol-to-string-registry"),me=re("wks"),L=l.QObject,q=!L||!L[ie]||!L[ie].findChild,ye=d&&h(function(){return M(K({},"a",{get:function(){return K(this,"a",{value:7}).a}})).a!=7})?function(Ae,xe,Te){var Ze=Y(T,xe);Ze&&delete T[xe],K(Ae,xe,Te),Ze&&Ae!==T&&K(T,xe,Ze)}:K,Ee=function(Ae,xe){var Te=ne[Ae]=M(O[ie]);return Ve(Te,{type:ce,tag:Ae,description:xe}),d||(Te.description=xe),Te},R=p?function(Ae){return typeof Ae=="symbol"}:function(Ae){return Object(Ae)instanceof O},D=function(xe,Te,Ze){xe===T&&D(le,Te,Ze),w(xe);var tt=E(Te,!0);return w(Ze),_(ne,tt)?(Ze.enumerable?(_(xe,W)&&xe[W][tt]&&(xe[W][tt]=!1),Ze=M(Ze,{enumerable:x(0,!1)})):(_(xe,W)||K(xe,W,x(1,{})),xe[W][tt]=!0),ye(xe,tt,Ze)):K(xe,tt,Ze)},U=function(xe,Te){w(xe);var Ze=z(Te),tt=P(Ze).concat(Re(Ze));return Me(tt,function(Qt){(!d||be.call(Ze,Qt))&&D(xe,Qt,Ze[Qt])}),xe},ee=function(xe,Te){return Te===void 0?M(xe):U(M(xe),Te)},be=function(xe){var Te=E(xe,!0),Ze=de.call(this,Te);return this===T&&_(ne,Te)&&!_(le,Te)?!1:Ze||!_(this,Te)||!_(ne,Te)||_(this,W)&&this[W][Te]?Ze:!0},$e=function(xe,Te){var Ze=z(xe),tt=E(Te,!0);if(!(Ze===T&&_(ne,tt)&&!_(le,tt))){var Qt=Y(Ze,tt);return Qt&&_(ne,tt)&&!(_(Ze,W)&&Ze[W][tt])&&(Qt.enumerable=!0),Qt}},De=function(xe){var Te=ae(z(xe)),Ze=[];return Me(Te,function(tt){!_(ne,tt)&&!_(je,tt)&&Ze.push(tt)}),Ze},Re=function(xe){var Te=xe===T,Ze=ae(Te?le:z(xe)),tt=[];return Me(Ze,function(Qt){_(ne,Qt)&&(!Te||_(T,Qt))&&tt.push(ne[Qt])}),tt};if(f||(O=function(){if(this instanceof O)throw TypeError("Symbol is not a constructor");var xe=!arguments.length||arguments[0]===void 0?void 0:String(arguments[0]),Te=Je(xe),Ze=function(tt){this===T&&Ze.call(le,tt),_(this,W)&&_(this[W],Te)&&(this[W][Te]=!1),ye(this,Te,x(1,tt))};return d&&q&&ye(T,Te,{configurable:!0,set:Ze}),Ee(Te,xe)},G(O[ie],"toString",function(){return Ke(this).tag}),G(O,"withoutSetter",function(Ae){return Ee(Je(Ae),Ae)}),X.f=be,B.f=D,j.f=$e,I.f=N.f=De,Z.f=Re,Ue.f=function(Ae){return Ee(We(Ae),Ae)},d&&(K(O[ie],"description",{configurable:!0,get:function(){return Ke(this).description}}),m||G(T,"propertyIsEnumerable",be,{unsafe:!0}))),a({global:!0,wrap:!0,forced:!f,sham:!f},{Symbol:O}),Me(P(me),function(Ae){dt(Ae)}),a({target:ce,stat:!0,forced:!f},{for:function(Ae){var xe=String(Ae);if(_(Q,xe))return Q[xe];var Te=O(xe);return Q[xe]=Te,he[Te]=xe,Te},keyFor:function(xe){if(!R(xe))throw TypeError(xe+" is not a symbol");if(_(he,xe))return he[xe]},useSetter:function(){q=!0},useSimple:function(){q=!1}}),a({target:"Object",stat:!0,forced:!f,sham:!d},{create:ee,defineProperty:D,defineProperties:U,getOwnPropertyDescriptor:$e}),a({target:"Object",stat:!0,forced:!f},{getOwnPropertyNames:De,getOwnPropertySymbols:Re}),a({target:"Object",stat:!0,forced:h(function(){Z.f(1)})},{getOwnPropertySymbols:function(xe){return Z.f(v(xe))}}),H){var rt=!f||h(function(){var Ae=O();return H([Ae])!="[null]"||H({a:Ae})!="{}"||H(Object(Ae))!="{}"});a({target:"JSON",stat:!0,forced:rt},{stringify:function(xe,Te,Ze){for(var tt=[xe],Qt=1,pc;arguments.length>Qt;)tt.push(arguments[Qt++]);if(pc=Te,!(!C(Te)&&xe===void 0||R(xe)))return b(Te)||(Te=function(X1,Di){if(typeof pc=="function"&&(Di=pc.call(this,X1,Di)),!R(Di))return Di}),tt[1]=Te,H.apply(null,tt)}})}O[ie][ge]||pe(O[ie],ge,O[ie].valueOf),pt(O,ce),je[W]=!0},a630:function(o,s,i){var a=i("23e7"),l=i("4df4"),u=i("1c7e"),m=!u(function(d){Array.from(d)});a({target:"Array",stat:!0,forced:m},{from:l})},a640:function(o,s,i){var a=i("d039");o.exports=function(l,u){var m=[][l];return!!m&&a(function(){m.call(null,u||function(){throw 1},1)})}},a691:function(o,s){var i=Math.ceil,a=Math.floor;o.exports=function(l){return isNaN(l=+l)?0:(l>0?a:i)(l)}},ab13:function(o,s,i){var a=i("b622"),l=a("match");o.exports=function(u){var m=/./;try{"/./"[u](m)}catch{try{return m[l]=!1,"/./"[u](m)}catch{}}return!1}},ac1f:function(o,s,i){var a=i("23e7"),l=i("9263");a({target:"RegExp",proto:!0,forced:/./.exec!==l},{exec:l})},ad6d:function(o,s,i){var a=i("825a");o.exports=function(){var l=a(this),u="";return l.global&&(u+="g"),l.ignoreCase&&(u+="i"),l.multiline&&(u+="m"),l.dotAll&&(u+="s"),l.unicode&&(u+="u"),l.sticky&&(u+="y"),u}},ae40:function(o,s,i){var a=i("83ab"),l=i("d039"),u=i("5135"),m=Object.defineProperty,d={},f=function(p){throw p};o.exports=function(p,h){if(u(d,p))return d[p];h||(h={});var _=[][p],b=u(h,"ACCESSORS")?h.ACCESSORS:!1,C=u(h,0)?h[0]:f,w=u(h,1)?h[1]:void 0;return d[p]=!!_&&!l(function(){if(b&&!a)return!0;var v={length:-1};b?m(v,1,{enumerable:!0,get:f}):v[1]=1,_.call(v,C,w)})}},ae93:function(o,s,i){var a=i("e163"),l=i("9112"),u=i("5135"),m=i("b622"),d=i("c430"),f=m("iterator"),p=!1,h=function(){return this},_,b,C;[].keys&&(C=[].keys(),"next"in C?(b=a(a(C)),b!==Object.prototype&&(_=b)):p=!0),_==null&&(_={}),!d&&!u(_,f)&&l(_,f,h),o.exports={IteratorPrototype:_,BUGGY_SAFARI_ITERATORS:p}},b041:function(o,s,i){var a=i("00ee"),l=i("f5df");o.exports=a?{}.toString:function(){return"[object "+l(this)+"]"}},b0c0:function(o,s,i){var a=i("83ab"),l=i("9bf2").f,u=Function.prototype,m=u.toString,d=/^\s*function ([^ (]*)/,f="name";a&&!(f in u)&&l(u,f,{configurable:!0,get:function(){try{return m.call(this).match(d)[1]}catch{return""}}})},b622:function(o,s,i){var a=i("da84"),l=i("5692"),u=i("5135"),m=i("90e3"),d=i("4930"),f=i("fdbf"),p=l("wks"),h=a.Symbol,_=f?h:h&&h.withoutSetter||m;o.exports=function(b){return u(p,b)||(d&&u(h,b)?p[b]=h[b]:p[b]=_("Symbol."+b)),p[b]}},b64b:function(o,s,i){var a=i("23e7"),l=i("7b0b"),u=i("df75"),m=i("d039"),d=m(function(){u(1)});a({target:"Object",stat:!0,forced:d},{keys:function(p){return u(l(p))}})},b727:function(o,s,i){var a=i("0366"),l=i("44ad"),u=i("7b0b"),m=i("50c4"),d=i("65f0"),f=[].push,p=function(h){var _=h==1,b=h==2,C=h==3,w=h==4,v=h==6,z=h==5||v;return function(E,x,M,P){for(var I=u(E),N=l(I),Z=a(x,M,3),j=m(N.length),B=0,X=P||d,pe=_?X(E,j):b?X(E,0):void 0,G,re;j>B;B++)if((z||B in N)&&(G=N[B],re=Z(G,B,I),h)){if(_)pe[B]=re;else if(re)switch(h){case 3:return!0;case 5:return G;case 6:return B;case 2:f.call(pe,G)}else if(w)return!1}return v?-1:C||w?w:pe}};o.exports={forEach:p(0),map:p(1),filter:p(2),some:p(3),every:p(4),find:p(5),findIndex:p(6)}},c04e:function(o,s,i){var a=i("861d");o.exports=function(l,u){if(!a(l))return l;var m,d;if(u&&typeof(m=l.toString)=="function"&&!a(d=m.call(l))||typeof(m=l.valueOf)=="function"&&!a(d=m.call(l))||!u&&typeof(m=l.toString)=="function"&&!a(d=m.call(l)))return d;throw TypeError("Can't convert object to primitive value")}},c430:function(o,s){o.exports=!1},c6b6:function(o,s){var i={}.toString;o.exports=function(a){return i.call(a).slice(8,-1)}},c6cd:function(o,s,i){var a=i("da84"),l=i("ce4e"),u="__core-js_shared__",m=a[u]||l(u,{});o.exports=m},c740:function(o,s,i){var a=i("23e7"),l=i("b727").findIndex,u=i("44d2"),m=i("ae40"),d="findIndex",f=!0,p=m(d);d in[]&&Array(1)[d](function(){f=!1}),a({target:"Array",proto:!0,forced:f||!p},{findIndex:function(_){return l(this,_,arguments.length>1?arguments[1]:void 0)}}),u(d)},c8ba:function(o,s){var i;i=function(){return this}();try{i=i||new Function("return this")()}catch{typeof window=="object"&&(i=window)}o.exports=i},c975:function(o,s,i){var a=i("23e7"),l=i("4d64").indexOf,u=i("a640"),m=i("ae40"),d=[].indexOf,f=!!d&&1/[1].indexOf(1,-0)<0,p=u("indexOf"),h=m("indexOf",{ACCESSORS:!0,1:0});a({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(o,s,i){var a=i("5135"),l=i("fc6a"),u=i("4d64").indexOf,m=i("d012");o.exports=function(d,f){var p=l(d),h=0,_=[],b;for(b in p)!a(m,b)&&a(p,b)&&_.push(b);for(;f.length>h;)a(p,b=f[h++])&&(~u(_,b)||_.push(b));return _}},caad:function(o,s,i){var a=i("23e7"),l=i("4d64").includes,u=i("44d2"),m=i("ae40"),d=m("indexOf",{ACCESSORS:!0,1:0});a({target:"Array",proto:!0,forced:!d},{includes:function(p){return l(this,p,arguments.length>1?arguments[1]:void 0)}}),u("includes")},cc12:function(o,s,i){var a=i("da84"),l=i("861d"),u=a.document,m=l(u)&&l(u.createElement);o.exports=function(d){return m?u.createElement(d):{}}},ce4e:function(o,s,i){var a=i("da84"),l=i("9112");o.exports=function(u,m){try{l(a,u,m)}catch{a[u]=m}return m}},d012:function(o,s){o.exports={}},d039:function(o,s){o.exports=function(i){try{return!!i()}catch{return!0}}},d066:function(o,s,i){var a=i("428f"),l=i("da84"),u=function(m){return typeof m=="function"?m:void 0};o.exports=function(m,d){return arguments.length<2?u(a[m])||u(l[m]):a[m]&&a[m][d]||l[m]&&l[m][d]}},d1e7:function(o,s,i){var a={}.propertyIsEnumerable,l=Object.getOwnPropertyDescriptor,u=l&&!a.call({1:2},1);s.f=u?function(d){var f=l(this,d);return!!f&&f.enumerable}:a},d28b:function(o,s,i){var a=i("746f");a("iterator")},d2bb:function(o,s,i){var a=i("825a"),l=i("3bbe");o.exports=Object.setPrototypeOf||("__proto__"in{}?function(){var u=!1,m={},d;try{d=Object.getOwnPropertyDescriptor(Object.prototype,"__proto__").set,d.call(m,[]),u=m instanceof Array}catch{}return function(p,h){return a(p),l(h),u?d.call(p,h):p.__proto__=h,p}}():void 0)},d3b7:function(o,s,i){var a=i("00ee"),l=i("6eeb"),u=i("b041");a||l(Object.prototype,"toString",u,{unsafe:!0})},d44e:function(o,s,i){var a=i("9bf2").f,l=i("5135"),u=i("b622"),m=u("toStringTag");o.exports=function(d,f,p){d&&!l(d=p?d:d.prototype,m)&&a(d,m,{configurable:!0,value:f})}},d58f:function(o,s,i){var a=i("1c0b"),l=i("7b0b"),u=i("44ad"),m=i("50c4"),d=function(f){return function(p,h,_,b){a(h);var C=l(p),w=u(C),v=m(C.length),z=f?v-1:0,E=f?-1:1;if(_<2)for(;;){if(z in w){b=w[z],z+=E;break}if(z+=E,f?z<0:v<=z)throw TypeError("Reduce of empty array with no initial value")}for(;f?z>=0:v>z;z+=E)z in w&&(b=h(b,w[z],z,C));return b}};o.exports={left:d(!1),right:d(!0)}},d784:function(o,s,i){i("ac1f");var a=i("6eeb"),l=i("d039"),u=i("b622"),m=i("9263"),d=i("9112"),f=u("species"),p=!l(function(){var w=/./;return w.exec=function(){var v=[];return v.groups={a:"7"},v},"".replace(w,"$<a>")!=="7"}),h=function(){return"a".replace(/./,"$0")==="$0"}(),_=u("replace"),b=function(){return/./[_]?/./[_]("a","$0")==="":!1}(),C=!l(function(){var w=/(?:)/,v=w.exec;w.exec=function(){return v.apply(this,arguments)};var z="ab".split(w);return z.length!==2||z[0]!=="a"||z[1]!=="b"});o.exports=function(w,v,z,E){var x=u(w),M=!l(function(){var B={};return B[x]=function(){return 7},""[w](B)!=7}),P=M&&!l(function(){var B=!1,X=/a/;return w==="split"&&(X={},X.constructor={},X.constructor[f]=function(){return X},X.flags="",X[x]=/./[x]),X.exec=function(){return B=!0,null},X[x](""),!B});if(!M||!P||w==="replace"&&!(p&&h&&!b)||w==="split"&&!C){var I=/./[x],N=z(x,""[w],function(B,X,pe,G,re){return X.exec===m?M&&!re?{done:!0,value:I.call(X,pe,G)}:{done:!0,value:B.call(pe,X,G)}:{done:!1}},{REPLACE_KEEPS_$0:h,REGEXP_REPLACE_SUBSTITUTES_UNDEFINED_CAPTURE:b}),Z=N[0],j=N[1];a(String.prototype,w,Z),a(RegExp.prototype,x,v==2?function(B,X){return j.call(B,this,X)}:function(B){return j.call(B,this)})}E&&d(RegExp.prototype[x],"sham",!0)}},d81d:function(o,s,i){var a=i("23e7"),l=i("b727").map,u=i("1dde"),m=i("ae40"),d=u("map"),f=m("map");a({target:"Array",proto:!0,forced:!d||!f},{map:function(h){return l(this,h,arguments.length>1?arguments[1]:void 0)}})},da84:function(o,s,i){(function(a){var l=function(u){return u&&u.Math==Math&&u};o.exports=l(typeof globalThis=="object"&&globalThis)||l(typeof window=="object"&&window)||l(typeof self=="object"&&self)||l(typeof a=="object"&&a)||Function("return this")()}).call(this,i("c8ba"))},dbb4:function(o,s,i){var a=i("23e7"),l=i("83ab"),u=i("56ef"),m=i("fc6a"),d=i("06cf"),f=i("8418");a({target:"Object",stat:!0,sham:!l},{getOwnPropertyDescriptors:function(h){for(var _=m(h),b=d.f,C=u(_),w={},v=0,z,E;C.length>v;)E=b(_,z=C[v++]),E!==void 0&&f(w,z,E);return w}})},dbf1:function(o,s,i){(function(a){i.d(s,"a",function(){return u});function l(){return typeof window<"u"?window.console:a.console}var u=l()}).call(this,i("c8ba"))},ddb0:function(o,s,i){var a=i("da84"),l=i("fdbc"),u=i("e260"),m=i("9112"),d=i("b622"),f=d("iterator"),p=d("toStringTag"),h=u.values;for(var _ in l){var b=a[_],C=b&&b.prototype;if(C){if(C[f]!==h)try{m(C,f,h)}catch{C[f]=h}if(C[p]||m(C,p,_),l[_]){for(var w in u)if(C[w]!==u[w])try{m(C,w,u[w])}catch{C[w]=u[w]}}}}},df75:function(o,s,i){var a=i("ca84"),l=i("7839");o.exports=Object.keys||function(m){return a(m,l)}},e01a:function(o,s,i){var a=i("23e7"),l=i("83ab"),u=i("da84"),m=i("5135"),d=i("861d"),f=i("9bf2").f,p=i("e893"),h=u.Symbol;if(l&&typeof h=="function"&&(!("description"in h.prototype)||h().description!==void 0)){var _={},b=function(){var x=arguments.length<1||arguments[0]===void 0?void 0:String(arguments[0]),M=this instanceof b?new h(x):x===void 0?h():h(x);return x===""&&(_[M]=!0),M};p(b,h);var C=b.prototype=h.prototype;C.constructor=b;var w=C.toString,v=String(h("test"))=="Symbol(test)",z=/^Symbol\((.*)\)[^)]+$/;f(C,"description",{configurable:!0,get:function(){var x=d(this)?this.valueOf():this,M=w.call(x);if(m(_,x))return"";var P=v?M.slice(7,-1):M.replace(z,"$1");return P===""?void 0:P}}),a({global:!0,forced:!0},{Symbol:b})}},e163:function(o,s,i){var a=i("5135"),l=i("7b0b"),u=i("f772"),m=i("e177"),d=u("IE_PROTO"),f=Object.prototype;o.exports=m?Object.getPrototypeOf:function(p){return p=l(p),a(p,d)?p[d]:typeof p.constructor=="function"&&p instanceof p.constructor?p.constructor.prototype:p instanceof Object?f:null}},e177:function(o,s,i){var a=i("d039");o.exports=!a(function(){function l(){}return l.prototype.constructor=null,Object.getPrototypeOf(new l)!==l.prototype})},e260:function(o,s,i){var a=i("fc6a"),l=i("44d2"),u=i("3f8c"),m=i("69f3"),d=i("7dd0"),f="Array Iterator",p=m.set,h=m.getterFor(f);o.exports=d(Array,"Array",function(_,b){p(this,{type:f,target:a(_),index:0,kind:b})},function(){var _=h(this),b=_.target,C=_.kind,w=_.index++;return!b||w>=b.length?(_.target=void 0,{value:void 0,done:!0}):C=="keys"?{value:w,done:!1}:C=="values"?{value:b[w],done:!1}:{value:[w,b[w]],done:!1}},"values"),u.Arguments=u.Array,l("keys"),l("values"),l("entries")},e439:function(o,s,i){var a=i("23e7"),l=i("d039"),u=i("fc6a"),m=i("06cf").f,d=i("83ab"),f=l(function(){m(1)}),p=!d||f;a({target:"Object",stat:!0,forced:p,sham:!d},{getOwnPropertyDescriptor:function(_,b){return m(u(_),b)}})},e538:function(o,s,i){var a=i("b622");s.f=a},e893:function(o,s,i){var a=i("5135"),l=i("56ef"),u=i("06cf"),m=i("9bf2");o.exports=function(d,f){for(var p=l(f),h=m.f,_=u.f,b=0;b<p.length;b++){var C=p[b];a(d,C)||h(d,C,_(f,C))}}},e8b5:function(o,s,i){var a=i("c6b6");o.exports=Array.isArray||function(u){return a(u)=="Array"}},e95a:function(o,s,i){var a=i("b622"),l=i("3f8c"),u=a("iterator"),m=Array.prototype;o.exports=function(d){return d!==void 0&&(l.Array===d||m[u]===d)}},f5df:function(o,s,i){var a=i("00ee"),l=i("c6b6"),u=i("b622"),m=u("toStringTag"),d=l(function(){return arguments}())=="Arguments",f=function(p,h){try{return p[h]}catch{}};o.exports=a?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(o,s,i){var a=i("5692"),l=i("90e3"),u=a("keys");o.exports=function(m){return u[m]||(u[m]=l(m))}},fb15:function(o,s,i){if(i.r(s),typeof window<"u"){var a=window.document.currentScript;{var l=i("8875");a=l(),"currentScript"in document||Object.defineProperty(document,"currentScript",{get:l})}var u=a&&a.src.match(/(.+\/)[^/]+\.js(\?.*)?$/);u&&(i.p=u[1])}i("99af"),i("4de4"),i("4160"),i("c975"),i("d81d"),i("a434"),i("159b"),i("a4d3"),i("e439"),i("dbb4"),i("b64b");function m(R,D,U){return D in R?Object.defineProperty(R,D,{value:U,enumerable:!0,configurable:!0,writable:!0}):R[D]=U,R}function d(R,D){var U=Object.keys(R);if(Object.getOwnPropertySymbols){var ee=Object.getOwnPropertySymbols(R);D&&(ee=ee.filter(function(be){return Object.getOwnPropertyDescriptor(R,be).enumerable})),U.push.apply(U,ee)}return U}function f(R){for(var D=1;D<arguments.length;D++){var U=arguments[D]!=null?arguments[D]:{};D%2?d(Object(U),!0).forEach(function(ee){m(R,ee,U[ee])}):Object.getOwnPropertyDescriptors?Object.defineProperties(R,Object.getOwnPropertyDescriptors(U)):d(Object(U)).forEach(function(ee){Object.defineProperty(R,ee,Object.getOwnPropertyDescriptor(U,ee))})}return R}function p(R){if(Array.isArray(R))return R}i("e01a"),i("d28b"),i("e260"),i("d3b7"),i("3ca3"),i("ddb0");function h(R,D){if(!(typeof Symbol>"u"||!(Symbol.iterator in Object(R)))){var U=[],ee=!0,be=!1,$e=void 0;try{for(var De=R[Symbol.iterator](),Re;!(ee=(Re=De.next()).done)&&(U.push(Re.value),!(D&&U.length===D));ee=!0);}catch(rt){be=!0,$e=rt}finally{try{!ee&&De.return!=null&&De.return()}finally{if(be)throw $e}}return U}}i("a630"),i("fb6a"),i("b0c0"),i("25f0");function _(R,D){(D==null||D>R.length)&&(D=R.length);for(var U=0,ee=new Array(D);U<D;U++)ee[U]=R[U];return ee}function b(R,D){if(R){if(typeof R=="string")return _(R,D);var U=Object.prototype.toString.call(R).slice(8,-1);if(U==="Object"&&R.constructor&&(U=R.constructor.name),U==="Map"||U==="Set")return Array.from(R);if(U==="Arguments"||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(U))return _(R,D)}}function C(){throw new TypeError(`Invalid attempt to destructure non-iterable instance.
|
||
In order to be iterable, non-array objects must have a [Symbol.iterator]() method.`)}function w(R,D){return p(R)||h(R,D)||b(R,D)||C()}function v(R){if(Array.isArray(R))return _(R)}function z(R){if(typeof Symbol<"u"&&Symbol.iterator in Object(R))return Array.from(R)}function E(){throw new TypeError(`Invalid attempt to spread non-iterable instance.
|
||
In order to be iterable, non-array objects must have a [Symbol.iterator]() method.`)}function x(R){return v(R)||z(R)||b(R)||E()}var M=i("a352"),P=i.n(M);function I(R){R.parentElement!==null&&R.parentElement.removeChild(R)}function N(R,D,U){var ee=U===0?R.children[0]:R.children[U-1].nextSibling;R.insertBefore(D,ee)}var Z=i("dbf1");i("13d5"),i("4fad"),i("ac1f"),i("5319");function j(R){var D=Object.create(null);return function(ee){var be=D[ee];return be||(D[ee]=R(ee))}}var B=/-(\w)/g,X=j(function(R){return R.replace(B,function(D,U){return U.toUpperCase()})});i("5db7"),i("73d9");var pe=["Start","Add","Remove","Update","End"],G=["Choose","Unchoose","Sort","Filter","Clone"],re=["Move"],se=[re,pe,G].flatMap(function(R){return R}).map(function(R){return"on".concat(R)}),je={manage:re,manageAndEmit:pe,emit:G};function Je(R){return se.indexOf(R)!==-1}i("caad"),i("2ca0");var We=["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 Ue(R){return We.includes(R)}function dt(R){return["transition-group","TransitionGroup"].includes(R)}function pt(R){return["id","class","role","style"].includes(R)||R.startsWith("data-")||R.startsWith("aria-")||R.startsWith("on")}function ht(R){return R.reduce(function(D,U){var ee=w(U,2),be=ee[0],$e=ee[1];return D[be]=$e,D},{})}function Me(R){var D=R.$attrs,U=R.componentData,ee=U===void 0?{}:U,be=ht(Object.entries(D).filter(function($e){var De=w($e,2),Re=De[0];return De[1],pt(Re)}));return f(f({},be),ee)}function W(R){var D=R.$attrs,U=R.callBackBuilder,ee=ht(ce(D));Object.entries(U).forEach(function($e){var De=w($e,2),Re=De[0],rt=De[1];je[Re].forEach(function(Ae){ee["on".concat(Ae)]=rt(Ae)})});var be="[data-draggable]".concat(ee.draggable||"");return f(f({},ee),{},{draggable:be})}function ce(R){return Object.entries(R).filter(function(D){var U=w(D,2),ee=U[0];return U[1],!pt(ee)}).map(function(D){var U=w(D,2),ee=U[0],be=U[1];return[X(ee),be]}).filter(function(D){var U=w(D,2),ee=U[0];return U[1],!Je(ee)})}i("c740");function ie(R,D){if(!(R instanceof D))throw new TypeError("Cannot call a class as a function")}function ge(R,D){for(var U=0;U<D.length;U++){var ee=D[U];ee.enumerable=ee.enumerable||!1,ee.configurable=!0,"value"in ee&&(ee.writable=!0),Object.defineProperty(R,ee.key,ee)}}function Ve(R,D,U){return D&&ge(R.prototype,D),U&&ge(R,U),R}var Ke=function(D){var U=D.el;return U},T=function(D,U){return D.__draggable_context=U},O=function(D){return D.__draggable_context},H=function(){function R(D){var U=D.nodes,ee=U.header,be=U.default,$e=U.footer,De=D.root,Re=D.realList;ie(this,R),this.defaultNodes=be,this.children=[].concat(x(ee),x(be),x($e)),this.externalComponent=De.externalComponent,this.rootTransition=De.transition,this.tag=De.tag,this.realList=Re}return Ve(R,[{key:"render",value:function(U,ee){var be=this.tag,$e=this.children,De=this._isRootComponent,Re=De?{default:function(){return $e}}:$e;return U(be,ee,Re)}},{key:"updated",value:function(){var U=this.defaultNodes,ee=this.realList;U.forEach(function(be,$e){T(Ke(be),{element:ee[$e],index:$e})})}},{key:"getUnderlyingVm",value:function(U){return O(U)}},{key:"getVmIndexFromDomIndex",value:function(U,ee){var be=this.defaultNodes,$e=be.length,De=ee.children,Re=De.item(U);if(Re===null)return $e;var rt=O(Re);if(rt)return rt.index;if($e===0)return 0;var Ae=Ke(be[0]),xe=x(De).findIndex(function(Te){return Te===Ae});return U<xe?0:$e}},{key:"_isRootComponent",get:function(){return this.externalComponent||this.rootTransition}}]),R}(),Y=i("8bbf");function K(R,D){var U=R[D];return U?U():[]}function ae(R){var D=R.$slots,U=R.realList,ee=R.getKey,be=U||[],$e=["header","footer"].map(function(Te){return K(D,Te)}),De=w($e,2),Re=De[0],rt=De[1],Ae=D.item;if(!Ae)throw new Error("draggable element must have an item slot");var xe=be.flatMap(function(Te,Ze){return Ae({element:Te,index:Ze}).map(function(tt){return tt.key=ee(Te),tt.props=f(f({},tt.props||{}),{},{"data-draggable":!0}),tt})});if(xe.length!==be.length)throw new Error("Item slot must have only one child");return{header:Re,footer:rt,default:xe}}function de(R){var D=dt(R),U=!Ue(R)&&!D;return{transition:D,externalComponent:U,tag:U?Object(Y.resolveComponent)(R):D?Y.TransitionGroup:R}}function ne(R){var D=R.$slots,U=R.tag,ee=R.realList,be=R.getKey,$e=ae({$slots:D,realList:ee,getKey:be}),De=de(U);return new H({nodes:$e,root:De,realList:ee})}function le(R,D){var U=this;Object(Y.nextTick)(function(){return U.$emit(R.toLowerCase(),D)})}function Q(R){var D=this;return function(U,ee){if(D.realList!==null)return D["onDrag".concat(R)](U,ee)}}function he(R){var D=this,U=Q.call(this,R);return function(ee,be){U.call(D,ee,be),le.call(D,R,ee)}}var me=null,L={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(D){return D}},tag:{type:String,default:"div"},move:{type:Function,default:null},componentData:{type:Object,required:!1,default:null}},q=["update:modelValue","change"].concat(x([].concat(x(je.manageAndEmit),x(je.emit)).map(function(R){return R.toLowerCase()}))),ye=Object(Y.defineComponent)({name:"draggable",inheritAttrs:!1,props:L,emits:q,data:function(){return{error:!1}},render:function(){try{this.error=!1;var D=this.$slots,U=this.$attrs,ee=this.tag,be=this.componentData,$e=this.realList,De=this.getKey,Re=ne({$slots:D,tag:ee,realList:$e,getKey:De});this.componentStructure=Re;var rt=Me({$attrs:U,componentData:be});return Re.render(Y.h,rt)}catch(Ae){return this.error=!0,Object(Y.h)("pre",{style:{color:"red"}},Ae.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 D=this;if(!this.error){var U=this.$attrs,ee=this.$el,be=this.componentStructure;be.updated();var $e=W({$attrs:U,callBackBuilder:{manageAndEmit:function(rt){return he.call(D,rt)},emit:function(rt){return le.bind(D,rt)},manage:function(rt){return Q.call(D,rt)}}}),De=ee.nodeType===1?ee:ee.parentElement;this._sortable=new P.a(De,$e),this.targetDomElement=De,De.__draggable_component__=this}},updated:function(){this.componentStructure.updated()},beforeUnmount:function(){this._sortable!==void 0&&this._sortable.destroy()},computed:{realList:function(){var D=this.list;return D||this.modelValue},getKey:function(){var D=this.itemKey;return typeof D=="function"?D:function(U){return U[D]}}},watch:{$attrs:{handler:function(D){var U=this._sortable;U&&ce(D).forEach(function(ee){var be=w(ee,2),$e=be[0],De=be[1];U.option($e,De)})},deep:!0}},methods:{getUnderlyingVm:function(D){return this.componentStructure.getUnderlyingVm(D)||null},getUnderlyingPotencialDraggableComponent:function(D){return D.__draggable_component__},emitChanges:function(D){var U=this;Object(Y.nextTick)(function(){return U.$emit("change",D)})},alterList:function(D){if(this.list){D(this.list);return}var U=x(this.modelValue);D(U),this.$emit("update:modelValue",U)},spliceList:function(){var D=arguments,U=function(be){return be.splice.apply(be,x(D))};this.alterList(U)},updatePosition:function(D,U){var ee=function($e){return $e.splice(U,0,$e.splice(D,1)[0])};this.alterList(ee)},getRelatedContextFromMoveEvent:function(D){var U=D.to,ee=D.related,be=this.getUnderlyingPotencialDraggableComponent(U);if(!be)return{component:be};var $e=be.realList,De={list:$e,component:be};if(U!==ee&&$e){var Re=be.getUnderlyingVm(ee)||{};return f(f({},Re),De)}return De},getVmIndexFromDomIndex:function(D){return this.componentStructure.getVmIndexFromDomIndex(D,this.targetDomElement)},onDragStart:function(D){this.context=this.getUnderlyingVm(D.item),D.item._underlying_vm_=this.clone(this.context.element),me=D.item},onDragAdd:function(D){var U=D.item._underlying_vm_;if(U!==void 0){I(D.item);var ee=this.getVmIndexFromDomIndex(D.newIndex);this.spliceList(ee,0,U);var be={element:U,newIndex:ee};this.emitChanges({added:be})}},onDragRemove:function(D){if(N(this.$el,D.item,D.oldIndex),D.pullMode==="clone"){I(D.clone);return}var U=this.context,ee=U.index,be=U.element;this.spliceList(ee,1);var $e={element:be,oldIndex:ee};this.emitChanges({removed:$e})},onDragUpdate:function(D){I(D.item),N(D.from,D.item,D.oldIndex);var U=this.context.index,ee=this.getVmIndexFromDomIndex(D.newIndex);this.updatePosition(U,ee);var be={element:this.context.element,oldIndex:U,newIndex:ee};this.emitChanges({moved:be})},computeFutureIndex:function(D,U){if(!D.element)return 0;var ee=x(U.to.children).filter(function(Re){return Re.style.display!=="none"}),be=ee.indexOf(U.related),$e=D.component.getVmIndexFromDomIndex(be),De=ee.indexOf(me)!==-1;return De||!U.willInsertAfter?$e:$e+1},onDragMove:function(D,U){var ee=this.move,be=this.realList;if(!ee||!be)return!0;var $e=this.getRelatedContextFromMoveEvent(D),De=this.computeFutureIndex($e,D),Re=f(f({},this.context),{},{futureIndex:De}),rt=f(f({},D),{},{relatedContext:$e,draggedContext:Re});return ee(rt,U)},onDragEnd:function(){me=null}}}),Ee=ye;s.default=Ee},fb6a:function(o,s,i){var a=i("23e7"),l=i("861d"),u=i("e8b5"),m=i("23cb"),d=i("50c4"),f=i("fc6a"),p=i("8418"),h=i("b622"),_=i("1dde"),b=i("ae40"),C=_("slice"),w=b("slice",{ACCESSORS:!0,0:0,1:2}),v=h("species"),z=[].slice,E=Math.max;a({target:"Array",proto:!0,forced:!C||!w},{slice:function(M,P){var I=f(this),N=d(I.length),Z=m(M,N),j=m(P===void 0?N:P,N),B,X,pe;if(u(I)&&(B=I.constructor,typeof B=="function"&&(B===Array||u(B.prototype))?B=void 0:l(B)&&(B=B[v],B===null&&(B=void 0)),B===Array||B===void 0))return z.call(I,Z,j);for(X=new(B===void 0?Array:B)(E(j-Z,0)),pe=0;Z<j;Z++,pe++)Z in I&&p(X,pe,I[Z]);return X.length=pe,X}})},fc6a:function(o,s,i){var a=i("44ad"),l=i("1d80");o.exports=function(u){return a(l(u))}},fdbc:function(o,s){o.exports={CSSRuleList:0,CSSStyleDeclaration:0,CSSValueList:0,ClientRectList:0,DOMRectList:0,DOMStringList:0,DOMTokenList:1,DataTransferItemList:0,FileList:0,HTMLAllCollection:0,HTMLCollection:0,HTMLFormElement:0,HTMLSelectElement:0,MediaList:0,MimeTypeArray:0,NamedNodeMap:0,NodeList:1,PaintRequestList:0,Plugin:0,PluginArray:0,SVGLengthList:0,SVGNumberList:0,SVGPathSegList:0,SVGPointList:0,SVGStringList:0,SVGTransformList:0,SourceBufferList:0,StyleSheetList:0,TextTrackCueList:0,TextTrackList:0,TouchList:0}},fdbf:function(o,s,i){var a=i("4930");o.exports=a&&!Symbol.sham&&typeof Symbol.iterator=="symbol"}}).default})})(D1);var yU=D1.exports;const vU=ec(yU),bU={name:"PageQueue",components:{ContentWithHeading:et,ListItemQueueItem:eH,ModalDialogAddUrlStream:gH,ModalDialogPlaylistSave:RH,ModalDialogQueueItem:R1,draggable:vU},data(){return{edit_mode:!1,selected_item:{},show_details_modal:!1,show_pls_save_modal:!1,show_url_modal:!1}},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=e.oldIndex+(this.show_only_next_items&&this.current_position),n=this.queue_items[t],r=n.position+(e.newIndex-e.oldIndex);r!==t&&V.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(){V.queue_clear()},remove(e){V.queue_remove(e.id)},update_show_next_items(e){this.$store.commit(zh,!this.show_only_next_items)},save_dialog(){this.queue_items.length>0&&(this.show_pls_save_modal=!0)}}},zU=["textContent"],wU=["textContent"],CU={class:"buttons is-centered"},kU=["textContent"],xU=["textContent"],SU=["disabled"],EU=["textContent"],$U=["disabled"],TU=["textContent"],AU=["disabled"],OU=["textContent"],PU=["onClick"],IU=["onClick"];function RU(e,t,n,r,o,s){const i=$("mdicon"),a=$("list-item-queue-item"),l=$("draggable"),u=$("modal-dialog-queue-item"),m=$("modal-dialog-add-url-stream"),d=$("modal-dialog-playlist-save"),f=$("content-with-heading");return k(),A("div",null,[y(f,null,{"heading-left":S(()=>[c("p",{class:"title is-4",textContent:g(e.$t("page.queue.title"))},null,8,zU),c("p",{class:"heading",textContent:g(e.$t("page.queue.count",{count:s.queue.count}))},null,8,wU)]),"heading-right":S(()=>[c("div",CU,[c("button",{class:Se(["button is-small",{"is-info":s.show_only_next_items}]),onClick:t[0]||(t[0]=(...p)=>s.update_show_next_items&&s.update_show_next_items(...p))},[y(i,{class:"icon",name:"arrow-collapse-down",size:"16"}),c("span",{textContent:g(e.$t("page.queue.hide-previous"))},null,8,kU)],2),c("button",{class:"button is-small",onClick:t[1]||(t[1]=(...p)=>s.open_add_stream_dialog&&s.open_add_stream_dialog(...p))},[y(i,{class:"icon",name:"web",size:"16"}),c("span",{textContent:g(e.$t("page.queue.add-stream"))},null,8,xU)]),c("button",{class:Se(["button is-small",{"is-info":o.edit_mode}]),disabled:s.queue_items.length===0,onClick:t[2]||(t[2]=p=>o.edit_mode=!o.edit_mode)},[y(i,{class:"icon",name:"pencil",size:"16"}),c("span",{textContent:g(e.$t("page.queue.edit"))},null,8,EU)],10,SU),c("button",{class:"button is-small",disabled:s.queue_items.length===0,onClick:t[3]||(t[3]=(...p)=>s.queue_clear&&s.queue_clear(...p))},[y(i,{class:"icon",name:"delete-empty",size:"16"}),c("span",{textContent:g(e.$t("page.queue.clear"))},null,8,TU)],8,$U),s.is_queue_save_allowed?(k(),A("button",{key:0,class:"button is-small",disabled:s.queue_items.length===0,onClick:t[4]||(t[4]=(...p)=>s.save_dialog&&s.save_dialog(...p))},[y(i,{class:"icon",name:"content-save",size:"16"}),c("span",{textContent:g(e.$t("page.queue.save"))},null,8,OU)],8,AU)):F("",!0)])]),content:S(()=>[y(l,{modelValue:s.queue_items,"onUpdate:modelValue":t[5]||(t[5]=p=>s.queue_items=p),handle:".handle","item-key":"id",onEnd:s.move_item},{item:S(({element:p,index:h})=>[y(a,{item:p,position:h,current_position:s.current_position,show_only_next_items:s.show_only_next_items,edit_mode:o.edit_mode},{actions:S(()=>[o.edit_mode?F("",!0):(k(),A("a",{key:0,onClick:ot(_=>s.open_dialog(p),["prevent","stop"])},[y(i,{class:"icon has-text-dark",name:"dots-vertical",size:"16"})],8,PU)),p.id!==s.state.item_id&&o.edit_mode?(k(),A("a",{key:1,onClick:ot(_=>s.remove(p),["prevent","stop"])},[y(i,{class:"icon has-text-grey",name:"delete",size:"18"})],8,IU)):F("",!0)]),_:2},1032,["item","position","current_position","show_only_next_items","edit_mode"])]),_:1},8,["modelValue","onEnd"]),y(u,{show:o.show_details_modal,item:o.selected_item,onClose:t[6]||(t[6]=p=>o.show_details_modal=!1)},null,8,["show","item"]),y(m,{show:o.show_url_modal,onClose:t[7]||(t[7]=p=>o.show_url_modal=!1)},null,8,["show"]),s.is_queue_save_allowed?(k(),_e(d,{key:0,show:o.show_pls_save_modal,onClose:t[8]||(t[8]=p=>o.show_pls_save_modal=!1)},null,8,["show"])):F("",!0)]),_:1})])}const DU=te(bU,[["render",RU]]),Ma={load(e){return V.library_radio_streams()},set(e,t){e.tracks=new ve(t.data.tracks)}},LU={name:"PageRadioStreams",components:{ContentWithHeading:et,ListTracks:zn},beforeRouteEnter(e,t,n){Ma.load(e).then(r=>{n(o=>Ma.set(o,r))})},beforeRouteUpdate(e,t,n){const r=this;Ma.load(e).then(o=>{Ma.set(r,o),n()})},data(){return{tracks:new ve}}},NU=["textContent"],MU=["textContent"];function FU(e,t,n,r,o,s){const i=$("list-tracks"),a=$("content-with-heading");return k(),A("div",null,[y(a,null,{"heading-left":S(()=>[c("p",{class:"title is-4",textContent:g(e.$t("page.radio.title"))},null,8,NU),c("p",{class:"heading has-text-centered-mobile",textContent:g(e.$t("page.radio.count",{count:o.tracks.total}))},null,8,MU)]),content:S(()=>[y(i,{tracks:o.tracks},null,8,["tracks"])]),_:1})])}const VU=te(LU,[["render",FU]]),HU={name:"ContentText"},UU={class:"section py-3"},jU={class:"container"},qU={class:"columns is-centered"},BU={class:"column is-four-fifths"};function WU(e,t,n,r,o,s){return k(),A("section",UU,[c("div",jU,[c("div",qU,[c("div",BU,[it(e.$slots,"content")])])])])}const G1=te(HU,[["render",WU]]),GU={name:"TabsSearch",props:{query:{default:"",type:String}},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(ru,"library"),this.$router.push({name:"search-library",query:this.route_query})},search_spotify(){this.$store.commit(ru,"spotify"),this.$router.push({name:"search-spotify",query:this.route_query})}}},KU={key:0,class:"section"},ZU={class:"container"},YU={class:"columns is-centered"},JU={class:"column is-four-fifths"},XU={class:"tabs is-centered is-small is-toggle is-toggle-rounded"},QU=["textContent"],ej=["textContent"];function tj(e,t,n,r,o,s){const i=$("mdicon");return s.spotify_enabled?(k(),A("section",KU,[c("div",ZU,[c("div",YU,[c("div",JU,[c("div",XU,[c("ul",null,[c("li",{class:Se({"is-active":e.$store.state.search_source==="library"})},[c("a",{onClick:t[0]||(t[0]=(...a)=>s.search_library&&s.search_library(...a))},[y(i,{class:"icon is-small",name:"bookshelf",size:"16"}),c("span",{textContent:g(e.$t("page.search.tabs.library"))},null,8,QU)])],2),c("li",{class:Se({"is-active":e.$store.state.search_source==="spotify"})},[c("a",{onClick:t[1]||(t[1]=(...a)=>s.search_spotify&&s.search_spotify(...a))},[y(i,{class:"icon is-small",name:"spotify",size:"16"}),c("span",{textContent:g(e.$t("page.search.tabs.spotify"))},null,8,ej)])],2)])])])])])])):F("",!0)}const K1=te(GU,[["render",tj]]),nj={name:"PageSearchLibrary",components:{ContentText:G1,ContentWithHeading:et,ListAlbums:lr,ListArtists:hm,ListComposers:O1,ListPlaylists:vm,ListTracks:zn,TabsSearch:K1},data(){return{albums:new ve,artists:new ve,audiobooks:new ve,composers:new ve,playlists:new ve,podcasts:new ve,search_query:"",tracks:new ve}},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.dispatch("add_recent_search",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),V.search(t).then(({data:n})=>{this.tracks=new ve(n.tracks),this.artists=new ve(n.artists),this.albums=new ve(n.albums),this.composers=new ve(n.composers),this.playlists=new ve(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),V.search(t).then(({data:n})=>{this.audiobooks=new ve(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),V.search(t).then(({data:n})=>{this.podcasts=new ve(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_recent_search(e){this.search_query=e,this.new_search()}}},rj={class:"section pb-0"},oj={class:"container"},sj={class:"columns is-centered"},ij={class:"column is-four-fifths"},aj={class:"field"},lj={class:"control has-icons-left"},cj=["placeholder"],uj=c("code",null,"query:",-1),dj=["textContent"],mj={class:"tags mt-4"},fj=["onClick","textContent"],pj=["textContent"],hj={key:0,class:"level"},_j={class:"level-item"},gj=["textContent"],yj=["textContent"],vj=["textContent"],bj={key:0,class:"level"},zj={class:"level-item"},wj=["textContent"],Cj=["textContent"],kj=["textContent"],xj={key:0,class:"level"},Sj={class:"level-item"},Ej=["textContent"],$j=["textContent"],Tj=["textContent"],Aj={key:0,class:"level"},Oj={class:"level-item"},Pj=["textContent"],Ij=["textContent"],Rj=["textContent"],Dj={key:0,class:"level"},Lj={class:"level-item"},Nj=["textContent"],Mj=["textContent"],Fj=["textContent"],Vj={key:0,class:"level"},Hj={class:"level-item"},Uj=["textContent"],jj=["textContent"],qj=["textContent"],Bj={key:0,class:"level"},Wj={class:"level-item"},Gj=["textContent"],Kj=["textContent"];function Zj(e,t,n,r,o,s){const i=$("mdicon"),a=$("i18n-t"),l=$("tabs-search"),u=$("list-tracks"),m=$("content-with-heading"),d=$("content-text"),f=$("list-artists"),p=$("list-albums"),h=$("list-composers"),_=$("list-playlists");return k(),A("div",null,[c("section",rj,[c("div",oj,[c("div",sj,[c("div",ij,[c("form",{onSubmit:t[1]||(t[1]=ot((...b)=>s.new_search&&s.new_search(...b),["prevent"]))},[c("div",aj,[c("p",lj,[yt(c("input",{ref:"search_field","onUpdate:modelValue":t[0]||(t[0]=b=>o.search_query=b),class:"input is-rounded is-shadowless",type:"text",placeholder:e.$t("page.search.placeholder"),autocomplete:"off"},null,8,cj),[[un,o.search_query]]),y(i,{class:"icon is-left",name:"magnify",size:"16"})]),y(a,{tag:"p",class:"help has-text-centered",keypath:"page.search.help",scope:"global"},{query:S(()=>[uj]),help:S(()=>[c("a",{href:"https://owntone.github.io/owntone-server/smart-playlists/",target:"_blank",textContent:g(e.$t("page.search.expression"))},null,8,dj)]),_:1})])],32),c("div",mj,[(k(!0),A(Ce,null,ut(s.recent_searches,b=>(k(),A("a",{key:b,class:"tag",onClick:C=>s.open_recent_search(b),textContent:g(b)},null,8,fj))),128))])])])])]),y(l,{query:o.search_query},null,8,["query"]),s.show_tracks&&o.tracks.total?(k(),_e(m,{key:0,class:"pt-0"},{"heading-left":S(()=>[c("p",{class:"title is-4",textContent:g(e.$t("page.search.tracks"))},null,8,pj)]),content:S(()=>[y(u,{tracks:o.tracks},null,8,["tracks"])]),footer:S(()=>[s.show_all_tracks_button?(k(),A("nav",hj,[c("p",_j,[c("a",{class:"button is-light is-small is-rounded",onClick:t[2]||(t[2]=(...b)=>s.open_search_tracks&&s.open_search_tracks(...b)),textContent:g(e.$t("page.search.show-tracks",o.tracks.total,{count:e.$filters.number(o.tracks.total)}))},null,8,gj)])])):F("",!0)]),_:1})):F("",!0),s.show_tracks&&!o.tracks.total?(k(),_e(d,{key:1,class:"pt-0"},{content:S(()=>[c("p",null,[c("i",{textContent:g(e.$t("page.search.no-tracks"))},null,8,yj)])]),_:1})):F("",!0),s.show_artists&&o.artists.total?(k(),_e(m,{key:2},{"heading-left":S(()=>[c("p",{class:"title is-4",textContent:g(e.$t("page.search.artists"))},null,8,vj)]),content:S(()=>[y(f,{artists:o.artists,hide_group_title:!0},null,8,["artists"])]),footer:S(()=>[s.show_all_artists_button?(k(),A("nav",bj,[c("p",zj,[c("a",{class:"button is-light is-small is-rounded",onClick:t[3]||(t[3]=(...b)=>s.open_search_artists&&s.open_search_artists(...b)),textContent:g(e.$t("page.search.show-artists",o.artists.total,{count:e.$filters.number(o.artists.total)}))},null,8,wj)])])):F("",!0)]),_:1})):F("",!0),s.show_artists&&!o.artists.total?(k(),_e(d,{key:3},{content:S(()=>[c("p",null,[c("i",{textContent:g(e.$t("page.search.no-artists"))},null,8,Cj)])]),_:1})):F("",!0),s.show_albums&&o.albums.total?(k(),_e(m,{key:4},{"heading-left":S(()=>[c("p",{class:"title is-4",textContent:g(e.$t("page.search.albums"))},null,8,kj)]),content:S(()=>[y(p,{albums:o.albums,hide_group_title:!0},null,8,["albums"])]),footer:S(()=>[s.show_all_albums_button?(k(),A("nav",xj,[c("p",Sj,[c("a",{class:"button is-light is-small is-rounded",onClick:t[4]||(t[4]=(...b)=>s.open_search_albums&&s.open_search_albums(...b)),textContent:g(e.$t("page.search.show-albums",o.albums.total,{count:e.$filters.number(o.albums.total)}))},null,8,Ej)])])):F("",!0)]),_:1})):F("",!0),s.show_albums&&!o.albums.total?(k(),_e(d,{key:5},{content:S(()=>[c("p",null,[c("i",{textContent:g(e.$t("page.search.no-albums"))},null,8,$j)])]),_:1})):F("",!0),s.show_composers&&o.composers.total?(k(),_e(m,{key:6},{"heading-left":S(()=>[c("p",{class:"title is-4",textContent:g(e.$t("page.search.composers"))},null,8,Tj)]),content:S(()=>[y(h,{composers:o.composers},null,8,["composers"])]),footer:S(()=>[s.show_all_composers_button?(k(),A("nav",Aj,[c("p",Oj,[c("a",{class:"button is-light is-small is-rounded",onClick:t[5]||(t[5]=(...b)=>s.open_search_composers&&s.open_search_composers(...b)),textContent:g(e.$t("page.search.show-composers",o.composers.total,{count:e.$filters.number(o.composers.total)}))},null,8,Pj)])])):F("",!0)]),_:1})):F("",!0),s.show_composers&&!o.composers.total?(k(),_e(d,{key:7},{content:S(()=>[c("p",null,[c("i",{textContent:g(e.$t("page.search.no-composers"))},null,8,Ij)])]),_:1})):F("",!0),s.show_playlists&&o.playlists.total?(k(),_e(m,{key:8},{"heading-left":S(()=>[c("p",{class:"title is-4",textContent:g(e.$t("page.search.playlists"))},null,8,Rj)]),content:S(()=>[y(_,{playlists:o.playlists},null,8,["playlists"])]),footer:S(()=>[s.show_all_playlists_button?(k(),A("nav",Dj,[c("p",Lj,[c("a",{class:"button is-light is-small is-rounded",onClick:t[6]||(t[6]=(...b)=>s.open_search_playlists&&s.open_search_playlists(...b)),textContent:g(e.$t("page.search.show-playlists",o.playlists.total,{count:e.$filters.number(o.playlists.total)}))},null,8,Nj)])])):F("",!0)]),_:1})):F("",!0),s.show_playlists&&!o.playlists.total?(k(),_e(d,{key:9},{content:S(()=>[c("p",null,[c("i",{textContent:g(e.$t("page.search.no-playlists"))},null,8,Mj)])]),_:1})):F("",!0),s.show_podcasts&&o.podcasts.total?(k(),_e(m,{key:10},{"heading-left":S(()=>[c("p",{class:"title is-4",textContent:g(e.$t("page.search.podcasts"))},null,8,Fj)]),content:S(()=>[y(p,{albums:o.podcasts},null,8,["albums"])]),footer:S(()=>[s.show_all_podcasts_button?(k(),A("nav",Vj,[c("p",Hj,[c("a",{class:"button is-light is-small is-rounded",onClick:t[7]||(t[7]=(...b)=>s.open_search_podcasts&&s.open_search_podcasts(...b)),textContent:g(e.$t("page.search.show-podcasts",o.podcasts.total,{count:e.$filters.number(o.podcasts.total)}))},null,8,Uj)])])):F("",!0)]),_:1})):F("",!0),s.show_podcasts&&!o.podcasts.total?(k(),_e(d,{key:11},{content:S(()=>[c("p",null,[c("i",{textContent:g(e.$t("page.search.no-podcasts"))},null,8,jj)])]),_:1})):F("",!0),s.show_audiobooks&&o.audiobooks.total?(k(),_e(m,{key:12},{"heading-left":S(()=>[c("p",{class:"title is-4",textContent:g(e.$t("page.search.audiobooks"))},null,8,qj)]),content:S(()=>[y(p,{albums:o.audiobooks},null,8,["albums"])]),footer:S(()=>[s.show_all_audiobooks_button?(k(),A("nav",Bj,[c("p",Wj,[c("a",{class:"button is-light is-small is-rounded",onClick:t[8]||(t[8]=(...b)=>s.open_search_audiobooks&&s.open_search_audiobooks(...b)),textContent:g(e.$t("page.search.show-audiobooks",o.audiobooks.total,{count:e.$filters.number(o.audiobooks.total)}))},null,8,Gj)])])):F("",!0)]),_:1})):F("",!0),s.show_audiobooks&&!o.audiobooks.total?(k(),_e(d,{key:13},{content:S(()=>[c("p",null,[c("i",{textContent:g(e.$t("page.search.no-audiobooks"))},null,8,Kj)])]),_:1})):F("",!0)])}const Yj=te(nj,[["render",Zj]]),Jj={name:"ListItemArtistSpotify",props:{artist:{required:!0,type:Object}},methods:{open_artist(){this.$router.push({name:"music-spotify-artist",params:{id:this.artist.id}})}}},Xj={class:"media is-align-items-center"},Qj=["textContent"],eq={class:"media-right"};function tq(e,t,n,r,o,s){return k(),A("div",Xj,[c("div",{class:"media-content is-clickable is-clipped",onClick:t[0]||(t[0]=(...i)=>s.open_artist&&s.open_artist(...i))},[c("h1",{class:"title is-6",textContent:g(n.artist.name)},null,8,Qj)]),c("div",eq,[it(e.$slots,"actions")])])}const nq=te(Jj,[["render",tq]]),Ps=50,rq={name:"PageSearchSpotify",components:{ContentText:G1,ContentWithHeading:et,CoverArtwork:Dn,ListItemAlbumSpotify:uc,ListItemArtistSpotify:nq,ListItemPlaylistSpotify:bm,ListItemTrackSpotify:mm,ModalDialogAlbumSpotify:Pi,ModalDialogArtistSpotify:T1,ModalDialogPlaylistSpotify:dc,ModalDialogTrackSpotify:fm,TabsSearch:K1,VueEternalLoading:pm},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){var t,n;return((n=(t=e.images)==null?void 0:t[0])==null?void 0:n.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:Ps,this.search_param.offset=this.query.offset?this.query.offset:0,this.$store.dispatch("add_recent_search",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,Ps)})},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,Ps)})},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,Ps)})},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,Ps)})},spotify_search(){return V.spotify().then(({data:e})=>{this.search_param.market=e.webapi_country;const t=new Zn;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)})}}},oq={class:"section pb-0"},sq={class:"container"},iq={class:"columns is-centered"},aq={class:"column is-four-fifths"},lq={class:"field"},cq={class:"control has-icons-left"},uq=["placeholder"],dq={class:"tags mt-4"},mq=["onClick","textContent"],fq=["textContent"],pq=["onClick"],hq={class:"columns is-centered"},_q={class:"column has-text-centered"},gq={key:0,class:"level"},yq={class:"level-item"},vq=["textContent"],bq=["textContent"],zq=["textContent"],wq=["onClick"],Cq={class:"columns is-centered"},kq={class:"column has-text-centered"},xq={key:0,class:"level"},Sq={class:"level-item"},Eq=["textContent"],$q=["textContent"],Tq=["textContent"],Aq=["onClick"],Oq={class:"columns is-centered"},Pq={class:"column has-text-centered"},Iq={key:0,class:"level"},Rq={class:"level-item"},Dq=["textContent"],Lq=["textContent"],Nq=["textContent"],Mq=["onClick"],Fq={class:"columns is-centered"},Vq={class:"column has-text-centered"},Hq={key:0,class:"level"},Uq={class:"level-item"},jq=["textContent"],qq=["textContent"];function Bq(e,t,n,r,o,s){const i=$("mdicon"),a=$("tabs-search"),l=$("list-item-track-spotify"),u=$("VueEternalLoading"),m=$("modal-dialog-track-spotify"),d=$("content-with-heading"),f=$("content-text"),p=$("list-item-artist-spotify"),h=$("modal-dialog-artist-spotify"),_=$("cover-artwork"),b=$("list-item-album-spotify"),C=$("modal-dialog-album-spotify"),w=$("list-item-playlist-spotify"),v=$("modal-dialog-playlist-spotify");return k(),A("div",null,[c("section",oq,[c("div",sq,[c("div",iq,[c("div",aq,[c("form",{onSubmit:t[1]||(t[1]=ot((...z)=>s.new_search&&s.new_search(...z),["prevent"]))},[c("div",lq,[c("p",cq,[yt(c("input",{ref:"search_field","onUpdate:modelValue":t[0]||(t[0]=z=>o.search_query=z),class:"input is-rounded is-shadowless",type:"text",placeholder:e.$t("page.spotify.search.placeholder"),autocomplete:"off"},null,8,uq),[[un,o.search_query]]),y(i,{class:"icon is-left",name:"magnify",size:"16"})])])],32),c("div",dq,[(k(!0),A(Ce,null,ut(s.recent_searches,z=>(k(),A("a",{key:z,class:"tag",onClick:E=>s.open_recent_search(z),textContent:g(z)},null,8,mq))),128))])])])])]),y(a,{query:o.search_query},null,8,["query"]),s.show_tracks&&o.tracks.total?(k(),_e(d,{key:0,class:"pt-0"},{"heading-left":S(()=>[c("p",{class:"title is-4",textContent:g(e.$t("page.spotify.search.tracks"))},null,8,fq)]),content:S(()=>[(k(!0),A(Ce,null,ut(o.tracks.items,z=>(k(),_e(l,{key:z.id,track:z,position:0,context_uri:z.uri},{actions:S(()=>[c("a",{onClick:ot(E=>s.open_track_dialog(z),["prevent","stop"])},[y(i,{class:"icon has-text-dark",name:"dots-vertical",size:"16"})],8,pq)]),_:2},1032,["track","context_uri"]))),128)),o.query.type==="track"?(k(),_e(u,{key:0,load:s.search_tracks_next},{loading:S(()=>[c("div",hq,[c("div",_q,[y(i,{class:"icon mdi-spin",name:"loading"})])])]),"no-more":S(()=>[gt(" ")]),_:1},8,["load"])):F("",!0),y(m,{show:o.show_track_details_modal,track:o.selected_track,album:o.selected_track.album,onClose:t[2]||(t[2]=z=>o.show_track_details_modal=!1)},null,8,["show","track","album"])]),footer:S(()=>[s.show_all_tracks_button?(k(),A("nav",gq,[c("p",yq,[c("a",{class:"button is-light is-small is-rounded",onClick:t[3]||(t[3]=(...z)=>s.open_search_tracks&&s.open_search_tracks(...z)),textContent:g(e.$t("page.spotify.search.show-all-tracks",o.tracks.total,{count:e.$filters.number(o.tracks.total)}))},null,8,vq)])])):F("",!0)]),_:1})):F("",!0),s.show_tracks&&!o.tracks.total?(k(),_e(f,{key:1,class:"pt-0"},{content:S(()=>[c("p",null,[c("i",{textContent:g(e.$t("page.spotify.search.no-tracks"))},null,8,bq)])]),_:1})):F("",!0),s.show_artists&&o.artists.total?(k(),_e(d,{key:2},{"heading-left":S(()=>[c("p",{class:"title is-4",textContent:g(e.$t("page.spotify.search.artists"))},null,8,zq)]),content:S(()=>[(k(!0),A(Ce,null,ut(o.artists.items,z=>(k(),_e(p,{key:z.id,artist:z},{actions:S(()=>[c("a",{onClick:ot(E=>s.open_artist_dialog(z),["prevent","stop"])},[y(i,{class:"icon has-text-dark",name:"dots-vertical",size:"16"})],8,wq)]),_:2},1032,["artist"]))),128)),o.query.type==="artist"?(k(),_e(u,{key:0,load:s.search_artists_next},{loading:S(()=>[c("div",Cq,[c("div",kq,[y(i,{class:"icon mdi-spin",name:"loading"})])])]),"no-more":S(()=>[gt(" ")]),_:1},8,["load"])):F("",!0),y(h,{show:o.show_artist_details_modal,artist:o.selected_artist,onClose:t[4]||(t[4]=z=>o.show_artist_details_modal=!1)},null,8,["show","artist"])]),footer:S(()=>[s.show_all_artists_button?(k(),A("nav",xq,[c("p",Sq,[c("a",{class:"button is-light is-small is-rounded",onClick:t[5]||(t[5]=(...z)=>s.open_search_artists&&s.open_search_artists(...z)),textContent:g(e.$t("page.spotify.search.show-all-artists",o.artists.total,{count:e.$filters.number(o.artists.total)}))},null,8,Eq)])])):F("",!0)]),_:1})):F("",!0),s.show_artists&&!o.artists.total?(k(),_e(f,{key:3},{content:S(()=>[c("p",null,[c("i",{textContent:g(e.$t("page.spotify.search.no-artists"))},null,8,$q)])]),_:1})):F("",!0),s.show_albums&&o.albums.total?(k(),_e(d,{key:4},{"heading-left":S(()=>[c("p",{class:"title is-4",textContent:g(e.$t("page.spotify.search.albums"))},null,8,Tq)]),content:S(()=>[(k(!0),A(Ce,null,ut(o.albums.items,z=>(k(),_e(b,{key:z.id,album:z,onClick:E=>s.open_album(z)},ki({actions:S(()=>[c("a",{onClick:ot(E=>s.open_album_dialog(z),["prevent","stop"])},[y(i,{class:"icon has-text-dark",name:"dots-vertical",size:"16"})],8,Aq)]),_:2},[s.is_visible_artwork?{name:"artwork",fn:S(()=>[y(_,{artwork_url:s.artwork_url(z),artist:z.artist,album:z.name,class:"is-clickable fd-has-shadow fd-cover fd-cover-small-image"},null,8,["artwork_url","artist","album"])]),key:"0"}:void 0]),1032,["album","onClick"]))),128)),o.query.type==="album"?(k(),_e(u,{key:0,load:s.search_albums_next},{loading:S(()=>[c("div",Oq,[c("div",Pq,[y(i,{class:"icon mdi-spin",name:"loading"})])])]),"no-more":S(()=>[gt(" ")]),_:1},8,["load"])):F("",!0),y(C,{show:o.show_album_details_modal,album:o.selected_album,onClose:t[6]||(t[6]=z=>o.show_album_details_modal=!1)},null,8,["show","album"])]),footer:S(()=>[s.show_all_albums_button?(k(),A("nav",Iq,[c("p",Rq,[c("a",{class:"button is-light is-small is-rounded",onClick:t[7]||(t[7]=(...z)=>s.open_search_albums&&s.open_search_albums(...z)),textContent:g(e.$t("page.spotify.search.show-all-albums",o.albums.total,{count:e.$filters.number(o.albums.total)}))},null,8,Dq)])])):F("",!0)]),_:1})):F("",!0),s.show_albums&&!o.albums.total?(k(),_e(f,{key:5},{content:S(()=>[c("p",null,[c("i",{textContent:g(e.$t("page.spotify.search.no-albums"))},null,8,Lq)])]),_:1})):F("",!0),s.show_playlists&&o.playlists.total?(k(),_e(d,{key:6},{"heading-left":S(()=>[c("p",{class:"title is-4",textContent:g(e.$t("page.spotify.search.playlists"))},null,8,Nq)]),content:S(()=>[(k(!0),A(Ce,null,ut(o.playlists.items,z=>(k(),_e(w,{key:z.id,playlist:z},{actions:S(()=>[c("a",{onClick:ot(E=>s.open_playlist_dialog(z),["prevent","stop"])},[y(i,{class:"icon has-text-dark",name:"dots-vertical",size:"16"})],8,Mq)]),_:2},1032,["playlist"]))),128)),o.query.type==="playlist"?(k(),_e(u,{key:0,load:s.search_playlists_next},{loading:S(()=>[c("div",Fq,[c("div",Vq,[y(i,{class:"icon mdi-spin",name:"loading"})])])]),"no-more":S(()=>[gt(" ")]),_:1},8,["load"])):F("",!0),y(v,{show:o.show_playlist_details_modal,playlist:o.selected_playlist,onClose:t[8]||(t[8]=z=>o.show_playlist_details_modal=!1)},null,8,["show","playlist"])]),footer:S(()=>[s.show_all_playlists_button?(k(),A("nav",Hq,[c("p",Uq,[c("a",{class:"button is-light is-small is-rounded",onClick:t[9]||(t[9]=(...z)=>s.open_search_playlists&&s.open_search_playlists(...z)),textContent:g(e.$t("page.spotify.search.show-all-playlists",o.playlists.total,{count:e.$filters.number(o.playlists.total)}))},null,8,jq)])])):F("",!0)]),_:1})):F("",!0),s.show_playlists&&!o.playlists.total?(k(),_e(f,{key:7},{content:S(()=>[c("p",null,[c("i",{textContent:g(e.$t("page.spotify.search.no-playlists"))},null,8,qq)])]),_:1})):F("",!0)])}const Wq=te(rq,[["render",Bq]]),Gq={name:"SettingsCheckbox",props:{category_name:{required:!0,type:String},option_name:{required:!0,type:String}},data(){return{statusUpdate:"",timerDelay:2e3,timerId:-1}},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};V.settings_update(this.category_name,e).then(()=>{this.$store.dispatch("update_settings_option",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=""}}},Kq={class:"field"},Zq=["id"],Yq=["for"],Jq=["textContent"],Xq={key:0,class:"help"};function Qq(e,t,n,r,o,s){return k(),A("div",Kq,[yt(c("input",{id:s.option.name,"onUpdate:modelValue":t[0]||(t[0]=i=>s.option.value=i),type:"checkbox",class:"switch is-rounded mr-2",onChange:t[1]||(t[1]=(...i)=>s.update_setting&&s.update_setting(...i))},null,40,Zq),[[An,s.option.value]]),c("label",{class:"pt-0",for:s.option.name},[it(e.$slots,"label")],8,Yq),c("i",{class:Se(["is-size-7",{"has-text-info":s.is_success,"has-text-danger":s.is_error}]),textContent:g(s.info)},null,10,Jq),e.$slots.info?(k(),A("p",Xq,[it(e.$slots,"info")])):F("",!0)])}const Z1=te(Gq,[["render",Qq]]),eB={name:"TabsSettings"},tB={class:"section fd-tabs-section"},nB={class:"container"},rB={class:"columns is-centered"},oB={class:"column is-four-fifths"},sB={class:"tabs is-centered is-small"},iB=["onClick","onKeypress"],aB=["textContent"],lB=["onClick","onKeypress"],cB=["textContent"],uB=["onClick","onKeypress"],dB=["textContent"],mB=["onClick","onKeypress"],fB=["textContent"];function pB(e,t,n,r,o,s){const i=$("router-link");return k(),A("section",tB,[c("div",nB,[c("div",rB,[c("div",oB,[c("div",sB,[c("ul",null,[y(i,{to:{name:"settings-webinterface"},custom:""},{default:S(({navigate:a,isActive:l})=>[c("li",{class:Se({"is-active":l})},[c("a",{onClick:a,onKeypress:on(a,["enter"])},[c("span",{textContent:g(e.$t("page.settings.tabs.general"))},null,8,aB)],40,iB)],2)]),_:1}),y(i,{to:{name:"settings-remotes-outputs"},custom:""},{default:S(({navigate:a,isActive:l})=>[c("li",{class:Se({"is-active":l})},[c("a",{onClick:a,onKeypress:on(a,["enter"])},[c("span",{textContent:g(e.$t("page.settings.tabs.remotes-and-outputs"))},null,8,cB)],40,lB)],2)]),_:1}),y(i,{to:{name:"settings-artwork"},custom:""},{default:S(({navigate:a,isActive:l})=>[c("li",{class:Se({"is-active":l})},[c("a",{onClick:a,onKeypress:on(a,["enter"])},[c("span",{textContent:g(e.$t("page.settings.tabs.artwork"))},null,8,dB)],40,uB)],2)]),_:1}),y(i,{to:{name:"settings-online-services"},custom:""},{default:S(({navigate:a,isActive:l})=>[c("li",{class:Se({"is-active":l})},[c("a",{onClick:a,onKeypress:on(a,["enter"])},[c("span",{textContent:g(e.$t("page.settings.tabs.online-services"))},null,8,fB)],40,mB)],2)]),_:1})])])])])])])}const fc=te(eB,[["render",pB]]),hB={name:"PageSettingsArtwork",components:{ContentWithHeading:et,SettingsCheckbox:Z1,TabsSettings:fc},computed:{spotify(){return this.$store.state.spotify}}},_B={class:"fd-page-with-tabs"},gB=["textContent"],yB=["textContent"],vB=["textContent"],bB=["textContent"],zB={href:"https://www.spotify.com/",target:"_blank"},wB={class:"icon"},CB=["textContent"],kB={href:"https://www.discogs.com/",target:"_blank"},xB={class:"icon"},SB=["textContent"],EB={href:"https://coverartarchive.org/",target:"_blank"},$B={class:"icon"};function TB(e,t,n,r,o,s){const i=$("tabs-settings"),a=$("mdicon"),l=$("settings-checkbox"),u=$("content-with-heading");return k(),A("div",_B,[y(i),y(u,null,{"heading-left":S(()=>[c("div",{class:"title is-4",textContent:g(e.$t("page.settings.artwork.artwork"))},null,8,gB)]),content:S(()=>[c("div",{class:"content",textContent:g(e.$t("page.settings.artwork.explanation-1"))},null,8,yB),c("div",{class:"content",textContent:g(e.$t("page.settings.artwork.explanation-2"))},null,8,vB),s.spotify.spotify_logged_in?(k(),_e(l,{key:0,category_name:"artwork",option_name:"use_artwork_source_spotify"},{label:S(()=>[c("span",{textContent:g(e.$t("page.settings.artwork.spotify"))},null,8,bB),c("a",zB,[c("span",wB,[y(a,{name:"open-in-new",size:"16"})])])]),_:1})):F("",!0),y(l,{category_name:"artwork",option_name:"use_artwork_source_discogs"},{label:S(()=>[c("span",{textContent:g(e.$t("page.settings.artwork.discogs"))},null,8,CB),c("a",kB,[c("span",xB,[y(a,{name:"open-in-new",size:"16"})])])]),_:1}),y(l,{category_name:"artwork",option_name:"use_artwork_source_coverartarchive"},{label:S(()=>[c("span",{textContent:g(e.$t("page.settings.artwork.coverartarchive"))},null,8,SB),c("a",EB,[c("span",$B,[y(a,{name:"open-in-new",size:"16"})])])]),_:1})]),_:1})])}const AB=te(hB,[["render",TB]]),OB={name:"PageSettingsOnlineServices",components:{ContentWithHeading:et,TabsSettings:fc},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(){V.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(){V.lastfm_logout()},logout_spotify(){V.spotify_logout()}}},PB={class:"fd-page-with-tabs"},IB=["textContent"],RB={key:0,class:"notification is-size-7"},DB=["textContent"],LB={key:1},NB={class:"notification is-size-7"},MB=["textContent"],FB={class:"mt-5"},VB=["textContent"],HB={key:0},UB=["textContent"],jB=["textContent"],qB={key:1,class:"help is-danger"},BB=["textContent"],WB=["textContent"],GB={class:"field mt-5"},KB={class:"control"},ZB=["href","textContent"],YB={class:"help"},JB=["textContent"],XB=["textContent"],QB={key:2,class:"field mt-5"},eW={class:"control"},tW=["textContent"],nW=["textContent"],rW={key:0,class:"notification is-size-7"},oW=["textContent"],sW={key:1},iW=["textContent"],aW={key:0},lW=["textContent"],cW={key:1},uW={class:"field is-grouped"},dW={class:"control"},mW=["placeholder"],fW=["textContent"],pW={class:"control"},hW=["placeholder"],_W=["textContent"],gW={class:"control"},yW=["textContent"],vW=["textContent"],bW=["textContent"];function zW(e,t,n,r,o,s){const i=$("tabs-settings"),a=$("content-with-heading");return k(),A("div",PB,[y(i),y(a,null,{"heading-left":S(()=>[c("div",{class:"title is-4",textContent:g(e.$t("page.settings.services.spotify.title"))},null,8,IB)]),content:S(()=>[s.spotify.spotify_installed?F("",!0):(k(),A("div",RB,[c("p",{textContent:g(e.$t("page.settings.services.spotify.no-support"))},null,8,DB)])),s.spotify.spotify_installed?(k(),A("div",LB,[c("div",NB,[c("span",{textContent:g(e.$t("page.settings.services.spotify.requirements"))},null,8,MB)]),c("div",FB,[c("p",{class:"content",textContent:g(e.$t("page.settings.services.spotify.grant-access"))},null,8,VB),s.spotify.webapi_token_valid?(k(),A("p",HB,[c("span",{textContent:g(e.$t("page.settings.services.spotify.user"))},null,8,UB),c("code",{textContent:g(s.spotify.webapi_user)},null,8,jB)])):F("",!0),s.spotify_missing_scope.length>0?(k(),A("p",qB,[c("span",{textContent:g(e.$t("page.settings.services.spotify.reauthorize"))},null,8,BB),c("code",{textContent:g(s.spotify_missing_scope.join())},null,8,WB)])):F("",!0),c("div",GB,[c("div",KB,[c("a",{class:Se(["button",{"is-info":!s.spotify.webapi_token_valid||s.spotify_missing_scope.length>0}]),href:s.spotify.oauth_uri,textContent:g(e.$t("page.settings.services.spotify.authorize"))},null,10,ZB)])]),c("p",YB,[c("span",{textContent:g(e.$t("page.settings.services.spotify.scopes"))},null,8,JB),c("code",{textContent:g(s.spotify_required_scope.join(", "))},null,8,XB)]),s.spotify.webapi_token_valid?(k(),A("div",QB,[c("div",eW,[c("a",{class:"button is-danger",onClick:t[0]||(t[0]=(...l)=>s.logout_spotify&&s.logout_spotify(...l)),textContent:g(e.$t("page.settings.services.logout"))},null,8,tW)])])):F("",!0)])])):F("",!0)]),_:1}),y(a,null,{"heading-left":S(()=>[c("div",{class:"title is-4",textContent:g(e.$t("page.settings.services.lastfm.title"))},null,8,nW)]),content:S(()=>[s.lastfm.enabled?F("",!0):(k(),A("div",rW,[c("p",{textContent:g(e.$t("page.settings.services.lastfm.no-support"))},null,8,oW)])),s.lastfm.enabled?(k(),A("div",sW,[c("p",{class:"content",textContent:g(e.$t("page.settings.services.lastfm.grant-access"))},null,8,iW),s.lastfm.scrobbling_enabled?(k(),A("div",aW,[c("a",{class:"button is-danger",onClick:t[1]||(t[1]=(...l)=>s.logoutLastfm&&s.logoutLastfm(...l)),textContent:g(e.$t("page.settings.services.logout"))},null,8,lW)])):F("",!0),s.lastfm.scrobbling_enabled?F("",!0):(k(),A("div",cW,[c("form",{onSubmit:t[4]||(t[4]=ot((...l)=>s.login_lastfm&&s.login_lastfm(...l),["prevent"]))},[c("div",uW,[c("div",dW,[yt(c("input",{"onUpdate:modelValue":t[2]||(t[2]=l=>o.lastfm_login.user=l),class:"input",type:"text",placeholder:e.$t("page.settings.services.username")},null,8,mW),[[un,o.lastfm_login.user]]),c("p",{class:"help is-danger",textContent:g(o.lastfm_login.errors.user)},null,8,fW)]),c("div",pW,[yt(c("input",{"onUpdate:modelValue":t[3]||(t[3]=l=>o.lastfm_login.password=l),class:"input",type:"password",placeholder:e.$t("page.settings.services.password")},null,8,hW),[[un,o.lastfm_login.password]]),c("p",{class:"help is-danger",textContent:g(o.lastfm_login.errors.password)},null,8,_W)]),c("div",gW,[c("button",{class:"button is-info",type:"submit",textContent:g(e.$t("page.settings.services.login"))},null,8,yW)])]),c("p",{class:"help is-danger",textContent:g(o.lastfm_login.errors.error)},null,8,vW),c("p",{class:"help",textContent:g(e.$t("page.settings.services.lastfm.info"))},null,8,bW)],32)]))])):F("",!0)]),_:1})])}const wW=te(OB,[["render",zW]]),CW={name:"PageSettingsRemotesOutputs",components:{ContentWithHeading:et,TabsSettings:fc},data(){return{pairing_req:{pin:""},verification_req:{pin:""}}},computed:{outputs(){return this.$store.state.outputs},pairing(){return this.$store.state.pairing}},methods:{kickoff_pairing(){V.pairing_kickoff(this.pairing_req)},kickoff_verification(e){V.output_update(e,this.verification_req)},output_toggle(e){V.output_toggle(e)}}},kW={class:"fd-page-with-tabs"},xW=["textContent"],SW={key:0,class:"notification"},EW={class:"label has-text-weight-normal"},$W=["textContent"],TW=["textContent"],AW={class:"field is-grouped"},OW={class:"control"},PW=["placeholder"],IW={class:"control"},RW=["textContent"],DW={key:1,class:"content"},LW=["textContent"],NW=["textContent"],MW=["textContent"],FW={class:"field"},VW={class:"control"},HW=["id","onUpdate:modelValue","onChange"],UW=["for","textContent"],jW=["onSubmit"],qW={class:"field is-grouped"},BW={class:"control"},WW=["placeholder"],GW={class:"control"},KW=["textContent"];function ZW(e,t,n,r,o,s){const i=$("tabs-settings"),a=$("content-with-heading");return k(),A("div",kW,[y(i),y(a,null,{"heading-left":S(()=>[c("p",{class:"title is-4",textContent:g(e.$t("page.settings.devices.pairing"))},null,8,xW)]),content:S(()=>[s.pairing.active?(k(),A("div",SW,[c("form",{onSubmit:t[1]||(t[1]=ot((...l)=>s.kickoff_pairing&&s.kickoff_pairing(...l),["prevent"]))},[c("label",EW,[c("span",{textContent:g(e.$t("page.settings.devices.pairing-request"))},null,8,$W),c("b",{textContent:g(s.pairing.remote)},null,8,TW)]),c("div",AW,[c("div",OW,[yt(c("input",{"onUpdate:modelValue":t[0]||(t[0]=l=>o.pairing_req.pin=l),class:"input",type:"text",pattern:"[\\d]{4}",placeholder:e.$t("page.settings.devices.pairing-code")},null,8,PW),[[un,o.pairing_req.pin]])]),c("div",IW,[c("button",{class:"button is-info",type:"submit",textContent:g(e.$t("page.settings.devices.send"))},null,8,RW)])])],32)])):F("",!0),s.pairing.active?F("",!0):(k(),A("div",DW,[c("p",{textContent:g(e.$t("page.settings.devices.no-active-pairing"))},null,8,LW)]))]),_:1}),y(a,null,{"heading-left":S(()=>[c("p",{class:"title is-4",textContent:g(e.$t("page.settings.devices.speaker-pairing"))},null,8,NW)]),content:S(()=>[c("p",{class:"content",textContent:g(e.$t("page.settings.devices.speaker-pairing-info"))},null,8,MW),(k(!0),A(Ce,null,ut(s.outputs,l=>(k(),A("div",{key:l.id},[c("div",FW,[c("div",VW,[yt(c("input",{id:l.id,"onUpdate:modelValue":u=>l.selected=u,type:"checkbox",class:"switch is-rounded mr-2",onChange:u=>s.output_toggle(l.id)},null,40,HW),[[An,l.selected]]),c("label",{for:l.id,class:"checkbox",textContent:g(l.name)},null,8,UW)])]),l.needs_auth_key?(k(),A("form",{key:0,class:"mb-5",onSubmit:ot(u=>s.kickoff_verification(l.id),["prevent"])},[c("div",qW,[c("div",BW,[yt(c("input",{"onUpdate:modelValue":t[2]||(t[2]=u=>o.verification_req.pin=u),class:"input",type:"text",pattern:"[\\d]{4}",placeholder:e.$t("page.settings.devices.verification-code")},null,8,WW),[[un,o.verification_req.pin]])]),c("div",GW,[c("button",{class:"button is-info",type:"submit",textContent:g(e.$t("page.settings.devices.verify"))},null,8,KW)])])],40,jW)):F("",!0)]))),128))]),_:1})])}const YW=te(CW,[["render",ZW]]),JW={name:"SettingsIntfield",props:{category_name:{required:!0,type:String},disabled:Boolean,option_name:{required:!0,type:String},placeholder:{default:"",type:String}},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)};V.settings_update(this.category.name,t).then(()=>{this.$store.dispatch("update_settings_option",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=""}}},XW=["disabled"],QW={class:"field"},eG={class:"label has-text-weight-normal"},tG=["textContent"],nG={class:"control"},rG=["placeholder","value"],oG={key:0,class:"help"};function sG(e,t,n,r,o,s){return k(),A("fieldset",{disabled:n.disabled},[c("div",QW,[c("label",eG,[it(e.$slots,"label"),c("i",{class:Se(["is-size-7",{"has-text-info":s.is_success,"has-text-danger":s.is_error}]),textContent:g(s.info)},null,10,tG)]),c("div",nG,[c("input",{ref:"setting",class:"column input is-one-fifth",type:"number",min:"0",placeholder:n.placeholder,value:s.value,onInput:t[0]||(t[0]=(...i)=>s.set_update_timer&&s.set_update_timer(...i))},null,40,rG)]),e.$slots.info?(k(),A("p",oG,[it(e.$slots,"info")])):F("",!0)])],8,XW)}const iG=te(JW,[["render",sG]]),aG={name:"SettingsTextfield",props:{category_name:{required:!0,type:String},disabled:Boolean,option_name:{required:!0,type:String},placeholder:{default:"",type:String}},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};V.settings_update(this.category.name,t).then(()=>{this.$store.dispatch("update_settings_option",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=""}}},lG=["disabled"],cG={class:"field"},uG={class:"label has-text-weight-normal"},dG=["textContent"],mG={class:"control"},fG=["placeholder","value"],pG={key:0,class:"help"};function hG(e,t,n,r,o,s){return k(),A("fieldset",{disabled:n.disabled},[c("div",cG,[c("label",uG,[it(e.$slots,"label"),c("i",{class:Se(["is-size-7",{"has-text-info":s.is_success,"has-text-danger":s.is_error}]),textContent:g(s.info)},null,10,dG)]),c("div",mG,[c("input",{ref:"setting",class:"input",type:"text",placeholder:n.placeholder,value:s.value,onInput:t[0]||(t[0]=(...i)=>s.set_update_timer&&s.set_update_timer(...i))},null,40,fG)]),e.$slots.info?(k(),A("p",pG,[it(e.$slots,"info")])):F("",!0)])],8,lG)}const _G=te(aG,[["render",hG]]),gG={name:"PageSettingsWebinterface",components:{ContentWithHeading:et,ControlDropdown:Eo,SettingsCheckbox:Z1,SettingsIntfield:iG,SettingsTextfield:_G,TabsSettings:fc},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}}},yG={class:"fd-page-with-tabs"},vG=["textContent"],bG=["textContent"],zG=["textContent"],wG=["textContent"],CG=["textContent"],kG=["textContent"],xG=["textContent"],SG=["textContent"],EG=["textContent"],$G=["textContent"],TG=["textContent"],AG=["textContent"],OG=["textContent"],PG=["textContent"],IG=["textContent"],RG=["textContent"],DG=["textContent"],LG=["textContent"],NG=["textContent"],MG=["textContent"],FG=["textContent"],VG=["textContent"],HG=["textContent"];function UG(e,t,n,r,o,s){const i=$("tabs-settings"),a=$("control-dropdown"),l=$("content-with-heading"),u=$("settings-checkbox"),m=$("settings-textfield"),d=$("settings-intfield");return k(),A("div",yG,[y(i),y(l,null,{"heading-left":S(()=>[c("div",{class:"title is-4",textContent:g(e.$t("page.settings.general.language"))},null,8,vG)]),content:S(()=>[y(a,{value:s.locale,"onUpdate:value":t[0]||(t[0]=f=>s.locale=f),options:s.locales},null,8,["value","options"])]),_:1}),y(l,null,{"heading-left":S(()=>[c("div",{class:"title is-4",textContent:g(e.$t("page.settings.general.navigation-items"))},null,8,bG)]),content:S(()=>[c("p",{class:"content",textContent:g(e.$t("page.settings.general.navigation-item-selection"))},null,8,zG),c("div",{class:"notification is-size-7",textContent:g(e.$t("page.settings.general.navigation-item-selection-info"))},null,8,wG),y(u,{category_name:"webinterface",option_name:"show_menu_item_playlists"},{label:S(()=>[c("span",{textContent:g(e.$t("page.settings.general.playlists"))},null,8,CG)]),_:1}),y(u,{category_name:"webinterface",option_name:"show_menu_item_music"},{label:S(()=>[c("span",{textContent:g(e.$t("page.settings.general.music"))},null,8,kG)]),_:1}),y(u,{category_name:"webinterface",option_name:"show_menu_item_podcasts"},{label:S(()=>[c("span",{textContent:g(e.$t("page.settings.general.podcasts"))},null,8,xG)]),_:1}),y(u,{category_name:"webinterface",option_name:"show_menu_item_audiobooks"},{label:S(()=>[c("span",{textContent:g(e.$t("page.settings.general.audiobooks"))},null,8,SG)]),_:1}),y(u,{category_name:"webinterface",option_name:"show_menu_item_radio"},{label:S(()=>[c("span",{textContent:g(e.$t("page.settings.general.radio"))},null,8,EG)]),_:1}),y(u,{category_name:"webinterface",option_name:"show_menu_item_files"},{label:S(()=>[c("span",{textContent:g(e.$t("page.settings.general.files"))},null,8,$G)]),_:1}),y(u,{category_name:"webinterface",option_name:"show_menu_item_search"},{label:S(()=>[c("span",{textContent:g(e.$t("page.settings.general.search"))},null,8,TG)]),_:1})]),_:1}),y(l,null,{"heading-left":S(()=>[c("div",{class:"title is-4",textContent:g(e.$t("page.settings.general.album-lists"))},null,8,AG)]),content:S(()=>[y(u,{category_name:"webinterface",option_name:"show_cover_artwork_in_album_lists"},{label:S(()=>[c("span",{textContent:g(e.$t("page.settings.general.show-coverart"))},null,8,OG)]),_:1})]),_:1}),y(l,null,{"heading-left":S(()=>[c("div",{class:"title is-4",textContent:g(e.$t("page.settings.general.now-playing-page"))},null,8,PG)]),content:S(()=>[y(u,{category_name:"webinterface",option_name:"show_composer_now_playing"},{label:S(()=>[c("span",{textContent:g(e.$t("page.settings.general.show-composer"))},null,8,IG)]),info:S(()=>[c("span",{textContent:g(e.$t("page.settings.general.show-composer-info"))},null,8,RG)]),_:1}),y(m,{category_name:"webinterface",option_name:"show_composer_for_genre",disabled:!s.settings_option_show_composer_now_playing,placeholder:e.$t("page.settings.general.genres")},{label:S(()=>[c("span",{textContent:g(e.$t("page.settings.general.show-composer-genres"))},null,8,DG)]),info:S(()=>[c("p",{class:"help",textContent:g(e.$t("page.settings.general.show-composer-genres-info-1"))},null,8,LG),c("p",{class:"help",textContent:g(e.$t("page.settings.general.show-composer-genres-info-2"))},null,8,NG),c("p",{class:"help",textContent:g(e.$t("page.settings.general.show-composer-genres-info-3"))},null,8,MG)]),_:1},8,["disabled","placeholder"]),y(u,{category_name:"webinterface",option_name:"show_filepath_now_playing"},{label:S(()=>[c("span",{textContent:g(e.$t("page.settings.general.show-path"))},null,8,FG)]),_:1})]),_:1}),y(l,null,{"heading-left":S(()=>[c("div",{class:"title is-4",textContent:g(e.$t("page.settings.general.recently-added-page"))},null,8,VG)]),content:S(()=>[y(d,{category_name:"webinterface",option_name:"recently_added_limit"},{label:S(()=>[c("span",{textContent:g(e.$t("page.settings.general.recently-added-page-info"))},null,8,HG)]),_:1})]),_:1})])}const jG=te(gG,[["render",UG]]),oh=140,sh=110,Y1=EO({history:nO(),routes:[{component:x8,name:"about",path:"/about"},{component:e6,meta:{show_progress:!0},name:"music-album",path:"/music/albums/:id"},{component:c4,meta:{show_progress:!0},name:"music-spotify-album",path:"/music/spotify/albums/:id"},{component:I5,meta:{has_index:!0,has_tabs:!0,show_progress:!0},name:"music-albums",path:"/music/albums"},{component:v3,meta:{has_index:!0,show_progress:!0},name:"music-artist",path:"/music/artists/:id"},{component:cR,meta:{show_progress:!0},name:"music-spotify-artist",path:"/music/spotify/artists/:id"},{component:rD,meta:{has_index:!0,has_tabs:!0,show_progress:!0},name:"music-artists",path:"/music/artists"},{component:$R,meta:{has_index:!0,show_progress:!0},name:"music-artist-tracks",path:"/music/artists/:id/tracks"},{component:mD,meta:{show_progress:!0},name:"audiobooks-album",path:"/audiobooks/albums/:id"},{component:OD,meta:{has_index:!0,has_tabs:!0,show_progress:!0},name:"audiobooks-albums",path:"/audiobooks/albums"},{component:MD,meta:{show_progress:!0},name:"audiobooks-artist",path:"/audiobooks/artists/:id"},{component:qD,meta:{has_index:!0,has_tabs:!0,show_progress:!0},name:"audiobooks-artists",path:"/audiobooks/artists"},{component:xL,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:y7,meta:{has_tabs:!0,show_progress:!0},name:"music-history",path:"/music/history"},{component:C7,meta:{has_tabs:!0,show_progress:!0},name:"music-recently-added",path:"/music/recently-added"},{component:$7,meta:{has_tabs:!0,show_progress:!0},name:"music-recently-played",path:"/music/recently-played"},{component:dF,meta:{has_tabs:!0,show_progress:!0},name:"music-spotify",path:"/music/spotify"},{component:gF,meta:{has_tabs:!0,show_progress:!0},name:"music-spotify-featured-playlists",path:"/music/spotify/featured-playlists"},{component:CF,meta:{has_tabs:!0,show_progress:!0},name:"music-spotify-new-releases",path:"/music/spotify/new-releases"},{component:QL,meta:{has_index:!0,show_progress:!0},name:"music-composer-albums",path:"/music/composers/:name/albums"},{component:mN,meta:{has_index:!0,show_progress:!0},name:"music-composer-tracks",path:"/music/composers/:name/tracks"},{component:$N,meta:{has_index:!0,has_tabs:!0,show_progress:!0},name:"music-composers",path:"/music/composers"},{component:IM,meta:{show_progress:!0},name:"files",path:"/files"},{component:jM,meta:{has_index:!0,show_progress:!0},name:"genre-albums",path:"/genres/:name/albums"},{component:n7,meta:{has_index:!0,show_progress:!0},name:"genre-tracks",path:"/genres/:name/tracks"},{component:l7,meta:{has_index:!0,has_tabs:!0,show_progress:!0},name:"music-genres",path:"/music/genres"},{component:NV,name:"now-playing",path:"/now-playing"},{name:"playlists",path:"/playlists",redirect:{name:"playlist-folder",params:{id:0}}},{component:UV,meta:{show_progress:!0},name:"playlist-folder",path:"/playlists/:id"},{component:ZV,meta:{show_progress:!0},name:"playlist",path:"/playlists/:id/tracks"},{component:s9,meta:{show_progress:!0},name:"playlist-spotify",path:"/playlists/spotify/:id/tracks"},{component:g9,meta:{show_progress:!0},name:"podcast",path:"/podcasts/:id"},{component:B9,meta:{show_progress:!0},name:"podcasts",path:"/podcasts"},{component:VU,meta:{show_progress:!0},name:"radio",path:"/radio"},{component:DU,name:"queue",path:"/"},{component:Yj,name:"search-library",path:"/search/library"},{component:Wq,name:"search-spotify",path:"/search/spotify"},{component:jG,name:"settings-webinterface",path:"/settings/webinterface"},{component:AB,name:"settings-artwork",path:"/settings/artwork"},{component:wW,name:"settings-online-services",path:"/settings/online-services"},{component:YW,name:"settings-remotes-outputs",path:"/settings/remotes-outputs"}],scrollBehavior(e,t,n){if(n)return new Promise((o,s)=>{setTimeout(()=>{o(n)},0)});if(e.path===t.path&&e.hash){const o=e.meta.has_tabs?oh:sh;return{behavior:"smooth",el:e.hash,top:o}}return e.hash?new Promise((o,s)=>{setTimeout(()=>{o({el:e.hash,top:120})},0)}):e.meta.has_index?new Promise((o,s)=>{const i=e.meta.has_tabs?oh:sh;setTimeout(()=>{o({el:"#top",top:i})},0)}):{left:0,top:0}}});Y1.beforeEach((e,t,n)=>{if(He.state.show_burger_menu){He.commit(Qo,!1),n(!1);return}if(He.state.show_player_menu){He.commit(es,!1),n(!1);return}n(!0)});const J1=ag(QE).use(He).use(Y1).use(kA).use(uA).use(wA,{log:!1}).use(lA,{icons:eA}).use(Xl);J1.config.globalProperties.$filters=QT;J1.mount("#app");
|