2025-02-09 17:52:45 +01:00

73 lines
788 KiB
JavaScript
Raw Blame History

This file contains invisible Unicode characters

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

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

(function(){const t=document.createElement("link").relList;if(t&&t.supports&&t.supports("modulepreload"))return;for(const o of document.querySelectorAll('link[rel="modulepreload"]'))r(o);new MutationObserver(o=>{for(const s of o)if(s.type==="childList")for(const 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.5.13
* (c) 2018-present Yuxi (Evan) You and Vue contributors
* @license MIT
**//*! #__NO_SIDE_EFFECTS__ */function $l(e){const t=Object.create(null);for(const n of e.split(","))t[n]=1;return n=>n in t}const Je={},fs=[],Rn=()=>{},Mb=()=>!1,Wi=e=>e.charCodeAt(0)===111&&e.charCodeAt(1)===110&&(e.charCodeAt(2)>122||e.charCodeAt(2)<97),wm=e=>e.startsWith("onUpdate:"),ht=Object.assign,Sm=(e,t)=>{const n=e.indexOf(t);n>-1&&e.splice(n,1)},Fb=Object.prototype.hasOwnProperty,st=(e,t)=>Fb.call(e,t),ze=Array.isArray,ps=e=>$s(e)==="[object Map]",Vo=e=>$s(e)==="[object Set]",Ad=e=>$s(e)==="[object Date]",Vb=e=>$s(e)==="[object RegExp]",Oe=e=>typeof e=="function",bt=e=>typeof e=="string",nr=e=>typeof e=="symbol",pt=e=>e!==null&&typeof e=="object",Cm=e=>(pt(e)||Oe(e))&&Oe(e.then)&&Oe(e.catch),qh=Object.prototype.toString,$s=e=>qh.call(e),Hb=e=>$s(e).slice(8,-1),Pl=e=>$s(e)==="[object Object]",km=e=>bt(e)&&e!=="NaN"&&e[0]!=="-"&&""+parseInt(e,10)===e,hs=$l(",key,ref,ref_for,ref_key,onVnodeBeforeMount,onVnodeMounted,onVnodeBeforeUpdate,onVnodeUpdated,onVnodeBeforeUnmount,onVnodeUnmounted"),Il=e=>{const t=Object.create(null);return n=>t[n]||(t[n]=e(n))},Ub=/-(\w)/g,Wt=Il(e=>e.replace(Ub,(t,n)=>n?n.toUpperCase():"")),jb=/\B([A-Z])/g,gn=Il(e=>e.replace(jb,"-$1").toLowerCase()),Bi=Il(e=>e.charAt(0).toUpperCase()+e.slice(1)),li=Il(e=>e?`on${Bi(e)}`:""),sn=(e,t)=>!Object.is(e,t),_s=(e,...t)=>{for(let n=0;n<e.length;n++)e[n](...t)},Gh=(e,t,n,r=!1)=>{Object.defineProperty(e,t,{configurable:!0,enumerable:!1,writable:r,value:n})},Ya=e=>{const t=parseFloat(e);return isNaN(t)?e:t},Xa=e=>{const t=bt(e)?Number(e):NaN;return isNaN(t)?e:t};let Od;const Ll=()=>Od||(Od=typeof globalThis<"u"?globalThis:typeof self<"u"?self:typeof window<"u"?window:typeof global<"u"?global:{}),Wb="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,Symbol",Bb=$l(Wb);function fo(e){if(ze(e)){const t={};for(let n=0;n<e.length;n++){const r=e[n],o=bt(r)?Zb(r):fo(r);if(o)for(const s in o)t[s]=o[s]}return t}else if(bt(e)||pt(e))return e}const qb=/;(?![^(]*\))/g,Gb=/:([^]+)/,Kb=/\/\*[^]*?\*\//g;function Zb(e){const t={};return e.replace(Kb,"").split(qb).forEach(n=>{if(n){const r=n.split(Gb);r.length>1&&(t[r[0].trim()]=r[1].trim())}}),t}function $e(e){let t="";if(bt(e))t=e;else if(ze(e))for(let n=0;n<e.length;n++){const r=$e(e[n]);r&&(t+=r+" ")}else if(pt(e))for(const n in e)e[n]&&(t+=n+" ");return t.trim()}function Qs(e){if(!e)return null;let{class:t,style:n}=e;return t&&!bt(t)&&(e.class=$e(t)),n&&(e.style=fo(n)),e}const Yb="itemscope,allowfullscreen,formnovalidate,ismap,nomodule,novalidate,readonly",Xb=$l(Yb);function Kh(e){return!!e||e===""}function Jb(e,t){if(e.length!==t.length)return!1;let n=!0;for(let r=0;n&&r<e.length;r++)n=uo(e[r],t[r]);return n}function uo(e,t){if(e===t)return!0;let n=Ad(e),r=Ad(t);if(n||r)return n&&r?e.getTime()===t.getTime():!1;if(n=nr(e),r=nr(t),n||r)return e===t;if(n=ze(e),r=ze(t),n||r)return n&&r?Jb(e,t):!1;if(n=pt(e),r=pt(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||!uo(e[i],t[i]))return!1}}return String(e)===String(t)}function Nl(e,t){return e.findIndex(n=>uo(n,t))}const Zh=e=>!!(e&&e.__v_isRef===!0),k=e=>bt(e)?e:e==null?"":ze(e)||pt(e)&&(e.toString===qh||!Oe(e.toString))?Zh(e)?k(e.value):JSON.stringify(e,Yh,2):String(e),Yh=(e,t)=>Zh(t)?Yh(e,t.value):ps(t)?{[`Map(${t.size})`]:[...t.entries()].reduce((n,[r,o],s)=>(n[xu(r,s)+" =>"]=o,n),{})}:Vo(t)?{[`Set(${t.size})`]:[...t.values()].map(n=>xu(n))}:nr(t)?xu(t):pt(t)&&!ze(t)&&!Pl(t)?String(t):t,xu=(e,t="")=>{var n;return nr(e)?`Symbol(${(n=e.description)!=null?n:t})`:e};/**
* @vue/reactivity v3.5.13
* (c) 2018-present Yuxi (Evan) You and Vue contributors
* @license MIT
**/let on;class Em{constructor(t=!1){this.detached=t,this._active=!0,this.effects=[],this.cleanups=[],this._isPaused=!1,this.parent=on,!t&&on&&(this.index=(on.scopes||(on.scopes=[])).push(this)-1)}get active(){return this._active}pause(){if(this._active){this._isPaused=!0;let t,n;if(this.scopes)for(t=0,n=this.scopes.length;t<n;t++)this.scopes[t].pause();for(t=0,n=this.effects.length;t<n;t++)this.effects[t].pause()}}resume(){if(this._active&&this._isPaused){this._isPaused=!1;let t,n;if(this.scopes)for(t=0,n=this.scopes.length;t<n;t++)this.scopes[t].resume();for(t=0,n=this.effects.length;t<n;t++)this.effects[t].resume()}}run(t){if(this._active){const n=on;try{return on=this,t()}finally{on=n}}}on(){on=this}off(){on=this.parent}stop(t){if(this._active){this._active=!1;let n,r;for(n=0,r=this.effects.length;n<r;n++)this.effects[n].stop();for(this.effects.length=0,n=0,r=this.cleanups.length;n<r;n++)this.cleanups[n]();if(this.cleanups.length=0,this.scopes){for(n=0,r=this.scopes.length;n<r;n++)this.scopes[n].stop(!0);this.scopes.length=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}}}function Dl(e){return new Em(e)}function xm(){return on}function Xh(e,t=!1){on&&on.cleanups.push(e)}let yt;const Tu=new WeakSet;class Ei{constructor(t){this.fn=t,this.deps=void 0,this.depsTail=void 0,this.flags=5,this.next=void 0,this.cleanup=void 0,this.scheduler=void 0,on&&on.active&&on.effects.push(this)}pause(){this.flags|=64}resume(){this.flags&64&&(this.flags&=-65,Tu.has(this)&&(Tu.delete(this),this.trigger()))}notify(){this.flags&2&&!(this.flags&32)||this.flags&8||Qh(this)}run(){if(!(this.flags&1))return this.fn();this.flags|=2,$d(this),e_(this);const t=yt,n=tr;yt=this,tr=!0;try{return this.fn()}finally{t_(this),yt=t,tr=n,this.flags&=-3}}stop(){if(this.flags&1){for(let t=this.deps;t;t=t.nextDep)Om(t);this.deps=this.depsTail=void 0,$d(this),this.onStop&&this.onStop(),this.flags&=-2}}trigger(){this.flags&64?Tu.add(this):this.scheduler?this.scheduler():this.runIfDirty()}runIfDirty(){wc(this)&&this.run()}get dirty(){return wc(this)}}let Jh=0,ui,ci;function Qh(e,t=!1){if(e.flags|=8,t){e.next=ci,ci=e;return}e.next=ui,ui=e}function Tm(){Jh++}function Am(){if(--Jh>0)return;if(ci){let t=ci;for(ci=void 0;t;){const n=t.next;t.next=void 0,t.flags&=-9,t=n}}let e;for(;ui;){let t=ui;for(ui=void 0;t;){const n=t.next;if(t.next=void 0,t.flags&=-9,t.flags&1)try{t.trigger()}catch(r){e||(e=r)}t=n}}if(e)throw e}function e_(e){for(let t=e.deps;t;t=t.nextDep)t.version=-1,t.prevActiveLink=t.dep.activeLink,t.dep.activeLink=t}function t_(e){let t,n=e.depsTail,r=n;for(;r;){const o=r.prevDep;r.version===-1?(r===n&&(n=o),Om(r),Qb(r)):t=r,r.dep.activeLink=r.prevActiveLink,r.prevActiveLink=void 0,r=o}e.deps=t,e.depsTail=n}function wc(e){for(let t=e.deps;t;t=t.nextDep)if(t.dep.version!==t.version||t.dep.computed&&(n_(t.dep.computed)||t.dep.version!==t.version))return!0;return!!e._dirty}function n_(e){if(e.flags&4&&!(e.flags&16)||(e.flags&=-17,e.globalVersion===xi))return;e.globalVersion=xi;const t=e.dep;if(e.flags|=2,t.version>0&&!e.isSSR&&e.deps&&!wc(e)){e.flags&=-3;return}const n=yt,r=tr;yt=e,tr=!0;try{e_(e);const o=e.fn(e._value);(t.version===0||sn(o,e._value))&&(e._value=o,t.version++)}catch(o){throw t.version++,o}finally{yt=n,tr=r,t_(e),e.flags&=-3}}function Om(e,t=!1){const{dep:n,prevSub:r,nextSub:o}=e;if(r&&(r.nextSub=o,e.prevSub=void 0),o&&(o.prevSub=r,e.nextSub=void 0),n.subs===e&&(n.subs=r,!r&&n.computed)){n.computed.flags&=-5;for(let s=n.computed.deps;s;s=s.nextDep)Om(s,!0)}!t&&!--n.sc&&n.map&&n.map.delete(n.key)}function Qb(e){const{prevDep:t,nextDep:n}=e;t&&(t.nextDep=n,e.prevDep=void 0),n&&(n.prevDep=t,e.nextDep=void 0)}function ev(e,t){e.effect instanceof Ei&&(e=e.effect.fn);const n=new Ei(e);t&&ht(n,t);try{n.run()}catch(o){throw n.stop(),o}const r=n.run.bind(n);return r.effect=n,r}function tv(e){e.effect.stop()}let tr=!0;const r_=[];function po(){r_.push(tr),tr=!1}function ho(){const e=r_.pop();tr=e===void 0?!0:e}function $d(e){const{cleanup:t}=e;if(e.cleanup=void 0,t){const n=yt;yt=void 0;try{t()}finally{yt=n}}}let xi=0;class nv{constructor(t,n){this.sub=t,this.dep=n,this.version=n.version,this.nextDep=this.prevDep=this.nextSub=this.prevSub=this.prevActiveLink=void 0}}class Rl{constructor(t){this.computed=t,this.version=0,this.activeLink=void 0,this.subs=void 0,this.map=void 0,this.key=void 0,this.sc=0}track(t){if(!yt||!tr||yt===this.computed)return;let n=this.activeLink;if(n===void 0||n.sub!==yt)n=this.activeLink=new nv(yt,this),yt.deps?(n.prevDep=yt.depsTail,yt.depsTail.nextDep=n,yt.depsTail=n):yt.deps=yt.depsTail=n,o_(n);else if(n.version===-1&&(n.version=this.version,n.nextDep)){const r=n.nextDep;r.prevDep=n.prevDep,n.prevDep&&(n.prevDep.nextDep=r),n.prevDep=yt.depsTail,n.nextDep=void 0,yt.depsTail.nextDep=n,yt.depsTail=n,yt.deps===n&&(yt.deps=r)}return n}trigger(t){this.version++,xi++,this.notify(t)}notify(t){Tm();try{for(let n=this.subs;n;n=n.prevSub)n.sub.notify()&&n.sub.dep.notify()}finally{Am()}}}function o_(e){if(e.dep.sc++,e.sub.flags&4){const t=e.dep.computed;if(t&&!e.dep.subs){t.flags|=20;for(let r=t.deps;r;r=r.nextDep)o_(r)}const n=e.dep.subs;n!==e&&(e.prevSub=n,n&&(n.nextSub=e)),e.dep.subs=e}}const Ja=new WeakMap,$o=Symbol(""),Sc=Symbol(""),Ti=Symbol("");function Gt(e,t,n){if(tr&&yt){let r=Ja.get(e);r||Ja.set(e,r=new Map);let o=r.get(n);o||(r.set(n,o=new Rl),o.map=r,o.key=n),o.track()}}function Ar(e,t,n,r,o,s){const i=Ja.get(e);if(!i){xi++;return}const a=l=>{l&&l.trigger()};if(Tm(),t==="clear")i.forEach(a);else{const l=ze(e),u=l&&km(n);if(l&&n==="length"){const c=Number(r);i.forEach((m,d)=>{(d==="length"||d===Ti||!nr(d)&&d>=c)&&a(m)})}else switch((n!==void 0||i.has(void 0))&&a(i.get(n)),u&&a(i.get(Ti)),t){case"add":l?u&&a(i.get("length")):(a(i.get($o)),ps(e)&&a(i.get(Sc)));break;case"delete":l||(a(i.get($o)),ps(e)&&a(i.get(Sc)));break;case"set":ps(e)&&a(i.get($o));break}}Am()}function rv(e,t){const n=Ja.get(e);return n&&n.get(t)}function qo(e){const t=Xe(e);return t===e?t:(Gt(t,"iterate",Ti),En(e)?t:t.map(Kt))}function Ml(e){return Gt(e=Xe(e),"iterate",Ti),e}const ov={__proto__:null,[Symbol.iterator](){return Au(this,Symbol.iterator,Kt)},concat(...e){return qo(this).concat(...e.map(t=>ze(t)?qo(t):t))},entries(){return Au(this,"entries",e=>(e[1]=Kt(e[1]),e))},every(e,t){return Cr(this,"every",e,t,void 0,arguments)},filter(e,t){return Cr(this,"filter",e,t,n=>n.map(Kt),arguments)},find(e,t){return Cr(this,"find",e,t,Kt,arguments)},findIndex(e,t){return Cr(this,"findIndex",e,t,void 0,arguments)},findLast(e,t){return Cr(this,"findLast",e,t,Kt,arguments)},findLastIndex(e,t){return Cr(this,"findLastIndex",e,t,void 0,arguments)},forEach(e,t){return Cr(this,"forEach",e,t,void 0,arguments)},includes(...e){return Ou(this,"includes",e)},indexOf(...e){return Ou(this,"indexOf",e)},join(e){return qo(this).join(e)},lastIndexOf(...e){return Ou(this,"lastIndexOf",e)},map(e,t){return Cr(this,"map",e,t,void 0,arguments)},pop(){return Us(this,"pop")},push(...e){return Us(this,"push",e)},reduce(e,...t){return Pd(this,"reduce",e,t)},reduceRight(e,...t){return Pd(this,"reduceRight",e,t)},shift(){return Us(this,"shift")},some(e,t){return Cr(this,"some",e,t,void 0,arguments)},splice(...e){return Us(this,"splice",e)},toReversed(){return qo(this).toReversed()},toSorted(e){return qo(this).toSorted(e)},toSpliced(...e){return qo(this).toSpliced(...e)},unshift(...e){return Us(this,"unshift",e)},values(){return Au(this,"values",Kt)}};function Au(e,t,n){const r=Ml(e),o=r[t]();return r!==e&&!En(e)&&(o._next=o.next,o.next=()=>{const s=o._next();return s.value&&(s.value=n(s.value)),s}),o}const sv=Array.prototype;function Cr(e,t,n,r,o,s){const i=Ml(e),a=i!==e&&!En(e),l=i[t];if(l!==sv[t]){const m=l.apply(e,s);return a?Kt(m):m}let u=n;i!==e&&(a?u=function(m,d){return n.call(this,Kt(m),d,e)}:n.length>2&&(u=function(m,d){return n.call(this,m,d,e)}));const c=l.call(i,u,r);return a&&o?o(c):c}function Pd(e,t,n,r){const o=Ml(e);let s=n;return o!==e&&(En(e)?n.length>3&&(s=function(i,a,l){return n.call(this,i,a,l,e)}):s=function(i,a,l){return n.call(this,i,Kt(a),l,e)}),o[t](s,...r)}function Ou(e,t,n){const r=Xe(e);Gt(r,"iterate",Ti);const o=r[t](...n);return(o===-1||o===!1)&&Hl(n[0])?(n[0]=Xe(n[0]),r[t](...n)):o}function Us(e,t,n=[]){po(),Tm();const r=Xe(e)[t].apply(e,n);return Am(),ho(),r}const iv=$l("__proto__,__v_isRef,__isVue"),s_=new Set(Object.getOwnPropertyNames(Symbol).filter(e=>e!=="arguments"&&e!=="caller").map(e=>Symbol[e]).filter(nr));function av(e){nr(e)||(e=String(e));const t=Xe(this);return Gt(t,"has",e),t.hasOwnProperty(e)}class i_{constructor(t=!1,n=!1){this._isReadonly=t,this._isShallow=n}get(t,n,r){if(n==="__v_skip")return t.__v_skip;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?d_:m_:s?c_:u_).get(t)||Object.getPrototypeOf(t)===Object.getPrototypeOf(r)?t:void 0;const i=ze(t);if(!o){let l;if(i&&(l=ov[n]))return l;if(n==="hasOwnProperty")return av}const a=Reflect.get(t,n,wt(t)?t:r);return(nr(n)?s_.has(n):iv(n))||(o||Gt(t,"get",n),s)?a:wt(a)?i&&km(n)?a:a.value:pt(a)?o?Pm(a):Ps(a):a}}class a_ extends i_{constructor(t=!1){super(!1,t)}set(t,n,r,o){let s=t[n];if(!this._isShallow){const l=co(s);if(!En(r)&&!co(r)&&(s=Xe(s),r=Xe(r)),!ze(t)&&wt(s)&&!wt(r))return l?!1:(s.value=r,!0)}const i=ze(t)&&km(n)?Number(n)<t.length:st(t,n),a=Reflect.set(t,n,r,wt(t)?t:o);return t===Xe(o)&&(i?sn(r,s)&&Ar(t,"set",n,r):Ar(t,"add",n,r)),a}deleteProperty(t,n){const r=st(t,n);t[n];const o=Reflect.deleteProperty(t,n);return o&&r&&Ar(t,"delete",n,void 0),o}has(t,n){const r=Reflect.has(t,n);return(!nr(n)||!s_.has(n))&&Gt(t,"has",n),r}ownKeys(t){return Gt(t,"iterate",ze(t)?"length":$o),Reflect.ownKeys(t)}}class l_ extends i_{constructor(t=!1){super(!0,t)}set(t,n){return!0}deleteProperty(t,n){return!0}}const lv=new a_,uv=new l_,cv=new a_(!0),mv=new l_(!0),Cc=e=>e,sa=e=>Reflect.getPrototypeOf(e);function dv(e,t,n){return function(...r){const o=this.__v_raw,s=Xe(o),i=ps(s),a=e==="entries"||e===Symbol.iterator&&i,l=e==="keys"&&i,u=o[e](...r),c=n?Cc:t?kc:Kt;return!t&&Gt(s,"iterate",l?Sc:$o),{next(){const{value:m,done:d}=u.next();return d?{value:m,done:d}:{value:a?[c(m[0]),c(m[1])]:c(m),done:d}},[Symbol.iterator](){return this}}}}function ia(e){return function(...t){return e==="delete"?!1:e==="clear"?void 0:this}}function fv(e,t){const n={get(o){const s=this.__v_raw,i=Xe(s),a=Xe(o);e||(sn(o,a)&&Gt(i,"get",o),Gt(i,"get",a));const{has:l}=sa(i),u=t?Cc:e?kc:Kt;if(l.call(i,o))return u(s.get(o));if(l.call(i,a))return u(s.get(a));s!==i&&s.get(o)},get size(){const o=this.__v_raw;return!e&&Gt(Xe(o),"iterate",$o),Reflect.get(o,"size",o)},has(o){const s=this.__v_raw,i=Xe(s),a=Xe(o);return e||(sn(o,a)&&Gt(i,"has",o),Gt(i,"has",a)),o===a?s.has(o):s.has(o)||s.has(a)},forEach(o,s){const i=this,a=i.__v_raw,l=Xe(a),u=t?Cc:e?kc:Kt;return!e&&Gt(l,"iterate",$o),a.forEach((c,m)=>o.call(s,u(c),u(m),i))}};return ht(n,e?{add:ia("add"),set:ia("set"),delete:ia("delete"),clear:ia("clear")}:{add(o){!t&&!En(o)&&!co(o)&&(o=Xe(o));const s=Xe(this);return sa(s).has.call(s,o)||(s.add(o),Ar(s,"add",o,o)),this},set(o,s){!t&&!En(s)&&!co(s)&&(s=Xe(s));const i=Xe(this),{has:a,get:l}=sa(i);let u=a.call(i,o);u||(o=Xe(o),u=a.call(i,o));const c=l.call(i,o);return i.set(o,s),u?sn(s,c)&&Ar(i,"set",o,s):Ar(i,"add",o,s),this},delete(o){const s=Xe(this),{has:i,get:a}=sa(s);let l=i.call(s,o);l||(o=Xe(o),l=i.call(s,o)),a&&a.call(s,o);const u=s.delete(o);return l&&Ar(s,"delete",o,void 0),u},clear(){const o=Xe(this),s=o.size!==0,i=o.clear();return s&&Ar(o,"clear",void 0,void 0),i}}),["keys","values","entries",Symbol.iterator].forEach(o=>{n[o]=dv(o,e,t)}),n}function Fl(e,t){const n=fv(e,t);return(r,o,s)=>o==="__v_isReactive"?!e:o==="__v_isReadonly"?e:o==="__v_raw"?r:Reflect.get(st(n,o)&&o in r?n:r,o,s)}const pv={get:Fl(!1,!1)},hv={get:Fl(!1,!0)},_v={get:Fl(!0,!1)},gv={get:Fl(!0,!0)},u_=new WeakMap,c_=new WeakMap,m_=new WeakMap,d_=new WeakMap;function yv(e){switch(e){case"Object":case"Array":return 1;case"Map":case"Set":case"WeakMap":case"WeakSet":return 2;default:return 0}}function bv(e){return e.__v_skip||!Object.isExtensible(e)?0:yv(Hb(e))}function Ps(e){return co(e)?e:Vl(e,!1,lv,pv,u_)}function $m(e){return Vl(e,!1,cv,hv,c_)}function Pm(e){return Vl(e,!0,uv,_v,m_)}function vv(e){return Vl(e,!0,mv,gv,d_)}function Vl(e,t,n,r,o){if(!pt(e)||e.__v_raw&&!(t&&e.__v_isReactive))return e;const s=o.get(e);if(s)return s;const i=bv(e);if(i===0)return e;const a=new Proxy(e,i===2?r:n);return o.set(e,a),a}function br(e){return co(e)?br(e.__v_raw):!!(e&&e.__v_isReactive)}function co(e){return!!(e&&e.__v_isReadonly)}function En(e){return!!(e&&e.__v_isShallow)}function Hl(e){return e?!!e.__v_raw:!1}function Xe(e){const t=e&&e.__v_raw;return t?Xe(t):e}function Ul(e){return!st(e,"__v_skip")&&Object.isExtensible(e)&&Gh(e,"__v_skip",!0),e}const Kt=e=>pt(e)?Ps(e):e,kc=e=>pt(e)?Pm(e):e;function wt(e){return e?e.__v_isRef===!0:!1}function Mn(e){return f_(e,!1)}function jl(e){return f_(e,!0)}function f_(e,t){return wt(e)?e:new zv(e,t)}class zv{constructor(t,n){this.dep=new Rl,this.__v_isRef=!0,this.__v_isShallow=!1,this._rawValue=n?t:Xe(t),this._value=n?t:Kt(t),this.__v_isShallow=n}get value(){return this.dep.track(),this._value}set value(t){const n=this._rawValue,r=this.__v_isShallow||En(t)||co(t);t=r?t:Xe(t),sn(t,n)&&(this._rawValue=t,this._value=r?t:Kt(t),this.dep.trigger())}}function wv(e){e.dep&&e.dep.trigger()}function yn(e){return wt(e)?e.value:e}function Sv(e){return Oe(e)?e():yn(e)}const Cv={get:(e,t,n)=>t==="__v_raw"?e:yn(Reflect.get(e,t,n)),set:(e,t,n,r)=>{const o=e[t];return wt(o)&&!wt(n)?(o.value=n,!0):Reflect.set(e,t,n,r)}};function Im(e){return br(e)?e:new Proxy(e,Cv)}class kv{constructor(t){this.__v_isRef=!0,this._value=void 0;const n=this.dep=new Rl,{get:r,set:o}=t(n.track.bind(n),n.trigger.bind(n));this._get=r,this._set=o}get value(){return this._value=this._get()}set value(t){this._set(t)}}function p_(e){return new kv(e)}function h_(e){const t=ze(e)?new Array(e.length):{};for(const n in e)t[n]=__(e,n);return t}class Ev{constructor(t,n,r){this._object=t,this._key=n,this._defaultValue=r,this.__v_isRef=!0,this._value=void 0}get value(){const t=this._object[this._key];return this._value=t===void 0?this._defaultValue:t}set value(t){this._object[this._key]=t}get dep(){return rv(Xe(this._object),this._key)}}class xv{constructor(t){this._getter=t,this.__v_isRef=!0,this.__v_isReadonly=!0,this._value=void 0}get value(){return this._value=this._getter()}}function Tv(e,t,n){return wt(e)?e:Oe(e)?new xv(e):pt(e)&&arguments.length>1?__(e,t,n):Mn(e)}function __(e,t,n){const r=e[t];return wt(r)?r:new Ev(e,t,n)}class Av{constructor(t,n,r){this.fn=t,this.setter=n,this._value=void 0,this.dep=new Rl(this),this.__v_isRef=!0,this.deps=void 0,this.depsTail=void 0,this.flags=16,this.globalVersion=xi-1,this.next=void 0,this.effect=this,this.__v_isReadonly=!n,this.isSSR=r}notify(){if(this.flags|=16,!(this.flags&8)&&yt!==this)return Qh(this,!0),!0}get value(){const t=this.dep.track();return n_(this),t&&(t.version=this.dep.version),this._value}set value(t){this.setter&&this.setter(t)}}function Ov(e,t,n=!1){let r,o;return Oe(e)?r=e:(r=e.get,o=e.set),new Av(r,o,n)}const $v={GET:"get",HAS:"has",ITERATE:"iterate"},Pv={SET:"set",ADD:"add",DELETE:"delete",CLEAR:"clear"},aa={},Qa=new WeakMap;let Xr;function Iv(){return Xr}function g_(e,t=!1,n=Xr){if(n){let r=Qa.get(n);r||Qa.set(n,r=[]),r.push(e)}}function Lv(e,t,n=Je){const{immediate:r,deep:o,once:s,scheduler:i,augmentJob:a,call:l}=n,u=y=>o?y:En(y)||o===!1||o===0?Or(y,1):Or(y);let c,m,d,f,h=!1,_=!1;if(wt(e)?(m=()=>e.value,h=En(e)):br(e)?(m=()=>u(e),h=!0):ze(e)?(_=!0,h=e.some(y=>br(y)||En(y)),m=()=>e.map(y=>{if(wt(y))return y.value;if(br(y))return u(y);if(Oe(y))return l?l(y,2):y()})):Oe(e)?t?m=l?()=>l(e,2):e:m=()=>{if(d){po();try{d()}finally{ho()}}const y=Xr;Xr=c;try{return l?l(e,3,[f]):e(f)}finally{Xr=y}}:m=Rn,t&&o){const y=m,S=o===!0?1/0:o;m=()=>Or(y(),S)}const b=xm(),v=()=>{c.stop(),b&&b.active&&Sm(b.effects,c)};if(s&&t){const y=t;t=(...S)=>{y(...S),v()}}let w=_?new Array(e.length).fill(aa):aa;const g=y=>{if(!(!(c.flags&1)||!c.dirty&&!y))if(t){const S=c.run();if(o||h||(_?S.some((C,L)=>sn(C,w[L])):sn(S,w))){d&&d();const C=Xr;Xr=c;try{const L=[S,w===aa?void 0:_&&w[0]===aa?[]:w,f];l?l(t,3,L):t(...L),w=S}finally{Xr=C}}}else c.run()};return a&&a(g),c=new Ei(m),c.scheduler=i?()=>i(g,!1):g,f=y=>g_(y,!1,c),d=c.onStop=()=>{const y=Qa.get(c);if(y){if(l)l(y,4);else for(const S of y)S();Qa.delete(c)}},t?r?g(!0):w=c.run():i?i(g.bind(null,!0),!0):c.run(),v.pause=c.pause.bind(c),v.resume=c.resume.bind(c),v.stop=v,v}function Or(e,t=1/0,n){if(t<=0||!pt(e)||e.__v_skip||(n=n||new Set,n.has(e)))return e;if(n.add(e),t--,wt(e))Or(e.value,t,n);else if(ze(e))for(let r=0;r<e.length;r++)Or(e[r],t,n);else if(Vo(e)||ps(e))e.forEach(r=>{Or(r,t,n)});else if(Pl(e)){for(const r in e)Or(e[r],t,n);for(const r of Object.getOwnPropertySymbols(e))Object.prototype.propertyIsEnumerable.call(e,r)&&Or(e[r],t,n)}return e}/**
* @vue/runtime-core v3.5.13
* (c) 2018-present Yuxi (Evan) You and Vue contributors
* @license MIT
**/const y_=[];function Nv(e){y_.push(e)}function Dv(){y_.pop()}function Rv(e,t){}const Mv={SETUP_FUNCTION:0,0:"SETUP_FUNCTION",RENDER_FUNCTION:1,1:"RENDER_FUNCTION",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",APP_UNMOUNT_CLEANUP:16,16:"APP_UNMOUNT_CLEANUP"},Fv={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",16:"app unmount cleanup function"};function Is(e,t,n,r){try{return r?e(...r):e()}catch(o){Ho(o,t,n)}}function Hn(e,t,n,r){if(Oe(e)){const o=Is(e,t,n,r);return o&&Cm(o)&&o.catch(s=>{Ho(s,t,n)}),o}if(ze(e)){const o=[];for(let s=0;s<e.length;s++)o.push(Hn(e[s],t,n,r));return o}}function Ho(e,t,n,r=!0){const o=t?t.vnode:null,{errorHandler:s,throwUnhandledErrorInProduction:i}=t&&t.appContext.config||Je;if(t){let a=t.parent;const l=t.proxy,u=`https://vuejs.org/error-reference/#runtime-${n}`;for(;a;){const c=a.ec;if(c){for(let m=0;m<c.length;m++)if(c[m](e,l,u)===!1)return}a=a.parent}if(s){po(),Is(s,null,10,[e,l,u]),ho();return}}Vv(e,n,o,r,i)}function Vv(e,t,n,r=!0,o=!1){if(o)throw e;console.error(e)}const an=[];let pr=-1;const gs=[];let Jr=null,ns=0;const b_=Promise.resolve();let el=null;function Uo(e){const t=el||b_;return e?t.then(this?e.bind(this):e):t}function Hv(e){let t=pr+1,n=an.length;for(;t<n;){const r=t+n>>>1,o=an[r],s=Oi(o);s<e||s===e&&o.flags&2?t=r+1:n=r}return t}function Lm(e){if(!(e.flags&1)){const t=Oi(e),n=an[an.length-1];!n||!(e.flags&2)&&t>=Oi(n)?an.push(e):an.splice(Hv(t),0,e),e.flags|=1,v_()}}function v_(){el||(el=b_.then(z_))}function Ai(e){ze(e)?gs.push(...e):Jr&&e.id===-1?Jr.splice(ns+1,0,e):e.flags&1||(gs.push(e),e.flags|=1),v_()}function Id(e,t,n=pr+1){for(;n<an.length;n++){const r=an[n];if(r&&r.flags&2){if(e&&r.id!==e.uid)continue;an.splice(n,1),n--,r.flags&4&&(r.flags&=-2),r(),r.flags&4||(r.flags&=-2)}}}function tl(e){if(gs.length){const t=[...new Set(gs)].sort((n,r)=>Oi(n)-Oi(r));if(gs.length=0,Jr){Jr.push(...t);return}for(Jr=t,ns=0;ns<Jr.length;ns++){const n=Jr[ns];n.flags&4&&(n.flags&=-2),n.flags&8||n(),n.flags&=-2}Jr=null,ns=0}}const Oi=e=>e.id==null?e.flags&2?-1:1/0:e.id;function z_(e){try{for(pr=0;pr<an.length;pr++){const t=an[pr];t&&!(t.flags&8)&&(t.flags&4&&(t.flags&=-2),Is(t,t.i,t.i?15:14),t.flags&4||(t.flags&=-2))}}finally{for(;pr<an.length;pr++){const t=an[pr];t&&(t.flags&=-2)}pr=-1,an.length=0,tl(),el=null,(an.length||gs.length)&&z_()}}let rs,la=[];function w_(e,t){var n,r;rs=e,rs?(rs.enabled=!0,la.forEach(({event:o,args:s})=>rs.emit(o,...s)),la=[]):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=>{w_(s,t)}),setTimeout(()=>{rs||(t.__VUE_DEVTOOLS_HOOK_REPLAY__=null,la=[])},3e3)):la=[]}let Ft=null,Wl=null;function $i(e){const t=Ft;return Ft=e,Wl=e&&e.type.__scopeId||null,t}function Uv(e){Wl=e}function jv(){Wl=null}const Wv=e=>I;function I(e,t=Ft,n){if(!t||e._n)return e;const r=(...o)=>{r._d&&Ic(-1);const s=$i(t);let i;try{i=e(...o)}finally{$i(s),r._d&&Ic(1)}return i};return r._n=!0,r._c=!0,r._d=!0,r}function Ht(e,t){if(Ft===null)return e;const n=Zi(Ft),r=e.dirs||(e.dirs=[]);for(let o=0;o<t.length;o++){let[s,i,a,l=Je]=t[o];s&&(Oe(s)&&(s={mounted:s,updated:s}),s.deep&&Or(i),r.push({dir:s,instance:n,value:i,oldValue:void 0,arg:a,modifiers:l}))}return e}function hr(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&&(po(),Hn(l,n,8,[e.el,a,e,t]),ho())}}const S_=Symbol("_vte"),C_=e=>e.__isTeleport,mi=e=>e&&(e.disabled||e.disabled===""),Ld=e=>e&&(e.defer||e.defer===""),Nd=e=>typeof SVGElement<"u"&&e instanceof SVGElement,Dd=e=>typeof MathMLElement=="function"&&e instanceof MathMLElement,Ec=(e,t)=>{const n=e&&e.to;return bt(n)?t?t(n):null:n},k_={name:"Teleport",__isTeleport:!0,process(e,t,n,r,o,s,i,a,l,u){const{mc:c,pc:m,pbc:d,o:{insert:f,querySelector:h,createText:_,createComment:b}}=u,v=mi(t.props);let{shapeFlag:w,children:g,dynamicChildren:y}=t;if(e==null){const S=t.el=_(""),C=t.anchor=_("");f(S,n,r),f(C,n,r);const L=(x,F)=>{w&16&&(o&&o.isCE&&(o.ce._teleportTarget=x),c(g,x,F,o,s,i,a,l))},N=()=>{const x=t.target=Ec(t.props,h),F=E_(x,t,_,f);x&&(i!=="svg"&&Nd(x)?i="svg":i!=="mathml"&&Dd(x)&&(i="mathml"),v||(L(x,F),Ia(t,!1)))};v&&(L(n,C),Ia(t,!0)),Ld(t.props)?Rt(()=>{N(),t.el.__isMounted=!0},s):N()}else{if(Ld(t.props)&&!e.el.__isMounted){Rt(()=>{k_.process(e,t,n,r,o,s,i,a,l,u),delete e.el.__isMounted},s);return}t.el=e.el,t.targetStart=e.targetStart;const S=t.anchor=e.anchor,C=t.target=e.target,L=t.targetAnchor=e.targetAnchor,N=mi(e.props),x=N?n:C,F=N?S:L;if(i==="svg"||Nd(C)?i="svg":(i==="mathml"||Dd(C))&&(i="mathml"),y?(d(e.dynamicChildren,y,x,o,s,i,a),Bm(e,t,!0)):l||m(e,t,x,F,o,s,i,a,!1),v)N?t.props&&e.props&&t.props.to!==e.props.to&&(t.props.to=e.props.to):ua(t,n,S,u,1);else if((t.props&&t.props.to)!==(e.props&&e.props.to)){const q=t.target=Ec(t.props,h);q&&ua(t,q,null,u,0)}else N&&ua(t,C,L,u,1);Ia(t,v)}},remove(e,t,n,{um:r,o:{remove:o}},s){const{shapeFlag:i,children:a,anchor:l,targetStart:u,targetAnchor:c,target:m,props:d}=e;if(m&&(o(u),o(c)),s&&o(l),i&16){const f=s||!mi(d);for(let h=0;h<a.length;h++){const _=a[h];r(_,t,n,f,!!_.dynamicChildren)}}},move:ua,hydrate:Bv};function ua(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:c}=e,m=s===2;if(m&&r(i,t,n),(!m||mi(c))&&l&16)for(let d=0;d<u.length;d++)o(u[d],t,n,2);m&&r(a,t,n)}function Bv(e,t,n,r,o,s,{o:{nextSibling:i,parentNode:a,querySelector:l,insert:u,createText:c}},m){const d=t.target=Ec(t.props,l);if(d){const f=mi(t.props),h=d._lpa||d.firstChild;if(t.shapeFlag&16)if(f)t.anchor=m(i(e),t,a(e),n,r,o,s),t.targetStart=h,t.targetAnchor=h&&i(h);else{t.anchor=i(e);let _=h;for(;_;){if(_&&_.nodeType===8){if(_.data==="teleport start anchor")t.targetStart=_;else if(_.data==="teleport anchor"){t.targetAnchor=_,d._lpa=t.targetAnchor&&i(t.targetAnchor);break}}_=i(_)}t.targetAnchor||E_(d,t,c,u),m(h&&i(h),t,d,n,r,o,s)}Ia(t,f)}return t.anchor&&i(t.anchor)}const Wn=k_;function Ia(e,t){const n=e.ctx;if(n&&n.ut){let r,o;for(t?(r=e.el,o=e.anchor):(r=e.targetStart,o=e.targetAnchor);r&&r!==o;)r.nodeType===1&&r.setAttribute("data-v-owner",n.uid),r=r.nextSibling;n.ut()}}function E_(e,t,n,r){const o=t.targetStart=n(""),s=t.targetAnchor=n("");return o[S_]=s,e&&(r(o,e),r(s,e)),s}const Qr=Symbol("_leaveCb"),ca=Symbol("_enterCb");function Nm(){const e={isMounted:!1,isLeaving:!1,isUnmounting:!1,leavingVNodes:new Map};return Ls(()=>{e.isMounted=!0}),Kl(()=>{e.isUnmounting=!0}),e}const $n=[Function,Array],Dm={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},x_=e=>{const t=e.subTree;return t.component?x_(t.component):t},qv={name:"BaseTransition",props:Dm,setup(e,{slots:t}){const n=un(),r=Nm();return()=>{const o=t.default&&Bl(t.default(),!0);if(!o||!o.length)return;const s=T_(o),i=Xe(e),{mode:a}=i;if(r.isLeaving)return $u(s);const l=Rd(s);if(!l)return $u(s);let u=zs(l,i,r,n,m=>u=m);l.type!==Nt&&Nr(l,u);let c=n.subTree&&Rd(n.subTree);if(c&&c.type!==Nt&&!Jn(l,c)&&x_(n).type!==Nt){let m=zs(c,i,r,n);if(Nr(c,m),a==="out-in"&&l.type!==Nt)return r.isLeaving=!0,m.afterLeave=()=>{r.isLeaving=!1,n.job.flags&8||n.update(),delete m.afterLeave,c=void 0},$u(s);a==="in-out"&&l.type!==Nt?m.delayLeave=(d,f,h)=>{const _=O_(r,c);_[String(c.key)]=c,d[Qr]=()=>{f(),d[Qr]=void 0,delete u.delayedLeave,c=void 0},u.delayedLeave=()=>{h(),delete u.delayedLeave,c=void 0}}:c=void 0}else c&&(c=void 0);return s}}};function T_(e){let t=e[0];if(e.length>1){for(const n of e)if(n.type!==Nt){t=n;break}}return t}const A_=qv;function O_(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:c,onEnterCancelled:m,onBeforeLeave:d,onLeave:f,onAfterLeave:h,onLeaveCancelled:_,onBeforeAppear:b,onAppear:v,onAfterAppear:w,onAppearCancelled:g}=t,y=String(e.key),S=O_(n,e),C=(x,F)=>{x&&Hn(x,r,9,F)},L=(x,F)=>{const q=F[1];C(x,F),ze(x)?x.every(U=>U.length<=1)&&q():x.length<=1&&q()},N={mode:i,persisted:a,beforeEnter(x){let F=l;if(!n.isMounted)if(s)F=b||l;else return;x[Qr]&&x[Qr](!0);const q=S[y];q&&Jn(e,q)&&q.el[Qr]&&q.el[Qr](),C(F,[x])},enter(x){let F=u,q=c,U=m;if(!n.isMounted)if(s)F=v||u,q=w||c,U=g||m;else return;let W=!1;const Q=x[ca]=de=>{W||(W=!0,de?C(U,[x]):C(q,[x]),N.delayedLeave&&N.delayedLeave(),x[ca]=void 0)};F?L(F,[x,Q]):Q()},leave(x,F){const q=String(e.key);if(x[ca]&&x[ca](!0),n.isUnmounting)return F();C(d,[x]);let U=!1;const W=x[Qr]=Q=>{U||(U=!0,F(),Q?C(_,[x]):C(h,[x]),x[Qr]=void 0,S[q]===e&&delete S[q])};S[q]=e,f?L(f,[x,W]):W()},clone(x){const F=zs(x,t,n,r,o);return o&&o(F),F}};return N}function $u(e){if(qi(e))return e=zr(e),e.children=null,e}function Rd(e){if(!qi(e))return C_(e.type)&&e.children?T_(e.children):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 Nr(e,t){e.shapeFlag&6&&e.component?(e.transition=t,Nr(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 Bl(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===be?(i.patchFlag&128&&o++,r=r.concat(Bl(i.children,t,a))):(t||i.type!==Nt)&&r.push(a!=null?zr(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 Mr(e,t){return Oe(e)?ht({name:e.name},t,{setup:e}):e}function Gv(){const e=un();return e?(e.appContext.config.idPrefix||"v")+"-"+e.ids[0]+e.ids[1]++:""}function Rm(e){e.ids=[e.ids[0]+e.ids[2]+++"-",0,0]}function Kv(e){const t=un(),n=jl(null);if(t){const o=t.refs===Je?t.refs={}:t.refs;Object.defineProperty(o,e,{enumerable:!0,get:()=>n.value,set:s=>n.value=s})}return n}function Pi(e,t,n,r,o=!1){if(ze(e)){e.forEach((h,_)=>Pi(h,t&&(ze(t)?t[_]:t),n,r,o));return}if(ao(r)&&!o){r.shapeFlag&512&&r.type.__asyncResolved&&r.component.subTree.component&&Pi(e,t,n,r.component.subTree);return}const s=r.shapeFlag&4?Zi(r.component):r.el,i=o?null:s,{i:a,r:l}=e,u=t&&t.r,c=a.refs===Je?a.refs={}:a.refs,m=a.setupState,d=Xe(m),f=m===Je?()=>!1:h=>st(d,h);if(u!=null&&u!==l&&(bt(u)?(c[u]=null,f(u)&&(m[u]=null)):wt(u)&&(u.value=null)),Oe(l))Is(l,a,12,[i,c]);else{const h=bt(l),_=wt(l);if(h||_){const b=()=>{if(e.f){const v=h?f(l)?m[l]:c[l]:l.value;o?ze(v)&&Sm(v,s):ze(v)?v.includes(s)||v.push(s):h?(c[l]=[s],f(l)&&(m[l]=c[l])):(l.value=[s],e.k&&(c[e.k]=l.value))}else h?(c[l]=i,f(l)&&(m[l]=i)):_&&(l.value=i,e.k&&(c[e.k]=i))};i?(b.id=-1,Rt(b,n)):b()}}}let Md=!1;const Go=()=>{Md||(console.error("Hydration completed but contains mismatches."),Md=!0)},Zv=e=>e.namespaceURI.includes("svg")&&e.tagName!=="foreignObject",Yv=e=>e.namespaceURI.includes("MathML"),ma=e=>{if(e.nodeType===1){if(Zv(e))return"svg";if(Yv(e))return"mathml"}},us=e=>e.nodeType===8;function Xv(e){const{mt:t,p:n,o:{patchProp:r,createText:o,nextSibling:s,parentNode:i,remove:a,insert:l,createComment:u}}=e,c=(g,y)=>{if(!y.hasChildNodes()){n(null,g,y),tl(),y._vnode=g;return}m(y.firstChild,g,null,null,null),tl(),y._vnode=g},m=(g,y,S,C,L,N=!1)=>{N=N||!!y.dynamicChildren;const x=us(g)&&g.data==="[",F=()=>_(g,y,S,C,L,x),{type:q,ref:U,shapeFlag:W,patchFlag:Q}=y;let de=g.nodeType;y.el=g,Q===-2&&(N=!1,y.dynamicChildren=null);let G=null;switch(q){case Ir:de!==3?y.children===""?(l(y.el=o(""),i(g),g),G=g):G=F():(g.data!==y.children&&(Go(),g.data=y.children),G=s(g));break;case Nt:w(g)?(G=s(g),v(y.el=g.content.firstChild,g,S)):de!==8||x?G=F():G=s(g);break;case Io:if(x&&(g=s(g),de=g.nodeType),de===1||de===3){G=g;const te=!y.children.length;for(let le=0;le<y.staticCount;le++)te&&(y.children+=G.nodeType===1?G.outerHTML:G.data),le===y.staticCount-1&&(y.anchor=G),G=s(G);return x?s(G):G}else F();break;case be:x?G=h(g,y,S,C,L,N):G=F();break;default:if(W&1)(de!==1||y.type.toLowerCase()!==g.tagName.toLowerCase())&&!w(g)?G=F():G=d(g,y,S,C,L,N);else if(W&6){y.slotScopeIds=L;const te=i(g);if(x?G=b(g):us(g)&&g.data==="teleport start"?G=b(g,g.data,"teleport end"):G=s(g),t(y,te,null,S,C,ma(te),N),ao(y)&&!y.type.__asyncResolved){let le;x?(le=z(be),le.anchor=G?G.previousSibling:te.lastChild):le=g.nodeType===3?Qt(""):z("div"),le.el=g,y.component.subTree=le}}else W&64?de!==8?G=F():G=y.type.hydrate(g,y,S,C,L,N,e,f):W&128&&(G=y.type.hydrate(g,y,S,C,ma(i(g)),L,N,e,m))}return U!=null&&Pi(U,null,C,y),G},d=(g,y,S,C,L,N)=>{N=N||!!y.dynamicChildren;const{type:x,props:F,patchFlag:q,shapeFlag:U,dirs:W,transition:Q}=y,de=x==="input"||x==="option";if(de||q!==-1){W&&hr(y,null,S,"created");let G=!1;if(w(g)){G=ng(null,Q)&&S&&S.vnode.props&&S.vnode.props.appear;const le=g.content.firstChild;G&&Q.beforeEnter(le),v(le,g,S),y.el=g=le}if(U&16&&!(F&&(F.innerHTML||F.textContent))){let le=f(g.firstChild,y,g,S,C,L,N);for(;le;){da(g,1)||Go();const Ne=le;le=le.nextSibling,a(Ne)}}else if(U&8){let le=y.children;le[0]===`
`&&(g.tagName==="PRE"||g.tagName==="TEXTAREA")&&(le=le.slice(1)),g.textContent!==le&&(da(g,0)||Go(),g.textContent=y.children)}if(F){if(de||!N||q&48){const le=g.tagName.includes("-");for(const Ne in F)(de&&(Ne.endsWith("value")||Ne==="indeterminate")||Wi(Ne)&&!hs(Ne)||Ne[0]==="."||le)&&r(g,Ne,null,F[Ne],void 0,S)}else if(F.onClick)r(g,"onClick",null,F.onClick,void 0,S);else if(q&4&&br(F.style))for(const le in F.style)F.style[le]}let te;(te=F&&F.onVnodeBeforeMount)&&pn(te,S,y),W&&hr(y,null,S,"beforeMount"),((te=F&&F.onVnodeMounted)||W||G)&&dg(()=>{te&&pn(te,S,y),G&&Q.enter(g),W&&hr(y,null,S,"mounted")},C)}return g.nextSibling},f=(g,y,S,C,L,N,x)=>{x=x||!!y.dynamicChildren;const F=y.children,q=F.length;for(let U=0;U<q;U++){const W=x?F[U]:F[U]=hn(F[U]),Q=W.type===Ir;g?(Q&&!x&&U+1<q&&hn(F[U+1]).type===Ir&&(l(o(g.data.slice(W.children.length)),S,s(g)),g.data=W.children),g=m(g,W,C,L,N,x)):Q&&!W.children?l(W.el=o(""),S):(da(S,1)||Go(),n(null,W,S,null,C,L,ma(S),N))}return g},h=(g,y,S,C,L,N)=>{const{slotScopeIds:x}=y;x&&(L=L?L.concat(x):x);const F=i(g),q=f(s(g),y,F,S,C,L,N);return q&&us(q)&&q.data==="]"?s(y.anchor=q):(Go(),l(y.anchor=u("]"),F,q),q)},_=(g,y,S,C,L,N)=>{if(da(g.parentElement,1)||Go(),y.el=null,N){const q=b(g);for(;;){const U=s(g);if(U&&U!==q)a(U);else break}}const x=s(g),F=i(g);return a(g),n(null,y,F,x,S,C,ma(F),L),S&&(S.vnode.el=y.el,Jl(S,y.el)),x},b=(g,y="[",S="]")=>{let C=0;for(;g;)if(g=s(g),g&&us(g)&&(g.data===y&&C++,g.data===S)){if(C===0)return s(g);C--}return g},v=(g,y,S)=>{const C=y.parentNode;C&&C.replaceChild(g,y);let L=S;for(;L;)L.vnode.el===y&&(L.vnode.el=L.subTree.el=g),L=L.parent},w=g=>g.nodeType===1&&g.tagName==="TEMPLATE";return[c,m]}const Fd="data-allow-mismatch",Jv={0:"text",1:"children",2:"class",3:"style",4:"attribute"};function da(e,t){if(t===0||t===1)for(;e&&!e.hasAttribute(Fd);)e=e.parentElement;const n=e&&e.getAttribute(Fd);if(n==null)return!1;if(n==="")return!0;{const r=n.split(",");return t===0&&r.includes("children")?!0:n.split(",").includes(Jv[t])}}const Qv=Ll().requestIdleCallback||(e=>setTimeout(e,1)),ez=Ll().cancelIdleCallback||(e=>clearTimeout(e)),tz=(e=1e4)=>t=>{const n=Qv(t,{timeout:e});return()=>ez(n)};function nz(e){const{top:t,left:n,bottom:r,right:o}=e.getBoundingClientRect(),{innerHeight:s,innerWidth:i}=window;return(t>0&&t<s||r>0&&r<s)&&(n>0&&n<i||o>0&&o<i)}const rz=e=>(t,n)=>{const r=new IntersectionObserver(o=>{for(const s of o)if(s.isIntersecting){r.disconnect(),t();break}},e);return n(o=>{if(o instanceof Element){if(nz(o))return t(),r.disconnect(),!1;r.observe(o)}}),()=>r.disconnect()},oz=e=>t=>{if(e){const n=matchMedia(e);if(n.matches)t();else return n.addEventListener("change",t,{once:!0}),()=>n.removeEventListener("change",t)}},sz=(e=[])=>(t,n)=>{bt(e)&&(e=[e]);let r=!1;const o=i=>{r||(r=!0,s(),t(),i.target.dispatchEvent(new i.constructor(i.type,i)))},s=()=>{n(i=>{for(const a of e)i.removeEventListener(a,o)})};return n(i=>{for(const a of e)i.addEventListener(a,o,{once:!0})}),s};function iz(e,t){if(us(e)&&e.data==="["){let n=1,r=e.nextSibling;for(;r;){if(r.nodeType===1){if(t(r)===!1)break}else if(us(r))if(r.data==="]"){if(--n===0)break}else r.data==="["&&n++;r=r.nextSibling}}else t(e)}const ao=e=>!!e.type.__asyncLoader;/*! #__NO_SIDE_EFFECTS__ */function az(e){Oe(e)&&(e={loader:e});const{loader:t,loadingComponent:n,errorComponent:r,delay:o=200,hydrate:s,timeout:i,suspensible:a=!0,onError:l}=e;let u=null,c,m=0;const d=()=>(m++,u=null,f()),f=()=>{let h;return u||(h=u=t().catch(_=>{if(_=_ instanceof Error?_:new Error(String(_)),l)return new Promise((b,v)=>{l(_,()=>b(d()),()=>v(_),m+1)});throw _}).then(_=>h!==u&&u?u:(_&&(_.__esModule||_[Symbol.toStringTag]==="Module")&&(_=_.default),c=_,_)))};return Mr({name:"AsyncComponentWrapper",__asyncLoader:f,__asyncHydrate(h,_,b){const v=s?()=>{const w=s(b,g=>iz(h,g));w&&(_.bum||(_.bum=[])).push(w)}:b;c?v():f().then(()=>!_.isUnmounted&&v())},get __asyncResolved(){return c},setup(){const h=Mt;if(Rm(h),c)return()=>Pu(c,h);const _=g=>{u=null,Ho(g,h,13,!r)};if(a&&h.suspense||ws)return f().then(g=>()=>Pu(g,h)).catch(g=>(_(g),()=>r?z(r,{error:g}):null));const b=Mn(!1),v=Mn(),w=Mn(!!o);return o&&setTimeout(()=>{w.value=!1},o),i!=null&&setTimeout(()=>{if(!b.value&&!v.value){const g=new Error(`Async component timed out after ${i}ms.`);_(g),v.value=g}},i),f().then(()=>{b.value=!0,h.parent&&qi(h.parent.vnode)&&h.parent.update()}).catch(g=>{_(g),v.value=g}),()=>{if(b.value&&c)return Pu(c,h);if(v.value&&r)return z(r,{error:v.value});if(n&&!w.value)return z(n)}}})}function Pu(e,t){const{ref:n,props:r,children:o,ce:s}=t.vnode,i=z(e,r,o);return i.ref=n,i.ce=s,delete t.vnode.ce,i}const qi=e=>e.type.__isKeepAlive,lz={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:c,o:{createElement:m}}}=r,d=m("div");r.activate=(w,g,y,S,C)=>{const L=w.component;u(w,g,y,0,a),l(L.vnode,w,g,y,L,a,S,w.slotScopeIds,C),Rt(()=>{L.isDeactivated=!1,L.a&&_s(L.a);const N=w.props&&w.props.onVnodeMounted;N&&pn(N,L.parent,w)},a)},r.deactivate=w=>{const g=w.component;rl(g.m),rl(g.a),u(w,d,null,1,a),Rt(()=>{g.da&&_s(g.da);const y=w.props&&w.props.onVnodeUnmounted;y&&pn(y,g.parent,w),g.isDeactivated=!0},a)};function f(w){Iu(w),c(w,n,a,!0)}function h(w){o.forEach((g,y)=>{const S=Mc(g.type);S&&!w(S)&&_(y)})}function _(w){const g=o.get(w);g&&(!i||!Jn(g,i))?f(g):i&&Iu(i),o.delete(w),s.delete(w)}xn(()=>[e.include,e.exclude],([w,g])=>{w&&h(y=>ei(w,y)),g&&h(y=>!ei(g,y))},{flush:"post",deep:!0});let b=null;const v=()=>{b!=null&&(ol(n.subTree.type)?Rt(()=>{o.set(b,fa(n.subTree))},n.subTree.suspense):o.set(b,fa(n.subTree)))};return Ls(v),Gl(v),Kl(()=>{o.forEach(w=>{const{subTree:g,suspense:y}=n,S=fa(g);if(w.type===S.type&&w.key===S.key){Iu(S);const C=S.component.da;C&&Rt(C,y);return}f(w)})}),()=>{if(b=null,!t.default)return i=null;const w=t.default(),g=w[0];if(w.length>1)return i=null,w;if(!Dr(g)||!(g.shapeFlag&4)&&!(g.shapeFlag&128))return i=null,g;let y=fa(g);if(y.type===Nt)return i=null,y;const S=y.type,C=Mc(ao(y)?y.type.__asyncResolved||{}:S),{include:L,exclude:N,max:x}=e;if(L&&(!C||!ei(L,C))||N&&C&&ei(N,C))return y.shapeFlag&=-257,i=y,g;const F=y.key==null?S:y.key,q=o.get(F);return y.el&&(y=zr(y),g.shapeFlag&128&&(g.ssContent=y)),b=F,q?(y.el=q.el,y.component=q.component,y.transition&&Nr(y,y.transition),y.shapeFlag|=512,s.delete(F),s.add(F)):(s.add(F),x&&s.size>parseInt(x,10)&&_(s.values().next().value)),y.shapeFlag|=256,i=y,ol(g.type)?g:y}}},uz=lz;function ei(e,t){return ze(e)?e.some(n=>ei(n,t)):bt(e)?e.split(",").includes(t):Vb(e)?(e.lastIndex=0,e.test(t)):!1}function $_(e,t){I_(e,"a",t)}function P_(e,t){I_(e,"da",t)}function I_(e,t,n=Mt){const r=e.__wdc||(e.__wdc=()=>{let o=n;for(;o;){if(o.isDeactivated)return;o=o.parent}return e()});if(ql(t,r,n),n){let o=n.parent;for(;o&&o.parent;)qi(o.parent.vnode)&&cz(r,t,n,o),o=o.parent}}function cz(e,t,n,r){const o=ql(t,e,r,!0);Gi(()=>{Sm(r[t],o)},n)}function Iu(e){e.shapeFlag&=-257,e.shapeFlag&=-513}function fa(e){return e.shapeFlag&128?e.ssContent:e}function ql(e,t,n=Mt,r=!1){if(n){const o=n[e]||(n[e]=[]),s=t.__weh||(t.__weh=(...i)=>{po();const a=Ro(n),l=Hn(t,n,e,i);return a(),ho(),l});return r?o.unshift(s):o.push(s),s}}const Fr=e=>(t,n=Mt)=>{(!ws||e==="sp")&&ql(e,(...r)=>t(...r),n)},L_=Fr("bm"),Ls=Fr("m"),Mm=Fr("bu"),Gl=Fr("u"),Kl=Fr("bum"),Gi=Fr("um"),N_=Fr("sp"),D_=Fr("rtg"),R_=Fr("rtc");function M_(e,t=Mt){ql("ec",e,t)}const Fm="components",mz="directives";function A(e,t){return Vm(Fm,e,!0,t)||e}const F_=Symbol.for("v-ndc");function Zl(e){return bt(e)?Vm(Fm,e,!1)||e:e||F_}function Yl(e){return Vm(mz,e)}function Vm(e,t,n=!0,r=!1){const o=Ft||Mt;if(o){const s=o.type;if(e===Fm){const a=Mc(s,!1);if(a&&(a===t||a===Wt(t)||a===Bi(Wt(t))))return s}const i=Vd(o[e]||s[e],t)||Vd(o.appContext[e],t);return!i&&r?s:i}}function Vd(e,t){return e&&(e[t]||e[Wt(t)]||e[Bi(Wt(t))])}function _t(e,t,n,r){let o;const s=n&&n[r],i=ze(e);if(i||bt(e)){const a=i&&br(e);let l=!1;a&&(l=!En(e),e=Ml(e)),o=new Array(e.length);for(let u=0,c=e.length;u<c;u++)o[u]=t(l?Kt(e[u]):e[u],u,void 0,s&&s[u])}else if(typeof e=="number"){o=new Array(e);for(let a=0;a<e;a++)o[a]=t(a+1,a,void 0,s&&s[a])}else if(pt(e))if(e[Symbol.iterator])o=Array.from(e,(a,l)=>t(a,l,void 0,s&&s[l]));else{const a=Object.keys(e);o=new Array(a.length);for(let l=0,u=a.length;l<u;l++){const c=a[l];o[l]=t(e[c],c,l,s&&s[l])}}else o=[];return n&&(n[r]=o),o}function Hm(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 dt(e,t,n={},r,o){if(Ft.ce||Ft.parent&&ao(Ft.parent)&&Ft.parent.ce)return t!=="default"&&(n.name=t),$(),ve(be,null,[z("slot",n,r&&r())],64);let s=e[t];s&&s._c&&(s._d=!1),$();const i=s&&Um(s(n)),a=n.key||i&&i.key,l=ve(be,{key:(a&&!nr(a)?a:`_${t}`)+(!i&&r?"_fb":"")},i||(r?r():[]),i&&e._===1?64:-2);return!o&&l.scopeId&&(l.slotScopeIds=[l.scopeId+"-s"]),s&&s._c&&(s._d=!0),l}function Um(e){return e.some(t=>Dr(t)?!(t.type===Nt||t.type===be&&!Um(t.children)):!0)?e:null}function dz(e,t){const n={};for(const r in e)n[t&&/[A-Z]/.test(r)?`on:${r}`:li(r)]=e[r];return n}const xc=e=>e?yg(e)?Zi(e):xc(e.parent):null,di=ht(Object.create(null),{$:e=>e,$el:e=>e.vnode.el,$data:e=>e.data,$props:e=>e.props,$attrs:e=>e.attrs,$slots:e=>e.slots,$refs:e=>e.refs,$parent:e=>xc(e.parent),$root:e=>xc(e.root),$host:e=>e.ce,$emit:e=>e.emit,$options:e=>jm(e),$forceUpdate:e=>e.f||(e.f=()=>{Lm(e.update)}),$nextTick:e=>e.n||(e.n=Uo.bind(e.proxy)),$watch:e=>Uz.bind(e)}),Lu=(e,t)=>e!==Je&&!e.__isScriptSetup&&st(e,t),Tc={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 f=i[t];if(f!==void 0)switch(f){case 1:return r[t];case 2:return o[t];case 4:return n[t];case 3:return s[t]}else{if(Lu(r,t))return i[t]=1,r[t];if(o!==Je&&st(o,t))return i[t]=2,o[t];if((u=e.propsOptions[0])&&st(u,t))return i[t]=3,s[t];if(n!==Je&&st(n,t))return i[t]=4,n[t];Ac&&(i[t]=0)}}const c=di[t];let m,d;if(c)return t==="$attrs"&&Gt(e.attrs,"get",""),c(e);if((m=a.__cssModules)&&(m=m[t]))return m;if(n!==Je&&st(n,t))return i[t]=4,n[t];if(d=l.config.globalProperties,st(d,t))return d[t]},set({_:e},t,n){const{data:r,setupState:o,ctx:s}=e;return Lu(o,t)?(o[t]=n,!0):r!==Je&&st(r,t)?(r[t]=n,!0):st(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!==Je&&st(e,i)||Lu(t,i)||(a=s[0])&&st(a,i)||st(r,i)||st(di,i)||st(o.config.globalProperties,i)},defineProperty(e,t,n){return n.get!=null?e._.accessCache[t]=0:st(n,"value")&&this.set(e,t,n.value,null),Reflect.defineProperty(e,t,n)}},fz=ht({},Tc,{get(e,t){if(t!==Symbol.unscopables)return Tc.get(e,t,e)},has(e,t){return t[0]!=="_"&&!Bb(t)}});function pz(){return null}function hz(){return null}function _z(e){}function gz(e){}function yz(){return null}function bz(){}function vz(e,t){return null}function zz(){return V_().slots}function wz(){return V_().attrs}function V_(){const e=un();return e.setupContext||(e.setupContext=zg(e))}function Ii(e){return ze(e)?e.reduce((t,n)=>(t[n]=null,t),{}):e}function Sz(e,t){const n=Ii(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 Cz(e,t){return!e||!t?e||t:ze(e)&&ze(t)?e.concat(t):ht({},Ii(e),Ii(t))}function kz(e,t){const n={};for(const r in e)t.includes(r)||Object.defineProperty(n,r,{enumerable:!0,get:()=>e[r]});return n}function Ez(e){const t=un();let n=e();return Nc(),Cm(n)&&(n=n.catch(r=>{throw Ro(t),r})),[n,()=>Ro(t)]}let Ac=!0;function xz(e){const t=jm(e),n=e.proxy,r=e.ctx;Ac=!1,t.beforeCreate&&Hd(t.beforeCreate,e,"bc");const{data:o,computed:s,methods:i,watch:a,provide:l,inject:u,created:c,beforeMount:m,mounted:d,beforeUpdate:f,updated:h,activated:_,deactivated:b,beforeDestroy:v,beforeUnmount:w,destroyed:g,unmounted:y,render:S,renderTracked:C,renderTriggered:L,errorCaptured:N,serverPrefetch:x,expose:F,inheritAttrs:q,components:U,directives:W,filters:Q}=t;if(u&&Tz(u,r,null),i)for(const te in i){const le=i[te];Oe(le)&&(r[te]=le.bind(n))}if(o){const te=o.call(n,n);pt(te)&&(e.data=Ps(te))}if(Ac=!0,s)for(const te in s){const le=s[te],Ne=Oe(le)?le.bind(n,n):Oe(le.get)?le.get.bind(n,n):Rn,it=!Oe(le)&&Oe(le.set)?le.set.bind(n):Rn,Ve=Ut({get:Ne,set:it});Object.defineProperty(r,te,{enumerable:!0,configurable:!0,get:()=>Ve.value,set:He=>Ve.value=He})}if(a)for(const te in a)H_(a[te],r,n,te);if(l){const te=Oe(l)?l.call(n):l;Reflect.ownKeys(te).forEach(le=>{fi(le,te[le])})}c&&Hd(c,e,"c");function G(te,le){ze(le)?le.forEach(Ne=>te(Ne.bind(n))):le&&te(le.bind(n))}if(G(L_,m),G(Ls,d),G(Mm,f),G(Gl,h),G($_,_),G(P_,b),G(M_,N),G(R_,C),G(D_,L),G(Kl,w),G(Gi,y),G(N_,x),ze(F))if(F.length){const te=e.exposed||(e.exposed={});F.forEach(le=>{Object.defineProperty(te,le,{get:()=>n[le],set:Ne=>n[le]=Ne})})}else e.exposed||(e.exposed={});S&&e.render===Rn&&(e.render=S),q!=null&&(e.inheritAttrs=q),U&&(e.components=U),W&&(e.directives=W),x&&Rm(e)}function Tz(e,t,n=Rn){ze(e)&&(e=Oc(e));for(const r in e){const o=e[r];let s;pt(o)?"default"in o?s=Fn(o.from||r,o.default,!0):s=Fn(o.from||r):s=Fn(o),wt(s)?Object.defineProperty(t,r,{enumerable:!0,configurable:!0,get:()=>s.value,set:i=>s.value=i}):t[r]=s}}function Hd(e,t,n){Hn(ze(e)?e.map(r=>r.bind(t.proxy)):e.bind(t.proxy),t,n)}function H_(e,t,n,r){let o=r.includes(".")?lg(n,r):()=>n[r];if(bt(e)){const s=t[e];Oe(s)&&xn(o,s)}else if(Oe(e))xn(o,e.bind(n));else if(pt(e))if(ze(e))e.forEach(s=>H_(s,t,n,r));else{const s=Oe(e.handler)?e.handler.bind(n):t[e.handler];Oe(s)&&xn(o,s,e)}}function jm(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=>nl(l,u,i,!0)),nl(l,t,i)),pt(t)&&s.set(t,l),l}function nl(e,t,n,r=!1){const{mixins:o,extends:s}=t;s&&nl(e,s,n,!0),o&&o.forEach(i=>nl(e,i,n,!0));for(const i in t)if(!(r&&i==="expose")){const a=Az[i]||n&&n[i];e[i]=a?a(e[i],t[i]):t[i]}return e}const Az={data:Ud,props:jd,emits:jd,methods:ti,computed:ti,beforeCreate:tn,created:tn,beforeMount:tn,mounted:tn,beforeUpdate:tn,updated:tn,beforeDestroy:tn,beforeUnmount:tn,destroyed:tn,unmounted:tn,activated:tn,deactivated:tn,errorCaptured:tn,serverPrefetch:tn,components:ti,directives:ti,watch:$z,provide:Ud,inject:Oz};function Ud(e,t){return t?e?function(){return ht(Oe(e)?e.call(this,this):e,Oe(t)?t.call(this,this):t)}:t:e}function Oz(e,t){return ti(Oc(e),Oc(t))}function Oc(e){if(ze(e)){const t={};for(let n=0;n<e.length;n++)t[e[n]]=e[n];return t}return e}function tn(e,t){return e?[...new Set([].concat(e,t))]:t}function ti(e,t){return e?ht(Object.create(null),e,t):t}function jd(e,t){return e?ze(e)&&ze(t)?[...new Set([...e,...t])]:ht(Object.create(null),Ii(e),Ii(t??{})):t}function $z(e,t){if(!e)return t;if(!t)return e;const n=ht(Object.create(null),e);for(const r in t)n[r]=tn(e[r],t[r]);return n}function U_(){return{app:null,config:{isNativeTag:Mb,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 Pz=0;function Iz(e,t){return function(r,o=null){Oe(r)||(r=ht({},r)),o!=null&&!pt(o)&&(o=null);const s=U_(),i=new WeakSet,a=[];let l=!1;const u=s.app={_uid:Pz++,_component:r,_props:o,_container:null,_context:s,_instance:null,version:Sg,get config(){return s.config},set config(c){},use(c,...m){return i.has(c)||(c&&Oe(c.install)?(i.add(c),c.install(u,...m)):Oe(c)&&(i.add(c),c(u,...m))),u},mixin(c){return s.mixins.includes(c)||s.mixins.push(c),u},component(c,m){return m?(s.components[c]=m,u):s.components[c]},directive(c,m){return m?(s.directives[c]=m,u):s.directives[c]},mount(c,m,d){if(!l){const f=u._ceVNode||z(r,o);return f.appContext=s,d===!0?d="svg":d===!1&&(d=void 0),m&&t?t(f,c):e(f,c,d),l=!0,u._container=c,c.__vue_app__=u,Zi(f.component)}},onUnmount(c){a.push(c)},unmount(){l&&(Hn(a,u._instance,16),e(null,u._container),delete u._container.__vue_app__)},provide(c,m){return s.provides[c]=m,u},runWithContext(c){const m=Po;Po=u;try{return c()}finally{Po=m}}};return u}}let Po=null;function fi(e,t){if(Mt){let n=Mt.provides;const r=Mt.parent&&Mt.parent.provides;r===n&&(n=Mt.provides=Object.create(r)),n[e]=t}}function Fn(e,t,n=!1){const r=Mt||Ft;if(r||Po){const o=Po?Po._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 j_(){return!!(Mt||Ft||Po)}const W_={},B_=()=>Object.create(W_),q_=e=>Object.getPrototypeOf(e)===W_;function Lz(e,t,n,r=!1){const o={},s=B_();e.propsDefaults=Object.create(null),G_(e,t,o,s);for(const i in e.propsOptions[0])i in o||(o[i]=void 0);n?e.props=r?o:$m(o):e.type.props?e.props=o:e.props=s,e.attrs=s}function Nz(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 c=e.vnode.dynamicProps;for(let m=0;m<c.length;m++){let d=c[m];if(Xl(e.emitsOptions,d))continue;const f=t[d];if(l)if(st(s,d))f!==s[d]&&(s[d]=f,u=!0);else{const h=Wt(d);o[h]=$c(l,a,h,f,e,!1)}else f!==s[d]&&(s[d]=f,u=!0)}}}else{G_(e,t,o,s)&&(u=!0);let c;for(const m in a)(!t||!st(t,m)&&((c=gn(m))===m||!st(t,c)))&&(l?n&&(n[m]!==void 0||n[c]!==void 0)&&(o[m]=$c(l,a,m,void 0,e,!0)):delete o[m]);if(s!==a)for(const m in s)(!t||!st(t,m))&&(delete s[m],u=!0)}u&&Ar(e.attrs,"set","")}function G_(e,t,n,r){const[o,s]=e.propsOptions;let i=!1,a;if(t)for(let l in t){if(hs(l))continue;const u=t[l];let c;o&&st(o,c=Wt(l))?!s||!s.includes(c)?n[c]=u:(a||(a={}))[c]=u:Xl(e.emitsOptions,l)||(!(l in r)||u!==r[l])&&(r[l]=u,i=!0)}if(s){const l=Xe(n),u=a||Je;for(let c=0;c<s.length;c++){const m=s[c];n[m]=$c(o,l,m,u[m],e,!st(u,m))}}return i}function $c(e,t,n,r,o,s){const i=e[n];if(i!=null){const a=st(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 c=Ro(o);r=u[n]=l.call(null,t),c()}}else r=l;o.ce&&o.ce._setProp(n,r)}i[0]&&(s&&!a?r=!1:i[1]&&(r===""||r===gn(n))&&(r=!0))}return r}const Dz=new WeakMap;function K_(e,t,n=!1){const r=n?Dz:t.propsCache,o=r.get(e);if(o)return o;const s=e.props,i={},a=[];let l=!1;if(!Oe(e)){const c=m=>{l=!0;const[d,f]=K_(m,t,!0);ht(i,d),f&&a.push(...f)};!n&&t.mixins.length&&t.mixins.forEach(c),e.extends&&c(e.extends),e.mixins&&e.mixins.forEach(c)}if(!s&&!l)return pt(e)&&r.set(e,fs),fs;if(ze(s))for(let c=0;c<s.length;c++){const m=Wt(s[c]);Wd(m)&&(i[m]=Je)}else if(s)for(const c in s){const m=Wt(c);if(Wd(m)){const d=s[c],f=i[m]=ze(d)||Oe(d)?{type:d}:ht({},d),h=f.type;let _=!1,b=!0;if(ze(h))for(let v=0;v<h.length;++v){const w=h[v],g=Oe(w)&&w.name;if(g==="Boolean"){_=!0;break}else g==="String"&&(b=!1)}else _=Oe(h)&&h.name==="Boolean";f[0]=_,f[1]=b,(_||st(f,"default"))&&a.push(m)}}const u=[i,a];return pt(e)&&r.set(e,u),u}function Wd(e){return e[0]!=="$"&&!hs(e)}const Z_=e=>e[0]==="_"||e==="$stable",Wm=e=>ze(e)?e.map(hn):[hn(e)],Rz=(e,t,n)=>{if(t._n)return t;const r=I((...o)=>Wm(t(...o)),n);return r._c=!1,r},Y_=(e,t,n)=>{const r=e._ctx;for(const o in e){if(Z_(o))continue;const s=e[o];if(Oe(s))t[o]=Rz(o,s,r);else if(s!=null){const i=Wm(s);t[o]=()=>i}}},X_=(e,t)=>{const n=Wm(t);e.slots.default=()=>n},J_=(e,t,n)=>{for(const r in t)(n||r!=="_")&&(e[r]=t[r])},Mz=(e,t,n)=>{const r=e.slots=B_();if(e.vnode.shapeFlag&32){const o=t._;o?(J_(r,t,n),n&&Gh(r,"_",o,!0)):Y_(t,r)}else t&&X_(e,t)},Fz=(e,t,n)=>{const{vnode:r,slots:o}=e;let s=!0,i=Je;if(r.shapeFlag&32){const a=t._;a?n&&a===1?s=!1:J_(o,t,n):(s=!t.$stable,Y_(t,o)),i=t}else t&&(X_(e,t),i={default:1});if(s)for(const a in o)!Z_(a)&&i[a]==null&&delete o[a]},Rt=dg;function Q_(e){return tg(e)}function eg(e){return tg(e,Xv)}function tg(e,t){const n=Ll();n.__VUE__=!0;const{insert:r,remove:o,patchProp:s,createElement:i,createText:a,createComment:l,setText:u,setElementText:c,parentNode:m,nextSibling:d,setScopeId:f=Rn,insertStaticContent:h}=e,_=(O,P,j,ee=null,Y=null,se=null,pe=void 0,E=null,T=!!P.dynamicChildren)=>{if(O===P)return;O&&!Jn(O,P)&&(ee=K(O),He(O,Y,se,!0),O=null),P.patchFlag===-2&&(T=!1,P.dynamicChildren=null);const{type:R,ref:re,shapeFlag:ae}=P;switch(R){case Ir:b(O,P,j,ee);break;case Nt:v(O,P,j,ee);break;case Io:O==null&&w(P,j,ee,pe);break;case be:U(O,P,j,ee,Y,se,pe,E,T);break;default:ae&1?S(O,P,j,ee,Y,se,pe,E,T):ae&6?W(O,P,j,ee,Y,se,pe,E,T):(ae&64||ae&128)&&R.process(O,P,j,ee,Y,se,pe,E,T,ye)}re!=null&&Y&&Pi(re,O&&O.ref,se,P||O,!P)},b=(O,P,j,ee)=>{if(O==null)r(P.el=a(P.children),j,ee);else{const Y=P.el=O.el;P.children!==O.children&&u(Y,P.children)}},v=(O,P,j,ee)=>{O==null?r(P.el=l(P.children||""),j,ee):P.el=O.el},w=(O,P,j,ee)=>{[O.el,O.anchor]=h(O.children,P,j,ee,O.el,O.anchor)},g=({el:O,anchor:P},j,ee)=>{let Y;for(;O&&O!==P;)Y=d(O),r(O,j,ee),O=Y;r(P,j,ee)},y=({el:O,anchor:P})=>{let j;for(;O&&O!==P;)j=d(O),o(O),O=j;o(P)},S=(O,P,j,ee,Y,se,pe,E,T)=>{P.type==="svg"?pe="svg":P.type==="math"&&(pe="mathml"),O==null?C(P,j,ee,Y,se,pe,E,T):x(O,P,Y,se,pe,E,T)},C=(O,P,j,ee,Y,se,pe,E)=>{let T,R;const{props:re,shapeFlag:ae,transition:oe,dirs:H}=O;if(T=O.el=i(O.type,se,re&&re.is,re),ae&8?c(T,O.children):ae&16&&N(O.children,T,null,ee,Y,Nu(O,se),pe,E),H&&hr(O,null,ee,"created"),L(T,O,O.scopeId,pe,ee),re){for(const Ce in re)Ce!=="value"&&!hs(Ce)&&s(T,Ce,null,re[Ce],se,ee);"value"in re&&s(T,"value",null,re.value,se),(R=re.onVnodeBeforeMount)&&pn(R,ee,O)}H&&hr(O,null,ee,"beforeMount");const Z=ng(Y,oe);Z&&oe.beforeEnter(T),r(T,P,j),((R=re&&re.onVnodeMounted)||Z||H)&&Rt(()=>{R&&pn(R,ee,O),Z&&oe.enter(T),H&&hr(O,null,ee,"mounted")},Y)},L=(O,P,j,ee,Y)=>{if(j&&f(O,j),ee)for(let se=0;se<ee.length;se++)f(O,ee[se]);if(Y){let se=Y.subTree;if(P===se||ol(se.type)&&(se.ssContent===P||se.ssFallback===P)){const pe=Y.vnode;L(O,pe,pe.scopeId,pe.slotScopeIds,Y.parent)}}},N=(O,P,j,ee,Y,se,pe,E,T=0)=>{for(let R=T;R<O.length;R++){const re=O[R]=E?eo(O[R]):hn(O[R]);_(null,re,P,j,ee,Y,se,pe,E)}},x=(O,P,j,ee,Y,se,pe)=>{const E=P.el=O.el;let{patchFlag:T,dynamicChildren:R,dirs:re}=P;T|=O.patchFlag&16;const ae=O.props||Je,oe=P.props||Je;let H;if(j&&vo(j,!1),(H=oe.onVnodeBeforeUpdate)&&pn(H,j,P,O),re&&hr(P,O,j,"beforeUpdate"),j&&vo(j,!0),(ae.innerHTML&&oe.innerHTML==null||ae.textContent&&oe.textContent==null)&&c(E,""),R?F(O.dynamicChildren,R,E,j,ee,Nu(P,Y),se):pe||le(O,P,E,null,j,ee,Nu(P,Y),se,!1),T>0){if(T&16)q(E,ae,oe,j,Y);else if(T&2&&ae.class!==oe.class&&s(E,"class",null,oe.class,Y),T&4&&s(E,"style",ae.style,oe.style,Y),T&8){const Z=P.dynamicProps;for(let Ce=0;Ce<Z.length;Ce++){const M=Z[Ce],V=ae[M],B=oe[M];(B!==V||M==="value")&&s(E,M,V,B,Y,j)}}T&1&&O.children!==P.children&&c(E,P.children)}else!pe&&R==null&&q(E,ae,oe,j,Y);((H=oe.onVnodeUpdated)||re)&&Rt(()=>{H&&pn(H,j,P,O),re&&hr(P,O,j,"updated")},ee)},F=(O,P,j,ee,Y,se,pe)=>{for(let E=0;E<P.length;E++){const T=O[E],R=P[E],re=T.el&&(T.type===be||!Jn(T,R)||T.shapeFlag&70)?m(T.el):j;_(T,R,re,null,ee,Y,se,pe,!0)}},q=(O,P,j,ee,Y)=>{if(P!==j){if(P!==Je)for(const se in P)!hs(se)&&!(se in j)&&s(O,se,P[se],null,Y,ee);for(const se in j){if(hs(se))continue;const pe=j[se],E=P[se];pe!==E&&se!=="value"&&s(O,se,E,pe,Y,ee)}"value"in j&&s(O,"value",P.value,j.value,Y)}},U=(O,P,j,ee,Y,se,pe,E,T)=>{const R=P.el=O?O.el:a(""),re=P.anchor=O?O.anchor:a("");let{patchFlag:ae,dynamicChildren:oe,slotScopeIds:H}=P;H&&(E=E?E.concat(H):H),O==null?(r(R,j,ee),r(re,j,ee),N(P.children||[],j,re,Y,se,pe,E,T)):ae>0&&ae&64&&oe&&O.dynamicChildren?(F(O.dynamicChildren,oe,j,Y,se,pe,E),(P.key!=null||Y&&P===Y.subTree)&&Bm(O,P,!0)):le(O,P,j,re,Y,se,pe,E,T)},W=(O,P,j,ee,Y,se,pe,E,T)=>{P.slotScopeIds=E,O==null?P.shapeFlag&512?Y.ctx.activate(P,j,ee,pe,T):Q(P,j,ee,Y,se,pe,T):de(O,P,T)},Q=(O,P,j,ee,Y,se,pe)=>{const E=O.component=gg(O,ee,Y);if(qi(O)&&(E.ctx.renderer=ye),bg(E,!1,pe),E.asyncDep){if(Y&&Y.registerDep(E,G,pe),!O.el){const T=E.subTree=z(Nt);v(null,T,P,j)}}else G(E,O,P,j,Y,se,pe)},de=(O,P,j)=>{const ee=P.component=O.component;if(Kz(O,P,j))if(ee.asyncDep&&!ee.asyncResolved){te(ee,P,j);return}else ee.next=P,ee.update();else P.el=O.el,ee.vnode=P},G=(O,P,j,ee,Y,se,pe)=>{const E=()=>{if(O.isMounted){let{next:ae,bu:oe,u:H,parent:Z,vnode:Ce}=O;{const _e=rg(O);if(_e){ae&&(ae.el=Ce.el,te(O,ae,pe)),_e.asyncDep.then(()=>{O.isUnmounted||E()});return}}let M=ae,V;vo(O,!1),ae?(ae.el=Ce.el,te(O,ae,pe)):ae=Ce,oe&&_s(oe),(V=ae.props&&ae.props.onVnodeBeforeUpdate)&&pn(V,Z,ae,Ce),vo(O,!0);const B=La(O),ne=O.subTree;O.subTree=B,_(ne,B,m(ne.el),K(ne),O,Y,se),ae.el=B.el,M===null&&Jl(O,B.el),H&&Rt(H,Y),(V=ae.props&&ae.props.onVnodeUpdated)&&Rt(()=>pn(V,Z,ae,Ce),Y)}else{let ae;const{el:oe,props:H}=P,{bm:Z,m:Ce,parent:M,root:V,type:B}=O,ne=ao(P);if(vo(O,!1),Z&&_s(Z),!ne&&(ae=H&&H.onVnodeBeforeMount)&&pn(ae,M,P),vo(O,!0),oe&&Ge){const _e=()=>{O.subTree=La(O),Ge(oe,O.subTree,O,Y,null)};ne&&B.__asyncHydrate?B.__asyncHydrate(oe,O,_e):_e()}else{V.ce&&V.ce._injectChildStyle(B);const _e=O.subTree=La(O);_(null,_e,j,ee,O,Y,se),P.el=_e.el}if(Ce&&Rt(Ce,Y),!ne&&(ae=H&&H.onVnodeMounted)){const _e=P;Rt(()=>pn(ae,M,_e),Y)}(P.shapeFlag&256||M&&ao(M.vnode)&&M.vnode.shapeFlag&256)&&O.a&&Rt(O.a,Y),O.isMounted=!0,P=j=ee=null}};O.scope.on();const T=O.effect=new Ei(E);O.scope.off();const R=O.update=T.run.bind(T),re=O.job=T.runIfDirty.bind(T);re.i=O,re.id=O.uid,T.scheduler=()=>Lm(re),vo(O,!0),R()},te=(O,P,j)=>{P.component=O;const ee=O.vnode.props;O.vnode=P,O.next=null,Nz(O,P.props,ee,j),Fz(O,P.children,j),po(),Id(O),ho()},le=(O,P,j,ee,Y,se,pe,E,T=!1)=>{const R=O&&O.children,re=O?O.shapeFlag:0,ae=P.children,{patchFlag:oe,shapeFlag:H}=P;if(oe>0){if(oe&128){it(R,ae,j,ee,Y,se,pe,E,T);return}else if(oe&256){Ne(R,ae,j,ee,Y,se,pe,E,T);return}}H&8?(re&16&&Be(R,Y,se),ae!==R&&c(j,ae)):re&16?H&16?it(R,ae,j,ee,Y,se,pe,E,T):Be(R,Y,se,!0):(re&8&&c(j,""),H&16&&N(ae,j,ee,Y,se,pe,E,T))},Ne=(O,P,j,ee,Y,se,pe,E,T)=>{O=O||fs,P=P||fs;const R=O.length,re=P.length,ae=Math.min(R,re);let oe;for(oe=0;oe<ae;oe++){const H=P[oe]=T?eo(P[oe]):hn(P[oe]);_(O[oe],H,j,null,Y,se,pe,E,T)}R>re?Be(O,Y,se,!0,!1,ae):N(P,j,ee,Y,se,pe,E,T,ae)},it=(O,P,j,ee,Y,se,pe,E,T)=>{let R=0;const re=P.length;let ae=O.length-1,oe=re-1;for(;R<=ae&&R<=oe;){const H=O[R],Z=P[R]=T?eo(P[R]):hn(P[R]);if(Jn(H,Z))_(H,Z,j,null,Y,se,pe,E,T);else break;R++}for(;R<=ae&&R<=oe;){const H=O[ae],Z=P[oe]=T?eo(P[oe]):hn(P[oe]);if(Jn(H,Z))_(H,Z,j,null,Y,se,pe,E,T);else break;ae--,oe--}if(R>ae){if(R<=oe){const H=oe+1,Z=H<re?P[H].el:ee;for(;R<=oe;)_(null,P[R]=T?eo(P[R]):hn(P[R]),j,Z,Y,se,pe,E,T),R++}}else if(R>oe)for(;R<=ae;)He(O[R],Y,se,!0),R++;else{const H=R,Z=R,Ce=new Map;for(R=Z;R<=oe;R++){const Re=P[R]=T?eo(P[R]):hn(P[R]);Re.key!=null&&Ce.set(Re.key,R)}let M,V=0;const B=oe-Z+1;let ne=!1,_e=0;const xe=new Array(B);for(R=0;R<B;R++)xe[R]=0;for(R=H;R<=ae;R++){const Re=O[R];if(V>=B){He(Re,Y,se,!0);continue}let nt;if(Re.key!=null)nt=Ce.get(Re.key);else for(M=Z;M<=oe;M++)if(xe[M-Z]===0&&Jn(Re,P[M])){nt=M;break}nt===void 0?He(Re,Y,se,!0):(xe[nt-Z]=R+1,nt>=_e?_e=nt:ne=!0,_(Re,P[nt],j,null,Y,se,pe,E,T),V++)}const Me=ne?Vz(xe):fs;for(M=Me.length-1,R=B-1;R>=0;R--){const Re=Z+R,nt=P[Re],Pe=Re+1<re?P[Re+1].el:ee;xe[R]===0?_(null,nt,j,Pe,Y,se,pe,E,T):ne&&(M<0||R!==Me[M]?Ve(nt,j,Pe,2):M--)}}},Ve=(O,P,j,ee,Y=null)=>{const{el:se,type:pe,transition:E,children:T,shapeFlag:R}=O;if(R&6){Ve(O.component.subTree,P,j,ee);return}if(R&128){O.suspense.move(P,j,ee);return}if(R&64){pe.move(O,P,j,ye);return}if(pe===be){r(se,P,j);for(let ae=0;ae<T.length;ae++)Ve(T[ae],P,j,ee);r(O.anchor,P,j);return}if(pe===Io){g(O,P,j);return}if(ee!==2&&R&1&&E)if(ee===0)E.beforeEnter(se),r(se,P,j),Rt(()=>E.enter(se),Y);else{const{leave:ae,delayLeave:oe,afterLeave:H}=E,Z=()=>r(se,P,j),Ce=()=>{ae(se,()=>{Z(),H&&H()})};oe?oe(se,Z,Ce):Ce()}else r(se,P,j)},He=(O,P,j,ee=!1,Y=!1)=>{const{type:se,props:pe,ref:E,children:T,dynamicChildren:R,shapeFlag:re,patchFlag:ae,dirs:oe,cacheIndex:H}=O;if(ae===-2&&(Y=!1),E!=null&&Pi(E,null,j,O,!0),H!=null&&(P.renderCache[H]=void 0),re&256){P.ctx.deactivate(O);return}const Z=re&1&&oe,Ce=!ao(O);let M;if(Ce&&(M=pe&&pe.onVnodeBeforeUnmount)&&pn(M,P,O),re&6)mt(O.component,j,ee);else{if(re&128){O.suspense.unmount(j,ee);return}Z&&hr(O,null,P,"beforeUnmount"),re&64?O.type.remove(O,P,j,ye,ee):R&&!R.hasOnce&&(se!==be||ae>0&&ae&64)?Be(R,P,j,!1,!0):(se===be&&ae&384||!Y&&re&16)&&Be(T,P,j),ee&&at(O)}(Ce&&(M=pe&&pe.onVnodeUnmounted)||Z)&&Rt(()=>{M&&pn(M,P,O),Z&&hr(O,null,P,"unmounted")},j)},at=O=>{const{type:P,el:j,anchor:ee,transition:Y}=O;if(P===be){lt(j,ee);return}if(P===Io){y(O);return}const se=()=>{o(j),Y&&!Y.persisted&&Y.afterLeave&&Y.afterLeave()};if(O.shapeFlag&1&&Y&&!Y.persisted){const{leave:pe,delayLeave:E}=Y,T=()=>pe(j,se);E?E(O.el,se,T):T()}else se()},lt=(O,P)=>{let j;for(;O!==P;)j=d(O),o(O),O=j;o(P)},mt=(O,P,j)=>{const{bum:ee,scope:Y,job:se,subTree:pe,um:E,m:T,a:R}=O;rl(T),rl(R),ee&&_s(ee),Y.stop(),se&&(se.flags|=8,He(pe,O,P,j)),E&&Rt(E,P),Rt(()=>{O.isUnmounted=!0},P),P&&P.pendingBranch&&!P.isUnmounted&&O.asyncDep&&!O.asyncResolved&&O.suspenseId===P.pendingId&&(P.deps--,P.deps===0&&P.resolve())},Be=(O,P,j,ee=!1,Y=!1,se=0)=>{for(let pe=se;pe<O.length;pe++)He(O[pe],P,j,ee,Y)},K=O=>{if(O.shapeFlag&6)return K(O.component.subTree);if(O.shapeFlag&128)return O.suspense.next();const P=d(O.anchor||O.el),j=P&&P[S_];return j?d(j):P};let me=!1;const ue=(O,P,j)=>{O==null?P._vnode&&He(P._vnode,null,null,!0):_(P._vnode||null,O,P,null,null,null,j),P._vnode=O,me||(me=!0,Id(),tl(),me=!1)},ye={p:_,um:He,m:Ve,r:at,mt:Q,mc:N,pc:le,pbc:F,n:K,o:e};let Ue,Ge;return t&&([Ue,Ge]=t(ye)),{render:ue,hydrate:Ue,createApp:Iz(ue,Ue)}}function Nu({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 vo({effect:e,job:t},n){n?(e.flags|=32,t.flags|=4):(e.flags&=-33,t.flags&=-5)}function ng(e,t){return(!e||e&&!e.pendingBranch)&&t&&!t.persisted}function Bm(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]=eo(o[s]),a.el=i.el),!n&&a.patchFlag!==-2&&Bm(i,a)),a.type===Ir&&(a.el=i.el)}}function Vz(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 rg(e){const t=e.subTree.component;if(t)return t.asyncDep&&!t.asyncResolved?t:rg(t)}function rl(e){if(e)for(let t=0;t<e.length;t++)e[t].flags|=8}const og=Symbol.for("v-scx"),sg=()=>Fn(og);function ig(e,t){return Ki(e,null,t)}function Hz(e,t){return Ki(e,null,{flush:"post"})}function ag(e,t){return Ki(e,null,{flush:"sync"})}function xn(e,t,n){return Ki(e,t,n)}function Ki(e,t,n=Je){const{immediate:r,deep:o,flush:s,once:i}=n,a=ht({},n),l=t&&r||!t&&s!=="post";let u;if(ws){if(s==="sync"){const f=sg();u=f.__watcherHandles||(f.__watcherHandles=[])}else if(!l){const f=()=>{};return f.stop=Rn,f.resume=Rn,f.pause=Rn,f}}const c=Mt;a.call=(f,h,_)=>Hn(f,c,h,_);let m=!1;s==="post"?a.scheduler=f=>{Rt(f,c&&c.suspense)}:s!=="sync"&&(m=!0,a.scheduler=(f,h)=>{h?f():Lm(f)}),a.augmentJob=f=>{t&&(f.flags|=4),m&&(f.flags|=2,c&&(f.id=c.uid,f.i=c))};const d=Lv(e,t,a);return ws&&(u?u.push(d):l&&d()),d}function Uz(e,t,n){const r=this.proxy,o=bt(e)?e.includes(".")?lg(r,e):()=>r[e]:e.bind(r,r);let s;Oe(t)?s=t:(s=t.handler,n=t);const i=Ro(this),a=Ki(o,s.bind(r),n);return i(),a}function lg(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 jz(e,t,n=Je){const r=un(),o=Wt(t),s=gn(t),i=ug(e,o),a=p_((l,u)=>{let c,m=Je,d;return ag(()=>{const f=e[o];sn(c,f)&&(c=f,u())}),{get(){return l(),n.get?n.get(c):c},set(f){const h=n.set?n.set(f):f;if(!sn(h,c)&&!(m!==Je&&sn(f,m)))return;const _=r.vnode.props;_&&(t in _||o in _||s in _)&&(`onUpdate:${t}`in _||`onUpdate:${o}`in _||`onUpdate:${s}`in _)||(c=f,u()),r.emit(`update:${t}`,h),sn(f,h)&&sn(f,m)&&!sn(h,d)&&u(),m=f,d=h}}});return a[Symbol.iterator]=()=>{let l=0;return{next(){return l<2?{value:l++?i||Je:a,done:!1}:{done:!0}}}},a}const ug=(e,t)=>t==="modelValue"||t==="model-value"?e.modelModifiers:e[`${t}Modifiers`]||e[`${Wt(t)}Modifiers`]||e[`${gn(t)}Modifiers`];function Wz(e,t,...n){if(e.isUnmounted)return;const r=e.vnode.props||Je;let o=n;const s=t.startsWith("update:"),i=s&&ug(r,t.slice(7));i&&(i.trim&&(o=n.map(c=>bt(c)?c.trim():c)),i.number&&(o=n.map(Ya)));let a,l=r[a=li(t)]||r[a=li(Wt(t))];!l&&s&&(l=r[a=li(gn(t))]),l&&Hn(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,Hn(u,e,6,o)}}function cg(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 c=cg(u,t,!0);c&&(a=!0,ht(i,c))};!n&&t.mixins.length&&t.mixins.forEach(l),e.extends&&l(e.extends),e.mixins&&e.mixins.forEach(l)}return!s&&!a?(pt(e)&&r.set(e,null),null):(ze(s)?s.forEach(l=>i[l]=null):ht(i,s),pt(e)&&r.set(e,i),i)}function Xl(e,t){return!e||!Wi(t)?!1:(t=t.slice(2).replace(/Once$/,""),st(e,t[0].toLowerCase()+t.slice(1))||st(e,gn(t))||st(e,t))}function La(e){const{type:t,vnode:n,proxy:r,withProxy:o,propsOptions:[s],slots:i,attrs:a,emit:l,render:u,renderCache:c,props:m,data:d,setupState:f,ctx:h,inheritAttrs:_}=e,b=$i(e);let v,w;try{if(n.shapeFlag&4){const y=o||r,S=y;v=hn(u.call(S,y,c,m,f,d,h)),w=a}else{const y=t;v=hn(y.length>1?y(m,{attrs:a,slots:i,emit:l}):y(m,null)),w=t.props?a:qz(a)}}catch(y){pi.length=0,Ho(y,e,1),v=z(Nt)}let g=v;if(w&&_!==!1){const y=Object.keys(w),{shapeFlag:S}=g;y.length&&S&7&&(s&&y.some(wm)&&(w=Gz(w,s)),g=zr(g,w,!1,!0))}return n.dirs&&(g=zr(g,null,!1,!0),g.dirs=g.dirs?g.dirs.concat(n.dirs):n.dirs),n.transition&&Nr(g,n.transition),v=g,$i(b),v}function Bz(e,t=!0){let n;for(let r=0;r<e.length;r++){const o=e[r];if(Dr(o)){if(o.type!==Nt||o.children==="v-if"){if(n)return;n=o}}else return}return n}const qz=e=>{let t;for(const n in e)(n==="class"||n==="style"||Wi(n))&&((t||(t={}))[n]=e[n]);return t},Gz=(e,t)=>{const n={};for(const r in e)(!wm(r)||!(r.slice(9)in t))&&(n[r]=e[r]);return n};function Kz(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?Bd(r,i,u):!!i;if(l&8){const c=t.dynamicProps;for(let m=0;m<c.length;m++){const d=c[m];if(i[d]!==r[d]&&!Xl(u,d))return!0}}}else return(o||a)&&(!a||!a.$stable)?!0:r===i?!1:r?i?Bd(r,i,u):!0:!!i;return!1}function Bd(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]&&!Xl(n,s))return!0}return!1}function Jl({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 ol=e=>e.__isSuspense;let Pc=0;const Zz={name:"Suspense",__isSuspense:!0,process(e,t,n,r,o,s,i,a,l,u){if(e==null)Xz(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}Jz(e,t,n,r,o,i,a,l,u)}},hydrate:Qz,normalize:e0},Yz=Zz;function Li(e,t){const n=e.props&&e.props[t];Oe(n)&&n()}function Xz(e,t,n,r,o,s,i,a,l){const{p:u,o:{createElement:c}}=l,m=c("div"),d=e.suspense=mg(e,o,r,t,m,n,s,i,a,l);u(null,d.pendingBranch=e.ssContent,m,null,r,d,s,i),d.deps>0?(Li(e,"onPending"),Li(e,"onFallback"),u(null,e.ssFallback,t,n,r,null,s,i),ys(d,e.ssFallback)):d.resolve(!1,!0)}function Jz(e,t,n,r,o,s,i,a,{p:l,um:u,o:{createElement:c}}){const m=t.suspense=e.suspense;m.vnode=t,t.el=e.el;const d=t.ssContent,f=t.ssFallback,{activeBranch:h,pendingBranch:_,isInFallback:b,isHydrating:v}=m;if(_)m.pendingBranch=d,Jn(d,_)?(l(_,d,m.hiddenContainer,null,o,m,s,i,a),m.deps<=0?m.resolve():b&&(v||(l(h,f,n,r,o,null,s,i,a),ys(m,f)))):(m.pendingId=Pc++,v?(m.isHydrating=!1,m.activeBranch=_):u(_,o,m),m.deps=0,m.effects.length=0,m.hiddenContainer=c("div"),b?(l(null,d,m.hiddenContainer,null,o,m,s,i,a),m.deps<=0?m.resolve():(l(h,f,n,r,o,null,s,i,a),ys(m,f))):h&&Jn(d,h)?(l(h,d,n,r,o,m,s,i,a),m.resolve(!0)):(l(null,d,m.hiddenContainer,null,o,m,s,i,a),m.deps<=0&&m.resolve()));else if(h&&Jn(d,h))l(h,d,n,r,o,m,s,i,a),ys(m,d);else if(Li(t,"onPending"),m.pendingBranch=d,d.shapeFlag&512?m.pendingId=d.component.suspenseId:m.pendingId=Pc++,l(null,d,m.hiddenContainer,null,o,m,s,i,a),m.deps<=0)m.resolve();else{const{timeout:w,pendingId:g}=m;w>0?setTimeout(()=>{m.pendingId===g&&m.fallback(f)},w):w===0&&m.fallback(f)}}function mg(e,t,n,r,o,s,i,a,l,u,c=!1){const{p:m,m:d,um:f,n:h,o:{parentNode:_,remove:b}}=u;let v;const w=t0(e);w&&t&&t.pendingBranch&&(v=t.pendingId,t.deps++);const g=e.props?Xa(e.props.timeout):void 0,y=s,S={vnode:e,parent:t,parentComponent:n,namespace:i,container:r,hiddenContainer:o,deps:0,pendingId:Pc++,timeout:typeof g=="number"?g:-1,activeBranch:null,pendingBranch:null,isInFallback:!c,isHydrating:c,isUnmounted:!1,effects:[],resolve(C=!1,L=!1){const{vnode:N,activeBranch:x,pendingBranch:F,pendingId:q,effects:U,parentComponent:W,container:Q}=S;let de=!1;S.isHydrating?S.isHydrating=!1:C||(de=x&&F.transition&&F.transition.mode==="out-in",de&&(x.transition.afterLeave=()=>{q===S.pendingId&&(d(F,Q,s===y?h(x):s,0),Ai(U))}),x&&(_(x.el)===Q&&(s=h(x)),f(x,W,S,!0)),de||d(F,Q,s,0)),ys(S,F),S.pendingBranch=null,S.isInFallback=!1;let G=S.parent,te=!1;for(;G;){if(G.pendingBranch){G.effects.push(...U),te=!0;break}G=G.parent}!te&&!de&&Ai(U),S.effects=[],w&&t&&t.pendingBranch&&v===t.pendingId&&(t.deps--,t.deps===0&&!L&&t.resolve()),Li(N,"onResolve")},fallback(C){if(!S.pendingBranch)return;const{vnode:L,activeBranch:N,parentComponent:x,container:F,namespace:q}=S;Li(L,"onFallback");const U=h(N),W=()=>{S.isInFallback&&(m(null,C,F,U,x,null,q,a,l),ys(S,C))},Q=C.transition&&C.transition.mode==="out-in";Q&&(N.transition.afterLeave=W),S.isInFallback=!0,f(N,x,null,!0),Q||W()},move(C,L,N){S.activeBranch&&d(S.activeBranch,C,L,N),S.container=C},next(){return S.activeBranch&&h(S.activeBranch)},registerDep(C,L,N){const x=!!S.pendingBranch;x&&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;Dc(C,q,!1),F&&(U.el=F);const W=!F&&C.subTree.el;L(C,U,_(F||C.subTree.el),F?null:h(C.subTree),S,i,N),W&&b(W),Jl(C,U.el),x&&--S.deps===0&&S.resolve()})},unmount(C,L){S.isUnmounted=!0,S.activeBranch&&f(S.activeBranch,n,C,L),S.pendingBranch&&f(S.pendingBranch,n,C,L)}};return S}function Qz(e,t,n,r,o,s,i,a,l){const u=t.suspense=mg(t,r,n,e.parentNode,document.createElement("div"),null,o,s,i,a,!0),c=l(e,u.pendingBranch=t.ssContent,n,u,s,i);return u.deps===0&&u.resolve(!1,!0),c}function e0(e){const{shapeFlag:t,children:n}=e,r=t&32;e.ssContent=qd(r?n.default:n),e.ssFallback=r?qd(n.fallback):z(Nt)}function qd(e){let t;if(Oe(e)){const n=Do&&e._c;n&&(e._d=!1,$()),e=e(),n&&(e._d=!0,t=Jt,fg())}return ze(e)&&(e=Bz(e)),e=hn(e),t&&!e.dynamicChildren&&(e.dynamicChildren=t.filter(n=>n!==e)),e}function dg(e,t){t&&t.pendingBranch?ze(e)?t.effects.push(...e):t.effects.push(e):Ai(e)}function ys(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,Jl(r,o))}function t0(e){const t=e.props&&e.props.suspensible;return t!=null&&t!==!1}const be=Symbol.for("v-fgt"),Ir=Symbol.for("v-txt"),Nt=Symbol.for("v-cmt"),Io=Symbol.for("v-stc"),pi=[];let Jt=null;function $(e=!1){pi.push(Jt=e?null:[])}function fg(){pi.pop(),Jt=pi[pi.length-1]||null}let Do=1;function Ic(e,t=!1){Do+=e,e<0&&Jt&&t&&(Jt.hasOnce=!0)}function pg(e){return e.dynamicChildren=Do>0?Jt||fs:null,fg(),Do>0&&Jt&&Jt.push(e),e}function D(e,t,n,r,o,s){return pg(p(e,t,n,r,o,s,!0))}function ve(e,t,n,r,o){return pg(z(e,t,n,r,o,!0))}function Dr(e){return e?e.__v_isVNode===!0:!1}function Jn(e,t){return e.type===t.type&&e.key===t.key}function n0(e){}const hg=({key:e})=>e??null,Na=({ref:e,ref_key:t,ref_for:n})=>(typeof e=="number"&&(e=""+e),e!=null?bt(e)||wt(e)||Oe(e)?{i:Ft,r:e,k:t,f:!!n}:e:null);function p(e,t=null,n=null,r=0,o=null,s=e===be?0:1,i=!1,a=!1){const l={__v_isVNode:!0,__v_skip:!0,type:e,props:t,key:t&&hg(t),ref:t&&Na(t),scopeId:Wl,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:Ft};return a?(qm(l,n),s&128&&e.normalize(l)):n&&(l.shapeFlag|=bt(n)?8:16),Do>0&&!i&&Jt&&(l.patchFlag>0||s&6)&&l.patchFlag!==32&&Jt.push(l),l}const z=r0;function r0(e,t=null,n=null,r=0,o=null,s=!1){if((!e||e===F_)&&(e=Nt),Dr(e)){const a=zr(e,t,!0);return n&&qm(a,n),Do>0&&!s&&Jt&&(a.shapeFlag&6?Jt[Jt.indexOf(e)]=a:Jt.push(a)),a.patchFlag=-2,a}if(m0(e)&&(e=e.__vccOpts),t){t=_g(t);let{class:a,style:l}=t;a&&!bt(a)&&(t.class=$e(a)),pt(l)&&(Hl(l)&&!ze(l)&&(l=ht({},l)),t.style=fo(l))}const i=bt(e)?1:ol(e)?128:C_(e)?64:pt(e)?4:Oe(e)?2:0;return p(e,t,n,r,o,i,s,!0)}function _g(e){return e?Hl(e)||q_(e)?ht({},e):e:null}function zr(e,t,n=!1,r=!1){const{props:o,ref:s,patchFlag:i,children:a,transition:l}=e,u=t?cs(o||{},t):o,c={__v_isVNode:!0,__v_skip:!0,type:e.type,props:u,key:u&&hg(u),ref:t&&t.ref?n&&s?ze(s)?s.concat(Na(t)):[s,Na(t)]:Na(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!==be?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&&zr(e.ssContent),ssFallback:e.ssFallback&&zr(e.ssFallback),el:e.el,anchor:e.anchor,ctx:e.ctx,ce:e.ce};return l&&r&&Nr(c,l.clone(c)),c}function Qt(e=" ",t=0){return z(Ir,null,e,t)}function o0(e,t){const n=z(Io,null,e);return n.staticCount=t,n}function fe(e="",t=!1){return t?($(),ve(Nt,null,e)):z(Nt,null,e)}function hn(e){return e==null||typeof e=="boolean"?z(Nt):ze(e)?z(be,null,e.slice()):Dr(e)?eo(e):z(Ir,null,String(e))}function eo(e){return e.el===null&&e.patchFlag!==-1||e.memo?e:zr(e)}function qm(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),qm(e,o()),o._c&&(o._d=!0));return}else{n=32;const o=t._;!o&&!q_(t)?t._ctx=Ft:o===3&&Ft&&(Ft.slots._===1?t._=1:(t._=2,e.patchFlag|=1024))}else Oe(t)?(t={default:t,_ctx:Ft},n=32):(t=String(t),r&64?(n=16,t=[Qt(t)]):n=8);e.children=t,e.shapeFlag|=n}function cs(...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=$e([t.class,r.class]));else if(o==="style")t.style=fo([t.style,r.style]);else if(Wi(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 pn(e,t,n,r=null){Hn(e,t,7,[n,r])}const s0=U_();let i0=0;function gg(e,t,n){const r=e.type,o=(t?t.appContext:e.appContext)||s0,s={uid:i0++,vnode:e,type:r,parent:t,appContext:o,root:null,next:null,subTree:null,effect:null,update:null,job:null,scope:new Em(!0),render:null,proxy:null,exposed:null,exposeProxy:null,withProxy:null,provides:t?t.provides:Object.create(o.provides),ids:t?t.ids:["",0,0],accessCache:null,renderCache:[],components:null,directives:null,propsOptions:K_(r,o),emitsOptions:cg(r,o),emit:null,emitted:null,propsDefaults:Je,inheritAttrs:r.inheritAttrs,ctx:Je,data:Je,props:Je,attrs:Je,slots:Je,refs:Je,setupState:Je,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=Wz.bind(null,s),e.ce&&e.ce(s),s}let Mt=null;const un=()=>Mt||Ft;let sl,Lc;{const e=Ll(),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)}};sl=t("__VUE_INSTANCE_SETTERS__",n=>Mt=n),Lc=t("__VUE_SSR_SETTERS__",n=>ws=n)}const Ro=e=>{const t=Mt;return sl(e),e.scope.on(),()=>{e.scope.off(),sl(t)}},Nc=()=>{Mt&&Mt.scope.off(),sl(null)};function yg(e){return e.vnode.shapeFlag&4}let ws=!1;function bg(e,t=!1,n=!1){t&&Lc(t);const{props:r,children:o}=e.vnode,s=yg(e);Lz(e,r,s,t),Mz(e,o,n);const i=s?a0(e,t):void 0;return t&&Lc(!1),i}function a0(e,t){const n=e.type;e.accessCache=Object.create(null),e.proxy=new Proxy(e.ctx,Tc);const{setup:r}=n;if(r){po();const o=e.setupContext=r.length>1?zg(e):null,s=Ro(e),i=Is(r,e,0,[e.props,o]),a=Cm(i);if(ho(),s(),(a||e.sp)&&!ao(e)&&Rm(e),a){if(i.then(Nc,Nc),t)return i.then(l=>{Dc(e,l,t)}).catch(l=>{Ho(l,e,0)});e.asyncDep=i}else Dc(e,i,t)}else vg(e,t)}function Dc(e,t,n){Oe(t)?e.type.__ssrInlineRender?e.ssrRender=t:e.render=t:pt(t)&&(e.setupState=Im(t)),vg(e,n)}let il,Rc;function l0(e){il=e,Rc=t=>{t.render._rc&&(t.withProxy=new Proxy(t.ctx,fz))}}const u0=()=>!il;function vg(e,t,n){const r=e.type;if(!e.render){if(!t&&il&&!r.render){const o=r.template||jm(e).template;if(o){const{isCustomElement:s,compilerOptions:i}=e.appContext.config,{delimiters:a,compilerOptions:l}=r,u=ht(ht({isCustomElement:s,delimiters:a},i),l);r.render=il(o,u)}}e.render=r.render||Rn,Rc&&Rc(e)}{const o=Ro(e);po();try{xz(e)}finally{ho(),o()}}}const c0={get(e,t){return Gt(e,"get",""),e[t]}};function zg(e){const t=n=>{e.exposed=n||{}};return{attrs:new Proxy(e.attrs,c0),slots:e.slots,emit:e.emit,expose:t}}function Zi(e){return e.exposed?e.exposeProxy||(e.exposeProxy=new Proxy(Im(Ul(e.exposed)),{get(t,n){if(n in t)return t[n];if(n in di)return di[n](e)},has(t,n){return n in t||n in di}})):e.proxy}function Mc(e,t=!0){return Oe(e)?e.displayName||e.name:e.name||t&&e.__name}function m0(e){return Oe(e)&&"__vccOpts"in e}const Ut=(e,t)=>Ov(e,t,ws);function gr(e,t,n){const r=arguments.length;return r===2?pt(t)&&!ze(t)?Dr(t)?z(e,null,[t]):z(e,t):z(e,null,t):(r>3?n=Array.prototype.slice.call(arguments,2):r===3&&Dr(n)&&(n=[n]),z(e,t,n))}function d0(){}function f0(e,t,n,r){const o=n[r];if(o&&wg(o,e))return o;const s=t();return s.memo=e.slice(),s.cacheIndex=r,n[r]=s}function wg(e,t){const n=e.memo;if(n.length!=t.length)return!1;for(let r=0;r<n.length;r++)if(sn(n[r],t[r]))return!1;return Do>0&&Jt&&Jt.push(e),!0}const Sg="3.5.13",p0=Rn,h0=Fv,_0=rs,g0=w_,y0={createComponentInstance:gg,setupComponent:bg,renderComponentRoot:La,setCurrentRenderingInstance:$i,isVNode:Dr,normalizeVNode:hn,getComponentPublicInstance:Zi,ensureValidVNode:Um,pushWarningContext:Nv,popWarningContext:Dv},b0=y0,v0=null,z0=null,w0=null;/**
* @vue/runtime-dom v3.5.13
* (c) 2018-present Yuxi (Evan) You and Vue contributors
* @license MIT
**/let Fc;const Gd=typeof window<"u"&&window.trustedTypes;if(Gd)try{Fc=Gd.createPolicy("vue",{createHTML:e=>e})}catch{}const Cg=Fc?e=>Fc.createHTML(e):e=>e,S0="http://www.w3.org/2000/svg",C0="http://www.w3.org/1998/Math/MathML",Tr=typeof document<"u"?document:null,Kd=Tr&&Tr.createElement("template"),k0={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"?Tr.createElementNS(S0,e):t==="mathml"?Tr.createElementNS(C0,e):n?Tr.createElement(e,{is:n}):Tr.createElement(e);return e==="select"&&r&&r.multiple!=null&&o.setAttribute("multiple",r.multiple),o},createText:e=>Tr.createTextNode(e),createComment:e=>Tr.createComment(e),setText:(e,t)=>{e.nodeValue=t},setElementText:(e,t)=>{e.textContent=t},parentNode:e=>e.parentNode,nextSibling:e=>e.nextSibling,querySelector:e=>Tr.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{Kd.innerHTML=Cg(r==="svg"?`<svg>${e}</svg>`:r==="mathml"?`<math>${e}</math>`:e);const a=Kd.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]}},jr="transition",js="animation",Ss=Symbol("_vtc"),kg={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},Eg=ht({},Dm,kg),E0=e=>(e.displayName="Transition",e.props=Eg,e),xg=E0((e,{slots:t})=>gr(A_,Tg(e),t)),zo=(e,t=[])=>{ze(e)?e.forEach(n=>n(...t)):e&&e(...t)},Zd=e=>e?ze(e)?e.some(t=>t.length>1):e.length>1:!1;function Tg(e){const t={};for(const U in e)U in kg||(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:c=a,leaveFromClass:m=`${n}-leave-from`,leaveActiveClass:d=`${n}-leave-active`,leaveToClass:f=`${n}-leave-to`}=e,h=x0(o),_=h&&h[0],b=h&&h[1],{onBeforeEnter:v,onEnter:w,onEnterCancelled:g,onLeave:y,onLeaveCancelled:S,onBeforeAppear:C=v,onAppear:L=w,onAppearCancelled:N=g}=t,x=(U,W,Q,de)=>{U._enterCancelled=de,Zr(U,W?c:a),Zr(U,W?u:i),Q&&Q()},F=(U,W)=>{U._isLeaving=!1,Zr(U,m),Zr(U,f),Zr(U,d),W&&W()},q=U=>(W,Q)=>{const de=U?L:w,G=()=>x(W,U,Q);zo(de,[W,G]),Yd(()=>{Zr(W,U?l:s),dr(W,U?c:a),Zd(de)||Xd(W,r,_,G)})};return ht(t,{onBeforeEnter(U){zo(v,[U]),dr(U,s),dr(U,i)},onBeforeAppear(U){zo(C,[U]),dr(U,l),dr(U,u)},onEnter:q(!1),onAppear:q(!0),onLeave(U,W){U._isLeaving=!0;const Q=()=>F(U,W);dr(U,m),U._enterCancelled?(dr(U,d),Vc()):(Vc(),dr(U,d)),Yd(()=>{U._isLeaving&&(Zr(U,m),dr(U,f),Zd(y)||Xd(U,r,b,Q))}),zo(y,[U,Q])},onEnterCancelled(U){x(U,!1,void 0,!0),zo(g,[U])},onAppearCancelled(U){x(U,!0,void 0,!0),zo(N,[U])},onLeaveCancelled(U){F(U),zo(S,[U])}})}function x0(e){if(e==null)return null;if(pt(e))return[Du(e.enter),Du(e.leave)];{const t=Du(e);return[t,t]}}function Du(e){return Xa(e)}function dr(e,t){t.split(/\s+/).forEach(n=>n&&e.classList.add(n)),(e[Ss]||(e[Ss]=new Set)).add(t)}function Zr(e,t){t.split(/\s+/).forEach(r=>r&&e.classList.remove(r));const n=e[Ss];n&&(n.delete(t),n.size||(e[Ss]=void 0))}function Yd(e){requestAnimationFrame(()=>{requestAnimationFrame(e)})}let T0=0;function Xd(e,t,n,r){const o=e._endId=++T0,s=()=>{o===e._endId&&r()};if(n!=null)return setTimeout(s,n);const{type:i,timeout:a,propCount:l}=Ag(e,t);if(!i)return r();const u=i+"end";let c=0;const m=()=>{e.removeEventListener(u,d),s()},d=f=>{f.target===e&&++c>=l&&m()};setTimeout(()=>{c<l&&m()},a+1),e.addEventListener(u,d)}function Ag(e,t){const n=window.getComputedStyle(e),r=h=>(n[h]||"").split(", "),o=r(`${jr}Delay`),s=r(`${jr}Duration`),i=Jd(o,s),a=r(`${js}Delay`),l=r(`${js}Duration`),u=Jd(a,l);let c=null,m=0,d=0;t===jr?i>0&&(c=jr,m=i,d=s.length):t===js?u>0&&(c=js,m=u,d=l.length):(m=Math.max(i,u),c=m>0?i>u?jr:js:null,d=c?c===jr?s.length:l.length:0);const f=c===jr&&/\b(transform|all)(,|$)/.test(r(`${jr}Property`).toString());return{type:c,timeout:m,propCount:d,hasTransform:f}}function Jd(e,t){for(;e.length<t.length;)e=e.concat(e);return Math.max(...t.map((n,r)=>Qd(n)+Qd(e[r])))}function Qd(e){return e==="auto"?0:Number(e.slice(0,-1).replace(",","."))*1e3}function Vc(){return document.body.offsetHeight}function A0(e,t,n){const r=e[Ss];r&&(t=(t?[t,...r]:[...r]).join(" ")),t==null?e.removeAttribute("class"):n?e.setAttribute("class",t):e.className=t}const al=Symbol("_vod"),Og=Symbol("_vsh"),Ni={beforeMount(e,{value:t},{transition:n}){e[al]=e.style.display==="none"?"":e.style.display,n&&t?n.beforeEnter(e):Ws(e,t)},mounted(e,{value:t},{transition:n}){n&&t&&n.enter(e)},updated(e,{value:t,oldValue:n},{transition:r}){!t!=!n&&(r?t?(r.beforeEnter(e),Ws(e,!0),r.enter(e)):r.leave(e,()=>{Ws(e,!1)}):Ws(e,t))},beforeUnmount(e,{value:t}){Ws(e,t)}};function Ws(e,t){e.style.display=t?e[al]:"none",e[Og]=!t}function O0(){Ni.getSSRProps=({value:e})=>{if(!e)return{style:{display:"none"}}}}const $g=Symbol("");function $0(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=>ll(s,o))},r=()=>{const o=e(t.proxy);t.ce?ll(t.ce,o):Hc(t.subTree,o),n(o)};Mm(()=>{Ai(r)}),Ls(()=>{xn(r,Rn,{flush:"post"});const o=new MutationObserver(r);o.observe(t.subTree.el.parentNode,{childList:!0}),Gi(()=>o.disconnect())})}function Hc(e,t){if(e.shapeFlag&128){const n=e.suspense;e=n.activeBranch,n.pendingBranch&&!n.isHydrating&&n.effects.push(()=>{Hc(n.activeBranch,t)})}for(;e.component;)e=e.component.subTree;if(e.shapeFlag&1&&e.el)ll(e.el,t);else if(e.type===be)e.children.forEach(n=>Hc(n,t));else if(e.type===Io){let{el:n,anchor:r}=e;for(;n&&(ll(n,t),n!==r);)n=n.nextSibling}}function ll(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[$g]=r}}const P0=/(^|;)\s*display\s*:/;function I0(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&&Da(r,a,"")}else for(const i in t)n[i]==null&&Da(r,i,"");for(const i in n)i==="display"&&(s=!0),Da(r,i,n[i])}else if(o){if(t!==n){const i=r[$g];i&&(n+=";"+i),r.cssText=n,s=P0.test(n)}}else t&&e.removeAttribute("style");al in e&&(e[al]=s?r.display:"",e[Og]&&(r.display="none"))}const ef=/\s*!important$/;function Da(e,t,n){if(ze(n))n.forEach(r=>Da(e,t,r));else if(n==null&&(n=""),t.startsWith("--"))e.setProperty(t,n);else{const r=L0(e,t);ef.test(n)?e.setProperty(gn(r),n.replace(ef,""),"important"):e[r]=n}}const tf=["Webkit","Moz","ms"],Ru={};function L0(e,t){const n=Ru[t];if(n)return n;let r=Wt(t);if(r!=="filter"&&r in e)return Ru[t]=r;r=Bi(r);for(let o=0;o<tf.length;o++){const s=tf[o]+r;if(s in e)return Ru[t]=s}return t}const nf="http://www.w3.org/1999/xlink";function rf(e,t,n,r,o,s=Xb(t)){r&&t.startsWith("xlink:")?n==null?e.removeAttributeNS(nf,t.slice(6,t.length)):e.setAttributeNS(nf,t,n):n==null||s&&!Kh(n)?e.removeAttribute(t):e.setAttribute(t,s?"":nr(n)?String(n):n)}function of(e,t,n,r,o){if(t==="innerHTML"||t==="textContent"){n!=null&&(e[t]=t==="innerHTML"?Cg(n):n);return}const s=e.tagName;if(t==="value"&&s!=="PROGRESS"&&!s.includes("-")){const a=s==="OPTION"?e.getAttribute("value")||"":e.value,l=n==null?e.type==="checkbox"?"on":"":String(n);(a!==l||!("_value"in e))&&(e.value=l),n==null&&e.removeAttribute(t),e._value=n;return}let i=!1;if(n===""||n==null){const a=typeof e[t];a==="boolean"?n=Kh(n):n==null&&a==="string"?(n="",i=!0):a==="number"&&(n=0,i=!0)}try{e[t]=n}catch{}i&&e.removeAttribute(o||t)}function $r(e,t,n,r){e.addEventListener(t,n,r)}function N0(e,t,n,r){e.removeEventListener(t,n,r)}const sf=Symbol("_vei");function D0(e,t,n,r,o=null){const s=e[sf]||(e[sf]={}),i=s[t];if(r&&i)i.value=r;else{const[a,l]=R0(t);if(r){const u=s[t]=V0(r,o);$r(e,a,u,l)}else i&&(N0(e,a,i,l),s[t]=void 0)}}const af=/(?:Once|Passive|Capture)$/;function R0(e){let t;if(af.test(e)){t={};let r;for(;r=e.match(af);)e=e.slice(0,e.length-r[0].length),t[r[0].toLowerCase()]=!0}return[e[2]===":"?e.slice(3):gn(e.slice(2)),t]}let Mu=0;const M0=Promise.resolve(),F0=()=>Mu||(M0.then(()=>Mu=0),Mu=Date.now());function V0(e,t){const n=r=>{if(!r._vts)r._vts=Date.now();else if(r._vts<=n.attached)return;Hn(H0(r,n.value),t,5,[r])};return n.value=e,n.attached=F0(),n}function H0(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 lf=e=>e.charCodeAt(0)===111&&e.charCodeAt(1)===110&&e.charCodeAt(2)>96&&e.charCodeAt(2)<123,U0=(e,t,n,r,o,s)=>{const i=o==="svg";t==="class"?A0(e,r,i):t==="style"?I0(e,n,r):Wi(t)?wm(t)||D0(e,t,n,r,s):(t[0]==="."?(t=t.slice(1),!0):t[0]==="^"?(t=t.slice(1),!1):j0(e,t,r,i))?(of(e,t,r),!e.tagName.includes("-")&&(t==="value"||t==="checked"||t==="selected")&&rf(e,t,r,i,s,t!=="value")):e._isVueCE&&(/[A-Z]/.test(t)||!bt(r))?of(e,Wt(t),r,s,t):(t==="true-value"?e._trueValue=r:t==="false-value"&&(e._falseValue=r),rf(e,t,r,i))};function j0(e,t,n,r){if(r)return!!(t==="innerHTML"||t==="textContent"||t in e&&lf(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 lf(t)&&bt(n)?!1:t in e}const uf={};/*! #__NO_SIDE_EFFECTS__ */function Pg(e,t,n){const r=Mr(e,t);Pl(r)&&ht(r,t);class o extends Ql{constructor(i){super(r,i,n)}}return o.def=r,o}/*! #__NO_SIDE_EFFECTS__ */const W0=(e,t)=>Pg(e,t,jg),B0=typeof HTMLElement<"u"?HTMLElement:class{};class Ql extends B0{constructor(t,n={},r=cl){super(),this._def=t,this._props=n,this._createApp=r,this._isVueCE=!0,this._instance=null,this._app=null,this._nonce=this._def.nonce,this._connected=!1,this._resolved=!1,this._numberProps=null,this._styleChildren=new WeakSet,this._ob=null,this.shadowRoot&&r!==cl?this._root=this.shadowRoot:t.shadowRoot!==!1?(this.attachShadow({mode:"open"}),this._root=this.shadowRoot):this._root=this,this._def.__asyncLoader||this._resolveProps(this._def)}connectedCallback(){if(!this.isConnected)return;this.shadowRoot||this._parseSlots(),this._connected=!0;let t=this;for(;t=t&&(t.parentNode||t.host);)if(t instanceof Ql){this._parent=t;break}this._instance||(this._resolved?(this._setParent(),this._update()):t&&t._pendingResolve?this._pendingResolve=t._pendingResolve.then(()=>{this._pendingResolve=void 0,this._resolveDef()}):this._resolveDef())}_setParent(t=this._parent){t&&(this._instance.parent=t._instance,this._instance.provides=t._instance.provides)}disconnectedCallback(){this._connected=!1,Uo(()=>{this._connected||(this._ob&&(this._ob.disconnect(),this._ob=null),this._app&&this._app.unmount(),this._instance&&(this._instance.ce=void 0),this._app=this._instance=null)})}_resolveDef(){if(this._pendingResolve)return;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)=>{this._resolved=!0,this._pendingResolve=void 0;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]=Xa(this._props[l])),(a||(a=Object.create(null)))[Wt(l)]=!0)}this._numberProps=a,o&&this._resolveProps(r),this.shadowRoot&&this._applyStyles(i),this._mount(r)},n=this._def.__asyncLoader;n?this._pendingResolve=n().then(r=>t(this._def=r,!0)):t(this._def)}_mount(t){this._app=this._createApp(t),t.configureApp&&t.configureApp(this._app),this._app._ceVNode=this._createVNode(),this._app.mount(this._root);const n=this._instance&&this._instance.exposed;if(n)for(const r in n)st(this,r)||Object.defineProperty(this,r,{get:()=>yn(n[r])})}_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]);for(const o of r.map(Wt))Object.defineProperty(this,o,{get(){return this._getProp(o)},set(s){this._setProp(o,s,!0,!0)}})}_setAttr(t){if(t.startsWith("data-v-"))return;const n=this.hasAttribute(t);let r=n?this.getAttribute(t):uf;const o=Wt(t);n&&this._numberProps&&this._numberProps[o]&&(r=Xa(r)),this._setProp(o,r,!1,!0)}_getProp(t){return this._props[t]}_setProp(t,n,r=!0,o=!1){if(n!==this._props[t]&&(n===uf?delete this._props[t]:(this._props[t]=n,t==="key"&&this._app&&(this._app._ceVNode.key=n)),o&&this._instance&&this._update(),r)){const s=this._ob;s&&s.disconnect(),n===!0?this.setAttribute(gn(t),""):typeof n=="string"||typeof n=="number"?this.setAttribute(gn(t),n+""):n||this.removeAttribute(gn(t)),s&&s.observe(this,{attributes:!0})}}_update(){Ug(this._createVNode(),this._root)}_createVNode(){const t={};this.shadowRoot||(t.onVnodeMounted=t.onVnodeUpdated=this._renderSlots.bind(this));const n=z(this._def,ht(t,this._props));return this._instance||(n.ce=r=>{this._instance=r,r.ce=this,r.isCE=!0;const o=(s,i)=>{this.dispatchEvent(new CustomEvent(s,Pl(i[0])?ht({detail:i},i[0]):{detail:i}))};r.emit=(s,...i)=>{o(s,i),gn(s)!==s&&o(gn(s),i)},this._setParent()}),n}_applyStyles(t,n){if(!t)return;if(n){if(n===this._def||this._styleChildren.has(n))return;this._styleChildren.add(n)}const r=this._nonce;for(let o=t.length-1;o>=0;o--){const s=document.createElement("style");r&&s.setAttribute("nonce",r),s.textContent=t[o],this.shadowRoot.prepend(s)}}_parseSlots(){const t=this._slots={};let n;for(;n=this.firstChild;){const r=n.nodeType===1&&n.getAttribute("slot")||"default";(t[r]||(t[r]=[])).push(n),this.removeChild(n)}}_renderSlots(){const t=(this._teleportTarget||this).querySelectorAll("slot"),n=this._instance.type.__scopeId;for(let r=0;r<t.length;r++){const o=t[r],s=o.getAttribute("name")||"default",i=this._slots[s],a=o.parentNode;if(i)for(const l of i){if(n&&l.nodeType===1){const u=n+"-s",c=document.createTreeWalker(l,1);l.setAttribute(u,"");let m;for(;m=c.nextNode();)m.setAttribute(u,"")}a.insertBefore(l,o)}else for(;o.firstChild;)a.insertBefore(o.firstChild,o);a.removeChild(o)}}_injectChildStyle(t){this._applyStyles(t.styles,t)}_removeChildStyle(t){}}function Ig(e){const t=un(),n=t&&t.ce;return n||null}function q0(){const e=Ig();return e&&e.shadowRoot}function G0(e="$style"){{const t=un();if(!t)return Je;const n=t.type.__cssModules;if(!n)return Je;const r=n[e];return r||Je}}const Lg=new WeakMap,Ng=new WeakMap,ul=Symbol("_moveCb"),cf=Symbol("_enterCb"),K0=e=>(delete e.props.mode,e),Z0=K0({name:"TransitionGroup",props:ht({},Eg,{tag:String,moveClass:String}),setup(e,{slots:t}){const n=un(),r=Nm();let o,s;return Gl(()=>{if(!o.length)return;const i=e.moveClass||`${e.name||"v"}-move`;if(!ew(o[0].el,n.vnode.el,i))return;o.forEach(X0),o.forEach(J0);const a=o.filter(Q0);Vc(),a.forEach(l=>{const u=l.el,c=u.style;dr(u,i),c.transform=c.webkitTransform=c.transitionDuration="";const m=u[ul]=d=>{d&&d.target!==u||(!d||/transform$/.test(d.propertyName))&&(u.removeEventListener("transitionend",m),u[ul]=null,Zr(u,i))};u.addEventListener("transitionend",m)})}),()=>{const i=Xe(e),a=Tg(i);let l=i.tag||be;if(o=[],s)for(let u=0;u<s.length;u++){const c=s[u];c.el&&c.el instanceof Element&&(o.push(c),Nr(c,zs(c,a,r,n)),Lg.set(c,c.el.getBoundingClientRect()))}s=t.default?Bl(t.default()):[];for(let u=0;u<s.length;u++){const c=s[u];c.key!=null&&Nr(c,zs(c,a,r,n))}return z(l,null,s)}}}),Y0=Z0;function X0(e){const t=e.el;t[ul]&&t[ul](),t[cf]&&t[cf]()}function J0(e){Ng.set(e,e.el.getBoundingClientRect())}function Q0(e){const t=Lg.get(e),n=Ng.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 ew(e,t,n){const r=e.cloneNode(),o=e[Ss];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}=Ag(r);return s.removeChild(r),i}const mo=e=>{const t=e.props["onUpdate:modelValue"]||!1;return ze(t)?n=>_s(t,n):t};function tw(e){e.target.composing=!0}function mf(e){const t=e.target;t.composing&&(t.composing=!1,t.dispatchEvent(new Event("input")))}const Vn=Symbol("_assign"),vn={created(e,{modifiers:{lazy:t,trim:n,number:r}},o){e[Vn]=mo(o);const s=r||o.props&&o.props.type==="number";$r(e,t?"change":"input",i=>{if(i.target.composing)return;let a=e.value;n&&(a=a.trim()),s&&(a=Ya(a)),e[Vn](a)}),n&&$r(e,"change",()=>{e.value=e.value.trim()}),t||($r(e,"compositionstart",tw),$r(e,"compositionend",mf),$r(e,"change",mf))},mounted(e,{value:t}){e.value=t??""},beforeUpdate(e,{value:t,oldValue:n,modifiers:{lazy:r,trim:o,number:s}},i){if(e[Vn]=mo(i),e.composing)return;const a=(s||e.type==="number")&&!/^0\d/.test(e.value)?Ya(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))}},Gm={deep:!0,created(e,t,n){e[Vn]=mo(n),$r(e,"change",()=>{const r=e._modelValue,o=Cs(e),s=e.checked,i=e[Vn];if(ze(r)){const a=Nl(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(Dg(e,s))})},mounted:df,beforeUpdate(e,t,n){e[Vn]=mo(n),df(e,t,n)}};function df(e,{value:t,oldValue:n},r){e._modelValue=t;let o;if(ze(t))o=Nl(t,r.props.value)>-1;else if(Vo(t))o=t.has(r.props.value);else{if(t===n)return;o=uo(t,Dg(e,!0))}e.checked!==o&&(e.checked=o)}const Km={created(e,{value:t},n){e.checked=uo(t,n.props.value),e[Vn]=mo(n),$r(e,"change",()=>{e[Vn](Cs(e))})},beforeUpdate(e,{value:t,oldValue:n},r){e[Vn]=mo(r),t!==n&&(e.checked=uo(t,r.props.value))}},Zm={deep:!0,created(e,{value:t,modifiers:{number:n}},r){const o=Vo(t);$r(e,"change",()=>{const s=Array.prototype.filter.call(e.options,i=>i.selected).map(i=>n?Ya(Cs(i)):Cs(i));e[Vn](e.multiple?o?new Set(s):s:s[0]),e._assigning=!0,Uo(()=>{e._assigning=!1})}),e[Vn]=mo(r)},mounted(e,{value:t}){ff(e,t)},beforeUpdate(e,t,n){e[Vn]=mo(n)},updated(e,{value:t}){e._assigning||ff(e,t)}};function ff(e,t){const n=e.multiple,r=ze(t);if(!(n&&!r&&!Vo(t))){for(let o=0,s=e.options.length;o<s;o++){const i=e.options[o],a=Cs(i);if(n)if(r){const l=typeof a;l==="string"||l==="number"?i.selected=t.some(u=>String(u)===String(a)):i.selected=Nl(t,a)>-1}else i.selected=t.has(a);else if(uo(Cs(i),t)){e.selectedIndex!==o&&(e.selectedIndex=o);return}}!n&&e.selectedIndex!==-1&&(e.selectedIndex=-1)}}function Cs(e){return"_value"in e?e._value:e.value}function Dg(e,t){const n=t?"_trueValue":"_falseValue";return n in e?e[n]:t}const Rg={created(e,t,n){pa(e,t,n,null,"created")},mounted(e,t,n){pa(e,t,n,null,"mounted")},beforeUpdate(e,t,n,r){pa(e,t,n,r,"beforeUpdate")},updated(e,t,n,r){pa(e,t,n,r,"updated")}};function Mg(e,t){switch(e){case"SELECT":return Zm;case"TEXTAREA":return vn;default:switch(t){case"checkbox":return Gm;case"radio":return Km;default:return vn}}}function pa(e,t,n,r,o){const i=Mg(e.tagName,n.props&&n.props.type)[o];i&&i(e,t,n,r)}function nw(){vn.getSSRProps=({value:e})=>({value:e}),Km.getSSRProps=({value:e},t)=>{if(t.props&&uo(t.props.value,e))return{checked:!0}},Gm.getSSRProps=({value:e},t)=>{if(ze(e)){if(t.props&&Nl(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}},Rg.getSSRProps=(e,t)=>{if(typeof t.type!="string")return;const n=Mg(t.type.toUpperCase(),t.props&&t.props.type);if(n.getSSRProps)return n.getSSRProps(e,t)}}const rw=["ctrl","shift","alt","meta"],ow={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)=>rw.some(n=>e[`${n}Key`]&&!t.includes(n))},St=(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=ow[t[i]];if(a&&a(o,t))return}return e(o,...s)})},sw={esc:"escape",space:" ",up:"arrow-up",left:"arrow-left",right:"arrow-right",down:"arrow-down",delete:"backspace"},_n=(e,t)=>{const n=e._withKeys||(e._withKeys={}),r=t.join(".");return n[r]||(n[r]=o=>{if(!("key"in o))return;const s=gn(o.key);if(t.some(i=>i===s||sw[i]===s))return e(o)})},Fg=ht({patchProp:U0},k0);let hi,pf=!1;function Vg(){return hi||(hi=Q_(Fg))}function Hg(){return hi=pf?hi:eg(Fg),pf=!0,hi}const Ug=(...e)=>{Vg().render(...e)},iw=(...e)=>{Hg().hydrate(...e)},cl=(...e)=>{const t=Vg().createApp(...e),{mount:n}=t;return t.mount=r=>{const o=Bg(r);if(!o)return;const s=t._component;!Oe(s)&&!s.render&&!s.template&&(s.template=o.innerHTML),o.nodeType===1&&(o.textContent="");const i=n(o,!1,Wg(o));return o instanceof Element&&(o.removeAttribute("v-cloak"),o.setAttribute("data-v-app","")),i},t},jg=(...e)=>{const t=Hg().createApp(...e),{mount:n}=t;return t.mount=r=>{const o=Bg(r);if(o)return n(o,!0,Wg(o))},t};function Wg(e){if(e instanceof SVGElement)return"svg";if(typeof MathMLElement=="function"&&e instanceof MathMLElement)return"mathml"}function Bg(e){return bt(e)?document.querySelector(e):e}let hf=!1;const aw=()=>{hf||(hf=!0,nw(),O0())};/**
* vue v3.5.13
* (c) 2018-present Yuxi (Evan) You and Vue contributors
* @license MIT
**/const lw=()=>{},uw=Object.freeze(Object.defineProperty({__proto__:null,BaseTransition:A_,BaseTransitionPropsValidators:Dm,Comment:Nt,DeprecationTypes:w0,EffectScope:Em,ErrorCodes:Mv,ErrorTypeStrings:h0,Fragment:be,KeepAlive:uz,ReactiveEffect:Ei,Static:Io,Suspense:Yz,Teleport:Wn,Text:Ir,TrackOpTypes:$v,Transition:xg,TransitionGroup:Y0,TriggerOpTypes:Pv,VueElement:Ql,assertNumber:Rv,callWithAsyncErrorHandling:Hn,callWithErrorHandling:Is,camelize:Wt,capitalize:Bi,cloneVNode:zr,compatUtils:z0,compile:lw,computed:Ut,createApp:cl,createBlock:ve,createCommentVNode:fe,createElementBlock:D,createElementVNode:p,createHydrationRenderer:eg,createPropsRestProxy:kz,createRenderer:Q_,createSSRApp:jg,createSlots:Hm,createStaticVNode:o0,createTextVNode:Qt,createVNode:z,customRef:p_,defineAsyncComponent:az,defineComponent:Mr,defineCustomElement:Pg,defineEmits:hz,defineExpose:_z,defineModel:bz,defineOptions:gz,defineProps:pz,defineSSRCustomElement:W0,defineSlots:yz,devtools:_0,effect:ev,effectScope:Dl,getCurrentInstance:un,getCurrentScope:xm,getCurrentWatcher:Iv,getTransitionRawChildren:Bl,guardReactiveProps:_g,h:gr,handleError:Ho,hasInjectionContext:j_,hydrate:iw,hydrateOnIdle:tz,hydrateOnInteraction:sz,hydrateOnMediaQuery:oz,hydrateOnVisible:rz,initCustomFormatter:d0,initDirectivesForSSR:aw,inject:Fn,isMemoSame:wg,isProxy:Hl,isReactive:br,isReadonly:co,isRef:wt,isRuntimeOnly:u0,isShallow:En,isVNode:Dr,markRaw:Ul,mergeDefaults:Sz,mergeModels:Cz,mergeProps:cs,nextTick:Uo,normalizeClass:$e,normalizeProps:Qs,normalizeStyle:fo,onActivated:$_,onBeforeMount:L_,onBeforeUnmount:Kl,onBeforeUpdate:Mm,onDeactivated:P_,onErrorCaptured:M_,onMounted:Ls,onRenderTracked:R_,onRenderTriggered:D_,onScopeDispose:Xh,onServerPrefetch:N_,onUnmounted:Gi,onUpdated:Gl,onWatcherCleanup:g_,openBlock:$,popScopeId:jv,provide:fi,proxyRefs:Im,pushScopeId:Uv,queuePostFlushCb:Ai,reactive:Ps,readonly:Pm,ref:Mn,registerRuntimeCompiler:l0,render:Ug,renderList:_t,renderSlot:dt,resolveComponent:A,resolveDirective:Yl,resolveDynamicComponent:Zl,resolveFilter:v0,resolveTransitionHooks:zs,setBlockTracking:Ic,setDevtoolsHook:g0,setTransitionHooks:Nr,shallowReactive:$m,shallowReadonly:vv,shallowRef:jl,ssrContextKey:og,ssrUtils:b0,stop:tv,toDisplayString:k,toHandlerKey:li,toHandlers:dz,toRaw:Xe,toRef:Tv,toRefs:h_,toValue:Sv,transformVNodeArgs:n0,triggerRef:wv,unref:yn,useAttrs:wz,useCssModule:G0,useCssVars:$0,useHost:Ig,useId:Gv,useModel:jz,useSSRContext:sg,useShadowRoot:q0,useSlots:zz,useTemplateRef:Kv,useTransitionState:Nm,vModelCheckbox:Gm,vModelDynamic:Rg,vModelRadio:Km,vModelSelect:Zm,vModelText:vn,vShow:Ni,version:Sg,warn:p0,watch:xn,watchEffect:ig,watchPostEffect:Hz,watchSyncEffect:ag,withAsyncContext:Ez,withCtx:I,withDefaults:vz,withDirectives:Ht,withKeys:_n,withMemo:f0,withModifiers:St,withScopeId:Wv},Symbol.toStringTag,{value:"Module"})),ie=(e,t)=>{const n=e.__vccOpts||e;for(const[r,o]of t)n[r]=o;return n},cw={name:"ModalDialog",props:{actions:{type:Array,required:!0},show:Boolean,title:{type:String,default:""}},emits:["close"],watch:{show(e){const{classList:t}=document.querySelector("html");e?t.add("is-clipped"):t.remove("is-clipped")}}},mw={key:0,class:"modal is-active"},dw={class:"modal-content"},fw={class:"card"},pw={class:"card-content"},hw=["textContent"],_w={key:0,class:"card-footer"},gw=["onClick"],yw=["textContent"];function bw(e,t,n,r,o,s){const i=A("mdicon");return $(),ve(xg,{name:"fade"},{default:I(()=>[n.show?($(),D("div",mw,[p("div",{class:"modal-background",onClick:t[0]||(t[0]=a=>e.$emit("close"))}),p("div",dw,[p("div",fw,[p("div",pw,[n.title?($(),D("p",{key:0,class:"title is-4",textContent:k(n.title)},null,8,hw)):fe("",!0),dt(e.$slots,"content",{},void 0,!0)]),n.actions.length?($(),D("footer",_w,[($(!0),D(be,null,_t(n.actions,a=>($(),D("a",{key:a.label,class:$e(["card-footer-item",{"is-disabled":a.disabled}]),onClick:a.handler},[z(i,{class:"icon",name:a.icon,size:"16"},null,8,["name"]),p("span",{class:"is-size-7",textContent:k(a.label)},null,8,yw)],10,gw))),128))])):fe("",!0)])])])):fe("",!0)]),_:3})}const Vr=ie(cw,[["render",bw],["__scopeId","data-v-835c3c1f"]]);/*!
* pinia v2.3.1
* (c) 2025 Eduardo San Martin Morote
* @license MIT
*/let qg;const eu=e=>qg=e,Gg=Symbol();function Uc(e){return e&&typeof e=="object"&&Object.prototype.toString.call(e)==="[object Object]"&&typeof e.toJSON!="function"}var _i;(function(e){e.direct="direct",e.patchObject="patch object",e.patchFunction="patch function"})(_i||(_i={}));function vw(){const e=Dl(!0),t=e.run(()=>Mn({}));let n=[],r=[];const o=Ul({install(s){eu(o),o._a=s,s.provide(Gg,o),s.config.globalProperties.$pinia=o,r.forEach(i=>n.push(i)),r=[]},use(s){return this._a?n.push(s):r.push(s),this},_p:n,_a:null,_e:e,_s:new Map,state:t});return o}const Kg=()=>{};function _f(e,t,n,r=Kg){e.push(t);const o=()=>{const s=e.indexOf(t);s>-1&&(e.splice(s,1),r())};return!n&&xm()&&Xh(o),o}function Ko(e,...t){e.slice().forEach(n=>{n(...t)})}const zw=e=>e(),gf=Symbol(),Fu=Symbol();function jc(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];Uc(o)&&Uc(r)&&e.hasOwnProperty(n)&&!wt(r)&&!br(r)?e[n]=jc(o,r):e[n]=r}return e}const ww=Symbol();function Sw(e){return!Uc(e)||!e.hasOwnProperty(ww)}const{assign:Yr}=Object;function Cw(e){return!!(wt(e)&&e.effect)}function kw(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 c=h_(n.state.value[e]);return Yr(c,s,Object.keys(i||{}).reduce((m,d)=>(m[d]=Ul(Ut(()=>{eu(n);const f=n._s.get(e);return i[d].call(f,f)})),m),{}))}return l=Zg(e,u,t,n,r,!0),l}function Zg(e,t,n={},r,o,s){let i;const a=Yr({actions:{}},n),l={deep:!0};let u,c,m=[],d=[],f;const h=r.state.value[e];!s&&!h&&(r.state.value[e]={}),Mn({});let _;function b(N){let x;u=c=!1,typeof N=="function"?(N(r.state.value[e]),x={type:_i.patchFunction,storeId:e,events:f}):(jc(r.state.value[e],N),x={type:_i.patchObject,payload:N,storeId:e,events:f});const F=_=Symbol();Uo().then(()=>{_===F&&(u=!0)}),c=!0,Ko(m,x,r.state.value[e])}const v=s?function(){const{state:x}=n,F=x?x():{};this.$patch(q=>{Yr(q,F)})}:Kg;function w(){i.stop(),m=[],d=[],r._s.delete(e)}const g=(N,x="")=>{if(gf in N)return N[Fu]=x,N;const F=function(){eu(r);const q=Array.from(arguments),U=[],W=[];function Q(te){U.push(te)}function de(te){W.push(te)}Ko(d,{args:q,name:F[Fu],store:S,after:Q,onError:de});let G;try{G=N.apply(this&&this.$id===e?this:S,q)}catch(te){throw Ko(W,te),te}return G instanceof Promise?G.then(te=>(Ko(U,te),te)).catch(te=>(Ko(W,te),Promise.reject(te))):(Ko(U,G),G)};return F[gf]=!0,F[Fu]=x,F},y={_p:r,$id:e,$onAction:_f.bind(null,d),$patch:b,$reset:v,$subscribe(N,x={}){const F=_f(m,N,x.detached,()=>q()),q=i.run(()=>xn(()=>r.state.value[e],U=>{(x.flush==="sync"?c:u)&&N({storeId:e,type:_i.direct,events:f},U)},Yr({},l,x)));return F},$dispose:w},S=Ps(y);r._s.set(e,S);const L=(r._a&&r._a.runWithContext||zw)(()=>r._e.run(()=>(i=Dl()).run(()=>t({action:g}))));for(const N in L){const x=L[N];if(wt(x)&&!Cw(x)||br(x))s||(h&&Sw(x)&&(wt(x)?x.value=h[N]:jc(x,h[N])),r.state.value[e][N]=x);else if(typeof x=="function"){const F=g(x,N);L[N]=F,a.actions[N]=x}}return Yr(S,L),Yr(Xe(S),L),Object.defineProperty(S,"$state",{get:()=>r.state.value[e],set:N=>{b(x=>{Yr(x,N)})}}),r._p.forEach(N=>{Yr(S,i.run(()=>N({store:S,app:r._a,pinia:r,options:a})))}),h&&s&&n.hydrate&&n.hydrate(S.$state,h),u=!0,c=!0,S}/*! #__NO_SIDE_EFFECTS__ */function Bn(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=j_();return a=a||(u?Fn(Gg,null):null),a&&eu(a),a=qg,a._s.has(r)||(s?Zg(r,t,o,a):kw(r,o,a)),a._s.get(r)}return i.$id=r,i}const Ym=Bn("RemotesStore",{state:()=>({pairing:{}})});function Yg(e,t){return function(){return e.apply(t,arguments)}}const{toString:Ew}=Object.prototype,{getPrototypeOf:Xm}=Object,tu=(e=>t=>{const n=Ew.call(t);return e[n]||(e[n]=n.slice(8,-1).toLowerCase())})(Object.create(null)),ar=e=>(e=e.toLowerCase(),t=>tu(t)===e),nu=e=>t=>typeof t===e,{isArray:Ns}=Array,Di=nu("undefined");function xw(e){return e!==null&&!Di(e)&&e.constructor!==null&&!Di(e.constructor)&&Tn(e.constructor.isBuffer)&&e.constructor.isBuffer(e)}const Xg=ar("ArrayBuffer");function Tw(e){let t;return typeof ArrayBuffer<"u"&&ArrayBuffer.isView?t=ArrayBuffer.isView(e):t=e&&e.buffer&&Xg(e.buffer),t}const Aw=nu("string"),Tn=nu("function"),Jg=nu("number"),ru=e=>e!==null&&typeof e=="object",Ow=e=>e===!0||e===!1,Ra=e=>{if(tu(e)!=="object")return!1;const t=Xm(e);return(t===null||t===Object.prototype||Object.getPrototypeOf(t)===null)&&!(Symbol.toStringTag in e)&&!(Symbol.iterator in e)},$w=ar("Date"),Pw=ar("File"),Iw=ar("Blob"),Lw=ar("FileList"),Nw=e=>ru(e)&&Tn(e.pipe),Dw=e=>{let t;return e&&(typeof FormData=="function"&&e instanceof FormData||Tn(e.append)&&((t=tu(e))==="formdata"||t==="object"&&Tn(e.toString)&&e.toString()==="[object FormData]"))},Rw=ar("URLSearchParams"),[Mw,Fw,Vw,Hw]=["ReadableStream","Request","Response","Headers"].map(ar),Uw=e=>e.trim?e.trim():e.replace(/^[\s\uFEFF\xA0]+|[\s\uFEFF\xA0]+$/g,"");function Yi(e,t,{allOwnKeys:n=!1}={}){if(e===null||typeof e>"u")return;let r,o;if(typeof e!="object"&&(e=[e]),Ns(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 Qg(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 Ao=typeof globalThis<"u"?globalThis:typeof self<"u"?self:typeof window<"u"?window:global,ey=e=>!Di(e)&&e!==Ao;function Wc(){const{caseless:e}=ey(this)&&this||{},t={},n=(r,o)=>{const s=e&&Qg(t,o)||o;Ra(t[s])&&Ra(r)?t[s]=Wc(t[s],r):Ra(r)?t[s]=Wc({},r):Ns(r)?t[s]=r.slice():t[s]=r};for(let r=0,o=arguments.length;r<o;r++)arguments[r]&&Yi(arguments[r],n);return t}const jw=(e,t,n,{allOwnKeys:r}={})=>(Yi(t,(o,s)=>{n&&Tn(o)?e[s]=Yg(o,n):e[s]=o},{allOwnKeys:r}),e),Ww=e=>(e.charCodeAt(0)===65279&&(e=e.slice(1)),e),Bw=(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)},qw=(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&&Xm(e)}while(e&&(!n||n(e,t))&&e!==Object.prototype);return t},Gw=(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},Kw=e=>{if(!e)return null;if(Ns(e))return e;let t=e.length;if(!Jg(t))return null;const n=new Array(t);for(;t-- >0;)n[t]=e[t];return n},Zw=(e=>t=>e&&t instanceof e)(typeof Uint8Array<"u"&&Xm(Uint8Array)),Yw=(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])}},Xw=(e,t)=>{let n;const r=[];for(;(n=e.exec(t))!==null;)r.push(n);return r},Jw=ar("HTMLFormElement"),Qw=e=>e.toLowerCase().replace(/[-_\s]([a-z\d])(\w*)/g,function(n,r,o){return r.toUpperCase()+o}),yf=(({hasOwnProperty:e})=>(t,n)=>e.call(t,n))(Object.prototype),eS=ar("RegExp"),ty=(e,t)=>{const n=Object.getOwnPropertyDescriptors(e),r={};Yi(n,(o,s)=>{let i;(i=t(o,s,e))!==!1&&(r[s]=i||o)}),Object.defineProperties(e,r)},tS=e=>{ty(e,(t,n)=>{if(Tn(e)&&["arguments","caller","callee"].indexOf(n)!==-1)return!1;const r=e[n];if(Tn(r)){if(t.enumerable=!1,"writable"in t){t.writable=!1;return}t.set||(t.set=()=>{throw Error("Can not rewrite read-only method '"+n+"'")})}})},nS=(e,t)=>{const n={},r=o=>{o.forEach(s=>{n[s]=!0})};return Ns(e)?r(e):r(String(e).split(t)),n},rS=()=>{},oS=(e,t)=>e!=null&&Number.isFinite(e=+e)?e:t,Vu="abcdefghijklmnopqrstuvwxyz",bf="0123456789",ny={DIGIT:bf,ALPHA:Vu,ALPHA_DIGIT:Vu+Vu.toUpperCase()+bf},sS=(e=16,t=ny.ALPHA_DIGIT)=>{let n="";const{length:r}=t;for(;e--;)n+=t[Math.random()*r|0];return n};function iS(e){return!!(e&&Tn(e.append)&&e[Symbol.toStringTag]==="FormData"&&e[Symbol.iterator])}const aS=e=>{const t=new Array(10),n=(r,o)=>{if(ru(r)){if(t.indexOf(r)>=0)return;if(!("toJSON"in r)){t[o]=r;const s=Ns(r)?[]:{};return Yi(r,(i,a)=>{const l=n(i,o+1);!Di(l)&&(s[a]=l)}),t[o]=void 0,s}}return r};return n(e,0)},lS=ar("AsyncFunction"),uS=e=>e&&(ru(e)||Tn(e))&&Tn(e.then)&&Tn(e.catch),ry=((e,t)=>e?setImmediate:t?((n,r)=>(Ao.addEventListener("message",({source:o,data:s})=>{o===Ao&&s===n&&r.length&&r.shift()()},!1),o=>{r.push(o),Ao.postMessage(n,"*")}))(`axios@${Math.random()}`,[]):n=>setTimeout(n))(typeof setImmediate=="function",Tn(Ao.postMessage)),cS=typeof queueMicrotask<"u"?queueMicrotask.bind(Ao):typeof process<"u"&&process.nextTick||ry,X={isArray:Ns,isArrayBuffer:Xg,isBuffer:xw,isFormData:Dw,isArrayBufferView:Tw,isString:Aw,isNumber:Jg,isBoolean:Ow,isObject:ru,isPlainObject:Ra,isReadableStream:Mw,isRequest:Fw,isResponse:Vw,isHeaders:Hw,isUndefined:Di,isDate:$w,isFile:Pw,isBlob:Iw,isRegExp:eS,isFunction:Tn,isStream:Nw,isURLSearchParams:Rw,isTypedArray:Zw,isFileList:Lw,forEach:Yi,merge:Wc,extend:jw,trim:Uw,stripBOM:Ww,inherits:Bw,toFlatObject:qw,kindOf:tu,kindOfTest:ar,endsWith:Gw,toArray:Kw,forEachEntry:Yw,matchAll:Xw,isHTMLForm:Jw,hasOwnProperty:yf,hasOwnProp:yf,reduceDescriptors:ty,freezeMethods:tS,toObjectSet:nS,toCamelCase:Qw,noop:rS,toFiniteNumber:oS,findKey:Qg,global:Ao,isContextDefined:ey,ALPHABET:ny,generateString:sS,isSpecCompliantForm:iS,toJSONObject:aS,isAsyncFn:lS,isThenable:uS,setImmediate:ry,asap:cS};function We(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,this.status=o.status?o.status:null)}X.inherits(We,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:X.toJSONObject(this.config),code:this.code,status:this.status}}});const oy=We.prototype,sy={};["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=>{sy[e]={value:e}});Object.defineProperties(We,sy);Object.defineProperty(oy,"isAxiosError",{value:!0});We.from=(e,t,n,r,o,s)=>{const i=Object.create(oy);return X.toFlatObject(e,i,function(l){return l!==Error.prototype},a=>a!=="isAxiosError"),We.call(i,e.message,t,n,r,o),i.cause=e,i.name=e.name,s&&Object.assign(i,s),i};const mS=null;function Bc(e){return X.isPlainObject(e)||X.isArray(e)}function iy(e){return X.endsWith(e,"[]")?e.slice(0,-2):e}function vf(e,t,n){return e?e.concat(t).map(function(o,s){return o=iy(o),!n&&s?"["+o+"]":o}).join(n?".":""):t}function dS(e){return X.isArray(e)&&!e.some(Bc)}const fS=X.toFlatObject(X,{},null,function(t){return/^is[A-Z]/.test(t)});function ou(e,t,n){if(!X.isObject(e))throw new TypeError("target must be an object");t=t||new FormData,n=X.toFlatObject(n,{metaTokens:!0,dots:!1,indexes:!1},!1,function(_,b){return!X.isUndefined(b[_])});const r=n.metaTokens,o=n.visitor||c,s=n.dots,i=n.indexes,l=(n.Blob||typeof Blob<"u"&&Blob)&&X.isSpecCompliantForm(t);if(!X.isFunction(o))throw new TypeError("visitor must be a function");function u(h){if(h===null)return"";if(X.isDate(h))return h.toISOString();if(!l&&X.isBlob(h))throw new We("Blob is not supported. Use a Buffer instead.");return X.isArrayBuffer(h)||X.isTypedArray(h)?l&&typeof Blob=="function"?new Blob([h]):Buffer.from(h):h}function c(h,_,b){let v=h;if(h&&!b&&typeof h=="object"){if(X.endsWith(_,"{}"))_=r?_:_.slice(0,-2),h=JSON.stringify(h);else if(X.isArray(h)&&dS(h)||(X.isFileList(h)||X.endsWith(_,"[]"))&&(v=X.toArray(h)))return _=iy(_),v.forEach(function(g,y){!(X.isUndefined(g)||g===null)&&t.append(i===!0?vf([_],y,s):i===null?_:_+"[]",u(g))}),!1}return Bc(h)?!0:(t.append(vf(b,_,s),u(h)),!1)}const m=[],d=Object.assign(fS,{defaultVisitor:c,convertValue:u,isVisitable:Bc});function f(h,_){if(!X.isUndefined(h)){if(m.indexOf(h)!==-1)throw Error("Circular reference detected in "+_.join("."));m.push(h),X.forEach(h,function(v,w){(!(X.isUndefined(v)||v===null)&&o.call(t,v,X.isString(w)?w.trim():w,_,d))===!0&&f(v,_?_.concat(w):[w])}),m.pop()}}if(!X.isObject(e))throw new TypeError("data must be an object");return f(e),t}function zf(e){const t={"!":"%21","'":"%27","(":"%28",")":"%29","~":"%7E","%20":"+","%00":"\0"};return encodeURIComponent(e).replace(/[!'()~]|%20|%00/g,function(r){return t[r]})}function Jm(e,t){this._pairs=[],e&&ou(e,this,t)}const ay=Jm.prototype;ay.append=function(t,n){this._pairs.push([t,n])};ay.toString=function(t){const n=t?function(r){return t.call(this,r,zf)}:zf;return this._pairs.map(function(o){return n(o[0])+"="+n(o[1])},"").join("&")};function pS(e){return encodeURIComponent(e).replace(/%3A/gi,":").replace(/%24/g,"$").replace(/%2C/gi,",").replace(/%20/g,"+").replace(/%5B/gi,"[").replace(/%5D/gi,"]")}function ly(e,t,n){if(!t)return e;const r=n&&n.encode||pS;X.isFunction(n)&&(n={serialize:n});const o=n&&n.serialize;let s;if(o?s=o(t,n):s=X.isURLSearchParams(t)?t.toString():new Jm(t,n).toString(r),s){const i=e.indexOf("#");i!==-1&&(e=e.slice(0,i)),e+=(e.indexOf("?")===-1?"?":"&")+s}return e}class wf{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){X.forEach(this.handlers,function(r){r!==null&&t(r)})}}const uy={silentJSONParsing:!0,forcedJSONParsing:!0,clarifyTimeoutError:!1},hS=typeof URLSearchParams<"u"?URLSearchParams:Jm,_S=typeof FormData<"u"?FormData:null,gS=typeof Blob<"u"?Blob:null,yS={isBrowser:!0,classes:{URLSearchParams:hS,FormData:_S,Blob:gS},protocols:["http","https","file","blob","url","data"]},Qm=typeof window<"u"&&typeof document<"u",qc=typeof navigator=="object"&&navigator||void 0,bS=Qm&&(!qc||["ReactNative","NativeScript","NS"].indexOf(qc.product)<0),vS=typeof WorkerGlobalScope<"u"&&self instanceof WorkerGlobalScope&&typeof self.importScripts=="function",zS=Qm&&window.location.href||"http://localhost",wS=Object.freeze(Object.defineProperty({__proto__:null,hasBrowserEnv:Qm,hasStandardBrowserEnv:bS,hasStandardBrowserWebWorkerEnv:vS,navigator:qc,origin:zS},Symbol.toStringTag,{value:"Module"})),Zt={...wS,...yS};function SS(e,t){return ou(e,new Zt.classes.URLSearchParams,Object.assign({visitor:function(n,r,o,s){return Zt.isNode&&X.isBuffer(n)?(this.append(r,n.toString("base64")),!1):s.defaultVisitor.apply(this,arguments)}},t))}function CS(e){return X.matchAll(/\w+|\[(\w*)]/g,e).map(t=>t[0]==="[]"?"":t[1]||t[0])}function kS(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 cy(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&&X.isArray(o)?o.length:i,l?(X.hasOwnProp(o,i)?o[i]=[o[i],r]:o[i]=r,!a):((!o[i]||!X.isObject(o[i]))&&(o[i]=[]),t(n,r,o[i],s)&&X.isArray(o[i])&&(o[i]=kS(o[i])),!a)}if(X.isFormData(e)&&X.isFunction(e.entries)){const n={};return X.forEachEntry(e,(r,o)=>{t(CS(r),o,n,0)}),n}return null}function ES(e,t,n){if(X.isString(e))try{return(t||JSON.parse)(e),X.trim(e)}catch(r){if(r.name!=="SyntaxError")throw r}return(n||JSON.stringify)(e)}const Xi={transitional:uy,adapter:["xhr","http","fetch"],transformRequest:[function(t,n){const r=n.getContentType()||"",o=r.indexOf("application/json")>-1,s=X.isObject(t);if(s&&X.isHTMLForm(t)&&(t=new FormData(t)),X.isFormData(t))return o?JSON.stringify(cy(t)):t;if(X.isArrayBuffer(t)||X.isBuffer(t)||X.isStream(t)||X.isFile(t)||X.isBlob(t)||X.isReadableStream(t))return t;if(X.isArrayBufferView(t))return t.buffer;if(X.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 SS(t,this.formSerializer).toString();if((a=X.isFileList(t))||r.indexOf("multipart/form-data")>-1){const l=this.env&&this.env.FormData;return ou(a?{"files[]":t}:t,l&&new l,this.formSerializer)}}return s||o?(n.setContentType("application/json",!1),ES(t)):t}],transformResponse:[function(t){const n=this.transitional||Xi.transitional,r=n&&n.forcedJSONParsing,o=this.responseType==="json";if(X.isResponse(t)||X.isReadableStream(t))return t;if(t&&X.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"?We.from(a,We.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:Zt.classes.FormData,Blob:Zt.classes.Blob},validateStatus:function(t){return t>=200&&t<300},headers:{common:{Accept:"application/json, text/plain, */*","Content-Type":void 0}}};X.forEach(["delete","get","head","post","put","patch"],e=>{Xi.headers[e]={}});const xS=X.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"]),TS=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]&&xS[n])&&(n==="set-cookie"?t[n]?t[n].push(r):t[n]=[r]:t[n]=t[n]?t[n]+", "+r:r)}),t},Sf=Symbol("internals");function Bs(e){return e&&String(e).trim().toLowerCase()}function Ma(e){return e===!1||e==null?e:X.isArray(e)?e.map(Ma):String(e)}function AS(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 OS=e=>/^[-_a-zA-Z0-9^`|~,!#$%&'*+.]+$/.test(e.trim());function Hu(e,t,n,r,o){if(X.isFunction(r))return r.call(this,t,n);if(o&&(t=n),!!X.isString(t)){if(X.isString(r))return t.indexOf(r)!==-1;if(X.isRegExp(r))return r.test(t)}}function $S(e){return e.trim().toLowerCase().replace(/([a-z\d])(\w*)/g,(t,n,r)=>n.toUpperCase()+r)}function PS(e,t){const n=X.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})})}let bn=class{constructor(t){t&&this.set(t)}set(t,n,r){const o=this;function s(a,l,u){const c=Bs(l);if(!c)throw new Error("header name must be a non-empty string");const m=X.findKey(o,c);(!m||o[m]===void 0||u===!0||u===void 0&&o[m]!==!1)&&(o[m||l]=Ma(a))}const i=(a,l)=>X.forEach(a,(u,c)=>s(u,c,l));if(X.isPlainObject(t)||t instanceof this.constructor)i(t,n);else if(X.isString(t)&&(t=t.trim())&&!OS(t))i(TS(t),n);else if(X.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=Bs(t),t){const r=X.findKey(this,t);if(r){const o=this[r];if(!n)return o;if(n===!0)return AS(o);if(X.isFunction(n))return n.call(this,o,r);if(X.isRegExp(n))return n.exec(o);throw new TypeError("parser must be boolean|regexp|function")}}}has(t,n){if(t=Bs(t),t){const r=X.findKey(this,t);return!!(r&&this[r]!==void 0&&(!n||Hu(this,this[r],r,n)))}return!1}delete(t,n){const r=this;let o=!1;function s(i){if(i=Bs(i),i){const a=X.findKey(r,i);a&&(!n||Hu(r,r[a],a,n))&&(delete r[a],o=!0)}}return X.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||Hu(this,this[s],s,t,!0))&&(delete this[s],o=!0)}return o}normalize(t){const n=this,r={};return X.forEach(this,(o,s)=>{const i=X.findKey(r,s);if(i){n[i]=Ma(o),delete n[s];return}const a=t?$S(s):String(s).trim();a!==s&&delete n[s],n[a]=Ma(o),r[a]=!0}),this}concat(...t){return this.constructor.concat(this,...t)}toJSON(t){const n=Object.create(null);return X.forEach(this,(r,o)=>{r!=null&&r!==!1&&(n[o]=t&&X.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[Sf]=this[Sf]={accessors:{}}).accessors,o=this.prototype;function s(i){const a=Bs(i);r[a]||(PS(o,i),r[a]=!0)}return X.isArray(t)?t.forEach(s):s(t),this}};bn.accessor(["Content-Type","Content-Length","Accept","Accept-Encoding","User-Agent","Authorization"]);X.reduceDescriptors(bn.prototype,({value:e},t)=>{let n=t[0].toUpperCase()+t.slice(1);return{get:()=>e,set(r){this[n]=r}}});X.freezeMethods(bn);function Uu(e,t){const n=this||Xi,r=t||n,o=bn.from(r.headers);let s=r.data;return X.forEach(e,function(a){s=a.call(n,s,o.normalize(),t?t.status:void 0)}),o.normalize(),s}function my(e){return!!(e&&e.__CANCEL__)}function Ds(e,t,n){We.call(this,e??"canceled",We.ERR_CANCELED,t,n),this.name="CanceledError"}X.inherits(Ds,We,{__CANCEL__:!0});function dy(e,t,n){const r=n.config.validateStatus;!n.status||!r||r(n.status)?e(n):t(new We("Request failed with status code "+n.status,[We.ERR_BAD_REQUEST,We.ERR_BAD_RESPONSE][Math.floor(n.status/100)-4],n.config,n.request,n))}function IS(e){const t=/^([-+\w]{1,25})(:?\/\/|:)/.exec(e);return t&&t[1]||""}function LS(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(),c=r[s];i||(i=u),n[o]=l,r[o]=u;let m=s,d=0;for(;m!==o;)d+=n[m++],m=m%e;if(o=(o+1)%e,o===s&&(s=(s+1)%e),u-i<t)return;const f=c&&u-c;return f?Math.round(d*1e3/f):void 0}}function NS(e,t){let n=0,r=1e3/t,o,s;const i=(u,c=Date.now())=>{n=c,o=null,s&&(clearTimeout(s),s=null),e.apply(null,u)};return[(...u)=>{const c=Date.now(),m=c-n;m>=r?i(u,c):(o=u,s||(s=setTimeout(()=>{s=null,i(o)},r-m)))},()=>o&&i(o)]}const ml=(e,t,n=3)=>{let r=0;const o=LS(50,250);return NS(s=>{const i=s.loaded,a=s.lengthComputable?s.total:void 0,l=i-r,u=o(l),c=i<=a;r=i;const m={loaded:i,total:a,progress:a?i/a:void 0,bytes:l,rate:u||void 0,estimated:u&&a&&c?(a-i)/u:void 0,event:s,lengthComputable:a!=null,[t?"download":"upload"]:!0};e(m)},n)},Cf=(e,t)=>{const n=e!=null;return[r=>t[0]({lengthComputable:n,total:e,loaded:r}),t[1]]},kf=e=>(...t)=>X.asap(()=>e(...t)),DS=Zt.hasStandardBrowserEnv?((e,t)=>n=>(n=new URL(n,Zt.origin),e.protocol===n.protocol&&e.host===n.host&&(t||e.port===n.port)))(new URL(Zt.origin),Zt.navigator&&/(msie|trident)/i.test(Zt.navigator.userAgent)):()=>!0,RS=Zt.hasStandardBrowserEnv?{write(e,t,n,r,o,s){const i=[e+"="+encodeURIComponent(t)];X.isNumber(n)&&i.push("expires="+new Date(n).toGMTString()),X.isString(r)&&i.push("path="+r),X.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 MS(e){return/^([a-z][a-z\d+\-.]*:)?\/\//i.test(e)}function FS(e,t){return t?e.replace(/\/?\/$/,"")+"/"+t.replace(/^\/+/,""):e}function fy(e,t){return e&&!MS(t)?FS(e,t):t}const Ef=e=>e instanceof bn?{...e}:e;function Mo(e,t){t=t||{};const n={};function r(u,c,m,d){return X.isPlainObject(u)&&X.isPlainObject(c)?X.merge.call({caseless:d},u,c):X.isPlainObject(c)?X.merge({},c):X.isArray(c)?c.slice():c}function o(u,c,m,d){if(X.isUndefined(c)){if(!X.isUndefined(u))return r(void 0,u,m,d)}else return r(u,c,m,d)}function s(u,c){if(!X.isUndefined(c))return r(void 0,c)}function i(u,c){if(X.isUndefined(c)){if(!X.isUndefined(u))return r(void 0,u)}else return r(void 0,c)}function a(u,c,m){if(m in t)return r(u,c);if(m 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,c,m)=>o(Ef(u),Ef(c),m,!0)};return X.forEach(Object.keys(Object.assign({},e,t)),function(c){const m=l[c]||o,d=m(e[c],t[c],c);X.isUndefined(d)&&m!==a||(n[c]=d)}),n}const py=e=>{const t=Mo({},e);let{data:n,withXSRFToken:r,xsrfHeaderName:o,xsrfCookieName:s,headers:i,auth:a}=t;t.headers=i=bn.from(i),t.url=ly(fy(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(X.isFormData(n)){if(Zt.hasStandardBrowserEnv||Zt.hasStandardBrowserWebWorkerEnv)i.setContentType(void 0);else if((l=i.getContentType())!==!1){const[u,...c]=l?l.split(";").map(m=>m.trim()).filter(Boolean):[];i.setContentType([u||"multipart/form-data",...c].join("; "))}}if(Zt.hasStandardBrowserEnv&&(r&&X.isFunction(r)&&(r=r(t)),r||r!==!1&&DS(t.url))){const u=o&&s&&RS.read(s);u&&i.set(o,u)}return t},VS=typeof XMLHttpRequest<"u",HS=VS&&function(e){return new Promise(function(n,r){const o=py(e);let s=o.data;const i=bn.from(o.headers).normalize();let{responseType:a,onUploadProgress:l,onDownloadProgress:u}=o,c,m,d,f,h;function _(){f&&f(),h&&h(),o.cancelToken&&o.cancelToken.unsubscribe(c),o.signal&&o.signal.removeEventListener("abort",c)}let b=new XMLHttpRequest;b.open(o.method.toUpperCase(),o.url,!0),b.timeout=o.timeout;function v(){if(!b)return;const g=bn.from("getAllResponseHeaders"in b&&b.getAllResponseHeaders()),S={data:!a||a==="text"||a==="json"?b.responseText:b.response,status:b.status,statusText:b.statusText,headers:g,config:e,request:b};dy(function(L){n(L),_()},function(L){r(L),_()},S),b=null}"onloadend"in b?b.onloadend=v:b.onreadystatechange=function(){!b||b.readyState!==4||b.status===0&&!(b.responseURL&&b.responseURL.indexOf("file:")===0)||setTimeout(v)},b.onabort=function(){b&&(r(new We("Request aborted",We.ECONNABORTED,e,b)),b=null)},b.onerror=function(){r(new We("Network Error",We.ERR_NETWORK,e,b)),b=null},b.ontimeout=function(){let y=o.timeout?"timeout of "+o.timeout+"ms exceeded":"timeout exceeded";const S=o.transitional||uy;o.timeoutErrorMessage&&(y=o.timeoutErrorMessage),r(new We(y,S.clarifyTimeoutError?We.ETIMEDOUT:We.ECONNABORTED,e,b)),b=null},s===void 0&&i.setContentType(null),"setRequestHeader"in b&&X.forEach(i.toJSON(),function(y,S){b.setRequestHeader(S,y)}),X.isUndefined(o.withCredentials)||(b.withCredentials=!!o.withCredentials),a&&a!=="json"&&(b.responseType=o.responseType),u&&([d,h]=ml(u,!0),b.addEventListener("progress",d)),l&&b.upload&&([m,f]=ml(l),b.upload.addEventListener("progress",m),b.upload.addEventListener("loadend",f)),(o.cancelToken||o.signal)&&(c=g=>{b&&(r(!g||g.type?new Ds(null,e,b):g),b.abort(),b=null)},o.cancelToken&&o.cancelToken.subscribe(c),o.signal&&(o.signal.aborted?c():o.signal.addEventListener("abort",c)));const w=IS(o.url);if(w&&Zt.protocols.indexOf(w)===-1){r(new We("Unsupported protocol "+w+":",We.ERR_BAD_REQUEST,e));return}b.send(s||null)})},US=(e,t)=>{const{length:n}=e=e?e.filter(Boolean):[];if(t||n){let r=new AbortController,o;const s=function(u){if(!o){o=!0,a();const c=u instanceof Error?u:this.reason;r.abort(c instanceof We?c:new Ds(c instanceof Error?c.message:c))}};let i=t&&setTimeout(()=>{i=null,s(new We(`timeout ${t} of ms exceeded`,We.ETIMEDOUT))},t);const a=()=>{e&&(i&&clearTimeout(i),i=null,e.forEach(u=>{u.unsubscribe?u.unsubscribe(s):u.removeEventListener("abort",s)}),e=null)};e.forEach(u=>u.addEventListener("abort",s));const{signal:l}=r;return l.unsubscribe=()=>X.asap(a),l}},jS=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},WS=async function*(e,t){for await(const n of BS(e))yield*jS(n,t)},BS=async function*(e){if(e[Symbol.asyncIterator]){yield*e;return}const t=e.getReader();try{for(;;){const{done:n,value:r}=await t.read();if(n)break;yield r}}finally{await t.cancel()}},xf=(e,t,n,r)=>{const o=WS(e,t);let s=0,i,a=l=>{i||(i=!0,r&&r(l))};return new ReadableStream({async pull(l){try{const{done:u,value:c}=await o.next();if(u){a(),l.close();return}let m=c.byteLength;if(n){let d=s+=m;n(d)}l.enqueue(new Uint8Array(c))}catch(u){throw a(u),u}},cancel(l){return a(l),o.return()}},{highWaterMark:2})},su=typeof fetch=="function"&&typeof Request=="function"&&typeof Response=="function",hy=su&&typeof ReadableStream=="function",qS=su&&(typeof TextEncoder=="function"?(e=>t=>e.encode(t))(new TextEncoder):async e=>new Uint8Array(await new Response(e).arrayBuffer())),_y=(e,...t)=>{try{return!!e(...t)}catch{return!1}},GS=hy&&_y(()=>{let e=!1;const t=new Request(Zt.origin,{body:new ReadableStream,method:"POST",get duplex(){return e=!0,"half"}}).headers.has("Content-Type");return e&&!t}),Tf=64*1024,Gc=hy&&_y(()=>X.isReadableStream(new Response("").body)),dl={stream:Gc&&(e=>e.body)};su&&(e=>{["text","arrayBuffer","blob","formData","stream"].forEach(t=>{!dl[t]&&(dl[t]=X.isFunction(e[t])?n=>n[t]():(n,r)=>{throw new We(`Response type '${t}' is not supported`,We.ERR_NOT_SUPPORT,r)})})})(new Response);const KS=async e=>{if(e==null)return 0;if(X.isBlob(e))return e.size;if(X.isSpecCompliantForm(e))return(await new Request(Zt.origin,{method:"POST",body:e}).arrayBuffer()).byteLength;if(X.isArrayBufferView(e)||X.isArrayBuffer(e))return e.byteLength;if(X.isURLSearchParams(e)&&(e=e+""),X.isString(e))return(await qS(e)).byteLength},ZS=async(e,t)=>{const n=X.toFiniteNumber(e.getContentLength());return n??KS(t)},YS=su&&(async e=>{let{url:t,method:n,data:r,signal:o,cancelToken:s,timeout:i,onDownloadProgress:a,onUploadProgress:l,responseType:u,headers:c,withCredentials:m="same-origin",fetchOptions:d}=py(e);u=u?(u+"").toLowerCase():"text";let f=US([o,s&&s.toAbortSignal()],i),h;const _=f&&f.unsubscribe&&(()=>{f.unsubscribe()});let b;try{if(l&&GS&&n!=="get"&&n!=="head"&&(b=await ZS(c,r))!==0){let S=new Request(t,{method:"POST",body:r,duplex:"half"}),C;if(X.isFormData(r)&&(C=S.headers.get("content-type"))&&c.setContentType(C),S.body){const[L,N]=Cf(b,ml(kf(l)));r=xf(S.body,Tf,L,N)}}X.isString(m)||(m=m?"include":"omit");const v="credentials"in Request.prototype;h=new Request(t,{...d,signal:f,method:n.toUpperCase(),headers:c.normalize().toJSON(),body:r,duplex:"half",credentials:v?m:void 0});let w=await fetch(h);const g=Gc&&(u==="stream"||u==="response");if(Gc&&(a||g&&_)){const S={};["status","statusText","headers"].forEach(x=>{S[x]=w[x]});const C=X.toFiniteNumber(w.headers.get("content-length")),[L,N]=a&&Cf(C,ml(kf(a),!0))||[];w=new Response(xf(w.body,Tf,L,()=>{N&&N(),_&&_()}),S)}u=u||"text";let y=await dl[X.findKey(dl,u)||"text"](w,e);return!g&&_&&_(),await new Promise((S,C)=>{dy(S,C,{data:y,headers:bn.from(w.headers),status:w.status,statusText:w.statusText,config:e,request:h})})}catch(v){throw _&&_(),v&&v.name==="TypeError"&&/fetch/i.test(v.message)?Object.assign(new We("Network Error",We.ERR_NETWORK,e,h),{cause:v.cause||v}):We.from(v,v&&v.code,e,h)}}),Kc={http:mS,xhr:HS,fetch:YS};X.forEach(Kc,(e,t)=>{if(e){try{Object.defineProperty(e,"name",{value:t})}catch{}Object.defineProperty(e,"adapterName",{value:t})}});const Af=e=>`- ${e}`,XS=e=>X.isFunction(e)||e===null||e===!1,gy={getAdapter:e=>{e=X.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,!XS(n)&&(r=Kc[(i=String(n)).toLowerCase()],r===void 0))throw new We(`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(Af).join(`
`):" "+Af(s[0]):"as no adapter specified";throw new We("There is no suitable adapter to dispatch the request "+i,"ERR_NOT_SUPPORT")}return r},adapters:Kc};function ju(e){if(e.cancelToken&&e.cancelToken.throwIfRequested(),e.signal&&e.signal.aborted)throw new Ds(null,e)}function Of(e){return ju(e),e.headers=bn.from(e.headers),e.data=Uu.call(e,e.transformRequest),["post","put","patch"].indexOf(e.method)!==-1&&e.headers.setContentType("application/x-www-form-urlencoded",!1),gy.getAdapter(e.adapter||Xi.adapter)(e).then(function(r){return ju(e),r.data=Uu.call(e,e.transformResponse,r),r.headers=bn.from(r.headers),r},function(r){return my(r)||(ju(e),r&&r.response&&(r.response.data=Uu.call(e,e.transformResponse,r.response),r.response.headers=bn.from(r.response.headers))),Promise.reject(r)})}const yy="1.7.9",iu={};["object","boolean","number","function","string","symbol"].forEach((e,t)=>{iu[e]=function(r){return typeof r===e||"a"+(t<1?"n ":" ")+e}});const $f={};iu.transitional=function(t,n,r){function o(s,i){return"[Axios v"+yy+"] Transitional option '"+s+"'"+i+(r?". "+r:"")}return(s,i,a)=>{if(t===!1)throw new We(o(i," has been removed"+(n?" in "+n:"")),We.ERR_DEPRECATED);return n&&!$f[i]&&($f[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}};iu.spelling=function(t){return(n,r)=>(console.warn(`${r} is likely a misspelling of ${t}`),!0)};function JS(e,t,n){if(typeof e!="object")throw new We("options must be an object",We.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 We("option "+s+" must be "+l,We.ERR_BAD_OPTION_VALUE);continue}if(n!==!0)throw new We("Unknown option "+s,We.ERR_BAD_OPTION)}}const Fa={assertOptions:JS,validators:iu},mr=Fa.validators;let Lo=class{constructor(t){this.defaults=t,this.interceptors={request:new wf,response:new wf}}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&&Fa.assertOptions(r,{silentJSONParsing:mr.transitional(mr.boolean),forcedJSONParsing:mr.transitional(mr.boolean),clarifyTimeoutError:mr.transitional(mr.boolean)},!1),o!=null&&(X.isFunction(o)?n.paramsSerializer={serialize:o}:Fa.assertOptions(o,{encode:mr.function,serialize:mr.function},!0)),Fa.assertOptions(n,{baseUrl:mr.spelling("baseURL"),withXsrfToken:mr.spelling("withXSRFToken")},!0),n.method=(n.method||this.defaults.method||"get").toLowerCase();let i=s&&X.merge(s.common,s[n.method]);s&&X.forEach(["delete","get","head","post","put","patch","common"],h=>{delete s[h]}),n.headers=bn.concat(i,s);const a=[];let l=!0;this.interceptors.request.forEach(function(_){typeof _.runWhen=="function"&&_.runWhen(n)===!1||(l=l&&_.synchronous,a.unshift(_.fulfilled,_.rejected))});const u=[];this.interceptors.response.forEach(function(_){u.push(_.fulfilled,_.rejected)});let c,m=0,d;if(!l){const h=[Of.bind(this),void 0];for(h.unshift.apply(h,a),h.push.apply(h,u),d=h.length,c=Promise.resolve(n);m<d;)c=c.then(h[m++],h[m++]);return c}d=a.length;let f=n;for(m=0;m<d;){const h=a[m++],_=a[m++];try{f=h(f)}catch(b){_.call(this,b);break}}try{c=Of.call(this,f)}catch(h){return Promise.reject(h)}for(m=0,d=u.length;m<d;)c=c.then(u[m++],u[m++]);return c}getUri(t){t=Mo(this.defaults,t);const n=fy(t.baseURL,t.url);return ly(n,t.params,t.paramsSerializer)}};X.forEach(["delete","get","head","options"],function(t){Lo.prototype[t]=function(n,r){return this.request(Mo(r||{},{method:t,url:n,data:(r||{}).data}))}});X.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}))}}Lo.prototype[t]=n(),Lo.prototype[t+"Form"]=n(!0)});let QS=class by{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 Ds(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)}toAbortSignal(){const t=new AbortController,n=r=>{t.abort(r)};return this.subscribe(n),t.signal.unsubscribe=()=>this.unsubscribe(n),t.signal}static source(){let t;return{token:new by(function(o){t=o}),cancel:t}}};function eC(e){return function(n){return e.apply(null,n)}}function tC(e){return X.isObject(e)&&e.isAxiosError===!0}const Zc={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(Zc).forEach(([e,t])=>{Zc[t]=e});function vy(e){const t=new Lo(e),n=Yg(Lo.prototype.request,t);return X.extend(n,Lo.prototype,t,{allOwnKeys:!0}),X.extend(n,t,null,{allOwnKeys:!0}),n.create=function(o){return vy(Mo(e,o))},n}const ce=vy(Xi);ce.Axios=Lo;ce.CanceledError=Ds;ce.CancelToken=QS;ce.isCancel=my;ce.VERSION=yy;ce.toFormData=ou;ce.AxiosError=We;ce.Cancel=ce.CanceledError;ce.all=function(t){return Promise.all(t)};ce.spread=eC;ce.isAxiosError=tC;ce.mergeConfig=Mo;ce.AxiosHeaders=bn;ce.formToJSON=e=>cy(X.isHTMLForm(e)?new FormData(e):e);ce.getAdapter=gy.getAdapter;ce.HttpStatusCode=Zc;ce.default=ce;const{Axios:rU,AxiosError:oU,CanceledError:sU,isCancel:iU,CancelToken:aU,VERSION:lU,all:uU,Cancel:cU,isAxiosError:mU,spread:dU,toFormData:fU,AxiosHeaders:pU,HttpStatusCode:hU,formToJSON:_U,getAdapter:gU,mergeConfig:yU}=ce;/*!
* shared v9.14.2
* (c) 2024 kazuya kawaguchi
* Released under the MIT License.
*/const fl=typeof window<"u",_o=(e,t=!1)=>t?Symbol.for(e):Symbol(e),nC=(e,t,n)=>rC({l:e,k:t,s:n}),rC=e=>JSON.stringify(e).replace(/\u2028/g,"\\u2028").replace(/\u2029/g,"\\u2029").replace(/\u0027/g,"\\u0027"),Dt=e=>typeof e=="number"&&isFinite(e),oC=e=>wy(e)==="[object Date]",pl=e=>wy(e)==="[object RegExp]",au=e=>Qe(e)&&Object.keys(e).length===0,en=Object.assign,sC=Object.create,ft=(e=null)=>sC(e);let Pf;const ed=()=>Pf||(Pf=typeof globalThis<"u"?globalThis:typeof self<"u"?self:typeof window<"u"?window:typeof global<"u"?global:ft());function If(e){return e.replace(/</g,"&lt;").replace(/>/g,"&gt;").replace(/"/g,"&quot;").replace(/'/g,"&apos;")}const iC=Object.prototype.hasOwnProperty;function Qn(e,t){return iC.call(e,t)}const Vt=Array.isArray,$t=e=>typeof e=="function",Se=e=>typeof e=="string",kt=e=>typeof e=="boolean",rt=e=>e!==null&&typeof e=="object",aC=e=>rt(e)&&$t(e.then)&&$t(e.catch),zy=Object.prototype.toString,wy=e=>zy.call(e),Qe=e=>{if(!rt(e))return!1;const t=Object.getPrototypeOf(e);return t===null||t.constructor===Object},lC=e=>e==null?"":Vt(e)||Qe(e)&&e.toString===zy?JSON.stringify(e,null,2):String(e);function uC(e,t=""){return e.reduce((n,r,o)=>o===0?n+r:n+t+r,"")}function lu(e){let t=e;return()=>++t}function cC(e,t){typeof console<"u"&&(console.warn("[intlify] "+e),t&&console.warn(t.stack))}const ha=e=>!rt(e)||Vt(e);function Va(e,t){if(ha(e)||ha(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])?[]:ft()),ha(o[s])||ha(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 mC(e,t,n){return{line:e,column:t,offset:n}}function hl(e,t,n){return{start:e,end:t}}const dC=/\{([0-9a-zA-Z]+)\}/g;function Sy(e,...t){return t.length===1&&fC(t[0])&&(t=t[0]),(!t||!t.hasOwnProperty)&&(t={}),e.replace(dC,(n,r)=>t.hasOwnProperty(r)?t[r]:"")}const Cy=Object.assign,Lf=e=>typeof e=="string",fC=e=>e!==null&&typeof e=="object";function ky(e,t=""){return e.reduce((n,r,o)=>o===0?n+r:n+t+r,"")}const td={USE_MODULO_SYNTAX:1,__EXTEND_POINT__:2},pC={[td.USE_MODULO_SYNTAX]:"Use modulo before '{{0}}'."};function hC(e,t,...n){const r=Sy(pC[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},_C={[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 Rs(e,t,n={}){const{domain:r,messages:o,args:s}=n,i=Sy((o||_C)[e]||"",...s||[]),a=new SyntaxError(String(i));return a.code=e,t&&(a.location=t),a.domain=r,a}function gC(e){throw e}const kr=" ",yC="\r",rn=`
`,bC="\u2028",vC="\u2029";function zC(e){const t=e;let n=0,r=1,o=1,s=0;const i=L=>t[L]===yC&&t[L+1]===rn,a=L=>t[L]===rn,l=L=>t[L]===vC,u=L=>t[L]===bC,c=L=>i(L)||a(L)||l(L)||u(L),m=()=>n,d=()=>r,f=()=>o,h=()=>s,_=L=>i(L)||l(L)||u(L)?rn:t[L],b=()=>_(n),v=()=>_(n+s);function w(){return s=0,c(n)&&(r++,o=0),i(n)&&n++,n++,o++,t[n]}function g(){return i(n+s)&&s++,s++,t[n+s]}function y(){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:m,line:d,column:f,peekOffset:h,charAt:_,currentChar:b,currentPeek:v,next:w,peek:g,reset:y,resetPeek:S,skipToPeek:C}}const Wr=void 0,wC=".",Nf="'",SC="tokenizer";function CC(e,t={}){const n=t.location!==!1,r=zC(e),o=()=>r.index(),s=()=>mC(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:c}=t;function m(E,T,R,...re){const ae=u();if(T.column+=R,T.offset+=R,c){const oe=n?hl(ae.startLoc,T):null,H=Rs(E,oe,{domain:SC,args:re});c(H)}}function d(E,T,R){E.endLoc=s(),E.currentType=T;const re={type:T};return n&&(re.loc=hl(E.startLoc,E.endLoc)),R!=null&&(re.value=R),re}const f=E=>d(E,14);function h(E,T){return E.currentChar()===T?(E.next(),T):(m(Le.EXPECTED_TOKEN,s(),0,T),"")}function _(E){let T="";for(;E.currentPeek()===kr||E.currentPeek()===rn;)T+=E.currentPeek(),E.peek();return T}function b(E){const T=_(E);return E.skipToPeek(),T}function v(E){if(E===Wr)return!1;const T=E.charCodeAt(0);return T>=97&&T<=122||T>=65&&T<=90||T===95}function w(E){if(E===Wr)return!1;const T=E.charCodeAt(0);return T>=48&&T<=57}function g(E,T){const{currentType:R}=T;if(R!==2)return!1;_(E);const re=v(E.currentPeek());return E.resetPeek(),re}function y(E,T){const{currentType:R}=T;if(R!==2)return!1;_(E);const re=E.currentPeek()==="-"?E.peek():E.currentPeek(),ae=w(re);return E.resetPeek(),ae}function S(E,T){const{currentType:R}=T;if(R!==2)return!1;_(E);const re=E.currentPeek()===Nf;return E.resetPeek(),re}function C(E,T){const{currentType:R}=T;if(R!==8)return!1;_(E);const re=E.currentPeek()===".";return E.resetPeek(),re}function L(E,T){const{currentType:R}=T;if(R!==9)return!1;_(E);const re=v(E.currentPeek());return E.resetPeek(),re}function N(E,T){const{currentType:R}=T;if(!(R===8||R===12))return!1;_(E);const re=E.currentPeek()===":";return E.resetPeek(),re}function x(E,T){const{currentType:R}=T;if(R!==10)return!1;const re=()=>{const oe=E.currentPeek();return oe==="{"?v(E.peek()):oe==="@"||oe==="%"||oe==="|"||oe===":"||oe==="."||oe===kr||!oe?!1:oe===rn?(E.peek(),re()):U(E,!1)},ae=re();return E.resetPeek(),ae}function F(E){_(E);const T=E.currentPeek()==="|";return E.resetPeek(),T}function q(E){const T=_(E),R=E.currentPeek()==="%"&&E.peek()==="{";return E.resetPeek(),{isModulo:R,hasSpace:T.length>0}}function U(E,T=!0){const R=(ae=!1,oe="",H=!1)=>{const Z=E.currentPeek();return Z==="{"?oe==="%"?!1:ae:Z==="@"||!Z?oe==="%"?!0:ae:Z==="%"?(E.peek(),R(ae,"%",!0)):Z==="|"?oe==="%"||H?!0:!(oe===kr||oe===rn):Z===kr?(E.peek(),R(!0,kr,H)):Z===rn?(E.peek(),R(!0,rn,H)):!0},re=R();return T&&E.resetPeek(),re}function W(E,T){const R=E.currentChar();return R===Wr?Wr:T(R)?(E.next(),R):null}function Q(E){const T=E.charCodeAt(0);return T>=97&&T<=122||T>=65&&T<=90||T>=48&&T<=57||T===95||T===36}function de(E){return W(E,Q)}function G(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 te(E){return W(E,G)}function le(E){const T=E.charCodeAt(0);return T>=48&&T<=57}function Ne(E){return W(E,le)}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){b(E);const T=E.currentChar();return T!=="%"&&m(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===kr||R===rn)if(U(E))T+=R,E.next();else{if(F(E))break;T+=R,E.next()}else T+=R,E.next()}return T}function mt(E){b(E);let T="",R="";for(;T=te(E);)R+=T;return E.currentChar()===Wr&&m(Le.UNTERMINATED_CLOSING_BRACE,s(),0),R}function Be(E){b(E);let T="";return E.currentChar()==="-"?(E.next(),T+=`-${He(E)}`):T+=He(E),E.currentChar()===Wr&&m(Le.UNTERMINATED_CLOSING_BRACE,s(),0),T}function K(E){return E!==Nf&&E!==rn}function me(E){b(E),h(E,"'");let T="",R="";for(;T=W(E,K);)T==="\\"?R+=ue(E):R+=T;const re=E.currentChar();return re===rn||re===Wr?(m(Le.UNTERMINATED_SINGLE_QUOTE_IN_PLACEHOLDER,s(),0),re===rn&&(E.next(),h(E,"'")),R):(h(E,"'"),R)}function ue(E){const T=E.currentChar();switch(T){case"\\":case"'":return E.next(),`\\${T}`;case"u":return ye(E,T,4);case"U":return ye(E,T,6);default:return m(Le.UNKNOWN_ESCAPE_SEQUENCE,s(),0,T),""}}function ye(E,T,R){h(E,T);let re="";for(let ae=0;ae<R;ae++){const oe=Ve(E);if(!oe){m(Le.INVALID_UNICODE_ESCAPE_SEQUENCE,s(),0,`\\${T}${re}${E.currentChar()}`);break}re+=oe}return`\\${T}${re}`}function Ue(E){return E!=="{"&&E!=="}"&&E!==kr&&E!==rn}function Ge(E){b(E);let T="",R="";for(;T=W(E,Ue);)R+=T;return R}function O(E){let T="",R="";for(;T=de(E);)R+=T;return R}function P(E){const T=R=>{const re=E.currentChar();return re==="{"||re==="%"||re==="@"||re==="|"||re==="("||re===")"||!re||re===kr?R:(R+=re,E.next(),T(R))};return T("")}function j(E){b(E);const T=h(E,"|");return b(E),T}function ee(E,T){let R=null;switch(E.currentChar()){case"{":return T.braceNest>=1&&m(Le.NOT_ALLOW_NEST_PLACEHOLDER,s(),0),E.next(),R=d(T,2,"{"),b(E),T.braceNest++,R;case"}":return T.braceNest>0&&T.currentType===2&&m(Le.EMPTY_PLACEHOLDER,s(),0),E.next(),R=d(T,3,"}"),T.braceNest--,T.braceNest>0&&b(E),T.inLinked&&T.braceNest===0&&(T.inLinked=!1),R;case"@":return T.braceNest>0&&m(Le.UNTERMINATED_CLOSING_BRACE,s(),0),R=Y(E,T)||f(T),T.braceNest=0,R;default:{let ae=!0,oe=!0,H=!0;if(F(E))return T.braceNest>0&&m(Le.UNTERMINATED_CLOSING_BRACE,s(),0),R=d(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 m(Le.UNTERMINATED_CLOSING_BRACE,s(),0),T.braceNest=0,se(E,T);if(ae=g(E,T))return R=d(T,5,mt(E)),b(E),R;if(oe=y(E,T))return R=d(T,6,Be(E)),b(E),R;if(H=S(E,T))return R=d(T,7,me(E)),b(E),R;if(!ae&&!oe&&!H)return R=d(T,13,Ge(E)),m(Le.INVALID_TOKEN_IN_PLACEHOLDER,s(),0,R.value),b(E),R;break}}return R}function Y(E,T){const{currentType:R}=T;let re=null;const ae=E.currentChar();switch((R===8||R===9||R===12||R===10)&&(ae===rn||ae===kr)&&m(Le.INVALID_LINKED_FORMAT,s(),0),ae){case"@":return E.next(),re=d(T,8,"@"),T.inLinked=!0,re;case".":return b(E),E.next(),d(T,9,".");case":":return b(E),E.next(),d(T,10,":");default:return F(E)?(re=d(T,1,j(E)),T.braceNest=0,T.inLinked=!1,re):C(E,T)||N(E,T)?(b(E),Y(E,T)):L(E,T)?(b(E),d(T,12,O(E))):x(E,T)?(b(E),ae==="{"?ee(E,T)||re:d(T,11,P(E))):(R===8&&m(Le.INVALID_LINKED_FORMAT,s(),0),T.braceNest=0,T.inLinked=!1,se(E,T))}}function se(E,T){let R={type:14};if(T.braceNest>0)return ee(E,T)||f(T);if(T.inLinked)return Y(E,T)||f(T);switch(E.currentChar()){case"{":return ee(E,T)||f(T);case"}":return m(Le.UNBALANCED_CLOSING_BRACE,s(),0),E.next(),d(T,3,"}");case"@":return Y(E,T)||f(T);default:{if(F(E))return R=d(T,1,j(E)),T.braceNest=0,T.inLinked=!1,R;const{isModulo:ae,hasSpace:oe}=q(E);if(ae)return oe?d(T,0,lt(E)):d(T,4,at(E));if(U(E))return d(T,0,lt(E));break}}return R}function pe(){const{currentType:E,offset:T,startLoc:R,endLoc:re}=l;return l.lastType=E,l.lastOffset=T,l.lastStartLoc=R,l.lastEndLoc=re,l.offset=o(),l.startLoc=s(),r.currentChar()===Wr?d(l,14):se(r,l)}return{nextToken:pe,currentOffset:o,currentPosition:s,context:u}}const kC="parser",EC=/(?:\\\\|\\'|\\u([0-9a-fA-F]{4})|\\U([0-9a-fA-F]{6}))/g;function xC(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 TC(e={}){const t=e.location!==!1,{onError:n,onWarn:r}=e;function o(g,y,S,C,...L){const N=g.currentPosition();if(N.offset+=C,N.column+=C,n){const x=t?hl(S,N):null,F=Rs(y,x,{domain:kC,args:L});n(F)}}function s(g,y,S,C,...L){const N=g.currentPosition();if(N.offset+=C,N.column+=C,r){const x=t?hl(S,N):null;r(hC(y,x,L))}}function i(g,y,S){const C={type:g};return t&&(C.start=y,C.end=y,C.loc={start:S,end:S}),C}function a(g,y,S,C){t&&(g.end=y,g.loc&&(g.loc.end=S))}function l(g,y){const S=g.context(),C=i(3,S.offset,S.startLoc);return C.value=y,a(C,g.currentOffset(),g.currentPosition()),C}function u(g,y){const S=g.context(),{lastOffset:C,lastStartLoc:L}=S,N=i(5,C,L);return N.index=parseInt(y,10),g.nextToken(),a(N,g.currentOffset(),g.currentPosition()),N}function c(g,y,S){const C=g.context(),{lastOffset:L,lastStartLoc:N}=C,x=i(4,L,N);return x.key=y,S===!0&&(x.modulo=!0),g.nextToken(),a(x,g.currentOffset(),g.currentPosition()),x}function m(g,y){const S=g.context(),{lastOffset:C,lastStartLoc:L}=S,N=i(9,C,L);return N.value=y.replace(EC,xC),g.nextToken(),a(N,g.currentOffset(),g.currentPosition()),N}function d(g){const y=g.nextToken(),S=g.context(),{lastOffset:C,lastStartLoc:L}=S,N=i(8,C,L);return y.type!==12?(o(g,Le.UNEXPECTED_EMPTY_LINKED_MODIFIER,S.lastStartLoc,0),N.value="",a(N,C,L),{nextConsumeToken:y,node:N}):(y.value==null&&o(g,Le.UNEXPECTED_LEXICAL_ANALYSIS,S.lastStartLoc,0,qn(y)),N.value=y.value||"",a(N,g.currentOffset(),g.currentPosition()),{node:N})}function f(g,y){const S=g.context(),C=i(7,S.offset,S.startLoc);return C.value=y,a(C,g.currentOffset(),g.currentPosition()),C}function h(g){const y=g.context(),S=i(6,y.offset,y.startLoc);let C=g.nextToken();if(C.type===9){const L=d(g);S.modifier=L.node,C=L.nextConsumeToken||g.nextToken()}switch(C.type!==10&&o(g,Le.UNEXPECTED_LEXICAL_ANALYSIS,y.lastStartLoc,0,qn(C)),C=g.nextToken(),C.type===2&&(C=g.nextToken()),C.type){case 11:C.value==null&&o(g,Le.UNEXPECTED_LEXICAL_ANALYSIS,y.lastStartLoc,0,qn(C)),S.key=f(g,C.value||"");break;case 5:C.value==null&&o(g,Le.UNEXPECTED_LEXICAL_ANALYSIS,y.lastStartLoc,0,qn(C)),S.key=c(g,C.value||"");break;case 6:C.value==null&&o(g,Le.UNEXPECTED_LEXICAL_ANALYSIS,y.lastStartLoc,0,qn(C)),S.key=u(g,C.value||"");break;case 7:C.value==null&&o(g,Le.UNEXPECTED_LEXICAL_ANALYSIS,y.lastStartLoc,0,qn(C)),S.key=m(g,C.value||"");break;default:{o(g,Le.UNEXPECTED_EMPTY_LINKED_KEY,y.lastStartLoc,0);const L=g.context(),N=i(7,L.offset,L.startLoc);return N.value="",a(N,L.offset,L.startLoc),S.key=N,a(S,L.offset,L.startLoc),{nextConsumeToken:C,node:S}}}return a(S,g.currentOffset(),g.currentPosition()),{node:S}}function _(g){const y=g.context(),S=y.currentType===1?g.currentOffset():y.offset,C=y.currentType===1?y.endLoc:y.startLoc,L=i(2,S,C);L.items=[];let N=null,x=null;do{const U=N||g.nextToken();switch(N=null,U.type){case 0:U.value==null&&o(g,Le.UNEXPECTED_LEXICAL_ANALYSIS,y.lastStartLoc,0,qn(U)),L.items.push(l(g,U.value||""));break;case 6:U.value==null&&o(g,Le.UNEXPECTED_LEXICAL_ANALYSIS,y.lastStartLoc,0,qn(U)),L.items.push(u(g,U.value||""));break;case 4:x=!0;break;case 5:U.value==null&&o(g,Le.UNEXPECTED_LEXICAL_ANALYSIS,y.lastStartLoc,0,qn(U)),L.items.push(c(g,U.value||"",!!x)),x&&(s(g,td.USE_MODULO_SYNTAX,y.lastStartLoc,0,qn(U)),x=null);break;case 7:U.value==null&&o(g,Le.UNEXPECTED_LEXICAL_ANALYSIS,y.lastStartLoc,0,qn(U)),L.items.push(m(g,U.value||""));break;case 8:{const W=h(g);L.items.push(W.node),N=W.nextConsumeToken||null;break}}}while(y.currentType!==14&&y.currentType!==1);const F=y.currentType===1?y.lastOffset:g.currentOffset(),q=y.currentType===1?y.lastEndLoc:g.currentPosition();return a(L,F,q),L}function b(g,y,S,C){const L=g.context();let N=C.items.length===0;const x=i(1,y,S);x.cases=[],x.cases.push(C);do{const F=_(g);N||(N=F.items.length===0),x.cases.push(F)}while(L.currentType!==14);return N&&o(g,Le.MUST_HAVE_MESSAGES_IN_PLURAL,S,0),a(x,g.currentOffset(),g.currentPosition()),x}function v(g){const y=g.context(),{offset:S,startLoc:C}=y,L=_(g);return y.currentType===14?L:b(g,S,C,L)}function w(g){const y=CC(g,Cy({},e)),S=y.context(),C=i(0,S.offset,S.startLoc);return t&&C.loc&&(C.loc.source=g),C.body=v(y),e.onCacheKey&&(C.cacheKey=e.onCacheKey(g)),S.currentType!==14&&o(y,Le.UNEXPECTED_LEXICAL_ANALYSIS,S.lastStartLoc,0,g[S.offset]||""),a(C,y.currentOffset(),y.currentPosition()),C}return{parse:w}}function qn(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 AC(e,t={}){const n={ast:e,helpers:new Set};return{context:()=>n,helper:s=>(n.helpers.add(s),s)}}function Df(e,t){for(let n=0;n<e.length;n++)nd(e[n],t)}function nd(e,t){switch(e.type){case 1:Df(e.cases,t),t.helper("plural");break;case 2:Df(e.items,t);break;case 6:{nd(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 OC(e,t={}){const n=AC(e);n.helper("normalize"),e.body&&nd(e.body,n);const r=n.context();e.helpers=Array.from(r.helpers)}function $C(e){const t=e.body;return t.type===2?Rf(t):t.cases.forEach(n=>Rf(n)),e}function Rf(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=ky(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 PC="minifier";function os(e){switch(e.t=e.type,e.type){case 0:{const t=e;os(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++)os(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++)os(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;os(t.key),t.k=t.key,delete t.key,t.modifier&&(os(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 Rs(Le.UNHANDLED_MINIFIER_NODE_TYPE,null,{domain:PC,args:[e.type]})}delete e.type}const IC="parser";function LC(e,t){const{filename:n,breakLineCode:r,needIndent:o}=t,s=t.location!==!1,i={filename:n,code:"",column:1,line:1,offset:0,map:void 0,breakLineCode:r,needIndent:o,indentLevel:0};s&&e.loc&&(i.source=e.loc.source);const a=()=>i;function l(_,b){i.code+=_}function u(_,b=!0){const v=b?r:"";l(o?v+" ".repeat(_):v)}function c(_=!0){const b=++i.indentLevel;_&&u(b)}function m(_=!0){const b=--i.indentLevel;_&&u(b)}function d(){u(i.indentLevel)}return{context:a,push:l,indent:c,deindent:m,newline:d,helper:_=>`_${_}`,needIndent:()=>i.needIndent}}function NC(e,t){const{helper:n}=e;e.push(`${n("linked")}(`),ks(e,t.key),t.modifier?(e.push(", "),ks(e,t.modifier),e.push(", _type")):e.push(", undefined, _type"),e.push(")")}function DC(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&&(ks(e,t.items[s]),s!==o-1);s++)e.push(", ");e.deindent(r()),e.push("])")}function RC(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&&(ks(e,t.cases[s]),s!==o-1);s++)e.push(", ");e.deindent(r()),e.push("])")}}function MC(e,t){t.body?ks(e,t.body):e.push("null")}function ks(e,t){const{helper:n}=e;switch(t.type){case 0:MC(e,t);break;case 1:RC(e,t);break;case 2:DC(e,t);break;case 6:NC(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 Rs(Le.UNHANDLED_CODEGEN_NODE_TYPE,null,{domain:IC,args:[t.type]})}}const FC=(e,t={})=>{const n=Lf(t.mode)?t.mode:"normal",r=Lf(t.filename)?t.filename:"message.intl";t.sourceMap;const o=t.breakLineCode!=null?t.breakLineCode:n==="arrow"?";":`
`,s=t.needIndent?t.needIndent:n!=="arrow",i=e.helpers||[],a=LC(e,{filename:r,breakLineCode:o,needIndent:s});a.push(n==="normal"?"function __msg__ (ctx) {":"(ctx) => {"),a.indent(s),i.length>0&&(a.push(`const { ${ky(i.map(c=>`${c}: _${c}`),", ")} } = ctx`),a.newline()),a.push("return "),ks(a,e),a.deindent(s),a.push("}"),delete e.helpers;const{code:l,map:u}=a.context();return{ast:e,code:l,map:u?u.toJSON():void 0}};function VC(e,t={}){const n=Cy({},t),r=!!n.jit,o=!!n.minify,s=n.optimize==null?!0:n.optimize,a=TC(n).parse(e);return r?(s&&$C(a),o&&os(a),{ast:a,code:""}):(OC(a,n),FC(a,n))}/*!
* core-base v9.14.2
* (c) 2024 kazuya kawaguchi
* Released under the MIT License.
*/function HC(){typeof __INTLIFY_PROD_DEVTOOLS__!="boolean"&&(ed().__INTLIFY_PROD_DEVTOOLS__=!1)}const go=[];go[0]={w:[0],i:[3,0],"[":[4],o:[7]};go[1]={w:[1],".":[2],"[":[4],o:[7]};go[2]={w:[2],i:[3,0],0:[3,0]};go[3]={i:[3,0],0:[3,0],w:[1,1],".":[2,1],"[":[4,1],o:[7,1]};go[4]={"'":[5,0],'"':[6,0],"[":[4,2],"]":[1,3],o:8,l:[4,0]};go[5]={"'":[4,0],o:8,l:[5,0]};go[6]={'"':[4,0],o:8,l:[6,0]};const UC=/^\s?(?:true|false|-?[\d.]+|'[^']*'|"[^"]*")\s?$/;function jC(e){return UC.test(e)}function WC(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 BC(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 qC(e){const t=e.trim();return e.charAt(0)==="0"&&isNaN(parseInt(e))?!1:jC(t)?WC(t):"*"+t}function GC(e){const t=[];let n=-1,r=0,o=0,s,i,a,l,u,c,m;const d=[];d[0]=()=>{i===void 0?i=a:i+=a},d[1]=()=>{i!==void 0&&(t.push(i),i=void 0)},d[2]=()=>{d[0](),o++},d[3]=()=>{if(o>0)o--,r=4,d[0]();else{if(o=0,i===void 0||(i=qC(i),i===!1))return!1;d[1]()}};function f(){const h=e[n+1];if(r===5&&h==="'"||r===6&&h==='"')return n++,a="\\"+h,d[0](),!0}for(;r!==null;)if(n++,s=e[n],!(s==="\\"&&f())){if(l=BC(s),m=go[r],u=m[l]||m.l||8,u===8||(r=u[0],u[1]!==void 0&&(c=d[u[1]],c&&(a=s,c()===!1))))return;if(r===7)return t}}const Mf=new Map;function KC(e,t){return rt(e)?e[t]:null}function ZC(e,t){if(!rt(e))return null;let n=Mf.get(t);if(n||(n=GC(t),n&&Mf.set(t,n)),!n)return null;const r=n.length;let o=e,s=0;for(;s<r;){const i=o[n[s]];if(i===void 0||$t(o))return null;o=i,s++}return o}const YC=e=>e,XC=e=>"",JC="text",QC=e=>e.length===0?"":uC(e),ek=lC;function Ff(e,t){return e=Math.abs(e),t===2?e?e>1?1:0:1:e?Math.min(e,2):0}function tk(e){const t=Dt(e.pluralIndex)?e.pluralIndex:-1;return e.named&&(Dt(e.named.count)||Dt(e.named.n))?Dt(e.named.count)?e.named.count:Dt(e.named.n)?e.named.n:t:t}function nk(e,t){t.count||(t.count=e),t.n||(t.n=e)}function rk(e={}){const t=e.locale,n=tk(e),r=rt(e.pluralRules)&&Se(t)&&$t(e.pluralRules[t])?e.pluralRules[t]:Ff,o=rt(e.pluralRules)&&Se(t)&&$t(e.pluralRules[t])?Ff:void 0,s=v=>v[r(n,v.length,o)],i=e.list||[],a=v=>i[v],l=e.named||ft();Dt(e.pluralIndex)&&nk(n,l);const u=v=>l[v];function c(v){const w=$t(e.messages)?e.messages(v):rt(e.messages)?e.messages[v]:!1;return w||(e.parent?e.parent.message(v):XC)}const m=v=>e.modifiers?e.modifiers[v]:YC,d=Qe(e.processor)&&$t(e.processor.normalize)?e.processor.normalize:QC,f=Qe(e.processor)&&$t(e.processor.interpolate)?e.processor.interpolate:ek,h=Qe(e.processor)&&Se(e.processor.type)?e.processor.type:JC,b={list:a,named:u,plural:s,linked:(v,...w)=>{const[g,y]=w;let S="text",C="";w.length===1?rt(g)?(C=g.modifier||C,S=g.type||S):Se(g)&&(C=g||C):w.length===2&&(Se(g)&&(C=g||C),Se(y)&&(S=y||S));const L=c(v)(b),N=S==="vnode"&&Vt(L)&&C?L[0]:L;return C?m(C)(N,S):N},message:c,type:h,interpolate:f,normalize:d,values:en(ft(),i,l)};return b}let Ri=null;function ok(e){Ri=e}function sk(e,t,n){Ri&&Ri.emit("i18n:init",{timestamp:Date.now(),i18n:e,version:t,meta:n})}const ik=ak("function:translate");function ak(e){return t=>Ri&&Ri.emit(e,t)}const lk=td.__EXTEND_POINT__,wo=lu(lk),uk={FALLBACK_TO_TRANSLATE:wo(),CANNOT_FORMAT_NUMBER:wo(),FALLBACK_TO_NUMBER_FORMAT:wo(),CANNOT_FORMAT_DATE:wo(),FALLBACK_TO_DATE_FORMAT:wo(),EXPERIMENTAL_CUSTOM_MESSAGE_COMPILER:wo(),__EXTEND_POINT__:wo()},Ey=Le.__EXTEND_POINT__,So=lu(Ey),yr={INVALID_ARGUMENT:Ey,INVALID_DATE_ARGUMENT:So(),INVALID_ISO_DATE_ARGUMENT:So(),NOT_SUPPORT_NON_STRING_MESSAGE:So(),NOT_SUPPORT_LOCALE_PROMISE_VALUE:So(),NOT_SUPPORT_LOCALE_ASYNC_FUNCTION:So(),NOT_SUPPORT_LOCALE_TYPE:So(),__EXTEND_POINT__:So()};function Pr(e){return Rs(e,null,void 0)}function rd(e,t){return t.locale!=null?Vf(t.locale):Vf(e.locale)}let Wu;function Vf(e){if(Se(e))return e;if($t(e)){if(e.resolvedOnce&&Wu!=null)return Wu;if(e.constructor.name==="Function"){const t=e();if(aC(t))throw Pr(yr.NOT_SUPPORT_LOCALE_PROMISE_VALUE);return Wu=t}else throw Pr(yr.NOT_SUPPORT_LOCALE_ASYNC_FUNCTION)}else throw Pr(yr.NOT_SUPPORT_LOCALE_TYPE)}function ck(e,t,n){return[...new Set([n,...Vt(t)?t:rt(t)?Object.keys(t):Se(t)?[t]:[n]])]}function xy(e,t,n){const r=Se(n)?n:_l,o=e;o.__localeChainCache||(o.__localeChainCache=new Map);let s=o.__localeChainCache.get(r);if(!s){s=[];let i=[n];for(;Vt(i);)i=Hf(s,i,t);const a=Vt(t)||!Qe(t)?t:t.default?t.default:null;i=Se(a)?[a]:a,Vt(i)&&Hf(s,i,!1),o.__localeChainCache.set(r,s)}return s}function Hf(e,t,n){let r=!0;for(let o=0;o<t.length&&kt(r);o++){const s=t[o];Se(s)&&(r=mk(e,t[o],n))}return r}function mk(e,t,n){let r;const o=t.split("-");do{const s=o.join("-");r=dk(e,s,n),o.splice(-1,1)}while(o.length&&r===!0);return r}function dk(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),(Vt(n)||Qe(n))&&n[o]&&(r=n[o])}return r}const fk="9.14.2",uu=-1,_l="en-US",Uf="",jf=e=>`${e.charAt(0).toLocaleUpperCase()}${e.substr(1)}`;function pk(){return{upper:(e,t)=>t==="text"&&Se(e)?e.toUpperCase():t==="vnode"&&rt(e)&&"__v_isVNode"in e?e.children.toUpperCase():e,lower:(e,t)=>t==="text"&&Se(e)?e.toLowerCase():t==="vnode"&&rt(e)&&"__v_isVNode"in e?e.children.toLowerCase():e,capitalize:(e,t)=>t==="text"&&Se(e)?jf(e):t==="vnode"&&rt(e)&&"__v_isVNode"in e?jf(e.children):e}}let Ty;function hk(e){Ty=e}let Ay;function _k(e){Ay=e}let Oy;function gk(e){Oy=e}let $y=null;const yk=e=>{$y=e},bk=()=>$y;let Py=null;const Wf=e=>{Py=e},vk=()=>Py;let Bf=0;function zk(e={}){const t=$t(e.onWarn)?e.onWarn:cC,n=Se(e.version)?e.version:fk,r=Se(e.locale)||$t(e.locale)?e.locale:_l,o=$t(r)?_l:r,s=Vt(e.fallbackLocale)||Qe(e.fallbackLocale)||Se(e.fallbackLocale)||e.fallbackLocale===!1?e.fallbackLocale:o,i=Qe(e.messages)?e.messages:Bu(o),a=Qe(e.datetimeFormats)?e.datetimeFormats:Bu(o),l=Qe(e.numberFormats)?e.numberFormats:Bu(o),u=en(ft(),e.modifiers,pk()),c=e.pluralRules||ft(),m=$t(e.missing)?e.missing:null,d=kt(e.missingWarn)||pl(e.missingWarn)?e.missingWarn:!0,f=kt(e.fallbackWarn)||pl(e.fallbackWarn)?e.fallbackWarn:!0,h=!!e.fallbackFormat,_=!!e.unresolving,b=$t(e.postTranslation)?e.postTranslation:null,v=Qe(e.processor)?e.processor:null,w=kt(e.warnHtmlMessage)?e.warnHtmlMessage:!0,g=!!e.escapeParameter,y=$t(e.messageCompiler)?e.messageCompiler:Ty,S=$t(e.messageResolver)?e.messageResolver:Ay||KC,C=$t(e.localeFallbacker)?e.localeFallbacker:Oy||ck,L=rt(e.fallbackContext)?e.fallbackContext:void 0,N=e,x=rt(N.__datetimeFormatters)?N.__datetimeFormatters:new Map,F=rt(N.__numberFormatters)?N.__numberFormatters:new Map,q=rt(N.__meta)?N.__meta:{};Bf++;const U={version:n,cid:Bf,locale:r,fallbackLocale:s,messages:i,modifiers:u,pluralRules:c,missing:m,missingWarn:d,fallbackWarn:f,fallbackFormat:h,unresolving:_,postTranslation:b,processor:v,warnHtmlMessage:w,escapeParameter:g,messageCompiler:y,messageResolver:S,localeFallbacker:C,fallbackContext:L,onWarn:t,__meta:q};return U.datetimeFormats=a,U.numberFormats=l,U.__datetimeFormatters=x,U.__numberFormatters=F,__INTLIFY_PROD_DEVTOOLS__&&sk(U,n,q),U}const Bu=e=>({[e]:ft()});function od(e,t,n,r,o){const{missing:s,onWarn:i}=e;if(s!==null){const a=s(e,n,t,o);return Se(a)?a:t}else return t}function qs(e,t,n){const r=e;r.__localeChainCache=new Map,e.localeFallbacker(e,n,t)}function wk(e,t){return e===t?!1:e.split("-")[0]===t.split("-")[0]}function Sk(e,t){const n=t.indexOf(e);if(n===-1)return!1;for(let r=n+1;r<t.length;r++)if(wk(e,t[r]))return!0;return!1}function qu(e){return n=>Ck(n,e)}function Ck(e,t){const n=Ek(t);if(n==null)throw Mi(0);if(sd(n)===1){const s=Tk(n);return e.plural(s.reduce((i,a)=>[...i,qf(e,a)],[]))}else return qf(e,n)}const kk=["b","body"];function Ek(e){return yo(e,kk)}const xk=["c","cases"];function Tk(e){return yo(e,xk,[])}function qf(e,t){const n=Ok(t);if(n!=null)return e.type==="text"?n:e.normalize([n]);{const r=Pk(t).reduce((o,s)=>[...o,Yc(e,s)],[]);return e.normalize(r)}}const Ak=["s","static"];function Ok(e){return yo(e,Ak)}const $k=["i","items"];function Pk(e){return yo(e,$k,[])}function Yc(e,t){const n=sd(t);switch(n){case 3:return _a(t,n);case 9:return _a(t,n);case 4:{const r=t;if(Qn(r,"k")&&r.k)return e.interpolate(e.named(r.k));if(Qn(r,"key")&&r.key)return e.interpolate(e.named(r.key));throw Mi(n)}case 5:{const r=t;if(Qn(r,"i")&&Dt(r.i))return e.interpolate(e.list(r.i));if(Qn(r,"index")&&Dt(r.index))return e.interpolate(e.list(r.index));throw Mi(n)}case 6:{const r=t,o=Dk(r),s=Mk(r);return e.linked(Yc(e,s),o?Yc(e,o):void 0,e.type)}case 7:return _a(t,n);case 8:return _a(t,n);default:throw new Error(`unhandled node on format message part: ${n}`)}}const Ik=["t","type"];function sd(e){return yo(e,Ik)}const Lk=["v","value"];function _a(e,t){const n=yo(e,Lk);if(n)return n;throw Mi(t)}const Nk=["m","modifier"];function Dk(e){return yo(e,Nk)}const Rk=["k","key"];function Mk(e){const t=yo(e,Rk);if(t)return t;throw Mi(6)}function yo(e,t,n){for(let r=0;r<t.length;r++){const o=t[r];if(Qn(e,o)&&e[o]!=null)return e[o]}return n}function Mi(e){return new Error(`unhandled node type: ${e}`)}const Fk=e=>e;let ga=ft();function Es(e){return rt(e)&&sd(e)===0&&(Qn(e,"b")||Qn(e,"body"))}function Vk(e,t={}){let n=!1;const r=t.onError||gC;return t.onError=o=>{n=!0,r(o)},{...VC(e,t),detectError:n}}function Hk(e,t){if(Se(e)){kt(t.warnHtmlMessage)&&t.warnHtmlMessage;const r=(t.onCacheKey||Fk)(e),o=ga[r];if(o)return o;const{ast:s,detectError:i}=Vk(e,{...t,location:!1,jit:!0}),a=qu(s);return i?a:ga[r]=a}else{const n=e.cacheKey;if(n){const r=ga[n];return r||(ga[n]=qu(e))}else return qu(e)}}const Gf=()=>"",Ln=e=>$t(e);function Kf(e,...t){const{fallbackFormat:n,postTranslation:r,unresolving:o,messageCompiler:s,fallbackLocale:i,messages:a}=e,[l,u]=Xc(...t),c=kt(u.missingWarn)?u.missingWarn:e.missingWarn,m=kt(u.fallbackWarn)?u.fallbackWarn:e.fallbackWarn,d=kt(u.escapeParameter)?u.escapeParameter:e.escapeParameter,f=!!u.resolvedMessage,h=Se(u.default)||kt(u.default)?kt(u.default)?s?l:()=>l:u.default:n?s?l:()=>l:"",_=n||h!=="",b=rd(e,u);d&&Uk(u);let[v,w,g]=f?[l,b,a[b]||ft()]:Iy(e,l,b,i,m,c),y=v,S=l;if(!f&&!(Se(y)||Es(y)||Ln(y))&&_&&(y=h,S=y),!f&&(!(Se(y)||Es(y)||Ln(y))||!Se(w)))return o?uu:l;let C=!1;const L=()=>{C=!0},N=Ln(y)?y:Ly(e,l,w,y,S,L);if(C)return y;const x=Bk(e,w,g,u),F=rk(x),q=jk(e,N,F),U=r?r(q,l):q;if(__INTLIFY_PROD_DEVTOOLS__){const W={timestamp:Date.now(),key:Se(l)?l:Ln(y)?y.key:"",locale:w||(Ln(y)?y.locale:""),format:Se(y)?y:Ln(y)?y.source:"",message:U};W.meta=en({},e.__meta,bk()||{}),ik(W)}return U}function Uk(e){Vt(e.list)?e.list=e.list.map(t=>Se(t)?If(t):t):rt(e.named)&&Object.keys(e.named).forEach(t=>{Se(e.named[t])&&(e.named[t]=If(e.named[t]))})}function Iy(e,t,n,r,o,s){const{messages:i,onWarn:a,messageResolver:l,localeFallbacker:u}=e,c=u(e,r,n);let m=ft(),d,f=null;const h="translate";for(let _=0;_<c.length&&(d=c[_],m=i[d]||ft(),(f=l(m,t))===null&&(f=m[t]),!(Se(f)||Es(f)||Ln(f)));_++)if(!Sk(d,c)){const b=od(e,t,d,s,h);b!==t&&(f=b)}return[f,d,m]}function Ly(e,t,n,r,o,s){const{messageCompiler:i,warnHtmlMessage:a}=e;if(Ln(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,Wk(e,n,o,r,a,s));return l.locale=n,l.key=t,l.source=r,l}function jk(e,t,n){return t(n)}function Xc(...e){const[t,n,r]=e,o=ft();if(!Se(t)&&!Dt(t)&&!Ln(t)&&!Es(t))throw Pr(yr.INVALID_ARGUMENT);const s=Dt(t)?String(t):(Ln(t),t);return Dt(n)?o.plural=n:Se(n)?o.default=n:Qe(n)&&!au(n)?o.named=n:Vt(n)&&(o.list=n),Dt(r)?o.plural=r:Se(r)?o.default=r:Qe(r)&&en(o,r),[s,o]}function Wk(e,t,n,r,o,s){return{locale:t,key:n,warnHtmlMessage:o,onError:i=>{throw s&&s(i),i},onCacheKey:i=>nC(t,n,i)}}function Bk(e,t,n,r){const{modifiers:o,pluralRules:s,messageResolver:i,fallbackLocale:a,fallbackWarn:l,missingWarn:u,fallbackContext:c}=e,d={locale:t,modifiers:o,pluralRules:s,messages:f=>{let h=i(n,f);if(h==null&&c){const[,,_]=Iy(c,f,t,a,l,u);h=i(_,f)}if(Se(h)||Es(h)){let _=!1;const v=Ly(e,f,t,h,f,()=>{_=!0});return _?Gf:v}else return Ln(h)?h:Gf}};return e.processor&&(d.processor=e.processor),r.list&&(d.list=r.list),r.named&&(d.named=r.named),Dt(r.plural)&&(d.pluralIndex=r.plural),d}function Zf(e,...t){const{datetimeFormats:n,unresolving:r,fallbackLocale:o,onWarn:s,localeFallbacker:i}=e,{__datetimeFormatters:a}=e,[l,u,c,m]=Jc(...t),d=kt(c.missingWarn)?c.missingWarn:e.missingWarn;kt(c.fallbackWarn)?c.fallbackWarn:e.fallbackWarn;const f=!!c.part,h=rd(e,c),_=i(e,o,h);if(!Se(l)||l==="")return new Intl.DateTimeFormat(h,m).format(u);let b={},v,w=null;const g="datetime format";for(let C=0;C<_.length&&(v=_[C],b=n[v]||{},w=b[l],!Qe(w));C++)od(e,l,v,d,g);if(!Qe(w)||!Se(v))return r?uu:l;let y=`${v}__${l}`;au(m)||(y=`${y}__${JSON.stringify(m)}`);let S=a.get(y);return S||(S=new Intl.DateTimeFormat(v,en({},w,m)),a.set(y,S)),f?S.formatToParts(u):S.format(u)}const Ny=["localeMatcher","weekday","era","year","month","day","hour","minute","second","timeZoneName","formatMatcher","hour12","timeZone","dateStyle","timeStyle","calendar","dayPeriod","numberingSystem","hourCycle","fractionalSecondDigits"];function Jc(...e){const[t,n,r,o]=e,s=ft();let i=ft(),a;if(Se(t)){const l=t.match(/(\d{4}-\d{2}-\d{2})(T|\s)?(.*)/);if(!l)throw Pr(yr.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 Pr(yr.INVALID_ISO_DATE_ARGUMENT)}}else if(oC(t)){if(isNaN(t.getTime()))throw Pr(yr.INVALID_DATE_ARGUMENT);a=t}else if(Dt(t))a=t;else throw Pr(yr.INVALID_ARGUMENT);return Se(n)?s.key=n:Qe(n)&&Object.keys(n).forEach(l=>{Ny.includes(l)?i[l]=n[l]:s[l]=n[l]}),Se(r)?s.locale=r:Qe(r)&&(i=r),Qe(o)&&(i=o),[s.key||"",a,s,i]}function Yf(e,t,n){const r=e;for(const o in n){const s=`${t}__${o}`;r.__datetimeFormatters.has(s)&&r.__datetimeFormatters.delete(s)}}function Xf(e,...t){const{numberFormats:n,unresolving:r,fallbackLocale:o,onWarn:s,localeFallbacker:i}=e,{__numberFormatters:a}=e,[l,u,c,m]=Qc(...t),d=kt(c.missingWarn)?c.missingWarn:e.missingWarn;kt(c.fallbackWarn)?c.fallbackWarn:e.fallbackWarn;const f=!!c.part,h=rd(e,c),_=i(e,o,h);if(!Se(l)||l==="")return new Intl.NumberFormat(h,m).format(u);let b={},v,w=null;const g="number format";for(let C=0;C<_.length&&(v=_[C],b=n[v]||{},w=b[l],!Qe(w));C++)od(e,l,v,d,g);if(!Qe(w)||!Se(v))return r?uu:l;let y=`${v}__${l}`;au(m)||(y=`${y}__${JSON.stringify(m)}`);let S=a.get(y);return S||(S=new Intl.NumberFormat(v,en({},w,m)),a.set(y,S)),f?S.formatToParts(u):S.format(u)}const Dy=["localeMatcher","style","currency","currencyDisplay","currencySign","useGrouping","minimumIntegerDigits","minimumFractionDigits","maximumFractionDigits","minimumSignificantDigits","maximumSignificantDigits","compactDisplay","notation","signDisplay","unit","unitDisplay","roundingMode","roundingPriority","roundingIncrement","trailingZeroDisplay"];function Qc(...e){const[t,n,r,o]=e,s=ft();let i=ft();if(!Dt(t))throw Pr(yr.INVALID_ARGUMENT);const a=t;return Se(n)?s.key=n:Qe(n)&&Object.keys(n).forEach(l=>{Dy.includes(l)?i[l]=n[l]:s[l]=n[l]}),Se(r)?s.locale=r:Qe(r)&&(i=r),Qe(o)&&(i=o),[s.key||"",a,s,i]}function Jf(e,t,n){const r=e;for(const o in n){const s=`${t}__${o}`;r.__numberFormatters.has(s)&&r.__numberFormatters.delete(s)}}HC();/*!
* vue-i18n v9.14.2
* (c) 2024 kazuya kawaguchi
* Released under the MIT License.
*/const qk="9.14.2";function Gk(){typeof __INTLIFY_PROD_DEVTOOLS__!="boolean"&&(ed().__INTLIFY_PROD_DEVTOOLS__=!1)}const Kk=uk.__EXTEND_POINT__,Er=lu(Kk);Er(),Er(),Er(),Er(),Er(),Er(),Er(),Er(),Er();const Ry=yr.__EXTEND_POINT__,mn=lu(Ry),Un={UNEXPECTED_RETURN_TYPE:Ry,INVALID_ARGUMENT:mn(),MUST_BE_CALL_SETUP_TOP:mn(),NOT_INSTALLED:mn(),NOT_AVAILABLE_IN_LEGACY_MODE:mn(),REQUIRED_VALUE:mn(),INVALID_VALUE:mn(),CANNOT_SETUP_VUE_DEVTOOLS_PLUGIN:mn(),NOT_INSTALLED_WITH_PROVIDE:mn(),UNEXPECTED_ERROR:mn(),NOT_COMPATIBLE_LEGACY_VUE_I18N:mn(),BRIDGE_SUPPORT_VUE_2_ONLY:mn(),MUST_DEFINE_I18N_OPTION_IN_ALLOW_COMPOSITION:mn(),NOT_AVAILABLE_COMPOSITION_IN_LEGACY:mn(),__EXTEND_POINT__:mn()};function rr(e,...t){return Rs(e,null,void 0)}const em=_o("__translateVNode"),tm=_o("__datetimeParts"),nm=_o("__numberParts"),Zk=_o("__setPluralRules"),Yk=_o("__injectWithOption"),rm=_o("__dispose");function Fi(e){if(!rt(e))return e;for(const t in e)if(Qn(e,t))if(!t.includes("."))rt(e[t])&&Fi(e[t]);else{const n=t.split("."),r=n.length-1;let o=e,s=!1;for(let i=0;i<r;i++){if(n[i]in o||(o[n[i]]=ft()),!rt(o[n[i]])){s=!0;break}o=o[n[i]]}s||(o[n[r]]=e[t],delete e[t]),rt(o[n[r]])&&Fi(o[n[r]])}return e}function My(e,t){const{messages:n,__i18n:r,messageResolver:o,flatJson:s}=t,i=Qe(n)?n:Vt(r)?ft():{[e]:ft()};if(Vt(r)&&r.forEach(a=>{if("locale"in a&&"resource"in a){const{locale:l,resource:u}=a;l?(i[l]=i[l]||ft(),Va(u,i[l])):Va(u,i)}else Se(a)&&Va(JSON.parse(a),i)}),o==null&&s)for(const a in i)Qn(i,a)&&Fi(i[a]);return i}function Fy(e){return e.type}function Xk(e,t,n){let r=rt(t.messages)?t.messages:ft();"__i18nGlobal"in n&&(r=My(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 Qf(e){return z(Ir,null,e,0)}const ep="__INTLIFY_META__",tp=()=>[],Jk=()=>!1;let np=0;function rp(e){return(t,n,r,o)=>e(n,r,un()||void 0,o)}const Qk=()=>{const e=un();let t=null;return e&&(t=Fy(e)[ep])?{[ep]:t}:null};function Vy(e={},t){const{__root:n,__injectWithOption:r}=e,o=n===void 0,s=e.flatJson,i=fl?Mn:jl,a=!!e.translateExistCompatible;let l=kt(e.inheritLocale)?e.inheritLocale:!0;const u=i(n&&l?n.locale.value:Se(e.locale)?e.locale:_l),c=i(n&&l?n.fallbackLocale.value:Se(e.fallbackLocale)||Vt(e.fallbackLocale)||Qe(e.fallbackLocale)||e.fallbackLocale===!1?e.fallbackLocale:u.value),m=i(My(u.value,e)),d=i(Qe(e.datetimeFormats)?e.datetimeFormats:{[u.value]:{}}),f=i(Qe(e.numberFormats)?e.numberFormats:{[u.value]:{}});let h=n?n.missingWarn:kt(e.missingWarn)||pl(e.missingWarn)?e.missingWarn:!0,_=n?n.fallbackWarn:kt(e.fallbackWarn)||pl(e.fallbackWarn)?e.fallbackWarn:!0,b=n?n.fallbackRoot:kt(e.fallbackRoot)?e.fallbackRoot:!0,v=!!e.fallbackFormat,w=$t(e.missing)?e.missing:null,g=$t(e.missing)?rp(e.missing):null,y=$t(e.postTranslation)?e.postTranslation:null,S=n?n.warnHtmlMessage:kt(e.warnHtmlMessage)?e.warnHtmlMessage:!0,C=!!e.escapeParameter;const L=n?n.modifiers:Qe(e.modifiers)?e.modifiers:{};let N=e.pluralRules||n&&n.pluralRules,x;x=(()=>{o&&Wf(null);const H={version:qk,locale:u.value,fallbackLocale:c.value,messages:m.value,modifiers:L,pluralRules:N,missing:g===null?void 0:g,missingWarn:h,fallbackWarn:_,fallbackFormat:v,unresolving:!0,postTranslation:y===null?void 0:y,warnHtmlMessage:S,escapeParameter:C,messageResolver:e.messageResolver,messageCompiler:e.messageCompiler,__meta:{framework:"vue"}};H.datetimeFormats=d.value,H.numberFormats=f.value,H.__datetimeFormatters=Qe(x)?x.__datetimeFormatters:void 0,H.__numberFormatters=Qe(x)?x.__numberFormatters:void 0;const Z=zk(H);return o&&Wf(Z),Z})(),qs(x,u.value,c.value);function q(){return[u.value,c.value,m.value,d.value,f.value]}const U=Ut({get:()=>u.value,set:H=>{u.value=H,x.locale=u.value}}),W=Ut({get:()=>c.value,set:H=>{c.value=H,x.fallbackLocale=c.value,qs(x,u.value,H)}}),Q=Ut(()=>m.value),de=Ut(()=>d.value),G=Ut(()=>f.value);function te(){return $t(y)?y:null}function le(H){y=H,x.postTranslation=H}function Ne(){return w}function it(H){H!==null&&(g=rp(H)),w=H,x.missing=g}const Ve=(H,Z,Ce,M,V,B)=>{q();let ne;try{__INTLIFY_PROD_DEVTOOLS__,o||(x.fallbackContext=n?vk():void 0),ne=H(x)}finally{__INTLIFY_PROD_DEVTOOLS__,o||(x.fallbackContext=void 0)}if(Ce!=="translate exists"&&Dt(ne)&&ne===uu||Ce==="translate exists"&&!ne){const[_e,xe]=Z();return n&&b?M(n):V(_e)}else{if(B(ne))return ne;throw rr(Un.UNEXPECTED_RETURN_TYPE)}};function He(...H){return Ve(Z=>Reflect.apply(Kf,null,[Z,...H]),()=>Xc(...H),"translate",Z=>Reflect.apply(Z.t,Z,[...H]),Z=>Z,Z=>Se(Z))}function at(...H){const[Z,Ce,M]=H;if(M&&!rt(M))throw rr(Un.INVALID_ARGUMENT);return He(Z,Ce,en({resolvedMessage:!0},M||{}))}function lt(...H){return Ve(Z=>Reflect.apply(Zf,null,[Z,...H]),()=>Jc(...H),"datetime format",Z=>Reflect.apply(Z.d,Z,[...H]),()=>Uf,Z=>Se(Z))}function mt(...H){return Ve(Z=>Reflect.apply(Xf,null,[Z,...H]),()=>Qc(...H),"number format",Z=>Reflect.apply(Z.n,Z,[...H]),()=>Uf,Z=>Se(Z))}function Be(H){return H.map(Z=>Se(Z)||Dt(Z)||kt(Z)?Qf(String(Z)):Z)}const me={normalize:Be,interpolate:H=>H,type:"vnode"};function ue(...H){return Ve(Z=>{let Ce;const M=Z;try{M.processor=me,Ce=Reflect.apply(Kf,null,[M,...H])}finally{M.processor=null}return Ce},()=>Xc(...H),"translate",Z=>Z[em](...H),Z=>[Qf(Z)],Z=>Vt(Z))}function ye(...H){return Ve(Z=>Reflect.apply(Xf,null,[Z,...H]),()=>Qc(...H),"number format",Z=>Z[nm](...H),tp,Z=>Se(Z)||Vt(Z))}function Ue(...H){return Ve(Z=>Reflect.apply(Zf,null,[Z,...H]),()=>Jc(...H),"datetime format",Z=>Z[tm](...H),tp,Z=>Se(Z)||Vt(Z))}function Ge(H){N=H,x.pluralRules=N}function O(H,Z){return Ve(()=>{if(!H)return!1;const Ce=Se(Z)?Z:u.value,M=ee(Ce),V=x.messageResolver(M,H);return a?V!=null:Es(V)||Ln(V)||Se(V)},()=>[H],"translate exists",Ce=>Reflect.apply(Ce.te,Ce,[H,Z]),Jk,Ce=>kt(Ce))}function P(H){let Z=null;const Ce=xy(x,c.value,u.value);for(let M=0;M<Ce.length;M++){const V=m.value[Ce[M]]||{},B=x.messageResolver(V,H);if(B!=null){Z=B;break}}return Z}function j(H){const Z=P(H);return Z??(n?n.tm(H)||{}:{})}function ee(H){return m.value[H]||{}}function Y(H,Z){if(s){const Ce={[H]:Z};for(const M in Ce)Qn(Ce,M)&&Fi(Ce[M]);Z=Ce[H]}m.value[H]=Z,x.messages=m.value}function se(H,Z){m.value[H]=m.value[H]||{};const Ce={[H]:Z};if(s)for(const M in Ce)Qn(Ce,M)&&Fi(Ce[M]);Z=Ce[H],Va(Z,m.value[H]),x.messages=m.value}function pe(H){return d.value[H]||{}}function E(H,Z){d.value[H]=Z,x.datetimeFormats=d.value,Yf(x,H,Z)}function T(H,Z){d.value[H]=en(d.value[H]||{},Z),x.datetimeFormats=d.value,Yf(x,H,Z)}function R(H){return f.value[H]||{}}function re(H,Z){f.value[H]=Z,x.numberFormats=f.value,Jf(x,H,Z)}function ae(H,Z){f.value[H]=en(f.value[H]||{},Z),x.numberFormats=f.value,Jf(x,H,Z)}np++,n&&fl&&(xn(n.locale,H=>{l&&(u.value=H,x.locale=H,qs(x,u.value,c.value))}),xn(n.fallbackLocale,H=>{l&&(c.value=H,x.fallbackLocale=H,qs(x,u.value,c.value))}));const oe={id:np,locale:U,fallbackLocale:W,get inheritLocale(){return l},set inheritLocale(H){l=H,H&&n&&(u.value=n.locale.value,c.value=n.fallbackLocale.value,qs(x,u.value,c.value))},get availableLocales(){return Object.keys(m.value).sort()},messages:Q,get modifiers(){return L},get pluralRules(){return N||{}},get isGlobal(){return o},get missingWarn(){return h},set missingWarn(H){h=H,x.missingWarn=h},get fallbackWarn(){return _},set fallbackWarn(H){_=H,x.fallbackWarn=_},get fallbackRoot(){return b},set fallbackRoot(H){b=H},get fallbackFormat(){return v},set fallbackFormat(H){v=H,x.fallbackFormat=v},get warnHtmlMessage(){return S},set warnHtmlMessage(H){S=H,x.warnHtmlMessage=H},get escapeParameter(){return C},set escapeParameter(H){C=H,x.escapeParameter=H},t:He,getLocaleMessage:ee,setLocaleMessage:Y,mergeLocaleMessage:se,getPostTranslationHandler:te,setPostTranslationHandler:le,getMissingHandler:Ne,setMissingHandler:it,[Zk]:Ge};return oe.datetimeFormats=de,oe.numberFormats=G,oe.rt=at,oe.te=O,oe.tm=j,oe.d=lt,oe.n=mt,oe.getDateTimeFormat=pe,oe.setDateTimeFormat=E,oe.mergeDateTimeFormat=T,oe.getNumberFormat=R,oe.setNumberFormat=re,oe.mergeNumberFormat=ae,oe[Yk]=r,oe[em]=ue,oe[tm]=Ue,oe[nm]=ye,oe}const id={tag:{type:[String,Object]},locale:{type:String},scope:{type:String,validator:e=>e==="parent"||e==="global",default:"parent"},i18n:{type:Object}};function eE({slots:e},t){return t.length===1&&t[0]==="default"?(e.default?e.default():[]).reduce((r,o)=>[...r,...o.type===be?o.children:[o]],[]):t.reduce((n,r)=>{const o=e[r];return o&&(n[r]=o()),n},ft())}function Hy(e){return be}const tE=Mr({name:"i18n-t",props:en({keypath:{type:String,required:!0},plural:{type:[Number,String],validator:e=>Dt(e)||!isNaN(e)}},id),setup(e,t){const{slots:n,attrs:r}=t,o=e.i18n||ad({useScope:e.scope,__useComponent:!0});return()=>{const s=Object.keys(n).filter(m=>m!=="_"),i=ft();e.locale&&(i.locale=e.locale),e.plural!==void 0&&(i.plural=Se(e.plural)?+e.plural:e.plural);const a=eE(t,s),l=o[em](e.keypath,a,i),u=en(ft(),r),c=Se(e.tag)||rt(e.tag)?e.tag:Hy();return gr(c,u,l)}}}),op=tE;function nE(e){return Vt(e)&&!Se(e[0])}function Uy(e,t,n,r){const{slots:o,attrs:s}=t;return()=>{const i={part:!0};let a=ft();e.locale&&(i.locale=e.locale),Se(e.format)?i.key=e.format:rt(e.format)&&(Se(e.format.key)&&(i.key=e.format.key),a=Object.keys(e.format).reduce((d,f)=>n.includes(f)?en(ft(),d,{[f]:e.format[f]}):d,ft()));const l=r(e.value,i,a);let u=[i.key];Vt(l)?u=l.map((d,f)=>{const h=o[d.type],_=h?h({[d.type]:d.value,index:f,parts:l}):[d.value];return nE(_)&&(_[0].key=`${d.type}-${f}`),_}):Se(l)&&(u=[l]);const c=en(ft(),s),m=Se(e.tag)||rt(e.tag)?e.tag:Hy();return gr(m,c,u)}}const rE=Mr({name:"i18n-n",props:en({value:{type:Number,required:!0},format:{type:[String,Object]}},id),setup(e,t){const n=e.i18n||ad({useScope:e.scope,__useComponent:!0});return Uy(e,t,Dy,(...r)=>n[nm](...r))}}),sp=rE,oE=Mr({name:"i18n-d",props:en({value:{type:[Number,Date],required:!0},format:{type:[String,Object]}},id),setup(e,t){const n=e.i18n||ad({useScope:e.scope,__useComponent:!0});return Uy(e,t,Ny,(...r)=>n[tm](...r))}}),ip=oE;function sE(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 iE(e){const t=i=>{const{instance:a,modifiers:l,value:u}=i;if(!a||!a.$)throw rr(Un.UNEXPECTED_ERROR);const c=sE(e,a.$),m=ap(u);return[Reflect.apply(c.t,c,[...lp(m)]),c]};return{created:(i,a)=>{const[l,u]=t(a);fl&&e.global===u&&(i.__i18nWatcher=xn(u.locale,()=>{a.instance&&a.instance.$forceUpdate()})),i.__composer=u,i.textContent=l},unmounted:i=>{fl&&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=ap(a);i.textContent=Reflect.apply(l.t,l,[...lp(u)])}},getSSRProps:i=>{const[a]=t(i);return{textContent:a}}}}function ap(e){if(Se(e))return{path:e};if(Qe(e)){if(!("path"in e))throw rr(Un.REQUIRED_VALUE,"path");return e}else throw rr(Un.INVALID_VALUE)}function lp(e){const{path:t,locale:n,args:r,choice:o,plural:s}=e,i={},a=r||{};return Se(n)&&(i.locale=n),Dt(o)&&(i.plural=o),Dt(s)&&(i.plural=s),[t,a,i]}function aE(e,t,...n){const r=Qe(n[0])?n[0]:{},o=!!r.useI18nComponentName;(kt(r.globalInstall)?r.globalInstall:!0)&&([o?"i18n":op.name,"I18nT"].forEach(i=>e.component(i,op)),[sp.name,"I18nN"].forEach(i=>e.component(i,sp)),[ip.name,"I18nD"].forEach(i=>e.component(i,ip))),e.directive("t",iE(t))}const lE=_o("global-vue-i18n");function uE(e={},t){const n=kt(e.globalInjection)?e.globalInjection:!0,r=!0,o=new Map,[s,i]=cE(e),a=_o("");function l(m){return o.get(m)||null}function u(m,d){o.set(m,d)}function c(m){o.delete(m)}{const m={get mode(){return"composition"},get allowComposition(){return r},async install(d,...f){if(d.__VUE_I18N_SYMBOL__=a,d.provide(d.__VUE_I18N_SYMBOL__,m),Qe(f[0])){const b=f[0];m.__composerExtend=b.__composerExtend,m.__vueI18nExtend=b.__vueI18nExtend}let h=null;n&&(h=yE(d,m.global)),aE(d,m,...f);const _=d.unmount;d.unmount=()=>{h&&h(),m.dispose(),_()}},get global(){return i},dispose(){s.stop()},__instances:o,__getInstance:l,__setInstance:u,__deleteInstance:c};return m}}function ad(e={}){const t=un();if(t==null)throw rr(Un.MUST_BE_CALL_SETUP_TOP);if(!t.isCE&&t.appContext.app!=null&&!t.appContext.app.__VUE_I18N_SYMBOL__)throw rr(Un.NOT_INSTALLED);const n=mE(t),r=fE(n),o=Fy(t),s=dE(e,o);if(s==="global")return Xk(r,e,o),r;if(s==="parent"){let l=pE(n,t,e.__useComponent);return l==null&&(l=r),l}const i=n;let a=i.__getInstance(t);if(a==null){const l=en({},e);"__i18n"in o&&(l.__i18n=o.__i18n),r&&(l.__root=r),a=Vy(l),i.__composerExtend&&(a[rm]=i.__composerExtend(a)),_E(i,t,a),i.__setInstance(t,a)}return a}function cE(e,t,n){const r=Dl();{const o=r.run(()=>Vy(e));if(o==null)throw rr(Un.UNEXPECTED_ERROR);return[r,o]}}function mE(e){{const t=Fn(e.isCE?lE:e.appContext.app.__VUE_I18N_SYMBOL__);if(!t)throw rr(e.isCE?Un.NOT_INSTALLED_WITH_PROVIDE:Un.UNEXPECTED_ERROR);return t}}function dE(e,t){return au(e)?"__i18n"in t?"local":"global":e.useScope?e.useScope:"local"}function fE(e){return e.mode==="composition"?e.global:e.global.__composer}function pE(e,t,n=!1){let r=null;const o=t.root;let s=hE(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 hE(e,t=!1){return e==null?null:t&&e.vnode.ctx||e.parent}function _E(e,t,n){Ls(()=>{},t),Gi(()=>{const r=n;e.__deleteInstance(t);const o=r[rm];o&&(o(),delete r[rm])},t)}const gE=["locale","fallbackLocale","availableLocales"],up=["t","rt","d","n","tm","te"];function yE(e,t){const n=Object.create(null);return gE.forEach(o=>{const s=Object.getOwnPropertyDescriptor(t,o);if(!s)throw rr(Un.UNEXPECTED_ERROR);const i=wt(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,up.forEach(o=>{const s=Object.getOwnPropertyDescriptor(t,o);if(!s||!s.value)throw rr(Un.UNEXPECTED_ERROR);Object.defineProperty(e.config.globalProperties,`$${o}`,s)}),()=>{delete e.config.globalProperties.$i18n,up.forEach(o=>{delete e.config.globalProperties[`$${o}`]})}}Gk();hk(Hk);_k(ZC);gk(xy);if(__INTLIFY_PROD_DEVTOOLS__){const e=ed();e.__INTLIFY__=!0,ok(e.__INTLIFY_DEVTOOLS_GLOBAL_HOOK__)}const Gu=e=>e&&typeof e=="object"&&!Array.isArray(e),om=(e,...t)=>{if(!t.length)return e;const n=t.shift();if(Gu(e)&&Gu(n))for(const r in n)Gu(n[r])?(e[r]||Object.assign(e,{[r]:{}}),om(e[r],n[r])):Object.assign(e,{[r]:n[r]});return om(e,...t)},bE=om({},{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:{"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"])},"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:{"added-on":e=>{const{normalize:t}=e;return t(["Hinzugefügt am"])},albums:e=>{const{normalize:t}=e;return t(["Alben"])},tracks:e=>{const{normalize:t}=e;return t(["Tracks"])},type:e=>{const{normalize:t}=e;return t(["Art"])}},composer:{albums:e=>{const{normalize:t}=e;return t(["Alben"])},duration:e=>{const{normalize:t}=e;return t(["Dauer"])},tracks:e=>{const{normalize:t}=e;return t(["Tracks"])}},genre:{albums:e=>{const{normalize:t}=e;return t(["Alben"])},duration:e=>{const{normalize:t}=e;return t(["Dauer"])},tracks:e=>{const{normalize:t}=e;return t(["Tracks"])}},playable:{"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"])}},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:{"album-artist":e=>{const{normalize:t}=e;return t(["Album-Künstler"])},"release-date":e=>{const{normalize:t}=e;return t(["Erscheinungsdatum"])},type:e=>{const{normalize:t}=e;return t(["Art"])}},artist:{genres:e=>{const{normalize:t}=e;return t(["Genres"])},popularity:e=>{const{normalize:t}=e;return t(["Popularität / Followers"])}},playlist:{owner:e=>{const{normalize:t}=e;return t(["Besitzer"])},path:e=>{const{normalize:t}=e;return t(["Pfad"])},tracks:e=>{const{normalize:t}=e;return t(["Tracks"])}},track:{"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"])},position:e=>{const{normalize:t}=e;return t(["Disc / Track"])},"release-date":e=>{const{normalize:t}=e;return t(["Erscheinungsdatum"])}}},track:{"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"])},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"])},position:e=>{const{normalize:t}=e;return t(["Disc / Track"])},"quality-value":e=>{const{normalize:t,interpolate:n,named:r}=e;return t([n(r("format"))," ","|"," ",n(r("samplerate"))," Hz ","|"," ",n(r("channels"))," ","|"," ",n(r("bitrate"))," kbit/s"])},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"])},"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:e=>{const{normalize:t,interpolate:n,named:r}=e;return t(["Diesen Podcast dauerhaft aus der Bibliothek löschen?",n(r("separator")),"(Damit wird auch die RSS-Playliste ",n(r("name"))," gelöscht)"])},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"])},name:e=>{const{normalize:t}=e;return t(["Name"])},"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":e=>{const{normalize:t,interpolate:n,named:r}=e;return t(["Diesen Podcast dauerhaft aus der Bibliothek löschen?",n(r("separator")),"(Damit wird auch die RSS-Playliste ",n(r("name"))," 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"])},save:e=>{const{normalize:t}=e;return t(["Speichern"])},title:e=>{const{normalize:t}=e;return t(["Warteschlange"])}},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:{title: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:"])},"show-coverart":e=>{const{normalize:t}=e;return t(["Zeige Cover-Artwork in der Albumliste"])},spotify:e=>{const{normalize:t}=e;return t(["Spotify"])},streaming:e=>{const{normalize:t}=e;return t(["Bereitgestellte Artwork von Radiostationen ignorieren"])}},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:{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"])},"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-help":e=>{const{normalize:t,interpolate:n,list:r}=e;return t(["Komma getrennte Liste der Genres, für die der Komponist angezeigt werden soll.",n(r(0)),"Leer lassen, um den Komponisten immer anzuzeigen.",n(r(0)),'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 angezeigt."])},"show-composer":e=>{const{normalize:t}=e;return t(["Komponisten anzeigen"])},"show-path":e=>{const{normalize:t}=e;return t(["Dateipfad 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. 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"])}}},server:{"connection-failed":e=>{const{normalize:t}=e;return t(["Fehler bei Verbindung zum OwnTone-Server"])},"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:{"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"])},"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:{"added-on":e=>{const{normalize:t}=e;return t(["Added On"])},albums:e=>{const{normalize:t}=e;return t(["Albums"])},tracks:e=>{const{normalize:t}=e;return t(["Tracks"])},type:e=>{const{normalize:t}=e;return t(["Type"])}},composer:{albums:e=>{const{normalize:t}=e;return t(["Albums"])},duration:e=>{const{normalize:t}=e;return t(["Duration"])},tracks:e=>{const{normalize:t}=e;return t(["Tracks"])}},genre:{albums:e=>{const{normalize:t}=e;return t(["Albums"])},duration:e=>{const{normalize:t}=e;return t(["Duration"])},tracks:e=>{const{normalize:t}=e;return t(["Tracks"])}},playable:{"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"])}},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:{"album-artist":e=>{const{normalize:t}=e;return t(["Album Artist"])},"release-date":e=>{const{normalize:t}=e;return t(["Release Date"])},type:e=>{const{normalize:t}=e;return t(["Type"])}},artist:{genres:e=>{const{normalize:t}=e;return t(["Genres"])},popularity:e=>{const{normalize:t}=e;return t(["Popularity / Followers"])}},playlist:{owner:e=>{const{normalize:t}=e;return t(["Owner"])},path:e=>{const{normalize:t}=e;return t(["Path"])},tracks:e=>{const{normalize:t}=e;return t(["Tracks"])}},track:{"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"])},position:e=>{const{normalize:t}=e;return t(["Disc / Track"])},"release-date":e=>{const{normalize:t}=e;return t(["Release Date"])}}},track:{"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"])},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"])},position:e=>{const{normalize:t}=e;return t(["Disc / Track"])},"quality-value":e=>{const{normalize:t,interpolate:n,named:r}=e;return t([n(r("format"))," ","|"," ",n(r("samplerate"))," Hz ","|"," ",n(r("channels"))," ","|"," ",n(r("bitrate"))," kbit/s"])},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"])},"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:e=>{const{normalize:t,interpolate:n,named:r}=e;return t(["Permanently remove this podcast from your library?",n(r("separator")),"(This will also remove the RSS playlist ",n(r("name")),")"])},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"])},name:e=>{const{normalize:t}=e;return t(["Name"])},"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":e=>{const{normalize:t,interpolate:n,named:r}=e;return t(["Permanently remove this podcast from your library?",n(r("separator")),"(This will also remove the RSS playlist ",n(r("name")),")"])},"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"])},save:e=>{const{normalize:t}=e;return t(["Save"])},title:e=>{const{normalize:t}=e;return t(["Queue"])}},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:{title: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:"])},"show-coverart":e=>{const{normalize:t}=e;return t(["Show cover artwork in album list"])},spotify:e=>{const{normalize:t}=e;return t(["Spotify"])},streaming:e=>{const{normalize:t}=e;return t(["Ignore artwork provided by radio stations"])}},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:{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 displayed"])},"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-help":e=>{const{normalize:t,interpolate:n,list:r}=e;return t(["Comma-separated list of genres, for which the composer must be displayed.",n(r(0)),"Leave empty to always show the composer.",n(r(0)),'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 displayed"])},"show-composer":e=>{const{normalize:t}=e;return t(["Show composer"])},"show-path":e=>{const{normalize:t}=e;return t(["Show filepath"])}},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. 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"])}}},server:{"connection-failed":e=>{const{normalize:t}=e;return t(["Failed to connect to OwnTone server"])},"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:{"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"])},"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:{"added-on":e=>{const{normalize:t}=e;return t(["Ajouté le"])},albums:e=>{const{normalize:t}=e;return t(["Albums"])},tracks:e=>{const{normalize:t}=e;return t(["Pistes"])},type:e=>{const{normalize:t}=e;return t(["Type"])}},composer:{albums:e=>{const{normalize:t}=e;return t(["Albums"])},duration:e=>{const{normalize:t}=e;return t(["Durée"])},tracks:e=>{const{normalize:t}=e;return t(["Pistes"])}},genre:{albums:e=>{const{normalize:t}=e;return t(["Albums"])},duration:e=>{const{normalize:t}=e;return t(["Durée"])},tracks:e=>{const{normalize:t}=e;return t(["Pistes"])}},playable:{"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"])}},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:{"album-artist":e=>{const{normalize:t}=e;return t(["Artiste de lalbum"])},"release-date":e=>{const{normalize:t}=e;return t(["Date de sortie"])},type:e=>{const{normalize:t}=e;return t(["Type"])}},artist:{genres:e=>{const{normalize:t}=e;return t(["Genres"])},popularity:e=>{const{normalize:t}=e;return t(["Popularité / Abonnements"])}},playlist:{owner:e=>{const{normalize:t}=e;return t(["Propriétaire"])},path:e=>{const{normalize:t}=e;return t(["Emplacement"])},tracks:e=>{const{normalize:t}=e;return t(["Pistes"])}},track:{"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"])},position:e=>{const{normalize:t}=e;return t(["Disque / Piste"])},"release-date":e=>{const{normalize:t}=e;return t(["Date de sortie"])}}},track:{"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"])},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"])},position:e=>{const{normalize:t}=e;return t(["Disque / Piste"])},"quality-value":e=>{const{normalize:t,interpolate:n,named:r}=e;return t([n(r("format"))," ","|"," ",n(r("samplerate"))," Hz ","|"," ",n(r("channels"))," ","|"," ",n(r("bitrate"))," kbit/s"])},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"])},"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:e=>{const{normalize:t,interpolate:n,named:r}=e;return t(["Supprimer définitivement ce podcast de votre bibliothèque ?",n(r("separator")),"(Cela supprimera également la liste de lecture RSS ",n(r("name")),")"])},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"])},name:e=>{const{normalize:t}=e;return t(["Nom"])},"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":e=>{const{normalize:t,interpolate:n,named:r}=e;return t(["Supprimer ce podcast de manière permanente de la bibliothèque ?",n(r("separator")),"(Cela supprimera également la liste de lecture RSS ",n(r("name")),")"])},"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"])},save:e=>{const{normalize:t}=e;return t(["Enregistrer"])},title:e=>{const{normalize:t}=e;return t(["File dattente"])}},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:{title: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(["OwnTone 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 :"])},"show-coverart":e=>{const{normalize:t}=e;return t(["Afficher les illustrations dans la liste dalbums"])},spotify:e=>{const{normalize:t}=e;return t(["Spotify"])},streaming:e=>{const{normalize:t}=e;return t(["Ignorer les illustrations fournies par les stations de radio"])}},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:{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"])},"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-help":e=>{const{normalize:t,interpolate:n,list:r}=e;return t(["Liste de genres séparés par des virgules pour lesquels le compositeur doit être affiché.",n(r(0)),"Laissez vide pour toujours afficher le compositeur.",n(r(0)),'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é"])},"show-composer":e=>{const{normalize:t}=e;return t(["Afficher le compositeur"])},"show-path":e=>{const{normalize:t}=e;return t(["Afficher le chemin du fichier"])}},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. 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"])}}},server:{"connection-failed":e=>{const{normalize:t}=e;return t(["Échec de connexion au serveur"])},"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:{"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(["标记为已播"])},"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:{"added-on":e=>{const{normalize:t}=e;return t(["添加时间"])},albums:e=>{const{normalize:t}=e;return t(["张专辑"])},tracks:e=>{const{normalize:t}=e;return t(["只曲目"])},type:e=>{const{normalize:t}=e;return t(["类型"])}},composer:{albums:e=>{const{normalize:t}=e;return t(["张专辑"])},duration:e=>{const{normalize:t}=e;return t(["时长"])},tracks:e=>{const{normalize:t}=e;return t(["只曲目"])}},genre:{albums:e=>{const{normalize:t}=e;return t(["张专辑"])},duration:e=>{const{normalize:t}=e;return t(["时长"])},tracks:e=>{const{normalize:t}=e;return t(["只曲目"])}},playable:{"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(["播放"])}},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:{"album-artist":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:{genres:e=>{const{normalize:t}=e;return t(["流派"])},popularity:e=>{const{normalize:t}=e;return t(["流行度 / 粉丝数"])}},playlist:{owner:e=>{const{normalize:t}=e;return t(["所有者"])},path:e=>{const{normalize:t}=e;return t(["路径"])},tracks:e=>{const{normalize:t}=e;return t(["曲目"])}},track:{"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(["路径"])},position:e=>{const{normalize:t}=e;return t(["盘符 / 曲目"])},"release-date":e=>{const{normalize:t}=e;return t(["发行日期"])}}},track:{"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(["专辑"])},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(["路径"])},position:e=>{const{normalize:t}=e;return t(["盘符 / 曲目"])},"quality-value":e=>{const{normalize:t,interpolate:n,named:r}=e;return t([n(r("format"))," ","|"," ",n(r("samplerate"))," Hz ","|"," ",n(r("channels"))," ","|"," ",n(r("bitrate"))," kbit/s"])},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(["发行日期"])},"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:e=>{const{normalize:t,interpolate:n,named:r}=e;return t(["从资料库中永久移除该播客吗?",n(r("separator")),"(这也将移除RSS播放列表 ",n(r("name")),")"])},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(["更多"])},name: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":e=>{const{normalize:t,interpolate:n,named:r}=e;return t(["从资料库中永久移除该播客?",n(r("separator")),"(这也将移除该播客RSS列表 ",n(r("name")),")"])},"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(["隐藏历史"])},save:e=>{const{normalize:t}=e;return t(["保存"])},title: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:{title: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(["除此之外,您还可以从以下素材提供者获取封面:"])},"show-coverart":e=>{const{normalize:t}=e;return t(["在专辑列表中显示封面艺术作品"])},spotify:e=>{const{normalize:t}=e;return t(["Spotify"])},streaming:e=>{const{normalize:t}=e;return t(["忽略广播电台提供的作品"])}},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:{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-help":e=>{const{normalize:t,interpolate:n,list:r}=e;return t(["以逗号分隔的流派列表,必须显示作曲家所属的流派",n(r(0)),"留空以始终显示作曲家",n(r(0)),"通过检查是否包含定义的流派之一来匹配当前曲目的流派标签。例如,设置为“古典、原声带”将显示流派标签为“当代古典”的曲目的作曲家"])},"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-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付费帐户。访问 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(["显示/隐藏歌词"])}}},server:{"connection-failed":e=>{const{normalize:t}=e;return t(["无法连接到 OwnTone 服务器"])},"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:{"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(["標記為已播"])},"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:{"added-on":e=>{const{normalize:t}=e;return t(["新增時間"])},albums:e=>{const{normalize:t}=e;return t(["張專輯"])},tracks:e=>{const{normalize:t}=e;return t(["首曲目"])},type:e=>{const{normalize:t}=e;return t(["類型"])}},composer:{albums:e=>{const{normalize:t}=e;return t(["張專輯"])},duration:e=>{const{normalize:t}=e;return t(["時長"])},tracks:e=>{const{normalize:t}=e;return t(["首曲目"])}},genre:{albums:e=>{const{normalize:t}=e;return t(["張專輯"])},duration:e=>{const{normalize:t}=e;return t(["時長"])},tracks:e=>{const{normalize:t}=e;return t(["首曲目"])}},playable:{"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(["播放"])}},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:{"album-artist":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:{genres:e=>{const{normalize:t}=e;return t(["音樂類型"])},popularity:e=>{const{normalize:t}=e;return t(["流行度 / 粉絲數"])}},playlist:{owner:e=>{const{normalize:t}=e;return t(["所有者"])},path:e=>{const{normalize:t}=e;return t(["路徑"])},tracks:e=>{const{normalize:t}=e;return t(["曲目"])}},track:{"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(["路徑"])},position:e=>{const{normalize:t}=e;return t(["盤符 / 曲目"])},"release-date":e=>{const{normalize:t}=e;return t(["發行日期"])}}},track:{"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(["專輯"])},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(["路徑"])},position:e=>{const{normalize:t}=e;return t(["盤符 / 曲目"])},"quality-value":e=>{const{normalize:t,interpolate:n,named:r}=e;return t([n(r("format"))," ","|"," ",n(r("samplerate"))," Hz ","|"," ",n(r("channels"))," ","|"," ",n(r("bitrate"))," kbit/s"])},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(["發行日期"])},"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:e=>{const{normalize:t,interpolate:n,named:r}=e;return t(["從資料庫中永久移除該Podcast嗎",n(r("separator")),"(這也將移除RSS播放列表 ",n(r("name")),")"])},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(["更多"])},name: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":e=>{const{normalize:t,interpolate:n,named:r}=e;return t(["從資料庫中永久移除該Podcast",n(r("separator")),"(這也將移除該PodcastRSS列表 ",n(r("name")),")"])},"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(["隱藏歷史"])},save:e=>{const{normalize:t}=e;return t(["儲存"])},title: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:{title: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(["除此之外,您還可以從以下素材提供者獲取封面:"])},"show-coverart":e=>{const{normalize:t}=e;return t(["在專輯列表中顯示封面藝術作品"])},spotify:e=>{const{normalize:t}=e;return t(["Spotify"])},streaming:e=>{const{normalize:t}=e;return t(["忽略電台提供的作品"])}},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:{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-help":e=>{const{normalize:t,interpolate:n,list:r}=e;return t(["以逗號分隔的音樂類型清單,將顯示作曲家的音樂類型",n(r(0)),"留空以始終顯示作曲家",n(r(0)),"通過檢查是否包含定義的音樂類型之一來匹配當前曲目的音樂類型標籤。例如,設定為“古典、原聲帶”將顯示音樂類型標籤為“當代古典”的曲目的作曲家"])},"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-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付費帳戶。訪問 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(["顯示/隱藏歌詞"])}}},server:{"connection-failed":e=>{const{normalize:t}=e;return t(["無法連接到 OwnTone 伺服器"])},"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"))," 信道"])])}}}}),cu=uE({fallbackLocale:"en",fallbackWarn:!1,locale:navigator.language,messages:bE,missingWarn:!1}),_r=Bn("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)}}}),On=Bn("PlayerStore",{state:()=>({consume:!1,item_id:0,item_length_ms:0,item_progress_ms:0,repeat:"off",shuffle:!1,state:"stop",volume:0})}),or=Bn("QueueStore",{state:()=>({count:0,items:[],version:0}),getters:{current(e){const t=On();return e.items.find(n=>n.id===t.item_id)??{}}}}),{t:ss}=cu.global;ce.interceptors.response.use(e=>e,e=>(e.request.status&&e.request.responseURL&&_r().add({text:ss("server.request-failed",{cause:e.request.statusText,status:e.request.status,url:e.request.responseURL}),type:"danger"}),Promise.reject(e)));const J={config(){return ce.get("./api/config")},lastfm(){return ce.get("./api/lastfm")},lastfm_login(e){return ce.post("./api/lastfm-login",e)},lastfm_logout(){return ce.get("./api/lastfm-logout")},library_add(e){return ce.post("./api/library/add",null,{params:{url:e}})},library_album(e){return ce.get(`./api/library/albums/${e}`)},library_album_track_update(e,t){return ce.put(`./api/library/albums/${e}/tracks`,null,{params:t})},library_album_tracks(e,t={limit:-1,offset:0}){return ce.get(`./api/library/albums/${e}/tracks`,{params:t})},library_albums(e){return ce.get("./api/library/albums",{params:{media_kind:e}})},library_artist(e){return ce.get(`./api/library/artists/${e}`)},library_artist_albums(e){return ce.get(`./api/library/artists/${e}/albums`)},library_artist_tracks(e){const t={expression:`songartistid is "${e}"`,type:"tracks"};return ce.get("./api/search",{params:t})},library_artists(e){return ce.get("./api/library/artists",{params:{media_kind:e}})},library_composer(e){return ce.get(`./api/library/composers/${encodeURIComponent(e)}`)},library_composer_albums(e){const t={expression:`composer is "${e}" and media_kind is music`,type:"albums"};return ce.get("./api/search",{params:t})},library_composer_tracks(e){const t={expression:`composer is "${e}" and media_kind is music`,type:"tracks"};return ce.get("./api/search",{params:t})},library_composers(e){return ce.get("./api/library/composers",{params:{media_kind:e}})},library_count(e){return ce.get(`./api/library/count?expression=${e}`)},library_files(e){return ce.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 ce.get("./api/search",{params:n})},library_genre_albums(e,t){const n={expression:`genre is "${e}" and media_kind is ${t}`,type:"albums"};return ce.get("./api/search",{params:n})},library_genre_tracks(e,t){const n={expression:`genre is "${e}" and media_kind is ${t}`,type:"tracks"};return ce.get("./api/search",{params:n})},library_genres(e){const t={expression:`media_kind is ${e}`,type:"genres"};return ce.get("./api/search",{params:t})},library_playlist(e){return ce.get(`./api/library/playlists/${e}`)},library_playlist_delete(e){return ce.delete(`./api/library/playlists/${e}`,null)},library_playlist_folder(e=0){return ce.get(`./api/library/playlists/${e}/playlists`)},library_playlist_tracks(e){return ce.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 ce.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 ce.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 ce.get("./api/search",{params:e})},library_rescan(e){return ce.put("./api/rescan",null,{params:{scan_kind:e}})},library_stats(){return ce.get("./api/library")},library_track(e){return ce.get(`./api/library/tracks/${e}`)},library_track_playlists(e){return ce.get(`./api/library/tracks/${e}/playlists`)},library_track_update(e,t={}){return ce.put(`./api/library/tracks/${e}`,null,{params:t})},library_update(e){return ce.put("./api/update",null,{params:{scan_kind:e}})},output_toggle(e){return ce.put(`./api/outputs/${e}/toggle`)},output_update(e,t){return ce.put(`./api/outputs/${e}`,t)},outputs(){return ce.get("./api/outputs")},pairing(){return ce.get("./api/pairing")},pairing_kickoff(e){return ce.post("./api/pairing",e)},player_consume(e){return ce.put(`./api/player/consume?state=${e}`)},player_next(){return ce.put("./api/player/next")},player_output_volume(e,t){return ce.put(`./api/player/volume?volume=${t}&output_id=${e}`)},player_pause(){return ce.put("./api/player/pause")},player_play(e={}){return ce.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 ce.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 ce.post("./api/queue/items/add",null,{params:r})},player_previous(){return ce.put("./api/player/previous")},player_repeat(e){return ce.put(`./api/player/repeat?state=${e}`)},player_seek(e){return ce.put(`./api/player/seek?seek_ms=${e}`)},player_seek_to_pos(e){return ce.put(`./api/player/seek?position_ms=${e}`)},player_shuffle(e){return ce.put(`./api/player/shuffle?state=${e}`)},player_status(){return ce.get("./api/player")},player_stop(){return ce.put("./api/player/stop")},player_volume(e){return ce.put(`./api/player/volume?volume=${e}`)},queue(){return ce.get("./api/queue")},queue_add(e){return ce.post(`./api/queue/items/add?uris=${e}`).then(t=>(_r().add({text:ss("server.appended-tracks",{count:t.data.count}),timeout:2e3,type:"info"}),Promise.resolve(t)))},queue_add_next(e){let t=0;const{current:n}=or();return n!=null&&n.id&&(t=n.position+1),ce.post(`./api/queue/items/add?uris=${e}&position=${t}`).then(r=>(_r().add({text:ss("server.appended-tracks",{count:r.data.count}),timeout:2e3,type:"info"}),Promise.resolve(r)))},queue_clear(){return ce.put("./api/queue/clear")},queue_expression_add(e){return ce.post("./api/queue/items/add",null,{params:{expression:e}}).then(t=>(_r().add({text:ss("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}=or();return n!=null&&n.id&&(t.position=n.position+1),ce.post("./api/queue/items/add",null,{params:t}).then(r=>(_r().add({text:ss("server.appended-tracks",{count:r.data.count}),timeout:2e3,type:"info"}),Promise.resolve(r)))},queue_move(e,t){return ce.put(`./api/queue/items/${e}?new_position=${t}`)},queue_remove(e){return ce.delete(`./api/queue/items/${e}`)},queue_save_playlist(e){return ce.post("./api/queue/save",null,{params:{name:e}}).then(t=>(_r().add({text:ss("server.queue-saved",{name:e}),timeout:2e3,type:"info"}),Promise.resolve(t)))},search(e){return ce.get("./api/search",{params:e})},settings(){return ce.get("./api/settings")},settings_update(e,t){return ce.put(`./api/settings/${e}/${t.name}`,t)},spotify(){return ce.get("./api/spotify")},spotify_logout(){return ce.get("./api/spotify-logout")}},vE={name:"ModalDialogRemotePairing",components:{ModalDialog:Vr},props:{show:Boolean},emits:["close"],setup(){return{remoteStore:Ym()}},data(){return{pairing_req:{pin:""}}},computed:{actions(){return[{label:this.$t("dialog.remote-pairing.cancel"),handler:this.cancel,icon:"cancel"},{label:this.$t("dialog.remote-pairing.pair"),handler:this.pair,icon:"cellphone"}]},pairing(){return this.remoteStore.pairing}},watch:{show(){this.show&&(this.loading=!1,setTimeout(()=>{this.$refs.pin_field.focus()},10))}},methods:{cancel(){this.$emit("close")},pair(){J.pairing_kickoff(this.pairing_req).then(()=>{this.pairing_req.pin=""})}}},zE=["textContent"],wE={class:"field"},SE={class:"control"},CE=["placeholder"];function kE(e,t,n,r,o,s){const i=A("modal-dialog");return $(),ve(i,{actions:s.actions,show:n.show,title:e.$t("dialog.remote-pairing.title"),onClose:t[2]||(t[2]=a=>e.$emit("close"))},{content:I(()=>[p("form",{onSubmit:t[1]||(t[1]=St((...a)=>s.pair&&s.pair(...a),["prevent"]))},[p("label",{class:"label",textContent:k(s.pairing.remote)},null,8,zE),p("div",wE,[p("div",SE,[Ht(p("input",{ref:"pin_field","onUpdate:modelValue":t[0]||(t[0]=a=>o.pairing_req.pin=a),class:"input",inputmode:"numeric",pattern:"[\\d]{4}",placeholder:e.$t("dialog.remote-pairing.pairing-code")},null,8,CE),[[vn,o.pairing_req.pin]])])])],32)]),_:1},8,["actions","show","title"])}const EE=ie(vE,[["render",kE]]),xE={name:"ControlSwitch",props:{modelValue:Boolean},emits:["update:modelValue"]},TE={class:"field"},AE={class:"toggle"},OE={class:"control is-flex is-align-content-center"},$E=["checked"],PE={key:0,class:"help"};function IE(e,t,n,r,o,s){return $(),D("div",TE,[p("label",AE,[p("div",OE,[p("input",{checked:n.modelValue,type:"checkbox",class:"toggle-checkbox",onChange:t[0]||(t[0]=i=>e.$emit("update:modelValue",!n.modelValue))},null,40,$E),t[1]||(t[1]=p("div",{class:"toggle-switch"},null,-1)),dt(e.$slots,"label",{},void 0,!0)])]),e.$slots.help?($(),D("div",PE,[dt(e.$slots,"help",{},void 0,!0)])):fe("",!0)])}const jo=ie(xE,[["render",IE],["__scopeId","data-v-0ac3b7d6"]]),mu=Bn("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=Bn("ServicesStore",{state:()=>({lastfm:{},spotify:{}})}),LE={name:"ModalDialogUpdate",components:{ControlSwitch:jo,ModalDialog:Vr},props:{show:Boolean},emits:["close"],setup(){return{libraryStore:mu(),servicesStore:Pt()}},data(){return{rescan_metadata:!1}},computed:{actions(){return[{label:this.$t("dialog.update.cancel"),handler:this.cancel,icon:"cancel"},{label:this.libraryStore.updating?this.$t("dialog.update.progress"):this.$t("dialog.update.rescan"),handler:this.analyse,icon:"check"}]},rss(){return this.libraryStore.rss},spotify_enabled(){return this.servicesStore.spotify.webapi_token_valid}},methods:{cancel(){this.$emit("close"),this.libraryStore.update_dialog_scan_kind=""},analyse(){this.rescan_metadata?J.library_rescan(this.libraryStore.update_dialog_scan_kind):J.library_update(this.libraryStore.update_dialog_scan_kind)}}},NE={key:0},DE={key:0,class:"field"},RE=["textContent"],ME={class:"control"},FE={class:"select is-small"},VE=["textContent"],HE=["textContent"],UE=["textContent"],jE=["textContent"],WE=["textContent"],BE={key:1},qE=["textContent"];function GE(e,t,n,r,o,s){const i=A("control-switch"),a=A("modal-dialog");return $(),ve(a,{actions:s.actions,show:n.show,title:e.$t("dialog.update.title"),onClose:t[2]||(t[2]=l=>e.$emit("close"))},{content:I(()=>[r.libraryStore.updating?($(),D("div",BE,[p("p",{class:"mb-3",textContent:k(e.$t("dialog.update.progress"))},null,8,qE)])):($(),D("div",NE,[s.spotify_enabled||s.rss.tracks>0?($(),D("div",DE,[p("label",{class:"label",textContent:k(e.$t("dialog.update.info"))},null,8,RE),p("div",ME,[p("div",FE,[Ht(p("select",{"onUpdate:modelValue":t[0]||(t[0]=l=>r.libraryStore.update_dialog_scan_kind=l)},[p("option",{value:"",textContent:k(e.$t("dialog.update.all"))},null,8,VE),p("option",{value:"files",textContent:k(e.$t("dialog.update.local"))},null,8,HE),s.spotify_enabled?($(),D("option",{key:0,value:"spotify",textContent:k(e.$t("dialog.update.spotify"))},null,8,UE)):fe("",!0),s.rss.tracks>0?($(),D("option",{key:1,value:"rss",textContent:k(e.$t("dialog.update.feeds"))},null,8,jE)):fe("",!0)],512),[[Zm,r.libraryStore.update_dialog_scan_kind]])])])])):fe("",!0),z(i,{modelValue:o.rescan_metadata,"onUpdate:modelValue":t[1]||(t[1]=l=>o.rescan_metadata=l)},{label:I(()=>[p("span",{textContent:k(e.$t("dialog.update.rescan-metadata"))},null,8,WE)]),_:1},8,["modelValue"])]))]),_:1},8,["actions","show","title"])}const KE=ie(LE,[["render",GE]]),wn=Bn("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})}),ZE={name:"ControlLink",props:{to:{required:!0,type:Object}},setup(){return{uiStore:wn()}},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)}}},YE=["href"];function XE(e,t,n,r,o,s){return $(),D("a",{href:s.href,onClick:t[0]||(t[0]=St((...i)=>s.open&&s.open(...i),["stop","prevent"]))},[dt(e.$slots,"default")],8,YE)}const jy=ie(ZE,[["render",XE]]),JE={name:"ControlSlider",props:{disabled:Boolean,max:{required:!0,type:Number},value:{required:!0,type:Number}},emits:["update:value"],computed:{ratio(){return this.value/this.max}}},QE=["value","disabled","max"];function ex(e,t,n,r,o,s){return $(),D("input",{value:n.value,disabled:n.disabled,class:$e(["slider",{"is-inactive":n.disabled}]),max:n.max,type:"range",style:fo({"--ratio":s.ratio}),onInput:t[0]||(t[0]=i=>e.$emit("update:value",i.target.valueAsNumber))},null,46,QE)}const du=ie(JE,[["render",ex],["__scopeId","data-v-d0c7e339"]]),tx={name:"ControlVolume",components:{ControlSlider:du},setup(){return{player:On()}},data(){return{old_volume:0}},computed:{icon(){return this.player.volume>0?"volume-high":"volume-off"}},watch:{"player.volume"(){this.player.volume>0&&(this.old_volume=this.player.volume)}},methods:{changeVolume(e){J.player_volume(this.player.volume)},toggle(){this.player.volume=this.player.volume>0?0:this.old_volume,this.changeVolume()}}},nx={class:"media is-align-items-center mb-0"},rx={class:"media-left"},ox={class:"media-content"},sx=["textContent"];function ix(e,t,n,r,o,s){const i=A("mdicon"),a=A("control-slider");return $(),D("div",nx,[p("div",rx,[p("a",{class:"button is-small",onClick:t[0]||(t[0]=(...l)=>s.toggle&&s.toggle(...l))},[z(i,{class:"icon",name:s.icon},null,8,["name"])])]),p("div",ox,[p("div",{class:"is-size-7 is-uppercase",textContent:k(e.$t("navigation.volume"))},null,8,sx),z(a,{value:r.player.volume,"onUpdate:value":t[1]||(t[1]=l=>r.player.volume=l),max:100,onChange:s.changeVolume},null,8,["value","onChange"])])])}const ax=ie(tx,[["render",ix]]),lx={name:"ControlOutputVolume",components:{ControlSlider:du},props:{output:{required:!0,type:Object}},data(){return{volume:this.output.selected?this.output.volume:0}},computed:{icon(){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:{changeVolume(){J.player_output_volume(this.output.id,this.volume)},toggle(){const e={selected:!this.output.selected};J.output_update(this.output.id,e)}}},ux={class:"media is-align-items-center mb-0"},cx={class:"media-left"},mx={class:"media-content"},dx=["textContent"];function fx(e,t,n,r,o,s){const i=A("mdicon"),a=A("control-slider");return $(),D("div",ux,[p("div",cx,[p("a",{class:$e(["button is-small",{"has-text-grey-light":!n.output.selected}]),onClick:t[0]||(t[0]=(...l)=>s.toggle&&s.toggle(...l))},[z(i,{class:"icon",name:s.icon,title:n.output.type},null,8,["name","title"])],2)]),p("div",mx,[p("div",{class:$e(["is-size-7 is-uppercase",{"has-text-grey-light":!n.output.selected}]),textContent:k(n.output.name)},null,10,dx),z(a,{value:o.volume,"onUpdate:value":t[1]||(t[1]=l=>o.volume=l),disabled:!n.output.selected,max:100,onChange:s.changeVolume},null,8,["value","disabled","onChange"])])])}const px=ie(lx,[["render",fx]]),hx={name:"ControlPlayerBack",props:{offset:{required:!0,type:Number}},setup(){return{playerStore:On(),queueStore:or()}},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||J.player_seek(this.offset*-1)}}},_x=["disabled"];function gx(e,t,n,r,o,s){const i=A("mdicon");return s.visible?($(),D("a",{key:0,disabled:s.disabled,onClick:t[0]||(t[0]=(...a)=>s.seek&&s.seek(...a))},[z(i,{class:"icon",name:"rewind-10",title:e.$t("player.button.seek-backward")},null,8,["title"])],8,_x)):fe("",!0)}const yx=ie(hx,[["render",gx]]),bx={name:"ControlPlayerConsume",setup(){return{playerStore:On()}},computed:{is_consume(){return this.playerStore.consume}},methods:{toggle(){J.player_consume(!this.is_consume)}}};function vx(e,t,n,r,o,s){const i=A("mdicon");return $(),D("a",{class:$e({"is-info":s.is_consume}),onClick:t[0]||(t[0]=(...a)=>s.toggle&&s.toggle(...a))},[z(i,{class:"icon",name:"fire",size:"16",title:e.$t("player.button.consume")},null,8,["title"])],2)}const zx=ie(bx,[["render",vx]]),wx={name:"ControlPlayerForward",props:{offset:{required:!0,type:Number}},setup(){return{playerStore:On(),queueStore:or()}},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||J.player_seek(this.offset)}}},Sx=["disabled"];function Cx(e,t,n,r,o,s){const i=A("mdicon");return s.visible?($(),D("a",{key:0,disabled:s.disabled,onClick:t[0]||(t[0]=(...a)=>s.seek&&s.seek(...a))},[z(i,{class:"icon",name:"fast-forward-30",title:e.$t("player.button.seek-forward")},null,8,["title"])],8,Sx)):fe("",!0)}const kx=ie(wx,[["render",Cx]]),fu=Bn("LyricsStore",{state:()=>({content:[],pane:!1})}),Ex={name:"ControlPlayerLyrics",setup(){return{lyricsStore:fu()}},computed:{icon(){return this.is_active?"script-text-play":"script-text-outline"},is_active(){return this.lyricsStore.pane}},methods:{toggle(){this.lyricsStore.pane=!this.lyricsStore.pane}}};function xx(e,t,n,r,o,s){const i=A("mdicon");return $(),D("a",{class:$e({"is-info":s.is_active}),onClick:t[0]||(t[0]=(...a)=>s.toggle&&s.toggle(...a))},[z(i,{class:"icon",name:s.icon,size:16,title:e.$t("player.button.toggle-lyrics")},null,8,["name","title"])],2)}const Tx=ie(Ex,[["render",xx]]),Ax={name:"ControlPlayerNext",computed:{disabled(){var e;return((e=or())==null?void 0:e.count)<=0}},methods:{play_next(){this.disabled||J.player_next()}}},Ox=["disabled"];function $x(e,t,n,r,o,s){const i=A("mdicon");return $(),D("a",{disabled:s.disabled,onClick:t[0]||(t[0]=(...a)=>s.play_next&&s.play_next(...a))},[z(i,{class:"icon",name:"skip-forward",title:e.$t("player.button.skip-forward")},null,8,["title"])],8,Ox)}const Px=ie(Ax,[["render",$x]]),Ix={name:"ControlPlayerPlay",props:{show_disabled_message:Boolean},setup(){return{notificationsStore:_r(),playerStore:On(),queueStore:or()}},computed:{disabled(){var e;return((e=this.queueStore)==null?void 0:e.count)<=0},icon(){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(){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?J.player_pause():this.is_playing&&!this.is_pause_allowed?J.player_stop():J.player_play()}}},Lx=["disabled"];function Nx(e,t,n,r,o,s){const i=A("mdicon");return $(),D("a",{disabled:s.disabled,onClick:t[0]||(t[0]=(...a)=>s.toggle&&s.toggle(...a))},[z(i,{class:"icon",name:s.icon,title:e.$t(`player.button.${s.icon}`)},null,8,["name","title"])],8,Lx)}const Dx=ie(Ix,[["render",Nx]]),Rx={name:"ControlPlayerPrevious",setup(){return{queueStore:or()}},computed:{disabled(){return this.queueStore.count<=0}},methods:{play_previous(){this.disabled||J.player_previous()}}},Mx=["disabled"];function Fx(e,t,n,r,o,s){const i=A("mdicon");return $(),D("a",{disabled:s.disabled,onClick:t[0]||(t[0]=(...a)=>s.play_previous&&s.play_previous(...a))},[z(i,{class:"icon",name:"skip-backward",title:e.$t("player.button.skip-backward")},null,8,["title"])],8,Mx)}const Vx=ie(Rx,[["render",Fx]]),Hx={name:"ControlPlayerRepeat",setup(){return{playerStore:On()}},computed:{icon(){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(){this.is_repeat_all?J.player_repeat("single"):this.is_repeat_single?J.player_repeat("off"):J.player_repeat("all")}}};function Ux(e,t,n,r,o,s){const i=A("mdicon");return $(),D("a",{class:$e({"is-info":!s.is_repeat_off}),onClick:t[0]||(t[0]=(...a)=>s.toggle&&s.toggle(...a))},[z(i,{class:"icon",name:s.icon,size:16,title:e.$t(`player.button.${s.icon}`)},null,8,["name","title"])],2)}const jx=ie(Hx,[["render",Ux]]),Wx={name:"ControlPlayerShuffle",setup(){return{playerStore:On()}},computed:{icon(){return this.is_shuffle?"shuffle":"shuffle-disabled"},is_shuffle(){return this.playerStore.shuffle}},methods:{toggle(){J.player_shuffle(!this.is_shuffle)}}};function Bx(e,t,n,r,o,s){const i=A("mdicon");return $(),D("a",{class:$e({"is-info":s.is_shuffle}),onClick:t[0]||(t[0]=(...a)=>s.toggle&&s.toggle(...a))},[z(i,{class:"icon",name:s.icon,size:16,title:e.$t(`player.button.${s.icon}`)},null,8,["name","title"])],2)}const qx=ie(Wx,[["render",Bx]]),Gs={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{}}},Gx={name:"ControlStreamVolume",components:{ControlSlider:du},emits:["change","mute"],data(){return{loading:!1,playing:!1,volume:10}},mounted(){this.setupAudio()},unmounted(){this.closeAudio()},methods:{changeVolume(){Gs.setVolume(this.volume/100)},closeAudio(){Gs.stop(),this.playing=!1},playChannel(){this.playing||(this.loading=!0,Gs.play("/stream.mp3"),Gs.setVolume(this.volume/100))},setupAudio(){const e=Gs.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())}}},Kx={class:"media is-align-items-center mb-0"},Zx={class:"media-left"},Yx={class:"media-content is-align-items-center"},Xx=["textContent"],Jx={href:"stream.mp3",class:"ml-2",target:"_blank"};function Qx(e,t,n,r,o,s){const i=A("mdicon"),a=A("control-slider");return $(),D("div",Kx,[p("div",Zx,[p("a",{class:$e(["button is-small",{"has-text-grey-light":!o.playing&&!o.loading,"is-loading":o.loading}]),onClick:t[0]||(t[0]=(...l)=>s.togglePlay&&s.togglePlay(...l))},[z(i,{class:"icon",name:"broadcast"})],2)]),p("div",Yx,[p("div",{class:$e(["is-flex",{"has-text-grey-light":!o.playing}])},[p("div",{class:"is-size-7 is-uppercase",textContent:k(e.$t("navigation.stream"))},null,8,Xx),p("a",Jx,[z(i,{class:"icon is-small",name:"open-in-new"})])],2),z(a,{value:o.volume,"onUpdate:value":t[1]||(t[1]=l=>o.volume=l),disabled:!o.playing,max:100,onChange:s.changeVolume},null,8,["value","disabled","onChange"])])])}const e2=ie(Gx,[["render",Qx]]),ld=Bn("OutputsStore",{state:()=>({outputs:[]})}),t2={name:"NavbarBottom",components:{ControlLink:jy,ControlOutputVolume:px,ControlMainVolume:ax,ControlPlayerBack:yx,ControlPlayerConsume:zx,ControlPlayerForward:kx,ControlPlayerLyrics:Tx,ControlPlayerNext:Px,ControlPlayerPlay:Dx,ControlPlayerPrevious:Vx,ControlPlayerRepeat:jx,ControlPlayerShuffle:qx,ControlStreamVolume:e2},setup(){return{notificationsStore:_r(),outputsStore:ld(),queueStore:or(),uiStore:wn()}},computed:{is_now_playing_page(){return this.$route.name==="now-playing"},current(){return this.queueStore.current}}},n2={class:"navbar-brand is-flex-grow-1"},r2={class:"is-text-clipped"},o2=["textContent"],s2=["textContent"],i2=["textContent"],a2={class:"dropdown-menu"},l2={class:"dropdown-content"},u2={class:"dropdown-item pt-0"},c2={class:"dropdown-item is-flex is-justify-content-center"},m2={class:"buttons has-addons"};function d2(e,t,n,r,o,s){const i=A("mdicon"),a=A("control-link"),l=A("control-player-previous"),u=A("control-player-back"),c=A("control-player-play"),m=A("control-player-forward"),d=A("control-player-next"),f=A("control-main-volume"),h=A("control-output-volume"),_=A("control-stream-volume"),b=A("control-player-repeat"),v=A("control-player-shuffle"),w=A("control-player-consume"),g=A("control-player-lyrics");return $(),D("nav",{class:$e(["navbar is-fixed-bottom",{"is-dark":!s.is_now_playing_page}])},[p("div",n2,[z(a,{class:"navbar-item",to:{name:"queue"}},{default:I(()=>[z(i,{class:"icon",name:"playlist-play"})]),_:1}),s.is_now_playing_page?($(),D(be,{key:0},[z(l,{class:"navbar-item ml-auto"}),z(u,{class:"navbar-item",offset:1e4}),z(c,{class:"navbar-item",show_disabled_message:""}),z(m,{class:"navbar-item",offset:3e4}),z(d,{class:"navbar-item mr-auto"})],64)):($(),D(be,{key:1},[z(a,{to:{name:"now-playing"},exact:"",class:"navbar-item is-justify-content-flex-start is-expanded is-clipped is-size-7"},{default:I(()=>[p("div",r2,[p("strong",{textContent:k(s.current.title)},null,8,o2),t[1]||(t[1]=p("br",null,null,-1)),p("span",{textContent:k(s.current.artist)},null,8,s2),s.current.album?($(),D("span",{key:0,textContent:k(e.$t("navigation.now-playing",{album:s.current.album}))},null,8,i2)):fe("",!0)])]),_:1}),z(c,{class:"navbar-item",show_disabled_message:""})],64)),p("a",{class:"navbar-item",onClick:t[0]||(t[0]=y=>r.uiStore.show_player_menu=!r.uiStore.show_player_menu)},[z(i,{class:"icon",name:r.uiStore.show_player_menu?"chevron-down":"chevron-up"},null,8,["name"])]),p("div",{class:$e(["dropdown is-up is-right",{"is-active":r.uiStore.show_player_menu}])},[p("div",a2,[p("div",l2,[p("div",u2,[z(f),($(!0),D(be,null,_t(r.outputsStore.outputs,y=>($(),ve(h,{key:y.id,output:y},null,8,["output"]))),128)),z(_)]),t[2]||(t[2]=p("hr",{class:"dropdown-divider"},null,-1)),p("div",c2,[p("div",m2,[z(b,{class:"button"}),z(v,{class:"button"}),z(w,{class:"button"}),z(g,{class:"button"})])])])])],2)])],2)}const f2=ie(t2,[["render",d2],["__scopeId","data-v-35a381b3"]]),ud=Bn("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)}}}),Hr=Bn("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("artwork","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))??{}}}}),p2={name:"NavbarTop",components:{ControlLink:jy},setup(){return{searchStore:ud(),servicesStore:Pt(),settingsStore:Hr(),uiStore:wn()}},data(){return{show_settings_menu:!1}},computed:{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.uiStore.show_update_dialog=!0,this.show_settings_menu=!1,this.uiStore.show_burger_menu=!1}}},h2={class:"navbar-brand is-flex-grow-1"},_2={class:"dropdown-menu"},g2={class:"dropdown-content"},y2={class:"icon-text"},b2=["textContent"],v2={class:"icon-text"},z2=["textContent"],w2=["textContent"],S2=["textContent"],C2=["textContent"],k2=["textContent"],E2={class:"icon-text"},x2=["textContent"],T2={class:"icon-text"},A2=["textContent"],O2={class:"icon-text"},$2=["textContent"],P2={class:"icon-text"},I2=["textContent"],L2={class:"icon-text"},N2=["textContent"],D2=["textContent"];function R2(e,t,n,r,o,s){const i=A("mdicon"),a=A("control-link");return $(),D("nav",{class:"navbar is-light is-fixed-top",style:fo(s.zindex)},[p("div",h2,[r.settingsStore.show_menu_item_playlists?($(),ve(a,{key:0,class:"navbar-item",to:{name:"playlists"}},{default:I(()=>[z(i,{class:"icon",name:"music-box-multiple",size:"16"})]),_:1})):fe("",!0),r.settingsStore.show_menu_item_music?($(),ve(a,{key:1,class:"navbar-item",to:{name:"music"}},{default:I(()=>[z(i,{class:"icon",name:"music",size:"16"})]),_:1})):fe("",!0),r.settingsStore.show_menu_item_podcasts?($(),ve(a,{key:2,class:"navbar-item",to:{name:"podcasts"}},{default:I(()=>[z(i,{class:"icon",name:"microphone",size:"16"})]),_:1})):fe("",!0),r.settingsStore.show_menu_item_audiobooks?($(),ve(a,{key:3,class:"navbar-item",to:{name:"audiobooks"}},{default:I(()=>[z(i,{class:"icon",name:"book-open-variant",size:"16"})]),_:1})):fe("",!0),r.settingsStore.show_menu_item_radio?($(),ve(a,{key:4,class:"navbar-item",to:{name:"radio"}},{default:I(()=>[z(i,{class:"icon",name:"radio",size:"16"})]),_:1})):fe("",!0),r.settingsStore.show_menu_item_files?($(),ve(a,{key:5,class:"navbar-item",to:{name:"files"}},{default:I(()=>[z(i,{class:"icon",name:"folder-open",size:"16"})]),_:1})):fe("",!0),r.settingsStore.show_menu_item_search?($(),ve(a,{key:6,class:"navbar-item",to:{name:r.searchStore.search_source}},{default:I(()=>[z(i,{class:"icon",name:"magnify",size:"16"})]),_:1},8,["to"])):fe("",!0),p("a",{class:"navbar-item ml-auto",onClick:t[0]||(t[0]=l=>r.uiStore.show_burger_menu=!r.uiStore.show_burger_menu)},[z(i,{class:"icon",name:r.uiStore.show_burger_menu?"close":"menu"},null,8,["name"])]),p("div",{class:$e(["dropdown is-right",{"is-active":r.uiStore.show_burger_menu}])},[p("div",_2,[p("div",g2,[z(a,{class:"dropdown-item",to:{name:"playlists"}},{default:I(()=>[p("span",y2,[z(i,{class:"icon",name:"music-box-multiple",size:"16"})]),p("b",{textContent:k(e.$t("navigation.playlists"))},null,8,b2)]),_:1}),z(a,{class:"dropdown-item",to:{name:"music"}},{default:I(()=>[p("span",v2,[z(i,{class:"icon",name:"music",size:"16"})]),p("b",{textContent:k(e.$t("navigation.music"))},null,8,z2)]),_:1}),z(a,{class:"dropdown-item",to:{name:"music-artists"}},{default:I(()=>[p("span",{class:"pl-5",textContent:k(e.$t("navigation.artists"))},null,8,w2)]),_:1}),z(a,{class:"dropdown-item",to:{name:"music-albums"}},{default:I(()=>[p("span",{class:"pl-5",textContent:k(e.$t("navigation.albums"))},null,8,S2)]),_:1}),z(a,{class:"dropdown-item",to:{name:"music-genres"}},{default:I(()=>[p("span",{class:"pl-5",textContent:k(e.$t("navigation.genres"))},null,8,C2)]),_:1}),s.spotify_enabled?($(),ve(a,{key:0,class:"dropdown-item",to:{name:"music-spotify"}},{default:I(()=>[p("span",{class:"pl-5",textContent:k(e.$t("navigation.spotify"))},null,8,k2)]),_:1})):fe("",!0),z(a,{class:"dropdown-item",to:{name:"podcasts"}},{default:I(()=>[p("span",E2,[z(i,{class:"icon",name:"microphone",size:"16"})]),p("b",{textContent:k(e.$t("navigation.podcasts"))},null,8,x2)]),_:1}),z(a,{class:"dropdown-item",to:{name:"audiobooks"}},{default:I(()=>[p("span",T2,[z(i,{class:"icon",name:"book-open-variant",size:"16"})]),p("b",{textContent:k(e.$t("navigation.audiobooks"))},null,8,A2)]),_:1}),z(a,{class:"dropdown-item",to:{name:"radio"}},{default:I(()=>[p("span",O2,[z(i,{class:"icon",name:"radio",size:"16"})]),p("b",{textContent:k(e.$t("navigation.radio"))},null,8,$2)]),_:1}),z(a,{class:"dropdown-item",to:{name:"files"}},{default:I(()=>[p("span",P2,[z(i,{class:"icon",name:"folder-open",size:"16"})]),p("b",{textContent:k(e.$t("navigation.files"))},null,8,I2)]),_:1}),z(a,{class:"dropdown-item",to:{name:r.searchStore.search_source}},{default:I(()=>[p("span",L2,[z(i,{class:"icon",name:"magnify",size:"16"})]),p("b",{textContent:k(e.$t("navigation.search"))},null,8,N2)]),_:1},8,["to"]),t[3]||(t[3]=p("hr",{class:"my-3"},null,-1)),z(a,{class:"dropdown-item",to:{name:"settings-webinterface"}},{default:I(()=>[Qt(k(e.$t("navigation.settings")),1)]),_:1}),p("a",{class:"dropdown-item",onClick:t[1]||(t[1]=St(l=>s.open_update_dialog(),["stop","prevent"])),textContent:k(e.$t("navigation.update-library"))},null,8,D2),z(a,{class:"dropdown-item",to:{name:"about"}},{default:I(()=>[Qt(k(e.$t("navigation.about")),1)]),_:1})])])],2)]),Ht(p("div",{class:"is-overlay",onClick:t[2]||(t[2]=l=>o.show_settings_menu=!1)},null,512),[[Ni,o.show_settings_menu]])],4)}const M2=ie(p2,[["render",R2]]),F2={name:"NotificationList",setup(){return{notificationsStore:_r()}},computed:{notifications(){return this.notificationsStore.list}},methods:{remove(e){this.notificationsStore.remove(e)}}},V2={key:0,class:"notifications"},H2={class:"columns is-centered"},U2={class:"column is-half"},j2=["onClick"],W2=["textContent"];function B2(e,t,n,r,o,s){return s.notifications.length>0?($(),D("section",V2,[p("div",H2,[p("div",U2,[($(!0),D(be,null,_t(s.notifications,i=>($(),D("div",{key:i.id,class:$e(["notification",i.type?`is-${i.type}`:""])},[p("button",{class:"delete",onClick:a=>s.remove(i)},null,8,j2),p("div",{class:"text",textContent:k(i.text)},null,8,W2)],2))),128))])])])):fe("",!0)}const q2=ie(F2,[["render",B2],["__scopeId","data-v-a896a8d3"]]);var Wy=typeof globalThis<"u"?globalThis:typeof window<"u"?window:typeof global<"u"?global:typeof self<"u"?self:{};function pu(e){return e&&e.__esModule&&Object.prototype.hasOwnProperty.call(e,"default")?e.default:e}function By(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 qy={exports:{}};(function(e){(function(t,n){e.exports?e.exports=n():t.ReconnectingWebSocket=n()})(Wy,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,c=!1,m=document.createElement("div");m.addEventListener("open",function(f){a.onopen(f)}),m.addEventListener("close",function(f){a.onclose(f)}),m.addEventListener("connecting",function(f){a.onconnecting(f)}),m.addEventListener("message",function(f){a.onmessage(f)}),m.addEventListener("error",function(f){a.onerror(f)}),this.addEventListener=m.addEventListener.bind(m),this.removeEventListener=m.removeEventListener.bind(m),this.dispatchEvent=m.dispatchEvent.bind(m);function d(f,h){var _=document.createEvent("CustomEvent");return _.initCustomEvent(f,!1,!1,h),_}this.open=function(f){if(l=new WebSocket(a.url,r||[]),f){if(this.maxReconnectAttempts&&this.reconnectAttempts>this.maxReconnectAttempts)return}else m.dispatchEvent(d("connecting")),this.reconnectAttempts=0;(a.debug||t.debugAll)&&console.debug("ReconnectingWebSocket","attempt-connect",a.url);var h=l,_=setTimeout(function(){(a.debug||t.debugAll)&&console.debug("ReconnectingWebSocket","connection-timeout",a.url),c=!0,h.close(),c=!1},a.timeoutInterval);l.onopen=function(b){clearTimeout(_),(a.debug||t.debugAll)&&console.debug("ReconnectingWebSocket","onopen",a.url),a.protocol=l.protocol,a.readyState=WebSocket.OPEN,a.reconnectAttempts=0;var v=d("open");v.isReconnect=f,f=!1,m.dispatchEvent(v)},l.onclose=function(b){if(clearTimeout(w),l=null,u)a.readyState=WebSocket.CLOSED,m.dispatchEvent(d("close"));else{a.readyState=WebSocket.CONNECTING;var v=d("connecting");v.code=b.code,v.reason=b.reason,v.wasClean=b.wasClean,m.dispatchEvent(v),!f&&!c&&((a.debug||t.debugAll)&&console.debug("ReconnectingWebSocket","onclose",a.url),m.dispatchEvent(d("close")));var w=a.reconnectInterval*Math.pow(a.reconnectDecay,a.reconnectAttempts);setTimeout(function(){a.reconnectAttempts++,a.open(!0)},w>a.maxReconnectInterval?a.maxReconnectInterval:w)}},l.onmessage=function(b){(a.debug||t.debugAll)&&console.debug("ReconnectingWebSocket","onmessage",a.url,b.data);var v=d("message");v.data=b.data,m.dispatchEvent(v)},l.onerror=function(b){(a.debug||t.debugAll)&&console.debug("ReconnectingWebSocket","onerror",a.url,b),m.dispatchEvent(d("error"))}},this.automaticOpen==!0&&this.open(!1),this.send=function(f){if(l)return(a.debug||t.debugAll)&&console.debug("ReconnectingWebSocket","send",a.url,f),l.send(f);throw"INVALID_STATE_ERR : Pausing to reconnect websocket"},this.close=function(f,h){typeof f>"u"&&(f=1e3),u=!0,l&&l.close(f,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})})(qy);var G2=qy.exports;const K2=pu(G2),Fo=Bn("ConfigurationStore",{state:()=>({buildoptions:[],version:"",websocket_port:0})}),Z2={name:"App",components:{ModalDialogRemotePairing:EE,ModalDialogUpdate:KE,NavbarBottom:f2,NavbarTop:M2,NotificationList:q2},setup(){return{configurationStore:Fo(),libraryStore:mu(),lyricsStore:fu(),notificationsStore:_r(),outputsStore:ld(),playerStore:On(),queueStore:or(),remotesStore:Ym(),servicesStore:Pt(),settingsStore:Hr(),uiStore:wn()}},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(){J.config().then(({data:e})=>{this.configurationStore.$state=e,this.uiStore.hide_singles=e.hide_singles,document.title=e.library_name,this.open_websocket(),this.$Progress.finish()}).catch(()=>{this.notificationsStore.add({text:this.$t("server.connection-failed"),topic:"connection",type:"danger"})})},open_websocket(){const e=this.create_websocket(),t=this;e.onopen=()=>{t.reconnect_attempts=0,e.send(JSON.stringify({notify:["update","database","player","options","outputs","volume","queue","spotify","lastfm","pairing"]})),t.update_outputs(),t.update_player_status(),t.update_library_stats(),t.update_settings(),t.update_queue(),t.update_spotify(),t.update_lastfm(),t.update_pairing()};let n=!1;const r=()=>{n||(t.update_outputs(),t.update_player_status(),t.update_library_stats(),t.update_settings(),t.update_queue(),t.update_spotify(),t.update_lastfm(),t.update_pairing(),n=!0,setTimeout(()=>{n=!1},500))};window.addEventListener("focus",r),document.addEventListener("visibilitychange",()=>{document.visibilityState==="visible"&&r()}),e.onmessage=o=>{const s=JSON.parse(o.data);(s.notify.includes("update")||s.notify.includes("database"))&&t.update_library_stats(),(s.notify.includes("player")||s.notify.includes("options")||s.notify.includes("volume"))&&t.update_player_status(),(s.notify.includes("outputs")||s.notify.includes("volume"))&&t.update_outputs(),s.notify.includes("queue")&&t.update_queue(),s.notify.includes("spotify")&&t.update_spotify(),s.notify.includes("lastfm")&&t.update_lastfm(),s.notify.includes("pairing")&&t.update_pairing()}},create_websocket(){const e=window.location.protocol.replace("http","ws"),t=window.location.hostname,n=this.configurationStore.websocket_port||`${window.location.port}/ws`,r=`${e}${t}:${n}`;return new K2(r,"notify",{maxReconnectInterval:2e3,reconnectInterval:1e3})},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(){J.lastfm().then(({data:e})=>{this.servicesStore.lastfm=e})},update_library_stats(){J.library_stats().then(({data:e})=>{this.libraryStore.$state=e}),J.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?J.library_track(e.track_id).then(({data:t})=>{this.lyricsStore.lyrics=t.lyrics}):this.lyricsStore.$reset()},update_outputs(){J.outputs().then(({data:e})=>{this.outputsStore.outputs=e.outputs})},update_pairing(){J.pairing().then(({data:e})=>{this.remotesStore.$state=e,this.pairing_active=e.active})},update_player_status(){J.player_status().then(({data:e})=>{this.playerStore.$state=e,this.update_lyrics()})},update_queue(){J.queue().then(({data:e})=>{this.queueStore.$state=e,this.update_lyrics()})},update_settings(){J.settings().then(({data:e})=>{this.settingsStore.$state=e})},update_spotify(){J.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/>"};function Y2(e,t,n,r,o,s){const i=A("navbar-top"),a=A("vue-progress-bar"),l=A("router-view"),u=A("modal-dialog-remote-pairing"),c=A("modal-dialog-update"),m=A("notification-list"),d=A("navbar-bottom");return $(),D(be,null,[z(i),z(a,{class:"has-background-info"}),z(l,null,{default:I(({Component:f})=>[($(),ve(Zl(f)))]),_:1}),z(u,{show:o.pairing_active,onClose:t[0]||(t[0]=f=>o.pairing_active=!1)},null,8,["show"]),z(c,{show:s.show_update_dialog,onClose:t[1]||(t[1]=f=>s.show_update_dialog=!1)},null,8,["show"]),Ht(z(m,null,null,512),[[Ni,!s.show_burger_menu]]),z(d),Ht(p("div",{class:"overlay-fullscreen",onClick:t[2]||(t[2]=f=>s.show_burger_menu=s.show_player_menu=!1)},null,512),[[Ni,s.show_burger_menu||s.show_player_menu]])],64)}const X2=ie(Z2,[["render",Y2]]),Gy=function(){return document.ontouchstart!==null?"click":"touchstart"},gl="__vue_click_away__",Ky=function(e,t,n){Zy(e);let r=n.context,o=t.value,s=!1;setTimeout(function(){s=!0},0),e[gl]=function(i){if((!e||!e.contains(i.target))&&o&&s&&typeof o=="function")return o.call(r,i)},document.addEventListener(Gy(),e[gl],!1)},Zy=function(e){document.removeEventListener(Gy(),e[gl],!1),delete e[gl]},J2=function(e,t,n){t.value!==t.oldValue&&Ky(e,t,n)},Q2={install:function(e){e.directive("click-away",eT)}},eT={mounted:Ky,updated:J2,unmounted:Zy};var fr=(e=>(e.LOADING="loading",e.LOADED="loaded",e.ERROR="error",e))(fr||{});const tT=typeof window<"u"&&window!==null,nT=iT(),rT=Object.prototype.propertyIsEnumerable,cp=Object.getOwnPropertySymbols;function gi(e){return typeof e=="function"||toString.call(e)==="[object Object]"}function oT(e){return typeof e=="object"?e===null:typeof e!="function"}function sT(e){return e!=="__proto__"&&e!=="constructor"&&e!=="prototype"}function iT(){return tT&&"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 aT(e,...t){if(!gi(e))throw new TypeError("expected the first argument to be an object");if(t.length===0||typeof Symbol!="function"||typeof cp!="function")return e;for(const n of t){const r=cp(n);for(const o of r)rT.call(n,o)&&(e[o]=n[o])}return e}function Yy(e,...t){let n=0;for(oT(e)&&(e=t[n++]),e||(e={});n<t.length;n++)if(gi(t[n])){for(const r of Object.keys(t[n]))sT(r)&&(gi(e[r])&&gi(t[n][r])?Yy(e[r],t[n][r]):e[r]=t[n][r]);aT(e,t[n])}return e}const mp="data:image/gif;base64,R0lGODlhAQABAIAAAAAAAP///yH5BAEAAAAALAAAAAABAAEAAAIBRAA7",lT="",uT={rootMargin:"0px",threshold:0},Zo="data-lazy-timeout-id";class cT{constructor(t){this.options={loading:mp,error:lT,observerOptions:uT,log:!0,lifecycle:{},logLevel:"error"},this._images=new WeakMap,this.config(t)}config(t={}){Yy(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(fr.LOADING,i,t),t.setAttribute("src",o||mp),nT||(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(fr.LOADED,o,t)},()=>{var s;t.onload=null,this._lifecycle(fr.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(Zo))return;const a=setTimeout(()=>{this._intersectionCallback(t,n,o,s,i),n.target.removeAttribute(Zo)},r);n.target.setAttribute(Zo,String(a))}else n.target.hasAttribute(Zo)&&(clearTimeout(Number(n.target.getAttribute(Zo))),n.target.removeAttribute(Zo))}_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 gi(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 fr.LOADING:r==null||r.setAttribute("lazy",fr.LOADING),n!=null&&n.loading&&n.loading(r);break;case fr.LOADED:r==null||r.setAttribute("lazy",fr.LOADED),n!=null&&n.loaded&&n.loaded(r);break;case fr.ERROR:r==null||r.setAttribute("lazy",fr.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 mT={install(e,t){const n=new cT(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 Xy={exports:{}};const Jy=By(uw);(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(y){var u=/.*at [^(]*\((.*):(.+):(.+)\)$/ig,c=/@([^@]*):(\d+):(\d+)\s*$/ig,m=u.exec(y.stack)||c.exec(y.stack),d=m&&m[1]||!1,f=m&&m[2]||!1,h=document.location.href.replace(document.location.hash,""),_,b,v,w=document.getElementsByTagName("script");d===h&&(_=document.documentElement.outerHTML,b=new RegExp("(?:[^\\n]+?\\n){0,"+(f-2)+"}[^<]*<script>([\\d\\D]*?)<\\/script>[\\d\\D]*","i"),v=_.replace(b,"$1").trim());for(var g=0;g<w.length;g++)if(w[g].readyState==="interactive"||w[g].src===d||d===h&&w[g].innerHTML&&w[g].innerHTML.trim()===v)return w[g];return null}}return a})},"8bbf":function(t,n){t.exports=Jy},fb15:function(t,n,r){if(r.r(n),typeof window<"u"){var o=window.document.currentScript;{var s=r("8875");o=s(),"currentScript"in document||Object.defineProperty(document,"currentScript",{get:s})}var i=o&&o.src.match(/(.+\/)[^/]+\.js(\?.*)?$/);i&&(r.p=i[1])}var a=r("8bbf");function l(h,_,b,v,w,g){return Object(a.openBlock)(),Object(a.createBlock)("div",{style:v.finalStyle},null,4)}var u=typeof window<"u",c={name:"VueProgress",serverCacheKey:function(){return"Progress"},setup:function(){var _=u?Object(a.inject)("RADON_LOADING_BAR"):{percent:0,options:{canSuccess:!0,show:!1,color:"rgb(19, 91, 55)",failedColor:"red",thickness:"2px",transition:{speed:"0.2s",opacity:"0.6s",termination:300},location:"top",autoRevert:!0,inverse:!1}},b=Object(a.computed)(function(){var v=_.options,w=!!v.show,g=v.location,y={"z-index":999999,"background-color":v.canSuccess?v.color:v.failedColor,opacity:v.show?1:0,position:v.position};return g==="top"||g==="bottom"?(g==="top"?y.top="0px":y.bottom="0px",v.inverse?y.right="0px":y.left="0px",y.width=_.percent+"%",y.height=v.thickness,y.transition=(w?"width "+v.transition.speed+", ":"")+"opacity "+v.transition.opacity):(g==="left"||g==="right")&&(g==="left"?y.left="0px":y.right="0px",v.inverse?y.top="0px":y.bottom="0px",y.height=_.percent+"%",y.width=v.thickness,y.transition=(w?"height "+v.transition.speed+", ":"")+"opacity "+v.transition.opacity),y});return{progress:_,finalStyle:b}}};c.render=l;var m=c;function d(h,_){for(var b=1,v,w;b<arguments.length;++b){w=arguments[b];for(v in w)Object.prototype.hasOwnProperty.call(w,v)&&(h[v]=w[v])}return h}var f={install:function(_,b){var v={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=d(v,b),g=Object(a.reactive)({percent:0,options:w});_.provide("RADON_LOADING_BAR",g);var y={state:{tFailColor:"",tColor:"",timer:null,cut:0},start:function(C){var L=this;C||(C=3e3),g.percent=0,g.options.show=!0,g.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()),g.percent>95&&g.options.autoFinish&&L.finish()},100)},set:function(C){g.options.show=!0,g.options.canSuccess=!0,g.percent=Math.floor(C)},get:function(){return Math.floor(g.percent)},increase:function(C){g.percent=Math.min(99,g.percent+Math.floor(C))},decrease:function(C){g.percent=g.percent-Math.floor(C)},hide:function(){var C=this;clearInterval(this.state.timer),this.state.timer=null,setTimeout(function(){g.options.show=!1,Object(a.nextTick)(function(){setTimeout(function(){g.percent=0},100),g.options.autoRevert&&setTimeout(function(){C.revert()},300)})},g.options.transition.termination)},pause:function(){clearInterval(this.state.timer)},finish:function(){g.percent=100,this.hide()},fail:function(){g.options.canSuccess=!1,g.percent=100,this.hide()},setFailColor:function(C){g.options.failedColor=C},setColor:function(C){g.options.color=C},setLocation:function(C){g.options.location=C},setTransition:function(C){g.options.transition=C},tempFailColor:function(C){this.state.tFailColor=g.options.failedColor,g.options.failedColor=C},tempColor:function(C){this.state.tColor=g.options.color,g.options.color=C},tempLocation:function(C){this.state.tLocation=g.options.location,g.options.location=C},tempTransition:function(C){this.state.tTransition=g.options.transition,g.options.transition=C},revertColor:function(){g.options.color=this.state.tColor,this.state.tColor=""},revertFailColor:function(){g.options.failedColor=this.state.tFailColor,this.state.tFailColor=""},revertLocation:function(){g.options.location=this.state.tLocation,this.state.tLocation=""},revertTransition:function(){g.options.transition=this.state.tTransition,this.state.tTransition={}},revert:function(){g.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 N=C.func[L];switch(N.call){case"color":switch(N.modifier){case"set":this.setColor(N.argument);break;case"temp":this.tempColor(N.argument);break}break;case"fail":switch(N.modifier){case"set":this.setFailColor(N.argument);break;case"temp":this.tempFailColor(N.argument);break}break;case"location":switch(N.modifier){case"set":this.setLocation(N.argument);break;case"temp":this.tempLocation(N.argument);break}break;case"transition":switch(N.modifier){case"set":this.setTransition(N.argument);break;case"temp":this.tempTransition(N.argument);break}break}}}};_.component("vue-progress-bar",m),_.config.globalProperties.$Progress=y}};n.default=f}})})(Xy);var dT=Xy.exports;const fT=pu(dT);class Wo extends Error{}class pT extends Wo{constructor(t){super(`Invalid DateTime: ${t.toMessage()}`)}}class hT extends Wo{constructor(t){super(`Invalid Interval: ${t.toMessage()}`)}}class _T extends Wo{constructor(t){super(`Invalid Duration: ${t.toMessage()}`)}}class ms extends Wo{}class Qy extends Wo{constructor(t){super(`Invalid unit ${t}`)}}class qt extends Wo{}class Br extends Wo{constructor(){super("Zone is an abstract class")}}const ge="numeric",sr="short",An="long",yl={year:ge,month:ge,day:ge},e1={year:ge,month:sr,day:ge},gT={year:ge,month:sr,day:ge,weekday:sr},t1={year:ge,month:An,day:ge},n1={year:ge,month:An,day:ge,weekday:An},r1={hour:ge,minute:ge},o1={hour:ge,minute:ge,second:ge},s1={hour:ge,minute:ge,second:ge,timeZoneName:sr},i1={hour:ge,minute:ge,second:ge,timeZoneName:An},a1={hour:ge,minute:ge,hourCycle:"h23"},l1={hour:ge,minute:ge,second:ge,hourCycle:"h23"},u1={hour:ge,minute:ge,second:ge,hourCycle:"h23",timeZoneName:sr},c1={hour:ge,minute:ge,second:ge,hourCycle:"h23",timeZoneName:An},m1={year:ge,month:ge,day:ge,hour:ge,minute:ge},d1={year:ge,month:ge,day:ge,hour:ge,minute:ge,second:ge},f1={year:ge,month:sr,day:ge,hour:ge,minute:ge},p1={year:ge,month:sr,day:ge,hour:ge,minute:ge,second:ge},yT={year:ge,month:sr,day:ge,weekday:sr,hour:ge,minute:ge},h1={year:ge,month:An,day:ge,hour:ge,minute:ge,timeZoneName:sr},_1={year:ge,month:An,day:ge,hour:ge,minute:ge,second:ge,timeZoneName:sr},g1={year:ge,month:An,day:ge,weekday:An,hour:ge,minute:ge,timeZoneName:An},y1={year:ge,month:An,day:ge,weekday:An,hour:ge,minute:ge,second:ge,timeZoneName:An};class Ji{get type(){throw new Br}get name(){throw new Br}get ianaName(){return this.name}get isUniversal(){throw new Br}offsetName(t,n){throw new Br}formatOffset(t,n){throw new Br}offset(t){throw new Br}equals(t){throw new Br}get isValid(){throw new Br}}let Ku=null;class hu extends Ji{static get instance(){return Ku===null&&(Ku=new hu),Ku}get type(){return"system"}get name(){return new Intl.DateTimeFormat().resolvedOptions().timeZone}get isUniversal(){return!1}offsetName(t,{format:n,locale:r}){return x1(t,n,r)}formatOffset(t,n){return yi(this.offset(t),n)}offset(t){return-new Date(t).getTimezoneOffset()}equals(t){return t.type==="system"}get isValid(){return!0}}let Ha={};function bT(e){return Ha[e]||(Ha[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"})),Ha[e]}const vT={year:0,month:1,day:2,era:3,hour:4,minute:5,second:6};function zT(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,c]=r;return[i,o,s,a,l,u,c]}function wT(e,t){const n=e.formatToParts(t),r=[];for(let o=0;o<n.length;o++){const{type:s,value:i}=n[o],a=vT[s];s==="era"?r[a]=i:De(a)||(r[a]=parseInt(i,10))}return r}let ya={};class Rr extends Ji{static create(t){return ya[t]||(ya[t]=new Rr(t)),ya[t]}static resetCache(){ya={},Ha={}}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=Rr.isValidZone(t)}get type(){return"iana"}get name(){return this.zoneName}get isUniversal(){return!1}offsetName(t,{format:n,locale:r}){return x1(t,n,r,this.name)}formatOffset(t,n){return yi(this.offset(t),n)}offset(t){const n=new Date(t);if(isNaN(n))return NaN;const r=bT(this.name);let[o,s,i,a,l,u,c]=r.formatToParts?wT(r,n):zT(r,n);a==="BC"&&(o=-Math.abs(o)+1);const d=gu({year:o,month:s,day:i,hour:l===24?0:l,minute:u,second:c,millisecond:0});let f=+n;const h=f%1e3;return f-=h>=0?h:1e3+h,(d-f)/(60*1e3)}equals(t){return t.type==="iana"&&t.name===this.name}get isValid(){return this.valid}}let dp={};function ST(e,t={}){const n=JSON.stringify([e,t]);let r=dp[n];return r||(r=new Intl.ListFormat(e,t),dp[n]=r),r}let sm={};function im(e,t={}){const n=JSON.stringify([e,t]);let r=sm[n];return r||(r=new Intl.DateTimeFormat(e,t),sm[n]=r),r}let am={};function CT(e,t={}){const n=JSON.stringify([e,t]);let r=am[n];return r||(r=new Intl.NumberFormat(e,t),am[n]=r),r}let lm={};function kT(e,t={}){const{base:n,...r}=t,o=JSON.stringify([e,r]);let s=lm[o];return s||(s=new Intl.RelativeTimeFormat(e,t),lm[o]=s),s}let ni=null;function ET(){return ni||(ni=new Intl.DateTimeFormat().resolvedOptions().locale,ni)}let fp={};function xT(e){let t=fp[e];if(!t){const n=new Intl.Locale(e);t="getWeekInfo"in n?n.getWeekInfo():n.weekInfo,fp[e]=t}return t}function TT(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=im(e).resolvedOptions(),o=e}catch{const l=e.substring(0,n);r=im(l).resolvedOptions(),o=l}const{numberingSystem:s,calendar:i}=r;return[o,s,i]}}function AT(e,t,n){return(n||t)&&(e.includes("-u-")||(e+="-u"),n&&(e+=`-ca-${n}`),t&&(e+=`-nu-${t}`)),e}function OT(e){const t=[];for(let n=1;n<=12;n++){const r=Te.utc(2009,n,1);t.push(e(r))}return t}function $T(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 ba(e,t,n,r){const o=e.listingMode();return o==="error"?null:o==="en"?n(t):r(t)}function PT(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 IT{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=CT(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):pd(t,3);return Lt(n,this.padTo)}}}class LT{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&&Rr.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=im(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 NT{constructor(t,n,r){this.opts={style:"long",...r},!n&&k1()&&(this.rtf=kT(t,r))}format(t,n){return this.rtf?this.rtf.format(t,n):oA(n,t,this.opts.numeric,this.opts.style!=="long")}formatToParts(t,n){return this.rtf?this.rtf.formatToParts(t,n):[]}}const DT={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||At.defaultLocale,a=i||(s?"en-US":ET()),l=n||At.defaultNumberingSystem,u=r||At.defaultOutputCalendar,c=um(o)||At.defaultWeekSettings;return new ct(a,l,u,c,i)}static resetCache(){ni=null,sm={},am={},lm={}}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]=TT(t);this.locale=i,this.numberingSystem=n||a||null,this.outputCalendar=r||l||null,this.weekSettings=o,this.intl=AT(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=PT(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,um(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 ba(this,t,O1,()=>{const r=n?{month:t,day:"numeric"}:{month:t},o=n?"format":"standalone";return this.monthsCache[o][t]||(this.monthsCache[o][t]=OT(s=>this.extract(s,r,"month"))),this.monthsCache[o][t]})}weekdays(t,n=!1){return ba(this,t,I1,()=>{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]=$T(s=>this.extract(s,r,"weekday"))),this.weekdaysCache[o][t]})}meridiems(){return ba(this,void 0,()=>L1,()=>{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 ba(this,t,N1,()=>{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 IT(this.intl,t.forceSimple||this.fastNumbers,t)}dtFormatter(t,n={}){return new LT(t,this.intl,n)}relFormatter(t={}){return new NT(this.intl,this.isEnglish(),t)}listFormatter(t={}){return ST(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:E1()?xT(this.locale):DT}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 Zu=null;class ln extends Ji{static get utcInstance(){return Zu===null&&(Zu=new ln(0)),Zu}static instance(t){return t===0?ln.utcInstance:new ln(t)}static parseSpecifier(t){if(t){const n=t.match(/^utc(?:([+-]\d{1,2})(?::(\d{2}))?)?$/i);if(n)return new ln(yu(n[1],n[2]))}return null}constructor(t){super(),this.fixed=t}get type(){return"fixed"}get name(){return this.fixed===0?"UTC":`UTC${yi(this.fixed,"narrow")}`}get ianaName(){return this.fixed===0?"Etc/UTC":`Etc/GMT${yi(-this.fixed,"narrow")}`}offsetName(){return this.name}formatOffset(t,n){return yi(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 RT 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 oo(e,t){if(De(e)||e===null)return t;if(e instanceof Ji)return e;if(jT(e)){const n=e.toLowerCase();return n==="default"?t:n==="local"||n==="system"?hu.instance:n==="utc"||n==="gmt"?ln.utcInstance:ln.parseSpecifier(n)||Rr.create(e)}else return lo(e)?ln.instance(e):typeof e=="object"&&"offset"in e&&typeof e.offset=="function"?e:new RT(e)}const cd={arab:"[٠-٩]",arabext:"[۰-۹]",bali:"[᭐-᭙]",beng:"[-৯]",deva:"[-९]",fullwide:"[-]",gujr:"[-૯]",hanidec:"[|一|二|三|四|五|六|七|八|九]",khmr:"[០-៩]",knda:"[-೯]",laoo:"[-໙]",limb:"[᥆-᥏]",mlym:"[-൯]",mong:"[᠐-᠙]",mymr:"[-၉]",orya:"[-୯]",tamldec:"[-௯]",telu:"[-౯]",thai:"[-๙]",tibt:"[༠-༩]",latn:"\\d"},pp={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]},MT=cd.hanidec.replace(/[\[|\]]/g,"").split("");function FT(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(cd.hanidec)!==-1)t+=MT.indexOf(e[n]);else for(const o in pp){const[s,i]=pp[o];r>=s&&r<=i&&(t+=r-s)}}return parseInt(t,10)}else return t}let is={};function VT(){is={}}function Gn({numberingSystem:e},t=""){const n=e||"latn";return is[n]||(is[n]={}),is[n][t]||(is[n][t]=new RegExp(`${cd[n]}${t}`)),is[n][t]}let hp=()=>Date.now(),_p="system",gp=null,yp=null,bp=null,vp=60,zp,wp=null;class At{static get now(){return hp}static set now(t){hp=t}static set defaultZone(t){_p=t}static get defaultZone(){return oo(_p,hu.instance)}static get defaultLocale(){return gp}static set defaultLocale(t){gp=t}static get defaultNumberingSystem(){return yp}static set defaultNumberingSystem(t){yp=t}static get defaultOutputCalendar(){return bp}static set defaultOutputCalendar(t){bp=t}static get defaultWeekSettings(){return wp}static set defaultWeekSettings(t){wp=um(t)}static get twoDigitCutoffYear(){return vp}static set twoDigitCutoffYear(t){vp=t%100}static get throwOnInvalid(){return zp}static set throwOnInvalid(t){zp=t}static resetCaches(){ct.resetCache(),Rr.resetCache(),Te.resetCache(),VT()}}class er{constructor(t,n){this.reason=t,this.explanation=n}toMessage(){return this.explanation?`${this.reason}: ${this.explanation}`:this.reason}}const b1=[0,31,59,90,120,151,181,212,243,273,304,334],v1=[0,31,60,91,121,152,182,213,244,274,305,335];function Nn(e,t){return new er("unit out of range",`you specified ${t} (of type ${typeof t}) as a ${e}, which is invalid`)}function md(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 z1(e,t,n){return n+(Qi(e)?v1:b1)[t-1]}function w1(e,t){const n=Qi(e)?v1:b1,r=n.findIndex(s=>s<t),o=t-n[r];return{month:r+1,day:o}}function dd(e,t){return(e-t+7)%7+1}function bl(e,t=4,n=1){const{year:r,month:o,day:s}=e,i=z1(r,o,s),a=dd(md(r,o,s),n);let l=Math.floor((i-a+14-t)/7),u;return l<1?(u=r-1,l=Vi(u,t,n)):l>Vi(r,t,n)?(u=r+1,l=1):u=r,{weekYear:u,weekNumber:l,weekday:a,...bu(e)}}function Sp(e,t=4,n=1){const{weekYear:r,weekNumber:o,weekday:s}=e,i=dd(md(r,1,t),n),a=bs(r);let l=o*7+s-i-7+t,u;l<1?(u=r-1,l+=bs(u)):l>a?(u=r+1,l-=bs(r)):u=r;const{month:c,day:m}=w1(u,l);return{year:u,month:c,day:m,...bu(e)}}function Yu(e){const{year:t,month:n,day:r}=e,o=z1(t,n,r);return{year:t,ordinal:o,...bu(e)}}function Cp(e){const{year:t,ordinal:n}=e,{month:r,day:o}=w1(t,n);return{year:t,month:r,day:o,...bu(e)}}function kp(e,t){if(!De(e.localWeekday)||!De(e.localWeekNumber)||!De(e.localWeekYear)){if(!De(e.weekday)||!De(e.weekNumber)||!De(e.weekYear))throw new ms("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 HT(e,t=4,n=1){const r=_u(e.weekYear),o=Dn(e.weekNumber,1,Vi(e.weekYear,t,n)),s=Dn(e.weekday,1,7);return r?o?s?!1:Nn("weekday",e.weekday):Nn("week",e.weekNumber):Nn("weekYear",e.weekYear)}function UT(e){const t=_u(e.year),n=Dn(e.ordinal,1,bs(e.year));return t?n?!1:Nn("ordinal",e.ordinal):Nn("year",e.year)}function S1(e){const t=_u(e.year),n=Dn(e.month,1,12),r=Dn(e.day,1,vl(e.year,e.month));return t?n?r?!1:Nn("day",e.day):Nn("month",e.month):Nn("year",e.year)}function C1(e){const{hour:t,minute:n,second:r,millisecond:o}=e,s=Dn(t,0,23)||t===24&&n===0&&r===0&&o===0,i=Dn(n,0,59),a=Dn(r,0,59),l=Dn(o,0,999);return s?i?a?l?!1:Nn("millisecond",o):Nn("second",r):Nn("minute",n):Nn("hour",t)}function De(e){return typeof e>"u"}function lo(e){return typeof e=="number"}function _u(e){return typeof e=="number"&&e%1===0}function jT(e){return typeof e=="string"}function WT(e){return Object.prototype.toString.call(e)==="[object Date]"}function k1(){try{return typeof Intl<"u"&&!!Intl.RelativeTimeFormat}catch{return!1}}function E1(){try{return typeof Intl<"u"&&!!Intl.Locale&&("weekInfo"in Intl.Locale.prototype||"getWeekInfo"in Intl.Locale.prototype)}catch{return!1}}function BT(e){return Array.isArray(e)?e:[e]}function Ep(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 qT(e,t){return t.reduce((n,r)=>(n[r]=e[r],n),{})}function xs(e,t){return Object.prototype.hasOwnProperty.call(e,t)}function um(e){if(e==null)return null;if(typeof e!="object")throw new qt("Week settings must be an object");if(!Dn(e.firstDay,1,7)||!Dn(e.minimalDays,1,7)||!Array.isArray(e.weekend)||e.weekend.some(t=>!Dn(t,1,7)))throw new qt("Invalid week settings");return{firstDay:e.firstDay,minimalDays:e.minimalDays,weekend:Array.from(e.weekend)}}function Dn(e,t,n){return _u(e)&&e>=t&&e<=n}function GT(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 to(e){if(!(De(e)||e===null||e===""))return parseInt(e,10)}function Co(e){if(!(De(e)||e===null||e===""))return parseFloat(e)}function fd(e){if(!(De(e)||e===null||e==="")){const t=parseFloat("0."+e)*1e3;return Math.floor(t)}}function pd(e,t,n=!1){const r=10**t;return(n?Math.trunc:Math.round)(e*r)/r}function Qi(e){return e%4===0&&(e%100!==0||e%400===0)}function bs(e){return Qi(e)?366:365}function vl(e,t){const n=GT(t-1,12)+1,r=e+(t-n)/12;return n===2?Qi(r)?29:28:[31,null,31,30,31,30,31,31,30,31,30,31][n-1]}function gu(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 xp(e,t,n){return-dd(md(e,1,t),n)+t-1}function Vi(e,t=4,n=1){const r=xp(e,t,n),o=xp(e+1,t,n);return(bs(e)-r+o)/7}function cm(e){return e>99?e:e>At.twoDigitCutoffYear?1900+e:2e3+e}function x1(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 yu(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 T1(e){const t=Number(e);if(typeof e=="boolean"||e===""||Number.isNaN(t))throw new qt(`Invalid unit value ${e}`);return t}function zl(e,t){const n={};for(const r in e)if(xs(e,r)){const o=e[r];if(o==null)continue;n[t(r)]=T1(o)}return n}function yi(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 bu(e){return qT(e,["hour","minute","second","millisecond"])}const KT=["January","February","March","April","May","June","July","August","September","October","November","December"],A1=["Jan","Feb","Mar","Apr","May","Jun","Jul","Aug","Sep","Oct","Nov","Dec"],ZT=["J","F","M","A","M","J","J","A","S","O","N","D"];function O1(e){switch(e){case"narrow":return[...ZT];case"short":return[...A1];case"long":return[...KT];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 $1=["Monday","Tuesday","Wednesday","Thursday","Friday","Saturday","Sunday"],P1=["Mon","Tue","Wed","Thu","Fri","Sat","Sun"],YT=["M","T","W","T","F","S","S"];function I1(e){switch(e){case"narrow":return[...YT];case"short":return[...P1];case"long":return[...$1];case"numeric":return["1","2","3","4","5","6","7"];default:return null}}const L1=["AM","PM"],XT=["Before Christ","Anno Domini"],JT=["BC","AD"],QT=["B","A"];function N1(e){switch(e){case"narrow":return[...QT];case"short":return[...JT];case"long":return[...XT];default:return null}}function eA(e){return L1[e.hour<12?0:1]}function tA(e,t){return I1(t)[e.weekday-1]}function nA(e,t){return O1(t)[e.month-1]}function rA(e,t){return N1(t)[e.year<0?0:1]}function oA(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 m=e==="days";switch(t){case 1:return m?"tomorrow":`next ${o[e][0]}`;case-1:return m?"yesterday":`last ${o[e][0]}`;case 0:return m?"today":`this ${o[e][0]}`}}const i=Object.is(t,-0)||t<0,a=Math.abs(t),l=a===1,u=o[e],c=r?l?u[1]:u[2]||u[1]:l?o[e][0]:e;return i?`${a} ${c} ago`:`in ${a} ${c}`}function Tp(e,t){let n="";for(const r of e)r.literal?n+=r.val:n+=t(r.val);return n}const sA={D:yl,DD:e1,DDD:t1,DDDD:n1,t:r1,tt:o1,ttt:s1,tttt:i1,T:a1,TT:l1,TTT:u1,TTTT:c1,f:m1,ff:f1,fff:h1,ffff:g1,F:d1,FF:p1,FFF:_1,FFFF:y1};class Yt{static create(t,n={}){return new Yt(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 sA[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=(f,h)=>this.loc.extract(t,f,h),i=f=>t.isOffsetFixed&&t.offset===0&&f.allowZ?"Z":t.isValid?t.zone.formatOffset(t.ts,f.format):"",a=()=>r?eA(t):s({hour:"numeric",hourCycle:"h12"},"dayperiod"),l=(f,h)=>r?nA(t,f):s(h?{month:f}:{month:f,day:"numeric"},"month"),u=(f,h)=>r?tA(t,f):s(h?{weekday:f}:{weekday:f,month:"long",day:"numeric"},"weekday"),c=f=>{const h=Yt.macroTokenToFormatOpts(f);return h?this.formatWithSystemDefault(t,h):f},m=f=>r?rA(t,f):s({era:f},"era"),d=f=>{switch(f){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 m("short");case"GG":return m("long");case"GGGGG":return m("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 c(f)}};return Tp(Yt.parseFormat(n),d)}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 c=r(u);return c?this.num(l.get(c),u.length):u},s=Yt.parseFormat(n),i=s.reduce((l,{literal:u,val:c})=>u?l:l.concat(c),[]),a=t.shiftTo(...i.map(r).filter(l=>l));return Tp(s,o(a))}}const D1=/[A-Za-z_+-]{1,256}(?::?\/[A-Za-z0-9_+-]{1,256}(?:\/[A-Za-z0-9_+-]{1,256})?)?/;function Ms(...e){const t=e.reduce((n,r)=>n+r.source,"");return RegExp(`^${t}$`)}function Fs(...e){return t=>e.reduce(([n,r,o],s)=>{const[i,a,l]=s(t,o);return[{...n,...i},a||r,l]},[{},null,1]).slice(0,2)}function Vs(e,...t){if(e==null)return[null,null];for(const[n,r]of t){const o=n.exec(e);if(o)return r(o)}return[null,null]}function R1(...e){return(t,n)=>{const r={};let o;for(o=0;o<e.length;o++)r[e[o]]=to(t[n+o]);return[r,null,n+o]}}const M1=/(?:(Z)|([+-]\d\d)(?::?(\d\d))?)/,iA=`(?:${M1.source}?(?:\\[(${D1.source})\\])?)?`,hd=/(\d\d)(?::?(\d\d)(?::?(\d\d)(?:[.,](\d{1,30}))?)?)?/,F1=RegExp(`${hd.source}${iA}`),_d=RegExp(`(?:T${F1.source})?`),aA=/([+-]\d{6}|\d{4})(?:-?(\d\d)(?:-?(\d\d))?)?/,lA=/(\d{4})-?W(\d\d)(?:-?(\d))?/,uA=/(\d{4})-?(\d{3})/,cA=R1("weekYear","weekNumber","weekDay"),mA=R1("year","ordinal"),dA=/(\d{4})-(\d\d)-(\d\d)/,V1=RegExp(`${hd.source} ?(?:${M1.source}|(${D1.source}))?`),fA=RegExp(`(?: ${V1.source})?`);function vs(e,t,n){const r=e[t];return De(r)?n:to(r)}function pA(e,t){return[{year:vs(e,t),month:vs(e,t+1,1),day:vs(e,t+2,1)},null,t+3]}function Hs(e,t){return[{hours:vs(e,t,0),minutes:vs(e,t+1,0),seconds:vs(e,t+2,0),milliseconds:fd(e[t+3])},null,t+4]}function ea(e,t){const n=!e[t]&&!e[t+1],r=yu(e[t+1],e[t+2]),o=n?null:ln.instance(r);return[{},o,t+3]}function ta(e,t){const n=e[t]?Rr.create(e[t]):null;return[{},n,t+1]}const hA=RegExp(`^T?${hd.source}$`),_A=/^-?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 gA(e){const[t,n,r,o,s,i,a,l,u]=e,c=t[0]==="-",m=l&&l[0]==="-",d=(f,h=!1)=>f!==void 0&&(h||f&&c)?-f:f;return[{years:d(Co(n)),months:d(Co(r)),weeks:d(Co(o)),days:d(Co(s)),hours:d(Co(i)),minutes:d(Co(a)),seconds:d(Co(l),l==="-0"),milliseconds:d(fd(u),m)}]}const yA={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 gd(e,t,n,r,o,s,i){const a={year:t.length===2?cm(to(t)):to(t),month:A1.indexOf(n)+1,day:to(r),hour:to(o),minute:to(s)};return i&&(a.second=to(i)),e&&(a.weekday=e.length>3?$1.indexOf(e)+1:P1.indexOf(e)+1),a}const bA=/^(?:(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 vA(e){const[,t,n,r,o,s,i,a,l,u,c,m]=e,d=gd(t,o,r,n,s,i,a);let f;return l?f=yA[l]:u?f=0:f=yu(c,m),[d,new ln(f)]}function zA(e){return e.replace(/\([^()]*\)|[\n\t]/g," ").replace(/(\s\s+)/g," ").trim()}const wA=/^(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$/,SA=/^(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$/,CA=/^(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 Ap(e){const[,t,n,r,o,s,i,a]=e;return[gd(t,o,r,n,s,i,a),ln.utcInstance]}function kA(e){const[,t,n,r,o,s,i,a]=e;return[gd(t,a,n,r,o,s,i),ln.utcInstance]}const EA=Ms(aA,_d),xA=Ms(lA,_d),TA=Ms(uA,_d),AA=Ms(F1),H1=Fs(pA,Hs,ea,ta),OA=Fs(cA,Hs,ea,ta),$A=Fs(mA,Hs,ea,ta),PA=Fs(Hs,ea,ta);function IA(e){return Vs(e,[EA,H1],[xA,OA],[TA,$A],[AA,PA])}function LA(e){return Vs(zA(e),[bA,vA])}function NA(e){return Vs(e,[wA,Ap],[SA,Ap],[CA,kA])}function DA(e){return Vs(e,[_A,gA])}const RA=Fs(Hs);function MA(e){return Vs(e,[hA,RA])}const FA=Ms(dA,fA),VA=Ms(V1),HA=Fs(Hs,ea,ta);function UA(e){return Vs(e,[FA,H1],[VA,HA])}const Op="Invalid Duration",U1={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}},jA={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},...U1},Pn=146097/400,Yo=146097/4800,WA={years:{quarters:4,months:12,weeks:Pn/7,days:Pn,hours:Pn*24,minutes:Pn*24*60,seconds:Pn*24*60*60,milliseconds:Pn*24*60*60*1e3},quarters:{months:3,weeks:Pn/28,days:Pn/4,hours:Pn*24/4,minutes:Pn*24*60/4,seconds:Pn*24*60*60/4,milliseconds:Pn*24*60*60*1e3/4},months:{weeks:Yo/7,days:Yo,hours:Yo*24,minutes:Yo*24*60,seconds:Yo*24*60*60,milliseconds:Yo*24*60*60*1e3},...U1},Oo=["years","quarters","months","weeks","days","hours","minutes","seconds","milliseconds"],BA=Oo.slice(0).reverse();function qr(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 j1(e,t){let n=t.milliseconds??0;for(const r of BA.slice(1))t[r]&&(n+=t[r]*e[r].milliseconds);return n}function $p(e,t){const n=j1(e,t)<0?-1:1;Oo.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),Oo.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 qA(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?WA:jA;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:zl(t,Ke.normalizeUnit),loc:ct.fromObject(n),conversionAccuracy:n.conversionAccuracy,matrix:n.matrix})}static fromDurationLike(t){if(lo(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]=DA(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]=MA(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 er?t:new er(t,n);if(At.throwOnInvalid)throw new _T(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 Qy(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?Yt.create(this.loc,r).formatDurationFromString(this,t):Op}toHuman(t={}){if(!this.isValid)return Op;const n=Oo.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+=pd(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?j1(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 Oo)(xs(n.values,o)||xs(this.values,o))&&(r[o]=n.get(o)+this.get(o));return qr(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]=T1(t(this.values[r],r));return qr(this,{values:n},!0)}get(t){return this[Ke.normalizeUnit(t)]}set(t){if(!this.isValid)return this;const n={...this.values,...zl(t,Ke.normalizeUnit)};return qr(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 qr(this,i)}as(t){return this.isValid?this.shiftTo(t).get(t):NaN}normalize(){if(!this.isValid)return this;const t=this.toObject();return $p(this.matrix,t),qr(this,{values:t},!0)}rescale(){if(!this.isValid)return this;const t=qA(this.normalize().shiftToAll().toObject());return qr(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 Oo)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;lo(o[i])&&(a+=o[i]);const l=Math.trunc(a);n[i]=l,r[i]=(a*1e3-l*1e3)/1e3}else lo(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 $p(this.matrix,n),qr(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 qr(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 Oo)if(!n(this.values[r],t.values[r]))return!1;return!0}}const Xo="Invalid Interval";function GA(e,t){return!e||!e.isValid?Tt.invalid("missing or invalid start"):!t||!t.isValid?Tt.invalid("missing or invalid end"):t<e?Tt.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 Tt{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 er?t:new er(t,n);if(At.throwOnInvalid)throw new hT(r);return new Tt({invalid:r})}static fromDateTimes(t,n){const r=Ks(t),o=Ks(n),s=GA(r,o);return s??new Tt({start:r,end:o})}static after(t,n){const r=Ke.fromDurationLike(n),o=Ks(t);return Tt.fromDateTimes(o,o.plus(r))}static before(t,n){const r=Ke.fromDurationLike(n),o=Ks(t);return Tt.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 Tt.fromDateTimes(s,a);if(i){const u=Ke.fromISO(o,n);if(u.isValid)return Tt.after(s,u)}else if(l){const u=Ke.fromISO(r,n);if(u.isValid)return Tt.before(a,u)}}return Tt.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?Tt.fromDateTimes(t||this.s,n||this.e):this}splitAt(...t){if(!this.isValid)return[];const n=t.map(Ks).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(Tt.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(Tt.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:Tt.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 Tt.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(Tt.fromDateTimes(n,l.time)),n=null);return Tt.merge(o)}difference(...t){return Tt.xor([this].concat(t)).map(n=>this.intersection(n)).filter(n=>n&&!n.isEmpty())}toString(){return this.isValid?`[${this.s.toISO()} ${this.e.toISO()})`:Xo}[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=yl,n={}){return this.isValid?Yt.create(this.s.loc.clone(n),t).formatInterval(this):Xo}toISO(t){return this.isValid?`${this.s.toISO(t)}/${this.e.toISO(t)}`:Xo}toISODate(){return this.isValid?`${this.s.toISODate()}/${this.e.toISODate()}`:Xo}toISOTime(t){return this.isValid?`${this.s.toISOTime(t)}/${this.e.toISOTime(t)}`:Xo}toFormat(t,{separator:n=" "}={}){return this.isValid?`${this.s.toFormat(t)}${n}${this.e.toFormat(t)}`:Xo}toDuration(t,n){return this.isValid?this.e.diff(this.s,t,n):Ke.invalid(this.invalidReason)}mapEndpoints(t){return Tt.fromDateTimes(t(this.s),t(this.e))}}class va{static hasDST(t=At.defaultZone){const n=Te.now().setZone(t).set({month:12});return!t.isUniversal&&n.offset!==n.set({month:6}).offset}static isValidIANAZone(t){return Rr.isValidZone(t)}static normalizeZone(t){return oo(t,At.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:k1(),localeWeek:E1()}}}function Pp(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 KA(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 c=Pp(l,u);return(c-c%7)/7}],["days",Pp]],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 ZA(e,t,n,r){let[o,s,i,a]=KA(e,t,n);const l=t-o,u=n.filter(m=>["hours","minutes","seconds","milliseconds"].indexOf(m)>=0);u.length===0&&(i<t&&(i=o.plus({[a]:1})),i!==o&&(s[a]=(s[a]||0)+l/(i-o)));const c=Ke.fromObject(s,r);return u.length>0?Ke.fromMillis(l,r).shiftTo(...u).plus(c):c}const YA="missing Intl.DateTimeFormat.formatToParts support";function ot(e,t=n=>n){return{regex:e,deser:([n])=>t(FT(n))}}const XA=" ",W1=`[ ${XA}]`,B1=new RegExp(W1,"g");function JA(e){return e.replace(/\./g,"\\.?").replace(B1,W1)}function Ip(e){return e.replace(/\./g,"").replace(B1," ").toLowerCase()}function Kn(e,t){return e===null?null:{regex:RegExp(e.map(JA).join("|")),deser:([n])=>e.findIndex(r=>Ip(n)===Ip(r))+t}}function Lp(e,t){return{regex:e,deser:([,n,r])=>yu(n,r),groups:t}}function za(e){return{regex:e,deser:([t])=>t}}function QA(e){return e.replace(/[\-\[\]{}()*+?.,\\\^$|#\s]/g,"\\$&")}function eO(e,t){const n=Gn(t),r=Gn(t,"{2}"),o=Gn(t,"{3}"),s=Gn(t,"{4}"),i=Gn(t,"{6}"),a=Gn(t,"{1,2}"),l=Gn(t,"{1,3}"),u=Gn(t,"{1,6}"),c=Gn(t,"{1,9}"),m=Gn(t,"{2,4}"),d=Gn(t,"{4,6}"),f=b=>({regex:RegExp(QA(b.val)),deser:([v])=>v,literal:!0}),_=(b=>{if(e.literal)return f(b);switch(b.val){case"G":return Kn(t.eras("short"),0);case"GG":return Kn(t.eras("long"),0);case"y":return ot(u);case"yy":return ot(m,cm);case"yyyy":return ot(s);case"yyyyy":return ot(d);case"yyyyyy":return ot(i);case"M":return ot(a);case"MM":return ot(r);case"MMM":return Kn(t.months("short",!0),1);case"MMMM":return Kn(t.months("long",!0),1);case"L":return ot(a);case"LL":return ot(r);case"LLL":return Kn(t.months("short",!1),1);case"LLLL":return Kn(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 za(c);case"uu":return za(a);case"uuu":return ot(n);case"a":return Kn(t.meridiems(),0);case"kkkk":return ot(s);case"kk":return ot(m,cm);case"W":return ot(a);case"WW":return ot(r);case"E":case"c":return ot(n);case"EEE":return Kn(t.weekdays("short",!1),1);case"EEEE":return Kn(t.weekdays("long",!1),1);case"ccc":return Kn(t.weekdays("short",!0),1);case"cccc":return Kn(t.weekdays("long",!0),1);case"Z":case"ZZ":return Lp(new RegExp(`([+-]${a.source})(?::(${r.source}))?`),2);case"ZZZ":return Lp(new RegExp(`([+-]${a.source})(${r.source})?`),2);case"z":return za(/[a-z_+-/]{1,256}?/i);case" ":return za(/[^\S\n\r]/);default:return f(b)}})(e)||{invalidReason:YA};return _.token=e,_}const tO={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 nO(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=tO[i];if(typeof a=="object"&&(a=a[s]),a)return{literal:!1,val:a}}function rO(e){return[`^${e.map(n=>n.regex).reduce((n,r)=>`${n}(${r.source})`,"")}$`,e]}function oO(e,t,n){const r=e.match(t);if(r){const o={};let s=1;for(const i in n)if(xs(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 sO(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=Rr.create(e.z)),De(e.Z)||(n||(n=new ln(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=fd(e.u)),[Object.keys(e).reduce((s,i)=>{const a=t(i);return a&&(s[a]=e[i]),s},{}),n,r]}let Xu=null;function iO(){return Xu||(Xu=Te.fromMillis(1555555555555)),Xu}function aO(e,t){if(e.literal)return e;const n=Yt.macroTokenToFormatOpts(e.val),r=Z1(n,t);return r==null||r.includes(void 0)?e:r}function q1(e,t){return Array.prototype.concat(...e.map(n=>aO(n,t)))}class G1{constructor(t,n){if(this.locale=t,this.format=n,this.tokens=q1(Yt.parseFormat(n),t),this.units=this.tokens.map(r=>eO(r,t)),this.disqualifyingUnit=this.units.find(r=>r.invalidReason),!this.disqualifyingUnit){const[r,o]=rO(this.units);this.regex=RegExp(r,"i"),this.handlers=o}}explainFromTokens(t){if(this.isValid){const[n,r]=oO(t,this.regex,this.handlers),[o,s,i]=r?sO(r):[null,null,void 0];if(xs(r,"a")&&xs(r,"H"))throw new ms("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 K1(e,t,n){return new G1(e,n).explainFromTokens(t)}function lO(e,t,n){const{result:r,zone:o,specificOffset:s,invalidReason:i}=K1(e,t,n);return[r,o,s,i]}function Z1(e,t){if(!e)return null;const r=Yt.create(t,e).dtFormatter(iO()),o=r.formatToParts(),s=r.resolvedOptions();return o.map(i=>nO(i,e,s))}const Ju="Invalid DateTime",uO=864e13;function ri(e){return new er("unsupported zone",`the zone "${e.name}" is not supported`)}function Qu(e){return e.weekData===null&&(e.weekData=bl(e.c)),e.weekData}function ec(e){return e.localWeekData===null&&(e.localWeekData=bl(e.c,e.loc.getMinDaysInFirstWeek(),e.loc.getStartOfWeek())),e.localWeekData}function ko(e,t){const n={ts:e.ts,zone:e.zone,c:e.c,o:e.o,loc:e.loc,invalid:e.invalid};return new Te({...n,...t,old:n})}function Y1(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 wa(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 Ua(e,t,n){return Y1(gu(e),t,n)}function Np(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,vl(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=gu(s);let[l,u]=Y1(a,n,e.zone);return i!==0&&(l+=i,u=e.zone.offset(l)),{ts:l,o:u}}function Jo(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 er("unparsable",`the input "${o}" can't be parsed as ${r}`))}function Sa(e,t,n=!0){return e.isValid?Yt.create(ct.create("en-US"),{allowZ:n,forceSimple:!0}).formatDateTimeFromString(e,t):null}function tc(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 Dp(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 X1={month:1,day:1,hour:0,minute:0,second:0,millisecond:0},cO={weekNumber:1,weekday:1,hour:0,minute:0,second:0,millisecond:0},mO={ordinal:1,hour:0,minute:0,second:0,millisecond:0},J1=["year","month","day","hour","minute","second","millisecond"],dO=["weekYear","weekNumber","weekday","hour","minute","second","millisecond"],fO=["year","ordinal","hour","minute","second","millisecond"];function pO(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 Qy(e);return t}function Rp(e){switch(e.toLowerCase()){case"localweekday":case"localweekdays":return"localWeekday";case"localweeknumber":case"localweeknumbers":return"localWeekNumber";case"localweekyear":case"localweekyears":return"localWeekYear";default:return pO(e)}}function hO(e){return Wa[e]||(ja===void 0&&(ja=At.now()),Wa[e]=e.offset(ja)),Wa[e]}function Mp(e,t){const n=oo(t.zone,At.defaultZone);if(!n.isValid)return Te.invalid(ri(n));const r=ct.fromObject(t);let o,s;if(De(e.year))o=At.now();else{for(const l of J1)De(e[l])&&(e[l]=X1[l]);const i=S1(e)||C1(e);if(i)return Te.invalid(i);const a=hO(n);[o,s]=Ua(e,a,n)}return new Te({ts:o,zone:n,loc:r,o:s})}function Fp(e,t,n){const r=De(n.round)?!0:n.round,o=(i,a)=>(i=pd(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 Vp(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 ja,Wa={};class Te{constructor(t){const n=t.zone||At.defaultZone;let r=t.invalid||(Number.isNaN(t.ts)?new er("invalid input"):null)||(n.isValid?null:ri(n));this.ts=De(t.ts)?At.now():t.ts;let o=null,s=null;if(!r)if(t.old&&t.old.ts===this.ts&&t.old.zone.equals(n))[o,s]=[t.old.c,t.old.o];else{const a=lo(t.o)&&!t.old?t.o:n.offset(this.ts);o=wa(this.ts,a),r=Number.isNaN(o.year)?new er("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]=Vp(arguments),[r,o,s,i,a,l,u]=n;return Mp({year:r,month:o,day:s,hour:i,minute:a,second:l,millisecond:u},t)}static utc(){const[t,n]=Vp(arguments),[r,o,s,i,a,l,u]=n;return t.zone=ln.utcInstance,Mp({year:r,month:o,day:s,hour:i,minute:a,second:l,millisecond:u},t)}static fromJSDate(t,n={}){const r=WT(t)?t.valueOf():NaN;if(Number.isNaN(r))return Te.invalid("invalid input");const o=oo(n.zone,At.defaultZone);return o.isValid?new Te({ts:r,zone:o,loc:ct.fromObject(n)}):Te.invalid(ri(o))}static fromMillis(t,n={}){if(lo(t))return t<-864e13||t>uO?Te.invalid("Timestamp out of range"):new Te({ts:t,zone:oo(n.zone,At.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(lo(t))return new Te({ts:t*1e3,zone:oo(n.zone,At.defaultZone),loc:ct.fromObject(n)});throw new qt("fromSeconds requires a numerical input")}static fromObject(t,n={}){t=t||{};const r=oo(n.zone,At.defaultZone);if(!r.isValid)return Te.invalid(ri(r));const o=ct.fromObject(n),s=zl(t,Rp),{minDaysInFirstWeek:i,startOfWeek:a}=kp(s,o),l=At.now(),u=De(n.specificOffset)?r.offset(l):n.specificOffset,c=!De(s.ordinal),m=!De(s.year),d=!De(s.month)||!De(s.day),f=m||d,h=s.weekYear||s.weekNumber;if((f||c)&&h)throw new ms("Can't mix weekYear/weekNumber units with year/month/day or ordinals");if(d&&c)throw new ms("Can't mix ordinal dates with month/day");const _=h||s.weekday&&!f;let b,v,w=wa(l,u);_?(b=dO,v=cO,w=bl(w,i,a)):c?(b=fO,v=mO,w=Yu(w)):(b=J1,v=X1);let g=!1;for(const F of b){const q=s[F];De(q)?g?s[F]=v[F]:s[F]=w[F]:g=!0}const y=_?HT(s,i,a):c?UT(s):S1(s),S=y||C1(s);if(S)return Te.invalid(S);const C=_?Sp(s,i,a):c?Cp(s):s,[L,N]=Ua(C,u,r),x=new Te({ts:L,zone:r,o:N,loc:o});return s.weekday&&f&&t.weekday!==x.weekday?Te.invalid("mismatched weekday",`you can't specify both a weekday of ${s.weekday} and a date of ${x.toISO()}`):x.isValid?x:Te.invalid(x.invalid)}static fromISO(t,n={}){const[r,o]=IA(t);return Jo(r,o,n,"ISO 8601",t)}static fromRFC2822(t,n={}){const[r,o]=LA(t);return Jo(r,o,n,"RFC 2822",t)}static fromHTTP(t,n={}){const[r,o]=NA(t);return Jo(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,c]=lO(i,t,n);return c?Te.invalid(c):Jo(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]=UA(t);return Jo(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 er?t:new er(t,n);if(At.throwOnInvalid)throw new pT(r);return new Te({invalid:r})}static isDateTime(t){return t&&t.isLuxonDateTime||!1}static parseFormatForOpts(t,n={}){const r=Z1(t,ct.fromObject(n));return r?r.map(o=>o?o.val:null).join(""):null}static expandFormat(t,n={}){return q1(Yt.parseFormat(t),ct.fromObject(n)).map(o=>o.val).join("")}static resetCache(){ja=void 0,Wa={}}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?Qu(this).weekYear:NaN}get weekNumber(){return this.isValid?Qu(this).weekNumber:NaN}get weekday(){return this.isValid?Qu(this).weekday:NaN}get isWeekend(){return this.isValid&&this.loc.getWeekendDays().includes(this.weekday)}get localWeekday(){return this.isValid?ec(this).weekday:NaN}get localWeekNumber(){return this.isValid?ec(this).weekNumber:NaN}get localWeekYear(){return this.isValid?ec(this).weekYear:NaN}get ordinal(){return this.isValid?Yu(this.c).ordinal:NaN}get monthShort(){return this.isValid?va.months("short",{locObj:this.loc})[this.month-1]:null}get monthLong(){return this.isValid?va.months("long",{locObj:this.loc})[this.month-1]:null}get weekdayShort(){return this.isValid?va.weekdays("short",{locObj:this.loc})[this.weekday-1]:null}get weekdayLong(){return this.isValid?va.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=gu(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,c=wa(l,i),m=wa(u,a);return c.hour===m.hour&&c.minute===m.minute&&c.second===m.second&&c.millisecond===m.millisecond?[ko(this,{ts:l}),ko(this,{ts:u})]:[this]}get isInLeapYear(){return Qi(this.year)}get daysInMonth(){return vl(this.year,this.month)}get daysInYear(){return this.isValid?bs(this.year):NaN}get weeksInWeekYear(){return this.isValid?Vi(this.weekYear):NaN}get weeksInLocalWeekYear(){return this.isValid?Vi(this.localWeekYear,this.loc.getMinDaysInFirstWeek(),this.loc.getStartOfWeek()):NaN}resolvedLocaleOptions(t={}){const{locale:n,numberingSystem:r,calendar:o}=Yt.create(this.loc.clone(t),t).resolvedOptions(this);return{locale:n,numberingSystem:r,outputCalendar:o}}toUTC(t=0,n={}){return this.setZone(ln.instance(t),n)}toLocal(){return this.setZone(At.defaultZone)}setZone(t,{keepLocalTime:n=!1,keepCalendarTime:r=!1}={}){if(t=oo(t,At.defaultZone),t.equals(this.zone))return this;if(t.isValid){let o=this.ts;if(n||r){const s=t.offset(this.ts),i=this.toObject();[o]=Ua(i,s,t)}return ko(this,{ts:o,zone:t})}else return Te.invalid(ri(t))}reconfigure({locale:t,numberingSystem:n,outputCalendar:r}={}){const o=this.loc.clone({locale:t,numberingSystem:n,outputCalendar:r});return ko(this,{loc:o})}setLocale(t){return this.reconfigure({locale:t})}set(t){if(!this.isValid)return this;const n=zl(t,Rp),{minDaysInFirstWeek:r,startOfWeek:o}=kp(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,c=n.weekYear||n.weekNumber;if((u||i)&&c)throw new ms("Can't mix weekYear/weekNumber units with year/month/day or ordinals");if(l&&i)throw new ms("Can't mix ordinal dates with month/day");let m;s?m=Sp({...bl(this.c,r,o),...n},r,o):De(n.ordinal)?(m={...this.toObject(),...n},De(n.day)&&(m.day=Math.min(vl(m.year,m.month),m.day))):m=Cp({...Yu(this.c),...n});const[d,f]=Ua(m,this.o,this.zone);return ko(this,{ts:d,o:f})}plus(t){if(!this.isValid)return this;const n=Ke.fromDurationLike(t);return ko(this,Np(this,n))}minus(t){if(!this.isValid)return this;const n=Ke.fromDurationLike(t).negate();return ko(this,Np(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?Yt.create(this.loc.redefaultToEN(n)).formatDateTimeFromString(this,t):Ju}toLocaleString(t=yl,n={}){return this.isValid?Yt.create(this.loc.clone(n),t).formatDateTime(this):Ju}toLocaleParts(t={}){return this.isValid?Yt.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=tc(this,i);return a+="T",a+=Dp(this,i,n,r,o,s),a}toISODate({format:t="extended"}={}){return this.isValid?tc(this,t==="extended"):null}toISOWeekDate(){return Sa(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":"")+Dp(this,i==="extended",n,t,r,s):null}toRFC2822(){return Sa(this,"EEE, dd LLL yyyy HH:mm:ss ZZZ",!1)}toHTTP(){return Sa(this.toUTC(),"EEE, dd LLL yyyy HH:mm:ss 'GMT'")}toSQLDate(){return this.isValid?tc(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")),Sa(this,o,!0)}toSQL(t={}){return this.isValid?`${this.toSQLDate()} ${this.toSQLTime(t)}`:null}toString(){return this.isValid?this.toISO():Ju}[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=BT(n).map(Ke.normalizeUnit),i=t.valueOf()>this.valueOf(),a=i?this:t,l=i?t:this,u=ZA(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?Tt.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),Fp(n,this.plus(r),{...t,numeric:"always",units:o,unit:s})}toRelativeCalendar(t={}){return this.isValid?Fp(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 Ep(t,n=>n.valueOf(),Math.min)}static max(...t){if(!t.every(Te.isDateTime))throw new qt("max requires all arguments be DateTimes");return Ep(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 K1(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 G1(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:c}=n.explainFromTokens(t);return c?Te.invalid(c):Jo(a,l,r,`format ${n.format}`,t,u)}static get DATE_SHORT(){return yl}static get DATE_MED(){return e1}static get DATE_MED_WITH_WEEKDAY(){return gT}static get DATE_FULL(){return t1}static get DATE_HUGE(){return n1}static get TIME_SIMPLE(){return r1}static get TIME_WITH_SECONDS(){return o1}static get TIME_WITH_SHORT_OFFSET(){return s1}static get TIME_WITH_LONG_OFFSET(){return i1}static get TIME_24_SIMPLE(){return a1}static get TIME_24_WITH_SECONDS(){return l1}static get TIME_24_WITH_SHORT_OFFSET(){return u1}static get TIME_24_WITH_LONG_OFFSET(){return c1}static get DATETIME_SHORT(){return m1}static get DATETIME_SHORT_WITH_SECONDS(){return d1}static get DATETIME_MED(){return f1}static get DATETIME_MED_WITH_SECONDS(){return p1}static get DATETIME_MED_WITH_WEEKDAY(){return yT}static get DATETIME_FULL(){return h1}static get DATETIME_FULL_WITH_SECONDS(){return _1}static get DATETIME_HUGE(){return g1}static get DATETIME_HUGE_WITH_SECONDS(){return y1}}function Ks(e){if(Te.isDateTime(e))return e;if(e&&e.valueOf&&lo(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:rc}=cu.global,_O={channels(e){return e===1?nc("filter.mono"):e===2?nc("filter.stereo"):e?nc("filter.channels",{value:e}):""},date(e){return Te.fromISO(e).setLocale(rc.value).toLocaleString(Te.DATE_FULL)},datetime(e){return Te.fromISO(e).setLocale(rc.value).toLocaleString(Te.DATETIME_MED)},durationInDays(e){const t=Math.floor(e/60);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(rc.value)},timeFromNow(e){const t=Te.now().diff(Te.fromISO(e));return this.durationInDays(t.as("seconds"))}};var gO="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",yO="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",bO="M13 14H11V9H13M13 18H11V16H13M1 21H23L12 2L1 21Z",vO="M19.92,12.08L12,20L4.08,12.08L5.5,10.67L11,16.17V2H13V16.17L18.5,10.66L19.92,12.08M12,20H2V22H22V20H12Z",zO="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",wO="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",SO="M9 3V18H12V3H9M12 5L16 18L19 17L15 4L12 5M5 5V18H8V5H5M3 19V21H21V19H3Z",CO="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",kO="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",EO="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",xO="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",TO="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",AO="M21,7L9,19L3.5,13.5L4.91,12.09L9,16.17L19.59,5.59L21,7Z",OO="M7.41,8.58L12,13.17L16.59,8.58L18,10L12,16L6,10L7.41,8.58Z",$O="M15.41,16.58L10.83,12L15.41,7.41L14,6L8,12L14,18L15.41,16.58Z",PO="M7.41,15.41L12,10.83L16.59,15.41L18,14L12,8L6,14L7.41,15.41Z",IO="M19,6.41L17.59,5L12,10.59L6.41,5L5,6.41L10.59,12L5,17.59L6.41,19L12,13.41L17.59,19L19,17.59L13.41,12L19,6.41Z",LO="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",NO="M19,4H15.5L14.5,3H9.5L8.5,4H5V6H19M6,19A2,2 0 0,0 8,21H16A2,2 0 0,0 18,19V7H6V19Z",DO="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",RO="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",MO="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",FO="M3,15V13H5V15H3M3,11V9H5V11H3M7,15V13H9V15H7M7,11V9H9V11H7M11,15V13H13V15H11M11,11V9H13V11H11M15,15V13H17V15H15M15,11V9H17V11H15M19,15V13H21V15H19M19,11V9H21V11H19Z",VO="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",HO="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",UO="M14,2H6A2,2 0 0,0 4,4V20A2,2 0 0,0 6,22H18A2,2 0 0,0 20,20V8L14,2M18,20H6V4H13V9H18V20Z",jO="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",WO="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",BO="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",qO="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",GO="M12,4V2A10,10 0 0,0 2,12H4A8,8 0 0,1 12,4Z",KO="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",ZO="M3,6H21V8H3V6M3,11H21V13H3V11M3,16H21V18H3V16Z",YO="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",XO="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",JO="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",QO="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",e$="M14,19H18V5H14M6,19H10V5H6V19Z",t$="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",n$="M22,14H20V16H14V13H16V11H14V6A2,2 0 0,0 12,4H4V2H2V10H4V8H10V11H8V13H10V18A2,2 0 0,0 12,20H20V22H22",r$="M8,5.14V19.14L19,12.14L8,5.14Z",o$="M3 10H14V12H3V10M3 6H14V8H3V6M3 14H10V16H3V14M16 13V21L22 17L16 13Z",s$="M3 16H10V14H3M18 14V10H16V14H12V16H16V20H18V16H22V14M14 6H3V8H14M14 10H3V12H14V10Z",i$="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",a$="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",l$="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",u$="M17,17H7V14L3,18L7,22V19H19V13H17M7,7H17V10L21,6L17,2V5H5V11H7V7Z",c$="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",m$="M13,15V9H12L10,10V11H11.5V15M17,17H7V14L3,18L7,22V19H19V13H17M7,7H17V10L21,6L17,2V5H5V11H7V7Z",d$="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",f$="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",p$="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",h$="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",_$="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",g$="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",y$="M16,4.5V7H5V9H16V11.5L19.5,8M16,12.5V15H5V17H16V19.5L19.5,16",b$="M20,5V19L13,12M6,5V19H4V5M13,5V19L6,12",v$="M4,5V19L11,12M18,5V19H20V5M11,5V19L18,12",z$="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",w$="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",S$="M18,18H6V6H18V18Z",C$="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",k$="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",E$="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 x$={mdiAccountMusic:gO,mdiAlbum:yO,mdiArrowCollapseDown:vO,mdiBookOpenPageVariant:zO,mdiBookOpenVariant:wO,mdiBookshelf:SO,mdiBroadcast:CO,mdiCancel:kO,mdiCast:EO,mdiCastVariant:xO,mdiCellphone:TO,mdiCheck:AO,mdiChevronDown:OO,mdiChevronLeft:$O,mdiChevronUp:PO,mdiClose:IO,mdiContentSave:LO,mdiDelete:NO,mdiDeleteEmpty:DO,mdiDotsHorizontal:RO,mdiDotsVertical:MO,mdiDragHorizontal:FO,mdiFastForward30:VO,mdiFileMusic:HO,mdiFileOutline:UO,mdiFire:jO,mdiFolder:WO,mdiFolderOpen:BO,mdiHistory:qO,mdiLoading:GO,mdiMagnify:KO,mdiMenu:ZO,mdiMicrophone:YO,mdiMusic:XO,mdiMusicBoxMultiple:JO,mdiOpenInNew:QO,mdiPause:e$,mdiPencil:t$,mdiPipe:n$,mdiPlay:r$,mdiPlaylistPlay:o$,mdiPlaylistPlus:s$,mdiRadio:i$,mdiRadioTower:a$,mdiRefresh:l$,mdiRepeat:u$,mdiRepeatOff:c$,mdiRepeatOnce:m$,mdiRewind10:d$,mdiRss:f$,mdiScriptTextOutline:p$,mdiScriptTextPlay:h$,mdiServer:_$,mdiShuffle:g$,mdiShuffleDisabled:y$,mdiSkipBackward:b$,mdiSkipForward:v$,mdiSpeaker:z$,mdiSpotify:w$,mdiStop:S$,mdiVolumeHigh:C$,mdiVolumeOff:k$,mdiWeb:E$},T$={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}},A$=e=>e.charAt(0).toUpperCase()+e.slice(1),O$=e=>e.split("-").map(A$).join(""),$$=(e,t,n)=>{const r=e[`mdi${O$(t.name)}`]||bO,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}}},P$=(e,t)=>({[t.staticClass||""]:!0,[t.class||""]:!0,[`mdi mdi-${e.name}`]:!0,"mdi-spin":e.spin===!0}),I$=(e,t={})=>({install(n,{icons:r}){if(r===void 0)throw new Error("Icons must be provided separately");n.component("mdicon",{name:"MDIcon",props:T$,...t,render:e(r)})}}),L$=e=>function(){const{spanAttrs:n,svgAttrs:r,pathAttrs:o}=$$(e,this,this.$attrs);return gr("span",{...n,class:P$(this,this)},[gr("svg",r,[this.title?gr("title",[this.title]):void 0,gr("path",o)])])},N$=I$(L$);/*!
* vue-router v4.5.0
* (c) 2024 Eduardo San Martin Morote
* @license MIT
*/const as=typeof document<"u";function Q1(e){return typeof e=="object"||"displayName"in e||"props"in e||"__vccOpts"in e}function D$(e){return e.__esModule||e[Symbol.toStringTag]==="Module"||e.default&&Q1(e.default)}const ut=Object.assign;function oc(e,t){const n={};for(const r in t){const o=t[r];n[r]=ir(o)?o.map(e):e(o)}return n}const bi=()=>{},ir=Array.isArray,eb=/#/g,R$=/&/g,M$=/\//g,F$=/=/g,V$=/\?/g,tb=/\+/g,H$=/%5B/g,U$=/%5D/g,nb=/%5E/g,j$=/%60/g,rb=/%7B/g,W$=/%7C/g,ob=/%7D/g,B$=/%20/g;function yd(e){return encodeURI(""+e).replace(W$,"|").replace(H$,"[").replace(U$,"]")}function q$(e){return yd(e).replace(rb,"{").replace(ob,"}").replace(nb,"^")}function mm(e){return yd(e).replace(tb,"%2B").replace(B$,"+").replace(eb,"%23").replace(R$,"%26").replace(j$,"`").replace(rb,"{").replace(ob,"}").replace(nb,"^")}function G$(e){return mm(e).replace(F$,"%3D")}function K$(e){return yd(e).replace(eb,"%23").replace(V$,"%3F")}function Z$(e){return e==null?"":K$(e).replace(M$,"%2F")}function Hi(e){try{return decodeURIComponent(""+e)}catch{}return""+e}const Y$=/\/$/,X$=e=>e.replace(Y$,"");function sc(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=tP(r??t,n),{fullPath:r+(s&&"?")+s+i,path:r,query:o,hash:Hi(i)}}function J$(e,t){const n=t.query?e(t.query):"";return t.path+(n&&"?")+n+(t.hash||"")}function Hp(e,t){return!t||!e.toLowerCase().startsWith(t.toLowerCase())?e:e.slice(t.length)||"/"}function Q$(e,t,n){const r=t.matched.length-1,o=n.matched.length-1;return r>-1&&r===o&&Ts(t.matched[r],n.matched[o])&&sb(t.params,n.params)&&e(t.query)===e(n.query)&&t.hash===n.hash}function Ts(e,t){return(e.aliasOf||e)===(t.aliasOf||t)}function sb(e,t){if(Object.keys(e).length!==Object.keys(t).length)return!1;for(const n in e)if(!eP(e[n],t[n]))return!1;return!0}function eP(e,t){return ir(e)?Up(e,t):ir(t)?Up(t,e):e===t}function Up(e,t){return ir(t)?e.length===t.length&&e.every((n,r)=>n===t[r]):e.length===1&&e[0]===t}function tP(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 Gr={path:"/",name:void 0,params:{},query:{},hash:"",fullPath:"/",matched:[],meta:{},redirectedFrom:void 0};var Ui;(function(e){e.pop="pop",e.push="push"})(Ui||(Ui={}));var vi;(function(e){e.back="back",e.forward="forward",e.unknown=""})(vi||(vi={}));function nP(e){if(!e)if(as){const t=document.querySelector("base");e=t&&t.getAttribute("href")||"/",e=e.replace(/^\w+:\/\/[^\/]+/,"")}else e="/";return e[0]!=="/"&&e[0]!=="#"&&(e="/"+e),X$(e)}const rP=/^[^#]+#/;function oP(e,t){return e.replace(rP,"#")+t}function sP(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 vu=()=>({left:window.scrollX,top:window.scrollY});function iP(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=sP(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 jp(e,t){return(history.state?history.state.position-t:-1)+e}const dm=new Map;function aP(e,t){dm.set(e,t)}function lP(e){const t=dm.get(e);return dm.delete(e),t}let uP=()=>location.protocol+"//"+location.host;function ib(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),Hp(l,"")}return Hp(n,e)+r+o}function cP(e,t,n,r){let o=[],s=[],i=null;const a=({state:d})=>{const f=ib(e,location),h=n.value,_=t.value;let b=0;if(d){if(n.value=f,t.value=d,i&&i===h){i=null;return}b=_?d.position-_.position:0}else r(f);o.forEach(v=>{v(n.value,h,{delta:b,type:Ui.pop,direction:b?b>0?vi.forward:vi.back:vi.unknown})})};function l(){i=n.value}function u(d){o.push(d);const f=()=>{const h=o.indexOf(d);h>-1&&o.splice(h,1)};return s.push(f),f}function c(){const{history:d}=window;d.state&&d.replaceState(ut({},d.state,{scroll:vu()}),"")}function m(){for(const d of s)d();s=[],window.removeEventListener("popstate",a),window.removeEventListener("beforeunload",c)}return window.addEventListener("popstate",a),window.addEventListener("beforeunload",c,{passive:!0}),{pauseListeners:l,listen:u,destroy:m}}function Wp(e,t,n,r=!1,o=!1){return{back:e,current:t,forward:n,replaced:r,position:window.history.length,scroll:o?vu():null}}function mP(e){const{history:t,location:n}=window,r={value:ib(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,c){const m=e.indexOf("#"),d=m>-1?(n.host&&document.querySelector("base")?e:e.slice(m))+l:uP()+e+l;try{t[c?"replaceState":"pushState"](u,"",d),o.value=u}catch(f){console.error(f),n[c?"replace":"assign"](d)}}function i(l,u){const c=ut({},t.state,Wp(o.value.back,l,o.value.forward,!0),u,{position:o.value.position});s(l,c,!0),r.value=l}function a(l,u){const c=ut({},o.value,t.state,{forward:l,scroll:vu()});s(c.current,c,!0);const m=ut({},Wp(r.value,l,null),{position:c.position+1},u);s(l,m,!1),r.value=l}return{location:r,state:o,push:a,replace:i}}function dP(e){e=nP(e);const t=mP(e),n=cP(e,t.state,t.location,t.replace);function r(s,i=!0){i||n.pauseListeners(),history.go(s)}const o=ut({location:"",base:e,go:r,createHref:oP.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 fP(e){return e=location.host?e||location.pathname+location.search:"",e.includes("#")||(e+="#"),dP(e)}function pP(e){return typeof e=="string"||e&&typeof e=="object"}function ab(e){return typeof e=="string"||typeof e=="symbol"}const lb=Symbol("");var Bp;(function(e){e[e.aborted=4]="aborted",e[e.cancelled=8]="cancelled",e[e.duplicated=16]="duplicated"})(Bp||(Bp={}));function As(e,t){return ut(new Error,{type:e,[lb]:!0},t)}function xr(e,t){return e instanceof Error&&lb in e&&(t==null||!!(e.type&t))}const qp="[^/]+?",hP={sensitive:!1,strict:!1,start:!0,end:!0},_P=/[.+*?^${}()[\]/\\]/g;function gP(e,t){const n=ut({},hP,t),r=[];let o=n.start?"^":"";const s=[];for(const u of e){const c=u.length?[]:[90];n.strict&&!u.length&&(o+="/");for(let m=0;m<u.length;m++){const d=u[m];let f=40+(n.sensitive?.25:0);if(d.type===0)m||(o+="/"),o+=d.value.replace(_P,"\\$&"),f+=40;else if(d.type===1){const{value:h,repeatable:_,optional:b,regexp:v}=d;s.push({name:h,repeatable:_,optional:b});const w=v||qp;if(w!==qp){f+=10;try{new RegExp(`(${w})`)}catch(y){throw new Error(`Invalid custom RegExp for param "${h}" (${w}): `+y.message)}}let g=_?`((?:${w})(?:/(?:${w}))*)`:`(${w})`;m||(g=b&&u.length<2?`(?:/${g})`:"/"+g),b&&(g+="?"),o+=g,f+=20,b&&(f+=-8),_&&(f+=-20),w===".*"&&(f+=-50)}c.push(f)}r.push(c)}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.endsWith("/")&&(o+="(?:/|$)");const i=new RegExp(o,n.sensitive?"":"i");function a(u){const c=u.match(i),m={};if(!c)return null;for(let d=1;d<c.length;d++){const f=c[d]||"",h=s[d-1];m[h.name]=f&&h.repeatable?f.split("/"):f}return m}function l(u){let c="",m=!1;for(const d of e){(!m||!c.endsWith("/"))&&(c+="/"),m=!1;for(const f of d)if(f.type===0)c+=f.value;else if(f.type===1){const{value:h,repeatable:_,optional:b}=f,v=h in u?u[h]:"";if(ir(v)&&!_)throw new Error(`Provided param "${h}" is an array but it is not repeatable (* or + modifiers)`);const w=ir(v)?v.join("/"):v;if(!w)if(b)d.length<2&&(c.endsWith("/")?c=c.slice(0,-1):m=!0);else throw new Error(`Missing required param "${h}"`);c+=w}}return c||"/"}return{re:i,score:r,keys:s,parse:a,stringify:l}}function yP(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 ub(e,t){let n=0;const r=e.score,o=t.score;for(;n<r.length&&n<o.length;){const s=yP(r[n],o[n]);if(s)return s;n++}if(Math.abs(o.length-r.length)===1){if(Gp(r))return 1;if(Gp(o))return-1}return o.length-r.length}function Gp(e){const t=e[e.length-1];return e.length>0&&t[t.length-1]<0}const bP={type:0,value:""},vP=/[a-zA-Z0-9_]/;function zP(e){if(!e)return[[]];if(e==="/")return[[bP]];if(!e.startsWith("/"))throw new Error(`Invalid path "${e}"`);function t(f){throw new Error(`ERR (${n})/"${u}": ${f}`)}let n=0,r=n;const o=[];let s;function i(){s&&o.push(s),s=[]}let a=0,l,u="",c="";function m(){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:c,repeatable:l==="*"||l==="+",optional:l==="*"||l==="?"})):t("Invalid state to consume buffer"),u="")}function d(){u+=l}for(;a<e.length;){if(l=e[a++],l==="\\"&&n!==2){r=n,n=4;continue}switch(n){case 0:l==="/"?(u&&m(),i()):l===":"?(m(),n=1):d();break;case 4:d(),n=r;break;case 1:l==="("?n=2:vP.test(l)?d():(m(),n=0,l!=="*"&&l!=="?"&&l!=="+"&&a--);break;case 2:l===")"?c[c.length-1]=="\\"?c=c.slice(0,-1)+l:n=3:c+=l;break;case 3:m(),n=0,l!=="*"&&l!=="?"&&l!=="+"&&a--,c="";break;default:t("Unknown state");break}}return n===2&&t(`Unfinished custom RegExp for param "${u}"`),m(),i(),o}function wP(e,t,n){const r=gP(zP(e.path),n),o=ut(r,{record:e,parent:t,children:[],alias:[]});return t&&!o.record.aliasOf==!t.record.aliasOf&&t.children.push(o),o}function SP(e,t){const n=[],r=new Map;t=Xp({strict:!1,end:!0,sensitive:!1},t);function o(m){return r.get(m)}function s(m,d,f){const h=!f,_=Zp(m);_.aliasOf=f&&f.record;const b=Xp(t,m),v=[_];if("alias"in m){const y=typeof m.alias=="string"?[m.alias]:m.alias;for(const S of y)v.push(Zp(ut({},_,{components:f?f.record.components:_.components,path:S,aliasOf:f?f.record:_})))}let w,g;for(const y of v){const{path:S}=y;if(d&&S[0]!=="/"){const C=d.record.path,L=C[C.length-1]==="/"?"":"/";y.path=d.record.path+(S&&L+S)}if(w=wP(y,d,b),f?f.alias.push(w):(g=g||w,g!==w&&g.alias.push(w),h&&m.name&&!Yp(w)&&i(m.name)),cb(w)&&l(w),_.children){const C=_.children;for(let L=0;L<C.length;L++)s(C[L],w,f&&f.children[L])}f=f||w}return g?()=>{i(g)}:bi}function i(m){if(ab(m)){const d=r.get(m);d&&(r.delete(m),n.splice(n.indexOf(d),1),d.children.forEach(i),d.alias.forEach(i))}else{const d=n.indexOf(m);d>-1&&(n.splice(d,1),m.record.name&&r.delete(m.record.name),m.children.forEach(i),m.alias.forEach(i))}}function a(){return n}function l(m){const d=EP(m,n);n.splice(d,0,m),m.record.name&&!Yp(m)&&r.set(m.record.name,m)}function u(m,d){let f,h={},_,b;if("name"in m&&m.name){if(f=r.get(m.name),!f)throw As(1,{location:m});b=f.record.name,h=ut(Kp(d.params,f.keys.filter(g=>!g.optional).concat(f.parent?f.parent.keys.filter(g=>g.optional):[]).map(g=>g.name)),m.params&&Kp(m.params,f.keys.map(g=>g.name))),_=f.stringify(h)}else if(m.path!=null)_=m.path,f=n.find(g=>g.re.test(_)),f&&(h=f.parse(_),b=f.record.name);else{if(f=d.name?r.get(d.name):n.find(g=>g.re.test(d.path)),!f)throw As(1,{location:m,currentLocation:d});b=f.record.name,h=ut({},d.params,m.params),_=f.stringify(h)}const v=[];let w=f;for(;w;)v.unshift(w.record),w=w.parent;return{name:b,path:_,params:h,matched:v,meta:kP(v)}}e.forEach(m=>s(m));function c(){n.length=0,r.clear()}return{addRoute:s,resolve:u,removeRoute:i,clearRoutes:c,getRoutes:a,getRecordMatcher:o}}function Kp(e,t){const n={};for(const r of t)r in e&&(n[r]=e[r]);return n}function Zp(e){const t={path:e.path,redirect:e.redirect,name:e.name,meta:e.meta||{},aliasOf:e.aliasOf,beforeEnter:e.beforeEnter,props:CP(e),children:e.children||[],instances:{},leaveGuards:new Set,updateGuards:new Set,enterCallbacks:{},components:"components"in e?e.components||null:e.component&&{default:e.component}};return Object.defineProperty(t,"mods",{value:{}}),t}function CP(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 Yp(e){for(;e;){if(e.record.aliasOf)return!0;e=e.parent}return!1}function kP(e){return e.reduce((t,n)=>ut(t,n.meta),{})}function Xp(e,t){const n={};for(const r in e)n[r]=r in t?t[r]:e[r];return n}function EP(e,t){let n=0,r=t.length;for(;n!==r;){const s=n+r>>1;ub(e,t[s])<0?r=s:n=s+1}const o=xP(e);return o&&(r=t.lastIndexOf(o,r-1)),r}function xP(e){let t=e;for(;t=t.parent;)if(cb(t)&&ub(e,t)===0)return t}function cb({record:e}){return!!(e.name||e.components&&Object.keys(e.components).length||e.redirect)}function TP(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(tb," "),i=s.indexOf("="),a=Hi(i<0?s:s.slice(0,i)),l=i<0?null:Hi(s.slice(i+1));if(a in t){let u=t[a];ir(u)||(u=t[a]=[u]),u.push(l)}else t[a]=l}return t}function Jp(e){let t="";for(let n in e){const r=e[n];if(n=G$(n),r==null){r!==void 0&&(t+=(t.length?"&":"")+n);continue}(ir(r)?r.map(s=>s&&mm(s)):[r&&mm(r)]).forEach(s=>{s!==void 0&&(t+=(t.length?"&":"")+n,s!=null&&(t+="="+s))})}return t}function AP(e){const t={};for(const n in e){const r=e[n];r!==void 0&&(t[n]=ir(r)?r.map(o=>o==null?null:""+o):r==null?r:""+r)}return t}const OP=Symbol(""),Qp=Symbol(""),bd=Symbol(""),mb=Symbol(""),fm=Symbol("");function Zs(){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 no(e,t,n,r,o,s=i=>i()){const i=r&&(r.enterCallbacks[o]=r.enterCallbacks[o]||[]);return()=>new Promise((a,l)=>{const u=d=>{d===!1?l(As(4,{from:n,to:t})):d instanceof Error?l(d):pP(d)?l(As(2,{from:t,to:d})):(i&&r.enterCallbacks[o]===i&&typeof d=="function"&&i.push(d),a())},c=s(()=>e.call(r&&r.instances[o],t,n,u));let m=Promise.resolve(c);e.length<3&&(m=m.then(u)),m.catch(d=>l(d))})}function ic(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(Q1(l)){const c=(l.__vccOpts||l)[t];c&&s.push(no(c,n,r,i,a,o))}else{let u=l();s.push(()=>u.then(c=>{if(!c)throw new Error(`Couldn't resolve component "${a}" at "${i.path}"`);const m=D$(c)?c.default:c;i.mods[a]=c,i.components[a]=m;const f=(m.__vccOpts||m)[t];return f&&no(f,n,r,i,a,o)()}))}}return s}function eh(e){const t=Fn(bd),n=Fn(mb),r=Ut(()=>{const l=yn(e.to);return t.resolve(l)}),o=Ut(()=>{const{matched:l}=r.value,{length:u}=l,c=l[u-1],m=n.matched;if(!c||!m.length)return-1;const d=m.findIndex(Ts.bind(null,c));if(d>-1)return d;const f=th(l[u-2]);return u>1&&th(c)===f&&m[m.length-1].path!==f?m.findIndex(Ts.bind(null,l[u-2])):d}),s=Ut(()=>o.value>-1&&NP(n.params,r.value.params)),i=Ut(()=>o.value>-1&&o.value===n.matched.length-1&&sb(n.params,r.value.params));function a(l={}){if(LP(l)){const u=t[yn(e.replace)?"replace":"push"](yn(e.to)).catch(bi);return e.viewTransition&&typeof document<"u"&&"startViewTransition"in document&&document.startViewTransition(()=>u),u}return Promise.resolve()}return{route:r,href:Ut(()=>r.value.href),isActive:s,isExactActive:i,navigate:a}}function $P(e){return e.length===1?e[0]:e}const PP=Mr({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:eh,setup(e,{slots:t}){const n=Ps(eh(e)),{options:r}=Fn(bd),o=Ut(()=>({[nh(e.activeClass,r.linkActiveClass,"router-link-active")]:n.isActive,[nh(e.exactActiveClass,r.linkExactActiveClass,"router-link-exact-active")]:n.isExactActive}));return()=>{const s=t.default&&$P(t.default(n));return e.custom?s:gr("a",{"aria-current":n.isExactActive?e.ariaCurrentValue:null,href:n.href,onClick:n.navigate,class:o.value},s)}}}),IP=PP;function LP(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 NP(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(!ir(o)||o.length!==r.length||r.some((s,i)=>s!==o[i]))return!1}return!0}function th(e){return e?e.aliasOf?e.aliasOf.path:e.path:""}const nh=(e,t,n)=>e??t??n,DP=Mr({name:"RouterView",inheritAttrs:!1,props:{name:{type:String,default:"default"},route:Object},compatConfig:{MODE:3},setup(e,{attrs:t,slots:n}){const r=Fn(fm),o=Ut(()=>e.route||r.value),s=Fn(Qp,0),i=Ut(()=>{let u=yn(s);const{matched:c}=o.value;let m;for(;(m=c[u])&&!m.components;)u++;return u}),a=Ut(()=>o.value.matched[i.value]);fi(Qp,Ut(()=>i.value+1)),fi(OP,a),fi(fm,o);const l=Mn();return xn(()=>[l.value,a.value,e.name],([u,c,m],[d,f,h])=>{c&&(c.instances[m]=u,f&&f!==c&&u&&u===d&&(c.leaveGuards.size||(c.leaveGuards=f.leaveGuards),c.updateGuards.size||(c.updateGuards=f.updateGuards))),u&&c&&(!f||!Ts(c,f)||!d)&&(c.enterCallbacks[m]||[]).forEach(_=>_(u))},{flush:"post"}),()=>{const u=o.value,c=e.name,m=a.value,d=m&&m.components[c];if(!d)return rh(n.default,{Component:d,route:u});const f=m.props[c],h=f?f===!0?u.params:typeof f=="function"?f(u):f:null,b=gr(d,ut({},h,t,{onVnodeUnmounted:v=>{v.component.isUnmounted&&(m.instances[c]=null)},ref:l}));return rh(n.default,{Component:b,route:u})||b}}});function rh(e,t){if(!e)return null;const n=e(t);return n.length===1?n[0]:n}const RP=DP;function MP(e){const t=SP(e.routes,e),n=e.parseQuery||TP,r=e.stringifyQuery||Jp,o=e.history,s=Zs(),i=Zs(),a=Zs(),l=jl(Gr);let u=Gr;as&&e.scrollBehavior&&"scrollRestoration"in history&&(history.scrollRestoration="manual");const c=oc.bind(null,K=>""+K),m=oc.bind(null,Z$),d=oc.bind(null,Hi);function f(K,me){let ue,ye;return ab(K)?(ue=t.getRecordMatcher(K),ye=me):ye=K,t.addRoute(ye,ue)}function h(K){const me=t.getRecordMatcher(K);me&&t.removeRoute(me)}function _(){return t.getRoutes().map(K=>K.record)}function b(K){return!!t.getRecordMatcher(K)}function v(K,me){if(me=ut({},me||l.value),typeof K=="string"){const P=sc(n,K,me.path),j=t.resolve({path:P.path},me),ee=o.createHref(P.fullPath);return ut(P,j,{params:d(j.params),hash:Hi(P.hash),redirectedFrom:void 0,href:ee})}let ue;if(K.path!=null)ue=ut({},K,{path:sc(n,K.path,me.path).path});else{const P=ut({},K.params);for(const j in P)P[j]==null&&delete P[j];ue=ut({},K,{params:m(P)}),me.params=m(me.params)}const ye=t.resolve(ue,me),Ue=K.hash||"";ye.params=c(d(ye.params));const Ge=J$(r,ut({},K,{hash:q$(Ue),path:ye.path})),O=o.createHref(Ge);return ut({fullPath:Ge,hash:Ue,query:r===Jp?AP(K.query):K.query||{}},ye,{redirectedFrom:void 0,href:O})}function w(K){return typeof K=="string"?sc(n,K,l.value.path):ut({},K)}function g(K,me){if(u!==K)return As(8,{from:me,to:K})}function y(K){return L(K)}function S(K){return y(ut(w(K),{replace:!0}))}function C(K){const me=K.matched[K.matched.length-1];if(me&&me.redirect){const{redirect:ue}=me;let ye=typeof ue=="function"?ue(K):ue;return typeof ye=="string"&&(ye=ye.includes("?")||ye.includes("#")?ye=w(ye):{path:ye},ye.params={}),ut({query:K.query,hash:K.hash,params:ye.path!=null?{}:K.params},ye)}}function L(K,me){const ue=u=v(K),ye=l.value,Ue=K.state,Ge=K.force,O=K.replace===!0,P=C(ue);if(P)return L(ut(w(P),{state:typeof P=="object"?ut({},Ue,P.state):Ue,force:Ge,replace:O}),me||ue);const j=ue;j.redirectedFrom=me;let ee;return!Ge&&Q$(r,ye,ue)&&(ee=As(16,{to:j,from:ye}),Ve(ye,ye,!0,!1)),(ee?Promise.resolve(ee):F(j,ye)).catch(Y=>xr(Y)?xr(Y,2)?Y:it(Y):le(Y,j,ye)).then(Y=>{if(Y){if(xr(Y,2))return L(ut({replace:O},w(Y.to),{state:typeof Y.to=="object"?ut({},Ue,Y.to.state):Ue,force:Ge}),me||j)}else Y=U(j,ye,!0,O,Ue);return q(j,ye,Y),Y})}function N(K,me){const ue=g(K,me);return ue?Promise.reject(ue):Promise.resolve()}function x(K){const me=lt.values().next().value;return me&&typeof me.runWithContext=="function"?me.runWithContext(K):K()}function F(K,me){let ue;const[ye,Ue,Ge]=FP(K,me);ue=ic(ye.reverse(),"beforeRouteLeave",K,me);for(const P of ye)P.leaveGuards.forEach(j=>{ue.push(no(j,K,me))});const O=N.bind(null,K,me);return ue.push(O),Be(ue).then(()=>{ue=[];for(const P of s.list())ue.push(no(P,K,me));return ue.push(O),Be(ue)}).then(()=>{ue=ic(Ue,"beforeRouteUpdate",K,me);for(const P of Ue)P.updateGuards.forEach(j=>{ue.push(no(j,K,me))});return ue.push(O),Be(ue)}).then(()=>{ue=[];for(const P of Ge)if(P.beforeEnter)if(ir(P.beforeEnter))for(const j of P.beforeEnter)ue.push(no(j,K,me));else ue.push(no(P.beforeEnter,K,me));return ue.push(O),Be(ue)}).then(()=>(K.matched.forEach(P=>P.enterCallbacks={}),ue=ic(Ge,"beforeRouteEnter",K,me,x),ue.push(O),Be(ue))).then(()=>{ue=[];for(const P of i.list())ue.push(no(P,K,me));return ue.push(O),Be(ue)}).catch(P=>xr(P,8)?P:Promise.reject(P))}function q(K,me,ue){a.list().forEach(ye=>x(()=>ye(K,me,ue)))}function U(K,me,ue,ye,Ue){const Ge=g(K,me);if(Ge)return Ge;const O=me===Gr,P=as?history.state:{};ue&&(ye||O?o.replace(K.fullPath,ut({scroll:O&&P&&P.scroll},Ue)):o.push(K.fullPath,Ue)),l.value=K,Ve(K,me,ue,O),it()}let W;function Q(){W||(W=o.listen((K,me,ue)=>{if(!mt.listening)return;const ye=v(K),Ue=C(ye);if(Ue){L(ut(Ue,{replace:!0,force:!0}),ye).catch(bi);return}u=ye;const Ge=l.value;as&&aP(jp(Ge.fullPath,ue.delta),vu()),F(ye,Ge).catch(O=>xr(O,12)?O:xr(O,2)?(L(ut(w(O.to),{force:!0}),ye).then(P=>{xr(P,20)&&!ue.delta&&ue.type===Ui.pop&&o.go(-1,!1)}).catch(bi),Promise.reject()):(ue.delta&&o.go(-ue.delta,!1),le(O,ye,Ge))).then(O=>{O=O||U(ye,Ge,!1),O&&(ue.delta&&!xr(O,8)?o.go(-ue.delta,!1):ue.type===Ui.pop&&xr(O,20)&&o.go(-1,!1)),q(ye,Ge,O)}).catch(bi)}))}let de=Zs(),G=Zs(),te;function le(K,me,ue){it(K);const ye=G.list();return ye.length?ye.forEach(Ue=>Ue(K,me,ue)):console.error(K),Promise.reject(K)}function Ne(){return te&&l.value!==Gr?Promise.resolve():new Promise((K,me)=>{de.add([K,me])})}function it(K){return te||(te=!K,Q(),de.list().forEach(([me,ue])=>K?ue(K):me()),de.reset()),K}function Ve(K,me,ue,ye){const{scrollBehavior:Ue}=e;if(!as||!Ue)return Promise.resolve();const Ge=!ue&&lP(jp(K.fullPath,0))||(ye||!ue)&&history.state&&history.state.scroll||null;return Uo().then(()=>Ue(K,me,Ge)).then(O=>O&&iP(O)).catch(O=>le(O,K,me))}const He=K=>o.go(K);let at;const lt=new Set,mt={currentRoute:l,listening:!0,addRoute:f,removeRoute:h,clearRoutes:t.clearRoutes,hasRoute:b,getRoutes:_,resolve:v,options:e,push:y,replace:S,go:He,back:()=>He(-1),forward:()=>He(1),beforeEach:s.add,beforeResolve:i.add,afterEach:a.add,onError:G.add,isReady:Ne,install(K){const me=this;K.component("RouterLink",IP),K.component("RouterView",RP),K.config.globalProperties.$router=me,Object.defineProperty(K.config.globalProperties,"$route",{enumerable:!0,get:()=>yn(l)}),as&&!at&&l.value===Gr&&(at=!0,y(o.location).catch(Ue=>{}));const ue={};for(const Ue in Gr)Object.defineProperty(ue,Ue,{get:()=>l.value[Ue],enumerable:!0});K.provide(bd,me),K.provide(mb,$m(ue)),K.provide(fm,l);const ye=K.unmount;lt.add(K),K.unmount=function(){lt.delete(K),lt.size<1&&(u=Gr,W&&W(),W=null,l.value=Gr,at=!1,te=!1),ye()}}};function Be(K){return K.reduce((me,ue)=>me.then(()=>x(ue)),Promise.resolve())}return mt}function FP(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=>Ts(u,a))?r.push(a):n.push(a));const l=e.matched[i];l&&(t.matched.find(u=>Ts(u,l))||o.push(l))}return[n,r,o]}const VP={name:"PageAbout",setup(){return{configurationStore:Fo(),libraryStore:mu(),uiStore:wn()}},computed:{configuration(){return this.configurationStore.$state},library(){return this.libraryStore.$state}},methods:{showUpdateDialog(){this.uiStore.show_update_dialog=!0}}},HP={class:"section"},UP={class:"container"},jP={class:"columns is-centered"},WP={class:"column is-four-fifths"},BP={class:"content"},qP={class:"level"},GP={class:"level-left"},KP={class:"level-item"},ZP=["textContent"],YP={class:"level-right"},XP={key:0},JP=["textContent"],QP={key:1},eI=["textContent"],tI={class:"media"},nI=["textContent"],rI=["textContent"],oI={class:"media"},sI=["textContent"],iI=["textContent"],aI={class:"media"},lI=["textContent"],uI=["textContent"],cI={class:"media"},mI=["textContent"],dI=["textContent"],fI={class:"media"},pI=["textContent"],hI=["textContent"],_I={class:"media"},gI=["textContent"],yI={class:"media-right"},bI=["textContent"],vI=["textContent"],zI={class:"media"},wI=["textContent"],SI={class:"media-right"},CI=["textContent"],kI=["textContent"],EI={class:"section"},xI={class:"container"},TI={class:"columns is-centered"},AI={class:"column is-four-fifths"},OI={class:"content has-text-centered-mobile"},$I=["textContent"],PI=["textContent"],II=["textContent"];function LI(e,t,n,r,o,s){const i=A("i18n-t");return $(),D(be,null,[p("section",HP,[p("div",UP,[p("div",jP,[p("div",WP,[p("div",BP,[p("nav",qP,[p("div",GP,[p("div",KP,[p("p",{class:"title is-4",textContent:k(e.$t("page.about.library"))},null,8,ZP)])]),p("div",YP,[s.library.updating?($(),D("div",XP,[p("a",{class:"button is-small is-loading",textContent:k(e.$t("page.about.update"))},null,8,JP)])):($(),D("div",QP,[p("a",{class:"button is-small",onClick:t[0]||(t[0]=a=>s.showUpdateDialog()),textContent:k(e.$t("page.about.update"))},null,8,eI)]))])]),p("div",tI,[p("div",{class:"media-content has-text-weight-bold",textContent:k(e.$t("page.about.name"))},null,8,nI),p("div",{class:"media-right",textContent:k(s.configuration.library_name)},null,8,rI)]),p("div",oI,[p("div",{class:"media-content has-text-weight-bold",textContent:k(e.$t("page.about.artists"))},null,8,sI),p("div",{class:"media-right",textContent:k(e.$filters.number(s.library.artists))},null,8,iI)]),p("div",aI,[p("div",{class:"media-content has-text-weight-bold",textContent:k(e.$t("page.about.albums"))},null,8,lI),p("div",{media:"media-right",textContent:k(e.$filters.number(s.library.albums))},null,8,uI)]),p("div",cI,[p("div",{class:"media-content has-text-weight-bold",textContent:k(e.$t("page.about.tracks"))},null,8,mI),p("div",{class:"media-right",textContent:k(e.$filters.number(s.library.songs))},null,8,dI)]),p("div",fI,[p("div",{class:"media-content has-text-weight-bold",textContent:k(e.$t("page.about.total-playtime"))},null,8,pI),p("div",{class:"media-right",textContent:k(e.$filters.durationInDays(s.library.db_playtime))},null,8,hI)]),p("div",_I,[p("div",{class:"media-content has-text-weight-bold",textContent:k(e.$t("page.about.updated"))},null,8,gI),p("div",yI,[p("span",{textContent:k(e.$t("page.about.updated-on",{time:e.$filters.timeFromNow(s.library.updated_at)}))},null,8,bI),t[1]||(t[1]=Qt(" (")),p("span",{class:"has-text-grey",textContent:k(e.$filters.datetime(s.library.updated_at))},null,8,vI),t[2]||(t[2]=Qt(") "))])]),p("div",zI,[p("div",{class:"media-content has-text-weight-bold",textContent:k(e.$t("page.about.uptime"))},null,8,wI),p("div",SI,[p("span",{textContent:k(e.$filters.timeFromNow(s.library.started_at,!0))},null,8,CI),t[3]||(t[3]=Qt(" (")),p("span",{class:"has-text-grey",textContent:k(e.$filters.datetime(s.library.started_at))},null,8,kI),t[4]||(t[4]=Qt(") "))])])])])])])]),p("section",EI,[p("div",xI,[p("div",TI,[p("div",AI,[p("div",OI,[p("p",{class:"is-size-7",textContent:k(e.$t("page.about.version",{version:s.configuration.version}))},null,8,$I),p("p",{class:"is-size-7",textContent:k(e.$t("page.about.compiled-with",{options:s.configuration.buildoptions.join(", ")}))},null,8,PI),z(i,{tag:"p",class:"is-size-7",keypath:"page.about.built-with",scope:"global"},{bulma:I(()=>t[5]||(t[5]=[p("a",{href:"https://bulma.io"},"Bulma",-1)])),mdi:I(()=>t[6]||(t[6]=[p("a",{href:"https://pictogrammers.com/library/mdi/"}," Material Design Icons ",-1)])),vuejs:I(()=>t[7]||(t[7]=[p("a",{href:"https://vuejs.org/"},"Vue.js",-1)])),axios:I(()=>t[8]||(t[8]=[p("a",{href:"https://github.com/axios/axios"},"axios",-1)])),others:I(()=>[p("a",{href:"https://github.com/owntone/owntone-server/network/dependencies",textContent:k(e.$t("page.about.more"))},null,8,II)]),_:1})])])])])])],64)}const NI=ie(VP,[["render",LI]]),DI={},RI={class:"hero is-light is-bold"},MI={class:"hero-body"},FI={class:"container"},VI={class:"columns is-centered"},HI={class:"column is-four-fifths"},UI={class:"columns is-flex-direction-row-reverse"},jI={class:"column has-cover"},WI={class:"column m-auto is-three-fifths has-text-centered-mobile"},BI={class:"section pt-0"},qI={class:"container"},GI={class:"columns is-centered"},KI={class:"column is-four-fifths"};function ZI(e,t){return $(),D(be,null,[p("section",RI,[p("div",MI,[p("div",FI,[p("div",VI,[p("div",HI,[p("div",UI,[p("div",jI,[dt(e.$slots,"heading-right")]),p("div",WI,[dt(e.$slots,"heading-left")])])])])])])]),p("section",BI,[p("div",qI,[p("div",GI,[p("div",KI,[dt(e.$slots,"content"),dt(e.$slots,"footer")])])])])],64)}const zu=ie(DI,[["render",ZI]]),YI=e=>{let t=0;for(const n of e)t=n.charCodeAt(0)+((t<<5)-t);return(t&16777215).toString(16)},XI=e=>[.2126,.7152,.0722].reduce((t,n,r)=>t+ +`0x${e.slice(r*2,r*2+2)}`*n,0)/255,JI=e=>{const t=YI(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="${XI(t)>.5?"#000000":"#FFFFFF"}">
${e.caption}
</text>
</svg>`;return`data:image/svg+xml;charset=UTF-8,${encodeURIComponent(n)}`},QI={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 JI({alternate:this.alt_text,caption:this.caption,font:this.font,size:this.size})}}},e8={class:"cover has-shadow"};function t8(e,t,n,r,o,s){const i=Yl("lazy");return $(),D("figure",e8,[Ht(p("img",{onClick:t[0]||(t[0]=a=>e.$emit("click"))},null,512),[[i,{src:n.url,lifecycle:o.lifecycle}]])])}const bo=ie(QI,[["render",t8],["__scopeId","data-v-3be22a30"]]),{t:Ca,locale:n8}=cu.global,db="NO_INDEX",r8=(e,t)=>e-t,o8=(e,t)=>e.localeCompare(t,n8.value),s8=(e,t)=>new Date(e)-new Date(t)||(e?t?0:1:-1),i8=e=>e.map(({field:t,type:n,order:r=1})=>{switch(n){case String:return(o,s)=>o8(o[t],s[t])*r;case Number:return(o,s)=>r8(o[t],s[t])*r;case Date:return(o,s)=>s8(o[t],s[t])*r;default:return()=>0}}),a8=(e="")=>{const t=e.charAt(0);return t.match(new RegExp("\\p{Letter}","gu"))?t.toUpperCase():t.match(new RegExp("\\p{Number}","gu"))?"#":"⌘"},l8=e=>{},u8=[{difference:NaN,text:()=>Ca("grouped-list.undefined")},{difference:864e5,text:()=>Ca("grouped-list.today")},{difference:6048e5,text:()=>Ca("grouped-list.last-week")},{difference:2592e6,text:()=>Ca("grouped-list.last-month")},{difference:1/0,text:e=>e.getFullYear()}],c8=e=>{var r;const t=new Date(e),n=new Date-t;return(r=u8.find(o=>isNaN(n)||n<o.difference))==null?void 0:r.text(t)},m8=({field:e,type:t}={})=>{switch(t){case String:return n=>a8(n[e]);case Number:return n=>n[e];case Date:return n=>c8(n[e]);case"Digits":return n=>l8(n[e]);default:return()=>db}};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=i8(t),i=o.sort((l,u)=>s.reduce((c,m)=>c||m(l,u),0)),a=m8(r);return this.itemsGrouped=i.reduce((l,u)=>{const c=a(u);return l.set(c,[...l.get(c)||[],u]),l},new Map),this.indices=Array.from(this.itemsGrouped.keys()),this}*generate(){for(const[t,n]of this.itemsGrouped.entries()){t!==db&&(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()}}const d8={name:"ModalDialogPlayable",components:{ModalDialog:Vr,CoverArtwork:bo},props:{buttons:{default:()=>[],type:Array},item:{required:!0,type:Object},show:Boolean},emits:["close"],computed:{actions(){return[{label:this.$t("dialog.playable.add"),handler:this.queue_add,icon:"playlist-plus"},{label:this.$t("dialog.playable.add-next"),handler:this.queue_add_next,icon:"playlist-play"},{label:this.$t("dialog.playable.play"),handler:this.play,icon:"play"}]}},methods:{play(){this.$emit("close"),this.item.expression?J.player_play_expression(this.item.expression,!1):J.player_play_uri(this.item.uris||this.item.item.uri,!1)},queue_add(){this.$emit("close"),this.item.expression?J.queue_expression_add(this.item.expression):J.queue_add(this.item.uris||this.item.uri)},queue_add_next(){this.$emit("close"),this.item.expression?J.queue_expression_add_next(this.item.expression):J.queue_add_next(this.item.uris||this.item.uri)}}},f8={class:"title is-4"},p8=["textContent"],h8=["textContent"],_8=["onClick"],g8={class:"is-size-7 is-uppercase"},y8={class:"title is-6"},b8=["onClick","textContent"],v8=["textContent"];function z8(e,t,n,r,o,s){const i=A("cover-artwork"),a=A("modal-dialog"),l=Yl("t");return $(),ve(a,{actions:s.actions,show:n.show,onClose:t[1]||(t[1]=u=>e.$emit("close"))},{content:I(()=>{var u;return[p("div",f8,[n.item.action?($(),D("a",{key:0,onClick:t[0]||(t[0]=(...c)=>n.item.action&&n.item.action(...c)),textContent:k(n.item.name)},null,8,p8)):($(),D("span",{key:1,textContent:k(n.item.name)},null,8,h8))]),n.item.image?($(),ve(i,{key:0,url:n.item.image,artist:n.item.artist,album:n.item.name,class:"is-normal mb-3"},null,8,["url","artist","album"])):fe("",!0),($(!0),D(be,null,_t(n.buttons,c=>($(),D("div",{key:c.label,class:"buttons"},[Ht(p("a",{class:"button is-small",onClick:c.action},null,8,_8),[[l,c.label]])]))),128)),($(!0),D(be,null,_t((u=n.item.properties)==null?void 0:u.filter(c=>c.value),c=>($(),D("div",{key:c.label,class:"mb-3"},[Ht(p("div",g8,null,512),[[l,c.label]]),p("div",y8,[c.action?($(),D("a",{key:0,onClick:c.action,textContent:k(c.value)},null,8,b8)):($(),D("span",{key:1,class:"title is-6",textContent:k(c.value)},null,8,v8))])]))),128))]}),_:1},8,["actions","show"])}const lr=ie(d8,[["render",z8]]);var fb={exports:{}};(function(e){var t=function(){var n="https://api.spotify.com/v1",r=null,o=null,s=function(d,f){return d.abort=f,d},i=function(d,f){var h;if(o!==null){var _=o.defer();d(function(b){_.resolve(b)},function(b){_.reject(b)}),h=_.promise}else window.Promise&&(h=new window.Promise(d));return h?new s(h,f):null},a=function(){var d=Array.prototype.slice.call(arguments),f=d[0],h=d.slice(1);return f=f||{},h.forEach(function(_){for(var b in _)_.hasOwnProperty(b)&&(f[b]=_[b])}),f},l=function(d,f){var h="";for(var _ in f)if(f.hasOwnProperty(_)){var b=f[_];h+=encodeURIComponent(_)+"="+encodeURIComponent(b)+"&"}return h.length>0&&(h=h.substring(0,h.length-1),d=d+"?"+h),d},u=function(d,f){var h=new XMLHttpRequest,_=function(b,v){function w(C){b&&b(C),f&&f(null,C)}function g(){v&&v(h),f&&f(h,null)}var y=d.type||"GET";if(h.open(y,l(d.url,d.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):g()}},y==="GET")h.send(null);else{var S=null;d.postData&&(d.contentType==="image/jpeg"?(S=d.postData,h.setRequestHeader("Content-Type",d.contentType)):(S=JSON.stringify(d.postData),h.setRequestHeader("Content-Type","application/json"))),h.send(S)}};return f?(_(),null):i(_,function(){h.abort()})},c=function(d,f,h,_){var b={},v=null;typeof f=="object"?(b=f,v=h):typeof f=="function"&&(v=f);var w=d.type||"GET";return w!=="GET"&&d.postData&&!_?d.postData=a(d.postData,b):d.params=a(d.params,b),u(d,v)},m=function(){};return m.prototype={constructor:t},m.prototype.getGeneric=function(d,f){var h={url:d};return c(h,f)},m.prototype.getMe=function(d,f){var h={url:n+"/me"};return c(h,d,f)},m.prototype.getMySavedTracks=function(d,f){var h={url:n+"/me/tracks"};return c(h,d,f)},m.prototype.addToMySavedTracks=function(d,f,h){var _={url:n+"/me/tracks",type:"PUT",postData:d};return c(_,f,h)},m.prototype.removeFromMySavedTracks=function(d,f,h){var _={url:n+"/me/tracks",type:"DELETE",postData:d};return c(_,f,h)},m.prototype.containsMySavedTracks=function(d,f,h){var _={url:n+"/me/tracks/contains",params:{ids:d.join(",")}};return c(_,f,h)},m.prototype.getMySavedAlbums=function(d,f){var h={url:n+"/me/albums"};return c(h,d,f)},m.prototype.addToMySavedAlbums=function(d,f,h){var _={url:n+"/me/albums",type:"PUT",postData:d};return c(_,f,h)},m.prototype.removeFromMySavedAlbums=function(d,f,h){var _={url:n+"/me/albums",type:"DELETE",postData:d};return c(_,f,h)},m.prototype.containsMySavedAlbums=function(d,f,h){var _={url:n+"/me/albums/contains",params:{ids:d.join(",")}};return c(_,f,h)},m.prototype.getMyTopArtists=function(d,f){var h={url:n+"/me/top/artists"};return c(h,d,f)},m.prototype.getMyTopTracks=function(d,f){var h={url:n+"/me/top/tracks"};return c(h,d,f)},m.prototype.getMyRecentlyPlayedTracks=function(d,f){var h={url:n+"/me/player/recently-played"};return c(h,d,f)},m.prototype.followUsers=function(d,f){var h={url:n+"/me/following/",type:"PUT",params:{ids:d.join(","),type:"user"}};return c(h,f)},m.prototype.followArtists=function(d,f){var h={url:n+"/me/following/",type:"PUT",params:{ids:d.join(","),type:"artist"}};return c(h,f)},m.prototype.followPlaylist=function(d,f,h){var _={url:n+"/playlists/"+d+"/followers",type:"PUT",postData:{}};return c(_,f,h)},m.prototype.unfollowUsers=function(d,f){var h={url:n+"/me/following/",type:"DELETE",params:{ids:d.join(","),type:"user"}};return c(h,f)},m.prototype.unfollowArtists=function(d,f){var h={url:n+"/me/following/",type:"DELETE",params:{ids:d.join(","),type:"artist"}};return c(h,f)},m.prototype.unfollowPlaylist=function(d,f){var h={url:n+"/playlists/"+d+"/followers",type:"DELETE"};return c(h,f)},m.prototype.isFollowingUsers=function(d,f){var h={url:n+"/me/following/contains",type:"GET",params:{ids:d.join(","),type:"user"}};return c(h,f)},m.prototype.isFollowingArtists=function(d,f){var h={url:n+"/me/following/contains",type:"GET",params:{ids:d.join(","),type:"artist"}};return c(h,f)},m.prototype.areFollowingPlaylist=function(d,f,h){var _={url:n+"/playlists/"+d+"/followers/contains",type:"GET",params:{ids:f.join(",")}};return c(_,h)},m.prototype.getFollowedArtists=function(d,f){var h={url:n+"/me/following",type:"GET",params:{type:"artist"}};return c(h,d,f)},m.prototype.getUser=function(d,f,h){var _={url:n+"/users/"+encodeURIComponent(d)};return c(_,f,h)},m.prototype.getUserPlaylists=function(d,f,h){var _;return typeof d=="string"?_={url:n+"/users/"+encodeURIComponent(d)+"/playlists"}:(_={url:n+"/me/playlists"},h=f,f=d),c(_,f,h)},m.prototype.getPlaylist=function(d,f,h){var _={url:n+"/playlists/"+d};return c(_,f,h)},m.prototype.getPlaylistTracks=function(d,f,h){var _={url:n+"/playlists/"+d+"/tracks"};return c(_,f,h)},m.prototype.getPlaylistCoverImage=function(d,f){var h={url:n+"/playlists/"+d+"/images"};return c(h,f)},m.prototype.createPlaylist=function(d,f,h){var _={url:n+"/users/"+encodeURIComponent(d)+"/playlists",type:"POST",postData:f};return c(_,f,h)},m.prototype.changePlaylistDetails=function(d,f,h){var _={url:n+"/playlists/"+d,type:"PUT",postData:f};return c(_,f,h)},m.prototype.addTracksToPlaylist=function(d,f,h,_){var b={url:n+"/playlists/"+d+"/tracks",type:"POST",postData:{uris:f}};return c(b,h,_,!0)},m.prototype.replaceTracksInPlaylist=function(d,f,h){var _={url:n+"/playlists/"+d+"/tracks",type:"PUT",postData:{uris:f}};return c(_,{},h)},m.prototype.reorderTracksInPlaylist=function(d,f,h,_,b){var v={url:n+"/playlists/"+d+"/tracks",type:"PUT",postData:{range_start:f,insert_before:h}};return c(v,_,b)},m.prototype.removeTracksFromPlaylist=function(d,f,h){var _=f.map(function(v){return typeof v=="string"?{uri:v}:v}),b={url:n+"/playlists/"+d+"/tracks",type:"DELETE",postData:{tracks:_}};return c(b,{},h)},m.prototype.removeTracksFromPlaylistWithSnapshotId=function(d,f,h,_){var b=f.map(function(w){return typeof w=="string"?{uri:w}:w}),v={url:n+"/playlists/"+d+"/tracks",type:"DELETE",postData:{tracks:b,snapshot_id:h}};return c(v,{},_)},m.prototype.removeTracksFromPlaylistInPositions=function(d,f,h,_){var b={url:n+"/playlists/"+d+"/tracks",type:"DELETE",postData:{positions:f,snapshot_id:h}};return c(b,{},_)},m.prototype.uploadCustomPlaylistCoverImage=function(d,f,h){var _={url:n+"/playlists/"+d+"/images",type:"PUT",postData:f.replace(/^data:image\/jpeg;base64,/,""),contentType:"image/jpeg"};return c(_,{},h)},m.prototype.getAlbum=function(d,f,h){var _={url:n+"/albums/"+d};return c(_,f,h)},m.prototype.getAlbumTracks=function(d,f,h){var _={url:n+"/albums/"+d+"/tracks"};return c(_,f,h)},m.prototype.getAlbums=function(d,f,h){var _={url:n+"/albums/",params:{ids:d.join(",")}};return c(_,f,h)},m.prototype.getTrack=function(d,f,h){var _={};return _.url=n+"/tracks/"+d,c(_,f,h)},m.prototype.getTracks=function(d,f,h){var _={url:n+"/tracks/",params:{ids:d.join(",")}};return c(_,f,h)},m.prototype.getArtist=function(d,f,h){var _={url:n+"/artists/"+d};return c(_,f,h)},m.prototype.getArtists=function(d,f,h){var _={url:n+"/artists/",params:{ids:d.join(",")}};return c(_,f,h)},m.prototype.getArtistAlbums=function(d,f,h){var _={url:n+"/artists/"+d+"/albums"};return c(_,f,h)},m.prototype.getArtistTopTracks=function(d,f,h,_){var b={url:n+"/artists/"+d+"/top-tracks",params:{country:f}};return c(b,h,_)},m.prototype.getArtistRelatedArtists=function(d,f,h){var _={url:n+"/artists/"+d+"/related-artists"};return c(_,f,h)},m.prototype.getFeaturedPlaylists=function(d,f){var h={url:n+"/browse/featured-playlists"};return c(h,d,f)},m.prototype.getNewReleases=function(d,f){var h={url:n+"/browse/new-releases"};return c(h,d,f)},m.prototype.getCategories=function(d,f){var h={url:n+"/browse/categories"};return c(h,d,f)},m.prototype.getCategory=function(d,f,h){var _={url:n+"/browse/categories/"+d};return c(_,f,h)},m.prototype.getCategoryPlaylists=function(d,f,h){var _={url:n+"/browse/categories/"+d+"/playlists"};return c(_,f,h)},m.prototype.search=function(d,f,h,_){var b={url:n+"/search/",params:{q:d,type:f.join(",")}};return c(b,h,_)},m.prototype.searchAlbums=function(d,f,h){return this.search(d,["album"],f,h)},m.prototype.searchArtists=function(d,f,h){return this.search(d,["artist"],f,h)},m.prototype.searchTracks=function(d,f,h){return this.search(d,["track"],f,h)},m.prototype.searchPlaylists=function(d,f,h){return this.search(d,["playlist"],f,h)},m.prototype.searchShows=function(d,f,h){return this.search(d,["show"],f,h)},m.prototype.searchEpisodes=function(d,f,h){return this.search(d,["episode"],f,h)},m.prototype.getAudioFeaturesForTrack=function(d,f){var h={};return h.url=n+"/audio-features/"+d,c(h,{},f)},m.prototype.getAudioFeaturesForTracks=function(d,f){var h={url:n+"/audio-features",params:{ids:d}};return c(h,{},f)},m.prototype.getAudioAnalysisForTrack=function(d,f){var h={};return h.url=n+"/audio-analysis/"+d,c(h,{},f)},m.prototype.getRecommendations=function(d,f){var h={url:n+"/recommendations"};return c(h,d,f)},m.prototype.getAvailableGenreSeeds=function(d){var f={url:n+"/recommendations/available-genre-seeds"};return c(f,{},d)},m.prototype.getMyDevices=function(d){var f={url:n+"/me/player/devices"};return c(f,{},d)},m.prototype.getMyCurrentPlaybackState=function(d,f){var h={url:n+"/me/player"};return c(h,d,f)},m.prototype.getMyCurrentPlayingTrack=function(d,f){var h={url:n+"/me/player/currently-playing"};return c(h,d,f)},m.prototype.transferMyPlayback=function(d,f,h){var _=f||{};_.device_ids=d;var b={type:"PUT",url:n+"/me/player",postData:_};return c(b,f,h)},m.prototype.play=function(d,f){d=d||{};var h="device_id"in d?{device_id:d.device_id}:null,_={};["context_uri","uris","offset","position_ms"].forEach(function(w){w in d&&(_[w]=d[w])});var b={type:"PUT",url:n+"/me/player/play",params:h,postData:_},v=typeof d=="function"?d:{};return c(b,v,f)},m.prototype.queue=function(d,f,h){f=f||{};var _="device_id"in f?{uri:d,device_id:f.device_id}:{uri:d},b={type:"POST",url:n+"/me/player/queue",params:_};return c(b,f,h)},m.prototype.pause=function(d,f){d=d||{};var h="device_id"in d?{device_id:d.device_id}:null,_={type:"PUT",url:n+"/me/player/pause",params:h};return c(_,d,f)},m.prototype.skipToNext=function(d,f){d=d||{};var h="device_id"in d?{device_id:d.device_id}:null,_={type:"POST",url:n+"/me/player/next",params:h};return c(_,d,f)},m.prototype.skipToPrevious=function(d,f){d=d||{};var h="device_id"in d?{device_id:d.device_id}:null,_={type:"POST",url:n+"/me/player/previous",params:h};return c(_,d,f)},m.prototype.seek=function(d,f,h){f=f||{};var _={position_ms:d};"device_id"in f&&(_.device_id=f.device_id);var b={type:"PUT",url:n+"/me/player/seek",params:_};return c(b,f,h)},m.prototype.setRepeat=function(d,f,h){f=f||{};var _={state:d};"device_id"in f&&(_.device_id=f.device_id);var b={type:"PUT",url:n+"/me/player/repeat",params:_};return c(b,f,h)},m.prototype.setVolume=function(d,f,h){f=f||{};var _={volume_percent:d};"device_id"in f&&(_.device_id=f.device_id);var b={type:"PUT",url:n+"/me/player/volume",params:_};return c(b,f,h)},m.prototype.setShuffle=function(d,f,h){f=f||{};var _={state:d};"device_id"in f&&(_.device_id=f.device_id);var b={type:"PUT",url:n+"/me/player/shuffle",params:_};return c(b,f,h)},m.prototype.getShow=function(d,f,h){var _={};return _.url=n+"/shows/"+d,c(_,f,h)},m.prototype.getShows=function(d,f,h){var _={url:n+"/shows/",params:{ids:d.join(",")}};return c(_,f,h)},m.prototype.getMySavedShows=function(d,f){var h={url:n+"/me/shows"};return c(h,d,f)},m.prototype.addToMySavedShows=function(d,f,h){var _={url:n+"/me/shows",type:"PUT",postData:d};return c(_,f,h)},m.prototype.removeFromMySavedShows=function(d,f,h){var _={url:n+"/me/shows",type:"DELETE",postData:d};return c(_,f,h)},m.prototype.containsMySavedShows=function(d,f,h){var _={url:n+"/me/shows/contains",params:{ids:d.join(",")}};return c(_,f,h)},m.prototype.getShowEpisodes=function(d,f,h){var _={url:n+"/shows/"+d+"/episodes"};return c(_,f,h)},m.prototype.getEpisode=function(d,f,h){var _={};return _.url=n+"/episodes/"+d,c(_,f,h)},m.prototype.getEpisodes=function(d,f,h){var _={url:n+"/episodes/",params:{ids:d.join(",")}};return c(_,f,h)},m.prototype.getAccessToken=function(){return r},m.prototype.setAccessToken=function(d){r=d},m.prototype.setPromiseImplementation=function(d){var f=!1;try{var h=new d(function(_){_()});typeof h.then=="function"&&typeof h.catch=="function"&&(f=!0)}catch(_){console.error(_)}if(f)o=d;else throw new Error("Unsupported implementation of Promises/A+")},m}();e.exports=t})(fb);var w8=fb.exports;const ur=pu(w8),S8={name:"ModalDialogTrack",components:{ModalDialogPlayable:lr},props:{item:{required:!0,type:Object},show:Boolean},emits:["close","play-count-changed"],setup(){return{servicesStore:Pt()}},data(){return{spotify_track:{}}},computed:{buttons(){if(this.item.media_kind==="podcast"){if(this.item.play_count>0)return[{label:"dialog.track.mark-as-new",action:this.mark_new}];if(this.item.play_count===0)return[{label:"dialog.track.mark-as-played",action:this.mark_played}]}return[]},playable(){return{name:this.item.title,properties:[{label:"dialog.track.album",value:this.item.album,action:this.open_album},{label:"dialog.track.album-artist",value:this.item.album_artist,action:this.open_artist},{label:"dialog.track.composer",value:this.item.composer},{label:"dialog.track.release-date",value:this.$filters.date(this.item.date_released)},{label:"dialog.track.year",value:this.item.year},{label:"dialog.track.genre",value:this.item.genre},{label:"dialog.track.position",value:[this.item.disc_number,this.item.track_number].join(" / ")},{label:"dialog.track.duration",value:this.$filters.durationInHours(this.item.length_ms)},{label:"dialog.track.type",value:`${this.$t(`media.kind.${this.item.media_kind}`)} - ${this.$t(`data.kind.${this.item.data_kind}`)}`},{label:"dialog.track.quality",value:this.$t("dialog.track.quality-value",{format:this.item.type,bitrate:this.item.bitrate,channels:this.$filters.channels(this.item.channels),samplerate:this.item.samplerate})},{label:"dialog.track.added-on",value:this.$filters.datetime(this.item.time_added)},{label:"dialog.track.rating",value:this.$t("dialog.track.rating-value",{rating:Math.floor(this.item.rating/10)})},{label:"dialog.track.comment",value:this.item.comment},{label:"dialog.track.path",value:this.item.path}]}}},watch:{item(){if(this.item&&this.item.data_kind==="spotify"&&this.item.media_kind!=="podcast"){const e=new ur;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(){J.library_track_update(this.item.id,{play_count:"reset"}).then(()=>{this.$emit("play-count-changed"),this.$emit("close")})},mark_played(){J.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_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}})}}};function C8(e,t,n,r,o,s){const i=A("modal-dialog-playable");return $(),ve(i,{item:s.playable,show:n.show,onClose:t[0]||(t[0]=a=>e.$emit("close"))},null,8,["item","show"])}const k8=ie(S8,[["render",C8]]),E8={name:"ListTracks",components:{ModalDialogTrack:k8},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?J.player_play_uri(this.uris,!1,this.items.items.indexOf(e)):this.expression?J.player_play_expression(this.expression,!1,this.items.items.indexOf(e)):J.player_play_uri(e.uri,!1)}}},x8={key:0,class:"py-5"},T8=["id","textContent"],A8=["onClick"],O8={class:"media-content"},$8=["textContent"],P8=["textContent"],I8=["textContent"],L8=["max","value"],N8={class:"media-right"},D8=["onClick"];function R8(e,t,n,r,o,s){const i=A("mdicon"),a=A("modal-dialog-track");return $(),D(be,null,[($(!0),D(be,null,_t(n.items,l=>($(),D(be,{key:l.itemId},[l.isItem?($(),D("div",{key:1,class:$e(["media is-align-items-center is-clickable mb-0",{"with-progress":n.show_progress}]),onClick:u=>s.play(l.item)},[n.show_icon?($(),ve(i,{key:0,class:"media-left icon",name:"file-outline"})):fe("",!0),p("div",O8,[p("div",{class:$e(["is-size-6 has-text-weight-bold",{"has-text-grey":l.item.media_kind==="podcast"&&l.item.play_count>0}]),textContent:k(l.item.title)},null,10,$8),p("div",{class:"is-size-7 has-text-weight-bold has-text-grey",textContent:k(l.item.artist)},null,8,P8),p("div",{class:"is-size-7 has-text-grey",textContent:k(l.item.album)},null,8,I8),n.show_progress&&l.item.seek_ms>0?($(),D("progress",{key:0,class:"progress is-info",max:l.item.length_ms,value:l.item.seek_ms},null,8,L8)):fe("",!0)]),p("div",N8,[p("a",{onClick:St(u=>s.open_dialog(l.item),["prevent","stop"])},[z(i,{class:"icon has-text-dark",name:"dots-vertical",size:"16"})],8,D8)])],10,A8)):($(),D("div",x8,[p("span",{id:`index_${l.index}`,class:"tag is-small has-text-weight-bold",textContent:k(l.index)},null,8,T8)]))],64))),128)),($(),ve(Wn,{to:"#app"},[z(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 zn=ie(E8,[["render",R8],["__scopeId","data-v-9eed5a6d"]]),M8={name:"ModalDialogAlbum",components:{ModalDialogPlayable:lr},props:{item:{required:!0,type:Object},media_kind:{default:"",type:String},show:Boolean},emits:["close","remove-podcast","play-count-changed"],computed:{buttons(){return this.media_kind_resolved==="podcast"?item.data_kind==="url"?[{label:"dialog.album.mark-as-played",action:this.mark_played},{label:"dialog.album.remove-podcast",action:this.remove_podcast}]:[{label:"dialog.album.mark-as-played",action:this.mark_played}]:[]},media_kind_resolved(){return this.media_kind||this.item.media_kind},playable(){return{name:this.item.name,action:this.open,image:this.item.artwork_url,artist:this.item.artist,album:this.item.name,properties:[{label:"dialog.album.artist",value:this.item.artist,action:this.open_artist},{label:"dialog.album.release-date",value:this.$filters.date(this.item.date_released)},{label:"dialog.album.year",value:this.item.year},{label:"dialog.album.tracks",value:this.item.track_count},{label:"dialog.album.duration",value:this.$filters.durationInHours(this.item.length_ms)},{label:"dialog.album.type",value:`${this.$t(`media.kind.${this.item.media_kind}`)} - ${this.$t(`data.kind.${this.item.data_kind}`)}`},{label:"dialog.album.added-on",value:this.$filters.datetime(this.item.time_added)}]}}},methods:{mark_played(){J.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}})},remove_podcast(){this.$emit("remove-podcast")}}};function F8(e,t,n,r,o,s){const i=A("modal-dialog-playable");return $(),ve(i,{item:s.playable,show:n.show,onClose:t[0]||(t[0]=a=>e.$emit("close"))},null,8,["item","show"])}const wu=ie(M8,[["render",F8]]),oh={load(e){return Promise.all([J.library_album(e.params.id),J.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()}},V8={name:"PageAlbum",components:{ContentWithHero:zu,CoverArtwork:bo,ListTracks:zn,ModalDialogAlbum:wu},beforeRouteEnter(e,t,n){oh.load(e).then(r=>{n(o=>oh.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(){J.player_play_uri(this.album.uri,!0)}}},H8=["textContent"],U8={class:"subtitle is-6"},j8=["textContent"],W8={class:"buttons is-centered-mobile mt-5"},B8=["textContent"],q8=["textContent"];function G8(e,t,n,r,o,s){const i=A("mdicon"),a=A("cover-artwork"),l=A("list-tracks"),u=A("modal-dialog-album"),c=A("content-with-hero");return $(),D("div",null,[z(c,null,{"heading-left":I(()=>[p("div",{class:"title is-5",textContent:k(o.album.name)},null,8,H8),p("div",U8,[p("a",{onClick:t[0]||(t[0]=(...m)=>s.open_artist&&s.open_artist(...m)),textContent:k(o.album.artist)},null,8,j8)]),p("div",W8,[p("a",{class:"button has-background-light is-small is-rounded",onClick:t[1]||(t[1]=(...m)=>s.play&&s.play(...m))},[z(i,{class:"icon",name:"shuffle",size:"16"}),p("span",{textContent:k(e.$t("page.album.shuffle"))},null,8,B8)]),p("a",{class:"button is-small has-background-light is-rounded",onClick:t[2]||(t[2]=m=>o.show_details_modal=!0)},[z(i,{class:"icon",name:"dots-horizontal",size:"16"})])])]),"heading-right":I(()=>[z(a,{url:o.album.artwork_url,artist:o.album.artist,album:o.album.name,class:"is-clickable is-medium",onClick:t[3]||(t[3]=m=>o.show_details_modal=!0)},null,8,["url","artist","album"])]),content:I(()=>[p("div",{class:"is-size-7 is-uppercase has-text-centered-mobile my-5",textContent:k(e.$t("page.album.track-count",{count:o.album.track_count}))},null,8,q8),z(l,{items:o.tracks,uris:o.album.uri},null,8,["items","uris"]),z(u,{item:o.album,show:o.show_details_modal,onClose:t[4]||(t[4]=m=>o.show_details_modal=!1)},null,8,["item","show"])]),_:1})])}const K8=ie(V8,[["render",G8]]),Z8={name:"ModalDialogTrackSpotify",components:{ModalDialogPlayable:lr},props:{item:{required:!0,type:Object},show:Boolean},emits:["close"],computed:{playable(){return{name:this.item.name,subtitle:this.item.artists[0].name,properties:[{label:"dialog.spotify.track.album",value:this.item.album.name,action:this.open_album},{label:"dialog.spotify.track.album-artist",value:this.item.artists[0].name,action:this.open_artist},{label:"dialog.spotify.track.release-date",value:this.$filters.date(item.album.release_date)},{label:"dialog.spotify.track.position",value:[item.disc_number,item.track_number].join(" / ")},{label:"dialog.spotify.track.duration",value:this.$filters.durationInHours(item.duration_ms)},{label:"dialog.spotify.track.path",value:this.item.uri}]}}},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}})}}};function Y8(e,t,n,r,o,s){const i=A("modal-dialog-playable");return $(),ve(i,{item:s.playable,show:n.show,onClose:t[0]||(t[0]=a=>e.$emit("close"))},null,8,["item","show"])}const X8=ie(Z8,[["render",Y8]]),J8={name:"ListTracksSpotify",components:{ModalDialogTrackSpotify:X8},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&&J.player_play_uri(this.context_uri||e.uri,!1,e.position||0)}}},Q8=["onClick"],eL=["textContent"],tL=["textContent"],nL=["textContent"],rL={key:0,class:"is-size-7 has-text-grey"},oL=["textContent"],sL=["textContent"],iL={class:"media-right"},aL=["onClick"];function lL(e,t,n,r,o,s){const i=A("mdicon"),a=A("modal-dialog-track-spotify");return $(),D(be,null,[($(!0),D(be,null,_t(n.items,l=>{var u;return $(),D("div",{key:l.id,class:"media is-align-items-center mb-0"},[p("div",{class:$e(["media-content",{"is-clickable":l.is_playable,"is-not-allowed":!l.is_playable}]),onClick:c=>s.play(l)},[p("div",{class:$e(["is-size-6 has-text-weight-bold",{"has-text-grey-light":!l.is_playable}]),textContent:k(l.name)},null,10,eL),p("div",{class:$e(["is-size-7 has-text-weight-bold",{"has-text-grey":l.is_playable,"has-text-grey-light":!l.is_playable}]),textContent:k(l.artists[0].name)},null,10,tL),p("div",{class:"is-size-7 has-text-grey",textContent:k(l.album.name)},null,8,nL),l.is_playable?fe("",!0):($(),D("div",rL,[t[1]||(t[1]=Qt(" (")),p("span",{textContent:k(e.$t("list.spotify.not-playable-track"))},null,8,oL),(u=l.restrictions)!=null&&u.reason?($(),D("span",{key:0,textContent:k(e.$t("list.spotify.restriction-reason",{reason:l.restrictions.reason}))},null,8,sL)):fe("",!0),t[2]||(t[2]=Qt(") "))]))],10,Q8),p("div",iL,[p("a",{onClick:St(c=>s.open_dialog(l),["prevent","stop"])},[z(i,{class:"icon has-text-dark",name:"dots-vertical",size:"16"})],8,aL)])])}),128)),($(),ve(Wn,{to:"#app"},[z(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 wl=ie(J8,[["render",lL],["__scopeId","data-v-b9587ebb"]]),uL={name:"ModalDialogAlbumSpotify",components:{ModalDialogPlayable:lr},props:{item:{required:!0,type:Object},show:Boolean},emits:["close"],computed:{playable(){var e,t,n,r,o,s;return{name:this.item.name||"",image:((n=(t=(e=this.item)==null?void 0:e.images)==null?void 0:t[0])==null?void 0:n.url)||"",artist:this.item.artist||"",album:this.item.name||"",action:this.open,properties:[{label:"dialog.spotify.album.album-artist",value:(s=(o=(r=this.item)==null?void 0:r.artists)==null?void 0:o[0])==null?void 0:s.name,action:this.open_artist},{label:"dialog.spotify.album.release-date",value:this.$filters.date(this.item.release_date)},{label:"dialog.spotify.album.type",value:this.item.album_type}]}}},methods:{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}})}}};function cL(e,t,n,r,o,s){const i=A("modal-dialog-playable");return $(),ve(i,{item:s.playable,show:n.show,onClose:t[0]||(t[0]=a=>e.$emit("close"))},null,8,["item","show"])}const pb=ie(uL,[["render",cL]]),sh={load(e){const t=new ur;return t.setAccessToken(Pt().spotify.webapi_token),t.getAlbum(e.params.id,{market:Pt().spotify.webapi_country})},set(e,t){e.album=t}},mL={name:"PageAlbumSpotify",components:{ContentWithHero:zu,CoverArtwork:bo,ListTracksSpotify:wl,ModalDialogAlbumSpotify:pb},beforeRouteEnter(e,t,n){sh.load(e).then(r=>{n(o=>sh.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,J.player_play_uri(this.album.uri,!0)}}},dL=["textContent"],fL={class:"subtitle is-6"},pL=["textContent"],hL={class:"buttons is-centered-mobile mt-5"},_L=["textContent"],gL=["textContent"];function yL(e,t,n,r,o,s){const i=A("mdicon"),a=A("cover-artwork"),l=A("list-tracks-spotify"),u=A("modal-dialog-album-spotify"),c=A("content-with-hero");return $(),D("div",null,[z(c,null,{"heading-left":I(()=>[p("div",{class:"title is-5",textContent:k(o.album.name)},null,8,dL),p("div",fL,[p("a",{onClick:t[0]||(t[0]=(...m)=>s.open_artist&&s.open_artist(...m)),textContent:k(o.album.artists[0].name)},null,8,pL)]),p("div",hL,[p("a",{class:"button is-small is-dark is-rounded",onClick:t[1]||(t[1]=(...m)=>s.play&&s.play(...m))},[z(i,{class:"icon",name:"shuffle",size:"16"}),p("span",{textContent:k(e.$t("page.spotify.album.shuffle"))},null,8,_L)]),p("a",{class:"button is-small is-light is-rounded",onClick:t[2]||(t[2]=m=>o.show_details_modal=!0)},[z(i,{class:"icon",name:"dots-horizontal",size:"16"})])])]),"heading-right":I(()=>[z(a,{url:s.artwork_url(o.album),artist:o.album.artists[0].name,album:o.album.name,class:"is-clickable is-medium",onClick:t[3]||(t[3]=m=>o.show_details_modal=!0)},null,8,["url","artist","album"])]),content:I(()=>[p("div",{class:"is-size-7 is-uppercase has-text-centered-mobile mt-5",textContent:k(e.$t("page.spotify.album.track-count",{count:o.album.tracks.total}))},null,8,gL),z(l,{items:s.tracks,context_uri:o.album.uri},null,8,["items","context_uri"]),z(u,{item:o.album,show:o.show_details_modal,onClose:t[4]||(t[4]=m=>o.show_details_modal=!1)},null,8,["item","show"])]),_:1})])}const bL=ie(mL,[["render",yL]]),vL={name:"ContentWithHeading",data(){return{hidden:!0}},computed:{icon(){return this.hidden?"chevron-down":"chevron-up"}}},zL={class:"section"},wL={class:"container"},SL={class:"columns is-centered"},CL={class:"column is-four-fifths"},kL={key:0,ref:"options"},EL={class:"buttons is-centered"},xL={class:"level is-clipped"},TL={class:"level-left is-flex-shrink-1"},AL={class:"level-item is-flex-shrink-1 has-text-centered-mobile"},OL={class:"level-right has-text-centered-mobile"},$L={class:"mt-4"};function PL(e,t,n,r,o,s){const i=A("mdicon");return $(),D("section",zL,[p("div",wL,[p("div",SL,[p("div",CL,[e.$slots.options?($(),D("section",kL,[p("div",{class:$e({"is-hidden":o.hidden})},[dt(e.$slots,"options")],2),p("div",EL,[p("button",{class:"button is-small",onClick:t[0]||(t[0]=a=>o.hidden=!o.hidden)},[z(i,{class:"icon",name:s.icon,size:"16"},null,8,["name"])])])],512)):fe("",!0),p("div",null,[p("nav",xL,[p("div",TL,[p("div",AL,[p("div",null,[dt(e.$slots,"heading-left")])])]),p("div",OL,[dt(e.$slots,"heading-right")])]),dt(e.$slots,"content"),p("div",$L,[dt(e.$slots,"footer")])])])])])])}const et=ie(vL,[["render",PL]]),IL={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)}}},LL={class:"dropdown-trigger"},NL=["textContent"],DL={id:"dropdown",class:"dropdown-menu",role:"menu"},RL={class:"dropdown-content"},ML=["onClick","textContent"];function FL(e,t,n,r,o,s){const i=A("mdicon"),a=Yl("click-away");return Ht(($(),D("div",{class:$e(["dropdown",{"is-active":o.active}])},[p("div",LL,[p("button",{class:"button","aria-haspopup":"true","aria-controls":"dropdown",onClick:t[0]||(t[0]=l=>o.active=!o.active)},[p("span",{textContent:k(s.option.name)},null,8,NL),z(i,{class:"icon",name:"chevron-down",size:"16"})])]),p("div",DL,[p("div",RL,[($(!0),D(be,null,_t(n.options,l=>($(),D("a",{key:l.id,class:$e(["dropdown-item",{"is-active":n.value===l.id}]),onClick:u=>s.select(l),textContent:k(l.name)},null,10,ML))),128))])])],2)),[[a,s.deactivate]])}const Bo=ie(IL,[["render",FL]]),VL={name:"IndexButtonList",props:{indices:{required:!0,type:Array}}},HL={class:"buttons is-centered mb-4"};function UL(e,t,n,r,o,s){const i=A("router-link");return $(),D("section",null,[p("nav",HL,[($(!0),D(be,null,_t(n.indices,a=>($(),ve(i,{key:a,class:"button is-small is-square",to:{hash:`#index_${a}`,query:e.$route.query}},{default:I(()=>[Qt(k(a),1)]),_:2},1032,["to"]))),128))])])}const cr=ie(VL,[["render",UL],["__scopeId","data-v-5b2fecfc"]]),jL={name:"ListAlbums",components:{CoverArtwork:bo,ModalDialog:Vr,ModalDialogAlbum:wu},props:{items:{required:!0,type:Object},media_kind:{default:"",type:String}},emits:["play-count-changed","podcast-deleted"],setup(){return{settingsStore:Hr()}},data(){return{rss_playlist_to_remove:{},selected_item:{},show_details_modal:!1,show_remove_podcast_modal:!1}},computed:{actions(){return[{label:this.$t("page.podcast.cancel"),handler:"cancel",icon:"cancel"},{label:this.$t("page.podcast.remove"),handler:"remove",icon:"delete"}]},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(){J.library_album_tracks(this.selected_item.id,{limit:1}).then(({data:e})=>{J.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,J.library_playlist_delete(this.rss_playlist_to_remove.id).then(()=>{this.$emit("podcast-deleted")})}}},WL={key:0,class:"py-5"},BL=["id","textContent"],qL=["onClick"],GL={class:"media-content"},KL=["textContent"],ZL=["textContent"],YL=["textContent"],XL={class:"media-right"},JL=["onClick"],QL=["textContent"];function eN(e,t,n,r,o,s){const i=A("cover-artwork"),a=A("mdicon"),l=A("modal-dialog-album"),u=A("i18n-t"),c=A("modal-dialog");return $(),D(be,null,[($(!0),D(be,null,_t(n.items,m=>($(),D(be,{key:m.itemId},[m.isItem?($(),D("div",{key:1,class:"media is-align-items-center is-clickable mb-0",onClick:d=>s.open(m.item)},[r.settingsStore.show_cover_artwork_in_album_lists?($(),ve(i,{key:0,url:m.item.artwork_url,artist:m.item.artist,album:m.item.name,class:"media-left is-small"},null,8,["url","artist","album"])):fe("",!0),p("div",GL,[p("div",{class:"is-size-6 has-text-weight-bold",textContent:k(m.item.name)},null,8,KL),p("div",{class:"is-size-7 has-text-grey has-text-weight-bold",textContent:k(m.item.artist)},null,8,ZL),m.item.date_released&&m.item.media_kind==="music"?($(),D("div",{key:0,class:"is-size-7 has-text-grey",textContent:k(e.$filters.date(m.item.date_released))},null,8,YL)):fe("",!0)]),p("div",XL,[p("a",{onClick:St(d=>s.open_dialog(m.item),["prevent","stop"])},[z(a,{class:"icon has-text-dark",name:"dots-vertical",size:"16"})],8,JL)])],8,qL)):($(),D("div",WL,[p("span",{id:`index_${m.index}`,class:"tag is-small has-text-weight-bold",textContent:k(m.index)},null,8,BL)]))],64))),128)),($(),ve(Wn,{to:"#app"},[z(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"]),z(c,{actions:s.actions,show:o.show_remove_podcast_modal,title:e.$t("page.podcast.remove-podcast"),onCancel:t[3]||(t[3]=m=>o.show_remove_podcast_modal=!1),onRemove:s.remove_podcast},{content:I(()=>[z(u,{keypath:"list.albums.info",tag:"p",scope:"global"},{separator:I(()=>t[4]||(t[4]=[p("br",null,null,-1)])),name:I(()=>[p("b",{textContent:k(o.rss_playlist_to_remove.name)},null,8,QL)]),_:1})]),_:1},8,["actions","show","title","onRemove"])]))],64)}const kn=ie(jL,[["render",eN]]),tN={name:"TabsMusic",setup(){return{servicesStore:Pt()}},computed:{spotify_enabled(){return this.servicesStore.spotify.webapi_token_valid}}},nN={class:"section tabs-section"},rN={class:"container"},oN={class:"columns is-centered"},sN={class:"column is-four-fifths"},iN={class:"tabs is-centered is-small"},aN=["onClick","onKeypress"],lN=["textContent"],uN=["onClick","onKeypress"],cN=["textContent"],mN=["onClick","onKeypress"],dN=["textContent"],fN=["onClick","onKeypress"],pN=["textContent"],hN=["onClick","onKeypress"],_N=["textContent"],gN=["onClick","onKeypress"],yN=["textContent"];function bN(e,t,n,r,o,s){const i=A("mdicon"),a=A("router-link");return $(),D("section",nN,[p("div",rN,[p("div",oN,[p("div",sN,[p("div",iN,[p("ul",null,[z(a,{to:{name:"music-history"},custom:""},{default:I(({navigate:l,isActive:u})=>[p("li",{class:$e({"is-active":u})},[p("a",{onClick:l,onKeypress:_n(l,["enter"])},[z(i,{class:"icon is-small",name:"history",size:"16"}),p("span",{class:"is-hidden-mobile",textContent:k(e.$t("page.music.tabs.history"))},null,8,lN)],40,aN)],2)]),_:1}),z(a,{to:{name:"music-artists"},custom:""},{default:I(({navigate:l,isActive:u})=>[p("li",{class:$e({"is-active":u})},[p("a",{onClick:l,onKeypress:_n(l,["enter"])},[z(i,{class:"icon is-small",name:"account-music",size:"16"}),p("span",{class:"is-hidden-mobile",textContent:k(e.$t("page.music.tabs.artists"))},null,8,cN)],40,uN)],2)]),_:1}),z(a,{to:{name:"music-albums"},custom:""},{default:I(({navigate:l,isActive:u})=>[p("li",{class:$e({"is-active":u})},[p("a",{onClick:l,onKeypress:_n(l,["enter"])},[z(i,{class:"icon is-small",name:"album",size:"16"}),p("span",{class:"is-hidden-mobile",textContent:k(e.$t("page.music.tabs.albums"))},null,8,dN)],40,mN)],2)]),_:1}),z(a,{to:{name:"music-genres"},custom:""},{default:I(({navigate:l,isActive:u})=>[p("li",{class:$e({"is-active":u})},[p("a",{onClick:l,onKeypress:_n(l,["enter"])},[z(i,{class:"icon is-small",name:"speaker",size:"16"}),p("span",{class:"is-hidden-mobile",textContent:k(e.$t("page.music.tabs.genres"))},null,8,pN)],40,fN)],2)]),_:1}),z(a,{to:{name:"music-composers"},custom:""},{default:I(({navigate:l,isActive:u})=>[p("li",{class:$e({"is-active":u})},[p("a",{onClick:l,onKeypress:_n(l,["enter"])},[z(i,{class:"icon is-small",name:"book-open-page-variant",size:"16"}),p("span",{class:"is-hidden-mobile",textContent:k(e.$t("page.music.tabs.composers"))},null,8,_N)],40,hN)],2)]),_:1}),s.spotify_enabled?($(),ve(a,{key:0,to:{name:"music-spotify"},custom:""},{default:I(({navigate:l,isActive:u})=>[p("li",{class:$e({"is-active":u})},[p("a",{onClick:l,onKeypress:_n(l,["enter"])},[z(i,{class:"icon is-small",name:"spotify",size:"16"}),p("span",{class:"is-hidden-mobile",textContent:k(e.$t("page.music.tabs.spotify"))},null,8,yN)],40,gN)],2)]),_:1})):fe("",!0)])])])])])])}const Sr=ie(tN,[["render",bN]]),ih={load(e){return J.library_albums("music")},set(e,t){e.albums_list=new Ee(t.data)}},vN={name:"PageAlbums",components:{ContentWithHeading:et,ControlDropdown:Bo,ControlSwitch:jo,IndexButtonList:cr,ListAlbums:kn,TabsMusic:Sr},beforeRouteEnter(e,t,n){ih.load(e).then(r=>{n(o=>ih.set(o,r))})},setup(){return{uiStore:wn(),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.uiStore.albums_sort);return e.filters=[t=>!this.uiStore.hide_singles||t.track_count>2,t=>!this.uiStore.hide_spotify||t.data_kind!=="spotify"],this.albums_list.group(e)},spotify_enabled(){return this.servicesStore.spotify.webapi_token_valid}}},zN={class:"columns"},wN={class:"column"},SN=["textContent"],CN=["textContent"],kN=["textContent"],EN=["textContent"],xN=["textContent"],TN={class:"column"},AN=["textContent"],ON=["textContent"],$N=["textContent"];function PN(e,t,n,r,o,s){const i=A("tabs-music"),a=A("index-button-list"),l=A("control-switch"),u=A("control-dropdown"),c=A("list-albums"),m=A("content-with-heading");return $(),D("div",null,[z(i),z(m,null,{options:I(()=>[z(a,{indices:s.albums.indices},null,8,["indices"]),p("div",zN,[p("div",wN,[p("div",{class:"is-size-7 is-uppercase",textContent:k(e.$t("page.albums.filter"))},null,8,SN),z(l,{modelValue:r.uiStore.hide_singles,"onUpdate:modelValue":t[0]||(t[0]=d=>r.uiStore.hide_singles=d)},{label:I(()=>[p("span",{textContent:k(e.$t("page.albums.hide-singles"))},null,8,CN)]),help:I(()=>[p("span",{textContent:k(e.$t("page.albums.hide-singles-help"))},null,8,kN)]),_:1},8,["modelValue"]),s.spotify_enabled?($(),ve(l,{key:0,modelValue:r.uiStore.hide_spotify,"onUpdate:modelValue":t[1]||(t[1]=d=>r.uiStore.hide_spotify=d)},{label:I(()=>[p("span",{textContent:k(e.$t("page.albums.hide-spotify"))},null,8,EN)]),help:I(()=>[p("span",{textContent:k(e.$t("page.albums.hide-spotify-help"))},null,8,xN)]),_:1},8,["modelValue"])):fe("",!0)]),p("div",TN,[p("div",{class:"is-size-7 is-uppercase",textContent:k(e.$t("page.albums.sort.title"))},null,8,AN),z(u,{value:r.uiStore.albums_sort,"onUpdate:value":t[2]||(t[2]=d=>r.uiStore.albums_sort=d),options:o.groupings},null,8,["value","options"])])])]),"heading-left":I(()=>[p("div",{class:"title is-4",textContent:k(e.$t("page.albums.title"))},null,8,ON),p("div",{class:"is-size-7 is-uppercase",textContent:k(e.$t("page.albums.count",{count:s.albums.count}))},null,8,$N)]),content:I(()=>[z(c,{items:s.albums},null,8,["items"])]),_:1})])}const IN=ie(vN,[["render",PN]]),LN={name:"ModalDialogArtist",components:{ModalDialogPlayable:lr},props:{item:{required:!0,type:Object},show:Boolean},emits:["close"],computed:{playable(){return{name:this.item.name,action:this.open,properties:[{label:"dialog.artist.albums",value:this.item.album_count},{label:"dialog.artist.tracks",value:this.item.track_count},{label:"dialog.artist.type",value:this.$t(`data.kind.${this.item.data_kind}`)},{label:"dialog.artist.added-on",value:this.$filters.datetime(this.item.time_added)}]}}},methods:{open(){this.$emit("close"),this.$router.push({name:"music-artist",params:{id:this.item.id}})}}};function NN(e,t,n,r,o,s){const i=A("modal-dialog-playable");return $(),ve(i,{item:s.playable,show:n.show,onClose:t[0]||(t[0]=a=>e.$emit("close"))},null,8,["item","show"])}const Su=ie(LN,[["render",NN]]),ah={load(e){return Promise.all([J.library_artist(e.params.id),J.library_artist_albums(e.params.id)])},set(e,t){e.artist=t[0].data,e.albums_list=new Ee(t[1].data)}},DN={name:"PageArtist",components:{ContentWithHeading:et,ControlDropdown:Bo,ControlSwitch:jo,ListAlbums:kn,ModalDialogArtist:Su},beforeRouteEnter(e,t,n){ah.load(e).then(r=>{n(o=>ah.set(o,r))})},setup(){return{servicesStore:Pt(),uiStore:wn()}},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.uiStore.artist_albums_sort);return e.filters=[t=>!this.uiStore.hide_spotify||t.data_kind!=="spotify"],this.albums_list.group(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(){J.player_play_uri(this.albums.items.map(e=>e.uri).join(),!0)}}},RN={class:"columns"},MN={class:"column"},FN=["textContent"],VN=["textContent"],HN=["textContent"],UN={class:"column"},jN=["textContent"],WN=["textContent"],BN={class:"is-size-7 is-uppercase"},qN=["textContent"],GN=["textContent"],KN={class:"buttons is-centered"},ZN=["textContent"];function YN(e,t,n,r,o,s){const i=A("control-switch"),a=A("control-dropdown"),l=A("mdicon"),u=A("list-albums"),c=A("modal-dialog-artist"),m=A("content-with-heading");return $(),D("div",null,[z(m,null,{options:I(()=>[p("div",RN,[p("div",MN,[p("div",{class:"is-size-7 is-uppercase",textContent:k(e.$t("page.artist.filter"))},null,8,FN),s.spotify_enabled?($(),ve(i,{key:0,modelValue:r.uiStore.hide_spotify,"onUpdate:modelValue":t[0]||(t[0]=d=>r.uiStore.hide_spotify=d)},{label:I(()=>[p("span",{textContent:k(e.$t("page.artist.hide-spotify"))},null,8,VN)]),help:I(()=>[p("span",{textContent:k(e.$t("page.artist.hide-spotify-help"))},null,8,HN)]),_:1},8,["modelValue"])):fe("",!0)]),p("div",UN,[p("div",{class:"is-size-7 is-uppercase",textContent:k(e.$t("page.artist.sort.title"))},null,8,jN),z(a,{value:r.uiStore.artist_albums_sort,"onUpdate:value":t[1]||(t[1]=d=>r.uiStore.artist_albums_sort=d),options:o.groupings},null,8,["value","options"])])])]),"heading-left":I(()=>[p("div",{class:"title is-4",textContent:k(o.artist.name)},null,8,WN),p("div",BN,[p("span",{textContent:k(e.$t("page.artist.album-count",{count:s.albums.count}))},null,8,qN),t[6]||(t[6]=p("span",null," | ",-1)),p("a",{onClick:t[2]||(t[2]=(...d)=>s.open_tracks&&s.open_tracks(...d)),textContent:k(e.$t("page.artist.track-count",{count:s.track_count}))},null,8,GN)])]),"heading-right":I(()=>[p("div",KN,[p("a",{class:"button is-small is-light is-rounded",onClick:t[3]||(t[3]=d=>o.show_details_modal=!0)},[z(l,{class:"icon",name:"dots-horizontal",size:"16"})]),p("a",{class:"button is-small is-dark is-rounded",onClick:t[4]||(t[4]=(...d)=>s.play&&s.play(...d))},[z(l,{class:"icon",name:"shuffle",size:"16"}),p("span",{textContent:k(e.$t("page.artist.shuffle"))},null,8,ZN)])])]),content:I(()=>[z(u,{items:s.albums},null,8,["items"]),z(c,{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 XN=ie(DN,[["render",YN]]),JN={name:"ListAlbumsSpotify",components:{CoverArtwork:bo,ModalDialogAlbumSpotify:pb},props:{items:{required:!0,type:Object}},setup(){return{settingsStore:Hr()}},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}}},QN=["onClick"],eD={key:0,class:"media-left"},tD={class:"media-content"},nD=["textContent"],rD=["textContent"],oD=["textContent"],sD={class:"media-right"},iD=["onClick"];function aD(e,t,n,r,o,s){const i=A("cover-artwork"),a=A("mdicon"),l=A("modal-dialog-album-spotify");return $(),D(be,null,[($(!0),D(be,null,_t(n.items,u=>{var c;return $(),D("div",{key:u.id,class:"media is-align-items-center is-clickable mb-0",onClick:m=>s.open(u)},[r.settingsStore.show_cover_artwork_in_album_lists?($(),D("div",eD,[z(i,{url:s.artwork_url(u),artist:u.artist,album:u.name,class:"is-small"},null,8,["url","artist","album"])])):fe("",!0),p("div",tD,[p("div",{class:"is-size-6 has-text-weight-bold",textContent:k(u.name)},null,8,nD),p("div",{class:"is-size-7 has-text-weight-bold has-text-grey",textContent:k((c=u.artists[0])==null?void 0:c.name)},null,8,rD),p("div",{class:"is-size-7 has-text-grey",textContent:k(e.$filters.date(u.release_date))},null,8,oD)]),p("div",sD,[p("a",{onClick:St(m=>s.open_dialog(u),["prevent","stop"])},[z(a,{class:"icon has-text-dark",name:"dots-vertical",size:"16"})],8,iD)])],8,QN)}),128)),($(),ve(Wn,{to:"#app"},[z(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 ji=ie(JN,[["render",aD]]),lD={name:"ModalDialogArtistSpotify",components:{ModalDialogPlayable:lr},props:{item:{required:!0,type:Object},show:Boolean},emits:["close"],computed:{playable(){var e,t;return{name:this.item.name,action:this.open,properties:[{label:"dialog.spotify.artist.popularity",value:[this.item.popularity,(e=this.item.followers)==null?void 0:e.total].join(" / ")},{label:"dialog.spotify.artist.genres",value:(t=this.item.genres)==null?void 0:t.join(", ")}]}}},methods:{open(){this.$emit("close"),this.$router.push({name:"music-spotify-artist",params:{id:this.item.id}})}}};function uD(e,t,n,r,o,s){const i=A("modal-dialog-playable");return $(),ve(i,{item:s.playable,show:n.show,onClose:t[0]||(t[0]=a=>e.$emit("close"))},null,8,["item","show"])}const hb=ie(lD,[["render",uD]]);function cD(e){return e.scrollHeight}function mD(e){return e.scrollWidth}function dD(e,t){e.scrollTop=e.scrollHeight-t+e.scrollTop}function fD(e,t){e.scrollLeft=e.scrollWidth-t+e.scrollLeft}const pD=p("div",{class:"loading"},"Loading...",-1),hD=p("div",{class:"no-more"},"No more.",-1),_D=p("div",{class:"no-results"},"No results.",-1),gD=p("div",{class:"error"},"Error.",-1),vd=Mr({__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=Mn();let o=Mn("loading"),s=Mn(n.isInitial),i=0;function a(){Uo(()=>{var g,y;n.position==="top"?dD((g=n.container)!=null?g:document.documentElement,i):n.position==="left"&&fD((y=n.container)!=null?y:document.documentElement,i)})}function l(g,y){return g===0?s.value?(c(),"no-results"):(u(),"no-more"):g!==void 0&&y!==void 0&&g<y?(u(),"no-more"):(s.value=!1,a(),b(),"loading")}function u(){s.value=!1,h("no-more"),a()}function c(){s.value=!1,h("no-results"),a()}function m(){s.value=!1,h("error"),a()}function d(){s.value=!0,h("loading"),b()}function f(){h("loading"),b()}function h(g){o.value=g}function _(){r.value&&w.unobserve(r.value)}function b(){r.value&&w.observe(r.value)}function v(){return new IntersectionObserver(([g])=>{var y,S;g.isIntersecting&&(n.position==="top"?i=cD((y=n.container)!=null?y:document.documentElement):n.position==="left"&&(i=mD((S=n.container)!=null?S:document.documentElement)),_(),n.load({loaded:l,noMore:u,noResults:c,error:m},{isFirstLoad:s.value}))},{root:n.container,threshold:0,rootMargin:n.margin})}let w;return typeof IntersectionObserver<"u"&&ig(()=>{w&&_(),w=v(),b()},{flush:"post"}),xn(()=>n.isInitial,g=>{g&&d()}),xn(s,g=>{g||t("update:isInitial",!1)}),(g,y)=>($(),D("div",{class:"vue-eternal-loading",ref_key:"rootRef",ref:r},[yn(o)==="loading"?dt(g.$slots,"loading",Qs(cs({key:0},{isFirstLoad:yn(s)})),()=>[pD]):yn(o)==="no-more"?dt(g.$slots,"no-more",Qs(cs({key:1},{retry:f})),()=>[hD]):yn(o)==="no-results"?dt(g.$slots,"no-results",Qs(cs({key:2},{retry:f})),()=>[_D]):yn(o)==="error"?dt(g.$slots,"error",Qs(cs({key:3},{retry:f})),()=>[gD]):fe("",!0)],512))}}),pm=50,lh={load(e){const t=new ur;return t.setAccessToken(Pt().spotify.webapi_token),Promise.all([t.getArtist(e.params.id),t.getArtistAlbums(e.params.id,{include_groups:"album,single",limit:pm,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())}},yD={name:"PageArtistSpotify",components:{ContentWithHeading:et,ListAlbumsSpotify:ji,ModalDialogArtistSpotify:hb,VueEternalLoading:vd},beforeRouteEnter(e,t,n){lh.load(e).then(r=>{n(o=>lh.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 ur;t.setAccessToken(this.servicesStore.spotify.webapi_token),t.getArtistAlbums(this.artist.id,{include_groups:"album,single",limit:pm,offset:this.offset}).then(n=>{this.append_albums(n),e(n.items.length,pm)})},play(){this.show_album_details_modal=!1,J.player_play_uri(this.artist.uri,!0)}}},bD=["textContent"],vD=["textContent"],zD={class:"buttons is-centered"},wD=["textContent"],SD={class:"columns is-centered"},CD={class:"column has-text-centered"};function kD(e,t,n,r,o,s){const i=A("mdicon"),a=A("list-albums-spotify"),l=A("VueEternalLoading"),u=A("modal-dialog-artist-spotify"),c=A("content-with-heading");return $(),D("div",null,[z(c,null,{"heading-left":I(()=>[p("div",{class:"title is-4",textContent:k(o.artist.name)},null,8,bD),p("div",{class:"is-size-7 is-uppercase",textContent:k(e.$t("page.spotify.artist.album-count",{count:o.total}))},null,8,vD)]),"heading-right":I(()=>[p("div",zD,[p("a",{class:"button is-small is-light is-rounded",onClick:t[0]||(t[0]=m=>o.show_details_modal=!0)},[z(i,{class:"icon",name:"dots-horizontal",size:"16"})]),p("a",{class:"button is-small is-dark is-rounded",onClick:t[1]||(t[1]=(...m)=>s.play&&s.play(...m))},[z(i,{class:"icon",name:"shuffle",size:"16"}),p("span",{textContent:k(e.$t("page.spotify.artist.shuffle"))},null,8,wD)])])]),content:I(()=>[z(a,{items:o.albums},null,8,["items"]),o.offset<o.total?($(),ve(l,{key:0,load:s.load_next},{loading:I(()=>[p("div",SD,[p("div",CD,[z(i,{class:"icon mdi-spin",name:"loading"})])])]),"no-more":I(()=>t[3]||(t[3]=[p("br",null,null,-1)])),"no-results":I(()=>t[4]||(t[4]=[p("br",null,null,-1)])),_:1},8,["load"])):fe("",!0),z(u,{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 ED=ie(yD,[["render",kD]]),uh={load(e){return Promise.all([J.library_artist(e.params.id),J.library_artist_tracks(e.params.id)])},set(e,t){e.artist=t[0].data,e.tracks_list=new Ee(t[1].data.tracks)}},xD={name:"PageArtistTracks",components:{ContentWithHeading:et,ControlDropdown:Bo,ControlSwitch:jo,IndexButtonList:cr,ListTracks:zn,ModalDialogArtist:Su},beforeRouteEnter(e,t,n){uh.load(e).then(r=>{n(o=>uh.set(o,r))})},setup(){return{servicesStore:Pt(),uiStore:wn()}},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},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.uiStore.artist_tracks_sort);return e.filters=[t=>!this.uiStore.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(){J.player_play_uri(this.tracks_list.items.map(e=>e.uri).join(),!0)}}},TD={class:"columns"},AD={class:"column"},OD=["textContent"],$D=["textContent"],PD=["textContent"],ID={class:"column"},LD=["textContent"],ND=["textContent"],DD={class:"is-size-7 is-uppercase"},RD=["textContent"],MD=["textContent"],FD={class:"buttons is-centered"},VD=["textContent"];function HD(e,t,n,r,o,s){const i=A("index-button-list"),a=A("control-switch"),l=A("control-dropdown"),u=A("mdicon"),c=A("list-tracks"),m=A("modal-dialog-artist"),d=A("content-with-heading");return $(),D("div",null,[z(d,null,{options:I(()=>[z(i,{indices:s.tracks.indices},null,8,["indices"]),p("div",TD,[p("div",AD,[p("p",{class:"is-size-7 is-uppercase",textContent:k(e.$t("page.artist.filter"))},null,8,OD),s.spotify_enabled?($(),ve(a,{key:0,modelValue:r.uiStore.hide_spotify,"onUpdate:modelValue":t[0]||(t[0]=f=>r.uiStore.hide_spotify=f)},{label:I(()=>[p("span",{textContent:k(e.$t("page.artist.hide-spotify"))},null,8,$D)]),help:I(()=>[p("span",{textContent:k(e.$t("page.artist.hide-spotify-help"))},null,8,PD)]),_:1},8,["modelValue"])):fe("",!0)]),p("div",ID,[p("p",{class:"is-size-7 is-uppercase",textContent:k(e.$t("page.artist.sort.title"))},null,8,LD),z(l,{value:r.uiStore.artist_tracks_sort,"onUpdate:value":t[1]||(t[1]=f=>r.uiStore.artist_tracks_sort=f),options:o.groupings},null,8,["value","options"])])])]),"heading-left":I(()=>[p("p",{class:"title is-4",textContent:k(o.artist.name)},null,8,ND),p("div",DD,[p("a",{onClick:t[2]||(t[2]=(...f)=>s.open_artist&&s.open_artist(...f)),textContent:k(e.$t("page.artist.album-count",{count:s.album_count}))},null,8,RD),t[6]||(t[6]=p("span",null," | ",-1)),p("span",{textContent:k(e.$t("page.artist.track-count",{count:s.tracks.count}))},null,8,MD)])]),"heading-right":I(()=>[p("div",FD,[p("a",{class:"button is-small is-light is-rounded",onClick:t[3]||(t[3]=f=>o.show_details_modal=!0)},[z(u,{class:"icon",name:"dots-horizontal",size:"16"})]),p("a",{class:"button is-small is-dark is-rounded",onClick:t[4]||(t[4]=(...f)=>s.play&&s.play(...f))},[z(u,{class:"icon",name:"shuffle",size:"16"}),p("span",{textContent:k(e.$t("page.artist.shuffle"))},null,8,VD)])])]),content:I(()=>[z(c,{items:s.tracks,uris:s.track_uris},null,8,["items","uris"]),z(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 UD=ie(xD,[["render",HD]]),jD={name:"ListArtists",components:{ModalDialogArtist:Su},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}}},WD={key:0,class:"py-5"},BD={class:"media-content"},qD=["id","textContent"],GD=["onClick"],KD={class:"media-content"},ZD=["textContent"],YD={class:"media-right"},XD=["onClick"];function JD(e,t,n,r,o,s){const i=A("mdicon"),a=A("modal-dialog-artist");return $(),D(be,null,[($(!0),D(be,null,_t(n.items,l=>($(),D(be,{key:l.itemId},[l.isItem?($(),D("div",{key:1,class:"media is-align-items-center is-clickable mb-0",onClick:u=>s.open(l.item)},[p("div",KD,[p("p",{class:"title is-6",textContent:k(l.item.name)},null,8,ZD)]),p("div",YD,[p("a",{onClick:St(u=>s.open_dialog(l.item),["prevent","stop"])},[z(i,{class:"icon has-text-dark",name:"dots-vertical",size:"16"})],8,XD)])],8,GD)):($(),D("div",WD,[p("div",BD,[p("span",{id:`index_${l.index}`,class:"tag is-small has-text-weight-bold",textContent:k(l.index)},null,8,qD)])]))],64))),128)),($(),ve(Wn,{to:"#app"},[z(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 Sl=ie(jD,[["render",JD]]),ch={load(e){return J.library_artists("music")},set(e,t){e.artists_list=new Ee(t.data)}},QD={name:"PageArtists",components:{ContentWithHeading:et,ControlDropdown:Bo,ControlSwitch:jo,IndexButtonList:cr,ListArtists:Sl,TabsMusic:Sr},beforeRouteEnter(e,t,n){ch.load(e).then(r=>{n(o=>ch.set(o,r))})},setup(){return{servicesStore:Pt(),uiStore:wn()}},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.uiStore.artists_sort);return e.filters=[t=>!this.uiStore.hide_singles||t.track_count>t.album_count*2,t=>!this.uiStore.hide_spotify||t.data_kind!=="spotify"],this.artists_list.group(e)},spotify_enabled(){return this.servicesStore.spotify.webapi_token_valid}}},eR={class:"columns"},tR={class:"column"},nR=["textContent"],rR=["textContent"],oR=["textContent"],sR={key:0,class:"field"},iR=["textContent"],aR=["textContent"],lR={class:"column"},uR=["textContent"],cR=["textContent"],mR=["textContent"];function dR(e,t,n,r,o,s){const i=A("tabs-music"),a=A("index-button-list"),l=A("control-switch"),u=A("control-dropdown"),c=A("list-artists"),m=A("content-with-heading");return $(),D("div",null,[z(i),z(m,null,{options:I(()=>[z(a,{indices:s.artists.indices},null,8,["indices"]),p("div",eR,[p("div",tR,[p("div",{class:"is-size-7 is-uppercase",textContent:k(e.$t("page.artists.filter"))},null,8,nR),z(l,{modelValue:r.uiStore.hide_singles,"onUpdate:modelValue":t[0]||(t[0]=d=>r.uiStore.hide_singles=d)},{label:I(()=>[p("span",{textContent:k(e.$t("page.artists.hide-singles"))},null,8,rR)]),help:I(()=>[p("span",{textContent:k(e.$t("page.artists.hide-singles-help"))},null,8,oR)]),_:1},8,["modelValue"]),s.spotify_enabled?($(),D("div",sR,[z(l,{modelValue:r.uiStore.hide_spotify,"onUpdate:modelValue":t[1]||(t[1]=d=>r.uiStore.hide_spotify=d)},{label:I(()=>[p("span",{textContent:k(e.$t("page.artists.hide-spotify"))},null,8,iR)]),help:I(()=>[p("span",{textContent:k(e.$t("page.artists.hide-spotify-help"))},null,8,aR)]),_:1},8,["modelValue"])])):fe("",!0)]),p("div",lR,[p("div",{class:"is-size-7 is-uppercase",textContent:k(e.$t("page.artists.sort.title"))},null,8,uR),z(u,{value:r.uiStore.artists_sort,"onUpdate:value":t[2]||(t[2]=d=>r.uiStore.artists_sort=d),options:o.groupings},null,8,["value","options"])])])]),"heading-left":I(()=>[p("div",{class:"title is-4",textContent:k(e.$t("page.artists.title"))},null,8,cR),p("div",{class:"is-size-7 is-uppercase",textContent:k(e.$t("page.artists.count",{count:s.artists.count}))},null,8,mR)]),content:I(()=>[z(c,{items:s.artists},null,8,["items"])]),_:1})])}const fR=ie(QD,[["render",dR]]),mh={load(e){return Promise.all([J.library_album(e.params.id),J.library_album_tracks(e.params.id)])},set(e,t){e.album=t[0].data,e.tracks=new Ee(t[1].data)}},pR={name:"PageAudiobooksAlbum",components:{ContentWithHero:zu,CoverArtwork:bo,ListTracks:zn,ModalDialogAlbum:wu},beforeRouteEnter(e,t,n){mh.load(e).then(r=>{n(o=>mh.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(){J.player_play_uri(this.album.uri,!1)}}},hR=["textContent"],_R={class:"subtitle is-6"},gR=["textContent"],yR={class:"buttons is-centered-mobile mt-5"},bR=["textContent"],vR=["textContent"];function zR(e,t,n,r,o,s){const i=A("mdicon"),a=A("cover-artwork"),l=A("list-tracks"),u=A("modal-dialog-album"),c=A("content-with-hero");return $(),D("div",null,[z(c,null,{"heading-left":I(()=>[p("div",{class:"title is-5",textContent:k(o.album.name)},null,8,hR),p("div",_R,[p("a",{onClick:t[0]||(t[0]=(...m)=>s.open_artist&&s.open_artist(...m)),textContent:k(o.album.artist)},null,8,gR)]),p("div",yR,[p("a",{class:"button is-small is-dark is-rounded",onClick:t[1]||(t[1]=(...m)=>s.play&&s.play(...m))},[z(i,{class:"icon",name:"play",size:"16"}),p("span",{textContent:k(e.$t("page.audiobooks.album.play"))},null,8,bR)]),p("a",{class:"button is-small is-light is-rounded",onClick:t[2]||(t[2]=m=>o.show_details_modal=!0)},[z(i,{class:"icon",name:"dots-horizontal",size:"16"})])])]),"heading-right":I(()=>[z(a,{url:o.album.artwork_url,artist:o.album.artist,album:o.album.name,class:"is-clickable is-medium",onClick:t[3]||(t[3]=m=>o.show_details_modal=!0)},null,8,["url","artist","album"])]),content:I(()=>[p("div",{class:"is-size-7 is-uppercase has-text-centered-mobile mt-5",textContent:k(e.$t("page.audiobooks.album.track-count",{count:o.album.track_count}))},null,8,vR),z(l,{items:o.tracks,show_progress:!0,uris:o.album.uri},null,8,["items","uris"]),z(u,{item:o.album,show:o.show_details_modal,media_kind:"audiobook",onClose:t[4]||(t[4]=m=>o.show_details_modal=!1)},null,8,["item","show"])]),_:1})])}const wR=ie(pR,[["render",zR]]),SR={name:"TabsAudiobooks"},CR={class:"section tabs-section"},kR={class:"container"},ER={class:"columns is-centered"},xR={class:"column is-four-fifths"},TR={class:"tabs is-centered is-small"},AR=["onClick","onKeypress"],OR=["textContent"],$R=["onClick","onKeypress"],PR=["textContent"],IR=["onClick","onKeypress"],LR=["textContent"];function NR(e,t,n,r,o,s){const i=A("mdicon"),a=A("router-link");return $(),D("section",CR,[p("div",kR,[p("div",ER,[p("div",xR,[p("div",TR,[p("ul",null,[z(a,{to:{name:"audiobooks-artists"},custom:""},{default:I(({navigate:l,isActive:u})=>[p("li",{class:$e({"is-active":u})},[p("a",{onClick:l,onKeypress:_n(l,["enter"])},[z(i,{class:"icon is-small",name:"account-music",size:"16"}),p("span",{class:"is-hidden-mobile",textContent:k(e.$t("page.audiobooks.tabs.authors"))},null,8,OR)],40,AR)],2)]),_:1}),z(a,{to:{name:"audiobooks-albums"},custom:""},{default:I(({navigate:l,isActive:u})=>[p("li",{class:$e({"is-active":u})},[p("a",{onClick:l,onKeypress:_n(l,["enter"])},[z(i,{class:"icon is-small",name:"album",size:"16"}),p("span",{class:"is-hidden-mobile",textContent:k(e.$t("page.audiobooks.tabs.audiobooks"))},null,8,PR)],40,$R)],2)]),_:1}),z(a,{to:{name:"audiobooks-genres"},custom:""},{default:I(({navigate:l,isActive:u})=>[p("li",{class:$e({"is-active":u})},[p("a",{onClick:l,onKeypress:_n(l,["enter"])},[z(i,{class:"icon is-small",name:"speaker",size:"16"}),p("span",{class:"is-hidden-mobile",textContent:k(e.$t("page.audiobooks.tabs.genres"))},null,8,LR)],40,IR)],2)]),_:1})])])])])])])}const zd=ie(SR,[["render",NR]]),dh={load(e){return J.library_albums("audiobook")},set(e,t){e.albums=new Ee(t.data,{index:{field:"name_sort",type:String}})}},DR={name:"PageAudiobooksAlbums",components:{ContentWithHeading:et,IndexButtonList:cr,ListAlbums:kn,TabsAudiobooks:zd},beforeRouteEnter(e,t,n){dh.load(e).then(r=>{n(o=>dh.set(o,r))})},data(){return{albums:new Ee}}},RR=["textContent"],MR=["textContent"];function FR(e,t,n,r,o,s){const i=A("tabs-audiobooks"),a=A("index-button-list"),l=A("list-albums"),u=A("content-with-heading");return $(),D("div",null,[z(i),z(u,null,{options:I(()=>[z(a,{indices:o.albums.indices},null,8,["indices"])]),"heading-left":I(()=>[p("p",{class:"title is-4",textContent:k(e.$t("page.audiobooks.albums.title"))},null,8,RR),p("p",{class:"is-size-7 is-uppercase",textContent:k(e.$t("page.audiobooks.albums.count",{count:o.albums.count}))},null,8,MR)]),content:I(()=>[z(l,{items:o.albums},null,8,["items"])]),_:1})])}const VR=ie(DR,[["render",FR]]),fh={load(e){return Promise.all([J.library_artist(e.params.id),J.library_artist_albums(e.params.id)])},set(e,t){e.artist=t[0].data,e.albums=new Ee(t[1].data)}},HR={name:"PageAudiobooksArtist",components:{ContentWithHeading:et,ListAlbums:kn,ModalDialogArtist:Su},beforeRouteEnter(e,t,n){fh.load(e).then(r=>{n(o=>fh.set(o,r))})},data(){return{albums:new Ee,artist:{},show_details_modal:!1}},methods:{play(){J.player_play_uri(this.albums.items.map(e=>e.uri).join(),!1)}}},UR=["textContent"],jR=["textContent"],WR={class:"buttons is-centered"},BR=["textContent"];function qR(e,t,n,r,o,s){const i=A("mdicon"),a=A("list-albums"),l=A("modal-dialog-artist"),u=A("content-with-heading");return $(),D("div",null,[z(u,null,{"heading-left":I(()=>[p("div",{class:"title is-4",textContent:k(o.artist.name)},null,8,UR),p("div",{class:"is-size-7 is-uppercase",textContent:k(e.$t("page.audiobooks.artist.album-count",{count:o.artist.album_count}))},null,8,jR)]),"heading-right":I(()=>[p("div",WR,[p("a",{class:"button is-small is-light is-rounded",onClick:t[0]||(t[0]=c=>o.show_details_modal=!0)},[z(i,{class:"icon",name:"dots-horizontal",size:"16"})]),p("a",{class:"button is-small is-dark is-rounded",onClick:t[1]||(t[1]=(...c)=>s.play&&s.play(...c))},[z(i,{class:"icon",name:"play",size:"16"}),p("span",{textContent:k(e.$t("page.audiobooks.artist.play"))},null,8,BR)])])]),content:I(()=>[z(a,{items:o.albums},null,8,["items"]),z(l,{item:o.artist,show:o.show_details_modal,onClose:t[2]||(t[2]=c=>o.show_details_modal=!1)},null,8,["item","show"])]),_:1})])}const GR=ie(HR,[["render",qR]]),ph={load(e){return J.library_artists("audiobook")},set(e,t){e.artists=new Ee(t.data,{index:{field:"name_sort",type:String}})}},KR={name:"PageAudiobooksArtists",components:{ContentWithHeading:et,IndexButtonList:cr,ListArtists:Sl,TabsAudiobooks:zd},beforeRouteEnter(e,t,n){ph.load(e).then(r=>{n(o=>ph.set(o,r))})},data(){return{artists:new Ee}}},ZR=["textContent"],YR=["textContent"];function XR(e,t,n,r,o,s){const i=A("tabs-audiobooks"),a=A("index-button-list"),l=A("list-artists"),u=A("content-with-heading");return $(),D("div",null,[z(i),z(u,null,{options:I(()=>[z(a,{indices:o.artists.indices},null,8,["indices"])]),"heading-left":I(()=>[p("div",{class:"title is-4",textContent:k(e.$t("page.audiobooks.artists.title"))},null,8,ZR),p("div",{class:"is-size-7 is-uppercase",textContent:k(e.$t("page.audiobooks.artists.count",{count:o.artists.count}))},null,8,YR)]),content:I(()=>[z(l,{items:o.artists},null,8,["items"])]),_:1})])}const JR=ie(KR,[["render",XR]]),QR={name:"ModalDialogGenre",components:{ModalDialogPlayable:lr},props:{item:{required:!0,type:Object},media_kind:{required:!0,type:String},show:Boolean},emits:["close"],computed:{playable(){return{name:this.item.name,action:this.open,expression:`genre is "${this.item.name}" and media_kind is ${this.media_kind}`,properties:[{label:"dialog.genre.albums",value:this.item.album_count},{label:"dialog.genre.tracks",value:this.item.track_count},{label:"dialog.genre.duration",value:this.$filters.durationInHours(this.item.length_ms)}]}}},methods:{open(){this.$emit("close"),this.$router.push({name:"genre-albums",params:{name:this.item.name},query:{media_kind:this.media_kind}})}}};function e5(e,t,n,r,o,s){const i=A("modal-dialog-playable");return $(),ve(i,{item:s.playable,show:n.show,onClose:t[0]||(t[0]=a=>e.$emit("close"))},null,8,["item","show"])}const wd=ie(QR,[["render",e5]]),t5={name:"ListGenres",components:{ModalDialogGenre:wd},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}}},n5={key:0,class:"py-5"},r5={class:"media-content"},o5=["id","textContent"],s5=["onClick"],i5={class:"media-content"},a5=["textContent"],l5={class:"media-right"},u5=["onClick"];function c5(e,t,n,r,o,s){const i=A("mdicon"),a=A("modal-dialog-genre");return $(),D(be,null,[($(!0),D(be,null,_t(n.items,l=>($(),D(be,{key:l.itemId},[l.isItem?($(),D("div",{key:1,class:"media is-align-items-center is-clickable mb-0",onClick:u=>s.open(l.item)},[p("div",i5,[p("p",{class:"title is-6",textContent:k(l.item.name)},null,8,a5)]),p("div",l5,[p("a",{onClick:St(u=>s.open_dialog(l.item),["prevent","stop"])},[z(i,{class:"icon has-text-dark",name:"dots-vertical",size:"16"})],8,u5)])],8,s5)):($(),D("div",n5,[p("div",r5,[p("span",{id:`index_${l.index}`,class:"tag is-small has-text-weight-bold",textContent:k(l.index)},null,8,o5)])]))],64))),128)),($(),ve(Wn,{to:"#app"},[z(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 _b=ie(t5,[["render",c5]]),hh={load(e){return J.library_genres("audiobook")},set(e,t){e.genres=new Ee(t.data.genres,{index:{field:"name_sort",type:String}})}},m5={name:"PageAudiobooksGenres",components:{ContentWithHeading:et,IndexButtonList:cr,ListGenres:_b,TabsAudiobooks:zd},beforeRouteEnter(e,t,n){hh.load(e).then(r=>{n(o=>hh.set(o,r))})},data(){return{genres:new Ee}}},d5=["textContent"],f5=["textContent"];function p5(e,t,n,r,o,s){const i=A("tabs-audiobooks"),a=A("index-button-list"),l=A("list-genres"),u=A("content-with-heading");return $(),D("div",null,[z(i),z(u,null,{options:I(()=>[z(a,{indices:o.genres.indices},null,8,["indices"])]),"heading-left":I(()=>[p("div",{class:"title is-4",textContent:k(e.$t("page.genres.title"))},null,8,d5),p("div",{class:"is-size-7 is-uppercase",textContent:k(e.$t("page.genres.count",{count:o.genres.total}))},null,8,f5)]),content:I(()=>[z(l,{items:o.genres,media_kind:"audiobook"},null,8,["items"])]),_:1})])}const h5=ie(m5,[["render",p5]]),_5={name:"ModalDialogComposer",components:{ModalDialogPlayable:lr},props:{item:{required:!0,type:Object},show:Boolean},emits:["close"],computed:{playable(){return{action:this.open_albums,name:this.item.name,expression:`composer is "${this.item.name}" and media_kind is music`,properties:[{label:"dialog.composer.albums",value:this.item.album_count,action:this.open_albums},{label:"dialog.composer.tracks",value:this.item.track_count,action:this.open_tracks},{label:"dialog.composer.duration",value:this.$filters.durationInHours(this.item.length_ms)}]}}},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}})}}};function g5(e,t,n,r,o,s){const i=A("modal-dialog-playable");return $(),ve(i,{item:s.playable,show:n.show,onClose:t[0]||(t[0]=a=>e.$emit("close"))},null,8,["item","show"])}const Sd=ie(_5,[["render",g5]]),_h={load(e){return Promise.all([J.library_composer(e.params.name),J.library_composer_albums(e.params.name)])},set(e,t){e.composer=t[0].data,e.albums=new Ee(t[1].data.albums)}},y5={name:"PageComposerAlbums",components:{ContentWithHeading:et,ListAlbums:kn,ModalDialogComposer:Sd},beforeRouteEnter(e,t,n){_h.load(e).then(r=>{n(o=>_h.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(){J.player_play_expression(`composer is "${this.composer.name}" and media_kind is music`,!0)}}},b5=["textContent"],v5={class:"is-size-7 is-uppercase"},z5=["textContent"],w5=["textContent"],S5={class:"buttons is-centered"},C5=["textContent"];function k5(e,t,n,r,o,s){const i=A("mdicon"),a=A("list-albums"),l=A("modal-dialog-composer"),u=A("content-with-heading");return $(),D("div",null,[z(u,null,{"heading-left":I(()=>[p("div",{class:"title is-4",textContent:k(o.composer.name)},null,8,b5),p("div",v5,[p("span",{textContent:k(e.$t("page.composer.album-count",{count:o.composer.album_count}))},null,8,z5),t[4]||(t[4]=p("span",null," | ",-1)),p("a",{onClick:t[0]||(t[0]=(...c)=>s.open_tracks&&s.open_tracks(...c)),textContent:k(e.$t("page.composer.track-count",{count:o.composer.track_count}))},null,8,w5)])]),"heading-right":I(()=>[p("div",S5,[p("a",{class:"button is-small is-light is-rounded",onClick:t[1]||(t[1]=c=>o.show_details_modal=!0)},[z(i,{class:"icon",name:"dots-horizontal",size:"16"})]),p("a",{class:"button is-small is-dark is-rounded",onClick:t[2]||(t[2]=(...c)=>s.play&&s.play(...c))},[z(i,{class:"icon",name:"shuffle",size:"16"}),p("span",{textContent:k(e.$t("page.composer.shuffle"))},null,8,C5)])])]),content:I(()=>[z(a,{items:o.albums},null,8,["items"]),z(l,{item:o.composer,show:o.show_details_modal,onClose:t[3]||(t[3]=c=>o.show_details_modal=!1)},null,8,["item","show"])]),_:1})])}const E5=ie(y5,[["render",k5]]),gh={load(e){return Promise.all([J.library_composer(e.params.name),J.library_composer_tracks(e.params.name)])},set(e,t){e.composer=t[0].data,e.tracks_list=new Ee(t[1].data.tracks)}},x5={name:"PageComposerTracks",components:{ContentWithHeading:et,ControlDropdown:Bo,IndexButtonList:cr,ListTracks:zn,ModalDialogComposer:Sd},beforeRouteEnter(e,t,n){gh.load(e).then(r=>{n(o=>gh.set(o,r))})},setup(){return{uiStore:wn()}},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`},tracks(){const{options:e}=this.groupings.find(t=>t.id===this.uiStore.composer_tracks_sort);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(){J.player_play_expression(this.expression,!0)}}},T5={class:"columns"},A5={class:"column"},O5=["textContent"],$5=["textContent"],P5={class:"is-size-7 is-uppercase"},I5=["textContent"],L5=["textContent"],N5={class:"buttons is-centered"},D5=["textContent"];function R5(e,t,n,r,o,s){const i=A("index-button-list"),a=A("control-dropdown"),l=A("mdicon"),u=A("list-tracks"),c=A("modal-dialog-composer"),m=A("content-with-heading");return $(),D("div",null,[z(m,null,{options:I(()=>[z(i,{indices:s.tracks.indices},null,8,["indices"]),p("div",T5,[p("div",A5,[p("div",{class:"is-size-7 is-uppercase",textContent:k(e.$t("page.artist.sort.title"))},null,8,O5),z(a,{value:r.uiStore.composer_tracks_sort,"onUpdate:value":t[0]||(t[0]=d=>r.uiStore.composer_tracks_sort=d),options:o.groupings},null,8,["value","options"])])])]),"heading-left":I(()=>[p("div",{class:"title is-4",textContent:k(o.composer.name)},null,8,$5),p("div",P5,[p("a",{onClick:t[1]||(t[1]=(...d)=>s.open_albums&&s.open_albums(...d)),textContent:k(e.$t("page.composer.album-count",{count:o.composer.album_count}))},null,8,I5),t[5]||(t[5]=p("span",null," | ",-1)),p("span",{textContent:k(e.$t("page.composer.track-count",{count:o.composer.track_count}))},null,8,L5)])]),"heading-right":I(()=>[p("div",N5,[p("a",{class:"button is-small is-light is-rounded",onClick:t[2]||(t[2]=d=>o.show_details_modal=!0)},[z(l,{class:"icon",name:"dots-horizontal",size:"16"})]),p("a",{class:"button is-small is-dark is-rounded",onClick:t[3]||(t[3]=(...d)=>s.play&&s.play(...d))},[z(l,{class:"icon",name:"shuffle",size:"16"}),p("span",{textContent:k(e.$t("page.composer.shuffle"))},null,8,D5)])])]),content:I(()=>[z(u,{items:s.tracks,expression:s.expression},null,8,["items","expression"]),z(c,{item:o.composer,show:o.show_details_modal,onClose:t[4]||(t[4]=d=>o.show_details_modal=!1)},null,8,["item","show"])]),_:1})])}const M5=ie(x5,[["render",R5]]),F5={name:"ListComposers",components:{ModalDialogComposer:Sd},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}}},V5={key:0,class:"py-5"},H5={class:"media-content"},U5=["id","textContent"],j5=["onClick"],W5={class:"media-content"},B5=["textContent"],q5={class:"media-right"},G5=["onClick"];function K5(e,t,n,r,o,s){const i=A("mdicon"),a=A("modal-dialog-composer");return $(),D(be,null,[($(!0),D(be,null,_t(n.items,l=>($(),D(be,{key:l.itemId},[l.isItem?($(),D("div",{key:1,class:"media is-align-items-center is-clickable mb-0",onClick:u=>s.open(l.item)},[p("div",W5,[p("p",{class:"title is-6",textContent:k(l.item.name)},null,8,B5)]),p("div",q5,[p("a",{onClick:St(u=>s.open_dialog(l.item),["prevent","stop"])},[z(i,{class:"icon has-text-dark",name:"dots-vertical",size:"16"})],8,G5)])],8,j5)):($(),D("div",V5,[p("div",H5,[p("span",{id:`index_${l.index}`,class:"tag is-small has-text-weight-bold",textContent:k(l.index)},null,8,U5)])]))],64))),128)),($(),ve(Wn,{to:"#app"},[z(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 hm=ie(F5,[["render",K5]]),yh={load(e){return J.library_composers("music")},set(e,t){e.composers=new Ee(t.data,{index:{field:"name_sort",type:String}})}},Z5={name:"PageComposers",components:{ContentWithHeading:et,IndexButtonList:cr,ListComposers:hm,TabsMusic:Sr},beforeRouteEnter(e,t,n){yh.load(e).then(r=>{n(o=>yh.set(o,r))})},data(){return{composers:new Ee}}},Y5=["textContent"],X5=["textContent"];function J5(e,t,n,r,o,s){const i=A("tabs-music"),a=A("index-button-list"),l=A("list-composers"),u=A("content-with-heading");return $(),D("div",null,[z(i),z(u,null,{options:I(()=>[z(a,{indices:o.composers.indices},null,8,["indices"])]),"heading-left":I(()=>[p("div",{class:"title is-4",textContent:k(e.$t("page.composers.title"))},null,8,Y5),p("div",{class:"is-size-7 is-uppercase",textContent:k(e.$t("page.composers.count",{count:o.composers.total}))},null,8,X5)]),content:I(()=>[z(l,{items:o.composers},null,8,["items"])]),_:1})])}const Q5=ie(Z5,[["render",J5]]),e4={name:"ModalDialogDirectory",components:{ModalDialogPlayable:lr},props:{item:{required:!0,type:String},show:Boolean},emits:["close"],computed:{playable(){return{name:this.item,expression:`path starts with "${this.item}" order by path asc`}}}};function t4(e,t,n,r,o,s){const i=A("modal-dialog-playable");return $(),ve(i,{item:s.playable,show:n.show,onClose:t[0]||(t[0]=a=>e.$emit("close"))},null,8,["item","show"])}const gb=ie(e4,[["render",t4]]),n4={name:"ListDirectories",components:{ModalDialogDirectory:gb},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())}}},r4={key:0,class:"media is-align-items-center mb-0"},o4={class:"media-content"},s4={class:"breadcrumb"},i4=["onClick"],a4=["textContent"],l4={class:"media-right"},u4=["onClick"],c4={class:"media-content"},m4=["textContent"],d4={class:"media-right"},f4=["onClick"];function p4(e,t,n,r,o,s){const i=A("mdicon"),a=A("modal-dialog-directory");return $(),D(be,null,[e.$route.query.directory?($(),D("div",r4,[z(i,{class:"icon media-left is-clickable",name:"chevron-left",onClick:s.open_parent},null,8,["onClick"]),p("div",o4,[p("nav",s4,[p("ul",null,[($(!0),D(be,null,_t(s.directories,l=>($(),D("li",{key:l.index},[p("a",{onClick:u=>s.open(l)},[p("span",{textContent:k(l.name)},null,8,a4)],8,i4)]))),128))])])]),p("div",l4,[dt(e.$slots,"actions")])])):fe("",!0),($(!0),D(be,null,_t(n.items,l=>($(),D("div",{key:l.path,class:"media is-align-items-center is-clickable mb-0",onClick:u=>s.open(l)},[z(i,{class:"media-left icon",name:"folder"}),p("div",c4,[p("p",{class:"title is-6",textContent:k(l.name)},null,8,m4)]),p("div",d4,[p("a",{onClick:St(u=>s.open_dialog(l),["prevent","stop"])},[z(i,{class:"icon has-text-dark",name:"dots-vertical",size:"16"})],8,f4)])],8,u4))),128)),($(),ve(Wn,{to:"#app"},[z(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 h4=ie(n4,[["render",p4]]),_4={name:"ModalDialogPlaylist",components:{ModalDialogPlayable:lr},props:{item:{required:!0,type:Object},show:Boolean,uris:{default:"",type:String}},emits:["close"],computed:{playable(){return{name:this.item.name,action:this.open,uris:this.uris,properties:[{label:"dialog.playlist.tracks",value:this.item.item_count},{label:"dialog.playlist.type",value:this.$t(`playlist.type.${this.item.type}`)},{label:"dialog.playlist.path",value:this.item.path}]}}},methods:{open(){this.$emit("close"),this.$router.push({name:"playlist",params:{id:this.item.id}})}}};function g4(e,t,n,r,o,s){const i=A("modal-dialog-playable");return $(),ve(i,{item:s.playable,show:n.show,onClose:t[0]||(t[0]=a=>e.$emit("close"))},null,8,["item","show"])}const yb=ie(_4,[["render",g4]]),y4={name:"ListPlaylists",components:{ModalDialogPlaylist:yb},props:{items:{required:!0,type:Object}},data(){return{selected_item:{},show_details_modal:!1}},methods:{icon(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}}},b4=["onClick"],v4={class:"media-content"},z4=["textContent"],w4={class:"media-right"},S4=["onClick"];function C4(e,t,n,r,o,s){const i=A("mdicon"),a=A("modal-dialog-playlist");return $(),D(be,null,[($(!0),D(be,null,_t(n.items,l=>($(),D("div",{key:l.itemId,class:"media is-align-items-center is-clickable mb-0",onClick:u=>s.open(l.item)},[z(i,{class:"media-left icon",name:s.icon(l.item)},null,8,["name"]),p("div",v4,[p("p",{class:"title is-6",textContent:k(l.item.name)},null,8,z4)]),p("div",w4,[p("a",{onClick:St(u=>s.open_dialog(l.item),["prevent","stop"])},[z(i,{class:"icon has-text-dark",name:"dots-vertical",size:"16"})],8,S4)])],8,b4))),128)),($(),ve(Wn,{to:"#app"},[z(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 Cl=ie(y4,[["render",C4]]),ka={load(e){return e.query.directory?J.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)):J.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)}},k4={name:"PageFiles",components:{ContentWithHeading:et,ListDirectories:h4,ListPlaylists:Cl,ListTracks:zn,ModalDialogDirectory:gb},beforeRouteEnter(e,t,n){ka.load(e).then(r=>{n(o=>ka.set(o,r))})},beforeRouteUpdate(e,t,n){ka.load(e).then(r=>{ka.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(){J.player_play_expression(this.play_expression,!1)},transform(e){return{name:e.slice(e.lastIndexOf("/")+1),path:e}}}},E4=["textContent"],x4={class:"buttons is-centered"},T4=["textContent"];function A4(e,t,n,r,o,s){const i=A("mdicon"),a=A("list-directories"),l=A("list-playlists"),u=A("list-tracks"),c=A("modal-dialog-directory"),m=A("content-with-heading");return $(),D("div",null,[z(m,null,{"heading-left":I(()=>[p("p",{class:"title is-4",textContent:k(s.name)},null,8,E4)]),"heading-right":I(()=>[p("div",x4,[p("a",{class:"button is-small is-light is-rounded",onClick:t[0]||(t[0]=d=>o.show_details_modal=!0)},[z(i,{class:"icon",name:"dots-horizontal",size:"16"})]),p("a",{class:"button is-small is-dark is-rounded",onClick:t[1]||(t[1]=(...d)=>s.play&&s.play(...d))},[z(i,{class:"icon",name:"play",size:"16"}),p("span",{textContent:k(e.$t("page.files.play"))},null,8,T4)])])]),content:I(()=>[z(a,{items:o.directories},null,8,["items"]),z(l,{items:o.playlists},null,8,["items"]),z(u,{expression:s.play_expression,items:o.tracks,show_icon:!0},null,8,["expression","items"]),z(c,{item:s.current,show:o.show_details_modal,onClose:t[2]||(t[2]=d=>o.show_details_modal=!1)},null,8,["item","show"])]),_:1})])}const O4=ie(k4,[["render",A4]]),bh={load(e){return Promise.all([J.library_genre(e.params.name,e.query.media_kind),J.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}})}},$4={name:"PageGenreAlbums",components:{ContentWithHeading:et,IndexButtonList:cr,ListAlbums:kn,ModalDialogGenre:wd},beforeRouteEnter(e,t,n){bh.load(e).then(r=>{n(o=>bh.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(){J.player_play_expression(`genre is "${this.genre.name}" and media_kind is ${this.media_kind}`,!0)}}},P4=["textContent"],I4={class:"is-size-7 is-uppercase"},L4=["textContent"],N4=["textContent"],D4={class:"buttons is-centered"},R4=["textContent"];function M4(e,t,n,r,o,s){const i=A("index-button-list"),a=A("mdicon"),l=A("list-albums"),u=A("modal-dialog-genre"),c=A("content-with-heading");return $(),D("div",null,[z(c,null,{options:I(()=>[z(i,{indices:o.albums.indices},null,8,["indices"])]),"heading-left":I(()=>[p("div",{class:"title is-4",textContent:k(o.genre.name)},null,8,P4),p("div",I4,[p("span",{textContent:k(e.$t("page.genre.album-count",{count:o.genre.album_count}))},null,8,L4),t[4]||(t[4]=p("span",null," | ",-1)),p("a",{onClick:t[0]||(t[0]=(...m)=>s.open_tracks&&s.open_tracks(...m)),textContent:k(e.$t("page.genre.track-count",{count:o.genre.track_count}))},null,8,N4)])]),"heading-right":I(()=>[p("div",D4,[p("a",{class:"button is-small is-light is-rounded",onClick:t[1]||(t[1]=m=>o.show_details_modal=!0)},[z(a,{class:"icon",name:"dots-horizontal",size:"16"})]),p("a",{class:"button is-small is-dark is-rounded",onClick:t[2]||(t[2]=(...m)=>s.play&&s.play(...m))},[z(a,{class:"icon",name:"shuffle",size:"16"}),p("span",{textContent:k(e.$t("page.genre.shuffle"))},null,8,R4)])])]),content:I(()=>[z(l,{items:o.albums},null,8,["items"]),z(u,{item:o.genre,media_kind:o.media_kind,show:o.show_details_modal,onClose:t[3]||(t[3]=m=>o.show_details_modal=!1)},null,8,["item","media_kind","show"])]),_:1})])}const F4=ie($4,[["render",M4]]),vh={load(e){return Promise.all([J.library_genre(e.params.name,e.query.media_kind),J.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)}},V4={name:"PageGenreTracks",components:{ContentWithHeading:et,ControlDropdown:Bo,IndexButtonList:cr,ListTracks:zn,ModalDialogGenre:wd},beforeRouteEnter(e,t,n){vh.load(e).then(r=>{n(o=>vh.set(o,r))})},setup(){return{uiStore:wn()}},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}`},tracks(){const{options:e}=this.groupings.find(t=>t.id===this.uiStore.genre_tracks_sort);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(){J.player_play_expression(this.expression,!0)}}},H4={class:"columns"},U4={class:"column"},j4=["textContent"],W4=["textContent"],B4={class:"is-size-7 is-uppercase"},q4=["textContent"],G4=["textContent"],K4={class:"buttons is-centered"},Z4=["textContent"];function Y4(e,t,n,r,o,s){const i=A("index-button-list"),a=A("control-dropdown"),l=A("mdicon"),u=A("list-tracks"),c=A("modal-dialog-genre"),m=A("content-with-heading");return $(),D("div",null,[z(m,null,{options:I(()=>[z(i,{indices:s.tracks.indices},null,8,["indices"]),p("div",H4,[p("div",U4,[p("div",{class:"is-size-7 is-uppercase",textContent:k(e.$t("page.genre.sort.title"))},null,8,j4),z(a,{value:r.uiStore.genre_tracks_sort,"onUpdate:value":t[0]||(t[0]=d=>r.uiStore.genre_tracks_sort=d),options:o.groupings},null,8,["value","options"])])])]),"heading-left":I(()=>[p("div",{class:"title is-4",textContent:k(o.genre.name)},null,8,W4),p("div",B4,[p("a",{onClick:t[1]||(t[1]=(...d)=>s.open_genre&&s.open_genre(...d)),textContent:k(e.$t("page.genre.album-count",{count:o.genre.album_count}))},null,8,q4),t[5]||(t[5]=p("span",null," | ",-1)),p("span",{textContent:k(e.$t("page.genre.track-count",{count:o.genre.track_count}))},null,8,G4)])]),"heading-right":I(()=>[p("div",K4,[p("a",{class:"button is-small is-light is-rounded",onClick:t[2]||(t[2]=d=>o.show_details_modal=!0)},[z(l,{class:"icon",name:"dots-horizontal",size:"16"})]),p("a",{class:"button is-small is-dark is-rounded",onClick:t[3]||(t[3]=(...d)=>s.play&&s.play(...d))},[z(l,{class:"icon",name:"shuffle",size:"16"}),p("span",{textContent:k(e.$t("page.genre.shuffle"))},null,8,Z4)])])]),content:I(()=>[z(u,{items:s.tracks,expression:s.expression},null,8,["items","expression"]),z(c,{item:o.genre,media_kind:o.media_kind,show:o.show_details_modal,onClose:t[4]||(t[4]=d=>o.show_details_modal=!1)},null,8,["item","media_kind","show"])]),_:1})])}const X4=ie(V4,[["render",Y4]]),zh={load(e){return J.library_genres("music")},set(e,t){e.genres=new Ee(t.data.genres,{index:{field:"name_sort",type:String}})}},J4={name:"PageGenres",components:{ContentWithHeading:et,IndexButtonList:cr,ListGenres:_b,TabsMusic:Sr},beforeRouteEnter(e,t,n){zh.load(e).then(r=>{n(o=>zh.set(o,r))})},data(){return{genres:new Ee}}},Q4=["textContent"],eM=["textContent"];function tM(e,t,n,r,o,s){const i=A("tabs-music"),a=A("index-button-list"),l=A("list-genres"),u=A("content-with-heading");return $(),D("div",null,[z(i),z(u,null,{options:I(()=>[z(a,{indices:o.genres.indices},null,8,["indices"])]),"heading-left":I(()=>[p("div",{class:"title is-4",textContent:k(e.$t("page.genres.title"))},null,8,Q4),p("div",{class:"is-size-7 is-uppercase",textContent:k(e.$t("page.genres.count",{count:o.genres.total}))},null,8,eM)]),content:I(()=>[z(l,{items:o.genres,media_kind:"music"},null,8,["items"])]),_:1})])}const nM=ie(J4,[["render",tM]]),wh={load(e){return Promise.all([J.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"}),J.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)}},rM={name:"PageMusic",components:{ContentWithHeading:et,ListAlbums:kn,ListTracks:zn,TabsMusic:Sr},beforeRouteEnter(e,t,n){wh.load(e).then(r=>{n(o=>wh.set(o,r))})},data(){return{albums:[],tracks:{items:[]},selected_track:{}}}},oM=["textContent"],sM={class:"level"},iM={class:"level-item"},aM=["textContent"],lM={class:"level"},uM={class:"level-item"};function cM(e,t,n,r,o,s){const i=A("tabs-music"),a=A("list-albums"),l=A("router-link"),u=A("content-with-heading"),c=A("list-tracks");return $(),D("div",null,[z(i),z(u,null,{"heading-left":I(()=>[p("p",{class:"title is-4",textContent:k(e.$t("page.music.recently-added.title"))},null,8,oM)]),content:I(()=>[z(a,{items:o.albums},null,8,["items"])]),footer:I(()=>[p("nav",sM,[p("p",iM,[z(l,{class:"button is-small is-rounded",to:{name:"music-recently-added"}},{default:I(()=>[Qt(k(e.$t("page.music.show-more")),1)]),_:1})])])]),_:1}),z(u,null,{"heading-left":I(()=>[p("p",{class:"title is-4",textContent:k(e.$t("page.music.recently-played.title"))},null,8,aM)]),content:I(()=>[z(c,{items:o.tracks},null,8,["items"])]),footer:I(()=>[p("nav",lM,[p("p",uM,[z(l,{class:"button is-small is-rounded",to:{name:"music-recently-played"}},{default:I(()=>[Qt(k(e.$t("page.music.show-more")),1)]),_:1})])])]),_:1})])}const mM=ie(rM,[["render",cM]]),Sh={load(e){const t=Hr().recently_added_limit;return J.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}})}},dM={name:"PageMusicRecentlyAdded",components:{ContentWithHeading:et,ListAlbums:kn,TabsMusic:Sr},beforeRouteEnter(e,t,n){Sh.load(e).then(r=>{n(o=>Sh.set(o,r))})},setup(){return{settingsStore:Hr()}},data(){return{albums:new Ee}}},fM=["textContent"];function pM(e,t,n,r,o,s){const i=A("tabs-music"),a=A("list-albums"),l=A("content-with-heading");return $(),D("div",null,[z(i),z(l,null,{"heading-left":I(()=>[p("p",{class:"title is-4",textContent:k(e.$t("page.music.recently-added.title"))},null,8,fM)]),content:I(()=>[z(a,{items:o.albums},null,8,["items"])]),_:1})])}const hM=ie(dM,[["render",pM]]),Ch={load(e){return J.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)}},_M={name:"PageMusicRecentlyPlayed",components:{ContentWithHeading:et,ListTracks:zn,TabsMusic:Sr},beforeRouteEnter(e,t,n){Ch.load(e).then(r=>{n(o=>Ch.set(o,r))})},data(){return{tracks:{}}}},gM=["textContent"];function yM(e,t,n,r,o,s){const i=A("tabs-music"),a=A("list-tracks"),l=A("content-with-heading");return $(),D("div",null,[z(i),z(l,null,{"heading-left":I(()=>[p("p",{class:"title is-4",textContent:k(e.$t("page.music.recently-played.title"))},null,8,gM)]),content:I(()=>[z(a,{items:o.tracks},null,8,["items"])]),_:1})])}const bM=ie(_M,[["render",yM]]),vM={name:"ModalDialogPlaylistSpotify",components:{ModalDialogPlayable:lr},props:{item:{required:!0,type:Object},show:Boolean},emits:["close"],computed:{playable(){var e,t;return{name:this.item.name,action:this.open,properties:[{label:"dialog.spotify.playlist.owner",value:(e=this.item.owner)==null?void 0:e.display_name},{label:"dialog.spotify.playlist.tracks",value:(t=this.item.tracks)==null?void 0:t.total},{label:"dialog.spotify.playlist.path",value:this.item.uri}]}}},methods:{open(){this.$emit("close"),this.$router.push({name:"playlist-spotify",params:{id:this.item.id}})}}};function zM(e,t,n,r,o,s){const i=A("modal-dialog-playable");return $(),ve(i,{item:s.playable,show:n.show,onClose:t[0]||(t[0]=a=>e.$emit("close"))},null,8,["item","show"])}const bb=ie(vM,[["render",zM]]),wM={name:"ListPlaylistsSpotify",components:{ModalDialogPlaylistSpotify:bb},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}}},SM=["onClick"],CM={class:"media-content"},kM=["textContent"],EM=["textContent"],xM={class:"media-right"},TM=["onClick"];function AM(e,t,n,r,o,s){const i=A("mdicon"),a=A("modal-dialog-playlist-spotify");return $(),D(be,null,[($(!0),D(be,null,_t(n.items,l=>($(),D("div",{key:l.id,class:"media is-align-items-center is-clickable mb-0",onClick:u=>s.open(l)},[p("div",CM,[p("div",{class:"is-size-6 has-text-weight-bold",textContent:k(l.name)},null,8,kM),p("div",{class:"is-size-7 has-text-weight-bold has-text-grey",textContent:k(l.owner.display_name)},null,8,EM)]),p("div",xM,[p("a",{onClick:St(u=>s.open_dialog(l),["prevent","stop"])},[z(i,{class:"icon has-text-dark",name:"dots-vertical",size:"16"})],8,TM)])],8,SM))),128)),($(),ve(Wn,{to:"#app"},[z(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 kl=ie(wM,[["render",AM]]),kh={load(e){return J.spotify().then(({data:t})=>{const n=new ur;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}},OM={name:"PageMusicSpotify",components:{ContentWithHeading:et,ListAlbumsSpotify:ji,ListPlaylistsSpotify:kl,TabsMusic:Sr},beforeRouteEnter(e,t,n){kh.load(e).then(r=>{n(o=>kh.set(o,r))})},data(){return{playlists:[],albums:[]}}},$M=["textContent"],PM={class:"level"},IM={class:"level-item"},LM=["textContent"],NM={class:"level"},DM={class:"level-item"};function RM(e,t,n,r,o,s){const i=A("tabs-music"),a=A("list-albums-spotify"),l=A("router-link"),u=A("content-with-heading"),c=A("list-playlists-spotify");return $(),D("div",null,[z(i),z(u,null,{"heading-left":I(()=>[p("p",{class:"title is-4",textContent:k(e.$t("page.spotify.music.new-releases"))},null,8,$M)]),content:I(()=>[z(a,{items:o.albums},null,8,["items"])]),footer:I(()=>[p("nav",PM,[p("p",IM,[z(l,{to:{name:"music-spotify-new-releases"},class:"button is-small is-rounded"},{default:I(()=>[Qt(k(e.$t("page.spotify.music.show-more")),1)]),_:1})])])]),_:1}),z(u,null,{"heading-left":I(()=>[p("p",{class:"title is-4",textContent:k(e.$t("page.spotify.music.featured-playlists"))},null,8,LM)]),content:I(()=>[z(c,{items:o.playlists},null,8,["items"])]),footer:I(()=>[p("nav",NM,[p("p",DM,[z(l,{to:{name:"music-spotify-featured-playlists"},class:"button is-small is-rounded"},{default:I(()=>[Qt(k(e.$t("page.spotify.music.show-more")),1)]),_:1})])])]),_:1})])}const MM=ie(OM,[["render",RM]]),Eh={load(e){return J.spotify().then(({data:t})=>{const n=new ur;return n.setAccessToken(t.webapi_token),n.getFeaturedPlaylists({country:t.webapi_country,limit:50})})},set(e,t){e.playlists=t.playlists.items}},FM={name:"PageMusicSpotifyFeaturedPlaylists",components:{ContentWithHeading:et,ListPlaylistsSpotify:kl,TabsMusic:Sr},beforeRouteEnter(e,t,n){Eh.load(e).then(r=>{n(o=>Eh.set(o,r))})},data(){return{playlists:[]}}},VM=["textContent"];function HM(e,t,n,r,o,s){const i=A("tabs-music"),a=A("list-playlists-spotify"),l=A("content-with-heading");return $(),D("div",null,[z(i),z(l,null,{"heading-left":I(()=>[p("p",{class:"title is-4",textContent:k(e.$t("page.spotify.music.featured-playlists"))},null,8,VM)]),content:I(()=>[z(a,{items:o.playlists},null,8,["items"])]),_:1})])}const UM=ie(FM,[["render",HM]]),xh={load(e){return J.spotify().then(({data:t})=>{const n=new ur;return n.setAccessToken(t.webapi_token),n.getNewReleases({country:t.webapi_country,limit:50})})},set(e,t){e.albums=t.albums.items}},jM={name:"PageMusicSpotifyNewReleases",components:{ContentWithHeading:et,ListAlbumsSpotify:ji,TabsMusic:Sr},beforeRouteEnter(e,t,n){xh.load(e).then(r=>{n(o=>xh.set(o,r))})},data(){return{albums:[]}}},WM=["textContent"];function BM(e,t,n,r,o,s){const i=A("tabs-music"),a=A("list-albums-spotify"),l=A("content-with-heading");return $(),D("div",null,[z(i),z(l,null,{"heading-left":I(()=>[p("p",{class:"title is-4",textContent:k(e.$t("page.spotify.music.new-releases"))},null,8,WM)]),content:I(()=>[z(a,{items:o.albums},null,8,["items"])]),_:1})])}const qM=ie(jM,[["render",BM]]),GM={name:"LyricsPane",setup(){return{lyricsStore:fu(),playerStore:On()}},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))}}},KM=["textContent"],ZM={key:1};function YM(e,t,n,r,o,s){return $(),D("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))},[($(!0),D(be,null,_t(s.lyrics,(i,a)=>($(),D(be,{key:a},[a===s.verse_index?($(),D("div",{key:0,class:$e({"is-highlighted":s.is_playing})},[($(!0),D(be,null,_t(i.words,l=>($(),D("span",{key:l,class:"has-text-weight-bold is-size-5"},[p("span",{style:fo({"animation-duration":`${l.delay}s`}),textContent:k(l.text)},null,12,KM)]))),128))],2)):($(),D("div",ZM,k(i.text),1))],64))),128))],544)}const XM=ie(GM,[["render",YM],["__scopeId","data-v-e04e7f3f"]]),JM={name:"ModalDialogQueueItem",components:{ModalDialog:Vr},props:{item:{required:!0,type:Object},show:Boolean},emits:["close"],setup(){return{servicesStore:Pt()}},data(){return{spotify_track:{}}},computed:{actions(){return[{label:this.$t("dialog.queue-item.remove"),handler:this.remove,icon:"delete"},{label:this.$t("dialog.queue-item.play"),handler:this.play,icon:"play"}]}},watch:{item(){var e;if(((e=this.item)==null?void 0:e.data_kind)==="spotify"){const t=new ur;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"),J.player_play({item_id:this.item.id})},remove(){this.$emit("close"),J.queue_remove(this.item.id)}}},QM=["textContent"],e3=["textContent"],t3={key:0,class:"mb-3"},n3=["textContent"],r3={class:"title is-6"},o3=["textContent"],s3={key:1,class:"mb-3"},i3=["textContent"],a3={class:"title is-6"},l3=["textContent"],u3={key:2,class:"mb-3"},c3=["textContent"],m3=["textContent"],d3={key:3,class:"mb-3"},f3=["textContent"],p3=["textContent"],h3={key:4,class:"mb-3"},_3=["textContent"],g3={class:"title is-6"},y3=["textContent"],b3={key:5,class:"mb-3"},v3=["textContent"],z3=["textContent"],w3={key:6,class:"mb-3"},S3=["textContent"],C3=["textContent"],k3={class:"mb-3"},E3=["textContent"],x3=["textContent"],T3={class:"mb-3"},A3=["textContent"],O3={class:"title is-6"},$3=["textContent"],P3={key:7,class:"mb-3"},I3=["textContent"],L3={class:"title is-6"},N3=["textContent"],D3=["textContent"],R3=["textContent"],M3=["textContent"];function F3(e,t,n,r,o,s){const i=A("modal-dialog");return $(),ve(i,{actions:s.actions,show:n.show,onClose:t[3]||(t[3]=a=>e.$emit("close"))},{content:I(()=>[p("div",{class:"title is-4",textContent:k(n.item.title)},null,8,QM),p("div",{class:"subtitle",textContent:k(n.item.artist)},null,8,e3),n.item.album?($(),D("div",t3,[p("div",{class:"is-size-7 is-uppercase",textContent:k(e.$t("dialog.queue-item.album"))},null,8,n3),p("div",r3,[p("a",{onClick:t[0]||(t[0]=(...a)=>s.open_album&&s.open_album(...a)),textContent:k(n.item.album)},null,8,o3)])])):fe("",!0),n.item.album_artist?($(),D("div",s3,[p("div",{class:"is-size-7 is-uppercase",textContent:k(e.$t("dialog.queue-item.album-artist"))},null,8,i3),p("div",a3,[p("a",{onClick:t[1]||(t[1]=(...a)=>s.open_album_artist&&s.open_album_artist(...a)),textContent:k(n.item.album_artist)},null,8,l3)])])):fe("",!0),n.item.composer?($(),D("div",u3,[p("div",{class:"is-size-7 is-uppercase",textContent:k(e.$t("dialog.queue-item.composer"))},null,8,c3),p("div",{class:"title is-6",textContent:k(n.item.composer)},null,8,m3)])):fe("",!0),n.item.year?($(),D("div",d3,[p("div",{class:"is-size-7 is-uppercase",textContent:k(e.$t("dialog.queue-item.year"))},null,8,f3),p("div",{class:"title is-6",textContent:k(n.item.year)},null,8,p3)])):fe("",!0),n.item.genre?($(),D("div",h3,[p("div",{class:"is-size-7 is-uppercase",textContent:k(e.$t("dialog.queue-item.genre"))},null,8,_3),p("div",g3,[p("a",{onClick:t[2]||(t[2]=(...a)=>s.open_genre&&s.open_genre(...a)),textContent:k(n.item.genre)},null,8,y3)])])):fe("",!0),n.item.disc_number?($(),D("div",b3,[p("div",{class:"is-size-7 is-uppercase",textContent:k(e.$t("dialog.queue-item.position"))},null,8,v3),p("div",{class:"title is-6",textContent:k([n.item.disc_number,n.item.track_number].join(" / "))},null,8,z3)])):fe("",!0),n.item.length_ms?($(),D("div",w3,[p("div",{class:"is-size-7 is-uppercase",textContent:k(e.$t("dialog.queue-item.duration"))},null,8,S3),p("div",{class:"title is-6",textContent:k(e.$filters.durationInHours(n.item.length_ms))},null,8,C3)])):fe("",!0),p("div",k3,[p("div",{class:"is-size-7 is-uppercase",textContent:k(e.$t("dialog.queue-item.path"))},null,8,E3),p("div",{class:"title is-6",textContent:k(n.item.path)},null,8,x3)]),p("div",T3,[p("div",{class:"is-size-7 is-uppercase",textContent:k(e.$t("dialog.queue-item.type"))},null,8,A3),p("div",O3,[p("span",{textContent:k(`${e.$t(`media.kind.${n.item.media_kind}`)} - ${e.$t(`data.kind.${n.item.data_kind}`)}`)},null,8,$3)])]),n.item.samplerate?($(),D("div",P3,[p("div",{class:"is-size-7 is-uppercase",textContent:k(e.$t("dialog.queue-item.quality"))},null,8,I3),p("div",L3,[p("span",{textContent:k(n.item.type)},null,8,N3),n.item.samplerate?($(),D("span",{key:0,textContent:k(e.$t("dialog.queue-item.samplerate",{rate:n.item.samplerate}))},null,8,D3)):fe("",!0),n.item.channels?($(),D("span",{key:1,textContent:k(e.$t("dialog.queue-item.channels",{channels:e.$filters.channels(n.item.channels)}))},null,8,R3)):fe("",!0),n.item.bitrate?($(),D("span",{key:2,textContent:k(e.$t("dialog.queue-item.bitrate",{rate:n.item.bitrate}))},null,8,M3)):fe("",!0)])])):fe("",!0)]),_:1},8,["actions","show"])}const vb=ie(JM,[["render",F3]]),Kr=1e3,V3={name:"PageNowPlaying",components:{ControlSlider:du,CoverArtwork:bo,LyricsPane:XM,ModalDialogQueueItem:vb},setup(){return{lyricsStore:fu(),playerStore:On(),queueStore:or(),settingsStore:Hr()}},data(){return{INTERVAL:Kr,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*Kr)},track_progress:{get(){return Math.floor(this.playerStore.item_progress_ms/Kr)},set(e){this.playerStore.item_progress_ms=e*Kr}},track_progress_max(){return this.is_live?1:Math.floor(this.track.length_ms/Kr)},track_total_time(){return this.is_live?this.$t("page.now-playing.live"):this.$filters.durationInHours(this.track.length_ms)}},watch:{"playerStore.state"(e){this.interval_id>0&&(window.clearTimeout(this.interval_id),this.interval_id=0),e==="play"&&(this.interval_id=window.setInterval(this.tick,Kr))}},created(){J.player_status().then(({data:e})=>{this.playerStore.$state=e,this.playerStore.state==="play"&&(this.interval_id=window.setInterval(this.tick,Kr))})},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||J.player_seek_to_pos(this.track_progress*Kr)},start_dragging(){this.is_dragged=!0},tick(){this.is_dragged||(this.track_progress+=1)}}},H3={class:"hero is-full-height"},U3={class:"hero-body is-flex is-align-items-center"},j3={class:"container has-text-centered"},W3={key:0,class:"mx-auto",style:{"max-width":"32rem"}},B3={class:"is-flex is-justify-content-space-between"},q3=["textContent"],G3=["textContent"],K3=["textContent"],Z3=["textContent"],Y3=["textContent"],X3=["textContent"],J3=["textContent"],Q3={key:1},e6=["textContent"],t6=["textContent"];function n6(e,t,n,r,o,s){const i=A("cover-artwork"),a=A("lyrics-pane"),l=A("control-slider"),u=A("modal-dialog-queue-item");return $(),D("div",H3,[p("div",U3,[p("div",j3,[s.track.id?($(),D("div",W3,[z(i,{url:s.track.artwork_url,artist:s.track.artist,album:s.track.album,class:$e(["is-clickable is-big",{"is-masked":r.lyricsStore.pane}]),onClick:t[0]||(t[0]=c=>s.open_dialog(s.track))},null,8,["url","artist","album","class"]),r.lyricsStore.pane?($(),ve(a,{key:0})):fe("",!0),z(l,{value:s.track_progress,"onUpdate:value":t[1]||(t[1]=c=>s.track_progress=c),class:"mt-5",disabled:s.is_live,max:s.track_progress_max,onChange:s.seek,onMousedown:s.start_dragging,onMouseup:s.end_dragging},null,8,["value","disabled","max","onChange","onMousedown","onMouseup"]),p("div",B3,[p("p",{class:"subtitle is-7",textContent:k(s.track_elapsed_time)},null,8,q3),p("p",{class:"subtitle is-7",textContent:k(s.track_total_time)},null,8,G3)]),p("p",{class:"title is-5",textContent:k(s.track.title)},null,8,K3),p("p",{class:"title is-6",textContent:k(s.track.artist)},null,8,Z3),s.composer?($(),D("p",{key:1,class:"subtitle is-6 has-text-grey has-text-weight-bold",textContent:k(s.composer)},null,8,Y3)):fe("",!0),s.track.album?($(),D("p",{key:2,class:"subtitle is-6",textContent:k(s.track.album)},null,8,X3)):fe("",!0),r.settingsStore.show_filepath_now_playing?($(),D("p",{key:3,class:"subtitle is-6 has-text-grey",textContent:k(s.track.path)},null,8,J3)):fe("",!0)])):($(),D("div",Q3,[p("p",{class:"title is-5",textContent:k(e.$t("page.now-playing.title"))},null,8,e6),p("p",{class:"subtitle",textContent:k(e.$t("page.now-playing.info"))},null,8,t6)]))]),z(u,{show:o.show_details_modal,item:o.selected_item,onClose:t[2]||(t[2]=c=>o.show_details_modal=!1)},null,8,["show","item"])])])}const r6=ie(V3,[["render",n6]]),Ea={load(e){return Promise.all([J.library_playlist(e.params.id),J.library_playlist_folder(e.params.id)])},set(e,t){e.playlist=t[0].data,e.playlists_list=new Ee(t[1].data)}},o6={name:"PagePlaylistFolder",components:{ContentWithHeading:et,ListPlaylists:Cl},beforeRouteEnter(e,t,n){Ea.load(e).then(r=>{n(o=>Ea.set(o,r))})},beforeRouteUpdate(e,t,n){Ea.load(e).then(r=>{Ea.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}}},s6=["textContent"],i6=["textContent"];function a6(e,t,n,r,o,s){const i=A("list-playlists"),a=A("content-with-heading");return $(),D("div",null,[z(a,null,{"heading-left":I(()=>[p("div",{class:"title is-4",textContent:k(o.playlist.id===0?e.$t("page.playlists.title"):o.playlist.name)},null,8,s6),p("div",{class:"is-size-7 is-uppercase",textContent:k(e.$t("page.playlists.count",{count:s.playlists.count}))},null,8,i6)]),content:I(()=>[z(i,{items:s.playlists},null,8,["items"])]),_:1})])}const l6=ie(o6,[["render",a6]]),Th={load(e){return Promise.all([J.library_playlist(e.params.id),J.library_playlist_tracks(e.params.id)])},set(e,t){e.playlist=t[0].data,e.tracks=new Ee(t[1].data)}},u6={name:"PagePlaylistTracks",components:{ContentWithHeading:et,ListTracks:zn,ModalDialogPlaylist:yb},beforeRouteEnter(e,t,n){Th.load(e).then(r=>{n(o=>Th.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(){J.player_play_uri(this.uris,!0)}}},c6=["textContent"],m6=["textContent"],d6={class:"buttons is-centered"},f6=["textContent"];function p6(e,t,n,r,o,s){const i=A("mdicon"),a=A("list-tracks"),l=A("modal-dialog-playlist"),u=A("content-with-heading");return $(),D("div",null,[z(u,null,{"heading-left":I(()=>[p("div",{class:"title is-4",textContent:k(o.playlist.name)},null,8,c6),p("div",{class:"is-size-7 is-uppercase",textContent:k(e.$t("page.playlist.track-count",{count:o.tracks.count}))},null,8,m6)]),"heading-right":I(()=>[p("div",d6,[p("a",{class:"button is-small is-light is-rounded",onClick:t[0]||(t[0]=c=>o.show_details_modal=!0)},[z(i,{class:"icon",name:"dots-horizontal",size:"16"})]),p("a",{class:"button is-small is-dark is-rounded",onClick:t[1]||(t[1]=(...c)=>s.play&&s.play(...c))},[z(i,{class:"icon",name:"shuffle",size:"16"}),p("span",{textContent:k(e.$t("page.playlist.shuffle"))},null,8,f6)])])]),content:I(()=>[z(a,{items:o.tracks,uris:s.uris},null,8,["items","uris"]),z(l,{item:o.playlist,show:o.show_details_modal,uris:s.uris,onClose:t[2]||(t[2]=c=>o.show_details_modal=!1)},null,8,["item","show","uris"])]),_:1})])}const h6=ie(u6,[["render",p6]]),_m=50,Ah={load(e){const t=new ur;return t.setAccessToken(Pt().spotify.webapi_token),Promise.all([t.getPlaylist(e.params.id),t.getPlaylistTracks(e.params.id,{limit:_m,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())}},_6={name:"PagePlaylistTracksSpotify",components:{ContentWithHeading:et,ListTracksSpotify:wl,ModalDialogPlaylistSpotify:bb,VueEternalLoading:vd},beforeRouteEnter(e,t,n){Ah.load(e).then(r=>{n(o=>Ah.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 ur;t.setAccessToken(this.servicesStore.spotify.webapi_token),t.getPlaylistTracks(this.playlist.id,{limit:_m,market:this.servicesStore.spotify.webapi_country,offset:this.offset}).then(n=>{this.append_tracks(n),e(n.items.length,_m)})},play(){this.show_details_modal=!1,J.player_play_uri(this.playlist.uri,!0)}}},g6=["textContent"],y6=["textContent"],b6={class:"buttons is-centered"},v6=["textContent"],z6={class:"columns is-centered"},w6={class:"column has-text-centered"};function S6(e,t,n,r,o,s){const i=A("mdicon"),a=A("list-tracks-spotify"),l=A("VueEternalLoading"),u=A("modal-dialog-playlist-spotify"),c=A("content-with-heading");return $(),D("div",null,[z(c,null,{"heading-left":I(()=>[p("div",{class:"title is-4",textContent:k(o.playlist.name)},null,8,g6),p("div",{class:"is-size-7 is-uppercase",textContent:k(e.$t("page.spotify.playlist.count",{count:o.playlist.tracks.total}))},null,8,y6)]),"heading-right":I(()=>[p("div",b6,[p("a",{class:"button is-small is-light is-rounded",onClick:t[0]||(t[0]=m=>o.show_playlist_details_modal=!0)},[z(i,{class:"icon",name:"dots-horizontal",size:"16"})]),p("a",{class:"button is-small is-dark is-rounded",onClick:t[1]||(t[1]=(...m)=>s.play&&s.play(...m))},[z(i,{class:"icon",name:"shuffle",size:"16"}),p("span",{textContent:k(e.$t("page.spotify.playlist.shuffle"))},null,8,v6)])])]),content:I(()=>[z(a,{items:o.tracks,context_uri:o.playlist.uri},null,8,["items","context_uri"]),o.offset<o.total?($(),ve(l,{key:0,load:s.load_next},{loading:I(()=>[p("div",z6,[p("div",w6,[z(i,{class:"icon mdi-spin",name:"loading"})])])]),"no-more":I(()=>t[3]||(t[3]=[p("br",null,null,-1)])),_:1},8,["load"])):fe("",!0),z(u,{item:o.playlist,show:o.show_playlist_details_modal,onClose:t[2]||(t[2]=m=>o.show_playlist_details_modal=!1)},null,8,["item","show"])]),_:1})])}const C6=ie(_6,[["render",S6]]),Oh={load(e){return Promise.all([J.library_album(e.params.id),J.library_podcast_episodes(e.params.id)])},set(e,t){e.album=t[0].data,e.tracks=new Ee(t[1].data.tracks)}},k6={name:"PagePodcast",components:{ContentWithHero:zu,CoverArtwork:bo,ListTracks:zn,ModalDialog:Vr,ModalDialogAlbum:wu},beforeRouteEnter(e,t,n){Oh.load(e).then(r=>{n(o=>Oh.set(o,r))})},data(){return{album:{},rss_playlist_to_remove:{},show_details_modal:!1,show_remove_podcast_modal:!1,tracks:new Ee}},computed:{actions(){return[{label:this.$t("page.podcast.cancel"),handler:"cancel",icon:"cancel"},{label:this.$t("page.podcast.remove"),handler:"remove",icon:"delete"}]}},methods:{open_remove_podcast_dialog(){J.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(){J.player_play_uri(this.album.uri,!1)},reload_tracks(){J.library_podcast_episodes(this.album.id).then(({data:e})=>{this.tracks=new Ee(e.tracks)})},remove_podcast(){this.show_remove_podcast_modal=!1,J.library_playlist_delete(this.rss_playlist_to_remove.id).then(()=>{this.$router.replace({name:"podcasts"})})}}},E6=["textContent"],x6={class:"buttons is-centered-mobile mt-5"},T6=["textContent"],A6=["textContent"],O6=["textContent"];function $6(e,t,n,r,o,s){const i=A("mdicon"),a=A("cover-artwork"),l=A("list-tracks"),u=A("modal-dialog-album"),c=A("i18n-t"),m=A("modal-dialog"),d=A("content-with-hero");return $(),D("div",null,[z(d,null,{"heading-left":I(()=>[p("div",{class:"title is-5",textContent:k(o.album.name)},null,8,E6),t[5]||(t[5]=p("div",{class:"subtitle is-6"},[p("br")],-1)),p("div",x6,[p("a",{class:"button is-small is-dark is-rounded",onClick:t[0]||(t[0]=(...f)=>s.play&&s.play(...f))},[z(i,{class:"icon",name:"play",size:"16"}),p("span",{textContent:k(e.$t("page.podcast.play"))},null,8,T6)]),p("a",{class:"button is-small is-light is-rounded",onClick:t[1]||(t[1]=f=>o.show_details_modal=!0)},[z(i,{class:"icon",name:"dots-horizontal",size:"16"})])])]),"heading-right":I(()=>[z(a,{url:o.album.artwork_url,artist:o.album.artist,album:o.album.name,class:"is-clickable is-medium",onClick:t[2]||(t[2]=f=>o.show_details_modal=!0)},null,8,["url","artist","album"])]),content:I(()=>[p("div",{class:"is-size-7 is-uppercase has-text-centered-mobile my-5",textContent:k(e.$t("page.podcast.track-count",{count:o.album.track_count}))},null,8,A6),z(l,{items:o.tracks,show_progress:!0,onPlayCountChanged:s.reload_tracks},null,8,["items","onPlayCountChanged"]),z(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"]),z(m,{actions:s.actions,show:o.show_remove_podcast_modal,title:e.$t("page.podcast.remove-podcast"),onCancel:t[4]||(t[4]=f=>o.show_remove_podcast_modal=!1),onRemove:s.remove_podcast},{content:I(()=>[z(c,{keypath:"page.podcast.remove-info",tag:"p",scope:"global"},{separator:I(()=>t[6]||(t[6]=[p("br",null,null,-1)])),name:I(()=>[p("b",{textContent:k(o.rss_playlist_to_remove.name)},null,8,O6)]),_:1})]),_:1},8,["actions","show","title","onRemove"])]),_:1})])}const P6=ie(k6,[["render",$6]]),I6={name:"ModalDialogAddRss",components:{ModalDialog:Vr},props:{show:Boolean},emits:["close","podcast-added"],data(){return{disabled:!0,loading:!1,url:""}},computed:{actions(){return this.loading?[{label:this.$t("dialog.add.rss.processing"),icon:"web"}]:[{label:this.$t("dialog.add.rss.cancel"),handler:this.cancel,icon:"cancel"},{label:this.$t("dialog.add.rss.add"),disabled:this.disabled,handler:this.add,icon:"playlist-plus"}]}},watch:{show(){this.show&&(this.loading=!1,setTimeout(()=>{this.$refs.url_field.focus()},10))}},methods:{add(){this.loading=!0,J.library_add(this.url).then(()=>{this.$emit("close"),this.$emit("podcast-added"),this.url=""}).catch(()=>{this.loading=!1})},cancel(){this.$emit("close")},check_url(e){const{validity:t}=e.target;this.disabled=t.patternMismatch||t.valueMissing}}},L6={class:"field"},N6={class:"control has-icons-left"},D6=["placeholder","disabled"],R6=["textContent"];function M6(e,t,n,r,o,s){const i=A("mdicon"),a=A("modal-dialog");return $(),ve(a,{actions:s.actions,show:n.show,title:e.$t("dialog.add.rss.title"),onClose:t[2]||(t[2]=l=>e.$emit("close"))},{content:I(()=>[p("div",L6,[p("p",N6,[Ht(p("input",{ref:"url_field","onUpdate:modelValue":t[0]||(t[0]=l=>o.url=l),class:"input",type:"url",pattern:"http[s]?://.+",required:"",placeholder:e.$t("dialog.add.rss.placeholder"),disabled:o.loading,onInput:t[1]||(t[1]=(...l)=>s.check_url&&s.check_url(...l))},null,40,D6),[[vn,o.url]]),z(i,{class:"icon is-left",name:"rss",size:"16"})]),p("p",{class:"help",textContent:k(e.$t("dialog.add.rss.help"))},null,8,R6)])]),_:1},8,["actions","show","title"])}const F6=ie(I6,[["render",M6]]),$h={load(e){return Promise.all([J.library_albums("podcast"),J.library_podcasts_new_episodes()])},set(e,t){e.albums=new Ee(t[0].data),e.tracks=new Ee(t[1].data.tracks)}},V6={name:"PagePodcasts",components:{ContentWithHeading:et,ListAlbums:kn,ListTracks:zn,ModalDialogAddRss:F6},beforeRouteEnter(e,t,n){$h.load(e).then(r=>{n(o=>$h.set(o,r))})},setup(){return{libraryStore:mu(),uiStore:wn()}},data(){return{albums:[],tracks:{items:[]},show_url_modal:!1}},computed:{rss(){return this.libraryStore.rss}},methods:{mark_all_played(){this.tracks.items.forEach(e=>{J.library_track_update(e.id,{play_count:"increment"})}),this.tracks.items={}},open_add_podcast_dialog(){this.show_url_modal=!0},reload_new_episodes(){J.library_podcasts_new_episodes().then(({data:e})=>{this.tracks=new Ee(e.tracks)})},reload_podcasts(){J.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}}},H6=["textContent"],U6={class:"buttons is-centered"},j6=["textContent"],W6=["textContent"],B6=["textContent"],q6={class:"buttons is-centered"},G6=["textContent"],K6=["textContent"];function Z6(e,t,n,r,o,s){const i=A("mdicon"),a=A("list-tracks"),l=A("content-with-heading"),u=A("list-albums"),c=A("modal-dialog-add-rss");return $(),D("div",null,[o.tracks.items.length>0?($(),ve(l,{key:0},{"heading-left":I(()=>[p("p",{class:"title is-4",textContent:k(e.$t("page.podcasts.new-episodes"))},null,8,H6)]),"heading-right":I(()=>[p("div",U6,[p("a",{class:"button is-small",onClick:t[0]||(t[0]=(...m)=>s.mark_all_played&&s.mark_all_played(...m))},[z(i,{class:"icon",name:"pencil",size:"16"}),p("span",{textContent:k(e.$t("page.podcasts.mark-all-played"))},null,8,j6)])])]),content:I(()=>[z(a,{items:o.tracks,show_progress:!0,onPlayCountChanged:s.reload_new_episodes},null,8,["items","onPlayCountChanged"])]),_:1})):fe("",!0),z(l,null,{"heading-left":I(()=>[p("div",{class:"title is-4",textContent:k(e.$t("page.podcasts.title"))},null,8,W6),p("div",{class:"is-size-7 is-uppercase",textContent:k(e.$t("page.podcasts.count",{count:o.albums.total}))},null,8,B6)]),"heading-right":I(()=>[p("div",q6,[s.rss.tracks>0?($(),D("a",{key:0,class:"button is-small",onClick:t[1]||(t[1]=(...m)=>s.update_rss&&s.update_rss(...m))},[z(i,{class:"icon",name:"refresh",size:"16"}),p("span",{textContent:k(e.$t("page.podcasts.update"))},null,8,G6)])):fe("",!0),p("a",{class:"button is-small",onClick:t[2]||(t[2]=(...m)=>s.open_add_podcast_dialog&&s.open_add_podcast_dialog(...m))},[z(i,{class:"icon",name:"rss",size:"16"}),p("span",{textContent:k(e.$t("page.podcasts.add"))},null,8,K6)])])]),content:I(()=>[z(u,{items:o.albums,onPlayCountChanged:t[3]||(t[3]=m=>s.reload_new_episodes()),onPodcastDeleted:t[4]||(t[4]=m=>s.reload_podcasts())},null,8,["items"]),z(c,{show:o.show_url_modal,onClose:t[5]||(t[5]=m=>o.show_url_modal=!1),onPodcastAdded:t[6]||(t[6]=m=>s.reload_podcasts())},null,8,["show"])]),_:1})])}const Y6=ie(V6,[["render",Z6]]),X6={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:On()}},computed:{is_next(){return this.current_position<0||this.position>=this.current_position},player(){return this.playerStore}},methods:{play(){J.player_play({item_id:this.item.id})}}},J6={key:0,class:"media-left"},Q6={class:"media-content"},eF=["textContent"],tF=["textContent"],nF=["textContent"],rF={class:"media-right"};function oF(e,t,n,r,o,s){const i=A("mdicon");return s.is_next||!n.show_only_next_items?($(),D("div",{key:0,class:"media is-align-items-center is-clickable mb-0",onClick:t[0]||(t[0]=(...a)=>s.play&&s.play(...a))},[n.edit_mode?($(),D("div",J6,[z(i,{class:"icon has-text-grey is-movable",name:"drag-horizontal",size:"18"})])):fe("",!0),p("div",Q6,[p("div",{class:$e(["is-size-6 has-text-weight-bold",{"has-text-primary":n.item.id===s.player.item_id,"has-text-grey-light":!s.is_next}]),textContent:k(n.item.title)},null,10,eF),p("div",{class:$e(["is-size-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:k(n.item.artist)},null,10,tF),p("div",{class:$e(["is-size-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:k(n.item.album)},null,10,nF)]),p("div",rF,[dt(e.$slots,"actions",{},void 0,!0)])])):fe("",!0)}const sF=ie(X6,[["render",oF],["__scopeId","data-v-daeb2acf"]]),iF={name:"ModalDialogAddUrlStream",components:{ModalDialog:Vr},props:{show:Boolean},emits:["close"],data(){return{disabled:!0,loading:!1,url:""}},computed:{actions(){return this.loading?[{label:this.$t("dialog.add.stream.processing"),icon:"web"}]:[{label:this.$t("dialog.add.stream.cancel"),handler:this.cancel,icon:"cancel"},{label:this.$t("dialog.add.stream.add"),disabled:this.disabled,handler:this.add,icon:"playlist-plus"},{label:this.$t("dialog.add.stream.play"),disabled:this.disabled,handler:this.play,icon:"play"}]}},watch:{show(){this.show&&(this.loading=!1,setTimeout(()=>{this.$refs.url_field.focus()},10))}},methods:{add(){this.loading=!0,J.queue_add(this.url).then(()=>{this.$emit("close"),this.url=""}).catch(()=>{this.loading=!1})},cancel(){this.$emit("close")},check_url(e){const{validity:t}=e.target;this.disabled=t.patternMismatch||t.valueMissing},play(){this.loading=!0,J.player_play_uri(this.url,!1).then(()=>{this.$emit("close"),this.url=""}).catch(()=>{this.loading=!1})}}},aF={class:"field"},lF={class:"control has-icons-left"},uF=["placeholder","disabled"];function cF(e,t,n,r,o,s){const i=A("mdicon"),a=A("modal-dialog");return $(),ve(a,{actions:s.actions,show:n.show,title:e.$t("dialog.add.stream.title"),onClose:t[3]||(t[3]=l=>e.$emit("close"))},{content:I(()=>[p("form",{onSubmit:t[2]||(t[2]=St((...l)=>s.play&&s.play(...l),["prevent"]))},[p("div",aF,[p("p",lF,[Ht(p("input",{ref:"url_field","onUpdate:modelValue":t[0]||(t[0]=l=>o.url=l),class:"input",type:"url",pattern:"http[s]?://.+",required:"",placeholder:e.$t("dialog.add.stream.placeholder"),disabled:o.loading,onInput:t[1]||(t[1]=(...l)=>s.check_url&&s.check_url(...l))},null,40,uF),[[vn,o.url]]),z(i,{class:"icon is-left",name:"web",size:"16"})])])],32)]),_:1},8,["actions","show","title"])}const mF=ie(iF,[["render",cF]]),dF={name:"ModalDialogPlaylistSave",components:{ModalDialog:Vr},props:{show:Boolean},emits:["close"],data(){return{disabled:!0,loading:!1,playlist_name:""}},actions(){return loading?[{label:this.$t("dialog.playlist.save.saving"),icon:"web"}]:[{label:this.$t("dialog.playlist.save.cancel"),handler:this.cancel,icon:"cancel"},{label:this.$t("dialog.playlist.save.save"),handler:this.save,icon:"save"}]},watch:{show(){this.show&&(this.loading=!1,setTimeout(()=>{this.$refs.playlist_name_field.focus()},10))}},methods:{cancel(){this.$emit("close")},check_name(e){const{validity:t}=e.target;this.disabled=t.patternMismatch||t.valueMissing},save(){this.loading=!0,J.queue_save_playlist(this.playlist_name).then(()=>{this.$emit("close"),this.playlist_name=""}).catch(()=>{this.loading=!1})}}},fF={class:"field"},pF={class:"control has-icons-left"},hF=["placeholder","disabled"];function _F(e,t,n,r,o,s){const i=A("mdicon"),a=A("modal-dialog");return $(),ve(a,{actions:e.actions,show:n.show,title:e.$t("dialog.playlist.save.title"),onClose:t[3]||(t[3]=l=>e.$emit("close"))},{content:I(()=>[p("form",{onSubmit:t[2]||(t[2]=St((...l)=>s.save&&s.save(...l),["prevent"]))},[p("div",fF,[p("p",pF,[Ht(p("input",{ref:"playlist_name_field","onUpdate:modelValue":t[0]||(t[0]=l=>o.playlist_name=l),class:"input",type:"text",pattern:".+",required:"",placeholder:e.$t("dialog.playlist.save.playlist-name"),disabled:o.loading,onInput:t[1]||(t[1]=(...l)=>s.check_name&&s.check_name(...l))},null,40,hF),[[vn,o.playlist_name]]),z(i,{class:"icon is-left",name:"file-music",size:"16"})])])],32)]),_:1},8,["actions","show","title"])}const gF=ie(dF,[["render",_F]]);var zb={exports:{}};/**!
* Sortable 1.14.0
* @author RubaXa <trash@rubaxa.org>
* @author owenm <owen23355@gmail.com>
* @license MIT
*/function Ph(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 wr(e){for(var t=1;t<arguments.length;t++){var n=arguments[t]!=null?arguments[t]:{};t%2?Ph(Object(n),!0).forEach(function(r){yF(e,r,n[r])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):Ph(Object(n)).forEach(function(r){Object.defineProperty(e,r,Object.getOwnPropertyDescriptor(n,r))})}return e}function Ba(e){"@babel/helpers - typeof";return typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?Ba=function(t){return typeof t}:Ba=function(t){return t&&typeof Symbol=="function"&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t},Ba(e)}function yF(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function jn(){return jn=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},jn.apply(this,arguments)}function bF(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 vF(e,t){if(e==null)return{};var n=bF(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 zF(e){return wF(e)||SF(e)||CF(e)||kF()}function wF(e){if(Array.isArray(e))return gm(e)}function SF(e){if(typeof Symbol<"u"&&e[Symbol.iterator]!=null||e["@@iterator"]!=null)return Array.from(e)}function CF(e,t){if(e){if(typeof e=="string")return gm(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 gm(e,t)}}function gm(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 kF(){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 EF="1.14.0";function Lr(e){if(typeof window<"u"&&window.navigator)return!!navigator.userAgent.match(e)}var Ur=Lr(/(?:Trident.*rv[ :]?11\.|msie|iemobile|Windows Phone)/i),na=Lr(/Edge/i),Ih=Lr(/firefox/i),zi=Lr(/safari/i)&&!Lr(/chrome/i)&&!Lr(/android/i),wb=Lr(/iP(ad|od|hone)/i),xF=Lr(/chrome/i)&&Lr(/android/i),Sb={capture:!1,passive:!1};function Ze(e,t,n){e.addEventListener(t,n,!Ur&&Sb)}function qe(e,t,n){e.removeEventListener(t,n,!Ur&&Sb)}function El(e,t){if(t){if(t[0]===">"&&(t=t.substring(1)),e)try{if(e.matches)return e.matches(t);if(e.msMatchesSelector)return e.msMatchesSelector(t);if(e.webkitMatchesSelector)return e.webkitMatchesSelector(t)}catch{return!1}return!1}}function TF(e){return e.host&&e!==document&&e.host.nodeType?e.host:e.parentNode}function Xn(e,t,n,r){if(e){n=n||document;do{if(t!=null&&(t[0]===">"?e.parentNode===n&&El(e,t):El(e,t))||r&&e===n)return e;if(e===n)break}while(e=TF(e))}return null}var Lh=/\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(Lh," ").replace(" "+t+" "," ");e.className=(r+(n?" "+t:"")).replace(Lh," ")}}function we(e,t,n){var r=e&&e.style;if(r){if(n===void 0)return document.defaultView&&document.defaultView.getComputedStyle?n=document.defaultView.getComputedStyle(e,""):e.currentStyle&&(n=e.currentStyle),t===void 0?n:n[t];!(t in r)&&t.indexOf("webkit")===-1&&(t="-webkit-"+t),r[t]=n+(typeof n=="string"?"":"px")}}function No(e,t){var n="";if(typeof e=="string")n=e;else do{var r=we(e,"transform");r&&r!=="none"&&(n=r+" "+n)}while(!t&&(e=e.parentNode));var o=window.DOMMatrix||window.WebKitCSSMatrix||window.CSSMatrix||window.MSCSSMatrix;return o&&new o(n)}function Cb(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 vr(){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,c,m;if(e!==window&&e.parentNode&&e!==vr()?(s=e.getBoundingClientRect(),i=s.top,a=s.left,l=s.bottom,u=s.right,c=s.height,m=s.width):(i=0,a=0,l=window.innerHeight,u=window.innerWidth,c=window.innerHeight,m=window.innerWidth),(t||n)&&e!==window&&(o=o||e.parentNode,!Ur))do if(o&&o.getBoundingClientRect&&(we(o,"transform")!=="none"||n&&we(o,"position")!=="static")){var d=o.getBoundingClientRect();i-=d.top+parseInt(we(o,"border-top-width")),a-=d.left+parseInt(we(o,"border-left-width")),l=i+s.height,u=a+s.width;break}while(o=o.parentNode);if(r&&e!==window){var f=No(o||e),h=f&&f.a,_=f&&f.d;f&&(i/=_,a/=h,m/=h,c/=_,l=i+c,u=a+m)}return{top:i,left:a,bottom:l,right:u,width:m,height:c}}}function Nh(e,t,n){for(var r=io(e,!0),o=zt(e)[t];r;){var s=zt(r)[n],i=void 0;if(i=o>=s,!i)return r;if(r===vr())break;r=io(r,!1)}return!1}function Os(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)&&Xn(i[s],n.draggable,e,!1)){if(o===t)return i[s];o++}s++}return null}function Cd(e,t){for(var n=e.lastElementChild;n&&(n===Ie.ghost||we(n,"display")==="none"||t&&!El(n,t));)n=n.previousElementSibling;return n||null}function Ot(e,t){var n=0;if(!e||!e.parentNode)return-1;for(;e=e.previousElementSibling;)e.nodeName.toUpperCase()!=="TEMPLATE"&&e!==Ie.clone&&(!t||El(e,t))&&n++;return n}function Dh(e){var t=0,n=0,r=vr();if(e)do{var o=No(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 AF(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 io(e,t){if(!e||!e.getBoundingClientRect)return vr();var n=e,r=!1;do if(n.clientWidth<n.scrollWidth||n.clientHeight<n.scrollHeight){var o=we(n);if(n.clientWidth<n.scrollWidth&&(o.overflowX=="auto"||o.overflowX=="scroll")||n.clientHeight<n.scrollHeight&&(o.overflowY=="auto"||o.overflowY=="scroll")){if(!n.getBoundingClientRect||n===document.body)return vr();if(r||t)return n;r=!0}}while(n=n.parentNode);return vr()}function OF(e,t){if(e&&t)for(var n in t)t.hasOwnProperty(n)&&(e[n]=t[n]);return e}function ac(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 wi;function kb(e,t){return function(){if(!wi){var n=arguments,r=this;n.length===1?e.call(r,n[0]):e.apply(r,n),wi=setTimeout(function(){wi=void 0},t)}}}function $F(){clearTimeout(wi),wi=void 0}function Eb(e,t,n){e.scrollLeft+=t,e.scrollTop+=n}function kd(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 Rh(e,t){we(e,"position","absolute"),we(e,"top",t.top),we(e,"left",t.left),we(e,"width",t.width),we(e,"height",t.height)}function lc(e){we(e,"position",""),we(e,"top",""),we(e,"left",""),we(e,"width",""),we(e,"height","")}var Xt="Sortable"+new Date().getTime();function PF(){var e=[],t;return{captureAnimationState:function(){if(e=[],!!this.options.animation){var r=[].slice.call(this.el.children);r.forEach(function(o){if(!(we(o,"display")==="none"||o===Ie.ghost)){e.push({target:o,rect:zt(o)});var s=wr({},e[e.length-1].rect);if(o.thisAnimationDuration){var i=No(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(AF(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,c=u.fromRect,m=zt(u),d=u.prevFromRect,f=u.prevToRect,h=a.rect,_=No(u,!0);_&&(m.top-=_.f,m.left-=_.e),u.toRect=m,u.thisAnimationDuration&&ac(d,m)&&!ac(c,m)&&(h.top-m.top)/(h.left-m.left)===(c.top-m.top)/(c.left-m.left)&&(l=LF(h,d,f,o.options)),ac(m,c)||(u.prevFromRect=c,u.prevToRect=m,l||(l=o.options.animation),o.animate(u,h,m,l)),l&&(s=!0,i=Math.max(i,l),clearTimeout(u.animationResetTimer),u.animationResetTimer=setTimeout(function(){u.animationTime=0,u.prevFromRect=null,u.fromRect=null,u.prevToRect=null,u.thisAnimationDuration=null},l),u.thisAnimationDuration=l)}),clearTimeout(t),s?t=setTimeout(function(){typeof r=="function"&&r()},i):typeof r=="function"&&r(),e=[]},animate:function(r,o,s,i){if(i){we(r,"transition",""),we(r,"transform","");var a=No(this.el),l=a&&a.a,u=a&&a.d,c=(o.left-s.left)/(l||1),m=(o.top-s.top)/(u||1);r.animatingX=!!c,r.animatingY=!!m,we(r,"transform","translate3d("+c+"px,"+m+"px,0)"),this.forRepaintDummy=IF(r),we(r,"transition","transform "+i+"ms"+(this.options.easing?" "+this.options.easing:"")),we(r,"transform","translate3d(0,0,0)"),typeof r.animated=="number"&&clearTimeout(r.animated),r.animated=setTimeout(function(){we(r,"transition",""),we(r,"transform",""),r.animated=!1,r.animatingX=!1,r.animatingY=!1},i)}}}}function IF(e){return e.offsetWidth}function LF(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 Qo=[],uc={initializeByDefault:!0},ra={mount:function(t){for(var n in uc)uc.hasOwnProperty(n)&&!(n in t)&&(t[n]=uc[n]);Qo.forEach(function(r){if(r.pluginName===t.pluginName)throw"Sortable: Cannot mount plugin ".concat(t.pluginName," more than once")}),Qo.push(t)},pluginEvent:function(t,n,r){var o=this;this.eventCanceled=!1,r.cancel=function(){o.eventCanceled=!0};var s=t+"Global";Qo.forEach(function(i){n[i.pluginName]&&(n[i.pluginName][s]&&n[i.pluginName][s](wr({sortable:n},r)),n.options[i.pluginName]&&n[i.pluginName][t]&&n[i.pluginName][t](wr({sortable:n},r)))})},initializePlugins:function(t,n,r,o){Qo.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,jn(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 Qo.forEach(function(o){typeof o.eventProperties=="function"&&jn(r,o.eventProperties.call(n[o.pluginName],t))}),r},modifyOption:function(t,n,r){var o;return Qo.forEach(function(s){t[s.pluginName]&&s.optionListeners&&typeof s.optionListeners[n]=="function"&&(o=s.optionListeners[n].call(t[s.pluginName],r))}),o}};function oi(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,c=e.oldDraggableIndex,m=e.newDraggableIndex,d=e.originalEvent,f=e.putSortable,h=e.extraEventProperties;if(t=t||n&&n[Xt],!!t){var _,b=t.options,v="on"+r.charAt(0).toUpperCase()+r.substr(1);window.CustomEvent&&!Ur&&!na?_=new CustomEvent(r,{bubbles:!0,cancelable:!0}):(_=document.createEvent("Event"),_.initEvent(r,!0,!0)),_.to=i||n,_.from=a||n,_.item=o||n,_.clone=s,_.oldIndex=l,_.newIndex=u,_.oldDraggableIndex=c,_.newDraggableIndex=m,_.originalEvent=d,_.pullMode=f?f.lastPutMode:void 0;var w=wr(wr({},h),ra.getEventProperties(r,t));for(var g in w)_[g]=w[g];n&&n.dispatchEvent(_),b[v]&&b[v].call(t,_)}}var NF=["evt"],dn=function(t,n){var r=arguments.length>2&&arguments[2]!==void 0?arguments[2]:{},o=r.evt,s=vF(r,NF);ra.pluginEvent.bind(Ie)(t,n,wr({dragEl:he,parentEl:Et,ghostEl:je,rootEl:vt,nextEl:To,lastDownEl:qa,cloneEl:xt,cloneHidden:so,dragStarted:si,putSortable:jt,activeSortable:Ie.active,originalEvent:o,oldIndex:ds,oldDraggableIndex:Si,newIndex:Cn,newDraggableIndex:ro,hideGhostForTarget:Ob,unhideGhostForTarget:$b,cloneNowHidden:function(){so=!0},cloneNowShown:function(){so=!1},dispatchSortableEvent:function(a){nn({sortable:n,name:a,originalEvent:o})}},s))};function nn(e){oi(wr({putSortable:jt,cloneEl:xt,targetEl:he,rootEl:vt,oldIndex:ds,oldDraggableIndex:Si,newIndex:Cn,newDraggableIndex:ro},e))}var he,Et,je,vt,To,qa,xt,so,ds,Cn,Si,ro,xa,jt,ls=!1,xl=!1,Tl=[],Eo,Zn,cc,mc,Mh,Fh,si,es,Ci,ki=!1,Ta=!1,Ga,Bt,dc=[],ym=!1,Al=[],Cu=typeof document<"u",Aa=wb,Vh=na||Ur?"cssFloat":"float",DF=Cu&&!xF&&!wb&&"draggable"in document.createElement("div"),xb=function(){if(Cu){if(Ur)return!1;var e=document.createElement("x");return e.style.cssText="pointer-events:auto",e.style.pointerEvents==="auto"}}(),Tb=function(t,n){var r=we(t),o=parseInt(r.width)-parseInt(r.paddingLeft)-parseInt(r.paddingRight)-parseInt(r.borderLeftWidth)-parseInt(r.borderRightWidth),s=Os(t,0,n),i=Os(t,1,n),a=s&&we(s),l=i&&we(i),u=a&&parseInt(a.marginLeft)+parseInt(a.marginRight)+zt(s).width,c=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 m=a.float==="left"?"left":"right";return i&&(l.clear==="both"||l.clear===m)?"vertical":"horizontal"}return s&&(a.display==="block"||a.display==="flex"||a.display==="table"||a.display==="grid"||u>=o&&r[Vh]==="none"||i&&r[Vh]==="none"&&u+c>o)?"vertical":"horizontal"},RF=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},MF=function(t,n){var r;return Tl.some(function(o){var s=o[Xt].options.emptyInsertThreshold;if(!(!s||Cd(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},Ab=function(t){function n(s,i){return function(a,l,u,c){var m=a.options.group.name&&l.options.group.name&&a.options.group.name===l.options.group.name;if(s==null&&(i||m))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,c),i)(a,l,u,c);var d=(i?a:l).options.group.name;return s===!0||typeof s=="string"&&s===d||s.join&&s.indexOf(d)>-1}}var r={},o=t.group;(!o||Ba(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},Ob=function(){!xb&&je&&we(je,"display","none")},$b=function(){!xb&&je&&we(je,"display","")};Cu&&document.addEventListener("click",function(e){if(xl)return e.preventDefault(),e.stopPropagation&&e.stopPropagation(),e.stopImmediatePropagation&&e.stopImmediatePropagation(),xl=!1,!1},!0);var xo=function(t){if(he){t=t.touches?t.touches[0]:t;var n=MF(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[Xt]._onDragOver(r)}}},FF=function(t){he&&he.parentNode[Xt]._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=jn({},t),e[Xt]=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 Tb(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&&!zi,emptyInsertThreshold:5};ra.initializePlugins(this,e,n);for(var r in n)!(r in t)&&(t[r]=n[r]);Ab(t);for(var o in this)o.charAt(0)==="_"&&typeof this[o]=="function"&&(this[o]=this[o].bind(this));this.nativeDraggable=t.forceFallback?!1:DF,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)),Tl.push(this.el),t.store&&t.store.get&&this.sort(t.store.get(this)||[]),jn(this,PF())}Ie.prototype={constructor:Ie,_isOutsideThisEl:function(t){!this.el.contains(t)&&t!==this.el&&(es=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,c=o.filter;if(GF(r),!he&&!(/mousedown|pointerdown/.test(i)&&t.button!==0||o.disabled)&&!u.isContentEditable&&!(!this.nativeDraggable&&zi&&l&&l.tagName.toUpperCase()==="SELECT")&&(l=Xn(l,o.draggable,r,!1),!(l&&l.animated)&&qa!==l)){if(ds=Ot(l),Si=Ot(l,o.draggable),typeof c=="function"){if(c.call(this,t,l,this)){nn({sortable:n,rootEl:u,name:"filter",targetEl:l,toEl:r,fromEl:r}),dn("filter",n,{evt:t}),s&&t.cancelable&&t.preventDefault();return}}else if(c&&(c=c.split(",").some(function(m){if(m=Xn(u,m.trim(),r,!1),m)return nn({sortable:n,rootEl:m,name:"filter",targetEl:l,fromEl:r,toEl:r}),dn("filter",n,{evt:t}),!0}),c)){s&&t.cancelable&&t.preventDefault();return}o.handle&&!Xn(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(vt=s,he=r,Et=he.parentNode,To=he.nextSibling,qa=r,xa=i.group,Ie.dragged=he,Eo={target:he,clientX:(n||t).clientX,clientY:(n||t).clientY},Mh=Eo.clientX-u.left,Fh=Eo.clientY-u.top,this._lastX=(n||t).clientX,this._lastY=(n||t).clientY,he.style["will-change"]="all",l=function(){if(dn("delayEnded",o,{evt:t}),Ie.eventCanceled){o._onDrop();return}o._disableDelayedDragEvents(),!Ih&&o.nativeDraggable&&(he.draggable=!0),o._triggerDragStart(t,n),nn({sortable:o,name:"choose",originalEvent:t}),Ct(he,i.chosenClass,!0)},i.ignore.split(",").forEach(function(c){Cb(he,c.trim(),fc)}),Ze(a,"dragover",xo),Ze(a,"mousemove",xo),Ze(a,"touchmove",xo),Ze(a,"mouseup",o._onDrop),Ze(a,"touchend",o._onDrop),Ze(a,"touchcancel",o._onDrop),Ih&&this.nativeDraggable&&(this.options.touchStartThreshold=4,he.draggable=!0),dn("delayStart",this,{evt:t}),i.delay&&(!i.delayOnTouchOnly||n)&&(!this.nativeDraggable||!(na||Ur))){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&&fc(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(vt,"dragstart",this._onDragStart));try{document.selection?Ka(function(){document.selection.empty()}):window.getSelection().removeAllRanges()}catch{}},_dragStarted:function(t,n){if(ls=!1,vt&&he){dn("dragStarted",this,{evt:n}),this.nativeDraggable&&Ze(document,"dragover",FF);var r=this.options;!t&&Ct(he,r.dragClass,!1),Ct(he,r.ghostClass,!0),Ie.active=this,t&&this._appendGhost(),nn({sortable:this,name:"start",originalEvent:n})}else this._nulling()},_emulateDragOver:function(){if(Zn){this._lastX=Zn.clientX,this._lastY=Zn.clientY,Ob();for(var t=document.elementFromPoint(Zn.clientX,Zn.clientY),n=t;t&&t.shadowRoot&&(t=t.shadowRoot.elementFromPoint(Zn.clientX,Zn.clientY),t!==n);)n=t;if(he.parentNode[Xt]._isOutsideThisEl(t),n)do{if(n[Xt]){var r=void 0;if(r=n[Xt]._onDragOver({clientX:Zn.clientX,clientY:Zn.clientY,target:t,rootEl:n}),r&&!this.options.dragoverBubble)break}t=n}while(n=n.parentNode);$b()}},_onTouchMove:function(t){if(Eo){var n=this.options,r=n.fallbackTolerance,o=n.fallbackOffset,s=t.touches?t.touches[0]:t,i=je&&No(je,!0),a=je&&i&&i.a,l=je&&i&&i.d,u=Aa&&Bt&&Dh(Bt),c=(s.clientX-Eo.clientX+o.x)/(a||1)+(u?u[0]-dc[0]:0)/(a||1),m=(s.clientY-Eo.clientY+o.y)/(l||1)+(u?u[1]-dc[1]:0)/(l||1);if(!Ie.active&&!ls){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+=c-(cc||0),i.f+=m-(mc||0)):i={a:1,b:0,c:0,d:1,e:c,f:m};var d="matrix(".concat(i.a,",").concat(i.b,",").concat(i.c,",").concat(i.d,",").concat(i.e,",").concat(i.f,")");we(je,"webkitTransform",d),we(je,"mozTransform",d),we(je,"msTransform",d),we(je,"transform",d),cc=c,mc=m,Zn=s}t.cancelable&&t.preventDefault()}},_appendGhost:function(){if(!je){var t=this.options.fallbackOnBody?document.body:vt,n=zt(he,!0,Aa,!0,t),r=this.options;if(Aa){for(Bt=t;we(Bt,"position")==="static"&&we(Bt,"transform")==="none"&&Bt!==document;)Bt=Bt.parentNode;Bt!==document.body&&Bt!==document.documentElement?(Bt===document&&(Bt=vr()),n.top+=Bt.scrollTop,n.left+=Bt.scrollLeft):Bt=vr(),dc=Dh(Bt)}je=he.cloneNode(!0),Ct(je,r.ghostClass,!1),Ct(je,r.fallbackClass,!0),Ct(je,r.dragClass,!0),we(je,"transition",""),we(je,"transform",""),we(je,"box-sizing","border-box"),we(je,"margin",0),we(je,"top",n.top),we(je,"left",n.left),we(je,"width",n.width),we(je,"height",n.height),we(je,"opacity","0.8"),we(je,"position",Aa?"absolute":"fixed"),we(je,"zIndex","100000"),we(je,"pointerEvents","none"),Ie.ghost=je,t.appendChild(je),we(je,"transform-origin",Mh/parseInt(je.style.width)*100+"% "+Fh/parseInt(je.style.height)*100+"%")}},_onDragStart:function(t,n){var r=this,o=t.dataTransfer,s=r.options;if(dn("dragStart",this,{evt:t}),Ie.eventCanceled){this._onDrop();return}dn("setupClone",this),Ie.eventCanceled||(xt=kd(he),xt.draggable=!1,xt.style["will-change"]="",this._hideClone(),Ct(xt,this.options.chosenClass,!1),Ie.clone=xt),r.cloneId=Ka(function(){dn("clone",r),!Ie.eventCanceled&&(r.options.removeCloneOnHide||vt.insertBefore(xt,he),r._hideClone(),nn({sortable:r,name:"clone"}))}),!n&&Ct(he,s.dragClass,!0),n?(xl=!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),we(he,"transform","translateZ(0)")),ls=!0,r._dragStartId=Ka(r._dragStarted.bind(r,n,t)),Ze(document,"selectstart",r),si=!0,zi&&we(document.body,"user-select","none")},_onDragOver:function(t){var n=this.el,r=t.target,o,s,i,a=this.options,l=a.group,u=Ie.active,c=xa===l,m=a.sort,d=jt||u,f,h=this,_=!1;if(ym)return;function b(le,Ne){dn(le,h,wr({evt:t,isOwner:c,axis:f?"vertical":"horizontal",revert:i,dragRect:o,targetRect:s,canSort:m,fromSortable:d,target:r,completed:w,onMove:function(Ve,He){return Oa(vt,n,he,o,Ve,zt(Ve),t,He)},changed:g},Ne))}function v(){b("dragOverAnimationCapture"),h.captureAnimationState(),h!==d&&d.captureAnimationState()}function w(le){return b("dragOverCompleted",{insertion:le}),le&&(c?u._hideClone():u._showClone(h),h!==d&&(Ct(he,jt?jt.options.ghostClass:u.options.ghostClass,!1),Ct(he,a.ghostClass,!0)),jt!==h&&h!==Ie.active?jt=h:h===Ie.active&&jt&&(jt=null),d===h&&(h._ignoreWhileAnimating=r),h.animateAll(function(){b("dragOverAnimationComplete"),h._ignoreWhileAnimating=null}),h!==d&&(d.animateAll(),d._ignoreWhileAnimating=null)),(r===he&&!he.animated||r===n&&!r.animated)&&(es=null),!a.dragoverBubble&&!t.rootEl&&r!==document&&(he.parentNode[Xt]._isOutsideThisEl(t.target),!le&&xo(t)),!a.dragoverBubble&&t.stopPropagation&&t.stopPropagation(),_=!0}function g(){Cn=Ot(he),ro=Ot(he,a.draggable),nn({sortable:h,name:"change",toEl:n,newIndex:Cn,newDraggableIndex:ro,originalEvent:t})}if(t.preventDefault!==void 0&&t.cancelable&&t.preventDefault(),r=Xn(r,a.draggable,n,!0),b("dragOver"),Ie.eventCanceled)return _;if(he.contains(t.target)||r.animated&&r.animatingX&&r.animatingY||h._ignoreWhileAnimating===r)return w(!1);if(xl=!1,u&&!a.disabled&&(c?m||(i=Et!==vt):jt===this||(this.lastPutMode=xa.checkPull(this,u,he,t))&&l.checkPut(this,u,he,t))){if(f=this._getDirection(t,r)==="vertical",o=zt(he),b("dragOverValid"),Ie.eventCanceled)return _;if(i)return Et=vt,v(),this._hideClone(),b("revert"),Ie.eventCanceled||(To?vt.insertBefore(he,To):vt.appendChild(he)),w(!0);var y=Cd(n,a.draggable);if(!y||jF(t,f,this)&&!y.animated){if(y===he)return w(!1);if(y&&n===t.target&&(r=y),r&&(s=zt(r)),Oa(vt,n,he,o,r,s,t,!!r)!==!1)return v(),n.appendChild(he),Et=n,g(),w(!0)}else if(y&&UF(t,f,this)){var S=Os(n,0,a,!0);if(S===he)return w(!1);if(r=S,s=zt(r),Oa(vt,n,he,o,r,s,t,!1)!==!1)return v(),n.insertBefore(he,S),Et=n,g(),w(!0)}else if(r.parentNode===n){s=zt(r);var C=0,L,N=he.parentNode!==n,x=!RF(he.animated&&he.toRect||o,r.animated&&r.toRect||s,f),F=f?"top":"left",q=Nh(r,"top","top")||Nh(he,"top","top"),U=q?q.scrollTop:void 0;es!==r&&(L=s[F],ki=!1,Ta=!x&&a.invertSwap||N),C=WF(t,r,s,f,x?1:a.swapThreshold,a.invertedSwapThreshold==null?a.swapThreshold:a.invertedSwapThreshold,Ta,es===r);var W;if(C!==0){var Q=Ot(he);do Q-=C,W=Et.children[Q];while(W&&(we(W,"display")==="none"||W===je))}if(C===0||W===r)return w(!1);es=r,Ci=C;var de=r.nextElementSibling,G=!1;G=C===1;var te=Oa(vt,n,he,o,r,s,t,G);if(te!==!1)return(te===1||te===-1)&&(G=te===1),ym=!0,setTimeout(HF,30),v(),G&&!de?n.appendChild(he):r.parentNode.insertBefore(he,G?de:r),q&&Eb(q,0,U-q.scrollTop),Et=he.parentNode,L!==void 0&&!Ta&&(Ga=Math.abs(L-zt(r)[F])),g(),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",xo),qe(document,"mousemove",xo),qe(document,"touchmove",xo)},_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(Cn=Ot(he),ro=Ot(he,r.draggable),dn("drop",this,{evt:t}),Et=he&&he.parentNode,Cn=Ot(he),ro=Ot(he,r.draggable),Ie.eventCanceled){this._nulling();return}ls=!1,Ta=!1,ki=!1,clearInterval(this._loopId),clearTimeout(this._dragStartTimer),bm(this.cloneId),bm(this._dragStartId),this.nativeDraggable&&(qe(document,"drop",this),qe(n,"dragstart",this._onDragStart)),this._offMoveEvents(),this._offUpEvents(),zi&&we(document.body,"user-select",""),we(he,"transform",""),t&&(si&&(t.cancelable&&t.preventDefault(),!r.dropBubble&&t.stopPropagation()),je&&je.parentNode&&je.parentNode.removeChild(je),(vt===Et||jt&&jt.lastPutMode!=="clone")&&xt&&xt.parentNode&&xt.parentNode.removeChild(xt),he&&(this.nativeDraggable&&qe(he,"dragend",this),fc(he),he.style["will-change"]="",si&&!ls&&Ct(he,jt?jt.options.ghostClass:this.options.ghostClass,!1),Ct(he,this.options.chosenClass,!1),nn({sortable:this,name:"unchoose",toEl:Et,newIndex:null,newDraggableIndex:null,originalEvent:t}),vt!==Et?(Cn>=0&&(nn({rootEl:Et,name:"add",toEl:Et,fromEl:vt,originalEvent:t}),nn({sortable:this,name:"remove",toEl:Et,originalEvent:t}),nn({rootEl:Et,name:"sort",toEl:Et,fromEl:vt,originalEvent:t}),nn({sortable:this,name:"sort",toEl:Et,originalEvent:t})),jt&&jt.save()):Cn!==ds&&Cn>=0&&(nn({sortable:this,name:"update",toEl:Et,originalEvent:t}),nn({sortable:this,name:"sort",toEl:Et,originalEvent:t})),Ie.active&&((Cn==null||Cn===-1)&&(Cn=ds,ro=Si),nn({sortable:this,name:"end",toEl:Et,originalEvent:t}),this.save()))),this._nulling()},_nulling:function(){dn("nulling",this),vt=he=Et=je=To=xt=qa=so=Eo=Zn=si=Cn=ro=ds=Si=es=Ci=jt=xa=Ie.dragged=Ie.ghost=Ie.clone=Ie.active=null,Al.forEach(function(t){t.checked=!0}),Al.length=cc=mc=0},handleEvent:function(t){switch(t.type){case"drop":case"dragend":this._onDrop(t);break;case"dragenter":case"dragover":he&&(this._onDragOver(t),VF(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],Xn(n,i.draggable,this.el,!1)&&t.push(n.getAttribute(i.dataIdAttr)||qF(n));return t},sort:function(t,n){var r={},o=this.el;this.toArray().forEach(function(s,i){var a=o.children[i];Xn(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 Xn(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=ra.modifyOption(this,t,n);typeof o<"u"?r[t]=o:r[t]=n,t==="group"&&Ab(r)},destroy:function(){dn("destroy",this);var t=this.el;t[Xt]=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(),Tl.splice(Tl.indexOf(this.el),1),this.el=t=null},_hideClone:function(){if(!so){if(dn("hideClone",this),Ie.eventCanceled)return;we(xt,"display","none"),this.options.removeCloneOnHide&&xt.parentNode&&xt.parentNode.removeChild(xt),so=!0}},_showClone:function(t){if(t.lastPutMode!=="clone"){this._hideClone();return}if(so){if(dn("showClone",this),Ie.eventCanceled)return;he.parentNode==vt&&!this.options.group.revertClone?vt.insertBefore(xt,he):To?vt.insertBefore(xt,To):vt.appendChild(xt),this.options.group.revertClone&&this.animate(he,xt),we(xt,"display",""),so=!1}}};function VF(e){e.dataTransfer&&(e.dataTransfer.dropEffect="move"),e.cancelable&&e.preventDefault()}function Oa(e,t,n,r,o,s,i,a){var l,u=e[Xt],c=u.options.onMove,m;return window.CustomEvent&&!Ur&&!na?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),c&&(m=c.call(u,l,i)),m}function fc(e){e.draggable=!1}function HF(){ym=!1}function UF(e,t,n){var r=zt(Os(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 jF(e,t,n){var r=zt(Cd(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 WF(e,t,n,r,o,s,i,a){var l=r?e.clientY:e.clientX,u=r?n.height:n.width,c=r?n.top:n.left,m=r?n.bottom:n.right,d=!1;if(!i){if(a&&Ga<u*o){if(!ki&&(Ci===1?l>c+u*s/2:l<m-u*s/2)&&(ki=!0),ki)d=!0;else if(Ci===1?l<c+Ga:l>m-Ga)return-Ci}else if(l>c+u*(1-o)/2&&l<m-u*(1-o)/2)return BF(t)}return d=d||i,d&&(l<c+u*s/2||l>m-u*s/2)?l>c+u/2?1:-1:0}function BF(e){return Ot(he)<Ot(e)?1:-1}function qF(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 GF(e){Al.length=0;for(var t=e.getElementsByTagName("input"),n=t.length;n--;){var r=t[n];r.checked&&Al.push(r)}}function Ka(e){return setTimeout(e,0)}function bm(e){return clearTimeout(e)}Cu&&Ze(document,"touchmove",function(e){(Ie.active||ls)&&e.cancelable&&e.preventDefault()});Ie.utils={on:Ze,off:qe,css:we,find:Cb,is:function(t,n){return!!Xn(t,n,t,!1)},extend:OF,throttle:kb,closest:Xn,toggleClass:Ct,clone:kd,index:Ot,nextTick:Ka,cancelNextTick:bm,detectDirection:Tb,getChild:Os};Ie.get=function(e){return e[Xt]};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=wr(wr({},Ie.utils),r.utils)),ra.mount(r)})};Ie.create=function(e,t){return new Ie(e,t)};Ie.version=EF;var It=[],ii,vm,zm=!1,pc,hc,Ol,ai;function KF(){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)),Hh(),Za(),$F()},nulling:function(){Ol=vm=ii=zm=ai=pc=hc=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(Ol=n,r||this.options.forceAutoScrollFallback||na||Ur||zi){_c(n,this.options,a,r);var l=io(a,!0);zm&&(!ai||s!==pc||i!==hc)&&(ai&&Hh(),ai=setInterval(function(){var u=io(document.elementFromPoint(s,i),!0);u!==l&&(l=u,Za()),_c(n,o.options,u,r)},10),pc=s,hc=i)}else{if(!this.options.bubbleScroll||io(a,!0)===vr()){Za();return}_c(n,this.options,io(a,!1),!1)}}},jn(e,{pluginName:"scroll",initializeByDefault:!0})}function Za(){It.forEach(function(e){clearInterval(e.pid)}),It=[]}function Hh(){clearInterval(ai)}var _c=kb(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=vr(),u=!1,c;vm!==n&&(vm=n,Za(),ii=t.scroll,c=t.scrollFn,ii===!0&&(ii=io(n,!0)));var m=0,d=ii;do{var f=d,h=zt(f),_=h.top,b=h.bottom,v=h.left,w=h.right,g=h.width,y=h.height,S=void 0,C=void 0,L=f.scrollWidth,N=f.scrollHeight,x=we(f),F=f.scrollLeft,q=f.scrollTop;f===l?(S=g<L&&(x.overflowX==="auto"||x.overflowX==="scroll"||x.overflowX==="visible"),C=y<N&&(x.overflowY==="auto"||x.overflowY==="scroll"||x.overflowY==="visible")):(S=g<L&&(x.overflowX==="auto"||x.overflowX==="scroll"),C=y<N&&(x.overflowY==="auto"||x.overflowY==="scroll"));var U=S&&(Math.abs(w-o)<=i&&F+g<L)-(Math.abs(v-o)<=i&&!!F),W=C&&(Math.abs(b-s)<=i&&q+y<N)-(Math.abs(_-s)<=i&&!!q);if(!It[m])for(var Q=0;Q<=m;Q++)It[Q]||(It[Q]={});(It[m].vx!=U||It[m].vy!=W||It[m].el!==f)&&(It[m].el=f,It[m].vx=U,It[m].vy=W,clearInterval(It[m].pid),(U!=0||W!=0)&&(u=!0,It[m].pid=setInterval((function(){r&&this.layer===0&&Ie.active._onTouchMove(Ol);var de=It[this.layer].vy?It[this.layer].vy*a:0,G=It[this.layer].vx?It[this.layer].vx*a:0;typeof c=="function"&&c.call(Ie.dragged.parentNode[Xt],G,de,e,Ol,It[this.layer].el)!=="continue"||Eb(It[this.layer].el,G,de)}).bind({layer:m}),24))),m++}while(t.bubbleScroll&&d!==l&&(d=io(d,!1)));zm=u}},30),Pb=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 c=n.changedTouches&&n.changedTouches.length?n.changedTouches[0]:n,m=document.elementFromPoint(c.clientX,c.clientY);l(),u&&!u.el.contains(m)&&(i("spill"),this.onSpill({dragEl:o,putSortable:r}))}};function Ed(){}Ed.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=Os(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:Pb};jn(Ed,{pluginName:"revertOnSpill"});function xd(){}xd.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:Pb};jn(xd,{pluginName:"removeOnSpill"});var In;function ZF(){function e(){this.defaults={swapClass:"sortable-swap-highlight"}}return e.prototype={dragStart:function(n){var r=n.dragEl;In=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,c=this.options;if(o&&o!==u){var m=In;s(o)!==!1?(Ct(o,c.swapClass,!0),In=o):In=null,m&&m!==In&&Ct(m,c.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;In&&Ct(In,a.swapClass,!1),In&&(a.swap||o&&o.options.swap)&&s!==In&&(i.captureAnimationState(),i!==r&&r.captureAnimationState(),YF(s,In),i.animateAll(),i!==r&&r.animateAll())},nulling:function(){In=null}},jn(e,{pluginName:"swap",eventProperties:function(){return{swapItem:In}}})}function YF(e,t){var n=e.parentNode,r=t.parentNode,o,s;!n||!r||n.isEqualNode(t)||r.isEqualNode(e)||(o=Ot(e),s=Ot(t),n.isEqualNode(r)&&o<s&&s++,n.insertBefore(t,n.children[o]),r.insertBefore(e,r.children[s]))}var Fe=[],Sn=[],Ys,Yn,Xs=!1,fn=!1,ts=!1,gt,Js,$a;function XF(){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&&Yn===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;gt=r},delayEnded:function(){this.isMultiDrag=~Fe.indexOf(gt)},setupClone:function(n){var r=n.sortable,o=n.cancel;if(this.isMultiDrag){for(var s=0;s<Fe.length;s++)Sn.push(kd(Fe[s])),Sn[s].sortableIndex=Fe[s].sortableIndex,Sn[s].draggable=!1,Sn[s].style["will-change"]="",Ct(Sn[s],this.options.selectedClass,!1),Fe[s]===gt&&Ct(Sn[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&&Yn===r&&(Uh(!0,o),s("clone"),i()))},showClone:function(n){var r=n.cloneNowShown,o=n.rootEl,s=n.cancel;this.isMultiDrag&&(Uh(!1,o),Sn.forEach(function(i){we(i,"display","")}),r(),$a=!1,s())},hideClone:function(n){var r=this;n.sortable;var o=n.cloneNowHidden,s=n.cancel;this.isMultiDrag&&(Sn.forEach(function(i){we(i,"display","none"),r.options.removeCloneOnHide&&i.parentNode&&i.parentNode.removeChild(i)}),o(),$a=!0,s())},dragStartGlobal:function(n){n.sortable,!this.isMultiDrag&&Yn&&Yn.multiDrag._deselectMultiDrag(),Fe.forEach(function(r){r.sortableIndex=Ot(r)}),Fe=Fe.sort(function(r,o){return r.sortableIndex-o.sortableIndex}),ts=!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!==gt&&we(i,"position","absolute")});var s=zt(gt,!1,!0,!0);Fe.forEach(function(i){i!==gt&&Rh(i,s)}),fn=!0,Xs=!0}o.animateAll(function(){fn=!1,Xs=!1,r.options.animation&&Fe.forEach(function(i){lc(i)}),r.options.sort&&Pa()})}},dragOver:function(n){var r=n.target,o=n.completed,s=n.cancel;fn&&~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:fn?zt(a):i}),lc(a),a.fromRect=i,r.removeAnimationState(a)}),fn=!1,JF(!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(),Xs=!1,u.animation&&Fe.length>1&&(fn||!o&&!i.options.sort&&!l)){var c=zt(gt,!1,!0,!0);Fe.forEach(function(d){d!==gt&&(Rh(d,c),a.appendChild(d))}),fn=!0}if(!o)if(fn||Pa(),Fe.length>1){var m=$a;i._showClone(r),i.options.animation&&!$a&&m&&Sn.forEach(function(d){i.addAnimationState({target:d,rect:Js}),d.fromRect=Js,d.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){Js=jn({},r);var i=No(gt,!0);Js.top-=i.f,Js.left-=i.e}},dragOverAnimationComplete:function(){fn&&(fn=!1,Pa())},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,c=u||this.sortable;if(r){var m=this.options,d=s.children;if(!ts)if(m.multiDragKey&&!this.multiDragKeyDown&&this._deselectMultiDrag(),Ct(gt,m.selectedClass,!~Fe.indexOf(gt)),~Fe.indexOf(gt))Fe.splice(Fe.indexOf(gt),1),Ys=null,oi({sortable:i,rootEl:o,name:"deselect",targetEl:gt});else{if(Fe.push(gt),oi({sortable:i,rootEl:o,name:"select",targetEl:gt}),r.shiftKey&&Ys&&i.el.contains(Ys)){var f=Ot(Ys),h=Ot(gt);if(~f&&~h&&f!==h){var _,b;for(h>f?(b=f,_=h):(b=h,_=f+1);b<_;b++)~Fe.indexOf(d[b])||(Ct(d[b],m.selectedClass,!0),Fe.push(d[b]),oi({sortable:i,rootEl:o,name:"select",targetEl:d[b]}))}}else Ys=gt;Yn=c}if(ts&&this.isMultiDrag){if(fn=!1,(s[Xt].options.sort||s!==o)&&Fe.length>1){var v=zt(gt),w=Ot(gt,":not(."+this.options.selectedClass+")");if(!Xs&&m.animation&&(gt.thisAnimationDuration=null),c.captureAnimationState(),!Xs&&(m.animation&&(gt.fromRect=v,Fe.forEach(function(y){if(y.thisAnimationDuration=null,y!==gt){var S=fn?zt(y):v;y.fromRect=S,c.addAnimationState({target:y,rect:S})}})),Pa(),Fe.forEach(function(y){d[w]?s.insertBefore(y,d[w]):s.appendChild(y),w++}),l===Ot(gt))){var g=!1;Fe.forEach(function(y){if(y.sortableIndex!==Ot(y)){g=!0;return}}),g&&a("update")}Fe.forEach(function(y){lc(y)}),c.animateAll()}Yn=c}(o===s||u&&u.lastPutMode!=="clone")&&Sn.forEach(function(y){y.parentNode&&y.parentNode.removeChild(y)})}},nullingGlobal:function(){this.isMultiDrag=ts=!1,Sn.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 ts<"u"&&ts)&&Yn===this.sortable&&!(n&&Xn(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(),oi({sortable:this.sortable,rootEl:this.sortable.el,name:"deselect",targetEl:r})}},_checkKeyDown:function(n){n.key===this.options.multiDragKey&&(this.multiDragKeyDown=!0)},_checkKeyUp:function(n){n.key===this.options.multiDragKey&&(this.multiDragKeyDown=!1)}},jn(e,{pluginName:"multiDrag",utils:{select:function(n){var r=n.parentNode[Xt];!r||!r.options.multiDrag||~Fe.indexOf(n)||(Yn&&Yn!==r&&(Yn.multiDrag._deselectMultiDrag(),Yn=r),Ct(n,r.options.selectedClass,!0),Fe.push(n))},deselect:function(n){var r=n.parentNode[Xt],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;fn&&s!==gt?i=-1:fn?i=Ot(s,":not(."+n.options.selectedClass+")"):i=Ot(s),o.push({multiDragElement:s,index:i})}),{items:zF(Fe),clones:[].concat(Sn),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 JF(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 Uh(e,t){Sn.forEach(function(n,r){var o=t.children[n.sortableIndex+(e?Number(r):0)];o?t.insertBefore(n,o):t.appendChild(n)})}function Pa(){Fe.forEach(function(e){e!==gt&&e.parentNode&&e.parentNode.removeChild(e)})}Ie.mount(new KF);Ie.mount(xd,Ed);const QF=Object.freeze(Object.defineProperty({__proto__:null,MultiDrag:XF,Sortable:Ie,Swap:ZF,default:Ie},Symbol.toStringTag,{value:"Module"})),eV=By(QF);(function(e,t){(function(r,o){e.exports=o(Jy,eV)})(typeof self<"u"?self:Wy,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 c in a)i.d(u,c,(function(m){return a[m]}).bind(null,c));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,c){if(a(l),u===void 0)return l;switch(c){case 0:return function(){return l.call(u)};case 1:return function(m){return l.call(u,m)};case 2:return function(m,d){return l.call(u,m,d)};case 3:return function(m,d,f){return l.call(u,m,d,f)}}return function(){return l.apply(u,arguments)}}},"057f":function(o,s,i){var a=i("fc6a"),l=i("241c").f,u={}.toString,c=typeof window=="object"&&window&&Object.getOwnPropertyNames?Object.getOwnPropertyNames(window):[],m=function(d){try{return l(d)}catch{return c.slice()}};o.exports.f=function(f){return c&&u.call(f)=="[object Window]"?m(f):l(a(f))}},"06cf":function(o,s,i){var a=i("83ab"),l=i("d1e7"),u=i("5c6c"),c=i("fc6a"),m=i("c04e"),d=i("5135"),f=i("0cfb"),h=Object.getOwnPropertyDescriptor;s.f=a?h:function(b,v){if(b=c(b),v=m(v,!0),f)try{return h(b,v)}catch{}if(d(b,v))return u(!l.f.call(b,v),b[v])}},"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"),c=i("ae40"),m=u("reduce"),d=c("reduce",{1:0});a({target:"Array",proto:!0,forced:!m||!d},{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,c){var m=u.exec;if(typeof m=="function"){var d=m.call(u,c);if(typeof d!="object")throw TypeError("RegExp exec method returned something other than an Object or null");return d}if(a(u)!=="RegExp")throw TypeError("RegExp#exec called on incompatible receiver");return l.call(u,c)}},"159b":function(o,s,i){var a=i("da84"),l=i("fdbc"),u=i("17c2"),c=i("9112");for(var m in l){var d=a[m],f=d&&d.prototype;if(f&&f.forEach!==u)try{c(f,"forEach",u)}catch{f.forEach=u}}},"17c2":function(o,s,i){var a=i("b727").forEach,l=i("a640"),u=i("ae40"),c=l("forEach"),m=u("forEach");o.exports=!c||!m?function(f){return a(this,f,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 c=0,m={next:function(){return{done:!!c++}},return:function(){u=!0}};m[l]=function(){return this},Array.from(m,function(){throw 2})}catch{}o.exports=function(d,f){if(!f&&!u)return!1;var h=!1;try{var _={};_[l]=function(){return{next:function(){return{done:h=!0}}}},d(_)}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"),c=l("species");o.exports=function(m){return u>=51||!a(function(){var d=[],f=d.constructor={};return f[c]=function(){return{foo:1}},d[m](Boolean).foo!==1})}},"23cb":function(o,s,i){var a=i("a691"),l=Math.max,u=Math.min;o.exports=function(c,m){var d=a(c);return d<0?l(d+m,0):u(d,m)}},"23e7":function(o,s,i){var a=i("da84"),l=i("06cf").f,u=i("9112"),c=i("6eeb"),m=i("ce4e"),d=i("e893"),f=i("94ca");o.exports=function(h,_){var b=h.target,v=h.global,w=h.stat,g,y,S,C,L,N;if(v?y=a:w?y=a[b]||m(b,{}):y=(a[b]||{}).prototype,y)for(S in _){if(L=_[S],h.noTargetGet?(N=l(y,S),C=N&&N.value):C=y[S],g=f(v?S:b+(w?".":"#")+S,h.forced),!g&&C!==void 0){if(typeof L==typeof C)continue;d(L,C)}(h.sham||C&&C.sham)&&u(L,"sham",!0),c(y,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(m){return a(m,u)}},"25f0":function(o,s,i){var a=i("6eeb"),l=i("825a"),u=i("d039"),c=i("ad6d"),m="toString",d=RegExp.prototype,f=d[m],h=u(function(){return f.call({source:"a",flags:"b"})!="/a/b"}),_=f.name!=m;(h||_)&&a(RegExp.prototype,m,function(){var v=l(this),w=String(v.source),g=v.flags,y=String(g===void 0&&v instanceof RegExp&&!("flags"in d)?c.call(v):g);return"/"+w+"/"+y},{unsafe:!0})},"2ca0":function(o,s,i){var a=i("23e7"),l=i("06cf").f,u=i("50c4"),c=i("5a34"),m=i("1d80"),d=i("ab13"),f=i("c430"),h="".startsWith,_=Math.min,b=d("startsWith"),v=!f&&!b&&!!function(){var w=l(String.prototype,"startsWith");return w&&!w.writable}();a({target:"String",proto:!0,forced:!v&&!b},{startsWith:function(g){var y=String(m(this));c(g);var S=u(_(arguments.length>1?arguments[1]:void 0,y.length)),C=String(g);return h?h.call(y,C,S):y.slice(S,S+C.length)===C}})},"2d00":function(o,s,i){var a=i("da84"),l=i("342f"),u=a.process,c=u&&u.versions,m=c&&c.v8,d,f;m?(d=m.split("."),f=d[0]+d[1]):l&&(d=l.match(/Edge\/(\d+)/),(!d||d[1]>=74)&&(d=l.match(/Chrome\/(\d+)/),d&&(f=d[1]))),o.exports=f&&+f},"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"),c=u("iterator");o.exports=function(m){if(m!=null)return m[c]||m["@@iterator"]||l[a(m)]}},"37e8":function(o,s,i){var a=i("83ab"),l=i("9bf2"),u=i("825a"),c=i("df75");o.exports=a?Object.defineProperties:function(d,f){u(d);for(var h=c(f),_=h.length,b=0,v;_>b;)l.f(d,v=h[b++],f[v]);return d}},"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"),c="String Iterator",m=l.set,d=l.getterFor(c);u(String,"String",function(f){m(this,{type:c,string:String(f),index:0})},function(){var h=d(this),_=h.string,b=h.index,v;return b>=_.length?{value:void 0,done:!0}:(v=a(_,b),h.index+=v.length,{value:v,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(c){return l(c)=="String"?u.call(c,""):Object(c)}:Object},"44d2":function(o,s,i){var a=i("b622"),l=i("7c73"),u=i("9bf2"),c=a("unscopables"),m=Array.prototype;m[c]==null&&u.f(m,c,{configurable:!0,value:l(null)}),o.exports=function(d){m[c][d]=!0}},"44e7":function(o,s,i){var a=i("861d"),l=i("c6b6"),u=i("b622"),c=u("match");o.exports=function(m){var d;return a(m)&&((d=m[c])!==void 0?!!d:l(m)=="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"),c=function(m){return function(d,f,h){var _=a(d),b=l(_.length),v=u(h,b),w;if(m&&f!=f){for(;b>v;)if(w=_[v++],w!=w)return!0}else for(;b>v;v++)if((m||v in _)&&_[v]===f)return m||v||0;return!m&&-1}};o.exports={includes:c(!0),indexOf:c(!1)}},"4de4":function(o,s,i){var a=i("23e7"),l=i("b727").filter,u=i("1dde"),c=i("ae40"),m=u("filter"),d=c("filter");a({target:"Array",proto:!0,forced:!m||!d},{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"),c=i("e95a"),m=i("50c4"),d=i("8418"),f=i("35a1");o.exports=function(_){var b=l(_),v=typeof this=="function"?this:Array,w=arguments.length,g=w>1?arguments[1]:void 0,y=g!==void 0,S=f(b),C=0,L,N,x,F,q,U;if(y&&(g=a(g,w>2?arguments[2]:void 0,2)),S!=null&&!(v==Array&&c(S)))for(F=S.call(b),q=F.next,N=new v;!(x=q.call(F)).done;C++)U=y?u(F,g,[x.value,C],!0):x.value,d(N,C,U);else for(L=m(b.length),N=new v(L);L>C;C++)U=y?g(b[C],C):b[C],d(N,C,U);return N.length=C,N}},"4fad":function(o,s,i){var a=i("23e7"),l=i("6f53").entries;a({target:"Object",stat:!0},{entries:function(c){return l(c)}})},"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"),c=i("50c4"),m=i("a691"),d=i("1d80"),f=i("8aa5"),h=i("14c3"),_=Math.max,b=Math.min,v=Math.floor,w=/\$([$&'`]|\d\d?|<[^>]*>)/g,g=/\$([$&'`]|\d\d?)/g,y=function(S){return S===void 0?S:String(S)};a("replace",2,function(S,C,L,N){var x=N.REGEXP_REPLACE_SUBSTITUTES_UNDEFINED_CAPTURE,F=N.REPLACE_KEEPS_$0,q=x?"$":"$0";return[function(Q,de){var G=d(this),te=Q==null?void 0:Q[S];return te!==void 0?te.call(Q,G,de):C.call(String(G),Q,de)},function(W,Q){if(!x&&F||typeof Q=="string"&&Q.indexOf(q)===-1){var de=L(C,W,this,Q);if(de.done)return de.value}var G=l(W),te=String(this),le=typeof Q=="function";le||(Q=String(Q));var Ne=G.global;if(Ne){var it=G.unicode;G.lastIndex=0}for(var Ve=[];;){var He=h(G,te);if(He===null||(Ve.push(He),!Ne))break;var at=String(He[0]);at===""&&(G.lastIndex=f(te,c(G.lastIndex),it))}for(var lt="",mt=0,Be=0;Be<Ve.length;Be++){He=Ve[Be];for(var K=String(He[0]),me=_(b(m(He.index),te.length),0),ue=[],ye=1;ye<He.length;ye++)ue.push(y(He[ye]));var Ue=He.groups;if(le){var Ge=[K].concat(ue,me,te);Ue!==void 0&&Ge.push(Ue);var O=String(Q.apply(void 0,Ge))}else O=U(K,te,me,ue,Ue,Q);me>=mt&&(lt+=te.slice(mt,me)+O,mt=me+K.length)}return lt+te.slice(mt)}];function U(W,Q,de,G,te,le){var Ne=de+W.length,it=G.length,Ve=g;return te!==void 0&&(te=u(te),Ve=w),C.call(le,Ve,function(He,at){var lt;switch(at.charAt(0)){case"$":return"$";case"&":return W;case"`":return Q.slice(0,de);case"'":return Q.slice(Ne);case"<":lt=te[at.slice(1,-1)];break;default:var mt=+at;if(mt===0)return He;if(mt>it){var Be=v(mt/10);return Be===0?He:Be<=it?G[Be-1]===void 0?at.charAt(1):G[Be-1]+at.charAt(1):He}lt=G[mt-1]}return lt===void 0?"":lt})}})},5692:function(o,s,i){var a=i("c430"),l=i("c6cd");(o.exports=function(u,c){return l[u]||(l[u]=c!==void 0?c:{})})("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"),c=i("825a");o.exports=a("Reflect","ownKeys")||function(d){var f=l.f(c(d)),h=u.f;return h?f.concat(h(d)):f}},"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"),c=i("50c4"),m=i("1c0b"),d=i("65f0");a({target:"Array",proto:!0},{flatMap:function(h){var _=u(this),b=c(_.length),v;return m(h),v=d(_,0),v.length=l(v,_,_,b,0,1,h,arguments.length>1?arguments[1]:void 0),v}})},6547:function(o,s,i){var a=i("a691"),l=i("1d80"),u=function(c){return function(m,d){var f=String(l(m)),h=a(d),_=f.length,b,v;return h<0||h>=_?c?"":void 0:(b=f.charCodeAt(h),b<55296||b>56319||h+1===_||(v=f.charCodeAt(h+1))<56320||v>57343?c?f.charAt(h):b:c?f.slice(h,h+2):(b-55296<<10)+(v-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"),c=u("species");o.exports=function(m,d){var f;return l(m)&&(f=m.constructor,typeof f=="function"&&(f===Array||l(f.prototype))?f=void 0:a(f)&&(f=f[c],f===null&&(f=void 0))),new(f===void 0?Array:f)(d===0?0:d)}},"69f3":function(o,s,i){var a=i("7f9a"),l=i("da84"),u=i("861d"),c=i("9112"),m=i("5135"),d=i("f772"),f=i("d012"),h=l.WeakMap,_,b,v,w=function(x){return v(x)?b(x):_(x,{})},g=function(x){return function(F){var q;if(!u(F)||(q=b(F)).type!==x)throw TypeError("Incompatible receiver, "+x+" required");return q}};if(a){var y=new h,S=y.get,C=y.has,L=y.set;_=function(x,F){return L.call(y,x,F),F},b=function(x){return S.call(y,x)||{}},v=function(x){return C.call(y,x)}}else{var N=d("state");f[N]=!0,_=function(x,F){return c(x,N,F),F},b=function(x){return m(x,N)?x[N]:{}},v=function(x){return m(x,N)}}o.exports={set:_,get:b,has:v,enforce:w,getterFor:g}},"6eeb":function(o,s,i){var a=i("da84"),l=i("9112"),u=i("5135"),c=i("ce4e"),m=i("8925"),d=i("69f3"),f=d.get,h=d.enforce,_=String(String).split("String");(o.exports=function(b,v,w,g){var y=g?!!g.unsafe:!1,S=g?!!g.enumerable:!1,C=g?!!g.noTargetGet:!1;if(typeof w=="function"&&(typeof v=="string"&&!u(w,"name")&&l(w,"name",v),h(w).source=_.join(typeof v=="string"?v:"")),b===a){S?b[v]=w:c(v,w);return}else y?!C&&b[v]&&(S=!0):delete b[v];S?b[v]=w:l(b,v,w)})(Function.prototype,"toString",function(){return typeof this=="function"&&f(this).source||m(this)})},"6f53":function(o,s,i){var a=i("83ab"),l=i("df75"),u=i("fc6a"),c=i("d1e7").f,m=function(d){return function(f){for(var h=u(f),_=l(h),b=_.length,v=0,w=[],g;b>v;)g=_[v++],(!a||c.call(h,g))&&w.push(d?[g,h[g]]:h[g]);return w}};o.exports={entries:m(!0),values:m(!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"),c=i("9bf2").f;o.exports=function(m){var d=a.Symbol||(a.Symbol={});l(d,m)||c(d,m,{value:u.f(m)})}},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"),c=i("d012"),m=i("1be4"),d=i("cc12"),f=i("f772"),h=">",_="<",b="prototype",v="script",w=f("IE_PROTO"),g=function(){},y=function(x){return _+v+h+x+_+"/"+v+h},S=function(x){x.write(y("")),x.close();var F=x.parentWindow.Object;return x=null,F},C=function(){var x=d("iframe"),F="java"+v+":",q;return x.style.display="none",m.appendChild(x),x.src=String(F),q=x.contentWindow.document,q.open(),q.write(y("document.F=Object")),q.close(),q.F},L,N=function(){try{L=document.domain&&new ActiveXObject("htmlfile")}catch{}N=L?S(L):C();for(var x=u.length;x--;)delete N[b][u[x]];return N()};c[w]=!0,o.exports=Object.create||function(F,q){var U;return F!==null?(g[b]=a(F),U=new g,g[b]=null,U[w]=F):U=N(),q===void 0?U:l(U,q)}},"7dd0":function(o,s,i){var a=i("23e7"),l=i("9ed3"),u=i("e163"),c=i("d2bb"),m=i("d44e"),d=i("9112"),f=i("6eeb"),h=i("b622"),_=i("c430"),b=i("3f8c"),v=i("ae93"),w=v.IteratorPrototype,g=v.BUGGY_SAFARI_ITERATORS,y=h("iterator"),S="keys",C="values",L="entries",N=function(){return this};o.exports=function(x,F,q,U,W,Q,de){l(q,F,U);var G=function(Be){if(Be===W&&Ve)return Ve;if(!g&&Be in Ne)return Ne[Be];switch(Be){case S:return function(){return new q(this,Be)};case C:return function(){return new q(this,Be)};case L:return function(){return new q(this,Be)}}return function(){return new q(this)}},te=F+" Iterator",le=!1,Ne=x.prototype,it=Ne[y]||Ne["@@iterator"]||W&&Ne[W],Ve=!g&&it||G(W),He=F=="Array"&&Ne.entries||it,at,lt,mt;if(He&&(at=u(He.call(new x)),w!==Object.prototype&&at.next&&(!_&&u(at)!==w&&(c?c(at,w):typeof at[y]!="function"&&d(at,y,N)),m(at,te,!0,!0),_&&(b[te]=N))),W==C&&it&&it.name!==C&&(le=!0,Ve=function(){return it.call(this)}),(!_||de)&&Ne[y]!==Ve&&d(Ne,y,Ve),b[F]=Ve,W)if(lt={values:G(C),keys:Q?Ve:G(S),entries:G(L)},de)for(mt in lt)(g||le||!(mt in Ne))&&f(Ne,mt,lt[mt]);else a({target:F,proto:!0,forced:g||le},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(c,m,d){var f=a(m);f in c?l.f(c,f,u(0,d)):c[f]=d}},"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(c,m){l=[],a=m,u=typeof a=="function"?a.apply(s,l):a,u!==void 0&&(o.exports=u)})(typeof self<"u"?self:this,function(){function c(){var m=Object.getOwnPropertyDescriptor(document,"currentScript");if(!m&&"currentScript"in document&&document.currentScript||m&&m.get!==c&&document.currentScript)return document.currentScript;try{throw new Error}catch(L){var d=/.*at [^(]*\((.*):(.+):(.+)\)$/ig,f=/@([^@]*):(\d+):(\d+)\s*$/ig,h=d.exec(L.stack)||f.exec(L.stack),_=h&&h[1]||!1,b=h&&h[2]||!1,v=document.location.href.replace(document.location.hash,""),w,g,y,S=document.getElementsByTagName("script");_===v&&(w=document.documentElement.outerHTML,g=new RegExp("(?:[^\\n]+?\\n){0,"+(b-2)+"}[^<]*<script>([\\d\\D]*?)<\\/script>[\\d\\D]*","i"),y=w.replace(g,"$1").trim());for(var C=0;C<S.length;C++)if(S[C].readyState==="interactive"||S[C].src===_||_===v&&S[C].innerHTML&&S[C].innerHTML.trim()===y)return S[C];return null}}return c})},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,c){return u+(c?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(c,m,d){return l.f(c,m,u(1,d))}:function(c,m,d){return c[m]=d,c}},9263:function(o,s,i){var a=i("ad6d"),l=i("9f7f"),u=RegExp.prototype.exec,c=String.prototype.replace,m=u,d=function(){var b=/a/,v=/b*/g;return u.call(b,"a"),u.call(v,"a"),b.lastIndex!==0||v.lastIndex!==0}(),f=l.UNSUPPORTED_Y||l.BROKEN_CARET,h=/()??/.exec("")[1]!==void 0,_=d||h||f;_&&(m=function(v){var w=this,g,y,S,C,L=f&&w.sticky,N=a.call(w),x=w.source,F=0,q=v;return L&&(N=N.replace("y",""),N.indexOf("g")===-1&&(N+="g"),q=String(v).slice(w.lastIndex),w.lastIndex>0&&(!w.multiline||w.multiline&&v[w.lastIndex-1]!==`
`)&&(x="(?: "+x+")",q=" "+q,F++),y=new RegExp("^(?:"+x+")",N)),h&&(y=new RegExp("^"+x+"$(?!\\s)",N)),d&&(g=w.lastIndex),S=u.call(L?y: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:d&&S&&(w.lastIndex=w.global?S.index+S[0].length:g),h&&S&&S.length>1&&c.call(S[0],y,function(){for(C=1;C<arguments.length-2;C++)arguments[C]===void 0&&(S[C]=void 0)}),S}),o.exports=m},"94ca":function(o,s,i){var a=i("d039"),l=/#|\.prototype\./,u=function(h,_){var b=m[c(h)];return b==f?!0:b==d?!1:typeof _=="function"?a(_):!!_},c=u.normalize=function(h){return String(h).replace(l,".").toLowerCase()},m=u.data={},d=u.NATIVE="N",f=u.POLYFILL="P";o.exports=u},"99af":function(o,s,i){var a=i("23e7"),l=i("d039"),u=i("e8b5"),c=i("861d"),m=i("7b0b"),d=i("50c4"),f=i("8418"),h=i("65f0"),_=i("1dde"),b=i("b622"),v=i("2d00"),w=b("isConcatSpreadable"),g=9007199254740991,y="Maximum allowed index exceeded",S=v>=51||!l(function(){var x=[];return x[w]=!1,x.concat()[0]!==x}),C=_("concat"),L=function(x){if(!c(x))return!1;var F=x[w];return F!==void 0?!!F:u(x)},N=!S||!C;a({target:"Array",proto:!0,forced:N},{concat:function(F){var q=m(this),U=h(q,0),W=0,Q,de,G,te,le;for(Q=-1,G=arguments.length;Q<G;Q++)if(le=Q===-1?q:arguments[Q],L(le)){if(te=d(le.length),W+te>g)throw TypeError(y);for(de=0;de<te;de++,W++)de in le&&f(U,W,le[de])}else{if(W>=g)throw TypeError(y);f(U,W++,le)}return U.length=W,U}})},"9bdd":function(o,s,i){var a=i("825a");o.exports=function(l,u,c,m){try{return m?u(a(c)[0],c[1]):u(c)}catch(f){var d=l.return;throw d!==void 0&&a(d.call(l)),f}}},"9bf2":function(o,s,i){var a=i("83ab"),l=i("0cfb"),u=i("825a"),c=i("c04e"),m=Object.defineProperty;s.f=a?m:function(f,h,_){if(u(f),h=c(h,!0),u(_),l)try{return m(f,h,_)}catch{}if("get"in _||"set"in _)throw TypeError("Accessors not supported");return"value"in _&&(f[h]=_.value),f}},"9ed3":function(o,s,i){var a=i("ae93").IteratorPrototype,l=i("7c73"),u=i("5c6c"),c=i("d44e"),m=i("3f8c"),d=function(){return this};o.exports=function(f,h,_){var b=h+" Iterator";return f.prototype=l(a,{next:u(1,_)}),c(f,b,!1,!0),m[b]=d,f}},"9f7f":function(o,s,i){var a=i("d039");function l(u,c){return RegExp(u,c)}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"),c=function(m,d,f,h,_,b,v,w){for(var g=_,y=0,S=v?u(v,w,3):!1,C;y<h;){if(y in f){if(C=S?S(f[y],y,d):f[y],b>0&&a(C))g=c(m,d,C,l(C.length),g,b-1)-1;else{if(g>=9007199254740991)throw TypeError("Exceed the acceptable array length");m[g]=C}g++}y++}return g};o.exports=c},a352:function(o,s){o.exports=r},a434:function(o,s,i){var a=i("23e7"),l=i("23cb"),u=i("a691"),c=i("50c4"),m=i("7b0b"),d=i("65f0"),f=i("8418"),h=i("1dde"),_=i("ae40"),b=h("splice"),v=_("splice",{ACCESSORS:!0,0:0,1:2}),w=Math.max,g=Math.min,y=9007199254740991,S="Maximum allowed length exceeded";a({target:"Array",proto:!0,forced:!b||!v},{splice:function(L,N){var x=m(this),F=c(x.length),q=l(L,F),U=arguments.length,W,Q,de,G,te,le;if(U===0?W=Q=0:U===1?(W=0,Q=F-q):(W=U-2,Q=g(w(u(N),0),F-q)),F+W-Q>y)throw TypeError(S);for(de=d(x,Q),G=0;G<Q;G++)te=q+G,te in x&&f(de,G,x[te]);if(de.length=Q,W<Q){for(G=q;G<F-Q;G++)te=G+Q,le=G+W,te in x?x[le]=x[te]:delete x[le];for(G=F;G>F-Q+W;G--)delete x[G-1]}else if(W>Q)for(G=F-Q;G>q;G--)te=G+Q-1,le=G+W-1,te in x?x[le]=x[te]:delete x[le];for(G=0;G<W;G++)x[G+q]=arguments[G+2];return x.length=F-Q+W,de}})},a4d3:function(o,s,i){var a=i("23e7"),l=i("da84"),u=i("d066"),c=i("c430"),m=i("83ab"),d=i("4930"),f=i("fdbf"),h=i("d039"),_=i("5135"),b=i("e8b5"),v=i("861d"),w=i("825a"),g=i("7b0b"),y=i("fc6a"),S=i("c04e"),C=i("5c6c"),L=i("7c73"),N=i("df75"),x=i("241c"),F=i("057f"),q=i("7418"),U=i("06cf"),W=i("9bf2"),Q=i("d1e7"),de=i("9112"),G=i("6eeb"),te=i("5692"),le=i("f772"),Ne=i("d012"),it=i("90e3"),Ve=i("b622"),He=i("e538"),at=i("746f"),lt=i("d44e"),mt=i("69f3"),Be=i("b727").forEach,K=le("hidden"),me="Symbol",ue="prototype",ye=Ve("toPrimitive"),Ue=mt.set,Ge=mt.getterFor(me),O=Object[ue],P=l.Symbol,j=u("JSON","stringify"),ee=U.f,Y=W.f,se=F.f,pe=Q.f,E=te("symbols"),T=te("op-symbols"),R=te("string-to-symbol-registry"),re=te("symbol-to-string-registry"),ae=te("wks"),oe=l.QObject,H=!oe||!oe[ue]||!oe[ue].findChild,Z=m&&h(function(){return L(Y({},"a",{get:function(){return Y(this,"a",{value:7}).a}})).a!=7})?function(Pe,ke,Ae){var Ye=ee(O,ke);Ye&&delete O[ke],Y(Pe,ke,Ae),Ye&&Pe!==O&&Y(O,ke,Ye)}:Y,Ce=function(Pe,ke){var Ae=E[Pe]=L(P[ue]);return Ue(Ae,{type:me,tag:Pe,description:ke}),m||(Ae.description=ke),Ae},M=f?function(Pe){return typeof Pe=="symbol"}:function(Pe){return Object(Pe)instanceof P},V=function(ke,Ae,Ye){ke===O&&V(T,Ae,Ye),w(ke);var tt=S(Ae,!0);return w(Ye),_(E,tt)?(Ye.enumerable?(_(ke,K)&&ke[K][tt]&&(ke[K][tt]=!1),Ye=L(Ye,{enumerable:C(0,!1)})):(_(ke,K)||Y(ke,K,C(1,{})),ke[K][tt]=!0),Z(ke,tt,Ye)):Y(ke,tt,Ye)},B=function(ke,Ae){w(ke);var Ye=y(Ae),tt=N(Ye).concat(Re(Ye));return Be(tt,function(cn){(!m||_e.call(Ye,cn))&&V(ke,cn,Ye[cn])}),ke},ne=function(ke,Ae){return Ae===void 0?L(ke):B(L(ke),Ae)},_e=function(ke){var Ae=S(ke,!0),Ye=pe.call(this,Ae);return this===O&&_(E,Ae)&&!_(T,Ae)?!1:Ye||!_(this,Ae)||!_(E,Ae)||_(this,K)&&this[K][Ae]?Ye:!0},xe=function(ke,Ae){var Ye=y(ke),tt=S(Ae,!0);if(!(Ye===O&&_(E,tt)&&!_(T,tt))){var cn=ee(Ye,tt);return cn&&_(E,tt)&&!(_(Ye,K)&&Ye[K][tt])&&(cn.enumerable=!0),cn}},Me=function(ke){var Ae=se(y(ke)),Ye=[];return Be(Ae,function(tt){!_(E,tt)&&!_(Ne,tt)&&Ye.push(tt)}),Ye},Re=function(ke){var Ae=ke===O,Ye=se(Ae?T:y(ke)),tt=[];return Be(Ye,function(cn){_(E,cn)&&(!Ae||_(O,cn))&&tt.push(E[cn])}),tt};if(d||(P=function(){if(this instanceof P)throw TypeError("Symbol is not a constructor");var ke=!arguments.length||arguments[0]===void 0?void 0:String(arguments[0]),Ae=it(ke),Ye=function(tt){this===O&&Ye.call(T,tt),_(this,K)&&_(this[K],Ae)&&(this[K][Ae]=!1),Z(this,Ae,C(1,tt))};return m&&H&&Z(O,Ae,{configurable:!0,set:Ye}),Ce(Ae,ke)},G(P[ue],"toString",function(){return Ge(this).tag}),G(P,"withoutSetter",function(Pe){return Ce(it(Pe),Pe)}),Q.f=_e,W.f=V,U.f=xe,x.f=F.f=Me,q.f=Re,He.f=function(Pe){return Ce(Ve(Pe),Pe)},m&&(Y(P[ue],"description",{configurable:!0,get:function(){return Ge(this).description}}),c||G(O,"propertyIsEnumerable",_e,{unsafe:!0}))),a({global:!0,wrap:!0,forced:!d,sham:!d},{Symbol:P}),Be(N(ae),function(Pe){at(Pe)}),a({target:me,stat:!0,forced:!d},{for:function(Pe){var ke=String(Pe);if(_(R,ke))return R[ke];var Ae=P(ke);return R[ke]=Ae,re[Ae]=ke,Ae},keyFor:function(ke){if(!M(ke))throw TypeError(ke+" is not a symbol");if(_(re,ke))return re[ke]},useSetter:function(){H=!0},useSimple:function(){H=!1}}),a({target:"Object",stat:!0,forced:!d,sham:!m},{create:ne,defineProperty:V,defineProperties:B,getOwnPropertyDescriptor:xe}),a({target:"Object",stat:!0,forced:!d},{getOwnPropertyNames:Me,getOwnPropertySymbols:Re}),a({target:"Object",stat:!0,forced:h(function(){q.f(1)})},{getOwnPropertySymbols:function(ke){return q.f(g(ke))}}),j){var nt=!d||h(function(){var Pe=P();return j([Pe])!="[null]"||j({a:Pe})!="{}"||j(Object(Pe))!="{}"});a({target:"JSON",stat:!0,forced:nt},{stringify:function(ke,Ae,Ye){for(var tt=[ke],cn=1,Eu;arguments.length>cn;)tt.push(arguments[cn++]);if(Eu=Ae,!(!v(Ae)&&ke===void 0||M(ke)))return b(Ae)||(Ae=function(Rb,oa){if(typeof Eu=="function"&&(oa=Eu.call(this,Rb,oa)),!M(oa))return oa}),tt[1]=Ae,j.apply(null,tt)}})}P[ue][ye]||de(P[ue],ye,P[ue].valueOf),lt(P,me),Ne[K]=!0},a630:function(o,s,i){var a=i("23e7"),l=i("4df4"),u=i("1c7e"),c=!u(function(m){Array.from(m)});a({target:"Array",stat:!0,forced:c},{from:l})},a640:function(o,s,i){var a=i("d039");o.exports=function(l,u){var c=[][l];return!!c&&a(function(){c.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 c=/./;try{"/./"[u](c)}catch{try{return c[l]=!1,"/./"[u](c)}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"),c=Object.defineProperty,m={},d=function(f){throw f};o.exports=function(f,h){if(u(m,f))return m[f];h||(h={});var _=[][f],b=u(h,"ACCESSORS")?h.ACCESSORS:!1,v=u(h,0)?h[0]:d,w=u(h,1)?h[1]:void 0;return m[f]=!!_&&!l(function(){if(b&&!a)return!0;var g={length:-1};b?c(g,1,{enumerable:!0,get:d}):g[1]=1,_.call(g,v,w)})}},ae93:function(o,s,i){var a=i("e163"),l=i("9112"),u=i("5135"),c=i("b622"),m=i("c430"),d=c("iterator"),f=!1,h=function(){return this},_,b,v;[].keys&&(v=[].keys(),"next"in v?(b=a(a(v)),b!==Object.prototype&&(_=b)):f=!0),_==null&&(_={}),!m&&!u(_,d)&&l(_,d,h),o.exports={IteratorPrototype:_,BUGGY_SAFARI_ITERATORS:f}},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,c=u.toString,m=/^\s*function ([^ (]*)/,d="name";a&&!(d in u)&&l(u,d,{configurable:!0,get:function(){try{return c.call(this).match(m)[1]}catch{return""}}})},b622:function(o,s,i){var a=i("da84"),l=i("5692"),u=i("5135"),c=i("90e3"),m=i("4930"),d=i("fdbf"),f=l("wks"),h=a.Symbol,_=d?h:h&&h.withoutSetter||c;o.exports=function(b){return u(f,b)||(m&&u(h,b)?f[b]=h[b]:f[b]=_("Symbol."+b)),f[b]}},b64b:function(o,s,i){var a=i("23e7"),l=i("7b0b"),u=i("df75"),c=i("d039"),m=c(function(){u(1)});a({target:"Object",stat:!0,forced:m},{keys:function(f){return u(l(f))}})},b727:function(o,s,i){var a=i("0366"),l=i("44ad"),u=i("7b0b"),c=i("50c4"),m=i("65f0"),d=[].push,f=function(h){var _=h==1,b=h==2,v=h==3,w=h==4,g=h==6,y=h==5||g;return function(S,C,L,N){for(var x=u(S),F=l(x),q=a(C,L,3),U=c(F.length),W=0,Q=N||m,de=_?Q(S,U):b?Q(S,0):void 0,G,te;U>W;W++)if((y||W in F)&&(G=F[W],te=q(G,W,x),h)){if(_)de[W]=te;else if(te)switch(h){case 3:return!0;case 5:return G;case 6:return W;case 2:d.call(de,G)}else if(w)return!1}return g?-1:v||w?w:de}};o.exports={forEach:f(0),map:f(1),filter:f(2),some:f(3),every:f(4),find:f(5),findIndex:f(6)}},c04e:function(o,s,i){var a=i("861d");o.exports=function(l,u){if(!a(l))return l;var c,m;if(u&&typeof(c=l.toString)=="function"&&!a(m=c.call(l))||typeof(c=l.valueOf)=="function"&&!a(m=c.call(l))||!u&&typeof(c=l.toString)=="function"&&!a(m=c.call(l)))return m;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__",c=a[u]||l(u,{});o.exports=c},c740:function(o,s,i){var a=i("23e7"),l=i("b727").findIndex,u=i("44d2"),c=i("ae40"),m="findIndex",d=!0,f=c(m);m in[]&&Array(1)[m](function(){d=!1}),a({target:"Array",proto:!0,forced:d||!f},{findIndex:function(_){return l(this,_,arguments.length>1?arguments[1]:void 0)}}),u(m)},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"),c=i("ae40"),m=[].indexOf,d=!!m&&1/[1].indexOf(1,-0)<0,f=u("indexOf"),h=c("indexOf",{ACCESSORS:!0,1:0});a({target:"Array",proto:!0,forced:d||!f||!h},{indexOf:function(b){return d?m.apply(this,arguments)||0:l(this,b,arguments.length>1?arguments[1]:void 0)}})},ca84:function(o,s,i){var a=i("5135"),l=i("fc6a"),u=i("4d64").indexOf,c=i("d012");o.exports=function(m,d){var f=l(m),h=0,_=[],b;for(b in f)!a(c,b)&&a(f,b)&&_.push(b);for(;d.length>h;)a(f,b=d[h++])&&(~u(_,b)||_.push(b));return _}},caad:function(o,s,i){var a=i("23e7"),l=i("4d64").includes,u=i("44d2"),c=i("ae40"),m=c("indexOf",{ACCESSORS:!0,1:0});a({target:"Array",proto:!0,forced:!m},{includes:function(f){return l(this,f,arguments.length>1?arguments[1]:void 0)}}),u("includes")},cc12:function(o,s,i){var a=i("da84"),l=i("861d"),u=a.document,c=l(u)&&l(u.createElement);o.exports=function(m){return c?u.createElement(m):{}}},ce4e:function(o,s,i){var a=i("da84"),l=i("9112");o.exports=function(u,c){try{l(a,u,c)}catch{a[u]=c}return c}},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(c){return typeof c=="function"?c:void 0};o.exports=function(c,m){return arguments.length<2?u(a[c])||u(l[c]):a[c]&&a[c][m]||l[c]&&l[c][m]}},d1e7:function(o,s,i){var a={}.propertyIsEnumerable,l=Object.getOwnPropertyDescriptor,u=l&&!a.call({1:2},1);s.f=u?function(m){var d=l(this,m);return!!d&&d.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,c={},m;try{m=Object.getOwnPropertyDescriptor(Object.prototype,"__proto__").set,m.call(c,[]),u=c instanceof Array}catch{}return function(f,h){return a(f),l(h),u?m.call(f,h):f.__proto__=h,f}}():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"),c=u("toStringTag");o.exports=function(m,d,f){m&&!l(m=f?m:m.prototype,c)&&a(m,c,{configurable:!0,value:d})}},d58f:function(o,s,i){var a=i("1c0b"),l=i("7b0b"),u=i("44ad"),c=i("50c4"),m=function(d){return function(f,h,_,b){a(h);var v=l(f),w=u(v),g=c(v.length),y=d?g-1:0,S=d?-1:1;if(_<2)for(;;){if(y in w){b=w[y],y+=S;break}if(y+=S,d?y<0:g<=y)throw TypeError("Reduce of empty array with no initial value")}for(;d?y>=0:g>y;y+=S)y in w&&(b=h(b,w[y],y,v));return b}};o.exports={left:m(!1),right:m(!0)}},d784:function(o,s,i){i("ac1f");var a=i("6eeb"),l=i("d039"),u=i("b622"),c=i("9263"),m=i("9112"),d=u("species"),f=!l(function(){var w=/./;return w.exec=function(){var g=[];return g.groups={a:"7"},g},"".replace(w,"$<a>")!=="7"}),h=function(){return"a".replace(/./,"$0")==="$0"}(),_=u("replace"),b=function(){return/./[_]?/./[_]("a","$0")==="":!1}(),v=!l(function(){var w=/(?:)/,g=w.exec;w.exec=function(){return g.apply(this,arguments)};var y="ab".split(w);return y.length!==2||y[0]!=="a"||y[1]!=="b"});o.exports=function(w,g,y,S){var C=u(w),L=!l(function(){var W={};return W[C]=function(){return 7},""[w](W)!=7}),N=L&&!l(function(){var W=!1,Q=/a/;return w==="split"&&(Q={},Q.constructor={},Q.constructor[d]=function(){return Q},Q.flags="",Q[C]=/./[C]),Q.exec=function(){return W=!0,null},Q[C](""),!W});if(!L||!N||w==="replace"&&!(f&&h&&!b)||w==="split"&&!v){var x=/./[C],F=y(C,""[w],function(W,Q,de,G,te){return Q.exec===c?L&&!te?{done:!0,value:x.call(Q,de,G)}:{done:!0,value:W.call(de,Q,G)}:{done:!1}},{REPLACE_KEEPS_$0:h,REGEXP_REPLACE_SUBSTITUTES_UNDEFINED_CAPTURE:b}),q=F[0],U=F[1];a(String.prototype,w,q),a(RegExp.prototype,C,g==2?function(W,Q){return U.call(W,this,Q)}:function(W){return U.call(W,this)})}S&&m(RegExp.prototype[C],"sham",!0)}},d81d:function(o,s,i){var a=i("23e7"),l=i("b727").map,u=i("1dde"),c=i("ae40"),m=u("map"),d=c("map");a({target:"Array",proto:!0,forced:!m||!d},{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"),c=i("fc6a"),m=i("06cf"),d=i("8418");a({target:"Object",stat:!0,sham:!l},{getOwnPropertyDescriptors:function(h){for(var _=c(h),b=m.f,v=u(_),w={},g=0,y,S;v.length>g;)S=b(_,y=v[g++]),S!==void 0&&d(w,y,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"),c=i("9112"),m=i("b622"),d=m("iterator"),f=m("toStringTag"),h=u.values;for(var _ in l){var b=a[_],v=b&&b.prototype;if(v){if(v[d]!==h)try{c(v,d,h)}catch{v[d]=h}if(v[f]||c(v,f,_),l[_]){for(var w in u)if(v[w]!==u[w])try{c(v,w,u[w])}catch{v[w]=u[w]}}}}},df75:function(o,s,i){var a=i("ca84"),l=i("7839");o.exports=Object.keys||function(c){return a(c,l)}},e01a:function(o,s,i){var a=i("23e7"),l=i("83ab"),u=i("da84"),c=i("5135"),m=i("861d"),d=i("9bf2").f,f=i("e893"),h=u.Symbol;if(l&&typeof h=="function"&&(!("description"in h.prototype)||h().description!==void 0)){var _={},b=function(){var C=arguments.length<1||arguments[0]===void 0?void 0:String(arguments[0]),L=this instanceof b?new h(C):C===void 0?h():h(C);return C===""&&(_[L]=!0),L};f(b,h);var v=b.prototype=h.prototype;v.constructor=b;var w=v.toString,g=String(h("test"))=="Symbol(test)",y=/^Symbol\((.*)\)[^)]+$/;d(v,"description",{configurable:!0,get:function(){var C=m(this)?this.valueOf():this,L=w.call(C);if(c(_,C))return"";var N=g?L.slice(7,-1):L.replace(y,"$1");return N===""?void 0:N}}),a({global:!0,forced:!0},{Symbol:b})}},e163:function(o,s,i){var a=i("5135"),l=i("7b0b"),u=i("f772"),c=i("e177"),m=u("IE_PROTO"),d=Object.prototype;o.exports=c?Object.getPrototypeOf:function(f){return f=l(f),a(f,m)?f[m]:typeof f.constructor=="function"&&f instanceof f.constructor?f.constructor.prototype:f instanceof Object?d: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"),c=i("69f3"),m=i("7dd0"),d="Array Iterator",f=c.set,h=c.getterFor(d);o.exports=m(Array,"Array",function(_,b){f(this,{type:d,target:a(_),index:0,kind:b})},function(){var _=h(this),b=_.target,v=_.kind,w=_.index++;return!b||w>=b.length?(_.target=void 0,{value:void 0,done:!0}):v=="keys"?{value:w,done:!1}:v=="values"?{value:b[w],done:!1}:{value:[w,b[w]],done:!1}},"values"),u.Arguments=u.Array,l("keys"),l("values"),l("entries")},e439:function(o,s,i){var a=i("23e7"),l=i("d039"),u=i("fc6a"),c=i("06cf").f,m=i("83ab"),d=l(function(){c(1)}),f=!m||d;a({target:"Object",stat:!0,forced:f,sham:!m},{getOwnPropertyDescriptor:function(_,b){return c(u(_),b)}})},e538:function(o,s,i){var a=i("b622");s.f=a},e893:function(o,s,i){var a=i("5135"),l=i("56ef"),u=i("06cf"),c=i("9bf2");o.exports=function(m,d){for(var f=l(d),h=c.f,_=u.f,b=0;b<f.length;b++){var v=f[b];a(m,v)||h(m,v,_(d,v))}}},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"),c=Array.prototype;o.exports=function(m){return m!==void 0&&(l.Array===m||c[u]===m)}},f5df:function(o,s,i){var a=i("00ee"),l=i("c6b6"),u=i("b622"),c=u("toStringTag"),m=l(function(){return arguments}())=="Arguments",d=function(f,h){try{return f[h]}catch{}};o.exports=a?l:function(f){var h,_,b;return f===void 0?"Undefined":f===null?"Null":typeof(_=d(h=Object(f),c))=="string"?_:m?l(h):(b=l(h))=="Object"&&typeof h.callee=="function"?"Arguments":b}},f772:function(o,s,i){var a=i("5692"),l=i("90e3"),u=a("keys");o.exports=function(c){return u[c]||(u[c]=l(c))}},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 c(M,V,B){return V in M?Object.defineProperty(M,V,{value:B,enumerable:!0,configurable:!0,writable:!0}):M[V]=B,M}function m(M,V){var B=Object.keys(M);if(Object.getOwnPropertySymbols){var ne=Object.getOwnPropertySymbols(M);V&&(ne=ne.filter(function(_e){return Object.getOwnPropertyDescriptor(M,_e).enumerable})),B.push.apply(B,ne)}return B}function d(M){for(var V=1;V<arguments.length;V++){var B=arguments[V]!=null?arguments[V]:{};V%2?m(Object(B),!0).forEach(function(ne){c(M,ne,B[ne])}):Object.getOwnPropertyDescriptors?Object.defineProperties(M,Object.getOwnPropertyDescriptors(B)):m(Object(B)).forEach(function(ne){Object.defineProperty(M,ne,Object.getOwnPropertyDescriptor(B,ne))})}return M}function f(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 B=[],ne=!0,_e=!1,xe=void 0;try{for(var Me=M[Symbol.iterator](),Re;!(ne=(Re=Me.next()).done)&&(B.push(Re.value),!(V&&B.length===V));ne=!0);}catch(nt){_e=!0,xe=nt}finally{try{!ne&&Me.return!=null&&Me.return()}finally{if(_e)throw xe}}return B}}i("a630"),i("fb6a"),i("b0c0"),i("25f0");function _(M,V){(V==null||V>M.length)&&(V=M.length);for(var B=0,ne=new Array(V);B<V;B++)ne[B]=M[B];return ne}function b(M,V){if(M){if(typeof M=="string")return _(M,V);var B=Object.prototype.toString.call(M).slice(8,-1);if(B==="Object"&&M.constructor&&(B=M.constructor.name),B==="Map"||B==="Set")return Array.from(M);if(B==="Arguments"||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(B))return _(M,V)}}function v(){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 f(M)||h(M,V)||b(M,V)||v()}function g(M){if(Array.isArray(M))return _(M)}function y(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 g(M)||y(M)||b(M)||S()}var L=i("a352"),N=i.n(L);function x(M){M.parentElement!==null&&M.parentElement.removeChild(M)}function F(M,V,B){var ne=B===0?M.children[0]:M.children[B-1].nextSibling;M.insertBefore(V,ne)}var q=i("dbf1");i("13d5"),i("4fad"),i("ac1f"),i("5319");function U(M){var V=Object.create(null);return function(ne){var _e=V[ne];return _e||(V[ne]=M(ne))}}var W=/-(\w)/g,Q=U(function(M){return M.replace(W,function(V,B){return B.toUpperCase()})});i("5db7"),i("73d9");var de=["Start","Add","Remove","Update","End"],G=["Choose","Unchoose","Sort","Filter","Clone"],te=["Move"],le=[te,de,G].flatMap(function(M){return M}).map(function(M){return"on".concat(M)}),Ne={manage:te,manageAndEmit:de,emit:G};function it(M){return le.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 mt(M){return M.reduce(function(V,B){var ne=w(B,2),_e=ne[0],xe=ne[1];return V[_e]=xe,V},{})}function Be(M){var V=M.$attrs,B=M.componentData,ne=B===void 0?{}:B,_e=mt(Object.entries(V).filter(function(xe){var Me=w(xe,2),Re=Me[0];return Me[1],lt(Re)}));return d(d({},_e),ne)}function K(M){var V=M.$attrs,B=M.callBackBuilder,ne=mt(me(V));Object.entries(B).forEach(function(xe){var Me=w(xe,2),Re=Me[0],nt=Me[1];Ne[Re].forEach(function(Pe){ne["on".concat(Pe)]=nt(Pe)})});var _e="[data-draggable]".concat(ne.draggable||"");return d(d({},ne),{},{draggable:_e})}function me(M){return Object.entries(M).filter(function(V){var B=w(V,2),ne=B[0];return B[1],!lt(ne)}).map(function(V){var B=w(V,2),ne=B[0],_e=B[1];return[Q(ne),_e]}).filter(function(V){var B=w(V,2),ne=B[0];return B[1],!it(ne)})}i("c740");function ue(M,V){if(!(M instanceof V))throw new TypeError("Cannot call a class as a function")}function ye(M,V){for(var B=0;B<V.length;B++){var ne=V[B];ne.enumerable=ne.enumerable||!1,ne.configurable=!0,"value"in ne&&(ne.writable=!0),Object.defineProperty(M,ne.key,ne)}}function Ue(M,V,B){return V&&ye(M.prototype,V),M}var Ge=function(V){var B=V.el;return B},O=function(V,B){return V.__draggable_context=B},P=function(V){return V.__draggable_context},j=function(){function M(V){var B=V.nodes,ne=B.header,_e=B.default,xe=B.footer,Me=V.root,Re=V.realList;ue(this,M),this.defaultNodes=_e,this.children=[].concat(C(ne),C(_e),C(xe)),this.externalComponent=Me.externalComponent,this.rootTransition=Me.transition,this.tag=Me.tag,this.realList=Re}return Ue(M,[{key:"render",value:function(B,ne){var _e=this.tag,xe=this.children,Me=this._isRootComponent,Re=Me?{default:function(){return xe}}:xe;return B(_e,ne,Re)}},{key:"updated",value:function(){var B=this.defaultNodes,ne=this.realList;B.forEach(function(_e,xe){O(Ge(_e),{element:ne[xe],index:xe})})}},{key:"getUnderlyingVm",value:function(B){return P(B)}},{key:"getVmIndexFromDomIndex",value:function(B,ne){var _e=this.defaultNodes,xe=_e.length,Me=ne.children,Re=Me.item(B);if(Re===null)return xe;var nt=P(Re);if(nt)return nt.index;if(xe===0)return 0;var Pe=Ge(_e[0]),ke=C(Me).findIndex(function(Ae){return Ae===Pe});return B<ke?0:xe}},{key:"_isRootComponent",get:function(){return this.externalComponent||this.rootTransition}}]),M}(),ee=i("8bbf");function Y(M,V){var B=M[V];return B?B():[]}function se(M){var V=M.$slots,B=M.realList,ne=M.getKey,_e=B||[],xe=["header","footer"].map(function(Ae){return Y(V,Ae)}),Me=w(xe,2),Re=Me[0],nt=Me[1],Pe=V.item;if(!Pe)throw new Error("draggable element must have an item slot");var ke=_e.flatMap(function(Ae,Ye){return Pe({element:Ae,index:Ye}).map(function(tt){return tt.key=ne(Ae),tt.props=d(d({},tt.props||{}),{},{"data-draggable":!0}),tt})});if(ke.length!==_e.length)throw new Error("Item slot must have only one child");return{header:Re,footer:nt,default:ke}}function pe(M){var V=at(M),B=!He(M)&&!V;return{transition:V,externalComponent:B,tag:B?Object(ee.resolveComponent)(M):V?ee.TransitionGroup:M}}function E(M){var V=M.$slots,B=M.tag,ne=M.realList,_e=M.getKey,xe=se({$slots:V,realList:ne,getKey:_e}),Me=pe(B);return new j({nodes:xe,root:Me,realList:ne})}function T(M,V){var B=this;Object(ee.nextTick)(function(){return B.$emit(M.toLowerCase(),V)})}function R(M){var V=this;return function(B,ne){if(V.realList!==null)return V["onDrag".concat(M)](B,ne)}}function re(M){var V=this,B=R.call(this,M);return function(ne,_e){B.call(V,ne,_e),T.call(V,M,ne)}}var ae=null,oe={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(ee.defineComponent)({name:"draggable",inheritAttrs:!1,props:oe,emits:H,data:function(){return{error:!1}},render:function(){try{this.error=!1;var V=this.$slots,B=this.$attrs,ne=this.tag,_e=this.componentData,xe=this.realList,Me=this.getKey,Re=E({$slots:V,tag:ne,realList:xe,getKey:Me});this.componentStructure=Re;var nt=Be({$attrs:B,componentData:_e});return Re.render(ee.h,nt)}catch(Pe){return this.error=!0,Object(ee.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 B=this.$attrs,ne=this.$el,_e=this.componentStructure;_e.updated();var xe=K({$attrs:B,callBackBuilder:{manageAndEmit:function(nt){return re.call(V,nt)},emit:function(nt){return T.bind(V,nt)},manage:function(nt){return R.call(V,nt)}}}),Me=ne.nodeType===1?ne:ne.parentElement;this._sortable=new N.a(Me,xe),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(B){return B[V]}}},watch:{$attrs:{handler:function(V){var B=this._sortable;B&&me(V).forEach(function(ne){var _e=w(ne,2),xe=_e[0],Me=_e[1];B.option(xe,Me)})},deep:!0}},methods:{getUnderlyingVm:function(V){return this.componentStructure.getUnderlyingVm(V)||null},getUnderlyingPotencialDraggableComponent:function(V){return V.__draggable_component__},emitChanges:function(V){var B=this;Object(ee.nextTick)(function(){return B.$emit("change",V)})},alterList:function(V){if(this.list){V(this.list);return}var B=C(this.modelValue);V(B),this.$emit("update:modelValue",B)},spliceList:function(){var V=arguments,B=function(_e){return _e.splice.apply(_e,C(V))};this.alterList(B)},updatePosition:function(V,B){var ne=function(xe){return xe.splice(B,0,xe.splice(V,1)[0])};this.alterList(ne)},getRelatedContextFromMoveEvent:function(V){var B=V.to,ne=V.related,_e=this.getUnderlyingPotencialDraggableComponent(B);if(!_e)return{component:_e};var xe=_e.realList,Me={list:xe,component:_e};if(B!==ne&&xe){var Re=_e.getUnderlyingVm(ne)||{};return d(d({},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),ae=V.item},onDragAdd:function(V){var B=V.item._underlying_vm_;if(B!==void 0){x(V.item);var ne=this.getVmIndexFromDomIndex(V.newIndex);this.spliceList(ne,0,B);var _e={element:B,newIndex:ne};this.emitChanges({added:_e})}},onDragRemove:function(V){if(F(this.$el,V.item,V.oldIndex),V.pullMode==="clone"){x(V.clone);return}var B=this.context,ne=B.index,_e=B.element;this.spliceList(ne,1);var xe={element:_e,oldIndex:ne};this.emitChanges({removed:xe})},onDragUpdate:function(V){x(V.item),F(V.from,V.item,V.oldIndex);var B=this.context.index,ne=this.getVmIndexFromDomIndex(V.newIndex);this.updatePosition(B,ne);var _e={element:this.context.element,oldIndex:B,newIndex:ne};this.emitChanges({moved:_e})},computeFutureIndex:function(V,B){if(!V.element)return 0;var ne=C(B.to.children).filter(function(Re){return Re.style.display!=="none"}),_e=ne.indexOf(B.related),xe=V.component.getVmIndexFromDomIndex(_e),Me=ne.indexOf(ae)!==-1;return Me||!B.willInsertAfter?xe:xe+1},onDragMove:function(V,B){var ne=this.move,_e=this.realList;if(!ne||!_e)return!0;var xe=this.getRelatedContextFromMoveEvent(V),Me=this.computeFutureIndex(xe,V),Re=d(d({},this.context),{},{futureIndex:Me}),nt=d(d({},V),{},{relatedContext:xe,draggedContext:Re});return ne(nt,B)},onDragEnd:function(){ae=null}}}),Ce=Z;s.default=Ce},fb6a:function(o,s,i){var a=i("23e7"),l=i("861d"),u=i("e8b5"),c=i("23cb"),m=i("50c4"),d=i("fc6a"),f=i("8418"),h=i("b622"),_=i("1dde"),b=i("ae40"),v=_("slice"),w=b("slice",{ACCESSORS:!0,0:0,1:2}),g=h("species"),y=[].slice,S=Math.max;a({target:"Array",proto:!0,forced:!v||!w},{slice:function(L,N){var x=d(this),F=m(x.length),q=c(L,F),U=c(N===void 0?F:N,F),W,Q,de;if(u(x)&&(W=x.constructor,typeof W=="function"&&(W===Array||u(W.prototype))?W=void 0:l(W)&&(W=W[g],W===null&&(W=void 0)),W===Array||W===void 0))return y.call(x,q,U);for(Q=new(W===void 0?Array:W)(S(U-q,0)),de=0;q<U;q++,de++)q in x&&f(Q,de,x[q]);return Q.length=de,Q}})},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})})(zb);var tV=zb.exports;const nV=pu(tV),rV={name:"PageQueue",components:{ContentWithHeading:et,ListItemQueueItem:sF,ModalDialogAddUrlStream:mF,ModalDialogPlaylistSave:gF,ModalDialogQueueItem:vb,draggable:nV},setup(){return{configurationStore:Fo(),playerStore:On(),queueStore:or(),uiStore:wn()}},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&&J.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(){J.queue_clear()},remove(e){J.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}}},oV=["textContent"],sV=["textContent"],iV={class:"buttons is-centered"},aV=["textContent"],lV=["textContent"],uV=["disabled"],cV=["textContent"],mV=["disabled"],dV=["textContent"],fV=["disabled"],pV=["textContent"],hV=["onClick"],_V=["onClick"];function gV(e,t,n,r,o,s){const i=A("mdicon"),a=A("list-item-queue-item"),l=A("draggable"),u=A("modal-dialog-queue-item"),c=A("modal-dialog-add-url-stream"),m=A("modal-dialog-playlist-save"),d=A("content-with-heading");return $(),D("div",null,[z(d,null,{"heading-left":I(()=>[p("div",{class:"title is-4",textContent:k(e.$t("page.queue.title"))},null,8,oV),p("div",{class:"is-size-7 is-uppercase",textContent:k(e.$t("page.queue.count",{count:s.queue.count}))},null,8,sV)]),"heading-right":I(()=>[p("div",iV,[p("button",{class:$e(["button is-small",{"is-info":s.show_only_next_items}]),onClick:t[0]||(t[0]=(...f)=>s.update_show_next_items&&s.update_show_next_items(...f))},[z(i,{class:"icon",name:"arrow-collapse-down",size:"16"}),p("span",{textContent:k(e.$t("page.queue.hide-previous"))},null,8,aV)],2),p("button",{class:"button is-small",onClick:t[1]||(t[1]=(...f)=>s.open_add_stream_dialog&&s.open_add_stream_dialog(...f))},[z(i,{class:"icon",name:"web",size:"16"}),p("span",{textContent:k(e.$t("page.queue.add-stream"))},null,8,lV)]),p("button",{class:$e(["button is-small",{"is-info":o.edit_mode}]),disabled:s.queue_items.length===0,onClick:t[2]||(t[2]=f=>o.edit_mode=!o.edit_mode)},[z(i,{class:"icon",name:"pencil",size:"16"}),p("span",{textContent:k(e.$t("page.queue.edit"))},null,8,cV)],10,uV),p("button",{class:"button is-small",disabled:s.queue_items.length===0,onClick:t[3]||(t[3]=(...f)=>s.queue_clear&&s.queue_clear(...f))},[z(i,{class:"icon",name:"delete-empty",size:"16"}),p("span",{textContent:k(e.$t("page.queue.clear"))},null,8,dV)],8,mV),s.is_queue_save_allowed?($(),D("button",{key:0,class:"button is-small",disabled:s.queue_items.length===0,onClick:t[4]||(t[4]=(...f)=>s.save_dialog&&s.save_dialog(...f))},[z(i,{class:"icon",name:"content-save",size:"16"}),p("span",{textContent:k(e.$t("page.queue.save"))},null,8,pV)],8,fV)):fe("",!0)])]),content:I(()=>[z(l,{modelValue:s.queue_items,"onUpdate:modelValue":t[5]||(t[5]=f=>s.queue_items=f),"item-key":"id",onEnd:s.move_item},{item:I(({element:f,index:h})=>[z(a,{item:f,position:h,current_position:s.current_position,show_only_next_items:s.show_only_next_items,edit_mode:o.edit_mode},{actions:I(()=>[o.edit_mode?fe("",!0):($(),D("a",{key:0,onClick:St(_=>s.open_dialog(f),["prevent","stop"])},[z(i,{class:"icon has-text-dark",name:"dots-vertical",size:"16"})],8,hV)),f.id!==s.player.item_id&&o.edit_mode?($(),D("a",{key:1,onClick:St(_=>s.remove(f),["prevent","stop"])},[z(i,{class:"icon has-text-grey",name:"delete",size:"18"})],8,_V)):fe("",!0)]),_:2},1032,["item","position","current_position","show_only_next_items","edit_mode"])]),_:1},8,["modelValue","onEnd"]),z(u,{show:o.show_details_modal,item:o.selected_item,onClose:t[6]||(t[6]=f=>o.show_details_modal=!1)},null,8,["show","item"]),z(c,{show:o.show_url_modal,onClose:t[7]||(t[7]=f=>o.show_url_modal=!1)},null,8,["show"]),s.is_queue_save_allowed?($(),ve(m,{key:0,show:o.show_pls_save_modal,onClose:t[8]||(t[8]=f=>o.show_pls_save_modal=!1)},null,8,["show"])):fe("",!0)]),_:1})])}const yV=ie(rV,[["render",gV]]),jh={load(e){return J.library_radio_streams()},set(e,t){e.tracks=new Ee(t.data.tracks)}},bV={name:"PageRadioStreams",components:{ContentWithHeading:et,ListTracks:zn},beforeRouteEnter(e,t,n){jh.load(e).then(r=>{n(o=>jh.set(o,r))})},data(){return{tracks:new Ee}}},vV=["textContent"],zV=["textContent"];function wV(e,t,n,r,o,s){const i=A("list-tracks"),a=A("content-with-heading");return $(),D("div",null,[z(a,null,{"heading-left":I(()=>[p("div",{class:"title is-4",textContent:k(e.$t("page.radio.title"))},null,8,vV),p("div",{class:"is-size-7 is-uppercase",textContent:k(e.$t("page.radio.count",{count:o.tracks.total}))},null,8,zV)]),content:I(()=>[z(i,{items:o.tracks},null,8,["items"])]),_:1})])}const SV=ie(bV,[["render",wV]]),CV={name:"TabsSearch",emits:["search-library","search-spotify"],setup(){return{servicesStore:Pt()}},computed:{spotify_enabled(){return this.servicesStore.spotify.webapi_token_valid}}},kV={key:0,class:"section"},EV={class:"container"},xV={class:"columns is-centered"},TV={class:"column is-four-fifths"},AV={class:"tabs is-centered is-small is-toggle is-toggle-rounded"},OV=["textContent"],$V=["textContent"];function PV(e,t,n,r,o,s){const i=A("mdicon");return s.spotify_enabled?($(),D("section",kV,[p("div",EV,[p("div",xV,[p("div",TV,[p("div",AV,[p("ul",null,[p("li",{class:$e({"is-active":e.$route.name==="search-library"})},[p("a",{onClick:t[0]||(t[0]=a=>e.$emit("search-library"))},[z(i,{class:"icon is-small",name:"bookshelf",size:"16"}),p("span",{textContent:k(e.$t("page.search.tabs.library"))},null,8,OV)])],2),p("li",{class:$e({"is-active":e.$route.name==="search-spotify"})},[p("a",{onClick:t[1]||(t[1]=a=>e.$emit("search-spotify"))},[z(i,{class:"icon is-small",name:"spotify",size:"16"}),p("span",{textContent:k(e.$t("page.search.tabs.spotify"))},null,8,$V)])],2)])])])])])])):fe("",!0)}const Ib=ie(CV,[["render",PV]]),gc=3,yc=["track","artist","album","composer","playlist","audiobook","podcast"],IV={name:"PageSearchLibrary",components:{ContentWithHeading:et,ListAlbums:kn,ListArtists:Sl,ListComposers:hm,ListPlaylists:Cl,ListTracks:zn,TabsSearch:Ib},setup(){return{searchStore:ud()}},data(){return{components:{album:kn.name,artist:Sl.name,audiobook:kn.name,composer:hm.name,playlist:Cl.name,podcast:kn.name,track:zn.name},results:new Map,search_limit:{},search_query:"",search_types:yc}},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=gc,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=yc,this.search_limit=gc,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=yc,this.search_limit=gc),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}`,J.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}}},LV={class:"section pb-0"},NV={class:"container"},DV={class:"columns is-centered"},RV={class:"column is-four-fifths"},MV={class:"field"},FV={class:"control has-icons-left"},VV=["placeholder"],HV=["textContent"],UV={class:"field is-grouped is-grouped-multiline mt-4"},jV={class:"tags has-addons"},WV=["onClick","textContent"],BV=["onClick"],qV=["textContent"],GV={key:0,class:"level"},KV={class:"level-item"},ZV=["onClick","textContent"],YV={key:1,class:"has-text-centered-mobile"},XV=["textContent"];function JV(e,t,n,r,o,s){const i=A("mdicon"),a=A("i18n-t"),l=A("tabs-search"),u=A("content-with-heading");return $(),D(be,null,[p("section",LV,[p("div",NV,[p("div",DV,[p("div",RV,[p("form",{onSubmit:t[1]||(t[1]=St((...c)=>s.search&&s.search(...c),["prevent"]))},[p("div",MV,[p("p",FV,[Ht(p("input",{ref:"search_field","onUpdate:modelValue":t[0]||(t[0]=c=>o.search_query=c),class:"input is-rounded",type:"text",placeholder:e.$t("page.search.placeholder"),autocomplete:"off"},null,8,VV),[[vn,o.search_query]]),z(i,{class:"icon is-left",name:"magnify",size:"16"})]),z(a,{tag:"p",class:"help has-text-centered",keypath:"page.search.help",scope:"global"},{query:I(()=>t[2]||(t[2]=[p("code",null,"query:",-1)])),help:I(()=>[p("a",{href:"https://owntone.github.io/owntone-server/smart-playlists/",target:"_blank",textContent:k(e.$t("page.search.expression"))},null,8,HV)]),_:1})])],32),p("div",UV,[($(!0),D(be,null,_t(s.recent_searches,c=>($(),D("div",{key:c,class:"control"},[p("div",jV,[p("a",{class:"tag",onClick:m=>s.open_search(c),textContent:k(c)},null,8,WV),p("a",{class:"tag is-delete",onClick:m=>s.remove_search(c)},null,8,BV)])]))),128))])])])])]),z(l,{onSearchLibrary:s.search,onSearchSpotify:s.search_spotify},null,8,["onSearchLibrary","onSearchSpotify"]),($(!0),D(be,null,_t(o.results,([c,m])=>($(),ve(u,{key:c},Hm({"heading-left":I(()=>[p("p",{class:"title is-4",textContent:k(e.$t(`page.search.${c}s`))},null,8,qV)]),content:I(()=>[($(),ve(Zl(o.components[c]),{items:m},null,8,["items"]))]),_:2},[s.expanded?void 0:{name:"footer",fn:I(()=>[s.show_all_button(m)?($(),D("nav",GV,[p("p",KV,[p("a",{class:"button is-small is-rounded",onClick:d=>s.expand(c),textContent:k(e.$t(`page.search.show-${c}s`,m.total,{count:e.$filters.number(m.total)}))},null,8,ZV)])])):fe("",!0),m.total?fe("",!0):($(),D("p",YV,[p("i",{textContent:k(e.$t("page.search.no-results"))},null,8,XV)]))]),key:"0"}]),1024))),128))],64)}const QV=ie(IV,[["render",JV]]),e7={name:"ListArtistsSpotify",components:{ModalDialogArtistSpotify:hb},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}}},t7=["onClick"],n7=["textContent"],r7={class:"media-right"},o7=["onClick"];function s7(e,t,n,r,o,s){const i=A("mdicon"),a=A("modal-dialog-artist-spotify");return $(),D(be,null,[($(!0),D(be,null,_t(n.items,l=>($(),D("div",{key:l.id,class:"media is-align-items-center mb-0"},[p("div",{class:"media-content is-clickable",onClick:u=>s.open(l)},[p("p",{class:"title is-6",textContent:k(l.name)},null,8,n7)],8,t7),p("div",r7,[p("a",{onClick:St(u=>s.open_dialog(l),["prevent","stop"])},[z(i,{class:"icon has-text-dark",name:"dots-vertical",size:"16"})],8,o7)])]))),128)),($(),ve(Wn,{to:"#app"},[z(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 Wh=ie(e7,[["render",s7]]),bc=3,vc=50,zc=["track","artist","album","playlist"],i7={name:"PageSearchSpotify",components:{ContentWithHeading:et,ListAlbumsSpotify:ji,ListArtistsSpotify:Wh,ListPlaylistsSpotify:kl,ListTracksSpotify:wl,TabsSearch:Ib,VueEternalLoading:vd},setup(){return{searchStore:ud()}},data(){return{components:{album:ji.name,artist:Wh.name,playlist:kl.name,track:wl.name},results:new Map,search_parameters:{},search_query:"",search_types:zc}},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=bc,this.search()},methods:{expand(e){this.search_query=this.searchStore.search_query,this.search_types=[e],this.search_parameters.limit=vc,this.search_parameters.offset=0,this.search()},open_search(e){this.search_query=e,this.search_types=zc,this.search_parameters.limit=bc,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=zc,this.search_parameters.limit=bc),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 J.spotify().then(({data:e})=>{this.search_parameters.market=e.webapi_country;const t=new ur;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=vc,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,vc)})},show(e){return this.search_types.includes(e)},show_all_button(e){return e.total>e.items.length}}},a7={class:"section pb-0"},l7={class:"container"},u7={class:"columns is-centered"},c7={class:"column is-four-fifths"},m7={class:"field"},d7={class:"control has-icons-left"},f7=["placeholder"],p7={class:"field is-grouped is-grouped-multiline mt-4"},h7={class:"tags has-addons"},_7=["onClick","textContent"],g7=["onClick"],y7=["textContent"],b7={class:"columns is-centered"},v7={class:"column has-text-centered"},z7={key:0,class:"level"},w7={class:"level-item"},S7=["onClick","textContent"],C7={key:1,class:"has-text-centered-mobile"},k7=["textContent"];function E7(e,t,n,r,o,s){const i=A("mdicon"),a=A("tabs-search"),l=A("VueEternalLoading"),u=A("content-with-heading");return $(),D(be,null,[p("section",a7,[p("div",l7,[p("div",u7,[p("div",c7,[p("form",{onSubmit:t[1]||(t[1]=St((...c)=>s.search&&s.search(...c),["prevent"]))},[p("div",m7,[p("p",d7,[Ht(p("input",{ref:"search_field","onUpdate:modelValue":t[0]||(t[0]=c=>o.search_query=c),class:"input is-rounded",type:"text",placeholder:e.$t("page.spotify.search.placeholder"),autocomplete:"off"},null,8,f7),[[vn,o.search_query]]),z(i,{class:"icon is-left",name:"magnify",size:"16"})])])],32),p("div",p7,[($(!0),D(be,null,_t(s.recent_searches,c=>($(),D("div",{key:c,class:"control"},[p("div",h7,[p("a",{class:"tag",onClick:m=>s.open_search(c),textContent:k(c)},null,8,_7),p("a",{class:"tag is-delete",onClick:m=>s.remove_search(c)},null,8,g7)])]))),128))])])])])]),z(a,{onSearchLibrary:s.search_library,onSearchSpotify:s.search},null,8,["onSearchLibrary","onSearchSpotify"]),($(!0),D(be,null,_t(o.results,([c,m])=>($(),ve(u,{key:c},Hm({"heading-left":I(()=>[p("p",{class:"title is-4",textContent:k(e.$t(`page.spotify.search.${c}s`))},null,8,y7)]),content:I(()=>[($(),ve(Zl(o.components[c]),{items:m.items},null,8,["items"])),s.expanded?($(),ve(l,{key:0,load:s.search_next},{loading:I(()=>[p("div",b7,[p("div",v7,[z(i,{class:"icon mdi-spin",name:"loading"})])])]),"no-more":I(()=>t[2]||(t[2]=[p("br",null,null,-1)])),_:1},8,["load"])):fe("",!0)]),_:2},[s.expanded?void 0:{name:"footer",fn:I(()=>[s.show_all_button(m)?($(),D("nav",z7,[p("p",w7,[p("a",{class:"button is-small is-rounded",onClick:d=>s.expand(c),textContent:k(e.$t(`page.spotify.search.show-${c}s`,m.total,{count:e.$filters.number(m.total)}))},null,8,S7)])])):fe("",!0),m.total?fe("",!0):($(),D("p",C7,[p("i",{textContent:k(e.$t("page.spotify.search.no-results"))},null,8,k7)]))]),key:"0"}]),1024))),128))],64)}const x7=ie(i7,[["render",E7]]),T7={name:"ControlSetting",props:{category:{required:!0,type:String},disabled:Boolean,name:{required:!0,type:String},placeholder:{default:"",type:String}},setup(){return{settingsStore:Hr()}},data(){return{timerDelay:2e3,timerId:-1}},computed:{isError(){return this.timerId===-2},isSuccess(){return this.timerId>=0},setting(){return this.settingsStore.setting(this.category,this.name)}},methods:{update(e,t){const n=t==null?void 0:t(e.target);if(n===this.setting.value)return;const r={category:this.category,name:this.name,value:n};J.settings_update(this.category,r).then(()=>{window.clearTimeout(this.timerId),this.settingsStore.update(r)}).catch(()=>{this.timerId=-2}).finally(()=>{this.timerId=window.setTimeout(()=>{this.timerId=-1},this.timerDelay)})}}},A7=["disabled"],O7={class:"field"},$7={key:0,class:"label has-text-weight-normal"},P7={key:1,class:"help"};function I7(e,t,n,r,o,s){const i=A("mdicon");return $(),D("fieldset",{disabled:n.disabled},[p("div",O7,[e.$slots.label?($(),D("label",$7,[dt(e.$slots,"label")])):fe("",!0),p("div",{class:$e(["control",{"has-icons-right":s.isSuccess||s.isError}])},[dt(e.$slots,"input",{setting:s.setting,update:s.update}),s.isSuccess||s.isError?($(),ve(i,{key:0,class:"icon is-right",name:s.isSuccess?"check":"close",size:"16"},null,8,["name"])):fe("",!0)],2),e.$slots.help?($(),D("p",P7,[dt(e.$slots,"help")])):fe("",!0)])],8,A7)}const Td=ie(T7,[["render",I7]]),L7={name:"ControlSettingSwitch",components:{ControlSetting:Td,ControlSwitch:jo},props:{category:{required:!0,type:String},disabled:{default:!1,type:Boolean},name:{required:!0,type:String}},methods:{sanitise(e){return e.checked}}};function N7(e,t,n,r,o,s){const i=A("control-switch"),a=A("control-setting");return $(),ve(a,{category:n.category,disabled:n.disabled,name:n.name},{input:I(({setting:l,update:u})=>[z(i,{"model-value":l.value,"onUpdate:modelValue":c=>u({target:{checked:c}},s.sanitise)},{label:I(()=>[dt(e.$slots,"label")]),help:I(()=>[dt(e.$slots,"help")]),_:2},1032,["model-value","onUpdate:modelValue"])]),_:3},8,["category","disabled","name"])}const Lb=ie(L7,[["render",N7]]),D7={name:"TabsSettings"},R7={class:"section tabs-section"},M7={class:"container"},F7={class:"columns is-centered"},V7={class:"column is-four-fifths"},H7={class:"tabs is-centered is-small"},U7=["onClick","onKeypress"],j7=["textContent"],W7=["onClick","onKeypress"],B7=["textContent"],q7=["onClick","onKeypress"],G7=["textContent"],K7=["onClick","onKeypress"],Z7=["textContent"];function Y7(e,t,n,r,o,s){const i=A("router-link");return $(),D("section",R7,[p("div",M7,[p("div",F7,[p("div",V7,[p("div",H7,[p("ul",null,[z(i,{to:{name:"settings-webinterface"},custom:""},{default:I(({navigate:a,isActive:l})=>[p("li",{class:$e({"is-active":l})},[p("a",{onClick:a,onKeypress:_n(a,["enter"])},[p("span",{textContent:k(e.$t("page.settings.tabs.general"))},null,8,j7)],40,U7)],2)]),_:1}),z(i,{to:{name:"settings-remotes-outputs"},custom:""},{default:I(({navigate:a,isActive:l})=>[p("li",{class:$e({"is-active":l})},[p("a",{onClick:a,onKeypress:_n(a,["enter"])},[p("span",{textContent:k(e.$t("page.settings.tabs.remotes-and-outputs"))},null,8,B7)],40,W7)],2)]),_:1}),z(i,{to:{name:"settings-artwork"},custom:""},{default:I(({navigate:a,isActive:l})=>[p("li",{class:$e({"is-active":l})},[p("a",{onClick:a,onKeypress:_n(a,["enter"])},[p("span",{textContent:k(e.$t("page.settings.tabs.artwork"))},null,8,G7)],40,q7)],2)]),_:1}),z(i,{to:{name:"settings-online-services"},custom:""},{default:I(({navigate:a,isActive:l})=>[p("li",{class:$e({"is-active":l})},[p("a",{onClick:a,onKeypress:_n(a,["enter"])},[p("span",{textContent:k(e.$t("page.settings.tabs.online-services"))},null,8,Z7)],40,K7)],2)]),_:1})])])])])])])}const ku=ie(D7,[["render",Y7]]),X7={name:"PageSettingsArtwork",components:{ContentWithHeading:et,ControlSettingSwitch:Lb,TabsSettings:ku},setup(){return{servicesStore:Pt()}},computed:{spotify(){return this.servicesStore.spotify}}},J7=["textContent"],Q7=["textContent"],e9=["textContent"],t9=["textContent"],n9=["textContent"],r9=["textContent"],o9={href:"https://www.spotify.com/",target:"_blank"},s9={class:"icon"},i9=["textContent"],a9={href:"https://www.discogs.com/",target:"_blank"},l9={class:"icon"},u9=["textContent"],c9={href:"https://coverartarchive.org/",target:"_blank"},m9={class:"icon"};function d9(e,t,n,r,o,s){const i=A("tabs-settings"),a=A("control-setting-switch"),l=A("mdicon"),u=A("content-with-heading");return $(),D("div",null,[z(i),z(u,null,{"heading-left":I(()=>[p("div",{class:"title is-4",textContent:k(e.$t("page.settings.artwork.title"))},null,8,J7)]),content:I(()=>[p("div",{class:"content",textContent:k(e.$t("page.settings.artwork.explanation-1"))},null,8,Q7),z(a,{category:"artwork",name:"streamurl_ignore"},{label:I(()=>[p("span",{textContent:k(e.$t("page.settings.artwork.streaming"))},null,8,e9)]),_:1}),z(a,{category:"artwork",name:"show_cover_artwork_in_album_lists"},{label:I(()=>[p("span",{textContent:k(e.$t("page.settings.artwork.show-coverart"))},null,8,t9)]),_:1}),p("div",{class:"content",textContent:k(e.$t("page.settings.artwork.explanation-2"))},null,8,n9),s.spotify.spotify_logged_in?($(),ve(a,{key:0,category:"artwork",name:"use_artwork_source_spotify"},{label:I(()=>[p("span",{textContent:k(e.$t("page.settings.artwork.spotify"))},null,8,r9),p("a",o9,[p("span",s9,[z(l,{name:"open-in-new",size:"16"})])])]),_:1})):fe("",!0),z(a,{category:"artwork",name:"use_artwork_source_discogs"},{label:I(()=>[p("span",{textContent:k(e.$t("page.settings.artwork.discogs"))},null,8,i9),p("a",a9,[p("span",l9,[z(l,{name:"open-in-new",size:"16"})])])]),_:1}),z(a,{category:"artwork",name:"use_artwork_source_coverartarchive"},{label:I(()=>[p("span",{textContent:k(e.$t("page.settings.artwork.coverartarchive"))},null,8,u9),p("a",c9,[p("span",m9,[z(l,{name:"open-in-new",size:"16"})])])]),_:1})]),_:1})])}const f9=ie(X7,[["render",d9]]),p9={name:"PageSettingsOnlineServices",components:{ContentWithHeading:et,TabsSettings:ku},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(){J.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(){J.lastfm_logout()},logout_spotify(){J.spotify_logout()}}},h9=["textContent"],_9={key:0,class:"notification help"},g9=["textContent"],y9={key:1},b9=["textContent"],v9={class:"notification help"},z9=["textContent"],w9=["textContent"],S9={key:0},C9=["textContent"],k9=["textContent"],E9={key:1,class:"help is-danger"},x9=["textContent"],T9=["textContent"],A9={key:2,class:"field"},O9={class:"control"},$9=["href","textContent"],P9={key:3,class:"field"},I9={class:"control"},L9=["textContent"],N9=["textContent"],D9={key:0,class:"notification is-size-7"},R9=["textContent"],M9={key:1},F9=["textContent"],V9={key:0},H9=["textContent"],U9={key:1},j9={class:"field is-grouped"},W9={class:"control"},B9=["placeholder"],q9=["textContent"],G9={class:"control"},K9=["placeholder"],Z9=["textContent"],Y9={class:"control"},X9=["textContent"],J9=["textContent"],Q9=["textContent"];function eH(e,t,n,r,o,s){const i=A("tabs-settings"),a=A("content-with-heading");return $(),D("div",null,[z(i),z(a,null,{"heading-left":I(()=>[p("div",{class:"title is-4",textContent:k(e.$t("page.settings.services.spotify.title"))},null,8,h9)]),content:I(()=>[s.spotify.spotify_installed?fe("",!0):($(),D("div",_9,[p("p",{textContent:k(e.$t("page.settings.services.spotify.no-support"))},null,8,g9)])),s.spotify.spotify_installed?($(),D("div",y9,[p("div",null,[p("p",{class:"content",textContent:k(e.$t("page.settings.services.spotify.grant-access"))},null,8,b9),p("div",v9,[p("p",{textContent:k(e.$t("page.settings.services.spotify.requirements"))},null,8,z9),p("p",{textContent:k(s.spotify_required_scope.join(", "))},null,8,w9)]),s.spotify.webapi_token_valid?($(),D("p",S9,[p("span",{textContent:k(e.$t("page.settings.services.spotify.user"))},null,8,C9),p("code",{textContent:k(s.spotify.webapi_user)},null,8,k9)])):fe("",!0),s.spotify_missing_scope.length>0?($(),D("p",E9,[p("span",{textContent:k(e.$t("page.settings.services.spotify.reauthorize"))},null,8,x9),p("code",{textContent:k(s.spotify_missing_scope.join())},null,8,T9)])):fe("",!0),!s.spotify.webapi_token_valid||s.spotify_missing_scope.length>0?($(),D("div",A9,[p("div",O9,[p("a",{class:"button",href:s.spotify.oauth_uri,textContent:k(e.$t("page.settings.services.spotify.authorize"))},null,8,$9)])])):fe("",!0),s.spotify.webapi_token_valid?($(),D("div",P9,[p("div",I9,[p("a",{class:"button is-danger",onClick:t[0]||(t[0]=(...l)=>s.logout_spotify&&s.logout_spotify(...l)),textContent:k(e.$t("page.settings.services.logout"))},null,8,L9)])])):fe("",!0)])])):fe("",!0)]),_:1}),z(a,null,{"heading-left":I(()=>[p("div",{class:"title is-4",textContent:k(e.$t("page.settings.services.lastfm.title"))},null,8,N9)]),content:I(()=>[s.lastfm.enabled?fe("",!0):($(),D("div",D9,[p("p",{textContent:k(e.$t("page.settings.services.lastfm.no-support"))},null,8,R9)])),s.lastfm.enabled?($(),D("div",M9,[p("p",{class:"content",textContent:k(e.$t("page.settings.services.lastfm.grant-access"))},null,8,F9),s.lastfm.scrobbling_enabled?($(),D("div",V9,[p("a",{class:"button is-danger",onClick:t[1]||(t[1]=(...l)=>s.logoutLastfm&&s.logoutLastfm(...l)),textContent:k(e.$t("page.settings.services.logout"))},null,8,H9)])):fe("",!0),s.lastfm.scrobbling_enabled?fe("",!0):($(),D("div",U9,[p("form",{onSubmit:t[4]||(t[4]=St((...l)=>s.login_lastfm&&s.login_lastfm(...l),["prevent"]))},[p("div",j9,[p("div",W9,[Ht(p("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,B9),[[vn,o.lastfm_login.user]]),p("p",{class:"help is-danger",textContent:k(o.lastfm_login.errors.user)},null,8,q9)]),p("div",G9,[Ht(p("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,K9),[[vn,o.lastfm_login.password]]),p("p",{class:"help is-danger",textContent:k(o.lastfm_login.errors.password)},null,8,Z9)]),p("div",Y9,[p("button",{class:"button is-info",type:"submit",textContent:k(e.$t("page.settings.services.login"))},null,8,X9)])]),p("p",{class:"help is-danger",textContent:k(o.lastfm_login.errors.error)},null,8,J9),p("p",{class:"help",textContent:k(e.$t("page.settings.services.lastfm.info"))},null,8,Q9)],32)]))])):fe("",!0)]),_:1})])}const tH=ie(p9,[["render",eH]]),nH={name:"PageSettingsRemotesOutputs",components:{ContentWithHeading:et,ControlSwitch:jo,TabsSettings:ku},setup(){return{outputsStore:ld(),remotesStore:Ym()}},data(){return{pairing_req:{pin:""},verification_req:{pin:""}}},computed:{outputs(){return this.outputsStore.outputs},pairing(){return this.remotesStore.pairing}},methods:{kickoff_pairing(){J.pairing_kickoff(this.pairing_req)},kickoff_verification(e){J.output_update(e,this.verification_req)},toggleOutput(e){J.output_toggle(e)}}},rH=["textContent"],oH={key:0},sH={class:"label has-text-weight-normal content"},iH=["textContent"],aH=["textContent"],lH={class:"field is-grouped"},uH={class:"control"},cH=["placeholder"],mH={class:"control"},dH=["textContent"],fH={key:1},pH=["textContent"],hH=["textContent"],_H=["textContent"],gH=["textContent"],yH=["onSubmit"],bH={class:"field is-grouped"},vH={class:"control"},zH=["placeholder"],wH={class:"control"},SH=["textContent"];function CH(e,t,n,r,o,s){const i=A("tabs-settings"),a=A("content-with-heading"),l=A("control-switch");return $(),D("div",null,[z(i),z(a,null,{"heading-left":I(()=>[p("p",{class:"title is-4",textContent:k(e.$t("page.settings.devices.pairing"))},null,8,rH)]),content:I(()=>[s.pairing.active?($(),D("div",oH,[p("form",{onSubmit:t[1]||(t[1]=St((...u)=>s.kickoff_pairing&&s.kickoff_pairing(...u),["prevent"]))},[p("label",sH,[p("span",{textContent:k(e.$t("page.settings.devices.pairing-request"))},null,8,iH),p("b",{textContent:k(s.pairing.remote)},null,8,aH)]),p("div",lH,[p("div",uH,[Ht(p("input",{"onUpdate:modelValue":t[0]||(t[0]=u=>o.pairing_req.pin=u),class:"input",inputmode:"numeric",pattern:"[\\d]{4}",placeholder:e.$t("page.settings.devices.pairing-code")},null,8,cH),[[vn,o.pairing_req.pin]])]),p("div",mH,[p("button",{class:"button is-info",type:"submit",textContent:k(e.$t("page.settings.devices.send"))},null,8,dH)])])],32)])):($(),D("div",fH,[p("p",{textContent:k(e.$t("page.settings.devices.no-active-pairing"))},null,8,pH)]))]),_:1}),z(a,null,{"heading-left":I(()=>[p("p",{class:"title is-4",textContent:k(e.$t("page.settings.devices.speaker-pairing"))},null,8,hH)]),content:I(()=>[p("p",{class:"content",textContent:k(e.$t("page.settings.devices.speaker-pairing-info"))},null,8,_H),($(!0),D(be,null,_t(s.outputs,u=>($(),D("div",{key:u.id},[z(l,{modelValue:u.selected,"onUpdate:modelValue":[c=>u.selected=c,c=>s.toggleOutput(u.id)]},{label:I(()=>[p("span",{textContent:k(u.name)},null,8,gH)]),_:2},1032,["modelValue","onUpdate:modelValue"]),u.needs_auth_key?($(),D("form",{key:0,class:"mb-5",onSubmit:St(c=>s.kickoff_verification(u.id),["prevent"])},[p("div",bH,[p("div",vH,[Ht(p("input",{"onUpdate:modelValue":t[2]||(t[2]=c=>o.verification_req.pin=c),class:"input",inputmode:"numeric",pattern:"[\\d]{4}",placeholder:e.$t("page.settings.devices.verification-code")},null,8,zH),[[vn,o.verification_req.pin]])]),p("div",wH,[p("button",{class:"button is-info",type:"submit",textContent:k(e.$t("page.settings.devices.verify"))},null,8,SH)])])],40,yH)):fe("",!0)]))),128))]),_:1})])}const kH=ie(nH,[["render",CH]]),EH={name:"ControlSettingIntegerField",components:{ControlSetting:Td},props:{category:{required:!0,type:String},disabled:Boolean,name:{required:!0,type:String},placeholder:{default:"",type:String}},methods:{sanitise(e){const t=parseInt(e.value.replace(/\D+/gu,""),10)||0;return e.value=t}}},xH=["placeholder","value","onInput"];function TH(e,t,n,r,o,s){const i=A("control-setting");return $(),ve(i,{category:n.category,disabled:n.disabled,name:n.name,placeholder:n.placeholder},{label:I(()=>[dt(e.$slots,"label")]),input:I(({setting:a,update:l})=>[p("input",{class:"input",inputmode:"numeric",min:"0",placeholder:n.placeholder,value:a.value,onInput:u=>l(u,s.sanitise)},null,40,xH)]),help:I(()=>[dt(e.$slots,"help")]),_:3},8,["category","disabled","name","placeholder"])}const AH=ie(EH,[["render",TH]]),OH={name:"ControlSettingTextField",components:{ControlSetting:Td},props:{category:{required:!0,type:String},disabled:Boolean,name:{required:!0,type:String},placeholder:{default:"",type:String}},methods:{sanitise(e){return e.value}}},$H=["placeholder","value","onInput"];function PH(e,t,n,r,o,s){const i=A("control-setting");return $(),ve(i,{category:n.category,disabled:n.disabled,name:n.name,placeholder:n.placeholder},{label:I(()=>[dt(e.$slots,"label")]),input:I(({setting:a,update:l})=>[p("input",{class:"input",inputmode:"text",placeholder:n.placeholder,value:a.value,onInput:u=>l(u,s.sanitise)},null,40,$H)]),help:I(()=>[dt(e.$slots,"help")]),_:3},8,["category","disabled","name","placeholder"])}const IH=ie(OH,[["render",PH]]),LH={name:"PageSettingsWebinterface",components:{ContentWithHeading:et,ControlDropdown:Bo,ControlSettingIntegerField:AH,ControlSettingSwitch:Lb,ControlSettingTextField:IH,TabsSettings:ku},setup(){return{settingsStore:Hr()}},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}`)}))}}}},NH=["textContent"],DH=["textContent"],RH=["textContent"],MH=["textContent"],FH=["textContent"],VH=["textContent"],HH=["textContent"],UH=["textContent"],jH=["textContent"],WH=["textContent"],BH=["textContent"],qH=["textContent"],GH=["textContent"],KH=["textContent"],ZH=["textContent"],YH=["textContent"],XH=["textContent"],JH=["textContent"];function QH(e,t,n,r,o,s){const i=A("tabs-settings"),a=A("control-dropdown"),l=A("content-with-heading"),u=A("control-setting-switch"),c=A("i18n-t"),m=A("control-setting-text-field"),d=A("control-setting-integer-field");return $(),D("div",null,[z(i),z(l,null,{"heading-left":I(()=>[p("div",{class:"title is-4",textContent:k(e.$t("page.settings.general.language"))},null,8,NH)]),content:I(()=>[z(a,{value:s.locale,"onUpdate:value":t[0]||(t[0]=f=>s.locale=f),options:s.locales},null,8,["value","options"])]),_:1}),z(l,null,{"heading-left":I(()=>[p("div",{class:"title is-4",textContent:k(e.$t("page.settings.general.navigation-items"))},null,8,DH)]),content:I(()=>[p("p",{class:"content",textContent:k(e.$t("page.settings.general.navigation-item-selection"))},null,8,RH),p("div",{class:"notification is-size-7",textContent:k(e.$t("page.settings.general.navigation-item-selection-info"))},null,8,MH),z(u,{category:"webinterface",name:"show_menu_item_playlists"},{label:I(()=>[p("span",{textContent:k(e.$t("page.settings.general.playlists"))},null,8,FH)]),_:1}),z(u,{category:"webinterface",name:"show_menu_item_music"},{label:I(()=>[p("span",{textContent:k(e.$t("page.settings.general.music"))},null,8,VH)]),_:1}),z(u,{category:"webinterface",name:"show_menu_item_podcasts"},{label:I(()=>[p("span",{textContent:k(e.$t("page.settings.general.podcasts"))},null,8,HH)]),_:1}),z(u,{category:"webinterface",name:"show_menu_item_audiobooks"},{label:I(()=>[p("span",{textContent:k(e.$t("page.settings.general.audiobooks"))},null,8,UH)]),_:1}),z(u,{category:"webinterface",name:"show_menu_item_radio"},{label:I(()=>[p("span",{textContent:k(e.$t("page.settings.general.radio"))},null,8,jH)]),_:1}),z(u,{category:"webinterface",name:"show_menu_item_files"},{label:I(()=>[p("span",{textContent:k(e.$t("page.settings.general.files"))},null,8,WH)]),_:1}),z(u,{category:"webinterface",name:"show_menu_item_search"},{label:I(()=>[p("span",{textContent:k(e.$t("page.settings.general.search"))},null,8,BH)]),_:1})]),_:1}),z(l,null,{"heading-left":I(()=>[p("div",{class:"title is-4",textContent:k(e.$t("page.settings.general.now-playing-page"))},null,8,qH)]),content:I(()=>[z(u,{category:"webinterface",name:"show_filepath_now_playing"},{label:I(()=>[p("span",{textContent:k(e.$t("page.settings.general.show-path"))},null,8,GH)]),_:1}),z(u,{category:"webinterface",name:"show_composer_now_playing"},{label:I(()=>[p("span",{textContent:k(e.$t("page.settings.general.show-composer"))},null,8,KH)]),help:I(()=>[p("span",{textContent:k(e.$t("page.settings.general.show-composer-info"))},null,8,ZH)]),_:1}),z(m,{category:"webinterface",name:"show_composer_for_genre",disabled:!r.settingsStore.show_composer_now_playing,placeholder:e.$t("page.settings.general.genres")},{label:I(()=>[p("span",{textContent:k(e.$t("page.settings.general.show-composer-genres"))},null,8,YH)]),help:I(()=>[z(c,{keypath:"page.settings.general.show-composer-genres-help",tag:"p",class:"help",scope:"global"},{default:I(()=>t[1]||(t[1]=[p("br",null,null,-1)])),_:1})]),_:1},8,["disabled","placeholder"])]),_:1}),z(l,null,{"heading-left":I(()=>[p("div",{class:"title is-4",textContent:k(e.$t("page.settings.general.recently-added-page"))},null,8,XH)]),content:I(()=>[z(d,{category:"webinterface",name:"recently_added_limit"},{label:I(()=>[p("span",{textContent:k(e.$t("page.settings.general.recently-added-page-info"))},null,8,JH)]),_:1})]),_:1})])}const eU=ie(LH,[["render",QH]]),Bh=100,Nb=MP({history:fP(),routes:[{path:"/:all(.*)*",redirect:"/"},{component:NI,name:"about",path:"/about"},{component:K8,meta:{show_progress:!0},name:"music-album",path:"/music/albums/:id"},{component:bL,meta:{show_progress:!0},name:"music-spotify-album",path:"/music/spotify/albums/:id"},{component:IN,meta:{has_index:!0,show_progress:!0},name:"music-albums",path:"/music/albums"},{component:XN,meta:{has_index:!0,show_progress:!0},name:"music-artist",path:"/music/artists/:id"},{component:ED,meta:{show_progress:!0},name:"music-spotify-artist",path:"/music/spotify/artists/:id"},{component:fR,meta:{has_index:!0,show_progress:!0},name:"music-artists",path:"/music/artists"},{component:UD,meta:{has_index:!0,show_progress:!0},name:"music-artist-tracks",path:"/music/artists/:id/tracks"},{component:wR,meta:{show_progress:!0},name:"audiobooks-album",path:"/audiobooks/albums/:id"},{component:VR,meta:{has_index:!0,show_progress:!0},name:"audiobooks-albums",path:"/audiobooks/albums"},{component:GR,meta:{show_progress:!0},name:"audiobooks-artist",path:"/audiobooks/artists/:id"},{component:JR,meta:{has_index:!0,show_progress:!0},name:"audiobooks-artists",path:"/audiobooks/artists"},{component:h5,meta:{has_index:!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:mM,meta:{show_progress:!0},name:"music-history",path:"/music/history"},{component:hM,meta:{show_progress:!0},name:"music-recently-added",path:"/music/recently-added"},{component:bM,meta:{show_progress:!0},name:"music-recently-played",path:"/music/recently-played"},{component:MM,meta:{show_progress:!0},name:"music-spotify",path:"/music/spotify"},{component:UM,meta:{show_progress:!0},name:"music-spotify-featured-playlists",path:"/music/spotify/featured-playlists"},{component:qM,meta:{show_progress:!0},name:"music-spotify-new-releases",path:"/music/spotify/new-releases"},{component:E5,meta:{show_progress:!0},name:"music-composer-albums",path:"/music/composers/:name/albums"},{component:M5,meta:{show_progress:!0},name:"music-composer-tracks",path:"/music/composers/:name/tracks"},{component:Q5,meta:{has_index:!0,show_progress:!0},name:"music-composers",path:"/music/composers"},{component:O4,meta:{show_progress:!0},name:"files",path:"/files"},{component:F4,meta:{has_index:!0,show_progress:!0},name:"genre-albums",path:"/genres/:name/albums"},{component:X4,meta:{has_index:!0,show_progress:!0},name:"genre-tracks",path:"/genres/:name/tracks"},{component:nM,meta:{has_index:!0,show_progress:!0},name:"music-genres",path:"/music/genres"},{component:r6,name:"now-playing",path:"/now-playing"},{name:"playlists",path:"/playlists",redirect:{name:"playlist-folder",params:{id:0}}},{component:l6,meta:{show_progress:!0},name:"playlist-folder",path:"/playlists/:id"},{component:h6,meta:{show_progress:!0},name:"playlist",path:"/playlists/:id/tracks"},{component:C6,meta:{show_progress:!0},name:"playlist-spotify",path:"/playlists/spotify/:id/tracks"},{component:P6,meta:{show_progress:!0},name:"podcast",path:"/podcasts/:id"},{component:Y6,meta:{show_progress:!0},name:"podcasts",path:"/podcasts"},{component:SV,meta:{show_progress:!0},name:"radio",path:"/radio"},{component:yV,name:"queue",path:"/"},{component:QV,name:"search-library",path:"/search/library"},{component:x7,name:"search-spotify",path:"/search/spotify"},{component:eU,name:"settings-webinterface",path:"/settings/webinterface"},{component:f9,name:"settings-artwork",path:"/settings/artwork"},{component:tH,name:"settings-online-services",path:"/settings/online-services"},{component:kH,name:"settings-remotes-outputs",path:"/settings/remotes-outputs"}],scrollBehavior(e,t,n){return n?new Promise((o,s)=>{setTimeout(()=>{o(n)},0)}):e.path===t.path&&e.hash?{behavior:"smooth",el:e.hash,top:Bh}:e.hash?new Promise((o,s)=>{setTimeout(()=>{o({el:e.hash,top:Bh})},0)}):{left:0,top:0}}});Nb.beforeEach((e,t,n)=>{const r=wn();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 Db=cl(X2).use(vw()).use(Nb).use(fT).use(Q2).use(mT,{log:!1}).use(N$,{icons:x$}).use(cu);Db.config.globalProperties.$filters=_O;Db.mount("#app");