owntone-server/htdocs/assets/index.js

72 lines
823 KiB
JavaScript
Raw Permalink Blame History

This file contains invisible Unicode characters

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

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

(function(){const t=document.createElement("link").relList;if(t&&t.supports&&t.supports("modulepreload"))return;for(const o of document.querySelectorAll('link[rel="modulepreload"]'))r(o);new MutationObserver(o=>{for(const s of o)if(s.type==="childList")for(const 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)}})();/**
* @vue/shared v3.4.38
* (c) 2018-present Yuxi (Evan) You and Vue contributors
* @license MIT
**//*! #__NO_SIDE_EFFECTS__ */function vl(e,t){const n=new Set(e.split(","));return r=>n.has(r)}const st={},cs=[],fn=()=>{},kz=()=>!1,Li=e=>e.charCodeAt(0)===111&&e.charCodeAt(1)===110&&(e.charCodeAt(2)>122||e.charCodeAt(2)<97),rd=e=>e.startsWith("onUpdate:"),kt=Object.assign,od=(e,t)=>{const n=e.indexOf(t);n>-1&&e.splice(n,1)},Sz=Object.prototype.hasOwnProperty,tt=(e,t)=>Sz.call(e,t),ze=Array.isArray,us=e=>$s(e)==="[object Map]",Vo=e=>$s(e)==="[object Set]",gm=e=>$s(e)==="[object Date]",xz=e=>$s(e)==="[object RegExp]",Oe=e=>typeof e=="function",bt=e=>typeof e=="string",hr=e=>typeof e=="symbol",ft=e=>e!==null&&typeof e=="object",sd=e=>(ft(e)||Oe(e))&&Oe(e.then)&&Oe(e.catch),Nh=Object.prototype.toString,$s=e=>Nh.call(e),Ez=e=>$s(e).slice(8,-1),Dh=e=>$s(e)==="[object Object]",id=e=>bt(e)&&e!=="NaN"&&e[0]!=="-"&&""+parseInt(e,10)===e,ds=vl(",key,ref,ref_for,ref_key,onVnodeBeforeMount,onVnodeMounted,onVnodeBeforeUpdate,onVnodeUpdated,onVnodeBeforeUnmount,onVnodeUnmounted"),bl=e=>{const t=Object.create(null);return n=>t[n]||(t[n]=e(n))},$z=/-(\w)/g,Xt=bl(e=>e.replace($z,(t,n)=>n?n.toUpperCase():"")),Tz=/\B([A-Z])/g,mn=bl(e=>e.replace(Tz,"-$1").toLowerCase()),Ni=bl(e=>e.charAt(0).toUpperCase()+e.slice(1)),ri=bl(e=>e?`on${Ni(e)}`:""),nn=(e,t)=>!Object.is(e,t),ms=(e,...t)=>{for(let n=0;n<e.length;n++)e[n](...t)},Rh=(e,t,n,r=!1)=>{Object.defineProperty(e,t,{configurable:!0,enumerable:!1,writable:r,value:n})},Ua=e=>{const t=parseFloat(e);return isNaN(t)?e:t},ja=e=>{const t=bt(e)?Number(e):NaN;return isNaN(t)?e:t};let ym;const Mh=()=>ym||(ym=typeof globalThis<"u"?globalThis:typeof self<"u"?self:typeof window<"u"?window:typeof global<"u"?global:{}),Az="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",Oz=vl(Az);function co(e){if(ze(e)){const t={};for(let n=0;n<e.length;n++){const r=e[n],o=bt(r)?Nz(r):co(r);if(o)for(const s in o)t[s]=o[s]}return t}else if(bt(e)||ft(e))return e}const Pz=/;(?![^(]*\))/g,Iz=/:([^]+)/,Lz=/\/\*[^]*?\*\//g;function Nz(e){const t={};return e.replace(Lz,"").split(Pz).forEach(n=>{if(n){const r=n.split(Iz);r.length>1&&(t[r[0].trim()]=r[1].trim())}}),t}function ke(e){let t="";if(bt(e))t=e;else if(ze(e))for(let n=0;n<e.length;n++){const r=ke(e[n]);r&&(t+=r+" ")}else if(ft(e))for(const n in e)e[n]&&(t+=n+" ");return t.trim()}function Ks(e){if(!e)return null;let{class:t,style:n}=e;return t&&!bt(t)&&(e.class=ke(t)),n&&(e.style=co(n)),e}const Dz="itemscope,allowfullscreen,formnovalidate,ismap,nomodule,novalidate,readonly",Rz=vl(Dz);function Fh(e){return!!e||e===""}function Mz(e,t){if(e.length!==t.length)return!1;let n=!0;for(let r=0;n&&r<e.length;r++)n=oo(e[r],t[r]);return n}function oo(e,t){if(e===t)return!0;let n=gm(e),r=gm(t);if(n||r)return n&&r?e.getTime()===t.getTime():!1;if(n=hr(e),r=hr(t),n||r)return e===t;if(n=ze(e),r=ze(t),n||r)return n&&r?Mz(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||!oo(e[i],t[i]))return!1}}return String(e)===String(t)}function Cl(e,t){return e.findIndex(n=>oo(n,t))}const Vh=e=>!!(e&&e.__v_isRef===!0),y=e=>bt(e)?e:e==null?"":ze(e)||ft(e)&&(e.toString===Nh||!Oe(e.toString))?Vh(e)?y(e.value):JSON.stringify(e,Hh,2):String(e),Hh=(e,t)=>Vh(t)?Hh(e,t.value):us(t)?{[`Map(${t.size})`]:[...t.entries()].reduce((n,[r,o],s)=>(n[cc(r,s)+" =>"]=o,n),{})}:Vo(t)?{[`Set(${t.size})`]:[...t.values()].map(n=>cc(n))}:hr(t)?cc(t):ft(t)&&!ze(t)&&!Dh(t)?String(t):t,cc=(e,t="")=>{var n;return hr(e)?`Symbol(${(n=e.description)!=null?n:t})`:e};/**
* @vue/reactivity v3.4.38
* (c) 2018-present Yuxi (Evan) You and Vue contributors
* @license MIT
**/let bn;class ad{constructor(t=!1){this.detached=t,this._active=!0,this.effects=[],this.cleanups=[],this.parent=bn,!t&&bn&&(this.index=(bn.scopes||(bn.scopes=[])).push(this)-1)}get active(){return this._active}run(t){if(this._active){const n=bn;try{return bn=this,t()}finally{bn=n}}}on(){bn=this}off(){bn=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 wl(e){return new ad(e)}function Uh(e,t=bn){t&&t.active&&t.effects.push(e)}function ld(){return bn}function jh(e){bn&&bn.cleanups.push(e)}let $o;class ys{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,Uh(this,o)}get dirty(){if(this._dirtyLevel===2||this._dirtyLevel===3){this._dirtyLevel=1,uo();for(let t=0;t<this._depsLength;t++){const n=this.deps[t];if(n.computed&&(Fz(n.computed),this._dirtyLevel>=4))break}this._dirtyLevel===1&&(this._dirtyLevel=0),mo()}return this._dirtyLevel>=4}set dirty(t){this._dirtyLevel=t?4:0}run(){if(this._dirtyLevel=0,!this.active)return this.fn();let t=no,n=$o;try{return no=!0,$o=this,this._runnings++,zm(this),this.fn()}finally{vm(this),this._runnings--,$o=n,no=t}}stop(){this.active&&(zm(this),vm(this),this.onStop&&this.onStop(),this.active=!1)}}function Fz(e){return e.value}function zm(e){e._trackId++,e._depsLength=0}function vm(e){if(e.deps.length>e._depsLength){for(let t=e._depsLength;t<e.deps.length;t++)Bh(e.deps[t],e);e.deps.length=e._depsLength}}function Bh(e,t){const n=e.get(t);n!==void 0&&t._trackId!==n&&(e.delete(t),e.size===0&&e.cleanup())}function Vz(e,t){e.effect instanceof ys&&(e=e.effect.fn);const n=new ys(e,fn,()=>{n.dirty&&n.run()});t&&(kt(n,t),t.scope&&Uh(n,t.scope)),(!t||!t.lazy)&&n.run();const r=n.run.bind(n);return r.effect=n,r}function Hz(e){e.effect.stop()}let no=!0,tu=0;const Wh=[];function uo(){Wh.push(no),no=!1}function mo(){const e=Wh.pop();no=e===void 0?!0:e}function cd(){tu++}function ud(){for(tu--;!tu&&nu.length;)nu.shift()()}function qh(e,t,n){if(t.get(e)!==e._trackId){t.set(e,e._trackId);const r=e.deps[e._depsLength];r!==t?(r&&Bh(r,e),e.deps[e._depsLength++]=t):e._depsLength++}}const nu=[];function Gh(e,t,n){cd();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&&nu.push(r.scheduler)))}ud()}const Kh=(e,t)=>{const n=new Map;return n.cleanup=e,n.computed=t,n},Ba=new WeakMap,To=Symbol(""),ru=Symbol("");function hn(e,t,n){if(no&&$o){let r=Ba.get(e);r||Ba.set(e,r=new Map);let o=r.get(n);o||r.set(n,o=Kh(()=>r.delete(n))),qh($o,o)}}function xr(e,t,n,r,o,s){const i=Ba.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"||!hr(m)&&m>=l)&&a.push(u)})}else switch(n!==void 0&&a.push(i.get(n)),t){case"add":ze(e)?id(n)&&a.push(i.get("length")):(a.push(i.get(To)),us(e)&&a.push(i.get(ru)));break;case"delete":ze(e)||(a.push(i.get(To)),us(e)&&a.push(i.get(ru)));break;case"set":us(e)&&a.push(i.get(To));break}cd();for(const l of a)l&&Gh(l,4);ud()}function Uz(e,t){const n=Ba.get(e);return n&&n.get(t)}const jz=vl("__proto__,__v_isRef,__isVue"),Zh=new Set(Object.getOwnPropertyNames(Symbol).filter(e=>e!=="arguments"&&e!=="caller").map(e=>Symbol[e]).filter(hr)),bm=Bz();function Bz(){const e={};return["includes","indexOf","lastIndexOf"].forEach(t=>{e[t]=function(...n){const r=Xe(this);for(let s=0,i=this.length;s<i;s++)hn(r,"get",s+"");const o=r[t](...n);return o===-1||o===!1?r[t](...n.map(Xe)):o}}),["push","pop","shift","unshift","splice"].forEach(t=>{e[t]=function(...n){uo(),cd();const r=Xe(this)[t].apply(this,n);return ud(),mo(),r}}),e}function Wz(e){hr(e)||(e=String(e));const t=Xe(this);return hn(t,"has",e),t.hasOwnProperty(e)}class Yh{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?n_:t_:s?e_:Qh).get(t)||Object.getPrototypeOf(t)===Object.getPrototypeOf(r)?t:void 0;const i=ze(t);if(!o){if(i&&tt(bm,n))return Reflect.get(bm,n,r);if(n==="hasOwnProperty")return Wz}const a=Reflect.get(t,n,r);return(hr(n)?Zh.has(n):jz(n))||(o||hn(t,"get",n),s)?a:Ot(a)?i&&id(n)?a:a.value:ft(a)?o?fd(a):Ts(a):a}}class Xh extends Yh{constructor(t=!1){super(!1,t)}set(t,n,r,o){let s=t[n];if(!this._isShallow){const l=so(s);if(!No(r)&&!so(r)&&(s=Xe(s),r=Xe(r)),!ze(t)&&Ot(s)&&!Ot(r))return l?!1:(s.value=r,!0)}const i=ze(t)&&id(n)?Number(n)<t.length:tt(t,n),a=Reflect.set(t,n,r,o);return t===Xe(o)&&(i?nn(r,s)&&xr(t,"set",n,r):xr(t,"add",n,r)),a}deleteProperty(t,n){const r=tt(t,n);t[n];const o=Reflect.deleteProperty(t,n);return o&&r&&xr(t,"delete",n,void 0),o}has(t,n){const r=Reflect.has(t,n);return(!hr(n)||!Zh.has(n))&&hn(t,"has",n),r}ownKeys(t){return hn(t,"iterate",ze(t)?"length":To),Reflect.ownKeys(t)}}class Jh extends Yh{constructor(t=!1){super(!0,t)}set(t,n){return!0}deleteProperty(t,n){return!0}}const qz=new Xh,Gz=new Jh,Kz=new Xh(!0),Zz=new Jh(!0),dd=e=>e,kl=e=>Reflect.getPrototypeOf(e);function Yi(e,t,n=!1,r=!1){e=e.__v_raw;const o=Xe(e),s=Xe(t);n||(nn(t,s)&&hn(o,"get",t),hn(o,"get",s));const{has:i}=kl(o),a=r?dd:n?hd:zi;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 Xi(e,t=!1){const n=this.__v_raw,r=Xe(n),o=Xe(e);return t||(nn(e,o)&&hn(r,"has",e),hn(r,"has",o)),e===o?n.has(e):n.has(e)||n.has(o)}function Ji(e,t=!1){return e=e.__v_raw,!t&&hn(Xe(e),"iterate",To),Reflect.get(e,"size",e)}function Cm(e,t=!1){!t&&!No(e)&&!so(e)&&(e=Xe(e));const n=Xe(this);return kl(n).has.call(n,e)||(n.add(e),xr(n,"add",e,e)),this}function wm(e,t,n=!1){!n&&!No(t)&&!so(t)&&(t=Xe(t));const r=Xe(this),{has:o,get:s}=kl(r);let i=o.call(r,e);i||(e=Xe(e),i=o.call(r,e));const a=s.call(r,e);return r.set(e,t),i?nn(t,a)&&xr(r,"set",e,t):xr(r,"add",e,t),this}function km(e){const t=Xe(this),{has:n,get:r}=kl(t);let o=n.call(t,e);o||(e=Xe(e),o=n.call(t,e)),r&&r.call(t,e);const s=t.delete(e);return o&&xr(t,"delete",e,void 0),s}function Sm(){const e=Xe(this),t=e.size!==0,n=e.clear();return t&&xr(e,"clear",void 0,void 0),n}function Qi(e,t){return function(r,o){const s=this,i=s.__v_raw,a=Xe(i),l=t?dd:e?hd:zi;return!e&&hn(a,"iterate",To),i.forEach((u,m)=>r.call(o,l(u),l(m),s))}}function ea(e,t,n){return function(...r){const o=this.__v_raw,s=Xe(o),i=us(s),a=e==="entries"||e===Symbol.iterator&&i,l=e==="keys"&&i,u=o[e](...r),m=n?dd:t?hd:zi;return!t&&hn(s,"iterate",l?ru:To),{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 Dr(e){return function(...t){return e==="delete"?!1:e==="clear"?void 0:this}}function Yz(){const e={get(s){return Yi(this,s)},get size(){return Ji(this)},has:Xi,add:Cm,set:wm,delete:km,clear:Sm,forEach:Qi(!1,!1)},t={get(s){return Yi(this,s,!1,!0)},get size(){return Ji(this)},has:Xi,add(s){return Cm.call(this,s,!0)},set(s,i){return wm.call(this,s,i,!0)},delete:km,clear:Sm,forEach:Qi(!1,!0)},n={get(s){return Yi(this,s,!0)},get size(){return Ji(this,!0)},has(s){return Xi.call(this,s,!0)},add:Dr("add"),set:Dr("set"),delete:Dr("delete"),clear:Dr("clear"),forEach:Qi(!0,!1)},r={get(s){return Yi(this,s,!0,!0)},get size(){return Ji(this,!0)},has(s){return Xi.call(this,s,!0)},add:Dr("add"),set:Dr("set"),delete:Dr("delete"),clear:Dr("clear"),forEach:Qi(!0,!0)};return["keys","values","entries",Symbol.iterator].forEach(s=>{e[s]=ea(s,!1,!1),n[s]=ea(s,!0,!1),t[s]=ea(s,!1,!0),r[s]=ea(s,!0,!0)}),[e,n,t,r]}const[Xz,Jz,Qz,ev]=Yz();function Sl(e,t){const n=t?e?ev:Qz:e?Jz:Xz;return(r,o,s)=>o==="__v_isReactive"?!e:o==="__v_isReadonly"?e:o==="__v_raw"?r:Reflect.get(tt(n,o)&&o in r?n:r,o,s)}const tv={get:Sl(!1,!1)},nv={get:Sl(!1,!0)},rv={get:Sl(!0,!1)},ov={get:Sl(!0,!0)},Qh=new WeakMap,e_=new WeakMap,t_=new WeakMap,n_=new WeakMap;function sv(e){switch(e){case"Object":case"Array":return 1;case"Map":case"Set":case"WeakMap":case"WeakSet":return 2;default:return 0}}function iv(e){return e.__v_skip||!Object.isExtensible(e)?0:sv(Ez(e))}function Ts(e){return so(e)?e:xl(e,!1,qz,tv,Qh)}function md(e){return xl(e,!1,Kz,nv,e_)}function fd(e){return xl(e,!0,Gz,rv,t_)}function av(e){return xl(e,!0,Zz,ov,n_)}function xl(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=iv(e);if(i===0)return e;const a=new Proxy(e,i===2?r:n);return o.set(e,a),a}function Er(e){return so(e)?Er(e.__v_raw):!!(e&&e.__v_isReactive)}function so(e){return!!(e&&e.__v_isReadonly)}function No(e){return!!(e&&e.__v_isShallow)}function pd(e){return e?!!e.__v_raw:!1}function Xe(e){const t=e&&e.__v_raw;return t?Xe(t):e}function El(e){return Object.isExtensible(e)&&Rh(e,"__v_skip",!0),e}const zi=e=>ft(e)?Ts(e):e,hd=e=>ft(e)?fd(e):e;class r_{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 ys(()=>t(this._value),()=>fs(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=Xe(this);return(!t._cacheable||t.effect.dirty)&&nn(t._value,t._value=t.effect.run())&&fs(t,4),_d(t),t.effect._dirtyLevel>=2&&fs(t,2),t._value}set value(t){this._setter(t)}get _dirty(){return this.effect.dirty}set _dirty(t){this.effect.dirty=t}}function lv(e,t,n=!1){let r,o;const s=Oe(e);return s?(r=e,o=fn):(r=e.get,o=e.set),new r_(r,o,s||!o,n)}function _d(e){var t;no&&$o&&(e=Xe(e),qh($o,(t=e.dep)!=null?t:e.dep=Kh(()=>e.dep=void 0,e instanceof r_?e:void 0)))}function fs(e,t=4,n,r){e=Xe(e);const o=e.dep;o&&Gh(o,t)}function Ot(e){return!!(e&&e.__v_isRef===!0)}function Ln(e){return o_(e,!1)}function gd(e){return o_(e,!0)}function o_(e,t){return Ot(e)?e:new cv(e,t)}class cv{constructor(t,n){this.__v_isShallow=n,this.dep=void 0,this.__v_isRef=!0,this._rawValue=n?t:Xe(t),this._value=n?t:zi(t)}get value(){return _d(this),this._value}set value(t){const n=this.__v_isShallow||No(t)||so(t);t=n?t:Xe(t),nn(t,this._rawValue)&&(this._rawValue,this._rawValue=t,this._value=n?t:zi(t),fs(this,4))}}function uv(e){fs(e,4)}function Cn(e){return Ot(e)?e.value:e}function dv(e){return Oe(e)?e():Cn(e)}const mv={get:(e,t,n)=>Cn(Reflect.get(e,t,n)),set:(e,t,n,r)=>{const o=e[t];return Ot(o)&&!Ot(n)?(o.value=n,!0):Reflect.set(e,t,n,r)}};function yd(e){return Er(e)?e:new Proxy(e,mv)}class fv{constructor(t){this.dep=void 0,this.__v_isRef=!0;const{get:n,set:r}=t(()=>_d(this),()=>fs(this));this._get=n,this._set=r}get value(){return this._get()}set value(t){this._set(t)}}function s_(e){return new fv(e)}function i_(e){const t=ze(e)?new Array(e.length):{};for(const n in e)t[n]=a_(e,n);return t}class pv{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 Uz(Xe(this._object),this._key)}}class hv{constructor(t){this._getter=t,this.__v_isRef=!0,this.__v_isReadonly=!0}get value(){return this._getter()}}function _v(e,t,n){return Ot(e)?e:Oe(e)?new hv(e):ft(e)&&arguments.length>1?a_(e,t,n):Ln(e)}function a_(e,t,n){const r=e[t];return Ot(r)?r:new pv(e,t,n)}const gv={GET:"get",HAS:"has",ITERATE:"iterate"},yv={SET:"set",ADD:"add",DELETE:"delete",CLEAR:"clear"};/**
* @vue/runtime-core v3.4.38
* (c) 2018-present Yuxi (Evan) You and Vue contributors
* @license MIT
**/function zv(e,t){}const vv={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",COMPONENT_UPDATE:15,15:"COMPONENT_UPDATE"},bv={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",15:"component update"};function $r(e,t,n,r){try{return r?e(...r):e()}catch(o){Ho(o,t,n)}}function kn(e,t,n,r){if(Oe(e)){const o=$r(e,t,n,r);return o&&sd(o)&&o.catch(s=>{Ho(s,t,n)}),o}if(ze(e)){const o=[];for(let s=0;s<e.length;s++)o.push(kn(e[s],t,n,r));return o}}function Ho(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){uo(),$r(l,null,10,[e,i,a]),mo();return}}Cv(e,n,o,r)}function Cv(e,t,n,r=!0){console.error(e)}let vi=!1,ou=!1;const Gt=[];let ur=0;const ps=[];let qr=null,So=0;const l_=Promise.resolve();let zd=null;function Uo(e){const t=zd||l_;return e?t.then(this?e.bind(this):e):t}function wv(e){let t=ur+1,n=Gt.length;for(;t<n;){const r=t+n>>>1,o=Gt[r],s=bi(o);s<e||s===e&&o.pre?t=r+1:n=r}return t}function $l(e){(!Gt.length||!Gt.includes(e,vi&&e.allowRecurse?ur+1:ur))&&(e.id==null?Gt.push(e):Gt.splice(wv(e.id),0,e),c_())}function c_(){!vi&&!ou&&(ou=!0,zd=l_.then(u_))}function kv(e){const t=Gt.indexOf(e);t>ur&&Gt.splice(t,1)}function Wa(e){ze(e)?ps.push(...e):(!qr||!qr.includes(e,e.allowRecurse?So+1:So))&&ps.push(e),c_()}function xm(e,t,n=vi?ur+1:0){for(;n<Gt.length;n++){const r=Gt[n];if(r&&r.pre){if(e&&r.id!==e.uid)continue;Gt.splice(n,1),n--,r()}}}function qa(e){if(ps.length){const t=[...new Set(ps)].sort((n,r)=>bi(n)-bi(r));if(ps.length=0,qr){qr.push(...t);return}for(qr=t,So=0;So<qr.length;So++){const n=qr[So];n.active!==!1&&n()}qr=null,So=0}}const bi=e=>e.id==null?1/0:e.id,Sv=(e,t)=>{const n=bi(e)-bi(t);if(n===0){if(e.pre&&!t.pre)return-1;if(t.pre&&!e.pre)return 1}return n};function u_(e){ou=!1,vi=!0,Gt.sort(Sv);try{for(ur=0;ur<Gt.length;ur++){const t=Gt[ur];t&&t.active!==!1&&$r(t,t.i,t.i?15:14)}}finally{ur=0,Gt.length=0,qa(),vi=!1,zd=null,(Gt.length||ps.length)&&u_()}}let es,ta=[];function d_(e,t){var n,r;es=e,es?(es.enabled=!0,ta.forEach(({event:o,args:s})=>es.emit(o,...s)),ta=[]):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=>{d_(s,t)}),setTimeout(()=>{es||(t.__VUE_DEVTOOLS_HOOK_REPLAY__=null,ta=[])},3e3)):ta=[]}let Vt=null,Tl=null;function Ci(e){const t=Vt;return Vt=e,Tl=e&&e.type.__scopeId||null,t}function xv(e){Tl=e}function Ev(){Tl=null}const $v=e=>N;function N(e,t=Vt,n){if(!t||e._n)return e;const r=(...o)=>{r._d&&fu(-1);const s=Ci(t);let i;try{i=e(...o)}finally{Ci(s),r._d&&fu(1)}return i};return r._n=!0,r._c=!0,r._d=!0,r}function ht(e,t){if(Vt===null)return e;const n=Vi(Vt),r=e.dirs||(e.dirs=[]);for(let o=0;o<t.length;o++){let[s,i,a,l=st]=t[o];s&&(Oe(s)&&(s={mounted:s,updated:s}),s.deep&&Jr(i),r.push({dir:s,instance:n,value:i,oldValue:void 0,arg:a,modifiers:l}))}return e}function cr(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&&(uo(),kn(l,n,8,[e.el,a,e,t]),mo())}}const Gr=Symbol("_leaveCb"),na=Symbol("_enterCb");function vd(){const e={isMounted:!1,isLeaving:!1,isUnmounting:!1,leavingVNodes:new Map};return As(()=>{e.isMounted=!0}),Il(()=>{e.isUnmounting=!0}),e}const $n=[Function,Array],bd={mode:String,appear:Boolean,persisted:Boolean,onBeforeEnter:$n,onEnter:$n,onAfterEnter:$n,onEnterCancelled:$n,onBeforeLeave:$n,onLeave:$n,onAfterLeave:$n,onLeaveCancelled:$n,onBeforeAppear:$n,onAppear:$n,onAfterAppear:$n,onAppearCancelled:$n},m_=e=>{const t=e.subTree;return t.component?m_(t.component):t},Tv={name:"BaseTransition",props:bd,setup(e,{slots:t}){const n=Un(),r=vd();return()=>{const o=t.default&&Al(t.default(),!0);if(!o||!o.length)return;let s=o[0];if(o.length>1){for(const f of o)if(f.type!==Mt){s=f;break}}const i=Xe(e),{mode:a}=i;if(r.isLeaving)return uc(s);const l=Em(s);if(!l)return uc(s);let u=zs(l,i,r,n,f=>u=f);io(l,u);const m=n.subTree,d=m&&Em(m);if(d&&d.type!==Mt&&!Yn(l,d)&&m_(n).type!==Mt){const f=zs(d,i,r,n);if(io(d,f),a==="out-in"&&l.type!==Mt)return r.isLeaving=!0,f.afterLeave=()=>{r.isLeaving=!1,n.update.active!==!1&&(n.effect.dirty=!0,n.update())},uc(s);a==="in-out"&&l.type!==Mt&&(f.delayLeave=(p,h,g)=>{const z=p_(r,d);z[String(d.key)]=d,p[Gr]=()=>{h(),p[Gr]=void 0,delete u.delayedLeave},u.delayedLeave=g})}return s}}},f_=Tv;function p_(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 zs(e,t,n,r,o){const{appear:s,mode:i,persisted:a=!1,onBeforeEnter:l,onEnter:u,onAfterEnter:m,onEnterCancelled:d,onBeforeLeave:f,onLeave:p,onAfterLeave:h,onLeaveCancelled:g,onBeforeAppear:z,onAppear:k,onAfterAppear:w,onAppearCancelled:_}=t,v=String(e.key),S=p_(n,e),C=($,F)=>{$&&kn($,r,9,F)},L=($,F)=>{const q=F[1];C($,F),ze($)?$.every(U=>U.length<=1)&&q():$.length<=1&&q()},D={mode:i,persisted:a,beforeEnter($){let F=l;if(!n.isMounted)if(s)F=z||l;else return;$[Gr]&&$[Gr](!0);const q=S[v];q&&Yn(e,q)&&q.el[Gr]&&q.el[Gr](),C(F,[$])},enter($){let F=u,q=m,U=d;if(!n.isMounted)if(s)F=k||u,q=w||m,U=_||d;else return;let W=!1;const ne=$[na]=me=>{W||(W=!0,me?C(U,[$]):C(q,[$]),D.delayedLeave&&D.delayedLeave(),$[na]=void 0)};F?L(F,[$,ne]):ne()},leave($,F){const q=String(e.key);if($[na]&&$[na](!0),n.isUnmounting)return F();C(f,[$]);let U=!1;const W=$[Gr]=ne=>{U||(U=!0,F(),ne?C(g,[$]):C(h,[$]),$[Gr]=void 0,S[q]===e&&delete S[q])};S[q]=e,p?L(p,[$,W]):W()},clone($){const F=zs($,t,n,r,o);return o&&o(F),F}};return D}function uc(e){if(Di(e))return e=_r(e),e.children=null,e}function Em(e){if(!Di(e))return e;const{shapeFlag:t,children:n}=e;if(n){if(t&16)return n[0];if(t&32&&Oe(n.default))return n.default()}}function io(e,t){e.shapeFlag&6&&e.component?io(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 Al(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===ve?(i.patchFlag&128&&o++,r=r.concat(Al(i.children,t,a))):(t||i.type!==Mt)&&r.push(a!=null?_r(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 Pr(e,t){return Oe(e)?kt({name:e.name},t,{setup:e}):e}const Ao=e=>!!e.type.__asyncLoader;/*! #__NO_SIDE_EFFECTS__ */function Av(e){Oe(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((g,z)=>{a(h,()=>g(d()),()=>z(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 Pr({name:"AsyncComponentWrapper",__asyncLoader:f,get __asyncResolved(){return u},setup(){const p=Ft;if(u)return()=>dc(u,p);const h=w=>{l=null,Ho(w,p,13,!r)};if(i&&p.suspense||Fi)return f().then(w=>()=>dc(w,p)).catch(w=>(h(w),()=>r?b(r,{error:w}):null));const g=Ln(!1),z=Ln(),k=Ln(!!o);return o&&setTimeout(()=>{k.value=!1},o),s!=null&&setTimeout(()=>{if(!g.value&&!z.value){const w=new Error(`Async component timed out after ${s}ms.`);h(w),z.value=w}},s),f().then(()=>{g.value=!0,p.parent&&Di(p.parent.vnode)&&(p.parent.effect.dirty=!0,$l(p.parent.update))}).catch(w=>{h(w),z.value=w}),()=>{if(g.value&&u)return dc(u,p);if(z.value&&r)return b(r,{error:z.value});if(n&&!k.value)return b(n)}}})}function dc(e,t){const{ref:n,props:r,children:o,ce:s}=t.vnode,i=b(e,r,o);return i.ref=n,i.ce=s,delete t.vnode.ce,i}const Di=e=>e.type.__isKeepAlive,Ov={name:"KeepAlive",__isKeepAlive:!0,props:{include:[String,RegExp,Array],exclude:[String,RegExp,Array],max:[String,Number]},setup(e,{slots:t}){const n=Un(),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,S,C)=>{const L=w.component;u(w,_,v,0,a),l(L.vnode,w,_,v,L,a,S,w.slotScopeIds,C),Ut(()=>{L.isDeactivated=!1,L.a&&ms(L.a);const D=w.props&&w.props.onVnodeMounted;D&&cn(D,L.parent,w)},a)},r.deactivate=w=>{const _=w.component;Za(_.m),Za(_.a),u(w,f,null,1,a),Ut(()=>{_.da&&ms(_.da);const v=w.props&&w.props.onVnodeUnmounted;v&&cn(v,_.parent,w),_.isDeactivated=!0},a)};function p(w){mc(w),m(w,n,a,!0)}function h(w){o.forEach((_,v)=>{const S=yu(_.type);S&&(!w||!w(S))&&g(v)})}function g(w){const _=o.get(w);_&&(!i||!Yn(_,i))?p(_):i&&mc(i),o.delete(w),s.delete(w)}Dn(()=>[e.include,e.exclude],([w,_])=>{w&&h(v=>Zs(w,v)),_&&h(v=>!Zs(_,v))},{flush:"post",deep:!0});let z=null;const k=()=>{z!=null&&(du(n.subTree.type)?Ut(()=>{o.set(z,ra(n.subTree))},n.subTree.suspense):o.set(z,ra(n.subTree)))};return As(k),Pl(k),Il(()=>{o.forEach(w=>{const{subTree:_,suspense:v}=n,S=ra(_);if(w.type===S.type&&w.key===S.key){mc(S);const C=S.component.da;C&&Ut(C,v);return}p(w)})}),()=>{if(z=null,!t.default)return null;const w=t.default(),_=w[0];if(w.length>1)return i=null,w;if(!ao(_)||!(_.shapeFlag&4)&&!(_.shapeFlag&128))return i=null,_;let v=ra(_);if(v.type===Mt)return i=null,v;const S=v.type,C=yu(Ao(v)?v.type.__asyncResolved||{}:S),{include:L,exclude:D,max:$}=e;if(L&&(!C||!Zs(L,C))||D&&C&&Zs(D,C))return i=v,_;const F=v.key==null?S:v.key,q=o.get(F);return v.el&&(v=_r(v),_.shapeFlag&128&&(_.ssContent=v)),z=F,q?(v.el=q.el,v.component=q.component,v.transition&&io(v,v.transition),v.shapeFlag|=512,s.delete(F),s.add(F)):(s.add(F),$&&s.size>parseInt($,10)&&g(s.values().next().value)),v.shapeFlag|=256,i=v,du(_.type)?_:v}}},Pv=Ov;function Zs(e,t){return ze(e)?e.some(n=>Zs(n,t)):bt(e)?e.split(",").includes(t):xz(e)?e.test(t):!1}function h_(e,t){g_(e,"a",t)}function __(e,t){g_(e,"da",t)}function g_(e,t,n=Ft){const r=e.__wdc||(e.__wdc=()=>{let o=n;for(;o;){if(o.isDeactivated)return;o=o.parent}return e()});if(Ol(t,r,n),n){let o=n.parent;for(;o&&o.parent;)Di(o.parent.vnode)&&Iv(r,t,n,o),o=o.parent}}function Iv(e,t,n,r){const o=Ol(t,e,r,!0);Ri(()=>{od(r[t],o)},n)}function mc(e){e.shapeFlag&=-257,e.shapeFlag&=-513}function ra(e){return e.shapeFlag&128?e.ssContent:e}function Ol(e,t,n=Ft,r=!1){if(n){const o=n[e]||(n[e]=[]),s=t.__weh||(t.__weh=(...i)=>{uo();const a=Ro(n),l=kn(t,n,e,i);return a(),mo(),l});return r?o.unshift(s):o.push(s),s}}const Ir=e=>(t,n=Ft)=>{(!Fi||e==="sp")&&Ol(e,(...r)=>t(...r),n)},Cd=Ir("bm"),As=Ir("m"),y_=Ir("bu"),Pl=Ir("u"),Il=Ir("bum"),Ri=Ir("um"),z_=Ir("sp"),v_=Ir("rtg"),b_=Ir("rtc");function C_(e,t=Ft){Ol("ec",e,t)}const wd="components",Lv="directives";function O(e,t){return Sd(wd,e,!0,t)||e}const w_=Symbol.for("v-ndc");function Ll(e){return bt(e)?Sd(wd,e,!1)||e:e||w_}function kd(e){return Sd(Lv,e)}function Sd(e,t,n=!0,r=!1){const o=Vt||Ft;if(o){const s=o.type;if(e===wd){const a=yu(s,!1);if(a&&(a===t||a===Xt(t)||a===Ni(Xt(t))))return s}const i=$m(o[e]||s[e],t)||$m(o.appContext[e],t);return!i&&r?s:i}}function $m(e,t){return e&&(e[t]||e[Xt(t)]||e[Ni(Xt(t))])}function _t(e,t,n,r){let o;const s=n&&n[r];if(ze(e)||bt(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 xd(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 vt(e,t,n={},r,o){if(Vt.isCE||Vt.parent&&Ao(Vt.parent)&&Vt.parent.isCE)return t!=="default"&&(n.name=t),b("slot",n,r&&r());let s=e[t];s&&s._c&&(s._d=!1),x();const i=s&&Ed(s(n)),a=we(ve,{key:(n.key||i&&i.key||`_${t}`)+(!i&&r?"_fb":"")},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 Ed(e){return e.some(t=>ao(t)?!(t.type===Mt||t.type===ve&&!Ed(t.children)):!0)?e:null}function Nv(e,t){const n={};for(const r in e)n[t&&/[A-Z]/.test(r)?`on:${r}`:ri(r)]=e[r];return n}const su=e=>e?ig(e)?Vi(e):su(e.parent):null,oi=kt(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=>su(e.parent),$root:e=>su(e.root),$emit:e=>e.emit,$options:e=>$d(e),$forceUpdate:e=>e.f||(e.f=()=>{e.effect.dirty=!0,$l(e.update)}),$nextTick:e=>e.n||(e.n=Uo.bind(e.proxy)),$watch:e=>_b.bind(e)}),fc=(e,t)=>e!==st&&!e.__isScriptSetup&&tt(e,t),iu={get({_:e},t){if(t==="__v_skip")return!0;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(fc(r,t))return i[t]=1,r[t];if(o!==st&&tt(o,t))return i[t]=2,o[t];if((u=e.propsOptions[0])&&tt(u,t))return i[t]=3,s[t];if(n!==st&&tt(n,t))return i[t]=4,n[t];au&&(i[t]=0)}}const m=oi[t];let d,f;if(m)return t==="$attrs"&&hn(e.attrs,"get",""),m(e);if((d=a.__cssModules)&&(d=d[t]))return d;if(n!==st&&tt(n,t))return i[t]=4,n[t];if(f=l.config.globalProperties,tt(f,t))return f[t]},set({_:e},t,n){const{data:r,setupState:o,ctx:s}=e;return fc(o,t)?(o[t]=n,!0):r!==st&&tt(r,t)?(r[t]=n,!0):tt(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!==st&&tt(e,i)||fc(t,i)||(a=s[0])&&tt(a,i)||tt(r,i)||tt(oi,i)||tt(o.config.globalProperties,i)},defineProperty(e,t,n){return n.get!=null?e._.accessCache[t]=0:tt(n,"value")&&this.set(e,t,n.value,null),Reflect.defineProperty(e,t,n)}},Dv=kt({},iu,{get(e,t){if(t!==Symbol.unscopables)return iu.get(e,t,e)},has(e,t){return t[0]!=="_"&&!Oz(t)}});function Rv(){return null}function Mv(){return null}function Fv(e){}function Vv(e){}function Hv(){return null}function Uv(){}function jv(e,t){return null}function Bv(){return k_().slots}function Wv(){return k_().attrs}function k_(){const e=Un();return e.setupContext||(e.setupContext=cg(e))}function wi(e){return ze(e)?e.reduce((t,n)=>(t[n]=null,t),{}):e}function qv(e,t){const n=wi(e);for(const r in t){if(r.startsWith("__skip"))continue;let o=n[r];o?ze(o)||Oe(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 Gv(e,t){return!e||!t?e||t:ze(e)&&ze(t)?e.concat(t):kt({},wi(e),wi(t))}function Kv(e,t){const n={};for(const r in e)t.includes(r)||Object.defineProperty(n,r,{enumerable:!0,get:()=>e[r]});return n}function Zv(e){const t=Un();let n=e();return hu(),sd(n)&&(n=n.catch(r=>{throw Ro(t),r})),[n,()=>Ro(t)]}let au=!0;function Yv(e){const t=$d(e),n=e.proxy,r=e.ctx;au=!1,t.beforeCreate&&Tm(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:g,deactivated:z,beforeDestroy:k,beforeUnmount:w,destroyed:_,unmounted:v,render:S,renderTracked:C,renderTriggered:L,errorCaptured:D,serverPrefetch:$,expose:F,inheritAttrs:q,components:U,directives:W,filters:ne}=t;if(u&&Xv(u,r,null),i)for(const re in i){const ce=i[re];Oe(ce)&&(r[re]=ce.bind(n))}if(o){const re=o.call(n,n);ft(re)&&(e.data=Ts(re))}if(au=!0,s)for(const re in s){const ce=s[re],Ne=Oe(ce)?ce.bind(n,n):Oe(ce.get)?ce.get.bind(n,n):fn,it=!Oe(ce)&&Oe(ce.set)?ce.set.bind(n):fn,Ve=jt({get:Ne,set:it});Object.defineProperty(r,re,{enumerable:!0,configurable:!0,get:()=>Ve.value,set:He=>Ve.value=He})}if(a)for(const re in a)S_(a[re],r,n,re);if(l){const re=Oe(l)?l.call(n):l;Reflect.ownKeys(re).forEach(ce=>{si(ce,re[ce])})}m&&Tm(m,e,"c");function K(re,ce){ze(ce)?ce.forEach(Ne=>re(Ne.bind(n))):ce&&re(ce.bind(n))}if(K(Cd,d),K(As,f),K(y_,p),K(Pl,h),K(h_,g),K(__,z),K(C_,D),K(b_,C),K(v_,L),K(Il,w),K(Ri,v),K(z_,$),ze(F))if(F.length){const re=e.exposed||(e.exposed={});F.forEach(ce=>{Object.defineProperty(re,ce,{get:()=>n[ce],set:Ne=>n[ce]=Ne})})}else e.exposed||(e.exposed={});S&&e.render===fn&&(e.render=S),q!=null&&(e.inheritAttrs=q),U&&(e.components=U),W&&(e.directives=W)}function Xv(e,t,n=fn){ze(e)&&(e=lu(e));for(const r in e){const o=e[r];let s;ft(o)?"default"in o?s=Nn(o.from||r,o.default,!0):s=Nn(o.from||r):s=Nn(o),Ot(s)?Object.defineProperty(t,r,{enumerable:!0,configurable:!0,get:()=>s.value,set:i=>s.value=i}):t[r]=s}}function Tm(e,t,n){kn(ze(e)?e.map(r=>r.bind(t.proxy)):e.bind(t.proxy),t,n)}function S_(e,t,n,r){const o=r.includes(".")?Y_(n,r):()=>n[r];if(bt(e)){const s=t[e];Oe(s)&&Dn(o,s)}else if(Oe(e))Dn(o,e.bind(n));else if(ft(e))if(ze(e))e.forEach(s=>S_(s,t,n,r));else{const s=Oe(e.handler)?e.handler.bind(n):t[e.handler];Oe(s)&&Dn(o,s,e)}}function $d(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=>Ga(l,u,i,!0)),Ga(l,t,i)),ft(t)&&s.set(t,l),l}function Ga(e,t,n,r=!1){const{mixins:o,extends:s}=t;s&&Ga(e,s,n,!0),o&&o.forEach(i=>Ga(e,i,n,!0));for(const i in t)if(!(r&&i==="expose")){const a=Jv[i]||n&&n[i];e[i]=a?a(e[i],t[i]):t[i]}return e}const Jv={data:Am,props:Om,emits:Om,methods:Ys,computed:Ys,beforeCreate:Qt,created:Qt,beforeMount:Qt,mounted:Qt,beforeUpdate:Qt,updated:Qt,beforeDestroy:Qt,beforeUnmount:Qt,destroyed:Qt,unmounted:Qt,activated:Qt,deactivated:Qt,errorCaptured:Qt,serverPrefetch:Qt,components:Ys,directives:Ys,watch:eb,provide:Am,inject:Qv};function Am(e,t){return t?e?function(){return kt(Oe(e)?e.call(this,this):e,Oe(t)?t.call(this,this):t)}:t:e}function Qv(e,t){return Ys(lu(e),lu(t))}function lu(e){if(ze(e)){const t={};for(let n=0;n<e.length;n++)t[e[n]]=e[n];return t}return e}function Qt(e,t){return e?[...new Set([].concat(e,t))]:t}function Ys(e,t){return e?kt(Object.create(null),e,t):t}function Om(e,t){return e?ze(e)&&ze(t)?[...new Set([...e,...t])]:kt(Object.create(null),wi(e),wi(t??{})):t}function eb(e,t){if(!e)return t;if(!t)return e;const n=kt(Object.create(null),e);for(const r in t)n[r]=Qt(e[r],t[r]);return n}function x_(){return{app:null,config:{isNativeTag:kz,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 tb=0;function nb(e,t){return function(r,o=null){Oe(r)||(r=kt({},r)),o!=null&&!ft(o)&&(o=null);const s=x_(),i=new WeakSet;let a=!1;const l=s.app={_uid:tb++,_component:r,_props:o,_container:null,_context:s,_instance:null,version:dg,get config(){return s.config},set config(u){},use(u,...m){return i.has(u)||(u&&Oe(u.install)?(i.add(u),u.install(l,...m)):Oe(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=b(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,Vi(f.component)}},unmount(){a&&(e(null,l._container),delete l._container.__vue_app__)},provide(u,m){return s.provides[u]=m,l},runWithContext(u){const m=Oo;Oo=l;try{return u()}finally{Oo=m}}};return l}}let Oo=null;function si(e,t){if(Ft){let n=Ft.provides;const r=Ft.parent&&Ft.parent.provides;r===n&&(n=Ft.provides=Object.create(r)),n[e]=t}}function Nn(e,t,n=!1){const r=Ft||Vt;if(r||Oo){const o=Oo?Oo._context.provides:r?r.parent==null?r.vnode.appContext&&r.vnode.appContext.provides:r.parent.provides:void 0;if(o&&e in o)return o[e];if(arguments.length>1)return n&&Oe(t)?t.call(r&&r.proxy):t}}function E_(){return!!(Ft||Vt||Oo)}const $_={},T_=()=>Object.create($_),A_=e=>Object.getPrototypeOf(e)===$_;function rb(e,t,n,r=!1){const o={},s=T_();e.propsDefaults=Object.create(null),O_(e,t,o,s);for(const i in e.propsOptions[0])i in o||(o[i]=void 0);n?e.props=r?o:md(o):e.type.props?e.props=o:e.props=s,e.attrs=s}function ob(e,t,n,r){const{props:o,attrs:s,vnode:{patchFlag:i}}=e,a=Xe(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(Nl(e.emitsOptions,f))continue;const p=t[f];if(l)if(tt(s,f))p!==s[f]&&(s[f]=p,u=!0);else{const h=Xt(f);o[h]=cu(l,a,h,p,e,!1)}else p!==s[f]&&(s[f]=p,u=!0)}}}else{O_(e,t,o,s)&&(u=!0);let m;for(const d in a)(!t||!tt(t,d)&&((m=mn(d))===d||!tt(t,m)))&&(l?n&&(n[d]!==void 0||n[m]!==void 0)&&(o[d]=cu(l,a,d,void 0,e,!0)):delete o[d]);if(s!==a)for(const d in s)(!t||!tt(t,d))&&(delete s[d],u=!0)}u&&xr(e.attrs,"set","")}function O_(e,t,n,r){const[o,s]=e.propsOptions;let i=!1,a;if(t)for(let l in t){if(ds(l))continue;const u=t[l];let m;o&&tt(o,m=Xt(l))?!s||!s.includes(m)?n[m]=u:(a||(a={}))[m]=u:Nl(e.emitsOptions,l)||(!(l in r)||u!==r[l])&&(r[l]=u,i=!0)}if(s){const l=Xe(n),u=a||st;for(let m=0;m<s.length;m++){const d=s[m];n[d]=cu(o,l,d,u[d],e,!tt(u,d))}}return i}function cu(e,t,n,r,o,s){const i=e[n];if(i!=null){const a=tt(i,"default");if(a&&r===void 0){const l=i.default;if(i.type!==Function&&!i.skipFactory&&Oe(l)){const{propsDefaults:u}=o;if(n in u)r=u[n];else{const m=Ro(o);r=u[n]=l.call(null,t),m()}}else r=l}i[0]&&(s&&!a?r=!1:i[1]&&(r===""||r===mn(n))&&(r=!0))}return r}const sb=new WeakMap;function P_(e,t,n=!1){const r=n?sb:t.propsCache,o=r.get(e);if(o)return o;const s=e.props,i={},a=[];let l=!1;if(!Oe(e)){const m=d=>{l=!0;const[f,p]=P_(d,t,!0);kt(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,cs),cs;if(ze(s))for(let m=0;m<s.length;m++){const d=Xt(s[m]);Pm(d)&&(i[d]=st)}else if(s)for(const m in s){const d=Xt(m);if(Pm(d)){const f=s[m],p=i[d]=ze(f)||Oe(f)?{type:f}:kt({},f),h=p.type;let g=!1,z=!0;if(ze(h))for(let k=0;k<h.length;++k){const w=h[k],_=Oe(w)&&w.name;if(_==="Boolean"){g=!0;break}else _==="String"&&(z=!1)}else g=Oe(h)&&h.name==="Boolean";p[0]=g,p[1]=z,(g||tt(p,"default"))&&a.push(d)}}const u=[i,a];return ft(e)&&r.set(e,u),u}function Pm(e){return e[0]!=="$"&&!ds(e)}const I_=e=>e[0]==="_"||e==="$stable",Td=e=>ze(e)?e.map(un):[un(e)],ib=(e,t,n)=>{if(t._n)return t;const r=N((...o)=>Td(t(...o)),n);return r._c=!1,r},L_=(e,t,n)=>{const r=e._ctx;for(const o in e){if(I_(o))continue;const s=e[o];if(Oe(s))t[o]=ib(o,s,r);else if(s!=null){const i=Td(s);t[o]=()=>i}}},N_=(e,t)=>{const n=Td(t);e.slots.default=()=>n},D_=(e,t,n)=>{for(const r in t)(n||r!=="_")&&(e[r]=t[r])},ab=(e,t,n)=>{const r=e.slots=T_();if(e.vnode.shapeFlag&32){const o=t._;o?(D_(r,t,n),n&&Rh(r,"_",o,!0)):L_(t,r)}else t&&N_(e,t)},lb=(e,t,n)=>{const{vnode:r,slots:o}=e;let s=!0,i=st;if(r.shapeFlag&32){const a=t._;a?n&&a===1?s=!1:D_(o,t,n):(s=!t.$stable,L_(t,o)),i=t}else t&&(N_(e,t),i={default:1});if(s)for(const a in o)!I_(a)&&i[a]==null&&delete o[a]};function Ka(e,t,n,r,o=!1){if(ze(e)){e.forEach((f,p)=>Ka(f,t&&(ze(t)?t[p]:t),n,r,o));return}if(Ao(r)&&!o)return;const s=r.shapeFlag&4?Vi(r.component):r.el,i=o?null:s,{i:a,r:l}=e,u=t&&t.r,m=a.refs===st?a.refs={}:a.refs,d=a.setupState;if(u!=null&&u!==l&&(bt(u)?(m[u]=null,tt(d,u)&&(d[u]=null)):Ot(u)&&(u.value=null)),Oe(l))$r(l,a,12,[i,m]);else{const f=bt(l),p=Ot(l);if(f||p){const h=()=>{if(e.f){const g=f?tt(d,l)?d[l]:m[l]:l.value;o?ze(g)&&od(g,s):ze(g)?g.includes(s)||g.push(s):f?(m[l]=[s],tt(d,l)&&(d[l]=m[l])):(l.value=[s],e.k&&(m[e.k]=l.value))}else f?(m[l]=i,tt(d,l)&&(d[l]=i)):p&&(l.value=i,e.k&&(m[e.k]=i))};i?(h.id=-1,Ut(h,n)):h()}}}const R_=Symbol("_vte"),cb=e=>e.__isTeleport,ii=e=>e&&(e.disabled||e.disabled===""),Im=e=>typeof SVGElement<"u"&&e instanceof SVGElement,Lm=e=>typeof MathMLElement=="function"&&e instanceof MathMLElement,uu=(e,t)=>{const n=e&&e.to;return bt(n)?t?t(n):null:n},ub={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:g,createComment:z}}=u,k=ii(t.props);let{shapeFlag:w,children:_,dynamicChildren:v}=t;if(e==null){const S=t.el=g(""),C=t.anchor=g("");p(S,n,r),p(C,n,r);const L=t.target=uu(t.props,h),D=F_(L,t,g,p);L&&(i==="svg"||Im(L)?i="svg":(i==="mathml"||Lm(L))&&(i="mathml"));const $=(F,q)=>{w&16&&m(_,F,q,o,s,i,a,l)};k?$(n,C):L&&$(L,D)}else{t.el=e.el,t.targetStart=e.targetStart;const S=t.anchor=e.anchor,C=t.target=e.target,L=t.targetAnchor=e.targetAnchor,D=ii(e.props),$=D?n:C,F=D?S:L;if(i==="svg"||Im(C)?i="svg":(i==="mathml"||Lm(C))&&(i="mathml"),v?(f(e.dynamicChildren,v,$,o,s,i,a),Ad(e,t,!0)):l||d(e,t,$,F,o,s,i,a,!1),k)D?t.props&&e.props&&t.props.to!==e.props.to&&(t.props.to=e.props.to):oa(t,n,S,u,1);else if((t.props&&t.props.to)!==(e.props&&e.props.to)){const q=t.target=uu(t.props,h);q&&oa(t,q,null,u,0)}else D&&oa(t,C,L,u,1)}M_(t)},remove(e,t,n,{um:r,o:{remove:o}},s){const{shapeFlag:i,children:a,anchor:l,targetStart:u,targetAnchor:m,target:d,props:f}=e;if(d&&(o(u),o(m)),s&&o(l),i&16){const p=s||!ii(f);for(let h=0;h<a.length;h++){const g=a[h];r(g,t,n,p,!!g.dynamicChildren)}}},move:oa,hydrate:db};function oa(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||ii(m))&&l&16)for(let f=0;f<u.length;f++)o(u[f],t,n,2);d&&r(a,t,n)}function db(e,t,n,r,o,s,{o:{nextSibling:i,parentNode:a,querySelector:l,insert:u,createText:m}},d){const f=t.target=uu(t.props,l);if(f){const p=f._lpa||f.firstChild;if(t.shapeFlag&16)if(ii(t.props))t.anchor=d(i(e),t,a(e),n,r,o,s),t.targetStart=p,t.targetAnchor=p&&i(p);else{t.anchor=i(e);let h=p;for(;h;){if(h&&h.nodeType===8){if(h.data==="teleport start anchor")t.targetStart=h;else if(h.data==="teleport anchor"){t.targetAnchor=h,f._lpa=t.targetAnchor&&i(t.targetAnchor);break}}h=i(h)}t.targetAnchor||F_(f,t,m,u),d(p&&i(p),t,f,n,r,o,s)}M_(t)}return t.anchor&&i(t.anchor)}const Hn=ub;function M_(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()}}function F_(e,t,n,r){const o=t.targetStart=n(""),s=t.targetAnchor=n("");return o[R_]=s,e&&(r(o,e),r(s,e)),s}let Nm=!1;const Wo=()=>{Nm||(console.error("Hydration completed but contains mismatches."),Nm=!0)},mb=e=>e.namespaceURI.includes("svg")&&e.tagName!=="foreignObject",fb=e=>e.namespaceURI.includes("MathML"),sa=e=>{if(mb(e))return"svg";if(fb(e))return"mathml"},ia=e=>e.nodeType===8;function pb(e){const{mt:t,p:n,o:{patchProp:r,createText:o,nextSibling:s,parentNode:i,remove:a,insert:l,createComment:u}}=e,m=(_,v)=>{if(!v.hasChildNodes()){n(null,_,v),qa(),v._vnode=_;return}d(v.firstChild,_,null,null,null),qa(),v._vnode=_},d=(_,v,S,C,L,D=!1)=>{D=D||!!v.dynamicChildren;const $=ia(_)&&_.data==="[",F=()=>g(_,v,S,C,L,$),{type:q,ref:U,shapeFlag:W,patchFlag:ne}=v;let me=_.nodeType;v.el=_,ne===-2&&(D=!1,v.dynamicChildren=null);let K=null;switch(q){case Tr:me!==3?v.children===""?(l(v.el=o(""),i(_),_),K=_):K=F():(_.data!==v.children&&(Wo(),_.data=v.children),K=s(_));break;case Mt:w(_)?(K=s(_),k(v.el=_.content.firstChild,_,S)):me!==8||$?K=F():K=s(_);break;case Po:if($&&(_=s(_),me=_.nodeType),me===1||me===3){K=_;const re=!v.children.length;for(let ce=0;ce<v.staticCount;ce++)re&&(v.children+=K.nodeType===1?K.outerHTML:K.data),ce===v.staticCount-1&&(v.anchor=K),K=s(K);return $?s(K):K}else F();break;case ve:$?K=h(_,v,S,C,L,D):K=F();break;default:if(W&1)(me!==1||v.type.toLowerCase()!==_.tagName.toLowerCase())&&!w(_)?K=F():K=f(_,v,S,C,L,D);else if(W&6){v.slotScopeIds=L;const re=i(_);if($?K=z(_):ia(_)&&_.data==="teleport start"?K=z(_,_.data,"teleport end"):K=s(_),t(v,re,null,S,C,sa(re),D),Ao(v)){let ce;$?(ce=b(ve),ce.anchor=K?K.previousSibling:re.lastChild):ce=_.nodeType===3?Dt(""):b("div"),ce.el=_,v.component.subTree=ce}}else W&64?me!==8?K=F():K=v.type.hydrate(_,v,S,C,L,D,e,p):W&128&&(K=v.type.hydrate(_,v,S,C,sa(i(_)),L,D,e,d))}return U!=null&&Ka(U,null,C,v),K},f=(_,v,S,C,L,D)=>{D=D||!!v.dynamicChildren;const{type:$,props:F,patchFlag:q,shapeFlag:U,dirs:W,transition:ne}=v,me=$==="input"||$==="option";if(me||q!==-1){W&&cr(v,null,S,"created");let K=!1;if(w(_)){K=j_(C,ne)&&S&&S.vnode.props&&S.vnode.props.appear;const ce=_.content.firstChild;K&&ne.beforeEnter(ce),k(ce,_,S),v.el=_=ce}if(U&16&&!(F&&(F.innerHTML||F.textContent))){let ce=p(_.firstChild,v,_,S,C,L,D);for(;ce;){Wo();const Ne=ce;ce=ce.nextSibling,a(Ne)}}else U&8&&_.textContent!==v.children&&(Wo(),_.textContent=v.children);if(F){if(me||!D||q&48){const ce=_.tagName.includes("-");for(const Ne in F)(me&&(Ne.endsWith("value")||Ne==="indeterminate")||Li(Ne)&&!ds(Ne)||Ne[0]==="."||ce)&&r(_,Ne,null,F[Ne],void 0,S)}else if(F.onClick)r(_,"onClick",null,F.onClick,void 0,S);else if(q&4&&Er(F.style))for(const ce in F.style)F.style[ce]}let re;(re=F&&F.onVnodeBeforeMount)&&cn(re,S,v),W&&cr(v,null,S,"beforeMount"),((re=F&&F.onVnodeMounted)||W||K)&&eg(()=>{re&&cn(re,S,v),K&&ne.enter(_),W&&cr(v,null,S,"mounted")},C)}return _.nextSibling},p=(_,v,S,C,L,D,$)=>{$=$||!!v.dynamicChildren;const F=v.children,q=F.length;for(let U=0;U<q;U++){const W=$?F[U]:F[U]=un(F[U]),ne=W.type===Tr;if(_){if(ne&&!$){let me=F[U+1];me&&(me=un(me)).type===Tr&&(l(o(_.data.slice(W.children.length)),S,s(_)),_.data=W.children)}_=d(_,W,C,L,D,$)}else ne&&!W.children?l(W.el=o(""),S):(Wo(),n(null,W,S,null,C,L,sa(S),D))}return _},h=(_,v,S,C,L,D)=>{const{slotScopeIds:$}=v;$&&(L=L?L.concat($):$);const F=i(_),q=p(s(_),v,F,S,C,L,D);return q&&ia(q)&&q.data==="]"?s(v.anchor=q):(Wo(),l(v.anchor=u("]"),F,q),q)},g=(_,v,S,C,L,D)=>{if(Wo(),v.el=null,D){const q=z(_);for(;;){const U=s(_);if(U&&U!==q)a(U);else break}}const $=s(_),F=i(_);return a(_),n(null,v,F,$,S,C,sa(F),L),$},z=(_,v="[",S="]")=>{let C=0;for(;_;)if(_=s(_),_&&ia(_)&&(_.data===v&&C++,_.data===S)){if(C===0)return s(_);C--}return _},k=(_,v,S)=>{const C=v.parentNode;C&&C.replaceChild(_,v);let L=S;for(;L;)L.vnode.el===v&&(L.vnode.el=L.subTree.el=_),L=L.parent},w=_=>_.nodeType===1&&_.tagName.toLowerCase()==="template";return[m,d]}const Ut=eg;function V_(e){return U_(e)}function H_(e){return U_(e,pb)}function U_(e,t){const n=Mh();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=fn,insertStaticContent:h}=e,g=(A,P,j,te=null,X=null,ie=null,pe=void 0,E=null,T=!!P.dynamicChildren)=>{if(A===P)return;A&&!Yn(A,P)&&(te=Y(A),He(A,X,ie,!0),A=null),P.patchFlag===-2&&(T=!1,P.dynamicChildren=null);const{type:R,ref:Q,shapeFlag:de}=P;switch(R){case Tr:z(A,P,j,te);break;case Mt:k(A,P,j,te);break;case Po:A==null&&w(P,j,te,pe);break;case ve:U(A,P,j,te,X,ie,pe,E,T);break;default:de&1?S(A,P,j,te,X,ie,pe,E,T):de&6?W(A,P,j,te,X,ie,pe,E,T):(de&64||de&128)&&R.process(A,P,j,te,X,ie,pe,E,T,ge)}Q!=null&&X&&Ka(Q,A&&A.ref,ie,P||A,!P)},z=(A,P,j,te)=>{if(A==null)r(P.el=a(P.children),j,te);else{const X=P.el=A.el;P.children!==A.children&&u(X,P.children)}},k=(A,P,j,te)=>{A==null?r(P.el=l(P.children||""),j,te):P.el=A.el},w=(A,P,j,te)=>{[A.el,A.anchor]=h(A.children,P,j,te,A.el,A.anchor)},_=({el:A,anchor:P},j,te)=>{let X;for(;A&&A!==P;)X=f(A),r(A,j,te),A=X;r(P,j,te)},v=({el:A,anchor:P})=>{let j;for(;A&&A!==P;)j=f(A),o(A),A=j;o(P)},S=(A,P,j,te,X,ie,pe,E,T)=>{P.type==="svg"?pe="svg":P.type==="math"&&(pe="mathml"),A==null?C(P,j,te,X,ie,pe,E,T):$(A,P,X,ie,pe,E,T)},C=(A,P,j,te,X,ie,pe,E)=>{let T,R;const{props:Q,shapeFlag:de,transition:se,dirs:H}=A;if(T=A.el=i(A.type,ie,Q&&Q.is,Q),de&8?m(T,A.children):de&16&&D(A.children,T,null,te,X,pc(A,ie),pe,E),H&&cr(A,null,te,"created"),L(T,A,A.scopeId,pe,te),Q){for(const Se in Q)Se!=="value"&&!ds(Se)&&s(T,Se,null,Q[Se],ie,te);"value"in Q&&s(T,"value",null,Q.value,ie),(R=Q.onVnodeBeforeMount)&&cn(R,te,A)}H&&cr(A,null,te,"beforeMount");const Z=j_(X,se);Z&&se.beforeEnter(T),r(T,P,j),((R=Q&&Q.onVnodeMounted)||Z||H)&&Ut(()=>{R&&cn(R,te,A),Z&&se.enter(T),H&&cr(A,null,te,"mounted")},X)},L=(A,P,j,te,X)=>{if(j&&p(A,j),te)for(let ie=0;ie<te.length;ie++)p(A,te[ie]);if(X){let ie=X.subTree;if(P===ie){const pe=X.vnode;L(A,pe,pe.scopeId,pe.slotScopeIds,X.parent)}}},D=(A,P,j,te,X,ie,pe,E,T=0)=>{for(let R=T;R<A.length;R++){const Q=A[R]=E?Kr(A[R]):un(A[R]);g(null,Q,P,j,te,X,ie,pe,E)}},$=(A,P,j,te,X,ie,pe)=>{const E=P.el=A.el;let{patchFlag:T,dynamicChildren:R,dirs:Q}=P;T|=A.patchFlag&16;const de=A.props||st,se=P.props||st;let H;if(j&&_o(j,!1),(H=se.onVnodeBeforeUpdate)&&cn(H,j,P,A),Q&&cr(P,A,j,"beforeUpdate"),j&&_o(j,!0),(de.innerHTML&&se.innerHTML==null||de.textContent&&se.textContent==null)&&m(E,""),R?F(A.dynamicChildren,R,E,j,te,pc(P,X),ie):pe||ce(A,P,E,null,j,te,pc(P,X),ie,!1),T>0){if(T&16)q(E,de,se,j,X);else if(T&2&&de.class!==se.class&&s(E,"class",null,se.class,X),T&4&&s(E,"style",de.style,se.style,X),T&8){const Z=P.dynamicProps;for(let Se=0;Se<Z.length;Se++){const M=Z[Se],V=de[M],G=se[M];(G!==V||M==="value")&&s(E,M,V,G,X,j)}}T&1&&A.children!==P.children&&m(E,P.children)}else!pe&&R==null&&q(E,de,se,j,X);((H=se.onVnodeUpdated)||Q)&&Ut(()=>{H&&cn(H,j,P,A),Q&&cr(P,A,j,"updated")},te)},F=(A,P,j,te,X,ie,pe)=>{for(let E=0;E<P.length;E++){const T=A[E],R=P[E],Q=T.el&&(T.type===ve||!Yn(T,R)||T.shapeFlag&70)?d(T.el):j;g(T,R,Q,null,te,X,ie,pe,!0)}},q=(A,P,j,te,X)=>{if(P!==j){if(P!==st)for(const ie in P)!ds(ie)&&!(ie in j)&&s(A,ie,P[ie],null,X,te);for(const ie in j){if(ds(ie))continue;const pe=j[ie],E=P[ie];pe!==E&&ie!=="value"&&s(A,ie,E,pe,X,te)}"value"in j&&s(A,"value",P.value,j.value,X)}},U=(A,P,j,te,X,ie,pe,E,T)=>{const R=P.el=A?A.el:a(""),Q=P.anchor=A?A.anchor:a("");let{patchFlag:de,dynamicChildren:se,slotScopeIds:H}=P;H&&(E=E?E.concat(H):H),A==null?(r(R,j,te),r(Q,j,te),D(P.children||[],j,Q,X,ie,pe,E,T)):de>0&&de&64&&se&&A.dynamicChildren?(F(A.dynamicChildren,se,j,X,ie,pe,E),(P.key!=null||X&&P===X.subTree)&&Ad(A,P,!0)):ce(A,P,j,Q,X,ie,pe,E,T)},W=(A,P,j,te,X,ie,pe,E,T)=>{P.slotScopeIds=E,A==null?P.shapeFlag&512?X.ctx.activate(P,j,te,pe,T):ne(P,j,te,X,ie,pe,T):me(A,P,T)},ne=(A,P,j,te,X,ie,pe)=>{const E=A.component=sg(A,te,X);if(Di(A)&&(E.ctx.renderer=ge),ag(E,!1,pe),E.asyncDep){if(X&&X.registerDep(E,K,pe),!A.el){const T=E.subTree=b(Mt);k(null,T,P,j)}}else K(E,A,P,j,X,ie,pe)},me=(A,P,j)=>{const te=P.component=A.component;if(Cb(A,P,j))if(te.asyncDep&&!te.asyncResolved){re(te,P,j);return}else te.next=P,kv(te.update),te.effect.dirty=!0,te.update();else P.el=A.el,te.vnode=P},K=(A,P,j,te,X,ie,pe)=>{const E=()=>{if(A.isMounted){let{next:Q,bu:de,u:se,parent:H,vnode:Z}=A;{const oe=B_(A);if(oe){Q&&(Q.el=Z.el,re(A,Q,pe)),oe.asyncDep.then(()=>{A.isUnmounted||E()});return}}let Se=Q,M;_o(A,!1),Q?(Q.el=Z.el,re(A,Q,pe)):Q=Z,de&&ms(de),(M=Q.props&&Q.props.onVnodeBeforeUpdate)&&cn(M,H,Q,Z),_o(A,!0);const V=Ea(A),G=A.subTree;A.subTree=V,g(G,V,d(G.el),Y(G),A,X,ie),Q.el=V.el,Se===null&&Od(A,V.el),se&&Ut(se,X),(M=Q.props&&Q.props.onVnodeUpdated)&&Ut(()=>cn(M,H,Q,Z),X)}else{let Q;const{el:de,props:se}=P,{bm:H,m:Z,parent:Se}=A,M=Ao(P);if(_o(A,!1),H&&ms(H),!M&&(Q=se&&se.onVnodeBeforeMount)&&cn(Q,Se,P),_o(A,!0),de&&Ge){const V=()=>{A.subTree=Ea(A),Ge(de,A.subTree,A,X,null)};M?P.type.__asyncLoader().then(()=>!A.isUnmounted&&V()):V()}else{const V=A.subTree=Ea(A);g(null,V,j,te,A,X,ie),P.el=V.el}if(Z&&Ut(Z,X),!M&&(Q=se&&se.onVnodeMounted)){const V=P;Ut(()=>cn(Q,Se,V),X)}(P.shapeFlag&256||Se&&Ao(Se.vnode)&&Se.vnode.shapeFlag&256)&&A.a&&Ut(A.a,X),A.isMounted=!0,P=j=te=null}},T=A.effect=new ys(E,fn,()=>$l(R),A.scope),R=A.update=()=>{T.dirty&&T.run()};R.i=A,R.id=A.uid,_o(A,!0),R()},re=(A,P,j)=>{P.component=A;const te=A.vnode.props;A.vnode=P,A.next=null,ob(A,P.props,te,j),lb(A,P.children,j),uo(),xm(A),mo()},ce=(A,P,j,te,X,ie,pe,E,T=!1)=>{const R=A&&A.children,Q=A?A.shapeFlag:0,de=P.children,{patchFlag:se,shapeFlag:H}=P;if(se>0){if(se&128){it(R,de,j,te,X,ie,pe,E,T);return}else if(se&256){Ne(R,de,j,te,X,ie,pe,E,T);return}}H&8?(Q&16&&We(R,X,ie),de!==R&&m(j,de)):Q&16?H&16?it(R,de,j,te,X,ie,pe,E,T):We(R,X,ie,!0):(Q&8&&m(j,""),H&16&&D(de,j,te,X,ie,pe,E,T))},Ne=(A,P,j,te,X,ie,pe,E,T)=>{A=A||cs,P=P||cs;const R=A.length,Q=P.length,de=Math.min(R,Q);let se;for(se=0;se<de;se++){const H=P[se]=T?Kr(P[se]):un(P[se]);g(A[se],H,j,null,X,ie,pe,E,T)}R>Q?We(A,X,ie,!0,!1,de):D(P,j,te,X,ie,pe,E,T,de)},it=(A,P,j,te,X,ie,pe,E,T)=>{let R=0;const Q=P.length;let de=A.length-1,se=Q-1;for(;R<=de&&R<=se;){const H=A[R],Z=P[R]=T?Kr(P[R]):un(P[R]);if(Yn(H,Z))g(H,Z,j,null,X,ie,pe,E,T);else break;R++}for(;R<=de&&R<=se;){const H=A[de],Z=P[se]=T?Kr(P[se]):un(P[se]);if(Yn(H,Z))g(H,Z,j,null,X,ie,pe,E,T);else break;de--,se--}if(R>de){if(R<=se){const H=se+1,Z=H<Q?P[H].el:te;for(;R<=se;)g(null,P[R]=T?Kr(P[R]):un(P[R]),j,Z,X,ie,pe,E,T),R++}}else if(R>se)for(;R<=de;)He(A[R],X,ie,!0),R++;else{const H=R,Z=R,Se=new Map;for(R=Z;R<=se;R++){const Re=P[R]=T?Kr(P[R]):un(P[R]);Re.key!=null&&Se.set(Re.key,R)}let M,V=0;const G=se-Z+1;let oe=!1,ye=0;const $e=new Array(G);for(R=0;R<G;R++)$e[R]=0;for(R=H;R<=de;R++){const Re=A[R];if(V>=G){He(Re,X,ie,!0);continue}let nt;if(Re.key!=null)nt=Se.get(Re.key);else for(M=Z;M<=se;M++)if($e[M-Z]===0&&Yn(Re,P[M])){nt=M;break}nt===void 0?He(Re,X,ie,!0):($e[nt-Z]=R+1,nt>=ye?ye=nt:oe=!0,g(Re,P[nt],j,null,X,ie,pe,E,T),V++)}const Me=oe?hb($e):cs;for(M=Me.length-1,R=G-1;R>=0;R--){const Re=Z+R,nt=P[Re],Pe=Re+1<Q?P[Re+1].el:te;$e[R]===0?g(null,nt,j,Pe,X,ie,pe,E,T):oe&&(M<0||R!==Me[M]?Ve(nt,j,Pe,2):M--)}}},Ve=(A,P,j,te,X=null)=>{const{el:ie,type:pe,transition:E,children:T,shapeFlag:R}=A;if(R&6){Ve(A.component.subTree,P,j,te);return}if(R&128){A.suspense.move(P,j,te);return}if(R&64){pe.move(A,P,j,ge);return}if(pe===ve){r(ie,P,j);for(let de=0;de<T.length;de++)Ve(T[de],P,j,te);r(A.anchor,P,j);return}if(pe===Po){_(A,P,j);return}if(te!==2&&R&1&&E)if(te===0)E.beforeEnter(ie),r(ie,P,j),Ut(()=>E.enter(ie),X);else{const{leave:de,delayLeave:se,afterLeave:H}=E,Z=()=>r(ie,P,j),Se=()=>{de(ie,()=>{Z(),H&&H()})};se?se(ie,Z,Se):Se()}else r(ie,P,j)},He=(A,P,j,te=!1,X=!1)=>{const{type:ie,props:pe,ref:E,children:T,dynamicChildren:R,shapeFlag:Q,patchFlag:de,dirs:se,cacheIndex:H}=A;if(de===-2&&(X=!1),E!=null&&Ka(E,null,j,A,!0),H!=null&&(P.renderCache[H]=void 0),Q&256){P.ctx.deactivate(A);return}const Z=Q&1&&se,Se=!Ao(A);let M;if(Se&&(M=pe&&pe.onVnodeBeforeUnmount)&&cn(M,P,A),Q&6)ut(A.component,j,te);else{if(Q&128){A.suspense.unmount(j,te);return}Z&&cr(A,null,P,"beforeUnmount"),Q&64?A.type.remove(A,P,j,ge,te):R&&!R.hasOnce&&(ie!==ve||de>0&&de&64)?We(R,P,j,!1,!0):(ie===ve&&de&384||!X&&Q&16)&&We(T,P,j),te&&at(A)}(Se&&(M=pe&&pe.onVnodeUnmounted)||Z)&&Ut(()=>{M&&cn(M,P,A),Z&&cr(A,null,P,"unmounted")},j)},at=A=>{const{type:P,el:j,anchor:te,transition:X}=A;if(P===ve){lt(j,te);return}if(P===Po){v(A);return}const ie=()=>{o(j),X&&!X.persisted&&X.afterLeave&&X.afterLeave()};if(A.shapeFlag&1&&X&&!X.persisted){const{leave:pe,delayLeave:E}=X,T=()=>pe(j,ie);E?E(A.el,ie,T):T()}else ie()},lt=(A,P)=>{let j;for(;A!==P;)j=f(A),o(A),A=j;o(P)},ut=(A,P,j)=>{const{bum:te,scope:X,update:ie,subTree:pe,um:E,m:T,a:R}=A;Za(T),Za(R),te&&ms(te),X.stop(),ie&&(ie.active=!1,He(pe,A,P,j)),E&&Ut(E,P),Ut(()=>{A.isUnmounted=!0},P),P&&P.pendingBranch&&!P.isUnmounted&&A.asyncDep&&!A.asyncResolved&&A.suspenseId===P.pendingId&&(P.deps--,P.deps===0&&P.resolve())},We=(A,P,j,te=!1,X=!1,ie=0)=>{for(let pe=ie;pe<A.length;pe++)He(A[pe],P,j,te,X)},Y=A=>{if(A.shapeFlag&6)return Y(A.component.subTree);if(A.shapeFlag&128)return A.suspense.next();const P=f(A.anchor||A.el),j=P&&P[R_];return j?f(j):P};let fe=!1;const le=(A,P,j)=>{A==null?P._vnode&&He(P._vnode,null,null,!0):g(P._vnode||null,A,P,null,null,null,j),P._vnode=A,fe||(fe=!0,xm(),qa(),fe=!1)},ge={p:g,um:He,m:Ve,r:at,mt:ne,mc:D,pc:ce,pbc:F,n:Y,o:e};let Ue,Ge;return t&&([Ue,Ge]=t(ge)),{render:le,hydrate:Ue,createApp:nb(le,Ue)}}function pc({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 _o({effect:e,update:t},n){e.allowRecurse=t.allowRecurse=n}function j_(e,t){return(!e||e&&!e.pendingBranch)&&t&&!t.persisted}function Ad(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]=Kr(o[s]),a.el=i.el),!n&&a.patchFlag!==-2&&Ad(i,a)),a.type===Tr&&(a.el=i.el)}}function hb(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 B_(e){const t=e.subTree.component;if(t)return t.asyncDep&&!t.asyncResolved?t:B_(t)}function Za(e){if(e)for(let t=0;t<e.length;t++)e[t].active=!1}const W_=Symbol.for("v-scx"),q_=()=>Nn(W_);function G_(e,t){return Mi(e,null,t)}function K_(e,t){return Mi(e,null,{flush:"post"})}function Z_(e,t){return Mi(e,null,{flush:"sync"})}const aa={};function Dn(e,t,n){return Mi(e,t,n)}function Mi(e,t,{immediate:n,deep:r,flush:o,once:s,onTrack:i,onTrigger:a}=st){if(t&&s){const C=t;t=(...L)=>{C(...L),S()}}const l=Ft,u=C=>r===!0?C:Jr(C,r===!1?1:void 0);let m,d=!1,f=!1;if(Ot(e)?(m=()=>e.value,d=No(e)):Er(e)?(m=()=>u(e),d=!0):ze(e)?(f=!0,d=e.some(C=>Er(C)||No(C)),m=()=>e.map(C=>{if(Ot(C))return C.value;if(Er(C))return u(C);if(Oe(C))return $r(C,l,2)})):Oe(e)?t?m=()=>$r(e,l,2):m=()=>(p&&p(),kn(e,l,3,[h])):m=fn,t&&r){const C=m;m=()=>Jr(C())}let p,h=C=>{p=_.onStop=()=>{$r(C,l,4),p=_.onStop=void 0}},g;if(Fi)if(h=fn,t?n&&kn(t,l,3,[m(),f?[]:void 0,h]):m(),o==="sync"){const C=q_();g=C.__watcherHandles||(C.__watcherHandles=[])}else return fn;let z=f?new Array(e.length).fill(aa):aa;const k=()=>{if(!(!_.active||!_.dirty))if(t){const C=_.run();(r||d||(f?C.some((L,D)=>nn(L,z[D])):nn(C,z)))&&(p&&p(),kn(t,l,3,[C,z===aa?void 0:f&&z[0]===aa?[]:z,h]),z=C)}else _.run()};k.allowRecurse=!!t;let w;o==="sync"?w=k:o==="post"?w=()=>Ut(k,l&&l.suspense):(k.pre=!0,l&&(k.id=l.uid),w=()=>$l(k));const _=new ys(m,fn,w),v=ld(),S=()=>{_.stop(),v&&od(v.effects,_)};return t?n?k():z=_.run():o==="post"?Ut(_.run.bind(_),l&&l.suspense):_.run(),g&&g.push(S),S}function _b(e,t,n){const r=this.proxy,o=bt(e)?e.includes(".")?Y_(r,e):()=>r[e]:e.bind(r,r);let s;Oe(t)?s=t:(s=t.handler,n=t);const i=Ro(this),a=Mi(o,s.bind(r),n);return i(),a}function Y_(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 Jr(e,t=1/0,n){if(t<=0||!ft(e)||e.__v_skip||(n=n||new Set,n.has(e)))return e;if(n.add(e),t--,Ot(e))Jr(e.value,t,n);else if(ze(e))for(let r=0;r<e.length;r++)Jr(e[r],t,n);else if(Vo(e)||us(e))e.forEach(r=>{Jr(r,t,n)});else if(Dh(e)){for(const r in e)Jr(e[r],t,n);for(const r of Object.getOwnPropertySymbols(e))Object.prototype.propertyIsEnumerable.call(e,r)&&Jr(e[r],t,n)}return e}function gb(e,t,n=st){const r=Un(),o=Xt(t),s=mn(t),i=X_(e,t),a=s_((l,u)=>{let m,d=st,f;return Z_(()=>{const p=e[t];nn(m,p)&&(m=p,u())}),{get(){return l(),n.get?n.get(m):m},set(p){const h=n.set?n.set(p):p;if(!nn(h,m)&&!(d!==st&&nn(p,d)))return;const g=r.vnode.props;g&&(t in g||o in g||s in g)&&(`onUpdate:${t}`in g||`onUpdate:${o}`in g||`onUpdate:${s}`in g)||(m=p,u()),r.emit(`update:${t}`,h),nn(p,h)&&nn(p,d)&&!nn(h,f)&&u(),d=p,f=h}}});return a[Symbol.iterator]=()=>{let l=0;return{next(){return l<2?{value:l++?i||st:a,done:!1}:{done:!0}}}},a}const X_=(e,t)=>t==="modelValue"||t==="model-value"?e.modelModifiers:e[`${t}Modifiers`]||e[`${Xt(t)}Modifiers`]||e[`${mn(t)}Modifiers`];function yb(e,t,...n){if(e.isUnmounted)return;const r=e.vnode.props||st;let o=n;const s=t.startsWith("update:"),i=s&&X_(r,t.slice(7));i&&(i.trim&&(o=n.map(m=>bt(m)?m.trim():m)),i.number&&(o=n.map(Ua)));let a,l=r[a=ri(t)]||r[a=ri(Xt(t))];!l&&s&&(l=r[a=ri(mn(t))]),l&&kn(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,kn(u,e,6,o)}}function J_(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(!Oe(e)){const l=u=>{const m=J_(u,t,!0);m&&(a=!0,kt(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):kt(i,s),ft(e)&&r.set(e,i),i)}function Nl(e,t){return!e||!Li(t)?!1:(t=t.slice(2).replace(/Once$/,""),tt(e,t[0].toLowerCase()+t.slice(1))||tt(e,mn(t))||tt(e,t))}function Ea(e){const{type:t,vnode:n,proxy:r,withProxy:o,propsOptions:[s],slots:i,attrs:a,emit:l,render:u,renderCache:m,props:d,data:f,setupState:p,ctx:h,inheritAttrs:g}=e,z=Ci(e);let k,w;try{if(n.shapeFlag&4){const v=o||r,S=v;k=un(u.call(S,v,m,d,p,f,h)),w=a}else{const v=t;k=un(v.length>1?v(d,{attrs:a,slots:i,emit:l}):v(d,null)),w=t.props?a:vb(a)}}catch(v){ai.length=0,Ho(v,e,1),k=b(Mt)}let _=k;if(w&&g!==!1){const v=Object.keys(w),{shapeFlag:S}=_;v.length&&S&7&&(s&&v.some(rd)&&(w=bb(w,s)),_=_r(_,w,!1,!0))}return n.dirs&&(_=_r(_,null,!1,!0),_.dirs=_.dirs?_.dirs.concat(n.dirs):n.dirs),n.transition&&(_.transition=n.transition),k=_,Ci(z),k}function zb(e,t=!0){let n;for(let r=0;r<e.length;r++){const o=e[r];if(ao(o)){if(o.type!==Mt||o.children==="v-if"){if(n)return;n=o}}else return}return n}const vb=e=>{let t;for(const n in e)(n==="class"||n==="style"||Li(n))&&((t||(t={}))[n]=e[n]);return t},bb=(e,t)=>{const n={};for(const r in e)(!rd(r)||!(r.slice(9)in t))&&(n[r]=e[r]);return n};function Cb(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]&&!Nl(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]&&!Nl(n,s))return!0}return!1}function Od({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 du=e=>e.__isSuspense;let mu=0;const wb={name:"Suspense",__isSuspense:!0,process(e,t,n,r,o,s,i,a,l,u){if(e==null)Sb(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}xb(e,t,n,r,o,i,a,l,u)}},hydrate:Eb,normalize:$b},kb=wb;function ki(e,t){const n=e.props&&e.props[t];Oe(n)&&n()}function Sb(e,t,n,r,o,s,i,a,l){const{p:u,o:{createElement:m}}=l,d=m("div"),f=e.suspense=Q_(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?(ki(e,"onPending"),ki(e,"onFallback"),u(null,e.ssFallback,t,n,r,null,s,i),hs(f,e.ssFallback)):f.resolve(!1,!0)}function xb(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:g,isInFallback:z,isHydrating:k}=d;if(g)d.pendingBranch=f,Yn(f,g)?(l(g,f,d.hiddenContainer,null,o,d,s,i,a),d.deps<=0?d.resolve():z&&(k||(l(h,p,n,r,o,null,s,i,a),hs(d,p)))):(d.pendingId=mu++,k?(d.isHydrating=!1,d.activeBranch=g):u(g,o,d),d.deps=0,d.effects.length=0,d.hiddenContainer=m("div"),z?(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),hs(d,p))):h&&Yn(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&&Yn(f,h))l(h,f,n,r,o,d,s,i,a),hs(d,f);else if(ki(t,"onPending"),d.pendingBranch=f,f.shapeFlag&512?d.pendingId=f.component.suspenseId:d.pendingId=mu++,l(null,f,d.hiddenContainer,null,o,d,s,i,a),d.deps<=0)d.resolve();else{const{timeout:w,pendingId:_}=d;w>0?setTimeout(()=>{d.pendingId===_&&d.fallback(p)},w):w===0&&d.fallback(p)}}function Q_(e,t,n,r,o,s,i,a,l,u,m=!1){const{p:d,m:f,um:p,n:h,o:{parentNode:g,remove:z}}=u;let k;const w=Tb(e);w&&t&&t.pendingBranch&&(k=t.pendingId,t.deps++);const _=e.props?ja(e.props.timeout):void 0,v=s,S={vnode:e,parent:t,parentComponent:n,namespace:i,container:r,hiddenContainer:o,deps:0,pendingId:mu++,timeout:typeof _=="number"?_:-1,activeBranch:null,pendingBranch:null,isInFallback:!m,isHydrating:m,isUnmounted:!1,effects:[],resolve(C=!1,L=!1){const{vnode:D,activeBranch:$,pendingBranch:F,pendingId:q,effects:U,parentComponent:W,container:ne}=S;let me=!1;S.isHydrating?S.isHydrating=!1:C||(me=$&&F.transition&&F.transition.mode==="out-in",me&&($.transition.afterLeave=()=>{q===S.pendingId&&(f(F,ne,s===v?h($):s,0),Wa(U))}),$&&(g($.el)!==S.hiddenContainer&&(s=h($)),p($,W,S,!0)),me||f(F,ne,s,0)),hs(S,F),S.pendingBranch=null,S.isInFallback=!1;let K=S.parent,re=!1;for(;K;){if(K.pendingBranch){K.effects.push(...U),re=!0;break}K=K.parent}!re&&!me&&Wa(U),S.effects=[],w&&t&&t.pendingBranch&&k===t.pendingId&&(t.deps--,t.deps===0&&!L&&t.resolve()),ki(D,"onResolve")},fallback(C){if(!S.pendingBranch)return;const{vnode:L,activeBranch:D,parentComponent:$,container:F,namespace:q}=S;ki(L,"onFallback");const U=h(D),W=()=>{S.isInFallback&&(d(null,C,F,U,$,null,q,a,l),hs(S,C))},ne=C.transition&&C.transition.mode==="out-in";ne&&(D.transition.afterLeave=W),S.isInFallback=!0,p(D,$,null,!0),ne||W()},move(C,L,D){S.activeBranch&&f(S.activeBranch,C,L,D),S.container=C},next(){return S.activeBranch&&h(S.activeBranch)},registerDep(C,L,D){const $=!!S.pendingBranch;$&&S.deps++;const F=C.vnode.el;C.asyncDep.catch(q=>{Ho(q,C,0)}).then(q=>{if(C.isUnmounted||S.isUnmounted||S.pendingId!==C.suspenseId)return;C.asyncResolved=!0;const{vnode:U}=C;_u(C,q,!1),F&&(U.el=F);const W=!F&&C.subTree.el;L(C,U,g(F||C.subTree.el),F?null:h(C.subTree),S,i,D),W&&z(W),Od(C,U.el),$&&--S.deps===0&&S.resolve()})},unmount(C,L){S.isUnmounted=!0,S.activeBranch&&p(S.activeBranch,n,C,L),S.pendingBranch&&p(S.pendingBranch,n,C,L)}};return S}function Eb(e,t,n,r,o,s,i,a,l){const u=t.suspense=Q_(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 $b(e){const{shapeFlag:t,children:n}=e,r=t&32;e.ssContent=Rm(r?n.default:n),e.ssFallback=r?Rm(n.fallback):b(Mt)}function Rm(e){let t;if(Oe(e)){const n=Do&&e._c;n&&(e._d=!1,x()),e=e(),n&&(e._d=!0,t=Yt,tg())}return ze(e)&&(e=zb(e)),e=un(e),t&&!e.dynamicChildren&&(e.dynamicChildren=t.filter(n=>n!==e)),e}function eg(e,t){t&&t.pendingBranch?ze(e)?t.effects.push(...e):t.effects.push(e):Wa(e)}function hs(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,Od(r,o))}function Tb(e){const t=e.props&&e.props.suspensible;return t!=null&&t!==!1}const ve=Symbol.for("v-fgt"),Tr=Symbol.for("v-txt"),Mt=Symbol.for("v-cmt"),Po=Symbol.for("v-stc"),ai=[];let Yt=null;function x(e=!1){ai.push(Yt=e?null:[])}function tg(){ai.pop(),Yt=ai[ai.length-1]||null}let Do=1;function fu(e){Do+=e,e<0&&Yt&&(Yt.hasOnce=!0)}function ng(e){return e.dynamicChildren=Do>0?Yt||cs:null,tg(),Do>0&&Yt&&Yt.push(e),e}function I(e,t,n,r,o,s){return ng(c(e,t,n,r,o,s,!0))}function we(e,t,n,r,o){return ng(b(e,t,n,r,o,!0))}function ao(e){return e?e.__v_isVNode===!0:!1}function Yn(e,t){return e.type===t.type&&e.key===t.key}function Ab(e){}const rg=({key:e})=>e??null,$a=({ref:e,ref_key:t,ref_for:n})=>(typeof e=="number"&&(e=""+e),e!=null?bt(e)||Ot(e)||Oe(e)?{i:Vt,r:e,k:t,f:!!n}:e:null);function c(e,t=null,n=null,r=0,o=null,s=e===ve?0:1,i=!1,a=!1){const l={__v_isVNode:!0,__v_skip:!0,type:e,props:t,key:t&&rg(t),ref:t&&$a(t),scopeId:Tl,slotScopeIds:null,children:n,component:null,suspense:null,ssContent:null,ssFallback:null,dirs:null,transition:null,el:null,anchor:null,target:null,targetStart:null,targetAnchor:null,staticCount:0,shapeFlag:s,patchFlag:r,dynamicProps:o,dynamicChildren:null,appContext:null,ctx:Vt};return a?(Pd(l,n),s&128&&e.normalize(l)):n&&(l.shapeFlag|=bt(n)?8:16),Do>0&&!i&&Yt&&(l.patchFlag>0||s&6)&&l.patchFlag!==32&&Yt.push(l),l}const b=Ob;function Ob(e,t=null,n=null,r=0,o=null,s=!1){if((!e||e===w_)&&(e=Mt),ao(e)){const a=_r(e,t,!0);return n&&Pd(a,n),Do>0&&!s&&Yt&&(a.shapeFlag&6?Yt[Yt.indexOf(e)]=a:Yt.push(a)),a.patchFlag=-2,a}if(Fb(e)&&(e=e.__vccOpts),t){t=og(t);let{class:a,style:l}=t;a&&!bt(a)&&(t.class=ke(a)),ft(l)&&(pd(l)&&!ze(l)&&(l=kt({},l)),t.style=co(l))}const i=bt(e)?1:du(e)?128:cb(e)?64:ft(e)?4:Oe(e)?2:0;return c(e,t,n,r,o,i,s,!0)}function og(e){return e?pd(e)||A_(e)?kt({},e):e:null}function _r(e,t,n=!1,r=!1){const{props:o,ref:s,patchFlag:i,children:a,transition:l}=e,u=t?is(o||{},t):o,m={__v_isVNode:!0,__v_skip:!0,type:e.type,props:u,key:u&&rg(u),ref:t&&t.ref?n&&s?ze(s)?s.concat($a(t)):[s,$a(t)]:$a(t):s,scopeId:e.scopeId,slotScopeIds:e.slotScopeIds,children:a,target:e.target,targetStart:e.targetStart,targetAnchor:e.targetAnchor,staticCount:e.staticCount,shapeFlag:e.shapeFlag,patchFlag:t&&e.type!==ve?i===-1?16:i|16:i,dynamicProps:e.dynamicProps,dynamicChildren:e.dynamicChildren,appContext:e.appContext,dirs:e.dirs,transition:l,component:e.component,suspense:e.suspense,ssContent:e.ssContent&&_r(e.ssContent),ssFallback:e.ssFallback&&_r(e.ssFallback),el:e.el,anchor:e.anchor,ctx:e.ctx,ce:e.ce};return l&&r&&io(m,l.clone(m)),m}function Dt(e=" ",t=0){return b(Tr,null,e,t)}function Pb(e,t){const n=b(Po,null,e);return n.staticCount=t,n}function ee(e="",t=!1){return t?(x(),we(Mt,null,e)):b(Mt,null,e)}function un(e){return e==null||typeof e=="boolean"?b(Mt):ze(e)?b(ve,null,e.slice()):typeof e=="object"?Kr(e):b(Tr,null,String(e))}function Kr(e){return e.el===null&&e.patchFlag!==-1||e.memo?e:_r(e)}function Pd(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),Pd(e,o()),o._c&&(o._d=!0));return}else{n=32;const o=t._;!o&&!A_(t)?t._ctx=Vt:o===3&&Vt&&(Vt.slots._===1?t._=1:(t._=2,e.patchFlag|=1024))}else Oe(t)?(t={default:t,_ctx:Vt},n=32):(t=String(t),r&64?(n=16,t=[Dt(t)]):n=8);e.children=t,e.shapeFlag|=n}function is(...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=ke([t.class,r.class]));else if(o==="style")t.style=co([t.style,r.style]);else if(Li(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 cn(e,t,n,r=null){kn(e,t,7,[n,r])}const Ib=x_();let Lb=0;function sg(e,t,n){const r=e.type,o=(t?t.appContext:e.appContext)||Ib,s={uid:Lb++,vnode:e,type:r,parent:t,appContext:o,root:null,next:null,subTree:null,effect:null,update:null,scope:new ad(!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:P_(r,o),emitsOptions:J_(r,o),emit:null,emitted:null,propsDefaults:st,inheritAttrs:r.inheritAttrs,ctx:st,data:st,props:st,attrs:st,slots:st,refs:st,setupState:st,setupContext:null,suspense:n,suspenseId:n?n.pendingId:0,asyncDep:null,asyncResolved:!1,isMounted:!1,isUnmounted:!1,isDeactivated:!1,bc:null,c:null,bm:null,m:null,bu:null,u:null,um:null,bum:null,da:null,a:null,rtg:null,rtc:null,ec:null,sp:null};return s.ctx={_:s},s.root=t?t.root:s,s.emit=yb.bind(null,s),e.ce&&e.ce(s),s}let Ft=null;const Un=()=>Ft||Vt;let Ya,pu;{const e=Mh(),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)}};Ya=t("__VUE_INSTANCE_SETTERS__",n=>Ft=n),pu=t("__VUE_SSR_SETTERS__",n=>Fi=n)}const Ro=e=>{const t=Ft;return Ya(e),e.scope.on(),()=>{e.scope.off(),Ya(t)}},hu=()=>{Ft&&Ft.scope.off(),Ya(null)};function ig(e){return e.vnode.shapeFlag&4}let Fi=!1;function ag(e,t=!1,n=!1){t&&pu(t);const{props:r,children:o}=e.vnode,s=ig(e);rb(e,r,s,t),ab(e,o,n);const i=s?Nb(e,t):void 0;return t&&pu(!1),i}function Nb(e,t){const n=e.type;e.accessCache=Object.create(null),e.proxy=new Proxy(e.ctx,iu);const{setup:r}=n;if(r){const o=e.setupContext=r.length>1?cg(e):null,s=Ro(e);uo();const i=$r(r,e,0,[e.props,o]);if(mo(),s(),sd(i)){if(i.then(hu,hu),t)return i.then(a=>{_u(e,a,t)}).catch(a=>{Ho(a,e,0)});e.asyncDep=i}else _u(e,i,t)}else lg(e,t)}function _u(e,t,n){Oe(t)?e.type.__ssrInlineRender?e.ssrRender=t:e.render=t:ft(t)&&(e.setupState=yd(t)),lg(e,n)}let Xa,gu;function Db(e){Xa=e,gu=t=>{t.render._rc&&(t.withProxy=new Proxy(t.ctx,Dv))}}const Rb=()=>!Xa;function lg(e,t,n){const r=e.type;if(!e.render){if(!t&&Xa&&!r.render){const o=r.template||$d(e).template;if(o){const{isCustomElement:s,compilerOptions:i}=e.appContext.config,{delimiters:a,compilerOptions:l}=r,u=kt(kt({isCustomElement:s,delimiters:a},i),l);r.render=Xa(o,u)}}e.render=r.render||fn,gu&&gu(e)}{const o=Ro(e);uo();try{Yv(e)}finally{mo(),o()}}}const Mb={get(e,t){return hn(e,"get",""),e[t]}};function cg(e){const t=n=>{e.exposed=n||{}};return{attrs:new Proxy(e.attrs,Mb),slots:e.slots,emit:e.emit,expose:t}}function Vi(e){return e.exposed?e.exposeProxy||(e.exposeProxy=new Proxy(yd(El(e.exposed)),{get(t,n){if(n in t)return t[n];if(n in oi)return oi[n](e)},has(t,n){return n in t||n in oi}})):e.proxy}function yu(e,t=!0){return Oe(e)?e.displayName||e.name:e.name||t&&e.__name}function Fb(e){return Oe(e)&&"__vccOpts"in e}const jt=(e,t)=>lv(e,t,Fi);function mr(e,t,n){const r=arguments.length;return r===2?ft(t)&&!ze(t)?ao(t)?b(e,null,[t]):b(e,t):b(e,null,t):(r>3?n=Array.prototype.slice.call(arguments,2):r===3&&ao(n)&&(n=[n]),b(e,t,n))}function Vb(){}function Hb(e,t,n,r){const o=n[r];if(o&&ug(o,e))return o;const s=t();return s.memo=e.slice(),s.cacheIndex=r,n[r]=s}function ug(e,t){const n=e.memo;if(n.length!=t.length)return!1;for(let r=0;r<n.length;r++)if(nn(n[r],t[r]))return!1;return Do>0&&Yt&&Yt.push(e),!0}const dg="3.4.38",Ub=fn,jb=bv,Bb=es,Wb=d_,qb={createComponentInstance:sg,setupComponent:ag,renderComponentRoot:Ea,setCurrentRenderingInstance:Ci,isVNode:ao,normalizeVNode:un,getComponentPublicInstance:Vi,ensureValidVNode:Ed},Gb=qb,Kb=null,Zb=null,Yb=null;/**
* @vue/runtime-dom v3.4.38
* (c) 2018-present Yuxi (Evan) You and Vue contributors
* @license MIT
**/const Xb="http://www.w3.org/2000/svg",Jb="http://www.w3.org/1998/Math/MathML",wr=typeof document<"u"?document:null,Mm=wr&&wr.createElement("template"),Qb={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"?wr.createElementNS(Xb,e):t==="mathml"?wr.createElementNS(Jb,e):n?wr.createElement(e,{is:n}):wr.createElement(e);return e==="select"&&r&&r.multiple!=null&&o.setAttribute("multiple",r.multiple),o},createText:e=>wr.createTextNode(e),createComment:e=>wr.createComment(e),setText:(e,t)=>{e.nodeValue=t},setElementText:(e,t)=>{e.textContent=t},parentNode:e=>e.parentNode,nextSibling:e=>e.nextSibling,querySelector:e=>wr.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{Mm.innerHTML=r==="svg"?`<svg>${e}</svg>`:r==="mathml"?`<math>${e}</math>`:e;const a=Mm.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]}},Rr="transition",Ms="animation",vs=Symbol("_vtc"),Rt=(e,{slots:t})=>mr(f_,fg(e),t);Rt.displayName="Transition";const mg={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},e0=Rt.props=kt({},bd,mg),go=(e,t=[])=>{ze(e)?e.forEach(n=>n(...t)):e&&e(...t)},Fm=e=>e?ze(e)?e.some(t=>t.length>1):e.length>1:!1;function fg(e){const t={};for(const U in e)U in mg||(t[U]=e[U]);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=t0(o),g=h&&h[0],z=h&&h[1],{onBeforeEnter:k,onEnter:w,onEnterCancelled:_,onLeave:v,onLeaveCancelled:S,onBeforeAppear:C=k,onAppear:L=w,onAppearCancelled:D=_}=t,$=(U,W,ne)=>{Br(U,W?m:a),Br(U,W?u:i),ne&&ne()},F=(U,W)=>{U._isLeaving=!1,Br(U,d),Br(U,p),Br(U,f),W&&W()},q=U=>(W,ne)=>{const me=U?L:w,K=()=>$(W,U,ne);go(me,[W,K]),Vm(()=>{Br(W,U?l:s),Cr(W,U?m:a),Fm(me)||Hm(W,r,g,K)})};return kt(t,{onBeforeEnter(U){go(k,[U]),Cr(U,s),Cr(U,i)},onBeforeAppear(U){go(C,[U]),Cr(U,l),Cr(U,u)},onEnter:q(!1),onAppear:q(!0),onLeave(U,W){U._isLeaving=!0;const ne=()=>F(U,W);Cr(U,d),Cr(U,f),hg(),Vm(()=>{U._isLeaving&&(Br(U,d),Cr(U,p),Fm(v)||Hm(U,r,z,ne))}),go(v,[U,ne])},onEnterCancelled(U){$(U,!1),go(_,[U])},onAppearCancelled(U){$(U,!0),go(D,[U])},onLeaveCancelled(U){F(U),go(S,[U])}})}function t0(e){if(e==null)return null;if(ft(e))return[hc(e.enter),hc(e.leave)];{const t=hc(e);return[t,t]}}function hc(e){return ja(e)}function Cr(e,t){t.split(/\s+/).forEach(n=>n&&e.classList.add(n)),(e[vs]||(e[vs]=new Set)).add(t)}function Br(e,t){t.split(/\s+/).forEach(r=>r&&e.classList.remove(r));const n=e[vs];n&&(n.delete(t),n.size||(e[vs]=void 0))}function Vm(e){requestAnimationFrame(()=>{requestAnimationFrame(e)})}let n0=0;function Hm(e,t,n,r){const o=e._endId=++n0,s=()=>{o===e._endId&&r()};if(n)return setTimeout(s,n);const{type:i,timeout:a,propCount:l}=pg(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 pg(e,t){const n=window.getComputedStyle(e),r=h=>(n[h]||"").split(", "),o=r(`${Rr}Delay`),s=r(`${Rr}Duration`),i=Um(o,s),a=r(`${Ms}Delay`),l=r(`${Ms}Duration`),u=Um(a,l);let m=null,d=0,f=0;t===Rr?i>0&&(m=Rr,d=i,f=s.length):t===Ms?u>0&&(m=Ms,d=u,f=l.length):(d=Math.max(i,u),m=d>0?i>u?Rr:Ms:null,f=m?m===Rr?s.length:l.length:0);const p=m===Rr&&/\b(transform|all)(,|$)/.test(r(`${Rr}Property`).toString());return{type:m,timeout:d,propCount:f,hasTransform:p}}function Um(e,t){for(;e.length<t.length;)e=e.concat(e);return Math.max(...t.map((n,r)=>jm(n)+jm(e[r])))}function jm(e){return e==="auto"?0:Number(e.slice(0,-1).replace(",","."))*1e3}function hg(){return document.body.offsetHeight}function r0(e,t,n){const r=e[vs];r&&(t=(t?[t,...r]:[...r]).join(" ")),t==null?e.removeAttribute("class"):n?e.setAttribute("class",t):e.className=t}const Ja=Symbol("_vod"),_g=Symbol("_vsh"),Si={beforeMount(e,{value:t},{transition:n}){e[Ja]=e.style.display==="none"?"":e.style.display,n&&t?n.beforeEnter(e):Fs(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),Fs(e,!0),r.enter(e)):r.leave(e,()=>{Fs(e,!1)}):Fs(e,t))},beforeUnmount(e,{value:t}){Fs(e,t)}};function Fs(e,t){e.style.display=t?e[Ja]:"none",e[_g]=!t}function o0(){Si.getSSRProps=({value:e})=>{if(!e)return{style:{display:"none"}}}}const gg=Symbol("");function s0(e){const t=Un();if(!t)return;const n=t.ut=(o=e(t.proxy))=>{Array.from(document.querySelectorAll(`[data-v-owner="${t.uid}"]`)).forEach(s=>vu(s,o))},r=()=>{const o=e(t.proxy);zu(t.subTree,o),n(o)};Cd(()=>{K_(r)}),As(()=>{const o=new MutationObserver(r);o.observe(t.subTree.el.parentNode,{childList:!0}),Ri(()=>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)vu(e.el,t);else if(e.type===ve)e.children.forEach(n=>zu(n,t));else if(e.type===Po){let{el:n,anchor:r}=e;for(;n&&(vu(n,t),n!==r);)n=n.nextSibling}}function vu(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[gg]=r}}const i0=/(^|;)\s*display\s*:/;function a0(e,t,n){const r=e.style,o=bt(n);let s=!1;if(n&&!o){if(t)if(bt(t))for(const i of t.split(";")){const a=i.slice(0,i.indexOf(":")).trim();n[a]==null&&Ta(r,a,"")}else for(const i in t)n[i]==null&&Ta(r,i,"");for(const i in n)i==="display"&&(s=!0),Ta(r,i,n[i])}else if(o){if(t!==n){const i=r[gg];i&&(n+=";"+i),r.cssText=n,s=i0.test(n)}}else t&&e.removeAttribute("style");Ja in e&&(e[Ja]=s?r.display:"",e[_g]&&(r.display="none"))}const Bm=/\s*!important$/;function Ta(e,t,n){if(ze(n))n.forEach(r=>Ta(e,t,r));else if(n==null&&(n=""),t.startsWith("--"))e.setProperty(t,n);else{const r=l0(e,t);Bm.test(n)?e.setProperty(mn(r),n.replace(Bm,""),"important"):e[r]=n}}const Wm=["Webkit","Moz","ms"],_c={};function l0(e,t){const n=_c[t];if(n)return n;let r=Xt(t);if(r!=="filter"&&r in e)return _c[t]=r;r=Ni(r);for(let o=0;o<Wm.length;o++){const s=Wm[o]+r;if(s in e)return _c[t]=s}return t}const qm="http://www.w3.org/1999/xlink";function Gm(e,t,n,r,o,s=Rz(t)){r&&t.startsWith("xlink:")?n==null?e.removeAttributeNS(qm,t.slice(6,t.length)):e.setAttributeNS(qm,t,n):n==null||s&&!Fh(n)?e.removeAttribute(t):e.setAttribute(t,s?"":hr(n)?String(n):n)}function c0(e,t,n,r){if(t==="innerHTML"||t==="textContent"){if(n==null)return;e[t]=n;return}const o=e.tagName;if(t==="value"&&o!=="PROGRESS"&&!o.includes("-")){const i=o==="OPTION"?e.getAttribute("value")||"":e.value,a=n==null?"":String(n);(i!==a||!("_value"in e))&&(e.value=a),n==null&&e.removeAttribute(t),e._value=n;return}let s=!1;if(n===""||n==null){const i=typeof e[t];i==="boolean"?n=Fh(n):n==null&&i==="string"?(n="",s=!0):i==="number"&&(n=0,s=!0)}try{e[t]=n}catch{}s&&e.removeAttribute(t)}function kr(e,t,n,r){e.addEventListener(t,n,r)}function u0(e,t,n,r){e.removeEventListener(t,n,r)}const Km=Symbol("_vei");function d0(e,t,n,r,o=null){const s=e[Km]||(e[Km]={}),i=s[t];if(r&&i)i.value=r;else{const[a,l]=m0(t);if(r){const u=s[t]=h0(r,o);kr(e,a,u,l)}else i&&(u0(e,a,i,l),s[t]=void 0)}}const Zm=/(?:Once|Passive|Capture)$/;function m0(e){let t;if(Zm.test(e)){t={};let r;for(;r=e.match(Zm);)e=e.slice(0,e.length-r[0].length),t[r[0].toLowerCase()]=!0}return[e[2]===":"?e.slice(3):mn(e.slice(2)),t]}let gc=0;const f0=Promise.resolve(),p0=()=>gc||(f0.then(()=>gc=0),gc=Date.now());function h0(e,t){const n=r=>{if(!r._vts)r._vts=Date.now();else if(r._vts<=n.attached)return;kn(_0(r,n.value),t,5,[r])};return n.value=e,n.attached=p0(),n}function _0(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 Ym=e=>e.charCodeAt(0)===111&&e.charCodeAt(1)===110&&e.charCodeAt(2)>96&&e.charCodeAt(2)<123,g0=(e,t,n,r,o,s)=>{const i=o==="svg";t==="class"?r0(e,r,i):t==="style"?a0(e,n,r):Li(t)?rd(t)||d0(e,t,n,r,s):(t[0]==="."?(t=t.slice(1),!0):t[0]==="^"?(t=t.slice(1),!1):y0(e,t,r,i))?(c0(e,t,r),!e.tagName.includes("-")&&(t==="value"||t==="checked"||t==="selected")&&Gm(e,t,r,i,s,t!=="value")):(t==="true-value"?e._trueValue=r:t==="false-value"&&(e._falseValue=r),Gm(e,t,r,i))};function y0(e,t,n,r){if(r)return!!(t==="innerHTML"||t==="textContent"||t in e&&Ym(t)&&Oe(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 Ym(t)&&bt(n)?!1:t in e}/*! #__NO_SIDE_EFFECTS__ */function yg(e,t,n){const r=Pr(e,t);class o extends Dl{constructor(i){super(r,i,n)}}return o.def=r,o}/*! #__NO_SIDE_EFFECTS__ */const z0=(e,t)=>yg(e,t,$g),v0=typeof HTMLElement<"u"?HTMLElement:class{};class Dl extends v0{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,Uo(()=>{this._connected||(this._ob&&(this._ob.disconnect(),this._ob=null),bu(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]=ja(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.hasAttribute(t)?this.getAttribute(t):void 0;const r=Xt(t);this._numberProps&&this._numberProps[r]&&(n=ja(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(mn(t),""):typeof n=="string"||typeof n=="number"?this.setAttribute(mn(t),n+""):n||this.removeAttribute(mn(t))))}_update(){bu(this._createVNode(),this.shadowRoot)}_createVNode(){const t=b(this._def,kt({},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),mn(s)!==s&&r(mn(s),i)};let o=this;for(;o=o&&(o.parentNode||o.host);)if(o instanceof Dl){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 b0(e="$style"){{const t=Un();if(!t)return st;const n=t.type.__cssModules;if(!n)return st;const r=n[e];return r||st}}const zg=new WeakMap,vg=new WeakMap,Qa=Symbol("_moveCb"),Xm=Symbol("_enterCb"),bg={name:"TransitionGroup",props:kt({},e0,{tag:String,moveClass:String}),setup(e,{slots:t}){const n=Un(),r=vd();let o,s;return Pl(()=>{if(!o.length)return;const i=e.moveClass||`${e.name||"v"}-move`;if(!E0(o[0].el,n.vnode.el,i))return;o.forEach(k0),o.forEach(S0);const a=o.filter(x0);hg(),a.forEach(l=>{const u=l.el,m=u.style;Cr(u,i),m.transform=m.webkitTransform=m.transitionDuration="";const d=u[Qa]=f=>{f&&f.target!==u||(!f||/transform$/.test(f.propertyName))&&(u.removeEventListener("transitionend",d),u[Qa]=null,Br(u,i))};u.addEventListener("transitionend",d)})}),()=>{const i=Xe(e),a=fg(i);let l=i.tag||ve;if(o=[],s)for(let u=0;u<s.length;u++){const m=s[u];m.el&&m.el instanceof Element&&(o.push(m),io(m,zs(m,a,r,n)),zg.set(m,m.el.getBoundingClientRect()))}s=t.default?Al(t.default()):[];for(let u=0;u<s.length;u++){const m=s[u];m.key!=null&&io(m,zs(m,a,r,n))}return b(l,null,s)}}},C0=e=>delete e.mode;bg.props;const w0=bg;function k0(e){const t=e.el;t[Qa]&&t[Qa](),t[Xm]&&t[Xm]()}function S0(e){vg.set(e,e.el.getBoundingClientRect())}function x0(e){const t=zg.get(e),n=vg.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 E0(e,t,n){const r=e.cloneNode(),o=e[vs];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}=pg(r);return s.removeChild(r),i}const lo=e=>{const t=e.props["onUpdate:modelValue"]||!1;return ze(t)?n=>ms(t,n):t};function $0(e){e.target.composing=!0}function Jm(e){const t=e.target;t.composing&&(t.composing=!1,t.dispatchEvent(new Event("input")))}const Rn=Symbol("_assign"),_n={created(e,{modifiers:{lazy:t,trim:n,number:r}},o){e[Rn]=lo(o);const s=r||o.props&&o.props.type==="number";kr(e,t?"change":"input",i=>{if(i.target.composing)return;let a=e.value;n&&(a=a.trim()),s&&(a=Ua(a)),e[Rn](a)}),n&&kr(e,"change",()=>{e.value=e.value.trim()}),t||(kr(e,"compositionstart",$0),kr(e,"compositionend",Jm),kr(e,"change",Jm))},mounted(e,{value:t}){e.value=t??""},beforeUpdate(e,{value:t,oldValue:n,modifiers:{lazy:r,trim:o,number:s}},i){if(e[Rn]=lo(i),e.composing)return;const a=(s||e.type==="number")&&!/^0\d/.test(e.value)?Ua(e.value):e.value,l=t??"";a!==l&&(document.activeElement===e&&e.type!=="range"&&(r&&t===n||o&&e.value.trim()===l)||(e.value=l))}},Mn={deep:!0,created(e,t,n){e[Rn]=lo(n),kr(e,"change",()=>{const r=e._modelValue,o=bs(e),s=e.checked,i=e[Rn];if(ze(r)){const a=Cl(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(Vo(r)){const a=new Set(r);s?a.add(o):a.delete(o),i(a)}else i(Cg(e,s))})},mounted:Qm,beforeUpdate(e,t,n){e[Rn]=lo(n),Qm(e,t,n)}};function Qm(e,{value:t,oldValue:n},r){e._modelValue=t,ze(t)?e.checked=Cl(t,r.props.value)>-1:Vo(t)?e.checked=t.has(r.props.value):t!==n&&(e.checked=oo(t,Cg(e,!0)))}const Id={created(e,{value:t},n){e.checked=oo(t,n.props.value),e[Rn]=lo(n),kr(e,"change",()=>{e[Rn](bs(e))})},beforeUpdate(e,{value:t,oldValue:n},r){e[Rn]=lo(r),t!==n&&(e.checked=oo(t,r.props.value))}},Ld={deep:!0,created(e,{value:t,modifiers:{number:n}},r){const o=Vo(t);kr(e,"change",()=>{const s=Array.prototype.filter.call(e.options,i=>i.selected).map(i=>n?Ua(bs(i)):bs(i));e[Rn](e.multiple?o?new Set(s):s:s[0]),e._assigning=!0,Uo(()=>{e._assigning=!1})}),e[Rn]=lo(r)},mounted(e,{value:t,modifiers:{number:n}}){ef(e,t)},beforeUpdate(e,t,n){e[Rn]=lo(n)},updated(e,{value:t,modifiers:{number:n}}){e._assigning||ef(e,t)}};function ef(e,t,n){const r=e.multiple,o=ze(t);if(!(r&&!o&&!Vo(t))){for(let s=0,i=e.options.length;s<i;s++){const a=e.options[s],l=bs(a);if(r)if(o){const u=typeof l;u==="string"||u==="number"?a.selected=t.some(m=>String(m)===String(l)):a.selected=Cl(t,l)>-1}else a.selected=t.has(l);else if(oo(bs(a),t)){e.selectedIndex!==s&&(e.selectedIndex=s);return}}!r&&e.selectedIndex!==-1&&(e.selectedIndex=-1)}}function bs(e){return"_value"in e?e._value:e.value}function Cg(e,t){const n=t?"_trueValue":"_falseValue";return n in e?e[n]:t}const wg={created(e,t,n){la(e,t,n,null,"created")},mounted(e,t,n){la(e,t,n,null,"mounted")},beforeUpdate(e,t,n,r){la(e,t,n,r,"beforeUpdate")},updated(e,t,n,r){la(e,t,n,r,"updated")}};function kg(e,t){switch(e){case"SELECT":return Ld;case"TEXTAREA":return _n;default:switch(t){case"checkbox":return Mn;case"radio":return Id;default:return _n}}}function la(e,t,n,r,o){const i=kg(e.tagName,n.props&&n.props.type)[o];i&&i(e,t,n,r)}function T0(){_n.getSSRProps=({value:e})=>({value:e}),Id.getSSRProps=({value:e},t)=>{if(t.props&&oo(t.props.value,e))return{checked:!0}},Mn.getSSRProps=({value:e},t)=>{if(ze(e)){if(t.props&&Cl(e,t.props.value)>-1)return{checked:!0}}else if(Vo(e)){if(t.props&&e.has(t.props.value))return{checked:!0}}else if(e)return{checked:!0}},wg.getSSRProps=(e,t)=>{if(typeof t.type!="string")return;const n=kg(t.type.toUpperCase(),t.props&&t.props.type);if(n.getSSRProps)return n.getSSRProps(e,t)}}const A0=["ctrl","shift","alt","meta"],O0={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)=>A0.some(n=>e[`${n}Key`]&&!t.includes(n))},gt=(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=O0[t[i]];if(a&&a(o,t))return}return e(o,...s)})},P0={esc:"escape",space:" ",up:"arrow-up",left:"arrow-left",right:"arrow-right",down:"arrow-down",delete:"backspace"},dn=(e,t)=>{const n=e._withKeys||(e._withKeys={}),r=t.join(".");return n[r]||(n[r]=o=>{if(!("key"in o))return;const s=mn(o.key);if(t.some(i=>i===s||P0[i]===s))return e(o)})},Sg=kt({patchProp:g0},Qb);let li,tf=!1;function xg(){return li||(li=V_(Sg))}function Eg(){return li=tf?li:H_(Sg),tf=!0,li}const bu=(...e)=>{xg().render(...e)},$g=(...e)=>{Eg().hydrate(...e)},Tg=(...e)=>{const t=xg().createApp(...e),{mount:n}=t;return t.mount=r=>{const o=Og(r);if(!o)return;const s=t._component;!Oe(s)&&!s.render&&!s.template&&(s.template=o.innerHTML),o.innerHTML="";const i=n(o,!1,Ag(o));return o instanceof Element&&(o.removeAttribute("v-cloak"),o.setAttribute("data-v-app","")),i},t},I0=(...e)=>{const t=Eg().createApp(...e),{mount:n}=t;return t.mount=r=>{const o=Og(r);if(o)return n(o,!0,Ag(o))},t};function Ag(e){if(e instanceof SVGElement)return"svg";if(typeof MathMLElement=="function"&&e instanceof MathMLElement)return"mathml"}function Og(e){return bt(e)?document.querySelector(e):e}let nf=!1;const L0=()=>{nf||(nf=!0,T0(),o0())};/**
* vue v3.4.38
* (c) 2018-present Yuxi (Evan) You and Vue contributors
* @license MIT
**/const N0=()=>{},D0=Object.freeze(Object.defineProperty({__proto__:null,BaseTransition:f_,BaseTransitionPropsValidators:bd,Comment:Mt,DeprecationTypes:Yb,EffectScope:ad,ErrorCodes:vv,ErrorTypeStrings:jb,Fragment:ve,KeepAlive:Pv,ReactiveEffect:ys,Static:Po,Suspense:kb,Teleport:Hn,Text:Tr,TrackOpTypes:gv,Transition:Rt,TransitionGroup:w0,TriggerOpTypes:yv,VueElement:Dl,assertNumber:zv,callWithAsyncErrorHandling:kn,callWithErrorHandling:$r,camelize:Xt,capitalize:Ni,cloneVNode:_r,compatUtils:Zb,compile:N0,computed:jt,createApp:Tg,createBlock:we,createCommentVNode:ee,createElementBlock:I,createElementVNode:c,createHydrationRenderer:H_,createPropsRestProxy:Kv,createRenderer:V_,createSSRApp:I0,createSlots:xd,createStaticVNode:Pb,createTextVNode:Dt,createVNode:b,customRef:s_,defineAsyncComponent:Av,defineComponent:Pr,defineCustomElement:yg,defineEmits:Mv,defineExpose:Fv,defineModel:Uv,defineOptions:Vv,defineProps:Rv,defineSSRCustomElement:z0,defineSlots:Hv,devtools:Bb,effect:Vz,effectScope:wl,getCurrentInstance:Un,getCurrentScope:ld,getTransitionRawChildren:Al,guardReactiveProps:og,h:mr,handleError:Ho,hasInjectionContext:E_,hydrate:$g,initCustomFormatter:Vb,initDirectivesForSSR:L0,inject:Nn,isMemoSame:ug,isProxy:pd,isReactive:Er,isReadonly:so,isRef:Ot,isRuntimeOnly:Rb,isShallow:No,isVNode:ao,markRaw:El,mergeDefaults:qv,mergeModels:Gv,mergeProps:is,nextTick:Uo,normalizeClass:ke,normalizeProps:Ks,normalizeStyle:co,onActivated:h_,onBeforeMount:Cd,onBeforeUnmount:Il,onBeforeUpdate:y_,onDeactivated:__,onErrorCaptured:C_,onMounted:As,onRenderTracked:b_,onRenderTriggered:v_,onScopeDispose:jh,onServerPrefetch:z_,onUnmounted:Ri,onUpdated:Pl,openBlock:x,popScopeId:Ev,provide:si,proxyRefs:yd,pushScopeId:xv,queuePostFlushCb:Wa,reactive:Ts,readonly:fd,ref:Ln,registerRuntimeCompiler:Db,render:bu,renderList:_t,renderSlot:vt,resolveComponent:O,resolveDirective:kd,resolveDynamicComponent:Ll,resolveFilter:Kb,resolveTransitionHooks:zs,setBlockTracking:fu,setDevtoolsHook:Wb,setTransitionHooks:io,shallowReactive:md,shallowReadonly:av,shallowRef:gd,ssrContextKey:W_,ssrUtils:Gb,stop:Hz,toDisplayString:y,toHandlerKey:ri,toHandlers:Nv,toRaw:Xe,toRef:_v,toRefs:i_,toValue:dv,transformVNodeArgs:Ab,triggerRef:uv,unref:Cn,useAttrs:Wv,useCssModule:b0,useCssVars:s0,useModel:gb,useSSRContext:q_,useSlots:Bv,useTransitionState:vd,vModelCheckbox:Mn,vModelDynamic:wg,vModelRadio:Id,vModelSelect:Ld,vModelText:_n,vShow:Si,version:dg,warn:Ub,watch:Dn,watchEffect:G_,watchPostEffect:K_,watchSyncEffect:Z_,withAsyncContext:Zv,withCtx:N,withDefaults:jv,withDirectives:ht,withKeys:dn,withMemo:Hb,withModifiers:gt,withScopeId:$v},Symbol.toStringTag,{value:"Module"}));var R0=!1;/*!
* pinia v2.2.2
* (c) 2024 Eduardo San Martin Morote
* @license MIT
*/let Pg;const Rl=e=>Pg=e,Ig=Symbol();function Cu(e){return e&&typeof e=="object"&&Object.prototype.toString.call(e)==="[object Object]"&&typeof e.toJSON!="function"}var ci;(function(e){e.direct="direct",e.patchObject="patch object",e.patchFunction="patch function"})(ci||(ci={}));function M0(){const e=wl(!0),t=e.run(()=>Ln({}));let n=[],r=[];const o=El({install(s){Rl(o),o._a=s,s.provide(Ig,o),s.config.globalProperties.$pinia=o,r.forEach(i=>n.push(i)),r=[]},use(s){return!this._a&&!R0?r.push(s):n.push(s),this},_p:n,_a:null,_e:e,_s:new Map,state:t});return o}const Lg=()=>{};function rf(e,t,n,r=Lg){e.push(t);const o=()=>{const s=e.indexOf(t);s>-1&&(e.splice(s,1),r())};return!n&&ld()&&jh(o),o}function qo(e,...t){e.slice().forEach(n=>{n(...t)})}const F0=e=>e(),of=Symbol(),yc=Symbol();function wu(e,t){e instanceof Map&&t instanceof Map?t.forEach((n,r)=>e.set(r,n)):e instanceof Set&&t instanceof Set&&t.forEach(e.add,e);for(const n in t){if(!t.hasOwnProperty(n))continue;const r=t[n],o=e[n];Cu(o)&&Cu(r)&&e.hasOwnProperty(n)&&!Ot(r)&&!Er(r)?e[n]=wu(o,r):e[n]=r}return e}const V0=Symbol();function H0(e){return!Cu(e)||!e.hasOwnProperty(V0)}const{assign:Wr}=Object;function U0(e){return!!(Ot(e)&&e.effect)}function j0(e,t,n,r){const{state:o,actions:s,getters:i}=t,a=n.state.value[e];let l;function u(){a||(n.state.value[e]=o?o():{});const m=i_(n.state.value[e]);return Wr(m,s,Object.keys(i||{}).reduce((d,f)=>(d[f]=El(jt(()=>{Rl(n);const p=n._s.get(e);return i[f].call(p,p)})),d),{}))}return l=Ng(e,u,t,n,r,!0),l}function Ng(e,t,n={},r,o,s){let i;const a=Wr({actions:{}},n),l={deep:!0};let u,m,d=[],f=[],p;const h=r.state.value[e];!s&&!h&&(r.state.value[e]={}),Ln({});let g;function z(D){let $;u=m=!1,typeof D=="function"?(D(r.state.value[e]),$={type:ci.patchFunction,storeId:e,events:p}):(wu(r.state.value[e],D),$={type:ci.patchObject,payload:D,storeId:e,events:p});const F=g=Symbol();Uo().then(()=>{g===F&&(u=!0)}),m=!0,qo(d,$,r.state.value[e])}const k=s?function(){const{state:$}=n,F=$?$():{};this.$patch(q=>{Wr(q,F)})}:Lg;function w(){i.stop(),d=[],f=[],r._s.delete(e)}const _=(D,$="")=>{if(of in D)return D[yc]=$,D;const F=function(){Rl(r);const q=Array.from(arguments),U=[],W=[];function ne(re){U.push(re)}function me(re){W.push(re)}qo(f,{args:q,name:F[yc],store:S,after:ne,onError:me});let K;try{K=D.apply(this&&this.$id===e?this:S,q)}catch(re){throw qo(W,re),re}return K instanceof Promise?K.then(re=>(qo(U,re),re)).catch(re=>(qo(W,re),Promise.reject(re))):(qo(U,K),K)};return F[of]=!0,F[yc]=$,F},v={_p:r,$id:e,$onAction:rf.bind(null,f),$patch:z,$reset:k,$subscribe(D,$={}){const F=rf(d,D,$.detached,()=>q()),q=i.run(()=>Dn(()=>r.state.value[e],U=>{($.flush==="sync"?m:u)&&D({storeId:e,type:ci.direct,events:p},U)},Wr({},l,$)));return F},$dispose:w},S=Ts(v);r._s.set(e,S);const L=(r._a&&r._a.runWithContext||F0)(()=>r._e.run(()=>(i=wl()).run(()=>t({action:_}))));for(const D in L){const $=L[D];if(Ot($)&&!U0($)||Er($))s||(h&&H0($)&&(Ot($)?$.value=h[D]:wu($,h[D])),r.state.value[e][D]=$);else if(typeof $=="function"){const F=_($,D);L[D]=F,a.actions[D]=$}}return Wr(S,L),Wr(Xe(S),L),Object.defineProperty(S,"$state",{get:()=>r.state.value[e],set:D=>{z($=>{Wr($,D)})}}),r._p.forEach(D=>{Wr(S,i.run(()=>D({store:S,app:r._a,pinia:r,options:a})))}),h&&s&&n.hydrate&&n.hydrate(S.$state,h),u=!0,m=!0,S}function jn(e,t,n){let r,o;const s=typeof t=="function";typeof e=="string"?(r=e,o=s?n:t):(o=e,r=e.id);function i(a,l){const u=E_();return a=a||(u?Nn(Ig,null):null),a&&Rl(a),a=Pg,a._s.has(r)||(s?Ng(r,t,o,a):j0(r,o,a)),a._s.get(r)}return i.$id=r,i}const Nd=jn("RemotesStore",{state:()=>({pairing:{}})});function Dg(e,t){return function(){return e.apply(t,arguments)}}const{toString:B0}=Object.prototype,{getPrototypeOf:Dd}=Object,Ml=(e=>t=>{const n=B0.call(t);return e[n]||(e[n]=n.slice(8,-1).toLowerCase())})(Object.create(null)),or=e=>(e=e.toLowerCase(),t=>Ml(t)===e),Fl=e=>t=>typeof t===e,{isArray:Os}=Array,xi=Fl("undefined");function W0(e){return e!==null&&!xi(e)&&e.constructor!==null&&!xi(e.constructor)&&Sn(e.constructor.isBuffer)&&e.constructor.isBuffer(e)}const Rg=or("ArrayBuffer");function q0(e){let t;return typeof ArrayBuffer<"u"&&ArrayBuffer.isView?t=ArrayBuffer.isView(e):t=e&&e.buffer&&Rg(e.buffer),t}const G0=Fl("string"),Sn=Fl("function"),Mg=Fl("number"),Vl=e=>e!==null&&typeof e=="object",K0=e=>e===!0||e===!1,Aa=e=>{if(Ml(e)!=="object")return!1;const t=Dd(e);return(t===null||t===Object.prototype||Object.getPrototypeOf(t)===null)&&!(Symbol.toStringTag in e)&&!(Symbol.iterator in e)},Z0=or("Date"),Y0=or("File"),X0=or("Blob"),J0=or("FileList"),Q0=e=>Vl(e)&&Sn(e.pipe),eC=e=>{let t;return e&&(typeof FormData=="function"&&e instanceof FormData||Sn(e.append)&&((t=Ml(e))==="formdata"||t==="object"&&Sn(e.toString)&&e.toString()==="[object FormData]"))},tC=or("URLSearchParams"),[nC,rC,oC,sC]=["ReadableStream","Request","Response","Headers"].map(or),iC=e=>e.trim?e.trim():e.replace(/^[\s\uFEFF\xA0]+|[\s\uFEFF\xA0]+$/g,"");function Hi(e,t,{allOwnKeys:n=!1}={}){if(e===null||typeof e>"u")return;let r,o;if(typeof e!="object"&&(e=[e]),Os(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 Fg(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 xo=typeof globalThis<"u"?globalThis:typeof self<"u"?self:typeof window<"u"?window:global,Vg=e=>!xi(e)&&e!==xo;function ku(){const{caseless:e}=Vg(this)&&this||{},t={},n=(r,o)=>{const s=e&&Fg(t,o)||o;Aa(t[s])&&Aa(r)?t[s]=ku(t[s],r):Aa(r)?t[s]=ku({},r):Os(r)?t[s]=r.slice():t[s]=r};for(let r=0,o=arguments.length;r<o;r++)arguments[r]&&Hi(arguments[r],n);return t}const aC=(e,t,n,{allOwnKeys:r}={})=>(Hi(t,(o,s)=>{n&&Sn(o)?e[s]=Dg(o,n):e[s]=o},{allOwnKeys:r}),e),lC=e=>(e.charCodeAt(0)===65279&&(e=e.slice(1)),e),cC=(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)},uC=(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&&Dd(e)}while(e&&(!n||n(e,t))&&e!==Object.prototype);return t},dC=(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},mC=e=>{if(!e)return null;if(Os(e))return e;let t=e.length;if(!Mg(t))return null;const n=new Array(t);for(;t-- >0;)n[t]=e[t];return n},fC=(e=>t=>e&&t instanceof e)(typeof Uint8Array<"u"&&Dd(Uint8Array)),pC=(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])}},hC=(e,t)=>{let n;const r=[];for(;(n=e.exec(t))!==null;)r.push(n);return r},_C=or("HTMLFormElement"),gC=e=>e.toLowerCase().replace(/[-_\s]([a-z\d])(\w*)/g,function(n,r,o){return r.toUpperCase()+o}),sf=(({hasOwnProperty:e})=>(t,n)=>e.call(t,n))(Object.prototype),yC=or("RegExp"),Hg=(e,t)=>{const n=Object.getOwnPropertyDescriptors(e),r={};Hi(n,(o,s)=>{let i;(i=t(o,s,e))!==!1&&(r[s]=i||o)}),Object.defineProperties(e,r)},zC=e=>{Hg(e,(t,n)=>{if(Sn(e)&&["arguments","caller","callee"].indexOf(n)!==-1)return!1;const r=e[n];if(Sn(r)){if(t.enumerable=!1,"writable"in t){t.writable=!1;return}t.set||(t.set=()=>{throw Error("Can not rewrite read-only method '"+n+"'")})}})},vC=(e,t)=>{const n={},r=o=>{o.forEach(s=>{n[s]=!0})};return Os(e)?r(e):r(String(e).split(t)),n},bC=()=>{},CC=(e,t)=>e!=null&&Number.isFinite(e=+e)?e:t,zc="abcdefghijklmnopqrstuvwxyz",af="0123456789",Ug={DIGIT:af,ALPHA:zc,ALPHA_DIGIT:zc+zc.toUpperCase()+af},wC=(e=16,t=Ug.ALPHA_DIGIT)=>{let n="";const{length:r}=t;for(;e--;)n+=t[Math.random()*r|0];return n};function kC(e){return!!(e&&Sn(e.append)&&e[Symbol.toStringTag]==="FormData"&&e[Symbol.iterator])}const SC=e=>{const t=new Array(10),n=(r,o)=>{if(Vl(r)){if(t.indexOf(r)>=0)return;if(!("toJSON"in r)){t[o]=r;const s=Os(r)?[]:{};return Hi(r,(i,a)=>{const l=n(i,o+1);!xi(l)&&(s[a]=l)}),t[o]=void 0,s}}return r};return n(e,0)},xC=or("AsyncFunction"),EC=e=>e&&(Vl(e)||Sn(e))&&Sn(e.then)&&Sn(e.catch),jg=((e,t)=>e?setImmediate:t?((n,r)=>(xo.addEventListener("message",({source:o,data:s})=>{o===xo&&s===n&&r.length&&r.shift()()},!1),o=>{r.push(o),xo.postMessage(n,"*")}))(`axios@${Math.random()}`,[]):n=>setTimeout(n))(typeof setImmediate=="function",Sn(xo.postMessage)),$C=typeof queueMicrotask<"u"?queueMicrotask.bind(xo):typeof process<"u"&&process.nextTick||jg,J={isArray:Os,isArrayBuffer:Rg,isBuffer:W0,isFormData:eC,isArrayBufferView:q0,isString:G0,isNumber:Mg,isBoolean:K0,isObject:Vl,isPlainObject:Aa,isReadableStream:nC,isRequest:rC,isResponse:oC,isHeaders:sC,isUndefined:xi,isDate:Z0,isFile:Y0,isBlob:X0,isRegExp:yC,isFunction:Sn,isStream:Q0,isURLSearchParams:tC,isTypedArray:fC,isFileList:J0,forEach:Hi,merge:ku,extend:aC,trim:iC,stripBOM:lC,inherits:cC,toFlatObject:uC,kindOf:Ml,kindOfTest:or,endsWith:dC,toArray:mC,forEachEntry:pC,matchAll:hC,isHTMLForm:_C,hasOwnProperty:sf,hasOwnProp:sf,reduceDescriptors:Hg,freezeMethods:zC,toObjectSet:vC,toCamelCase:gC,noop:bC,toFiniteNumber:CC,findKey:Fg,global:xo,isContextDefined:Vg,ALPHABET:Ug,generateString:wC,isSpecCompliantForm:kC,toJSONObject:SC,isAsyncFn:xC,isThenable:EC,setImmediate:jg,asap:$C};function Be(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(Be,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 Bg=Be.prototype,Wg={};["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=>{Wg[e]={value:e}});Object.defineProperties(Be,Wg);Object.defineProperty(Bg,"isAxiosError",{value:!0});Be.from=(e,t,n,r,o,s)=>{const i=Object.create(Bg);return J.toFlatObject(e,i,function(l){return l!==Error.prototype},a=>a!=="isAxiosError"),Be.call(i,e.message,t,n,r,o),i.cause=e,i.name=e.name,s&&Object.assign(i,s),i};const TC=null;function Su(e){return J.isPlainObject(e)||J.isArray(e)}function qg(e){return J.endsWith(e,"[]")?e.slice(0,-2):e}function lf(e,t,n){return e?e.concat(t).map(function(o,s){return o=qg(o),!n&&s?"["+o+"]":o}).join(n?".":""):t}function AC(e){return J.isArray(e)&&!e.some(Su)}const OC=J.toFlatObject(J,{},null,function(t){return/^is[A-Z]/.test(t)});function Hl(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(g,z){return!J.isUndefined(z[g])});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 Be("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,g,z){let k=h;if(h&&!z&&typeof h=="object"){if(J.endsWith(g,"{}"))g=r?g:g.slice(0,-2),h=JSON.stringify(h);else if(J.isArray(h)&&AC(h)||(J.isFileList(h)||J.endsWith(g,"[]"))&&(k=J.toArray(h)))return g=qg(g),k.forEach(function(_,v){!(J.isUndefined(_)||_===null)&&t.append(i===!0?lf([g],v,s):i===null?g:g+"[]",u(_))}),!1}return Su(h)?!0:(t.append(lf(z,g,s),u(h)),!1)}const d=[],f=Object.assign(OC,{defaultVisitor:m,convertValue:u,isVisitable:Su});function p(h,g){if(!J.isUndefined(h)){if(d.indexOf(h)!==-1)throw Error("Circular reference detected in "+g.join("."));d.push(h),J.forEach(h,function(k,w){(!(J.isUndefined(k)||k===null)&&o.call(t,k,J.isString(w)?w.trim():w,g,f))===!0&&p(k,g?g.concat(w):[w])}),d.pop()}}if(!J.isObject(e))throw new TypeError("data must be an object");return p(e),t}function cf(e){const t={"!":"%21","'":"%27","(":"%28",")":"%29","~":"%7E","%20":"+","%00":"\0"};return encodeURIComponent(e).replace(/[!'()~]|%20|%00/g,function(r){return t[r]})}function Rd(e,t){this._pairs=[],e&&Hl(e,this,t)}const Gg=Rd.prototype;Gg.append=function(t,n){this._pairs.push([t,n])};Gg.toString=function(t){const n=t?function(r){return t.call(this,r,cf)}:cf;return this._pairs.map(function(o){return n(o[0])+"="+n(o[1])},"").join("&")};function PC(e){return encodeURIComponent(e).replace(/%3A/gi,":").replace(/%24/g,"$").replace(/%2C/gi,",").replace(/%20/g,"+").replace(/%5B/gi,"[").replace(/%5D/gi,"]")}function Kg(e,t,n){if(!t)return e;const r=n&&n.encode||PC,o=n&&n.serialize;let s;if(o?s=o(t,n):s=J.isURLSearchParams(t)?t.toString():new Rd(t,n).toString(r),s){const i=e.indexOf("#");i!==-1&&(e=e.slice(0,i)),e+=(e.indexOf("?")===-1?"?":"&")+s}return e}class uf{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 Zg={silentJSONParsing:!0,forcedJSONParsing:!0,clarifyTimeoutError:!1},IC=typeof URLSearchParams<"u"?URLSearchParams:Rd,LC=typeof FormData<"u"?FormData:null,NC=typeof Blob<"u"?Blob:null,DC={isBrowser:!0,classes:{URLSearchParams:IC,FormData:LC,Blob:NC},protocols:["http","https","file","blob","url","data"]},Md=typeof window<"u"&&typeof document<"u",RC=(e=>Md&&["ReactNative","NativeScript","NS"].indexOf(e)<0)(typeof navigator<"u"&&navigator.product),MC=typeof WorkerGlobalScope<"u"&&self instanceof WorkerGlobalScope&&typeof self.importScripts=="function",FC=Md&&window.location.href||"http://localhost",VC=Object.freeze(Object.defineProperty({__proto__:null,hasBrowserEnv:Md,hasStandardBrowserEnv:RC,hasStandardBrowserWebWorkerEnv:MC,origin:FC},Symbol.toStringTag,{value:"Module"})),Qn={...VC,...DC};function HC(e,t){return Hl(e,new Qn.classes.URLSearchParams,Object.assign({visitor:function(n,r,o,s){return Qn.isNode&&J.isBuffer(n)?(this.append(r,n.toString("base64")),!1):s.defaultVisitor.apply(this,arguments)}},t))}function UC(e){return J.matchAll(/\w+|\[(\w*)]/g,e).map(t=>t[0]==="[]"?"":t[1]||t[0])}function jC(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 Yg(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]=jC(o[i])),!a)}if(J.isFormData(e)&&J.isFunction(e.entries)){const n={};return J.forEachEntry(e,(r,o)=>{t(UC(r),o,n,0)}),n}return null}function BC(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(0,JSON.stringify)(e)}const Ui={transitional:Zg,adapter:["xhr","http","fetch"],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(Yg(t)):t;if(J.isArrayBuffer(t)||J.isBuffer(t)||J.isStream(t)||J.isFile(t)||J.isBlob(t)||J.isReadableStream(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 HC(t,this.formSerializer).toString();if((a=J.isFileList(t))||r.indexOf("multipart/form-data")>-1){const l=this.env&&this.env.FormData;return Hl(a?{"files[]":t}:t,l&&new l,this.formSerializer)}}return s||o?(n.setContentType("application/json",!1),BC(t)):t}],transformResponse:[function(t){const n=this.transitional||Ui.transitional,r=n&&n.forcedJSONParsing,o=this.responseType==="json";if(J.isResponse(t)||J.isReadableStream(t))return t;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"?Be.from(a,Be.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:Qn.classes.FormData,Blob:Qn.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=>{Ui.headers[e]={}});const WC=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"]),qC=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]&&WC[n])&&(n==="set-cookie"?t[n]?t[n].push(r):t[n]=[r]:t[n]=t[n]?t[n]+", "+r:r)}),t},df=Symbol("internals");function Vs(e){return e&&String(e).trim().toLowerCase()}function Oa(e){return e===!1||e==null?e:J.isArray(e)?e.map(Oa):String(e)}function GC(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 KC=e=>/^[-_a-zA-Z0-9^`|~,!#$%&'*+.]+$/.test(e.trim());function vc(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 ZC(e){return e.trim().toLowerCase().replace(/([a-z\d])(\w*)/g,(t,n,r)=>n.toUpperCase()+r)}function YC(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 pn{constructor(t){t&&this.set(t)}set(t,n,r){const o=this;function s(a,l,u){const m=Vs(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]=Oa(a))}const i=(a,l)=>J.forEach(a,(u,m)=>s(u,m,l));if(J.isPlainObject(t)||t instanceof this.constructor)i(t,n);else if(J.isString(t)&&(t=t.trim())&&!KC(t))i(qC(t),n);else if(J.isHeaders(t))for(const[a,l]of t.entries())s(l,a,r);else t!=null&&s(n,t,r);return this}get(t,n){if(t=Vs(t),t){const r=J.findKey(this,t);if(r){const o=this[r];if(!n)return o;if(n===!0)return GC(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=Vs(t),t){const r=J.findKey(this,t);return!!(r&&this[r]!==void 0&&(!n||vc(this,this[r],r,n)))}return!1}delete(t,n){const r=this;let o=!1;function s(i){if(i=Vs(i),i){const a=J.findKey(r,i);a&&(!n||vc(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||vc(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]=Oa(o),delete n[s];return}const a=t?ZC(s):String(s).trim();a!==s&&delete n[s],n[a]=Oa(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[df]=this[df]={accessors:{}}).accessors,o=this.prototype;function s(i){const a=Vs(i);r[a]||(YC(o,i),r[a]=!0)}return J.isArray(t)?t.forEach(s):s(t),this}}pn.accessor(["Content-Type","Content-Length","Accept","Accept-Encoding","User-Agent","Authorization"]);J.reduceDescriptors(pn.prototype,({value:e},t)=>{let n=t[0].toUpperCase()+t.slice(1);return{get:()=>e,set(r){this[n]=r}}});J.freezeMethods(pn);function bc(e,t){const n=this||Ui,r=t||n,o=pn.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 Xg(e){return!!(e&&e.__CANCEL__)}function Ps(e,t,n){Be.call(this,e??"canceled",Be.ERR_CANCELED,t,n),this.name="CanceledError"}J.inherits(Ps,Be,{__CANCEL__:!0});function Jg(e,t,n){const r=n.config.validateStatus;!n.status||!r||r(n.status)?e(n):t(new Be("Request failed with status code "+n.status,[Be.ERR_BAD_REQUEST,Be.ERR_BAD_RESPONSE][Math.floor(n.status/100)-4],n.config,n.request,n))}function XC(e){const t=/^([-+\w]{1,25})(:?\/\/|:)/.exec(e);return t&&t[1]||""}function JC(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 QC(e,t){let n=0,r=1e3/t,o,s;const i=(u,m=Date.now())=>{n=m,o=null,s&&(clearTimeout(s),s=null),e.apply(null,u)};return[(...u)=>{const m=Date.now(),d=m-n;d>=r?i(u,m):(o=u,s||(s=setTimeout(()=>{s=null,i(o)},r-d)))},()=>o&&i(o)]}const el=(e,t,n=3)=>{let r=0;const o=JC(50,250);return QC(s=>{const i=s.loaded,a=s.lengthComputable?s.total:void 0,l=i-r,u=o(l),m=i<=a;r=i;const d={loaded:i,total:a,progress:a?i/a:void 0,bytes:l,rate:u||void 0,estimated:u&&a&&m?(a-i)/u:void 0,event:s,lengthComputable:a!=null,[t?"download":"upload"]:!0};e(d)},n)},mf=(e,t)=>{const n=e!=null;return[r=>t[0]({lengthComputable:n,total:e,loaded:r}),t[1]]},ff=e=>(...t)=>J.asap(()=>e(...t)),ew=Qn.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}}(),tw=Qn.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 nw(e){return/^([a-z][a-z\d+\-.]*:)?\/\//i.test(e)}function rw(e,t){return t?e.replace(/\/?\/$/,"")+"/"+t.replace(/^\/+/,""):e}function Qg(e,t){return e&&!nw(t)?rw(e,t):t}const pf=e=>e instanceof pn?{...e}:e;function Mo(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(pf(u),pf(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 ey=e=>{const t=Mo({},e);let{data:n,withXSRFToken:r,xsrfHeaderName:o,xsrfCookieName:s,headers:i,auth:a}=t;t.headers=i=pn.from(i),t.url=Kg(Qg(t.baseURL,t.url),e.params,e.paramsSerializer),a&&i.set("Authorization","Basic "+btoa((a.username||"")+":"+(a.password?unescape(encodeURIComponent(a.password)):"")));let l;if(J.isFormData(n)){if(Qn.hasStandardBrowserEnv||Qn.hasStandardBrowserWebWorkerEnv)i.setContentType(void 0);else if((l=i.getContentType())!==!1){const[u,...m]=l?l.split(";").map(d=>d.trim()).filter(Boolean):[];i.setContentType([u||"multipart/form-data",...m].join("; "))}}if(Qn.hasStandardBrowserEnv&&(r&&J.isFunction(r)&&(r=r(t)),r||r!==!1&&ew(t.url))){const u=o&&s&&tw.read(s);u&&i.set(o,u)}return t},ow=typeof XMLHttpRequest<"u",sw=ow&&function(e){return new Promise(function(n,r){const o=ey(e);let s=o.data;const i=pn.from(o.headers).normalize();let{responseType:a,onUploadProgress:l,onDownloadProgress:u}=o,m,d,f,p,h;function g(){p&&p(),h&&h(),o.cancelToken&&o.cancelToken.unsubscribe(m),o.signal&&o.signal.removeEventListener("abort",m)}let z=new XMLHttpRequest;z.open(o.method.toUpperCase(),o.url,!0),z.timeout=o.timeout;function k(){if(!z)return;const _=pn.from("getAllResponseHeaders"in z&&z.getAllResponseHeaders()),S={data:!a||a==="text"||a==="json"?z.responseText:z.response,status:z.status,statusText:z.statusText,headers:_,config:e,request:z};Jg(function(L){n(L),g()},function(L){r(L),g()},S),z=null}"onloadend"in z?z.onloadend=k:z.onreadystatechange=function(){!z||z.readyState!==4||z.status===0&&!(z.responseURL&&z.responseURL.indexOf("file:")===0)||setTimeout(k)},z.onabort=function(){z&&(r(new Be("Request aborted",Be.ECONNABORTED,e,z)),z=null)},z.onerror=function(){r(new Be("Network Error",Be.ERR_NETWORK,e,z)),z=null},z.ontimeout=function(){let v=o.timeout?"timeout of "+o.timeout+"ms exceeded":"timeout exceeded";const S=o.transitional||Zg;o.timeoutErrorMessage&&(v=o.timeoutErrorMessage),r(new Be(v,S.clarifyTimeoutError?Be.ETIMEDOUT:Be.ECONNABORTED,e,z)),z=null},s===void 0&&i.setContentType(null),"setRequestHeader"in z&&J.forEach(i.toJSON(),function(v,S){z.setRequestHeader(S,v)}),J.isUndefined(o.withCredentials)||(z.withCredentials=!!o.withCredentials),a&&a!=="json"&&(z.responseType=o.responseType),u&&([f,h]=el(u,!0),z.addEventListener("progress",f)),l&&z.upload&&([d,p]=el(l),z.upload.addEventListener("progress",d),z.upload.addEventListener("loadend",p)),(o.cancelToken||o.signal)&&(m=_=>{z&&(r(!_||_.type?new Ps(null,e,z):_),z.abort(),z=null)},o.cancelToken&&o.cancelToken.subscribe(m),o.signal&&(o.signal.aborted?m():o.signal.addEventListener("abort",m)));const w=XC(o.url);if(w&&Qn.protocols.indexOf(w)===-1){r(new Be("Unsupported protocol "+w+":",Be.ERR_BAD_REQUEST,e));return}z.send(s||null)})},iw=(e,t)=>{let n=new AbortController,r;const o=function(l){if(!r){r=!0,i();const u=l instanceof Error?l:this.reason;n.abort(u instanceof Be?u:new Ps(u instanceof Error?u.message:u))}};let s=t&&setTimeout(()=>{o(new Be(`timeout ${t} of ms exceeded`,Be.ETIMEDOUT))},t);const i=()=>{e&&(s&&clearTimeout(s),s=null,e.forEach(l=>{l&&(l.removeEventListener?l.removeEventListener("abort",o):l.unsubscribe(o))}),e=null)};e.forEach(l=>l&&l.addEventListener&&l.addEventListener("abort",o));const{signal:a}=n;return a.unsubscribe=i,[a,()=>{s&&clearTimeout(s),s=null}]},aw=function*(e,t){let n=e.byteLength;if(n<t){yield e;return}let r=0,o;for(;r<n;)o=r+t,yield e.slice(r,o),r=o},lw=async function*(e,t,n){for await(const r of e)yield*aw(ArrayBuffer.isView(r)?r:await n(String(r)),t)},hf=(e,t,n,r,o)=>{const s=lw(e,t,o);let i=0,a,l=u=>{a||(a=!0,r&&r(u))};return new ReadableStream({async pull(u){try{const{done:m,value:d}=await s.next();if(m){l(),u.close();return}let f=d.byteLength;if(n){let p=i+=f;n(p)}u.enqueue(new Uint8Array(d))}catch(m){throw l(m),m}},cancel(u){return l(u),s.return()}},{highWaterMark:2})},Ul=typeof fetch=="function"&&typeof Request=="function"&&typeof Response=="function",ty=Ul&&typeof ReadableStream=="function",xu=Ul&&(typeof TextEncoder=="function"?(e=>t=>e.encode(t))(new TextEncoder):async e=>new Uint8Array(await new Response(e).arrayBuffer())),ny=(e,...t)=>{try{return!!e(...t)}catch{return!1}},cw=ty&&ny(()=>{let e=!1;const t=new Request(Qn.origin,{body:new ReadableStream,method:"POST",get duplex(){return e=!0,"half"}}).headers.has("Content-Type");return e&&!t}),_f=64*1024,Eu=ty&&ny(()=>J.isReadableStream(new Response("").body)),tl={stream:Eu&&(e=>e.body)};Ul&&(e=>{["text","arrayBuffer","blob","formData","stream"].forEach(t=>{!tl[t]&&(tl[t]=J.isFunction(e[t])?n=>n[t]():(n,r)=>{throw new Be(`Response type '${t}' is not supported`,Be.ERR_NOT_SUPPORT,r)})})})(new Response);const uw=async e=>{if(e==null)return 0;if(J.isBlob(e))return e.size;if(J.isSpecCompliantForm(e))return(await new Request(e).arrayBuffer()).byteLength;if(J.isArrayBufferView(e)||J.isArrayBuffer(e))return e.byteLength;if(J.isURLSearchParams(e)&&(e=e+""),J.isString(e))return(await xu(e)).byteLength},dw=async(e,t)=>{const n=J.toFiniteNumber(e.getContentLength());return n??uw(t)},mw=Ul&&(async e=>{let{url:t,method:n,data:r,signal:o,cancelToken:s,timeout:i,onDownloadProgress:a,onUploadProgress:l,responseType:u,headers:m,withCredentials:d="same-origin",fetchOptions:f}=ey(e);u=u?(u+"").toLowerCase():"text";let[p,h]=o||s||i?iw([o,s],i):[],g,z;const k=()=>{!g&&setTimeout(()=>{p&&p.unsubscribe()}),g=!0};let w;try{if(l&&cw&&n!=="get"&&n!=="head"&&(w=await dw(m,r))!==0){let C=new Request(t,{method:"POST",body:r,duplex:"half"}),L;if(J.isFormData(r)&&(L=C.headers.get("content-type"))&&m.setContentType(L),C.body){const[D,$]=mf(w,el(ff(l)));r=hf(C.body,_f,D,$,xu)}}J.isString(d)||(d=d?"include":"omit"),z=new Request(t,{...f,signal:p,method:n.toUpperCase(),headers:m.normalize().toJSON(),body:r,duplex:"half",credentials:d});let _=await fetch(z);const v=Eu&&(u==="stream"||u==="response");if(Eu&&(a||v)){const C={};["status","statusText","headers"].forEach(F=>{C[F]=_[F]});const L=J.toFiniteNumber(_.headers.get("content-length")),[D,$]=a&&mf(L,el(ff(a),!0))||[];_=new Response(hf(_.body,_f,D,()=>{$&&$(),v&&k()},xu),C)}u=u||"text";let S=await tl[J.findKey(tl,u)||"text"](_,e);return!v&&k(),h&&h(),await new Promise((C,L)=>{Jg(C,L,{data:S,headers:pn.from(_.headers),status:_.status,statusText:_.statusText,config:e,request:z})})}catch(_){throw k(),_&&_.name==="TypeError"&&/fetch/i.test(_.message)?Object.assign(new Be("Network Error",Be.ERR_NETWORK,e,z),{cause:_.cause||_}):Be.from(_,_&&_.code,e,z)}}),$u={http:TC,xhr:sw,fetch:mw};J.forEach($u,(e,t)=>{if(e){try{Object.defineProperty(e,"name",{value:t})}catch{}Object.defineProperty(e,"adapterName",{value:t})}});const gf=e=>`- ${e}`,fw=e=>J.isFunction(e)||e===null||e===!1,ry={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,!fw(n)&&(r=$u[(i=String(n)).toLowerCase()],r===void 0))throw new Be(`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(gf).join(`
`):" "+gf(s[0]):"as no adapter specified";throw new Be("There is no suitable adapter to dispatch the request "+i,"ERR_NOT_SUPPORT")}return r},adapters:$u};function Cc(e){if(e.cancelToken&&e.cancelToken.throwIfRequested(),e.signal&&e.signal.aborted)throw new Ps(null,e)}function yf(e){return Cc(e),e.headers=pn.from(e.headers),e.data=bc.call(e,e.transformRequest),["post","put","patch"].indexOf(e.method)!==-1&&e.headers.setContentType("application/x-www-form-urlencoded",!1),ry.getAdapter(e.adapter||Ui.adapter)(e).then(function(r){return Cc(e),r.data=bc.call(e,e.transformResponse,r),r.headers=pn.from(r.headers),r},function(r){return Xg(r)||(Cc(e),r&&r.response&&(r.response.data=bc.call(e,e.transformResponse,r.response),r.response.headers=pn.from(r.response.headers))),Promise.reject(r)})}const oy="1.7.4",Fd={};["object","boolean","number","function","string","symbol"].forEach((e,t)=>{Fd[e]=function(r){return typeof r===e||"a"+(t<1?"n ":" ")+e}});const zf={};Fd.transitional=function(t,n,r){function o(s,i){return"[Axios v"+oy+"] Transitional option '"+s+"'"+i+(r?". "+r:"")}return(s,i,a)=>{if(t===!1)throw new Be(o(i," has been removed"+(n?" in "+n:"")),Be.ERR_DEPRECATED);return n&&!zf[i]&&(zf[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 pw(e,t,n){if(typeof e!="object")throw new Be("options must be an object",Be.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 Be("option "+s+" must be "+l,Be.ERR_BAD_OPTION_VALUE);continue}if(n!==!0)throw new Be("Unknown option "+s,Be.ERR_BAD_OPTION)}}const Tu={assertOptions:pw,validators:Fd},Mr=Tu.validators;class Io{constructor(t){this.defaults=t,this.interceptors={request:new uf,response:new uf}}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/,""):"";try{r.stack?s&&!String(r.stack).endsWith(s.replace(/^.+\n.+\n/,""))&&(r.stack+=`
`+s):r.stack=s}catch{}}throw r}}_request(t,n){typeof t=="string"?(n=n||{},n.url=t):n=t||{},n=Mo(this.defaults,n);const{transitional:r,paramsSerializer:o,headers:s}=n;r!==void 0&&Tu.assertOptions(r,{silentJSONParsing:Mr.transitional(Mr.boolean),forcedJSONParsing:Mr.transitional(Mr.boolean),clarifyTimeoutError:Mr.transitional(Mr.boolean)},!1),o!=null&&(J.isFunction(o)?n.paramsSerializer={serialize:o}:Tu.assertOptions(o,{encode:Mr.function,serialize:Mr.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=pn.concat(i,s);const a=[];let l=!0;this.interceptors.request.forEach(function(g){typeof g.runWhen=="function"&&g.runWhen(n)===!1||(l=l&&g.synchronous,a.unshift(g.fulfilled,g.rejected))});const u=[];this.interceptors.response.forEach(function(g){u.push(g.fulfilled,g.rejected)});let m,d=0,f;if(!l){const h=[yf.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++],g=a[d++];try{p=h(p)}catch(z){g.call(this,z);break}}try{m=yf.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=Mo(this.defaults,t);const n=Qg(t.baseURL,t.url);return Kg(n,t.params,t.paramsSerializer)}}J.forEach(["delete","get","head","options"],function(t){Io.prototype[t]=function(n,r){return this.request(Mo(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(Mo(a||{},{method:t,headers:r?{"Content-Type":"multipart/form-data"}:{},url:s,data:i}))}}Io.prototype[t]=n(),Io.prototype[t+"Form"]=n(!0)});class Vd{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 Ps(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 Vd(function(o){t=o}),cancel:t}}}function hw(e){return function(n){return e.apply(null,n)}}function _w(e){return J.isObject(e)&&e.isAxiosError===!0}const Au={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(Au).forEach(([e,t])=>{Au[t]=e});function sy(e){const t=new Io(e),n=Dg(Io.prototype.request,t);return J.extend(n,Io.prototype,t,{allOwnKeys:!0}),J.extend(n,t,null,{allOwnKeys:!0}),n.create=function(o){return sy(Mo(e,o))},n}const ue=sy(Ui);ue.Axios=Io;ue.CanceledError=Ps;ue.CancelToken=Vd;ue.isCancel=Xg;ue.VERSION=oy;ue.toFormData=Hl;ue.AxiosError=Be;ue.Cancel=ue.CanceledError;ue.all=function(t){return Promise.all(t)};ue.spread=hw;ue.isAxiosError=_w;ue.mergeConfig=Mo;ue.AxiosHeaders=pn;ue.formToJSON=e=>Yg(J.isHTMLForm(e)?new FormData(e):e);ue.getAdapter=ry.getAdapter;ue.HttpStatusCode=Au;ue.default=ue;/*!
* shared v9.14.2
* (c) 2024 kazuya kawaguchi
* Released under the MIT License.
*/const nl=typeof window<"u",fo=(e,t=!1)=>t?Symbol.for(e):Symbol(e),gw=(e,t,n)=>yw({l:e,k:t,s:n}),yw=e=>JSON.stringify(e).replace(/\u2028/g,"\\u2028").replace(/\u2029/g,"\\u2029").replace(/\u0027/g,"\\u0027"),Nt=e=>typeof e=="number"&&isFinite(e),zw=e=>ay(e)==="[object Date]",rl=e=>ay(e)==="[object RegExp]",jl=e=>Je(e)&&Object.keys(e).length===0,Jt=Object.assign,vw=Object.create,mt=(e=null)=>vw(e);let vf;const Hd=()=>vf||(vf=typeof globalThis<"u"?globalThis:typeof self<"u"?self:typeof window<"u"?window:typeof global<"u"?global:mt());function bf(e){return e.replace(/</g,"&lt;").replace(/>/g,"&gt;").replace(/"/g,"&quot;").replace(/'/g,"&apos;")}const bw=Object.prototype.hasOwnProperty;function Xn(e,t){return bw.call(e,t)}const Ht=Array.isArray,At=e=>typeof e=="function",Ce=e=>typeof e=="string",wt=e=>typeof e=="boolean",rt=e=>e!==null&&typeof e=="object",Cw=e=>rt(e)&&At(e.then)&&At(e.catch),iy=Object.prototype.toString,ay=e=>iy.call(e),Je=e=>{if(!rt(e))return!1;const t=Object.getPrototypeOf(e);return t===null||t.constructor===Object},ww=e=>e==null?"":Ht(e)||Je(e)&&e.toString===iy?JSON.stringify(e,null,2):String(e);function kw(e,t=""){return e.reduce((n,r,o)=>o===0?n+r:n+t+r,"")}function Bl(e){let t=e;return()=>++t}function Sw(e,t){typeof console<"u"&&(console.warn("[intlify] "+e),t&&console.warn(t.stack))}const ca=e=>!rt(e)||Ht(e);function Pa(e,t){if(ca(e)||ca(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=>{s!=="__proto__"&&(rt(r[s])&&!rt(o[s])&&(o[s]=Array.isArray(r[s])?[]:mt()),ca(o[s])||ca(r[s])?o[s]=r[s]:n.push({src:r[s],des:o[s]}))})}}/*!
* message-compiler v9.14.2
* (c) 2024 kazuya kawaguchi
* Released under the MIT License.
*/function xw(e,t,n){return{line:e,column:t,offset:n}}function ol(e,t,n){return{start:e,end:t}}const Ew=/\{([0-9a-zA-Z]+)\}/g;function ly(e,...t){return t.length===1&&$w(t[0])&&(t=t[0]),(!t||!t.hasOwnProperty)&&(t={}),e.replace(Ew,(n,r)=>t.hasOwnProperty(r)?t[r]:"")}const cy=Object.assign,Cf=e=>typeof e=="string",$w=e=>e!==null&&typeof e=="object";function uy(e,t=""){return e.reduce((n,r,o)=>o===0?n+r:n+t+r,"")}const Ud={USE_MODULO_SYNTAX:1,__EXTEND_POINT__:2},Tw={[Ud.USE_MODULO_SYNTAX]:"Use modulo before '{{0}}'."};function Aw(e,t,...n){const r=ly(Tw[e],...n||[]),o={message:String(r),code:e};return t&&(o.location=t),o}const Le={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},Ow={[Le.EXPECTED_TOKEN]:"Expected token: '{0}'",[Le.INVALID_TOKEN_IN_PLACEHOLDER]:"Invalid token in placeholder: '{0}'",[Le.UNTERMINATED_SINGLE_QUOTE_IN_PLACEHOLDER]:"Unterminated single quote in placeholder",[Le.UNKNOWN_ESCAPE_SEQUENCE]:"Unknown escape sequence: \\{0}",[Le.INVALID_UNICODE_ESCAPE_SEQUENCE]:"Invalid unicode escape sequence: {0}",[Le.UNBALANCED_CLOSING_BRACE]:"Unbalanced closing brace",[Le.UNTERMINATED_CLOSING_BRACE]:"Unterminated closing brace",[Le.EMPTY_PLACEHOLDER]:"Empty placeholder",[Le.NOT_ALLOW_NEST_PLACEHOLDER]:"Not allowed nest placeholder",[Le.INVALID_LINKED_FORMAT]:"Invalid linked format",[Le.MUST_HAVE_MESSAGES_IN_PLURAL]:"Plural must have messages",[Le.UNEXPECTED_EMPTY_LINKED_MODIFIER]:"Unexpected empty linked modifier",[Le.UNEXPECTED_EMPTY_LINKED_KEY]:"Unexpected empty linked key",[Le.UNEXPECTED_LEXICAL_ANALYSIS]:"Unexpected lexical analysis in token: '{0}'",[Le.UNHANDLED_CODEGEN_NODE_TYPE]:"unhandled codegen node type: '{0}'",[Le.UNHANDLED_MINIFIER_NODE_TYPE]:"unhandled mimifier node type: '{0}'"};function Is(e,t,n={}){const{domain:r,messages:o,args:s}=n,i=ly((o||Ow)[e]||"",...s||[]),a=new SyntaxError(String(i));return a.code=e,t&&(a.location=t),a.domain=r,a}function Pw(e){throw e}const zr=" ",Iw="\r",tn=`
`,Lw="\u2028",Nw="\u2029";function Dw(e){const t=e;let n=0,r=1,o=1,s=0;const i=L=>t[L]===Iw&&t[L+1]===tn,a=L=>t[L]===tn,l=L=>t[L]===Nw,u=L=>t[L]===Lw,m=L=>i(L)||a(L)||l(L)||u(L),d=()=>n,f=()=>r,p=()=>o,h=()=>s,g=L=>i(L)||l(L)||u(L)?tn:t[L],z=()=>g(n),k=()=>g(n+s);function w(){return s=0,m(n)&&(r++,o=0),i(n)&&n++,n++,o++,t[n]}function _(){return i(n+s)&&s++,s++,t[n+s]}function v(){n=0,r=1,o=1,s=0}function S(L=0){s=L}function C(){const L=n+s;for(;L!==n;)w();s=0}return{index:d,line:f,column:p,peekOffset:h,charAt:g,currentChar:z,currentPeek:k,next:w,peek:_,reset:v,resetPeek:S,skipToPeek:C}}const Fr=void 0,Rw=".",wf="'",Mw="tokenizer";function Fw(e,t={}){const n=t.location!==!1,r=Dw(e),o=()=>r.index(),s=()=>xw(r.line(),r.column(),r.index()),i=s(),a=o(),l={currentType:14,offset:a,startLoc:i,endLoc:i,lastType:14,lastOffset:a,lastStartLoc:i,lastEndLoc:i,braceNest:0,inLinked:!1,text:""},u=()=>l,{onError:m}=t;function d(E,T,R,...Q){const de=u();if(T.column+=R,T.offset+=R,m){const se=n?ol(de.startLoc,T):null,H=Is(E,se,{domain:Mw,args:Q});m(H)}}function f(E,T,R){E.endLoc=s(),E.currentType=T;const Q={type:T};return n&&(Q.loc=ol(E.startLoc,E.endLoc)),R!=null&&(Q.value=R),Q}const p=E=>f(E,14);function h(E,T){return E.currentChar()===T?(E.next(),T):(d(Le.EXPECTED_TOKEN,s(),0,T),"")}function g(E){let T="";for(;E.currentPeek()===zr||E.currentPeek()===tn;)T+=E.currentPeek(),E.peek();return T}function z(E){const T=g(E);return E.skipToPeek(),T}function k(E){if(E===Fr)return!1;const T=E.charCodeAt(0);return T>=97&&T<=122||T>=65&&T<=90||T===95}function w(E){if(E===Fr)return!1;const T=E.charCodeAt(0);return T>=48&&T<=57}function _(E,T){const{currentType:R}=T;if(R!==2)return!1;g(E);const Q=k(E.currentPeek());return E.resetPeek(),Q}function v(E,T){const{currentType:R}=T;if(R!==2)return!1;g(E);const Q=E.currentPeek()==="-"?E.peek():E.currentPeek(),de=w(Q);return E.resetPeek(),de}function S(E,T){const{currentType:R}=T;if(R!==2)return!1;g(E);const Q=E.currentPeek()===wf;return E.resetPeek(),Q}function C(E,T){const{currentType:R}=T;if(R!==8)return!1;g(E);const Q=E.currentPeek()===".";return E.resetPeek(),Q}function L(E,T){const{currentType:R}=T;if(R!==9)return!1;g(E);const Q=k(E.currentPeek());return E.resetPeek(),Q}function D(E,T){const{currentType:R}=T;if(!(R===8||R===12))return!1;g(E);const Q=E.currentPeek()===":";return E.resetPeek(),Q}function $(E,T){const{currentType:R}=T;if(R!==10)return!1;const Q=()=>{const se=E.currentPeek();return se==="{"?k(E.peek()):se==="@"||se==="%"||se==="|"||se===":"||se==="."||se===zr||!se?!1:se===tn?(E.peek(),Q()):U(E,!1)},de=Q();return E.resetPeek(),de}function F(E){g(E);const T=E.currentPeek()==="|";return E.resetPeek(),T}function q(E){const T=g(E),R=E.currentPeek()==="%"&&E.peek()==="{";return E.resetPeek(),{isModulo:R,hasSpace:T.length>0}}function U(E,T=!0){const R=(de=!1,se="",H=!1)=>{const Z=E.currentPeek();return Z==="{"?se==="%"?!1:de:Z==="@"||!Z?se==="%"?!0:de:Z==="%"?(E.peek(),R(de,"%",!0)):Z==="|"?se==="%"||H?!0:!(se===zr||se===tn):Z===zr?(E.peek(),R(!0,zr,H)):Z===tn?(E.peek(),R(!0,tn,H)):!0},Q=R();return T&&E.resetPeek(),Q}function W(E,T){const R=E.currentChar();return R===Fr?Fr:T(R)?(E.next(),R):null}function ne(E){const T=E.charCodeAt(0);return T>=97&&T<=122||T>=65&&T<=90||T>=48&&T<=57||T===95||T===36}function me(E){return W(E,ne)}function K(E){const T=E.charCodeAt(0);return T>=97&&T<=122||T>=65&&T<=90||T>=48&&T<=57||T===95||T===36||T===45}function re(E){return W(E,K)}function ce(E){const T=E.charCodeAt(0);return T>=48&&T<=57}function Ne(E){return W(E,ce)}function it(E){const T=E.charCodeAt(0);return T>=48&&T<=57||T>=65&&T<=70||T>=97&&T<=102}function Ve(E){return W(E,it)}function He(E){let T="",R="";for(;T=Ne(E);)R+=T;return R}function at(E){z(E);const T=E.currentChar();return T!=="%"&&d(Le.EXPECTED_TOKEN,s(),0,T),E.next(),"%"}function lt(E){let T="";for(;;){const R=E.currentChar();if(R==="{"||R==="}"||R==="@"||R==="|"||!R)break;if(R==="%")if(U(E))T+=R,E.next();else break;else if(R===zr||R===tn)if(U(E))T+=R,E.next();else{if(F(E))break;T+=R,E.next()}else T+=R,E.next()}return T}function ut(E){z(E);let T="",R="";for(;T=re(E);)R+=T;return E.currentChar()===Fr&&d(Le.UNTERMINATED_CLOSING_BRACE,s(),0),R}function We(E){z(E);let T="";return E.currentChar()==="-"?(E.next(),T+=`-${He(E)}`):T+=He(E),E.currentChar()===Fr&&d(Le.UNTERMINATED_CLOSING_BRACE,s(),0),T}function Y(E){return E!==wf&&E!==tn}function fe(E){z(E),h(E,"'");let T="",R="";for(;T=W(E,Y);)T==="\\"?R+=le(E):R+=T;const Q=E.currentChar();return Q===tn||Q===Fr?(d(Le.UNTERMINATED_SINGLE_QUOTE_IN_PLACEHOLDER,s(),0),Q===tn&&(E.next(),h(E,"'")),R):(h(E,"'"),R)}function le(E){const T=E.currentChar();switch(T){case"\\":case"'":return E.next(),`\\${T}`;case"u":return ge(E,T,4);case"U":return ge(E,T,6);default:return d(Le.UNKNOWN_ESCAPE_SEQUENCE,s(),0,T),""}}function ge(E,T,R){h(E,T);let Q="";for(let de=0;de<R;de++){const se=Ve(E);if(!se){d(Le.INVALID_UNICODE_ESCAPE_SEQUENCE,s(),0,`\\${T}${Q}${E.currentChar()}`);break}Q+=se}return`\\${T}${Q}`}function Ue(E){return E!=="{"&&E!=="}"&&E!==zr&&E!==tn}function Ge(E){z(E);let T="",R="";for(;T=W(E,Ue);)R+=T;return R}function A(E){let T="",R="";for(;T=me(E);)R+=T;return R}function P(E){const T=R=>{const Q=E.currentChar();return Q==="{"||Q==="%"||Q==="@"||Q==="|"||Q==="("||Q===")"||!Q||Q===zr?R:(R+=Q,E.next(),T(R))};return T("")}function j(E){z(E);const T=h(E,"|");return z(E),T}function te(E,T){let R=null;switch(E.currentChar()){case"{":return T.braceNest>=1&&d(Le.NOT_ALLOW_NEST_PLACEHOLDER,s(),0),E.next(),R=f(T,2,"{"),z(E),T.braceNest++,R;case"}":return T.braceNest>0&&T.currentType===2&&d(Le.EMPTY_PLACEHOLDER,s(),0),E.next(),R=f(T,3,"}"),T.braceNest--,T.braceNest>0&&z(E),T.inLinked&&T.braceNest===0&&(T.inLinked=!1),R;case"@":return T.braceNest>0&&d(Le.UNTERMINATED_CLOSING_BRACE,s(),0),R=X(E,T)||p(T),T.braceNest=0,R;default:{let de=!0,se=!0,H=!0;if(F(E))return T.braceNest>0&&d(Le.UNTERMINATED_CLOSING_BRACE,s(),0),R=f(T,1,j(E)),T.braceNest=0,T.inLinked=!1,R;if(T.braceNest>0&&(T.currentType===5||T.currentType===6||T.currentType===7))return d(Le.UNTERMINATED_CLOSING_BRACE,s(),0),T.braceNest=0,ie(E,T);if(de=_(E,T))return R=f(T,5,ut(E)),z(E),R;if(se=v(E,T))return R=f(T,6,We(E)),z(E),R;if(H=S(E,T))return R=f(T,7,fe(E)),z(E),R;if(!de&&!se&&!H)return R=f(T,13,Ge(E)),d(Le.INVALID_TOKEN_IN_PLACEHOLDER,s(),0,R.value),z(E),R;break}}return R}function X(E,T){const{currentType:R}=T;let Q=null;const de=E.currentChar();switch((R===8||R===9||R===12||R===10)&&(de===tn||de===zr)&&d(Le.INVALID_LINKED_FORMAT,s(),0),de){case"@":return E.next(),Q=f(T,8,"@"),T.inLinked=!0,Q;case".":return z(E),E.next(),f(T,9,".");case":":return z(E),E.next(),f(T,10,":");default:return F(E)?(Q=f(T,1,j(E)),T.braceNest=0,T.inLinked=!1,Q):C(E,T)||D(E,T)?(z(E),X(E,T)):L(E,T)?(z(E),f(T,12,A(E))):$(E,T)?(z(E),de==="{"?te(E,T)||Q:f(T,11,P(E))):(R===8&&d(Le.INVALID_LINKED_FORMAT,s(),0),T.braceNest=0,T.inLinked=!1,ie(E,T))}}function ie(E,T){let R={type:14};if(T.braceNest>0)return te(E,T)||p(T);if(T.inLinked)return X(E,T)||p(T);switch(E.currentChar()){case"{":return te(E,T)||p(T);case"}":return d(Le.UNBALANCED_CLOSING_BRACE,s(),0),E.next(),f(T,3,"}");case"@":return X(E,T)||p(T);default:{if(F(E))return R=f(T,1,j(E)),T.braceNest=0,T.inLinked=!1,R;const{isModulo:de,hasSpace:se}=q(E);if(de)return se?f(T,0,lt(E)):f(T,4,at(E));if(U(E))return f(T,0,lt(E));break}}return R}function pe(){const{currentType:E,offset:T,startLoc:R,endLoc:Q}=l;return l.lastType=E,l.lastOffset=T,l.lastStartLoc=R,l.lastEndLoc=Q,l.offset=o(),l.startLoc=s(),r.currentChar()===Fr?f(l,14):ie(r,l)}return{nextToken:pe,currentOffset:o,currentPosition:s,context:u}}const Vw="parser",Hw=/(?:\\\\|\\'|\\u([0-9a-fA-F]{4})|\\U([0-9a-fA-F]{6}))/g;function Uw(e,t,n){switch(e){case"\\\\":return"\\";case"\\'":return"'";default:{const r=parseInt(t||n,16);return r<=55295||r>=57344?String.fromCodePoint(r):"<22>"}}}function jw(e={}){const t=e.location!==!1,{onError:n,onWarn:r}=e;function o(_,v,S,C,...L){const D=_.currentPosition();if(D.offset+=C,D.column+=C,n){const $=t?ol(S,D):null,F=Is(v,$,{domain:Vw,args:L});n(F)}}function s(_,v,S,C,...L){const D=_.currentPosition();if(D.offset+=C,D.column+=C,r){const $=t?ol(S,D):null;r(Aw(v,$,L))}}function i(_,v,S){const C={type:_};return t&&(C.start=v,C.end=v,C.loc={start:S,end:S}),C}function a(_,v,S,C){t&&(_.end=v,_.loc&&(_.loc.end=S))}function l(_,v){const S=_.context(),C=i(3,S.offset,S.startLoc);return C.value=v,a(C,_.currentOffset(),_.currentPosition()),C}function u(_,v){const S=_.context(),{lastOffset:C,lastStartLoc:L}=S,D=i(5,C,L);return D.index=parseInt(v,10),_.nextToken(),a(D,_.currentOffset(),_.currentPosition()),D}function m(_,v,S){const C=_.context(),{lastOffset:L,lastStartLoc:D}=C,$=i(4,L,D);return $.key=v,S===!0&&($.modulo=!0),_.nextToken(),a($,_.currentOffset(),_.currentPosition()),$}function d(_,v){const S=_.context(),{lastOffset:C,lastStartLoc:L}=S,D=i(9,C,L);return D.value=v.replace(Hw,Uw),_.nextToken(),a(D,_.currentOffset(),_.currentPosition()),D}function f(_){const v=_.nextToken(),S=_.context(),{lastOffset:C,lastStartLoc:L}=S,D=i(8,C,L);return v.type!==12?(o(_,Le.UNEXPECTED_EMPTY_LINKED_MODIFIER,S.lastStartLoc,0),D.value="",a(D,C,L),{nextConsumeToken:v,node:D}):(v.value==null&&o(_,Le.UNEXPECTED_LEXICAL_ANALYSIS,S.lastStartLoc,0,Bn(v)),D.value=v.value||"",a(D,_.currentOffset(),_.currentPosition()),{node:D})}function p(_,v){const S=_.context(),C=i(7,S.offset,S.startLoc);return C.value=v,a(C,_.currentOffset(),_.currentPosition()),C}function h(_){const v=_.context(),S=i(6,v.offset,v.startLoc);let C=_.nextToken();if(C.type===9){const L=f(_);S.modifier=L.node,C=L.nextConsumeToken||_.nextToken()}switch(C.type!==10&&o(_,Le.UNEXPECTED_LEXICAL_ANALYSIS,v.lastStartLoc,0,Bn(C)),C=_.nextToken(),C.type===2&&(C=_.nextToken()),C.type){case 11:C.value==null&&o(_,Le.UNEXPECTED_LEXICAL_ANALYSIS,v.lastStartLoc,0,Bn(C)),S.key=p(_,C.value||"");break;case 5:C.value==null&&o(_,Le.UNEXPECTED_LEXICAL_ANALYSIS,v.lastStartLoc,0,Bn(C)),S.key=m(_,C.value||"");break;case 6:C.value==null&&o(_,Le.UNEXPECTED_LEXICAL_ANALYSIS,v.lastStartLoc,0,Bn(C)),S.key=u(_,C.value||"");break;case 7:C.value==null&&o(_,Le.UNEXPECTED_LEXICAL_ANALYSIS,v.lastStartLoc,0,Bn(C)),S.key=d(_,C.value||"");break;default:{o(_,Le.UNEXPECTED_EMPTY_LINKED_KEY,v.lastStartLoc,0);const L=_.context(),D=i(7,L.offset,L.startLoc);return D.value="",a(D,L.offset,L.startLoc),S.key=D,a(S,L.offset,L.startLoc),{nextConsumeToken:C,node:S}}}return a(S,_.currentOffset(),_.currentPosition()),{node:S}}function g(_){const v=_.context(),S=v.currentType===1?_.currentOffset():v.offset,C=v.currentType===1?v.endLoc:v.startLoc,L=i(2,S,C);L.items=[];let D=null,$=null;do{const U=D||_.nextToken();switch(D=null,U.type){case 0:U.value==null&&o(_,Le.UNEXPECTED_LEXICAL_ANALYSIS,v.lastStartLoc,0,Bn(U)),L.items.push(l(_,U.value||""));break;case 6:U.value==null&&o(_,Le.UNEXPECTED_LEXICAL_ANALYSIS,v.lastStartLoc,0,Bn(U)),L.items.push(u(_,U.value||""));break;case 4:$=!0;break;case 5:U.value==null&&o(_,Le.UNEXPECTED_LEXICAL_ANALYSIS,v.lastStartLoc,0,Bn(U)),L.items.push(m(_,U.value||"",!!$)),$&&(s(_,Ud.USE_MODULO_SYNTAX,v.lastStartLoc,0,Bn(U)),$=null);break;case 7:U.value==null&&o(_,Le.UNEXPECTED_LEXICAL_ANALYSIS,v.lastStartLoc,0,Bn(U)),L.items.push(d(_,U.value||""));break;case 8:{const W=h(_);L.items.push(W.node),D=W.nextConsumeToken||null;break}}}while(v.currentType!==14&&v.currentType!==1);const F=v.currentType===1?v.lastOffset:_.currentOffset(),q=v.currentType===1?v.lastEndLoc:_.currentPosition();return a(L,F,q),L}function z(_,v,S,C){const L=_.context();let D=C.items.length===0;const $=i(1,v,S);$.cases=[],$.cases.push(C);do{const F=g(_);D||(D=F.items.length===0),$.cases.push(F)}while(L.currentType!==14);return D&&o(_,Le.MUST_HAVE_MESSAGES_IN_PLURAL,S,0),a($,_.currentOffset(),_.currentPosition()),$}function k(_){const v=_.context(),{offset:S,startLoc:C}=v,L=g(_);return v.currentType===14?L:z(_,S,C,L)}function w(_){const v=Fw(_,cy({},e)),S=v.context(),C=i(0,S.offset,S.startLoc);return t&&C.loc&&(C.loc.source=_),C.body=k(v),e.onCacheKey&&(C.cacheKey=e.onCacheKey(_)),S.currentType!==14&&o(v,Le.UNEXPECTED_LEXICAL_ANALYSIS,S.lastStartLoc,0,_[S.offset]||""),a(C,v.currentOffset(),v.currentPosition()),C}return{parse:w}}function Bn(e){if(e.type===14)return"EOF";const t=(e.value||"").replace(/\r?\n/gu,"\\n");return t.length>10?t.slice(0,9)+"…":t}function Bw(e,t={}){const n={ast:e,helpers:new Set};return{context:()=>n,helper:s=>(n.helpers.add(s),s)}}function kf(e,t){for(let n=0;n<e.length;n++)jd(e[n],t)}function jd(e,t){switch(e.type){case 1:kf(e.cases,t),t.helper("plural");break;case 2:kf(e.items,t);break;case 6:{jd(e.key,t),t.helper("linked"),t.helper("type");break}case 5:t.helper("interpolate"),t.helper("list");break;case 4:t.helper("interpolate"),t.helper("named");break}}function Ww(e,t={}){const n=Bw(e);n.helper("normalize"),e.body&&jd(e.body,n);const r=n.context();e.helpers=Array.from(r.helpers)}function qw(e){const t=e.body;return t.type===2?Sf(t):t.cases.forEach(n=>Sf(n)),e}function Sf(e){if(e.items.length===1){const t=e.items[0];(t.type===3||t.type===9)&&(e.static=t.value,delete t.value)}else{const t=[];for(let n=0;n<e.items.length;n++){const r=e.items[n];if(!(r.type===3||r.type===9)||r.value==null)break;t.push(r.value)}if(t.length===e.items.length){e.static=uy(t);for(let n=0;n<e.items.length;n++){const r=e.items[n];(r.type===3||r.type===9)&&delete r.value}}}}const Gw="minifier";function ts(e){switch(e.t=e.type,e.type){case 0:{const t=e;ts(t.body),t.b=t.body,delete t.body;break}case 1:{const t=e,n=t.cases;for(let r=0;r<n.length;r++)ts(n[r]);t.c=n,delete t.cases;break}case 2:{const t=e,n=t.items;for(let r=0;r<n.length;r++)ts(n[r]);t.i=n,delete t.items,t.static&&(t.s=t.static,delete t.static);break}case 3:case 9:case 8:case 7:{const t=e;t.value&&(t.v=t.value,delete t.value);break}case 6:{const t=e;ts(t.key),t.k=t.key,delete t.key,t.modifier&&(ts(t.modifier),t.m=t.modifier,delete t.modifier);break}case 5:{const t=e;t.i=t.index,delete t.index;break}case 4:{const t=e;t.k=t.key,delete t.key;break}default:throw Is(Le.UNHANDLED_MINIFIER_NODE_TYPE,null,{domain:Gw,args:[e.type]})}delete e.type}const Kw="parser";function Zw(e,t){const{sourceMap:n,filename:r,breakLineCode:o,needIndent:s}=t,i=t.location!==!1,a={filename:r,code:"",column:1,line:1,offset:0,map:void 0,breakLineCode:o,needIndent:s,indentLevel:0};i&&e.loc&&(a.source=e.loc.source);const l=()=>a;function u(z,k){a.code+=z}function m(z,k=!0){const w=k?o:"";u(s?w+" ".repeat(z):w)}function d(z=!0){const k=++a.indentLevel;z&&m(k)}function f(z=!0){const k=--a.indentLevel;z&&m(k)}function p(){m(a.indentLevel)}return{context:l,push:u,indent:d,deindent:f,newline:p,helper:z=>`_${z}`,needIndent:()=>a.needIndent}}function Yw(e,t){const{helper:n}=e;e.push(`${n("linked")}(`),Cs(e,t.key),t.modifier?(e.push(", "),Cs(e,t.modifier),e.push(", _type")):e.push(", undefined, _type"),e.push(")")}function Xw(e,t){const{helper:n,needIndent:r}=e;e.push(`${n("normalize")}([`),e.indent(r());const o=t.items.length;for(let s=0;s<o&&(Cs(e,t.items[s]),s!==o-1);s++)e.push(", ");e.deindent(r()),e.push("])")}function Jw(e,t){const{helper:n,needIndent:r}=e;if(t.cases.length>1){e.push(`${n("plural")}([`),e.indent(r());const o=t.cases.length;for(let s=0;s<o&&(Cs(e,t.cases[s]),s!==o-1);s++)e.push(", ");e.deindent(r()),e.push("])")}}function Qw(e,t){t.body?Cs(e,t.body):e.push("null")}function Cs(e,t){const{helper:n}=e;switch(t.type){case 0:Qw(e,t);break;case 1:Jw(e,t);break;case 2:Xw(e,t);break;case 6:Yw(e,t);break;case 8:e.push(JSON.stringify(t.value),t);break;case 7:e.push(JSON.stringify(t.value),t);break;case 5:e.push(`${n("interpolate")}(${n("list")}(${t.index}))`,t);break;case 4:e.push(`${n("interpolate")}(${n("named")}(${JSON.stringify(t.key)}))`,t);break;case 9:e.push(JSON.stringify(t.value),t);break;case 3:e.push(JSON.stringify(t.value),t);break;default:throw Is(Le.UNHANDLED_CODEGEN_NODE_TYPE,null,{domain:Kw,args:[t.type]})}}const ek=(e,t={})=>{const n=Cf(t.mode)?t.mode:"normal",r=Cf(t.filename)?t.filename:"message.intl",o=!!t.sourceMap,s=t.breakLineCode!=null?t.breakLineCode:n==="arrow"?";":`
`,i=t.needIndent?t.needIndent:n!=="arrow",a=e.helpers||[],l=Zw(e,{mode:n,filename:r,sourceMap:o,breakLineCode:s,needIndent:i});l.push(n==="normal"?"function __msg__ (ctx) {":"(ctx) => {"),l.indent(i),a.length>0&&(l.push(`const { ${uy(a.map(d=>`${d}: _${d}`),", ")} } = ctx`),l.newline()),l.push("return "),Cs(l,e),l.deindent(i),l.push("}"),delete e.helpers;const{code:u,map:m}=l.context();return{ast:e,code:u,map:m?m.toJSON():void 0}};function tk(e,t={}){const n=cy({},t),r=!!n.jit,o=!!n.minify,s=n.optimize==null?!0:n.optimize,a=jw(n).parse(e);return r?(s&&qw(a),o&&ts(a),{ast:a,code:""}):(Ww(a,n),ek(a,n))}/*!
* core-base v9.14.2
* (c) 2024 kazuya kawaguchi
* Released under the MIT License.
*/function nk(){typeof __INTLIFY_PROD_DEVTOOLS__!="boolean"&&(Hd().__INTLIFY_PROD_DEVTOOLS__=!1)}const po=[];po[0]={w:[0],i:[3,0],"[":[4],o:[7]};po[1]={w:[1],".":[2],"[":[4],o:[7]};po[2]={w:[2],i:[3,0],0:[3,0]};po[3]={i:[3,0],0:[3,0],w:[1,1],".":[2,1],"[":[4,1],o:[7,1]};po[4]={"'":[5,0],'"':[6,0],"[":[4,2],"]":[1,3],o:8,l:[4,0]};po[5]={"'":[4,0],o:8,l:[5,0]};po[6]={'"':[4,0],o:8,l:[6,0]};const rk=/^\s?(?:true|false|-?[\d.]+|'[^']*'|"[^"]*")\s?$/;function ok(e){return rk.test(e)}function sk(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 ik(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 ak(e){const t=e.trim();return e.charAt(0)==="0"&&isNaN(parseInt(e))?!1:ok(t)?sk(t):"*"+t}function lk(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=ak(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=ik(s),d=po[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 xf=new Map;function ck(e,t){return rt(e)?e[t]:null}function uk(e,t){if(!rt(e))return null;let n=xf.get(t);if(n||(n=lk(t),n&&xf.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||At(o))return null;o=i,s++}return o}const dk=e=>e,mk=e=>"",fk="text",pk=e=>e.length===0?"":kw(e),hk=ww;function Ef(e,t){return e=Math.abs(e),t===2?e?e>1?1:0:1:e?Math.min(e,2):0}function _k(e){const t=Nt(e.pluralIndex)?e.pluralIndex:-1;return e.named&&(Nt(e.named.count)||Nt(e.named.n))?Nt(e.named.count)?e.named.count:Nt(e.named.n)?e.named.n:t:t}function gk(e,t){t.count||(t.count=e),t.n||(t.n=e)}function yk(e={}){const t=e.locale,n=_k(e),r=rt(e.pluralRules)&&Ce(t)&&At(e.pluralRules[t])?e.pluralRules[t]:Ef,o=rt(e.pluralRules)&&Ce(t)&&At(e.pluralRules[t])?Ef:void 0,s=k=>k[r(n,k.length,o)],i=e.list||[],a=k=>i[k],l=e.named||mt();Nt(e.pluralIndex)&&gk(n,l);const u=k=>l[k];function m(k){const w=At(e.messages)?e.messages(k):rt(e.messages)?e.messages[k]:!1;return w||(e.parent?e.parent.message(k):mk)}const d=k=>e.modifiers?e.modifiers[k]:dk,f=Je(e.processor)&&At(e.processor.normalize)?e.processor.normalize:pk,p=Je(e.processor)&&At(e.processor.interpolate)?e.processor.interpolate:hk,h=Je(e.processor)&&Ce(e.processor.type)?e.processor.type:fk,z={list:a,named:u,plural:s,linked:(k,...w)=>{const[_,v]=w;let S="text",C="";w.length===1?rt(_)?(C=_.modifier||C,S=_.type||S):Ce(_)&&(C=_||C):w.length===2&&(Ce(_)&&(C=_||C),Ce(v)&&(S=v||S));const L=m(k)(z),D=S==="vnode"&&Ht(L)&&C?L[0]:L;return C?d(C)(D,S):D},message:m,type:h,interpolate:p,normalize:f,values:Jt(mt(),i,l)};return z}let Ei=null;function zk(e){Ei=e}function vk(e,t,n){Ei&&Ei.emit("i18n:init",{timestamp:Date.now(),i18n:e,version:t,meta:n})}const bk=Ck("function:translate");function Ck(e){return t=>Ei&&Ei.emit(e,t)}const dy=Ud.__EXTEND_POINT__,yo=Bl(dy),wk={NOT_FOUND_KEY:dy,FALLBACK_TO_TRANSLATE:yo(),CANNOT_FORMAT_NUMBER:yo(),FALLBACK_TO_NUMBER_FORMAT:yo(),CANNOT_FORMAT_DATE:yo(),FALLBACK_TO_DATE_FORMAT:yo(),EXPERIMENTAL_CUSTOM_MESSAGE_COMPILER:yo(),__EXTEND_POINT__:yo()},my=Le.__EXTEND_POINT__,zo=Bl(my),fr={INVALID_ARGUMENT:my,INVALID_DATE_ARGUMENT:zo(),INVALID_ISO_DATE_ARGUMENT:zo(),NOT_SUPPORT_NON_STRING_MESSAGE:zo(),NOT_SUPPORT_LOCALE_PROMISE_VALUE:zo(),NOT_SUPPORT_LOCALE_ASYNC_FUNCTION:zo(),NOT_SUPPORT_LOCALE_TYPE:zo(),__EXTEND_POINT__:zo()};function Sr(e){return Is(e,null,void 0)}function Bd(e,t){return t.locale!=null?$f(t.locale):$f(e.locale)}let wc;function $f(e){if(Ce(e))return e;if(At(e)){if(e.resolvedOnce&&wc!=null)return wc;if(e.constructor.name==="Function"){const t=e();if(Cw(t))throw Sr(fr.NOT_SUPPORT_LOCALE_PROMISE_VALUE);return wc=t}else throw Sr(fr.NOT_SUPPORT_LOCALE_ASYNC_FUNCTION)}else throw Sr(fr.NOT_SUPPORT_LOCALE_TYPE)}function kk(e,t,n){return[...new Set([n,...Ht(t)?t:rt(t)?Object.keys(t):Ce(t)?[t]:[n]])]}function fy(e,t,n){const r=Ce(n)?n:sl,o=e;o.__localeChainCache||(o.__localeChainCache=new Map);let s=o.__localeChainCache.get(r);if(!s){s=[];let i=[n];for(;Ht(i);)i=Tf(s,i,t);const a=Ht(t)||!Je(t)?t:t.default?t.default:null;i=Ce(a)?[a]:a,Ht(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&&wt(r);o++){const s=t[o];Ce(s)&&(r=Sk(e,t[o],n))}return r}function Sk(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),(Ht(n)||Je(n))&&n[o]&&(r=n[o])}return r}const Ek="9.14.2",Wl=-1,sl="en-US",Af="",Of=e=>`${e.charAt(0).toLocaleUpperCase()}${e.substr(1)}`;function $k(){return{upper:(e,t)=>t==="text"&&Ce(e)?e.toUpperCase():t==="vnode"&&rt(e)&&"__v_isVNode"in e?e.children.toUpperCase():e,lower:(e,t)=>t==="text"&&Ce(e)?e.toLowerCase():t==="vnode"&&rt(e)&&"__v_isVNode"in e?e.children.toLowerCase():e,capitalize:(e,t)=>t==="text"&&Ce(e)?Of(e):t==="vnode"&&rt(e)&&"__v_isVNode"in e?Of(e.children):e}}let py;function Tk(e){py=e}let hy;function Ak(e){hy=e}let _y;function Ok(e){_y=e}let gy=null;const Pk=e=>{gy=e},Ik=()=>gy;let yy=null;const Pf=e=>{yy=e},Lk=()=>yy;let If=0;function Nk(e={}){const t=At(e.onWarn)?e.onWarn:Sw,n=Ce(e.version)?e.version:Ek,r=Ce(e.locale)||At(e.locale)?e.locale:sl,o=At(r)?sl:r,s=Ht(e.fallbackLocale)||Je(e.fallbackLocale)||Ce(e.fallbackLocale)||e.fallbackLocale===!1?e.fallbackLocale:o,i=Je(e.messages)?e.messages:kc(o),a=Je(e.datetimeFormats)?e.datetimeFormats:kc(o),l=Je(e.numberFormats)?e.numberFormats:kc(o),u=Jt(mt(),e.modifiers,$k()),m=e.pluralRules||mt(),d=At(e.missing)?e.missing:null,f=wt(e.missingWarn)||rl(e.missingWarn)?e.missingWarn:!0,p=wt(e.fallbackWarn)||rl(e.fallbackWarn)?e.fallbackWarn:!0,h=!!e.fallbackFormat,g=!!e.unresolving,z=At(e.postTranslation)?e.postTranslation:null,k=Je(e.processor)?e.processor:null,w=wt(e.warnHtmlMessage)?e.warnHtmlMessage:!0,_=!!e.escapeParameter,v=At(e.messageCompiler)?e.messageCompiler:py,S=At(e.messageResolver)?e.messageResolver:hy||ck,C=At(e.localeFallbacker)?e.localeFallbacker:_y||kk,L=rt(e.fallbackContext)?e.fallbackContext:void 0,D=e,$=rt(D.__datetimeFormatters)?D.__datetimeFormatters:new Map,F=rt(D.__numberFormatters)?D.__numberFormatters:new Map,q=rt(D.__meta)?D.__meta:{};If++;const U={version:n,cid:If,locale:r,fallbackLocale:s,messages:i,modifiers:u,pluralRules:m,missing:d,missingWarn:f,fallbackWarn:p,fallbackFormat:h,unresolving:g,postTranslation:z,processor:k,warnHtmlMessage:w,escapeParameter:_,messageCompiler:v,messageResolver:S,localeFallbacker:C,fallbackContext:L,onWarn:t,__meta:q};return U.datetimeFormats=a,U.numberFormats=l,U.__datetimeFormatters=$,U.__numberFormatters=F,__INTLIFY_PROD_DEVTOOLS__&&vk(U,n,q),U}const kc=e=>({[e]:mt()});function Wd(e,t,n,r,o){const{missing:s,onWarn:i}=e;if(s!==null){const a=s(e,n,t,o);return Ce(a)?a:t}else return t}function Hs(e,t,n){const r=e;r.__localeChainCache=new Map,e.localeFallbacker(e,n,t)}function Dk(e,t){return e===t?!1:e.split("-")[0]===t.split("-")[0]}function Rk(e,t){const n=t.indexOf(e);if(n===-1)return!1;for(let r=n+1;r<t.length;r++)if(Dk(e,t[r]))return!0;return!1}function Sc(e){return n=>Mk(n,e)}function Mk(e,t){const n=Vk(t);if(n==null)throw $i(0);if(qd(n)===1){const s=Uk(n);return e.plural(s.reduce((i,a)=>[...i,Lf(e,a)],[]))}else return Lf(e,n)}const Fk=["b","body"];function Vk(e){return ho(e,Fk)}const Hk=["c","cases"];function Uk(e){return ho(e,Hk,[])}function Lf(e,t){const n=Bk(t);if(n!=null)return e.type==="text"?n:e.normalize([n]);{const r=qk(t).reduce((o,s)=>[...o,Ou(e,s)],[]);return e.normalize(r)}}const jk=["s","static"];function Bk(e){return ho(e,jk)}const Wk=["i","items"];function qk(e){return ho(e,Wk,[])}function Ou(e,t){const n=qd(t);switch(n){case 3:return ua(t,n);case 9:return ua(t,n);case 4:{const r=t;if(Xn(r,"k")&&r.k)return e.interpolate(e.named(r.k));if(Xn(r,"key")&&r.key)return e.interpolate(e.named(r.key));throw $i(n)}case 5:{const r=t;if(Xn(r,"i")&&Nt(r.i))return e.interpolate(e.list(r.i));if(Xn(r,"index")&&Nt(r.index))return e.interpolate(e.list(r.index));throw $i(n)}case 6:{const r=t,o=Yk(r),s=Jk(r);return e.linked(Ou(e,s),o?Ou(e,o):void 0,e.type)}case 7:return ua(t,n);case 8:return ua(t,n);default:throw new Error(`unhandled node on format message part: ${n}`)}}const Gk=["t","type"];function qd(e){return ho(e,Gk)}const Kk=["v","value"];function ua(e,t){const n=ho(e,Kk);if(n)return n;throw $i(t)}const Zk=["m","modifier"];function Yk(e){return ho(e,Zk)}const Xk=["k","key"];function Jk(e){const t=ho(e,Xk);if(t)return t;throw $i(6)}function ho(e,t,n){for(let r=0;r<t.length;r++){const o=t[r];if(Xn(e,o)&&e[o]!=null)return e[o]}return n}function $i(e){return new Error(`unhandled node type: ${e}`)}const Qk=e=>e;let da=mt();function ws(e){return rt(e)&&qd(e)===0&&(Xn(e,"b")||Xn(e,"body"))}function eS(e,t={}){let n=!1;const r=t.onError||Pw;return t.onError=o=>{n=!0,r(o)},{...tk(e,t),detectError:n}}function tS(e,t){if(Ce(e)){wt(t.warnHtmlMessage)&&t.warnHtmlMessage;const r=(t.onCacheKey||Qk)(e),o=da[r];if(o)return o;const{ast:s,detectError:i}=eS(e,{...t,location:!1,jit:!0}),a=Sc(s);return i?a:da[r]=a}else{const n=e.cacheKey;if(n){const r=da[n];return r||(da[n]=Sc(e))}else return Sc(e)}}const Nf=()=>"",On=e=>At(e);function Df(e,...t){const{fallbackFormat:n,postTranslation:r,unresolving:o,messageCompiler:s,fallbackLocale:i,messages:a}=e,[l,u]=Pu(...t),m=wt(u.missingWarn)?u.missingWarn:e.missingWarn,d=wt(u.fallbackWarn)?u.fallbackWarn:e.fallbackWarn,f=wt(u.escapeParameter)?u.escapeParameter:e.escapeParameter,p=!!u.resolvedMessage,h=Ce(u.default)||wt(u.default)?wt(u.default)?s?l:()=>l:u.default:n?s?l:()=>l:"",g=n||h!=="",z=Bd(e,u);f&&nS(u);let[k,w,_]=p?[l,z,a[z]||mt()]:zy(e,l,z,i,d,m),v=k,S=l;if(!p&&!(Ce(v)||ws(v)||On(v))&&g&&(v=h,S=v),!p&&(!(Ce(v)||ws(v)||On(v))||!Ce(w)))return o?Wl:l;let C=!1;const L=()=>{C=!0},D=On(v)?v:vy(e,l,w,v,S,L);if(C)return v;const $=sS(e,w,_,u),F=yk($),q=rS(e,D,F),U=r?r(q,l):q;if(__INTLIFY_PROD_DEVTOOLS__){const W={timestamp:Date.now(),key:Ce(l)?l:On(v)?v.key:"",locale:w||(On(v)?v.locale:""),format:Ce(v)?v:On(v)?v.source:"",message:U};W.meta=Jt({},e.__meta,Ik()||{}),bk(W)}return U}function nS(e){Ht(e.list)?e.list=e.list.map(t=>Ce(t)?bf(t):t):rt(e.named)&&Object.keys(e.named).forEach(t=>{Ce(e.named[t])&&(e.named[t]=bf(e.named[t]))})}function zy(e,t,n,r,o,s){const{messages:i,onWarn:a,messageResolver:l,localeFallbacker:u}=e,m=u(e,r,n);let d=mt(),f,p=null;const h="translate";for(let g=0;g<m.length&&(f=m[g],d=i[f]||mt(),(p=l(d,t))===null&&(p=d[t]),!(Ce(p)||ws(p)||On(p)));g++)if(!Rk(f,m)){const z=Wd(e,t,f,s,h);z!==t&&(p=z)}return[p,f,d]}function vy(e,t,n,r,o,s){const{messageCompiler:i,warnHtmlMessage:a}=e;if(On(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,oS(e,n,o,r,a,s));return l.locale=n,l.key=t,l.source=r,l}function rS(e,t,n){return t(n)}function Pu(...e){const[t,n,r]=e,o=mt();if(!Ce(t)&&!Nt(t)&&!On(t)&&!ws(t))throw Sr(fr.INVALID_ARGUMENT);const s=Nt(t)?String(t):(On(t),t);return Nt(n)?o.plural=n:Ce(n)?o.default=n:Je(n)&&!jl(n)?o.named=n:Ht(n)&&(o.list=n),Nt(r)?o.plural=r:Ce(r)?o.default=r:Je(r)&&Jt(o,r),[s,o]}function oS(e,t,n,r,o,s){return{locale:t,key:n,warnHtmlMessage:o,onError:i=>{throw s&&s(i),i},onCacheKey:i=>gw(t,n,i)}}function sS(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[,,g]=zy(m,p,t,a,l,u);h=i(g,p)}if(Ce(h)||ws(h)){let g=!1;const k=vy(e,p,t,h,p,()=>{g=!0});return g?Nf:k}else return On(h)?h:Nf}};return e.processor&&(f.processor=e.processor),r.list&&(f.list=r.list),r.named&&(f.named=r.named),Nt(r.plural)&&(f.pluralIndex=r.plural),f}function Rf(e,...t){const{datetimeFormats:n,unresolving:r,fallbackLocale:o,onWarn:s,localeFallbacker:i}=e,{__datetimeFormatters:a}=e,[l,u,m,d]=Iu(...t),f=wt(m.missingWarn)?m.missingWarn:e.missingWarn;wt(m.fallbackWarn)?m.fallbackWarn:e.fallbackWarn;const p=!!m.part,h=Bd(e,m),g=i(e,o,h);if(!Ce(l)||l==="")return new Intl.DateTimeFormat(h,d).format(u);let z={},k,w=null;const _="datetime format";for(let C=0;C<g.length&&(k=g[C],z=n[k]||{},w=z[l],!Je(w));C++)Wd(e,l,k,f,_);if(!Je(w)||!Ce(k))return r?Wl:l;let v=`${k}__${l}`;jl(d)||(v=`${v}__${JSON.stringify(d)}`);let S=a.get(v);return S||(S=new Intl.DateTimeFormat(k,Jt({},w,d)),a.set(v,S)),p?S.formatToParts(u):S.format(u)}const by=["localeMatcher","weekday","era","year","month","day","hour","minute","second","timeZoneName","formatMatcher","hour12","timeZone","dateStyle","timeStyle","calendar","dayPeriod","numberingSystem","hourCycle","fractionalSecondDigits"];function Iu(...e){const[t,n,r,o]=e,s=mt();let i=mt(),a;if(Ce(t)){const l=t.match(/(\d{4}-\d{2}-\d{2})(T|\s)?(.*)/);if(!l)throw Sr(fr.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 Sr(fr.INVALID_ISO_DATE_ARGUMENT)}}else if(zw(t)){if(isNaN(t.getTime()))throw Sr(fr.INVALID_DATE_ARGUMENT);a=t}else if(Nt(t))a=t;else throw Sr(fr.INVALID_ARGUMENT);return Ce(n)?s.key=n:Je(n)&&Object.keys(n).forEach(l=>{by.includes(l)?i[l]=n[l]:s[l]=n[l]}),Ce(r)?s.locale=r:Je(r)&&(i=r),Je(o)&&(i=o),[s.key||"",a,s,i]}function Mf(e,t,n){const r=e;for(const o in n){const s=`${t}__${o}`;r.__datetimeFormatters.has(s)&&r.__datetimeFormatters.delete(s)}}function Ff(e,...t){const{numberFormats:n,unresolving:r,fallbackLocale:o,onWarn:s,localeFallbacker:i}=e,{__numberFormatters:a}=e,[l,u,m,d]=Lu(...t),f=wt(m.missingWarn)?m.missingWarn:e.missingWarn;wt(m.fallbackWarn)?m.fallbackWarn:e.fallbackWarn;const p=!!m.part,h=Bd(e,m),g=i(e,o,h);if(!Ce(l)||l==="")return new Intl.NumberFormat(h,d).format(u);let z={},k,w=null;const _="number format";for(let C=0;C<g.length&&(k=g[C],z=n[k]||{},w=z[l],!Je(w));C++)Wd(e,l,k,f,_);if(!Je(w)||!Ce(k))return r?Wl:l;let v=`${k}__${l}`;jl(d)||(v=`${v}__${JSON.stringify(d)}`);let S=a.get(v);return S||(S=new Intl.NumberFormat(k,Jt({},w,d)),a.set(v,S)),p?S.formatToParts(u):S.format(u)}const Cy=["localeMatcher","style","currency","currencyDisplay","currencySign","useGrouping","minimumIntegerDigits","minimumFractionDigits","maximumFractionDigits","minimumSignificantDigits","maximumSignificantDigits","compactDisplay","notation","signDisplay","unit","unitDisplay","roundingMode","roundingPriority","roundingIncrement","trailingZeroDisplay"];function Lu(...e){const[t,n,r,o]=e,s=mt();let i=mt();if(!Nt(t))throw Sr(fr.INVALID_ARGUMENT);const a=t;return Ce(n)?s.key=n:Je(n)&&Object.keys(n).forEach(l=>{Cy.includes(l)?i[l]=n[l]:s[l]=n[l]}),Ce(r)?s.locale=r:Je(r)&&(i=r),Je(o)&&(i=o),[s.key||"",a,s,i]}function Vf(e,t,n){const r=e;for(const o in n){const s=`${t}__${o}`;r.__numberFormatters.has(s)&&r.__numberFormatters.delete(s)}}nk();/*!
* vue-i18n v9.14.2
* (c) 2024 kazuya kawaguchi
* Released under the MIT License.
*/const iS="9.14.2";function aS(){typeof __INTLIFY_PROD_DEVTOOLS__!="boolean"&&(Hd().__INTLIFY_PROD_DEVTOOLS__=!1)}const wy=wk.__EXTEND_POINT__,vr=Bl(wy);vr(),vr(),vr(),vr(),vr(),vr(),vr(),vr(),vr();const ky=fr.__EXTEND_POINT__,sn=Bl(ky),Fn={UNEXPECTED_RETURN_TYPE:ky,INVALID_ARGUMENT:sn(),MUST_BE_CALL_SETUP_TOP:sn(),NOT_INSTALLED:sn(),NOT_AVAILABLE_IN_LEGACY_MODE:sn(),REQUIRED_VALUE:sn(),INVALID_VALUE:sn(),CANNOT_SETUP_VUE_DEVTOOLS_PLUGIN:sn(),NOT_INSTALLED_WITH_PROVIDE:sn(),UNEXPECTED_ERROR:sn(),NOT_COMPATIBLE_LEGACY_VUE_I18N:sn(),BRIDGE_SUPPORT_VUE_2_ONLY:sn(),MUST_DEFINE_I18N_OPTION_IN_ALLOW_COMPOSITION:sn(),NOT_AVAILABLE_COMPOSITION_IN_LEGACY:sn(),__EXTEND_POINT__:sn()};function er(e,...t){return Is(e,null,void 0)}const Nu=fo("__translateVNode"),Du=fo("__datetimeParts"),Ru=fo("__numberParts"),lS=fo("__setPluralRules"),cS=fo("__injectWithOption"),Mu=fo("__dispose");function Ti(e){if(!rt(e))return e;for(const t in e)if(Xn(e,t))if(!t.includes("."))rt(e[t])&&Ti(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]]=mt()),!rt(o[n[i]])){s=!0;break}o=o[n[i]]}s||(o[n[r]]=e[t],delete e[t]),rt(o[n[r]])&&Ti(o[n[r]])}return e}function Sy(e,t){const{messages:n,__i18n:r,messageResolver:o,flatJson:s}=t,i=Je(n)?n:Ht(r)?mt():{[e]:mt()};if(Ht(r)&&r.forEach(a=>{if("locale"in a&&"resource"in a){const{locale:l,resource:u}=a;l?(i[l]=i[l]||mt(),Pa(u,i[l])):Pa(u,i)}else Ce(a)&&Pa(JSON.parse(a),i)}),o==null&&s)for(const a in i)Xn(i,a)&&Ti(i[a]);return i}function xy(e){return e.type}function uS(e,t,n){let r=rt(t.messages)?t.messages:mt();"__i18nGlobal"in n&&(r=Sy(e.locale.value,{messages:r,__i18n:n.__i18nGlobal}));const o=Object.keys(r);o.length&&o.forEach(s=>{e.mergeLocaleMessage(s,r[s])});{if(rt(t.datetimeFormats)){const s=Object.keys(t.datetimeFormats);s.length&&s.forEach(i=>{e.mergeDateTimeFormat(i,t.datetimeFormats[i])})}if(rt(t.numberFormats)){const s=Object.keys(t.numberFormats);s.length&&s.forEach(i=>{e.mergeNumberFormat(i,t.numberFormats[i])})}}}function Hf(e){return b(Tr,null,e,0)}const Uf="__INTLIFY_META__",jf=()=>[],dS=()=>!1;let Bf=0;function Wf(e){return(t,n,r,o)=>e(n,r,Un()||void 0,o)}const mS=()=>{const e=Un();let t=null;return e&&(t=xy(e)[Uf])?{[Uf]:t}:null};function Ey(e={},t){const{__root:n,__injectWithOption:r}=e,o=n===void 0,s=e.flatJson,i=nl?Ln:gd,a=!!e.translateExistCompatible;let l=wt(e.inheritLocale)?e.inheritLocale:!0;const u=i(n&&l?n.locale.value:Ce(e.locale)?e.locale:sl),m=i(n&&l?n.fallbackLocale.value:Ce(e.fallbackLocale)||Ht(e.fallbackLocale)||Je(e.fallbackLocale)||e.fallbackLocale===!1?e.fallbackLocale:u.value),d=i(Sy(u.value,e)),f=i(Je(e.datetimeFormats)?e.datetimeFormats:{[u.value]:{}}),p=i(Je(e.numberFormats)?e.numberFormats:{[u.value]:{}});let h=n?n.missingWarn:wt(e.missingWarn)||rl(e.missingWarn)?e.missingWarn:!0,g=n?n.fallbackWarn:wt(e.fallbackWarn)||rl(e.fallbackWarn)?e.fallbackWarn:!0,z=n?n.fallbackRoot:wt(e.fallbackRoot)?e.fallbackRoot:!0,k=!!e.fallbackFormat,w=At(e.missing)?e.missing:null,_=At(e.missing)?Wf(e.missing):null,v=At(e.postTranslation)?e.postTranslation:null,S=n?n.warnHtmlMessage:wt(e.warnHtmlMessage)?e.warnHtmlMessage:!0,C=!!e.escapeParameter;const L=n?n.modifiers:Je(e.modifiers)?e.modifiers:{};let D=e.pluralRules||n&&n.pluralRules,$;$=(()=>{o&&Pf(null);const H={version:iS,locale:u.value,fallbackLocale:m.value,messages:d.value,modifiers:L,pluralRules:D,missing:_===null?void 0:_,missingWarn:h,fallbackWarn:g,fallbackFormat:k,unresolving:!0,postTranslation:v===null?void 0:v,warnHtmlMessage:S,escapeParameter:C,messageResolver:e.messageResolver,messageCompiler:e.messageCompiler,__meta:{framework:"vue"}};H.datetimeFormats=f.value,H.numberFormats=p.value,H.__datetimeFormatters=Je($)?$.__datetimeFormatters:void 0,H.__numberFormatters=Je($)?$.__numberFormatters:void 0;const Z=Nk(H);return o&&Pf(Z),Z})(),Hs($,u.value,m.value);function q(){return[u.value,m.value,d.value,f.value,p.value]}const U=jt({get:()=>u.value,set:H=>{u.value=H,$.locale=u.value}}),W=jt({get:()=>m.value,set:H=>{m.value=H,$.fallbackLocale=m.value,Hs($,u.value,H)}}),ne=jt(()=>d.value),me=jt(()=>f.value),K=jt(()=>p.value);function re(){return At(v)?v:null}function ce(H){v=H,$.postTranslation=H}function Ne(){return w}function it(H){H!==null&&(_=Wf(H)),w=H,$.missing=_}const Ve=(H,Z,Se,M,V,G)=>{q();let oe;try{__INTLIFY_PROD_DEVTOOLS__,o||($.fallbackContext=n?Lk():void 0),oe=H($)}finally{__INTLIFY_PROD_DEVTOOLS__,o||($.fallbackContext=void 0)}if(Se!=="translate exists"&&Nt(oe)&&oe===Wl||Se==="translate exists"&&!oe){const[ye,$e]=Z();return n&&z?M(n):V(ye)}else{if(G(oe))return oe;throw er(Fn.UNEXPECTED_RETURN_TYPE)}};function He(...H){return Ve(Z=>Reflect.apply(Df,null,[Z,...H]),()=>Pu(...H),"translate",Z=>Reflect.apply(Z.t,Z,[...H]),Z=>Z,Z=>Ce(Z))}function at(...H){const[Z,Se,M]=H;if(M&&!rt(M))throw er(Fn.INVALID_ARGUMENT);return He(Z,Se,Jt({resolvedMessage:!0},M||{}))}function lt(...H){return Ve(Z=>Reflect.apply(Rf,null,[Z,...H]),()=>Iu(...H),"datetime format",Z=>Reflect.apply(Z.d,Z,[...H]),()=>Af,Z=>Ce(Z))}function ut(...H){return Ve(Z=>Reflect.apply(Ff,null,[Z,...H]),()=>Lu(...H),"number format",Z=>Reflect.apply(Z.n,Z,[...H]),()=>Af,Z=>Ce(Z))}function We(H){return H.map(Z=>Ce(Z)||Nt(Z)||wt(Z)?Hf(String(Z)):Z)}const fe={normalize:We,interpolate:H=>H,type:"vnode"};function le(...H){return Ve(Z=>{let Se;const M=Z;try{M.processor=fe,Se=Reflect.apply(Df,null,[M,...H])}finally{M.processor=null}return Se},()=>Pu(...H),"translate",Z=>Z[Nu](...H),Z=>[Hf(Z)],Z=>Ht(Z))}function ge(...H){return Ve(Z=>Reflect.apply(Ff,null,[Z,...H]),()=>Lu(...H),"number format",Z=>Z[Ru](...H),jf,Z=>Ce(Z)||Ht(Z))}function Ue(...H){return Ve(Z=>Reflect.apply(Rf,null,[Z,...H]),()=>Iu(...H),"datetime format",Z=>Z[Du](...H),jf,Z=>Ce(Z)||Ht(Z))}function Ge(H){D=H,$.pluralRules=D}function A(H,Z){return Ve(()=>{if(!H)return!1;const Se=Ce(Z)?Z:u.value,M=te(Se),V=$.messageResolver(M,H);return a?V!=null:ws(V)||On(V)||Ce(V)},()=>[H],"translate exists",Se=>Reflect.apply(Se.te,Se,[H,Z]),dS,Se=>wt(Se))}function P(H){let Z=null;const Se=fy($,m.value,u.value);for(let M=0;M<Se.length;M++){const V=d.value[Se[M]]||{},G=$.messageResolver(V,H);if(G!=null){Z=G;break}}return Z}function j(H){const Z=P(H);return Z??(n?n.tm(H)||{}:{})}function te(H){return d.value[H]||{}}function X(H,Z){if(s){const Se={[H]:Z};for(const M in Se)Xn(Se,M)&&Ti(Se[M]);Z=Se[H]}d.value[H]=Z,$.messages=d.value}function ie(H,Z){d.value[H]=d.value[H]||{};const Se={[H]:Z};if(s)for(const M in Se)Xn(Se,M)&&Ti(Se[M]);Z=Se[H],Pa(Z,d.value[H]),$.messages=d.value}function pe(H){return f.value[H]||{}}function E(H,Z){f.value[H]=Z,$.datetimeFormats=f.value,Mf($,H,Z)}function T(H,Z){f.value[H]=Jt(f.value[H]||{},Z),$.datetimeFormats=f.value,Mf($,H,Z)}function R(H){return p.value[H]||{}}function Q(H,Z){p.value[H]=Z,$.numberFormats=p.value,Vf($,H,Z)}function de(H,Z){p.value[H]=Jt(p.value[H]||{},Z),$.numberFormats=p.value,Vf($,H,Z)}Bf++,n&&nl&&(Dn(n.locale,H=>{l&&(u.value=H,$.locale=H,Hs($,u.value,m.value))}),Dn(n.fallbackLocale,H=>{l&&(m.value=H,$.fallbackLocale=H,Hs($,u.value,m.value))}));const se={id:Bf,locale:U,fallbackLocale:W,get inheritLocale(){return l},set inheritLocale(H){l=H,H&&n&&(u.value=n.locale.value,m.value=n.fallbackLocale.value,Hs($,u.value,m.value))},get availableLocales(){return Object.keys(d.value).sort()},messages:ne,get modifiers(){return L},get pluralRules(){return D||{}},get isGlobal(){return o},get missingWarn(){return h},set missingWarn(H){h=H,$.missingWarn=h},get fallbackWarn(){return g},set fallbackWarn(H){g=H,$.fallbackWarn=g},get fallbackRoot(){return z},set fallbackRoot(H){z=H},get fallbackFormat(){return k},set fallbackFormat(H){k=H,$.fallbackFormat=k},get warnHtmlMessage(){return S},set warnHtmlMessage(H){S=H,$.warnHtmlMessage=H},get escapeParameter(){return C},set escapeParameter(H){C=H,$.escapeParameter=H},t:He,getLocaleMessage:te,setLocaleMessage:X,mergeLocaleMessage:ie,getPostTranslationHandler:re,setPostTranslationHandler:ce,getMissingHandler:Ne,setMissingHandler:it,[lS]:Ge};return se.datetimeFormats=me,se.numberFormats=K,se.rt=at,se.te=A,se.tm=j,se.d=lt,se.n=ut,se.getDateTimeFormat=pe,se.setDateTimeFormat=E,se.mergeDateTimeFormat=T,se.getNumberFormat=R,se.setNumberFormat=Q,se.mergeNumberFormat=de,se[cS]=r,se[Nu]=le,se[Du]=Ue,se[Ru]=ge,se}const Gd={tag:{type:[String,Object]},locale:{type:String},scope:{type:String,validator:e=>e==="parent"||e==="global",default:"parent"},i18n:{type:Object}};function fS({slots:e},t){return t.length===1&&t[0]==="default"?(e.default?e.default():[]).reduce((r,o)=>[...r,...o.type===ve?o.children:[o]],[]):t.reduce((n,r)=>{const o=e[r];return o&&(n[r]=o()),n},mt())}function $y(e){return ve}const pS=Pr({name:"i18n-t",props:Jt({keypath:{type:String,required:!0},plural:{type:[Number,String],validator:e=>Nt(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=mt();e.locale&&(i.locale=e.locale),e.plural!==void 0&&(i.plural=Ce(e.plural)?+e.plural:e.plural);const a=fS(t,s),l=o[Nu](e.keypath,a,i),u=Jt(mt(),r),m=Ce(e.tag)||rt(e.tag)?e.tag:$y();return mr(m,u,l)}}}),qf=pS;function hS(e){return Ht(e)&&!Ce(e[0])}function Ty(e,t,n,r){const{slots:o,attrs:s}=t;return()=>{const i={part:!0};let a=mt();e.locale&&(i.locale=e.locale),Ce(e.format)?i.key=e.format:rt(e.format)&&(Ce(e.format.key)&&(i.key=e.format.key),a=Object.keys(e.format).reduce((f,p)=>n.includes(p)?Jt(mt(),f,{[p]:e.format[p]}):f,mt()));const l=r(e.value,i,a);let u=[i.key];Ht(l)?u=l.map((f,p)=>{const h=o[f.type],g=h?h({[f.type]:f.value,index:p,parts:l}):[f.value];return hS(g)&&(g[0].key=`${f.type}-${p}`),g}):Ce(l)&&(u=[l]);const m=Jt(mt(),s),d=Ce(e.tag)||rt(e.tag)?e.tag:$y();return mr(d,m,u)}}const _S=Pr({name:"i18n-n",props:Jt({value:{type:Number,required:!0},format:{type:[String,Object]}},Gd),setup(e,t){const n=e.i18n||Kd({useScope:e.scope,__useComponent:!0});return Ty(e,t,Cy,(...r)=>n[Ru](...r))}}),Gf=_S,gS=Pr({name:"i18n-d",props:Jt({value:{type:[Number,Date],required:!0},format:{type:[String,Object]}},Gd),setup(e,t){const n=e.i18n||Kd({useScope:e.scope,__useComponent:!0});return Ty(e,t,by,(...r)=>n[Du](...r))}}),Kf=gS;function yS(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 zS(e){const t=i=>{const{instance:a,modifiers:l,value:u}=i;if(!a||!a.$)throw er(Fn.UNEXPECTED_ERROR);const m=yS(e,a.$),d=Zf(u);return[Reflect.apply(m.t,m,[...Yf(d)]),m]};return{created:(i,a)=>{const[l,u]=t(a);nl&&e.global===u&&(i.__i18nWatcher=Dn(u.locale,()=>{a.instance&&a.instance.$forceUpdate()})),i.__composer=u,i.textContent=l},unmounted:i=>{nl&&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=Zf(a);i.textContent=Reflect.apply(l.t,l,[...Yf(u)])}},getSSRProps:i=>{const[a]=t(i);return{textContent:a}}}}function Zf(e){if(Ce(e))return{path:e};if(Je(e)){if(!("path"in e))throw er(Fn.REQUIRED_VALUE,"path");return e}else throw er(Fn.INVALID_VALUE)}function Yf(e){const{path:t,locale:n,args:r,choice:o,plural:s}=e,i={},a=r||{};return Ce(n)&&(i.locale=n),Nt(o)&&(i.plural=o),Nt(s)&&(i.plural=s),[t,a,i]}function vS(e,t,...n){const r=Je(n[0])?n[0]:{},o=!!r.useI18nComponentName;(wt(r.globalInstall)?r.globalInstall:!0)&&([o?"i18n":qf.name,"I18nT"].forEach(i=>e.component(i,qf)),[Gf.name,"I18nN"].forEach(i=>e.component(i,Gf)),[Kf.name,"I18nD"].forEach(i=>e.component(i,Kf))),e.directive("t",zS(t))}const bS=fo("global-vue-i18n");function CS(e={},t){const n=wt(e.globalInjection)?e.globalInjection:!0,r=!0,o=new Map,[s,i]=wS(e),a=fo("");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),Je(p[0])){const z=p[0];d.__composerExtend=z.__composerExtend,d.__vueI18nExtend=z.__vueI18nExtend}let h=null;n&&(h=OS(f,d.global)),vS(f,d,...p);const g=f.unmount;f.unmount=()=>{h&&h(),d.dispose(),g()}},get global(){return i},dispose(){s.stop()},__instances:o,__getInstance:l,__setInstance:u,__deleteInstance:m};return d}}function Kd(e={}){const t=Un();if(t==null)throw er(Fn.MUST_BE_CALL_SETUP_TOP);if(!t.isCE&&t.appContext.app!=null&&!t.appContext.app.__VUE_I18N_SYMBOL__)throw er(Fn.NOT_INSTALLED);const n=kS(t),r=xS(n),o=xy(t),s=SS(e,o);if(s==="global")return uS(r,e,o),r;if(s==="parent"){let l=ES(n,t,e.__useComponent);return l==null&&(l=r),l}const i=n;let a=i.__getInstance(t);if(a==null){const l=Jt({},e);"__i18n"in o&&(l.__i18n=o.__i18n),r&&(l.__root=r),a=Ey(l),i.__composerExtend&&(a[Mu]=i.__composerExtend(a)),TS(i,t,a),i.__setInstance(t,a)}return a}function wS(e,t,n){const r=wl();{const o=r.run(()=>Ey(e));if(o==null)throw er(Fn.UNEXPECTED_ERROR);return[r,o]}}function kS(e){{const t=Nn(e.isCE?bS:e.appContext.app.__VUE_I18N_SYMBOL__);if(!t)throw er(e.isCE?Fn.NOT_INSTALLED_WITH_PROVIDE:Fn.UNEXPECTED_ERROR);return t}}function SS(e,t){return jl(e)?"__i18n"in t?"local":"global":e.useScope?e.useScope:"local"}function xS(e){return e.mode==="composition"?e.global:e.global.__composer}function ES(e,t,n=!1){let r=null;const o=t.root;let s=$S(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 $S(e,t=!1){return e==null?null:t&&e.vnode.ctx||e.parent}function TS(e,t,n){As(()=>{},t),Ri(()=>{const r=n;e.__deleteInstance(t);const o=r[Mu];o&&(o(),delete r[Mu])},t)}const AS=["locale","fallbackLocale","availableLocales"],Xf=["t","rt","d","n","tm","te"];function OS(e,t){const n=Object.create(null);return AS.forEach(o=>{const s=Object.getOwnPropertyDescriptor(t,o);if(!s)throw er(Fn.UNEXPECTED_ERROR);const i=Ot(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,Xf.forEach(o=>{const s=Object.getOwnPropertyDescriptor(t,o);if(!s||!s.value)throw er(Fn.UNEXPECTED_ERROR);Object.defineProperty(e.config.globalProperties,`$${o}`,s)}),()=>{delete e.config.globalProperties.$i18n,Xf.forEach(o=>{delete e.config.globalProperties[`$${o}`]})}}aS();Tk(tS);Ak(uk);Ok(fy);if(__INTLIFY_PROD_DEVTOOLS__){const e=Hd();e.__INTLIFY__=!0,zk(e.__INTLIFY_DEVTOOLS_GLOBAL_HOOK__)}const xc=e=>e&&typeof e=="object"&&!Array.isArray(e),Fu=(e,...t)=>{if(!t.length)return e;const n=t.shift();if(xc(e)&&xc(n))for(const r in n)xc(n[r])?(e[r]||Object.assign(e,{[r]:{}}),Fu(e[r],n[r])):Object.assign(e,{[r]:n[r]});return Fu(e,...t)},PS=Fu({},{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:{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(["Erscheinungsdatum"])},"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"])},tracks:e=>{const{normalize:t}=e;return t(["Tracks"])},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(["Erscheinungsdatum"])},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(["Erscheinungsdatum"])}}},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(["Erscheinungsdatum"])},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-CN":e=>{const{normalize:t}=e;return t(["Vereinfachtes Chinesisch (簡體中文)"])},"zh-TW":e=>{const{normalize:t}=e;return t(["Traditionelles 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:{"artist-name":e=>{const{normalize:t}=e;return t(["Künstler Name"])},"artist-date":e=>{const{normalize:t}=e;return t(["Künstler Erscheinungsdatum"])},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"))," 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:{cancel:e=>{const{normalize:t}=e;return t(["Abbrechen"])},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"))," 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-results":e=>{const{normalize:t}=e;return t(["Keine Ergebnisse 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-results":e=>{const{normalize:t}=e;return t(["Keine Ergebnisse gefunden"])},placeholder:e=>{const{normalize:t}=e;return t(["Suche"])},playlists:e=>{const{normalize:t}=e;return t(["Playlisten"])},"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-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-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:{folder:e=>{const{normalize:t}=e;return t(["Ordner"])},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"])}},"grouped-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"])},undefined:e=>{const{normalize:t}=e;return t(["Unbestimmt"])}},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:{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(["Tracks"])},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"])},tracks:e=>{const{normalize:t}=e;return t(["Tracks"])},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-CN":e=>{const{normalize:t}=e;return t(["Simplified Chinese (簡體中文)"])},"zh-TW":e=>{const{normalize:t}=e;return t(["Traditional 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:{"artist-name":e=>{const{normalize:t}=e;return t(["Artist Name"])},"artist-date":e=>{const{normalize:t}=e;return t(["Artist Release date"])},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:{cancel:e=>{const{normalize:t}=e;return t(["Cancel"])},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-results":e=>{const{normalize:t}=e;return t(["No results 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-results":e=>{const{normalize:t}=e;return t(["No results found"])},placeholder:e=>{const{normalize:t}=e;return t(["Search"])},playlists:e=>{const{normalize:t}=e;return t(["Playlists"])},"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-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-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:{folder:e=>{const{normalize:t}=e;return t(["Folder"])},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"])}},"grouped-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"])},undefined:e=>{const{normalize:t}=e;return t(["Undefined"])}},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:{add:{rss:{add:e=>{const{normalize:t}=e;return t(["Ajouter"])},cancel:e=>{const{normalize:t}=e;return t(["Annuler"])},help:e=>{const{normalize:t}=e;return t(["Lajout dun podcast inclut la création dune liste de lecture RSS, qui permettra à OwnTone de gérer labonnement au podcast."])},placeholder:e=>{const{normalize:t}=e;return t(["https://url-du-flux-rss"])},processing:e=>{const{normalize:t}=e;return t(["Traitement en cours…"])},title:e=>{const{normalize:t}=e;return t(["Ajouter un podcast"])}},stream:{add:e=>{const{normalize:t}=e;return t(["Ajouter"])},cancel:e=>{const{normalize:t}=e;return t(["Annuler"])},loading:e=>{const{normalize:t}=e;return t(["Chargement…"])},placeholder:e=>{const{normalize:t}=e;return t(["https://url-du-flux"])},play:e=>{const{normalize:t}=e;return t(["Lire"])},title:e=>{const{normalize:t}=e;return t(["Ajouter un flux"])}}},album:{"add-next":e=>{const{normalize:t}=e;return t(["Ajouter ensuite"])},add:e=>{const{normalize:t}=e;return t(["Ajouter"])},"added-on":e=>{const{normalize:t}=e;return t(["Ajouté le"])},artist:e=>{const{normalize:t}=e;return t(["Artiste de lalbum"])},duration:e=>{const{normalize:t}=e;return t(["Durée"])},"mark-as-played":e=>{const{normalize:t}=e;return t(["Marquer comme lu"])},play:e=>{const{normalize:t}=e;return t(["Lire"])},"release-date":e=>{const{normalize:t}=e;return t(["Date de sortie"])},"remove-podcast":e=>{const{normalize:t}=e;return t(["Supprimer le podcast"])},tracks:e=>{const{normalize:t}=e;return t(["Pistes"])},type:e=>{const{normalize:t}=e;return t(["Type"])},year:e=>{const{normalize:t}=e;return t(["Année"])}},artist:{"add-next":e=>{const{normalize:t}=e;return t(["Ajouter ensuite"])},add:e=>{const{normalize:t}=e;return t(["Ajouter"])},"added-on":e=>{const{normalize:t}=e;return t(["Ajouté le"])},albums:e=>{const{normalize:t}=e;return t(["Albums"])},play:e=>{const{normalize:t}=e;return t(["Lire"])},tracks:e=>{const{normalize:t}=e;return t(["Pistes"])},type:e=>{const{normalize:t}=e;return t(["Type"])}},composer:{"add-next":e=>{const{normalize:t}=e;return t(["Ajouter ensuite"])},add:e=>{const{normalize:t}=e;return t(["Ajouter"])},albums:e=>{const{normalize:t}=e;return t(["Albums"])},duration:e=>{const{normalize:t}=e;return t(["Durée"])},play:e=>{const{normalize:t}=e;return t(["Lire"])},tracks:e=>{const{normalize:t}=e;return t(["Pistes"])}},directory:{"add-next":e=>{const{normalize:t}=e;return t(["Ajouter ensuite"])},add:e=>{const{normalize:t}=e;return t(["Ajouter"])},play:e=>{const{normalize:t}=e;return t(["Lire"])}},genre:{"add-next":e=>{const{normalize:t}=e;return t(["Ajouter ensuite"])},add:e=>{const{normalize:t}=e;return t(["Ajouter"])},albums:e=>{const{normalize:t}=e;return t(["Albums"])},duration:e=>{const{normalize:t}=e;return t(["Durée"])},play:e=>{const{normalize:t}=e;return t(["Lire"])},tracks:e=>{const{normalize:t}=e;return t(["Pistes"])}},playlist:{"add-next":e=>{const{normalize:t}=e;return t(["Ajouter ensuite"])},add:e=>{const{normalize:t}=e;return t(["Ajouter"])},play:e=>{const{normalize:t}=e;return t(["Lire"])},path:e=>{const{normalize:t}=e;return t(["Emplacement"])},tracks:e=>{const{normalize:t}=e;return t(["Pistes"])},type:e=>{const{normalize:t}=e;return t(["Type"])},save:{cancel:e=>{const{normalize:t}=e;return t(["Annuler"])},"playlist-name":e=>{const{normalize:t}=e;return t(["Nom de la liste de lecture"])},save:e=>{const{normalize:t}=e;return t(["Enregistrer"])},saving:e=>{const{normalize:t}=e;return t(["Enregistrement en cours…"])},title:e=>{const{normalize:t}=e;return t(["Enregistrer la file dattente dans une liste de lecture"])}}},"queue-item":{"album-artist":e=>{const{normalize:t}=e;return t(["Artiste de lalbum"])},album:e=>{const{normalize:t}=e;return t(["Album"])},bitrate:e=>{const{normalize:t,interpolate:n,named:r}=e;return t([" ","|"," ",n(r("rate"))," kbit/s"])},channels:e=>{const{normalize:t,interpolate:n,named:r}=e;return t([" ","|"," ",n(r("channels"))])},composer:e=>{const{normalize:t}=e;return t(["Compositeur"])},duration:e=>{const{normalize:t}=e;return t(["Durée"])},genre:e=>{const{normalize:t}=e;return t(["Genre"])},path:e=>{const{normalize:t}=e;return t(["Emplacement"])},play:e=>{const{normalize:t}=e;return t(["Lire"])},position:e=>{const{normalize:t}=e;return t(["Disque / Piste"])},quality:e=>{const{normalize:t}=e;return t(["Qualité"])},remove:e=>{const{normalize:t}=e;return t(["Supprimer"])},samplerate:e=>{const{normalize:t,interpolate:n,named:r}=e;return t([" ","|"," ",n(r("rate"))," Hz"])},"spotify-album":e=>{const{normalize:t}=e;return t(["album"])},"spotify-artist":e=>{const{normalize:t}=e;return t(["artiste"])},type:e=>{const{normalize:t}=e;return t(["Type"])},year:e=>{const{normalize:t}=e;return t(["Année"])}},"remote-pairing":{cancel:e=>{const{normalize:t}=e;return t(["Annuler"])},pair:e=>{const{normalize:t}=e;return t(["Jumeler la télécommande"])},"pairing-code":e=>{const{normalize:t}=e;return t(["Code de jumelage"])},title:e=>{const{normalize:t}=e;return t(["Demande de jumelage de télécommande"])}},spotify:{album:{"add-next":e=>{const{normalize:t}=e;return t(["Ajouter ensuite"])},add:e=>{const{normalize:t}=e;return t(["Ajouter"])},"album-artist":e=>{const{normalize:t}=e;return t(["Artiste de lalbum"])},play:e=>{const{normalize:t}=e;return t(["Lire"])},"release-date":e=>{const{normalize:t}=e;return t(["Date de sortie"])},type:e=>{const{normalize:t}=e;return t(["Type"])}},artist:{"add-next":e=>{const{normalize:t}=e;return t(["Ajouter ensuite"])},add:e=>{const{normalize:t}=e;return t(["Ajouter"])},genres:e=>{const{normalize:t}=e;return t(["Genres"])},play:e=>{const{normalize:t}=e;return t(["Lire"])},popularity:e=>{const{normalize:t}=e;return t(["Popularité / Abonnements"])}},playlist:{"add-next":e=>{const{normalize:t}=e;return t(["Ajouter ensuite"])},add:e=>{const{normalize:t}=e;return t(["Ajouter"])},owner:e=>{const{normalize:t}=e;return t(["Propriétaire"])},path:e=>{const{normalize:t}=e;return t(["Emplacement"])},play:e=>{const{normalize:t}=e;return t(["Lire"])},tracks:e=>{const{normalize:t}=e;return t(["Pistes"])}},track:{"add-next":e=>{const{normalize:t}=e;return t(["Ajouter ensuite"])},add:e=>{const{normalize:t}=e;return t(["Ajouter"])},"album-artist":e=>{const{normalize:t}=e;return t(["Artiste de lalbum"])},album:e=>{const{normalize:t}=e;return t(["Album"])},duration:e=>{const{normalize:t}=e;return t(["Durée"])},path:e=>{const{normalize:t}=e;return t(["Emplacement"])},play:e=>{const{normalize:t}=e;return t(["Lire"])},position:e=>{const{normalize:t}=e;return t(["Disque / Piste"])},"release-date":e=>{const{normalize:t}=e;return t(["Date de sortie"])}}},track:{"add-next":e=>{const{normalize:t}=e;return t(["Ajouter ensuite"])},add:e=>{const{normalize:t}=e;return t(["Ajouter"])},"added-on":e=>{const{normalize:t}=e;return t(["Ajouté le"])},"album-artist":e=>{const{normalize:t}=e;return t(["Artiste de lalbum"])},album:e=>{const{normalize:t}=e;return t(["Album"])},bitrate:e=>{const{normalize:t,interpolate:n,named:r}=e;return t([" ","|"," ",n(r("rate"))," kbit/s"])},channels:e=>{const{normalize:t,interpolate:n,named:r}=e;return t([" ","|"," ",n(r("channels"))])},comment:e=>{const{normalize:t}=e;return t(["Commentaire"])},composer:e=>{const{normalize:t}=e;return t(["Compositeur"])},duration:e=>{const{normalize:t}=e;return t(["Durée"])},genre:e=>{const{normalize:t}=e;return t(["Genre"])},"mark-as-new":e=>{const{normalize:t}=e;return t(["Marquer comme nouveau"])},"mark-as-played":e=>{const{normalize:t}=e;return t(["Marquer comme lu"])},path:e=>{const{normalize:t}=e;return t(["Emplacement"])},play:e=>{const{normalize:t}=e;return t(["Lire"])},position:e=>{const{normalize:t}=e;return t(["Disque / Piste"])},quality:e=>{const{normalize:t}=e;return t(["Qualité"])},"rating-value":e=>{const{normalize:t,interpolate:n,named:r}=e;return t([n(r("rating"))," / 10"])},rating:e=>{const{normalize:t}=e;return t(["Classement"])},"release-date":e=>{const{normalize:t}=e;return t(["Date de sortie"])},samplerate:e=>{const{normalize:t,interpolate:n,named:r}=e;return t([" ","|"," ",n(r("rate"))," Hz"])},"spotify-album":e=>{const{normalize:t}=e;return t(["album"])},"spotify-artist":e=>{const{normalize:t}=e;return t(["artiste"])},type:e=>{const{normalize:t}=e;return t(["Type"])},year:e=>{const{normalize:t}=e;return t(["Année"])}},update:{all:e=>{const{normalize:t}=e;return t(["Tout actualiser"])},cancel:e=>{const{normalize:t}=e;return t(["Annuler"])},feeds:e=>{const{normalize:t}=e;return t(["Actualiser uniquement les flux RSS"])},info:e=>{const{normalize:t}=e;return t(["Recherche les fichiers ajoutés, supprimés et modifiés"])},local:e=>{const{normalize:t}=e;return t(["Actualiser uniquement la bibliothèque locale"])},progress:e=>{const{normalize:t}=e;return t(["Actualisation de la bibliothèque en cours…"])},"rescan-metadata":e=>{const{normalize:t}=e;return t(["Analyser les métadonnées des fichiers non modifiés"])},rescan:e=>{const{normalize:t}=e;return t(["Analyser"])},spotify:e=>{const{normalize:t}=e;return t(["Actualiser uniquement Spotify"])},title:e=>{const{normalize:t}=e;return t(["Actualiser la bibliothèque"])}}},language:{de:e=>{const{normalize:t}=e;return t(["Allemand (Deutsch)"])},en:e=>{const{normalize:t}=e;return t(["Anglais (English)"])},fr:e=>{const{normalize:t}=e;return t(["Français"])},"zh-CN":e=>{const{normalize:t}=e;return t(["Chinois simplifié (簡體中文)"])},"zh-TW":e=>{const{normalize:t}=e;return t(["Chinois traditionnel (繁體中文)"])}},list:{albums:{"info-1":e=>{const{normalize:t}=e;return t(["Supprimer définitivement ce podcast de votre bibliothèque ?"])},"info-2":e=>{const{normalize:t}=e;return t(["Cela supprimera également la liste de lecture RSS "])},remove:e=>{const{normalize:t}=e;return t(["Supprimer"])},"remove-podcast":e=>{const{normalize:t}=e;return t(["Supprimer le podcast"])}},spotify:{"not-playable-track":e=>{const{normalize:t}=e;return t(["La piste ne peut pas être lue"])},"restriction-reason":e=>{const{normalize:t,interpolate:n,named:r}=e;return t([", raison de la restriction : ",n(r("reason"))])}}},media:{kind:{album:e=>{const{normalize:t}=e;return t(["Album"])},audiobook:e=>{const{normalize:t}=e;return t(["Livre audio"])},music:e=>{const{normalize:t}=e;return t(["Musique"])},podcast:e=>{const{normalize:t}=e;return t(["Podcast"])}}},navigation:{about:e=>{const{normalize:t}=e;return t(["À propos"])},albums:e=>{const{normalize:t}=e;return t(["Albums"])},artists:e=>{const{normalize:t}=e;return t(["Artistes"])},audiobooks:e=>{const{normalize:t}=e;return t(["Livres audio"])},"now-playing":e=>{const{normalize:t,interpolate:n,named:r}=e;return t([" - ",n(r("album"))])},"stream-error":e=>{const{normalize:t}=e;return t(["Erreur du flux HTTP : échec du chargement du flux ou arrêt du chargement en raison dun problème réseau"])},stream:e=>{const{normalize:t}=e;return t(["Flux HTTP"])},volume:e=>{const{normalize:t}=e;return t(["Volume"])},files:e=>{const{normalize:t}=e;return t(["Fichiers"])},genres:e=>{const{normalize:t}=e;return t(["Genres"])},music:e=>{const{normalize:t}=e;return t(["Musique"])},playlists:e=>{const{normalize:t}=e;return t(["Listes de lecture"])},podcasts:e=>{const{normalize:t}=e;return t(["Podcasts"])},radio:e=>{const{normalize:t}=e;return t(["Radio"])},search:e=>{const{normalize:t}=e;return t(["Recherche"])},settings:e=>{const{normalize:t}=e;return t(["Réglages"])},spotify:e=>{const{normalize:t}=e;return t(["Spotify"])},"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 napparaissent que dans les listes de lecture."])},"hide-singles":e=>{const{normalize:t}=e;return t(["Masquer les singles"])},"hide-spotify-help":e=>{const{normalize:t}=e;return t(["Si actif, masque les albums qui napparaissent que dans votre bibliothèque Spotify."])},"hide-spotify":e=>{const{normalize:t}=e;return t(["Masquer les albums de Spotify"])},title:e=>{const{normalize:t}=e;return t(["Albums"])},sort:{"artist-name":e=>{const{normalize:t}=e;return t(["Artiste Nom"])},"artist-date":e=>{const{normalize:t}=e;return t(["Artiste Date de sortie"])},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 napparaît que dans votre bibliothèque Spotify."])},"hide-spotify":e=>{const{normalize:t}=e;return t(["Masquer le contenu de Spotify"])},shuffle:e=>{const{normalize:t}=e;return t(["Lecture aléatoire"])},"track-count":e=>{const{normalize:t,interpolate:n,named:r,plural: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 napparaissent que dans des singles ou des listes de lecture."])},"hide-singles":e=>{const{normalize:t}=e;return t(["Masquer les singles"])},"hide-spotify-help":e=>{const{normalize:t}=e;return t(["Si actif, masque les artistes qui napparaissent que dans votre bibliothèque Spotify."])},"hide-spotify":e=>{const{normalize:t}=e;return t(["Masquer les artistes de Spotify"])},title:e=>{const{normalize:t}=e;return t(["Artistes"])}},audiobooks:{album:{play:e=>{const{normalize:t}=e;return t(["Lire"])},"track-count":e=>{const{normalize:t,interpolate:n,named:r,plural:o}=e;return o([t([n(r("count"))," piste"]),t([n(r("count"))," piste"]),t([n(r("count"))," pistes"])])}},albums:{count:e=>{const{normalize:t,interpolate:n,named:r,plural:o}=e;return o([t([n(r("count"))," livre audio"]),t([n(r("count"))," livre audio"]),t([n(r("count"))," livres audio"])])},title:e=>{const{normalize:t}=e;return t(["Livres audio"])}},artist:{"album-count":e=>{const{normalize:t,interpolate:n,named:r,plural:o}=e;return o([t([n(r("count"))," album"]),t([n(r("count"))," album"]),t([n(r("count"))," albums"])])},play:e=>{const{normalize:t}=e;return t(["Lire"])}},artists:{count:e=>{const{normalize:t,interpolate:n,named:r,plural:o}=e;return o([t([n(r("count"))," auteur"]),t([n(r("count"))," auteur"]),t([n(r("count"))," auteurs"])])},title:e=>{const{normalize:t}=e;return t(["Auteurs"])}},tabs:{authors:e=>{const{normalize:t}=e;return t(["Auteurs"])},audiobooks:e=>{const{normalize:t}=e;return t(["Livres audio"])},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 dattente est vide"])}},playlist:{length:e=>{const{normalize:t,interpolate:n,named:r}=e;return t([n(r("length"))," pistes"])},shuffle:e=>{const{normalize:t}=e;return t(["Lecture aléatoire"])},"track-count":e=>{const{normalize:t,interpolate:n,named:r,plural:o}=e;return o([t([n(r("count"))," piste"]),t([n(r("count"))," piste"]),t([n(r("count"))," pistes"])])}},playlists:{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:{cancel:e=>{const{normalize:t}=e;return t(["Annuler"])},play:e=>{const{normalize:t}=e;return t(["Lire"])},remove:e=>{const{normalize:t}=e;return t(["Supprimer"])},"remove-info-1":e=>{const{normalize:t}=e;return t(["Supprimer ce podcast de manière permanente de la bibliothèque ?"])},"remove-info-2":e=>{const{normalize:t}=e;return t(["Cela supprimera également la liste de lecture RSS "])},"remove-podcast":e=>{const{normalize:t}=e;return t(["Supprimer le podcast"])},"track-count":e=>{const{normalize:t,interpolate:n,named:r,plural:o}=e;return o([t([n(r("count"))," piste"]),t([n(r("count"))," piste"]),t([n(r("count"))," pistes"])])}},podcasts:{add:e=>{const{normalize:t}=e;return t(["Ajouter"])},count:e=>{const{normalize:t,interpolate:n,named:r,plural:o}=e;return o([t([n(r("count"))," podcast"]),t([n(r("count"))," podcast"]),t([n(r("count"))," podcasts"])])},"mark-all-played":e=>{const{normalize:t}=e;return t(["Marquer comme lus"])},"new-episodes":e=>{const{normalize:t}=e;return t(["Nouveaux épisodes"])},title:e=>{const{normalize:t}=e;return t(["Podcasts"])},update:e=>{const{normalize:t}=e;return t(["Actualiser"])}},queue:{"add-stream":e=>{const{normalize:t}=e;return t(["Ajouter un flux"])},clear:e=>{const{normalize:t}=e;return t(["Effacer"])},count:e=>{const{normalize:t,interpolate:n,named:r,plural:o}=e;return o([t([n(r("count"))," piste"]),t([n(r("count"))," piste"]),t([n(r("count"))," pistes"])])},edit:e=>{const{normalize:t}=e;return t(["Éditer"])},"hide-previous":e=>{const{normalize:t}=e;return t(["Masquer lhistorique"])},queue:e=>{const{normalize:t}=e;return t(["File dattente"])},save:e=>{const{normalize:t}=e;return t(["Enregistrer"])}},radio:{count:e=>{const{normalize:t,interpolate:n,named:r,plural:o}=e;return o([t([n(r("count"))," station"]),t([n(r("count"))," station"]),t([n(r("count"))," stations"])])},title:e=>{const{normalize:t}=e;return t(["Radio"])}},search:{albums:e=>{const{normalize:t}=e;return t(["Albums"])},artists:e=>{const{normalize:t}=e;return t(["Artistes"])},audiobooks:e=>{const{normalize:t}=e;return t(["Livres audio"])},composers:e=>{const{normalize:t}=e;return t(["Compositeurs"])},expression:e=>{const{normalize:t}=e;return t(["expression"])},help:e=>{const{normalize:t,interpolate:n,named:r}=e;return t(["Astuce : vous pouvez effectuer une recherche avec une ",n(r("help"))," du langage de requête de liste de lecture intelligente en préfixant votre requête avec ",n(r("query"))])},"no-results":e=>{const{normalize:t}=e;return t(["Aucun résultat trouvé"])},placeholder:e=>{const{normalize:t}=e;return t(["Recherche"])},playlists:e=>{const{normalize:t}=e;return t(["Listes de lecture"])},podcasts:e=>{const{normalize:t}=e;return t(["Podcasts"])},"show-albums":e=>{const{normalize:t,interpolate:n,named:r,plural:o}=e;return o([t(["Afficher lalbum"]),t(["Afficher les ",n(r("count"))," albums"])])},"show-artists":e=>{const{normalize:t,interpolate:n,named:r,plural:o}=e;return o([t(["Afficher lartiste"]),t(["Afficher les ",n(r("count"))," artistes"])])},"show-audiobooks":e=>{const{normalize:t,interpolate:n,named:r,plural:o}=e;return o([t(["Afficher le livre audio"]),t(["Afficher les ",n(r("count"))," livres audio"])])},"show-composers":e=>{const{normalize:t,interpolate:n,named:r,plural:o}=e;return o([t(["Afficher le compositeur"]),t(["Afficher les ",n(r("count"))," compositeurs"])])},"show-playlists":e=>{const{normalize:t,interpolate:n,named:r,plural:o}=e;return o([t(["Afficher la liste de lecture"]),t(["Afficher les ",n(r("count"))," listes de lecture"])])},"show-podcasts":e=>{const{normalize:t,interpolate:n,named:r,plural:o}=e;return o([t(["Afficher le podcast"]),t(["Afficher les ",n(r("count"))," podcasts"])])},"show-tracks":e=>{const{normalize:t,interpolate:n,named:r,plural:o}=e;return o([t(["Afficher la piste"]),t(["Afficher les ",n(r("n"))," pistes"])])},tracks:e=>{const{normalize:t}=e;return t(["Pistes"])},tabs:{library:e=>{const{normalize:t}=e;return t(["Bibliothèque"])},spotify:e=>{const{normalize:t}=e;return t(["Spotify"])}}},settings:{artwork:{artwork:e=>{const{normalize:t}=e;return t(["Illustrations"])},coverartarchive:e=>{const{normalize:t}=e;return t(["Cover Art Archive"])},discogs:e=>{const{normalize:t}=e;return t(["Discogs"])},"explanation-1":e=>{const{normalize:t}=e;return t(["Prend en charge les illustrations au format PNG et JPEG qui sont soit placées dans la bibliothèque en tant que fichiers image séparés, soit intégrées dans les fichiers média, soit mises à disposition en ligne par les stations de radio."])},"explanation-2":e=>{const{normalize:t}=e;return t(["En outre, vous pouvez activer la récupération des illustrations à partir des fournisseurs dillustrations suivants :"])},spotify:e=>{const{normalize:t}=e;return t(["Spotify"])}},devices:{"no-active-pairing":e=>{const{normalize:t}=e;return t(["Aucune demande de jumelage active."])},"pairing-code":e=>{const{normalize:t}=e;return t(["Code de jumelage"])},"pairing-request":e=>{const{normalize:t}=e;return t(["Demande de jumelage de télécommande "])},pairing:e=>{const{normalize:t}=e;return t(["Jumelage de télécommande"])},send:e=>{const{normalize:t}=e;return t(["Envoyer"])},"speaker-pairing-info":e=>{const{normalize:t}=e;return t(["Si votre enceinte nécessite un jumelage, activez-la ci-dessous et entrez le code PIN quelle affiche."])},"speaker-pairing":e=>{const{normalize:t}=e;return t(["Jumelage denceinte et vérification dappareil"])},"verification-code":e=>{const{normalize:t}=e;return t(["Code de vérification"])},verify:e=>{const{normalize:t}=e;return t(["Vérifier"])}},general:{"album-lists":e=>{const{normalize:t}=e;return t(["Listes dalbums"])},audiobooks:e=>{const{normalize:t}=e;return t(["Livres audio"])},files:e=>{const{normalize:t}=e;return t(["Fichiers"])},genres:e=>{const{normalize:t}=e;return t(["Genres"])},language:e=>{const{normalize:t}=e;return t(["Langue"])},music:e=>{const{normalize:t}=e;return t(["Musique"])},"navigation-item-selection-info":e=>{const{normalize:t}=e;return t(["Si vous sélectionnez plus déléments que ce qui peut être affiché sur votre écran, le menu disparaîtra."])},"navigation-item-selection":e=>{const{normalize:t}=e;return t(["Sélectionnez les éléments de la barre de navigation supérieure"])},"navigation-items":e=>{const{normalize:t}=e;return t(["Barre de navigation"])},"now-playing-page":e=>{const{normalize:t}=e;return t(["Page « En cours de lecture »"])},playlists:e=>{const{normalize:t}=e;return t(["Listes de lecture"])},podcasts:e=>{const{normalize:t}=e;return t(["Podcasts"])},radio:e=>{const{normalize:t}=e;return t(["Radio"])},"recently-added-page-info":e=>{const{normalize:t}=e;return t(["Limiter le nombre dalbums affichés dans la section « Ajouts récents »"])},"recently-added-page":e=>{const{normalize:t}=e;return t(["Page « Ajouts récents »"])},search:e=>{const{normalize:t}=e;return t(["Recherche"])},"show-composer-genres-info-1":e=>{const{normalize:t}=e;return t(["Liste des genres, séparés par des virgules, que le compositeur doit afficher sur la page « En cours de lecture »."])},"show-composer-genres-info-2":e=>{const{normalize:t}=e;return t(["Laissez vide pour toujours afficher le compositeur."])},"show-composer-genres-info-3":e=>{const{normalize:t}=e;return t(['Létiquette de genre de la piste actuelle est comparée en vérifiant si lun des genres définis est inclus. Par exemple, en choisissant "classique, bande sonore", le compositeur pour les pistes dont létiquette de genre est "classique contemporain" sera affiché.'])},"show-composer-genres":e=>{const{normalize:t}=e;return t(["Afficher le compositeur uniquement pour les genres listés"])},"show-composer-info":e=>{const{normalize:t}=e;return t(["Si actif, le compositeur de la piste en cours de lecture est affiché sur la page « En cours de lecture »"])},"show-composer":e=>{const{normalize:t}=e;return t(["Afficher le compositeur"])},"show-coverart":e=>{const{normalize:t}=e;return t(["Afficher les illustrations dans la liste dalbums"])},"show-path":e=>{const{normalize:t}=e;return t(["Afficher le chemin du fichier sur la page « En cours de lecture »"])}},services:{lastfm:{"grant-access":e=>{const{normalize:t}=e;return t(["Connectez-vous avec votre nom dutilisateur et votre mot de passe Last.fm pour activer le scrobbling."])},info:e=>{const{normalize:t}=e;return t(["Le nom dutilisateur et le mot de passe Last.fm ne sont pas enregistrés, uniquement la clé de session. La clé de session nexpire pas."])},title:e=>{const{normalize:t}=e;return t(["Last.fm"])},"no-support":e=>{const{normalize:t}=e;return t(["Loption Last.fm nest pas présente."])}},spotify:{"no-support":e=>{const{normalize:t}=e;return t(["Loption Spotify nest pas présente."])},"logged-as":e=>{const{normalize:t}=e;return t(["Connecté en tant que "])},requirements:e=>{const{normalize:t}=e;return t(["Vous devez posséder un compte Spotify Premium."])},scopes:e=>{const{normalize:t}=e;return t(["Laccès à lAPI de Spotify permet lanalyse de votre bibliothèque Spotify. Les champs dapplication requis sont les suivants :"])},user:e=>{const{normalize:t}=e;return t(["Accès autorisé pour "])},authorize:e=>{const{normalize:t}=e;return t(["Autoriser laccès à lAPI"])},"grant-access":e=>{const{normalize:t}=e;return t(["Accordez laccès à lAPI de Spotify"])},reauthorize:e=>{const{normalize:t}=e;return t(["Veuillez autoriser à nouveau laccès à lAPI pour accorder à OwnTone les droits daccès supplémentaires suivants :"])},title:e=>{const{normalize:t}=e;return t(["Spotify"])}},login:e=>{const{normalize:t}=e;return t(["Se connecter"])},logout:e=>{const{normalize:t}=e;return t(["Se déconnecter"])},password:e=>{const{normalize:t}=e;return t(["Mot de passe"])},username:e=>{const{normalize:t}=e;return t(["Nom dutilisateur"])}},tabs:{artwork:e=>{const{normalize:t}=e;return t(["Illustrations"])},general:e=>{const{normalize:t}=e;return t(["Général"])},"online-services":e=>{const{normalize:t}=e;return t(["Services en ligne"])},"remotes-and-outputs":e=>{const{normalize:t}=e;return t(["Télécommandes et sorties"])}}},spotify:{album:{shuffle:e=>{const{normalize:t}=e;return t(["Lecture aléatoire"])},"track-count":e=>{const{normalize:t,interpolate:n,named:r,plural:o}=e;return o([t([n(r("count"))," piste"]),t([n(r("count"))," piste"]),t([n(r("count"))," pistes"])])}},artist:{"album-count":e=>{const{normalize:t,interpolate:n,named:r,plural:o}=e;return o([t([n(r("count"))," album"]),t([n(r("count"))," album"]),t([n(r("count"))," albums"])])},shuffle:e=>{const{normalize:t}=e;return t(["Lecture aléatoire"])}},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-results":e=>{const{normalize:t}=e;return t(["Aucun résultat trouvé"])},placeholder:e=>{const{normalize:t}=e;return t(["Recherche"])},playlists:e=>{const{normalize:t}=e;return t(["Listes de lecture"])},"show-albums":e=>{const{normalize:t,interpolate:n,named:r,plural:o}=e;return o([t(["Afficher lalbum"]),t(["Afficher les ",n(r("count"))," albums"])])},"show-artists":e=>{const{normalize:t,interpolate:n,named:r,plural:o}=e;return o([t(["Afficher lartiste"]),t(["Afficher les ",n(r("count"))," artistes"])])},"show-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-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:{folder:e=>{const{normalize:t}=e;return t(["Dossier"])},plain:e=>{const{normalize:t}=e;return t(["Simple"])},smart:e=>{const{normalize:t}=e;return t(["Intelligente"])}}},player:{button:{consume:e=>{const{normalize:t}=e;return t(["Effacer lhistorique"])},pause:e=>{const{normalize:t}=e;return t(["Mettre la lecture en pause"])},play:e=>{const{normalize:t}=e;return t(["Lire"])},repeat:e=>{const{normalize:t}=e;return t(["Répéter toutes les pistes"])},"repeat-off":e=>{const{normalize:t}=e;return t(["Lire les pistes une fois"])},"repeat-once":e=>{const{normalize:t}=e;return t(["Répéter la piste en cours"])},"seek-backward":e=>{const{normalize:t}=e;return t(["Reculer dans la piste"])},"seek-forward":e=>{const{normalize:t}=e;return t(["Avancer dans la piste"])},shuffle:e=>{const{normalize:t}=e;return t(["Lire les pistes aléatoirement"])},"shuffle-disabled":e=>{const{normalize:t}=e;return t(["Lire les pistes dans lordre"])},"skip-backward":e=>{const{normalize:t}=e;return t(["Reculer à la piste précédente"])},"skip-forward":e=>{const{normalize:t}=e;return t(["Avancer à la piste suivante"])},stop:e=>{const{normalize:t}=e;return t(["Arrêter la lecture"])},"toggle-lyrics":e=>{const{normalize:t}=e;return t(["Voir/Cacher les paroles"])}}},setting:{"not-saved":e=>{const{normalize:t}=e;return t([" (erreur à lenregistrement du réglage)"])},saved:e=>{const{normalize:t}=e;return t([" (réglage enregistré)"])}},server:{"connection-failed":e=>{const{normalize:t}=e;return t(["Échec de connexion au serveur"])},"missing-port":e=>{const{normalize:t}=e;return t(["Port websocket manquant"])},"request-failed":e=>{const{normalize:t,interpolate:n,named:r}=e;return t(["La requête a échoué (status: ",n(r("status"))," ",n(r("cause"))," ",n(r("url")),")"])},"queue-saved":e=>{const{normalize:t,interpolate:n,named:r}=e;return t(["La file dattente enregistrée dans la liste de lecture ",n(r("name"))])},"appended-tracks":e=>{const{normalize:t,interpolate:n,named:r,plural:o}=e;return o([t([n(r("count"))," piste ajoutée à la file dattente"]),t([n(r("count"))," pistes ajoutées à la file dattente"])])},"empty-queue":e=>{const{normalize:t}=e;return t(["La file dattente est vide"])}},"grouped-list":{today:e=>{const{normalize:t}=e;return t(["Aujourdhui"])},"last-week":e=>{const{normalize:t}=e;return t(["La semaine dernière"])},"last-month":e=>{const{normalize:t}=e;return t(["Le mois dernier"])},undefined:e=>{const{normalize:t}=e;return t(["Indéfini"])}},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-CN":{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:{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(["路径"])},tracks: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-CN":e=>{const{normalize:t}=e;return t(["簡體中文"])},"zh-TW":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:{"artist-name":e=>{const{normalize:t}=e;return t(["艺人 名称"])},"artist-date":e=>{const{normalize:t}=e;return t(["艺人 发行日期"])},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:{cancel:e=>{const{normalize:t}=e;return t(["取消"])},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-results":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-results":e=>{const{normalize:t}=e;return t(["未找到结果"])},placeholder:e=>{const{normalize:t}=e;return t(["搜索"])},playlists: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-playlists":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(["曲目"])}}}},playlist:{type:{folder:e=>{const{normalize:t}=e;return t(["文件夹"])},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(["清单是空的"])}},"grouped-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(["上月"])},undefined: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"))," 信道"])])}}}},{"zh-TW":{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:{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(["新增一個可生成播放列表的Podcast 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(["新增Podcast"])}},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(["移除Podcast"])},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(["路徑"])},tracks: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-CN":e=>{const{normalize:t}=e;return t(["簡體中文"])},"zh-TW":e=>{const{normalize:t}=e;return t(["繁體中文"])}},list:{albums:{"info-1":e=>{const{normalize:t}=e;return t(["從資料庫中永久移除該Podcast嗎"])},"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(["移除Podcast"])}},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(["Podcast"])}}},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(["Podcast"])},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:{"artist-name":e=>{const{normalize:t}=e;return t(["藝人 名稱"])},"artist-date":e=>{const{normalize:t}=e;return t(["藝人 發行日期"])},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:{cancel:e=>{const{normalize:t}=e;return t(["取消"])},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(["從資料庫中永久移除該Podcast"])},"remove-info-2":e=>{const{normalize:t}=e;return t(["這也將移除該PodcastRSS列表 "])},"remove-podcast":e=>{const{normalize:t}=e;return t(["移除Podcast"])},"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"))," 個Podcast"]),t([n(r("count"))," 個Podcast"])])},"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(["Podcast"])},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-results":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(["Podcast"])},"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(["顯示Podcast"]),t(["顯示所有 ",n(r("count"))," 個Podcast"])])},"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(["Podcast"])},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-results":e=>{const{normalize:t}=e;return t(["未找到結果"])},placeholder:e=>{const{normalize:t}=e;return t(["搜尋"])},playlists: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-playlists":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(["曲目"])}}}},playlist:{type:{folder:e=>{const{normalize:t}=e;return t(["檔案夾"])},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(["清單是空的"])}},"grouped-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(["上月"])},undefined: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"))," 信道"])])}}}}),ql=CS({availableLocales:"zh-TW",fallbackLocale:"en",fallbackWarn:!1,legacy:!1,locale:navigator.language,messages:PS,missingWarn:!1}),dr=jn("NotificationsStore",{state:()=>({list:[],next_id:1}),actions:{add(e){const t={id:this.next_id++,text:e.text,timeout:e.timeout,topic:e.topic,type:e.type};if(t.topic){const n=this.list.findIndex(r=>r.topic===t.topic);if(n>=0){this.list.splice(n,1,t);return}}this.list.push(t),e.timeout>0&&setTimeout(()=>{this.remove(t)},e.timeout)},remove(e){const t=this.list.indexOf(e);t!==-1&&this.list.splice(t,1)}}}),En=jn("PlayerStore",{state:()=>({consume:!1,item_id:0,item_length_ms:0,item_progress_ms:0,repeat:"off",shuffle:!1,state:"stop",volume:0})}),tr=jn("QueueStore",{state:()=>({count:0,items:[],version:0}),getters:{current(e){const t=En();return e.items.find(n=>n.id===t.item_id)??{}}}}),{t:ns}=ql.global;ue.interceptors.response.use(e=>e,e=>(e.request.status&&e.request.responseURL&&dr().add({text:ns("server.request-failed",{cause:e.request.statusText,status:e.request.status,url:e.request.responseURL}),type:"danger"}),Promise.reject(e)));const B={config(){return ue.get("./api/config")},lastfm(){return ue.get("./api/lastfm")},lastfm_login(e){return ue.post("./api/lastfm-login",e)},lastfm_logout(){return ue.get("./api/lastfm-logout")},library_add(e){return ue.post("./api/library/add",null,{params:{url:e}})},library_album(e){return ue.get(`./api/library/albums/${e}`)},library_album_track_update(e,t){return ue.put(`./api/library/albums/${e}/tracks`,null,{params:t})},library_album_tracks(e,t={limit:-1,offset:0}){return ue.get(`./api/library/albums/${e}/tracks`,{params:t})},library_albums(e){return ue.get("./api/library/albums",{params:{media_kind:e}})},library_artist(e){return ue.get(`./api/library/artists/${e}`)},library_artist_albums(e){return ue.get(`./api/library/artists/${e}/albums`)},library_artist_tracks(e){const t={expression:`songartistid is "${e}"`,type:"tracks"};return ue.get("./api/search",{params:t})},library_artists(e){return ue.get("./api/library/artists",{params:{media_kind:e}})},library_composer(e){return ue.get(`./api/library/composers/${encodeURIComponent(e)}`)},library_composer_albums(e){const t={expression:`composer is "${e}" and media_kind is music`,type:"albums"};return ue.get("./api/search",{params:t})},library_composer_tracks(e){const t={expression:`composer is "${e}" and media_kind is music`,type:"tracks"};return ue.get("./api/search",{params:t})},library_composers(e){return ue.get("./api/library/composers",{params:{media_kind:e}})},library_count(e){return ue.get(`./api/library/count?expression=${e}`)},library_files(e){return ue.get("./api/library/files",{params:{directory:e}})},library_genre(e,t){const n={expression:`genre is "${e}" and media_kind is ${t}`,type:"genres"};return ue.get("./api/search",{params:n})},library_genre_albums(e,t){const n={expression:`genre is "${e}" and media_kind is ${t}`,type:"albums"};return ue.get("./api/search",{params:n})},library_genre_tracks(e,t){const n={expression:`genre is "${e}" and media_kind is ${t}`,type:"tracks"};return ue.get("./api/search",{params:n})},library_genres(e){const t={expression:`media_kind is ${e}`,type:"genres"};return ue.get("./api/search",{params:t})},library_playlist(e){return ue.get(`./api/library/playlists/${e}`)},library_playlist_delete(e){return ue.delete(`./api/library/playlists/${e}`,null)},library_playlist_folder(e=0){return ue.get(`./api/library/playlists/${e}/playlists`)},library_playlist_tracks(e){return ue.get(`./api/library/playlists/${e}/tracks`)},library_podcast_episodes(e){const t={expression:`media_kind is podcast and songalbumid is "${e}" ORDER BY date_released DESC`,type:"tracks"};return ue.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 ue.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 ue.get("./api/search",{params:e})},library_rescan(e){return ue.put("./api/rescan",null,{params:{scan_kind:e}})},library_stats(){return ue.get("./api/library")},library_track(e){return ue.get(`./api/library/tracks/${e}`)},library_track_playlists(e){return ue.get(`./api/library/tracks/${e}/playlists`)},library_track_update(e,t={}){return ue.put(`./api/library/tracks/${e}`,null,{params:t})},library_update(e){return ue.put("./api/update",null,{params:{scan_kind:e}})},output_toggle(e){return ue.put(`./api/outputs/${e}/toggle`)},output_update(e,t){return ue.put(`./api/outputs/${e}`,t)},outputs(){return ue.get("./api/outputs")},pairing(){return ue.get("./api/pairing")},pairing_kickoff(e){return ue.post("./api/pairing",e)},player_consume(e){return ue.put(`./api/player/consume?state=${e}`)},player_next(){return ue.put("./api/player/next")},player_output_volume(e,t){return ue.put(`./api/player/volume?volume=${t}&output_id=${e}`)},player_pause(){return ue.put("./api/player/pause")},player_play(e={}){return ue.put("./api/player/play",null,{params:e})},player_play_expression(e,t,n){const r={clear:"true",expression:e,playback:"start",playback_from_position:n,shuffle:t};return ue.post("./api/queue/items/add",null,{params:r})},player_play_uri(e,t,n){const r={clear:"true",playback:"start",playback_from_position:n,shuffle:t,uris:e};return ue.post("./api/queue/items/add",null,{params:r})},player_previous(){return ue.put("./api/player/previous")},player_repeat(e){return ue.put(`./api/player/repeat?state=${e}`)},player_seek(e){return ue.put(`./api/player/seek?seek_ms=${e}`)},player_seek_to_pos(e){return ue.put(`./api/player/seek?position_ms=${e}`)},player_shuffle(e){return ue.put(`./api/player/shuffle?state=${e}`)},player_status(){return ue.get("./api/player")},player_stop(){return ue.put("./api/player/stop")},player_volume(e){return ue.put(`./api/player/volume?volume=${e}`)},queue(){return ue.get("./api/queue")},queue_add(e){return ue.post(`./api/queue/items/add?uris=${e}`).then(t=>(dr().add({text:ns("server.appended-tracks",{count:t.data.count}),timeout:2e3,type:"info"}),Promise.resolve(t)))},queue_add_next(e){let t=0;const{current:n}=tr();return n!=null&&n.id&&(t=n.position+1),ue.post(`./api/queue/items/add?uris=${e}&position=${t}`).then(r=>(dr().add({text:ns("server.appended-tracks",{count:r.data.count}),timeout:2e3,type:"info"}),Promise.resolve(r)))},queue_clear(){return ue.put("./api/queue/clear")},queue_expression_add(e){return ue.post("./api/queue/items/add",null,{params:{expression:e}}).then(t=>(dr().add({text:ns("server.appended-tracks",{count:t.data.count}),timeout:2e3,type:"info"}),Promise.resolve(t)))},queue_expression_add_next(e){const t={};t.expression=e,t.position=0;const{current:n}=tr();return n!=null&&n.id&&(t.position=n.position+1),ue.post("./api/queue/items/add",null,{params:t}).then(r=>(dr().add({text:ns("server.appended-tracks",{count:r.data.count}),timeout:2e3,type:"info"}),Promise.resolve(r)))},queue_move(e,t){return ue.put(`./api/queue/items/${e}?new_position=${t}`)},queue_remove(e){return ue.delete(`./api/queue/items/${e}`)},queue_save_playlist(e){return ue.post("./api/queue/save",null,{params:{name:e}}).then(t=>(dr().add({text:ns("server.queue-saved",{name:e}),timeout:2e3,type:"info"}),Promise.resolve(t)))},search(e){return ue.get("./api/search",{params:e})},settings(){return ue.get("./api/settings")},settings_update(e,t){return ue.put(`./api/settings/${e}/${t.name}`,t)},spotify(){return ue.get("./api/spotify")},spotify_logout(){return ue.get("./api/spotify-logout")}},ae=(e,t)=>{const n=e.__vccOpts||e;for(const[r,o]of t)n[r]=o;return n},IS={name:"ModalDialogRemotePairing",props:{show:Boolean},emits:["close"],setup(){return{remoteStore:Nd()}},data(){return{pairing_req:{pin:""}}},computed:{pairing(){return this.remoteStore.pairing}},watch:{show(){this.show&&(this.loading=!1,setTimeout(()=>{this.$refs.pin_field.focus()},10))}},methods:{kickoff_pairing(){B.pairing_kickoff(this.pairing_req).then(()=>{this.pairing_req.pin=""})}}},LS={key:0,class:"modal is-active"},NS={class:"modal-content"},DS={class:"card"},RS={class:"card-content"},MS=["textContent"],FS=["textContent"],VS={class:"field"},HS={class:"control"},US=["placeholder"],jS={class:"card-footer is-clipped"},BS=["textContent"],WS=["textContent"];function qS(e,t,n,r,o,s){const i=O("mdicon");return x(),we(Rt,{name:"fade"},{default:N(()=>[n.show?(x(),I("div",LS,[c("div",{class:"modal-background",onClick:t[0]||(t[0]=a=>e.$emit("close"))}),c("div",NS,[c("div",DS,[c("div",RS,[c("p",{class:"title is-4",textContent:y(e.$t("dialog.remote-pairing.title"))},null,8,MS),c("form",{onSubmit:t[2]||(t[2]=gt((...a)=>s.kickoff_pairing&&s.kickoff_pairing(...a),["prevent"]))},[c("label",{class:"label",textContent:y(s.pairing.remote)},null,8,FS),c("div",VS,[c("div",HS,[ht(c("input",{ref:"pin_field","onUpdate:modelValue":t[1]||(t[1]=a=>o.pairing_req.pin=a),class:"input",inputmode:"numeric",pattern:"[\\d]{4}",placeholder:e.$t("dialog.remote-pairing.pairing-code")},null,8,US),[[_n,o.pairing_req.pin]])])])],32)]),c("footer",jS,[c("a",{class:"card-footer-item has-text-danger",onClick:t[3]||(t[3]=a=>e.$emit("close"))},[b(i,{class:"icon",name:"cancel",size:"16"}),c("span",{class:"is-size-7",textContent:y(e.$t("dialog.remote-pairing.cancel"))},null,8,BS)]),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))},[b(i,{class:"icon",name:"cellphone",size:"16"}),c("span",{class:"is-size-7",textContent:y(e.$t("dialog.remote-pairing.pair"))},null,8,WS)])])])]),c("button",{class:"modal-close is-large","aria-label":"close",onClick:t[5]||(t[5]=a=>e.$emit("close"))})])):ee("",!0)]),_:1})}const GS=ae(IS,[["render",qS]]),KS={name:"ModalDialog",props:{close_action:{default:"",type:String},delete_action:{default:"",type:String},ok_action:{default:"",type:String},show:Boolean,title:{required:!0,type:String}},emits:["delete","close","ok"]},ZS={key:0,class:"modal is-active"},YS={class:"modal-content"},XS={class:"card"},JS={class:"card-content"},QS=["textContent"],ex={class:"card-footer is-clipped"},tx=["textContent"],nx=["textContent"],rx=["textContent"];function ox(e,t,n,r,o,s){const i=O("mdicon");return x(),we(Rt,{name:"fade"},{default:N(()=>[n.show?(x(),I("div",ZS,[c("div",{class:"modal-background",onClick:t[0]||(t[0]=a=>e.$emit("close"))}),c("div",YS,[c("div",XS,[c("div",JS,[n.title?(x(),I("p",{key:0,class:"title is-4",textContent:y(n.title)},null,8,QS)):ee("",!0),vt(e.$slots,"modal-content")]),c("footer",ex,[c("a",{class:"card-footer-item has-text-dark",onClick:t[1]||(t[1]=a=>e.$emit("close"))},[b(i,{class:"icon",name:"cancel",size:"16"}),c("span",{class:"is-size-7",textContent:y(n.close_action)},null,8,tx)]),n.delete_action?(x(),I("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"))},[b(i,{class:"icon",name:"delete",size:"16"}),c("span",{class:"is-size-7",textContent:y(n.delete_action)},null,8,nx)])):ee("",!0),n.ok_action?(x(),I("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"))},[b(i,{class:"icon",name:"check",size:"16"}),c("span",{class:"is-size-7",textContent:y(n.ok_action)},null,8,rx)])):ee("",!0)])])]),c("button",{class:"modal-close is-large","aria-label":"close",onClick:t[4]||(t[4]=a=>e.$emit("close"))})])):ee("",!0)]),_:3})}const Zd=ae(KS,[["render",ox]]),Gl=jn("LibraryStore",{state:()=>({albums:0,artists:0,db_playtime:0,songs:0,rss:{},started_at:"01",updated_at:"01",update_dialog_scan_kind:"",updating:!1})}),Pt=jn("ServicesStore",{state:()=>({lastfm:{},spotify:{}})}),sx={name:"ModalDialogUpdate",components:{ModalDialog:Zd},props:{show:Boolean},emits:["close"],setup(){return{libraryStore:Gl(),servicesStore:Pt()}},data(){return{rescan_metadata:!1}},computed:{library(){return this.libraryStore.$state},rss(){return this.libraryStore.rss},spotify_enabled(){return this.servicesStore.spotify.webapi_token_valid},update_dialog_scan_kind:{get(){return this.library.update_dialog_scan_kind},set(e){this.library.update_dialog_scan_kind=e}}},methods:{close(){this.update_dialog_scan_kind="",this.$emit("close")},update_library(){this.rescan_metadata?B.library_rescan(this.update_dialog_scan_kind):B.library_update(this.update_dialog_scan_kind)}}},ix={key:0},ax=["textContent"],lx={key:0,class:"field"},cx={class:"control"},ux={class:"select is-small"},dx=["textContent"],mx=["textContent"],fx=["textContent"],px=["textContent"],hx={class:"field"},_x=["textContent"],gx={key:1},yx=["textContent"];function zx(e,t,n,r,o,s){const i=O("modal-dialog");return x(),we(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":N(()=>[s.library.updating?(x(),I("div",gx,[c("p",{class:"mb-3",textContent:y(e.$t("dialog.update.progress"))},null,8,yx)])):(x(),I("div",ix,[c("p",{class:"mb-3",textContent:y(e.$t("dialog.update.info"))},null,8,ax),s.spotify_enabled||s.rss.tracks>0?(x(),I("div",lx,[c("div",cx,[c("div",ux,[ht(c("select",{"onUpdate:modelValue":t[0]||(t[0]=a=>s.update_dialog_scan_kind=a)},[c("option",{value:"",textContent:y(e.$t("dialog.update.all"))},null,8,dx),c("option",{value:"files",textContent:y(e.$t("dialog.update.local"))},null,8,mx),s.spotify_enabled?(x(),I("option",{key:0,value:"spotify",textContent:y(e.$t("dialog.update.spotify"))},null,8,fx)):ee("",!0),s.rss.tracks>0?(x(),I("option",{key:1,value:"rss",textContent:y(e.$t("dialog.update.feeds"))},null,8,px)):ee("",!0)],512),[[Ld,s.update_dialog_scan_kind]])])])])):ee("",!0),c("div",hx,[ht(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),[[Mn,o.rescan_metadata]]),c("label",{for:"rescan",textContent:y(e.$t("dialog.update.rescan-metadata"))},null,8,_x)])]))]),_:1},8,["show","title","ok_action","close_action","onOk"])}const vx=ae(sx,[["render",zx]]),bx={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}}},Cx=["value","disabled","max"];function wx(e,t,n,r,o,s){return x(),I("input",{value:n.value,disabled:n.disabled,class:ke(["slider",{"is-inactive":n.disabled}]),max:n.max,type:"range",style:co({"--ratio":s.ratio,"--cursor":e.$filters.cursor(n.cursor)}),onInput:t[0]||(t[0]=i=>e.$emit("update:value",i.target.valueAsNumber))},null,46,Cx)}const Yd=ae(bx,[["render",wx]]),yn=jn("UIStore",{state:()=>({albums_sort:1,artist_albums_sort:1,artist_tracks_sort:1,artists_sort:1,composer_tracks_sort:1,genre_tracks_sort:1,hide_singles:!1,hide_spotify:!1,show_burger_menu:!1,show_only_next_items:!1,show_player_menu:!1,show_update_dialog:!1})}),kx={name:"NavbarItemLink",props:{to:{required:!0,type:Object}},setup(){return{uiStore:yn()}},computed:{href(){return this.$router.resolve(this.to).href}},methods:{open(){this.uiStore.show_burger_menu&&(this.uiStore.show_burger_menu=!1),this.uiStore.show_player_menu&&(this.uiStore.show_player_menu=!1),this.$router.push(this.to)}}},Sx=["href"];function xx(e,t,n,r,o,s){return x(),I("a",{class:"navbar-item",href:s.href,onClick:t[0]||(t[0]=gt((...i)=>s.open&&s.open(...i),["stop","prevent"]))},[vt(e.$slots,"default")],8,Sx)}const Ay=ae(kx,[["render",xx]]);var Ex="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",$x="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",Tx="M13 14H11V9H13M13 18H11V16H13M1 21H23L12 2L1 21Z",Ax="M19.92,12.08L12,20L4.08,12.08L5.5,10.67L11,16.17V2H13V16.17L18.5,10.66L19.92,12.08M12,20H2V22H22V20H12Z",Ox="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",Px="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",Ix="M9 3V18H12V3H9M12 5L16 18L19 17L15 4L12 5M5 5V18H8V5H5M3 19V21H21V19H3Z",Lx="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",Kl="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",Nx="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",Dx="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",Rx="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",Mx="M21,7L9,19L3.5,13.5L4.91,12.09L9,16.17L19.59,5.59L21,7Z",Fx="M7.41,8.58L12,13.17L16.59,8.58L18,10L12,16L6,10L7.41,8.58Z",Vx="M15.41,16.58L10.83,12L15.41,7.41L14,6L8,12L14,18L15.41,16.58Z",Hx="M7.41,15.41L12,10.83L16.59,15.41L18,14L12,8L6,14L7.41,15.41Z",Ux="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",jx="M19,4H15.5L14.5,3H9.5L8.5,4H5V6H19M6,19A2,2 0 0,0 8,21H16A2,2 0 0,0 18,19V7H6V19Z",Bx="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",Wx="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",qx="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",Gx="M3,15V13H5V15H3M3,11V9H5V11H3M7,15V13H9V15H7M7,11V9H9V11H7M11,15V13H13V15H11M11,11V9H13V11H11M15,15V13H17V15H15M15,11V9H17V11H15M19,15V13H21V15H19M19,11V9H21V11H19Z",Kx="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",Zx="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",Yx="M14,2H6A2,2 0 0,0 4,4V20A2,2 0 0,0 6,22H18A2,2 0 0,0 20,20V8L14,2M18,20H6V4H13V9H18V20Z",Xx="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",Jx="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",Qx="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",eE="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",tE="M12,4V2A10,10 0 0,0 2,12H4A8,8 0 0,1 12,4Z",nE="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",rE="M3,6H21V8H3V6M3,11H21V13H3V11M3,16H21V18H3V16Z",oE="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",sE="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",iE="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",aE="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",lE="M14,19H18V5H14M6,19H10V5H6V19Z",cE="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",uE="M22,14H20V16H14V13H16V11H14V6A2,2 0 0,0 12,4H4V2H2V10H4V8H10V11H8V13H10V18A2,2 0 0,0 12,20H20V22H22",dE="M8,5.14V19.14L19,12.14L8,5.14Z",mE="M3 10H14V12H3V10M3 6H14V8H3V6M3 14H10V16H3V14M16 13V21L22 17L16 13Z",fE="M3 16H10V14H3M18 14V10H16V14H12V16H16V20H18V16H22V14M14 6H3V8H14M14 10H3V12H14V10Z",pE="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",hE="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",_E="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",gE="M17,17H7V14L3,18L7,22V19H19V13H17M7,7H17V10L21,6L17,2V5H5V11H7V7Z",yE="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",zE="M13,15V9H12L10,10V11H11.5V15M17,17H7V14L3,18L7,22V19H19V13H17M7,7H17V10L21,6L17,2V5H5V11H7V7Z",vE="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",bE="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",CE="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",wE="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",kE="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",SE="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",xE="M16,4.5V7H5V9H16V11.5L19.5,8M16,12.5V15H5V17H16V19.5L19.5,16",EE="M20,5V19L13,12M6,5V19H4V5M13,5V19L6,12",$E="M4,5V19L11,12M18,5V19H20V5M11,5V19L18,12",TE="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",AE="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",OE="M18,18H6V6H18V18Z",PE="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",IE="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",LE="M16.36,14C16.44,13.34 16.5,12.68 16.5,12C16.5,11.32 16.44,10.66 16.36,10H19.74C19.9,10.64 20,11.31 20,12C20,12.69 19.9,13.36 19.74,14M14.59,19.56C15.19,18.45 15.65,17.25 15.97,16H18.92C17.96,17.65 16.43,18.93 14.59,19.56M14.34,14H9.66C9.56,13.34 9.5,12.68 9.5,12C9.5,11.32 9.56,10.65 9.66,10H14.34C14.43,10.65 14.5,11.32 14.5,12C14.5,12.68 14.43,13.34 14.34,14M12,19.96C11.17,18.76 10.5,17.43 10.09,16H13.91C13.5,17.43 12.83,18.76 12,19.96M8,8H5.08C6.03,6.34 7.57,5.06 9.4,4.44C8.8,5.55 8.35,6.75 8,8M5.08,16H8C8.35,17.25 8.8,18.45 9.4,19.56C7.57,18.93 6.03,17.65 5.08,16M4.26,14C4.1,13.36 4,12.69 4,12C4,11.31 4.1,10.64 4.26,10H7.64C7.56,10.66 7.5,11.32 7.5,12C7.5,12.68 7.56,13.34 7.64,14M12,4.03C12.83,5.23 13.5,6.57 13.91,8H10.09C10.5,6.57 11.17,5.23 12,4.03M18.92,8H15.97C15.65,6.75 15.19,5.55 14.59,4.44C16.43,5.07 17.96,6.34 18.92,8M12,2C6.47,2 2,6.5 2,12A10,10 0 0,0 12,22A10,10 0 0,0 22,12A10,10 0 0,0 12,2Z";const NE={name:"NavbarItemOutput",components:{ControlSlider:Yd},props:{output:{required:!0,type:Object}},data(){return{cursor:Kl,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(){B.player_output_volume(this.output.id,this.volume)},set_enabled(){const e={selected:!this.output.selected};B.output_update(this.output.id,e)}}},DE={class:"navbar-item"},RE={class:"level is-mobile"},ME={class:"level-left is-flex-grow-1"},FE={class:"level-item is-flex-grow-0"},VE={class:"level-item"},HE={class:"is-flex-grow-1"},UE=["textContent"];function jE(e,t,n,r,o,s){const i=O("mdicon"),a=O("control-slider");return x(),I("div",DE,[c("div",RE,[c("div",ME,[c("div",FE,[c("a",{class:ke(["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))},[b(i,{class:"icon",name:s.type_class,size:"18",title:n.output.type},null,8,["name","title"])],2)]),c("div",VE,[c("div",HE,[c("p",{class:ke(["heading",{"has-text-grey-light":!n.output.selected}]),textContent:y(n.output.name)},null,10,UE),b(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 BE=ae(NE,[["render",jE]]),WE={name:"PlayerButtonConsume",props:{icon_size:{default:16,type:Number}},setup(){return{playerStore:En()}},computed:{is_consume(){return this.playerStore.consume}},methods:{toggle_consume_mode(){B.player_consume(!this.is_consume)}}};function qE(e,t,n,r,o,s){const i=O("mdicon");return x(),I("a",{class:ke({"is-info":s.is_consume}),onClick:t[0]||(t[0]=(...a)=>s.toggle_consume_mode&&s.toggle_consume_mode(...a))},[b(i,{class:"icon",name:"fire",size:n.icon_size,title:e.$t("player.button.consume")},null,8,["size","title"])],2)}const GE=ae(WE,[["render",qE]]),Zl=jn("LyricsStore",{state:()=>({content:[],pane:!1})}),KE={name:"PlayerButtonLyrics",props:{icon_size:{default:16,type:Number}},setup(){return{lyricsStore:Zl()}},computed:{icon_name(){return this.is_active?"script-text-play":"script-text-outline"},is_active(){return this.lyricsStore.pane}},methods:{toggle_lyrics(){this.lyricsStore.pane=!this.lyricsStore.pane}}};function ZE(e,t,n,r,o,s){const i=O("mdicon");return x(),I("a",{class:ke({"is-info":s.is_active}),onClick:t[0]||(t[0]=(...a)=>s.toggle_lyrics&&s.toggle_lyrics(...a))},[b(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 YE=ae(KE,[["render",ZE]]),XE={name:"PlayerButtonNext",props:{icon_size:{default:16,type:Number}},computed:{disabled(){var e;return((e=tr())==null?void 0:e.count)<=0}},methods:{play_next(){this.disabled||B.player_next()}}},JE=["disabled"];function QE(e,t,n,r,o,s){const i=O("mdicon");return x(),I("a",{disabled:s.disabled,onClick:t[0]||(t[0]=(...a)=>s.play_next&&s.play_next(...a))},[b(i,{name:"skip-forward",size:n.icon_size,title:e.$t("player.button.skip-forward")},null,8,["size","title"])],8,JE)}const e2=ae(XE,[["render",QE]]),t2={name:"PlayerButtonPlayPause",props:{icon_size:{default:16,type:Number},show_disabled_message:Boolean},setup(){return{notificationsStore:dr(),playerStore:En(),queueStore:tr()}},computed:{disabled(){var e;return((e=this.queueStore)==null?void 0:e.count)<=0},icon_name(){if(this.is_playing){if(this.is_pause_allowed)return"pause"}else return"play";return"stop"},is_pause_allowed(){const{current:e}=this.queueStore;return e&&e.data_kind!=="pipe"},is_playing(){return this.playerStore.state==="play"}},methods:{toggle_play_pause(){if(this.disabled){this.show_disabled_message&&this.notificationsStore.add({text:this.$t("server.empty-queue"),timeout:2e3,topic:"connection",type:"info"});return}this.is_playing&&this.is_pause_allowed?B.player_pause():this.is_playing&&!this.is_pause_allowed?B.player_stop():B.player_play()}}},n2=["disabled"];function r2(e,t,n,r,o,s){const i=O("mdicon");return x(),I("a",{disabled:s.disabled,onClick:t[0]||(t[0]=(...a)=>s.toggle_play_pause&&s.toggle_play_pause(...a))},[b(i,{name:s.icon_name,size:n.icon_size,title:e.$t(`player.button.${s.icon_name}`)},null,8,["name","size","title"])],8,n2)}const o2=ae(t2,[["render",r2]]),s2={name:"PlayerButtonPrevious",props:{icon_size:{default:16,type:Number}},setup(){return{queueStore:tr()}},computed:{disabled(){return this.queueStore.count<=0}},methods:{play_previous(){this.disabled||B.player_previous()}}},i2=["disabled"];function a2(e,t,n,r,o,s){const i=O("mdicon");return x(),I("a",{disabled:s.disabled,onClick:t[0]||(t[0]=(...a)=>s.play_previous&&s.play_previous(...a))},[b(i,{name:"skip-backward",size:n.icon_size,title:e.$t("player.button.skip-backward")},null,8,["size","title"])],8,i2)}const l2=ae(s2,[["render",a2]]),c2={name:"PlayerButtonRepeat",props:{icon_size:{default:16,type:Number}},setup(){return{playerStore:En()}},computed:{icon_name(){return this.is_repeat_all?"repeat":this.is_repeat_single?"repeat-once":"repeat-off"},is_repeat_all(){return this.playerStore.repeat==="all"},is_repeat_off(){return!this.is_repeat_all&&!this.is_repeat_single},is_repeat_single(){return this.playerStore.repeat==="single"}},methods:{toggle_repeat_mode(){this.is_repeat_all?B.player_repeat("single"):this.is_repeat_single?B.player_repeat("off"):B.player_repeat("all")}}};function u2(e,t,n,r,o,s){const i=O("mdicon");return x(),I("a",{class:ke({"is-info":!s.is_repeat_off}),onClick:t[0]||(t[0]=(...a)=>s.toggle_repeat_mode&&s.toggle_repeat_mode(...a))},[b(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 d2=ae(c2,[["render",u2]]),m2={name:"PlayerButtonSeekBack",props:{icon_size:{default:16,type:Number},seek_ms:{required:!0,type:Number}},setup(){return{playerStore:En(),queueStore:tr()}},computed:{disabled(){var e;return((e=this.queueStore)==null?void 0:e.count)<=0||this.is_stopped||this.current.data_kind==="pipe"},is_stopped(){return this.player.state==="stop"},current(){return this.queueStore.current},player(){return this.playerStore},visible(){return["podcast","audiobook"].includes(this.current.media_kind)}},methods:{seek(){this.disabled||B.player_seek(this.seek_ms*-1)}}},f2=["disabled"];function p2(e,t,n,r,o,s){const i=O("mdicon");return s.visible?(x(),I("a",{key:0,disabled:s.disabled,onClick:t[0]||(t[0]=(...a)=>s.seek&&s.seek(...a))},[b(i,{name:"rewind-10",size:n.icon_size,title:e.$t("player.button.seek-backward")},null,8,["size","title"])],8,f2)):ee("",!0)}const h2=ae(m2,[["render",p2]]),_2={name:"PlayerButtonSeekForward",props:{icon_size:{default:16,type:Number},seek_ms:{required:!0,type:Number}},setup(){return{playerStore:En(),queueStore:tr()}},computed:{disabled(){var e;return((e=this.queueStore)==null?void 0:e.count)<=0||this.is_stopped||this.current.data_kind==="pipe"},is_stopped(){return this.player.state==="stop"},current(){return this.queueStore.current},player(){return this.playerStore},visible(){return["podcast","audiobook"].includes(this.current.media_kind)}},methods:{seek(){this.disabled||B.player_seek(this.seek_ms)}}},g2=["disabled"];function y2(e,t,n,r,o,s){const i=O("mdicon");return s.visible?(x(),I("a",{key:0,disabled:s.disabled,onClick:t[0]||(t[0]=(...a)=>s.seek&&s.seek(...a))},[b(i,{name:"fast-forward-30",size:n.icon_size,title:e.$t("player.button.seek-forward")},null,8,["size","title"])],8,g2)):ee("",!0)}const z2=ae(_2,[["render",y2]]),v2={name:"PlayerButtonShuffle",props:{icon_size:{default:16,type:Number}},setup(){return{playerStore:En()}},computed:{icon_name(){return this.is_shuffle?"shuffle":"shuffle-disabled"},is_shuffle(){return this.playerStore.shuffle}},methods:{toggle_shuffle_mode(){B.player_shuffle(!this.is_shuffle)}}};function b2(e,t,n,r,o,s){const i=O("mdicon");return x(),I("a",{class:ke({"is-info":s.is_shuffle}),onClick:t[0]||(t[0]=(...a)=>s.toggle_shuffle_mode&&s.toggle_shuffle_mode(...a))},[b(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 C2=ae(v2,[["render",b2]]),Us={audio:new Audio,context:null,play(e){this.stop(),this.context.resume().then(()=>{this.audio.src=`${String(e||"")}?x=${Date.now()}`,this.audio.crossOrigin="anonymous",this.audio.load()})},setVolume(e){this.audio&&(this.audio.volume=Math.min(1,Math.max(0,parseFloat(e)||0)))},setup(){return this.context=new(window.AudioContext||window.webkitAudioContext),this.context.createMediaElementSource(this.audio).connect(this.context.destination),this.audio.addEventListener("canplaythrough",()=>{this.audio.play()}),this.audio.addEventListener("canplay",()=>{this.audio.play()}),this.audio},stop(){try{this.audio.pause()}catch{}try{this.audio.stop()}catch{}try{this.audio.close()}catch{}}},Xd=jn("OutputsStore",{state:()=>({outputs:[]})}),w2={name:"NavbarBottom",components:{ControlSlider:Yd,NavbarItemLink:Ay,NavbarItemOutput:BE,PlayerButtonConsume:GE,PlayerButtonLyrics:YE,PlayerButtonNext:e2,PlayerButtonPlayPause:o2,PlayerButtonPrevious:l2,PlayerButtonRepeat:d2,PlayerButtonSeekBack:h2,PlayerButtonSeekForward:z2,PlayerButtonShuffle:C2},setup(){return{notificationsStore:dr(),outputsStore:Xd(),playerStore:En(),queueStore:tr(),uiStore:yn()}},data(){return{cursor:Kl,loading:!1,old_volume:0,playing:!1,show_desktop_outputs_menu:!1,show_outputs_menu:!1,stream_volume:10}},computed:{is_now_playing_page(){return this.$route.name==="now-playing"},current(){return this.queueStore.current},outputs(){return this.outputsStore.outputs},player(){return this.playerStore},show_player_menu:{get(){return this.uiStore.show_player_menu},set(e){this.uiStore.show_player_menu=e}}},watch:{"playerStore.volume"(){this.player.volume>0&&(this.old_volume=this.player.volume)}},mounted(){this.setupAudio()},unmounted(){this.closeAudio()},methods:{change_stream_volume(){Us.setVolume(this.stream_volume/100)},change_volume(){B.player_volume(this.player.volume)},closeAudio(){Us.stop(),this.playing=!1},on_click_outside_outputs(){this.show_outputs_menu=!1},playChannel(){this.playing||(this.loading=!0,Us.play("/stream.mp3"),Us.setVolume(this.stream_volume/100))},setupAudio(){const e=Us.setup();e.addEventListener("waiting",()=>{this.playing=!1,this.loading=!0}),e.addEventListener("playing",()=>{this.playing=!0,this.loading=!1}),e.addEventListener("ended",()=>{this.playing=!1,this.loading=!1}),e.addEventListener("error",()=>{this.closeAudio(),this.notificationsStore.add({text:this.$t("navigation.stream-error"),type:"danger"}),this.playing=!1,this.loading=!1})},togglePlay(){this.loading||(this.playing&&this.closeAudio(),this.playChannel())},toggle_mute_volume(){this.player.volume=this.player.volume>0?0:this.old_volume,this.change_volume()}}},k2={class:"navbar-dropdown is-right fd-width-auto"},S2={class:"navbar-item"},x2={class:"level is-mobile"},E2={class:"level-left is-flex-grow-1"},$2={class:"level-item is-flex-grow-0"},T2={class:"level-item"},A2=["textContent"],O2=c("hr",{class:"my-3"},null,-1),P2=c("hr",{class:"my-3"},null,-1),I2={class:"navbar-item"},L2={class:"level is-mobile"},N2={class:"level-left is-flex-grow-1"},D2={class:"level-item is-flex-grow-0"},R2={class:"level-item"},M2={class:"is-flex-grow-1"},F2=["textContent"],V2={href:"stream.mp3",class:"heading ml-2",target:"_blank"},H2=c("hr",{class:"my-3"},null,-1),U2={class:"navbar-item is-justify-content-center"},j2={class:"buttons has-addons"},B2={class:"navbar-brand is-flex-grow-1"},W2={class:"fd-is-text-clipped"},q2=["textContent"],G2=c("br",null,null,-1),K2=["textContent"],Z2=["textContent"],Y2={class:"navbar-item"},X2={class:"buttons has-addons is-centered"},J2=c("hr",{class:"my-3"},null,-1),Q2={class:"navbar-item"},e$={class:"level is-mobile"},t$={class:"level-left is-flex-grow-1"},n$={class:"level-item is-flex-grow-0"},r$={class:"level-item"},o$={class:"is-flex-grow-1"},s$=["textContent"],i$=c("hr",{class:"my-3"},null,-1),a$=c("hr",{class:"my-3"},null,-1),l$={class:"navbar-item mb-5"},c$={class:"level is-mobile"},u$={class:"level-left is-flex-grow-1"},d$={class:"level-item is-flex-grow-0"},m$={class:"level-item"},f$={class:"is-flex-grow-1"},p$=["textContent"],h$={href:"stream.mp3",class:"heading ml-2",target:"_blank"};function _$(e,t,n,r,o,s){const i=O("mdicon"),a=O("control-slider"),l=O("navbar-item-output"),u=O("player-button-repeat"),m=O("player-button-shuffle"),d=O("player-button-consume"),f=O("player-button-lyrics"),p=O("navbar-item-link"),h=O("player-button-previous"),g=O("player-button-seek-back"),z=O("player-button-play-pause"),k=O("player-button-seek-forward"),w=O("player-button-next");return x(),I("nav",{class:ke(["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:ke(["navbar-item has-dropdown has-dropdown-up is-hidden-touch",{"is-active":s.show_player_menu}])},[c("div",k2,[c("div",S2,[c("div",x2,[c("div",E2,[c("div",$2,[c("a",{class:"button is-white is-small",onClick:t[0]||(t[0]=(..._)=>s.toggle_mute_volume&&s.toggle_mute_volume(..._))},[b(i,{class:"icon",name:s.player.volume>0?"volume-high":"volume-off",size:"18"},null,8,["name"])])]),c("div",T2,[c("div",null,[c("p",{class:"heading",textContent:y(e.$t("navigation.volume"))},null,8,A2),b(a,{value:s.player.volume,"onUpdate:value":t[1]||(t[1]=_=>s.player.volume=_),max:100,onChange:s.change_volume},null,8,["value","onChange"])])])])])]),O2,(x(!0),I(ve,null,_t(s.outputs,_=>(x(),we(l,{key:_.id,output:_},null,8,["output"]))),128)),P2,c("div",I2,[c("div",L2,[c("div",N2,[c("div",D2,[c("a",{class:ke(["button is-white is-small",{"has-text-grey-light":!o.playing&&!o.loading,"is-loading":o.loading}]),onClick:t[2]||(t[2]=(..._)=>s.togglePlay&&s.togglePlay(..._))},[b(i,{class:"icon",name:"broadcast",size:"18"})],2)]),c("div",R2,[c("div",M2,[c("div",{class:ke(["is-flex is-align-content-center",{"has-text-grey-light":!o.playing}])},[c("p",{class:"heading",textContent:y(e.$t("navigation.stream"))},null,8,F2),c("a",V2,[b(i,{class:"icon is-small",name:"open-in-new",size:"16"})])],2),b(a,{value:o.stream_volume,"onUpdate:value":t[3]||(t[3]=_=>o.stream_volume=_),disabled:!o.playing,max:100,cursor:o.cursor,onChange:s.change_stream_volume},null,8,["value","disabled","cursor","onChange"])])])])])]),H2,c("div",U2,[c("div",j2,[b(u,{class:"button"}),b(m,{class:"button"}),b(d,{class:"button"}),b(f,{class:"button"})])])])],2),c("div",B2,[b(p,{to:{name:"queue"},class:"mr-auto"},{default:N(()=>[b(i,{class:"icon",name:"playlist-play",size:"24"})]),_:1}),s.is_now_playing_page?ee("",!0):(x(),we(p,{key:0,to:{name:"now-playing"},exact:"",class:"is-expanded is-clipped is-size-7"},{default:N(()=>[c("div",W2,[c("strong",{textContent:y(s.current.title)},null,8,q2),G2,c("span",{textContent:y(s.current.artist)},null,8,K2),s.current.album?(x(),I("span",{key:0,textContent:y(e.$t("navigation.now-playing",{album:s.current.album}))},null,8,Z2)):ee("",!0)])]),_:1})),s.is_now_playing_page?(x(),we(h,{key:1,class:"navbar-item px-2",icon_size:24})):ee("",!0),s.is_now_playing_page?(x(),we(g,{key:2,seek_ms:1e4,class:"navbar-item px-2",icon_size:24})):ee("",!0),b(z,{class:"navbar-item px-2",icon_size:36,show_disabled_message:""}),s.is_now_playing_page?(x(),we(k,{key:3,seek_ms:3e4,class:"navbar-item px-2",icon_size:24})):ee("",!0),s.is_now_playing_page?(x(),we(w,{key:4,class:"navbar-item px-2",icon_size:24})):ee("",!0),c("a",{class:"navbar-item ml-auto",onClick:t[4]||(t[4]=_=>s.show_player_menu=!s.show_player_menu)},[b(i,{class:"icon",name:s.show_player_menu?"chevron-down":"chevron-up"},null,8,["name"])])]),c("div",{class:ke(["navbar-menu is-hidden-desktop",{"is-active":s.show_player_menu}])},[c("div",Y2,[c("div",X2,[b(u,{class:"button"}),b(m,{class:"button"}),b(d,{class:"button"}),b(f,{class:"button"})])]),J2,c("div",Q2,[c("div",e$,[c("div",t$,[c("div",n$,[c("a",{class:"button is-white is-small",onClick:t[5]||(t[5]=(..._)=>s.toggle_mute_volume&&s.toggle_mute_volume(..._))},[b(i,{class:"icon",name:s.player.volume>0?"volume-high":"volume-off",size:"18"},null,8,["name"])])]),c("div",r$,[c("div",o$,[c("p",{class:"heading",textContent:y(e.$t("navigation.volume"))},null,8,s$),b(a,{value:s.player.volume,"onUpdate:value":t[6]||(t[6]=_=>s.player.volume=_),max:100,onChange:s.change_volume},null,8,["value","onChange"])])])])])]),i$,(x(!0),I(ve,null,_t(s.outputs,_=>(x(),we(l,{key:_.id,output:_},null,8,["output"]))),128)),a$,c("div",l$,[c("div",c$,[c("div",u$,[c("div",d$,[c("a",{class:ke(["button is-white is-small",{"has-text-grey-light":!o.playing&&!o.loading,"is-loading":o.loading}]),onClick:t[7]||(t[7]=(..._)=>s.togglePlay&&s.togglePlay(..._))},[b(i,{class:"icon",name:"radio-tower",size:"16"})],2)]),c("div",m$,[c("div",f$,[c("div",{class:ke(["is-flex is-align-content-center",{"has-text-grey-light":!o.playing}])},[c("p",{class:"heading",textContent:y(e.$t("navigation.stream"))},null,8,p$),c("a",h$,[b(i,{class:"icon is-small",name:"open-in-new",size:"16"})])],2),b(a,{value:o.stream_volume,"onUpdate:value":t[8]||(t[8]=_=>o.stream_volume=_),disabled:!o.playing,max:100,cursor:o.cursor,onChange:s.change_stream_volume},null,8,["value","disabled","cursor","onChange"])])])])])])],2)],2)}const g$=ae(w2,[["render",_$]]),Jd=jn("SearchStore",{state:()=>({recent_searches:[],search_query:"",search_source:"search-library"}),actions:{add(e){const t=this.recent_searches.indexOf(e);t!==-1&&this.recent_searches.splice(t,1),this.recent_searches.unshift(e),this.recent_searches.length>5&&this.recent_searches.pop()},remove(e){const t=this.recent_searches.indexOf(e);t!==-1&&this.recent_searches.splice(t,1)}}}),sr=jn("SettingsStore",{state:()=>({categories:[]}),getters:{recently_added_limit:e=>{var t;return((t=e.setting("webinterface","recently_added_limit"))==null?void 0:t.value)??100},show_composer_for_genre:e=>{var t;return((t=e.setting("webinterface","show_composer_for_genre"))==null?void 0:t.value)??null},show_composer_now_playing:e=>{var t;return((t=e.setting("webinterface","show_composer_now_playing"))==null?void 0:t.value)??!1},show_cover_artwork_in_album_lists:e=>{var t;return((t=e.setting("webinterface","show_cover_artwork_in_album_lists"))==null?void 0:t.value)??!1},show_filepath_now_playing:e=>{var t;return((t=e.setting("webinterface","show_filepath_now_playing"))==null?void 0:t.value)??!1},show_menu_item_audiobooks:e=>{var t;return((t=e.setting("webinterface","show_menu_item_audiobooks"))==null?void 0:t.value)??!1},show_menu_item_files:e=>{var t;return((t=e.setting("webinterface","show_menu_item_files"))==null?void 0:t.value)??!1},show_menu_item_music:e=>{var t;return((t=e.setting("webinterface","show_menu_item_music"))==null?void 0:t.value)??!1},show_menu_item_playlists:e=>{var t;return((t=e.setting("webinterface","show_menu_item_playlists"))==null?void 0:t.value)??!1},show_menu_item_podcasts:e=>{var t;return((t=e.setting("webinterface","show_menu_item_podcasts"))==null?void 0:t.value)??!1},show_menu_item_radio:e=>{var t;return((t=e.setting("webinterface","show_menu_item_radio"))==null?void 0:t.value)??!1},show_menu_item_search:e=>{var t;return((t=e.setting("webinterface","show_menu_item_search"))==null?void 0:t.value)??!1}},actions:{update(e){const t=this.categories.find(r=>r.name===e.category);if(!t)return;const n=t.options.find(r=>r.name===e.name);n&&(n.value=e.value)},setting(e,t){var n;return((n=this.categories.find(r=>r.name===e))==null?void 0:n.options.find(r=>r.name===t))??{}}}}),y$={name:"NavbarTop",components:{NavbarItemLink:Ay},setup(){return{searchStore:Jd(),servicesStore:Pt(),settingsStore:sr(),uiStore:yn()}},data(){return{show_settings_menu:!1}},computed:{show_burger_menu:{get(){return this.uiStore.show_burger_menu},set(e){this.uiStore.show_burger_menu=e}},show_update_dialog:{get(){return this.uiStore.show_update_dialog},set(e){this.uiStore.show_update_dialog=e}},spotify_enabled(){return this.servicesStore.spotify.webapi_token_valid},zindex(){return this.uiStore.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}}},z$={class:"navbar-brand"},v$=c("span",null,null,-1),b$=c("span",null,null,-1),C$=c("span",null,null,-1),w$=[v$,b$,C$],k$=c("div",{class:"navbar-start"},null,-1),S$={class:"navbar-end"},x$={class:"navbar-item is-arrowless is-hidden-touch"},E$={class:"navbar-dropdown is-right"},$$=["textContent"],T$=["textContent"],A$=["textContent"],O$=["textContent"],P$=["textContent"],I$=["textContent"],L$=["textContent"],N$=["textContent"],D$=["textContent"],R$=["textContent"],M$=["textContent"],F$=c("hr",{class:"my-3"},null,-1),V$=["textContent"];function H$(e,t,n,r,o,s){const i=O("mdicon"),a=O("navbar-item-link");return x(),I("nav",{class:"navbar is-light is-fixed-top",style:co(s.zindex),role:"navigation","aria-label":"main navigation"},[c("div",z$,[r.settingsStore.show_menu_item_playlists?(x(),we(a,{key:0,to:{name:"playlists"}},{default:N(()=>[b(i,{class:"icon",name:"music-box-multiple",size:"16"})]),_:1})):ee("",!0),r.settingsStore.show_menu_item_music?(x(),we(a,{key:1,to:{name:"music"}},{default:N(()=>[b(i,{class:"icon",name:"music",size:"16"})]),_:1})):ee("",!0),r.settingsStore.show_menu_item_podcasts?(x(),we(a,{key:2,to:{name:"podcasts"}},{default:N(()=>[b(i,{class:"icon",name:"microphone",size:"16"})]),_:1})):ee("",!0),r.settingsStore.show_menu_item_audiobooks?(x(),we(a,{key:3,to:{name:"audiobooks"}},{default:N(()=>[b(i,{class:"icon",name:"book-open-variant",size:"16"})]),_:1})):ee("",!0),r.settingsStore.show_menu_item_radio?(x(),we(a,{key:4,to:{name:"radio"}},{default:N(()=>[b(i,{class:"icon",name:"radio",size:"16"})]),_:1})):ee("",!0),r.settingsStore.show_menu_item_files?(x(),we(a,{key:5,to:{name:"files"}},{default:N(()=>[b(i,{class:"icon",name:"folder-open",size:"16"})]),_:1})):ee("",!0),r.settingsStore.show_menu_item_search?(x(),we(a,{key:6,to:{name:r.searchStore.search_source}},{default:N(()=>[b(i,{class:"icon",name:"magnify",size:"16"})]),_:1},8,["to"])):ee("",!0),c("div",{class:ke(["navbar-burger",{"is-active":s.show_burger_menu}]),onClick:t[0]||(t[0]=l=>s.show_burger_menu=!s.show_burger_menu)},w$,2)]),c("div",{class:ke(["navbar-menu",{"is-active":s.show_burger_menu}])},[k$,c("div",S$,[c("div",{class:ke(["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",x$,[b(i,{class:"icon",name:"menu",size:"24"})]),c("div",E$,[b(a,{to:{name:"playlists"}},{default:N(()=>[b(i,{class:"icon",name:"music-box-multiple",size:"16"}),c("b",{textContent:y(e.$t("navigation.playlists"))},null,8,$$)]),_:1}),b(a,{to:{name:"music"}},{default:N(()=>[b(i,{class:"icon",name:"music",size:"16"}),c("b",{textContent:y(e.$t("navigation.music"))},null,8,T$)]),_:1}),b(a,{to:{name:"music-artists"}},{default:N(()=>[c("span",{class:"pl-5",textContent:y(e.$t("navigation.artists"))},null,8,A$)]),_:1}),b(a,{to:{name:"music-albums"}},{default:N(()=>[c("span",{class:"pl-5",textContent:y(e.$t("navigation.albums"))},null,8,O$)]),_:1}),b(a,{to:{name:"music-genres"}},{default:N(()=>[c("span",{class:"pl-5",textContent:y(e.$t("navigation.genres"))},null,8,P$)]),_:1}),s.spotify_enabled?(x(),we(a,{key:0,to:{name:"music-spotify"}},{default:N(()=>[c("span",{class:"pl-5",textContent:y(e.$t("navigation.spotify"))},null,8,I$)]),_:1})):ee("",!0),b(a,{to:{name:"podcasts"}},{default:N(()=>[b(i,{class:"icon",name:"microphone",size:"16"}),c("b",{textContent:y(e.$t("navigation.podcasts"))},null,8,L$)]),_:1}),b(a,{to:{name:"audiobooks"}},{default:N(()=>[b(i,{class:"icon",name:"book-open-variant",size:"16"}),c("b",{textContent:y(e.$t("navigation.audiobooks"))},null,8,N$)]),_:1}),b(a,{to:{name:"radio"}},{default:N(()=>[b(i,{class:"icon",name:"radio",size:"16"}),c("b",{textContent:y(e.$t("navigation.radio"))},null,8,D$)]),_:1}),b(a,{to:{name:"files"}},{default:N(()=>[b(i,{class:"icon",name:"folder-open",size:"16"}),c("b",{textContent:y(e.$t("navigation.files"))},null,8,R$)]),_:1}),b(a,{to:{name:r.searchStore.search_source}},{default:N(()=>[b(i,{class:"icon",name:"magnify",size:"16"}),c("b",{textContent:y(e.$t("navigation.search"))},null,8,M$)]),_:1},8,["to"]),F$,b(a,{to:{name:"settings-webinterface"}},{default:N(()=>[Dt(y(e.$t("navigation.settings")),1)]),_:1}),c("a",{class:"navbar-item",onClick:t[1]||(t[1]=gt(l=>s.open_update_dialog(),["stop","prevent"])),textContent:y(e.$t("navigation.update-library"))},null,8,V$),b(a,{to:{name:"about"}},{default:N(()=>[Dt(y(e.$t("navigation.about")),1)]),_:1})])],2)])],2),ht(c("div",{class:"is-overlay",onClick:t[3]||(t[3]=l=>o.show_settings_menu=!1)},null,512),[[Si,o.show_settings_menu]])],4)}const U$=ae(y$,[["render",H$]]),j$={name:"NotificationList",setup(){return{notificationsStore:dr()}},computed:{notifications(){return this.notificationsStore.list}},methods:{remove(e){this.notificationsStore.remove(e)}}},B$={key:0,class:"notifications"},W$={class:"columns is-centered"},q$={class:"column is-half"},G$=["onClick"],K$=["textContent"];function Z$(e,t,n,r,o,s){return s.notifications.length>0?(x(),I("section",B$,[c("div",W$,[c("div",q$,[(x(!0),I(ve,null,_t(s.notifications,i=>(x(),I("div",{key:i.id,class:ke(["notification",i.type?`is-${i.type}`:""])},[c("button",{class:"delete",onClick:a=>s.remove(i)},null,8,G$),c("div",{class:"text",textContent:y(i.text)},null,8,K$)],2))),128))])])])):ee("",!0)}const Y$=ae(j$,[["render",Z$],["__scopeId","data-v-a896a8d3"]]);var Oy=typeof globalThis<"u"?globalThis:typeof window<"u"?window:typeof global<"u"?global:typeof self<"u"?self:{};function Yl(e){return e&&e.__esModule&&Object.prototype.hasOwnProperty.call(e,"default")?e.default:e}function Py(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 Iy={exports:{}};(function(e){(function(t,n){e.exports?e.exports=n():t.ReconnectingWebSocket=n()})(Oy,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 g=document.createEvent("CustomEvent");return g.initCustomEvent(p,!1,!1,h),g}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,g=setTimeout(function(){(a.debug||t.debugAll)&&console.debug("ReconnectingWebSocket","connection-timeout",a.url),m=!0,h.close(),m=!1},a.timeoutInterval);l.onopen=function(z){clearTimeout(g),(a.debug||t.debugAll)&&console.debug("ReconnectingWebSocket","onopen",a.url),a.protocol=l.protocol,a.readyState=WebSocket.OPEN,a.reconnectAttempts=0;var k=f("open");k.isReconnect=p,p=!1,d.dispatchEvent(k)},l.onclose=function(z){if(clearTimeout(w),l=null,u)a.readyState=WebSocket.CLOSED,d.dispatchEvent(f("close"));else{a.readyState=WebSocket.CONNECTING;var k=f("connecting");k.code=z.code,k.reason=z.reason,k.wasClean=z.wasClean,d.dispatchEvent(k),!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(z){(a.debug||t.debugAll)&&console.debug("ReconnectingWebSocket","onmessage",a.url,z.data);var k=f("message");k.data=z.data,d.dispatchEvent(k)},l.onerror=function(z){(a.debug||t.debugAll)&&console.debug("ReconnectingWebSocket","onerror",a.url,z),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})})(Iy);var X$=Iy.exports;const J$=Yl(X$),Fo=jn("ConfigurationStore",{state:()=>({buildoptions:[],version:"",websocket_port:0})}),Q$={name:"App",components:{ModalDialogRemotePairing:GS,ModalDialogUpdate:vx,NavbarBottom:g$,NavbarTop:U$,NotificationList:Y$},setup(){return{configurationStore:Fo(),libraryStore:Gl(),lyricsStore:Zl(),notificationsStore:dr(),outputsStore:Xd(),playerStore:En(),queueStore:tr(),remotesStore:Nd(),servicesStore:Pt(),settingsStore:sr(),uiStore:yn()}},data(){return{pairing_active:!1,reconnect_attempts:0,token_timer_id:0}},computed:{show_burger_menu:{get(){return this.uiStore.show_burger_menu},set(e){this.uiStore.show_burger_menu=e}},show_player_menu:{get(){return this.uiStore.show_player_menu},set(e){this.uiStore.show_player_menu=e}},show_update_dialog:{get(){return this.uiStore.show_update_dialog},set(e){this.uiStore.show_update_dialog=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)=>{e.meta.show_progress&&!(e.path===t.path&&e.hash)&&(e.meta.progress&&this.$Progress.parseMeta(e.meta.progress),this.$Progress.start()),n()}),this.$router.afterEach((e,t)=>{e.meta.show_progress&&this.$Progress.finish()})},methods:{connect(){B.config().then(({data:e})=>{this.configurationStore.$state=e,this.uiStore.hide_singles=e.hide_singles,document.title=e.library_name,this.open_ws(),this.$Progress.finish()}).catch(()=>{this.notificationsStore.add({text:this.$t("server.connection-failed"),topic:"connection",type:"danger"})})},open_ws(){if(this.configurationStore.websocket_port<=0){this.notificationsStore.add({text:this.$t("server.missing-port"),type:"danger"});return}let e="ws://";window.location.protocol==="https:"&&(e="wss://");let t=`${e}${window.location.hostname}:${this.configurationStore.websocket_port}`;const n=new J$(t,"notify",{maxReconnectInterval:2e3,reconnectInterval:1e3}),r=this;n.onopen=()=>{r.reconnect_attempts=0,n.send(JSON.stringify({notify:["update","database","player","options","outputs","volume","queue","spotify","lastfm","pairing"]})),r.update_outputs(),r.update_player_status(),r.update_library_stats(),r.update_settings(),r.update_queue(),r.update_spotify(),r.update_lastfm(),r.update_pairing()};let o=!1;const s=()=>{o||(r.update_outputs(),r.update_player_status(),r.update_library_stats(),r.update_settings(),r.update_queue(),r.update_spotify(),r.update_lastfm(),r.update_pairing(),o=!0,setTimeout(()=>{o=!1},500))};window.addEventListener("focus",s),document.addEventListener("visibilitychange",()=>{document.visibilityState==="visible"&&s()}),n.onmessage=i=>{const a=JSON.parse(i.data);(a.notify.includes("update")||a.notify.includes("database"))&&r.update_library_stats(),(a.notify.includes("player")||a.notify.includes("options")||a.notify.includes("volume"))&&r.update_player_status(),(a.notify.includes("outputs")||a.notify.includes("volume"))&&r.update_outputs(),a.notify.includes("queue")&&r.update_queue(),a.notify.includes("spotify")&&r.update_spotify(),a.notify.includes("lastfm")&&r.update_lastfm(),a.notify.includes("pairing")&&r.update_pairing()}},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")},update_lastfm(){B.lastfm().then(({data:e})=>{this.servicesStore.lastfm=e})},update_library_stats(){B.library_stats().then(({data:e})=>{this.libraryStore.$state=e}),B.library_count("scan_kind is rss").then(({data:e})=>{this.libraryStore.rss=e})},update_lyrics(){const e=this.queueStore.current;e!=null&&e.track_id?B.library_track(e.track_id).then(({data:t})=>{this.lyricsStore.lyrics=t.lyrics}):this.lyricsStore.$reset()},update_outputs(){B.outputs().then(({data:e})=>{this.outputsStore.outputs=e.outputs})},update_pairing(){B.pairing().then(({data:e})=>{this.remotesStore.$state=e,this.pairing_active=e.active})},update_player_status(){B.player_status().then(({data:e})=>{this.playerStore.$state=e,this.update_lyrics()})},update_queue(){B.queue().then(({data:e})=>{this.queueStore.$state=e,this.update_lyrics()})},update_settings(){B.settings().then(({data:e})=>{this.settingsStore.$state=e})},update_spotify(){B.spotify().then(({data:e})=>{this.servicesStore.spotify=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))})}},template:"<App/>"},eT={id:"app"};function tT(e,t,n,r,o,s){const i=O("navbar-top"),a=O("vue-progress-bar"),l=O("router-view"),u=O("modal-dialog-remote-pairing"),m=O("modal-dialog-update"),d=O("notification-list"),f=O("navbar-bottom");return x(),I("div",eT,[b(i),b(a,{class:"has-background-info"}),b(l,null,{default:N(({Component:p})=>[(x(),we(Ll(p)))]),_:1}),b(u,{show:o.pairing_active,onClose:t[0]||(t[0]=p=>o.pairing_active=!1)},null,8,["show"]),b(m,{show:s.show_update_dialog,onClose:t[1]||(t[1]=p=>s.show_update_dialog=!1)},null,8,["show"]),ht(b(d,null,null,512),[[Si,!s.show_burger_menu]]),b(f),ht(c("div",{class:"fd-overlay-fullscreen",onClick:t[2]||(t[2]=p=>s.show_burger_menu=s.show_player_menu=!1)},null,512),[[Si,s.show_burger_menu||s.show_player_menu]])])}const nT=ae(Q$,[["render",tT]]),Ly=function(){return document.ontouchstart!==null?"click":"touchstart"},il="__vue_click_away__",Ny=function(e,t,n){Dy(e);let r=n.context,o=t.value,s=!1;setTimeout(function(){s=!0},0),e[il]=function(i){if((!e||!e.contains(i.target))&&o&&s&&typeof o=="function")return o.call(r,i)},document.addEventListener(Ly(),e[il],!1)},Dy=function(e){document.removeEventListener(Ly(),e[il],!1),delete e[il]},rT=function(e,t,n){t.value!==t.oldValue&&Ny(e,t,n)},oT={install:function(e){e.directive("click-away",sT)}},sT={mounted:Ny,updated:rT,unmounted:Dy};var lr=(e=>(e.LOADING="loading",e.LOADED="loaded",e.ERROR="error",e))(lr||{});const iT=typeof window<"u"&&window!==null,aT=dT(),lT=Object.prototype.propertyIsEnumerable,Jf=Object.getOwnPropertySymbols;function ui(e){return typeof e=="function"||toString.call(e)==="[object Object]"}function cT(e){return typeof e=="object"?e===null:typeof e!="function"}function uT(e){return e!=="__proto__"&&e!=="constructor"&&e!=="prototype"}function dT(){return iT&&"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 mT(e,...t){if(!ui(e))throw new TypeError("expected the first argument to be an object");if(t.length===0||typeof Symbol!="function"||typeof Jf!="function")return e;for(const n of t){const r=Jf(n);for(const o of r)lT.call(n,o)&&(e[o]=n[o])}return e}function Ry(e,...t){let n=0;for(cT(e)&&(e=t[n++]),e||(e={});n<t.length;n++)if(ui(t[n])){for(const r of Object.keys(t[n]))uT(r)&&(ui(e[r])&&ui(t[n][r])?Ry(e[r],t[n][r]):e[r]=t[n][r]);mT(e,t[n])}return e}const Qf="data:image/gif;base64,R0lGODlhAQABAIAAAAAAAP///yH5BAEAAAAALAAAAAABAAEAAAIBRAA7",fT="",pT={rootMargin:"0px",threshold:0},Go="data-lazy-timeout-id";class hT{constructor(t){this.options={loading:Qf,error:fT,observerOptions:pT,log:!0,lifecycle:{},logLevel:"error"},this._images=new WeakMap,this.config(t)}config(t={}){Ry(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(lr.LOADING,i,t),t.setAttribute("src",o||Qf),aT||(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(lr.LOADED,o,t)},()=>{var s;t.onload=null,this._lifecycle(lr.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(Go))return;const a=setTimeout(()=>{this._intersectionCallback(t,n,o,s,i),n.target.removeAttribute(Go)},r);n.target.setAttribute(Go,String(a))}else n.target.hasAttribute(Go)&&(clearTimeout(Number(n.target.getAttribute(Go))),n.target.removeAttribute(Go))}_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 ui(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 lr.LOADING:r==null||r.setAttribute("lazy",lr.LOADING),n!=null&&n.loading&&n.loading(r);break;case lr.LOADED:r==null||r.setAttribute("lazy",lr.LOADED),n!=null&&n.loaded&&n.loaded(r);break;case lr.ERROR:r==null||r.setAttribute("lazy",lr.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 _T={install(e,t){const n=new hT(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 My={exports:{}};const Fy=Py(D0);(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(v){var u=/.*at [^(]*\((.*):(.+):(.+)\)$/ig,m=/@([^@]*):(\d+):(\d+)\s*$/ig,d=u.exec(v.stack)||m.exec(v.stack),f=d&&d[1]||!1,p=d&&d[2]||!1,h=document.location.href.replace(document.location.hash,""),g,z,k,w=document.getElementsByTagName("script");f===h&&(g=document.documentElement.outerHTML,z=new RegExp("(?:[^\\n]+?\\n){0,"+(p-2)+"}[^<]*<script>([\\d\\D]*?)<\\/script>[\\d\\D]*","i"),k=g.replace(z,"$1").trim());for(var _=0;_<w.length;_++)if(w[_].readyState==="interactive"||w[_].src===f||f===h&&w[_].innerHTML&&w[_].innerHTML.trim()===k)return w[_];return null}}return a})},"8bbf":function(t,n){t.exports=Fy},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,g,z,k,w,_){return Object(a.openBlock)(),Object(a.createBlock)("div",{style:k.finalStyle},null,4)}var u=typeof window<"u",m={name:"VueProgress",serverCacheKey:function(){return"Progress"},setup:function(){var g=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}},z=Object(a.computed)(function(){var k=g.options,w=!!k.show,_=k.location,v={"z-index":999999,"background-color":k.canSuccess?k.color:k.failedColor,opacity:k.show?1:0,position:k.position};return _==="top"||_==="bottom"?(_==="top"?v.top="0px":v.bottom="0px",k.inverse?v.right="0px":v.left="0px",v.width=g.percent+"%",v.height=k.thickness,v.transition=(w?"width "+k.transition.speed+", ":"")+"opacity "+k.transition.opacity):(_==="left"||_==="right")&&(_==="left"?v.left="0px":v.right="0px",k.inverse?v.top="0px":v.bottom="0px",v.height=g.percent+"%",v.width=k.thickness,v.transition=(w?"height "+k.transition.speed+", ":"")+"opacity "+k.transition.opacity),v});return{progress:g,finalStyle:z}}};m.render=l;var d=m;function f(h,g){for(var z=1,k,w;z<arguments.length;++z){w=arguments[z];for(k in w)Object.prototype.hasOwnProperty.call(w,k)&&(h[k]=w[k])}return h}var p={install:function(g,z){var k={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(k,z),_=Object(a.reactive)({percent:0,options:w});g.provide("RADON_LOADING_BAR",_);var v={state:{tFailColor:"",tColor:"",timer:null,cut:0},start:function(C){var L=this;C||(C=3e3),_.percent=0,_.options.show=!0,_.options.canSuccess=!0,this.state.cut=1e4/Math.floor(C),clearInterval(this.state.timer),this.state.timer=setInterval(function(){L.increase(L.state.cut*Math.random()),_.percent>95&&_.options.autoFinish&&L.finish()},100)},set:function(C){_.options.show=!0,_.options.canSuccess=!0,_.percent=Math.floor(C)},get:function(){return Math.floor(_.percent)},increase:function(C){_.percent=Math.min(99,_.percent+Math.floor(C))},decrease:function(C){_.percent=_.percent-Math.floor(C)},hide:function(){var C=this;clearInterval(this.state.timer),this.state.timer=null,setTimeout(function(){_.options.show=!1,Object(a.nextTick)(function(){setTimeout(function(){_.percent=0},100),_.options.autoRevert&&setTimeout(function(){C.revert()},300)})},_.options.transition.termination)},pause:function(){clearInterval(this.state.timer)},finish:function(){_.percent=100,this.hide()},fail:function(){_.options.canSuccess=!1,_.percent=100,this.hide()},setFailColor:function(C){_.options.failedColor=C},setColor:function(C){_.options.color=C},setLocation:function(C){_.options.location=C},setTransition:function(C){_.options.transition=C},tempFailColor:function(C){this.state.tFailColor=_.options.failedColor,_.options.failedColor=C},tempColor:function(C){this.state.tColor=_.options.color,_.options.color=C},tempLocation:function(C){this.state.tLocation=_.options.location,_.options.location=C},tempTransition:function(C){this.state.tTransition=_.options.transition,_.options.transition=C},revertColor:function(){_.options.color=this.state.tColor,this.state.tColor=""},revertFailColor:function(){_.options.failedColor=this.state.tFailColor,this.state.tFailColor=""},revertLocation:function(){_.options.location=this.state.tLocation,this.state.tLocation=""},revertTransition:function(){_.options.transition=this.state.tTransition,this.state.tTransition={}},revert:function(){_.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(C){for(var L in C.func){var D=C.func[L];switch(D.call){case"color":switch(D.modifier){case"set":this.setColor(D.argument);break;case"temp":this.tempColor(D.argument);break}break;case"fail":switch(D.modifier){case"set":this.setFailColor(D.argument);break;case"temp":this.tempFailColor(D.argument);break}break;case"location":switch(D.modifier){case"set":this.setLocation(D.argument);break;case"temp":this.tempLocation(D.argument);break}break;case"transition":switch(D.modifier){case"set":this.setTransition(D.argument);break;case"temp":this.tempTransition(D.argument);break}break}}}};g.component("vue-progress-bar",d),g.config.globalProperties.$Progress=v}};n.default=p}})})(My);var gT=My.exports;const yT=Yl(gT);class jo extends Error{}class zT extends jo{constructor(t){super(`Invalid DateTime: ${t.toMessage()}`)}}class vT extends jo{constructor(t){super(`Invalid Interval: ${t.toMessage()}`)}}class bT extends jo{constructor(t){super(`Invalid Duration: ${t.toMessage()}`)}}class as extends jo{}class Vy extends jo{constructor(t){super(`Invalid unit ${t}`)}}class qt extends jo{}class Vr extends jo{constructor(){super("Zone is an abstract class")}}const _e="numeric",nr="short",xn="long",al={year:_e,month:_e,day:_e},Hy={year:_e,month:nr,day:_e},CT={year:_e,month:nr,day:_e,weekday:nr},Uy={year:_e,month:xn,day:_e},jy={year:_e,month:xn,day:_e,weekday:xn},By={hour:_e,minute:_e},Wy={hour:_e,minute:_e,second:_e},qy={hour:_e,minute:_e,second:_e,timeZoneName:nr},Gy={hour:_e,minute:_e,second:_e,timeZoneName:xn},Ky={hour:_e,minute:_e,hourCycle:"h23"},Zy={hour:_e,minute:_e,second:_e,hourCycle:"h23"},Yy={hour:_e,minute:_e,second:_e,hourCycle:"h23",timeZoneName:nr},Xy={hour:_e,minute:_e,second:_e,hourCycle:"h23",timeZoneName:xn},Jy={year:_e,month:_e,day:_e,hour:_e,minute:_e},Qy={year:_e,month:_e,day:_e,hour:_e,minute:_e,second:_e},e1={year:_e,month:nr,day:_e,hour:_e,minute:_e},t1={year:_e,month:nr,day:_e,hour:_e,minute:_e,second:_e},wT={year:_e,month:nr,day:_e,weekday:nr,hour:_e,minute:_e},n1={year:_e,month:xn,day:_e,hour:_e,minute:_e,timeZoneName:nr},r1={year:_e,month:xn,day:_e,hour:_e,minute:_e,second:_e,timeZoneName:nr},o1={year:_e,month:xn,day:_e,weekday:xn,hour:_e,minute:_e,timeZoneName:xn},s1={year:_e,month:xn,day:_e,weekday:xn,hour:_e,minute:_e,second:_e,timeZoneName:xn};class ji{get type(){throw new Vr}get name(){throw new Vr}get ianaName(){return this.name}get isUniversal(){throw new Vr}offsetName(t,n){throw new Vr}formatOffset(t,n){throw new Vr}offset(t){throw new Vr}equals(t){throw new Vr}get isValid(){throw new Vr}}let Ec=null;class Xl extends ji{static get instance(){return Ec===null&&(Ec=new Xl),Ec}get type(){return"system"}get name(){return new Intl.DateTimeFormat().resolvedOptions().timeZone}get isUniversal(){return!1}offsetName(t,{format:n,locale:r}){return p1(t,n,r)}formatOffset(t,n){return di(this.offset(t),n)}offset(t){return-new Date(t).getTimezoneOffset()}equals(t){return t.type==="system"}get isValid(){return!0}}let Ia={};function kT(e){return Ia[e]||(Ia[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"})),Ia[e]}const ST={year:0,month:1,day:2,era:3,hour:4,minute:5,second:6};function xT(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 ET(e,t){const n=e.formatToParts(t),r=[];for(let o=0;o<n.length;o++){const{type:s,value:i}=n[o],a=ST[s];s==="era"?r[a]=i:De(a)||(r[a]=parseInt(i,10))}return r}let ma={};class Or extends ji{static create(t){return ma[t]||(ma[t]=new Or(t)),ma[t]}static resetCache(){ma={},Ia={}}static isValidSpecifier(t){return this.isValidZone(t)}static isValidZone(t){if(!t)return!1;try{return new Intl.DateTimeFormat("en-US",{timeZone:t}).format(),!0}catch{return!1}}constructor(t){super(),this.zoneName=t,this.valid=Or.isValidZone(t)}get type(){return"iana"}get name(){return this.zoneName}get isUniversal(){return!1}offsetName(t,{format:n,locale:r}){return p1(t,n,r,this.name)}formatOffset(t,n){return di(this.offset(t),n)}offset(t){const n=new Date(t);if(isNaN(n))return NaN;const r=kT(this.name);let[o,s,i,a,l,u,m]=r.formatToParts?ET(r,n):xT(r,n);a==="BC"&&(o=-Math.abs(o)+1);const f=Ql({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 ep={};function $T(e,t={}){const n=JSON.stringify([e,t]);let r=ep[n];return r||(r=new Intl.ListFormat(e,t),ep[n]=r),r}let Vu={};function Hu(e,t={}){const n=JSON.stringify([e,t]);let r=Vu[n];return r||(r=new Intl.DateTimeFormat(e,t),Vu[n]=r),r}let Uu={};function TT(e,t={}){const n=JSON.stringify([e,t]);let r=Uu[n];return r||(r=new Intl.NumberFormat(e,t),Uu[n]=r),r}let ju={};function AT(e,t={}){const{base:n,...r}=t,o=JSON.stringify([e,r]);let s=ju[o];return s||(s=new Intl.RelativeTimeFormat(e,t),ju[o]=s),s}let Xs=null;function OT(){return Xs||(Xs=new Intl.DateTimeFormat().resolvedOptions().locale,Xs)}let tp={};function PT(e){let t=tp[e];if(!t){const n=new Intl.Locale(e);t="getWeekInfo"in n?n.getWeekInfo():n.weekInfo,tp[e]=t}return t}function IT(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=Hu(e).resolvedOptions(),o=e}catch{const l=e.substring(0,n);r=Hu(l).resolvedOptions(),o=l}const{numberingSystem:s,calendar:i}=r;return[o,s,i]}}function LT(e,t,n){return(n||t)&&(e.includes("-u-")||(e+="-u"),n&&(e+=`-ca-${n}`),t&&(e+=`-nu-${t}`)),e}function NT(e){const t=[];for(let n=1;n<=12;n++){const r=Te.utc(2009,n,1);t.push(e(r))}return t}function DT(e){const t=[];for(let n=1;n<=7;n++){const r=Te.utc(2016,11,13+n);t.push(e(r))}return t}function fa(e,t,n,r){const o=e.listingMode();return o==="error"?null:o==="en"?n(t):r(t)}function RT(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 MT{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=TT(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):rm(t,3);return Lt(n,this.padTo)}}}class FT{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&&Or.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=Hu(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 VT{constructor(t,n,r){this.opts={style:"long",...r},!n&&m1()&&(this.rtf=AT(t,r))}format(t,n){return this.rtf?this.rtf.format(t,n):cA(n,t,this.opts.numeric,this.opts.style!=="long")}formatToParts(t,n){return this.rtf?this.rtf.formatToParts(t,n):[]}}const HT={firstDay:1,minimalDays:4,weekend:[6,7]};class ct{static fromOpts(t){return ct.create(t.locale,t.numberingSystem,t.outputCalendar,t.weekSettings,t.defaultToEN)}static create(t,n,r,o,s=!1){const i=t||$t.defaultLocale,a=i||(s?"en-US":OT()),l=n||$t.defaultNumberingSystem,u=r||$t.defaultOutputCalendar,m=Bu(o)||$t.defaultWeekSettings;return new ct(a,l,u,m,i)}static resetCache(){Xs=null,Vu={},Uu={},ju={}}static fromObject({locale:t,numberingSystem:n,outputCalendar:r,weekSettings:o}={}){return ct.create(t,n,r,o)}constructor(t,n,r,o,s){const[i,a,l]=IT(t);this.locale=i,this.numberingSystem=n||a||null,this.outputCalendar=r||l||null,this.weekSettings=o,this.intl=LT(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=RT(this)),this.fastNumbersCached}listingMode(){const t=this.isEnglish(),n=(this.numberingSystem===null||this.numberingSystem==="latn")&&(this.outputCalendar===null||this.outputCalendar==="gregory");return t&&n?"en":"intl"}clone(t){return!t||Object.getOwnPropertyNames(t).length===0?this:ct.create(t.locale||this.specifiedLocale,t.numberingSystem||this.numberingSystem,t.outputCalendar||this.outputCalendar,Bu(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 fa(this,t,g1,()=>{const r=n?{month:t,day:"numeric"}:{month:t},o=n?"format":"standalone";return this.monthsCache[o][t]||(this.monthsCache[o][t]=NT(s=>this.extract(s,r,"month"))),this.monthsCache[o][t]})}weekdays(t,n=!1){return fa(this,t,v1,()=>{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]=DT(s=>this.extract(s,r,"weekday"))),this.weekdaysCache[o][t]})}meridiems(){return fa(this,void 0,()=>b1,()=>{if(!this.meridiemCache){const t={hour:"numeric",hourCycle:"h12"};this.meridiemCache=[Te.utc(2016,11,13,9),Te.utc(2016,11,13,19)].map(n=>this.extract(n,t,"dayperiod"))}return this.meridiemCache})}eras(t){return fa(this,t,C1,()=>{const n={era:t};return this.eraCache[t]||(this.eraCache[t]=[Te.utc(-40,1,1),Te.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 MT(this.intl,t.forceSimple||this.fastNumbers,t)}dtFormatter(t,n={}){return new FT(t,this.intl,n)}relFormatter(t={}){return new VT(this.intl,this.isEnglish(),t)}listFormatter(t={}){return $T(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:f1()?PT(this.locale):HT}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}toString(){return`Locale(${this.locale}, ${this.numberingSystem}, ${this.outputCalendar})`}}let $c=null;class rn extends ji{static get utcInstance(){return $c===null&&($c=new rn(0)),$c}static instance(t){return t===0?rn.utcInstance:new rn(t)}static parseSpecifier(t){if(t){const n=t.match(/^utc(?:([+-]\d{1,2})(?::(\d{2}))?)?$/i);if(n)return new rn(ec(n[1],n[2]))}return null}constructor(t){super(),this.fixed=t}get type(){return"fixed"}get name(){return this.fixed===0?"UTC":`UTC${di(this.fixed,"narrow")}`}get ianaName(){return this.fixed===0?"Etc/UTC":`Etc/GMT${di(-this.fixed,"narrow")}`}offsetName(){return this.name}formatOffset(t,n){return di(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 UT extends ji{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 Qr(e,t){if(De(e)||e===null)return t;if(e instanceof ji)return e;if(KT(e)){const n=e.toLowerCase();return n==="default"?t:n==="local"||n==="system"?Xl.instance:n==="utc"||n==="gmt"?rn.utcInstance:rn.parseSpecifier(n)||Or.create(e)}else return ro(e)?rn.instance(e):typeof e=="object"&&"offset"in e&&typeof e.offset=="function"?e:new UT(e)}const Qd={arab:"[٠-٩]",arabext:"[۰-۹]",bali:"[᭐-᭙]",beng:"[-৯]",deva:"[-९]",fullwide:"[-]",gujr:"[-૯]",hanidec:"[|一|二|三|四|五|六|七|八|九]",khmr:"[០-៩]",knda:"[-೯]",laoo:"[-໙]",limb:"[᥆-᥏]",mlym:"[-൯]",mong:"[᠐-᠙]",mymr:"[-၉]",orya:"[-୯]",tamldec:"[-௯]",telu:"[-౯]",thai:"[-๙]",tibt:"[༠-༩]",latn:"\\d"},np={arab:[1632,1641],arabext:[1776,1785],bali:[6992,7001],beng:[2534,2543],deva:[2406,2415],fullwide:[65296,65303],gujr:[2790,2799],khmr:[6112,6121],knda:[3302,3311],laoo:[3792,3801],limb:[6470,6479],mlym:[3430,3439],mong:[6160,6169],mymr:[4160,4169],orya:[2918,2927],tamldec:[3046,3055],telu:[3174,3183],thai:[3664,3673],tibt:[3872,3881]},jT=Qd.hanidec.replace(/[\[|\]]/g,"").split("");function BT(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(Qd.hanidec)!==-1)t+=jT.indexOf(e[n]);else for(const o in np){const[s,i]=np[o];r>=s&&r<=i&&(t+=r-s)}}return parseInt(t,10)}else return t}let rs={};function WT(){rs={}}function Wn({numberingSystem:e},t=""){const n=e||"latn";return rs[n]||(rs[n]={}),rs[n][t]||(rs[n][t]=new RegExp(`${Qd[n]}${t}`)),rs[n][t]}let rp=()=>Date.now(),op="system",sp=null,ip=null,ap=null,lp=60,cp,up=null;class $t{static get now(){return rp}static set now(t){rp=t}static set defaultZone(t){op=t}static get defaultZone(){return Qr(op,Xl.instance)}static get defaultLocale(){return sp}static set defaultLocale(t){sp=t}static get defaultNumberingSystem(){return ip}static set defaultNumberingSystem(t){ip=t}static get defaultOutputCalendar(){return ap}static set defaultOutputCalendar(t){ap=t}static get defaultWeekSettings(){return up}static set defaultWeekSettings(t){up=Bu(t)}static get twoDigitCutoffYear(){return lp}static set twoDigitCutoffYear(t){lp=t%100}static get throwOnInvalid(){return cp}static set throwOnInvalid(t){cp=t}static resetCaches(){ct.resetCache(),Or.resetCache(),Te.resetCache(),WT()}}class Jn{constructor(t,n){this.reason=t,this.explanation=n}toMessage(){return this.explanation?`${this.reason}: ${this.explanation}`:this.reason}}const i1=[0,31,59,90,120,151,181,212,243,273,304,334],a1=[0,31,60,91,121,152,182,213,244,274,305,335];function Pn(e,t){return new Jn("unit out of range",`you specified ${t} (of type ${typeof t}) as a ${e}, which is invalid`)}function em(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 l1(e,t,n){return n+(Bi(e)?a1:i1)[t-1]}function c1(e,t){const n=Bi(e)?a1:i1,r=n.findIndex(s=>s<t),o=t-n[r];return{month:r+1,day:o}}function tm(e,t){return(e-t+7)%7+1}function ll(e,t=4,n=1){const{year:r,month:o,day:s}=e,i=l1(r,o,s),a=tm(em(r,o,s),n);let l=Math.floor((i-a+14-t)/7),u;return l<1?(u=r-1,l=Ai(u,t,n)):l>Ai(r,t,n)?(u=r+1,l=1):u=r,{weekYear:u,weekNumber:l,weekday:a,...tc(e)}}function dp(e,t=4,n=1){const{weekYear:r,weekNumber:o,weekday:s}=e,i=tm(em(r,1,t),n),a=_s(r);let l=o*7+s-i-7+t,u;l<1?(u=r-1,l+=_s(u)):l>a?(u=r+1,l-=_s(r)):u=r;const{month:m,day:d}=c1(u,l);return{year:u,month:m,day:d,...tc(e)}}function Tc(e){const{year:t,month:n,day:r}=e,o=l1(t,n,r);return{year:t,ordinal:o,...tc(e)}}function mp(e){const{year:t,ordinal:n}=e,{month:r,day:o}=c1(t,n);return{year:t,month:r,day:o,...tc(e)}}function fp(e,t){if(!De(e.localWeekday)||!De(e.localWeekNumber)||!De(e.localWeekYear)){if(!De(e.weekday)||!De(e.weekNumber)||!De(e.weekYear))throw new as("Cannot mix locale-based week fields with ISO-based week fields");return De(e.localWeekday)||(e.weekday=e.localWeekday),De(e.localWeekNumber)||(e.weekNumber=e.localWeekNumber),De(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 qT(e,t=4,n=1){const r=Jl(e.weekYear),o=In(e.weekNumber,1,Ai(e.weekYear,t,n)),s=In(e.weekday,1,7);return r?o?s?!1:Pn("weekday",e.weekday):Pn("week",e.weekNumber):Pn("weekYear",e.weekYear)}function GT(e){const t=Jl(e.year),n=In(e.ordinal,1,_s(e.year));return t?n?!1:Pn("ordinal",e.ordinal):Pn("year",e.year)}function u1(e){const t=Jl(e.year),n=In(e.month,1,12),r=In(e.day,1,cl(e.year,e.month));return t?n?r?!1:Pn("day",e.day):Pn("month",e.month):Pn("year",e.year)}function d1(e){const{hour:t,minute:n,second:r,millisecond:o}=e,s=In(t,0,23)||t===24&&n===0&&r===0&&o===0,i=In(n,0,59),a=In(r,0,59),l=In(o,0,999);return s?i?a?l?!1:Pn("millisecond",o):Pn("second",r):Pn("minute",n):Pn("hour",t)}function De(e){return typeof e>"u"}function ro(e){return typeof e=="number"}function Jl(e){return typeof e=="number"&&e%1===0}function KT(e){return typeof e=="string"}function ZT(e){return Object.prototype.toString.call(e)==="[object Date]"}function m1(){try{return typeof Intl<"u"&&!!Intl.RelativeTimeFormat}catch{return!1}}function f1(){try{return typeof Intl<"u"&&!!Intl.Locale&&("weekInfo"in Intl.Locale.prototype||"getWeekInfo"in Intl.Locale.prototype)}catch{return!1}}function YT(e){return Array.isArray(e)?e:[e]}function pp(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 XT(e,t){return t.reduce((n,r)=>(n[r]=e[r],n),{})}function ks(e,t){return Object.prototype.hasOwnProperty.call(e,t)}function Bu(e){if(e==null)return null;if(typeof e!="object")throw new qt("Week settings must be an object");if(!In(e.firstDay,1,7)||!In(e.minimalDays,1,7)||!Array.isArray(e.weekend)||e.weekend.some(t=>!In(t,1,7)))throw new qt("Invalid week settings");return{firstDay:e.firstDay,minimalDays:e.minimalDays,weekend:Array.from(e.weekend)}}function In(e,t,n){return Jl(e)&&e>=t&&e<=n}function JT(e,t){return e-t*Math.floor(e/t)}function Lt(e,t=2){const n=e<0;let r;return n?r="-"+(""+-e).padStart(t,"0"):r=(""+e).padStart(t,"0"),r}function Zr(e){if(!(De(e)||e===null||e===""))return parseInt(e,10)}function vo(e){if(!(De(e)||e===null||e===""))return parseFloat(e)}function nm(e){if(!(De(e)||e===null||e==="")){const t=parseFloat("0."+e)*1e3;return Math.floor(t)}}function rm(e,t,n=!1){const r=10**t;return(n?Math.trunc:Math.round)(e*r)/r}function Bi(e){return e%4===0&&(e%100!==0||e%400===0)}function _s(e){return Bi(e)?366:365}function cl(e,t){const n=JT(t-1,12)+1,r=e+(t-n)/12;return n===2?Bi(r)?29:28:[31,null,31,30,31,30,31,31,30,31,30,31][n-1]}function Ql(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 hp(e,t,n){return-tm(em(e,1,t),n)+t-1}function Ai(e,t=4,n=1){const r=hp(e,t,n),o=hp(e+1,t,n);return(_s(e)-r+o)/7}function Wu(e){return e>99?e:e>$t.twoDigitCutoffYear?1900+e:2e3+e}function p1(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 ec(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 h1(e){const t=Number(e);if(typeof e=="boolean"||e===""||Number.isNaN(t))throw new qt(`Invalid unit value ${e}`);return t}function ul(e,t){const n={};for(const r in e)if(ks(e,r)){const o=e[r];if(o==null)continue;n[t(r)]=h1(o)}return n}function di(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}${Lt(n,2)}:${Lt(r,2)}`;case"narrow":return`${o}${n}${r>0?`:${r}`:""}`;case"techie":return`${o}${Lt(n,2)}${Lt(r,2)}`;default:throw new RangeError(`Value format ${t} is out of range for property format`)}}function tc(e){return XT(e,["hour","minute","second","millisecond"])}const QT=["January","February","March","April","May","June","July","August","September","October","November","December"],_1=["Jan","Feb","Mar","Apr","May","Jun","Jul","Aug","Sep","Oct","Nov","Dec"],eA=["J","F","M","A","M","J","J","A","S","O","N","D"];function g1(e){switch(e){case"narrow":return[...eA];case"short":return[..._1];case"long":return[...QT];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 y1=["Monday","Tuesday","Wednesday","Thursday","Friday","Saturday","Sunday"],z1=["Mon","Tue","Wed","Thu","Fri","Sat","Sun"],tA=["M","T","W","T","F","S","S"];function v1(e){switch(e){case"narrow":return[...tA];case"short":return[...z1];case"long":return[...y1];case"numeric":return["1","2","3","4","5","6","7"];default:return null}}const b1=["AM","PM"],nA=["Before Christ","Anno Domini"],rA=["BC","AD"],oA=["B","A"];function C1(e){switch(e){case"narrow":return[...oA];case"short":return[...rA];case"long":return[...nA];default:return null}}function sA(e){return b1[e.hour<12?0:1]}function iA(e,t){return v1(t)[e.weekday-1]}function aA(e,t){return g1(t)[e.month-1]}function lA(e,t){return C1(t)[e.year<0?0:1]}function cA(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 _p(e,t){let n="";for(const r of e)r.literal?n+=r.val:n+=t(r.val);return n}const uA={D:al,DD:Hy,DDD:Uy,DDDD:jy,t:By,tt:Wy,ttt:qy,tttt:Gy,T:Ky,TT:Zy,TTT:Yy,TTTT:Xy,f:Jy,ff:e1,fff:n1,ffff:o1,F:Qy,FF:t1,FFF:r1,FFFF:s1};class Kt{static create(t,n={}){return new Kt(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 uA[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 Lt(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?sA(t):s({hour:"numeric",hourCycle:"h12"},"dayperiod"),l=(p,h)=>r?aA(t,p):s(h?{month:p}:{month:p,day:"numeric"},"month"),u=(p,h)=>r?iA(t,p):s(h?{weekday:p}:{weekday:p,month:"long",day:"numeric"},"weekday"),m=p=>{const h=Kt.macroTokenToFormatOpts(p);return h?this.formatWithSystemDefault(t,h):p},d=p=>r?lA(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 _p(Kt.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=Kt.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 _p(s,o(a))}}const w1=/[A-Za-z_+-]{1,256}(?::?\/[A-Za-z0-9_+-]{1,256}(?:\/[A-Za-z0-9_+-]{1,256})?)?/;function Ls(...e){const t=e.reduce((n,r)=>n+r.source,"");return RegExp(`^${t}$`)}function Ns(...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 Ds(e,...t){if(e==null)return[null,null];for(const[n,r]of t){const o=n.exec(e);if(o)return r(o)}return[null,null]}function k1(...e){return(t,n)=>{const r={};let o;for(o=0;o<e.length;o++)r[e[o]]=Zr(t[n+o]);return[r,null,n+o]}}const S1=/(?:(Z)|([+-]\d\d)(?::?(\d\d))?)/,dA=`(?:${S1.source}?(?:\\[(${w1.source})\\])?)?`,om=/(\d\d)(?::?(\d\d)(?::?(\d\d)(?:[.,](\d{1,30}))?)?)?/,x1=RegExp(`${om.source}${dA}`),sm=RegExp(`(?:T${x1.source})?`),mA=/([+-]\d{6}|\d{4})(?:-?(\d\d)(?:-?(\d\d))?)?/,fA=/(\d{4})-?W(\d\d)(?:-?(\d))?/,pA=/(\d{4})-?(\d{3})/,hA=k1("weekYear","weekNumber","weekDay"),_A=k1("year","ordinal"),gA=/(\d{4})-(\d\d)-(\d\d)/,E1=RegExp(`${om.source} ?(?:${S1.source}|(${w1.source}))?`),yA=RegExp(`(?: ${E1.source})?`);function gs(e,t,n){const r=e[t];return De(r)?n:Zr(r)}function zA(e,t){return[{year:gs(e,t),month:gs(e,t+1,1),day:gs(e,t+2,1)},null,t+3]}function Rs(e,t){return[{hours:gs(e,t,0),minutes:gs(e,t+1,0),seconds:gs(e,t+2,0),milliseconds:nm(e[t+3])},null,t+4]}function Wi(e,t){const n=!e[t]&&!e[t+1],r=ec(e[t+1],e[t+2]),o=n?null:rn.instance(r);return[{},o,t+3]}function qi(e,t){const n=e[t]?Or.create(e[t]):null;return[{},n,t+1]}const vA=RegExp(`^T?${om.source}$`),bA=/^-?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 CA(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(vo(n)),months:f(vo(r)),weeks:f(vo(o)),days:f(vo(s)),hours:f(vo(i)),minutes:f(vo(a)),seconds:f(vo(l),l==="-0"),milliseconds:f(nm(u),d)}]}const wA={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 im(e,t,n,r,o,s,i){const a={year:t.length===2?Wu(Zr(t)):Zr(t),month:_1.indexOf(n)+1,day:Zr(r),hour:Zr(o),minute:Zr(s)};return i&&(a.second=Zr(i)),e&&(a.weekday=e.length>3?y1.indexOf(e)+1:z1.indexOf(e)+1),a}const kA=/^(?:(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 SA(e){const[,t,n,r,o,s,i,a,l,u,m,d]=e,f=im(t,o,r,n,s,i,a);let p;return l?p=wA[l]:u?p=0:p=ec(m,d),[f,new rn(p)]}function xA(e){return e.replace(/\([^()]*\)|[\n\t]/g," ").replace(/(\s\s+)/g," ").trim()}const EA=/^(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$/,$A=/^(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$/,TA=/^(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 gp(e){const[,t,n,r,o,s,i,a]=e;return[im(t,o,r,n,s,i,a),rn.utcInstance]}function AA(e){const[,t,n,r,o,s,i,a]=e;return[im(t,a,n,r,o,s,i),rn.utcInstance]}const OA=Ls(mA,sm),PA=Ls(fA,sm),IA=Ls(pA,sm),LA=Ls(x1),$1=Ns(zA,Rs,Wi,qi),NA=Ns(hA,Rs,Wi,qi),DA=Ns(_A,Rs,Wi,qi),RA=Ns(Rs,Wi,qi);function MA(e){return Ds(e,[OA,$1],[PA,NA],[IA,DA],[LA,RA])}function FA(e){return Ds(xA(e),[kA,SA])}function VA(e){return Ds(e,[EA,gp],[$A,gp],[TA,AA])}function HA(e){return Ds(e,[bA,CA])}const UA=Ns(Rs);function jA(e){return Ds(e,[vA,UA])}const BA=Ls(gA,yA),WA=Ls(E1),qA=Ns(Rs,Wi,qi);function GA(e){return Ds(e,[BA,$1],[WA,qA])}const yp="Invalid Duration",T1={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}},KA={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},...T1},Tn=146097/400,Ko=146097/4800,ZA={years:{quarters:4,months:12,weeks:Tn/7,days:Tn,hours:Tn*24,minutes:Tn*24*60,seconds:Tn*24*60*60,milliseconds:Tn*24*60*60*1e3},quarters:{months:3,weeks:Tn/28,days:Tn/4,hours:Tn*24/4,minutes:Tn*24*60/4,seconds:Tn*24*60*60/4,milliseconds:Tn*24*60*60*1e3/4},months:{weeks:Ko/7,days:Ko,hours:Ko*24,minutes:Ko*24*60,seconds:Ko*24*60*60,milliseconds:Ko*24*60*60*1e3},...T1},Eo=["years","quarters","months","weeks","days","hours","minutes","seconds","milliseconds"],YA=Eo.slice(0).reverse();function Hr(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 Ke(r)}function A1(e,t){let n=t.milliseconds??0;for(const r of YA.slice(1))t[r]&&(n+=t[r]*e[r].milliseconds);return n}function zp(e,t){const n=A1(e,t)<0?-1:1;Eo.reduceRight((r,o)=>{if(De(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),Eo.reduce((r,o)=>{if(De(t[o]))return r;if(r){const s=t[r]%1;t[r]-=s,t[o]+=s*e[r][o]}return o},null)}function XA(e){const t={};for(const[n,r]of Object.entries(e))r!==0&&(t[n]=r);return t}class Ke{constructor(t){const n=t.conversionAccuracy==="longterm"||!1;let r=n?ZA:KA;t.matrix&&(r=t.matrix),this.values=t.values,this.loc=t.loc||ct.create(),this.conversionAccuracy=n?"longterm":"casual",this.invalid=t.invalid||null,this.matrix=r,this.isLuxonDuration=!0}static fromMillis(t,n){return Ke.fromObject({milliseconds:t},n)}static fromObject(t,n={}){if(t==null||typeof t!="object")throw new qt(`Duration.fromObject: argument expected to be an object, got ${t===null?"null":typeof t}`);return new Ke({values:ul(t,Ke.normalizeUnit),loc:ct.fromObject(n),conversionAccuracy:n.conversionAccuracy,matrix:n.matrix})}static fromDurationLike(t){if(ro(t))return Ke.fromMillis(t);if(Ke.isDuration(t))return t;if(typeof t=="object")return Ke.fromObject(t);throw new qt(`Unknown duration argument ${t} of type ${typeof t}`)}static fromISO(t,n){const[r]=HA(t);return r?Ke.fromObject(r,n):Ke.invalid("unparsable",`the input "${t}" can't be parsed as ISO 8601`)}static fromISOTime(t,n){const[r]=jA(t);return r?Ke.fromObject(r,n):Ke.invalid("unparsable",`the input "${t}" can't be parsed as ISO 8601`)}static invalid(t,n=null){if(!t)throw new qt("need to specify a reason the Duration is invalid");const r=t instanceof Jn?t:new Jn(t,n);if($t.throwOnInvalid)throw new bT(r);return new Ke({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 Vy(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?Kt.create(this.loc,r).formatDurationFromString(this,t):yp}toHuman(t={}){if(!this.isValid)return yp;const n=Eo.map(r=>{const o=this.values[r];return De(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+=rm(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},Te.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?A1(this.matrix,this.values):NaN}valueOf(){return this.toMillis()}plus(t){if(!this.isValid)return this;const n=Ke.fromDurationLike(t),r={};for(const o of Eo)(ks(n.values,o)||ks(this.values,o))&&(r[o]=n.get(o)+this.get(o));return Hr(this,{values:r},!0)}minus(t){if(!this.isValid)return this;const n=Ke.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]=h1(t(this.values[r],r));return Hr(this,{values:n},!0)}get(t){return this[Ke.normalizeUnit(t)]}set(t){if(!this.isValid)return this;const n={...this.values,...ul(t,Ke.normalizeUnit)};return Hr(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 Hr(this,i)}as(t){return this.isValid?this.shiftTo(t).get(t):NaN}normalize(){if(!this.isValid)return this;const t=this.toObject();return zp(this.matrix,t),Hr(this,{values:t},!0)}rescale(){if(!this.isValid)return this;const t=XA(this.normalize().shiftToAll().toObject());return Hr(this,{values:t},!0)}shiftTo(...t){if(!this.isValid)return this;if(t.length===0)return this;t=t.map(i=>Ke.normalizeUnit(i));const n={},r={},o=this.toObject();let s;for(const i of Eo)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;ro(o[i])&&(a+=o[i]);const l=Math.trunc(a);n[i]=l,r[i]=(a*1e3-l*1e3)/1e3}else ro(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 zp(this.matrix,n),Hr(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 Hr(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 Eo)if(!n(this.values[r],t.values[r]))return!1;return!0}}const Zo="Invalid Interval";function JA(e,t){return!e||!e.isValid?Et.invalid("missing or invalid start"):!t||!t.isValid?Et.invalid("missing or invalid end"):t<e?Et.invalid("end before start",`The end of an interval must be after its start, but you had start=${e.toISO()} and end=${t.toISO()}`):null}class Et{constructor(t){this.s=t.start,this.e=t.end,this.invalid=t.invalid||null,this.isLuxonInterval=!0}static invalid(t,n=null){if(!t)throw new qt("need to specify a reason the Interval is invalid");const r=t instanceof Jn?t:new Jn(t,n);if($t.throwOnInvalid)throw new vT(r);return new Et({invalid:r})}static fromDateTimes(t,n){const r=js(t),o=js(n),s=JA(r,o);return s??new Et({start:r,end:o})}static after(t,n){const r=Ke.fromDurationLike(n),o=js(t);return Et.fromDateTimes(o,o.plus(r))}static before(t,n){const r=Ke.fromDurationLike(n),o=js(t);return Et.fromDateTimes(o.minus(r),o)}static fromISO(t,n){const[r,o]=(t||"").split("/",2);if(r&&o){let s,i;try{s=Te.fromISO(r,n),i=s.isValid}catch{i=!1}let a,l;try{a=Te.fromISO(o,n),l=a.isValid}catch{l=!1}if(i&&l)return Et.fromDateTimes(s,a);if(i){const u=Ke.fromISO(o,n);if(u.isValid)return Et.after(s,u)}else if(l){const u=Ke.fromISO(r,n);if(u.isValid)return Et.before(a,u)}}return Et.invalid("unparsable",`the input "${t}" can't be parsed as ISO 8601`)}static isInterval(t){return t&&t.isLuxonInterval||!1}get start(){return this.isValid?this.s:null}get end(){return this.isValid?this.e:null}get isValid(){return this.invalidReason===null}get invalidReason(){return this.invalid?this.invalid.reason:null}get invalidExplanation(){return this.invalid?this.invalid.explanation:null}length(t="milliseconds"){return this.isValid?this.toDuration(t).get(t):NaN}count(t="milliseconds",n){if(!this.isValid)return NaN;const r=this.start.startOf(t,n);let 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?Et.fromDateTimes(t||this.s,n||this.e):this}splitAt(...t){if(!this.isValid)return[];const n=t.map(js).filter(i=>this.contains(i)).sort((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(Et.fromDateTimes(o,a)),o=a,s+=1}return r}splitBy(t){const n=Ke.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(Et.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:Et.fromDateTimes(n,r)}union(t){if(!this.isValid)return this;const n=this.s<t.s?this.s:t.s,r=this.e>t.e?this.e:t.e;return Et.fromDateTimes(n,r)}static merge(t){const[n,r]=t.sort((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(Et.fromDateTimes(n,l.time)),n=null);return Et.merge(o)}difference(...t){return Et.xor([this].concat(t)).map(n=>this.intersection(n)).filter(n=>n&&!n.isEmpty())}toString(){return this.isValid?`[${this.s.toISO()} ${this.e.toISO()})`:Zo}[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=al,n={}){return this.isValid?Kt.create(this.s.loc.clone(n),t).formatInterval(this):Zo}toISO(t){return this.isValid?`${this.s.toISO(t)}/${this.e.toISO(t)}`:Zo}toISODate(){return this.isValid?`${this.s.toISODate()}/${this.e.toISODate()}`:Zo}toISOTime(t){return this.isValid?`${this.s.toISOTime(t)}/${this.e.toISOTime(t)}`:Zo}toFormat(t,{separator:n=" "}={}){return this.isValid?`${this.s.toFormat(t)}${n}${this.e.toFormat(t)}`:Zo}toDuration(t,n){return this.isValid?this.e.diff(this.s,t,n):Ke.invalid(this.invalidReason)}mapEndpoints(t){return Et.fromDateTimes(t(this.s),t(this.e))}}class pa{static hasDST(t=$t.defaultZone){const n=Te.now().setZone(t).set({month:12});return!t.isUniversal&&n.offset!==n.set({month:6}).offset}static isValidIANAZone(t){return Or.isValidZone(t)}static normalizeZone(t){return Qr(t,$t.defaultZone)}static getStartOfWeek({locale:t=null,locObj:n=null}={}){return(n||ct.create(t)).getStartOfWeek()}static getMinimumDaysInFirstWeek({locale:t=null,locObj:n=null}={}){return(n||ct.create(t)).getMinDaysInFirstWeek()}static getWeekendWeekdays({locale:t=null,locObj:n=null}={}){return(n||ct.create(t)).getWeekendDays().slice()}static months(t="long",{locale:n=null,numberingSystem:r=null,locObj:o=null,outputCalendar:s="gregory"}={}){return(o||ct.create(n,r,s)).months(t)}static monthsFormat(t="long",{locale:n=null,numberingSystem:r=null,locObj:o=null,outputCalendar:s="gregory"}={}){return(o||ct.create(n,r,s)).months(t,!0)}static weekdays(t="long",{locale:n=null,numberingSystem:r=null,locObj:o=null}={}){return(o||ct.create(n,r,null)).weekdays(t)}static weekdaysFormat(t="long",{locale:n=null,numberingSystem:r=null,locObj:o=null}={}){return(o||ct.create(n,r,null)).weekdays(t,!0)}static meridiems({locale:t=null}={}){return ct.create(t).meridiems()}static eras(t="short",{locale:n=null}={}){return ct.create(n,null,"gregory").eras(t)}static features(){return{relative:m1(),localeWeek:f1()}}}function vp(e,t){const n=o=>o.toUTC(0,{keepLocalTime:!0}).startOf("day").valueOf(),r=n(t)-n(e);return Math.floor(Ke.fromMillis(r).as("days"))}function QA(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=vp(l,u);return(m-m%7)/7}],["days",vp]],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 eO(e,t,n,r){let[o,s,i,a]=QA(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=Ke.fromObject(s,r);return u.length>0?Ke.fromMillis(l,r).shiftTo(...u).plus(m):m}const tO="missing Intl.DateTimeFormat.formatToParts support";function ot(e,t=n=>n){return{regex:e,deser:([n])=>t(BT(n))}}const nO=" ",O1=`[ ${nO}]`,P1=new RegExp(O1,"g");function rO(e){return e.replace(/\./g,"\\.?").replace(P1,O1)}function bp(e){return e.replace(/\./g,"").replace(P1," ").toLowerCase()}function qn(e,t){return e===null?null:{regex:RegExp(e.map(rO).join("|")),deser:([n])=>e.findIndex(r=>bp(n)===bp(r))+t}}function Cp(e,t){return{regex:e,deser:([,n,r])=>ec(n,r),groups:t}}function ha(e){return{regex:e,deser:([t])=>t}}function oO(e){return e.replace(/[\-\[\]{}()*+?.,\\\^$|#\s]/g,"\\$&")}function sO(e,t){const n=Wn(t),r=Wn(t,"{2}"),o=Wn(t,"{3}"),s=Wn(t,"{4}"),i=Wn(t,"{6}"),a=Wn(t,"{1,2}"),l=Wn(t,"{1,3}"),u=Wn(t,"{1,6}"),m=Wn(t,"{1,9}"),d=Wn(t,"{2,4}"),f=Wn(t,"{4,6}"),p=z=>({regex:RegExp(oO(z.val)),deser:([k])=>k,literal:!0}),g=(z=>{if(e.literal)return p(z);switch(z.val){case"G":return qn(t.eras("short"),0);case"GG":return qn(t.eras("long"),0);case"y":return ot(u);case"yy":return ot(d,Wu);case"yyyy":return ot(s);case"yyyyy":return ot(f);case"yyyyyy":return ot(i);case"M":return ot(a);case"MM":return ot(r);case"MMM":return qn(t.months("short",!0),1);case"MMMM":return qn(t.months("long",!0),1);case"L":return ot(a);case"LL":return ot(r);case"LLL":return qn(t.months("short",!1),1);case"LLLL":return qn(t.months("long",!1),1);case"d":return ot(a);case"dd":return ot(r);case"o":return ot(l);case"ooo":return ot(o);case"HH":return ot(r);case"H":return ot(a);case"hh":return ot(r);case"h":return ot(a);case"mm":return ot(r);case"m":return ot(a);case"q":return ot(a);case"qq":return ot(r);case"s":return ot(a);case"ss":return ot(r);case"S":return ot(l);case"SSS":return ot(o);case"u":return ha(m);case"uu":return ha(a);case"uuu":return ot(n);case"a":return qn(t.meridiems(),0);case"kkkk":return ot(s);case"kk":return ot(d,Wu);case"W":return ot(a);case"WW":return ot(r);case"E":case"c":return ot(n);case"EEE":return qn(t.weekdays("short",!1),1);case"EEEE":return qn(t.weekdays("long",!1),1);case"ccc":return qn(t.weekdays("short",!0),1);case"cccc":return qn(t.weekdays("long",!0),1);case"Z":case"ZZ":return Cp(new RegExp(`([+-]${a.source})(?::(${r.source}))?`),2);case"ZZZ":return Cp(new RegExp(`([+-]${a.source})(${r.source})?`),2);case"z":return ha(/[a-z_+-/]{1,256}?/i);case" ":return ha(/[^\S\n\r]/);default:return p(z)}})(e)||{invalidReason:tO};return g.token=e,g}const iO={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 aO(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=iO[i];if(typeof a=="object"&&(a=a[s]),a)return{literal:!1,val:a}}function lO(e){return[`^${e.map(n=>n.regex).reduce((n,r)=>`${n}(${r.source})`,"")}$`,e]}function cO(e,t,n){const r=e.match(t);if(r){const o={};let s=1;for(const i in n)if(ks(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 uO(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 De(e.z)||(n=Or.create(e.z)),De(e.Z)||(n||(n=new rn(e.Z)),r=e.Z),De(e.q)||(e.M=(e.q-1)*3+1),De(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),De(e.u)||(e.S=nm(e.u)),[Object.keys(e).reduce((s,i)=>{const a=t(i);return a&&(s[a]=e[i]),s},{}),n,r]}let Ac=null;function dO(){return Ac||(Ac=Te.fromMillis(1555555555555)),Ac}function mO(e,t){if(e.literal)return e;const n=Kt.macroTokenToFormatOpts(e.val),r=D1(n,t);return r==null||r.includes(void 0)?e:r}function I1(e,t){return Array.prototype.concat(...e.map(n=>mO(n,t)))}class L1{constructor(t,n){if(this.locale=t,this.format=n,this.tokens=I1(Kt.parseFormat(n),t),this.units=this.tokens.map(r=>sO(r,t)),this.disqualifyingUnit=this.units.find(r=>r.invalidReason),!this.disqualifyingUnit){const[r,o]=lO(this.units);this.regex=RegExp(r,"i"),this.handlers=o}}explainFromTokens(t){if(this.isValid){const[n,r]=cO(t,this.regex,this.handlers),[o,s,i]=r?uO(r):[null,null,void 0];if(ks(r,"a")&&ks(r,"H"))throw new as("Can't include meridiem when specifying 24-hour format");return{input:t,tokens:this.tokens,regex:this.regex,rawMatches:n,matches:r,result:o,zone:s,specificOffset:i}}else return{input:t,tokens:this.tokens,invalidReason:this.invalidReason}}get isValid(){return!this.disqualifyingUnit}get invalidReason(){return this.disqualifyingUnit?this.disqualifyingUnit.invalidReason:null}}function N1(e,t,n){return new L1(e,n).explainFromTokens(t)}function fO(e,t,n){const{result:r,zone:o,specificOffset:s,invalidReason:i}=N1(e,t,n);return[r,o,s,i]}function D1(e,t){if(!e)return null;const r=Kt.create(t,e).dtFormatter(dO()),o=r.formatToParts(),s=r.resolvedOptions();return o.map(i=>aO(i,e,s))}const Oc="Invalid DateTime",wp=864e13;function Js(e){return new Jn("unsupported zone",`the zone "${e.name}" is not supported`)}function Pc(e){return e.weekData===null&&(e.weekData=ll(e.c)),e.weekData}function Ic(e){return e.localWeekData===null&&(e.localWeekData=ll(e.c,e.loc.getMinDaysInFirstWeek(),e.loc.getStartOfWeek())),e.localWeekData}function bo(e,t){const n={ts:e.ts,zone:e.zone,c:e.c,o:e.o,loc:e.loc,invalid:e.invalid};return new Te({...n,...t,old:n})}function R1(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 _a(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 La(e,t,n){return R1(Ql(e),t,n)}function kp(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,cl(r,o))+Math.trunc(t.days)+Math.trunc(t.weeks)*7},i=Ke.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=Ql(s);let[l,u]=R1(a,n,e.zone);return i!==0&&(l+=i,u=e.zone.offset(l)),{ts:l,o:u}}function Yo(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=Te.fromObject(e,{...n,zone:l,specificOffset:s});return i?u:u.setZone(a)}else return Te.invalid(new Jn("unparsable",`the input "${o}" can't be parsed as ${r}`))}function ga(e,t,n=!0){return e.isValid?Kt.create(ct.create("en-US"),{allowZ:n,forceSimple:!0}).formatDateTimeFromString(e,t):null}function Lc(e,t){const n=e.c.year>9999||e.c.year<0;let r="";return n&&e.c.year>=0&&(r+="+"),r+=Lt(e.c.year,n?6:4),t?(r+="-",r+=Lt(e.c.month),r+="-",r+=Lt(e.c.day)):(r+=Lt(e.c.month),r+=Lt(e.c.day)),r}function Sp(e,t,n,r,o,s){let i=Lt(e.c.hour);return t?(i+=":",i+=Lt(e.c.minute),(e.c.millisecond!==0||e.c.second!==0||!n)&&(i+=":")):i+=Lt(e.c.minute),(e.c.millisecond!==0||e.c.second!==0||!n)&&(i+=Lt(e.c.second),(e.c.millisecond!==0||!r)&&(i+=".",i+=Lt(e.c.millisecond,3))),o&&(e.isOffsetFixed&&e.offset===0&&!s?i+="Z":e.o<0?(i+="-",i+=Lt(Math.trunc(-e.o/60)),i+=":",i+=Lt(Math.trunc(-e.o%60))):(i+="+",i+=Lt(Math.trunc(e.o/60)),i+=":",i+=Lt(Math.trunc(e.o%60)))),s&&(i+="["+e.zone.ianaName+"]"),i}const M1={month:1,day:1,hour:0,minute:0,second:0,millisecond:0},pO={weekNumber:1,weekday:1,hour:0,minute:0,second:0,millisecond:0},hO={ordinal:1,hour:0,minute:0,second:0,millisecond:0},F1=["year","month","day","hour","minute","second","millisecond"],_O=["weekYear","weekNumber","weekday","hour","minute","second","millisecond"],gO=["year","ordinal","hour","minute","second","millisecond"];function yO(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 Vy(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 yO(e)}}function zO(e){return Da[e]||(Na===void 0&&(Na=$t.now()),Da[e]=e.offset(Na)),Da[e]}function Ep(e,t){const n=Qr(t.zone,$t.defaultZone);if(!n.isValid)return Te.invalid(Js(n));const r=ct.fromObject(t);let o,s;if(De(e.year))o=$t.now();else{for(const l of F1)De(e[l])&&(e[l]=M1[l]);const i=u1(e)||d1(e);if(i)return Te.invalid(i);const a=zO(n);[o,s]=La(e,a,n)}return new Te({ts:o,zone:n,loc:r,o:s})}function $p(e,t,n){const r=De(n.round)?!0:n.round,o=(i,a)=>(i=rm(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 Tp(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]}let Na,Da={};class Te{constructor(t){const n=t.zone||$t.defaultZone;let r=t.invalid||(Number.isNaN(t.ts)?new Jn("invalid input"):null)||(n.isValid?null:Js(n));this.ts=De(t.ts)?$t.now():t.ts;let o=null,s=null;if(!r)if(t.old&&t.old.ts===this.ts&&t.old.zone.equals(n))[o,s]=[t.old.c,t.old.o];else{const a=ro(t.o)&&!t.old?t.o:n.offset(this.ts);o=_a(this.ts,a),r=Number.isNaN(o.year)?new Jn("invalid input"):null,o=r?null:o,s=r?null:a}this._zone=n,this.loc=t.loc||ct.create(),this.invalid=r,this.weekData=null,this.localWeekData=null,this.c=o,this.o=s,this.isLuxonDateTime=!0}static now(){return new Te({})}static local(){const[t,n]=Tp(arguments),[r,o,s,i,a,l,u]=n;return Ep({year:r,month:o,day:s,hour:i,minute:a,second:l,millisecond:u},t)}static utc(){const[t,n]=Tp(arguments),[r,o,s,i,a,l,u]=n;return t.zone=rn.utcInstance,Ep({year:r,month:o,day:s,hour:i,minute:a,second:l,millisecond:u},t)}static fromJSDate(t,n={}){const r=ZT(t)?t.valueOf():NaN;if(Number.isNaN(r))return Te.invalid("invalid input");const o=Qr(n.zone,$t.defaultZone);return o.isValid?new Te({ts:r,zone:o,loc:ct.fromObject(n)}):Te.invalid(Js(o))}static fromMillis(t,n={}){if(ro(t))return t<-wp||t>wp?Te.invalid("Timestamp out of range"):new Te({ts:t,zone:Qr(n.zone,$t.defaultZone),loc:ct.fromObject(n)});throw new qt(`fromMillis requires a numerical input, but received a ${typeof t} with value ${t}`)}static fromSeconds(t,n={}){if(ro(t))return new Te({ts:t*1e3,zone:Qr(n.zone,$t.defaultZone),loc:ct.fromObject(n)});throw new qt("fromSeconds requires a numerical input")}static fromObject(t,n={}){t=t||{};const r=Qr(n.zone,$t.defaultZone);if(!r.isValid)return Te.invalid(Js(r));const o=ct.fromObject(n),s=ul(t,xp),{minDaysInFirstWeek:i,startOfWeek:a}=fp(s,o),l=$t.now(),u=De(n.specificOffset)?r.offset(l):n.specificOffset,m=!De(s.ordinal),d=!De(s.year),f=!De(s.month)||!De(s.day),p=d||f,h=s.weekYear||s.weekNumber;if((p||m)&&h)throw new as("Can't mix weekYear/weekNumber units with year/month/day or ordinals");if(f&&m)throw new as("Can't mix ordinal dates with month/day");const g=h||s.weekday&&!p;let z,k,w=_a(l,u);g?(z=_O,k=pO,w=ll(w,i,a)):m?(z=gO,k=hO,w=Tc(w)):(z=F1,k=M1);let _=!1;for(const F of z){const q=s[F];De(q)?_?s[F]=k[F]:s[F]=w[F]:_=!0}const v=g?qT(s,i,a):m?GT(s):u1(s),S=v||d1(s);if(S)return Te.invalid(S);const C=g?dp(s,i,a):m?mp(s):s,[L,D]=La(C,u,r),$=new Te({ts:L,zone:r,o:D,loc:o});return s.weekday&&p&&t.weekday!==$.weekday?Te.invalid("mismatched weekday",`you can't specify both a weekday of ${s.weekday} and a date of ${$.toISO()}`):$.isValid?$:Te.invalid($.invalid)}static fromISO(t,n={}){const[r,o]=MA(t);return Yo(r,o,n,"ISO 8601",t)}static fromRFC2822(t,n={}){const[r,o]=FA(t);return Yo(r,o,n,"RFC 2822",t)}static fromHTTP(t,n={}){const[r,o]=VA(t);return Yo(r,o,n,"HTTP",n)}static fromFormat(t,n,r={}){if(De(t)||De(n))throw new qt("fromFormat requires an input string and a format");const{locale:o=null,numberingSystem:s=null}=r,i=ct.fromOpts({locale:o,numberingSystem:s,defaultToEN:!0}),[a,l,u,m]=fO(i,t,n);return m?Te.invalid(m):Yo(a,l,r,`format ${n}`,t,u)}static fromString(t,n,r={}){return Te.fromFormat(t,n,r)}static fromSQL(t,n={}){const[r,o]=GA(t);return Yo(r,o,n,"SQL",t)}static invalid(t,n=null){if(!t)throw new qt("need to specify a reason the DateTime is invalid");const r=t instanceof Jn?t:new Jn(t,n);if($t.throwOnInvalid)throw new zT(r);return new Te({invalid:r})}static isDateTime(t){return t&&t.isLuxonDateTime||!1}static parseFormatForOpts(t,n={}){const r=D1(t,ct.fromObject(n));return r?r.map(o=>o?o.val:null).join(""):null}static expandFormat(t,n={}){return I1(Kt.parseFormat(t),ct.fromObject(n)).map(o=>o.val).join("")}static resetCache(){Na=void 0,Da={}}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?Pc(this).weekYear:NaN}get weekNumber(){return this.isValid?Pc(this).weekNumber:NaN}get weekday(){return this.isValid?Pc(this).weekday:NaN}get isWeekend(){return this.isValid&&this.loc.getWeekendDays().includes(this.weekday)}get localWeekday(){return this.isValid?Ic(this).weekday:NaN}get localWeekNumber(){return this.isValid?Ic(this).weekNumber:NaN}get localWeekYear(){return this.isValid?Ic(this).weekYear:NaN}get ordinal(){return this.isValid?Tc(this.c).ordinal:NaN}get monthShort(){return this.isValid?pa.months("short",{locObj:this.loc})[this.month-1]:null}get monthLong(){return this.isValid?pa.months("long",{locObj:this.loc})[this.month-1]:null}get weekdayShort(){return this.isValid?pa.weekdays("short",{locObj:this.loc})[this.weekday-1]:null}get weekdayLong(){return this.isValid?pa.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=Ql(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=_a(l,i),d=_a(u,a);return m.hour===d.hour&&m.minute===d.minute&&m.second===d.second&&m.millisecond===d.millisecond?[bo(this,{ts:l}),bo(this,{ts:u})]:[this]}get isInLeapYear(){return Bi(this.year)}get daysInMonth(){return cl(this.year,this.month)}get daysInYear(){return this.isValid?_s(this.year):NaN}get weeksInWeekYear(){return this.isValid?Ai(this.weekYear):NaN}get weeksInLocalWeekYear(){return this.isValid?Ai(this.localWeekYear,this.loc.getMinDaysInFirstWeek(),this.loc.getStartOfWeek()):NaN}resolvedLocaleOptions(t={}){const{locale:n,numberingSystem:r,calendar:o}=Kt.create(this.loc.clone(t),t).resolvedOptions(this);return{locale:n,numberingSystem:r,outputCalendar:o}}toUTC(t=0,n={}){return this.setZone(rn.instance(t),n)}toLocal(){return this.setZone($t.defaultZone)}setZone(t,{keepLocalTime:n=!1,keepCalendarTime:r=!1}={}){if(t=Qr(t,$t.defaultZone),t.equals(this.zone))return this;if(t.isValid){let o=this.ts;if(n||r){const s=t.offset(this.ts),i=this.toObject();[o]=La(i,s,t)}return bo(this,{ts:o,zone:t})}else return Te.invalid(Js(t))}reconfigure({locale:t,numberingSystem:n,outputCalendar:r}={}){const o=this.loc.clone({locale:t,numberingSystem:n,outputCalendar:r});return bo(this,{loc:o})}setLocale(t){return this.reconfigure({locale:t})}set(t){if(!this.isValid)return this;const n=ul(t,xp),{minDaysInFirstWeek:r,startOfWeek:o}=fp(n,this.loc),s=!De(n.weekYear)||!De(n.weekNumber)||!De(n.weekday),i=!De(n.ordinal),a=!De(n.year),l=!De(n.month)||!De(n.day),u=a||l,m=n.weekYear||n.weekNumber;if((u||i)&&m)throw new as("Can't mix weekYear/weekNumber units with year/month/day or ordinals");if(l&&i)throw new as("Can't mix ordinal dates with month/day");let d;s?d=dp({...ll(this.c,r,o),...n},r,o):De(n.ordinal)?(d={...this.toObject(),...n},De(n.day)&&(d.day=Math.min(cl(d.year,d.month),d.day))):d=mp({...Tc(this.c),...n});const[f,p]=La(d,this.o,this.zone);return bo(this,{ts:f,o:p})}plus(t){if(!this.isValid)return this;const n=Ke.fromDurationLike(t);return bo(this,kp(this,n))}minus(t){if(!this.isValid)return this;const n=Ke.fromDurationLike(t).negate();return bo(this,kp(this,n))}startOf(t,{useLocaleWeeks:n=!1}={}){if(!this.isValid)return this;const r={},o=Ke.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?Kt.create(this.loc.redefaultToEN(n)).formatDateTimeFromString(this,t):Oc}toLocaleString(t=al,n={}){return this.isValid?Kt.create(this.loc.clone(n),t).formatDateTime(this):Oc}toLocaleParts(t={}){return this.isValid?Kt.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=Lc(this,i);return a+="T",a+=Sp(this,i,n,r,o,s),a}toISODate({format:t="extended"}={}){return this.isValid?Lc(this,t==="extended"):null}toISOWeekDate(){return ga(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":"")+Sp(this,i==="extended",n,t,r,s):null}toRFC2822(){return ga(this,"EEE, dd LLL yyyy HH:mm:ss ZZZ",!1)}toHTTP(){return ga(this.toUTC(),"EEE, dd LLL yyyy HH:mm:ss 'GMT'")}toSQLDate(){return this.isValid?Lc(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")),ga(this,o,!0)}toSQL(t={}){return this.isValid?`${this.toSQLDate()} ${this.toSQLTime(t)}`:null}toString(){return this.isValid?this.toISO():Oc}[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 Ke.invalid("created by diffing an invalid DateTime");const o={locale:this.locale,numberingSystem:this.numberingSystem,...r},s=YT(n).map(Ke.normalizeUnit),i=t.valueOf()>this.valueOf(),a=i?this:t,l=i?t:this,u=eO(a,l,s,o);return i?u.negate():u}diffNow(t="milliseconds",n={}){return this.diff(Te.now(),t,n)}until(t){return this.isValid?Et.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||Te.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),$p(n,this.plus(r),{...t,numeric:"always",units:o,unit:s})}toRelativeCalendar(t={}){return this.isValid?$p(t.base||Te.fromObject({},{zone:this.zone}),this,{...t,numeric:"auto",units:["years","months","days"],calendary:!0}):null}static min(...t){if(!t.every(Te.isDateTime))throw new qt("min requires all arguments be DateTimes");return pp(t,n=>n.valueOf(),Math.min)}static max(...t){if(!t.every(Te.isDateTime))throw new qt("max requires all arguments be DateTimes");return pp(t,n=>n.valueOf(),Math.max)}static fromFormatExplain(t,n,r={}){const{locale:o=null,numberingSystem:s=null}=r,i=ct.fromOpts({locale:o,numberingSystem:s,defaultToEN:!0});return N1(i,t,n)}static fromStringExplain(t,n,r={}){return Te.fromFormatExplain(t,n,r)}static buildFormatParser(t,n={}){const{locale:r=null,numberingSystem:o=null}=n,s=ct.fromOpts({locale:r,numberingSystem:o,defaultToEN:!0});return new L1(s,t)}static fromFormatParser(t,n,r={}){if(De(t)||De(n))throw new qt("fromFormatParser requires an input string and a format parser");const{locale:o=null,numberingSystem:s=null}=r,i=ct.fromOpts({locale:o,numberingSystem:s,defaultToEN:!0});if(!i.equals(n.locale))throw new qt(`fromFormatParser called with a locale of ${i}, but the format parser was created for ${n.locale}`);const{result:a,zone:l,specificOffset:u,invalidReason:m}=n.explainFromTokens(t);return m?Te.invalid(m):Yo(a,l,r,`format ${n.format}`,t,u)}static get DATE_SHORT(){return al}static get DATE_MED(){return Hy}static get DATE_MED_WITH_WEEKDAY(){return CT}static get DATE_FULL(){return Uy}static get DATE_HUGE(){return jy}static get TIME_SIMPLE(){return By}static get TIME_WITH_SECONDS(){return Wy}static get TIME_WITH_SHORT_OFFSET(){return qy}static get TIME_WITH_LONG_OFFSET(){return Gy}static get TIME_24_SIMPLE(){return Ky}static get TIME_24_WITH_SECONDS(){return Zy}static get TIME_24_WITH_SHORT_OFFSET(){return Yy}static get TIME_24_WITH_LONG_OFFSET(){return Xy}static get DATETIME_SHORT(){return Jy}static get DATETIME_SHORT_WITH_SECONDS(){return Qy}static get DATETIME_MED(){return e1}static get DATETIME_MED_WITH_SECONDS(){return t1}static get DATETIME_MED_WITH_WEEKDAY(){return wT}static get DATETIME_FULL(){return n1}static get DATETIME_FULL_WITH_SECONDS(){return r1}static get DATETIME_HUGE(){return o1}static get DATETIME_HUGE_WITH_SECONDS(){return s1}}function js(e){if(Te.isDateTime(e))return e;if(e&&e.valueOf&&ro(e.valueOf()))return Te.fromJSDate(e);if(e&&typeof e=="object")return Te.fromObject(e);throw new qt(`Unknown datetime argument: ${e}, of type ${typeof e}`)}const{t:Nc,locale:Dc}=ql.global,vO={channels(e){return e===1?Nc("filter.mono"):e===2?Nc("filter.stereo"):e?Nc("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`},date(e){return Te.fromISO(e).setLocale(Dc.value).toLocaleString(Te.DATE_FULL)},datetime(e){return Te.fromISO(e).setLocale(Dc.value).toLocaleString(Te.DATETIME_MED)},durationInDays(e){const t=Math.floor(e/6e4);return t>1440?Ke.fromObject({minutes:t}).shiftTo("days","hours","minutes").toHuman():t>60?Ke.fromObject({minutes:t}).shiftTo("hours","minutes").toHuman():Ke.fromObject({minutes:t}).shiftTo("minutes").toHuman()},durationInHours(e){const t=e>=36e5?"h:mm:ss":"m:ss";return Ke.fromMillis(e).toFormat(t)},number(e){return e.toLocaleString(Dc.value)},timeFromNow(e){const t=Te.now().diff(Te.fromISO(e));return this.durationInDays(t.as("milliseconds"))}},bO={mdiAccountMusic:Ex,mdiAlbum:$x,mdiArrowCollapseDown:Ax,mdiBookOpenPageVariant:Ox,mdiBookOpenVariant:Px,mdiBookshelf:Ix,mdiBroadcast:Lx,mdiCancel:Kl,mdiCast:Nx,mdiCastVariant:Dx,mdiCellphone:Rx,mdiCheck:Mx,mdiChevronDown:Fx,mdiChevronLeft:Vx,mdiChevronUp:Hx,mdiContentSave:Ux,mdiDelete:jx,mdiDeleteEmpty:Bx,mdiDotsHorizontal:Wx,mdiDotsVertical:qx,mdiDragHorizontal:Gx,mdiFastForward30:Kx,mdiFileMusic:Zx,mdiFileOutline:Yx,mdiFire:Xx,mdiFolder:Jx,mdiFolderOpen:Qx,mdiHistory:eE,mdiLoading:tE,mdiMagnify:nE,mdiMenu:rE,mdiMicrophone:oE,mdiMusic:sE,mdiMusicBoxMultiple:iE,mdiOpenInNew:aE,mdiPause:lE,mdiPencil:cE,mdiPipe:uE,mdiPlay:dE,mdiPlaylistPlay:mE,mdiPlaylistPlus:fE,mdiRadio:pE,mdiRadioTower:hE,mdiRefresh:_E,mdiRepeat:gE,mdiRepeatOff:yE,mdiRepeatOnce:zE,mdiRewind10:vE,mdiRss:bE,mdiScriptTextOutline:CE,mdiScriptTextPlay:wE,mdiServer:kE,mdiShuffle:SE,mdiShuffleDisabled:xE,mdiSkipBackward:EE,mdiSkipForward:$E,mdiSpeaker:TE,mdiSpotify:AE,mdiStop:OE,mdiVolumeHigh:PE,mdiVolumeOff:IE,mdiWeb:LE},CO={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}},wO=e=>e.charAt(0).toUpperCase()+e.slice(1),kO=e=>e.split("-").map(wO).join(""),SO=(e,t,n)=>{const r=e[`mdi${kO(t.name)}`]||Tx,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}}},xO=(e,t)=>({[t.staticClass||""]:!0,[t.class||""]:!0,[`mdi mdi-${e.name}`]:!0,"mdi-spin":e.spin===!0}),EO=(e,t={})=>({install(n,{icons:r}){if(r===void 0)throw new Error("Icons must be provided separately");n.component("mdicon",{name:"MDIcon",props:CO,...t,render:e(r)})}}),$O=e=>function(){const{spanAttrs:n,svgAttrs:r,pathAttrs:o}=SO(e,this,this.$attrs);return mr("span",{...n,class:xO(this,this)},[mr("svg",r,[this.title?mr("title",[this.title]):void 0,mr("path",o)])])},TO=EO($O);/*!
* vue-router v4.4.3
* (c) 2024 Eduardo San Martin Morote
* @license MIT
*/const os=typeof document<"u";function AO(e){return e.__esModule||e[Symbol.toStringTag]==="Module"}const dt=Object.assign;function Rc(e,t){const n={};for(const r in t){const o=t[r];n[r]=rr(o)?o.map(e):e(o)}return n}const mi=()=>{},rr=Array.isArray,V1=/#/g,OO=/&/g,PO=/\//g,IO=/=/g,LO=/\?/g,H1=/\+/g,NO=/%5B/g,DO=/%5D/g,U1=/%5E/g,RO=/%60/g,j1=/%7B/g,MO=/%7C/g,B1=/%7D/g,FO=/%20/g;function am(e){return encodeURI(""+e).replace(MO,"|").replace(NO,"[").replace(DO,"]")}function VO(e){return am(e).replace(j1,"{").replace(B1,"}").replace(U1,"^")}function qu(e){return am(e).replace(H1,"%2B").replace(FO,"+").replace(V1,"%23").replace(OO,"%26").replace(RO,"`").replace(j1,"{").replace(B1,"}").replace(U1,"^")}function HO(e){return qu(e).replace(IO,"%3D")}function UO(e){return am(e).replace(V1,"%23").replace(LO,"%3F")}function jO(e){return e==null?"":UO(e).replace(PO,"%2F")}function Oi(e){try{return decodeURIComponent(""+e)}catch{}return""+e}const BO=/\/$/,WO=e=>e.replace(BO,"");function Mc(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=ZO(r??t,n),{fullPath:r+(s&&"?")+s+i,path:r,query:o,hash:Oi(i)}}function qO(e,t){const n=t.query?e(t.query):"";return t.path+(n&&"?")+n+(t.hash||"")}function Ap(e,t){return!t||!e.toLowerCase().startsWith(t.toLowerCase())?e:e.slice(t.length)||"/"}function GO(e,t,n){const r=t.matched.length-1,o=n.matched.length-1;return r>-1&&r===o&&Ss(t.matched[r],n.matched[o])&&W1(t.params,n.params)&&e(t.query)===e(n.query)&&t.hash===n.hash}function Ss(e,t){return(e.aliasOf||e)===(t.aliasOf||t)}function W1(e,t){if(Object.keys(e).length!==Object.keys(t).length)return!1;for(const n in e)if(!KO(e[n],t[n]))return!1;return!0}function KO(e,t){return rr(e)?Op(e,t):rr(t)?Op(t,e):e===t}function Op(e,t){return rr(t)?e.length===t.length&&e.every((n,r)=>n===t[r]):e.length===1&&e[0]===t}function ZO(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("/")}const Ur={path:"/",name:void 0,params:{},query:{},hash:"",fullPath:"/",matched:[],meta:{},redirectedFrom:void 0};var Pi;(function(e){e.pop="pop",e.push="push"})(Pi||(Pi={}));var fi;(function(e){e.back="back",e.forward="forward",e.unknown=""})(fi||(fi={}));function YO(e){if(!e)if(os){const t=document.querySelector("base");e=t&&t.getAttribute("href")||"/",e=e.replace(/^\w+:\/\/[^\/]+/,"")}else e="/";return e[0]!=="/"&&e[0]!=="#"&&(e="/"+e),WO(e)}const XO=/^[^#]+#/;function JO(e,t){return e.replace(XO,"#")+t}function QO(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 nc=()=>({left:window.scrollX,top:window.scrollY});function e8(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=QO(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 Pp(e,t){return(history.state?history.state.position-t:-1)+e}const Gu=new Map;function t8(e,t){Gu.set(e,t)}function n8(e){const t=Gu.get(e);return Gu.delete(e),t}let r8=()=>location.protocol+"//"+location.host;function q1(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),Ap(l,"")}return Ap(n,e)+r+o}function o8(e,t,n,r){let o=[],s=[],i=null;const a=({state:f})=>{const p=q1(e,location),h=n.value,g=t.value;let z=0;if(f){if(n.value=p,t.value=f,i&&i===h){i=null;return}z=g?f.position-g.position:0}else r(p);o.forEach(k=>{k(n.value,h,{delta:z,type:Pi.pop,direction:z?z>0?fi.forward:fi.back:fi.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(dt({},f.state,{scroll:nc()}),"")}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 Ip(e,t,n,r=!1,o=!1){return{back:e,current:t,forward:n,replaced:r,position:window.history.length,scroll:o?nc():null}}function s8(e){const{history:t,location:n}=window,r={value:q1(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:r8()+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=dt({},t.state,Ip(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=dt({},o.value,t.state,{forward:l,scroll:nc()});s(m.current,m,!0);const d=dt({},Ip(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 i8(e){e=YO(e);const t=s8(e),n=o8(e,t.state,t.location,t.replace);function r(s,i=!0){i||n.pauseListeners(),history.go(s)}const o=dt({location:"",base:e,go:r,createHref:JO.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 a8(e){return e=location.host?e||location.pathname+location.search:"",e.includes("#")||(e+="#"),i8(e)}function l8(e){return typeof e=="string"||e&&typeof e=="object"}function G1(e){return typeof e=="string"||typeof e=="symbol"}const K1=Symbol("");var Lp;(function(e){e[e.aborted=4]="aborted",e[e.cancelled=8]="cancelled",e[e.duplicated=16]="duplicated"})(Lp||(Lp={}));function xs(e,t){return dt(new Error,{type:e,[K1]:!0},t)}function br(e,t){return e instanceof Error&&K1 in e&&(t==null||!!(e.type&t))}const Np="[^/]+?",c8={sensitive:!1,strict:!1,start:!0,end:!0},u8=/[.+*?^${}()[\]/\\]/g;function d8(e,t){const n=dt({},c8,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(u8,"\\$&"),p+=40;else if(f.type===1){const{value:h,repeatable:g,optional:z,regexp:k}=f;s.push({name:h,repeatable:g,optional:z});const w=k||Np;if(w!==Np){p+=10;try{new RegExp(`(${w})`)}catch(v){throw new Error(`Invalid custom RegExp for param "${h}" (${w}): `+v.message)}}let _=g?`((?:${w})(?:/(?:${w}))*)`:`(${w})`;d||(_=z&&u.length<2?`(?:/${_})`:"/"+_),z&&(_+="?"),o+=_,p+=20,z&&(p+=-8),g&&(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:g,optional:z}=p,k=h in u?u[h]:"";if(rr(k)&&!g)throw new Error(`Provided param "${h}" is an array but it is not repeatable (* or + modifiers)`);const w=rr(k)?k.join("/"):k;if(!w)if(z)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 m8(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 Z1(e,t){let n=0;const r=e.score,o=t.score;for(;n<r.length&&n<o.length;){const s=m8(r[n],o[n]);if(s)return s;n++}if(Math.abs(o.length-r.length)===1){if(Dp(r))return 1;if(Dp(o))return-1}return o.length-r.length}function Dp(e){const t=e[e.length-1];return e.length>0&&t[t.length-1]<0}const f8={type:0,value:""},p8=/[a-zA-Z0-9_]/;function h8(e){if(!e)return[[]];if(e==="/")return[[f8]];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:p8.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 _8(e,t,n){const r=d8(h8(e.path),n),o=dt(r,{record:e,parent:t,children:[],alias:[]});return t&&!o.record.aliasOf==!t.record.aliasOf&&t.children.push(o),o}function g8(e,t){const n=[],r=new Map;t=Fp({strict:!1,end:!0,sensitive:!1},t);function o(d){return r.get(d)}function s(d,f,p){const h=!p,g=y8(d);g.aliasOf=p&&p.record;const z=Fp(t,d),k=[g];if("alias"in d){const v=typeof d.alias=="string"?[d.alias]:d.alias;for(const S of v)k.push(dt({},g,{components:p?p.record.components:g.components,path:S,aliasOf:p?p.record:g}))}let w,_;for(const v of k){const{path:S}=v;if(f&&S[0]!=="/"){const C=f.record.path,L=C[C.length-1]==="/"?"":"/";v.path=f.record.path+(S&&L+S)}if(w=_8(v,f,z),p?p.alias.push(w):(_=_||w,_!==w&&_.alias.push(w),h&&d.name&&!Mp(w)&&i(d.name)),Y1(w)&&l(w),g.children){const C=g.children;for(let L=0;L<C.length;L++)s(C[L],w,p&&p.children[L])}p=p||w}return _?()=>{i(_)}:mi}function i(d){if(G1(d)){const f=r.get(d);f&&(r.delete(d),n.splice(n.indexOf(f),1),f.children.forEach(i),f.alias.forEach(i))}else{const f=n.indexOf(d);f>-1&&(n.splice(f,1),d.record.name&&r.delete(d.record.name),d.children.forEach(i),d.alias.forEach(i))}}function a(){return n}function l(d){const f=b8(d,n);n.splice(f,0,d),d.record.name&&!Mp(d)&&r.set(d.record.name,d)}function u(d,f){let p,h={},g,z;if("name"in d&&d.name){if(p=r.get(d.name),!p)throw xs(1,{location:d});z=p.record.name,h=dt(Rp(f.params,p.keys.filter(_=>!_.optional).concat(p.parent?p.parent.keys.filter(_=>_.optional):[]).map(_=>_.name)),d.params&&Rp(d.params,p.keys.map(_=>_.name))),g=p.stringify(h)}else if(d.path!=null)g=d.path,p=n.find(_=>_.re.test(g)),p&&(h=p.parse(g),z=p.record.name);else{if(p=f.name?r.get(f.name):n.find(_=>_.re.test(f.path)),!p)throw xs(1,{location:d,currentLocation:f});z=p.record.name,h=dt({},f.params,d.params),g=p.stringify(h)}const k=[];let w=p;for(;w;)k.unshift(w.record),w=w.parent;return{name:z,path:g,params:h,matched:k,meta:v8(k)}}e.forEach(d=>s(d));function m(){n.length=0,r.clear()}return{addRoute:s,resolve:u,removeRoute:i,clearRoutes:m,getRoutes:a,getRecordMatcher:o}}function Rp(e,t){const n={};for(const r of t)r in e&&(n[r]=e[r]);return n}function y8(e){return{path:e.path,redirect:e.redirect,name:e.name,meta:e.meta||{},aliasOf:void 0,beforeEnter:e.beforeEnter,props:z8(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 z8(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 Mp(e){for(;e;){if(e.record.aliasOf)return!0;e=e.parent}return!1}function v8(e){return e.reduce((t,n)=>dt(t,n.meta),{})}function Fp(e,t){const n={};for(const r in e)n[r]=r in t?t[r]:e[r];return n}function b8(e,t){let n=0,r=t.length;for(;n!==r;){const s=n+r>>1;Z1(e,t[s])<0?r=s:n=s+1}const o=C8(e);return o&&(r=t.lastIndexOf(o,r-1)),r}function C8(e){let t=e;for(;t=t.parent;)if(Y1(t)&&Z1(e,t)===0)return t}function Y1({record:e}){return!!(e.name||e.components&&Object.keys(e.components).length||e.redirect)}function w8(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(H1," "),i=s.indexOf("="),a=Oi(i<0?s:s.slice(0,i)),l=i<0?null:Oi(s.slice(i+1));if(a in t){let u=t[a];rr(u)||(u=t[a]=[u]),u.push(l)}else t[a]=l}return t}function Vp(e){let t="";for(let n in e){const r=e[n];if(n=HO(n),r==null){r!==void 0&&(t+=(t.length?"&":"")+n);continue}(rr(r)?r.map(s=>s&&qu(s)):[r&&qu(r)]).forEach(s=>{s!==void 0&&(t+=(t.length?"&":"")+n,s!=null&&(t+="="+s))})}return t}function k8(e){const t={};for(const n in e){const r=e[n];r!==void 0&&(t[n]=rr(r)?r.map(o=>o==null?null:""+o):r==null?r:""+r)}return t}const S8=Symbol(""),Hp=Symbol(""),lm=Symbol(""),X1=Symbol(""),Ku=Symbol("");function Bs(){let e=[];function t(r){return e.push(r),()=>{const o=e.indexOf(r);o>-1&&e.splice(o,1)}}function n(){e=[]}return{add:t,list:()=>e.slice(),reset:n}}function Yr(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(xs(4,{from:n,to:t})):f instanceof Error?l(f):l8(f)?l(xs(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 Fc(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(x8(l)){const m=(l.__vccOpts||l)[t];m&&s.push(Yr(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=AO(m)?m.default:m;i.components[a]=d;const p=(d.__vccOpts||d)[t];return p&&Yr(p,n,r,i,a,o)()}))}}return s}function x8(e){return typeof e=="object"||"displayName"in e||"props"in e||"__vccOpts"in e}function Up(e){const t=Nn(lm),n=Nn(X1),r=jt(()=>{const l=Cn(e.to);return t.resolve(l)}),o=jt(()=>{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(Ss.bind(null,m));if(f>-1)return f;const p=jp(l[u-2]);return u>1&&jp(m)===p&&d[d.length-1].path!==p?d.findIndex(Ss.bind(null,l[u-2])):f}),s=jt(()=>o.value>-1&&A8(n.params,r.value.params)),i=jt(()=>o.value>-1&&o.value===n.matched.length-1&&W1(n.params,r.value.params));function a(l={}){return T8(l)?t[Cn(e.replace)?"replace":"push"](Cn(e.to)).catch(mi):Promise.resolve()}return{route:r,href:jt(()=>r.value.href),isActive:s,isExactActive:i,navigate:a}}const E8=Pr({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:Up,setup(e,{slots:t}){const n=Ts(Up(e)),{options:r}=Nn(lm),o=jt(()=>({[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:mr("a",{"aria-current":n.isExactActive?e.ariaCurrentValue:null,href:n.href,onClick:n.navigate,class:o.value},s)}}}),$8=E8;function T8(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 A8(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(!rr(o)||o.length!==r.length||r.some((s,i)=>s!==o[i]))return!1}return!0}function jp(e){return e?e.aliasOf?e.aliasOf.path:e.path:""}const Bp=(e,t,n)=>e??t??n,O8=Pr({name:"RouterView",inheritAttrs:!1,props:{name:{type:String,default:"default"},route:Object},compatConfig:{MODE:3},setup(e,{attrs:t,slots:n}){const r=Nn(Ku),o=jt(()=>e.route||r.value),s=Nn(Hp,0),i=jt(()=>{let u=Cn(s);const{matched:m}=o.value;let d;for(;(d=m[u])&&!d.components;)u++;return u}),a=jt(()=>o.value.matched[i.value]);si(Hp,jt(()=>i.value+1)),si(S8,a),si(Ku,o);const l=Ln();return Dn(()=>[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||!Ss(m,p)||!f)&&(m.enterCallbacks[d]||[]).forEach(g=>g(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,z=mr(f,dt({},h,t,{onVnodeUnmounted:k=>{k.component.isUnmounted&&(d.instances[m]=null)},ref:l}));return Wp(n.default,{Component:z,route:u})||z}}});function Wp(e,t){if(!e)return null;const n=e(t);return n.length===1?n[0]:n}const P8=O8;function I8(e){const t=g8(e.routes,e),n=e.parseQuery||w8,r=e.stringifyQuery||Vp,o=e.history,s=Bs(),i=Bs(),a=Bs(),l=gd(Ur);let u=Ur;os&&e.scrollBehavior&&"scrollRestoration"in history&&(history.scrollRestoration="manual");const m=Rc.bind(null,Y=>""+Y),d=Rc.bind(null,jO),f=Rc.bind(null,Oi);function p(Y,fe){let le,ge;return G1(Y)?(le=t.getRecordMatcher(Y),ge=fe):ge=Y,t.addRoute(ge,le)}function h(Y){const fe=t.getRecordMatcher(Y);fe&&t.removeRoute(fe)}function g(){return t.getRoutes().map(Y=>Y.record)}function z(Y){return!!t.getRecordMatcher(Y)}function k(Y,fe){if(fe=dt({},fe||l.value),typeof Y=="string"){const P=Mc(n,Y,fe.path),j=t.resolve({path:P.path},fe),te=o.createHref(P.fullPath);return dt(P,j,{params:f(j.params),hash:Oi(P.hash),redirectedFrom:void 0,href:te})}let le;if(Y.path!=null)le=dt({},Y,{path:Mc(n,Y.path,fe.path).path});else{const P=dt({},Y.params);for(const j in P)P[j]==null&&delete P[j];le=dt({},Y,{params:d(P)}),fe.params=d(fe.params)}const ge=t.resolve(le,fe),Ue=Y.hash||"";ge.params=m(f(ge.params));const Ge=qO(r,dt({},Y,{hash:VO(Ue),path:ge.path})),A=o.createHref(Ge);return dt({fullPath:Ge,hash:Ue,query:r===Vp?k8(Y.query):Y.query||{}},ge,{redirectedFrom:void 0,href:A})}function w(Y){return typeof Y=="string"?Mc(n,Y,l.value.path):dt({},Y)}function _(Y,fe){if(u!==Y)return xs(8,{from:fe,to:Y})}function v(Y){return L(Y)}function S(Y){return v(dt(w(Y),{replace:!0}))}function C(Y){const fe=Y.matched[Y.matched.length-1];if(fe&&fe.redirect){const{redirect:le}=fe;let ge=typeof le=="function"?le(Y):le;return typeof ge=="string"&&(ge=ge.includes("?")||ge.includes("#")?ge=w(ge):{path:ge},ge.params={}),dt({query:Y.query,hash:Y.hash,params:ge.path!=null?{}:Y.params},ge)}}function L(Y,fe){const le=u=k(Y),ge=l.value,Ue=Y.state,Ge=Y.force,A=Y.replace===!0,P=C(le);if(P)return L(dt(w(P),{state:typeof P=="object"?dt({},Ue,P.state):Ue,force:Ge,replace:A}),fe||le);const j=le;j.redirectedFrom=fe;let te;return!Ge&&GO(r,ge,le)&&(te=xs(16,{to:j,from:ge}),Ve(ge,ge,!0,!1)),(te?Promise.resolve(te):F(j,ge)).catch(X=>br(X)?br(X,2)?X:it(X):ce(X,j,ge)).then(X=>{if(X){if(br(X,2))return L(dt({replace:A},w(X.to),{state:typeof X.to=="object"?dt({},Ue,X.to.state):Ue,force:Ge}),fe||j)}else X=U(j,ge,!0,A,Ue);return q(j,ge,X),X})}function D(Y,fe){const le=_(Y,fe);return le?Promise.reject(le):Promise.resolve()}function $(Y){const fe=lt.values().next().value;return fe&&typeof fe.runWithContext=="function"?fe.runWithContext(Y):Y()}function F(Y,fe){let le;const[ge,Ue,Ge]=L8(Y,fe);le=Fc(ge.reverse(),"beforeRouteLeave",Y,fe);for(const P of ge)P.leaveGuards.forEach(j=>{le.push(Yr(j,Y,fe))});const A=D.bind(null,Y,fe);return le.push(A),We(le).then(()=>{le=[];for(const P of s.list())le.push(Yr(P,Y,fe));return le.push(A),We(le)}).then(()=>{le=Fc(Ue,"beforeRouteUpdate",Y,fe);for(const P of Ue)P.updateGuards.forEach(j=>{le.push(Yr(j,Y,fe))});return le.push(A),We(le)}).then(()=>{le=[];for(const P of Ge)if(P.beforeEnter)if(rr(P.beforeEnter))for(const j of P.beforeEnter)le.push(Yr(j,Y,fe));else le.push(Yr(P.beforeEnter,Y,fe));return le.push(A),We(le)}).then(()=>(Y.matched.forEach(P=>P.enterCallbacks={}),le=Fc(Ge,"beforeRouteEnter",Y,fe,$),le.push(A),We(le))).then(()=>{le=[];for(const P of i.list())le.push(Yr(P,Y,fe));return le.push(A),We(le)}).catch(P=>br(P,8)?P:Promise.reject(P))}function q(Y,fe,le){a.list().forEach(ge=>$(()=>ge(Y,fe,le)))}function U(Y,fe,le,ge,Ue){const Ge=_(Y,fe);if(Ge)return Ge;const A=fe===Ur,P=os?history.state:{};le&&(ge||A?o.replace(Y.fullPath,dt({scroll:A&&P&&P.scroll},Ue)):o.push(Y.fullPath,Ue)),l.value=Y,Ve(Y,fe,le,A),it()}let W;function ne(){W||(W=o.listen((Y,fe,le)=>{if(!ut.listening)return;const ge=k(Y),Ue=C(ge);if(Ue){L(dt(Ue,{replace:!0}),ge).catch(mi);return}u=ge;const Ge=l.value;os&&t8(Pp(Ge.fullPath,le.delta),nc()),F(ge,Ge).catch(A=>br(A,12)?A:br(A,2)?(L(A.to,ge).then(P=>{br(P,20)&&!le.delta&&le.type===Pi.pop&&o.go(-1,!1)}).catch(mi),Promise.reject()):(le.delta&&o.go(-le.delta,!1),ce(A,ge,Ge))).then(A=>{A=A||U(ge,Ge,!1),A&&(le.delta&&!br(A,8)?o.go(-le.delta,!1):le.type===Pi.pop&&br(A,20)&&o.go(-1,!1)),q(ge,Ge,A)}).catch(mi)}))}let me=Bs(),K=Bs(),re;function ce(Y,fe,le){it(Y);const ge=K.list();return ge.length?ge.forEach(Ue=>Ue(Y,fe,le)):console.error(Y),Promise.reject(Y)}function Ne(){return re&&l.value!==Ur?Promise.resolve():new Promise((Y,fe)=>{me.add([Y,fe])})}function it(Y){return re||(re=!Y,ne(),me.list().forEach(([fe,le])=>Y?le(Y):fe()),me.reset()),Y}function Ve(Y,fe,le,ge){const{scrollBehavior:Ue}=e;if(!os||!Ue)return Promise.resolve();const Ge=!le&&n8(Pp(Y.fullPath,0))||(ge||!le)&&history.state&&history.state.scroll||null;return Uo().then(()=>Ue(Y,fe,Ge)).then(A=>A&&e8(A)).catch(A=>ce(A,Y,fe))}const He=Y=>o.go(Y);let at;const lt=new Set,ut={currentRoute:l,listening:!0,addRoute:p,removeRoute:h,clearRoutes:t.clearRoutes,hasRoute:z,getRoutes:g,resolve:k,options:e,push:v,replace:S,go:He,back:()=>He(-1),forward:()=>He(1),beforeEach:s.add,beforeResolve:i.add,afterEach:a.add,onError:K.add,isReady:Ne,install(Y){const fe=this;Y.component("RouterLink",$8),Y.component("RouterView",P8),Y.config.globalProperties.$router=fe,Object.defineProperty(Y.config.globalProperties,"$route",{enumerable:!0,get:()=>Cn(l)}),os&&!at&&l.value===Ur&&(at=!0,v(o.location).catch(Ue=>{}));const le={};for(const Ue in Ur)Object.defineProperty(le,Ue,{get:()=>l.value[Ue],enumerable:!0});Y.provide(lm,fe),Y.provide(X1,md(le)),Y.provide(Ku,l);const ge=Y.unmount;lt.add(Y),Y.unmount=function(){lt.delete(Y),lt.size<1&&(u=Ur,W&&W(),W=null,l.value=Ur,at=!1,re=!1),ge()}}};function We(Y){return Y.reduce((fe,le)=>fe.then(()=>$(le)),Promise.resolve())}return ut}function L8(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=>Ss(u,a))?r.push(a):n.push(a));const l=e.matched[i];l&&(t.matched.find(u=>Ss(u,l))||o.push(l))}return[n,r,o]}const N8={name:"PageAbout",setup(){return{configurationStore:Fo(),libraryStore:Gl(),uiStore:yn()}},computed:{configuration(){return this.configurationStore.$state},library(){return this.libraryStore.$state}},methods:{showUpdateDialog(){this.uiStore.show_update_dialog=!0}}},D8={class:"section"},R8={class:"container"},M8={class:"columns is-centered"},F8={class:"column is-four-fifths has-text-centered-mobile"},V8=["textContent"],H8={class:"section"},U8={class:"container"},j8={class:"columns is-centered"},B8={class:"column is-four-fifths"},W8={class:"content"},q8={class:"level is-mobile"},G8={class:"level-left"},K8={class:"level-item"},Z8=["textContent"],Y8={class:"level-right"},X8={key:0},J8=["textContent"],Q8={key:1},eP=["textContent"],tP={class:"table"},nP=["textContent"],rP=["textContent"],oP=["textContent"],sP=["textContent"],iP=["textContent"],aP=["textContent"],lP=["textContent"],cP=["textContent"],uP=["textContent"],dP={class:"has-text-right"},mP=["textContent"],fP=["textContent"],pP=["textContent"],hP={class:"has-text-right"},_P=["textContent"],gP=["textContent"],yP={class:"section"},zP={class:"container"},vP={class:"columns is-centered"},bP={class:"column is-four-fifths"},CP={class:"content has-text-centered-mobile"},wP=["textContent"],kP=["textContent"],SP=c("a",{href:"https://bulma.io"},"Bulma",-1),xP=c("a",{href:"https://pictogrammers.com/library/mdi/"}," Material Design Icons ",-1),EP=c("a",{href:"https://vuejs.org/"},"Vue.js",-1),$P=c("a",{href:"https://github.com/axios/axios"},"axios",-1),TP=["textContent"];function AP(e,t,n,r,o,s){const i=O("i18n-t");return x(),I("div",null,[c("section",D8,[c("div",R8,[c("div",M8,[c("div",F8,[c("h1",{class:"title is-4",textContent:y(s.configuration.library_name)},null,8,V8)])])])]),c("section",H8,[c("div",U8,[c("div",j8,[c("div",B8,[c("div",W8,[c("nav",q8,[c("div",G8,[c("div",K8,[c("p",{class:"title is-5",textContent:y(e.$t("page.about.library"))},null,8,Z8)])]),c("div",Y8,[s.library.updating?(x(),I("div",X8,[c("a",{class:"button is-small is-loading",textContent:y(e.$t("page.about.update"))},null,8,J8)])):(x(),I("div",Q8,[c("a",{class:"button is-small",onClick:t[0]||(t[0]=a=>s.showUpdateDialog()),textContent:y(e.$t("page.about.update"))},null,8,eP)]))])]),c("table",tP,[c("tbody",null,[c("tr",null,[c("th",{class:"has-text-left",textContent:y(e.$t("page.about.artists"))},null,8,nP),c("td",{class:"has-text-right",textContent:y(e.$filters.number(s.library.artists))},null,8,rP)]),c("tr",null,[c("th",{class:"has-text-left",textContent:y(e.$t("page.about.albums"))},null,8,oP),c("td",{class:"has-text-right",textContent:y(e.$filters.number(s.library.albums))},null,8,sP)]),c("tr",null,[c("th",{class:"has-text-left",textContent:y(e.$t("page.about.tracks"))},null,8,iP),c("td",{class:"has-text-right",textContent:y(e.$filters.number(s.library.songs))},null,8,aP)]),c("tr",null,[c("th",{class:"has-text-left",textContent:y(e.$t("page.about.total-playtime"))},null,8,lP),c("td",{class:"has-text-right",textContent:y(e.$filters.durationInDays(s.library.db_playtime*1e3))},null,8,cP)]),c("tr",null,[c("th",{class:"has-text-left",textContent:y(e.$t("page.about.updated"))},null,8,uP),c("td",dP,[c("span",{textContent:y(e.$t("page.about.updated-on",{time:e.$filters.timeFromNow(s.library.updated_at)}))},null,8,mP),Dt(" ("),c("span",{class:"has-text-grey",textContent:y(e.$filters.datetime(s.library.updated_at))},null,8,fP),Dt(") ")])]),c("tr",null,[c("th",{class:"has-text-left",textContent:y(e.$t("page.about.uptime"))},null,8,pP),c("td",hP,[c("span",{textContent:y(e.$filters.timeFromNow(s.library.started_at,!0))},null,8,_P),Dt(" ("),c("span",{class:"has-text-grey",textContent:y(e.$filters.datetime(s.library.started_at))},null,8,gP),Dt(") ")])])])])])])])])]),c("section",yP,[c("div",zP,[c("div",vP,[c("div",bP,[c("div",CP,[c("p",{class:"is-size-7",textContent:y(e.$t("page.about.version",{version:s.configuration.version}))},null,8,wP),c("p",{class:"is-size-7",textContent:y(e.$t("page.about.compiled-with",{options:s.configuration.buildoptions.join(", ")}))},null,8,kP),b(i,{tag:"p",class:"is-size-7",keypath:"page.about.built-with",scope:"global"},{bulma:N(()=>[SP]),mdi:N(()=>[xP]),vuejs:N(()=>[EP]),axios:N(()=>[$P]),others:N(()=>[c("a",{href:"https://github.com/owntone/owntone-server/network/dependencies",textContent:y(e.$t("page.about.more"))},null,8,TP)]),_:1})])])])])])])}const OP=ae(N8,[["render",AP]]),PP={},IP={class:"hero is-light is-bold"},LP={class:"hero-body"},NP={class:"container"},DP={class:"columns is-centered"},RP={class:"column is-four-fifths"},MP={class:"columns is-flex-direction-row-reverse"},FP={class:"column fd-has-cover"},VP={class:"column m-auto is-three-fifths has-text-centered-mobile"},HP={class:"section pt-0"},UP={class:"container"},jP={class:"columns is-centered"},BP={class:"column is-four-fifths"};function WP(e,t){return x(),I(ve,null,[c("section",IP,[c("div",LP,[c("div",NP,[c("div",DP,[c("div",RP,[c("div",MP,[c("div",FP,[vt(e.$slots,"heading-right")]),c("div",VP,[vt(e.$slots,"heading-left")])])])])])])]),c("section",HP,[c("div",UP,[c("div",jP,[c("div",BP,[vt(e.$slots,"content"),vt(e.$slots,"footer")])])])])],64)}const rc=ae(PP,[["render",WP]]),qP=e=>{let t=0;for(const n of e)t=n.charCodeAt(0)+((t<<5)-t);return(t&16777215).toString(16)},GP=e=>[.2126,.7152,.0722].reduce((t,n,r)=>t+ +`0x${e.slice(r*2,r*2+2)}`*n,0)/255,KP=e=>{const t=qP(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="${GP(t)>.5?"#000000":"#FFFFFF"}">
${e.caption}
</text>
</svg>`;return`data:image/svg+xml;charset=UTF-8,${encodeURIComponent(n)}`},ZP={name:"CoverArtwork",props:{album:{default:"",type:String},artist:{default:"",type:String},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.artist||"").substring(0,2)}},methods:{dataURI(){return KP({alternate:this.alt_text,caption:this.caption,font:this.font,size:this.size})}}};function YP(e,t,n,r,o,s){const i=kd("lazy");return x(),I("figure",null,[ht(c("img",{onClick:t[0]||(t[0]=a=>e.$emit("click"))},null,512),[[i,{src:n.url,lifecycle:o.lifecycle}]])])}const Lr=ae(ZP,[["render",YP]]),{t:ya,locale:XP}=ql.global,J1="NO_INDEX",JP=(e,t)=>e-t,QP=(e,t)=>e.localeCompare(t,XP.value),eI=(e,t)=>new Date(e)-new Date(t)||(e?t?0:1:-1),tI=e=>e.map(({field:t,type:n,order:r=1})=>{switch(n){case String:return(o,s)=>QP(o[t],s[t])*r;case Number:return(o,s)=>JP(o[t],s[t])*r;case Date:return(o,s)=>eI(o[t],s[t])*r;default:return()=>0}}),nI=(e="")=>{const t=e.charAt(0);return t.match(new RegExp("\\p{Letter}","gu"))?t.toUpperCase():t.match(new RegExp("\\p{Number}","gu"))?"#":"⌘"},rI=e=>{},oI=[{difference:NaN,text:()=>ya("grouped-list.undefined")},{difference:864e5,text:()=>ya("grouped-list.today")},{difference:6048e5,text:()=>ya("grouped-list.last-week")},{difference:2592e6,text:()=>ya("grouped-list.last-month")},{difference:1/0,text:e=>e.getFullYear()}],sI=e=>{var r;const t=new Date(e),n=new Date-t;return(r=oI.find(o=>isNaN(n)||n<o.difference))==null?void 0:r.text(t)},iI=({field:e,type:t}={})=>{switch(t){case String:return n=>nI(n[e]);case Number:return n=>n[e];case Date:return n=>sI(n[e]);case"Digits":return n=>rI(n[e]);default:return()=>J1}};class Ee{constructor({items:t=[],total:n=0,offset:r=0,limit:o=-1}={},s={}){this.items=t,this.total=n,this.offset=r,this.limit=o,this.count=t.length,this.indices=[],this.group(s)}group({criteria:t=[],filters:n=[],index:r}={}){const o=this.items.filter(l=>n.every(u=>u(l)));this.count=o.length;const s=tI(t),i=o.sort((l,u)=>s.reduce((m,d)=>m||d(l,u),0)),a=iI(r);return this.itemsGrouped=i.reduce((l,u)=>{const m=a(u);return l.set(m,[...l.get(m)||[],u]),l},new Map),this.indices=Array.from(this.itemsGrouped.keys()),this}*generate(){for(const[t,n]of this.itemsGrouped.entries()){t!==J1&&(yield{index:t,isItem:!1,item:{},itemId:t});for(const r of n)yield{index:t,isItem:!0,item:r,itemId:r.id}}}[Symbol.iterator](){return this.generate()}}var Q1={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 g=o.defer();f(function(z){g.resolve(z)},function(z){g.reject(z)}),h=g.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(g){for(var z in g)g.hasOwnProperty(z)&&(p[z]=g[z])}),p},l=function(f,p){var h="";for(var g in p)if(p.hasOwnProperty(g)){var z=p[g];h+=encodeURIComponent(g)+"="+encodeURIComponent(z)+"&"}return h.length>0&&(h=h.substring(0,h.length-1),f=f+"?"+h),f},u=function(f,p){var h=new XMLHttpRequest,g=function(z,k){function w(C){z&&z(C),p&&p(null,C)}function _(){k&&k(h),p&&p(h,null)}var v=f.type||"GET";if(h.open(v,l(f.url,f.params)),r&&h.setRequestHeader("Authorization","Bearer "+r),h.onreadystatechange=function(){if(h.readyState===4){var C=null;try{C=h.responseText?JSON.parse(h.responseText):""}catch(L){console.error(L)}h.status>=200&&h.status<300?w(C):_()}},v==="GET")h.send(null);else{var S=null;f.postData&&(f.contentType==="image/jpeg"?(S=f.postData,h.setRequestHeader("Content-Type",f.contentType)):(S=JSON.stringify(f.postData),h.setRequestHeader("Content-Type","application/json"))),h.send(S)}};return p?(g(),null):i(g,function(){h.abort()})},m=function(f,p,h,g){var z={},k=null;typeof p=="object"?(z=p,k=h):typeof p=="function"&&(k=p);var w=f.type||"GET";return w!=="GET"&&f.postData&&!g?f.postData=a(f.postData,z):f.params=a(f.params,z),u(f,k)},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 g={url:n+"/me/tracks",type:"PUT",postData:f};return m(g,p,h)},d.prototype.removeFromMySavedTracks=function(f,p,h){var g={url:n+"/me/tracks",type:"DELETE",postData:f};return m(g,p,h)},d.prototype.containsMySavedTracks=function(f,p,h){var g={url:n+"/me/tracks/contains",params:{ids:f.join(",")}};return m(g,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 g={url:n+"/me/albums",type:"PUT",postData:f};return m(g,p,h)},d.prototype.removeFromMySavedAlbums=function(f,p,h){var g={url:n+"/me/albums",type:"DELETE",postData:f};return m(g,p,h)},d.prototype.containsMySavedAlbums=function(f,p,h){var g={url:n+"/me/albums/contains",params:{ids:f.join(",")}};return m(g,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 g={url:n+"/playlists/"+f+"/followers",type:"PUT",postData:{}};return m(g,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 g={url:n+"/playlists/"+f+"/followers/contains",type:"GET",params:{ids:p.join(",")}};return m(g,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 g={url:n+"/users/"+encodeURIComponent(f)};return m(g,p,h)},d.prototype.getUserPlaylists=function(f,p,h){var g;return typeof f=="string"?g={url:n+"/users/"+encodeURIComponent(f)+"/playlists"}:(g={url:n+"/me/playlists"},h=p,p=f),m(g,p,h)},d.prototype.getPlaylist=function(f,p,h){var g={url:n+"/playlists/"+f};return m(g,p,h)},d.prototype.getPlaylistTracks=function(f,p,h){var g={url:n+"/playlists/"+f+"/tracks"};return m(g,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 g={url:n+"/users/"+encodeURIComponent(f)+"/playlists",type:"POST",postData:p};return m(g,p,h)},d.prototype.changePlaylistDetails=function(f,p,h){var g={url:n+"/playlists/"+f,type:"PUT",postData:p};return m(g,p,h)},d.prototype.addTracksToPlaylist=function(f,p,h,g){var z={url:n+"/playlists/"+f+"/tracks",type:"POST",postData:{uris:p}};return m(z,h,g,!0)},d.prototype.replaceTracksInPlaylist=function(f,p,h){var g={url:n+"/playlists/"+f+"/tracks",type:"PUT",postData:{uris:p}};return m(g,{},h)},d.prototype.reorderTracksInPlaylist=function(f,p,h,g,z){var k={url:n+"/playlists/"+f+"/tracks",type:"PUT",postData:{range_start:p,insert_before:h}};return m(k,g,z)},d.prototype.removeTracksFromPlaylist=function(f,p,h){var g=p.map(function(k){return typeof k=="string"?{uri:k}:k}),z={url:n+"/playlists/"+f+"/tracks",type:"DELETE",postData:{tracks:g}};return m(z,{},h)},d.prototype.removeTracksFromPlaylistWithSnapshotId=function(f,p,h,g){var z=p.map(function(w){return typeof w=="string"?{uri:w}:w}),k={url:n+"/playlists/"+f+"/tracks",type:"DELETE",postData:{tracks:z,snapshot_id:h}};return m(k,{},g)},d.prototype.removeTracksFromPlaylistInPositions=function(f,p,h,g){var z={url:n+"/playlists/"+f+"/tracks",type:"DELETE",postData:{positions:p,snapshot_id:h}};return m(z,{},g)},d.prototype.uploadCustomPlaylistCoverImage=function(f,p,h){var g={url:n+"/playlists/"+f+"/images",type:"PUT",postData:p.replace(/^data:image\/jpeg;base64,/,""),contentType:"image/jpeg"};return m(g,{},h)},d.prototype.getAlbum=function(f,p,h){var g={url:n+"/albums/"+f};return m(g,p,h)},d.prototype.getAlbumTracks=function(f,p,h){var g={url:n+"/albums/"+f+"/tracks"};return m(g,p,h)},d.prototype.getAlbums=function(f,p,h){var g={url:n+"/albums/",params:{ids:f.join(",")}};return m(g,p,h)},d.prototype.getTrack=function(f,p,h){var g={};return g.url=n+"/tracks/"+f,m(g,p,h)},d.prototype.getTracks=function(f,p,h){var g={url:n+"/tracks/",params:{ids:f.join(",")}};return m(g,p,h)},d.prototype.getArtist=function(f,p,h){var g={url:n+"/artists/"+f};return m(g,p,h)},d.prototype.getArtists=function(f,p,h){var g={url:n+"/artists/",params:{ids:f.join(",")}};return m(g,p,h)},d.prototype.getArtistAlbums=function(f,p,h){var g={url:n+"/artists/"+f+"/albums"};return m(g,p,h)},d.prototype.getArtistTopTracks=function(f,p,h,g){var z={url:n+"/artists/"+f+"/top-tracks",params:{country:p}};return m(z,h,g)},d.prototype.getArtistRelatedArtists=function(f,p,h){var g={url:n+"/artists/"+f+"/related-artists"};return m(g,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 g={url:n+"/browse/categories/"+f};return m(g,p,h)},d.prototype.getCategoryPlaylists=function(f,p,h){var g={url:n+"/browse/categories/"+f+"/playlists"};return m(g,p,h)},d.prototype.search=function(f,p,h,g){var z={url:n+"/search/",params:{q:f,type:p.join(",")}};return m(z,h,g)},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 g=p||{};g.device_ids=f;var z={type:"PUT",url:n+"/me/player",postData:g};return m(z,p,h)},d.prototype.play=function(f,p){f=f||{};var h="device_id"in f?{device_id:f.device_id}:null,g={};["context_uri","uris","offset","position_ms"].forEach(function(w){w in f&&(g[w]=f[w])});var z={type:"PUT",url:n+"/me/player/play",params:h,postData:g},k=typeof f=="function"?f:{};return m(z,k,p)},d.prototype.queue=function(f,p,h){p=p||{};var g="device_id"in p?{uri:f,device_id:p.device_id}:{uri:f},z={type:"POST",url:n+"/me/player/queue",params:g};return m(z,p,h)},d.prototype.pause=function(f,p){f=f||{};var h="device_id"in f?{device_id:f.device_id}:null,g={type:"PUT",url:n+"/me/player/pause",params:h};return m(g,f,p)},d.prototype.skipToNext=function(f,p){f=f||{};var h="device_id"in f?{device_id:f.device_id}:null,g={type:"POST",url:n+"/me/player/next",params:h};return m(g,f,p)},d.prototype.skipToPrevious=function(f,p){f=f||{};var h="device_id"in f?{device_id:f.device_id}:null,g={type:"POST",url:n+"/me/player/previous",params:h};return m(g,f,p)},d.prototype.seek=function(f,p,h){p=p||{};var g={position_ms:f};"device_id"in p&&(g.device_id=p.device_id);var z={type:"PUT",url:n+"/me/player/seek",params:g};return m(z,p,h)},d.prototype.setRepeat=function(f,p,h){p=p||{};var g={state:f};"device_id"in p&&(g.device_id=p.device_id);var z={type:"PUT",url:n+"/me/player/repeat",params:g};return m(z,p,h)},d.prototype.setVolume=function(f,p,h){p=p||{};var g={volume_percent:f};"device_id"in p&&(g.device_id=p.device_id);var z={type:"PUT",url:n+"/me/player/volume",params:g};return m(z,p,h)},d.prototype.setShuffle=function(f,p,h){p=p||{};var g={state:f};"device_id"in p&&(g.device_id=p.device_id);var z={type:"PUT",url:n+"/me/player/shuffle",params:g};return m(z,p,h)},d.prototype.getShow=function(f,p,h){var g={};return g.url=n+"/shows/"+f,m(g,p,h)},d.prototype.getShows=function(f,p,h){var g={url:n+"/shows/",params:{ids:f.join(",")}};return m(g,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 g={url:n+"/me/shows",type:"PUT",postData:f};return m(g,p,h)},d.prototype.removeFromMySavedShows=function(f,p,h){var g={url:n+"/me/shows",type:"DELETE",postData:f};return m(g,p,h)},d.prototype.containsMySavedShows=function(f,p,h){var g={url:n+"/me/shows/contains",params:{ids:f.join(",")}};return m(g,p,h)},d.prototype.getShowEpisodes=function(f,p,h){var g={url:n+"/shows/"+f+"/episodes"};return m(g,p,h)},d.prototype.getEpisode=function(f,p,h){var g={};return g.url=n+"/episodes/"+f,m(g,p,h)},d.prototype.getEpisodes=function(f,p,h){var g={url:n+"/episodes/",params:{ids:f.join(",")}};return m(g,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(g){g()});typeof h.then=="function"&&typeof h.catch=="function"&&(p=!0)}catch(g){console.error(g)}if(p)o=f;else throw new Error("Unsupported implementation of Promises/A+")},d}();e.exports=t})(Q1);var aI=Q1.exports;const ir=Yl(aI),lI={name:"ModalDialogTrack",props:{item:{required:!0,type:Object},show:Boolean},emits:["close","play-count-changed"],setup(){return{servicesStore:Pt()}},data(){return{spotify_track:{}}},watch:{item(){if(this.item&&this.item.data_kind==="spotify"&&this.item.media_kind!=="podcast"){const e=new ir;e.setAccessToken(this.servicesStore.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:{mark_new(){B.library_track_update(this.item.id,{play_count:"reset"}).then(()=>{this.$emit("play-count-changed"),this.$emit("close")})},mark_played(){B.library_track_update(this.item.id,{play_count:"increment"}).then(()=>{this.$emit("play-count-changed"),this.$emit("close")})},open_album(){this.item.data_kind==="spotify"&&this.item.media_kind!=="podcast"?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"),B.player_play_uri(this.item.uri,!1)},queue_add(){this.$emit("close"),B.queue_add(this.item.uri)},queue_add_next(){this.$emit("close"),B.queue_add_next(this.item.uri)}}},cI={key:0,class:"modal is-active"},uI={class:"modal-content"},dI={class:"card"},mI={class:"card-content"},fI=["textContent"],pI=["textContent"],hI={key:0,class:"buttons"},_I=["textContent"],gI=["textContent"],yI={class:"content is-small"},zI={key:0},vI=["textContent"],bI=["textContent"],CI={key:1},wI=["textContent"],kI=["textContent"],SI={key:2},xI=["textContent"],EI=["textContent"],$I={key:3},TI=["textContent"],AI=["textContent"],OI={key:4},PI=["textContent"],II=["textContent"],LI={key:5},NI=["textContent"],DI=["textContent"],RI={key:6},MI=["textContent"],FI=["textContent"],VI={key:7},HI=["textContent"],UI=["textContent"],jI=["textContent"],BI=["textContent"],WI=["textContent"],qI={class:"title is-6"},GI=["textContent"],KI={key:8},ZI=["textContent"],YI={class:"title is-6"},XI=["textContent"],JI=["textContent"],QI=["textContent"],eL=["textContent"],tL=["textContent"],nL=["textContent"],rL=["textContent"],oL=["textContent"],sL={key:9},iL=["textContent"],aL=["textContent"],lL={class:"card-footer"},cL=["textContent"],uL=["textContent"],dL=["textContent"];function mL(e,t,n,r,o,s){const i=O("mdicon");return x(),we(Rt,{name:"fade"},{default:N(()=>[n.show?(x(),I("div",cI,[c("div",{class:"modal-background",onClick:t[0]||(t[0]=a=>e.$emit("close"))}),c("div",uI,[c("div",dI,[c("div",mI,[c("p",{class:"title is-4",textContent:y(n.item.title)},null,8,fI),c("p",{class:"subtitle",textContent:y(n.item.artist)},null,8,pI),n.item.media_kind==="podcast"?(x(),I("div",hI,[n.item.play_count>0?(x(),I("a",{key:0,class:"button is-small",onClick:t[1]||(t[1]=(...a)=>s.mark_new&&s.mark_new(...a)),textContent:y(e.$t("dialog.track.mark-as-new"))},null,8,_I)):ee("",!0),n.item.play_count===0?(x(),I("a",{key:1,class:"button is-small",onClick:t[2]||(t[2]=(...a)=>s.mark_played&&s.mark_played(...a)),textContent:y(e.$t("dialog.track.mark-as-played"))},null,8,gI)):ee("",!0)])):ee("",!0),c("div",yI,[n.item.album?(x(),I("p",zI,[c("span",{class:"heading",textContent:y(e.$t("dialog.track.album"))},null,8,vI),c("a",{class:"title is-6 has-text-link",onClick:t[3]||(t[3]=(...a)=>s.open_album&&s.open_album(...a)),textContent:y(n.item.album)},null,8,bI)])):ee("",!0),n.item.album_artist&&n.item.media_kind!=="audiobook"?(x(),I("p",CI,[c("span",{class:"heading",textContent:y(e.$t("dialog.track.album-artist"))},null,8,wI),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:y(n.item.album_artist)},null,8,kI)])):ee("",!0),n.item.composer?(x(),I("p",SI,[c("span",{class:"heading",textContent:y(e.$t("dialog.track.composer"))},null,8,xI),c("span",{class:"title is-6",textContent:y(n.item.composer)},null,8,EI)])):ee("",!0),n.item.date_released?(x(),I("p",$I,[c("span",{class:"heading",textContent:y(e.$t("dialog.track.release-date"))},null,8,TI),c("span",{class:"title is-6",textContent:y(e.$filters.date(n.item.date_released))},null,8,AI)])):n.item.year?(x(),I("p",OI,[c("span",{class:"heading",textContent:y(e.$t("dialog.track.year"))},null,8,PI),c("span",{class:"title is-6",textContent:y(n.item.year)},null,8,II)])):ee("",!0),n.item.genre?(x(),I("p",LI,[c("span",{class:"heading",textContent:y(e.$t("dialog.track.genre"))},null,8,NI),c("a",{class:"title is-6 has-text-link",onClick:t[5]||(t[5]=(...a)=>s.open_genre&&s.open_genre(...a)),textContent:y(n.item.genre)},null,8,DI)])):ee("",!0),n.item.disc_number?(x(),I("p",RI,[c("span",{class:"heading",textContent:y(e.$t("dialog.track.position"))},null,8,MI),c("span",{class:"title is-6",textContent:y([n.item.disc_number,n.item.track_number].join(" / "))},null,8,FI)])):ee("",!0),n.item.length_ms?(x(),I("p",VI,[c("span",{class:"heading",textContent:y(e.$t("dialog.track.duration"))},null,8,HI),c("span",{class:"title is-6",textContent:y(e.$filters.durationInHours(n.item.length_ms))},null,8,UI)])):ee("",!0),c("p",null,[c("span",{class:"heading",textContent:y(e.$t("dialog.track.path"))},null,8,jI),c("span",{class:"title is-6",textContent:y(n.item.path)},null,8,BI)]),c("p",null,[c("span",{class:"heading",textContent:y(e.$t("dialog.track.type"))},null,8,WI),c("span",qI,[c("span",{textContent:y(`${e.$t(`media.kind.${n.item.media_kind}`)} - ${e.$t(`data.kind.${n.item.data_kind}`)}`)},null,8,GI)])]),n.item.samplerate?(x(),I("p",KI,[c("span",{class:"heading",textContent:y(e.$t("dialog.track.quality"))},null,8,ZI),c("span",YI,[c("span",{textContent:y(n.item.type)},null,8,XI),n.item.samplerate?(x(),I("span",{key:0,textContent:y(e.$t("dialog.track.samplerate",{rate:n.item.samplerate}))},null,8,JI)):ee("",!0),n.item.channels?(x(),I("span",{key:1,textContent:y(e.$t("dialog.track.channels",{channels:e.$filters.channels(n.item.channels)}))},null,8,QI)):ee("",!0),n.item.bitrate?(x(),I("span",{key:2,textContent:y(e.$t("dialog.track.bitrate",{rate:n.item.bitrate}))},null,8,eL)):ee("",!0)])])):ee("",!0),c("p",null,[c("span",{class:"heading",textContent:y(e.$t("dialog.track.added-on"))},null,8,tL),c("span",{class:"title is-6",textContent:y(e.$filters.datetime(n.item.time_added))},null,8,nL)]),c("p",null,[c("span",{class:"heading",textContent:y(e.$t("dialog.track.rating"))},null,8,rL),c("span",{class:"title is-6",textContent:y(e.$t("dialog.track.rating-value",{rating:Math.floor(n.item.rating/10)}))},null,8,oL)]),n.item.comment?(x(),I("p",sL,[c("span",{class:"heading",textContent:y(e.$t("dialog.track.comment"))},null,8,iL),c("span",{class:"title is-6",textContent:y(n.item.comment)},null,8,aL)])):ee("",!0)])]),c("footer",lL,[c("a",{class:"card-footer-item has-text-dark",onClick:t[6]||(t[6]=(...a)=>s.queue_add&&s.queue_add(...a))},[b(i,{class:"icon",name:"playlist-plus",size:"16"}),c("span",{class:"is-size-7",textContent:y(e.$t("dialog.track.add"))},null,8,cL)]),c("a",{class:"card-footer-item has-text-dark",onClick:t[7]||(t[7]=(...a)=>s.queue_add_next&&s.queue_add_next(...a))},[b(i,{class:"icon",name:"playlist-play",size:"16"}),c("span",{class:"is-size-7",textContent:y(e.$t("dialog.track.add-next"))},null,8,uL)]),c("a",{class:"card-footer-item has-text-dark",onClick:t[8]||(t[8]=(...a)=>s.play&&s.play(...a))},[b(i,{class:"icon",name:"play",size:"16"}),c("span",{class:"is-size-7",textContent:y(e.$t("dialog.track.play"))},null,8,dL)])])])]),c("button",{class:"modal-close is-large","aria-label":"close",onClick:t[9]||(t[9]=a=>e.$emit("close"))})])):ee("",!0)]),_:1})}const fL=ae(lI,[["render",mL]]),pL={name:"ListTracks",components:{ModalDialogTrack:fL},props:{expression:{default:"",type:String},items:{required:!0,type:Object},show_icon:Boolean,show_progress:Boolean,uris:{default:"",type:String}},emits:["play-count-changed"],data(){return{selected_item:{},show_details_modal:!1}},methods:{open_dialog(e){this.selected_item=e,this.show_details_modal=!0},play(e){this.uris?B.player_play_uri(this.uris,!1,this.items.items.indexOf(e)):this.expression?B.player_play_expression(this.expression,!1,this.items.items.indexOf(e)):B.player_play_uri(e.uri,!1)}}},hL={key:0,class:"mt-6 mb-5 py-2"},_L=["id","textContent"],gL=["onClick"],yL={key:0,class:"media-left is-clickable"},zL={class:"media-content is-clickable is-clipped"},vL=["textContent"],bL=["textContent"],CL=["textContent"],wL=["max","value"],kL={class:"media-right"},SL=["onClick"];function xL(e,t,n,r,o,s){const i=O("mdicon"),a=O("modal-dialog-track");return x(),I(ve,null,[(x(!0),I(ve,null,_t(n.items,l=>(x(),I(ve,{key:l.itemId},[l.isItem?(x(),I("div",{key:1,class:ke(["media is-align-items-center",{"with-progress":n.show_progress}]),onClick:u=>s.play(l.item)},[n.show_icon?(x(),I("figure",yL,[b(i,{class:"icon",name:"file-outline",size:"16"})])):ee("",!0),c("div",zL,[c("h1",{class:ke(["title is-6",{"has-text-grey":l.item.media_kind==="podcast"&&l.item.play_count>0}]),textContent:y(l.item.title)},null,10,vL),c("h2",{class:"subtitle is-7 has-text-grey has-text-weight-bold",textContent:y(l.item.artist)},null,8,bL),c("h2",{class:"subtitle is-7 has-text-grey",textContent:y(l.item.album)},null,8,CL),n.show_progress&&l.item.seek_ms>0?(x(),I("progress",{key:0,class:"progress is-info",max:l.item.length_ms,value:l.item.seek_ms},null,8,wL)):ee("",!0)]),c("div",kL,[c("a",{onClick:gt(u=>s.open_dialog(l.item),["prevent","stop"])},[b(i,{class:"icon has-text-dark",name:"dots-vertical",size:"16"})],8,SL)])],10,gL)):(x(),I("div",hL,[c("span",{id:`index_${l.index}`,class:"tag is-info is-light is-small has-text-weight-bold",textContent:y(l.index)},null,8,_L)]))],64))),128)),(x(),we(Hn,{to:"#app"},[b(a,{item:o.selected_item,show:o.show_details_modal,onClose:t[0]||(t[0]=l=>o.show_details_modal=!1),onPlayCountChanged:t[1]||(t[1]=l=>e.$emit("play-count-changed"))},null,8,["item","show"])]))],64)}const gn=ae(pL,[["render",xL],["__scopeId","data-v-84498238"]]),EL={name:"ModalDialogAlbum",components:{CoverArtwork:Lr},props:{item:{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.item.media_kind}},methods:{mark_played(){B.library_album_track_update(this.item.id,{play_count:"played"}).then(()=>{this.$emit("play-count-changed"),this.$emit("close")})},open(){this.$emit("close"),this.media_kind_resolved==="podcast"?this.$router.push({name:"podcast",params:{id:this.item.id}}):this.media_kind_resolved==="audiobook"?this.$router.push({name:"audiobooks-album",params:{id:this.item.id}}):this.$router.push({name:"music-album",params:{id:this.item.id}})},open_artist(){this.$emit("close"),this.media_kind_resolved==="audiobook"?this.$router.push({name:"audiobooks-artist",params:{id:this.item.artist_id}}):this.$router.push({name:"music-artist",params:{id:this.item.artist_id}})},play(){this.$emit("close"),B.player_play_uri(this.item.uri,!1)},queue_add(){this.$emit("close"),B.queue_add(this.item.uri)},queue_add_next(){this.$emit("close"),B.queue_add_next(this.item.uri)}}},$L={key:0,class:"modal is-active"},TL={class:"modal-content"},AL={class:"card"},OL={class:"card-content"},PL={class:"title is-4"},IL=["textContent"],LL={key:0,class:"buttons"},NL=["textContent"],DL=["textContent"],RL={class:"content is-small"},ML={key:0},FL=["textContent"],VL=["textContent"],HL={key:1},UL=["textContent"],jL=["textContent"],BL={key:2},WL=["textContent"],qL=["textContent"],GL=["textContent"],KL=["textContent"],ZL=["textContent"],YL=["textContent"],XL=["textContent"],JL=["textContent"],QL=["textContent"],e4=["textContent"],t4={class:"card-footer"},n4=["textContent"],r4=["textContent"],o4=["textContent"];function s4(e,t,n,r,o,s){const i=O("cover-artwork"),a=O("mdicon");return x(),we(Rt,{name:"fade"},{default:N(()=>[n.show?(x(),I("div",$L,[c("div",{class:"modal-background",onClick:t[0]||(t[0]=l=>e.$emit("close"))}),c("div",TL,[c("div",AL,[c("div",OL,[b(i,{url:n.item.artwork_url,artist:n.item.artist,album:n.item.name,class:"fd-has-shadow fd-cover fd-cover-normal-image mb-5"},null,8,["url","artist","album"]),c("p",PL,[c("a",{class:"has-text-link",onClick:t[1]||(t[1]=(...l)=>s.open&&s.open(...l)),textContent:y(n.item.name)},null,8,IL)]),s.media_kind_resolved==="podcast"?(x(),I("div",LL,[c("a",{class:"button is-small",onClick:t[2]||(t[2]=(...l)=>s.mark_played&&s.mark_played(...l)),textContent:y(e.$t("dialog.album.mark-as-played"))},null,8,NL),n.item.data_kind==="url"?(x(),I("a",{key:0,class:"button is-small",onClick:t[3]||(t[3]=l=>e.$emit("remove-podcast")),textContent:y(e.$t("dialog.album.remove-podcast"))},null,8,DL)):ee("",!0)])):ee("",!0),c("div",RL,[n.item.artist?(x(),I("p",ML,[c("span",{class:"heading",textContent:y(e.$t("dialog.album.artist"))},null,8,FL),c("a",{class:"title is-6 has-text-link",onClick:t[4]||(t[4]=(...l)=>s.open_artist&&s.open_artist(...l)),textContent:y(n.item.artist)},null,8,VL)])):ee("",!0),n.item.date_released?(x(),I("p",HL,[c("span",{class:"heading",textContent:y(e.$t("dialog.album.release-date"))},null,8,UL),c("span",{class:"title is-6",textContent:y(e.$filters.date(n.item.date_released))},null,8,jL)])):n.item.year?(x(),I("p",BL,[c("span",{class:"heading",textContent:y(e.$t("dialog.album.year"))},null,8,WL),c("span",{class:"title is-6",textContent:y(n.item.year)},null,8,qL)])):ee("",!0),c("p",null,[c("span",{class:"heading",textContent:y(e.$t("dialog.album.tracks"))},null,8,GL),c("span",{class:"title is-6",textContent:y(n.item.track_count)},null,8,KL)]),c("p",null,[c("span",{class:"heading",textContent:y(e.$t("dialog.album.duration"))},null,8,ZL),c("span",{class:"title is-6",textContent:y(e.$filters.durationInHours(n.item.length_ms))},null,8,YL)]),c("p",null,[c("span",{class:"heading",textContent:y(e.$t("dialog.album.type"))},null,8,XL),c("span",{class:"title is-6",textContent:y(`${e.$t(`media.kind.${n.item.media_kind}`)} - ${e.$t(`data.kind.${n.item.data_kind}`)}`)},null,8,JL)]),c("p",null,[c("span",{class:"heading",textContent:y(e.$t("dialog.album.added-on"))},null,8,QL),c("span",{class:"title is-6",textContent:y(e.$filters.datetime(n.item.time_added))},null,8,e4)])])]),c("footer",t4,[c("a",{class:"card-footer-item has-text-dark",onClick:t[5]||(t[5]=(...l)=>s.queue_add&&s.queue_add(...l))},[b(a,{class:"icon",name:"playlist-plus",size:"16"}),c("span",{class:"is-size-7",textContent:y(e.$t("dialog.album.add"))},null,8,n4)]),c("a",{class:"card-footer-item has-text-dark",onClick:t[6]||(t[6]=(...l)=>s.queue_add_next&&s.queue_add_next(...l))},[b(a,{class:"icon",name:"playlist-play",size:"16"}),c("span",{class:"is-size-7",textContent:y(e.$t("dialog.album.add-next"))},null,8,r4)]),c("a",{class:"card-footer-item has-text-dark",onClick:t[7]||(t[7]=(...l)=>s.play&&s.play(...l))},[b(a,{class:"icon",name:"play",size:"16"}),c("span",{class:"is-size-7",textContent:y(e.$t("dialog.album.play"))},null,8,o4)])])])]),c("button",{class:"modal-close is-large","aria-label":"close",onClick:t[8]||(t[8]=l=>e.$emit("close"))})])):ee("",!0)]),_:1})}const oc=ae(EL,[["render",s4]]),qp={load(e){return Promise.all([B.library_album(e.params.id),B.library_album_tracks(e.params.id)])},set(e,t){e.album=t[0].data,e.tracks=new Ee(t[1].data,{criteria:[{field:"disc_number",type:Number}],index:{field:"disc_number",type:Number}}),e.tracks.indices.length<2&&e.tracks.group()}},i4={name:"PageAlbum",components:{ContentWithHero:rc,CoverArtwork:Lr,ListTracks:gn,ModalDialogAlbum:oc},beforeRouteEnter(e,t,n){qp.load(e).then(r=>{n(o=>qp.set(o,r))})},data(){return{album:{},show_details_modal:!1,tracks:new Ee}},methods:{open_artist(){this.show_details_modal=!1,this.$router.push({name:"music-artist",params:{id:this.album.artist_id}})},play(){B.player_play_uri(this.album.uri,!0)}}},a4=["textContent"],l4={class:"subtitle is-6 has-text-link"},c4=["textContent"],u4={class:"buttons fd-is-centered-mobile mt-5"},d4=["textContent"],m4=["textContent"];function f4(e,t,n,r,o,s){const i=O("mdicon"),a=O("cover-artwork"),l=O("list-tracks"),u=O("modal-dialog-album"),m=O("content-with-hero");return x(),I("div",null,[b(m,null,{"heading-left":N(()=>[c("h1",{class:"title is-5",textContent:y(o.album.name)},null,8,a4),c("h2",l4,[c("a",{class:"has-text-link",onClick:t[0]||(t[0]=(...d)=>s.open_artist&&s.open_artist(...d)),textContent:y(o.album.artist)},null,8,c4)]),c("div",u4,[c("a",{class:"button is-small is-dark is-rounded",onClick:t[1]||(t[1]=(...d)=>s.play&&s.play(...d))},[b(i,{class:"icon",name:"shuffle",size:"16"}),c("span",{textContent:y(e.$t("page.album.shuffle"))},null,8,d4)]),c("a",{class:"button is-small is-light is-rounded",onClick:t[2]||(t[2]=d=>o.show_details_modal=!0)},[b(i,{class:"icon",name:"dots-horizontal",size:"16"})])])]),"heading-right":N(()=>[b(a,{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,["url","artist","album"])]),content:N(()=>[c("p",{class:"heading has-text-centered-mobile mt-5",textContent:y(e.$t("page.album.track-count",{count:o.album.track_count}))},null,8,m4),b(l,{items:o.tracks,uris:o.album.uri},null,8,["items","uris"]),b(u,{item:o.album,show:o.show_details_modal,onClose:t[4]||(t[4]=d=>o.show_details_modal=!1)},null,8,["item","show"])]),_:1})])}const p4=ae(i4,[["render",f4]]),h4={name:"ModalDialogTrackSpotify",props:{item:{required:!0,type:Object},show:Boolean},emits:["close"],methods:{open_album(){this.$emit("close"),this.$router.push({name:"music-spotify-album",params:{id:this.item.album.id}})},open_artist(){this.$emit("close"),this.$router.push({name:"music-spotify-artist",params:{id:this.item.artists[0].id}})},play(){this.$emit("close"),B.player_play_uri(this.item.uri,!1)},queue_add(){this.$emit("close"),B.queue_add(this.item.uri)},queue_add_next(){this.$emit("close"),B.queue_add_next(this.item.uri)}}},_4={key:0,class:"modal is-active"},g4={class:"modal-content"},y4={class:"card"},z4={class:"card-content"},v4=["textContent"],b4=["textContent"],C4={class:"content is-small"},w4=["textContent"],k4=["textContent"],S4=["textContent"],x4=["textContent"],E4=["textContent"],$4=["textContent"],T4=["textContent"],A4=["textContent"],O4=["textContent"],P4=["textContent"],I4=["textContent"],L4=["textContent"],N4={class:"card-footer"},D4=["textContent"],R4=["textContent"],M4=["textContent"];function F4(e,t,n,r,o,s){const i=O("mdicon");return x(),we(Rt,{name:"fade"},{default:N(()=>[n.show?(x(),I("div",_4,[c("div",{class:"modal-background",onClick:t[0]||(t[0]=a=>e.$emit("close"))}),c("div",g4,[c("div",y4,[c("div",z4,[c("p",{class:"title is-4",textContent:y(n.item.name)},null,8,v4),c("p",{class:"subtitle",textContent:y(n.item.artists[0].name)},null,8,b4),c("div",C4,[c("p",null,[c("span",{class:"heading",textContent:y(e.$t("dialog.spotify.track.album"))},null,8,w4),c("a",{class:"title is-6 has-text-link",onClick:t[1]||(t[1]=(...a)=>s.open_album&&s.open_album(...a)),textContent:y(n.item.album.name)},null,8,k4)]),c("p",null,[c("span",{class:"heading",textContent:y(e.$t("dialog.spotify.track.album-artist"))},null,8,S4),c("a",{class:"title is-6 has-text-link",onClick:t[2]||(t[2]=(...a)=>s.open_artist&&s.open_artist(...a)),textContent:y(n.item.artists[0].name)},null,8,x4)]),c("p",null,[c("span",{class:"heading",textContent:y(e.$t("dialog.spotify.track.release-date"))},null,8,E4),c("span",{class:"title is-6",textContent:y(e.$filters.date(n.item.album.release_date))},null,8,$4)]),c("p",null,[c("span",{class:"heading",textContent:y(e.$t("dialog.spotify.track.position"))},null,8,T4),c("span",{class:"title is-6",textContent:y([n.item.disc_number,n.item.track_number].join(" / "))},null,8,A4)]),c("p",null,[c("span",{class:"heading",textContent:y(e.$t("dialog.spotify.track.duration"))},null,8,O4),c("span",{class:"title is-6",textContent:y(e.$filters.durationInHours(n.item.duration_ms))},null,8,P4)]),c("p",null,[c("span",{class:"heading",textContent:y(e.$t("dialog.spotify.track.path"))},null,8,I4),c("span",{class:"title is-6",textContent:y(n.item.uri)},null,8,L4)])])]),c("footer",N4,[c("a",{class:"card-footer-item has-text-dark",onClick:t[3]||(t[3]=(...a)=>s.queue_add&&s.queue_add(...a))},[b(i,{class:"icon",name:"playlist-plus",size:"16"}),c("span",{class:"is-size-7",textContent:y(e.$t("dialog.spotify.track.add"))},null,8,D4)]),c("a",{class:"card-footer-item has-text-dark",onClick:t[4]||(t[4]=(...a)=>s.queue_add_next&&s.queue_add_next(...a))},[b(i,{class:"icon",name:"playlist-play",size:"16"}),c("span",{class:"is-size-7",textContent:y(e.$t("dialog.spotify.track.add-next"))},null,8,R4)]),c("a",{class:"card-footer-item has-text-dark",onClick:t[5]||(t[5]=(...a)=>s.play&&s.play(...a))},[b(i,{class:"icon",name:"play",size:"16"}),c("span",{class:"is-size-7",textContent:y(e.$t("dialog.spotify.track.play"))},null,8,M4)])])])]),c("button",{class:"modal-close is-large","aria-label":"close",onClick:t[6]||(t[6]=a=>e.$emit("close"))})])):ee("",!0)]),_:1})}const V4=ae(h4,[["render",F4]]),H4={name:"ListTracksSpotify",components:{ModalDialogTrackSpotify:V4},props:{context_uri:{default:"",type:String},items:{required:!0,type:Object}},data(){return{selected_item:{},show_details_modal:!1}},methods:{open_dialog(e){this.selected_item=e,this.show_details_modal=!0},play(e){e.is_playable&&B.player_play_uri(this.context_uri||e.uri,!1,e.position||0)}}},U4=["onClick"],j4=["textContent"],B4=["textContent"],W4=["textContent"],q4={key:0,class:"subtitle is-7"},G4=["textContent"],K4=["textContent"],Z4={class:"media-right"},Y4=["onClick"];function X4(e,t,n,r,o,s){const i=O("mdicon"),a=O("modal-dialog-track-spotify");return x(),I(ve,null,[(x(!0),I(ve,null,_t(n.items,l=>{var u;return x(),I("div",{key:l.id,class:"media is-align-items-center"},[c("div",{class:ke(["media-content is-clipped",{"is-clickable":l.is_playable,"fd-is-not-allowed":!l.is_playable}]),onClick:m=>s.play(l)},[c("h1",{class:ke(["title is-6",{"has-text-grey-light":!l.is_playable}]),textContent:y(l.name)},null,10,j4),c("h2",{class:ke(["subtitle is-7 has-text-weight-bold",{"has-text-grey":l.is_playable,"has-text-grey-light":!l.is_playable}]),textContent:y(l.artists[0].name)},null,10,B4),c("h2",{class:"subtitle is-7 has-text-grey",textContent:y(l.album.name)},null,8,W4),l.is_playable?ee("",!0):(x(),I("h2",q4,[Dt(" ("),c("span",{textContent:y(e.$t("list.spotify.not-playable-track"))},null,8,G4),(u=l.restrictions)!=null&&u.reason?(x(),I("span",{key:0,textContent:y(e.$t("list.spotify.restriction-reason",{reason:l.restrictions.reason}))},null,8,K4)):ee("",!0),Dt(") ")]))],10,U4),c("div",Z4,[c("a",{onClick:gt(m=>s.open_dialog(l),["prevent","stop"])},[b(i,{class:"icon has-text-dark",name:"dots-vertical",size:"16"})],8,Y4)])])}),128)),(x(),we(Hn,{to:"#app"},[b(a,{item:o.selected_item,show:o.show_details_modal,onClose:t[0]||(t[0]=l=>o.show_details_modal=!1)},null,8,["item","show"])]))],64)}const dl=ae(H4,[["render",X4]]),J4={name:"ModalDialogAlbumSpotify",components:{CoverArtwork:Lr},props:{item:{required:!0,type:Object},show:Boolean},emits:["close"],data(){return{artwork_visible:!1}},methods:{artwork_error(){this.artwork_visible=!1},artwork_loaded(){this.artwork_visible=!0},artwork_url(e){var t,n;return((n=(t=e.images)==null?void 0:t[0])==null?void 0:n.url)||""},open(){this.$emit("close"),this.$router.push({name:"music-spotify-album",params:{id:this.item.id}})},open_artist(){this.$emit("close"),this.$router.push({name:"music-spotify-artist",params:{id:this.item.artists[0].id}})},play(){this.$emit("close"),B.player_play_uri(this.item.uri,!1)},queue_add(){this.$emit("close"),B.queue_add(this.item.uri)},queue_add_next(){this.$emit("close"),B.queue_add_next(this.item.uri)}}},Q4={key:0,class:"modal is-active"},e6={class:"modal-content"},t6={class:"card"},n6={class:"card-content"},r6={class:"title is-4"},o6=["textContent"],s6={class:"content is-small"},i6=["textContent"],a6=["textContent"],l6=["textContent"],c6=["textContent"],u6=["textContent"],d6=["textContent"],m6={class:"card-footer"},f6=["textContent"],p6=["textContent"],h6=["textContent"];function _6(e,t,n,r,o,s){const i=O("cover-artwork"),a=O("mdicon");return x(),we(Rt,{name:"fade"},{default:N(()=>[n.show?(x(),I("div",Q4,[c("div",{class:"modal-background",onClick:t[0]||(t[0]=l=>e.$emit("close"))}),c("div",e6,[c("div",t6,[c("div",n6,[b(i,{url:s.artwork_url(n.item),artist:n.item.artist,album:n.item.name,class:"fd-has-shadow fd-cover fd-cover-normal-image mb-5",onLoad:s.artwork_loaded,onError:s.artwork_error},null,8,["url","artist","album","onLoad","onError"]),c("p",r6,[c("a",{class:"has-text-link",onClick:t[1]||(t[1]=(...l)=>s.open&&s.open(...l)),textContent:y(n.item.name)},null,8,o6)]),c("div",s6,[c("p",null,[c("span",{class:"heading",textContent:y(e.$t("dialog.spotify.album.album-artist"))},null,8,i6),c("a",{class:"title is-6 has-text-link",onClick:t[2]||(t[2]=(...l)=>s.open_artist&&s.open_artist(...l)),textContent:y(n.item.artists[0].name)},null,8,a6)]),c("p",null,[c("span",{class:"heading",textContent:y(e.$t("dialog.spotify.album.release-date"))},null,8,l6),c("span",{class:"title is-6",textContent:y(e.$filters.date(n.item.release_date))},null,8,c6)]),c("p",null,[c("span",{class:"heading",textContent:y(e.$t("dialog.spotify.album.type"))},null,8,u6),c("span",{class:"title is-6",textContent:y(n.item.album_type)},null,8,d6)])])]),c("footer",m6,[c("a",{class:"card-footer-item has-text-dark",onClick:t[3]||(t[3]=(...l)=>s.queue_add&&s.queue_add(...l))},[b(a,{class:"icon",name:"playlist-plus",size:"16"}),c("span",{class:"is-size-7",textContent:y(e.$t("dialog.spotify.album.add"))},null,8,f6)]),c("a",{class:"card-footer-item has-text-dark",onClick:t[4]||(t[4]=(...l)=>s.queue_add_next&&s.queue_add_next(...l))},[b(a,{class:"icon",name:"playlist-play",size:"16"}),c("span",{class:"is-size-7",textContent:y(e.$t("dialog.spotify.album.add-next"))},null,8,p6)]),c("a",{class:"card-footer-item has-text-dark",onClick:t[5]||(t[5]=(...l)=>s.play&&s.play(...l))},[b(a,{class:"icon",name:"play",size:"16"}),c("span",{class:"is-size-7",textContent:y(e.$t("dialog.spotify.album.play"))},null,8,h6)])])])]),c("button",{class:"modal-close is-large","aria-label":"close",onClick:t[6]||(t[6]=l=>e.$emit("close"))})])):ee("",!0)]),_:1})}const ez=ae(J4,[["render",_6]]),Gp={load(e){const t=new ir;return t.setAccessToken(Pt().spotify.webapi_token),t.getAlbum(e.params.id,{market:Pt().spotify.webapi_country})},set(e,t){e.album=t}},g6={name:"PageAlbumSpotify",components:{ContentWithHero:rc,CoverArtwork:Lr,ListTracksSpotify:dl,ModalDialogAlbumSpotify:ez},beforeRouteEnter(e,t,n){Gp.load(e).then(r=>{n(o=>Gp.set(o,r))})},setup(){return{servicesStore:Pt()}},data(){return{album:{artists:[{}],tracks:{}},show_details_modal:!1}},computed:{tracks(){const{album:e}=this;return e.tracks.total?e.tracks.items.map(t=>({...t,album:e})):{}}},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,B.player_play_uri(this.album.uri,!0)}}},y6=["textContent"],z6={class:"subtitle is-6 has-text-link"},v6=["textContent"],b6={class:"buttons fd-is-centered-mobile mt-5"},C6=["textContent"],w6=["textContent"];function k6(e,t,n,r,o,s){const i=O("mdicon"),a=O("cover-artwork"),l=O("list-tracks-spotify"),u=O("modal-dialog-album-spotify"),m=O("content-with-hero");return x(),I("div",null,[b(m,null,{"heading-left":N(()=>[c("h1",{class:"title is-5",textContent:y(o.album.name)},null,8,y6),c("h2",z6,[c("a",{class:"has-text-link",onClick:t[0]||(t[0]=(...d)=>s.open_artist&&s.open_artist(...d)),textContent:y(o.album.artists[0].name)},null,8,v6)]),c("div",b6,[c("a",{class:"button is-small is-dark is-rounded",onClick:t[1]||(t[1]=(...d)=>s.play&&s.play(...d))},[b(i,{class:"icon",name:"shuffle",size:"16"}),c("span",{textContent:y(e.$t("page.spotify.album.shuffle"))},null,8,C6)]),c("a",{class:"button is-small is-light is-rounded",onClick:t[2]||(t[2]=d=>o.show_details_modal=!0)},[b(i,{class:"icon",name:"dots-horizontal",size:"16"})])])]),"heading-right":N(()=>[b(a,{url:s.artwork_url(o.album),artist:o.album.artists[0].name,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,["url","artist","album"])]),content:N(()=>[c("p",{class:"heading has-text-centered-mobile mt-5",textContent:y(e.$t("page.spotify.album.track-count",{count:o.album.tracks.total}))},null,8,w6),b(l,{items:s.tracks,context_uri:o.album.uri},null,8,["items","context_uri"]),b(u,{item:o.album,show:o.show_details_modal,onClose:t[4]||(t[4]=d=>o.show_details_modal=!1)},null,8,["item","show"])]),_:1})])}const S6=ae(g6,[["render",k6]]),x6={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",query:this.$route.query}}},mounted(){this.$slots.options&&(this.observer=new IntersectionObserver(this.onElementObserved,{rootMargin:"-82px 0px 0px 0px",threshold:1}),this.observer.observe(this.$refs.options))},methods:{onElementObserved(e){e.forEach(({isIntersecting:t})=>{this.options_visible=t})},visibilityChanged(e){this.options_visible=e}}},E6={class:"section"},$6={class:"container"},T6={class:"columns is-centered"},A6={class:"column is-four-fifths"},O6={key:0},P6={ref:"options",style:{height:"1px"}},I6={class:"buttons is-centered mt-4 mb-2"},L6={id:"top",class:"level is-clipped"},N6={class:"level-left is-flex-shrink-1"},D6={class:"level-item is-flex-shrink-1 has-text-centered-mobile"},R6={class:"level-right has-text-centered-mobile"},M6={class:"mt-4"};function F6(e,t,n,r,o,s){const i=O("mdicon"),a=O("router-link");return x(),I("section",E6,[c("div",$6,[c("div",T6,[c("div",A6,[e.$slots.options?(x(),I("section",O6,[c("div",P6,null,512),vt(e.$slots,"options"),c("nav",I6,[b(a,{class:"button is-small is-white",to:s.position},{default:N(()=>[b(i,{class:"icon is-small",name:s.icon_name,size:"16"},null,8,["name"])]),_:1},8,["to"])])])):ee("",!0),c("div",{class:ke({"is-full-height":e.$slots.options})},[c("nav",L6,[c("div",N6,[c("div",D6,[c("div",null,[vt(e.$slots,"heading-left")])])]),c("div",R6,[vt(e.$slots,"heading-right")])]),vt(e.$slots,"content"),c("div",M6,[vt(e.$slots,"footer")])],2)])])])])}const Qe=ae(x6,[["render",F6]]),V6={name:"ControlDropdown",props:{options:{required:!0,type:Array},value:{required:!0,type:[String,Number]}},emits:["update:value"],data(){return{active:!1}},computed:{option:{get(){return this.options.find(e=>e.id===this.value)}}},methods:{deactivate(){this.active=!1},select(e){this.active=!1,this.$emit("update:value",e.id)}}},H6={class:"dropdown-trigger"},U6=["textContent"],j6={id:"dropdown",class:"dropdown-menu",role:"menu"},B6={class:"dropdown-content"},W6=["onClick","textContent"];function q6(e,t,n,r,o,s){const i=O("mdicon"),a=kd("click-away");return ht((x(),I("div",{class:ke(["dropdown",{"is-active":o.active}])},[c("div",H6,[c("button",{class:"button","aria-haspopup":"true","aria-controls":"dropdown",onClick:t[0]||(t[0]=l=>o.active=!o.active)},[c("span",{textContent:y(s.option.name)},null,8,U6),b(i,{class:"icon",name:"chevron-down",size:"16"})])]),c("div",j6,[c("div",B6,[(x(!0),I(ve,null,_t(n.options,l=>(x(),I("a",{key:l.id,class:ke(["dropdown-item",{"is-active":n.value===l.id}]),onClick:u=>s.select(l),textContent:y(l.name)},null,10,W6))),128))])])],2)),[[a,s.deactivate]])}const Bo=ae(V6,[["render",q6]]),G6={name:"IndexButtonList",props:{indices:{required:!0,type:Array}}},K6={class:"buttons is-centered mb-4 fd-is-square"};function Z6(e,t,n,r,o,s){const i=O("router-link");return x(),I("section",null,[c("nav",K6,[(x(!0),I(ve,null,_t(n.indices,a=>(x(),we(i,{key:a,class:"button is-small",to:{hash:`#index_${a}`,query:e.$route.query}},{default:N(()=>[Dt(y(a),1)]),_:2},1032,["to"]))),128))])])}const ar=ae(G6,[["render",Z6]]),Y6={name:"ListAlbums",components:{CoverArtwork:Lr,ModalDialog:Zd,ModalDialogAlbum:oc},props:{items:{required:!0,type:Object},media_kind:{default:"",type:String}},emits:["play-count-changed","podcast-deleted"],setup(){return{settingsStore:sr()}},data(){return{rss_playlist_to_remove:{},selected_item:{},show_details_modal:!1,show_remove_podcast_modal:!1}},computed:{media_kind_resolved(){return this.media_kind||this.selected_item.media_kind}},methods:{open(e){this.selected_item=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_item=e,this.show_details_modal=!0},open_remove_podcast_dialog(){B.library_album_tracks(this.selected_item.id,{limit:1}).then(({data:e})=>{B.library_track_playlists(e.items[0].id).then(({data:t})=>{[this.rss_playlist_to_remove]=t.items.filter(n=>n.type==="rss"),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,B.library_playlist_delete(this.rss_playlist_to_remove.id).then(()=>{this.$emit("podcast-deleted")})}}},X6={key:0,class:"mt-6 mb-5 py-2"},J6=["id","textContent"],Q6=["onClick"],e5={key:0,class:"media-left"},t5={class:"media-content is-clickable is-clipped"},n5=["textContent"],r5=["textContent"],o5=["textContent"],s5={class:"media-right"},i5=["onClick"],a5=["textContent"],l5={class:"is-size-7"},c5=["textContent"],u5=["textContent"];function d5(e,t,n,r,o,s){const i=O("cover-artwork"),a=O("mdicon"),l=O("modal-dialog-album"),u=O("modal-dialog");return x(),I(ve,null,[(x(!0),I(ve,null,_t(n.items,m=>(x(),I(ve,{key:m.itemId},[m.isItem?(x(),I("div",{key:1,class:"media is-align-items-center",onClick:d=>s.open(m.item)},[r.settingsStore.show_cover_artwork_in_album_lists?(x(),I("div",e5,[b(i,{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,["url","artist","album"])])):ee("",!0),c("div",t5,[c("div",null,[c("h1",{class:"title is-6",textContent:y(m.item.name)},null,8,n5),c("h2",{class:"subtitle is-7 has-text-grey has-text-weight-bold",textContent:y(m.item.artist)},null,8,r5),m.item.date_released&&m.item.media_kind==="music"?(x(),I("h2",{key:0,class:"subtitle is-7 has-text-grey",textContent:y(e.$filters.date(m.item.date_released))},null,8,o5)):ee("",!0)])]),c("div",s5,[c("a",{onClick:gt(d=>s.open_dialog(m.item),["prevent","stop"])},[b(a,{class:"icon has-text-dark",name:"dots-vertical",size:"16"})],8,i5)])],8,Q6)):(x(),I("div",X6,[c("span",{id:`index_${m.index}`,class:"tag is-info is-light is-small has-text-weight-bold",textContent:y(m.index)},null,8,J6)]))],64))),128)),(x(),we(Hn,{to:"#app"},[b(l,{item:o.selected_item,media_kind:n.media_kind,show:o.show_details_modal,onClose:t[0]||(t[0]=m=>o.show_details_modal=!1),onRemovePodcast:t[1]||(t[1]=m=>s.open_remove_podcast_dialog()),onPlayCountChanged:t[2]||(t[2]=m=>s.play_count_changed())},null,8,["item","media_kind","show"]),b(u,{close_action:e.$t("page.podcast.cancel"),delete_action:e.$t("page.podcast.remove"),show:o.show_remove_podcast_modal,title:e.$t("page.podcast.remove-podcast"),onClose:t[3]||(t[3]=m=>o.show_remove_podcast_modal=!1),onDelete:s.remove_podcast},{"modal-content":N(()=>[c("p",{textContent:y(e.$t("list.albums.info-1"))},null,8,a5),c("p",l5,[Dt(" ("),c("span",{textContent:y(e.$t("list.albums.info-2"))},null,8,c5),c("b",{textContent:y(o.rss_playlist_to_remove.name)},null,8,u5),Dt(") ")])]),_:1},8,["close_action","delete_action","show","title","onDelete"])]))],64)}const wn=ae(Y6,[["render",d5]]),m5={name:"TabsMusic",setup(){return{servicesStore:Pt()}},computed:{spotify_enabled(){return this.servicesStore.spotify.webapi_token_valid}}},f5={class:"section fd-tabs-section"},p5={class:"container"},h5={class:"columns is-centered"},_5={class:"column is-four-fifths"},g5={class:"tabs is-centered is-small"},y5=["onClick","onKeypress"],z5=["textContent"],v5=["onClick","onKeypress"],b5=["textContent"],C5=["onClick","onKeypress"],w5=["textContent"],k5=["onClick","onKeypress"],S5=["textContent"],x5=["onClick","onKeypress"],E5=["textContent"],$5=["onClick","onKeypress"],T5=["textContent"];function A5(e,t,n,r,o,s){const i=O("mdicon"),a=O("router-link");return x(),I("section",f5,[c("div",p5,[c("div",h5,[c("div",_5,[c("div",g5,[c("ul",null,[b(a,{to:{name:"music-history"},custom:""},{default:N(({navigate:l,isActive:u})=>[c("li",{class:ke({"is-active":u})},[c("a",{onClick:l,onKeypress:dn(l,["enter"])},[b(i,{class:"icon is-small",name:"history",size:"16"}),c("span",{class:"is-hidden-mobile",textContent:y(e.$t("page.music.tabs.history"))},null,8,z5)],40,y5)],2)]),_:1}),b(a,{to:{name:"music-artists"},custom:""},{default:N(({navigate:l,isActive:u})=>[c("li",{class:ke({"is-active":u})},[c("a",{onClick:l,onKeypress:dn(l,["enter"])},[b(i,{class:"icon is-small",name:"account-music",size:"16"}),c("span",{class:"is-hidden-mobile",textContent:y(e.$t("page.music.tabs.artists"))},null,8,b5)],40,v5)],2)]),_:1}),b(a,{to:{name:"music-albums"},custom:""},{default:N(({navigate:l,isActive:u})=>[c("li",{class:ke({"is-active":u})},[c("a",{onClick:l,onKeypress:dn(l,["enter"])},[b(i,{class:"icon is-small",name:"album",size:"16"}),c("span",{class:"is-hidden-mobile",textContent:y(e.$t("page.music.tabs.albums"))},null,8,w5)],40,C5)],2)]),_:1}),b(a,{to:{name:"music-genres"},custom:""},{default:N(({navigate:l,isActive:u})=>[c("li",{class:ke({"is-active":u})},[c("a",{onClick:l,onKeypress:dn(l,["enter"])},[b(i,{class:"icon is-small",name:"speaker",size:"16"}),c("span",{class:"is-hidden-mobile",textContent:y(e.$t("page.music.tabs.genres"))},null,8,S5)],40,k5)],2)]),_:1}),b(a,{to:{name:"music-composers"},custom:""},{default:N(({navigate:l,isActive:u})=>[c("li",{class:ke({"is-active":u})},[c("a",{onClick:l,onKeypress:dn(l,["enter"])},[b(i,{class:"icon is-small",name:"book-open-page-variant",size:"16"}),c("span",{class:"is-hidden-mobile",textContent:y(e.$t("page.music.tabs.composers"))},null,8,E5)],40,x5)],2)]),_:1}),s.spotify_enabled?(x(),we(a,{key:0,to:{name:"music-spotify"},custom:""},{default:N(({navigate:l,isActive:u})=>[c("li",{class:ke({"is-active":u})},[c("a",{onClick:l,onKeypress:dn(l,["enter"])},[b(i,{class:"icon is-small",name:"spotify",size:"16"}),c("span",{class:"is-hidden-mobile",textContent:y(e.$t("page.music.tabs.spotify"))},null,8,T5)],40,$5)],2)]),_:1})):ee("",!0)])])])])])])}const yr=ae(m5,[["render",A5]]),Kp={load(e){return B.library_albums("music")},set(e,t){e.albums_list=new Ee(t.data)}},O5={name:"PageAlbums",components:{ContentWithHeading:Qe,ControlDropdown:Bo,IndexButtonList:ar,ListAlbums:wn,TabsMusic:yr},beforeRouteEnter(e,t,n){Kp.load(e).then(r=>{n(o=>Kp.set(o,r))})},setup(){return{uiStore:yn(),servicesStore:Pt()}},data(){return{albums_list:new Ee,groupings:[{id:1,name:this.$t("page.albums.sort.name"),options:{index:{field:"name_sort",type:String}}},{id:2,name:this.$t("page.albums.sort.recently-added"),options:{criteria:[{field:"time_added",order:-1,type:Date}],index:{field:"time_added",type:Date}}},{id:3,name:this.$t("page.albums.sort.recently-released"),options:{criteria:[{field:"date_released",order:-1,type:Date}],index:{field:"date_released",type:Date}}},{id:4,name:this.$t("page.albums.sort.artist-name"),options:{criteria:[{field:"artist",type:String},{field:"name_sort",type:String}],index:{field:"artist",type:String}}},{id:5,name:this.$t("page.albums.sort.artist-date"),options:{criteria:[{field:"artist",type:String},{field:"date_released",type:Date}],index:{field:"artist",type:String}}}]}},computed:{albums(){const{options:e}=this.groupings.find(t=>t.id===this.selected_grouping_id);return e.filters=[t=>!this.hide_singles||t.track_count>2,t=>!this.hide_spotify||t.data_kind!=="spotify"],this.albums_list.group(e)},hide_singles:{get(){return this.uiStore.hide_singles},set(e){this.uiStore.hide_singles=e}},hide_spotify:{get(){return this.uiStore.hide_spotify},set(e){this.uiStore.hide_spotify=e}},selected_grouping_id:{get(){return this.uiStore.albums_sort},set(e){this.uiStore.albums_sort=e}},spotify_enabled(){return this.servicesStore.spotify.webapi_token_valid}}},P5={class:"fd-page-with-tabs"},I5={class:"columns"},L5={class:"column"},N5=["textContent"],D5={class:"field"},R5={class:"control"},M5=["textContent"],F5=["textContent"],V5={key:0,class:"field"},H5={class:"control"},U5=["textContent"],j5=["textContent"],B5={class:"column"},W5=["textContent"],q5=["textContent"],G5=["textContent"];function K5(e,t,n,r,o,s){const i=O("tabs-music"),a=O("index-button-list"),l=O("control-dropdown"),u=O("list-albums"),m=O("content-with-heading");return x(),I("div",P5,[b(i),b(m,null,{options:N(()=>[b(a,{indices:s.albums.indices},null,8,["indices"]),c("div",I5,[c("div",L5,[c("p",{class:"heading mb-5",textContent:y(e.$t("page.albums.filter"))},null,8,N5),c("div",D5,[c("div",R5,[ht(c("input",{id:"switchHideSingles","onUpdate:modelValue":t[0]||(t[0]=d=>s.hide_singles=d),type:"checkbox",class:"switch is-rounded"},null,512),[[Mn,s.hide_singles]]),c("label",{for:"switchHideSingles",textContent:y(e.$t("page.albums.hide-singles"))},null,8,M5)]),c("p",{class:"help",textContent:y(e.$t("page.albums.hide-singles-help"))},null,8,F5)]),s.spotify_enabled?(x(),I("div",V5,[c("div",H5,[ht(c("input",{id:"switchHideSpotify","onUpdate:modelValue":t[1]||(t[1]=d=>s.hide_spotify=d),type:"checkbox",class:"switch is-rounded"},null,512),[[Mn,s.hide_spotify]]),c("label",{for:"switchHideSpotify",textContent:y(e.$t("page.albums.hide-spotify"))},null,8,U5)]),c("p",{class:"help",textContent:y(e.$t("page.albums.hide-spotify-help"))},null,8,j5)])):ee("",!0)]),c("div",B5,[c("p",{class:"heading mb-5",textContent:y(e.$t("page.albums.sort.title"))},null,8,W5),b(l,{value:s.selected_grouping_id,"onUpdate:value":t[2]||(t[2]=d=>s.selected_grouping_id=d),options:o.groupings},null,8,["value","options"])])])]),"heading-left":N(()=>[c("p",{class:"title is-4",textContent:y(e.$t("page.albums.title"))},null,8,q5),c("p",{class:"heading",textContent:y(e.$t("page.albums.count",{count:s.albums.count}))},null,8,G5)]),"heading-right":N(()=>[]),content:N(()=>[b(u,{items:s.albums},null,8,["items"])]),_:1})])}const Z5=ae(O5,[["render",K5]]),Y5={name:"ModalDialogArtist",props:{item:{required:!0,type:Object},show:Boolean},emits:["close"],methods:{open(){this.$emit("close"),this.$router.push({name:"music-artist",params:{id:this.item.id}})},play(){this.$emit("close"),B.player_play_uri(this.item.uri,!1)},queue_add(){this.$emit("close"),B.queue_add(this.item.uri)},queue_add_next(){this.$emit("close"),B.queue_add_next(this.item.uri)}}},X5={key:0,class:"modal is-active"},J5={class:"modal-content"},Q5={class:"card"},eN={class:"card-content"},tN={class:"title is-4"},nN=["textContent"],rN={class:"content is-small"},oN=["textContent"],sN=["textContent"],iN=["textContent"],aN=["textContent"],lN=["textContent"],cN=["textContent"],uN=["textContent"],dN=["textContent"],mN={class:"card-footer"},fN=["textContent"],pN=["textContent"],hN=["textContent"];function _N(e,t,n,r,o,s){const i=O("mdicon");return x(),we(Rt,{name:"fade"},{default:N(()=>[n.show?(x(),I("div",X5,[c("div",{class:"modal-background",onClick:t[0]||(t[0]=a=>e.$emit("close"))}),c("div",J5,[c("div",Q5,[c("div",eN,[c("p",tN,[c("a",{class:"has-text-link",onClick:t[1]||(t[1]=(...a)=>s.open&&s.open(...a)),textContent:y(n.item.name)},null,8,nN)]),c("div",rN,[c("p",null,[c("span",{class:"heading",textContent:y(e.$t("dialog.artist.albums"))},null,8,oN),c("span",{class:"title is-6",textContent:y(n.item.album_count)},null,8,sN)]),c("p",null,[c("span",{class:"heading",textContent:y(e.$t("dialog.artist.tracks"))},null,8,iN),c("span",{class:"title is-6",textContent:y(n.item.track_count)},null,8,aN)]),c("p",null,[c("span",{class:"heading",textContent:y(e.$t("dialog.artist.type"))},null,8,lN),c("span",{class:"title is-6",textContent:y(e.$t(`data.kind.${n.item.data_kind}`))},null,8,cN)]),c("p",null,[c("span",{class:"heading",textContent:y(e.$t("dialog.artist.added-on"))},null,8,uN),c("span",{class:"title is-6",textContent:y(e.$filters.datetime(n.item.time_added))},null,8,dN)])])]),c("footer",mN,[c("a",{class:"card-footer-item has-text-dark",onClick:t[2]||(t[2]=(...a)=>s.queue_add&&s.queue_add(...a))},[b(i,{class:"icon",name:"playlist-plus",size:"16"}),c("span",{class:"is-size-7",textContent:y(e.$t("dialog.artist.add"))},null,8,fN)]),c("a",{class:"card-footer-item has-text-dark",onClick:t[3]||(t[3]=(...a)=>s.queue_add_next&&s.queue_add_next(...a))},[b(i,{class:"icon",name:"playlist-play",size:"16"}),c("span",{class:"is-size-7",textContent:y(e.$t("dialog.artist.add-next"))},null,8,pN)]),c("a",{class:"card-footer-item has-text-dark",onClick:t[4]||(t[4]=(...a)=>s.play&&s.play(...a))},[b(i,{class:"icon",name:"play",size:"16"}),c("span",{class:"is-size-7",textContent:y(e.$t("dialog.artist.play"))},null,8,hN)])])])]),c("button",{class:"modal-close is-large","aria-label":"close",onClick:t[5]||(t[5]=a=>e.$emit("close"))})])):ee("",!0)]),_:1})}const sc=ae(Y5,[["render",_N]]),Zp={load(e){return Promise.all([B.library_artist(e.params.id),B.library_artist_albums(e.params.id)])},set(e,t){e.artist=t[0].data,e.albums_list=new Ee(t[1].data)}},gN={name:"PageArtist",components:{ContentWithHeading:Qe,ControlDropdown:Bo,ListAlbums:wn,ModalDialogArtist:sc},beforeRouteEnter(e,t,n){Zp.load(e).then(r=>{n(o=>Zp.set(o,r))})},setup(){return{servicesStore:Pt(),uiStore:yn()}},data(){return{albums_list:new Ee,artist:{},groupings:[{id:1,name:this.$t("page.artist.sort.name"),options:{criteria:[{field:"name_sort",type:String}]}},{id:2,name:this.$t("page.artist.sort.release-date"),options:{criteria:[{field:"date_released",type:Date}]}}],show_details_modal:!1}},computed:{albums(){const{options:e}=this.groupings.find(t=>t.id===this.selected_grouping_id);return e.filters=[t=>!this.hide_spotify||t.data_kind!=="spotify"],this.albums_list.group(e)},hide_spotify:{get(){return this.uiStore.hide_spotify},set(e){this.uiStore.hide_spotify=e}},selected_grouping_id:{get(){return this.uiStore.artist_albums_sort},set(e){this.uiStore.artist_albums_sort=e}},spotify_enabled(){return this.servicesStore.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(){B.player_play_uri(this.albums.items.map(e=>e.uri).join(),!0)}}},yN={class:"columns"},zN={class:"column"},vN=["textContent"],bN={key:0,class:"field"},CN={class:"control"},wN=["textContent"],kN=["textContent"],SN={class:"column"},xN=["textContent"],EN=["textContent"],$N={class:"buttons is-centered"},TN=["textContent"],AN={class:"heading has-text-centered-mobile"},ON=["textContent"],PN=c("span",null," | ",-1),IN=["textContent"];function LN(e,t,n,r,o,s){const i=O("control-dropdown"),a=O("mdicon"),l=O("list-albums"),u=O("modal-dialog-artist"),m=O("content-with-heading");return x(),I("div",null,[b(m,null,{options:N(()=>[c("div",yN,[c("div",zN,[c("p",{class:"heading mb-5",textContent:y(e.$t("page.artist.filter"))},null,8,vN),s.spotify_enabled?(x(),I("div",bN,[c("div",CN,[ht(c("input",{id:"switchHideSpotify","onUpdate:modelValue":t[0]||(t[0]=d=>s.hide_spotify=d),type:"checkbox",class:"switch is-rounded"},null,512),[[Mn,s.hide_spotify]]),c("label",{for:"switchHideSpotify",textContent:y(e.$t("page.artist.hide-spotify"))},null,8,wN)]),c("p",{class:"help",textContent:y(e.$t("page.artist.hide-spotify-help"))},null,8,kN)])):ee("",!0)]),c("div",SN,[c("p",{class:"heading mb-5",textContent:y(e.$t("page.artist.sort.title"))},null,8,xN),b(i,{value:s.selected_grouping_id,"onUpdate:value":t[1]||(t[1]=d=>s.selected_grouping_id=d),options:o.groupings},null,8,["value","options"])])])]),"heading-left":N(()=>[c("p",{class:"title is-4",textContent:y(o.artist.name)},null,8,EN)]),"heading-right":N(()=>[c("div",$N,[c("a",{class:"button is-small is-light is-rounded",onClick:t[2]||(t[2]=d=>o.show_details_modal=!0)},[b(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))},[b(a,{class:"icon",name:"shuffle",size:"16"}),c("span",{textContent:y(e.$t("page.artist.shuffle"))},null,8,TN)])])]),content:N(()=>[c("p",AN,[c("span",{textContent:y(e.$t("page.artist.album-count",{count:s.albums.count}))},null,8,ON),PN,c("a",{class:"has-text-link",onClick:t[4]||(t[4]=(...d)=>s.open_tracks&&s.open_tracks(...d)),textContent:y(e.$t("page.artist.track-count",{count:s.track_count}))},null,8,IN)]),b(l,{items:s.albums},null,8,["items"]),b(u,{item:o.artist,show:o.show_details_modal,onClose:t[5]||(t[5]=d=>o.show_details_modal=!1)},null,8,["item","show"])]),_:1})])}const NN=ae(gN,[["render",LN]]),DN={name:"ListAlbumsSpotify",components:{CoverArtwork:Lr,ModalDialogAlbumSpotify:ez},props:{items:{required:!0,type:Object}},setup(){return{settingsStore:sr()}},data(){return{selected_item:{},show_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(e){this.$router.push({name:"music-spotify-album",params:{id:e.id}})},open_dialog(e){this.selected_item=e,this.show_details_modal=!0}}},RN=["onClick"],MN={key:0,class:"media-left is-clickable"},FN={class:"media-content is-clickable is-clipped"},VN=["textContent"],HN=["textContent"],UN=["textContent"],jN={class:"media-right"},BN=["onClick"];function WN(e,t,n,r,o,s){const i=O("cover-artwork"),a=O("mdicon"),l=O("modal-dialog-album-spotify");return x(),I(ve,null,[(x(!0),I(ve,null,_t(n.items,u=>{var m;return x(),I("div",{key:u.id,class:"media is-align-items-center",onClick:d=>s.open(u)},[r.settingsStore.show_cover_artwork_in_album_lists?(x(),I("div",MN,[b(i,{url:s.artwork_url(u),artist:u.artist,album:u.name,class:"is-clickable fd-has-shadow fd-cover fd-cover-small-image"},null,8,["url","artist","album"])])):ee("",!0),c("div",FN,[c("h1",{class:"title is-6",textContent:y(u.name)},null,8,VN),c("h2",{class:"subtitle is-7 has-text-grey has-text-weight-bold",textContent:y((m=u.artists[0])==null?void 0:m.name)},null,8,HN),c("h2",{class:"subtitle is-7 has-text-grey",textContent:y([u.album_type,e.$filters.date(u.release_date)].join(", "))},null,8,UN)]),c("div",jN,[c("a",{onClick:gt(d=>s.open_dialog(u),["prevent","stop"])},[b(a,{class:"icon has-text-dark",name:"dots-vertical",size:"16"})],8,BN)])],8,RN)}),128)),(x(),we(Hn,{to:"#app"},[b(l,{item:o.selected_item,show:o.show_details_modal,onClose:t[0]||(t[0]=u=>o.show_details_modal=!1)},null,8,["item","show"])]))],64)}const Ii=ae(DN,[["render",WN]]),qN={name:"ModalDialogArtistSpotify",props:{item:{required:!0,type:Object},show:Boolean},emits:["close"],methods:{open(){this.$emit("close"),this.$router.push({name:"music-spotify-artist",params:{id:this.item.id}})},play(){this.$emit("close"),B.player_play_uri(this.item.uri,!1)},queue_add(){this.$emit("close"),B.queue_add(this.item.uri)},queue_add_next(){this.$emit("close"),B.queue_add_next(this.item.uri)}}},GN={key:0,class:"modal is-active"},KN={class:"modal-content"},ZN={class:"card"},YN={class:"card-content"},XN={class:"title is-4"},JN=["textContent"],QN={class:"content is-small"},e3=["textContent"],t3=["textContent"],n3=["textContent"],r3=["textContent"],o3={class:"card-footer"},s3=["textContent"],i3=["textContent"],a3=["textContent"];function l3(e,t,n,r,o,s){const i=O("mdicon");return x(),we(Rt,{name:"fade"},{default:N(()=>[n.show?(x(),I("div",GN,[c("div",{class:"modal-background",onClick:t[0]||(t[0]=a=>e.$emit("close"))}),c("div",KN,[c("div",ZN,[c("div",YN,[c("p",XN,[c("a",{class:"has-text-link",onClick:t[1]||(t[1]=(...a)=>s.open&&s.open(...a)),textContent:y(n.item.name)},null,8,JN)]),c("div",QN,[c("p",null,[c("span",{class:"heading",textContent:y(e.$t("dialog.spotify.artist.popularity"))},null,8,e3),c("span",{class:"title is-6",textContent:y([n.item.popularity,n.item.followers.total].join(" / "))},null,8,t3)]),c("p",null,[c("span",{class:"heading",textContent:y(e.$t("dialog.spotify.artist.genres"))},null,8,n3),c("span",{class:"title is-6",textContent:y(n.item.genres.join(", "))},null,8,r3)])])]),c("footer",o3,[c("a",{class:"card-footer-item has-text-dark",onClick:t[2]||(t[2]=(...a)=>s.queue_add&&s.queue_add(...a))},[b(i,{class:"icon",name:"playlist-plus",size:"16"}),c("span",{class:"is-size-7",textContent:y(e.$t("dialog.spotify.artist.add"))},null,8,s3)]),c("a",{class:"card-footer-item has-text-dark",onClick:t[3]||(t[3]=(...a)=>s.queue_add_next&&s.queue_add_next(...a))},[b(i,{class:"icon",name:"playlist-play",size:"16"}),c("span",{class:"is-size-7",textContent:y(e.$t("dialog.spotify.artist.add-next"))},null,8,i3)]),c("a",{class:"card-footer-item has-text-dark",onClick:t[4]||(t[4]=(...a)=>s.play&&s.play(...a))},[b(i,{class:"icon",name:"play",size:"16"}),c("span",{class:"is-size-7",textContent:y(e.$t("dialog.spotify.artist.play"))},null,8,a3)])])])]),c("button",{class:"modal-close is-large","aria-label":"close",onClick:t[5]||(t[5]=a=>e.$emit("close"))})])):ee("",!0)]),_:1})}const tz=ae(qN,[["render",l3]]);function c3(e){return e.scrollHeight}function u3(e){return e.scrollWidth}function d3(e,t){e.scrollTop=e.scrollHeight-t+e.scrollTop}function m3(e,t){e.scrollLeft=e.scrollWidth-t+e.scrollLeft}const f3=c("div",{class:"loading"},"Loading...",-1),p3=c("div",{class:"no-more"},"No more.",-1),h3=c("div",{class:"no-results"},"No results.",-1),_3=c("div",{class:"error"},"Error.",-1),cm=Pr({__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=Ln();let o=Ln("loading"),s=Ln(n.isInitial),i=0;function a(){Uo(()=>{var _,v;n.position==="top"?d3((_=n.container)!=null?_:document.documentElement,i):n.position==="left"&&m3((v=n.container)!=null?v:document.documentElement,i)})}function l(_,v){return _===0?s.value?(m(),"no-results"):(u(),"no-more"):_!==void 0&&v!==void 0&&_<v?(u(),"no-more"):(s.value=!1,a(),z(),"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"),z()}function p(){h("loading"),z()}function h(_){o.value=_}function g(){r.value&&w.unobserve(r.value)}function z(){r.value&&w.observe(r.value)}function k(){return new IntersectionObserver(([_])=>{var v,S;_.isIntersecting&&(n.position==="top"?i=c3((v=n.container)!=null?v:document.documentElement):n.position==="left"&&(i=u3((S=n.container)!=null?S:document.documentElement)),g(),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"&&G_(()=>{w&&g(),w=k(),z()},{flush:"post"}),Dn(()=>n.isInitial,_=>{_&&f()}),Dn(s,_=>{_||t("update:isInitial",!1)}),(_,v)=>(x(),I("div",{class:"vue-eternal-loading",ref_key:"rootRef",ref:r},[Cn(o)==="loading"?vt(_.$slots,"loading",Ks(is({key:0},{isFirstLoad:Cn(s)})),()=>[f3]):Cn(o)==="no-more"?vt(_.$slots,"no-more",Ks(is({key:1},{retry:p})),()=>[p3]):Cn(o)==="no-results"?vt(_.$slots,"no-results",Ks(is({key:2},{retry:p})),()=>[h3]):Cn(o)==="error"?vt(_.$slots,"error",Ks(is({key:3},{retry:p})),()=>[_3]):ee("",!0)],512))}}),Zu=50,Yp={load(e){const t=new ir;return t.setAccessToken(Pt().spotify.webapi_token),Promise.all([t.getArtist(e.params.id),t.getArtistAlbums(e.params.id,{include_groups:"album,single",limit:Zu,market:Pt().spotify.webapi_country,offset:0})])},set(e,t){e.artist=t.shift(),e.albums=[],e.total=0,e.offset=0,e.append_albums(t.shift())}},g3={name:"PageArtistSpotify",components:{ContentWithHeading:Qe,ListAlbumsSpotify:Ii,ModalDialogArtistSpotify:tz,VueEternalLoading:cm},beforeRouteEnter(e,t,n){Yp.load(e).then(r=>{n(o=>Yp.set(o,r))})},setup(){return{servicesStore:Pt()}},data(){return{albums:[],artist:{},offset:0,show_details_modal:!1,total:0}},methods:{append_albums(e){this.albums=this.albums.concat(e.items),this.total=e.total,this.offset+=e.limit},load_next({loaded:e}){const t=new ir;t.setAccessToken(this.servicesStore.spotify.webapi_token),t.getArtistAlbums(this.artist.id,{include_groups:"album,single",limit:Zu,offset:this.offset}).then(n=>{this.append_albums(n),e(n.items.length,Zu)})},play(){this.show_album_details_modal=!1,B.player_play_uri(this.artist.uri,!0)}}},y3=["textContent"],z3={class:"buttons is-centered"},v3=["textContent"],b3=["textContent"],C3={class:"columns is-centered"},w3={class:"column has-text-centered"},k3=c("br",null,null,-1),S3=c("br",null,null,-1);function x3(e,t,n,r,o,s){const i=O("mdicon"),a=O("list-albums-spotify"),l=O("VueEternalLoading"),u=O("modal-dialog-artist-spotify"),m=O("content-with-heading");return x(),I("div",null,[b(m,null,{"heading-left":N(()=>[c("p",{class:"title is-4",textContent:y(o.artist.name)},null,8,y3)]),"heading-right":N(()=>[c("div",z3,[c("a",{class:"button is-small is-light is-rounded",onClick:t[0]||(t[0]=d=>o.show_details_modal=!0)},[b(i,{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))},[b(i,{class:"icon",name:"shuffle",size:"16"}),c("span",{textContent:y(e.$t("page.spotify.artist.shuffle"))},null,8,v3)])])]),content:N(()=>[c("p",{class:"heading has-text-centered-mobile",textContent:y(e.$t("page.spotify.artist.album-count",{count:o.total}))},null,8,b3),b(a,{items:o.albums},null,8,["items"]),o.offset<o.total?(x(),we(l,{key:0,load:s.load_next},{loading:N(()=>[c("div",C3,[c("div",w3,[b(i,{class:"icon mdi-spin",name:"loading"})])])]),"no-more":N(()=>[k3]),"no-results":N(()=>[S3]),_:1},8,["load"])):ee("",!0),b(u,{item:o.artist,show:o.show_details_modal,onClose:t[2]||(t[2]=d=>o.show_details_modal=!1)},null,8,["item","show"])]),_:1})])}const E3=ae(g3,[["render",x3]]),Xp={load(e){return Promise.all([B.library_artist(e.params.id),B.library_artist_tracks(e.params.id)])},set(e,t){e.artist=t[0].data,e.tracks_list=new Ee(t[1].data.tracks)}},$3={name:"PageArtistTracks",components:{ContentWithHeading:Qe,ControlDropdown:Bo,IndexButtonList:ar,ListTracks:gn,ModalDialogArtist:sc},beforeRouteEnter(e,t,n){Xp.load(e).then(r=>{n(o=>Xp.set(o,r))})},setup(){return{servicesStore:Pt(),uiStore:yn()}},data(){return{artist:{},groupings:[{id:1,name:this.$t("page.artist.sort.name"),options:{index:{field:"title_sort",type:String}}},{id:2,name:this.$t("page.artist.sort.rating"),options:{criteria:[{field:"rating",order:-1,type:Number}],index:{field:"rating",type:"Digits"}}}],show_details_modal:!1,tracks_list:new Ee}},computed:{album_count(){return new Set([...this.tracks].filter(e=>e.isItem).map(e=>e.item.album_id)).size},hide_spotify:{get(){return this.uiStore.hide_spotify},set(e){this.uiStore.hide_spotify=e}},selected_grouping_id:{get(){return this.uiStore.artist_tracks_sort},set(e){this.uiStore.artist_tracks_sort=e}},spotify_enabled(){return this.servicesStore.spotify.webapi_token_valid},track_uris(){return this.tracks_list.items.map(e=>e.uri).join()},tracks(){const{options:e}=this.groupings.find(t=>t.id===this.selected_grouping_id);return e.filters=[t=>!this.hide_spotify||t.data_kind!=="spotify"],this.tracks_list.group(e)}},methods:{open_artist(){this.show_details_modal=!1,this.$router.push({name:"music-artist",params:{id:this.artist.id}})},play(){B.player_play_uri(this.tracks_list.items.map(e=>e.uri).join(),!0)}}},T3={class:"columns"},A3={class:"column"},O3=["textContent"],P3={key:0,class:"field"},I3={class:"control"},L3=["textContent"],N3=["textContent"],D3={class:"column"},R3=["textContent"],M3=["textContent"],F3={class:"buttons is-centered"},V3=["textContent"],H3={class:"heading has-text-centered-mobile"},U3=["textContent"],j3=c("span",null," | ",-1),B3=["textContent"];function W3(e,t,n,r,o,s){const i=O("index-button-list"),a=O("control-dropdown"),l=O("mdicon"),u=O("list-tracks"),m=O("modal-dialog-artist"),d=O("content-with-heading");return x(),I("div",null,[b(d,null,{options:N(()=>[b(i,{indices:s.tracks.indices},null,8,["indices"]),c("div",T3,[c("div",A3,[c("p",{class:"heading mb-5",textContent:y(e.$t("page.artist.filter"))},null,8,O3),s.spotify_enabled?(x(),I("div",P3,[c("div",I3,[ht(c("input",{id:"switchHideSpotify","onUpdate:modelValue":t[0]||(t[0]=f=>s.hide_spotify=f),type:"checkbox",class:"switch is-rounded"},null,512),[[Mn,s.hide_spotify]]),c("label",{for:"switchHideSpotify",textContent:y(e.$t("page.artist.hide-spotify"))},null,8,L3)]),c("p",{class:"help",textContent:y(e.$t("page.artist.hide-spotify-help"))},null,8,N3)])):ee("",!0)]),c("div",D3,[c("p",{class:"heading mb-5",textContent:y(e.$t("page.artist.sort.title"))},null,8,R3),b(a,{value:s.selected_grouping_id,"onUpdate:value":t[1]||(t[1]=f=>s.selected_grouping_id=f),options:o.groupings},null,8,["value","options"])])])]),"heading-left":N(()=>[c("p",{class:"title is-4",textContent:y(o.artist.name)},null,8,M3)]),"heading-right":N(()=>[c("div",F3,[c("a",{class:"button is-small is-light is-rounded",onClick:t[2]||(t[2]=f=>o.show_details_modal=!0)},[b(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))},[b(l,{class:"icon",name:"shuffle",size:"16"}),c("span",{textContent:y(e.$t("page.artist.shuffle"))},null,8,V3)])])]),content:N(()=>[c("p",H3,[c("a",{class:"has-text-link",onClick:t[4]||(t[4]=(...f)=>s.open_artist&&s.open_artist(...f)),textContent:y(e.$t("page.artist.album-count",{count:s.album_count}))},null,8,U3),j3,c("span",{textContent:y(e.$t("page.artist.track-count",{count:s.tracks.count}))},null,8,B3)]),b(u,{items:s.tracks,uris:s.track_uris},null,8,["items","uris"]),b(m,{item:o.artist,show:o.show_details_modal,onClose:t[5]||(t[5]=f=>o.show_details_modal=!1)},null,8,["item","show"])]),_:1})])}const q3=ae($3,[["render",W3]]),G3={name:"ListArtists",components:{ModalDialogArtist:sc},props:{items:{required:!0,type:Object}},data(){return{selected_item:{},show_details_modal:!1}},methods:{open(e){this.selected_item=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_item=e,this.show_details_modal=!0}}},K3={key:0,class:"mt-6 mb-5 py-2"},Z3={class:"media-content is-clipped"},Y3=["id","textContent"],X3=["onClick"],J3={class:"media-content is-clickable is-clipped"},Q3=["textContent"],eD={class:"media-right"},tD=["onClick"];function nD(e,t,n,r,o,s){const i=O("mdicon"),a=O("modal-dialog-artist");return x(),I(ve,null,[(x(!0),I(ve,null,_t(n.items,l=>(x(),I(ve,{key:l.itemId},[l.isItem?(x(),I("div",{key:1,class:"media is-align-items-center",onClick:u=>s.open(l.item)},[c("div",J3,[c("h1",{class:"title is-6",textContent:y(l.item.name)},null,8,Q3)]),c("div",eD,[c("a",{onClick:gt(u=>s.open_dialog(l.item),["prevent","stop"])},[b(i,{class:"icon has-text-dark",name:"dots-vertical",size:"16"})],8,tD)])],8,X3)):(x(),I("div",K3,[c("div",Z3,[c("span",{id:`index_${l.index}`,class:"tag is-info is-light is-small has-text-weight-bold",textContent:y(l.index)},null,8,Y3)])]))],64))),128)),(x(),we(Hn,{to:"#app"},[b(a,{item:o.selected_item,show:o.show_details_modal,onClose:t[0]||(t[0]=l=>o.show_details_modal=!1)},null,8,["item","show"])]))],64)}const ml=ae(G3,[["render",nD]]),Jp={load(e){return B.library_artists("music")},set(e,t){e.artists_list=new Ee(t.data)}},rD={name:"PageArtists",components:{ContentWithHeading:Qe,ControlDropdown:Bo,IndexButtonList:ar,ListArtists:ml,TabsMusic:yr},beforeRouteEnter(e,t,n){Jp.load(e).then(r=>{n(o=>Jp.set(o,r))})},setup(){return{servicesStore:Pt(),uiStore:yn()}},data(){return{artists_list:new Ee,groupings:[{id:1,name:this.$t("page.artists.sort.name"),options:{index:{field:"name_sort",type:String}}},{id:2,name:this.$t("page.artists.sort.recently-added"),options:{criteria:[{field:"time_added",order:-1,type:Date}],index:{field:"time_added",type:Date}}}]}},computed:{artists(){const{options:e}=this.groupings.find(t=>t.id===this.selected_grouping_id);return e.filters=[t=>!this.hide_singles||t.track_count>t.album_count*2,t=>!this.hide_spotify||t.data_kind!=="spotify"],this.artists_list.group(e)},hide_singles:{get(){return this.uiStore.hide_singles},set(e){this.uiStore.hide_singles=e}},hide_spotify:{get(){return this.uiStore.hide_spotify},set(e){this.uiStore.hide_spotify=e}},selected_grouping_id:{get(){return this.uiStore.artists_sort},set(e){this.uiStore.artists_sort=e}},spotify_enabled(){return this.servicesStore.spotify.webapi_token_valid}}},oD={class:"fd-page-with-tabs"},sD={class:"columns"},iD={class:"column"},aD=["textContent"],lD={class:"field"},cD={class:"control"},uD=["textContent"],dD=["textContent"],mD={key:0,class:"field"},fD={class:"control"},pD=["textContent"],hD=["textContent"],_D={class:"column"},gD=["textContent"],yD=["textContent"],zD=["textContent"];function vD(e,t,n,r,o,s){const i=O("tabs-music"),a=O("index-button-list"),l=O("control-dropdown"),u=O("list-artists"),m=O("content-with-heading");return x(),I("div",oD,[b(i),b(m,null,{options:N(()=>[b(a,{indices:s.artists.indices},null,8,["indices"]),c("div",sD,[c("div",iD,[c("p",{class:"heading mb-5",textContent:y(e.$t("page.artists.filter"))},null,8,aD),c("div",lD,[c("div",cD,[ht(c("input",{id:"switchHideSingles","onUpdate:modelValue":t[0]||(t[0]=d=>s.hide_singles=d),type:"checkbox",class:"switch is-rounded"},null,512),[[Mn,s.hide_singles]]),c("label",{for:"switchHideSingles",textContent:y(e.$t("page.artists.hide-singles"))},null,8,uD)]),c("p",{class:"help",textContent:y(e.$t("page.artists.hide-singles-help"))},null,8,dD)]),s.spotify_enabled?(x(),I("div",mD,[c("div",fD,[ht(c("input",{id:"switchHideSpotify","onUpdate:modelValue":t[1]||(t[1]=d=>s.hide_spotify=d),type:"checkbox",class:"switch is-rounded"},null,512),[[Mn,s.hide_spotify]]),c("label",{for:"switchHideSpotify",textContent:y(e.$t("page.artists.hide-spotify"))},null,8,pD)]),c("p",{class:"help",textContent:y(e.$t("page.artists.hide-spotify-help"))},null,8,hD)])):ee("",!0)]),c("div",_D,[c("p",{class:"heading mb-5",textContent:y(e.$t("page.artists.sort.title"))},null,8,gD),b(l,{value:s.selected_grouping_id,"onUpdate:value":t[2]||(t[2]=d=>s.selected_grouping_id=d),options:o.groupings},null,8,["value","options"])])])]),"heading-left":N(()=>[c("p",{class:"title is-4",textContent:y(e.$t("page.artists.title"))},null,8,yD),c("p",{class:"heading",textContent:y(e.$t("page.artists.count",{count:s.artists.count}))},null,8,zD)]),"heading-right":N(()=>[]),content:N(()=>[b(u,{items:s.artists},null,8,["items"])]),_:1})])}const bD=ae(rD,[["render",vD]]),Qp={load(e){return Promise.all([B.library_album(e.params.id),B.library_album_tracks(e.params.id)])},set(e,t){e.album=t[0].data,e.tracks=new Ee(t[1].data)}},CD={name:"PageAudiobooksAlbum",components:{ContentWithHero:rc,CoverArtwork:Lr,ListTracks:gn,ModalDialogAlbum:oc},beforeRouteEnter(e,t,n){Qp.load(e).then(r=>{n(o=>Qp.set(o,r))})},data(){return{album:{},show_details_modal:!1,tracks:new Ee}},methods:{open_artist(){this.show_details_modal=!1,this.$router.push({name:"audiobooks-artist",params:{id:this.album.artist_id}})},play(){B.player_play_uri(this.album.uri,!1)}}},wD=["textContent"],kD={class:"subtitle is-6 has-text-link"},SD=["textContent"],xD={class:"buttons fd-is-centered-mobile mt-5"},ED=["textContent"],$D=["textContent"];function TD(e,t,n,r,o,s){const i=O("mdicon"),a=O("cover-artwork"),l=O("list-tracks"),u=O("modal-dialog-album"),m=O("content-with-hero");return x(),I("div",null,[b(m,null,{"heading-left":N(()=>[c("h1",{class:"title is-5",textContent:y(o.album.name)},null,8,wD),c("h2",kD,[c("a",{class:"has-text-link",onClick:t[0]||(t[0]=(...d)=>s.open_artist&&s.open_artist(...d)),textContent:y(o.album.artist)},null,8,SD)]),c("div",xD,[c("a",{class:"button is-small is-dark is-rounded",onClick:t[1]||(t[1]=(...d)=>s.play&&s.play(...d))},[b(i,{class:"icon",name:"play",size:"16"}),c("span",{textContent:y(e.$t("page.audiobooks.album.play"))},null,8,ED)]),c("a",{class:"button is-small is-light is-rounded",onClick:t[2]||(t[2]=d=>o.show_details_modal=!0)},[b(i,{class:"icon",name:"dots-horizontal",size:"16"})])])]),"heading-right":N(()=>[b(a,{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,["url","artist","album"])]),content:N(()=>[c("p",{class:"heading has-text-centered-mobile mt-5",textContent:y(e.$t("page.audiobooks.album.track-count",{count:o.album.track_count}))},null,8,$D),b(l,{items:o.tracks,show_progress:!0,uris:o.album.uri},null,8,["items","uris"]),b(u,{item:o.album,show:o.show_details_modal,media_kind:"audiobook",onClose:t[4]||(t[4]=d=>o.show_details_modal=!1)},null,8,["item","show"])]),_:1})])}const AD=ae(CD,[["render",TD]]),OD={name:"TabsAudiobooks"},PD={class:"section fd-tabs-section"},ID={class:"container"},LD={class:"columns is-centered"},ND={class:"column is-four-fifths"},DD={class:"tabs is-centered is-small"},RD=["onClick","onKeypress"],MD=["textContent"],FD=["onClick","onKeypress"],VD=["textContent"],HD=["onClick","onKeypress"],UD=["textContent"];function jD(e,t,n,r,o,s){const i=O("mdicon"),a=O("router-link");return x(),I("section",PD,[c("div",ID,[c("div",LD,[c("div",ND,[c("div",DD,[c("ul",null,[b(a,{to:{name:"audiobooks-artists"},custom:""},{default:N(({navigate:l,isActive:u})=>[c("li",{class:ke({"is-active":u})},[c("a",{onClick:l,onKeypress:dn(l,["enter"])},[b(i,{class:"icon is-small",name:"account-music",size:"16"}),c("span",{class:"is-hidden-mobile",textContent:y(e.$t("page.audiobooks.tabs.authors"))},null,8,MD)],40,RD)],2)]),_:1}),b(a,{to:{name:"audiobooks-albums"},custom:""},{default:N(({navigate:l,isActive:u})=>[c("li",{class:ke({"is-active":u})},[c("a",{onClick:l,onKeypress:dn(l,["enter"])},[b(i,{class:"icon is-small",name:"album",size:"16"}),c("span",{class:"is-hidden-mobile",textContent:y(e.$t("page.audiobooks.tabs.audiobooks"))},null,8,VD)],40,FD)],2)]),_:1}),b(a,{to:{name:"audiobooks-genres"},custom:""},{default:N(({navigate:l,isActive:u})=>[c("li",{class:ke({"is-active":u})},[c("a",{onClick:l,onKeypress:dn(l,["enter"])},[b(i,{class:"icon is-small",name:"speaker",size:"16"}),c("span",{class:"is-hidden-mobile",textContent:y(e.$t("page.audiobooks.tabs.genres"))},null,8,UD)],40,HD)],2)]),_:1})])])])])])])}const um=ae(OD,[["render",jD]]),eh={load(e){return B.library_albums("audiobook")},set(e,t){e.albums=new Ee(t.data,{index:{field:"name_sort",type:String}})}},BD={name:"PageAudiobooksAlbums",components:{ContentWithHeading:Qe,IndexButtonList:ar,ListAlbums:wn,TabsAudiobooks:um},beforeRouteEnter(e,t,n){eh.load(e).then(r=>{n(o=>eh.set(o,r))})},data(){return{albums:new Ee}}},WD={class:"fd-page-with-tabs"},qD=["textContent"],GD=["textContent"];function KD(e,t,n,r,o,s){const i=O("tabs-audiobooks"),a=O("index-button-list"),l=O("list-albums"),u=O("content-with-heading");return x(),I("div",WD,[b(i),b(u,null,{options:N(()=>[b(a,{indices:o.albums.indices},null,8,["indices"])]),"heading-left":N(()=>[c("p",{class:"title is-4",textContent:y(e.$t("page.audiobooks.albums.title"))},null,8,qD),c("p",{class:"heading",textContent:y(e.$t("page.audiobooks.albums.count",{count:o.albums.count}))},null,8,GD)]),content:N(()=>[b(l,{items:o.albums},null,8,["items"])]),_:1})])}const ZD=ae(BD,[["render",KD]]),th={load(e){return Promise.all([B.library_artist(e.params.id),B.library_artist_albums(e.params.id)])},set(e,t){e.artist=t[0].data,e.albums=new Ee(t[1].data)}},YD={name:"PageAudiobooksArtist",components:{ContentWithHeading:Qe,ListAlbums:wn,ModalDialogArtist:sc},beforeRouteEnter(e,t,n){th.load(e).then(r=>{n(o=>th.set(o,r))})},data(){return{albums:new Ee,artist:{},show_details_modal:!1}},methods:{play(){B.player_play_uri(this.albums.items.map(e=>e.uri).join(),!1)}}},XD=["textContent"],JD={class:"buttons is-centered"},QD=["textContent"],eR=["textContent"];function tR(e,t,n,r,o,s){const i=O("mdicon"),a=O("list-albums"),l=O("modal-dialog-artist"),u=O("content-with-heading");return x(),I("div",null,[b(u,null,{"heading-left":N(()=>[c("p",{class:"title is-4",textContent:y(o.artist.name)},null,8,XD)]),"heading-right":N(()=>[c("div",JD,[c("a",{class:"button is-small is-light is-rounded",onClick:t[0]||(t[0]=m=>o.show_details_modal=!0)},[b(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))},[b(i,{class:"icon",name:"play",size:"16"}),c("span",{textContent:y(e.$t("page.audiobooks.artist.play"))},null,8,QD)])])]),content:N(()=>[c("p",{class:"heading has-text-centered-mobile",textContent:y(e.$t("page.audiobooks.artist.album-count",{count:o.artist.album_count}))},null,8,eR),b(a,{items:o.albums},null,8,["items"]),b(l,{item:o.artist,show:o.show_details_modal,onClose:t[2]||(t[2]=m=>o.show_details_modal=!1)},null,8,["item","show"])]),_:1})])}const nR=ae(YD,[["render",tR]]),nh={load(e){return B.library_artists("audiobook")},set(e,t){e.artists=new Ee(t.data,{index:{field:"name_sort",type:String}})}},rR={name:"PageAudiobooksArtists",components:{ContentWithHeading:Qe,IndexButtonList:ar,ListArtists:ml,TabsAudiobooks:um},beforeRouteEnter(e,t,n){nh.load(e).then(r=>{n(o=>nh.set(o,r))})},data(){return{artists:new Ee}}},oR={class:"fd-page-with-tabs"},sR=["textContent"],iR=["textContent"];function aR(e,t,n,r,o,s){const i=O("tabs-audiobooks"),a=O("index-button-list"),l=O("list-artists"),u=O("content-with-heading");return x(),I("div",oR,[b(i),b(u,null,{options:N(()=>[b(a,{indices:o.artists.indices},null,8,["indices"])]),"heading-left":N(()=>[c("p",{class:"title is-4",textContent:y(e.$t("page.audiobooks.artists.title"))},null,8,sR),c("p",{class:"heading",textContent:y(e.$t("page.audiobooks.artists.count",{count:o.artists.count}))},null,8,iR)]),"heading-right":N(()=>[]),content:N(()=>[b(l,{items:o.artists},null,8,["items"])]),_:1})])}const lR=ae(rR,[["render",aR]]),cR={name:"ModalDialogGenre",props:{item:{required:!0,type:Object},media_kind:{required:!0,type:String},show:Boolean},emits:["close"],computed:{expression(){return`genre is "${this.item.name}" and media_kind is ${this.media_kind}`}},methods:{open(){this.$emit("close"),this.$router.push({name:"genre-albums",params:{name:this.item.name},query:{media_kind:this.media_kind}})},play(){this.$emit("close"),B.player_play_expression(this.expression,!1)},queue_add(){this.$emit("close"),B.queue_expression_add(this.expression)},queue_add_next(){this.$emit("close"),B.queue_expression_add_next(this.expression)}}},uR={key:0,class:"modal is-active"},dR={class:"modal-content"},mR={class:"card"},fR={class:"card-content"},pR={class:"title is-4"},hR=["textContent"],_R={class:"content is-small"},gR=["textContent"],yR=["textContent"],zR=["textContent"],vR=["textContent"],bR=["textContent"],CR=["textContent"],wR={class:"card-footer"},kR=["textContent"],SR=["textContent"],xR=["textContent"];function ER(e,t,n,r,o,s){const i=O("mdicon");return x(),we(Rt,{name:"fade"},{default:N(()=>[n.show?(x(),I("div",uR,[c("div",{class:"modal-background",onClick:t[0]||(t[0]=a=>e.$emit("close"))}),c("div",dR,[c("div",mR,[c("div",fR,[c("p",pR,[c("a",{class:"has-text-link",onClick:t[1]||(t[1]=(...a)=>s.open&&s.open(...a)),textContent:y(n.item.name)},null,8,hR)]),c("div",_R,[c("p",null,[c("span",{class:"heading",textContent:y(e.$t("dialog.genre.albums"))},null,8,gR),c("span",{class:"title is-6",textContent:y(n.item.album_count)},null,8,yR)]),c("p",null,[c("span",{class:"heading",textContent:y(e.$t("dialog.genre.tracks"))},null,8,zR),c("span",{class:"title is-6",textContent:y(n.item.track_count)},null,8,vR)]),c("p",null,[c("span",{class:"heading",textContent:y(e.$t("dialog.genre.duration"))},null,8,bR),c("span",{class:"title is-6",textContent:y(e.$filters.durationInHours(n.item.length_ms))},null,8,CR)])])]),c("footer",wR,[c("a",{class:"card-footer-item has-text-dark",onClick:t[2]||(t[2]=(...a)=>s.queue_add&&s.queue_add(...a))},[b(i,{class:"icon",name:"playlist-plus",size:"16"}),c("span",{class:"is-size-7",textContent:y(e.$t("dialog.genre.add"))},null,8,kR)]),c("a",{class:"card-footer-item has-text-dark",onClick:t[3]||(t[3]=(...a)=>s.queue_add_next&&s.queue_add_next(...a))},[b(i,{class:"icon",name:"playlist-play",size:"16"}),c("span",{class:"is-size-7",textContent:y(e.$t("dialog.genre.add-next"))},null,8,SR)]),c("a",{class:"card-footer-item has-text-dark",onClick:t[4]||(t[4]=(...a)=>s.play&&s.play(...a))},[b(i,{class:"icon",name:"play",size:"16"}),c("span",{class:"is-size-7",textContent:y(e.$t("dialog.genre.play"))},null,8,xR)])])])]),c("button",{class:"modal-close is-large","aria-label":"close",onClick:t[5]||(t[5]=a=>e.$emit("close"))})])):ee("",!0)]),_:1})}const dm=ae(cR,[["render",ER]]),$R={name:"ListGenres",components:{ModalDialogGenre:dm},props:{items:{required:!0,type:Object},media_kind:{required:!0,type:String}},data(){return{selected_item:{},show_details_modal:!1}},methods:{open(e){this.$router.push({name:"genre-albums",params:{name:e.name},query:{media_kind:this.media_kind}})},open_dialog(e){this.selected_item=e,this.show_details_modal=!0}}},TR={key:0,class:"mt-6 mb-5 py-2"},AR={class:"media-content is-clipped"},OR=["id","textContent"],PR=["onClick"],IR={class:"media-content is-clickable is-clipped"},LR=["textContent"],NR={class:"media-right"},DR=["onClick"];function RR(e,t,n,r,o,s){const i=O("mdicon"),a=O("modal-dialog-genre");return x(),I(ve,null,[(x(!0),I(ve,null,_t(n.items,l=>(x(),I(ve,{key:l.itemId},[l.isItem?(x(),I("div",{key:1,class:"media is-align-items-center",onClick:u=>s.open(l.item)},[c("div",IR,[c("h1",{class:"title is-6",textContent:y(l.item.name)},null,8,LR)]),c("div",NR,[c("a",{onClick:gt(u=>s.open_dialog(l.item),["prevent","stop"])},[b(i,{class:"icon has-text-dark",name:"dots-vertical",size:"16"})],8,DR)])],8,PR)):(x(),I("div",TR,[c("div",AR,[c("span",{id:`index_${l.index}`,class:"tag is-info is-light is-small has-text-weight-bold",textContent:y(l.index)},null,8,OR)])]))],64))),128)),(x(),we(Hn,{to:"#app"},[b(a,{item:o.selected_item,media_kind:n.media_kind,show:o.show_details_modal,onClose:t[0]||(t[0]=l=>o.show_details_modal=!1)},null,8,["item","media_kind","show"])]))],64)}const nz=ae($R,[["render",RR]]),rh={load(e){return B.library_genres("audiobook")},set(e,t){e.genres=new Ee(t.data.genres,{index:{field:"name_sort",type:String}})}},MR={name:"PageAudiobooksGenres",components:{ContentWithHeading:Qe,IndexButtonList:ar,ListGenres:nz,TabsAudiobooks:um},beforeRouteEnter(e,t,n){rh.load(e).then(r=>{n(o=>rh.set(o,r))})},data(){return{genres:new Ee}}},FR={class:"fd-page-with-tabs"},VR=["textContent"],HR=["textContent"];function UR(e,t,n,r,o,s){const i=O("tabs-audiobooks"),a=O("index-button-list"),l=O("list-genres"),u=O("content-with-heading");return x(),I("div",FR,[b(i),b(u,null,{options:N(()=>[b(a,{indices:o.genres.indices},null,8,["indices"])]),"heading-left":N(()=>[c("p",{class:"title is-4",textContent:y(e.$t("page.genres.title"))},null,8,VR),c("p",{class:"heading",textContent:y(e.$t("page.genres.count",{count:o.genres.total}))},null,8,HR)]),content:N(()=>[b(l,{items:o.genres,media_kind:"audiobook"},null,8,["items"])]),_:1})])}const jR=ae(MR,[["render",UR]]),BR={name:"ModalDialogComposer",props:{item:{required:!0,type:Object},show:Boolean},emits:["close"],methods:{open_albums(){this.$emit("close"),this.$router.push({name:"music-composer-albums",params:{name:this.item.name}})},open_tracks(){this.$router.push({name:"music-composer-tracks",params:{name:this.item.name}})},play(){this.$emit("close"),B.player_play_expression(`composer is "${this.item.name}" and media_kind is music`,!1)},queue_add(){this.$emit("close"),B.queue_expression_add(`composer is "${this.item.name}" and media_kind is music`)},queue_add_next(){this.$emit("close"),B.queue_expression_add_next(`composer is "${this.item.name}" and media_kind is music`)}}},WR={key:0,class:"modal is-active"},qR={class:"modal-content"},GR={class:"card"},KR={class:"card-content"},ZR={class:"title is-4"},YR=["textContent"],XR=["textContent"],JR=["textContent"],QR=["textContent"],eM=["textContent"],tM=["textContent"],nM=["textContent"],rM={class:"card-footer"},oM=["textContent"],sM=["textContent"],iM=["textContent"];function aM(e,t,n,r,o,s){const i=O("mdicon");return x(),we(Rt,{name:"fade"},{default:N(()=>[n.show?(x(),I("div",WR,[c("div",{class:"modal-background",onClick:t[0]||(t[0]=a=>e.$emit("close"))}),c("div",qR,[c("div",GR,[c("div",KR,[c("p",ZR,[c("a",{class:"has-text-link",onClick:t[1]||(t[1]=(...a)=>s.open_albums&&s.open_albums(...a)),textContent:y(n.item.name)},null,8,YR)]),c("p",null,[c("span",{class:"heading",textContent:y(e.$t("dialog.composer.albums"))},null,8,XR),c("a",{class:"has-text-link is-6",onClick:t[2]||(t[2]=(...a)=>s.open_albums&&s.open_albums(...a)),textContent:y(n.item.album_count)},null,8,JR)]),c("p",null,[c("span",{class:"heading",textContent:y(e.$t("dialog.composer.tracks"))},null,8,QR),c("a",{class:"has-text-link is-6",onClick:t[3]||(t[3]=(...a)=>s.open_tracks&&s.open_tracks(...a)),textContent:y(n.item.track_count)},null,8,eM)]),c("p",null,[c("span",{class:"heading",textContent:y(e.$t("dialog.composer.duration"))},null,8,tM),c("span",{class:"title is-6",textContent:y(e.$filters.durationInHours(n.item.length_ms))},null,8,nM)])]),c("footer",rM,[c("a",{class:"card-footer-item has-text-dark",onClick:t[4]||(t[4]=(...a)=>s.queue_add&&s.queue_add(...a))},[b(i,{class:"icon",name:"playlist-plus",size:"16"}),c("span",{class:"is-size-7",textContent:y(e.$t("dialog.composer.add"))},null,8,oM)]),c("a",{class:"card-footer-item has-text-dark",onClick:t[5]||(t[5]=(...a)=>s.queue_add_next&&s.queue_add_next(...a))},[b(i,{class:"icon",name:"playlist-play",size:"16"}),c("span",{class:"is-size-7",textContent:y(e.$t("dialog.composer.add-next"))},null,8,sM)]),c("a",{class:"card-footer-item has-text-dark",onClick:t[6]||(t[6]=(...a)=>s.play&&s.play(...a))},[b(i,{class:"icon",name:"play",size:"16"}),c("span",{class:"is-size-7",textContent:y(e.$t("dialog.composer.play"))},null,8,iM)])])])]),c("button",{class:"modal-close is-large","aria-label":"close",onClick:t[7]||(t[7]=a=>e.$emit("close"))})])):ee("",!0)]),_:1})}const mm=ae(BR,[["render",aM]]),oh={load(e){return Promise.all([B.library_composer(e.params.name),B.library_composer_albums(e.params.name)])},set(e,t){e.composer=t[0].data,e.albums=new Ee(t[1].data.albums)}},lM={name:"PageComposerAlbums",components:{ContentWithHeading:Qe,ListAlbums:wn,ModalDialogComposer:mm},beforeRouteEnter(e,t,n){oh.load(e).then(r=>{n(o=>oh.set(o,r))})},data(){return{albums:new Ee,composer:{},show_details_modal:!1}},methods:{open_tracks(){this.$router.push({name:"music-composer-tracks",params:{name:this.composer.name}})},play(){B.player_play_expression(`composer is "${this.composer.name}" and media_kind is music`,!0)}}},cM=["textContent"],uM={class:"buttons is-centered"},dM=["textContent"],mM={class:"heading has-text-centered-mobile"},fM=["textContent"],pM=c("span",null," | ",-1),hM=["textContent"];function _M(e,t,n,r,o,s){const i=O("mdicon"),a=O("list-albums"),l=O("modal-dialog-composer"),u=O("content-with-heading");return x(),I("div",null,[b(u,null,{"heading-left":N(()=>[c("p",{class:"title is-4",textContent:y(o.composer.name)},null,8,cM)]),"heading-right":N(()=>[c("div",uM,[c("a",{class:"button is-small is-light is-rounded",onClick:t[0]||(t[0]=m=>o.show_details_modal=!0)},[b(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))},[b(i,{class:"icon",name:"shuffle",size:"16"}),c("span",{textContent:y(e.$t("page.composer.shuffle"))},null,8,dM)])])]),content:N(()=>[c("p",mM,[c("span",{textContent:y(e.$t("page.composer.album-count",{count:o.composer.album_count}))},null,8,fM),pM,c("a",{class:"has-text-link",onClick:t[2]||(t[2]=(...m)=>s.open_tracks&&s.open_tracks(...m)),textContent:y(e.$t("page.composer.track-count",{count:o.composer.track_count}))},null,8,hM)]),b(a,{items:o.albums},null,8,["items"]),b(l,{item:o.composer,show:o.show_details_modal,onClose:t[3]||(t[3]=m=>o.show_details_modal=!1)},null,8,["item","show"])]),_:1})])}const gM=ae(lM,[["render",_M]]),sh={load(e){return Promise.all([B.library_composer(e.params.name),B.library_composer_tracks(e.params.name)])},set(e,t){e.composer=t[0].data,e.tracks_list=new Ee(t[1].data.tracks)}},yM={name:"PageComposerTracks",components:{ContentWithHeading:Qe,ControlDropdown:Bo,IndexButtonList:ar,ListTracks:gn,ModalDialogComposer:mm},beforeRouteEnter(e,t,n){sh.load(e).then(r=>{n(o=>sh.set(o,r))})},setup(){return{uiStore:yn()}},data(){return{composer:{},groupings:[{id:1,name:this.$t("page.composer.sort.name"),options:{index:{field:"title_sort",type:String}}},{id:2,name:this.$t("page.composer.sort.rating"),options:{criteria:[{field:"rating",order:-1,type:Number}],index:{field:"rating",type:"Digits"}}}],show_details_modal:!1,tracks_list:new Ee}},computed:{expression(){return`composer is "${this.composer.name}" and media_kind is music`},selected_grouping_id:{get(){return this.uiStore.composer_tracks_sort},set(e){this.uiStore.composer_tracks_sort=e}},tracks(){const{options:e}=this.groupings.find(t=>t.id===this.selected_grouping_id);return this.tracks_list.group(e)}},methods:{open_albums(){this.show_details_modal=!1,this.$router.push({name:"music-composer-albums",params:{name:this.composer.name}})},play(){B.player_play_expression(this.expression,!0)}}},zM={class:"columns"},vM={class:"column"},bM=["textContent"],CM=["textContent"],wM={class:"buttons is-centered"},kM=["textContent"],SM={class:"heading has-text-centered-mobile"},xM=["textContent"],EM=c("span",null," | ",-1),$M=["textContent"];function TM(e,t,n,r,o,s){const i=O("index-button-list"),a=O("control-dropdown"),l=O("mdicon"),u=O("list-tracks"),m=O("modal-dialog-composer"),d=O("content-with-heading");return x(),I("div",null,[b(d,null,{options:N(()=>[b(i,{indices:s.tracks.indices},null,8,["indices"]),c("div",zM,[c("div",vM,[c("p",{class:"heading mb-5",textContent:y(e.$t("page.artist.sort.title"))},null,8,bM),b(a,{value:s.selected_grouping_id,"onUpdate:value":t[0]||(t[0]=f=>s.selected_grouping_id=f),options:o.groupings},null,8,["value","options"])])])]),"heading-left":N(()=>[c("p",{class:"title is-4",textContent:y(o.composer.name)},null,8,CM)]),"heading-right":N(()=>[c("div",wM,[c("a",{class:"button is-small is-light is-rounded",onClick:t[1]||(t[1]=f=>o.show_details_modal=!0)},[b(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))},[b(l,{class:"icon",name:"shuffle",size:"16"}),c("span",{textContent:y(e.$t("page.composer.shuffle"))},null,8,kM)])])]),content:N(()=>[c("p",SM,[c("a",{class:"has-text-link",onClick:t[3]||(t[3]=(...f)=>s.open_albums&&s.open_albums(...f)),textContent:y(e.$t("page.composer.album-count",{count:o.composer.album_count}))},null,8,xM),EM,c("span",{textContent:y(e.$t("page.composer.track-count",{count:o.composer.track_count}))},null,8,$M)]),b(u,{items:s.tracks,expression:s.expression},null,8,["items","expression"]),b(m,{item:o.composer,show:o.show_details_modal,onClose:t[4]||(t[4]=f=>o.show_details_modal=!1)},null,8,["item","show"])]),_:1})])}const AM=ae(yM,[["render",TM]]),OM={name:"ListComposers",components:{ModalDialogComposer:mm},props:{items:{required:!0,type:Object}},data(){return{selected_item:{},show_details_modal:!1}},methods:{open(e){this.selected_item=e,this.$router.push({name:"music-composer-albums",params:{name:e.name}})},open_dialog(e){this.selected_item=e,this.show_details_modal=!0}}},PM={key:0,class:"mt-6 mb-5 py-2"},IM={class:"media-content is-clipped"},LM=["id","textContent"],NM=["onClick"],DM={class:"media-content is-clickable is-clipped"},RM=["textContent"],MM={class:"media-right"},FM=["onClick"];function VM(e,t,n,r,o,s){const i=O("mdicon"),a=O("modal-dialog-composer");return x(),I(ve,null,[(x(!0),I(ve,null,_t(n.items,l=>(x(),I(ve,{key:l.itemId},[l.isItem?(x(),I("div",{key:1,class:"media is-align-items-center",onClick:u=>s.open(l.item)},[c("div",DM,[c("h1",{class:"title is-6",textContent:y(l.item.name)},null,8,RM)]),c("div",MM,[c("a",{onClick:gt(u=>s.open_dialog(l.item),["prevent","stop"])},[b(i,{class:"icon has-text-dark",name:"dots-vertical",size:"16"})],8,FM)])],8,NM)):(x(),I("div",PM,[c("div",IM,[c("span",{id:`index_${l.index}`,class:"tag is-info is-light is-small has-text-weight-bold",textContent:y(l.index)},null,8,LM)])]))],64))),128)),(x(),we(Hn,{to:"#app"},[b(a,{item:o.selected_item,show:o.show_details_modal,onClose:t[0]||(t[0]=l=>o.show_details_modal=!1)},null,8,["item","show"])]))],64)}const Yu=ae(OM,[["render",VM]]),ih={load(e){return B.library_composers("music")},set(e,t){e.composers=new Ee(t.data,{index:{field:"name_sort",type:String}})}},HM={name:"PageComposers",components:{ContentWithHeading:Qe,IndexButtonList:ar,ListComposers:Yu,TabsMusic:yr},beforeRouteEnter(e,t,n){ih.load(e).then(r=>{n(o=>ih.set(o,r))})},data(){return{composers:new Ee}}},UM={class:"fd-page-with-tabs"},jM=["textContent"],BM=["textContent"];function WM(e,t,n,r,o,s){const i=O("tabs-music"),a=O("index-button-list"),l=O("list-composers"),u=O("content-with-heading");return x(),I("div",UM,[b(i),b(u,null,{options:N(()=>[b(a,{indices:o.composers.indices},null,8,["indices"])]),"heading-left":N(()=>[c("p",{class:"title is-4",textContent:y(e.$t("page.composers.title"))},null,8,jM),c("p",{class:"heading",textContent:y(e.$t("page.composers.count",{count:o.composers.total}))},null,8,BM)]),content:N(()=>[b(l,{items:o.composers},null,8,["items"])]),_:1})])}const qM=ae(HM,[["render",WM]]),GM={name:"ModalDialogDirectory",props:{item:{required:!0,type:String},show:Boolean},emits:["close"],methods:{play(){this.$emit("close"),B.player_play_expression(`path starts with "${this.item}" order by path asc`,!1)},queue_add(){this.$emit("close"),B.queue_expression_add(`path starts with "${this.item}" order by path asc`)},queue_add_next(){this.$emit("close"),B.queue_expression_add_next(`path starts with "${this.item}" order by path asc`)}}},KM={key:0,class:"modal is-active"},ZM={class:"modal-content"},YM={class:"card"},XM={class:"card-content"},JM=["textContent"],QM={class:"card-footer"},eF=["textContent"],tF=["textContent"],nF=["textContent"];function rF(e,t,n,r,o,s){const i=O("mdicon");return x(),we(Rt,{name:"fade"},{default:N(()=>[n.show?(x(),I("div",KM,[c("div",{class:"modal-background",onClick:t[0]||(t[0]=a=>e.$emit("close"))}),c("div",ZM,[c("div",YM,[c("div",XM,[c("p",{class:"title is-4",textContent:y(n.item)},null,8,JM)]),c("footer",QM,[c("a",{class:"card-footer-item has-text-dark",onClick:t[1]||(t[1]=(...a)=>s.queue_add&&s.queue_add(...a))},[b(i,{class:"icon",name:"playlist-plus",size:"16"}),c("span",{class:"is-size-7",textContent:y(e.$t("dialog.directory.add"))},null,8,eF)]),c("a",{class:"card-footer-item has-text-dark",onClick:t[2]||(t[2]=(...a)=>s.queue_add_next&&s.queue_add_next(...a))},[b(i,{class:"icon",name:"playlist-play",size:"16"}),c("span",{class:"is-size-7",textContent:y(e.$t("dialog.directory.add-next"))},null,8,tF)]),c("a",{class:"card-footer-item has-text-dark",onClick:t[3]||(t[3]=(...a)=>s.play&&s.play(...a))},[b(i,{class:"icon",name:"play",size:"16"}),c("span",{class:"is-size-7",textContent:y(e.$t("dialog.directory.play"))},null,8,nF)])])])]),c("button",{class:"modal-close is-large","aria-label":"close",onClick:t[4]||(t[4]=a=>e.$emit("close"))})])):ee("",!0)]),_:1})}const rz=ae(GM,[["render",rF]]),oF={name:"ListDirectories",components:{ModalDialogDirectory:rz},props:{items:{required:!0,type:Array}},data(){return{selected_item:"",show_details_modal:!1}},computed:{directories(){var n;const e=[];let t="";return(n=this.$route.query)==null||n.directory.split("/").slice(1,-1).forEach((r,o)=>{t=`${t}/${r}`,e.push({index:o,name:r,path:t})}),e}},methods:{open(e){const t={name:"files"};e.index!==0&&(t.query={directory:e.path}),this.$router.push(t)},open_dialog(e){this.selected_item=e.path,this.show_details_modal=!0},open_parent(){this.open(this.directories.slice(-1).pop())}}},sF={key:0,class:"media is-align-items-center"},iF={class:"media-content is-clipped"},aF={class:"breadcrumb"},lF=["onClick"],cF=["textContent"],uF={class:"media-right"},dF=["onClick"],mF={class:"media-left is-clickable"},fF={class:"media-content is-clickable is-clipped"},pF=["textContent"],hF={class:"media-right"},_F=["onClick"];function gF(e,t,n,r,o,s){const i=O("mdicon"),a=O("modal-dialog-directory");return x(),I(ve,null,[e.$route.query.directory?(x(),I("div",sF,[c("figure",{class:"media-left is-clickable",onClick:t[0]||(t[0]=(...l)=>s.open_parent&&s.open_parent(...l))},[b(i,{class:"icon",name:"chevron-left",size:"16"})]),c("div",iF,[c("nav",aF,[c("ul",null,[(x(!0),I(ve,null,_t(s.directories,l=>(x(),I("li",{key:l.index},[c("a",{onClick:u=>s.open(l)},[c("span",{textContent:y(l.name)},null,8,cF)],8,lF)]))),128))])])]),c("div",uF,[vt(e.$slots,"actions")])])):ee("",!0),(x(!0),I(ve,null,_t(n.items,l=>(x(),I("div",{key:l.path,class:"media is-align-items-center",onClick:u=>s.open(l)},[c("figure",mF,[b(i,{class:"icon",name:"folder",size:"16"})]),c("div",fF,[c("h1",{class:"title is-6",textContent:y(l.name)},null,8,pF)]),c("div",hF,[c("a",{onClick:gt(u=>s.open_dialog(l),["prevent","stop"])},[b(i,{class:"icon has-text-dark",name:"dots-vertical",size:"16"})],8,_F)])],8,dF))),128)),(x(),we(Hn,{to:"#app"},[b(a,{item:o.selected_item,show:o.show_details_modal,onClose:t[1]||(t[1]=l=>o.show_details_modal=!1)},null,8,["item","show"])]))],64)}const yF=ae(oF,[["render",gF]]),zF={name:"ModalDialogPlaylist",props:{item:{required:!0,type:Object},show:Boolean,uris:{default:"",type:String}},emits:["close"],methods:{open(){this.$emit("close"),this.$router.push({name:"playlist",params:{id:this.item.id}})},play(){this.$emit("close"),B.player_play_uri(this.uris||this.item.uri,!1)},queue_add(){this.$emit("close"),B.queue_add(this.uris||this.item.uri)},queue_add_next(){this.$emit("close"),B.queue_add_next(this.uris||this.item.uri)}}},vF={key:0,class:"modal is-active"},bF={class:"modal-content"},CF={class:"card"},wF={class:"card-content"},kF={class:"title is-4"},SF=["textContent"],xF={class:"content is-small"},EF=["textContent"],$F=["textContent"],TF=["textContent"],AF=["textContent"],OF={key:0},PF=["textContent"],IF=["textContent"],LF={key:0,class:"card-footer"},NF=["textContent"],DF=["textContent"],RF=["textContent"];function MF(e,t,n,r,o,s){const i=O("mdicon");return x(),we(Rt,{name:"fade"},{default:N(()=>[n.show?(x(),I("div",vF,[c("div",{class:"modal-background",onClick:t[0]||(t[0]=a=>e.$emit("close"))}),c("div",bF,[c("div",CF,[c("div",wF,[c("p",kF,[c("a",{class:"has-text-link",onClick:t[1]||(t[1]=(...a)=>s.open&&s.open(...a)),textContent:y(n.item.name)},null,8,SF)]),c("div",xF,[c("p",null,[c("span",{class:"heading",textContent:y(e.$t("dialog.playlist.path"))},null,8,EF),c("span",{class:"title is-6",textContent:y(n.item.path)},null,8,$F)]),c("p",null,[c("span",{class:"heading",textContent:y(e.$t("dialog.playlist.type"))},null,8,TF),c("span",{class:"title is-6",textContent:y(e.$t(`playlist.type.${n.item.type}`))},null,8,AF)]),n.item.folder?ee("",!0):(x(),I("p",OF,[c("span",{class:"heading",textContent:y(e.$t("dialog.playlist.tracks"))},null,8,PF),c("span",{class:"title is-6",textContent:y(n.item.item_count)},null,8,IF)]))])]),n.item.folder?ee("",!0):(x(),I("footer",LF,[c("a",{class:"card-footer-item has-text-dark",onClick:t[2]||(t[2]=(...a)=>s.queue_add&&s.queue_add(...a))},[b(i,{class:"icon",name:"playlist-plus",size:"16"}),c("span",{class:"is-size-7",textContent:y(e.$t("dialog.playlist.add"))},null,8,NF)]),c("a",{class:"card-footer-item has-text-dark",onClick:t[3]||(t[3]=(...a)=>s.queue_add_next&&s.queue_add_next(...a))},[b(i,{class:"icon",name:"playlist-play",size:"16"}),c("span",{class:"is-size-7",textContent:y(e.$t("dialog.playlist.add-next"))},null,8,DF)]),c("a",{class:"card-footer-item has-text-dark",onClick:t[4]||(t[4]=(...a)=>s.play&&s.play(...a))},[b(i,{class:"icon",name:"play",size:"16"}),c("span",{class:"is-size-7",textContent:y(e.$t("dialog.playlist.play"))},null,8,RF)])]))])]),c("button",{class:"modal-close is-large","aria-label":"close",onClick:t[5]||(t[5]=a=>e.$emit("close"))})])):ee("",!0)]),_:1})}const oz=ae(zF,[["render",MF]]),FF={name:"ListPlaylists",components:{ModalDialogPlaylist:oz},props:{items:{required:!0,type:Object}},data(){return{selected_item:{},show_details_modal:!1}},methods:{icon_name(e){return e.type==="folder"?"folder":e.type==="rss"?"rss":"music-box-multiple"},open(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_item=e,this.show_details_modal=!0}}},VF=["onClick"],HF={class:"media-left is-clickable"},UF={class:"media-content is-clickable is-clipped"},jF=["textContent"],BF={class:"media-right"},WF=["onClick"];function qF(e,t,n,r,o,s){const i=O("mdicon"),a=O("modal-dialog-playlist");return x(),I(ve,null,[(x(!0),I(ve,null,_t(n.items,l=>(x(),I("div",{key:l.itemId,class:"media is-align-items-center",onClick:u=>s.open(l.item)},[c("figure",HF,[b(i,{class:"icon",name:s.icon_name(l.item),size:"16"},null,8,["name"])]),c("div",UF,[c("h1",{class:"title is-6",textContent:y(l.item.name)},null,8,jF)]),c("div",BF,[c("a",{onClick:gt(u=>s.open_dialog(l.item),["prevent","stop"])},[b(i,{class:"icon has-text-dark",name:"dots-vertical",size:"16"})],8,WF)])],8,VF))),128)),(x(),we(Hn,{to:"#app"},[b(a,{item:o.selected_item,show:o.show_details_modal,onClose:t[0]||(t[0]=l=>o.show_details_modal=!1)},null,8,["item","show"])]))],64)}const fl=ae(FF,[["render",qF]]),za={load(e){return e.query.directory?B.library_files(e.query.directory):Promise.resolve()},set(e,t){t?e.directories=t.data.directories.map(n=>e.transform(n.path)):Fo().directories?e.directories=Fo().directories.map(n=>e.transform(n)):B.config().then(n=>{e.directories=n.data.directories.map(r=>e.transform(r))}),e.playlists=new Ee(t==null?void 0:t.data.playlists),e.tracks=new Ee(t==null?void 0:t.data.tracks)}},GF={name:"PageFiles",components:{ContentWithHeading:Qe,ListDirectories:yF,ListPlaylists:fl,ListTracks:gn,ModalDialogDirectory:rz},beforeRouteEnter(e,t,n){za.load(e).then(r=>{n(o=>za.set(o,r))})},beforeRouteUpdate(e,t,n){za.load(e).then(r=>{za.set(this,r),n()})},setup(){return{configurationStore:Fo()}},data(){return{directories:[],playlists:new Ee,show_details_modal:!1,tracks:new Ee}},computed:{current(){var e;return((e=this.$route.query)==null?void 0:e.directory)||"/"},name(){var e;return this.current!=="/"?(e=this.current)==null?void 0:e.slice(this.current.lastIndexOf("/")+1):this.$t("page.files.title")},play_expression(){return`path starts with "${this.current}" order by path asc`}},methods:{play(){B.player_play_expression(this.play_expression,!1)},transform(e){return{name:e.slice(e.lastIndexOf("/")+1),path:e}}}},KF=["textContent"],ZF={class:"buttons is-centered"},YF=["textContent"];function XF(e,t,n,r,o,s){const i=O("mdicon"),a=O("list-directories"),l=O("list-playlists"),u=O("list-tracks"),m=O("modal-dialog-directory"),d=O("content-with-heading");return x(),I("div",null,[b(d,null,{"heading-left":N(()=>[c("p",{class:"title is-4",textContent:y(s.name)},null,8,KF)]),"heading-right":N(()=>[c("div",ZF,[c("a",{class:"button is-small is-light is-rounded",onClick:t[0]||(t[0]=f=>o.show_details_modal=!0)},[b(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))},[b(i,{class:"icon",name:"play",size:"16"}),c("span",{textContent:y(e.$t("page.files.play"))},null,8,YF)])])]),content:N(()=>[b(a,{items:o.directories},null,8,["items"]),b(l,{items:o.playlists},null,8,["items"]),b(u,{expression:s.play_expression,items:o.tracks,show_icon:!0},null,8,["expression","items"]),b(m,{item:s.current,show:o.show_details_modal,onClose:t[2]||(t[2]=f=>o.show_details_modal=!1)},null,8,["item","show"])]),_:1})])}const JF=ae(GF,[["render",XF]]),ah={load(e){return Promise.all([B.library_genre(e.params.name,e.query.media_kind),B.library_genre_albums(e.params.name,e.query.media_kind)])},set(e,t){e.genre=t[0].data.genres.items.shift(),e.albums=new Ee(t[1].data.albums,{index:{field:"name_sort",type:String}})}},QF={name:"PageGenreAlbums",components:{ContentWithHeading:Qe,IndexButtonList:ar,ListAlbums:wn,ModalDialogGenre:dm},beforeRouteEnter(e,t,n){ah.load(e).then(r=>{n(o=>ah.set(o,r))})},data(){return{albums:new Ee,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(){B.player_play_expression(`genre is "${this.genre.name}" and media_kind is ${this.media_kind}`,!0)}}},e7=["textContent"],t7={class:"buttons is-centered"},n7=["textContent"],r7={class:"heading has-text-centered-mobile"},o7=["textContent"],s7=c("span",null," | ",-1),i7=["textContent"];function a7(e,t,n,r,o,s){const i=O("index-button-list"),a=O("mdicon"),l=O("list-albums"),u=O("modal-dialog-genre"),m=O("content-with-heading");return x(),I("div",null,[b(m,null,{options:N(()=>[b(i,{indices:o.albums.indices},null,8,["indices"])]),"heading-left":N(()=>[c("p",{class:"title is-4",textContent:y(o.genre.name)},null,8,e7)]),"heading-right":N(()=>[c("div",t7,[c("a",{class:"button is-small is-light is-rounded",onClick:t[0]||(t[0]=d=>o.show_details_modal=!0)},[b(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))},[b(a,{class:"icon",name:"shuffle",size:"16"}),c("span",{textContent:y(e.$t("page.genre.shuffle"))},null,8,n7)])])]),content:N(()=>[c("p",r7,[c("span",{textContent:y(e.$t("page.genre.album-count",{count:o.genre.album_count}))},null,8,o7),s7,c("a",{class:"has-text-link",onClick:t[2]||(t[2]=(...d)=>s.open_tracks&&s.open_tracks(...d)),textContent:y(e.$t("page.genre.track-count",{count:o.genre.track_count}))},null,8,i7)]),b(l,{items:o.albums},null,8,["items"]),b(u,{item: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,["item","media_kind","show"])]),_:1})])}const l7=ae(QF,[["render",a7]]),lh={load(e){return Promise.all([B.library_genre(e.params.name,e.query.media_kind),B.library_genre_tracks(e.params.name,e.query.media_kind)])},set(e,t){e.genre=t[0].data.genres.items.shift(),e.tracks_list=new Ee(t[1].data.tracks)}},c7={name:"PageGenreTracks",components:{ContentWithHeading:Qe,ControlDropdown:Bo,IndexButtonList:ar,ListTracks:gn,ModalDialogGenre:dm},beforeRouteEnter(e,t,n){lh.load(e).then(r=>{n(o=>lh.set(o,r))})},setup(){return{uiStore:yn()}},data(){return{genre:{},groupings:[{id:1,name:this.$t("page.genre.sort.name"),options:{index:{field:"title_sort",type:String}}},{id:2,name:this.$t("page.genre.sort.rating"),options:{criteria:[{field:"rating",order:-1,type:Number}],index:{field:"rating",type:"Digits"}}}],media_kind:this.$route.query.media_kind,show_details_modal:!1,tracks_list:new Ee}},computed:{expression(){return`genre is "${this.genre.name}" and media_kind is ${this.media_kind}`},selected_grouping_id:{get(){return this.uiStore.genre_tracks_sort},set(e){this.uiStore.genre_tracks_sort=e}},tracks(){const{options:e}=this.groupings.find(t=>t.id===this.selected_grouping_id);return this.tracks_list.group(e)}},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(){B.player_play_expression(this.expression,!0)}}},u7={class:"columns"},d7={class:"column"},m7=["textContent"],f7=["textContent"],p7={class:"buttons is-centered"},h7=["textContent"],_7={class:"heading has-text-centered-mobile"},g7=["textContent"],y7=c("span",null," | ",-1),z7=["textContent"];function v7(e,t,n,r,o,s){const i=O("index-button-list"),a=O("control-dropdown"),l=O("mdicon"),u=O("list-tracks"),m=O("modal-dialog-genre"),d=O("content-with-heading");return x(),I("div",null,[b(d,null,{options:N(()=>[b(i,{indices:s.tracks.indices},null,8,["indices"]),c("div",u7,[c("div",d7,[c("p",{class:"heading mb-5",textContent:y(e.$t("page.genre.sort.title"))},null,8,m7),b(a,{value:s.selected_grouping_id,"onUpdate:value":t[0]||(t[0]=f=>s.selected_grouping_id=f),options:o.groupings},null,8,["value","options"])])])]),"heading-left":N(()=>[c("p",{class:"title is-4",textContent:y(o.genre.name)},null,8,f7)]),"heading-right":N(()=>[c("div",p7,[c("a",{class:"button is-small is-light is-rounded",onClick:t[1]||(t[1]=f=>o.show_details_modal=!0)},[b(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))},[b(l,{class:"icon",name:"shuffle",size:"16"}),c("span",{textContent:y(e.$t("page.genre.shuffle"))},null,8,h7)])])]),content:N(()=>[c("p",_7,[c("a",{class:"has-text-link",onClick:t[3]||(t[3]=(...f)=>s.open_genre&&s.open_genre(...f)),textContent:y(e.$t("page.genre.album-count",{count:o.genre.album_count}))},null,8,g7),y7,c("span",{textContent:y(e.$t("page.genre.track-count",{count:o.genre.track_count}))},null,8,z7)]),b(u,{items:s.tracks,expression:s.expression},null,8,["items","expression"]),b(m,{item:o.genre,media_kind:o.media_kind,show:o.show_details_modal,onClose:t[4]||(t[4]=f=>o.show_details_modal=!1)},null,8,["item","media_kind","show"])]),_:1})])}const b7=ae(c7,[["render",v7]]),ch={load(e){return B.library_genres("music")},set(e,t){e.genres=new Ee(t.data.genres,{index:{field:"name_sort",type:String}})}},C7={name:"PageGenres",components:{ContentWithHeading:Qe,IndexButtonList:ar,ListGenres:nz,TabsMusic:yr},beforeRouteEnter(e,t,n){ch.load(e).then(r=>{n(o=>ch.set(o,r))})},data(){return{genres:new Ee}}},w7={class:"fd-page-with-tabs"},k7=["textContent"],S7=["textContent"];function x7(e,t,n,r,o,s){const i=O("tabs-music"),a=O("index-button-list"),l=O("list-genres"),u=O("content-with-heading");return x(),I("div",w7,[b(i),b(u,null,{options:N(()=>[b(a,{indices:o.genres.indices},null,8,["indices"])]),"heading-left":N(()=>[c("p",{class:"title is-4",textContent:y(e.$t("page.genres.title"))},null,8,k7),c("p",{class:"heading",textContent:y(e.$t("page.genres.count",{count:o.genres.total}))},null,8,S7)]),content:N(()=>[b(l,{items:o.genres,media_kind:"music"},null,8,["items"])]),_:1})])}const E7=ae(C7,[["render",x7]]),uh={load(e){return Promise.all([B.search({expression:"time_added after 8 weeks ago and media_kind is music having track_count > 3 order by time_added desc",limit:3,type:"album"}),B.search({expression:"time_played after 8 weeks ago and media_kind is music order by time_played desc",limit:3,type:"track"})])},set(e,t){e.albums=new Ee(t[0].data.albums),e.tracks=new Ee(t[1].data.tracks)}},$7={name:"PageMusic",components:{ContentWithHeading:Qe,ListAlbums:wn,ListTracks:gn,TabsMusic:yr},beforeRouteEnter(e,t,n){uh.load(e).then(r=>{n(o=>uh.set(o,r))})},data(){return{albums:[],tracks:{items:[]},selected_track:{}}}},T7={class:"fd-page-with-tabs"},A7=["textContent"],O7={class:"level"},P7={class:"level-item"},I7=["textContent"],L7={class:"level"},N7={class:"level-item"};function D7(e,t,n,r,o,s){const i=O("tabs-music"),a=O("list-albums"),l=O("router-link"),u=O("content-with-heading"),m=O("list-tracks");return x(),I("div",T7,[b(i),b(u,null,{"heading-left":N(()=>[c("p",{class:"title is-4",textContent:y(e.$t("page.music.recently-added.title"))},null,8,A7)]),content:N(()=>[b(a,{items:o.albums},null,8,["items"])]),footer:N(()=>[c("nav",O7,[c("p",P7,[b(l,{class:"button is-light is-small is-rounded",to:{name:"music-recently-added"}},{default:N(()=>[Dt(y(e.$t("page.music.show-more")),1)]),_:1})])])]),_:1}),b(u,null,{"heading-left":N(()=>[c("p",{class:"title is-4",textContent:y(e.$t("page.music.recently-played.title"))},null,8,I7)]),content:N(()=>[b(m,{items:o.tracks},null,8,["items"])]),footer:N(()=>[c("nav",L7,[c("p",N7,[b(l,{class:"button is-light is-small is-rounded",to:{name:"music-recently-played"}},{default:N(()=>[Dt(y(e.$t("page.music.show-more")),1)]),_:1})])])]),_:1})])}const R7=ae($7,[["render",D7]]),dh={load(e){const t=sr().recently_added_limit;return B.search({expression:"media_kind is music having track_count > 3 order by time_added desc",limit:t,type:"album"})},set(e,t){e.albums=new Ee(t.data.albums,{criteria:[{field:"time_added",order:-1,type:Date}],index:{field:"time_added",type:Date}})}},M7={name:"PageMusicRecentlyAdded",components:{ContentWithHeading:Qe,ListAlbums:wn,TabsMusic:yr},beforeRouteEnter(e,t,n){dh.load(e).then(r=>{n(o=>dh.set(o,r))})},setup(){return{settingsStore:sr()}},data(){return{albums:new Ee}}},F7={class:"fd-page-with-tabs"},V7=["textContent"];function H7(e,t,n,r,o,s){const i=O("tabs-music"),a=O("list-albums"),l=O("content-with-heading");return x(),I("div",F7,[b(i),b(l,null,{"heading-left":N(()=>[c("p",{class:"title is-4",textContent:y(e.$t("page.music.recently-added.title"))},null,8,V7)]),content:N(()=>[b(a,{items:o.albums},null,8,["items"])]),_:1})])}const U7=ae(M7,[["render",H7]]),mh={load(e){return B.search({expression:"time_played after 8 weeks ago and media_kind is music order by time_played desc",limit:50,type:"track"})},set(e,t){e.tracks=new Ee(t.data.tracks)}},j7={name:"PageMusicRecentlyPlayed",components:{ContentWithHeading:Qe,ListTracks:gn,TabsMusic:yr},beforeRouteEnter(e,t,n){mh.load(e).then(r=>{n(o=>mh.set(o,r))})},data(){return{tracks:{}}}},B7={class:"fd-page-with-tabs"},W7=["textContent"];function q7(e,t,n,r,o,s){const i=O("tabs-music"),a=O("list-tracks"),l=O("content-with-heading");return x(),I("div",B7,[b(i),b(l,null,{"heading-left":N(()=>[c("p",{class:"title is-4",textContent:y(e.$t("page.music.recently-played.title"))},null,8,W7)]),content:N(()=>[b(a,{items:o.tracks},null,8,["items"])]),_:1})])}const G7=ae(j7,[["render",q7]]),K7={name:"ModalDialogPlaylistSpotify",props:{item:{required:!0,type:Object},show:Boolean},emits:["close"],methods:{open(){this.$emit("close"),this.$router.push({name:"playlist-spotify",params:{id:this.item.id}})},play(){this.$emit("close"),B.player_play_uri(this.item.uri,!1)},queue_add(){this.$emit("close"),B.queue_add(this.item.uri)},queue_add_next(){this.$emit("close"),B.queue_add_next(this.item.uri)}}},Z7={key:0,class:"modal is-active"},Y7={class:"modal-content"},X7={class:"card"},J7={class:"card-content"},Q7={class:"title is-4"},eV=["textContent"],tV={class:"content is-small"},nV=["textContent"],rV=["textContent"],oV=["textContent"],sV=["textContent"],iV=["textContent"],aV=["textContent"],lV={class:"card-footer"},cV=["textContent"],uV=["textContent"],dV=["textContent"];function mV(e,t,n,r,o,s){const i=O("mdicon");return x(),we(Rt,{name:"fade"},{default:N(()=>[n.show?(x(),I("div",Z7,[c("div",{class:"modal-background",onClick:t[0]||(t[0]=a=>e.$emit("close"))}),c("div",Y7,[c("div",X7,[c("div",J7,[c("p",Q7,[c("a",{class:"has-text-link",onClick:t[1]||(t[1]=(...a)=>s.open&&s.open(...a)),textContent:y(n.item.name)},null,8,eV)]),c("div",tV,[c("p",null,[c("span",{class:"heading",textContent:y(e.$t("dialog.spotify.playlist.owner"))},null,8,nV),c("span",{class:"title is-6",textContent:y(n.item.owner.display_name)},null,8,rV)]),c("p",null,[c("span",{class:"heading",textContent:y(e.$t("dialog.spotify.playlist.tracks"))},null,8,oV),c("span",{class:"title is-6",textContent:y(n.item.tracks.total)},null,8,sV)]),c("p",null,[c("span",{class:"heading",textContent:y(e.$t("dialog.spotify.playlist.path"))},null,8,iV),c("span",{class:"title is-6",textContent:y(n.item.uri)},null,8,aV)])])]),c("footer",lV,[c("a",{class:"card-footer-item has-text-dark",onClick:t[2]||(t[2]=(...a)=>s.queue_add&&s.queue_add(...a))},[b(i,{class:"icon",name:"playlist-plus",size:"16"}),c("span",{class:"is-size-7",textContent:y(e.$t("dialog.spotify.playlist.add"))},null,8,cV)]),c("a",{class:"card-footer-item has-text-dark",onClick:t[3]||(t[3]=(...a)=>s.queue_add_next&&s.queue_add_next(...a))},[b(i,{class:"icon",name:"playlist-play",size:"16"}),c("span",{class:"is-size-7",textContent:y(e.$t("dialog.spotify.playlist.add-next"))},null,8,uV)]),c("a",{class:"card-footer-item has-text-dark",onClick:t[4]||(t[4]=(...a)=>s.play&&s.play(...a))},[b(i,{class:"icon",name:"play",size:"16"}),c("span",{class:"is-size-7",textContent:y(e.$t("dialog.spotify.playlist.play"))},null,8,dV)])])])]),c("button",{class:"modal-close is-large","aria-label":"close",onClick:t[5]||(t[5]=a=>e.$emit("close"))})])):ee("",!0)]),_:1})}const sz=ae(K7,[["render",mV]]),fV={name:"ListPlaylistsSpotify",components:{ModalDialogPlaylistSpotify:sz},props:{items:{required:!0,type:Object}},data(){return{selected_item:{},show_details_modal:!1}},methods:{open(e){this.$router.push({name:"playlist-spotify",params:{id:e.id}})},open_dialog(e){this.selected_item=e,this.show_details_modal=!0}}},pV=["onClick"],hV=["textContent"],_V=["textContent"],gV={class:"media-right"},yV=["onClick"];function zV(e,t,n,r,o,s){const i=O("mdicon"),a=O("modal-dialog-playlist-spotify");return x(),I(ve,null,[(x(!0),I(ve,null,_t(n.items,l=>(x(),I("div",{key:l.id,class:"media is-align-items-center"},[c("div",{class:"media-content is-clickable is-clipped",onClick:u=>s.open(l)},[c("h1",{class:"title is-6",textContent:y(l.name)},null,8,hV),c("h2",{class:"subtitle is-7",textContent:y(l.owner.display_name)},null,8,_V)],8,pV),c("div",gV,[c("a",{onClick:gt(u=>s.open_dialog(l),["prevent","stop"])},[b(i,{class:"icon has-text-dark",name:"dots-vertical",size:"16"})],8,yV)])]))),128)),(x(),we(Hn,{to:"#app"},[b(a,{item:o.selected_item,show:o.show_details_modal,onClose:t[0]||(t[0]=l=>o.show_details_modal=!1)},null,8,["item","show"])]))],64)}const pl=ae(fV,[["render",zV]]),fh={load(e){return B.spotify().then(({data:t})=>{const n=new ir;return n.setAccessToken(t.webapi_token),Promise.all([n.getNewReleases({country:t.webapi_country,limit:3}),n.getFeaturedPlaylists({country:t.webapi_country,limit:3})])})},set(e,t){e.albums=t[0].albums.items,e.playlists=t[1].playlists.items}},vV={name:"PageMusicSpotify",components:{ContentWithHeading:Qe,ListAlbumsSpotify:Ii,ListPlaylistsSpotify:pl,TabsMusic:yr},beforeRouteEnter(e,t,n){fh.load(e).then(r=>{n(o=>fh.set(o,r))})},data(){return{playlists:[],albums:[]}}},bV={class:"fd-page-with-tabs"},CV=["textContent"],wV={class:"level"},kV={class:"level-item"},SV=["textContent"],xV={class:"level"},EV={class:"level-item"};function $V(e,t,n,r,o,s){const i=O("tabs-music"),a=O("list-albums-spotify"),l=O("router-link"),u=O("content-with-heading"),m=O("list-playlists-spotify");return x(),I("div",bV,[b(i),b(u,null,{"heading-left":N(()=>[c("p",{class:"title is-4",textContent:y(e.$t("page.spotify.music.new-releases"))},null,8,CV)]),content:N(()=>[b(a,{items:o.albums},null,8,["items"])]),footer:N(()=>[c("nav",wV,[c("p",kV,[b(l,{to:{name:"music-spotify-new-releases"},class:"button is-light is-small is-rounded"},{default:N(()=>[Dt(y(e.$t("page.spotify.music.show-more")),1)]),_:1})])])]),_:1}),b(u,null,{"heading-left":N(()=>[c("p",{class:"title is-4",textContent:y(e.$t("page.spotify.music.featured-playlists"))},null,8,SV)]),content:N(()=>[b(m,{items:o.playlists},null,8,["items"])]),footer:N(()=>[c("nav",xV,[c("p",EV,[b(l,{to:{name:"music-spotify-featured-playlists"},class:"button is-light is-small is-rounded"},{default:N(()=>[Dt(y(e.$t("page.spotify.music.show-more")),1)]),_:1})])])]),_:1})])}const TV=ae(vV,[["render",$V]]),ph={load(e){return B.spotify().then(({data:t})=>{const n=new ir;return n.setAccessToken(t.webapi_token),n.getFeaturedPlaylists({country:t.webapi_country,limit:50})})},set(e,t){e.playlists=t.playlists.items}},AV={name:"PageMusicSpotifyFeaturedPlaylists",components:{ContentWithHeading:Qe,ListPlaylistsSpotify:pl,TabsMusic:yr},beforeRouteEnter(e,t,n){ph.load(e).then(r=>{n(o=>ph.set(o,r))})},data(){return{playlists:[]}}},OV={class:"fd-page-with-tabs"},PV=["textContent"];function IV(e,t,n,r,o,s){const i=O("tabs-music"),a=O("list-playlists-spotify"),l=O("content-with-heading");return x(),I("div",OV,[b(i),b(l,null,{"heading-left":N(()=>[c("p",{class:"title is-4",textContent:y(e.$t("page.spotify.music.featured-playlists"))},null,8,PV)]),content:N(()=>[b(a,{items:o.playlists},null,8,["items"])]),_:1})])}const LV=ae(AV,[["render",IV]]),hh={load(e){return B.spotify().then(({data:t})=>{const n=new ir;return n.setAccessToken(t.webapi_token),n.getNewReleases({country:t.webapi_country,limit:50})})},set(e,t){e.albums=t.albums.items}},NV={name:"PageMusicSpotifyNewReleases",components:{ContentWithHeading:Qe,ListAlbumsSpotify:Ii,TabsMusic:yr},beforeRouteEnter(e,t,n){hh.load(e).then(r=>{n(o=>hh.set(o,r))})},data(){return{albums:[]}}},DV={class:"fd-page-with-tabs"},RV=["textContent"];function MV(e,t,n,r,o,s){const i=O("tabs-music"),a=O("list-albums-spotify"),l=O("content-with-heading");return x(),I("div",DV,[b(i),b(l,null,{"heading-left":N(()=>[c("p",{class:"title is-4",textContent:y(e.$t("page.spotify.music.new-releases"))},null,8,RV)]),content:N(()=>[b(a,{items:o.albums},null,8,["items"])]),_:1})])}const FV=ae(NV,[["render",MV]]),VV={name:"LyricsPane",setup(){return{lyricsStore:Zl(),playerStore:En()}},data(){return this.lastIndex=-1,this.scrollingTimer=null,this.lastItemId=-1,{autoScrolling:!0}},computed:{is_playing(){return this.playerStore.state==="play"},lyrics(){const e=this.lyricsStore.content,t=[];if(e.length>0){const n=/\[(?<minutes>\d+):(?<seconds>\d+)(?:\.(?<hundredths>\d+))?\] ?(?<text>.*)/u;e.split(`
`).forEach(r=>{const{text:o,minutes:s,seconds:i,hundredths:a}=n.exec(r).groups;if(o){const l={text:o,time:s*60+Number(i)+ +`.${a||0}`};t.push(l)}}),t.forEach((r,o,s)=>{const i=(s[o+1].time-r.time||3)/r.text.length;let a=0;r.words=r.text.match(/\S+\s*/gu).map(l=>{const u=l.length*i;return a+=u,{duration:u,delay:a,text:l}})})}return t},verse_index(){var e;if(this.lyrics.length&&this.lyrics[0].time){const t=this.playerStore.item_progress_ms/1e3,n=this.lyrics,r=this.playerStore.item_id!==this.lastItemId,o=this.lastIndex>=0&&this.lastIndex<n.length&&n[this.lastIndex].time>t;if((r||o)&&this.reset_scrolling(),this.lastIndex<n.length-1&&n[this.lastIndex+1].time>t||this.lastIndex===n.length-1)return this.lastIndex;if(this.lastIndex<n.length-2&&n[this.lastIndex+2].time>t)return this.lastIndex+1;let s=n.length-1,i=-1,a=0;for(;a<=s;){i=a+s>>1;const l=n[i].time,u=(e=n[i+1])==null?void 0:e.time;if(l<=t&&(u>t||!u))break;l<t?a=i+1:s=i-1}return i}return this.reset_scrolling(),-1}},watch:{verse_index(){this.autoScrolling&&this.scroll_to_verse(),this.lastIndex=this.verse_index}},methods:{reset_scrolling(){this.playerStore.item_id!==this.lastItemId&&this.$refs.lyrics&&this.$refs.lyrics.scrollTo(0,0),this.lastItemId=this.playerStore.item_id,this.lastIndex=-1},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({behavior:"smooth",left:0,top:t.offsetTop-(e.offsetHeight>>1)+(t.offsetHeight>>1)-e.scrollTop})},start_scrolling(e){(e.screenX??e.screenY)&&(this.autoScrolling=!1,clearTimeout(this.scrollingTimer),this.scrollingTimer=setTimeout(this.autoScrolling=!0,2e3))}}},HV=["textContent"],UV={key:1};function jV(e,t,n,r,o,s){return x(),I("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))},[(x(!0),I(ve,null,_t(s.lyrics,(i,a)=>(x(),I(ve,{key:a},[a===s.verse_index?(x(),I("div",{key:0,class:ke({"is-highlighted":s.is_playing})},[(x(!0),I(ve,null,_t(i.words,l=>(x(),I("span",{key:l,class:"has-text-weight-bold is-size-5"},[c("span",{style:co({"animation-duration":`${l.delay}s`}),textContent:y(l.text)},null,12,HV)]))),128))],2)):(x(),I("div",UV,y(i.text),1))],64))),128))],544)}const BV=ae(VV,[["render",jV],["__scopeId","data-v-a97a7574"]]),WV={name:"ModalDialogQueueItem",props:{item:{required:!0,type:Object},show:Boolean},emits:["close"],setup(){return{servicesStore:Pt()}},data(){return{spotify_track:{}}},watch:{item(){var e;if(((e=this.item)==null?void 0:e.data_kind)==="spotify"){const t=new ir;t.setAccessToken(this.servicesStore.spotify.webapi_token),t.getTrack(this.item.path.slice(this.item.path.lastIndexOf(":")+1)).then(n=>{this.spotify_track=n})}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"),B.player_play({item_id:this.item.id})},remove(){this.$emit("close"),B.queue_remove(this.item.id)}}},qV={key:0,class:"modal is-active"},GV={class:"modal-content"},KV={class:"card"},ZV={class:"card-content"},YV=["textContent"],XV=["textContent"],JV={class:"content is-small"},QV={key:0},e9=["textContent"],t9=["textContent"],n9={key:1},r9=["textContent"],o9=["textContent"],s9={key:2},i9=["textContent"],a9=["textContent"],l9={key:3},c9=["textContent"],u9=["textContent"],d9={key:4},m9=["textContent"],f9=["textContent"],p9={key:5},h9=["textContent"],_9=["textContent"],g9={key:6},y9=["textContent"],z9=["textContent"],v9=["textContent"],b9=["textContent"],C9=["textContent"],w9={class:"title is-6"},k9=["textContent"],S9={key:7},x9=["textContent"],E9={class:"title is-6"},$9=["textContent"],T9=["textContent"],A9=["textContent"],O9=["textContent"],P9={class:"card-footer"},I9=["textContent"],L9=["textContent"];function N9(e,t,n,r,o,s){const i=O("mdicon");return x(),we(Rt,{name:"fade"},{default:N(()=>[n.show?(x(),I("div",qV,[c("div",{class:"modal-background",onClick:t[0]||(t[0]=a=>e.$emit("close"))}),c("div",GV,[c("div",KV,[c("div",ZV,[c("p",{class:"title is-4",textContent:y(n.item.title)},null,8,YV),c("p",{class:"subtitle",textContent:y(n.item.artist)},null,8,XV),c("div",JV,[n.item.album?(x(),I("p",QV,[c("span",{class:"heading",textContent:y(e.$t("dialog.queue-item.album"))},null,8,e9),c("a",{class:"title is-6 has-text-link",onClick:t[1]||(t[1]=(...a)=>s.open_album&&s.open_album(...a)),textContent:y(n.item.album)},null,8,t9)])):ee("",!0),n.item.album_artist?(x(),I("p",n9,[c("span",{class:"heading",textContent:y(e.$t("dialog.queue-item.album-artist"))},null,8,r9),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:y(n.item.album_artist)},null,8,o9)])):ee("",!0),n.item.composer?(x(),I("p",s9,[c("span",{class:"heading",textContent:y(e.$t("dialog.queue-item.composer"))},null,8,i9),c("span",{class:"title is-6",textContent:y(n.item.composer)},null,8,a9)])):ee("",!0),n.item.year?(x(),I("p",l9,[c("span",{class:"heading",textContent:y(e.$t("dialog.queue-item.year"))},null,8,c9),c("span",{class:"title is-6",textContent:y(n.item.year)},null,8,u9)])):ee("",!0),n.item.genre?(x(),I("p",d9,[c("span",{class:"heading",textContent:y(e.$t("dialog.queue-item.genre"))},null,8,m9),c("a",{class:"title is-6 has-text-link",onClick:t[3]||(t[3]=(...a)=>s.open_genre&&s.open_genre(...a)),textContent:y(n.item.genre)},null,8,f9)])):ee("",!0),n.item.disc_number?(x(),I("p",p9,[c("span",{class:"heading",textContent:y(e.$t("dialog.queue-item.position"))},null,8,h9),c("span",{class:"title is-6",textContent:y([n.item.disc_number,n.item.track_number].join(" / "))},null,8,_9)])):ee("",!0),n.item.length_ms?(x(),I("p",g9,[c("span",{class:"heading",textContent:y(e.$t("dialog.queue-item.duration"))},null,8,y9),c("span",{class:"title is-6",textContent:y(e.$filters.durationInHours(n.item.length_ms))},null,8,z9)])):ee("",!0),c("p",null,[c("span",{class:"heading",textContent:y(e.$t("dialog.queue-item.path"))},null,8,v9),c("span",{class:"title is-6",textContent:y(n.item.path)},null,8,b9)]),c("p",null,[c("span",{class:"heading",textContent:y(e.$t("dialog.queue-item.type"))},null,8,C9),c("span",w9,[c("span",{textContent:y(`${e.$t(`media.kind.${n.item.media_kind}`)} - ${e.$t(`data.kind.${n.item.data_kind}`)}`)},null,8,k9)])]),n.item.samplerate?(x(),I("p",S9,[c("span",{class:"heading",textContent:y(e.$t("dialog.queue-item.quality"))},null,8,x9),c("span",E9,[c("span",{textContent:y(n.item.type)},null,8,$9),n.item.samplerate?(x(),I("span",{key:0,textContent:y(e.$t("dialog.queue-item.samplerate",{rate:n.item.samplerate}))},null,8,T9)):ee("",!0),n.item.channels?(x(),I("span",{key:1,textContent:y(e.$t("dialog.queue-item.channels",{channels:e.$filters.channels(n.item.channels)}))},null,8,A9)):ee("",!0),n.item.bitrate?(x(),I("span",{key:2,textContent:y(e.$t("dialog.queue-item.bitrate",{rate:n.item.bitrate}))},null,8,O9)):ee("",!0)])])):ee("",!0)])]),c("footer",P9,[c("a",{class:"card-footer-item has-text-dark",onClick:t[4]||(t[4]=(...a)=>s.remove&&s.remove(...a))},[b(i,{class:"icon",name:"delete",size:"16"}),c("span",{class:"is-size-7",textContent:y(e.$t("dialog.queue-item.remove"))},null,8,I9)]),c("a",{class:"card-footer-item has-text-dark",onClick:t[5]||(t[5]=(...a)=>s.play&&s.play(...a))},[b(i,{class:"icon",name:"play",size:"16"}),c("span",{class:"is-size-7",textContent:y(e.$t("dialog.queue-item.play"))},null,8,L9)])])])]),c("button",{class:"modal-close is-large","aria-label":"close",onClick:t[6]||(t[6]=a=>e.$emit("close"))})])):ee("",!0)]),_:1})}const iz=ae(WV,[["render",N9]]),jr=1e3,D9={name:"PageNowPlaying",components:{ControlSlider:Yd,CoverArtwork:Lr,LyricsPane:BV,ModalDialogQueueItem:iz},setup(){return{lyricsStore:Zl(),playerStore:En(),queueStore:tr(),settingsStore:sr()}},data(){return{INTERVAL:jr,cursor:Kl,interval_id:0,is_dragged:!1,selected_item:{},show_details_modal:!1}},computed:{composer(){if(this.settingsStore.show_composer_now_playing){const e=this.settingsStore.show_composer_for_genre;if(!e||this.track.genre&&e.toLowerCase().split(",").findIndex(t=>this.track.genre.toLowerCase().indexOf(t.trim())>=0)>=0)return this.track.composer}return null},is_live(){return this.track.length_ms===0},track(){return this.queueStore.current},track_elapsed_time(){return this.$filters.durationInHours(this.track_progress*jr)},track_progress:{get(){return Math.floor(this.playerStore.item_progress_ms/jr)},set(e){this.playerStore.item_progress_ms=e*jr}},track_progress_max(){return this.is_live?1:Math.floor(this.track.length_ms/jr)},track_total_time(){return this.is_live?this.$t("page.now-playing.live"):this.$filters.durationInHours(this.track.length_ms)}},watch:{playerStore(){this.interval_id>0&&(window.clearTimeout(this.interval_id),this.interval_id=0),this.playerStore.state==="play"&&(this.interval_id=window.setInterval(this.tick,jr))}},created(){B.player_status().then(({data:e})=>{this.playerStore.$state=e,this.playerStore.state==="play"&&(this.interval_id=window.setInterval(this.tick,jr))})},unmounted(){this.interval_id>0&&(window.clearTimeout(this.interval_id),this.interval_id=0)},methods:{end_dragging(){this.is_dragged=!1},open_dialog(e){this.selected_item=e,this.show_details_modal=!0},seek(){this.is_live||B.player_seek_to_pos(this.track_progress*jr)},start_dragging(){this.is_dragged=!0},tick(){this.is_dragged||(this.track_progress+=1)}}},R9={class:"hero is-full-height"},M9={key:0,class:"hero-body is-flex is-align-items-center"},F9={class:"container has-text-centered",style:{"max-width":"500px"}},V9={class:"is-flex is-justify-content-space-between"},H9=["textContent"],U9=["textContent"],j9=["textContent"],B9=["textContent"],W9=["textContent"],q9=["textContent"],G9=["textContent"],K9={key:1,class:"hero-body is-flex is-align-items-center"},Z9={class:"container has-text-centered"},Y9=["textContent"],X9=["textContent"];function J9(e,t,n,r,o,s){const i=O("cover-artwork"),a=O("lyrics-pane"),l=O("control-slider"),u=O("modal-dialog-queue-item");return x(),I("div",R9,[s.track.id>0?(x(),I("div",M9,[c("div",F9,[b(i,{url:s.track.artwork_url,artist:s.track.artist,album:s.track.album,class:ke(["is-clickable fd-has-shadow fd-cover-big-image",{"is-masked":r.lyricsStore.pane}]),onClick:t[0]||(t[0]=m=>s.open_dialog(s.track))},null,8,["url","artist","album","class"]),r.lyricsStore.pane?(x(),we(a,{key:0})):ee("",!0),b(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",V9,[c("p",{class:"subtitle is-7",textContent:y(s.track_elapsed_time)},null,8,H9),c("p",{class:"subtitle is-7",textContent:y(s.track_total_time)},null,8,U9)]),c("p",{class:"title is-5",textContent:y(s.track.title)},null,8,j9),c("p",{class:"title is-6",textContent:y(s.track.artist)},null,8,B9),s.composer?(x(),I("p",{key:1,class:"subtitle is-6 has-text-grey has-text-weight-bold",textContent:y(s.composer)},null,8,W9)):ee("",!0),s.track.album?(x(),I("p",{key:2,class:"subtitle is-6",textContent:y(s.track.album)},null,8,q9)):ee("",!0),r.settingsStore.show_filepath_now_playing?(x(),I("p",{key:3,class:"subtitle is-6 has-text-grey",textContent:y(s.track.path)},null,8,G9)):ee("",!0)])])):(x(),I("div",K9,[c("div",Z9,[c("p",{class:"title is-5",textContent:y(e.$t("page.now-playing.title"))},null,8,Y9),c("p",{class:"subtitle",textContent:y(e.$t("page.now-playing.info"))},null,8,X9)])])),b(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 Q9=ae(D9,[["render",J9]]),va={load(e){return Promise.all([B.library_playlist(e.params.id),B.library_playlist_folder(e.params.id)])},set(e,t){e.playlist=t[0].data,e.playlists_list=new Ee(t[1].data)}},eH={name:"PagePlaylistFolder",components:{ContentWithHeading:Qe,ListPlaylists:fl},beforeRouteEnter(e,t,n){va.load(e).then(r=>{n(o=>va.set(o,r))})},beforeRouteUpdate(e,t,n){va.load(e).then(r=>{va.set(this,r),n()})},setup(){return{configurationStore:Fo()}},data(){return{playlist:{},playlists_list:new Ee}},computed:{playlists(){return this.playlists_list.group({filters:[e=>e.folder||this.radio_playlists||e.stream_count===0||e.item_count>e.stream_count]})},radio_playlists(){return this.configurationStore.radio_playlists}}},tH=["textContent"],nH=["textContent"];function rH(e,t,n,r,o,s){const i=O("list-playlists"),a=O("content-with-heading");return x(),I("div",null,[b(a,null,{"heading-left":N(()=>[c("p",{class:"title is-4",textContent:y(o.playlist.id===0?e.$t("page.playlists.title"):o.playlist.name)},null,8,tH),c("p",{class:"heading",textContent:y(e.$t("page.playlists.count",{count:s.playlists.count}))},null,8,nH)]),content:N(()=>[b(i,{items:s.playlists},null,8,["items"])]),_:1})])}const oH=ae(eH,[["render",rH]]),_h={load(e){return Promise.all([B.library_playlist(e.params.id),B.library_playlist_tracks(e.params.id)])},set(e,t){e.playlist=t[0].data,e.tracks=new Ee(t[1].data)}},sH={name:"PagePlaylistTracks",components:{ContentWithHeading:Qe,ListTracks:gn,ModalDialogPlaylist:oz},beforeRouteEnter(e,t,n){_h.load(e).then(r=>{n(o=>_h.set(o,r))})},data(){return{playlist:{},show_details_modal:!1,tracks:new Ee}},computed:{uris(){return this.playlist.random?this.tracks.map(e=>e.uri).join():this.playlist.uri}},methods:{play(){B.player_play_uri(this.uris,!0)}}},iH=["textContent"],aH={class:"buttons is-centered"},lH=["textContent"],cH=["textContent"];function uH(e,t,n,r,o,s){const i=O("mdicon"),a=O("list-tracks"),l=O("modal-dialog-playlist"),u=O("content-with-heading");return x(),I("div",null,[b(u,null,{"heading-left":N(()=>[c("div",{class:"title is-4",textContent:y(o.playlist.name)},null,8,iH)]),"heading-right":N(()=>[c("div",aH,[c("a",{class:"button is-small is-light is-rounded",onClick:t[0]||(t[0]=m=>o.show_details_modal=!0)},[b(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))},[b(i,{class:"icon",name:"shuffle",size:"16"}),c("span",{textContent:y(e.$t("page.playlist.shuffle"))},null,8,lH)])])]),content:N(()=>[c("p",{class:"heading has-text-centered-mobile",textContent:y(e.$t("page.playlist.track-count",{count:o.tracks.count}))},null,8,cH),b(a,{items:o.tracks,uris:s.uris},null,8,["items","uris"]),b(l,{item:o.playlist,show:o.show_details_modal,uris:s.uris,onClose:t[2]||(t[2]=m=>o.show_details_modal=!1)},null,8,["item","show","uris"])]),_:1})])}const dH=ae(sH,[["render",uH]]),Xu=50,gh={load(e){const t=new ir;return t.setAccessToken(Pt().spotify.webapi_token),Promise.all([t.getPlaylist(e.params.id),t.getPlaylistTracks(e.params.id,{limit:Xu,market:Pt().$state.spotify.webapi_country,offset:0})])},set(e,t){e.playlist=t.shift(),e.tracks=[],e.total=0,e.offset=0,e.append_tracks(t.shift())}},mH={name:"PagePlaylistTracksSpotify",components:{ContentWithHeading:Qe,ListTracksSpotify:dl,ModalDialogPlaylistSpotify:sz,VueEternalLoading:cm},beforeRouteEnter(e,t,n){gh.load(e).then(r=>{n(o=>gh.set(o,r))})},setup(){return{servicesStore:Pt()}},data(){return{offset:0,playlist:{tracks:{}},show_playlist_details_modal:!1,total:0,tracks:[]}},methods:{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},load_next({loaded:e}){const t=new ir;t.setAccessToken(this.servicesStore.spotify.webapi_token),t.getPlaylistTracks(this.playlist.id,{limit:Xu,market:this.servicesStore.spotify.webapi_country,offset:this.offset}).then(n=>{this.append_tracks(n),e(n.items.length,Xu)})},play(){this.show_details_modal=!1,B.player_play_uri(this.playlist.uri,!0)}}},fH=["textContent"],pH={class:"buttons is-centered"},hH=["textContent"],_H=["textContent"],gH={class:"columns is-centered"},yH={class:"column has-text-centered"},zH=c("br",null,null,-1);function vH(e,t,n,r,o,s){const i=O("mdicon"),a=O("list-tracks-spotify"),l=O("VueEternalLoading"),u=O("modal-dialog-playlist-spotify"),m=O("content-with-heading");return x(),I("div",null,[b(m,null,{"heading-left":N(()=>[c("div",{class:"title is-4",textContent:y(o.playlist.name)},null,8,fH)]),"heading-right":N(()=>[c("div",pH,[c("a",{class:"button is-small is-light is-rounded",onClick:t[0]||(t[0]=d=>o.show_playlist_details_modal=!0)},[b(i,{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))},[b(i,{class:"icon",name:"shuffle",size:"16"}),c("span",{textContent:y(e.$t("page.spotify.playlist.shuffle"))},null,8,hH)])])]),content:N(()=>[c("p",{class:"heading has-text-centered-mobile",textContent:y(e.$t("page.spotify.playlist.count",{count:o.playlist.tracks.total}))},null,8,_H),b(a,{items:o.tracks,context_uri:o.playlist.uri},null,8,["items","context_uri"]),o.offset<o.total?(x(),we(l,{key:0,load:s.load_next},{loading:N(()=>[c("div",gH,[c("div",yH,[b(i,{class:"icon mdi-spin",name:"loading"})])])]),"no-more":N(()=>[zH]),_:1},8,["load"])):ee("",!0),b(u,{item:o.playlist,show:o.show_playlist_details_modal,onClose:t[2]||(t[2]=d=>o.show_playlist_details_modal=!1)},null,8,["item","show"])]),_:1})])}const bH=ae(mH,[["render",vH]]),yh={load(e){return Promise.all([B.library_album(e.params.id),B.library_podcast_episodes(e.params.id)])},set(e,t){e.album=t[0].data,e.tracks=new Ee(t[1].data.tracks)}},CH={name:"PagePodcast",components:{ContentWithHero:rc,CoverArtwork:Lr,ListTracks:gn,ModalDialog:Zd,ModalDialogAlbum:oc},beforeRouteEnter(e,t,n){yh.load(e).then(r=>{n(o=>yh.set(o,r))})},data(){return{album:{},rss_playlist_to_remove:{},show_details_modal:!1,show_remove_podcast_modal:!1,tracks:new Ee}},methods:{open_remove_podcast_dialog(){B.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(){B.player_play_uri(this.album.uri,!1)},reload_tracks(){B.library_podcast_episodes(this.album.id).then(({data:e})=>{this.tracks=new Ee(e.tracks)})},remove_podcast(){this.show_remove_podcast_modal=!1,B.library_playlist_delete(this.rss_playlist_to_remove.id).then(()=>{this.$router.replace({name:"podcasts"})})}}},wH=["textContent"],kH=c("h2",{class:"subtitle is-6"},[c("br")],-1),SH={class:"buttons fd-is-centered-mobile mt-5"},xH=["textContent"],EH=["textContent"],$H=["textContent"],TH={class:"is-size-7"},AH=["textContent"],OH=["textContent"];function PH(e,t,n,r,o,s){const i=O("mdicon"),a=O("cover-artwork"),l=O("list-tracks"),u=O("modal-dialog-album"),m=O("modal-dialog"),d=O("content-with-hero");return x(),I("div",null,[b(d,null,{"heading-left":N(()=>[c("h1",{class:"title is-5",textContent:y(o.album.name)},null,8,wH),kH,c("div",SH,[c("a",{class:"button is-small is-dark is-rounded",onClick:t[0]||(t[0]=(...f)=>s.play&&s.play(...f))},[b(i,{class:"icon",name:"play",size:"16"}),c("span",{textContent:y(e.$t("page.podcast.play"))},null,8,xH)]),c("a",{class:"button is-small is-light is-rounded",onClick:t[1]||(t[1]=f=>o.show_details_modal=!0)},[b(i,{class:"icon",name:"dots-horizontal",size:"16"})])])]),"heading-right":N(()=>[b(a,{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,["url","artist","album"])]),content:N(()=>[c("p",{class:"heading has-text-centered-mobile mt-5",textContent:y(e.$t("page.podcast.track-count",{count:o.album.track_count}))},null,8,EH),b(l,{items:o.tracks,show_progress:!0,onPlayCountChanged:s.reload_tracks},null,8,["items","onPlayCountChanged"]),b(u,{item:o.album,show:o.show_details_modal,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,["item","show","onPlayCountChanged","onRemovePodcast"]),b(m,{show:o.show_remove_podcast_modal,title:e.$t("page.podcast.remove-podcast"),close_action:e.$t("page.podcast.cancel"),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":N(()=>[c("p",{textContent:y(e.$t("page.podcast.remove-info-1"))},null,8,$H),c("p",TH,[Dt(" ("),c("span",{textContent:y(e.$t("page.podcast.remove-info-2"))},null,8,AH),c("b",{textContent:y(o.rss_playlist_to_remove.name)},null,8,OH),Dt(") ")])]),_:1},8,["show","title","close_action","delete_action","onDelete"])]),_:1})])}const IH=ae(CH,[["render",PH]]),LH={name:"ModalDialogAddRss",props:{show:Boolean},emits:["close","podcast-added"],data(){return{disabled:!0,loading:!1,url:""}},watch:{show(){this.show&&(this.loading=!1,setTimeout(()=>{this.$refs.url_field.focus()},10))}},methods:{add_stream(){this.loading=!0,B.library_add(this.url).then(()=>{this.$emit("close"),this.$emit("podcast-added"),this.url=""}).catch(()=>{this.loading=!1})},check_url(e){const{validity:t}=e.target;this.disabled=t.patternMismatch||t.valueMissing}}},NH={key:0,class:"modal is-active"},DH={class:"modal-content"},RH={class:"card-content"},MH=["textContent"],FH={class:"field"},VH={class:"control has-icons-left"},HH=["placeholder","disabled"],UH=["textContent"],jH={key:0,class:"card-footer"},BH={class:"card-footer-item has-text-dark"},WH=["textContent"],qH={key:1,class:"card-footer is-clipped"},GH=["textContent"],KH=["textContent"];function ZH(e,t,n,r,o,s){const i=O("mdicon");return x(),we(Rt,{name:"fade"},{default:N(()=>[n.show?(x(),I("div",NH,[c("div",{class:"modal-background",onClick:t[0]||(t[0]=a=>e.$emit("close"))}),c("div",DH,[c("form",{class:"card",onSubmit:t[5]||(t[5]=gt((...a)=>s.add_stream&&s.add_stream(...a),["prevent"]))},[c("div",RH,[c("p",{class:"title is-4",textContent:y(e.$t("dialog.add.rss.title"))},null,8,MH),c("div",FH,[c("p",VH,[ht(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,onInput:t[2]||(t[2]=(...a)=>s.check_url&&s.check_url(...a))},null,40,HH),[[_n,o.url]]),b(i,{class:"icon is-left",name:"rss",size:"16"})]),c("p",{class:"help",textContent:y(e.$t("dialog.add.rss.help"))},null,8,UH)])]),o.loading?(x(),I("footer",jH,[c("a",BH,[b(i,{class:"icon",name:"web",size:"16"}),c("span",{class:"is-size-7",textContent:y(e.$t("dialog.add.rss.processing"))},null,8,WH)])])):(x(),I("footer",qH,[c("a",{class:"card-footer-item has-text-dark",onClick:t[3]||(t[3]=a=>e.$emit("close"))},[b(i,{class:"icon",name:"cancel",size:"16"}),c("span",{class:"is-size-7",textContent:y(e.$t("dialog.add.rss.cancel"))},null,8,GH)]),c("a",{class:ke([{"is-disabled":o.disabled},"card-footer-item has-background-info has-text-white has-text-weight-bold"]),onClick:t[4]||(t[4]=(...a)=>s.add_stream&&s.add_stream(...a))},[b(i,{class:"icon",name:"playlist-plus",size:"16"}),c("span",{class:"is-size-7",textContent:y(e.$t("dialog.add.rss.add"))},null,8,KH)],2)]))],32)]),c("button",{class:"modal-close is-large","aria-label":"close",onClick:t[6]||(t[6]=a=>e.$emit("close"))})])):ee("",!0)]),_:1})}const YH=ae(LH,[["render",ZH]]),zh={load(e){return Promise.all([B.library_albums("podcast"),B.library_podcasts_new_episodes()])},set(e,t){e.albums=new Ee(t[0].data),e.tracks=new Ee(t[1].data.tracks)}},XH={name:"PagePodcasts",components:{ContentWithHeading:Qe,ListAlbums:wn,ListTracks:gn,ModalDialogAddRss:YH},beforeRouteEnter(e,t,n){zh.load(e).then(r=>{n(o=>zh.set(o,r))})},setup(){return{libraryStore:Gl(),uiStore:yn()}},data(){return{albums:[],tracks:{items:[]},show_url_modal:!1}},computed:{rss(){return this.libraryStore.rss}},methods:{mark_all_played(){this.tracks.items.forEach(e=>{B.library_track_update(e.id,{play_count:"increment"})}),this.tracks.items={}},open_add_podcast_dialog(){this.show_url_modal=!0},reload_new_episodes(){B.library_podcasts_new_episodes().then(({data:e})=>{this.tracks=new Ee(e.tracks)})},reload_podcasts(){B.library_albums("podcast").then(({data:e})=>{this.albums=new Ee(e),this.reload_new_episodes()})},update_rss(){this.libraryStore.update_dialog_scan_kind="rss",this.uiStore.show_update_dialog=!0}}},JH=["textContent"],QH={class:"buttons is-centered"},eU=["textContent"],tU=["textContent"],nU=["textContent"],rU={class:"buttons is-centered"},oU=["textContent"],sU=["textContent"];function iU(e,t,n,r,o,s){const i=O("mdicon"),a=O("list-tracks"),l=O("content-with-heading"),u=O("list-albums"),m=O("modal-dialog-add-rss");return x(),I("div",null,[o.tracks.items.length>0?(x(),we(l,{key:0},{"heading-left":N(()=>[c("p",{class:"title is-4",textContent:y(e.$t("page.podcasts.new-episodes"))},null,8,JH)]),"heading-right":N(()=>[c("div",QH,[c("a",{class:"button is-small",onClick:t[0]||(t[0]=(...d)=>s.mark_all_played&&s.mark_all_played(...d))},[b(i,{class:"icon",name:"pencil",size:"16"}),c("span",{textContent:y(e.$t("page.podcasts.mark-all-played"))},null,8,eU)])])]),content:N(()=>[b(a,{items:o.tracks,show_progress:!0,onPlayCountChanged:s.reload_new_episodes},null,8,["items","onPlayCountChanged"])]),_:1})):ee("",!0),b(l,null,{"heading-left":N(()=>[c("p",{class:"title is-4",textContent:y(e.$t("page.podcasts.title"))},null,8,tU),c("p",{class:"heading",textContent:y(e.$t("page.podcasts.count",{count:o.albums.total}))},null,8,nU)]),"heading-right":N(()=>[c("div",rU,[s.rss.tracks>0?(x(),I("a",{key:0,class:"button is-small",onClick:t[1]||(t[1]=(...d)=>s.update_rss&&s.update_rss(...d))},[b(i,{class:"icon",name:"refresh",size:"16"}),c("span",{textContent:y(e.$t("page.podcasts.update"))},null,8,oU)])):ee("",!0),c("a",{class:"button is-small",onClick:t[2]||(t[2]=(...d)=>s.open_add_podcast_dialog&&s.open_add_podcast_dialog(...d))},[b(i,{class:"icon",name:"rss",size:"16"}),c("span",{textContent:y(e.$t("page.podcasts.add"))},null,8,sU)])])]),content:N(()=>[b(u,{items:o.albums,onPlayCountChanged:t[3]||(t[3]=d=>s.reload_new_episodes()),onPodcastDeleted:t[4]||(t[4]=d=>s.reload_podcasts())},null,8,["items"]),b(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 aU=ae(XH,[["render",iU]]),lU={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},setup(){return{playerStore:En()}},computed:{is_next(){return this.current_position<0||this.position>=this.current_position},player(){return this.playerStore}},methods:{play(){B.player_play({item_id:this.item.id})}}},cU={key:0,class:"media is-align-items-center"},uU={key:0,class:"media-left"},dU=["textContent"],mU=["textContent"],fU=["textContent"],pU={class:"media-right"};function hU(e,t,n,r,o,s){const i=O("mdicon");return s.is_next||!n.show_only_next_items?(x(),I("div",cU,[n.edit_mode?(x(),I("div",uU,[b(i,{class:"icon has-text-grey fd-is-movable handle",name:"drag-horizontal",size:"16"})])):ee("",!0),c("div",{class:"media-content is-clickable is-clipped",onClick:t[0]||(t[0]=(...a)=>s.play&&s.play(...a))},[c("h1",{class:ke(["title is-6",{"has-text-primary":n.item.id===s.player.item_id,"has-text-grey-light":!s.is_next}]),textContent:y(n.item.title)},null,10,dU),c("h2",{class:ke(["subtitle is-7 has-text-weight-bold",{"has-text-primary":n.item.id===s.player.item_id,"has-text-grey-light":!s.is_next,"has-text-grey":s.is_next&&n.item.id!==s.player.item_id}]),textContent:y(n.item.artist)},null,10,mU),c("h2",{class:ke(["subtitle is-7",{"has-text-primary":n.item.id===s.player.item_id,"has-text-grey-light":!s.is_next,"has-text-grey":s.is_next&&n.item.id!==s.player.item_id}]),textContent:y(n.item.album)},null,10,fU)]),c("div",pU,[vt(e.$slots,"actions")])])):ee("",!0)}const _U=ae(lU,[["render",hU]]),gU={name:"ModalDialogAddUrlStream",props:{show:Boolean},emits:["close"],data(){return{disabled:!0,loading:!1,url:""}},watch:{show(){this.show&&(this.loading=!1,setTimeout(()=>{this.$refs.url_field.focus()},10))}},methods:{add_stream(){this.loading=!0,B.queue_add(this.url).then(()=>{this.$emit("close"),this.url=""}).catch(()=>{this.loading=!1})},check_url(e){const{validity:t}=e.target;this.disabled=t.patternMismatch||t.valueMissing},play(){this.loading=!0,B.player_play_uri(this.url,!1).then(()=>{this.$emit("close"),this.url=""}).catch(()=>{this.loading=!1})}}},yU={key:0,class:"modal is-active"},zU={class:"modal-content"},vU={class:"card-content"},bU=["textContent"],CU={class:"field"},wU={class:"control has-icons-left"},kU=["placeholder","disabled"],SU={key:0,class:"card-footer"},xU={class:"card-footer-item has-text-dark"},EU=["textContent"],$U={key:1,class:"card-footer is-clipped"},TU=["textContent"],AU=["textContent"],OU=["textContent"];function PU(e,t,n,r,o,s){const i=O("mdicon");return x(),we(Rt,{name:"fade"},{default:N(()=>[n.show?(x(),I("div",yU,[c("div",{class:"modal-background",onClick:t[0]||(t[0]=a=>e.$emit("close"))}),c("div",zU,[c("form",{class:"card",onSubmit:t[6]||(t[6]=gt((...a)=>s.play&&s.play(...a),["prevent"]))},[c("div",vU,[c("p",{class:"title is-4",textContent:y(e.$t("dialog.add.stream.title"))},null,8,bU),c("div",CU,[c("p",wU,[ht(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,onInput:t[2]||(t[2]=(...a)=>s.check_url&&s.check_url(...a))},null,40,kU),[[_n,o.url]]),b(i,{class:"icon is-left",name:"web",size:"16"})])])]),o.loading?(x(),I("footer",SU,[c("a",xU,[b(i,{class:"icon",name:"web",size:"16"}),c("span",{class:"is-size-7",textContent:y(e.$t("dialog.add.stream.loading"))},null,8,EU)])])):(x(),I("footer",$U,[c("a",{class:"card-footer-item has-text-dark",onClick:t[3]||(t[3]=a=>e.$emit("close"))},[b(i,{class:"icon",name:"cancel",size:"16"}),c("span",{class:"is-size-7",textContent:y(e.$t("dialog.add.stream.cancel"))},null,8,TU)]),c("a",{class:ke([{"is-disabled":o.disabled},"card-footer-item has-text-dark"]),onClick:t[4]||(t[4]=(...a)=>s.add_stream&&s.add_stream(...a))},[b(i,{class:"icon",name:"playlist-plus",size:"16"}),c("span",{class:"is-size-7",textContent:y(e.$t("dialog.add.stream.add"))},null,8,AU)],2),c("a",{class:ke([{"is-disabled":o.disabled},"card-footer-item has-background-info has-text-white has-text-weight-bold"]),onClick:t[5]||(t[5]=(...a)=>s.play&&s.play(...a))},[b(i,{class:"icon",name:"play",size:"16"}),c("span",{class:"is-size-7",textContent:y(e.$t("dialog.add.stream.play"))},null,8,OU)],2)]))],32)]),c("button",{class:"modal-close is-large","aria-label":"close",onClick:t[7]||(t[7]=a=>e.$emit("close"))})])):ee("",!0)]),_:1})}const IU=ae(gU,[["render",PU]]),LU={name:"ModalDialogPlaylistSave",props:{show:Boolean},emits:["close"],data(){return{disabled:!0,loading:!1,playlist_name:""}},watch:{show(){this.show&&(this.loading=!1,setTimeout(()=>{this.$refs.playlist_name_field.focus()},10))}},methods:{check_name(e){const{validity:t}=e.target;this.disabled=t.patternMismatch||t.valueMissing},save(){this.loading=!0,B.queue_save_playlist(this.playlist_name).then(()=>{this.$emit("close"),this.playlist_name=""}).catch(()=>{this.loading=!1})}}},NU={key:0,class:"modal is-active"},DU={class:"modal-content"},RU={class:"card-content"},MU=["textContent"],FU={class:"field"},VU={class:"control has-icons-left"},HU=["placeholder","disabled"],UU={key:0,class:"card-footer"},jU={class:"card-footer-item has-text-dark"},BU=["textContent"],WU={key:1,class:"card-footer is-clipped"},qU=["textContent"],GU=["textContent"];function KU(e,t,n,r,o,s){const i=O("mdicon");return x(),we(Rt,{name:"fade"},{default:N(()=>[n.show?(x(),I("div",NU,[c("div",{class:"modal-background",onClick:t[0]||(t[0]=a=>e.$emit("close"))}),c("div",DU,[c("form",{class:"card",onSubmit:t[5]||(t[5]=gt((...a)=>s.save&&s.save(...a),["prevent"]))},[c("div",RU,[c("p",{class:"title is-4",textContent:y(e.$t("dialog.playlist.save.title"))},null,8,MU),c("div",FU,[c("p",VU,[ht(c("input",{ref:"playlist_name_field","onUpdate:modelValue":t[1]||(t[1]=a=>o.playlist_name=a),class:"input is-shadowless",type:"text",pattern:".+",required:"",placeholder:e.$t("dialog.playlist.save.playlist-name"),disabled:o.loading,onInput:t[2]||(t[2]=(...a)=>s.check_name&&s.check_name(...a))},null,40,HU),[[_n,o.playlist_name]]),b(i,{class:"icon is-left",name:"file-music",size:"16"})])])]),o.loading?(x(),I("footer",UU,[c("a",jU,[b(i,{class:"icon",name:"web",size:"16"}),c("span",{class:"is-size-7",textContent:y(e.$t("dialog.playlist.save.saving"))},null,8,BU)])])):(x(),I("footer",WU,[c("a",{class:"card-footer-item has-text-danger",onClick:t[3]||(t[3]=a=>e.$emit("close"))},[b(i,{class:"icon",name:"cancel",size:"16"}),c("span",{class:"is-size-7",textContent:y(e.$t("dialog.playlist.save.cancel"))},null,8,qU)]),c("a",{class:ke([{"is-disabled":o.disabled},"card-footer-item has-background-info has-text-white has-text-weight-bold"]),onClick:t[4]||(t[4]=(...a)=>s.save&&s.save(...a))},[b(i,{class:"icon",name:"content-save",size:"16"}),c("span",{class:"is-size-7",textContent:y(e.$t("dialog.playlist.save.save"))},null,8,GU)],2)]))],32)]),c("button",{class:"modal-close is-large","aria-label":"close",onClick:t[6]||(t[6]=a=>e.$emit("close"))})])):ee("",!0)]),_:1})}const ZU=ae(LU,[["render",KU]]);var az={exports:{}};/**!
* Sortable 1.14.0
* @author RubaXa <trash@rubaxa.org>
* @author owenm <owen23355@gmail.com>
* @license MIT
*/function vh(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 gr(e){for(var t=1;t<arguments.length;t++){var n=arguments[t]!=null?arguments[t]:{};t%2?vh(Object(n),!0).forEach(function(r){YU(e,r,n[r])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):vh(Object(n)).forEach(function(r){Object.defineProperty(e,r,Object.getOwnPropertyDescriptor(n,r))})}return e}function Ra(e){"@babel/helpers - typeof";return typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?Ra=function(t){return typeof t}:Ra=function(t){return t&&typeof Symbol=="function"&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t},Ra(e)}function YU(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function Vn(){return Vn=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},Vn.apply(this,arguments)}function XU(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 JU(e,t){if(e==null)return{};var n=XU(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 QU(e){return ej(e)||tj(e)||nj(e)||rj()}function ej(e){if(Array.isArray(e))return Ju(e)}function tj(e){if(typeof Symbol<"u"&&e[Symbol.iterator]!=null||e["@@iterator"]!=null)return Array.from(e)}function nj(e,t){if(e){if(typeof e=="string")return Ju(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 Ju(e,t)}}function Ju(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 rj(){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 oj="1.14.0";function Ar(e){if(typeof window<"u"&&window.navigator)return!!navigator.userAgent.match(e)}var Nr=Ar(/(?:Trident.*rv[ :]?11\.|msie|iemobile|Windows Phone)/i),Gi=Ar(/Edge/i),bh=Ar(/firefox/i),pi=Ar(/safari/i)&&!Ar(/chrome/i)&&!Ar(/android/i),lz=Ar(/iP(ad|od|hone)/i),sj=Ar(/chrome/i)&&Ar(/android/i),cz={capture:!1,passive:!1};function Ze(e,t,n){e.addEventListener(t,n,!Nr&&cz)}function qe(e,t,n){e.removeEventListener(t,n,!Nr&&cz)}function hl(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 ij(e){return e.host&&e!==document&&e.host.nodeType?e.host:e.parentNode}function Zn(e,t,n,r){if(e){n=n||document;do{if(t!=null&&(t[0]===">"?e.parentNode===n&&hl(e,t):hl(e,t))||r&&e===n)return e;if(e===n)break}while(e=ij(e))}return null}var Ch=/\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(Ch," ").replace(" "+t+" "," ");e.className=(r+(n?" "+t:"")).replace(Ch," ")}}function be(e,t,n){var r=e&&e.style;if(r){if(n===void 0)return document.defaultView&&document.defaultView.getComputedStyle?n=document.defaultView.getComputedStyle(e,""):e.currentStyle&&(n=e.currentStyle),t===void 0?n:n[t];!(t in r)&&t.indexOf("webkit")===-1&&(t="-webkit-"+t),r[t]=n+(typeof n=="string"?"":"px")}}function Lo(e,t){var n="";if(typeof e=="string")n=e;else do{var r=be(e,"transform");r&&r!=="none"&&(n=r+" "+n)}while(!t&&(e=e.parentNode));var o=window.DOMMatrix||window.WebKitCSSMatrix||window.CSSMatrix||window.MSCSSMatrix;return o&&new o(n)}function uz(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 pr(){var e=document.scrollingElement;return e||document.documentElement}function zt(e,t,n,r,o){if(!(!e.getBoundingClientRect&&e!==window)){var s,i,a,l,u,m,d;if(e!==window&&e.parentNode&&e!==pr()?(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,!Nr))do if(o&&o.getBoundingClientRect&&(be(o,"transform")!=="none"||n&&be(o,"position")!=="static")){var f=o.getBoundingClientRect();i-=f.top+parseInt(be(o,"border-top-width")),a-=f.left+parseInt(be(o,"border-left-width")),l=i+s.height,u=a+s.width;break}while(o=o.parentNode);if(r&&e!==window){var p=Lo(o||e),h=p&&p.a,g=p&&p.d;p&&(i/=g,a/=h,d/=h,m/=g,l=i+m,u=a+d)}return{top:i,left:a,bottom:l,right:u,width:d,height:m}}}function wh(e,t,n){for(var r=to(e,!0),o=zt(e)[t];r;){var s=zt(r)[n],i=void 0;if(i=o>=s,!i)return r;if(r===pr())break;r=to(r,!1)}return!1}function Es(e,t,n,r){for(var o=0,s=0,i=e.children;s<i.length;){if(i[s].style.display!=="none"&&i[s]!==Ie.ghost&&(r||i[s]!==Ie.dragged)&&Zn(i[s],n.draggable,e,!1)){if(o===t)return i[s];o++}s++}return null}function fm(e,t){for(var n=e.lastElementChild;n&&(n===Ie.ghost||be(n,"display")==="none"||t&&!hl(n,t));)n=n.previousElementSibling;return n||null}function Tt(e,t){var n=0;if(!e||!e.parentNode)return-1;for(;e=e.previousElementSibling;)e.nodeName.toUpperCase()!=="TEMPLATE"&&e!==Ie.clone&&(!t||hl(e,t))&&n++;return n}function kh(e){var t=0,n=0,r=pr();if(e)do{var o=Lo(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 aj(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 to(e,t){if(!e||!e.getBoundingClientRect)return pr();var n=e,r=!1;do if(n.clientWidth<n.scrollWidth||n.clientHeight<n.scrollHeight){var o=be(n);if(n.clientWidth<n.scrollWidth&&(o.overflowX=="auto"||o.overflowX=="scroll")||n.clientHeight<n.scrollHeight&&(o.overflowY=="auto"||o.overflowY=="scroll")){if(!n.getBoundingClientRect||n===document.body)return pr();if(r||t)return n;r=!0}}while(n=n.parentNode);return pr()}function lj(e,t){if(e&&t)for(var n in t)t.hasOwnProperty(n)&&(e[n]=t[n]);return e}function Vc(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 hi;function dz(e,t){return function(){if(!hi){var n=arguments,r=this;n.length===1?e.call(r,n[0]):e.apply(r,n),hi=setTimeout(function(){hi=void 0},t)}}}function cj(){clearTimeout(hi),hi=void 0}function mz(e,t,n){e.scrollLeft+=t,e.scrollTop+=n}function pm(e){var t=window.Polymer,n=window.jQuery||window.Zepto;return t&&t.dom?t.dom(e).cloneNode(!0):n?n(e).clone(!0)[0]:e.cloneNode(!0)}function Sh(e,t){be(e,"position","absolute"),be(e,"top",t.top),be(e,"left",t.left),be(e,"width",t.width),be(e,"height",t.height)}function Hc(e){be(e,"position",""),be(e,"top",""),be(e,"left",""),be(e,"width",""),be(e,"height","")}var Zt="Sortable"+new Date().getTime();function uj(){var e=[],t;return{captureAnimationState:function(){if(e=[],!!this.options.animation){var r=[].slice.call(this.el.children);r.forEach(function(o){if(!(be(o,"display")==="none"||o===Ie.ghost)){e.push({target:o,rect:zt(o)});var s=gr({},e[e.length-1].rect);if(o.thisAnimationDuration){var i=Lo(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(aj(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=zt(u),f=u.prevFromRect,p=u.prevToRect,h=a.rect,g=Lo(u,!0);g&&(d.top-=g.f,d.left-=g.e),u.toRect=d,u.thisAnimationDuration&&Vc(f,d)&&!Vc(m,d)&&(h.top-d.top)/(h.left-d.left)===(m.top-d.top)/(m.left-d.left)&&(l=mj(h,f,p,o.options)),Vc(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){be(r,"transition",""),be(r,"transform","");var a=Lo(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,be(r,"transform","translate3d("+m+"px,"+d+"px,0)"),this.forRepaintDummy=dj(r),be(r,"transition","transform "+i+"ms"+(this.options.easing?" "+this.options.easing:"")),be(r,"transform","translate3d(0,0,0)"),typeof r.animated=="number"&&clearTimeout(r.animated),r.animated=setTimeout(function(){be(r,"transition",""),be(r,"transform",""),r.animated=!1,r.animatingX=!1,r.animatingY=!1},i)}}}}function dj(e){return e.offsetWidth}function mj(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 Xo=[],Uc={initializeByDefault:!0},Ki={mount:function(t){for(var n in Uc)Uc.hasOwnProperty(n)&&!(n in t)&&(t[n]=Uc[n]);Xo.forEach(function(r){if(r.pluginName===t.pluginName)throw"Sortable: Cannot mount plugin ".concat(t.pluginName," more than once")}),Xo.push(t)},pluginEvent:function(t,n,r){var o=this;this.eventCanceled=!1,r.cancel=function(){o.eventCanceled=!0};var s=t+"Global";Xo.forEach(function(i){n[i.pluginName]&&(n[i.pluginName][s]&&n[i.pluginName][s](gr({sortable:n},r)),n.options[i.pluginName]&&n[i.pluginName][t]&&n[i.pluginName][t](gr({sortable:n},r)))})},initializePlugins:function(t,n,r,o){Xo.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,Vn(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 Xo.forEach(function(o){typeof o.eventProperties=="function"&&Vn(r,o.eventProperties.call(n[o.pluginName],t))}),r},modifyOption:function(t,n,r){var o;return Xo.forEach(function(s){t[s.pluginName]&&s.optionListeners&&typeof s.optionListeners[n]=="function"&&(o=s.optionListeners[n].call(t[s.pluginName],r))}),o}};function Qs(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[Zt],!!t){var g,z=t.options,k="on"+r.charAt(0).toUpperCase()+r.substr(1);window.CustomEvent&&!Nr&&!Gi?g=new CustomEvent(r,{bubbles:!0,cancelable:!0}):(g=document.createEvent("Event"),g.initEvent(r,!0,!0)),g.to=i||n,g.from=a||n,g.item=o||n,g.clone=s,g.oldIndex=l,g.newIndex=u,g.oldDraggableIndex=m,g.newDraggableIndex=d,g.originalEvent=f,g.pullMode=p?p.lastPutMode:void 0;var w=gr(gr({},h),Ki.getEventProperties(r,t));for(var _ in w)g[_]=w[_];n&&n.dispatchEvent(g),z[k]&&z[k].call(t,g)}}var fj=["evt"],an=function(t,n){var r=arguments.length>2&&arguments[2]!==void 0?arguments[2]:{},o=r.evt,s=JU(r,fj);Ki.pluginEvent.bind(Ie)(t,n,gr({dragEl:he,parentEl:St,ghostEl:je,rootEl:yt,nextEl:ko,lastDownEl:Ma,cloneEl:xt,cloneHidden:eo,dragStarted:ei,putSortable:Bt,activeSortable:Ie.active,originalEvent:o,oldIndex:ls,oldDraggableIndex:_i,newIndex:vn,newDraggableIndex:Xr,hideGhostForTarget:_z,unhideGhostForTarget:gz,cloneNowHidden:function(){eo=!0},cloneNowShown:function(){eo=!1},dispatchSortableEvent:function(a){en({sortable:n,name:a,originalEvent:o})}},s))};function en(e){Qs(gr({putSortable:Bt,cloneEl:xt,targetEl:he,rootEl:yt,oldIndex:ls,oldDraggableIndex:_i,newIndex:vn,newDraggableIndex:Xr},e))}var he,St,je,yt,ko,Ma,xt,eo,ls,vn,_i,Xr,ba,Bt,ss=!1,_l=!1,gl=[],Co,Gn,jc,Bc,xh,Eh,ei,Jo,gi,yi=!1,Ca=!1,Fa,Wt,Wc=[],Qu=!1,yl=[],ic=typeof document<"u",wa=lz,$h=Gi||Nr?"cssFloat":"float",pj=ic&&!sj&&!lz&&"draggable"in document.createElement("div"),fz=function(){if(ic){if(Nr)return!1;var e=document.createElement("x");return e.style.cssText="pointer-events:auto",e.style.pointerEvents==="auto"}}(),pz=function(t,n){var r=be(t),o=parseInt(r.width)-parseInt(r.paddingLeft)-parseInt(r.paddingRight)-parseInt(r.borderLeftWidth)-parseInt(r.borderRightWidth),s=Es(t,0,n),i=Es(t,1,n),a=s&&be(s),l=i&&be(i),u=a&&parseInt(a.marginLeft)+parseInt(a.marginRight)+zt(s).width,m=l&&parseInt(l.marginLeft)+parseInt(l.marginRight)+zt(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[$h]==="none"||i&&r[$h]==="none"&&u+m>o)?"vertical":"horizontal"},hj=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},_j=function(t,n){var r;return gl.some(function(o){var s=o[Zt].options.emptyInsertThreshold;if(!(!s||fm(o))){var i=zt(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},hz=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||Ra(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},_z=function(){!fz&&je&&be(je,"display","none")},gz=function(){!fz&&je&&be(je,"display","")};ic&&document.addEventListener("click",function(e){if(_l)return e.preventDefault(),e.stopPropagation&&e.stopPropagation(),e.stopImmediatePropagation&&e.stopImmediatePropagation(),_l=!1,!1},!0);var wo=function(t){if(he){t=t.touches?t.touches[0]:t;var n=_j(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[Zt]._onDragOver(r)}}},gj=function(t){he&&he.parentNode[Zt]._isOutsideThisEl(t.target)};function Ie(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=Vn({},t),e[Zt]=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 pz(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:Ie.supportPointer!==!1&&"PointerEvent"in window&&!pi,emptyInsertThreshold:5};Ki.initializePlugins(this,e,n);for(var r in n)!(r in t)&&(t[r]=n[r]);hz(t);for(var o in this)o.charAt(0)==="_"&&typeof this[o]=="function"&&(this[o]=this[o].bind(this));this.nativeDraggable=t.forceFallback?!1:pj,this.nativeDraggable&&(this.options.touchStartThreshold=1),t.supportPointer?Ze(e,"pointerdown",this._onTapStart):(Ze(e,"mousedown",this._onTapStart),Ze(e,"touchstart",this._onTapStart)),this.nativeDraggable&&(Ze(e,"dragover",this),Ze(e,"dragenter",this)),gl.push(this.el),t.store&&t.store.get&&this.sort(t.store.get(this)||[]),Vn(this,uj())}Ie.prototype={constructor:Ie,_isOutsideThisEl:function(t){!this.el.contains(t)&&t!==this.el&&(Jo=null)},_getDirection:function(t,n){return typeof this.options.direction=="function"?this.options.direction.call(this,t,n,he):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(Sj(r),!he&&!(/mousedown|pointerdown/.test(i)&&t.button!==0||o.disabled)&&!u.isContentEditable&&!(!this.nativeDraggable&&pi&&l&&l.tagName.toUpperCase()==="SELECT")&&(l=Zn(l,o.draggable,r,!1),!(l&&l.animated)&&Ma!==l)){if(ls=Tt(l),_i=Tt(l,o.draggable),typeof m=="function"){if(m.call(this,t,l,this)){en({sortable:n,rootEl:u,name:"filter",targetEl:l,toEl:r,fromEl:r}),an("filter",n,{evt:t}),s&&t.cancelable&&t.preventDefault();return}}else if(m&&(m=m.split(",").some(function(d){if(d=Zn(u,d.trim(),r,!1),d)return en({sortable:n,rootEl:d,name:"filter",targetEl:l,fromEl:r,toEl:r}),an("filter",n,{evt:t}),!0}),m)){s&&t.cancelable&&t.preventDefault();return}o.handle&&!Zn(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&&!he&&r.parentNode===s){var u=zt(r);if(yt=s,he=r,St=he.parentNode,ko=he.nextSibling,Ma=r,ba=i.group,Ie.dragged=he,Co={target:he,clientX:(n||t).clientX,clientY:(n||t).clientY},xh=Co.clientX-u.left,Eh=Co.clientY-u.top,this._lastX=(n||t).clientX,this._lastY=(n||t).clientY,he.style["will-change"]="all",l=function(){if(an("delayEnded",o,{evt:t}),Ie.eventCanceled){o._onDrop();return}o._disableDelayedDragEvents(),!bh&&o.nativeDraggable&&(he.draggable=!0),o._triggerDragStart(t,n),en({sortable:o,name:"choose",originalEvent:t}),Ct(he,i.chosenClass,!0)},i.ignore.split(",").forEach(function(m){uz(he,m.trim(),qc)}),Ze(a,"dragover",wo),Ze(a,"mousemove",wo),Ze(a,"touchmove",wo),Ze(a,"mouseup",o._onDrop),Ze(a,"touchend",o._onDrop),Ze(a,"touchcancel",o._onDrop),bh&&this.nativeDraggable&&(this.options.touchStartThreshold=4,he.draggable=!0),an("delayStart",this,{evt:t}),i.delay&&(!i.delayOnTouchOnly||n)&&(!this.nativeDraggable||!(Gi||Nr))){if(Ie.eventCanceled){this._onDrop();return}Ze(a,"mouseup",o._disableDelayedDrag),Ze(a,"touchend",o._disableDelayedDrag),Ze(a,"touchcancel",o._disableDelayedDrag),Ze(a,"mousemove",o._delayedDragTouchMoveHandler),Ze(a,"touchmove",o._delayedDragTouchMoveHandler),i.supportPointer&&Ze(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(){he&&qc(he),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?Ze(document,"pointermove",this._onTouchMove):n?Ze(document,"touchmove",this._onTouchMove):Ze(document,"mousemove",this._onTouchMove):(Ze(he,"dragend",this),Ze(yt,"dragstart",this._onDragStart));try{document.selection?Va(function(){document.selection.empty()}):window.getSelection().removeAllRanges()}catch{}},_dragStarted:function(t,n){if(ss=!1,yt&&he){an("dragStarted",this,{evt:n}),this.nativeDraggable&&Ze(document,"dragover",gj);var r=this.options;!t&&Ct(he,r.dragClass,!1),Ct(he,r.ghostClass,!0),Ie.active=this,t&&this._appendGhost(),en({sortable:this,name:"start",originalEvent:n})}else this._nulling()},_emulateDragOver:function(){if(Gn){this._lastX=Gn.clientX,this._lastY=Gn.clientY,_z();for(var t=document.elementFromPoint(Gn.clientX,Gn.clientY),n=t;t&&t.shadowRoot&&(t=t.shadowRoot.elementFromPoint(Gn.clientX,Gn.clientY),t!==n);)n=t;if(he.parentNode[Zt]._isOutsideThisEl(t),n)do{if(n[Zt]){var r=void 0;if(r=n[Zt]._onDragOver({clientX:Gn.clientX,clientY:Gn.clientY,target:t,rootEl:n}),r&&!this.options.dragoverBubble)break}t=n}while(n=n.parentNode);gz()}},_onTouchMove:function(t){if(Co){var n=this.options,r=n.fallbackTolerance,o=n.fallbackOffset,s=t.touches?t.touches[0]:t,i=je&&Lo(je,!0),a=je&&i&&i.a,l=je&&i&&i.d,u=wa&&Wt&&kh(Wt),m=(s.clientX-Co.clientX+o.x)/(a||1)+(u?u[0]-Wc[0]:0)/(a||1),d=(s.clientY-Co.clientY+o.y)/(l||1)+(u?u[1]-Wc[1]:0)/(l||1);if(!Ie.active&&!ss){if(r&&Math.max(Math.abs(s.clientX-this._lastX),Math.abs(s.clientY-this._lastY))<r)return;this._onDragStart(t,!0)}if(je){i?(i.e+=m-(jc||0),i.f+=d-(Bc||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,")");be(je,"webkitTransform",f),be(je,"mozTransform",f),be(je,"msTransform",f),be(je,"transform",f),jc=m,Bc=d,Gn=s}t.cancelable&&t.preventDefault()}},_appendGhost:function(){if(!je){var t=this.options.fallbackOnBody?document.body:yt,n=zt(he,!0,wa,!0,t),r=this.options;if(wa){for(Wt=t;be(Wt,"position")==="static"&&be(Wt,"transform")==="none"&&Wt!==document;)Wt=Wt.parentNode;Wt!==document.body&&Wt!==document.documentElement?(Wt===document&&(Wt=pr()),n.top+=Wt.scrollTop,n.left+=Wt.scrollLeft):Wt=pr(),Wc=kh(Wt)}je=he.cloneNode(!0),Ct(je,r.ghostClass,!1),Ct(je,r.fallbackClass,!0),Ct(je,r.dragClass,!0),be(je,"transition",""),be(je,"transform",""),be(je,"box-sizing","border-box"),be(je,"margin",0),be(je,"top",n.top),be(je,"left",n.left),be(je,"width",n.width),be(je,"height",n.height),be(je,"opacity","0.8"),be(je,"position",wa?"absolute":"fixed"),be(je,"zIndex","100000"),be(je,"pointerEvents","none"),Ie.ghost=je,t.appendChild(je),be(je,"transform-origin",xh/parseInt(je.style.width)*100+"% "+Eh/parseInt(je.style.height)*100+"%")}},_onDragStart:function(t,n){var r=this,o=t.dataTransfer,s=r.options;if(an("dragStart",this,{evt:t}),Ie.eventCanceled){this._onDrop();return}an("setupClone",this),Ie.eventCanceled||(xt=pm(he),xt.draggable=!1,xt.style["will-change"]="",this._hideClone(),Ct(xt,this.options.chosenClass,!1),Ie.clone=xt),r.cloneId=Va(function(){an("clone",r),!Ie.eventCanceled&&(r.options.removeCloneOnHide||yt.insertBefore(xt,he),r._hideClone(),en({sortable:r,name:"clone"}))}),!n&&Ct(he,s.dragClass,!0),n?(_l=!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,he)),Ze(document,"drop",r),be(he,"transform","translateZ(0)")),ss=!0,r._dragStartId=Va(r._dragStarted.bind(r,n,t)),Ze(document,"selectstart",r),ei=!0,pi&&be(document.body,"user-select","none")},_onDragOver:function(t){var n=this.el,r=t.target,o,s,i,a=this.options,l=a.group,u=Ie.active,m=ba===l,d=a.sort,f=Bt||u,p,h=this,g=!1;if(Qu)return;function z(ce,Ne){an(ce,h,gr({evt:t,isOwner:m,axis:p?"vertical":"horizontal",revert:i,dragRect:o,targetRect:s,canSort:d,fromSortable:f,target:r,completed:w,onMove:function(Ve,He){return ka(yt,n,he,o,Ve,zt(Ve),t,He)},changed:_},Ne))}function k(){z("dragOverAnimationCapture"),h.captureAnimationState(),h!==f&&f.captureAnimationState()}function w(ce){return z("dragOverCompleted",{insertion:ce}),ce&&(m?u._hideClone():u._showClone(h),h!==f&&(Ct(he,Bt?Bt.options.ghostClass:u.options.ghostClass,!1),Ct(he,a.ghostClass,!0)),Bt!==h&&h!==Ie.active?Bt=h:h===Ie.active&&Bt&&(Bt=null),f===h&&(h._ignoreWhileAnimating=r),h.animateAll(function(){z("dragOverAnimationComplete"),h._ignoreWhileAnimating=null}),h!==f&&(f.animateAll(),f._ignoreWhileAnimating=null)),(r===he&&!he.animated||r===n&&!r.animated)&&(Jo=null),!a.dragoverBubble&&!t.rootEl&&r!==document&&(he.parentNode[Zt]._isOutsideThisEl(t.target),!ce&&wo(t)),!a.dragoverBubble&&t.stopPropagation&&t.stopPropagation(),g=!0}function _(){vn=Tt(he),Xr=Tt(he,a.draggable),en({sortable:h,name:"change",toEl:n,newIndex:vn,newDraggableIndex:Xr,originalEvent:t})}if(t.preventDefault!==void 0&&t.cancelable&&t.preventDefault(),r=Zn(r,a.draggable,n,!0),z("dragOver"),Ie.eventCanceled)return g;if(he.contains(t.target)||r.animated&&r.animatingX&&r.animatingY||h._ignoreWhileAnimating===r)return w(!1);if(_l=!1,u&&!a.disabled&&(m?d||(i=St!==yt):Bt===this||(this.lastPutMode=ba.checkPull(this,u,he,t))&&l.checkPut(this,u,he,t))){if(p=this._getDirection(t,r)==="vertical",o=zt(he),z("dragOverValid"),Ie.eventCanceled)return g;if(i)return St=yt,k(),this._hideClone(),z("revert"),Ie.eventCanceled||(ko?yt.insertBefore(he,ko):yt.appendChild(he)),w(!0);var v=fm(n,a.draggable);if(!v||bj(t,p,this)&&!v.animated){if(v===he)return w(!1);if(v&&n===t.target&&(r=v),r&&(s=zt(r)),ka(yt,n,he,o,r,s,t,!!r)!==!1)return k(),n.appendChild(he),St=n,_(),w(!0)}else if(v&&vj(t,p,this)){var S=Es(n,0,a,!0);if(S===he)return w(!1);if(r=S,s=zt(r),ka(yt,n,he,o,r,s,t,!1)!==!1)return k(),n.insertBefore(he,S),St=n,_(),w(!0)}else if(r.parentNode===n){s=zt(r);var C=0,L,D=he.parentNode!==n,$=!hj(he.animated&&he.toRect||o,r.animated&&r.toRect||s,p),F=p?"top":"left",q=wh(r,"top","top")||wh(he,"top","top"),U=q?q.scrollTop:void 0;Jo!==r&&(L=s[F],yi=!1,Ca=!$&&a.invertSwap||D),C=Cj(t,r,s,p,$?1:a.swapThreshold,a.invertedSwapThreshold==null?a.swapThreshold:a.invertedSwapThreshold,Ca,Jo===r);var W;if(C!==0){var ne=Tt(he);do ne-=C,W=St.children[ne];while(W&&(be(W,"display")==="none"||W===je))}if(C===0||W===r)return w(!1);Jo=r,gi=C;var me=r.nextElementSibling,K=!1;K=C===1;var re=ka(yt,n,he,o,r,s,t,K);if(re!==!1)return(re===1||re===-1)&&(K=re===1),Qu=!0,setTimeout(zj,30),k(),K&&!me?n.appendChild(he):r.parentNode.insertBefore(he,K?me:r),q&&mz(q,0,U-q.scrollTop),St=he.parentNode,L!==void 0&&!Ca&&(Fa=Math.abs(L-zt(r)[F])),_(),w(!0)}if(n.contains(he))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",wo),qe(document,"mousemove",wo),qe(document,"touchmove",wo)},_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(vn=Tt(he),Xr=Tt(he,r.draggable),an("drop",this,{evt:t}),St=he&&he.parentNode,vn=Tt(he),Xr=Tt(he,r.draggable),Ie.eventCanceled){this._nulling();return}ss=!1,Ca=!1,yi=!1,clearInterval(this._loopId),clearTimeout(this._dragStartTimer),ed(this.cloneId),ed(this._dragStartId),this.nativeDraggable&&(qe(document,"drop",this),qe(n,"dragstart",this._onDragStart)),this._offMoveEvents(),this._offUpEvents(),pi&&be(document.body,"user-select",""),be(he,"transform",""),t&&(ei&&(t.cancelable&&t.preventDefault(),!r.dropBubble&&t.stopPropagation()),je&&je.parentNode&&je.parentNode.removeChild(je),(yt===St||Bt&&Bt.lastPutMode!=="clone")&&xt&&xt.parentNode&&xt.parentNode.removeChild(xt),he&&(this.nativeDraggable&&qe(he,"dragend",this),qc(he),he.style["will-change"]="",ei&&!ss&&Ct(he,Bt?Bt.options.ghostClass:this.options.ghostClass,!1),Ct(he,this.options.chosenClass,!1),en({sortable:this,name:"unchoose",toEl:St,newIndex:null,newDraggableIndex:null,originalEvent:t}),yt!==St?(vn>=0&&(en({rootEl:St,name:"add",toEl:St,fromEl:yt,originalEvent:t}),en({sortable:this,name:"remove",toEl:St,originalEvent:t}),en({rootEl:St,name:"sort",toEl:St,fromEl:yt,originalEvent:t}),en({sortable:this,name:"sort",toEl:St,originalEvent:t})),Bt&&Bt.save()):vn!==ls&&vn>=0&&(en({sortable:this,name:"update",toEl:St,originalEvent:t}),en({sortable:this,name:"sort",toEl:St,originalEvent:t})),Ie.active&&((vn==null||vn===-1)&&(vn=ls,Xr=_i),en({sortable:this,name:"end",toEl:St,originalEvent:t}),this.save()))),this._nulling()},_nulling:function(){an("nulling",this),yt=he=St=je=ko=xt=Ma=eo=Co=Gn=ei=vn=Xr=ls=_i=Jo=gi=Bt=ba=Ie.dragged=Ie.ghost=Ie.clone=Ie.active=null,yl.forEach(function(t){t.checked=!0}),yl.length=jc=Bc=0},handleEvent:function(t){switch(t.type){case"drop":case"dragend":this._onDrop(t);break;case"dragenter":case"dragover":he&&(this._onDragOver(t),yj(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],Zn(n,i.draggable,this.el,!1)&&t.push(n.getAttribute(i.dataIdAttr)||kj(n));return t},sort:function(t,n){var r={},o=this.el;this.toArray().forEach(function(s,i){var a=o.children[i];Zn(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 Zn(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=Ki.modifyOption(this,t,n);typeof o<"u"?r[t]=o:r[t]=n,t==="group"&&hz(r)},destroy:function(){an("destroy",this);var t=this.el;t[Zt]=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(),gl.splice(gl.indexOf(this.el),1),this.el=t=null},_hideClone:function(){if(!eo){if(an("hideClone",this),Ie.eventCanceled)return;be(xt,"display","none"),this.options.removeCloneOnHide&&xt.parentNode&&xt.parentNode.removeChild(xt),eo=!0}},_showClone:function(t){if(t.lastPutMode!=="clone"){this._hideClone();return}if(eo){if(an("showClone",this),Ie.eventCanceled)return;he.parentNode==yt&&!this.options.group.revertClone?yt.insertBefore(xt,he):ko?yt.insertBefore(xt,ko):yt.appendChild(xt),this.options.group.revertClone&&this.animate(he,xt),be(xt,"display",""),eo=!1}}};function yj(e){e.dataTransfer&&(e.dataTransfer.dropEffect="move"),e.cancelable&&e.preventDefault()}function ka(e,t,n,r,o,s,i,a){var l,u=e[Zt],m=u.options.onMove,d;return window.CustomEvent&&!Nr&&!Gi?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||zt(t),l.willInsertAfter=a,l.originalEvent=i,e.dispatchEvent(l),m&&(d=m.call(u,l,i)),d}function qc(e){e.draggable=!1}function zj(){Qu=!1}function vj(e,t,n){var r=zt(Es(n.el,0,n.options,!0)),o=10;return t?e.clientX<r.left-o||e.clientY<r.top&&e.clientX<r.right:e.clientY<r.top-o||e.clientY<r.bottom&&e.clientX<r.left}function bj(e,t,n){var r=zt(fm(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 Cj(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&&Fa<u*o){if(!yi&&(gi===1?l>m+u*s/2:l<d-u*s/2)&&(yi=!0),yi)f=!0;else if(gi===1?l<m+Fa:l>d-Fa)return-gi}else if(l>m+u*(1-o)/2&&l<d-u*(1-o)/2)return wj(t)}return f=f||i,f&&(l<m+u*s/2||l>d-u*s/2)?l>m+u/2?1:-1:0}function wj(e){return Tt(he)<Tt(e)?1:-1}function kj(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 Sj(e){yl.length=0;for(var t=e.getElementsByTagName("input"),n=t.length;n--;){var r=t[n];r.checked&&yl.push(r)}}function Va(e){return setTimeout(e,0)}function ed(e){return clearTimeout(e)}ic&&Ze(document,"touchmove",function(e){(Ie.active||ss)&&e.cancelable&&e.preventDefault()});Ie.utils={on:Ze,off:qe,css:be,find:uz,is:function(t,n){return!!Zn(t,n,t,!1)},extend:lj,throttle:dz,closest:Zn,toggleClass:Ct,clone:pm,index:Tt,nextTick:Va,cancelNextTick:ed,detectDirection:pz,getChild:Es};Ie.get=function(e){return e[Zt]};Ie.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&&(Ie.utils=gr(gr({},Ie.utils),r.utils)),Ki.mount(r)})};Ie.create=function(e,t){return new Ie(e,t)};Ie.version=oj;var It=[],ti,td,nd=!1,Gc,Kc,zl,ni;function xj(){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?Ze(document,"dragover",this._handleAutoScroll):this.options.supportPointer?Ze(document,"pointermove",this._handleFallbackAutoScroll):r.touches?Ze(document,"touchmove",this._handleFallbackAutoScroll):Ze(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)),Th(),Ha(),cj()},nulling:function(){zl=td=ti=nd=ni=Gc=Kc=null,It.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(zl=n,r||this.options.forceAutoScrollFallback||Gi||Nr||pi){Zc(n,this.options,a,r);var l=to(a,!0);nd&&(!ni||s!==Gc||i!==Kc)&&(ni&&Th(),ni=setInterval(function(){var u=to(document.elementFromPoint(s,i),!0);u!==l&&(l=u,Ha()),Zc(n,o.options,u,r)},10),Gc=s,Kc=i)}else{if(!this.options.bubbleScroll||to(a,!0)===pr()){Ha();return}Zc(n,this.options,to(a,!1),!1)}}},Vn(e,{pluginName:"scroll",initializeByDefault:!0})}function Ha(){It.forEach(function(e){clearInterval(e.pid)}),It=[]}function Th(){clearInterval(ni)}var Zc=dz(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=pr(),u=!1,m;td!==n&&(td=n,Ha(),ti=t.scroll,m=t.scrollFn,ti===!0&&(ti=to(n,!0)));var d=0,f=ti;do{var p=f,h=zt(p),g=h.top,z=h.bottom,k=h.left,w=h.right,_=h.width,v=h.height,S=void 0,C=void 0,L=p.scrollWidth,D=p.scrollHeight,$=be(p),F=p.scrollLeft,q=p.scrollTop;p===l?(S=_<L&&($.overflowX==="auto"||$.overflowX==="scroll"||$.overflowX==="visible"),C=v<D&&($.overflowY==="auto"||$.overflowY==="scroll"||$.overflowY==="visible")):(S=_<L&&($.overflowX==="auto"||$.overflowX==="scroll"),C=v<D&&($.overflowY==="auto"||$.overflowY==="scroll"));var U=S&&(Math.abs(w-o)<=i&&F+_<L)-(Math.abs(k-o)<=i&&!!F),W=C&&(Math.abs(z-s)<=i&&q+v<D)-(Math.abs(g-s)<=i&&!!q);if(!It[d])for(var ne=0;ne<=d;ne++)It[ne]||(It[ne]={});(It[d].vx!=U||It[d].vy!=W||It[d].el!==p)&&(It[d].el=p,It[d].vx=U,It[d].vy=W,clearInterval(It[d].pid),(U!=0||W!=0)&&(u=!0,It[d].pid=setInterval((function(){r&&this.layer===0&&Ie.active._onTouchMove(zl);var me=It[this.layer].vy?It[this.layer].vy*a:0,K=It[this.layer].vx?It[this.layer].vx*a:0;typeof m=="function"&&m.call(Ie.dragged.parentNode[Zt],K,me,e,zl,It[this.layer].el)!=="continue"||mz(It[this.layer].el,K,me)}).bind({layer:d}),24))),d++}while(t.bubbleScroll&&f!==l&&(f=to(f,!1)));nd=u}},30),yz=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 hm(){}hm.prototype={startIndex:null,dragStart:function(t){var n=t.oldDraggableIndex;this.startIndex=n},onSpill:function(t){var n=t.dragEl,r=t.putSortable;this.sortable.captureAnimationState(),r&&r.captureAnimationState();var o=Es(this.sortable.el,this.startIndex,this.options);o?this.sortable.el.insertBefore(n,o):this.sortable.el.appendChild(n),this.sortable.animateAll(),r&&r.animateAll()},drop:yz};Vn(hm,{pluginName:"revertOnSpill"});function _m(){}_m.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:yz};Vn(_m,{pluginName:"removeOnSpill"});var An;function Ej(){function e(){this.defaults={swapClass:"sortable-swap-highlight"}}return e.prototype={dragStart:function(n){var r=n.dragEl;An=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=An;s(o)!==!1?(Ct(o,m.swapClass,!0),An=o):An=null,d&&d!==An&&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;An&&Ct(An,a.swapClass,!1),An&&(a.swap||o&&o.options.swap)&&s!==An&&(i.captureAnimationState(),i!==r&&r.captureAnimationState(),$j(s,An),i.animateAll(),i!==r&&r.animateAll())},nulling:function(){An=null}},Vn(e,{pluginName:"swap",eventProperties:function(){return{swapItem:An}}})}function $j(e,t){var n=e.parentNode,r=t.parentNode,o,s;!n||!r||n.isEqualNode(t)||r.isEqualNode(e)||(o=Tt(e),s=Tt(t),n.isEqualNode(r)&&o<s&&s++,n.insertBefore(t,n.children[o]),r.insertBefore(e,r.children[s]))}var Fe=[],zn=[],Ws,Kn,qs=!1,ln=!1,Qo=!1,pt,Gs,Sa;function Tj(){function e(t){for(var n in this)n.charAt(0)==="_"&&typeof this[n]=="function"&&(this[n]=this[n].bind(this));t.options.supportPointer?Ze(document,"pointerup",this._deselectMultiDrag):(Ze(document,"mouseup",this._deselectMultiDrag),Ze(document,"touchend",this._deselectMultiDrag)),Ze(document,"keydown",this._checkKeyDown),Ze(document,"keyup",this._checkKeyUp),this.defaults={selectedClass:"sortable-selected",multiDragKey:null,setData:function(o,s){var i="";Fe.length&&Kn===t?Fe.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;pt=r},delayEnded:function(){this.isMultiDrag=~Fe.indexOf(pt)},setupClone:function(n){var r=n.sortable,o=n.cancel;if(this.isMultiDrag){for(var s=0;s<Fe.length;s++)zn.push(pm(Fe[s])),zn[s].sortableIndex=Fe[s].sortableIndex,zn[s].draggable=!1,zn[s].style["will-change"]="",Ct(zn[s],this.options.selectedClass,!1),Fe[s]===pt&&Ct(zn[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||Fe.length&&Kn===r&&(Ah(!0,o),s("clone"),i()))},showClone:function(n){var r=n.cloneNowShown,o=n.rootEl,s=n.cancel;this.isMultiDrag&&(Ah(!1,o),zn.forEach(function(i){be(i,"display","")}),r(),Sa=!1,s())},hideClone:function(n){var r=this;n.sortable;var o=n.cloneNowHidden,s=n.cancel;this.isMultiDrag&&(zn.forEach(function(i){be(i,"display","none"),r.options.removeCloneOnHide&&i.parentNode&&i.parentNode.removeChild(i)}),o(),Sa=!0,s())},dragStartGlobal:function(n){n.sortable,!this.isMultiDrag&&Kn&&Kn.multiDrag._deselectMultiDrag(),Fe.forEach(function(r){r.sortableIndex=Tt(r)}),Fe=Fe.sort(function(r,o){return r.sortableIndex-o.sortableIndex}),Qo=!0},dragStarted:function(n){var r=this,o=n.sortable;if(this.isMultiDrag){if(this.options.sort&&(o.captureAnimationState(),this.options.animation)){Fe.forEach(function(i){i!==pt&&be(i,"position","absolute")});var s=zt(pt,!1,!0,!0);Fe.forEach(function(i){i!==pt&&Sh(i,s)}),ln=!0,qs=!0}o.animateAll(function(){ln=!1,qs=!1,r.options.animation&&Fe.forEach(function(i){Hc(i)}),r.options.sort&&xa()})}},dragOver:function(n){var r=n.target,o=n.completed,s=n.cancel;ln&&~Fe.indexOf(r)&&(o(!1),s())},revert:function(n){var r=n.fromSortable,o=n.rootEl,s=n.sortable,i=n.dragRect;Fe.length>1&&(Fe.forEach(function(a){s.addAnimationState({target:a,rect:ln?zt(a):i}),Hc(a),a.fromRect=i,r.removeAnimationState(a)}),ln=!1,Aj(!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(),qs=!1,u.animation&&Fe.length>1&&(ln||!o&&!i.options.sort&&!l)){var m=zt(pt,!1,!0,!0);Fe.forEach(function(f){f!==pt&&(Sh(f,m),a.appendChild(f))}),ln=!0}if(!o)if(ln||xa(),Fe.length>1){var d=Sa;i._showClone(r),i.options.animation&&!Sa&&d&&zn.forEach(function(f){i.addAnimationState({target:f,rect:Gs}),f.fromRect=Gs,f.thisAnimationDuration=null})}else i._showClone(r)}},dragOverAnimationCapture:function(n){var r=n.dragRect,o=n.isOwner,s=n.activeSortable;if(Fe.forEach(function(a){a.thisAnimationDuration=null}),s.options.animation&&!o&&s.multiDrag.isMultiDrag){Gs=Vn({},r);var i=Lo(pt,!0);Gs.top-=i.f,Gs.left-=i.e}},dragOverAnimationComplete:function(){ln&&(ln=!1,xa())},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(!Qo)if(d.multiDragKey&&!this.multiDragKeyDown&&this._deselectMultiDrag(),Ct(pt,d.selectedClass,!~Fe.indexOf(pt)),~Fe.indexOf(pt))Fe.splice(Fe.indexOf(pt),1),Ws=null,Qs({sortable:i,rootEl:o,name:"deselect",targetEl:pt,originalEvt:r});else{if(Fe.push(pt),Qs({sortable:i,rootEl:o,name:"select",targetEl:pt,originalEvt:r}),r.shiftKey&&Ws&&i.el.contains(Ws)){var p=Tt(Ws),h=Tt(pt);if(~p&&~h&&p!==h){var g,z;for(h>p?(z=p,g=h):(z=h,g=p+1);z<g;z++)~Fe.indexOf(f[z])||(Ct(f[z],d.selectedClass,!0),Fe.push(f[z]),Qs({sortable:i,rootEl:o,name:"select",targetEl:f[z],originalEvt:r}))}}else Ws=pt;Kn=m}if(Qo&&this.isMultiDrag){if(ln=!1,(s[Zt].options.sort||s!==o)&&Fe.length>1){var k=zt(pt),w=Tt(pt,":not(."+this.options.selectedClass+")");if(!qs&&d.animation&&(pt.thisAnimationDuration=null),m.captureAnimationState(),!qs&&(d.animation&&(pt.fromRect=k,Fe.forEach(function(v){if(v.thisAnimationDuration=null,v!==pt){var S=ln?zt(v):k;v.fromRect=S,m.addAnimationState({target:v,rect:S})}})),xa(),Fe.forEach(function(v){f[w]?s.insertBefore(v,f[w]):s.appendChild(v),w++}),l===Tt(pt))){var _=!1;Fe.forEach(function(v){if(v.sortableIndex!==Tt(v)){_=!0;return}}),_&&a("update")}Fe.forEach(function(v){Hc(v)}),m.animateAll()}Kn=m}(o===s||u&&u.lastPutMode!=="clone")&&zn.forEach(function(v){v.parentNode&&v.parentNode.removeChild(v)})}},nullingGlobal:function(){this.isMultiDrag=Qo=!1,zn.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 Qo<"u"&&Qo)&&Kn===this.sortable&&!(n&&Zn(n.target,this.options.draggable,this.sortable.el,!1))&&!(n&&n.button!==0))for(;Fe.length;){var r=Fe[0];Ct(r,this.options.selectedClass,!1),Fe.shift(),Qs({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)}},Vn(e,{pluginName:"multiDrag",utils:{select:function(n){var r=n.parentNode[Zt];!r||!r.options.multiDrag||~Fe.indexOf(n)||(Kn&&Kn!==r&&(Kn.multiDrag._deselectMultiDrag(),Kn=r),Ct(n,r.options.selectedClass,!0),Fe.push(n))},deselect:function(n){var r=n.parentNode[Zt],o=Fe.indexOf(n);!r||!r.options.multiDrag||!~o||(Ct(n,r.options.selectedClass,!1),Fe.splice(o,1))}},eventProperties:function(){var n=this,r=[],o=[];return Fe.forEach(function(s){r.push({multiDragElement:s,index:s.sortableIndex});var i;ln&&s!==pt?i=-1:ln?i=Tt(s,":not(."+n.options.selectedClass+")"):i=Tt(s),o.push({multiDragElement:s,index:i})}),{items:QU(Fe),clones:[].concat(zn),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 Aj(e,t){Fe.forEach(function(n,r){var o=t.children[n.sortableIndex+(e?Number(r):0)];o?t.insertBefore(n,o):t.appendChild(n)})}function Ah(e,t){zn.forEach(function(n,r){var o=t.children[n.sortableIndex+(e?Number(r):0)];o?t.insertBefore(n,o):t.appendChild(n)})}function xa(){Fe.forEach(function(e){e!==pt&&e.parentNode&&e.parentNode.removeChild(e)})}Ie.mount(new xj);Ie.mount(_m,hm);const Oj=Object.freeze(Object.defineProperty({__proto__:null,MultiDrag:Tj,Sortable:Ie,Swap:Ej,default:Ie},Symbol.toStringTag,{value:"Module"})),Pj=Py(Oj);(function(e,t){(function(r,o){e.exports=o(Fy,Pj)})(typeof self<"u"?self:Oy,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(z,k){if(z=m(z),k=d(k,!0),p)try{return h(z,k)}catch{}if(f(z,k))return u(!l.f.call(z,k),z[k])}},"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 g={};g[l]=function(){return{next:function(){return{done:h=!0}}}},f(g)}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,g){var z=h.target,k=h.global,w=h.stat,_,v,S,C,L,D;if(k?v=a:w?v=a[z]||d(z,{}):v=(a[z]||{}).prototype,v)for(S in g){if(L=g[S],h.noTargetGet?(D=l(v,S),C=D&&D.value):C=v[S],_=p(k?S:z+(w?".":"#")+S,h.forced),!_&&C!==void 0){if(typeof L==typeof C)continue;f(L,C)}(h.sham||C&&C.sham)&&u(L,"sham",!0),m(v,S,L,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"}),g=p.name!=d;(h||g)&&a(RegExp.prototype,d,function(){var k=l(this),w=String(k.source),_=k.flags,v=String(_===void 0&&k instanceof RegExp&&!("flags"in f)?m.call(k):_);return"/"+w+"/"+v},{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,g=Math.min,z=f("startsWith"),k=!p&&!z&&!!function(){var w=l(String.prototype,"startsWith");return w&&!w.writable}();a({target:"String",proto:!0,forced:!k&&!z},{startsWith:function(_){var v=String(d(this));m(_);var S=u(g(arguments.length>1?arguments[1]:void 0,v.length)),C=String(_);return h?h.call(v,C,S):v.slice(S,S+C.length)===C}})},"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),g=h.length,z=0,k;g>z;)l.f(f,k=h[z++],p[k]);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),g=h.string,z=h.index,k;return z>=g.length?{value:void 0,done:!0}:(k=a(g,z),h.index+=k.length,{value:k,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 g=a(f),z=l(g.length),k=u(h,z),w;if(d&&p!=p){for(;z>k;)if(w=g[k++],w!=w)return!0}else for(;z>k;k++)if((d||k in g)&&g[k]===p)return d||k||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(g){var z=l(g),k=typeof this=="function"?this:Array,w=arguments.length,_=w>1?arguments[1]:void 0,v=_!==void 0,S=p(z),C=0,L,D,$,F,q,U;if(v&&(_=a(_,w>2?arguments[2]:void 0,2)),S!=null&&!(k==Array&&m(S)))for(F=S.call(z),q=F.next,D=new k;!($=q.call(F)).done;C++)U=v?u(F,_,[$.value,C],!0):$.value,f(D,C,U);else for(L=d(z.length),D=new k(L);L>C;C++)U=v?_(z[C],C):z[C],f(D,C,U);return D.length=C,D}},"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"),g=Math.max,z=Math.min,k=Math.floor,w=/\$([$&'`]|\d\d?|<[^>]*>)/g,_=/\$([$&'`]|\d\d?)/g,v=function(S){return S===void 0?S:String(S)};a("replace",2,function(S,C,L,D){var $=D.REGEXP_REPLACE_SUBSTITUTES_UNDEFINED_CAPTURE,F=D.REPLACE_KEEPS_$0,q=$?"$":"$0";return[function(ne,me){var K=f(this),re=ne==null?void 0:ne[S];return re!==void 0?re.call(ne,K,me):C.call(String(K),ne,me)},function(W,ne){if(!$&&F||typeof ne=="string"&&ne.indexOf(q)===-1){var me=L(C,W,this,ne);if(me.done)return me.value}var K=l(W),re=String(this),ce=typeof ne=="function";ce||(ne=String(ne));var Ne=K.global;if(Ne){var it=K.unicode;K.lastIndex=0}for(var Ve=[];;){var He=h(K,re);if(He===null||(Ve.push(He),!Ne))break;var at=String(He[0]);at===""&&(K.lastIndex=p(re,m(K.lastIndex),it))}for(var lt="",ut=0,We=0;We<Ve.length;We++){He=Ve[We];for(var Y=String(He[0]),fe=g(z(d(He.index),re.length),0),le=[],ge=1;ge<He.length;ge++)le.push(v(He[ge]));var Ue=He.groups;if(ce){var Ge=[Y].concat(le,fe,re);Ue!==void 0&&Ge.push(Ue);var A=String(ne.apply(void 0,Ge))}else A=U(Y,re,fe,le,Ue,ne);fe>=ut&&(lt+=re.slice(ut,fe)+A,ut=fe+Y.length)}return lt+re.slice(ut)}];function U(W,ne,me,K,re,ce){var Ne=me+W.length,it=K.length,Ve=_;return re!==void 0&&(re=u(re),Ve=w),C.call(ce,Ve,function(He,at){var lt;switch(at.charAt(0)){case"$":return"$";case"&":return W;case"`":return ne.slice(0,me);case"'":return ne.slice(Ne);case"<":lt=re[at.slice(1,-1)];break;default:var ut=+at;if(ut===0)return He;if(ut>it){var We=k(ut/10);return We===0?He:We<=it?K[We-1]===void 0?at.charAt(1):K[We-1]+at.charAt(1):He}lt=K[ut-1]}return lt===void 0?"":lt})}})},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 g=u(this),z=m(g.length),k;return d(h),k=f(g,0),k.length=l(k,g,g,z,0,1,h,arguments.length>1?arguments[1]:void 0),k}})},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),g=p.length,z,k;return h<0||h>=g?m?"":void 0:(z=p.charCodeAt(h),z<55296||z>56319||h+1===g||(k=p.charCodeAt(h+1))<56320||k>57343?m?p.charAt(h):z:m?p.slice(h,h+2):(z-55296<<10)+(k-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,g,z,k,w=function($){return k($)?z($):g($,{})},_=function($){return function(F){var q;if(!u(F)||(q=z(F)).type!==$)throw TypeError("Incompatible receiver, "+$+" required");return q}};if(a){var v=new h,S=v.get,C=v.has,L=v.set;g=function($,F){return L.call(v,$,F),F},z=function($){return S.call(v,$)||{}},k=function($){return C.call(v,$)}}else{var D=f("state");p[D]=!0,g=function($,F){return m($,D,F),F},z=function($){return d($,D)?$[D]:{}},k=function($){return d($,D)}}o.exports={set:g,get:z,has:k,enforce:w,getterFor:_}},"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,g=String(String).split("String");(o.exports=function(z,k,w,_){var v=_?!!_.unsafe:!1,S=_?!!_.enumerable:!1,C=_?!!_.noTargetGet:!1;if(typeof w=="function"&&(typeof k=="string"&&!u(w,"name")&&l(w,"name",k),h(w).source=g.join(typeof k=="string"?k:"")),z===a){S?z[k]=w:m(k,w);return}else v?!C&&z[k]&&(S=!0):delete z[k];S?z[k]=w:l(z,k,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),g=l(h),z=g.length,k=0,w=[],_;z>k;)_=g[k++],(!a||m.call(h,_))&&w.push(f?[_,h[_]]:h[_]);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=">",g="<",z="prototype",k="script",w=p("IE_PROTO"),_=function(){},v=function($){return g+k+h+$+g+"/"+k+h},S=function($){$.write(v("")),$.close();var F=$.parentWindow.Object;return $=null,F},C=function(){var $=f("iframe"),F="java"+k+":",q;return $.style.display="none",d.appendChild($),$.src=String(F),q=$.contentWindow.document,q.open(),q.write(v("document.F=Object")),q.close(),q.F},L,D=function(){try{L=document.domain&&new ActiveXObject("htmlfile")}catch{}D=L?S(L):C();for(var $=u.length;$--;)delete D[z][u[$]];return D()};m[w]=!0,o.exports=Object.create||function(F,q){var U;return F!==null?(_[z]=a(F),U=new _,_[z]=null,U[w]=F):U=D(),q===void 0?U:l(U,q)}},"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"),g=i("c430"),z=i("3f8c"),k=i("ae93"),w=k.IteratorPrototype,_=k.BUGGY_SAFARI_ITERATORS,v=h("iterator"),S="keys",C="values",L="entries",D=function(){return this};o.exports=function($,F,q,U,W,ne,me){l(q,F,U);var K=function(We){if(We===W&&Ve)return Ve;if(!_&&We in Ne)return Ne[We];switch(We){case S:return function(){return new q(this,We)};case C:return function(){return new q(this,We)};case L:return function(){return new q(this,We)}}return function(){return new q(this)}},re=F+" Iterator",ce=!1,Ne=$.prototype,it=Ne[v]||Ne["@@iterator"]||W&&Ne[W],Ve=!_&&it||K(W),He=F=="Array"&&Ne.entries||it,at,lt,ut;if(He&&(at=u(He.call(new $)),w!==Object.prototype&&at.next&&(!g&&u(at)!==w&&(m?m(at,w):typeof at[v]!="function"&&f(at,v,D)),d(at,re,!0,!0),g&&(z[re]=D))),W==C&&it&&it.name!==C&&(ce=!0,Ve=function(){return it.call(this)}),(!g||me)&&Ne[v]!==Ve&&f(Ne,v,Ve),z[F]=Ve,W)if(lt={values:K(C),keys:ne?Ve:K(S),entries:K(L)},me)for(ut in lt)(_||ce||!(ut in Ne))&&p(Ne,ut,lt[ut]);else a({target:F,proto:!0,forced:_||ce},lt);return lt}},"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(L){var f=/.*at [^(]*\((.*):(.+):(.+)\)$/ig,p=/@([^@]*):(\d+):(\d+)\s*$/ig,h=f.exec(L.stack)||p.exec(L.stack),g=h&&h[1]||!1,z=h&&h[2]||!1,k=document.location.href.replace(document.location.hash,""),w,_,v,S=document.getElementsByTagName("script");g===k&&(w=document.documentElement.outerHTML,_=new RegExp("(?:[^\\n]+?\\n){0,"+(z-2)+"}[^<]*<script>([\\d\\D]*?)<\\/script>[\\d\\D]*","i"),v=w.replace(_,"$1").trim());for(var C=0;C<S.length;C++)if(S[C].readyState==="interactive"||S[C].src===g||g===k&&S[C].innerHTML&&S[C].innerHTML.trim()===v)return S[C];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 z=/a/,k=/b*/g;return u.call(z,"a"),u.call(k,"a"),z.lastIndex!==0||k.lastIndex!==0}(),p=l.UNSUPPORTED_Y||l.BROKEN_CARET,h=/()??/.exec("")[1]!==void 0,g=f||h||p;g&&(d=function(k){var w=this,_,v,S,C,L=p&&w.sticky,D=a.call(w),$=w.source,F=0,q=k;return L&&(D=D.replace("y",""),D.indexOf("g")===-1&&(D+="g"),q=String(k).slice(w.lastIndex),w.lastIndex>0&&(!w.multiline||w.multiline&&k[w.lastIndex-1]!==`
`)&&($="(?: "+$+")",q=" "+q,F++),v=new RegExp("^(?:"+$+")",D)),h&&(v=new RegExp("^"+$+"$(?!\\s)",D)),f&&(_=w.lastIndex),S=u.call(L?v:w,q),L?S?(S.input=S.input.slice(F),S[0]=S[0].slice(F),S.index=w.lastIndex,w.lastIndex+=S[0].length):w.lastIndex=0:f&&S&&(w.lastIndex=w.global?S.index+S[0].length:_),h&&S&&S.length>1&&m.call(S[0],v,function(){for(C=1;C<arguments.length-2;C++)arguments[C]===void 0&&(S[C]=void 0)}),S}),o.exports=d},"94ca":function(o,s,i){var a=i("d039"),l=/#|\.prototype\./,u=function(h,g){var z=d[m(h)];return z==p?!0:z==f?!1:typeof g=="function"?a(g):!!g},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"),g=i("1dde"),z=i("b622"),k=i("2d00"),w=z("isConcatSpreadable"),_=9007199254740991,v="Maximum allowed index exceeded",S=k>=51||!l(function(){var $=[];return $[w]=!1,$.concat()[0]!==$}),C=g("concat"),L=function($){if(!m($))return!1;var F=$[w];return F!==void 0?!!F:u($)},D=!S||!C;a({target:"Array",proto:!0,forced:D},{concat:function(F){var q=d(this),U=h(q,0),W=0,ne,me,K,re,ce;for(ne=-1,K=arguments.length;ne<K;ne++)if(ce=ne===-1?q:arguments[ne],L(ce)){if(re=f(ce.length),W+re>_)throw TypeError(v);for(me=0;me<re;me++,W++)me in ce&&p(U,W,ce[me])}else{if(W>=_)throw TypeError(v);p(U,W++,ce)}return U.length=W,U}})},"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,g){if(u(p),h=m(h,!0),u(g),l)try{return d(p,h,g)}catch{}if("get"in g||"set"in g)throw TypeError("Accessors not supported");return"value"in g&&(p[h]=g.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,g){var z=h+" Iterator";return p.prototype=l(a,{next:u(1,g)}),m(p,z,!1,!0),d[z]=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,g,z,k,w){for(var _=g,v=0,S=k?u(k,w,3):!1,C;v<h;){if(v in p){if(C=S?S(p[v],v,f):p[v],z>0&&a(C))_=m(d,f,C,l(C.length),_,z-1)-1;else{if(_>=9007199254740991)throw TypeError("Exceed the acceptable array length");d[_]=C}_++}v++}return _};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"),g=i("ae40"),z=h("splice"),k=g("splice",{ACCESSORS:!0,0:0,1:2}),w=Math.max,_=Math.min,v=9007199254740991,S="Maximum allowed length exceeded";a({target:"Array",proto:!0,forced:!z||!k},{splice:function(L,D){var $=d(this),F=m($.length),q=l(L,F),U=arguments.length,W,ne,me,K,re,ce;if(U===0?W=ne=0:U===1?(W=0,ne=F-q):(W=U-2,ne=_(w(u(D),0),F-q)),F+W-ne>v)throw TypeError(S);for(me=f($,ne),K=0;K<ne;K++)re=q+K,re in $&&p(me,K,$[re]);if(me.length=ne,W<ne){for(K=q;K<F-ne;K++)re=K+ne,ce=K+W,re in $?$[ce]=$[re]:delete $[ce];for(K=F;K>F-ne+W;K--)delete $[K-1]}else if(W>ne)for(K=F-ne;K>q;K--)re=K+ne-1,ce=K+W-1,re in $?$[ce]=$[re]:delete $[ce];for(K=0;K<W;K++)$[K+q]=arguments[K+2];return $.length=F-ne+W,me}})},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"),g=i("5135"),z=i("e8b5"),k=i("861d"),w=i("825a"),_=i("7b0b"),v=i("fc6a"),S=i("c04e"),C=i("5c6c"),L=i("7c73"),D=i("df75"),$=i("241c"),F=i("057f"),q=i("7418"),U=i("06cf"),W=i("9bf2"),ne=i("d1e7"),me=i("9112"),K=i("6eeb"),re=i("5692"),ce=i("f772"),Ne=i("d012"),it=i("90e3"),Ve=i("b622"),He=i("e538"),at=i("746f"),lt=i("d44e"),ut=i("69f3"),We=i("b727").forEach,Y=ce("hidden"),fe="Symbol",le="prototype",ge=Ve("toPrimitive"),Ue=ut.set,Ge=ut.getterFor(fe),A=Object[le],P=l.Symbol,j=u("JSON","stringify"),te=U.f,X=W.f,ie=F.f,pe=ne.f,E=re("symbols"),T=re("op-symbols"),R=re("string-to-symbol-registry"),Q=re("symbol-to-string-registry"),de=re("wks"),se=l.QObject,H=!se||!se[le]||!se[le].findChild,Z=d&&h(function(){return L(X({},"a",{get:function(){return X(this,"a",{value:7}).a}})).a!=7})?function(Pe,xe,Ae){var Ye=te(A,xe);Ye&&delete A[xe],X(Pe,xe,Ae),Ye&&Pe!==A&&X(A,xe,Ye)}:X,Se=function(Pe,xe){var Ae=E[Pe]=L(P[le]);return Ue(Ae,{type:fe,tag:Pe,description:xe}),d||(Ae.description=xe),Ae},M=p?function(Pe){return typeof Pe=="symbol"}:function(Pe){return Object(Pe)instanceof P},V=function(xe,Ae,Ye){xe===A&&V(T,Ae,Ye),w(xe);var et=S(Ae,!0);return w(Ye),g(E,et)?(Ye.enumerable?(g(xe,Y)&&xe[Y][et]&&(xe[Y][et]=!1),Ye=L(Ye,{enumerable:C(0,!1)})):(g(xe,Y)||X(xe,Y,C(1,{})),xe[Y][et]=!0),Z(xe,et,Ye)):X(xe,et,Ye)},G=function(xe,Ae){w(xe);var Ye=v(Ae),et=D(Ye).concat(Re(Ye));return We(et,function(on){(!d||ye.call(Ye,on))&&V(xe,on,Ye[on])}),xe},oe=function(xe,Ae){return Ae===void 0?L(xe):G(L(xe),Ae)},ye=function(xe){var Ae=S(xe,!0),Ye=pe.call(this,Ae);return this===A&&g(E,Ae)&&!g(T,Ae)?!1:Ye||!g(this,Ae)||!g(E,Ae)||g(this,Y)&&this[Y][Ae]?Ye:!0},$e=function(xe,Ae){var Ye=v(xe),et=S(Ae,!0);if(!(Ye===A&&g(E,et)&&!g(T,et))){var on=te(Ye,et);return on&&g(E,et)&&!(g(Ye,Y)&&Ye[Y][et])&&(on.enumerable=!0),on}},Me=function(xe){var Ae=ie(v(xe)),Ye=[];return We(Ae,function(et){!g(E,et)&&!g(Ne,et)&&Ye.push(et)}),Ye},Re=function(xe){var Ae=xe===A,Ye=ie(Ae?T:v(xe)),et=[];return We(Ye,function(on){g(E,on)&&(!Ae||g(A,on))&&et.push(E[on])}),et};if(f||(P=function(){if(this instanceof P)throw TypeError("Symbol is not a constructor");var xe=!arguments.length||arguments[0]===void 0?void 0:String(arguments[0]),Ae=it(xe),Ye=function(et){this===A&&Ye.call(T,et),g(this,Y)&&g(this[Y],Ae)&&(this[Y][Ae]=!1),Z(this,Ae,C(1,et))};return d&&H&&Z(A,Ae,{configurable:!0,set:Ye}),Se(Ae,xe)},K(P[le],"toString",function(){return Ge(this).tag}),K(P,"withoutSetter",function(Pe){return Se(it(Pe),Pe)}),ne.f=ye,W.f=V,U.f=$e,$.f=F.f=Me,q.f=Re,He.f=function(Pe){return Se(Ve(Pe),Pe)},d&&(X(P[le],"description",{configurable:!0,get:function(){return Ge(this).description}}),m||K(A,"propertyIsEnumerable",ye,{unsafe:!0}))),a({global:!0,wrap:!0,forced:!f,sham:!f},{Symbol:P}),We(D(de),function(Pe){at(Pe)}),a({target:fe,stat:!0,forced:!f},{for:function(Pe){var xe=String(Pe);if(g(R,xe))return R[xe];var Ae=P(xe);return R[xe]=Ae,Q[Ae]=xe,Ae},keyFor:function(xe){if(!M(xe))throw TypeError(xe+" is not a symbol");if(g(Q,xe))return Q[xe]},useSetter:function(){H=!0},useSimple:function(){H=!1}}),a({target:"Object",stat:!0,forced:!f,sham:!d},{create:oe,defineProperty:V,defineProperties:G,getOwnPropertyDescriptor:$e}),a({target:"Object",stat:!0,forced:!f},{getOwnPropertyNames:Me,getOwnPropertySymbols:Re}),a({target:"Object",stat:!0,forced:h(function(){q.f(1)})},{getOwnPropertySymbols:function(xe){return q.f(_(xe))}}),j){var nt=!f||h(function(){var Pe=P();return j([Pe])!="[null]"||j({a:Pe})!="{}"||j(Object(Pe))!="{}"});a({target:"JSON",stat:!0,forced:nt},{stringify:function(xe,Ae,Ye){for(var et=[xe],on=1,lc;arguments.length>on;)et.push(arguments[on++]);if(lc=Ae,!(!k(Ae)&&xe===void 0||M(xe)))return z(Ae)||(Ae=function(wz,Zi){if(typeof lc=="function"&&(Zi=lc.call(this,wz,Zi)),!M(Zi))return Zi}),et[1]=Ae,j.apply(null,et)}})}P[le][ge]||me(P[le],ge,P[le].valueOf),lt(P,fe),Ne[Y]=!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 g=[][p],z=u(h,"ACCESSORS")?h.ACCESSORS:!1,k=u(h,0)?h[0]:f,w=u(h,1)?h[1]:void 0;return d[p]=!!g&&!l(function(){if(z&&!a)return!0;var _={length:-1};z?m(_,1,{enumerable:!0,get:f}):_[1]=1,g.call(_,k,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},g,z,k;[].keys&&(k=[].keys(),"next"in k?(z=a(a(k)),z!==Object.prototype&&(g=z)):p=!0),g==null&&(g={}),!d&&!u(g,f)&&l(g,f,h),o.exports={IteratorPrototype:g,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,g=f?h:h&&h.withoutSetter||m;o.exports=function(z){return u(p,z)||(d&&u(h,z)?p[z]=h[z]:p[z]=g("Symbol."+z)),p[z]}},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 g=h==1,z=h==2,k=h==3,w=h==4,_=h==6,v=h==5||_;return function(S,C,L,D){for(var $=u(S),F=l($),q=a(C,L,3),U=m(F.length),W=0,ne=D||d,me=g?ne(S,U):z?ne(S,0):void 0,K,re;U>W;W++)if((v||W in F)&&(K=F[W],re=q(K,W,$),h)){if(g)me[W]=re;else if(re)switch(h){case 3:return!0;case 5:return K;case 6:return W;case 2:f.call(me,K)}else if(w)return!1}return _?-1:k||w?w:me}};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(g){return l(this,g,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(z){return f?d.apply(this,arguments)||0:l(this,z,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,g=[],z;for(z in p)!a(m,z)&&a(p,z)&&g.push(z);for(;f.length>h;)a(p,z=f[h++])&&(~u(g,z)||g.push(z));return g}},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,g,z){a(h);var k=l(p),w=u(k),_=m(k.length),v=f?_-1:0,S=f?-1:1;if(g<2)for(;;){if(v in w){z=w[v],v+=S;break}if(v+=S,f?v<0:_<=v)throw TypeError("Reduce of empty array with no initial value")}for(;f?v>=0:_>v;v+=S)v in w&&(z=h(z,w[v],v,k));return z}};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 _=[];return _.groups={a:"7"},_},"".replace(w,"$<a>")!=="7"}),h=function(){return"a".replace(/./,"$0")==="$0"}(),g=u("replace"),z=function(){return/./[g]?/./[g]("a","$0")==="":!1}(),k=!l(function(){var w=/(?:)/,_=w.exec;w.exec=function(){return _.apply(this,arguments)};var v="ab".split(w);return v.length!==2||v[0]!=="a"||v[1]!=="b"});o.exports=function(w,_,v,S){var C=u(w),L=!l(function(){var W={};return W[C]=function(){return 7},""[w](W)!=7}),D=L&&!l(function(){var W=!1,ne=/a/;return w==="split"&&(ne={},ne.constructor={},ne.constructor[f]=function(){return ne},ne.flags="",ne[C]=/./[C]),ne.exec=function(){return W=!0,null},ne[C](""),!W});if(!L||!D||w==="replace"&&!(p&&h&&!z)||w==="split"&&!k){var $=/./[C],F=v(C,""[w],function(W,ne,me,K,re){return ne.exec===m?L&&!re?{done:!0,value:$.call(ne,me,K)}:{done:!0,value:W.call(me,ne,K)}:{done:!1}},{REPLACE_KEEPS_$0:h,REGEXP_REPLACE_SUBSTITUTES_UNDEFINED_CAPTURE:z}),q=F[0],U=F[1];a(String.prototype,w,q),a(RegExp.prototype,C,_==2?function(W,ne){return U.call(W,this,ne)}:function(W){return U.call(W,this)})}S&&d(RegExp.prototype[C],"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 g=m(h),z=d.f,k=u(g),w={},_=0,v,S;k.length>_;)S=z(g,v=k[_++]),S!==void 0&&f(w,v,S);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 g in l){var z=a[g],k=z&&z.prototype;if(k){if(k[f]!==h)try{m(k,f,h)}catch{k[f]=h}if(k[p]||m(k,p,g),l[g]){for(var w in u)if(k[w]!==u[w])try{m(k,w,u[w])}catch{k[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 g={},z=function(){var C=arguments.length<1||arguments[0]===void 0?void 0:String(arguments[0]),L=this instanceof z?new h(C):C===void 0?h():h(C);return C===""&&(g[L]=!0),L};p(z,h);var k=z.prototype=h.prototype;k.constructor=z;var w=k.toString,_=String(h("test"))=="Symbol(test)",v=/^Symbol\((.*)\)[^)]+$/;f(k,"description",{configurable:!0,get:function(){var C=d(this)?this.valueOf():this,L=w.call(C);if(m(g,C))return"";var D=_?L.slice(7,-1):L.replace(v,"$1");return D===""?void 0:D}}),a({global:!0,forced:!0},{Symbol:z})}},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(g,z){p(this,{type:f,target:a(g),index:0,kind:z})},function(){var g=h(this),z=g.target,k=g.kind,w=g.index++;return!z||w>=z.length?(g.target=void 0,{value:void 0,done:!0}):k=="keys"?{value:w,done:!1}:k=="values"?{value:z[w],done:!1}:{value:[w,z[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(g,z){return m(u(g),z)}})},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,g=u.f,z=0;z<p.length;z++){var k=p[z];a(d,k)||h(d,k,g(f,k))}}},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,g,z;return p===void 0?"Undefined":p===null?"Null":typeof(g=f(h=Object(p),m))=="string"?g:d?l(h):(z=l(h))=="Object"&&typeof h.callee=="function"?"Arguments":z}},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(M,V,G){return V in M?Object.defineProperty(M,V,{value:G,enumerable:!0,configurable:!0,writable:!0}):M[V]=G,M}function d(M,V){var G=Object.keys(M);if(Object.getOwnPropertySymbols){var oe=Object.getOwnPropertySymbols(M);V&&(oe=oe.filter(function(ye){return Object.getOwnPropertyDescriptor(M,ye).enumerable})),G.push.apply(G,oe)}return G}function f(M){for(var V=1;V<arguments.length;V++){var G=arguments[V]!=null?arguments[V]:{};V%2?d(Object(G),!0).forEach(function(oe){m(M,oe,G[oe])}):Object.getOwnPropertyDescriptors?Object.defineProperties(M,Object.getOwnPropertyDescriptors(G)):d(Object(G)).forEach(function(oe){Object.defineProperty(M,oe,Object.getOwnPropertyDescriptor(G,oe))})}return M}function p(M){if(Array.isArray(M))return M}i("e01a"),i("d28b"),i("e260"),i("d3b7"),i("3ca3"),i("ddb0");function h(M,V){if(!(typeof Symbol>"u"||!(Symbol.iterator in Object(M)))){var G=[],oe=!0,ye=!1,$e=void 0;try{for(var Me=M[Symbol.iterator](),Re;!(oe=(Re=Me.next()).done)&&(G.push(Re.value),!(V&&G.length===V));oe=!0);}catch(nt){ye=!0,$e=nt}finally{try{!oe&&Me.return!=null&&Me.return()}finally{if(ye)throw $e}}return G}}i("a630"),i("fb6a"),i("b0c0"),i("25f0");function g(M,V){(V==null||V>M.length)&&(V=M.length);for(var G=0,oe=new Array(V);G<V;G++)oe[G]=M[G];return oe}function z(M,V){if(M){if(typeof M=="string")return g(M,V);var G=Object.prototype.toString.call(M).slice(8,-1);if(G==="Object"&&M.constructor&&(G=M.constructor.name),G==="Map"||G==="Set")return Array.from(M);if(G==="Arguments"||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(G))return g(M,V)}}function k(){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(M,V){return p(M)||h(M,V)||z(M,V)||k()}function _(M){if(Array.isArray(M))return g(M)}function v(M){if(typeof Symbol<"u"&&Symbol.iterator in Object(M))return Array.from(M)}function S(){throw new TypeError(`Invalid attempt to spread non-iterable instance.
In order to be iterable, non-array objects must have a [Symbol.iterator]() method.`)}function C(M){return _(M)||v(M)||z(M)||S()}var L=i("a352"),D=i.n(L);function $(M){M.parentElement!==null&&M.parentElement.removeChild(M)}function F(M,V,G){var oe=G===0?M.children[0]:M.children[G-1].nextSibling;M.insertBefore(V,oe)}var q=i("dbf1");i("13d5"),i("4fad"),i("ac1f"),i("5319");function U(M){var V=Object.create(null);return function(oe){var ye=V[oe];return ye||(V[oe]=M(oe))}}var W=/-(\w)/g,ne=U(function(M){return M.replace(W,function(V,G){return G.toUpperCase()})});i("5db7"),i("73d9");var me=["Start","Add","Remove","Update","End"],K=["Choose","Unchoose","Sort","Filter","Clone"],re=["Move"],ce=[re,me,K].flatMap(function(M){return M}).map(function(M){return"on".concat(M)}),Ne={manage:re,manageAndEmit:me,emit:K};function it(M){return ce.indexOf(M)!==-1}i("caad"),i("2ca0");var Ve=["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 He(M){return Ve.includes(M)}function at(M){return["transition-group","TransitionGroup"].includes(M)}function lt(M){return["id","class","role","style"].includes(M)||M.startsWith("data-")||M.startsWith("aria-")||M.startsWith("on")}function ut(M){return M.reduce(function(V,G){var oe=w(G,2),ye=oe[0],$e=oe[1];return V[ye]=$e,V},{})}function We(M){var V=M.$attrs,G=M.componentData,oe=G===void 0?{}:G,ye=ut(Object.entries(V).filter(function($e){var Me=w($e,2),Re=Me[0];return Me[1],lt(Re)}));return f(f({},ye),oe)}function Y(M){var V=M.$attrs,G=M.callBackBuilder,oe=ut(fe(V));Object.entries(G).forEach(function($e){var Me=w($e,2),Re=Me[0],nt=Me[1];Ne[Re].forEach(function(Pe){oe["on".concat(Pe)]=nt(Pe)})});var ye="[data-draggable]".concat(oe.draggable||"");return f(f({},oe),{},{draggable:ye})}function fe(M){return Object.entries(M).filter(function(V){var G=w(V,2),oe=G[0];return G[1],!lt(oe)}).map(function(V){var G=w(V,2),oe=G[0],ye=G[1];return[ne(oe),ye]}).filter(function(V){var G=w(V,2),oe=G[0];return G[1],!it(oe)})}i("c740");function le(M,V){if(!(M instanceof V))throw new TypeError("Cannot call a class as a function")}function ge(M,V){for(var G=0;G<V.length;G++){var oe=V[G];oe.enumerable=oe.enumerable||!1,oe.configurable=!0,"value"in oe&&(oe.writable=!0),Object.defineProperty(M,oe.key,oe)}}function Ue(M,V,G){return V&&ge(M.prototype,V),M}var Ge=function(V){var G=V.el;return G},A=function(V,G){return V.__draggable_context=G},P=function(V){return V.__draggable_context},j=function(){function M(V){var G=V.nodes,oe=G.header,ye=G.default,$e=G.footer,Me=V.root,Re=V.realList;le(this,M),this.defaultNodes=ye,this.children=[].concat(C(oe),C(ye),C($e)),this.externalComponent=Me.externalComponent,this.rootTransition=Me.transition,this.tag=Me.tag,this.realList=Re}return Ue(M,[{key:"render",value:function(G,oe){var ye=this.tag,$e=this.children,Me=this._isRootComponent,Re=Me?{default:function(){return $e}}:$e;return G(ye,oe,Re)}},{key:"updated",value:function(){var G=this.defaultNodes,oe=this.realList;G.forEach(function(ye,$e){A(Ge(ye),{element:oe[$e],index:$e})})}},{key:"getUnderlyingVm",value:function(G){return P(G)}},{key:"getVmIndexFromDomIndex",value:function(G,oe){var ye=this.defaultNodes,$e=ye.length,Me=oe.children,Re=Me.item(G);if(Re===null)return $e;var nt=P(Re);if(nt)return nt.index;if($e===0)return 0;var Pe=Ge(ye[0]),xe=C(Me).findIndex(function(Ae){return Ae===Pe});return G<xe?0:$e}},{key:"_isRootComponent",get:function(){return this.externalComponent||this.rootTransition}}]),M}(),te=i("8bbf");function X(M,V){var G=M[V];return G?G():[]}function ie(M){var V=M.$slots,G=M.realList,oe=M.getKey,ye=G||[],$e=["header","footer"].map(function(Ae){return X(V,Ae)}),Me=w($e,2),Re=Me[0],nt=Me[1],Pe=V.item;if(!Pe)throw new Error("draggable element must have an item slot");var xe=ye.flatMap(function(Ae,Ye){return Pe({element:Ae,index:Ye}).map(function(et){return et.key=oe(Ae),et.props=f(f({},et.props||{}),{},{"data-draggable":!0}),et})});if(xe.length!==ye.length)throw new Error("Item slot must have only one child");return{header:Re,footer:nt,default:xe}}function pe(M){var V=at(M),G=!He(M)&&!V;return{transition:V,externalComponent:G,tag:G?Object(te.resolveComponent)(M):V?te.TransitionGroup:M}}function E(M){var V=M.$slots,G=M.tag,oe=M.realList,ye=M.getKey,$e=ie({$slots:V,realList:oe,getKey:ye}),Me=pe(G);return new j({nodes:$e,root:Me,realList:oe})}function T(M,V){var G=this;Object(te.nextTick)(function(){return G.$emit(M.toLowerCase(),V)})}function R(M){var V=this;return function(G,oe){if(V.realList!==null)return V["onDrag".concat(M)](G,oe)}}function Q(M){var V=this,G=R.call(this,M);return function(oe,ye){G.call(V,oe,ye),T.call(V,M,oe)}}var de=null,se={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(V){return V}},tag:{type:String,default:"div"},move:{type:Function,default:null},componentData:{type:Object,required:!1,default:null}},H=["update:modelValue","change"].concat(C([].concat(C(Ne.manageAndEmit),C(Ne.emit)).map(function(M){return M.toLowerCase()}))),Z=Object(te.defineComponent)({name:"draggable",inheritAttrs:!1,props:se,emits:H,data:function(){return{error:!1}},render:function(){try{this.error=!1;var V=this.$slots,G=this.$attrs,oe=this.tag,ye=this.componentData,$e=this.realList,Me=this.getKey,Re=E({$slots:V,tag:oe,realList:$e,getKey:Me});this.componentStructure=Re;var nt=We({$attrs:G,componentData:ye});return Re.render(te.h,nt)}catch(Pe){return this.error=!0,Object(te.h)("pre",{style:{color:"red"}},Pe.stack)}},created:function(){this.list!==null&&this.modelValue!==null&&q.a.error("modelValue and list props are mutually exclusive! Please set one or another.")},mounted:function(){var V=this;if(!this.error){var G=this.$attrs,oe=this.$el,ye=this.componentStructure;ye.updated();var $e=Y({$attrs:G,callBackBuilder:{manageAndEmit:function(nt){return Q.call(V,nt)},emit:function(nt){return T.bind(V,nt)},manage:function(nt){return R.call(V,nt)}}}),Me=oe.nodeType===1?oe:oe.parentElement;this._sortable=new D.a(Me,$e),this.targetDomElement=Me,Me.__draggable_component__=this}},updated:function(){this.componentStructure.updated()},beforeUnmount:function(){this._sortable!==void 0&&this._sortable.destroy()},computed:{realList:function(){var V=this.list;return V||this.modelValue},getKey:function(){var V=this.itemKey;return typeof V=="function"?V:function(G){return G[V]}}},watch:{$attrs:{handler:function(V){var G=this._sortable;G&&fe(V).forEach(function(oe){var ye=w(oe,2),$e=ye[0],Me=ye[1];G.option($e,Me)})},deep:!0}},methods:{getUnderlyingVm:function(V){return this.componentStructure.getUnderlyingVm(V)||null},getUnderlyingPotencialDraggableComponent:function(V){return V.__draggable_component__},emitChanges:function(V){var G=this;Object(te.nextTick)(function(){return G.$emit("change",V)})},alterList:function(V){if(this.list){V(this.list);return}var G=C(this.modelValue);V(G),this.$emit("update:modelValue",G)},spliceList:function(){var V=arguments,G=function(ye){return ye.splice.apply(ye,C(V))};this.alterList(G)},updatePosition:function(V,G){var oe=function($e){return $e.splice(G,0,$e.splice(V,1)[0])};this.alterList(oe)},getRelatedContextFromMoveEvent:function(V){var G=V.to,oe=V.related,ye=this.getUnderlyingPotencialDraggableComponent(G);if(!ye)return{component:ye};var $e=ye.realList,Me={list:$e,component:ye};if(G!==oe&&$e){var Re=ye.getUnderlyingVm(oe)||{};return f(f({},Re),Me)}return Me},getVmIndexFromDomIndex:function(V){return this.componentStructure.getVmIndexFromDomIndex(V,this.targetDomElement)},onDragStart:function(V){this.context=this.getUnderlyingVm(V.item),V.item._underlying_vm_=this.clone(this.context.element),de=V.item},onDragAdd:function(V){var G=V.item._underlying_vm_;if(G!==void 0){$(V.item);var oe=this.getVmIndexFromDomIndex(V.newIndex);this.spliceList(oe,0,G);var ye={element:G,newIndex:oe};this.emitChanges({added:ye})}},onDragRemove:function(V){if(F(this.$el,V.item,V.oldIndex),V.pullMode==="clone"){$(V.clone);return}var G=this.context,oe=G.index,ye=G.element;this.spliceList(oe,1);var $e={element:ye,oldIndex:oe};this.emitChanges({removed:$e})},onDragUpdate:function(V){$(V.item),F(V.from,V.item,V.oldIndex);var G=this.context.index,oe=this.getVmIndexFromDomIndex(V.newIndex);this.updatePosition(G,oe);var ye={element:this.context.element,oldIndex:G,newIndex:oe};this.emitChanges({moved:ye})},computeFutureIndex:function(V,G){if(!V.element)return 0;var oe=C(G.to.children).filter(function(Re){return Re.style.display!=="none"}),ye=oe.indexOf(G.related),$e=V.component.getVmIndexFromDomIndex(ye),Me=oe.indexOf(de)!==-1;return Me||!G.willInsertAfter?$e:$e+1},onDragMove:function(V,G){var oe=this.move,ye=this.realList;if(!oe||!ye)return!0;var $e=this.getRelatedContextFromMoveEvent(V),Me=this.computeFutureIndex($e,V),Re=f(f({},this.context),{},{futureIndex:Me}),nt=f(f({},V),{},{relatedContext:$e,draggedContext:Re});return oe(nt,G)},onDragEnd:function(){de=null}}}),Se=Z;s.default=Se},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"),g=i("1dde"),z=i("ae40"),k=g("slice"),w=z("slice",{ACCESSORS:!0,0:0,1:2}),_=h("species"),v=[].slice,S=Math.max;a({target:"Array",proto:!0,forced:!k||!w},{slice:function(L,D){var $=f(this),F=d($.length),q=m(L,F),U=m(D===void 0?F:D,F),W,ne,me;if(u($)&&(W=$.constructor,typeof W=="function"&&(W===Array||u(W.prototype))?W=void 0:l(W)&&(W=W[_],W===null&&(W=void 0)),W===Array||W===void 0))return v.call($,q,U);for(ne=new(W===void 0?Array:W)(S(U-q,0)),me=0;q<U;q++,me++)q in $&&p(ne,me,$[q]);return ne.length=me,ne}})},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})})(az);var Ij=az.exports;const Lj=Yl(Ij),Nj={name:"PageQueue",components:{ContentWithHeading:Qe,ListItemQueueItem:_U,ModalDialogAddUrlStream:IU,ModalDialogPlaylistSave:ZU,ModalDialogQueueItem:iz,draggable:Lj},setup(){return{configurationStore:Fo(),playerStore:En(),queueStore:tr(),uiStore:yn()}},data(){return{edit_mode:!1,selected_item:{},show_details_modal:!1,show_pls_save_modal:!1,show_url_modal:!1}},computed:{current_position(){var e;return((e=this.queue.current)==null?void 0:e.position)??-1},is_queue_save_allowed(){return this.configurationStore.allow_modifying_stored_playlists&&this.configurationStore.default_playlist_directory},queue(){return this.queueStore},queue_items:{get(){return this.queue.items},set(){}},show_only_next_items(){return this.uiStore.show_only_next_items},player(){return this.playerStore}},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&&B.queue_move(n.id,r)},open_add_stream_dialog(){this.show_url_modal=!0},open_dialog(e){this.selected_item=e,this.show_details_modal=!0},queue_clear(){B.queue_clear()},remove(e){B.queue_remove(e.id)},save_dialog(){this.queue_items.length>0&&(this.show_pls_save_modal=!0)},update_show_next_items(){this.uiStore.show_only_next_items=!this.uiStore.show_only_next_items}}},Dj=["textContent"],Rj=["textContent"],Mj={class:"buttons is-centered"},Fj=["textContent"],Vj=["textContent"],Hj=["disabled"],Uj=["textContent"],jj=["disabled"],Bj=["textContent"],Wj=["disabled"],qj=["textContent"],Gj=["onClick"],Kj=["onClick"];function Zj(e,t,n,r,o,s){const i=O("mdicon"),a=O("list-item-queue-item"),l=O("draggable"),u=O("modal-dialog-queue-item"),m=O("modal-dialog-add-url-stream"),d=O("modal-dialog-playlist-save"),f=O("content-with-heading");return x(),I("div",null,[b(f,null,{"heading-left":N(()=>[c("p",{class:"title is-4",textContent:y(e.$t("page.queue.title"))},null,8,Dj),c("p",{class:"heading",textContent:y(e.$t("page.queue.count",{count:s.queue.count}))},null,8,Rj)]),"heading-right":N(()=>[c("div",Mj,[c("button",{class:ke(["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))},[b(i,{class:"icon",name:"arrow-collapse-down",size:"16"}),c("span",{textContent:y(e.$t("page.queue.hide-previous"))},null,8,Fj)],2),c("button",{class:"button is-small",onClick:t[1]||(t[1]=(...p)=>s.open_add_stream_dialog&&s.open_add_stream_dialog(...p))},[b(i,{class:"icon",name:"web",size:"16"}),c("span",{textContent:y(e.$t("page.queue.add-stream"))},null,8,Vj)]),c("button",{class:ke(["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)},[b(i,{class:"icon",name:"pencil",size:"16"}),c("span",{textContent:y(e.$t("page.queue.edit"))},null,8,Uj)],10,Hj),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))},[b(i,{class:"icon",name:"delete-empty",size:"16"}),c("span",{textContent:y(e.$t("page.queue.clear"))},null,8,Bj)],8,jj),s.is_queue_save_allowed?(x(),I("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))},[b(i,{class:"icon",name:"content-save",size:"16"}),c("span",{textContent:y(e.$t("page.queue.save"))},null,8,qj)],8,Wj)):ee("",!0)])]),content:N(()=>[b(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:N(({element:p,index:h})=>[b(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:N(()=>[o.edit_mode?ee("",!0):(x(),I("a",{key:0,onClick:gt(g=>s.open_dialog(p),["prevent","stop"])},[b(i,{class:"icon has-text-dark",name:"dots-vertical",size:"16"})],8,Gj)),p.id!==s.player.item_id&&o.edit_mode?(x(),I("a",{key:1,onClick:gt(g=>s.remove(p),["prevent","stop"])},[b(i,{class:"icon has-text-grey",name:"delete",size:"18"})],8,Kj)):ee("",!0)]),_:2},1032,["item","position","current_position","show_only_next_items","edit_mode"])]),_:1},8,["modelValue","onEnd"]),b(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"]),b(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?(x(),we(d,{key:0,show:o.show_pls_save_modal,onClose:t[8]||(t[8]=p=>o.show_pls_save_modal=!1)},null,8,["show"])):ee("",!0)]),_:1})])}const Yj=ae(Nj,[["render",Zj]]),Oh={load(e){return B.library_radio_streams()},set(e,t){e.tracks=new Ee(t.data.tracks)}},Xj={name:"PageRadioStreams",components:{ContentWithHeading:Qe,ListTracks:gn},beforeRouteEnter(e,t,n){Oh.load(e).then(r=>{n(o=>Oh.set(o,r))})},data(){return{tracks:new Ee}}},Jj=["textContent"],Qj=["textContent"];function eB(e,t,n,r,o,s){const i=O("list-tracks"),a=O("content-with-heading");return x(),I("div",null,[b(a,null,{"heading-left":N(()=>[c("p",{class:"title is-4",textContent:y(e.$t("page.radio.title"))},null,8,Jj),c("p",{class:"heading",textContent:y(e.$t("page.radio.count",{count:o.tracks.total}))},null,8,Qj)]),content:N(()=>[b(i,{items:o.tracks},null,8,["items"])]),_:1})])}const tB=ae(Xj,[["render",eB]]),nB={name:"TabsSearch",emits:["search-library","search-spotify"],setup(){return{servicesStore:Pt()}},computed:{spotify_enabled(){return this.servicesStore.spotify.webapi_token_valid}}},rB={key:0,class:"section"},oB={class:"container"},sB={class:"columns is-centered"},iB={class:"column is-four-fifths"},aB={class:"tabs is-centered is-small is-toggle is-toggle-rounded"},lB=["textContent"],cB=["textContent"];function uB(e,t,n,r,o,s){const i=O("mdicon");return s.spotify_enabled?(x(),I("section",rB,[c("div",oB,[c("div",sB,[c("div",iB,[c("div",aB,[c("ul",null,[c("li",{class:ke({"is-active":e.$route.name==="search-library"})},[c("a",{onClick:t[0]||(t[0]=a=>e.$emit("search-library"))},[b(i,{class:"icon is-small",name:"bookshelf",size:"16"}),c("span",{textContent:y(e.$t("page.search.tabs.library"))},null,8,lB)])],2),c("li",{class:ke({"is-active":e.$route.name==="search-spotify"})},[c("a",{onClick:t[1]||(t[1]=a=>e.$emit("search-spotify"))},[b(i,{class:"icon is-small",name:"spotify",size:"16"}),c("span",{textContent:y(e.$t("page.search.tabs.spotify"))},null,8,cB)])],2)])])])])])])):ee("",!0)}const zz=ae(nB,[["render",uB]]),Yc=3,Xc=["track","artist","album","composer","playlist","audiobook","podcast"],dB={name:"PageSearchLibrary",components:{ContentWithHeading:Qe,ListAlbums:wn,ListArtists:ml,ListComposers:Yu,ListPlaylists:fl,ListTracks:gn,TabsSearch:zz},setup(){return{searchStore:Jd()}},data(){return{components:{album:wn.name,artist:ml.name,audiobook:wn.name,composer:Yu.name,playlist:fl.name,podcast:wn.name,track:gn.name},results:new Map,search_limit:{},search_query:"",search_types:Xc}},computed:{expanded(){return this.search_types.length===1},recent_searches(){return this.searchStore.recent_searches}},watch:{search_query(){this.searchStore.search_query=this.search_query}},mounted(){this.searchStore.search_source=this.$route.name,this.search_query=this.searchStore.search_query,this.search_limit=Yc,this.search()},methods:{expand(e){this.search_query=this.searchStore.search_query,this.search_types=[e],this.search_limit=-1,this.search()},open_search(e){this.search_query=e,this.search_types=Xc,this.search_limit=Yc,this.search()},remove_search(e){this.searchStore.remove(e)},reset(){this.results.clear(),this.search_types.forEach(e=>{this.results.set(e,new Ee)})},search(e){if(e&&(this.search_types=Xc,this.search_limit=Yc),this.search_query=this.search_query.trim(),!this.search_query||!this.search_query.replace(/^query:/u,"")){this.$refs.search_field.focus();return}this.reset(),this.search_types.forEach(t=>{this.search_items(t)}),this.searchStore.add(this.search_query)},search_items(e){const t=e!=="audiobook"&&e!=="podcast",n=t?"music":e,r={limit:this.search_limit,type:t?e:"album"};this.search_query.startsWith("query:")?r.expression=`(${this.search_query.replace(/^query:/u,"").trim()}) and media_kind is ${n}`:t?(r.query=this.search_query,r.media_kind=n):r.expression=`(album includes "${this.search_query}" or artist includes "${this.search_query}") and media_kind is ${n}`,B.search(r).then(({data:o})=>{this.results.set(e,new Ee(o[`${r.type}s`]))})},search_spotify(){this.$router.push({name:"search-spotify"})},show(e){return this.search_types.includes(e)},show_all_button(e){return e.total>e.items.length}}},mB={class:"section pb-0"},fB={class:"container"},pB={class:"columns is-centered"},hB={class:"column is-four-fifths"},_B={class:"field"},gB={class:"control has-icons-left"},yB=["placeholder"],zB=c("code",null,"query:",-1),vB=["textContent"],bB={class:"field is-grouped is-grouped-multiline mt-4"},CB={class:"tags has-addons"},wB=["onClick","textContent"],kB=["onClick"],SB=["textContent"],xB={key:0,class:"level"},EB={class:"level-item"},$B=["onClick","textContent"],TB={key:1,class:"has-text-centered-mobile"},AB=["textContent"];function OB(e,t,n,r,o,s){const i=O("mdicon"),a=O("i18n-t"),l=O("tabs-search"),u=O("content-with-heading");return x(),I(ve,null,[c("section",mB,[c("div",fB,[c("div",pB,[c("div",hB,[c("form",{onSubmit:t[1]||(t[1]=gt((...m)=>s.search&&s.search(...m),["prevent"]))},[c("div",_B,[c("p",gB,[ht(c("input",{ref:"search_field","onUpdate:modelValue":t[0]||(t[0]=m=>o.search_query=m),class:"input is-rounded is-shadowless",type:"text",placeholder:e.$t("page.search.placeholder"),autocomplete:"off"},null,8,yB),[[_n,o.search_query]]),b(i,{class:"icon is-left",name:"magnify",size:"16"})]),b(a,{tag:"p",class:"help has-text-centered",keypath:"page.search.help",scope:"global"},{query:N(()=>[zB]),help:N(()=>[c("a",{href:"https://owntone.github.io/owntone-server/smart-playlists/",target:"_blank",textContent:y(e.$t("page.search.expression"))},null,8,vB)]),_:1})])],32),c("div",bB,[(x(!0),I(ve,null,_t(s.recent_searches,m=>(x(),I("div",{key:m,class:"control"},[c("div",CB,[c("a",{class:"tag",onClick:d=>s.open_search(m),textContent:y(m)},null,8,wB),c("a",{class:"tag is-delete",onClick:d=>s.remove_search(m)},null,8,kB)])]))),128))])])])])]),b(l,{onSearchLibrary:s.search,onSearchSpotify:s.search_spotify},null,8,["onSearchLibrary","onSearchSpotify"]),(x(!0),I(ve,null,_t(o.results,([m,d])=>(x(),we(u,{key:m,class:"pt-0"},xd({"heading-left":N(()=>[c("p",{class:"title is-4",textContent:y(e.$t(`page.search.${m}s`))},null,8,SB)]),content:N(()=>[(x(),we(Ll(o.components[m]),{items:d},null,8,["items"]))]),_:2},[s.expanded?void 0:{name:"footer",fn:N(()=>[s.show_all_button(d)?(x(),I("nav",xB,[c("p",EB,[c("a",{class:"button is-light is-small is-rounded",onClick:f=>s.expand(m),textContent:y(e.$t(`page.search.show-${m}s`,d.total,{count:e.$filters.number(d.total)}))},null,8,$B)])])):ee("",!0),d.total?ee("",!0):(x(),I("p",TB,[c("i",{textContent:y(e.$t("page.search.no-results"))},null,8,AB)]))]),key:"0"}]),1024))),128))],64)}const PB=ae(dB,[["render",OB]]),IB={name:"ListArtistsSpotify",components:{ModalDialogArtistSpotify:tz},props:{items:{required:!0,type:Object}},data(){return{selected_item:{},show_details_modal:!1}},methods:{open(e){this.$router.push({name:"music-spotify-artist",params:{id:e.id}})},open_dialog(e){this.selected_item=e,this.show_details_modal=!0}}},LB=["onClick"],NB=["textContent"],DB={class:"media-right"},RB=["onClick"];function MB(e,t,n,r,o,s){const i=O("mdicon"),a=O("modal-dialog-artist-spotify");return x(),I(ve,null,[(x(!0),I(ve,null,_t(n.items,l=>(x(),I("div",{key:l.id,class:"media is-align-items-center"},[c("div",{class:"media-content is-clickable is-clipped",onClick:u=>s.open(l)},[c("h1",{class:"title is-6",textContent:y(l.name)},null,8,NB)],8,LB),c("div",DB,[c("a",{onClick:gt(u=>s.open_dialog(l),["prevent","stop"])},[b(i,{class:"icon has-text-dark",name:"dots-vertical",size:"16"})],8,RB)])]))),128)),(x(),we(Hn,{to:"#app"},[b(a,{item:o.selected_item,show:o.show_details_modal,onClose:t[0]||(t[0]=l=>o.show_details_modal=!1)},null,8,["item","show"])]))],64)}const Ph=ae(IB,[["render",MB]]),Jc=3,Qc=50,eu=["track","artist","album","playlist"],FB={name:"PageSearchSpotify",components:{ContentWithHeading:Qe,ListAlbumsSpotify:Ii,ListArtistsSpotify:Ph,ListPlaylistsSpotify:pl,ListTracksSpotify:dl,TabsSearch:zz,VueEternalLoading:cm},setup(){return{searchStore:Jd()}},data(){return{components:{album:Ii.name,artist:Ph.name,playlist:pl.name,track:dl.name},results:new Map,search_parameters:{},search_query:"",search_types:eu}},computed:{expanded(){return this.search_types.length===1},recent_searches(){return this.searchStore.recent_searches.filter(e=>!e.startsWith("query:"))}},watch:{search_query(){this.searchStore.search_query=this.search_query}},mounted(){this.searchStore.search_source=this.$route.name,this.search_query=this.searchStore.search_query,this.search_parameters.limit=Jc,this.search()},methods:{expand(e){this.search_query=this.searchStore.search_query,this.search_types=[e],this.search_parameters.limit=Qc,this.search_parameters.offset=0,this.search()},open_search(e){this.search_query=e,this.search_types=eu,this.search_parameters.limit=Jc,this.search_parameters.offset=0,this.search()},remove_search(e){this.searchStore.remove(e)},reset(){this.results.clear(),this.search_types.forEach(e=>{this.results.set(e,{items:[],total:0})})},search(e){if(e&&(this.search_types=eu,this.search_parameters.limit=Jc),this.search_query=this.search_query.trim(),!this.search_query){this.$refs.search_field.focus();return}this.reset(),this.search_items().then(t=>{this.search_types.forEach(n=>{this.results.set(n,t[`${n}s`])})}),this.searchStore.add(this.search_query)},search_items(){return B.spotify().then(({data:e})=>{this.search_parameters.market=e.webapi_country;const t=new ir;return t.setAccessToken(e.webapi_token),t.search(this.search_query,this.search_types,this.search_parameters)})},search_library(){this.$router.push({name:"search-library"})},search_next({loaded:e}){const[t]=this.search_types,n=this.results.get(t);this.search_parameters.limit=Qc,this.search_items().then(r=>{const[o]=Object.values(r);n.items.push(...o.items),n.total=o.total,this.search_parameters.offset||(this.search_parameters.offset=0),this.search_parameters.offset+=o.limit,e(o.items.length,Qc)})},show(e){return this.search_types.includes(e)},show_all_button(e){return e.total>e.items.length}}},VB={class:"section pb-0"},HB={class:"container"},UB={class:"columns is-centered"},jB={class:"column is-four-fifths"},BB={class:"field"},WB={class:"control has-icons-left"},qB=["placeholder"],GB={class:"field is-grouped is-grouped-multiline mt-4"},KB={class:"tags has-addons"},ZB=["onClick","textContent"],YB=["onClick"],XB=["textContent"],JB={class:"columns is-centered"},QB={class:"column has-text-centered"},eW=c("br",null,null,-1),tW={key:0,class:"level"},nW={class:"level-item"},rW=["onClick","textContent"],oW={key:1,class:"has-text-centered-mobile"},sW=["textContent"];function iW(e,t,n,r,o,s){const i=O("mdicon"),a=O("tabs-search"),l=O("VueEternalLoading"),u=O("content-with-heading");return x(),I(ve,null,[c("section",VB,[c("div",HB,[c("div",UB,[c("div",jB,[c("form",{onSubmit:t[1]||(t[1]=gt((...m)=>s.search&&s.search(...m),["prevent"]))},[c("div",BB,[c("p",WB,[ht(c("input",{ref:"search_field","onUpdate:modelValue":t[0]||(t[0]=m=>o.search_query=m),class:"input is-rounded is-shadowless",type:"text",placeholder:e.$t("page.spotify.search.placeholder"),autocomplete:"off"},null,8,qB),[[_n,o.search_query]]),b(i,{class:"icon is-left",name:"magnify",size:"16"})])])],32),c("div",GB,[(x(!0),I(ve,null,_t(s.recent_searches,m=>(x(),I("div",{key:m,class:"control"},[c("div",KB,[c("a",{class:"tag",onClick:d=>s.open_search(m),textContent:y(m)},null,8,ZB),c("a",{class:"tag is-delete",onClick:d=>s.remove_search(m)},null,8,YB)])]))),128))])])])])]),b(a,{onSearchLibrary:s.search_library,onSearchSpotify:s.search},null,8,["onSearchLibrary","onSearchSpotify"]),(x(!0),I(ve,null,_t(o.results,([m,d])=>(x(),we(u,{key:m,class:"pt-0"},xd({"heading-left":N(()=>[c("p",{class:"title is-4",textContent:y(e.$t(`page.spotify.search.${m}s`))},null,8,XB)]),content:N(()=>[(x(),we(Ll(o.components[m]),{items:d.items},null,8,["items"])),s.expanded?(x(),we(l,{key:0,load:s.search_next},{loading:N(()=>[c("div",JB,[c("div",QB,[b(i,{class:"icon mdi-spin",name:"loading"})])])]),"no-more":N(()=>[eW]),_:1},8,["load"])):ee("",!0)]),_:2},[s.expanded?void 0:{name:"footer",fn:N(()=>[s.show_all_button(d)?(x(),I("nav",tW,[c("p",nW,[c("a",{class:"button is-light is-small is-rounded",onClick:f=>s.expand(m),textContent:y(e.$t(`page.spotify.search.show-${m}s`,d.total,{count:e.$filters.number(d.total)}))},null,8,rW)])])):ee("",!0),d.total?ee("",!0):(x(),I("p",oW,[c("i",{textContent:y(e.$t("page.spotify.search.no-results"))},null,8,sW)]))]),key:"0"}]),1024))),128))],64)}const aW=ae(FB,[["render",iW]]),lW={name:"SettingsCheckbox",props:{category:{required:!0,type:String},name:{required:!0,type:String}},setup(){return{settingsStore:sr()}},data(){return{statusUpdate:"",timerDelay:2e3,timerId:-1}},computed:{info(){return this.is_success?this.$t("setting.saved"):this.is_error?this.$t("setting.not-saved"):""},is_error(){return this.statusUpdate==="error"},is_success(){return this.statusUpdate==="success"},setting(){const e=this.settingsStore.setting(this.category,this.name);return e||{category:this.category,name:this.name,value:!1}}},methods:{clear_status(){this.is_error&&(this.setting.value=!this.setting.value),this.statusUpdate=""},update_setting(){this.timerId=-1;const e={category:this.category,name:this.name,value:this.setting.value};B.settings_update(this.category,e).then(()=>{this.settingsStore.update(e),this.statusUpdate="success"}).catch(()=>{this.statusUpdate="error"}).finally(()=>{this.timerId=window.setTimeout(this.clear_status,this.timerDelay)})}}},cW={class:"field"},uW=["id"],dW=["for"],mW=["textContent"],fW={key:0,class:"help"};function pW(e,t,n,r,o,s){return x(),I("div",cW,[ht(c("input",{id:s.setting.name,"onUpdate:modelValue":t[0]||(t[0]=i=>s.setting.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,uW),[[Mn,s.setting.value]]),c("label",{class:"pt-0",for:s.setting.name},[vt(e.$slots,"label")],8,dW),c("i",{class:ke(["is-size-7",{"has-text-info":s.is_success,"has-text-danger":s.is_error}]),textContent:y(s.info)},null,10,mW),e.$slots.info?(x(),I("p",fW,[vt(e.$slots,"info")])):ee("",!0)])}const vz=ae(lW,[["render",pW]]),hW={name:"TabsSettings"},_W={class:"section fd-tabs-section"},gW={class:"container"},yW={class:"columns is-centered"},zW={class:"column is-four-fifths"},vW={class:"tabs is-centered is-small"},bW=["onClick","onKeypress"],CW=["textContent"],wW=["onClick","onKeypress"],kW=["textContent"],SW=["onClick","onKeypress"],xW=["textContent"],EW=["onClick","onKeypress"],$W=["textContent"];function TW(e,t,n,r,o,s){const i=O("router-link");return x(),I("section",_W,[c("div",gW,[c("div",yW,[c("div",zW,[c("div",vW,[c("ul",null,[b(i,{to:{name:"settings-webinterface"},custom:""},{default:N(({navigate:a,isActive:l})=>[c("li",{class:ke({"is-active":l})},[c("a",{onClick:a,onKeypress:dn(a,["enter"])},[c("span",{textContent:y(e.$t("page.settings.tabs.general"))},null,8,CW)],40,bW)],2)]),_:1}),b(i,{to:{name:"settings-remotes-outputs"},custom:""},{default:N(({navigate:a,isActive:l})=>[c("li",{class:ke({"is-active":l})},[c("a",{onClick:a,onKeypress:dn(a,["enter"])},[c("span",{textContent:y(e.$t("page.settings.tabs.remotes-and-outputs"))},null,8,kW)],40,wW)],2)]),_:1}),b(i,{to:{name:"settings-artwork"},custom:""},{default:N(({navigate:a,isActive:l})=>[c("li",{class:ke({"is-active":l})},[c("a",{onClick:a,onKeypress:dn(a,["enter"])},[c("span",{textContent:y(e.$t("page.settings.tabs.artwork"))},null,8,xW)],40,SW)],2)]),_:1}),b(i,{to:{name:"settings-online-services"},custom:""},{default:N(({navigate:a,isActive:l})=>[c("li",{class:ke({"is-active":l})},[c("a",{onClick:a,onKeypress:dn(a,["enter"])},[c("span",{textContent:y(e.$t("page.settings.tabs.online-services"))},null,8,$W)],40,EW)],2)]),_:1})])])])])])])}const ac=ae(hW,[["render",TW]]),AW={name:"PageSettingsArtwork",components:{ContentWithHeading:Qe,SettingsCheckbox:vz,TabsSettings:ac},setup(){return{servicesStore:Pt()}},computed:{spotify(){return this.servicesStore.spotify}}},OW={class:"fd-page-with-tabs"},PW=["textContent"],IW=["textContent"],LW=["textContent"],NW=["textContent"],DW={href:"https://www.spotify.com/",target:"_blank"},RW={class:"icon"},MW=["textContent"],FW={href:"https://www.discogs.com/",target:"_blank"},VW={class:"icon"},HW=["textContent"],UW={href:"https://coverartarchive.org/",target:"_blank"},jW={class:"icon"};function BW(e,t,n,r,o,s){const i=O("tabs-settings"),a=O("mdicon"),l=O("settings-checkbox"),u=O("content-with-heading");return x(),I("div",OW,[b(i),b(u,null,{"heading-left":N(()=>[c("div",{class:"title is-4",textContent:y(e.$t("page.settings.artwork.artwork"))},null,8,PW)]),content:N(()=>[c("div",{class:"content",textContent:y(e.$t("page.settings.artwork.explanation-1"))},null,8,IW),c("div",{class:"content",textContent:y(e.$t("page.settings.artwork.explanation-2"))},null,8,LW),s.spotify.spotify_logged_in?(x(),we(l,{key:0,category:"artwork",name:"use_artwork_source_spotify"},{label:N(()=>[c("span",{textContent:y(e.$t("page.settings.artwork.spotify"))},null,8,NW),c("a",DW,[c("span",RW,[b(a,{name:"open-in-new",size:"16"})])])]),_:1})):ee("",!0),b(l,{category:"artwork",name:"use_artwork_source_discogs"},{label:N(()=>[c("span",{textContent:y(e.$t("page.settings.artwork.discogs"))},null,8,MW),c("a",FW,[c("span",VW,[b(a,{name:"open-in-new",size:"16"})])])]),_:1}),b(l,{category:"artwork",name:"use_artwork_source_coverartarchive"},{label:N(()=>[c("span",{textContent:y(e.$t("page.settings.artwork.coverartarchive"))},null,8,HW),c("a",UW,[c("span",jW,[b(a,{name:"open-in-new",size:"16"})])])]),_:1})]),_:1})])}const WW=ae(AW,[["render",BW]]),qW={name:"PageSettingsOnlineServices",components:{ContentWithHeading:Qe,TabsSettings:ac},setup(){return{servicesStore:Pt()}},data(){return{lastfm_login:{errors:{error:"",password:"",user:""},password:"",user:""}}},computed:{lastfm(){return this.servicesStore.lastfm},spotify(){return this.servicesStore.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.includes(e)):[]},spotify_required_scope(){return this.spotify.webapi_required_scope?this.spotify.webapi_required_scope.split(" "):[]}},methods:{login_lastfm(){B.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(){B.lastfm_logout()},logout_spotify(){B.spotify_logout()}}},GW={class:"fd-page-with-tabs"},KW=["textContent"],ZW={key:0,class:"notification is-size-7"},YW=["textContent"],XW={key:1},JW={class:"notification is-size-7"},QW=["textContent"],eq={class:"mt-5"},tq=["textContent"],nq={key:0},rq=["textContent"],oq=["textContent"],sq={key:1,class:"help is-danger"},iq=["textContent"],aq=["textContent"],lq={class:"field mt-5"},cq={class:"control"},uq=["href","textContent"],dq={class:"help"},mq=["textContent"],fq=["textContent"],pq={key:2,class:"field mt-5"},hq={class:"control"},_q=["textContent"],gq=["textContent"],yq={key:0,class:"notification is-size-7"},zq=["textContent"],vq={key:1},bq=["textContent"],Cq={key:0},wq=["textContent"],kq={key:1},Sq={class:"field is-grouped"},xq={class:"control"},Eq=["placeholder"],$q=["textContent"],Tq={class:"control"},Aq=["placeholder"],Oq=["textContent"],Pq={class:"control"},Iq=["textContent"],Lq=["textContent"],Nq=["textContent"];function Dq(e,t,n,r,o,s){const i=O("tabs-settings"),a=O("content-with-heading");return x(),I("div",GW,[b(i),b(a,null,{"heading-left":N(()=>[c("div",{class:"title is-4",textContent:y(e.$t("page.settings.services.spotify.title"))},null,8,KW)]),content:N(()=>[s.spotify.spotify_installed?ee("",!0):(x(),I("div",ZW,[c("p",{textContent:y(e.$t("page.settings.services.spotify.no-support"))},null,8,YW)])),s.spotify.spotify_installed?(x(),I("div",XW,[c("div",JW,[c("span",{textContent:y(e.$t("page.settings.services.spotify.requirements"))},null,8,QW)]),c("div",eq,[c("p",{class:"content",textContent:y(e.$t("page.settings.services.spotify.grant-access"))},null,8,tq),s.spotify.webapi_token_valid?(x(),I("p",nq,[c("span",{textContent:y(e.$t("page.settings.services.spotify.user"))},null,8,rq),c("code",{textContent:y(s.spotify.webapi_user)},null,8,oq)])):ee("",!0),s.spotify_missing_scope.length>0?(x(),I("p",sq,[c("span",{textContent:y(e.$t("page.settings.services.spotify.reauthorize"))},null,8,iq),c("code",{textContent:y(s.spotify_missing_scope.join())},null,8,aq)])):ee("",!0),c("div",lq,[c("div",cq,[c("a",{class:ke(["button",{"is-info":!s.spotify.webapi_token_valid||s.spotify_missing_scope.length>0}]),href:s.spotify.oauth_uri,textContent:y(e.$t("page.settings.services.spotify.authorize"))},null,10,uq)])]),c("p",dq,[c("span",{textContent:y(e.$t("page.settings.services.spotify.scopes"))},null,8,mq),c("code",{textContent:y(s.spotify_required_scope.join(", "))},null,8,fq)]),s.spotify.webapi_token_valid?(x(),I("div",pq,[c("div",hq,[c("a",{class:"button is-danger",onClick:t[0]||(t[0]=(...l)=>s.logout_spotify&&s.logout_spotify(...l)),textContent:y(e.$t("page.settings.services.logout"))},null,8,_q)])])):ee("",!0)])])):ee("",!0)]),_:1}),b(a,null,{"heading-left":N(()=>[c("div",{class:"title is-4",textContent:y(e.$t("page.settings.services.lastfm.title"))},null,8,gq)]),content:N(()=>[s.lastfm.enabled?ee("",!0):(x(),I("div",yq,[c("p",{textContent:y(e.$t("page.settings.services.lastfm.no-support"))},null,8,zq)])),s.lastfm.enabled?(x(),I("div",vq,[c("p",{class:"content",textContent:y(e.$t("page.settings.services.lastfm.grant-access"))},null,8,bq),s.lastfm.scrobbling_enabled?(x(),I("div",Cq,[c("a",{class:"button is-danger",onClick:t[1]||(t[1]=(...l)=>s.logoutLastfm&&s.logoutLastfm(...l)),textContent:y(e.$t("page.settings.services.logout"))},null,8,wq)])):ee("",!0),s.lastfm.scrobbling_enabled?ee("",!0):(x(),I("div",kq,[c("form",{onSubmit:t[4]||(t[4]=gt((...l)=>s.login_lastfm&&s.login_lastfm(...l),["prevent"]))},[c("div",Sq,[c("div",xq,[ht(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,Eq),[[_n,o.lastfm_login.user]]),c("p",{class:"help is-danger",textContent:y(o.lastfm_login.errors.user)},null,8,$q)]),c("div",Tq,[ht(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,Aq),[[_n,o.lastfm_login.password]]),c("p",{class:"help is-danger",textContent:y(o.lastfm_login.errors.password)},null,8,Oq)]),c("div",Pq,[c("button",{class:"button is-info",type:"submit",textContent:y(e.$t("page.settings.services.login"))},null,8,Iq)])]),c("p",{class:"help is-danger",textContent:y(o.lastfm_login.errors.error)},null,8,Lq),c("p",{class:"help",textContent:y(e.$t("page.settings.services.lastfm.info"))},null,8,Nq)],32)]))])):ee("",!0)]),_:1})])}const Rq=ae(qW,[["render",Dq]]),Mq={name:"PageSettingsRemotesOutputs",components:{ContentWithHeading:Qe,TabsSettings:ac},setup(){return{outputsStore:Xd(),remotesStore:Nd()}},data(){return{pairing_req:{pin:""},verification_req:{pin:""}}},computed:{outputs(){return this.outputsStore.outputs},pairing(){return this.remotesStore.pairing}},methods:{kickoff_pairing(){B.pairing_kickoff(this.pairing_req)},kickoff_verification(e){B.output_update(e,this.verification_req)},output_toggle(e){B.output_toggle(e)}}},Fq={class:"fd-page-with-tabs"},Vq=["textContent"],Hq={key:0},Uq={class:"label has-text-weight-normal content"},jq=["textContent"],Bq=["textContent"],Wq={class:"field is-grouped"},qq={class:"control"},Gq=["placeholder"],Kq={class:"control"},Zq=["textContent"],Yq={key:1},Xq=["textContent"],Jq=["textContent"],Qq=["textContent"],eG={class:"field"},tG={class:"control"},nG=["id","onUpdate:modelValue","onChange"],rG=["for","textContent"],oG=["onSubmit"],sG={class:"field is-grouped"},iG={class:"control"},aG=["placeholder"],lG={class:"control"},cG=["textContent"];function uG(e,t,n,r,o,s){const i=O("tabs-settings"),a=O("content-with-heading");return x(),I("div",Fq,[b(i),b(a,null,{"heading-left":N(()=>[c("p",{class:"title is-4",textContent:y(e.$t("page.settings.devices.pairing"))},null,8,Vq)]),content:N(()=>[s.pairing.active?(x(),I("div",Hq,[c("form",{onSubmit:t[1]||(t[1]=gt((...l)=>s.kickoff_pairing&&s.kickoff_pairing(...l),["prevent"]))},[c("label",Uq,[c("span",{textContent:y(e.$t("page.settings.devices.pairing-request"))},null,8,jq),c("b",{textContent:y(s.pairing.remote)},null,8,Bq)]),c("div",Wq,[c("div",qq,[ht(c("input",{"onUpdate:modelValue":t[0]||(t[0]=l=>o.pairing_req.pin=l),class:"input",inputmode:"numeric",pattern:"[\\d]{4}",placeholder:e.$t("page.settings.devices.pairing-code")},null,8,Gq),[[_n,o.pairing_req.pin]])]),c("div",Kq,[c("button",{class:"button is-info",type:"submit",textContent:y(e.$t("page.settings.devices.send"))},null,8,Zq)])])],32)])):(x(),I("div",Yq,[c("p",{textContent:y(e.$t("page.settings.devices.no-active-pairing"))},null,8,Xq)]))]),_:1}),b(a,null,{"heading-left":N(()=>[c("p",{class:"title is-4",textContent:y(e.$t("page.settings.devices.speaker-pairing"))},null,8,Jq)]),content:N(()=>[c("p",{class:"content",textContent:y(e.$t("page.settings.devices.speaker-pairing-info"))},null,8,Qq),(x(!0),I(ve,null,_t(s.outputs,l=>(x(),I("div",{key:l.id},[c("div",eG,[c("div",tG,[ht(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,nG),[[Mn,l.selected]]),c("label",{for:l.id,class:"checkbox",textContent:y(l.name)},null,8,rG)])]),l.needs_auth_key?(x(),I("form",{key:0,class:"mb-5",onSubmit:gt(u=>s.kickoff_verification(l.id),["prevent"])},[c("div",sG,[c("div",iG,[ht(c("input",{"onUpdate:modelValue":t[2]||(t[2]=u=>o.verification_req.pin=u),class:"input",inputmode:"numeric",pattern:"[\\d]{4}",placeholder:e.$t("page.settings.devices.verification-code")},null,8,aG),[[_n,o.verification_req.pin]])]),c("div",lG,[c("button",{class:"button is-info",type:"submit",textContent:y(e.$t("page.settings.devices.verify"))},null,8,cG)])])],40,oG)):ee("",!0)]))),128))]),_:1})])}const dG=ae(Mq,[["render",uG]]),mG={name:"SettingsIntfield",props:{category:{required:!0,type:String},disabled:Boolean,name:{required:!0,type:String},placeholder:{default:"",type:String}},setup(){return{settingsStore:sr()}},data(){return{statusUpdate:"",timerDelay:2e3,timerId:-1}},computed:{info(){return this.statusUpdate==="success"?this.$t("setting.saved"):this.statusUpdate==="error"?this.$t("setting.not-saved"):""},is_error(){return this.statusUpdate==="error"},is_success(){return this.statusUpdate==="success"},setting(){return this.settingsStore.setting(this.category,this.name)}},methods:{clear_status(){this.statusUpdate=""},set_update_timer(e){e.target.value=e.target.value.replace(/[^0-9]/gu,""),this.timerId>0&&(window.clearTimeout(this.timerId),this.timerId=-1),this.statusUpdate="",this.timerId=window.setTimeout(this.update_setting,this.timerDelay)},update_setting(){this.timerId=-1;const e=parseInt(this.$refs.setting.value,10);if(isNaN(e)||e===this.value){this.statusUpdate="";return}const t={category:this.category,name:this.name,value:e};B.settings_update(this.category,t).then(()=>{this.settingsStore.update(t),this.statusUpdate="success"}).catch(()=>{this.statusUpdate="error",this.$refs.setting.value=this.value}).finally(()=>{this.timerId=window.setTimeout(this.clear_status,this.timerDelay)})}}},fG=["disabled"],pG={class:"field"},hG={class:"label has-text-weight-normal"},_G=["textContent"],gG={class:"control"},yG=["placeholder","value"],zG={key:0,class:"help"};function vG(e,t,n,r,o,s){return x(),I("fieldset",{disabled:n.disabled},[c("div",pG,[c("label",hG,[vt(e.$slots,"label"),c("i",{class:ke(["is-size-7",{"has-text-info":s.is_success,"has-text-danger":s.is_error}]),textContent:y(s.info)},null,10,_G)]),c("div",gG,[c("input",{ref:"setting",class:"column input is-one-fifth",inputmode:"numeric",min:"0",placeholder:n.placeholder,value:s.setting.value,onInput:t[0]||(t[0]=(...i)=>s.set_update_timer&&s.set_update_timer(...i))},null,40,yG)]),e.$slots.info?(x(),I("p",zG,[vt(e.$slots,"info")])):ee("",!0)])],8,fG)}const bG=ae(mG,[["render",vG]]),CG={name:"SettingsTextfield",props:{category:{required:!0,type:String},disabled:Boolean,name:{required:!0,type:String},placeholder:{default:"",type:String}},setup(){return{settingsStore:sr()}},data(){return{statusUpdate:"",timerDelay:2e3,timerId:-1}},computed:{info(){return this.statusUpdate==="success"?this.$t("setting.saved"):this.statusUpdate==="error"?this.$t("setting.not-saved"):""},is_error(){return this.statusUpdate==="error"},is_success(){return this.statusUpdate==="success"},setting(){return this.settingsStore.setting(this.category,this.name)}},methods:{clear_status(){this.statusUpdate=""},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:this.name,value:e};B.settings_update(this.category,t).then(()=>{this.settingsStore.update(t),this.statusUpdate="success"}).catch(()=>{this.statusUpdate="error",this.$refs.setting.value=this.value}).finally(()=>{this.timerId=window.setTimeout(this.clear_status,this.timerDelay)})}}},wG=["disabled"],kG={class:"field"},SG={class:"label has-text-weight-normal"},xG=["textContent"],EG={class:"control"},$G=["placeholder","value"],TG={key:0,class:"help"};function AG(e,t,n,r,o,s){return x(),I("fieldset",{disabled:n.disabled},[c("div",kG,[c("label",SG,[vt(e.$slots,"label"),c("i",{class:ke(["is-size-7",{"has-text-info":s.is_success,"has-text-danger":s.is_error}]),textContent:y(s.info)},null,10,xG)]),c("div",EG,[c("input",{ref:"setting",class:"input",type:"text",placeholder:n.placeholder,value:s.setting.value,onInput:t[0]||(t[0]=(...i)=>s.set_update_timer&&s.set_update_timer(...i))},null,40,$G)]),e.$slots.info?(x(),I("p",TG,[vt(e.$slots,"info")])):ee("",!0)])],8,wG)}const OG=ae(CG,[["render",AG]]),PG={name:"PageSettingsWebinterface",components:{ContentWithHeading:Qe,ControlDropdown:Bo,SettingsCheckbox:vz,SettingsIntfield:bG,SettingsTextfield:OG,TabsSettings:ac},setup(){return{settingsStore:sr()}},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}`)}))}}}},IG={class:"fd-page-with-tabs"},LG=["textContent"],NG=["textContent"],DG=["textContent"],RG=["textContent"],MG=["textContent"],FG=["textContent"],VG=["textContent"],HG=["textContent"],UG=["textContent"],jG=["textContent"],BG=["textContent"],WG=["textContent"],qG=["textContent"],GG=["textContent"],KG=["textContent"],ZG=["textContent"],YG=["textContent"],XG=["textContent"],JG=["textContent"],QG=["textContent"],eK=["textContent"],tK=["textContent"],nK=["textContent"];function rK(e,t,n,r,o,s){const i=O("tabs-settings"),a=O("control-dropdown"),l=O("content-with-heading"),u=O("settings-checkbox"),m=O("settings-textfield"),d=O("settings-intfield");return x(),I("div",IG,[b(i),b(l,null,{"heading-left":N(()=>[c("div",{class:"title is-4",textContent:y(e.$t("page.settings.general.language"))},null,8,LG)]),content:N(()=>[b(a,{value:s.locale,"onUpdate:value":t[0]||(t[0]=f=>s.locale=f),options:s.locales},null,8,["value","options"])]),_:1}),b(l,null,{"heading-left":N(()=>[c("div",{class:"title is-4",textContent:y(e.$t("page.settings.general.navigation-items"))},null,8,NG)]),content:N(()=>[c("p",{class:"content",textContent:y(e.$t("page.settings.general.navigation-item-selection"))},null,8,DG),c("div",{class:"notification is-size-7",textContent:y(e.$t("page.settings.general.navigation-item-selection-info"))},null,8,RG),b(u,{category:"webinterface",name:"show_menu_item_playlists"},{label:N(()=>[c("span",{textContent:y(e.$t("page.settings.general.playlists"))},null,8,MG)]),_:1}),b(u,{category:"webinterface",name:"show_menu_item_music"},{label:N(()=>[c("span",{textContent:y(e.$t("page.settings.general.music"))},null,8,FG)]),_:1}),b(u,{category:"webinterface",name:"show_menu_item_podcasts"},{label:N(()=>[c("span",{textContent:y(e.$t("page.settings.general.podcasts"))},null,8,VG)]),_:1}),b(u,{category:"webinterface",name:"show_menu_item_audiobooks"},{label:N(()=>[c("span",{textContent:y(e.$t("page.settings.general.audiobooks"))},null,8,HG)]),_:1}),b(u,{category:"webinterface",name:"show_menu_item_radio"},{label:N(()=>[c("span",{textContent:y(e.$t("page.settings.general.radio"))},null,8,UG)]),_:1}),b(u,{category:"webinterface",name:"show_menu_item_files"},{label:N(()=>[c("span",{textContent:y(e.$t("page.settings.general.files"))},null,8,jG)]),_:1}),b(u,{category:"webinterface",name:"show_menu_item_search"},{label:N(()=>[c("span",{textContent:y(e.$t("page.settings.general.search"))},null,8,BG)]),_:1})]),_:1}),b(l,null,{"heading-left":N(()=>[c("div",{class:"title is-4",textContent:y(e.$t("page.settings.general.album-lists"))},null,8,WG)]),content:N(()=>[b(u,{category:"webinterface",name:"show_cover_artwork_in_album_lists"},{label:N(()=>[c("span",{textContent:y(e.$t("page.settings.general.show-coverart"))},null,8,qG)]),_:1})]),_:1}),b(l,null,{"heading-left":N(()=>[c("div",{class:"title is-4",textContent:y(e.$t("page.settings.general.now-playing-page"))},null,8,GG)]),content:N(()=>[b(u,{category:"webinterface",name:"show_composer_now_playing"},{label:N(()=>[c("span",{textContent:y(e.$t("page.settings.general.show-composer"))},null,8,KG)]),info:N(()=>[c("span",{textContent:y(e.$t("page.settings.general.show-composer-info"))},null,8,ZG)]),_:1}),b(m,{category:"webinterface",name:"show_composer_for_genre",disabled:!r.settingsStore.show_composer_now_playing,placeholder:e.$t("page.settings.general.genres")},{label:N(()=>[c("span",{textContent:y(e.$t("page.settings.general.show-composer-genres"))},null,8,YG)]),info:N(()=>[c("p",{class:"help",textContent:y(e.$t("page.settings.general.show-composer-genres-info-1"))},null,8,XG),c("p",{class:"help",textContent:y(e.$t("page.settings.general.show-composer-genres-info-2"))},null,8,JG),c("p",{class:"help",textContent:y(e.$t("page.settings.general.show-composer-genres-info-3"))},null,8,QG)]),_:1},8,["disabled","placeholder"]),b(u,{category:"webinterface",name:"show_filepath_now_playing"},{label:N(()=>[c("span",{textContent:y(e.$t("page.settings.general.show-path"))},null,8,eK)]),_:1})]),_:1}),b(l,null,{"heading-left":N(()=>[c("div",{class:"title is-4",textContent:y(e.$t("page.settings.general.recently-added-page"))},null,8,tK)]),content:N(()=>[b(d,{category:"webinterface",name:"recently_added_limit"},{label:N(()=>[c("span",{textContent:y(e.$t("page.settings.general.recently-added-page-info"))},null,8,nK)]),_:1})]),_:1})])}const oK=ae(PG,[["render",rK]]),Ih=140,Lh=110,bz=I8({history:a8(),routes:[{path:"/:all(.*)*",redirect:"/"},{component:OP,name:"about",path:"/about"},{component:p4,meta:{show_progress:!0},name:"music-album",path:"/music/albums/:id"},{component:S6,meta:{show_progress:!0},name:"music-spotify-album",path:"/music/spotify/albums/:id"},{component:Z5,meta:{has_index:!0,has_tabs:!0,show_progress:!0},name:"music-albums",path:"/music/albums"},{component:NN,meta:{has_index:!0,show_progress:!0},name:"music-artist",path:"/music/artists/:id"},{component:E3,meta:{show_progress:!0},name:"music-spotify-artist",path:"/music/spotify/artists/:id"},{component:bD,meta:{has_index:!0,has_tabs:!0,show_progress:!0},name:"music-artists",path:"/music/artists"},{component:q3,meta:{has_index:!0,show_progress:!0},name:"music-artist-tracks",path:"/music/artists/:id/tracks"},{component:AD,meta:{show_progress:!0},name:"audiobooks-album",path:"/audiobooks/albums/:id"},{component:ZD,meta:{has_index:!0,has_tabs:!0,show_progress:!0},name:"audiobooks-albums",path:"/audiobooks/albums"},{component:nR,meta:{show_progress:!0},name:"audiobooks-artist",path:"/audiobooks/artists/:id"},{component:lR,meta:{has_index:!0,has_tabs:!0,show_progress:!0},name:"audiobooks-artists",path:"/audiobooks/artists"},{component:jR,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:R7,meta:{has_tabs:!0,show_progress:!0},name:"music-history",path:"/music/history"},{component:U7,meta:{has_tabs:!0,show_progress:!0},name:"music-recently-added",path:"/music/recently-added"},{component:G7,meta:{has_tabs:!0,show_progress:!0},name:"music-recently-played",path:"/music/recently-played"},{component:TV,meta:{has_tabs:!0,show_progress:!0},name:"music-spotify",path:"/music/spotify"},{component:LV,meta:{has_tabs:!0,show_progress:!0},name:"music-spotify-featured-playlists",path:"/music/spotify/featured-playlists"},{component:FV,meta:{has_tabs:!0,show_progress:!0},name:"music-spotify-new-releases",path:"/music/spotify/new-releases"},{component:gM,meta:{has_index:!0,show_progress:!0},name:"music-composer-albums",path:"/music/composers/:name/albums"},{component:AM,meta:{has_index:!0,show_progress:!0},name:"music-composer-tracks",path:"/music/composers/:name/tracks"},{component:qM,meta:{has_index:!0,has_tabs:!0,show_progress:!0},name:"music-composers",path:"/music/composers"},{component:JF,meta:{show_progress:!0},name:"files",path:"/files"},{component:l7,meta:{has_index:!0,show_progress:!0},name:"genre-albums",path:"/genres/:name/albums"},{component:b7,meta:{has_index:!0,show_progress:!0},name:"genre-tracks",path:"/genres/:name/tracks"},{component:E7,meta:{has_index:!0,has_tabs:!0,show_progress:!0},name:"music-genres",path:"/music/genres"},{component:Q9,name:"now-playing",path:"/now-playing"},{name:"playlists",path:"/playlists",redirect:{name:"playlist-folder",params:{id:0}}},{component:oH,meta:{show_progress:!0},name:"playlist-folder",path:"/playlists/:id"},{component:dH,meta:{show_progress:!0},name:"playlist",path:"/playlists/:id/tracks"},{component:bH,meta:{show_progress:!0},name:"playlist-spotify",path:"/playlists/spotify/:id/tracks"},{component:IH,meta:{show_progress:!0},name:"podcast",path:"/podcasts/:id"},{component:aU,meta:{show_progress:!0},name:"podcasts",path:"/podcasts"},{component:tB,meta:{show_progress:!0},name:"radio",path:"/radio"},{component:Yj,name:"queue",path:"/"},{component:PB,name:"search-library",path:"/search/library"},{component:aW,name:"search-spotify",path:"/search/spotify"},{component:oK,name:"settings-webinterface",path:"/settings/webinterface"},{component:WW,name:"settings-artwork",path:"/settings/artwork"},{component:Rq,name:"settings-online-services",path:"/settings/online-services"},{component:dG,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?Ih:Lh;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?Ih:Lh;setTimeout(()=>{o({el:"#top",top:i})},0)}):{left:0,top:0}}});bz.beforeEach((e,t,n)=>{const r=yn();if(r.show_burger_menu){r.show_burger_menu=!1,n(!1);return}if(r.show_player_menu){r.show_player_menu=!1,n(!1);return}n(!0)});const Cz=Tg(nT).use(M0()).use(bz).use(yT).use(oT).use(_T,{log:!1}).use(TO,{icons:bO}).use(ql);Cz.config.globalProperties.$filters=vO;Cz.mount("#app");